@keystrokehq/parsera 0.1.2 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. package/dist/actions/create-scraper.cjs +1 -1
  2. package/dist/actions/create-scraper.cjs.map +1 -1
  3. package/dist/actions/create-scraper.d.cts +1 -1
  4. package/dist/actions/create-scraper.d.mts +1 -1
  5. package/dist/actions/create-scraper.mjs +1 -1
  6. package/dist/actions/create-scraper.mjs.map +1 -1
  7. package/dist/actions/delete-scraper.cjs +1 -1
  8. package/dist/actions/delete-scraper.cjs.map +1 -1
  9. package/dist/actions/delete-scraper.d.cts +1 -1
  10. package/dist/actions/delete-scraper.d.mts +1 -1
  11. package/dist/actions/delete-scraper.mjs +1 -1
  12. package/dist/actions/delete-scraper.mjs.map +1 -1
  13. package/dist/actions/extract-data.cjs +2 -2
  14. package/dist/actions/extract-data.cjs.map +1 -1
  15. package/dist/actions/extract-data.d.cts +4 -4
  16. package/dist/actions/extract-data.d.mts +4 -4
  17. package/dist/actions/extract-data.mjs +2 -2
  18. package/dist/actions/extract-data.mjs.map +1 -1
  19. package/dist/actions/extract-markdown.cjs +1 -1
  20. package/dist/actions/extract-markdown.cjs.map +1 -1
  21. package/dist/actions/extract-markdown.d.cts +1 -1
  22. package/dist/actions/extract-markdown.d.mts +1 -1
  23. package/dist/actions/extract-markdown.mjs +1 -1
  24. package/dist/actions/extract-markdown.mjs.map +1 -1
  25. package/dist/actions/get-llm-specs.cjs +7 -7
  26. package/dist/actions/get-llm-specs.cjs.map +1 -1
  27. package/dist/actions/get-llm-specs.d.cts +10 -10
  28. package/dist/actions/get-llm-specs.d.mts +10 -10
  29. package/dist/actions/get-llm-specs.mjs +7 -7
  30. package/dist/actions/get-llm-specs.mjs.map +1 -1
  31. package/dist/actions/get-proxy-countries.cjs +2 -2
  32. package/dist/actions/get-proxy-countries.cjs.map +1 -1
  33. package/dist/actions/get-proxy-countries.d.cts +2 -2
  34. package/dist/actions/get-proxy-countries.d.mts +2 -2
  35. package/dist/actions/get-proxy-countries.mjs +2 -2
  36. package/dist/actions/get-proxy-countries.mjs.map +1 -1
  37. package/dist/actions/health-check.cjs +1 -1
  38. package/dist/actions/health-check.cjs.map +1 -1
  39. package/dist/actions/health-check.d.cts +1 -1
  40. package/dist/actions/health-check.d.mts +1 -1
  41. package/dist/actions/health-check.mjs +1 -1
  42. package/dist/actions/health-check.mjs.map +1 -1
  43. package/dist/actions/list-agents.cjs +2 -2
  44. package/dist/actions/list-agents.cjs.map +1 -1
  45. package/dist/actions/list-agents.d.cts +2 -2
  46. package/dist/actions/list-agents.d.mts +2 -2
  47. package/dist/actions/list-agents.mjs +2 -2
  48. package/dist/actions/list-agents.mjs.map +1 -1
  49. package/dist/actions/list-scrapers.cjs +2 -2
  50. package/dist/actions/list-scrapers.cjs.map +1 -1
  51. package/dist/actions/list-scrapers.d.cts +2 -2
  52. package/dist/actions/list-scrapers.d.mts +2 -2
  53. package/dist/actions/list-scrapers.mjs +2 -2
  54. package/dist/actions/list-scrapers.mjs.map +1 -1
  55. package/dist/actions/parse-content2.cjs +1 -1
  56. package/dist/actions/parse-content2.cjs.map +1 -1
  57. package/dist/actions/parse-content2.d.cts +4 -3
  58. package/dist/actions/parse-content2.d.cts.map +1 -1
  59. package/dist/actions/parse-content2.d.mts +4 -3
  60. package/dist/actions/parse-content2.d.mts.map +1 -1
  61. package/dist/actions/parse-content2.mjs +1 -1
  62. package/dist/actions/parse-content2.mjs.map +1 -1
  63. package/dist/actions/remove-agent.cjs +1 -1
  64. package/dist/actions/remove-agent.cjs.map +1 -1
  65. package/dist/actions/remove-agent.d.cts +1 -1
  66. package/dist/actions/remove-agent.d.mts +1 -1
  67. package/dist/actions/remove-agent.mjs +1 -1
  68. package/dist/actions/remove-agent.mjs.map +1 -1
  69. package/dist/actions/run-scraper-template.cjs +1 -1
  70. package/dist/actions/run-scraper-template.cjs.map +1 -1
  71. package/dist/actions/run-scraper-template.d.cts +2 -1
  72. package/dist/actions/run-scraper-template.d.mts +2 -1
  73. package/dist/actions/run-scraper-template.mjs +1 -1
  74. package/dist/actions/run-scraper-template.mjs.map +1 -1
  75. package/dist/catalog.cjs +1 -1
  76. package/dist/catalog.cjs.map +1 -1
  77. package/dist/catalog.d.cts +1 -1
  78. package/dist/catalog.d.mts +1 -1
  79. package/dist/catalog.mjs +1 -1
  80. package/dist/catalog.mjs.map +1 -1
  81. package/package.json +1 -1
