@keystrokehq/parsera 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/create-scraper.cjs +1 -1
- package/dist/actions/create-scraper.cjs.map +1 -1
- package/dist/actions/create-scraper.d.cts +5 -3
- package/dist/actions/create-scraper.d.cts.map +1 -1
- package/dist/actions/create-scraper.d.mts +5 -3
- package/dist/actions/create-scraper.d.mts.map +1 -1
- package/dist/actions/create-scraper.mjs +1 -1
- package/dist/actions/create-scraper.mjs.map +1 -1
- package/dist/actions/delete-scraper.cjs.map +1 -1
- package/dist/actions/delete-scraper.d.cts +9 -3
- package/dist/actions/delete-scraper.d.cts.map +1 -1
- package/dist/actions/delete-scraper.d.mts +9 -3
- package/dist/actions/delete-scraper.d.mts.map +1 -1
- package/dist/actions/delete-scraper.mjs.map +1 -1
- package/dist/actions/extract-data.cjs.map +1 -1
- package/dist/actions/extract-data.d.cts +20 -3
- package/dist/actions/extract-data.d.cts.map +1 -1
- package/dist/actions/extract-data.d.mts +20 -3
- package/dist/actions/extract-data.d.mts.map +1 -1
- package/dist/actions/extract-data.mjs.map +1 -1
- package/dist/actions/extract-markdown.cjs +2 -2
- package/dist/actions/extract-markdown.cjs.map +1 -1
- package/dist/actions/extract-markdown.d.cts +21 -3
- package/dist/actions/extract-markdown.d.cts.map +1 -1
- package/dist/actions/extract-markdown.d.mts +21 -3
- package/dist/actions/extract-markdown.d.mts.map +1 -1
- package/dist/actions/extract-markdown.mjs +2 -2
- package/dist/actions/extract-markdown.mjs.map +1 -1
- package/dist/actions/get-llm-specs.cjs +3 -3
- package/dist/actions/get-llm-specs.cjs.map +1 -1
- package/dist/actions/get-llm-specs.d.cts +43 -3
- package/dist/actions/get-llm-specs.d.cts.map +1 -1
- package/dist/actions/get-llm-specs.d.mts +43 -3
- package/dist/actions/get-llm-specs.d.mts.map +1 -1
- package/dist/actions/get-llm-specs.mjs +3 -3
- package/dist/actions/get-llm-specs.mjs.map +1 -1
- package/dist/actions/get-proxy-countries.cjs +2 -2
- package/dist/actions/get-proxy-countries.cjs.map +1 -1
- package/dist/actions/get-proxy-countries.d.cts +8 -3
- package/dist/actions/get-proxy-countries.d.cts.map +1 -1
- package/dist/actions/get-proxy-countries.d.mts +8 -3
- package/dist/actions/get-proxy-countries.d.mts.map +1 -1
- package/dist/actions/get-proxy-countries.mjs +2 -2
- package/dist/actions/get-proxy-countries.mjs.map +1 -1
- package/dist/actions/health-check.cjs.map +1 -1
- package/dist/actions/health-check.d.cts +5 -3
- package/dist/actions/health-check.d.cts.map +1 -1
- package/dist/actions/health-check.d.mts +5 -3
- package/dist/actions/health-check.d.mts.map +1 -1
- package/dist/actions/health-check.mjs.map +1 -1
- package/dist/actions/list-agents.cjs +2 -2
- package/dist/actions/list-agents.cjs.map +1 -1
- package/dist/actions/list-agents.d.cts +8 -3
- package/dist/actions/list-agents.d.cts.map +1 -1
- package/dist/actions/list-agents.d.mts +8 -3
- package/dist/actions/list-agents.d.mts.map +1 -1
- package/dist/actions/list-agents.mjs +2 -2
- package/dist/actions/list-agents.mjs.map +1 -1
- package/dist/actions/list-scrapers.cjs +2 -2
- package/dist/actions/list-scrapers.cjs.map +1 -1
- package/dist/actions/list-scrapers.d.cts +8 -3
- package/dist/actions/list-scrapers.d.cts.map +1 -1
- package/dist/actions/list-scrapers.d.mts +8 -3
- package/dist/actions/list-scrapers.d.mts.map +1 -1
- package/dist/actions/list-scrapers.mjs +2 -2
- package/dist/actions/list-scrapers.mjs.map +1 -1
- package/dist/actions/parse-content2.cjs.map +1 -1
- package/dist/actions/parse-content2.d.cts +37 -3
- package/dist/actions/parse-content2.d.cts.map +1 -1
- package/dist/actions/parse-content2.d.mts +37 -3
- package/dist/actions/parse-content2.d.mts.map +1 -1
- package/dist/actions/parse-content2.mjs.map +1 -1
- package/dist/actions/remove-agent.cjs.map +1 -1
- package/dist/actions/remove-agent.d.cts +10 -3
- package/dist/actions/remove-agent.d.cts.map +1 -1
- package/dist/actions/remove-agent.d.mts +10 -3
- package/dist/actions/remove-agent.d.mts.map +1 -1
- package/dist/actions/remove-agent.mjs.map +1 -1
- package/dist/actions/run-scraper-template.cjs.map +1 -1
- package/dist/actions/run-scraper-template.d.cts +21 -3
- package/dist/actions/run-scraper-template.d.cts.map +1 -1
- package/dist/actions/run-scraper-template.d.mts +21 -3
- package/dist/actions/run-scraper-template.d.mts.map +1 -1
- package/dist/actions/run-scraper-template.mjs.map +1 -1
- package/dist/actions/scrape-with-agent.cjs.map +1 -1
- package/dist/actions/scrape-with-agent.d.cts +13 -3
- package/dist/actions/scrape-with-agent.d.cts.map +1 -1
- package/dist/actions/scrape-with-agent.d.mts +13 -3
- package/dist/actions/scrape-with-agent.d.mts.map +1 -1
- package/dist/actions/scrape-with-agent.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -24,11 +24,11 @@ const ParseraGetLlmSpecs_ModalitiesInfoSchema = z.object({
|
|
|
24
24
|
output: z.array(z.string()).describe("Array of supported output modalities (e.g., 'text', 'image', 'embeddings').")
|
|
25
25
|
}).describe("Supported input/output modalities for a model.");
|
|
26
26
|
const ParseraGetLlmSpecs_LLMSpecSchema = z.object({
|
|
27
|
-
id: z.string().describe("Unique model identifier used for API calls."),
|
|
27
|
+
id: z.string().describe("Unique model identifier used for API calls.").nullable(),
|
|
28
28
|
name: z.string().describe("Human-readable model identifier.").nullable().optional(),
|
|
29
|
-
family: z.string().describe("Model family classification."),
|
|
29
|
+
family: z.string().describe("Model family classification.").nullable(),
|
|
30
30
|
pricing: ParseraGetLlmSpecs_PricingInfoSchema.nullable().optional(),
|
|
31
|
-
provider: z.string().describe("Service provider name (e.g., 'openai', 'anthropic', 'gemini', 'deepseek')."),
|
|
31
|
+
provider: z.string().describe("Service provider name (e.g., 'openai', 'anthropic', 'gemini', 'deepseek').").nullable(),
|
|
32
32
|
modalities: ParseraGetLlmSpecs_ModalitiesInfoSchema.nullable(),
|
|
33
33
|
capabilities: z.array(z.string()).describe("Array of supported features (e.g., 'function_calling', 'batch', 'structured_output').").nullable().optional(),
|
|
34
34
|
context_window: z.number().int().describe("Maximum input tokens supported by the model.").nullable().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-llm-specs.mjs","names":[],"sources":["../../src/actions/get-llm-specs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseraGetLlmSpecsInput
|
|
1
|
+
{"version":3,"file":"get-llm-specs.mjs","names":[],"sources":["../../src/actions/get-llm-specs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseraGetLlmSpecsInput = z.object({}).describe(\"Request model for GET /v1/llm-specs endpoint.\\n\\nThis endpoint requires no parameters.\");\nconst ParseraGetLlmSpecs_PricingTokenInfoSchema = z.object({\n input_per_million: z.number().describe(\"Cost per million input tokens in USD.\").nullable().optional(),\n output_per_million: z.number().describe(\"Cost per million output tokens in USD.\").nullable().optional(),\n cached_input_per_million: z.number().describe(\"Cost per million cached input tokens in USD.\").nullable().optional(),\n}).describe(\"Token pricing information.\");\nconst ParseraGetLlmSpecs_EmbeddingsPricingSchema = z.object({\n batch: ParseraGetLlmSpecs_PricingTokenInfoSchema.nullable().optional(),\n standard: ParseraGetLlmSpecs_PricingTokenInfoSchema.nullable().optional(),\n}).describe(\"Embeddings pricing structure.\");\nconst ParseraGetLlmSpecs_TextTokensPricingSchema = z.object({\n batch: ParseraGetLlmSpecs_PricingTokenInfoSchema.nullable().optional(),\n standard: ParseraGetLlmSpecs_PricingTokenInfoSchema.nullable().optional(),\n}).describe(\"Text tokens pricing structure.\");\nconst ParseraGetLlmSpecs_PricingInfoSchema = z.object({\n embeddings: ParseraGetLlmSpecs_EmbeddingsPricingSchema.nullable().optional(),\n text_tokens: ParseraGetLlmSpecs_TextTokensPricingSchema.nullable().optional(),\n}).describe(\"Pricing information for a model.\");\nconst ParseraGetLlmSpecs_ModalitiesInfoSchema = z.object({\n input: z.array(z.string()).describe(\"Array of supported input modalities (e.g., 'text', 'image', 'audio').\"),\n output: z.array(z.string()).describe(\"Array of supported output modalities (e.g., 'text', 'image', 'embeddings').\"),\n}).describe(\"Supported input/output modalities for a model.\");\nconst ParseraGetLlmSpecs_LLMSpecSchema = z.object({\n id: z.string().describe(\"Unique model identifier used for API calls.\").nullable(),\n name: z.string().describe(\"Human-readable model identifier.\").nullable().optional(),\n family: z.string().describe(\"Model family classification.\").nullable(),\n pricing: ParseraGetLlmSpecs_PricingInfoSchema.nullable().optional(),\n provider: z.string().describe(\"Service provider name (e.g., 'openai', 'anthropic', 'gemini', 'deepseek').\").nullable(),\n modalities: ParseraGetLlmSpecs_ModalitiesInfoSchema.nullable(),\n capabilities: z.array(z.string()).describe(\"Array of supported features (e.g., 'function_calling', 'batch', 'structured_output').\").nullable().optional(),\n context_window: z.number().int().describe(\"Maximum input tokens supported by the model.\").nullable().optional(),\n max_output_tokens: z.number().int().describe(\"Maximum generation/output tokens allowed.\").nullable().optional(),\n}).describe(\"Represents a single LLM model specification.\");\nexport const ParseraGetLlmSpecsOutput = z.object({\n models: z.array(ParseraGetLlmSpecs_LLMSpecSchema).describe(\"Array of LLM model specifications with capabilities, pricing, and context windows.\"),\n}).describe(\"Response model containing list of LLM specifications.\");\n\nexport const parseraGetLlmSpecs = action(\"PARSERA_GET_LLM_SPECS\", {\n slug: \"parsera-get-llm-specs\",\n name: \"Get LLM Specifications\",\n description: \"Tool to retrieve standardized LLM capabilities and pricing specifications. Use to get up-to-date information about models from various providers.\",\n input: ParseraGetLlmSpecsInput,\n output: ParseraGetLlmSpecsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wFAAwF;AACrJ,MAAM,4CAA4C,EAAE,OAAO;CACzD,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,4BAA4B;AACxC,MAAM,6CAA6C,EAAE,OAAO;CAC1D,OAAO,0CAA0C,SAAS,CAAC,CAAC,SAAS;CACrE,UAAU,0CAA0C,SAAS,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAC3C,MAAM,6CAA6C,EAAE,OAAO;CAC1D,OAAO,0CAA0C,SAAS,CAAC,CAAC,SAAS;CACrE,UAAU,0CAA0C,SAAS,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAC5C,MAAM,uCAAuC,EAAE,OAAO;CACpD,YAAY,2CAA2C,SAAS,CAAC,CAAC,SAAS;CAC3E,aAAa,2CAA2C,SAAS,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAC9C,MAAM,0CAA0C,EAAE,OAAO;CACvD,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uEAAuE;CAC3G,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6EAA6E;AACpH,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,mCAAmC,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACrE,SAAS,qCAAqC,SAAS,CAAC,CAAC,SAAS;CAClE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACrH,YAAY,wCAAwC,SAAS;CAC7D,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxJ,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAK1D,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATsC,EAAE,OAAO,EAC/C,QAAQ,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,oFAAoF,EACjJ,CAAC,CAAC,CAAC,SAAS,uDAOF;AACV,CAAC"}
|
|
@@ -3,8 +3,8 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/get-proxy-countries.ts
|
|
4
4
|
const ParseraGetProxyCountriesInput = zod.z.object({}).describe("Request model for GET /v1/proxy-countries endpoint.\n\nThis endpoint requires no parameters.");
|
|
5
5
|
const ParseraGetProxyCountries_ProxyCountrySchema = zod.z.object({
|
|
6
|
-
code: zod.z.string().describe("API parameter code for the country (e.g., 'UnitedStates', 'UnitedKingdom')."),
|
|
7
|
-
name: zod.z.string().describe("Human-readable country name (e.g., 'United States', 'United Kingdom').")
|
|
6
|
+
code: zod.z.string().describe("API parameter code for the country (e.g., 'UnitedStates', 'UnitedKingdom').").nullable(),
|
|
7
|
+
name: zod.z.string().describe("Human-readable country name (e.g., 'United States', 'United Kingdom').").nullable()
|
|
8
8
|
}).describe("Represents a single proxy country option.");
|
|
9
9
|
const ParseraGetProxyCountriesOutput = zod.z.object({ countries: zod.z.array(ParseraGetProxyCountries_ProxyCountrySchema).describe("Array of available proxy countries for web scraping requests.") }).describe("Response model containing list of available proxy countries.");
|
|
10
10
|
const parseraGetProxyCountries = require_action.action("PARSERA_GET_PROXY_COUNTRIES", {
|
|
@@ -1 +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
|
|
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.object({}).describe(\"Request model for GET /v1/proxy-countries endpoint.\\n\\nThis endpoint requires no parameters.\");\nconst ParseraGetProxyCountries_ProxyCountrySchema = z.object({\n code: z.string().describe(\"API parameter code for the country (e.g., 'UnitedStates', 'UnitedKingdom').\").nullable(),\n name: z.string().describe(\"Human-readable country name (e.g., 'United States', 'United Kingdom').\").nullable(),\n}).describe(\"Represents a single proxy country option.\");\nexport const ParseraGetProxyCountriesOutput = 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,gCAAgCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8FAA8F;AACjK,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAClH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,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"}
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-proxy-countries.d.ts
|
|
4
|
-
declare const ParseraGetProxyCountriesInput: z.
|
|
5
|
-
declare const ParseraGetProxyCountriesOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const ParseraGetProxyCountriesInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const ParseraGetProxyCountriesOutput: z.ZodObject<{
|
|
6
|
+
countries: z.ZodArray<z.ZodObject<{
|
|
7
|
+
code: z.ZodNullable<z.ZodString>;
|
|
8
|
+
name: z.ZodNullable<z.ZodString>;
|
|
9
|
+
}, z.core.$strip>>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const parseraGetProxyCountries: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
12
|
//#endregion
|
|
8
13
|
export { parseraGetProxyCountries };
|
|
9
14
|
//# sourceMappingURL=get-proxy-countries.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-proxy-countries.d.cts","names":[],"sources":["../../src/actions/get-proxy-countries.ts"],"mappings":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"get-proxy-countries.d.cts","names":[],"sources":["../../src/actions/get-proxy-countries.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAK7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAI9B,wBAAA,gCAAwB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-proxy-countries.d.ts
|
|
4
|
-
declare const ParseraGetProxyCountriesInput: z.
|
|
5
|
-
declare const ParseraGetProxyCountriesOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const ParseraGetProxyCountriesInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const ParseraGetProxyCountriesOutput: z.ZodObject<{
|
|
6
|
+
countries: z.ZodArray<z.ZodObject<{
|
|
7
|
+
code: z.ZodNullable<z.ZodString>;
|
|
8
|
+
name: z.ZodNullable<z.ZodString>;
|
|
9
|
+
}, z.core.$strip>>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const parseraGetProxyCountries: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
12
|
//#endregion
|
|
8
13
|
export { parseraGetProxyCountries };
|
|
9
14
|
//# sourceMappingURL=get-proxy-countries.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-proxy-countries.d.mts","names":[],"sources":["../../src/actions/get-proxy-countries.ts"],"mappings":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"get-proxy-countries.d.mts","names":[],"sources":["../../src/actions/get-proxy-countries.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAK7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAI9B,wBAAA,gCAAwB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -3,8 +3,8 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/get-proxy-countries.ts
|
|
4
4
|
const ParseraGetProxyCountriesInput = z.object({}).describe("Request model for GET /v1/proxy-countries endpoint.\n\nThis endpoint requires no parameters.");
|
|
5
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').")
|
|
6
|
+
code: z.string().describe("API parameter code for the country (e.g., 'UnitedStates', 'UnitedKingdom').").nullable(),
|
|
7
|
+
name: z.string().describe("Human-readable country name (e.g., 'United States', 'United Kingdom').").nullable()
|
|
8
8
|
}).describe("Represents a single proxy country option.");
|
|
9
9
|
const parseraGetProxyCountries = action("PARSERA_GET_PROXY_COUNTRIES", {
|
|
10
10
|
slug: "parsera-get-proxy-countries",
|
|
@@ -1 +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
|
|
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.object({}).describe(\"Request model for GET /v1/proxy-countries endpoint.\\n\\nThis endpoint requires no parameters.\");\nconst ParseraGetProxyCountries_ProxyCountrySchema = z.object({\n code: z.string().describe(\"API parameter code for the country (e.g., 'UnitedStates', 'UnitedKingdom').\").nullable(),\n name: z.string().describe(\"Human-readable country name (e.g., 'United States', 'United Kingdom').\").nullable(),\n}).describe(\"Represents a single proxy country option.\");\nexport const ParseraGetProxyCountriesOutput = 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,gCAAgC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8FAA8F;AACjK,MAAM,8CAA8C,EAAE,OAAO;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAClH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAKvD,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT4C,EAAE,OAAO,EACrD,WAAW,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,+DAA+D,EAC1I,CAAC,CAAC,CAAC,SAAS,8DAOF;AACV,CAAC"}
|
|
@@ -1 +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
|
|
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.object({}).describe(\"Request model for health check - no parameters needed.\");\nexport const ParseraHealthCheckOutput = 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,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACrH,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,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"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/health-check.d.ts
|
|
4
|
-
declare const ParseraHealthCheckInput: z.
|
|
5
|
-
declare const ParseraHealthCheckOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const ParseraHealthCheckInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const ParseraHealthCheckOutput: z.ZodObject<{
|
|
6
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const parseraHealthCheck: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
9
|
//#endregion
|
|
8
10
|
export { parseraHealthCheck };
|
|
9
11
|
//# sourceMappingURL=health-check.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"health-check.d.cts","names":[],"sources":["../../src/actions/health-check.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"health-check.d.cts","names":[],"sources":["../../src/actions/health-check.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAIxB,kBAAA,gCAAkB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/health-check.d.ts
|
|
4
|
-
declare const ParseraHealthCheckInput: z.
|
|
5
|
-
declare const ParseraHealthCheckOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const ParseraHealthCheckInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const ParseraHealthCheckOutput: z.ZodObject<{
|
|
6
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const parseraHealthCheck: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
9
|
//#endregion
|
|
8
10
|
export { parseraHealthCheck };
|
|
9
11
|
//# sourceMappingURL=health-check.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"health-check.d.mts","names":[],"sources":["../../src/actions/health-check.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"health-check.d.mts","names":[],"sources":["../../src/actions/health-check.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAIxB,kBAAA,gCAAkB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -1 +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
|
|
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.object({}).describe(\"Request model for health check - no parameters needed.\");\nexport const ParseraHealthCheckOutput = 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,OATqC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wDASpD;CACP,QATsC,EAAE,OAAO,EAC/C,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"}
|
|
@@ -3,8 +3,8 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/list-agents.ts
|
|
4
4
|
const ParseraListAgentsInput = zod.z.object({}).describe("Request model for GET /v1/list endpoint.\n\nThis endpoint requires no parameters.");
|
|
5
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.")
|
|
6
|
+
id: zod.z.string().describe("Unique identifier for the agent.").nullable(),
|
|
7
|
+
name: zod.z.string().describe("Display name of the agent.").nullable()
|
|
8
8
|
}).describe("Represents a single agent item.");
|
|
9
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
10
|
const parseraListAgents = require_action.action("PARSERA_LIST_AGENTS", {
|
|
@@ -1 +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
|
|
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.object({}).describe(\"Request model for GET /v1/list endpoint.\\n\\nThis endpoint requires no parameters.\");\nconst ParseraListAgents_AgentItemSchema = z.object({\n id: z.string().describe(\"Unique identifier for the agent.\").nullable(),\n name: z.string().describe(\"Display name of the agent.\").nullable(),\n}).describe(\"Represents a single agent item.\");\nexport const ParseraListAgentsOutput = 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,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAC/I,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,SAAS,iCAAiC;AAC7C,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,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"}
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-agents.d.ts
|
|
4
|
-
declare const ParseraListAgentsInput: z.
|
|
5
|
-
declare const ParseraListAgentsOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const ParseraListAgentsInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const ParseraListAgentsOutput: z.ZodObject<{
|
|
6
|
+
agents: z.ZodArray<z.ZodObject<{
|
|
7
|
+
id: z.ZodNullable<z.ZodString>;
|
|
8
|
+
name: z.ZodNullable<z.ZodString>;
|
|
9
|
+
}, z.core.$strip>>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const parseraListAgents: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
12
|
//#endregion
|
|
8
13
|
export { parseraListAgents };
|
|
9
14
|
//# sourceMappingURL=list-agents.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-agents.d.cts","names":[],"sources":["../../src/actions/list-agents.ts"],"mappings":";;;cAIa,sBAAA,
|
|
1
|
+
{"version":3,"file":"list-agents.d.cts","names":[],"sources":["../../src/actions/list-agents.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAKtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;cAIvB,iBAAA,gCAAiB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-agents.d.ts
|
|
4
|
-
declare const ParseraListAgentsInput: z.
|
|
5
|
-
declare const ParseraListAgentsOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const ParseraListAgentsInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const ParseraListAgentsOutput: z.ZodObject<{
|
|
6
|
+
agents: z.ZodArray<z.ZodObject<{
|
|
7
|
+
id: z.ZodNullable<z.ZodString>;
|
|
8
|
+
name: z.ZodNullable<z.ZodString>;
|
|
9
|
+
}, z.core.$strip>>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const parseraListAgents: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
12
|
//#endregion
|
|
8
13
|
export { parseraListAgents };
|
|
9
14
|
//# sourceMappingURL=list-agents.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-agents.d.mts","names":[],"sources":["../../src/actions/list-agents.ts"],"mappings":";;;cAIa,sBAAA,
|
|
1
|
+
{"version":3,"file":"list-agents.d.mts","names":[],"sources":["../../src/actions/list-agents.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAKtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;cAIvB,iBAAA,gCAAiB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -3,8 +3,8 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/list-agents.ts
|
|
4
4
|
const ParseraListAgentsInput = z.object({}).describe("Request model for GET /v1/list endpoint.\n\nThis endpoint requires no parameters.");
|
|
5
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.")
|
|
6
|
+
id: z.string().describe("Unique identifier for the agent.").nullable(),
|
|
7
|
+
name: z.string().describe("Display name of the agent.").nullable()
|
|
8
8
|
}).describe("Represents a single agent item.");
|
|
9
9
|
const parseraListAgents = action("PARSERA_LIST_AGENTS", {
|
|
10
10
|
slug: "parsera-list-agents",
|
|
@@ -1 +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
|
|
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.object({}).describe(\"Request model for GET /v1/list endpoint.\\n\\nThis endpoint requires no parameters.\");\nconst ParseraListAgents_AgentItemSchema = z.object({\n id: z.string().describe(\"Unique identifier for the agent.\").nullable(),\n name: z.string().describe(\"Display name of the agent.\").nullable(),\n}).describe(\"Represents a single agent item.\");\nexport const ParseraListAgentsOutput = 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,yBAAyB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAC/I,MAAM,oCAAoC,EAAE,OAAO;CACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,SAAS,iCAAiC;AAK7C,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqC,EAAE,OAAO,EAC9C,QAAQ,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,uDAAuD,EACrH,CAAC,CAAC,CAAC,SAAS,qDAOF;AACV,CAAC"}
|
|
@@ -3,8 +3,8 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/list-scrapers.ts
|
|
4
4
|
const ParseraListScrapersInput = zod.z.object({}).describe("Request model for GET /v1/scrapers endpoint.\n\nThis endpoint requires no parameters.");
|
|
5
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.")
|
|
6
|
+
id: zod.z.string().describe("Unique identifier. Old scrapers have IDs prefixed with 'scraper:' to distinguish them from templates.").nullable(),
|
|
7
|
+
name: zod.z.string().describe("Display name of the template or scraper.").nullable()
|
|
8
8
|
}).describe("Represents a single template or scraper item.");
|
|
9
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
10
|
const parseraListScrapers = require_action.action("PARSERA_LIST_SCRAPERS", {
|
|
@@ -1 +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
|
|
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.object({}).describe(\"Request model for GET /v1/scrapers endpoint.\\n\\nThis endpoint requires no parameters.\");\nconst ParseraListScrapers_ScraperItemSchema = z.object({\n id: z.string().describe(\"Unique identifier. Old scrapers have IDs prefixed with 'scraper:' to distinguish them from templates.\").nullable(),\n name: z.string().describe(\"Display name of the template or scraper.\").nullable(),\n}).describe(\"Represents a single template or scraper item.\");\nexport const ParseraListScrapersOutput = 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,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uFAAuF;AACrJ,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;CAC1I,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,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"}
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-scrapers.d.ts
|
|
4
|
-
declare const ParseraListScrapersInput: z.
|
|
5
|
-
declare const ParseraListScrapersOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const ParseraListScrapersInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const ParseraListScrapersOutput: z.ZodObject<{
|
|
6
|
+
scrapers: z.ZodArray<z.ZodObject<{
|
|
7
|
+
id: z.ZodNullable<z.ZodString>;
|
|
8
|
+
name: z.ZodNullable<z.ZodString>;
|
|
9
|
+
}, z.core.$strip>>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const parseraListScrapers: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
12
|
//#endregion
|
|
8
13
|
export { parseraListScrapers };
|
|
9
14
|
//# sourceMappingURL=list-scrapers.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-scrapers.d.cts","names":[],"sources":["../../src/actions/list-scrapers.ts"],"mappings":";;;cAIa,wBAAA,
|
|
1
|
+
{"version":3,"file":"list-scrapers.d.cts","names":[],"sources":["../../src/actions/list-scrapers.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAKxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;cAIzB,mBAAA,gCAAmB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-scrapers.d.ts
|
|
4
|
-
declare const ParseraListScrapersInput: z.
|
|
5
|
-
declare const ParseraListScrapersOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const ParseraListScrapersInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const ParseraListScrapersOutput: z.ZodObject<{
|
|
6
|
+
scrapers: z.ZodArray<z.ZodObject<{
|
|
7
|
+
id: z.ZodNullable<z.ZodString>;
|
|
8
|
+
name: z.ZodNullable<z.ZodString>;
|
|
9
|
+
}, z.core.$strip>>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const parseraListScrapers: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
12
|
//#endregion
|
|
8
13
|
export { parseraListScrapers };
|
|
9
14
|
//# sourceMappingURL=list-scrapers.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-scrapers.d.mts","names":[],"sources":["../../src/actions/list-scrapers.ts"],"mappings":";;;cAIa,wBAAA,
|
|
1
|
+
{"version":3,"file":"list-scrapers.d.mts","names":[],"sources":["../../src/actions/list-scrapers.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAKxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;cAIzB,mBAAA,gCAAmB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -3,8 +3,8 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/list-scrapers.ts
|
|
4
4
|
const ParseraListScrapersInput = z.object({}).describe("Request model for GET /v1/scrapers endpoint.\n\nThis endpoint requires no parameters.");
|
|
5
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.")
|
|
6
|
+
id: z.string().describe("Unique identifier. Old scrapers have IDs prefixed with 'scraper:' to distinguish them from templates.").nullable(),
|
|
7
|
+
name: z.string().describe("Display name of the template or scraper.").nullable()
|
|
8
8
|
}).describe("Represents a single template or scraper item.");
|
|
9
9
|
const parseraListScrapers = action("PARSERA_LIST_SCRAPERS", {
|
|
10
10
|
slug: "parsera-list-scrapers",
|
|
@@ -1 +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
|
|
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.object({}).describe(\"Request model for GET /v1/scrapers endpoint.\\n\\nThis endpoint requires no parameters.\");\nconst ParseraListScrapers_ScraperItemSchema = z.object({\n id: z.string().describe(\"Unique identifier. Old scrapers have IDs prefixed with 'scraper:' to distinguish them from templates.\").nullable(),\n name: z.string().describe(\"Display name of the template or scraper.\").nullable(),\n}).describe(\"Represents a single template or scraper item.\");\nexport const ParseraListScrapersOutput = 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,2BAA2B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uFAAuF;AACrJ,MAAM,wCAAwC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;CAC1I,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAK3D,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuC,EAAE,OAAO,EAChD,UAAU,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,+DAA+D,EACnI,CAAC,CAAC,CAAC,SAAS,2DAOF;AACV,CAAC"}
|
|
@@ -1 +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
|
|
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.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.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,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,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,6BAA6BA,IAAAA,EAAE,QAAQ;AAEpD,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,43 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/parse-content2.d.ts
|
|
4
|
-
declare const ParseraParseContent2Input: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ParseraParseContent2Input: z.ZodObject<{
|
|
5
|
+
mode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
6
|
+
code: "code";
|
|
7
|
+
standard: "standard";
|
|
8
|
+
precision: "precision";
|
|
9
|
+
}>>>;
|
|
10
|
+
prompt: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
11
|
+
content: z.ZodString;
|
|
12
|
+
max_pages: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
13
|
+
attributes: z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodObject<{
|
|
14
|
+
name: z.ZodString;
|
|
15
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
16
|
+
string: "string";
|
|
17
|
+
number: "number";
|
|
18
|
+
object: "object";
|
|
19
|
+
any: "any";
|
|
20
|
+
integer: "integer";
|
|
21
|
+
bool: "bool";
|
|
22
|
+
list: "list";
|
|
23
|
+
}>>>;
|
|
24
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
}, z.core.$strip>>]>;
|
|
26
|
+
enable_pagination: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
27
|
+
}, z.core.$strip>;
|
|
28
|
+
declare const ParseraParseContent2Output: z.ZodUnknown;
|
|
29
|
+
declare const parseraParseContent2: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
30
|
+
content: string;
|
|
31
|
+
attributes: Record<string, unknown> | {
|
|
32
|
+
name: string;
|
|
33
|
+
type?: "string" | "number" | "object" | "any" | "integer" | "bool" | "list" | null | undefined;
|
|
34
|
+
description?: string | null | undefined;
|
|
35
|
+
}[];
|
|
36
|
+
mode?: "code" | "standard" | "precision" | undefined;
|
|
37
|
+
prompt?: string | undefined;
|
|
38
|
+
max_pages?: number | undefined;
|
|
39
|
+
enable_pagination?: boolean | undefined;
|
|
40
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
41
|
//#endregion
|
|
8
42
|
export { parseraParseContent2 };
|
|
9
43
|
//# sourceMappingURL=parse-content2.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parse-content2.d.cts","names":[],"sources":["../../src/actions/parse-content2.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"parse-content2.d.cts","names":[],"sources":["../../src/actions/parse-content2.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAYzB,0BAAA,EAA0B,CAAA,CAAA,UAAc;AAAA,cAExC,oBAAA,gCAAoB,wBAAA;;cAM/B,MAAA"}
|
|
@@ -1,9 +1,43 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/parse-content2.d.ts
|
|
4
|
-
declare const ParseraParseContent2Input: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ParseraParseContent2Input: z.ZodObject<{
|
|
5
|
+
mode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
6
|
+
code: "code";
|
|
7
|
+
standard: "standard";
|
|
8
|
+
precision: "precision";
|
|
9
|
+
}>>>;
|
|
10
|
+
prompt: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
11
|
+
content: z.ZodString;
|
|
12
|
+
max_pages: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
13
|
+
attributes: z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodObject<{
|
|
14
|
+
name: z.ZodString;
|
|
15
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
16
|
+
string: "string";
|
|
17
|
+
number: "number";
|
|
18
|
+
object: "object";
|
|
19
|
+
any: "any";
|
|
20
|
+
integer: "integer";
|
|
21
|
+
bool: "bool";
|
|
22
|
+
list: "list";
|
|
23
|
+
}>>>;
|
|
24
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
}, z.core.$strip>>]>;
|
|
26
|
+
enable_pagination: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
27
|
+
}, z.core.$strip>;
|
|
28
|
+
declare const ParseraParseContent2Output: z.ZodUnknown;
|
|
29
|
+
declare const parseraParseContent2: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
30
|
+
content: string;
|
|
31
|
+
attributes: Record<string, unknown> | {
|
|
32
|
+
name: string;
|
|
33
|
+
type?: "string" | "number" | "object" | "any" | "integer" | "bool" | "list" | null | undefined;
|
|
34
|
+
description?: string | null | undefined;
|
|
35
|
+
}[];
|
|
36
|
+
mode?: "code" | "standard" | "precision" | undefined;
|
|
37
|
+
prompt?: string | undefined;
|
|
38
|
+
max_pages?: number | undefined;
|
|
39
|
+
enable_pagination?: boolean | undefined;
|
|
40
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
41
|
//#endregion
|
|
8
42
|
export { parseraParseContent2 };
|
|
9
43
|
//# sourceMappingURL=parse-content2.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parse-content2.d.mts","names":[],"sources":["../../src/actions/parse-content2.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"parse-content2.d.mts","names":[],"sources":["../../src/actions/parse-content2.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAYzB,0BAAA,EAA0B,CAAA,CAAA,UAAc;AAAA,cAExC,oBAAA,gCAAoB,wBAAA;;cAM/B,MAAA"}
|
|
@@ -1 +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
|
|
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.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.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,OAlBuC,EAAE,OAAO;EAChD,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,QAPwC,EAAE,QAOlC;AACV,CAAC"}
|
|
@@ -1 +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
|
|
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.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.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,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,EAC1H,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,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"}
|