@keystrokehq/parsera 0.1.5 → 0.1.6
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 -0
- package/dist/actions/create-scraper.cjs.map +1 -1
- package/dist/actions/create-scraper.d.cts +3 -13
- package/dist/actions/create-scraper.d.cts.map +1 -1
- package/dist/actions/create-scraper.d.mts +3 -13
- package/dist/actions/create-scraper.d.mts.map +1 -1
- package/dist/actions/create-scraper.mjs +1 -0
- package/dist/actions/create-scraper.mjs.map +1 -1
- package/dist/actions/delete-scraper.cjs +1 -0
- package/dist/actions/delete-scraper.cjs.map +1 -1
- package/dist/actions/delete-scraper.d.cts +3 -15
- package/dist/actions/delete-scraper.d.cts.map +1 -1
- package/dist/actions/delete-scraper.d.mts +3 -15
- package/dist/actions/delete-scraper.d.mts.map +1 -1
- package/dist/actions/delete-scraper.mjs +1 -0
- package/dist/actions/delete-scraper.mjs.map +1 -1
- package/dist/actions/extract-data.cjs +1 -0
- package/dist/actions/extract-data.cjs.map +1 -1
- package/dist/actions/extract-data.d.cts +3 -20
- package/dist/actions/extract-data.d.cts.map +1 -1
- package/dist/actions/extract-data.d.mts +3 -20
- package/dist/actions/extract-data.d.mts.map +1 -1
- package/dist/actions/extract-data.mjs +1 -0
- package/dist/actions/extract-data.mjs.map +1 -1
- package/dist/actions/extract-markdown.cjs +1 -0
- package/dist/actions/extract-markdown.cjs.map +1 -1
- package/dist/actions/extract-markdown.d.cts +3 -20
- package/dist/actions/extract-markdown.d.cts.map +1 -1
- package/dist/actions/extract-markdown.d.mts +3 -20
- package/dist/actions/extract-markdown.d.mts.map +1 -1
- package/dist/actions/extract-markdown.mjs +1 -0
- package/dist/actions/extract-markdown.mjs.map +1 -1
- package/dist/actions/get-llm-specs.cjs +1 -0
- package/dist/actions/get-llm-specs.cjs.map +1 -1
- package/dist/actions/get-llm-specs.d.cts +3 -13
- package/dist/actions/get-llm-specs.d.cts.map +1 -1
- package/dist/actions/get-llm-specs.d.mts +3 -13
- package/dist/actions/get-llm-specs.d.mts.map +1 -1
- package/dist/actions/get-llm-specs.mjs +1 -0
- package/dist/actions/get-llm-specs.mjs.map +1 -1
- package/dist/actions/get-proxy-countries.cjs +1 -0
- package/dist/actions/get-proxy-countries.cjs.map +1 -1
- package/dist/actions/get-proxy-countries.d.cts +3 -13
- package/dist/actions/get-proxy-countries.d.cts.map +1 -1
- package/dist/actions/get-proxy-countries.d.mts +3 -13
- package/dist/actions/get-proxy-countries.d.mts.map +1 -1
- package/dist/actions/get-proxy-countries.mjs +1 -0
- package/dist/actions/get-proxy-countries.mjs.map +1 -1
- package/dist/actions/health-check.cjs +1 -0
- package/dist/actions/health-check.cjs.map +1 -1
- package/dist/actions/health-check.d.cts +3 -13
- package/dist/actions/health-check.d.cts.map +1 -1
- package/dist/actions/health-check.d.mts +3 -13
- package/dist/actions/health-check.d.mts.map +1 -1
- package/dist/actions/health-check.mjs +1 -0
- package/dist/actions/health-check.mjs.map +1 -1
- package/dist/actions/list-agents.cjs +1 -0
- package/dist/actions/list-agents.cjs.map +1 -1
- package/dist/actions/list-agents.d.cts +3 -13
- package/dist/actions/list-agents.d.cts.map +1 -1
- package/dist/actions/list-agents.d.mts +3 -13
- package/dist/actions/list-agents.d.mts.map +1 -1
- package/dist/actions/list-agents.mjs +1 -0
- package/dist/actions/list-agents.mjs.map +1 -1
- package/dist/actions/list-scrapers.cjs +1 -0
- package/dist/actions/list-scrapers.cjs.map +1 -1
- package/dist/actions/list-scrapers.d.cts +3 -13
- package/dist/actions/list-scrapers.d.cts.map +1 -1
- package/dist/actions/list-scrapers.d.mts +3 -13
- package/dist/actions/list-scrapers.d.mts.map +1 -1
- package/dist/actions/list-scrapers.mjs +1 -0
- package/dist/actions/list-scrapers.mjs.map +1 -1
- package/dist/actions/parse-content2.cjs +1 -0
- package/dist/actions/parse-content2.cjs.map +1 -1
- package/dist/actions/parse-content2.d.cts +3 -25
- package/dist/actions/parse-content2.d.cts.map +1 -1
- package/dist/actions/parse-content2.d.mts +3 -25
- package/dist/actions/parse-content2.d.mts.map +1 -1
- package/dist/actions/parse-content2.mjs +1 -0
- package/dist/actions/parse-content2.mjs.map +1 -1
- package/dist/actions/remove-agent.cjs +1 -0
- package/dist/actions/remove-agent.cjs.map +1 -1
- package/dist/actions/remove-agent.d.cts +3 -15
- package/dist/actions/remove-agent.d.cts.map +1 -1
- package/dist/actions/remove-agent.d.mts +3 -15
- package/dist/actions/remove-agent.d.mts.map +1 -1
- package/dist/actions/remove-agent.mjs +1 -0
- package/dist/actions/remove-agent.mjs.map +1 -1
- package/dist/actions/run-scraper-template.cjs +1 -0
- package/dist/actions/run-scraper-template.cjs.map +1 -1
- package/dist/actions/run-scraper-template.d.cts +3 -23
- package/dist/actions/run-scraper-template.d.cts.map +1 -1
- package/dist/actions/run-scraper-template.d.mts +3 -23
- package/dist/actions/run-scraper-template.d.mts.map +1 -1
- package/dist/actions/run-scraper-template.mjs +1 -0
- package/dist/actions/run-scraper-template.mjs.map +1 -1
- package/dist/actions/scrape-with-agent.cjs +1 -0
- package/dist/actions/scrape-with-agent.cjs.map +1 -1
- package/dist/actions/scrape-with-agent.d.cts +3 -18
- package/dist/actions/scrape-with-agent.d.cts.map +1 -1
- package/dist/actions/scrape-with-agent.d.mts +3 -18
- package/dist/actions/scrape-with-agent.d.mts.map +1 -1
- package/dist/actions/scrape-with-agent.mjs +1 -0
- package/dist/actions/scrape-with-agent.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -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 = 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}).passthrough().describe(\"Token pricing information.\");\nconst ParseraGetLlmSpecs_EmbeddingsPricingSchema = z.object({\n batch: ParseraGetLlmSpecs_PricingTokenInfoSchema.nullable().optional(),\n standard: ParseraGetLlmSpecs_PricingTokenInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Embeddings pricing structure.\");\nconst ParseraGetLlmSpecs_TextTokensPricingSchema = z.object({\n batch: ParseraGetLlmSpecs_PricingTokenInfoSchema.nullable().optional(),\n standard: ParseraGetLlmSpecs_PricingTokenInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Text tokens pricing structure.\");\nconst ParseraGetLlmSpecs_PricingInfoSchema = z.object({\n embeddings: ParseraGetLlmSpecs_EmbeddingsPricingSchema.nullable().optional(),\n text_tokens: ParseraGetLlmSpecs_TextTokensPricingSchema.nullable().optional(),\n}).passthrough().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}).passthrough().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}).passthrough().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}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"get-llm-specs.mjs","names":[],"sources":["../../src/actions/get-llm-specs.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parsera } from \"../app\";\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}).passthrough().describe(\"Token pricing information.\");\nconst ParseraGetLlmSpecs_EmbeddingsPricingSchema = z.object({\n batch: ParseraGetLlmSpecs_PricingTokenInfoSchema.nullable().optional(),\n standard: ParseraGetLlmSpecs_PricingTokenInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Embeddings pricing structure.\");\nconst ParseraGetLlmSpecs_TextTokensPricingSchema = z.object({\n batch: ParseraGetLlmSpecs_PricingTokenInfoSchema.nullable().optional(),\n standard: ParseraGetLlmSpecs_PricingTokenInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Text tokens pricing structure.\");\nconst ParseraGetLlmSpecs_PricingInfoSchema = z.object({\n embeddings: ParseraGetLlmSpecs_EmbeddingsPricingSchema.nullable().optional(),\n text_tokens: ParseraGetLlmSpecs_TextTokensPricingSchema.nullable().optional(),\n}).passthrough().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}).passthrough().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}).passthrough().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}).passthrough().describe(\"Response model containing list of LLM specifications.\");\n\nexport const parseraGetLlmSpecs: AppAction<\n typeof ParseraGetLlmSpecsInput,\n typeof ParseraGetLlmSpecsOutput,\n typeof parsera.credential\n> = 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":";;;;AAMA,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,YAAY,CAAC,CAAC,SAAS,4BAA4B;AACtD,MAAM,6CAA6C,EAAE,OAAO;CAC1D,OAAO,0CAA0C,SAAS,CAAC,CAAC,SAAS;CACrE,UAAU,0CAA0C,SAAS,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AACzD,MAAM,6CAA6C,EAAE,OAAO;CAC1D,OAAO,0CAA0C,SAAS,CAAC,CAAC,SAAS;CACrE,UAAU,0CAA0C,SAAS,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAC1D,MAAM,uCAAuC,EAAE,OAAO;CACpD,YAAY,2CAA2C,SAAS,CAAC,CAAC,SAAS;CAC3E,aAAa,2CAA2C,SAAS,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAC5D,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,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,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,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAKxE,MAAa,qBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbsC,EAAE,OAAO,EAC/C,QAAQ,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,oFAAoF,EACjJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAWhB;AACV,CAAC"}
|
|
@@ -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 = 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}).passthrough().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}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"get-proxy-countries.cjs","names":["z","action"],"sources":["../../src/actions/get-proxy-countries.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parsera } from \"../app\";\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}).passthrough().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}).passthrough().describe(\"Response model containing list of available proxy countries.\");\n\nexport const parseraGetProxyCountries: AppAction<\n typeof ParseraGetProxyCountriesInput,\n typeof ParseraGetProxyCountriesOutput,\n typeof parsera.credential\n> = 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":";;;;AAMA,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,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,WAAWA,IAAAA,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,+DAA+D,EAC1I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAA8D;AAExF,MAAa,2BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { parsera } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-proxy-countries.d.ts
|
|
@@ -8,19 +10,7 @@ declare const ParseraGetProxyCountriesOutput: z.ZodObject<{
|
|
|
8
10
|
name: z.ZodNullable<z.ZodString>;
|
|
9
11
|
}, z.core.$loose>>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const parseraGetProxyCountries:
|
|
12
|
-
connectionId: z.ZodString;
|
|
13
|
-
entityId: z.ZodString;
|
|
14
|
-
instanceId: z.ZodString;
|
|
15
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
16
|
-
generic_api_key: z.ZodString;
|
|
17
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parsera", z.ZodObject<{
|
|
18
|
-
connectionId: z.ZodString;
|
|
19
|
-
entityId: z.ZodString;
|
|
20
|
-
instanceId: z.ZodString;
|
|
21
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
22
|
-
generic_api_key: z.ZodString;
|
|
23
|
-
}, z.core.$strip>>]>;
|
|
13
|
+
declare const parseraGetProxyCountries: AppAction<typeof ParseraGetProxyCountriesInput, typeof ParseraGetProxyCountriesOutput, typeof parsera.credential>;
|
|
24
14
|
//#endregion
|
|
25
15
|
export { parseraGetProxyCountries };
|
|
26
16
|
//# 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":"
|
|
1
|
+
{"version":3,"file":"get-proxy-countries.d.cts","names":[],"sources":["../../src/actions/get-proxy-countries.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAK7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAI9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { parsera } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-proxy-countries.d.ts
|
|
@@ -8,19 +10,7 @@ declare const ParseraGetProxyCountriesOutput: z.ZodObject<{
|
|
|
8
10
|
name: z.ZodNullable<z.ZodString>;
|
|
9
11
|
}, z.core.$loose>>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const parseraGetProxyCountries:
|
|
12
|
-
connectionId: z.ZodString;
|
|
13
|
-
entityId: z.ZodString;
|
|
14
|
-
instanceId: z.ZodString;
|
|
15
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
16
|
-
generic_api_key: z.ZodString;
|
|
17
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parsera", z.ZodObject<{
|
|
18
|
-
connectionId: z.ZodString;
|
|
19
|
-
entityId: z.ZodString;
|
|
20
|
-
instanceId: z.ZodString;
|
|
21
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
22
|
-
generic_api_key: z.ZodString;
|
|
23
|
-
}, z.core.$strip>>]>;
|
|
13
|
+
declare const parseraGetProxyCountries: AppAction<typeof ParseraGetProxyCountriesInput, typeof ParseraGetProxyCountriesOutput, typeof parsera.credential>;
|
|
24
14
|
//#endregion
|
|
25
15
|
export { parseraGetProxyCountries };
|
|
26
16
|
//# 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":"
|
|
1
|
+
{"version":3,"file":"get-proxy-countries.d.mts","names":[],"sources":["../../src/actions/get-proxy-countries.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAK7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAI9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -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 = 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}).passthrough().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}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"get-proxy-countries.mjs","names":[],"sources":["../../src/actions/get-proxy-countries.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parsera } from \"../app\";\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}).passthrough().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}).passthrough().describe(\"Response model containing list of available proxy countries.\");\n\nexport const parseraGetProxyCountries: AppAction<\n typeof ParseraGetProxyCountriesInput,\n typeof ParseraGetProxyCountriesOutput,\n typeof parsera.credential\n> = 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":";;;;AAMA,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,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAKrE,MAAa,2BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb4C,EAAE,OAAO,EACrD,WAAW,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,+DAA+D,EAC1I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAWhB;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 = 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}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"health-check.cjs","names":["z","action"],"sources":["../../src/actions/health-check.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parsera } from \"../app\";\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}).passthrough().describe(\"Response model for health check endpoint.\");\n\nexport const parseraHealthCheck: AppAction<\n typeof ParseraHealthCheckInput,\n typeof ParseraHealthCheckOutput,\n typeof parsera.credential\n> = 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":";;;;AAMA,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,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,qBAITC,eAAAA,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { parsera } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/health-check.d.ts
|
|
@@ -5,19 +7,7 @@ declare const ParseraHealthCheckInput: z.ZodObject<{}, z.core.$strip>;
|
|
|
5
7
|
declare const ParseraHealthCheckOutput: z.ZodObject<{
|
|
6
8
|
status: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
7
9
|
}, z.core.$loose>;
|
|
8
|
-
declare const parseraHealthCheck:
|
|
9
|
-
connectionId: z.ZodString;
|
|
10
|
-
entityId: z.ZodString;
|
|
11
|
-
instanceId: z.ZodString;
|
|
12
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
13
|
-
generic_api_key: z.ZodString;
|
|
14
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parsera", z.ZodObject<{
|
|
15
|
-
connectionId: z.ZodString;
|
|
16
|
-
entityId: z.ZodString;
|
|
17
|
-
instanceId: z.ZodString;
|
|
18
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19
|
-
generic_api_key: z.ZodString;
|
|
20
|
-
}, z.core.$strip>>]>;
|
|
10
|
+
declare const parseraHealthCheck: AppAction<typeof ParseraHealthCheckInput, typeof ParseraHealthCheckOutput, typeof parsera.credential>;
|
|
21
11
|
//#endregion
|
|
22
12
|
export { parseraHealthCheck };
|
|
23
13
|
//# sourceMappingURL=health-check.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"health-check.d.cts","names":[],"sources":["../../src/actions/health-check.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"health-check.d.cts","names":[],"sources":["../../src/actions/health-check.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAIxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { parsera } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/health-check.d.ts
|
|
@@ -5,19 +7,7 @@ declare const ParseraHealthCheckInput: z.ZodObject<{}, z.core.$strip>;
|
|
|
5
7
|
declare const ParseraHealthCheckOutput: z.ZodObject<{
|
|
6
8
|
status: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
7
9
|
}, z.core.$loose>;
|
|
8
|
-
declare const parseraHealthCheck:
|
|
9
|
-
connectionId: z.ZodString;
|
|
10
|
-
entityId: z.ZodString;
|
|
11
|
-
instanceId: z.ZodString;
|
|
12
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
13
|
-
generic_api_key: z.ZodString;
|
|
14
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parsera", z.ZodObject<{
|
|
15
|
-
connectionId: z.ZodString;
|
|
16
|
-
entityId: z.ZodString;
|
|
17
|
-
instanceId: z.ZodString;
|
|
18
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19
|
-
generic_api_key: z.ZodString;
|
|
20
|
-
}, z.core.$strip>>]>;
|
|
10
|
+
declare const parseraHealthCheck: AppAction<typeof ParseraHealthCheckInput, typeof ParseraHealthCheckOutput, typeof parsera.credential>;
|
|
21
11
|
//#endregion
|
|
22
12
|
export { parseraHealthCheck };
|
|
23
13
|
//# sourceMappingURL=health-check.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"health-check.d.mts","names":[],"sources":["../../src/actions/health-check.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"health-check.d.mts","names":[],"sources":["../../src/actions/health-check.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAIxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,OAAA,CAAQ,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 = 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}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"health-check.mjs","names":[],"sources":["../../src/actions/health-check.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parsera } from \"../app\";\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}).passthrough().describe(\"Response model for health check endpoint.\");\n\nexport const parseraHealthCheck: AppAction<\n typeof ParseraHealthCheckInput,\n typeof ParseraHealthCheckOutput,\n typeof parsera.credential\n> = 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":";;;AAWA,MAAa,qBAIT,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbqC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wDAapD;CACP,QAbsC,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,YAAY,CAAC,CAAC,SAAS,2CAWhB;AACV,CAAC"}
|
|
@@ -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 = 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}).passthrough().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}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"list-agents.cjs","names":["z","action"],"sources":["../../src/actions/list-agents.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parsera } from \"../app\";\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}).passthrough().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}).passthrough().describe(\"Response model containing list of available agents.\");\n\nexport const parseraListAgents: AppAction<\n typeof ParseraListAgentsInput,\n typeof ParseraListAgentsOutput,\n typeof parsera.credential\n> = 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":";;;;AAMA,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,YAAY,CAAC,CAAC,SAAS,iCAAiC;AAC3D,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,QAAQA,IAAAA,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,uDAAuD,EACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,oBAITC,eAAAA,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { parsera } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-agents.d.ts
|
|
@@ -8,19 +10,7 @@ declare const ParseraListAgentsOutput: z.ZodObject<{
|
|
|
8
10
|
name: z.ZodNullable<z.ZodString>;
|
|
9
11
|
}, z.core.$loose>>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const parseraListAgents:
|
|
12
|
-
connectionId: z.ZodString;
|
|
13
|
-
entityId: z.ZodString;
|
|
14
|
-
instanceId: z.ZodString;
|
|
15
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
16
|
-
generic_api_key: z.ZodString;
|
|
17
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parsera", z.ZodObject<{
|
|
18
|
-
connectionId: z.ZodString;
|
|
19
|
-
entityId: z.ZodString;
|
|
20
|
-
instanceId: z.ZodString;
|
|
21
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
22
|
-
generic_api_key: z.ZodString;
|
|
23
|
-
}, z.core.$strip>>]>;
|
|
13
|
+
declare const parseraListAgents: AppAction<typeof ParseraListAgentsInput, typeof ParseraListAgentsOutput, typeof parsera.credential>;
|
|
24
14
|
//#endregion
|
|
25
15
|
export { parseraListAgents };
|
|
26
16
|
//# sourceMappingURL=list-agents.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-agents.d.cts","names":[],"sources":["../../src/actions/list-agents.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-agents.d.cts","names":[],"sources":["../../src/actions/list-agents.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAKtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;cAIvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { parsera } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-agents.d.ts
|
|
@@ -8,19 +10,7 @@ declare const ParseraListAgentsOutput: z.ZodObject<{
|
|
|
8
10
|
name: z.ZodNullable<z.ZodString>;
|
|
9
11
|
}, z.core.$loose>>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const parseraListAgents:
|
|
12
|
-
connectionId: z.ZodString;
|
|
13
|
-
entityId: z.ZodString;
|
|
14
|
-
instanceId: z.ZodString;
|
|
15
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
16
|
-
generic_api_key: z.ZodString;
|
|
17
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parsera", z.ZodObject<{
|
|
18
|
-
connectionId: z.ZodString;
|
|
19
|
-
entityId: z.ZodString;
|
|
20
|
-
instanceId: z.ZodString;
|
|
21
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
22
|
-
generic_api_key: z.ZodString;
|
|
23
|
-
}, z.core.$strip>>]>;
|
|
13
|
+
declare const parseraListAgents: AppAction<typeof ParseraListAgentsInput, typeof ParseraListAgentsOutput, typeof parsera.credential>;
|
|
24
14
|
//#endregion
|
|
25
15
|
export { parseraListAgents };
|
|
26
16
|
//# sourceMappingURL=list-agents.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-agents.d.mts","names":[],"sources":["../../src/actions/list-agents.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-agents.d.mts","names":[],"sources":["../../src/actions/list-agents.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAKtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;cAIvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -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 = 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}).passthrough().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}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"list-agents.mjs","names":[],"sources":["../../src/actions/list-agents.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parsera } from \"../app\";\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}).passthrough().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}).passthrough().describe(\"Response model containing list of available agents.\");\n\nexport const parseraListAgents: AppAction<\n typeof ParseraListAgentsInput,\n typeof ParseraListAgentsOutput,\n typeof parsera.credential\n> = 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":";;;;AAMA,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,YAAY,CAAC,CAAC,SAAS,iCAAiC;AAK3D,MAAa,oBAIT,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbqC,EAAE,OAAO,EAC9C,QAAQ,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,uDAAuD,EACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAWhB;AACV,CAAC"}
|
|
@@ -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 = 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}).passthrough().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}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"list-scrapers.cjs","names":["z","action"],"sources":["../../src/actions/list-scrapers.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parsera } from \"../app\";\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}).passthrough().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}).passthrough().describe(\"Response model containing list of templates and scrapers.\");\n\nexport const parseraListScrapers: AppAction<\n typeof ParseraListScrapersInput,\n typeof ParseraListScrapersOutput,\n typeof parsera.credential\n> = 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":";;;;AAMA,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,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,UAAUA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,+DAA+D,EACnI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAErF,MAAa,sBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { parsera } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-scrapers.d.ts
|
|
@@ -8,19 +10,7 @@ declare const ParseraListScrapersOutput: z.ZodObject<{
|
|
|
8
10
|
name: z.ZodNullable<z.ZodString>;
|
|
9
11
|
}, z.core.$loose>>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const parseraListScrapers:
|
|
12
|
-
connectionId: z.ZodString;
|
|
13
|
-
entityId: z.ZodString;
|
|
14
|
-
instanceId: z.ZodString;
|
|
15
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
16
|
-
generic_api_key: z.ZodString;
|
|
17
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parsera", z.ZodObject<{
|
|
18
|
-
connectionId: z.ZodString;
|
|
19
|
-
entityId: z.ZodString;
|
|
20
|
-
instanceId: z.ZodString;
|
|
21
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
22
|
-
generic_api_key: z.ZodString;
|
|
23
|
-
}, z.core.$strip>>]>;
|
|
13
|
+
declare const parseraListScrapers: AppAction<typeof ParseraListScrapersInput, typeof ParseraListScrapersOutput, typeof parsera.credential>;
|
|
24
14
|
//#endregion
|
|
25
15
|
export { parseraListScrapers };
|
|
26
16
|
//# sourceMappingURL=list-scrapers.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-scrapers.d.cts","names":[],"sources":["../../src/actions/list-scrapers.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-scrapers.d.cts","names":[],"sources":["../../src/actions/list-scrapers.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAKxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;cAIzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { parsera } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-scrapers.d.ts
|
|
@@ -8,19 +10,7 @@ declare const ParseraListScrapersOutput: z.ZodObject<{
|
|
|
8
10
|
name: z.ZodNullable<z.ZodString>;
|
|
9
11
|
}, z.core.$loose>>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const parseraListScrapers:
|
|
12
|
-
connectionId: z.ZodString;
|
|
13
|
-
entityId: z.ZodString;
|
|
14
|
-
instanceId: z.ZodString;
|
|
15
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
16
|
-
generic_api_key: z.ZodString;
|
|
17
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parsera", z.ZodObject<{
|
|
18
|
-
connectionId: z.ZodString;
|
|
19
|
-
entityId: z.ZodString;
|
|
20
|
-
instanceId: z.ZodString;
|
|
21
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
22
|
-
generic_api_key: z.ZodString;
|
|
23
|
-
}, z.core.$strip>>]>;
|
|
13
|
+
declare const parseraListScrapers: AppAction<typeof ParseraListScrapersInput, typeof ParseraListScrapersOutput, typeof parsera.credential>;
|
|
24
14
|
//#endregion
|
|
25
15
|
export { parseraListScrapers };
|
|
26
16
|
//# sourceMappingURL=list-scrapers.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-scrapers.d.mts","names":[],"sources":["../../src/actions/list-scrapers.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-scrapers.d.mts","names":[],"sources":["../../src/actions/list-scrapers.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAKxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;cAIzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -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 = 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}).passthrough().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}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"list-scrapers.mjs","names":[],"sources":["../../src/actions/list-scrapers.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parsera } from \"../app\";\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}).passthrough().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}).passthrough().describe(\"Response model containing list of templates and scrapers.\");\n\nexport const parseraListScrapers: AppAction<\n typeof ParseraListScrapersInput,\n typeof ParseraListScrapersOutput,\n typeof parsera.credential\n> = 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":";;;;AAMA,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,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAKzE,MAAa,sBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbuC,EAAE,OAAO,EAChD,UAAU,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,+DAA+D,EACnI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAWhB;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 = 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}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"parse-content2.cjs","names":["z","action"],"sources":["../../src/actions/parse-content2.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parsera } from \"../app\";\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}).passthrough().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: AppAction<\n typeof ParseraParseContent2Input,\n typeof ParseraParseContent2Output,\n typeof parsera.credential\n> = 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":";;;;AAMA,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,YAAY,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,CAAC;CAC/E,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,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { parsera } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/parse-content2.d.ts
|
|
@@ -26,31 +28,7 @@ declare const ParseraParseContent2Input: z.ZodObject<{
|
|
|
26
28
|
enable_pagination: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
27
29
|
}, z.core.$strip>;
|
|
28
30
|
declare const ParseraParseContent2Output: z.ZodUnknown;
|
|
29
|
-
declare const parseraParseContent2:
|
|
30
|
-
content: string;
|
|
31
|
-
attributes: Record<string, unknown> | {
|
|
32
|
-
[x: string]: unknown;
|
|
33
|
-
name: string;
|
|
34
|
-
type?: "string" | "number" | "object" | "any" | "integer" | "bool" | "list" | null | undefined;
|
|
35
|
-
description?: string | null | undefined;
|
|
36
|
-
}[];
|
|
37
|
-
mode?: "code" | "standard" | "precision" | undefined;
|
|
38
|
-
prompt?: string | undefined;
|
|
39
|
-
max_pages?: number | undefined;
|
|
40
|
-
enable_pagination?: boolean | undefined;
|
|
41
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"parsera", z.ZodObject<{
|
|
42
|
-
connectionId: z.ZodString;
|
|
43
|
-
entityId: z.ZodString;
|
|
44
|
-
instanceId: z.ZodString;
|
|
45
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
46
|
-
generic_api_key: z.ZodString;
|
|
47
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parsera", z.ZodObject<{
|
|
48
|
-
connectionId: z.ZodString;
|
|
49
|
-
entityId: z.ZodString;
|
|
50
|
-
instanceId: z.ZodString;
|
|
51
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
52
|
-
generic_api_key: z.ZodString;
|
|
53
|
-
}, z.core.$strip>>]>;
|
|
31
|
+
declare const parseraParseContent2: AppAction<typeof ParseraParseContent2Input, typeof ParseraParseContent2Output, typeof parsera.credential>;
|
|
54
32
|
//#endregion
|
|
55
33
|
export { parseraParseContent2 };
|
|
56
34
|
//# sourceMappingURL=parse-content2.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parse-content2.d.cts","names":[],"sources":["../../src/actions/parse-content2.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"parse-content2.d.cts","names":[],"sources":["../../src/actions/parse-content2.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAYzB,0BAAA,EAA0B,CAAA,CAAA,UAAc;AAAA,cAExC,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { parsera } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/parse-content2.d.ts
|
|
@@ -26,31 +28,7 @@ declare const ParseraParseContent2Input: z.ZodObject<{
|
|
|
26
28
|
enable_pagination: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
27
29
|
}, z.core.$strip>;
|
|
28
30
|
declare const ParseraParseContent2Output: z.ZodUnknown;
|
|
29
|
-
declare const parseraParseContent2:
|
|
30
|
-
content: string;
|
|
31
|
-
attributes: Record<string, unknown> | {
|
|
32
|
-
[x: string]: unknown;
|
|
33
|
-
name: string;
|
|
34
|
-
type?: "string" | "number" | "object" | "any" | "integer" | "bool" | "list" | null | undefined;
|
|
35
|
-
description?: string | null | undefined;
|
|
36
|
-
}[];
|
|
37
|
-
mode?: "code" | "standard" | "precision" | undefined;
|
|
38
|
-
prompt?: string | undefined;
|
|
39
|
-
max_pages?: number | undefined;
|
|
40
|
-
enable_pagination?: boolean | undefined;
|
|
41
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"parsera", z.ZodObject<{
|
|
42
|
-
connectionId: z.ZodString;
|
|
43
|
-
entityId: z.ZodString;
|
|
44
|
-
instanceId: z.ZodString;
|
|
45
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
46
|
-
generic_api_key: z.ZodString;
|
|
47
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parsera", z.ZodObject<{
|
|
48
|
-
connectionId: z.ZodString;
|
|
49
|
-
entityId: z.ZodString;
|
|
50
|
-
instanceId: z.ZodString;
|
|
51
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
52
|
-
generic_api_key: z.ZodString;
|
|
53
|
-
}, z.core.$strip>>]>;
|
|
31
|
+
declare const parseraParseContent2: AppAction<typeof ParseraParseContent2Input, typeof ParseraParseContent2Output, typeof parsera.credential>;
|
|
54
32
|
//#endregion
|
|
55
33
|
export { parseraParseContent2 };
|
|
56
34
|
//# sourceMappingURL=parse-content2.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parse-content2.d.mts","names":[],"sources":["../../src/actions/parse-content2.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"parse-content2.d.mts","names":[],"sources":["../../src/actions/parse-content2.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAYzB,0BAAA,EAA0B,CAAA,CAAA,UAAc;AAAA,cAExC,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -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 = 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}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"parse-content2.mjs","names":[],"sources":["../../src/actions/parse-content2.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parsera } from \"../app\";\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}).passthrough().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: AppAction<\n typeof ParseraParseContent2Input,\n typeof ParseraParseContent2Output,\n typeof parsera.credential\n> = 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":";;;AAoBA,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtBuC,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,YAAY,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,CAAC;EAC/E,mBAAmB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CAC7K,CAWS;CACP,QAXwC,EAAE,QAWlC;AACV,CAAC"}
|