@@ -6,8 +6,8 @@ declare const ParseraGetProxyCountriesOutput: z.ZodObject<{
6
6
  countries: z.ZodArray<z.ZodObject<{
7
7
  code: z.ZodNullable<z.ZodString>;
8
8
  name: z.ZodNullable<z.ZodString>;
9
- }, z.core.$strip>>;
10
- }, z.core.$strip>;
9
+ }, z.core.$loose>>;
10
+ }, z.core.$loose>;
11
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]>;
12
12
  //#endregion
13
13
  export { parseraGetProxyCountries };
@@ -6,8 +6,8 @@ declare const ParseraGetProxyCountriesOutput: z.ZodObject<{
6
6
  countries: z.ZodArray<z.ZodObject<{
7
7
  code: z.ZodNullable<z.ZodString>;
8
8
  name: z.ZodNullable<z.ZodString>;
9
- }, z.core.$strip>>;
10
- }, z.core.$strip>;
9
+ }, z.core.$loose>>;
10
+ }, z.core.$loose>;
11
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]>;
12
12
  //#endregion
13
13
  export { parseraGetProxyCountries };
@@ -5,13 +5,13 @@ const ParseraGetProxyCountriesInput = z.object({}).describe("Request model for G
5
5
  const ParseraGetProxyCountries_ProxyCountrySchema = z.object({
6
6
  code: z.string().describe("API parameter code for the country (e.g., 'UnitedStates', 'UnitedKingdom').").nullable(),
7
7
  name: z.string().describe("Human-readable country name (e.g., 'United States', 'United Kingdom').").nullable()
8
- }).describe("Represents a single proxy country option.");
8
+ }).passthrough().describe("Represents a single proxy country option.");
9
9
  const parseraGetProxyCountries = action("PARSERA_GET_PROXY_COUNTRIES", {
10
10
  slug: "parsera-get-proxy-countries",
11
11
  name: "Get Proxy Countries",
12
12
  description: "Tool to retrieve the list of available proxy countries for web scraping requests. Use when you need to know which countries are supported for proxy-based scraping.",
13
13
  input: ParseraGetProxyCountriesInput,
14
- output: z.object({ countries: z.array(ParseraGetProxyCountries_ProxyCountrySchema).describe("Array of available proxy countries for web scraping requests.") }).describe("Response model containing list of available proxy countries.")
14
+ output: z.object({ countries: z.array(ParseraGetProxyCountries_ProxyCountrySchema).describe("Array of available proxy countries for web scraping requests.") }).passthrough().describe("Response model containing list of available proxy countries.")
15
15
  });
16
16
  //#endregion
17
17
  export { parseraGetProxyCountries };
@@ -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}).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
+ {"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":";;;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,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAKrE,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,YAAY,CAAC,CAAC,SAAS,8DAOhB;AACV,CAAC"}
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/health-check.ts
4
4
  const ParseraHealthCheckInput = zod.z.object({}).describe("Request model for health check - no parameters needed.");
5
- const ParseraHealthCheckOutput = zod.z.object({ status: zod.z.string().default("healthy").describe("Health status of the API service.").nullable().optional() }).describe("Response model for health check endpoint.");
5
+ const ParseraHealthCheckOutput = zod.z.object({ status: zod.z.string().default("healthy").describe("Health status of the API service.").nullable().optional() }).passthrough().describe("Response model for health check endpoint.");
6
6
  const parseraHealthCheck = require_action.action("PARSERA_HEALTH_CHECK", {
7
7
  slug: "parsera-health-check",
8
8
  name: "Health Check",
@@ -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}).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
+ {"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":";;;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,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -4,7 +4,7 @@ import { z } from "zod";
4
4
  declare const ParseraHealthCheckInput: z.ZodObject<{}, z.core.$strip>;
5
5
  declare const ParseraHealthCheckOutput: z.ZodObject<{
6
6
  status: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
7
- }, z.core.$strip>;
7
+ }, z.core.$loose>;
8
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]>;
9
9
  //#endregion
10
10
  export { parseraHealthCheck };
@@ -4,7 +4,7 @@ import { z } from "zod";
4
4
  declare const ParseraHealthCheckInput: z.ZodObject<{}, z.core.$strip>;
5
5
  declare const ParseraHealthCheckOutput: z.ZodObject<{
6
6
  status: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
7
- }, z.core.$strip>;
7
+ }, z.core.$loose>;
8
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]>;
9
9
  //#endregion
10
10
  export { parseraHealthCheck };
