@keystrokehq/parsera 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 (138) 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/create-scraper.cjs +16 -0
  7. package/dist/actions/create-scraper.cjs.map +1 -0
  8. package/dist/actions/create-scraper.d.cts +9 -0
  9. package/dist/actions/create-scraper.d.cts.map +1 -0
  10. package/dist/actions/create-scraper.d.mts +9 -0
  11. package/dist/actions/create-scraper.d.mts.map +1 -0
  12. package/dist/actions/create-scraper.mjs +13 -0
  13. package/dist/actions/create-scraper.mjs.map +1 -0
  14. package/dist/actions/delete-scraper.cjs +16 -0
  15. package/dist/actions/delete-scraper.cjs.map +1 -0
  16. package/dist/actions/delete-scraper.d.cts +9 -0
  17. package/dist/actions/delete-scraper.d.cts.map +1 -0
  18. package/dist/actions/delete-scraper.d.mts +9 -0
  19. package/dist/actions/delete-scraper.d.mts.map +1 -0
  20. package/dist/actions/delete-scraper.mjs +13 -0
  21. package/dist/actions/delete-scraper.mjs.map +1 -0
  22. package/dist/actions/extract-data.cjs +23 -0
  23. package/dist/actions/extract-data.cjs.map +1 -0
  24. package/dist/actions/extract-data.d.cts +9 -0
  25. package/dist/actions/extract-data.d.cts.map +1 -0
  26. package/dist/actions/extract-data.d.mts +9 -0
  27. package/dist/actions/extract-data.d.mts.map +1 -0
  28. package/dist/actions/extract-data.mjs +20 -0
  29. package/dist/actions/extract-data.mjs.map +1 -0
  30. package/dist/actions/extract-markdown.cjs +27 -0
  31. package/dist/actions/extract-markdown.cjs.map +1 -0
  32. package/dist/actions/extract-markdown.d.cts +9 -0
  33. package/dist/actions/extract-markdown.d.cts.map +1 -0
  34. package/dist/actions/extract-markdown.d.mts +9 -0
  35. package/dist/actions/extract-markdown.d.mts.map +1 -0
  36. package/dist/actions/extract-markdown.mjs +24 -0
  37. package/dist/actions/extract-markdown.mjs.map +1 -0
  38. package/dist/actions/get-llm-specs.cjs +48 -0
  39. package/dist/actions/get-llm-specs.cjs.map +1 -0
  40. package/dist/actions/get-llm-specs.d.cts +9 -0
  41. package/dist/actions/get-llm-specs.d.cts.map +1 -0
  42. package/dist/actions/get-llm-specs.d.mts +9 -0
  43. package/dist/actions/get-llm-specs.d.mts.map +1 -0
  44. package/dist/actions/get-llm-specs.mjs +47 -0
  45. package/dist/actions/get-llm-specs.mjs.map +1 -0
  46. package/dist/actions/get-proxy-countries.cjs +20 -0
  47. package/dist/actions/get-proxy-countries.cjs.map +1 -0
  48. package/dist/actions/get-proxy-countries.d.cts +9 -0
  49. package/dist/actions/get-proxy-countries.d.cts.map +1 -0
  50. package/dist/actions/get-proxy-countries.d.mts +9 -0
  51. package/dist/actions/get-proxy-countries.d.mts.map +1 -0
  52. package/dist/actions/get-proxy-countries.mjs +19 -0
  53. package/dist/actions/get-proxy-countries.mjs.map +1 -0
  54. package/dist/actions/health-check.cjs +16 -0
  55. package/dist/actions/health-check.cjs.map +1 -0
  56. package/dist/actions/health-check.d.cts +9 -0
  57. package/dist/actions/health-check.d.cts.map +1 -0
  58. package/dist/actions/health-check.d.mts +9 -0
  59. package/dist/actions/health-check.d.mts.map +1 -0
  60. package/dist/actions/health-check.mjs +13 -0
  61. package/dist/actions/health-check.mjs.map +1 -0
  62. package/dist/actions/index.cjs +27 -0
  63. package/dist/actions/index.d.cts +14 -0
  64. package/dist/actions/index.d.mts +14 -0
  65. package/dist/actions/index.mjs +14 -0
  66. package/dist/actions/list-agents.cjs +20 -0
  67. package/dist/actions/list-agents.cjs.map +1 -0
  68. package/dist/actions/list-agents.d.cts +9 -0
  69. package/dist/actions/list-agents.d.cts.map +1 -0
  70. package/dist/actions/list-agents.d.mts +9 -0
  71. package/dist/actions/list-agents.d.mts.map +1 -0
  72. package/dist/actions/list-agents.mjs +19 -0
  73. package/dist/actions/list-agents.mjs.map +1 -0
  74. package/dist/actions/list-scrapers.cjs +20 -0
  75. package/dist/actions/list-scrapers.cjs.map +1 -0
  76. package/dist/actions/list-scrapers.d.cts +9 -0
  77. package/dist/actions/list-scrapers.d.cts.map +1 -0
  78. package/dist/actions/list-scrapers.d.mts +9 -0
  79. package/dist/actions/list-scrapers.d.mts.map +1 -0
  80. package/dist/actions/list-scrapers.mjs +19 -0
  81. package/dist/actions/list-scrapers.mjs.map +1 -0
  82. package/dist/actions/parse-content2.cjs +39 -0
  83. package/dist/actions/parse-content2.cjs.map +1 -0
  84. package/dist/actions/parse-content2.d.cts +9 -0
  85. package/dist/actions/parse-content2.d.cts.map +1 -0
  86. package/dist/actions/parse-content2.d.mts +9 -0
  87. package/dist/actions/parse-content2.d.mts.map +1 -0
  88. package/dist/actions/parse-content2.mjs +36 -0
  89. package/dist/actions/parse-content2.mjs.map +1 -0
  90. package/dist/actions/remove-agent.cjs +19 -0
  91. package/dist/actions/remove-agent.cjs.map +1 -0
  92. package/dist/actions/remove-agent.d.cts +9 -0
  93. package/dist/actions/remove-agent.d.cts.map +1 -0
  94. package/dist/actions/remove-agent.d.mts +9 -0
  95. package/dist/actions/remove-agent.d.mts.map +1 -0
  96. package/dist/actions/remove-agent.mjs +16 -0
  97. package/dist/actions/remove-agent.mjs.map +1 -0
  98. package/dist/actions/run-scraper-template.cjs +25 -0
  99. package/dist/actions/run-scraper-template.cjs.map +1 -0
  100. package/dist/actions/run-scraper-template.d.cts +9 -0
  101. package/dist/actions/run-scraper-template.d.cts.map +1 -0
  102. package/dist/actions/run-scraper-template.d.mts +9 -0
  103. package/dist/actions/run-scraper-template.d.mts.map +1 -0
  104. package/dist/actions/run-scraper-template.mjs +22 -0
  105. package/dist/actions/run-scraper-template.mjs.map +1 -0
  106. package/dist/actions/scrape-with-agent.cjs +21 -0
  107. package/dist/actions/scrape-with-agent.cjs.map +1 -0
  108. package/dist/actions/scrape-with-agent.d.cts +9 -0
  109. package/dist/actions/scrape-with-agent.d.cts.map +1 -0
  110. package/dist/actions/scrape-with-agent.d.mts +9 -0
  111. package/dist/actions/scrape-with-agent.d.mts.map +1 -0
  112. package/dist/actions/scrape-with-agent.mjs +18 -0
  113. package/dist/actions/scrape-with-agent.mjs.map +1 -0
  114. package/dist/app.cjs +9 -0
  115. package/dist/app.cjs.map +1 -0
  116. package/dist/app.d.cts +5 -0
  117. package/dist/app.d.cts.map +1 -0
  118. package/dist/app.d.mts +5 -0
  119. package/dist/app.d.mts.map +1 -0
  120. package/dist/app.mjs +10 -0
  121. package/dist/app.mjs.map +1 -0
  122. package/dist/catalog.cjs +15 -0
  123. package/dist/catalog.cjs.map +1 -0
  124. package/dist/catalog.d.cts +14 -0
  125. package/dist/catalog.d.cts.map +1 -0
  126. package/dist/catalog.d.mts +14 -0
  127. package/dist/catalog.d.mts.map +1 -0
  128. package/dist/catalog.mjs +15 -0
  129. package/dist/catalog.mjs.map +1 -0
  130. package/dist/execute.cjs +18 -0
  131. package/dist/execute.cjs.map +1 -0
  132. package/dist/execute.mjs +18 -0
  133. package/dist/execute.mjs.map +1 -0
  134. package/dist/index.cjs +32 -0
  135. package/dist/index.d.cts +16 -0
  136. package/dist/index.d.mts +16 -0
  137. package/dist/index.mjs +17 -0
  138. package/package.json +49 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-proxy-countries.cjs","names":["z","action"],"sources":["../../src/actions/get-proxy-countries.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseraGetProxyCountriesInput: z.ZodTypeAny = z.object({}).describe(\"Request model for GET /v1/proxy-countries endpoint.\\n\\nThis endpoint requires no parameters.\");\nconst ParseraGetProxyCountries_ProxyCountrySchema: z.ZodTypeAny = z.object({\n code: z.string().describe(\"API parameter code for the country (e.g., 'UnitedStates', 'UnitedKingdom').\"),\n name: z.string().describe(\"Human-readable country name (e.g., 'United States', 'United Kingdom').\"),\n}).describe(\"Represents a single proxy country option.\");\nexport const ParseraGetProxyCountriesOutput: z.ZodTypeAny = z.object({\n countries: z.array(ParseraGetProxyCountries_ProxyCountrySchema).describe(\"Array of available proxy countries for web scraping requests.\"),\n}).describe(\"Response model containing list of available proxy countries.\");\n\nexport const parseraGetProxyCountries = action(\"PARSERA_GET_PROXY_COUNTRIES\", {\n slug: \"parsera-get-proxy-countries\",\n name: \"Get Proxy Countries\",\n description: \"Tool to retrieve the list of available proxy countries for web scraping requests. Use when you need to know which countries are supported for proxy-based scraping.\",\n input: ParseraGetProxyCountriesInput,\n output: ParseraGetProxyCountriesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8FAA8F;AAC/K,MAAM,8CAA4DA,IAAAA,EAAE,OAAO;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E;CACvG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;AACpG,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAa,iCAA+CA,IAAAA,EAAE,OAAO,EACnE,WAAWA,IAAAA,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,+DAA+D,EAC1I,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAE1E,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,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-proxy-countries.d.ts
4
+ declare const ParseraGetProxyCountriesInput: z.ZodTypeAny;
5
+ declare const ParseraGetProxyCountriesOutput: z.ZodTypeAny;
6
+ declare const parseraGetProxyCountries: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { parseraGetProxyCountries };
9
+ //# sourceMappingURL=get-proxy-countries.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-proxy-countries.d.cts","names":[],"sources":["../../src/actions/get-proxy-countries.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAAkI;AAAA,cAKnK,8BAAA,EAAgC,CAAA,CAAE,UAE4B;AAAA,cAE9D,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-proxy-countries.d.ts
4
+ declare const ParseraGetProxyCountriesInput: z.ZodTypeAny;
5
+ declare const ParseraGetProxyCountriesOutput: z.ZodTypeAny;
6
+ declare const parseraGetProxyCountries: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { parseraGetProxyCountries };
9
+ //# sourceMappingURL=get-proxy-countries.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-proxy-countries.d.mts","names":[],"sources":["../../src/actions/get-proxy-countries.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAAkI;AAAA,cAKnK,8BAAA,EAAgC,CAAA,CAAE,UAE4B;AAAA,cAE9D,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,19 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-proxy-countries.ts
4
+ const ParseraGetProxyCountriesInput = z.object({}).describe("Request model for GET /v1/proxy-countries endpoint.\n\nThis endpoint requires no parameters.");
5
+ const ParseraGetProxyCountries_ProxyCountrySchema = z.object({
6
+ code: z.string().describe("API parameter code for the country (e.g., 'UnitedStates', 'UnitedKingdom')."),
7
+ name: z.string().describe("Human-readable country name (e.g., 'United States', 'United Kingdom').")
8
+ }).describe("Represents a single proxy country option.");
9
+ const parseraGetProxyCountries = action("PARSERA_GET_PROXY_COUNTRIES", {
10
+ slug: "parsera-get-proxy-countries",
11
+ name: "Get Proxy Countries",
12
+ description: "Tool to retrieve the list of available proxy countries for web scraping requests. Use when you need to know which countries are supported for proxy-based scraping.",
13
+ input: ParseraGetProxyCountriesInput,
14
+ output: z.object({ countries: z.array(ParseraGetProxyCountries_ProxyCountrySchema).describe("Array of available proxy countries for web scraping requests.") }).describe("Response model containing list of available proxy countries.")
15
+ });
16
+ //#endregion
17
+ export { parseraGetProxyCountries };
18
+
19
+ //# sourceMappingURL=get-proxy-countries.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-proxy-countries.mjs","names":[],"sources":["../../src/actions/get-proxy-countries.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseraGetProxyCountriesInput: z.ZodTypeAny = z.object({}).describe(\"Request model for GET /v1/proxy-countries endpoint.\\n\\nThis endpoint requires no parameters.\");\nconst ParseraGetProxyCountries_ProxyCountrySchema: z.ZodTypeAny = z.object({\n code: z.string().describe(\"API parameter code for the country (e.g., 'UnitedStates', 'UnitedKingdom').\"),\n name: z.string().describe(\"Human-readable country name (e.g., 'United States', 'United Kingdom').\"),\n}).describe(\"Represents a single proxy country option.\");\nexport const ParseraGetProxyCountriesOutput: z.ZodTypeAny = z.object({\n countries: z.array(ParseraGetProxyCountries_ProxyCountrySchema).describe(\"Array of available proxy countries for web scraping requests.\"),\n}).describe(\"Response model containing list of available proxy countries.\");\n\nexport const parseraGetProxyCountries = action(\"PARSERA_GET_PROXY_COUNTRIES\", {\n slug: \"parsera-get-proxy-countries\",\n name: \"Get Proxy Countries\",\n description: \"Tool to retrieve the list of available proxy countries for web scraping requests. Use when you need to know which countries are supported for proxy-based scraping.\",\n input: ParseraGetProxyCountriesInput,\n output: ParseraGetProxyCountriesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8FAA8F;AAC/K,MAAM,8CAA4D,EAAE,OAAO;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E;CACvG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;AACpG,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAKvD,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT0D,EAAE,OAAO,EACnE,WAAW,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,+DAA+D,EAC1I,CAAC,CAAC,CAAC,SAAS,8DAOF;AACV,CAAC"}
@@ -0,0 +1,16 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/health-check.ts
4
+ const ParseraHealthCheckInput = zod.z.object({}).describe("Request model for health check - no parameters needed.");
5
+ const ParseraHealthCheckOutput = zod.z.object({ status: zod.z.string().default("healthy").describe("Health status of the API service.").nullable().optional() }).describe("Response model for health check endpoint.");
6
+ const parseraHealthCheck = require_action.action("PARSERA_HEALTH_CHECK", {
7
+ slug: "parsera-health-check",
8
+ name: "Health Check",
9
+ description: "Tool to verify API availability and operational status. Use to check if the Parsera service is accessible before making other API calls.",
10
+ input: ParseraHealthCheckInput,
11
+ output: ParseraHealthCheckOutput
12
+ });
13
+ //#endregion
14
+ exports.parseraHealthCheck = parseraHealthCheck;
15
+
16
+ //# sourceMappingURL=health-check.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"health-check.cjs","names":["z","action"],"sources":["../../src/actions/health-check.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseraHealthCheckInput: z.ZodTypeAny = z.object({}).describe(\"Request model for health check - no parameters needed.\");\nexport const ParseraHealthCheckOutput: z.ZodTypeAny = z.object({\n status: z.string().default(\"healthy\").describe(\"Health status of the API service.\").nullable().optional(),\n}).describe(\"Response model for health check endpoint.\");\n\nexport const parseraHealthCheck = action(\"PARSERA_HEALTH_CHECK\", {\n slug: \"parsera-health-check\",\n name: \"Health Check\",\n description: \"Tool to verify API availability and operational status. Use to check if the Parsera service is accessible before making other API calls.\",\n input: ParseraHealthCheckInput,\n output: ParseraHealthCheckOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACnI,MAAa,2BAAyCA,IAAAA,EAAE,OAAO,EAC7D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC1G,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAEvD,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,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/health-check.d.ts
4
+ declare const ParseraHealthCheckInput: z.ZodTypeAny;
5
+ declare const ParseraHealthCheckOutput: z.ZodTypeAny;
6
+ declare const parseraHealthCheck: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { parseraHealthCheck };
9
+ //# sourceMappingURL=health-check.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"health-check.d.cts","names":[],"sources":["../../src/actions/health-check.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAA4F;AAAA,cACvH,wBAAA,EAA0B,CAAA,CAAE,UAEe;AAAA,cAE3C,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/health-check.d.ts
4
+ declare const ParseraHealthCheckInput: z.ZodTypeAny;
5
+ declare const ParseraHealthCheckOutput: z.ZodTypeAny;
6
+ declare const parseraHealthCheck: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { parseraHealthCheck };
9
+ //# sourceMappingURL=health-check.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"health-check.d.mts","names":[],"sources":["../../src/actions/health-check.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAA4F;AAAA,cACvH,wBAAA,EAA0B,CAAA,CAAE,UAEe;AAAA,cAE3C,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,13 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const parseraHealthCheck = action("PARSERA_HEALTH_CHECK", {
4
+ slug: "parsera-health-check",
5
+ name: "Health Check",
6
+ description: "Tool to verify API availability and operational status. Use to check if the Parsera service is accessible before making other API calls.",
7
+ input: z.object({}).describe("Request model for health check - no parameters needed."),
8
+ output: z.object({ status: z.string().default("healthy").describe("Health status of the API service.").nullable().optional() }).describe("Response model for health check endpoint.")
9
+ });
10
+ //#endregion
11
+ export { parseraHealthCheck };
12
+
13
+ //# sourceMappingURL=health-check.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"health-check.mjs","names":[],"sources":["../../src/actions/health-check.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseraHealthCheckInput: z.ZodTypeAny = z.object({}).describe(\"Request model for health check - no parameters needed.\");\nexport const ParseraHealthCheckOutput: z.ZodTypeAny = z.object({\n status: z.string().default(\"healthy\").describe(\"Health status of the API service.\").nullable().optional(),\n}).describe(\"Response model for health check endpoint.\");\n\nexport const parseraHealthCheck = action(\"PARSERA_HEALTH_CHECK\", {\n slug: \"parsera-health-check\",\n name: \"Health Check\",\n description: \"Tool to verify API availability and operational status. Use to check if the Parsera service is accessible before making other API calls.\",\n input: ParseraHealthCheckInput,\n output: ParseraHealthCheckOutput,\n});\n"],"mappings":";;AASA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATmD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wDASlE;CACP,QAToD,EAAE,OAAO,EAC7D,QAAQ,EAAE,OAAO,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC1G,CAAC,CAAC,CAAC,SAAS,2CAOF;AACV,CAAC"}
@@ -0,0 +1,27 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ const require_create_scraper = require("./create-scraper.cjs");
3
+ const require_delete_scraper = require("./delete-scraper.cjs");
4
+ const require_extract_data = require("./extract-data.cjs");
5
+ const require_extract_markdown = require("./extract-markdown.cjs");
6
+ const require_get_llm_specs = require("./get-llm-specs.cjs");
7
+ const require_get_proxy_countries = require("./get-proxy-countries.cjs");
8
+ const require_health_check = require("./health-check.cjs");
9
+ const require_list_agents = require("./list-agents.cjs");
10
+ const require_list_scrapers = require("./list-scrapers.cjs");
11
+ const require_parse_content2 = require("./parse-content2.cjs");
12
+ const require_remove_agent = require("./remove-agent.cjs");
13
+ const require_run_scraper_template = require("./run-scraper-template.cjs");
14
+ const require_scrape_with_agent = require("./scrape-with-agent.cjs");
15
+ exports.parseraCreateScraper = require_create_scraper.parseraCreateScraper;
16
+ exports.parseraDeleteScraper = require_delete_scraper.parseraDeleteScraper;
17
+ exports.parseraExtractData = require_extract_data.parseraExtractData;
18
+ exports.parseraExtractMarkdown = require_extract_markdown.parseraExtractMarkdown;
19
+ exports.parseraGetLlmSpecs = require_get_llm_specs.parseraGetLlmSpecs;
20
+ exports.parseraGetProxyCountries = require_get_proxy_countries.parseraGetProxyCountries;
21
+ exports.parseraHealthCheck = require_health_check.parseraHealthCheck;
22
+ exports.parseraListAgents = require_list_agents.parseraListAgents;
23
+ exports.parseraListScrapers = require_list_scrapers.parseraListScrapers;
24
+ exports.parseraParseContent2 = require_parse_content2.parseraParseContent2;
25
+ exports.parseraRemoveAgent = require_remove_agent.parseraRemoveAgent;
26
+ exports.parseraRunScraperTemplate = require_run_scraper_template.parseraRunScraperTemplate;
27
+ exports.parseraScrapeWithAgent = require_scrape_with_agent.parseraScrapeWithAgent;
@@ -0,0 +1,14 @@
1
+ import { parseraCreateScraper } from "./create-scraper.cjs";
2
+ import { parseraDeleteScraper } from "./delete-scraper.cjs";
3
+ import { parseraExtractData } from "./extract-data.cjs";
4
+ import { parseraExtractMarkdown } from "./extract-markdown.cjs";
5
+ import { parseraGetLlmSpecs } from "./get-llm-specs.cjs";
6
+ import { parseraGetProxyCountries } from "./get-proxy-countries.cjs";
7
+ import { parseraHealthCheck } from "./health-check.cjs";
8
+ import { parseraListAgents } from "./list-agents.cjs";
9
+ import { parseraListScrapers } from "./list-scrapers.cjs";
10
+ import { parseraParseContent2 } from "./parse-content2.cjs";
11
+ import { parseraRemoveAgent } from "./remove-agent.cjs";
12
+ import { parseraRunScraperTemplate } from "./run-scraper-template.cjs";
13
+ import { parseraScrapeWithAgent } from "./scrape-with-agent.cjs";
14
+ export { parseraCreateScraper, parseraDeleteScraper, parseraExtractData, parseraExtractMarkdown, parseraGetLlmSpecs, parseraGetProxyCountries, parseraHealthCheck, parseraListAgents, parseraListScrapers, parseraParseContent2, parseraRemoveAgent, parseraRunScraperTemplate, parseraScrapeWithAgent };
@@ -0,0 +1,14 @@
1
+ import { parseraCreateScraper } from "./create-scraper.mjs";
2
+ import { parseraDeleteScraper } from "./delete-scraper.mjs";
3
+ import { parseraExtractData } from "./extract-data.mjs";
4
+ import { parseraExtractMarkdown } from "./extract-markdown.mjs";
5
+ import { parseraGetLlmSpecs } from "./get-llm-specs.mjs";
6
+ import { parseraGetProxyCountries } from "./get-proxy-countries.mjs";
7
+ import { parseraHealthCheck } from "./health-check.mjs";
8
+ import { parseraListAgents } from "./list-agents.mjs";
9
+ import { parseraListScrapers } from "./list-scrapers.mjs";
10
+ import { parseraParseContent2 } from "./parse-content2.mjs";
11
+ import { parseraRemoveAgent } from "./remove-agent.mjs";
12
+ import { parseraRunScraperTemplate } from "./run-scraper-template.mjs";
13
+ import { parseraScrapeWithAgent } from "./scrape-with-agent.mjs";
14
+ export { parseraCreateScraper, parseraDeleteScraper, parseraExtractData, parseraExtractMarkdown, parseraGetLlmSpecs, parseraGetProxyCountries, parseraHealthCheck, parseraListAgents, parseraListScrapers, parseraParseContent2, parseraRemoveAgent, parseraRunScraperTemplate, parseraScrapeWithAgent };
@@ -0,0 +1,14 @@
1
+ import { parseraCreateScraper } from "./create-scraper.mjs";
2
+ import { parseraDeleteScraper } from "./delete-scraper.mjs";
3
+ import { parseraExtractData } from "./extract-data.mjs";
4
+ import { parseraExtractMarkdown } from "./extract-markdown.mjs";
5
+ import { parseraGetLlmSpecs } from "./get-llm-specs.mjs";
6
+ import { parseraGetProxyCountries } from "./get-proxy-countries.mjs";
7
+ import { parseraHealthCheck } from "./health-check.mjs";
8
+ import { parseraListAgents } from "./list-agents.mjs";
9
+ import { parseraListScrapers } from "./list-scrapers.mjs";
10
+ import { parseraParseContent2 } from "./parse-content2.mjs";
11
+ import { parseraRemoveAgent } from "./remove-agent.mjs";
12
+ import { parseraRunScraperTemplate } from "./run-scraper-template.mjs";
13
+ import { parseraScrapeWithAgent } from "./scrape-with-agent.mjs";
14
+ export { parseraCreateScraper, parseraDeleteScraper, parseraExtractData, parseraExtractMarkdown, parseraGetLlmSpecs, parseraGetProxyCountries, parseraHealthCheck, parseraListAgents, parseraListScrapers, parseraParseContent2, parseraRemoveAgent, parseraRunScraperTemplate, parseraScrapeWithAgent };
@@ -0,0 +1,20 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/list-agents.ts
4
+ const ParseraListAgentsInput = zod.z.object({}).describe("Request model for GET /v1/list endpoint.\n\nThis endpoint requires no parameters.");
5
+ const ParseraListAgents_AgentItemSchema = zod.z.object({
6
+ id: zod.z.string().describe("Unique identifier for the agent."),
7
+ name: zod.z.string().describe("Display name of the agent.")
8
+ }).describe("Represents a single agent item.");
9
+ const ParseraListAgentsOutput = zod.z.object({ agents: zod.z.array(ParseraListAgents_AgentItemSchema).describe("Array of agents available for the authenticated user.") }).describe("Response model containing list of available agents.");
10
+ const parseraListAgents = require_action.action("PARSERA_LIST_AGENTS", {
11
+ slug: "parsera-list-agents",
12
+ name: "List Agents",
13
+ description: "Tool to retrieve all available agents for the authenticated user. Use when you need to list agents that can be used for scraping tasks.",
14
+ input: ParseraListAgentsInput,
15
+ output: ParseraListAgentsOutput
16
+ });
17
+ //#endregion
18
+ exports.parseraListAgents = parseraListAgents;
19
+
20
+ //# sourceMappingURL=list-agents.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-agents.cjs","names":["z","action"],"sources":["../../src/actions/list-agents.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseraListAgentsInput: z.ZodTypeAny = z.object({}).describe(\"Request model for GET /v1/list endpoint.\\n\\nThis endpoint requires no parameters.\");\nconst ParseraListAgents_AgentItemSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the agent.\"),\n name: z.string().describe(\"Display name of the agent.\"),\n}).describe(\"Represents a single agent item.\");\nexport const ParseraListAgentsOutput: z.ZodTypeAny = z.object({\n agents: z.array(ParseraListAgents_AgentItemSchema).describe(\"Array of agents available for the authenticated user.\"),\n}).describe(\"Response model containing list of available agents.\");\n\nexport const parseraListAgents = action(\"PARSERA_LIST_AGENTS\", {\n slug: \"parsera-list-agents\",\n name: \"List Agents\",\n description: \"Tool to retrieve all available agents for the authenticated user. Use when you need to list agents that can be used for scraping tasks.\",\n input: ParseraListAgentsInput,\n output: ParseraListAgentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAC7J,MAAM,oCAAkDA,IAAAA,EAAE,OAAO;CAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;AACxD,CAAC,CAAC,CAAC,SAAS,iCAAiC;AAC7C,MAAa,0BAAwCA,IAAAA,EAAE,OAAO,EAC5D,QAAQA,IAAAA,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,uDAAuD,EACrH,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAEjE,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,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/list-agents.d.ts
4
+ declare const ParseraListAgentsInput: z.ZodTypeAny;
5
+ declare const ParseraListAgentsOutput: z.ZodTypeAny;
6
+ declare const parseraListAgents: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { parseraListAgents };
9
+ //# sourceMappingURL=list-agents.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-agents.d.cts","names":[],"sources":["../../src/actions/list-agents.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAAuH;AAAA,cAKjJ,uBAAA,EAAyB,CAAA,CAAE,UAE0B;AAAA,cAErD,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-agents.d.ts
4
+ declare const ParseraListAgentsInput: z.ZodTypeAny;
5
+ declare const ParseraListAgentsOutput: z.ZodTypeAny;
6
+ declare const parseraListAgents: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { parseraListAgents };
9
+ //# sourceMappingURL=list-agents.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-agents.d.mts","names":[],"sources":["../../src/actions/list-agents.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAAuH;AAAA,cAKjJ,uBAAA,EAAyB,CAAA,CAAE,UAE0B;AAAA,cAErD,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,19 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/list-agents.ts
4
+ const ParseraListAgentsInput = z.object({}).describe("Request model for GET /v1/list endpoint.\n\nThis endpoint requires no parameters.");
5
+ const ParseraListAgents_AgentItemSchema = z.object({
6
+ id: z.string().describe("Unique identifier for the agent."),
7
+ name: z.string().describe("Display name of the agent.")
8
+ }).describe("Represents a single agent item.");
9
+ const parseraListAgents = action("PARSERA_LIST_AGENTS", {
10
+ slug: "parsera-list-agents",
11
+ name: "List Agents",
12
+ description: "Tool to retrieve all available agents for the authenticated user. Use when you need to list agents that can be used for scraping tasks.",
13
+ input: ParseraListAgentsInput,
14
+ output: z.object({ agents: z.array(ParseraListAgents_AgentItemSchema).describe("Array of agents available for the authenticated user.") }).describe("Response model containing list of available agents.")
15
+ });
16
+ //#endregion
17
+ export { parseraListAgents };
18
+
19
+ //# sourceMappingURL=list-agents.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-agents.mjs","names":[],"sources":["../../src/actions/list-agents.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseraListAgentsInput: z.ZodTypeAny = z.object({}).describe(\"Request model for GET /v1/list endpoint.\\n\\nThis endpoint requires no parameters.\");\nconst ParseraListAgents_AgentItemSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the agent.\"),\n name: z.string().describe(\"Display name of the agent.\"),\n}).describe(\"Represents a single agent item.\");\nexport const ParseraListAgentsOutput: z.ZodTypeAny = z.object({\n agents: z.array(ParseraListAgents_AgentItemSchema).describe(\"Array of agents available for the authenticated user.\"),\n}).describe(\"Response model containing list of available agents.\");\n\nexport const parseraListAgents = action(\"PARSERA_LIST_AGENTS\", {\n slug: \"parsera-list-agents\",\n name: \"List Agents\",\n description: \"Tool to retrieve all available agents for the authenticated user. Use when you need to list agents that can be used for scraping tasks.\",\n input: ParseraListAgentsInput,\n output: ParseraListAgentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAC7J,MAAM,oCAAkD,EAAE,OAAO;CAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;AACxD,CAAC,CAAC,CAAC,SAAS,iCAAiC;AAK7C,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATmD,EAAE,OAAO,EAC5D,QAAQ,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,uDAAuD,EACrH,CAAC,CAAC,CAAC,SAAS,qDAOF;AACV,CAAC"}
@@ -0,0 +1,20 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/list-scrapers.ts
4
+ const ParseraListScrapersInput = zod.z.object({}).describe("Request model for GET /v1/scrapers endpoint.\n\nThis endpoint requires no parameters.");
5
+ const ParseraListScrapers_ScraperItemSchema = zod.z.object({
6
+ id: zod.z.string().describe("Unique identifier. Old scrapers have IDs prefixed with 'scraper:' to distinguish them from templates."),
7
+ name: zod.z.string().describe("Display name of the template or scraper.")
8
+ }).describe("Represents a single template or scraper item.");
9
+ const ParseraListScrapersOutput = zod.z.object({ scrapers: zod.z.array(ParseraListScrapers_ScraperItemSchema).describe("Array of templates and old scrapers with their names and IDs.") }).describe("Response model containing list of templates and scrapers.");
10
+ const parseraListScrapers = require_action.action("PARSERA_LIST_SCRAPERS", {
11
+ slug: "parsera-list-scrapers",
12
+ name: "List Scrapers",
13
+ description: "Tool to list all templates and old scrapers for the authenticated user. Use when you need to retrieve available scraper configurations.",
14
+ input: ParseraListScrapersInput,
15
+ output: ParseraListScrapersOutput
16
+ });
17
+ //#endregion
18
+ exports.parseraListScrapers = parseraListScrapers;
19
+
20
+ //# sourceMappingURL=list-scrapers.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-scrapers.cjs","names":["z","action"],"sources":["../../src/actions/list-scrapers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseraListScrapersInput: z.ZodTypeAny = z.object({}).describe(\"Request model for GET /v1/scrapers endpoint.\\n\\nThis endpoint requires no parameters.\");\nconst ParseraListScrapers_ScraperItemSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier. Old scrapers have IDs prefixed with 'scraper:' to distinguish them from templates.\"),\n name: z.string().describe(\"Display name of the template or scraper.\"),\n}).describe(\"Represents a single template or scraper item.\");\nexport const ParseraListScrapersOutput: z.ZodTypeAny = z.object({\n scrapers: z.array(ParseraListScrapers_ScraperItemSchema).describe(\"Array of templates and old scrapers with their names and IDs.\"),\n}).describe(\"Response model containing list of templates and scrapers.\");\n\nexport const parseraListScrapers = action(\"PARSERA_LIST_SCRAPERS\", {\n slug: \"parsera-list-scrapers\",\n name: \"List Scrapers\",\n description: \"Tool to list all templates and old scrapers for the authenticated user. Use when you need to retrieve available scraper configurations.\",\n input: ParseraListScrapersInput,\n output: ParseraListScrapersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uFAAuF;AACnK,MAAM,wCAAsDA,IAAAA,EAAE,OAAO;CACnE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;CAC/H,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;AACtE,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,EAC9D,UAAUA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,+DAA+D,EACnI,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAEvE,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,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/list-scrapers.d.ts
4
+ declare const ParseraListScrapersInput: z.ZodTypeAny;
5
+ declare const ParseraListScrapersOutput: z.ZodTypeAny;
6
+ declare const parseraListScrapers: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { parseraListScrapers };
9
+ //# sourceMappingURL=list-scrapers.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-scrapers.d.cts","names":[],"sources":["../../src/actions/list-scrapers.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAA2H;AAAA,cAKvJ,yBAAA,EAA2B,CAAA,CAAE,UAE8B;AAAA,cAE3D,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-scrapers.d.ts
4
+ declare const ParseraListScrapersInput: z.ZodTypeAny;
5
+ declare const ParseraListScrapersOutput: z.ZodTypeAny;
6
+ declare const parseraListScrapers: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { parseraListScrapers };
9
+ //# sourceMappingURL=list-scrapers.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-scrapers.d.mts","names":[],"sources":["../../src/actions/list-scrapers.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAA2H;AAAA,cAKvJ,yBAAA,EAA2B,CAAA,CAAE,UAE8B;AAAA,cAE3D,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,19 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/list-scrapers.ts
4
+ const ParseraListScrapersInput = z.object({}).describe("Request model for GET /v1/scrapers endpoint.\n\nThis endpoint requires no parameters.");
5
+ const ParseraListScrapers_ScraperItemSchema = z.object({
6
+ id: z.string().describe("Unique identifier. Old scrapers have IDs prefixed with 'scraper:' to distinguish them from templates."),
7
+ name: z.string().describe("Display name of the template or scraper.")
8
+ }).describe("Represents a single template or scraper item.");
9
+ const parseraListScrapers = action("PARSERA_LIST_SCRAPERS", {
10
+ slug: "parsera-list-scrapers",
11
+ name: "List Scrapers",
12
+ description: "Tool to list all templates and old scrapers for the authenticated user. Use when you need to retrieve available scraper configurations.",
13
+ input: ParseraListScrapersInput,
14
+ output: z.object({ scrapers: z.array(ParseraListScrapers_ScraperItemSchema).describe("Array of templates and old scrapers with their names and IDs.") }).describe("Response model containing list of templates and scrapers.")
15
+ });
16
+ //#endregion
17
+ export { parseraListScrapers };
18
+
19
+ //# sourceMappingURL=list-scrapers.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-scrapers.mjs","names":[],"sources":["../../src/actions/list-scrapers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseraListScrapersInput: z.ZodTypeAny = z.object({}).describe(\"Request model for GET /v1/scrapers endpoint.\\n\\nThis endpoint requires no parameters.\");\nconst ParseraListScrapers_ScraperItemSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier. Old scrapers have IDs prefixed with 'scraper:' to distinguish them from templates.\"),\n name: z.string().describe(\"Display name of the template or scraper.\"),\n}).describe(\"Represents a single template or scraper item.\");\nexport const ParseraListScrapersOutput: z.ZodTypeAny = z.object({\n scrapers: z.array(ParseraListScrapers_ScraperItemSchema).describe(\"Array of templates and old scrapers with their names and IDs.\"),\n}).describe(\"Response model containing list of templates and scrapers.\");\n\nexport const parseraListScrapers = action(\"PARSERA_LIST_SCRAPERS\", {\n slug: \"parsera-list-scrapers\",\n name: \"List Scrapers\",\n description: \"Tool to list all templates and old scrapers for the authenticated user. Use when you need to retrieve available scraper configurations.\",\n input: ParseraListScrapersInput,\n output: ParseraListScrapersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uFAAuF;AACnK,MAAM,wCAAsD,EAAE,OAAO;CACnE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;CAC/H,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;AACtE,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAK3D,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqD,EAAE,OAAO,EAC9D,UAAU,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,+DAA+D,EACnI,CAAC,CAAC,CAAC,SAAS,2DAOF;AACV,CAAC"}
@@ -0,0 +1,39 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/parse-content2.ts
4
+ const ParseraParseContent2Input = zod.z.object({
5
+ mode: zod.z.enum([
6
+ "standard",
7
+ "precision",
8
+ "code"
9
+ ]).default("standard").describe("Extraction mode selection. 'standard' for regular extraction, 'precision' for enhanced data discovery in HTML, 'code' for code extraction.").optional(),
10
+ prompt: zod.z.string().default("").describe("Additional instructions or context for the extraction process.").optional(),
11
+ content: zod.z.string().describe("Raw HTML or plain text content to parse and extract data from."),
12
+ max_pages: zod.z.number().int().default(2).describe("Maximum number of pages to parse when pagination is enabled.").optional(),
13
+ attributes: zod.z.union([zod.z.record(zod.z.string(), zod.z.unknown()), zod.z.array(zod.z.object({
14
+ name: zod.z.string().describe("Name of the attribute to extract."),
15
+ type: zod.z.enum([
16
+ "string",
17
+ "integer",
18
+ "number",
19
+ "bool",
20
+ "list",
21
+ "object",
22
+ "any"
23
+ ]).nullable().optional(),
24
+ description: zod.z.string().nullable().optional()
25
+ }).describe("Attribute object with name and description fields."))]),
26
+ enable_pagination: zod.z.boolean().default(false).describe("Enable multi-page parsing. When enabled, the parser will attempt to extract data across multiple pages.").optional()
27
+ });
28
+ const ParseraParseContent2Output = zod.z.unknown();
29
+ const parseraParseContent2 = require_action.action("PARSERA_PARSE_CONTENT2", {
30
+ slug: "parsera-parse-content2",
31
+ name: "Parse Content (Enhanced)",
32
+ description: "Tool to extract structured data from raw HTML or text content using AI with advanced options. Use when you have content already loaded and need to extract specific fields with pagination or different extraction modes.",
33
+ input: ParseraParseContent2Input,
34
+ output: ParseraParseContent2Output
35
+ });
36
+ //#endregion
37
+ exports.parseraParseContent2 = parseraParseContent2;
38
+
39
+ //# sourceMappingURL=parse-content2.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parse-content2.cjs","names":["z","action"],"sources":["../../src/actions/parse-content2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseraParseContent2Input: z.ZodTypeAny = z.object({\n mode: z.enum([\"standard\", \"precision\", \"code\"]).default(\"standard\").describe(\"Extraction mode selection. 'standard' for regular extraction, 'precision' for enhanced data discovery in HTML, 'code' for code extraction.\").optional(),\n prompt: z.string().default(\"\").describe(\"Additional instructions or context for the extraction process.\").optional(),\n content: z.string().describe(\"Raw HTML or plain text content to parse and extract data from.\"),\n max_pages: z.number().int().default(2).describe(\"Maximum number of pages to parse when pagination is enabled.\").optional(),\n attributes: z.union([z.record(z.string(), z.unknown()), z.array(z.object({\n name: z.string().describe(\"Name of the attribute to extract.\"),\n type: z.enum([\"string\", \"integer\", \"number\", \"bool\", \"list\", \"object\", \"any\"]).nullable().optional(),\n description: z.string().nullable().optional(),\n}).describe(\"Attribute object with name and description fields.\"))]),\n enable_pagination: z.boolean().default(false).describe(\"Enable multi-page parsing. When enabled, the parser will attempt to extract data across multiple pages.\").optional(),\n});\nexport const ParseraParseContent2Output: z.ZodTypeAny = z.unknown();\n\nexport const parseraParseContent2 = action(\"PARSERA_PARSE_CONTENT2\", {\n slug: \"parsera-parse-content2\",\n name: \"Parse Content (Enhanced)\",\n description: \"Tool to extract structured data from raw HTML or text content using AI with advanced options. Use when you have content already loaded and need to extract specific fields with pagination or different extraction modes.\",\n input: ParseraParseContent2Input,\n output: ParseraParseContent2Output,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAY;EAAa;CAAM,CAAC,CAAC,CAAC,QAAQ,UAAU,CAAC,CAAC,SAAS,4IAA4I,CAAC,CAAC,SAAS;CACpO,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACnH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;CAC7F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACzH,YAAYA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,GAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;EAC7D,MAAMA,IAAAA,EAAE,KAAK;GAAC;GAAU;GAAW;GAAU;GAAQ;GAAQ;GAAU;EAAK,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9C,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,CAAC;CACjE,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;AAC7K,CAAC;AACD,MAAa,6BAA2CA,IAAAA,EAAE,QAAQ;AAElE,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,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/parse-content2.d.ts
4
+ declare const ParseraParseContent2Input: z.ZodTypeAny;
5
+ declare const ParseraParseContent2Output: z.ZodTypeAny;
6
+ declare const parseraParseContent2: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { parseraParseContent2 };
9
+ //# sourceMappingURL=parse-content2.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parse-content2.d.cts","names":[],"sources":["../../src/actions/parse-content2.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAWxC;AAAA,cACW,0BAAA,EAA4B,CAAA,CAAE,UAAwB;AAAA,cAEtD,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/parse-content2.d.ts
4
+ declare const ParseraParseContent2Input: z.ZodTypeAny;
5
+ declare const ParseraParseContent2Output: z.ZodTypeAny;
6
+ declare const parseraParseContent2: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { parseraParseContent2 };
9
+ //# sourceMappingURL=parse-content2.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parse-content2.d.mts","names":[],"sources":["../../src/actions/parse-content2.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAWxC;AAAA,cACW,0BAAA,EAA4B,CAAA,CAAE,UAAwB;AAAA,cAEtD,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,36 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const parseraParseContent2 = action("PARSERA_PARSE_CONTENT2", {
4
+ slug: "parsera-parse-content2",
5
+ name: "Parse Content (Enhanced)",
6
+ description: "Tool to extract structured data from raw HTML or text content using AI with advanced options. Use when you have content already loaded and need to extract specific fields with pagination or different extraction modes.",
7
+ input: z.object({
8
+ mode: z.enum([
9
+ "standard",
10
+ "precision",
11
+ "code"
12
+ ]).default("standard").describe("Extraction mode selection. 'standard' for regular extraction, 'precision' for enhanced data discovery in HTML, 'code' for code extraction.").optional(),
13
+ prompt: z.string().default("").describe("Additional instructions or context for the extraction process.").optional(),
14
+ content: z.string().describe("Raw HTML or plain text content to parse and extract data from."),
15
+ max_pages: z.number().int().default(2).describe("Maximum number of pages to parse when pagination is enabled.").optional(),
16
+ attributes: z.union([z.record(z.string(), z.unknown()), z.array(z.object({
17
+ name: z.string().describe("Name of the attribute to extract."),
18
+ type: z.enum([
19
+ "string",
20
+ "integer",
21
+ "number",
22
+ "bool",
23
+ "list",
24
+ "object",
25
+ "any"
26
+ ]).nullable().optional(),
27
+ description: z.string().nullable().optional()
28
+ }).describe("Attribute object with name and description fields."))]),
29
+ enable_pagination: z.boolean().default(false).describe("Enable multi-page parsing. When enabled, the parser will attempt to extract data across multiple pages.").optional()
30
+ }),
31
+ output: z.unknown()
32
+ });
33
+ //#endregion
34
+ export { parseraParseContent2 };
35
+
36
+ //# sourceMappingURL=parse-content2.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parse-content2.mjs","names":[],"sources":["../../src/actions/parse-content2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseraParseContent2Input: z.ZodTypeAny = z.object({\n mode: z.enum([\"standard\", \"precision\", \"code\"]).default(\"standard\").describe(\"Extraction mode selection. 'standard' for regular extraction, 'precision' for enhanced data discovery in HTML, 'code' for code extraction.\").optional(),\n prompt: z.string().default(\"\").describe(\"Additional instructions or context for the extraction process.\").optional(),\n content: z.string().describe(\"Raw HTML or plain text content to parse and extract data from.\"),\n max_pages: z.number().int().default(2).describe(\"Maximum number of pages to parse when pagination is enabled.\").optional(),\n attributes: z.union([z.record(z.string(), z.unknown()), z.array(z.object({\n name: z.string().describe(\"Name of the attribute to extract.\"),\n type: z.enum([\"string\", \"integer\", \"number\", \"bool\", \"list\", \"object\", \"any\"]).nullable().optional(),\n description: z.string().nullable().optional(),\n}).describe(\"Attribute object with name and description fields.\"))]),\n enable_pagination: z.boolean().default(false).describe(\"Enable multi-page parsing. When enabled, the parser will attempt to extract data across multiple pages.\").optional(),\n});\nexport const ParseraParseContent2Output: z.ZodTypeAny = z.unknown();\n\nexport const parseraParseContent2 = action(\"PARSERA_PARSE_CONTENT2\", {\n slug: \"parsera-parse-content2\",\n name: \"Parse Content (Enhanced)\",\n description: \"Tool to extract structured data from raw HTML or text content using AI with advanced options. Use when you have content already loaded and need to extract specific fields with pagination or different extraction modes.\",\n input: ParseraParseContent2Input,\n output: ParseraParseContent2Output,\n});\n"],"mappings":";;AAkBA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBqD,EAAE,OAAO;EAC9D,MAAM,EAAE,KAAK;GAAC;GAAY;GAAa;EAAM,CAAC,CAAC,CAAC,QAAQ,UAAU,CAAC,CAAC,SAAS,4IAA4I,CAAC,CAAC,SAAS;EACpO,QAAQ,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;EACnH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;EAC7F,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EACzH,YAAY,EAAE,MAAM,CAAC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO;GACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;GAC7D,MAAM,EAAE,KAAK;IAAC;IAAU;IAAW;IAAU;IAAQ;IAAQ;IAAU;GAAK,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;GACnG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9C,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,CAAC;EACjE,mBAAmB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CAC7K,CAOS;CACP,QAPsD,EAAE,QAOhD;AACV,CAAC"}
@@ -0,0 +1,19 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/remove-agent.ts
4
+ const ParseraRemoveAgentInput = zod.z.object({ name: zod.z.string().describe("Name of the agent to be removed. This should match the name used when the agent was created.") }).describe("Request model for POST /v1/remove endpoint.");
5
+ const ParseraRemoveAgentOutput = zod.z.object({
6
+ message: zod.z.string().describe("Status message or additional information about the removal operation.").nullable().optional(),
7
+ success: zod.z.boolean().describe("Indicates whether the agent was successfully removed.").nullable().optional()
8
+ }).describe("Response model for agent removal operation.");
9
+ const parseraRemoveAgent = require_action.action("PARSERA_REMOVE_AGENT", {
10
+ slug: "parsera-remove-agent",
11
+ name: "Remove Agent",
12
+ description: "Tool to delete an existing agent by name. Use when you need to remove a previously created agent from the Parsera platform.",
13
+ input: ParseraRemoveAgentInput,
14
+ output: ParseraRemoveAgentOutput
15
+ });
16
+ //#endregion
17
+ exports.parseraRemoveAgent = parseraRemoveAgent;
18
+
19
+ //# sourceMappingURL=remove-agent.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"remove-agent.cjs","names":["z","action"],"sources":["../../src/actions/remove-agent.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseraRemoveAgentInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the agent to be removed. This should match the name used when the agent was created.\"),\n}).describe(\"Request model for POST /v1/remove endpoint.\");\nexport const ParseraRemoveAgentOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Status message or additional information about the removal operation.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the agent was successfully removed.\").nullable().optional(),\n}).describe(\"Response model for agent removal operation.\");\n\nexport const parseraRemoveAgent = action(\"PARSERA_REMOVE_AGENT\", {\n slug: \"parsera-remove-agent\",\n name: \"Remove Agent\",\n description: \"Tool to delete an existing agent by name. Use when you need to remove a previously created agent from the Parsera platform.\",\n input: ParseraRemoveAgentInput,\n output: ParseraRemoveAgentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO,EAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,EAC1H,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAEzD,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,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/remove-agent.d.ts
4
+ declare const ParseraRemoveAgentInput: z.ZodTypeAny;
5
+ declare const ParseraRemoveAgentOutput: z.ZodTypeAny;
6
+ declare const parseraRemoveAgent: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { parseraRemoveAgent };
9
+ //# sourceMappingURL=remove-agent.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"remove-agent.d.cts","names":[],"sources":["../../src/actions/remove-agent.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAEkB;AAAA,cAC7C,wBAAA,EAA0B,CAAA,CAAE,UAGiB;AAAA,cAE7C,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/remove-agent.d.ts
4
+ declare const ParseraRemoveAgentInput: z.ZodTypeAny;
5
+ declare const ParseraRemoveAgentOutput: z.ZodTypeAny;
6
+ declare const parseraRemoveAgent: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { parseraRemoveAgent };
9
+ //# sourceMappingURL=remove-agent.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"remove-agent.d.mts","names":[],"sources":["../../src/actions/remove-agent.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAEkB;AAAA,cAC7C,wBAAA,EAA0B,CAAA,CAAE,UAGiB;AAAA,cAE7C,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,16 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const parseraRemoveAgent = action("PARSERA_REMOVE_AGENT", {
4
+ slug: "parsera-remove-agent",
5
+ name: "Remove Agent",
6
+ description: "Tool to delete an existing agent by name. Use when you need to remove a previously created agent from the Parsera platform.",
7
+ input: z.object({ name: z.string().describe("Name of the agent to be removed. This should match the name used when the agent was created.") }).describe("Request model for POST /v1/remove endpoint."),
8
+ output: z.object({
9
+ message: z.string().describe("Status message or additional information about the removal operation.").nullable().optional(),
10
+ success: z.boolean().describe("Indicates whether the agent was successfully removed.").nullable().optional()
11
+ }).describe("Response model for agent removal operation.")
12
+ });
13
+ //#endregion
14
+ export { parseraRemoveAgent };
15
+
16
+ //# sourceMappingURL=remove-agent.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"remove-agent.mjs","names":[],"sources":["../../src/actions/remove-agent.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseraRemoveAgentInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the agent to be removed. This should match the name used when the agent was created.\"),\n}).describe(\"Request model for POST /v1/remove endpoint.\");\nexport const ParseraRemoveAgentOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Status message or additional information about the removal operation.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the agent was successfully removed.\").nullable().optional(),\n}).describe(\"Response model for agent removal operation.\");\n\nexport const parseraRemoveAgent = action(\"PARSERA_REMOVE_AGENT\", {\n slug: \"parsera-remove-agent\",\n name: \"Remove Agent\",\n description: \"Tool to delete an existing agent by name. Use when you need to remove a previously created agent from the Parsera platform.\",\n input: ParseraRemoveAgentInput,\n output: ParseraRemoveAgentOutput,\n});\n"],"mappings":";;AAYA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZmD,EAAE,OAAO,EAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,EAC1H,CAAC,CAAC,CAAC,SAAS,6CAUH;CACP,QAVoD,EAAE,OAAO;EAC7D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,CAAC,CAAC,CAAC,SAAS,6CAOF;AACV,CAAC"}