@@ -5,7 +5,7 @@ const parseraHealthCheck = action("PARSERA_HEALTH_CHECK", {
5
5
  name: "Health Check",
6
6
  description: "Tool to verify API availability and operational status. Use to check if the Parsera service is accessible before making other API calls.",
7
7
  input: z.object({}).describe("Request model for health check - no parameters needed."),
8
- output: z.object({ status: z.string().default("healthy").describe("Health status of the API service.").nullable().optional() }).describe("Response model for health check endpoint.")
8
+ output: z.object({ status: z.string().default("healthy").describe("Health status of the API service.").nullable().optional() }).passthrough().describe("Response model for health check endpoint.")
9
9
  });
10
10
  //#endregion
11
11
  export { parseraHealthCheck };
@@ -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}).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"}
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":";;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,YAAY,CAAC,CAAC,SAAS,2CAOhB;AACV,CAAC"}
@@ -5,8 +5,8 @@ const ParseraListAgentsInput = zod.z.object({}).describe("Request model for GET
5
5
  const ParseraListAgents_AgentItemSchema = zod.z.object({
6
6
  id: zod.z.string().describe("Unique identifier for the agent.").nullable(),
7
7
  name: zod.z.string().describe("Display name of the agent.").nullable()
8
- }).describe("Represents a single agent item.");
9
- const ParseraListAgentsOutput = zod.z.object({ agents: zod.z.array(ParseraListAgents_AgentItemSchema).describe("Array of agents available for the authenticated user.") }).describe("Response model containing list of available agents.");
8
+ }).passthrough().describe("Represents a single agent item.");
9
+ const ParseraListAgentsOutput = zod.z.object({ agents: zod.z.array(ParseraListAgents_AgentItemSchema).describe("Array of agents available for the authenticated user.") }).passthrough().describe("Response model containing list of available agents.");
10
10
  const parseraListAgents = require_action.action("PARSERA_LIST_AGENTS", {
11
11
  slug: "parsera-list-agents",
12
12
  name: "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 = 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
+ {"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":";;;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,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,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -6,8 +6,8 @@ declare const ParseraListAgentsOutput: z.ZodObject<{
6
6
  agents: z.ZodArray<z.ZodObject<{
7
7
  id: z.ZodNullable<z.ZodString>;
8
8
  name: z.ZodNullable<z.ZodString>;
9
- }, z.core.$strip>>;
10
- }, z.core.$strip>;
9
+ }, z.core.$loose>>;
10
+ }, z.core.$loose>;
11
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]>;
12
12
  //#endregion
13
13
  export { parseraListAgents };
@@ -6,8 +6,8 @@ declare const ParseraListAgentsOutput: z.ZodObject<{
6
6
  agents: z.ZodArray<z.ZodObject<{
7
7
  id: z.ZodNullable<z.ZodString>;
8
8
  name: z.ZodNullable<z.ZodString>;
9
- }, z.core.$strip>>;
10
- }, z.core.$strip>;
9
+ }, z.core.$loose>>;
10
+ }, z.core.$loose>;
11
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]>;
12
12
  //#endregion
13
13
  export { parseraListAgents };
@@ -5,13 +5,13 @@ const ParseraListAgentsInput = z.object({}).describe("Request model for GET /v1/
5
5
  const ParseraListAgents_AgentItemSchema = z.object({
6
6
  id: z.string().describe("Unique identifier for the agent.").nullable(),
7
7
  name: z.string().describe("Display name of the agent.").nullable()
8
- }).describe("Represents a single agent item.");
8
+ }).passthrough().describe("Represents a single agent item.");
9
9
  const parseraListAgents = action("PARSERA_LIST_AGENTS", {
10
10
  slug: "parsera-list-agents",
11
11
  name: "List Agents",
12
12
  description: "Tool to retrieve all available agents for the authenticated user. Use when you need to list agents that can be used for scraping tasks.",
13
13
  input: ParseraListAgentsInput,
14
- output: z.object({ agents: z.array(ParseraListAgents_AgentItemSchema).describe("Array of agents available for the authenticated user.") }).describe("Response model containing list of available agents.")
14
+ output: z.object({ agents: z.array(ParseraListAgents_AgentItemSchema).describe("Array of agents available for the authenticated user.") }).passthrough().describe("Response model containing list of available agents.")
15
15
  });
16
16
  //#endregion
17
17
  export { parseraListAgents };
@@ -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}).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"}
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":";;;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,YAAY,CAAC,CAAC,SAAS,iCAAiC;AAK3D,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,YAAY,CAAC,CAAC,SAAS,qDAOhB;AACV,CAAC"}
@@ -5,8 +5,8 @@ const ParseraListScrapersInput = zod.z.object({}).describe("Request model for GE
5
5
  const ParseraListScrapers_ScraperItemSchema = zod.z.object({
6
6
  id: zod.z.string().describe("Unique identifier. Old scrapers have IDs prefixed with 'scraper:' to distinguish them from templates.").nullable(),
7
7
  name: zod.z.string().describe("Display name of the template or scraper.").nullable()
8
- }).describe("Represents a single template or scraper item.");
9
- const ParseraListScrapersOutput = zod.z.object({ scrapers: zod.z.array(ParseraListScrapers_ScraperItemSchema).describe("Array of templates and old scrapers with their names and IDs.") }).describe("Response model containing list of templates and scrapers.");
8
+ }).passthrough().describe("Represents a single template or scraper item.");
9
+ const ParseraListScrapersOutput = zod.z.object({ scrapers: zod.z.array(ParseraListScrapers_ScraperItemSchema).describe("Array of templates and old scrapers with their names and IDs.") }).passthrough().describe("Response model containing list of templates and scrapers.");
10
10
  const parseraListScrapers = require_action.action("PARSERA_LIST_SCRAPERS", {
11
11
  slug: "parsera-list-scrapers",
12
12
  name: "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 = 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
+ {"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":";;;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,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,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -6,8 +6,8 @@ declare const ParseraListScrapersOutput: z.ZodObject<{
6
6
  scrapers: z.ZodArray<z.ZodObject<{
7
7
  id: z.ZodNullable<z.ZodString>;
8
8
  name: z.ZodNullable<z.ZodString>;
9
- }, z.core.$strip>>;
10
- }, z.core.$strip>;
9
+ }, z.core.$loose>>;
10
+ }, z.core.$loose>;
11
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]>;
12
12
  //#endregion
13
13
  export { parseraListScrapers };
@@ -6,8 +6,8 @@ declare const ParseraListScrapersOutput: z.ZodObject<{
6
6
  scrapers: z.ZodArray<z.ZodObject<{
7
7
  id: z.ZodNullable<z.ZodString>;
8
8
  name: z.ZodNullable<z.ZodString>;
9
- }, z.core.$strip>>;
10
- }, z.core.$strip>;
9
+ }, z.core.$loose>>;
10
+ }, z.core.$loose>;
11
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]>;
12
12
  //#endregion
13
13
  export { parseraListScrapers };
@@ -5,13 +5,13 @@ const ParseraListScrapersInput = z.object({}).describe("Request model for GET /v
5
5
  const ParseraListScrapers_ScraperItemSchema = z.object({
6
6
  id: z.string().describe("Unique identifier. Old scrapers have IDs prefixed with 'scraper:' to distinguish them from templates.").nullable(),
7
7
  name: z.string().describe("Display name of the template or scraper.").nullable()
8
- }).describe("Represents a single template or scraper item.");
8
+ }).passthrough().describe("Represents a single template or scraper item.");
9
9
  const parseraListScrapers = action("PARSERA_LIST_SCRAPERS", {
10
10
  slug: "parsera-list-scrapers",
11
11
  name: "List Scrapers",
12
12
  description: "Tool to list all templates and old scrapers for the authenticated user. Use when you need to retrieve available scraper configurations.",
13
13
  input: ParseraListScrapersInput,
14
- output: z.object({ scrapers: z.array(ParseraListScrapers_ScraperItemSchema).describe("Array of templates and old scrapers with their names and IDs.") }).describe("Response model containing list of templates and scrapers.")
14
+ output: z.object({ scrapers: z.array(ParseraListScrapers_ScraperItemSchema).describe("Array of templates and old scrapers with their names and IDs.") }).passthrough().describe("Response model containing list of templates and scrapers.")
15
15
  });
16
16
  //#endregion
17
17
  export { parseraListScrapers };
@@ -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}).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
+ {"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":";;;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,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAKzE,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,YAAY,CAAC,CAAC,SAAS,2DAOhB;AACV,CAAC"}
@@ -22,7 +22,7 @@ const ParseraParseContent2Input = zod.z.object({
22
22
  "any"
23
23
  ]).nullable().optional(),
24
24
  description: zod.z.string().nullable().optional()
25
- }).describe("Attribute object with name and description fields."))]),
25
+ }).passthrough().describe("Attribute object with name and description fields."))]),
26
26
  enable_pagination: zod.z.boolean().default(false).describe("Enable multi-page parsing. When enabled, the parser will attempt to extract data across multiple pages.").optional()
27
27
  });
28
28
  const ParseraParseContent2Output = zod.z.unknown();
@@ -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}).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
+ {"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":";;;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,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,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -3,9 +3,9 @@ import { z } from "zod";
3
3
  //#region src/actions/parse-content2.d.ts
4
4
  declare const ParseraParseContent2Input: z.ZodObject<{
5
5
  mode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
6
- code: "code";
7
6
  standard: "standard";
8
7
  precision: "precision";
8
+ code: "code";
9
9
  }>>>;
10
10
  prompt: z.ZodOptional<z.ZodDefault<z.ZodString>>;
11
11
  content: z.ZodString;
@@ -22,18 +22,19 @@ declare const ParseraParseContent2Input: z.ZodObject<{
22
22
  list: "list";
23
23
  }>>>;
24
24
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
- }, z.core.$strip>>]>;
25
+ }, z.core.$loose>>]>;
26
26
  enable_pagination: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
27
27
  }, z.core.$strip>;
28
28
  declare const ParseraParseContent2Output: z.ZodUnknown;
29
29
  declare const parseraParseContent2: import("@keystrokehq/action").WorkflowActionDefinition<{
30
30
  content: string;
31
31
  attributes: Record<string, unknown> | {
32
+ [x: string]: unknown;
32
33
  name: string;
33
34
  type?: "string" | "number" | "object" | "any" | "integer" | "bool" | "list" | null | undefined;
34
35
  description?: string | null | undefined;
35
36
  }[];
36
- mode?: "code" | "standard" | "precision" | undefined;
37
+ mode?: "standard" | "precision" | "code" | undefined;
37
38
  prompt?: string | undefined;
38
39
  max_pages?: number | undefined;
39
40
  enable_pagination?: boolean | undefined;
@@ -1 +1 @@
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
+ {"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;IAAA"}
@@ -3,9 +3,9 @@ import { z } from "zod";
3
3
  //#region src/actions/parse-content2.d.ts
4
4
  declare const ParseraParseContent2Input: z.ZodObject<{
5
5
  mode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
6
- code: "code";
7
6
  standard: "standard";
8
7
  precision: "precision";
8
+ code: "code";
9
9
  }>>>;
10
10
  prompt: z.ZodOptional<z.ZodDefault<z.ZodString>>;
11
11
  content: z.ZodString;
@@ -22,18 +22,19 @@ declare const ParseraParseContent2Input: z.ZodObject<{
22
22
  list: "list";
23
23
  }>>>;
24
24
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
- }, z.core.$strip>>]>;
25
+ }, z.core.$loose>>]>;
26
26
  enable_pagination: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
27
27
  }, z.core.$strip>;
28
28
  declare const ParseraParseContent2Output: z.ZodUnknown;
29
29
  declare const parseraParseContent2: import("@keystrokehq/action").WorkflowActionDefinition<{
30
30
  content: string;
31
31
  attributes: Record<string, unknown> | {
32
+ [x: string]: unknown;
32
33
  name: string;
33
34
  type?: "string" | "number" | "object" | "any" | "integer" | "bool" | "list" | null | undefined;
34
35
  description?: string | null | undefined;
35
36
  }[];
36
- mode?: "code" | "standard" | "precision" | undefined;
37
+ mode?: "standard" | "precision" | "code" | undefined;
37
38
  prompt?: string | undefined;
38
39
  max_pages?: number | undefined;
39
40
  enable_pagination?: boolean | undefined;
@@ -1 +1 @@
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
+ {"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;IAAA"}
@@ -25,7 +25,7 @@ const parseraParseContent2 = action("PARSERA_PARSE_CONTENT2", {
25
25
  "any"
26
26
  ]).nullable().optional(),
27
27
  description: z.string().nullable().optional()
28
- }).describe("Attribute object with name and description fields."))]),
28
+ }).passthrough().describe("Attribute object with name and description fields."))]),
29
29
  enable_pagination: z.boolean().default(false).describe("Enable multi-page parsing. When enabled, the parser will attempt to extract data across multiple pages.").optional()
30
30
  }),
31
31
  output: z.unknown()
@@ -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}).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
+ {"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":";;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,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,CAOS;CACP,QAPwC,EAAE,QAOlC;AACV,CAAC"}
@@ -5,7 +5,7 @@ const ParseraRemoveAgentInput = zod.z.object({ name: zod.z.string().describe("Na
5
5
  const ParseraRemoveAgentOutput = zod.z.object({
6
6
  message: zod.z.string().describe("Status message or additional information about the removal operation.").nullable().optional(),
7
7
  success: zod.z.boolean().describe("Indicates whether the agent was successfully removed.").nullable().optional()
8
- }).describe("Response model for agent removal operation.");
8
+ }).passthrough().describe("Response model for agent removal operation.");
9
9
  const parseraRemoveAgent = require_action.action("PARSERA_REMOVE_AGENT", {
10
10
  slug: "parsera-remove-agent",
11
11
  name: "Remove Agent",
@@ -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 = 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"}
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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -7,7 +7,7 @@ declare const ParseraRemoveAgentInput: z.ZodObject<{
7
7
  declare const ParseraRemoveAgentOutput: z.ZodObject<{
8
8
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
9
  success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
10
- }, z.core.$strip>;
10
+ }, z.core.$loose>;
11
11
  declare const parseraRemoveAgent: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  name: string;
13
13
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -7,7 +7,7 @@ declare const ParseraRemoveAgentInput: z.ZodObject<{
7
7
  declare const ParseraRemoveAgentOutput: z.ZodObject<{
8
8
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
9
  success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
10
- }, z.core.$strip>;
10
+ }, z.core.$loose>;
11
11
  declare const parseraRemoveAgent: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  name: string;
13
13
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -8,7 +8,7 @@ const parseraRemoveAgent = action("PARSERA_REMOVE_AGENT", {
8
8
  output: z.object({
9
9
  message: z.string().describe("Status message or additional information about the removal operation.").nullable().optional(),
10
10
  success: z.boolean().describe("Indicates whether the agent was successfully removed.").nullable().optional()
11
- }).describe("Response model for agent removal operation.")
11
+ }).passthrough().describe("Response model for agent removal operation.")
12
12
  });
13
13
  //#endregion
14
14
  export { parseraRemoveAgent };
@@ -1 +1 @@
1
- {"version":3,"file":"remove-agent.mjs","names":[],"sources":["../../src/actions/remove-agent.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseraRemoveAgentInput = z.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":";;AAYA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZqC,EAAE,OAAO,EAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,EAC1H,CAAC,CAAC,CAAC,SAAS,6CAUH;CACP,QAVsC,EAAE,OAAO;EAC/C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,CAAC,CAAC,CAAC,SAAS,6CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"remove-agent.mjs","names":[],"sources":["../../src/actions/remove-agent.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseraRemoveAgentInput = z.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}).passthrough().describe(\"Response model for agent removal operation.\");\n\nexport const parseraRemoveAgent = action(\"PARSERA_REMOVE_AGENT\", {\n slug: \"parsera-remove-agent\",\n name: \"Remove Agent\",\n description: \"Tool to delete an existing agent by name. Use when you need to remove a previously created agent from the Parsera platform.\",\n input: ParseraRemoveAgentInput,\n output: ParseraRemoveAgentOutput,\n});\n"],"mappings":";;AAYA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZqC,EAAE,OAAO,EAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,EAC1H,CAAC,CAAC,CAAC,SAAS,6CAUH;CACP,QAVsC,EAAE,OAAO;EAC/C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAOhB;AACV,CAAC"}
@@ -7,7 +7,7 @@ const ParseraRunScraperTemplateInput = zod.z.object({
7
7
  name: zod.z.string().describe("Cookie name."),
8
8
  value: zod.z.string().describe("Cookie value."),
9
9
  domain: zod.z.string().describe("Domain for which the cookie is valid.")
10
- }).describe("Represents a browser cookie to include with the request.")).describe("Browser cookies to include with the request. Useful for authenticated sessions or maintaining state.").optional(),
10
+ }).passthrough().describe("Represents a browser cookie to include with the request.")).describe("Browser cookies to include with the request. Useful for authenticated sessions or maintaining state.").optional(),
11
11
  template_id: zod.z.string().describe("Identifier for the template or scraper to execute. Template IDs prefixed with 'scraper:' route to the legacy scrapers API, while others execute as template extractions."),
12
12
  proxy_country: zod.z.string().describe("Country code for proxy routing during requests. Use to route requests through a proxy server in a specific country. See GET /v1/proxy-countries for available country codes.").optional()
13
13
  });
@@ -1 +1 @@
1
- {"version":3,"file":"run-scraper-template.cjs","names":["z","action"],"sources":["../../src/actions/run-scraper-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseraRunScraperTemplateInput = z.object({\n url: z.union([z.string(), z.array(z.string())]).optional(),\n cookies: z.array(z.object({\n name: z.string().describe(\"Cookie name.\"),\n value: z.string().describe(\"Cookie value.\"),\n domain: z.string().describe(\"Domain for which the cookie is valid.\"),\n}).describe(\"Represents a browser cookie to include with the request.\")).describe(\"Browser cookies to include with the request. Useful for authenticated sessions or maintaining state.\").optional(),\n template_id: z.string().describe(\"Identifier for the template or scraper to execute. Template IDs prefixed with 'scraper:' route to the legacy scrapers API, while others execute as template extractions.\"),\n proxy_country: z.string().describe(\"Country code for proxy routing during requests. Use to route requests through a proxy server in a specific country. See GET /v1/proxy-countries for available country codes.\").optional(),\n});\nexport const ParseraRunScraperTemplateOutput = z.unknown();\n\nexport const parseraRunScraperTemplate = action(\"PARSERA_RUN_SCRAPER_TEMPLATE\", {\n slug: \"parsera-run-scraper-template\",\n name: \"Run Scraper Template\",\n description: \"Tool to run a scraper template on a specified URL with optional proxy and cookies. Use when you need to execute a pre-defined scraper template to extract structured data from web pages.\",\n input: ParseraRunScraperTemplateInput,\n output: ParseraRunScraperTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,KAAKA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;CACzD,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC1B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc;EACxC,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe;EAC1C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACrE,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CACjM,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0KAA0K;CAC3M,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8KAA8K,CAAC,CAAC,SAAS;AAC9N,CAAC;AACD,MAAa,kCAAkCA,IAAAA,EAAE,QAAQ;AAEzD,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"run-scraper-template.cjs","names":["z","action"],"sources":["../../src/actions/run-scraper-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseraRunScraperTemplateInput = z.object({\n url: z.union([z.string(), z.array(z.string())]).optional(),\n cookies: z.array(z.object({\n name: z.string().describe(\"Cookie name.\"),\n value: z.string().describe(\"Cookie value.\"),\n domain: z.string().describe(\"Domain for which the cookie is valid.\"),\n}).passthrough().describe(\"Represents a browser cookie to include with the request.\")).describe(\"Browser cookies to include with the request. Useful for authenticated sessions or maintaining state.\").optional(),\n template_id: z.string().describe(\"Identifier for the template or scraper to execute. Template IDs prefixed with 'scraper:' route to the legacy scrapers API, while others execute as template extractions.\"),\n proxy_country: z.string().describe(\"Country code for proxy routing during requests. Use to route requests through a proxy server in a specific country. See GET /v1/proxy-countries for available country codes.\").optional(),\n});\nexport const ParseraRunScraperTemplateOutput = z.unknown();\n\nexport const parseraRunScraperTemplate = action(\"PARSERA_RUN_SCRAPER_TEMPLATE\", {\n slug: \"parsera-run-scraper-template\",\n name: \"Run Scraper Template\",\n description: \"Tool to run a scraper template on a specified URL with optional proxy and cookies. Use when you need to execute a pre-defined scraper template to extract structured data from web pages.\",\n input: ParseraRunScraperTemplateInput,\n output: ParseraRunScraperTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,KAAKA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;CACzD,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC1B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc;EACxC,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe;EAC1C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACrE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CAC/M,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0KAA0K;CAC3M,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8KAA8K,CAAC,CAAC,SAAS;AAC9N,CAAC;AACD,MAAa,kCAAkCA,IAAAA,EAAE,QAAQ;AAEzD,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -7,7 +7,7 @@ declare const ParseraRunScraperTemplateInput: z.ZodObject<{
7
7
  name: z.ZodString;
8
8
  value: z.ZodString;
9
9
  domain: z.ZodString;
10
- }, z.core.$strip>>>;
10
+ }, z.core.$loose>>>;
11
11
  template_id: z.ZodString;
12
12
  proxy_country: z.ZodOptional<z.ZodString>;
13
13
  }, z.core.$strip>;
@@ -16,6 +16,7 @@ declare const parseraRunScraperTemplate: import("@keystrokehq/action").WorkflowA
16
16
  template_id: string;
17
17
  url?: string | string[] | undefined;
18
18
  cookies?: {
19
+ [x: string]: unknown;
19
20
  name: string;
20
21
  value: string;
21
22
  domain: string;
@@ -7,7 +7,7 @@ declare const ParseraRunScraperTemplateInput: z.ZodObject<{
7
7
  name: z.ZodString;
8
8
  value: z.ZodString;
9
9
  domain: z.ZodString;
10
- }, z.core.$strip>>>;
10
+ }, z.core.$loose>>>;
11
11
  template_id: z.ZodString;
12
12
  proxy_country: z.ZodOptional<z.ZodString>;
13
13
  }, z.core.$strip>;
@@ -16,6 +16,7 @@ declare const parseraRunScraperTemplate: import("@keystrokehq/action").WorkflowA
16
16
  template_id: string;
17
17
  url?: string | string[] | undefined;
18
18
  cookies?: {
19
+ [x: string]: unknown;
19
20
  name: string;
20
21
  value: string;
21
22
  domain: string;
@@ -10,7 +10,7 @@ const parseraRunScraperTemplate = action("PARSERA_RUN_SCRAPER_TEMPLATE", {
10
10
  name: z.string().describe("Cookie name."),
11
11
  value: z.string().describe("Cookie value."),
12
12
  domain: z.string().describe("Domain for which the cookie is valid.")
13
- }).describe("Represents a browser cookie to include with the request.")).describe("Browser cookies to include with the request. Useful for authenticated sessions or maintaining state.").optional(),
13
+ }).passthrough().describe("Represents a browser cookie to include with the request.")).describe("Browser cookies to include with the request. Useful for authenticated sessions or maintaining state.").optional(),
14
14
  template_id: z.string().describe("Identifier for the template or scraper to execute. Template IDs prefixed with 'scraper:' route to the legacy scrapers API, while others execute as template extractions."),
15
15
  proxy_country: z.string().describe("Country code for proxy routing during requests. Use to route requests through a proxy server in a specific country. See GET /v1/proxy-countries for available country codes.").optional()
16
16
  }),
@@ -1 +1 @@
1
- {"version":3,"file":"run-scraper-template.mjs","names":[],"sources":["../../src/actions/run-scraper-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseraRunScraperTemplateInput = z.object({\n url: z.union([z.string(), z.array(z.string())]).optional(),\n cookies: z.array(z.object({\n name: z.string().describe(\"Cookie name.\"),\n value: z.string().describe(\"Cookie value.\"),\n domain: z.string().describe(\"Domain for which the cookie is valid.\"),\n}).describe(\"Represents a browser cookie to include with the request.\")).describe(\"Browser cookies to include with the request. Useful for authenticated sessions or maintaining state.\").optional(),\n template_id: z.string().describe(\"Identifier for the template or scraper to execute. Template IDs prefixed with 'scraper:' route to the legacy scrapers API, while others execute as template extractions.\"),\n proxy_country: z.string().describe(\"Country code for proxy routing during requests. Use to route requests through a proxy server in a specific country. See GET /v1/proxy-countries for available country codes.\").optional(),\n});\nexport const ParseraRunScraperTemplateOutput = z.unknown();\n\nexport const parseraRunScraperTemplate = action(\"PARSERA_RUN_SCRAPER_TEMPLATE\", {\n slug: \"parsera-run-scraper-template\",\n name: \"Run Scraper Template\",\n description: \"Tool to run a scraper template on a specified URL with optional proxy and cookies. Use when you need to execute a pre-defined scraper template to extract structured data from web pages.\",\n input: ParseraRunScraperTemplateInput,\n output: ParseraRunScraperTemplateOutput,\n});\n"],"mappings":";;AAgBA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB4C,EAAE,OAAO;EACrD,KAAK,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;EACzD,SAAS,EAAE,MAAM,EAAE,OAAO;GAC1B,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc;GACxC,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe;GAC1C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EACrE,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;EACjM,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0KAA0K;EAC3M,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,8KAA8K,CAAC,CAAC,SAAS;CAC9N,CAOS;CACP,QAP6C,EAAE,QAOvC;AACV,CAAC"}
1
+ {"version":3,"file":"run-scraper-template.mjs","names":[],"sources":["../../src/actions/run-scraper-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseraRunScraperTemplateInput = z.object({\n url: z.union([z.string(), z.array(z.string())]).optional(),\n cookies: z.array(z.object({\n name: z.string().describe(\"Cookie name.\"),\n value: z.string().describe(\"Cookie value.\"),\n domain: z.string().describe(\"Domain for which the cookie is valid.\"),\n}).passthrough().describe(\"Represents a browser cookie to include with the request.\")).describe(\"Browser cookies to include with the request. Useful for authenticated sessions or maintaining state.\").optional(),\n template_id: z.string().describe(\"Identifier for the template or scraper to execute. Template IDs prefixed with 'scraper:' route to the legacy scrapers API, while others execute as template extractions.\"),\n proxy_country: z.string().describe(\"Country code for proxy routing during requests. Use to route requests through a proxy server in a specific country. See GET /v1/proxy-countries for available country codes.\").optional(),\n});\nexport const ParseraRunScraperTemplateOutput = z.unknown();\n\nexport const parseraRunScraperTemplate = action(\"PARSERA_RUN_SCRAPER_TEMPLATE\", {\n slug: \"parsera-run-scraper-template\",\n name: \"Run Scraper Template\",\n description: \"Tool to run a scraper template on a specified URL with optional proxy and cookies. Use when you need to execute a pre-defined scraper template to extract structured data from web pages.\",\n input: ParseraRunScraperTemplateInput,\n output: ParseraRunScraperTemplateOutput,\n});\n"],"mappings":";;AAgBA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB4C,EAAE,OAAO;EACrD,KAAK,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;EACzD,SAAS,EAAE,MAAM,EAAE,OAAO;GAC1B,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc;GACxC,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe;GAC1C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EACrE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;EAC/M,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0KAA0K;EAC3M,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,8KAA8K,CAAC,CAAC,SAAS;CAC9N,CAOS;CACP,QAP6C,EAAE,QAOvC;AACV,CAAC"}
package/dist/catalog.cjs CHANGED
@@ -8,7 +8,7 @@ const parseraCatalog = {
8
8
  "logo": "https://logos.composio.dev/api/parsera",
9
9
  "authKind": "keystroke",
10
10
  "oauthScopes": [],
11
- "credentialFields": { "api_key": {
11
+ "credentialFields": { "generic_api_key": {
12
12
  "label": "Parsera API Key",
13
13
  "secret": true,
14
14
  "description": "Your Parsera API key, obtainable from the 'API' tab on the Parsera web page."
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const parseraCatalog = {\n \"slug\": \"parsera\",\n \"name\": \"Parsera\",\n \"description\": \"Parsera is a lightweight Python library for scraping websites using large language models (LLMs).\",\n \"category\": \"AI Web Scraping\",\n \"logo\": \"https://logos.composio.dev/api/parsera\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"Parsera API Key\",\n \"secret\": true,\n \"description\": \"Your Parsera API key, obtainable from the 'API' tab on the Parsera web page.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
1
+ {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const parseraCatalog = {\n \"slug\": \"parsera\",\n \"name\": \"Parsera\",\n \"description\": \"Parsera is a lightweight Python library for scraping websites using large language models (LLMs).\",\n \"category\": \"AI Web Scraping\",\n \"logo\": \"https://logos.composio.dev/api/parsera\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"Parsera API Key\",\n \"secret\": true,\n \"description\": \"Your Parsera API key, obtainable from the 'API' tab on the Parsera web page.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,mBAAmB;EACjB,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}