@keystrokehq/parsera 0.1.2 → 0.1.3

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 (75) 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 +2 -1
  58. package/dist/actions/parse-content2.d.cts.map +1 -1
  59. package/dist/actions/parse-content2.d.mts +2 -1
  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/package.json +1 -1
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/create-scraper.ts
4
4
  const ParseraCreateScraperInput = zod.z.object({}).describe("Request model for POST /v1/scrapers/new endpoint.\n\nThis endpoint requires no parameters - it creates an empty scraper.");
5
- const ParseraCreateScraperOutput = zod.z.object({ scraper_id: zod.z.string().describe("Unique identifier for the newly created scraper. Use this ID with the generate endpoint to generate scraping code.").nullable() }).describe("Response model for scraper creation operation.");
5
+ const ParseraCreateScraperOutput = zod.z.object({ scraper_id: zod.z.string().describe("Unique identifier for the newly created scraper. Use this ID with the generate endpoint to generate scraping code.").nullable() }).passthrough().describe("Response model for scraper creation operation.");
6
6
  const parseraCreateScraper = require_action.action("PARSERA_CREATE_SCRAPER", {
7
7
  slug: "parsera-create-scraper",
8
8
  name: "Create Scraper",
@@ -1 +1 @@
1
- {"version":3,"file":"create-scraper.cjs","names":["z","action"],"sources":["../../src/actions/create-scraper.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseraCreateScraperInput = z.object({}).describe(\"Request model for POST /v1/scrapers/new endpoint.\\n\\nThis endpoint requires no parameters - it creates an empty scraper.\");\nexport const ParseraCreateScraperOutput = z.object({\n scraper_id: z.string().describe(\"Unique identifier for the newly created scraper. Use this ID with the generate endpoint to generate scraping code.\").nullable(),\n}).describe(\"Response model for scraper creation operation.\");\n\nexport const parseraCreateScraper = action(\"PARSERA_CREATE_SCRAPER\", {\n slug: \"parsera-create-scraper\",\n name: \"Create Scraper\",\n description: \"Tool to create a new empty scraper for your account. Returns a scraper_id that can be used with the generate endpoint to generate scraping code.\",\n input: ParseraCreateScraperInput,\n output: ParseraCreateScraperOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0HAA0H;AACzL,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS,EACjK,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-scraper.cjs","names":["z","action"],"sources":["../../src/actions/create-scraper.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseraCreateScraperInput = z.object({}).describe(\"Request model for POST /v1/scrapers/new endpoint.\\n\\nThis endpoint requires no parameters - it creates an empty scraper.\");\nexport const ParseraCreateScraperOutput = z.object({\n scraper_id: z.string().describe(\"Unique identifier for the newly created scraper. Use this ID with the generate endpoint to generate scraping code.\").nullable(),\n}).passthrough().describe(\"Response model for scraper creation operation.\");\n\nexport const parseraCreateScraper = action(\"PARSERA_CREATE_SCRAPER\", {\n slug: \"parsera-create-scraper\",\n name: \"Create Scraper\",\n description: \"Tool to create a new empty scraper for your account. Returns a scraper_id that can be used with the generate endpoint to generate scraping code.\",\n input: ParseraCreateScraperInput,\n output: ParseraCreateScraperOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0HAA0H;AACzL,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS,EACjK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -4,7 +4,7 @@ import { z } from "zod";
4
4
  declare const ParseraCreateScraperInput: z.ZodObject<{}, z.core.$strip>;
5
5
  declare const ParseraCreateScraperOutput: z.ZodObject<{
6
6
  scraper_id: z.ZodNullable<z.ZodString>;
7
- }, z.core.$strip>;
7
+ }, z.core.$loose>;
8
8
  declare const parseraCreateScraper: 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 { parseraCreateScraper };
@@ -4,7 +4,7 @@ import { z } from "zod";
4
4
  declare const ParseraCreateScraperInput: z.ZodObject<{}, z.core.$strip>;
5
5
  declare const ParseraCreateScraperOutput: z.ZodObject<{
6
6
  scraper_id: z.ZodNullable<z.ZodString>;
7
- }, z.core.$strip>;
7
+ }, z.core.$loose>;
8
8
  declare const parseraCreateScraper: 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 { parseraCreateScraper };
@@ -5,7 +5,7 @@ const parseraCreateScraper = action("PARSERA_CREATE_SCRAPER", {
5
5
  name: "Create Scraper",
6
6
  description: "Tool to create a new empty scraper for your account. Returns a scraper_id that can be used with the generate endpoint to generate scraping code.",
7
7
  input: z.object({}).describe("Request model for POST /v1/scrapers/new endpoint.\n\nThis endpoint requires no parameters - it creates an empty scraper."),
8
- output: z.object({ scraper_id: z.string().describe("Unique identifier for the newly created scraper. Use this ID with the generate endpoint to generate scraping code.").nullable() }).describe("Response model for scraper creation operation.")
8
+ output: z.object({ scraper_id: z.string().describe("Unique identifier for the newly created scraper. Use this ID with the generate endpoint to generate scraping code.").nullable() }).passthrough().describe("Response model for scraper creation operation.")
9
9
  });
10
10
  //#endregion
11
11
  export { parseraCreateScraper };
@@ -1 +1 @@
1
- {"version":3,"file":"create-scraper.mjs","names":[],"sources":["../../src/actions/create-scraper.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseraCreateScraperInput = z.object({}).describe(\"Request model for POST /v1/scrapers/new endpoint.\\n\\nThis endpoint requires no parameters - it creates an empty scraper.\");\nexport const ParseraCreateScraperOutput = z.object({\n scraper_id: z.string().describe(\"Unique identifier for the newly created scraper. Use this ID with the generate endpoint to generate scraping code.\").nullable(),\n}).describe(\"Response model for scraper creation operation.\");\n\nexport const parseraCreateScraper = action(\"PARSERA_CREATE_SCRAPER\", {\n slug: \"parsera-create-scraper\",\n name: \"Create Scraper\",\n description: \"Tool to create a new empty scraper for your account. Returns a scraper_id that can be used with the generate endpoint to generate scraping code.\",\n input: ParseraCreateScraperInput,\n output: ParseraCreateScraperOutput,\n});\n"],"mappings":";;AASA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATuC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0HAStD;CACP,QATwC,EAAE,OAAO,EACjD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS,EACjK,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-scraper.mjs","names":[],"sources":["../../src/actions/create-scraper.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseraCreateScraperInput = z.object({}).describe(\"Request model for POST /v1/scrapers/new endpoint.\\n\\nThis endpoint requires no parameters - it creates an empty scraper.\");\nexport const ParseraCreateScraperOutput = z.object({\n scraper_id: z.string().describe(\"Unique identifier for the newly created scraper. Use this ID with the generate endpoint to generate scraping code.\").nullable(),\n}).passthrough().describe(\"Response model for scraper creation operation.\");\n\nexport const parseraCreateScraper = action(\"PARSERA_CREATE_SCRAPER\", {\n slug: \"parsera-create-scraper\",\n name: \"Create Scraper\",\n description: \"Tool to create a new empty scraper for your account. Returns a scraper_id that can be used with the generate endpoint to generate scraping code.\",\n input: ParseraCreateScraperInput,\n output: ParseraCreateScraperOutput,\n});\n"],"mappings":";;AASA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATuC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0HAStD;CACP,QATwC,EAAE,OAAO,EACjD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS,EACjK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAOhB;AACV,CAAC"}
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/delete-scraper.ts
4
4
  const ParseraDeleteScraperInput = zod.z.object({ scraper_id: zod.z.string().describe("Unique identifier of the scraper to delete. Only scrapers created through the /v1/scrapers/new endpoint can be deleted.") }).describe("Request model for DELETE /v1/scrapers/{scraper_id} endpoint.");
5
- const ParseraDeleteScraperOutput = zod.z.object({ message: zod.z.string().describe("Status message confirming the scraper deletion.").nullable().optional() }).describe("Response model for scraper deletion operation.");
5
+ const ParseraDeleteScraperOutput = zod.z.object({ message: zod.z.string().describe("Status message confirming the scraper deletion.").nullable().optional() }).passthrough().describe("Response model for scraper deletion operation.");
6
6
  const parseraDeleteScraper = require_action.action("PARSERA_DELETE_SCRAPER", {
7
7
  slug: "parsera-delete-scraper",
8
8
  name: "Delete Scraper",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-scraper.cjs","names":["z","action"],"sources":["../../src/actions/delete-scraper.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseraDeleteScraperInput = z.object({\n scraper_id: z.string().describe(\"Unique identifier of the scraper to delete. Only scrapers created through the /v1/scrapers/new endpoint can be deleted.\"),\n}).describe(\"Request model for DELETE /v1/scrapers/{scraper_id} endpoint.\");\nexport const ParseraDeleteScraperOutput = z.object({\n message: z.string().describe(\"Status message confirming the scraper deletion.\").nullable().optional(),\n}).describe(\"Response model for scraper deletion operation.\");\n\nexport const parseraDeleteScraper = action(\"PARSERA_DELETE_SCRAPER\", {\n slug: \"parsera-delete-scraper\",\n name: \"Delete Scraper\",\n description: \"Tool to delete an existing scraper by its ID. Use when you need to remove a scraper that was created through the /v1/scrapers/new endpoint.\",\n input: ParseraDeleteScraperInput,\n output: ParseraDeleteScraperOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yHAAyH,EAC3J,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACtG,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-scraper.cjs","names":["z","action"],"sources":["../../src/actions/delete-scraper.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseraDeleteScraperInput = z.object({\n scraper_id: z.string().describe(\"Unique identifier of the scraper to delete. Only scrapers created through the /v1/scrapers/new endpoint can be deleted.\"),\n}).describe(\"Request model for DELETE /v1/scrapers/{scraper_id} endpoint.\");\nexport const ParseraDeleteScraperOutput = z.object({\n message: z.string().describe(\"Status message confirming the scraper deletion.\").nullable().optional(),\n}).passthrough().describe(\"Response model for scraper deletion operation.\");\n\nexport const parseraDeleteScraper = action(\"PARSERA_DELETE_SCRAPER\", {\n slug: \"parsera-delete-scraper\",\n name: \"Delete Scraper\",\n description: \"Tool to delete an existing scraper by its ID. Use when you need to remove a scraper that was created through the /v1/scrapers/new endpoint.\",\n input: ParseraDeleteScraperInput,\n output: ParseraDeleteScraperOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yHAAyH,EAC3J,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -6,7 +6,7 @@ declare const ParseraDeleteScraperInput: z.ZodObject<{
6
6
  }, z.core.$strip>;
7
7
  declare const ParseraDeleteScraperOutput: z.ZodObject<{
8
8
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
- }, z.core.$strip>;
9
+ }, z.core.$loose>;
10
10
  declare const parseraDeleteScraper: import("@keystrokehq/action").WorkflowActionDefinition<{
11
11
  scraper_id: string;
12
12
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -6,7 +6,7 @@ declare const ParseraDeleteScraperInput: z.ZodObject<{
6
6
  }, z.core.$strip>;
7
7
  declare const ParseraDeleteScraperOutput: z.ZodObject<{
8
8
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
- }, z.core.$strip>;
9
+ }, z.core.$loose>;
10
10
  declare const parseraDeleteScraper: import("@keystrokehq/action").WorkflowActionDefinition<{
11
11
  scraper_id: string;
12
12
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -5,7 +5,7 @@ const parseraDeleteScraper = action("PARSERA_DELETE_SCRAPER", {
5
5
  name: "Delete Scraper",
6
6
  description: "Tool to delete an existing scraper by its ID. Use when you need to remove a scraper that was created through the /v1/scrapers/new endpoint.",
7
7
  input: z.object({ scraper_id: z.string().describe("Unique identifier of the scraper to delete. Only scrapers created through the /v1/scrapers/new endpoint can be deleted.") }).describe("Request model for DELETE /v1/scrapers/{scraper_id} endpoint."),
8
- output: z.object({ message: z.string().describe("Status message confirming the scraper deletion.").nullable().optional() }).describe("Response model for scraper deletion operation.")
8
+ output: z.object({ message: z.string().describe("Status message confirming the scraper deletion.").nullable().optional() }).passthrough().describe("Response model for scraper deletion operation.")
9
9
  });
10
10
  //#endregion
11
11
  export { parseraDeleteScraper };
@@ -1 +1 @@
1
- {"version":3,"file":"delete-scraper.mjs","names":[],"sources":["../../src/actions/delete-scraper.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseraDeleteScraperInput = z.object({\n scraper_id: z.string().describe(\"Unique identifier of the scraper to delete. Only scrapers created through the /v1/scrapers/new endpoint can be deleted.\"),\n}).describe(\"Request model for DELETE /v1/scrapers/{scraper_id} endpoint.\");\nexport const ParseraDeleteScraperOutput = z.object({\n message: z.string().describe(\"Status message confirming the scraper deletion.\").nullable().optional(),\n}).describe(\"Response model for scraper deletion operation.\");\n\nexport const parseraDeleteScraper = action(\"PARSERA_DELETE_SCRAPER\", {\n slug: \"parsera-delete-scraper\",\n name: \"Delete Scraper\",\n description: \"Tool to delete an existing scraper by its ID. Use when you need to remove a scraper that was created through the /v1/scrapers/new endpoint.\",\n input: ParseraDeleteScraperInput,\n output: ParseraDeleteScraperOutput,\n});\n"],"mappings":";;AAWA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXuC,EAAE,OAAO,EAChD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yHAAyH,EAC3J,CAAC,CAAC,CAAC,SAAS,8DASH;CACP,QATwC,EAAE,OAAO,EACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACtG,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"delete-scraper.mjs","names":[],"sources":["../../src/actions/delete-scraper.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseraDeleteScraperInput = z.object({\n scraper_id: z.string().describe(\"Unique identifier of the scraper to delete. Only scrapers created through the /v1/scrapers/new endpoint can be deleted.\"),\n}).describe(\"Request model for DELETE /v1/scrapers/{scraper_id} endpoint.\");\nexport const ParseraDeleteScraperOutput = z.object({\n message: z.string().describe(\"Status message confirming the scraper deletion.\").nullable().optional(),\n}).passthrough().describe(\"Response model for scraper deletion operation.\");\n\nexport const parseraDeleteScraper = action(\"PARSERA_DELETE_SCRAPER\", {\n slug: \"parsera-delete-scraper\",\n name: \"Delete Scraper\",\n description: \"Tool to delete an existing scraper by its ID. Use when you need to remove a scraper that was created through the /v1/scrapers/new endpoint.\",\n input: ParseraDeleteScraperInput,\n output: ParseraDeleteScraperOutput,\n});\n"],"mappings":";;AAWA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXuC,EAAE,OAAO,EAChD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yHAAyH,EAC3J,CAAC,CAAC,CAAC,SAAS,8DASH;CACP,QATwC,EAAE,OAAO,EACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAOhB;AACV,CAAC"}
@@ -5,8 +5,8 @@ const ParseraExtractDataInput = zod.z.object({
5
5
  url: zod.z.string().describe("The webpage URL to extract data from."),
6
6
  mode: zod.z.enum(["standard", "precision"]).default("standard").describe("Extraction mode. 'standard' mode performs efficient extraction. 'precision' mode minimizes page reduction to detect data hidden in HTML tags but uses more credits.").optional(),
7
7
  prompt: zod.z.string().describe("Additional scraping instructions to guide the extraction process.").optional(),
8
- cookies: zod.z.array(zod.z.object({})).describe("Authentication or session cookies for extraction. Each cookie should be a dictionary with cookie properties.").optional(),
9
- attributes: zod.z.object({}).describe("Map of field names and descriptions to extract. Supports two formats: 1) Simple format: {'field_name': 'description'}, 2) Typed format: {'field_name': {'description': '...', 'type': 'string|integer|number|bool|list|object|any'}}. NOTE: You cannot mix both formats in a single request - use either all simple strings or all typed objects."),
8
+ cookies: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Authentication or session cookies for extraction. Each cookie should be a dictionary with cookie properties.").optional(),
9
+ attributes: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Map of field names and descriptions to extract. Supports two formats: 1) Simple format: {'field_name': 'description'}, 2) Typed format: {'field_name': {'description': '...', 'type': 'string|integer|number|bool|list|object|any'}}. NOTE: You cannot mix both formats in a single request - use either all simple strings or all typed objects."),
10
10
  proxy_country: zod.z.string().default("UnitedStates").describe("Geographic location for proxy routing. Recommended to set as pages may be unavailable from certain locations. Use GET /v1/proxy-countries to retrieve supported countries.").optional()
11
11
  }).describe("Request model for POST /v1/extract endpoint.");
12
12
  const ParseraExtractDataOutput = zod.z.unknown();
@@ -1 +1 @@
1
- {"version":3,"file":"extract-data.cjs","names":["z","action"],"sources":["../../src/actions/extract-data.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseraExtractDataInput = z.object({\n url: z.string().describe(\"The webpage URL to extract data from.\"),\n mode: z.enum([\"standard\", \"precision\"]).default(\"standard\").describe(\"Extraction mode. 'standard' mode performs efficient extraction. 'precision' mode minimizes page reduction to detect data hidden in HTML tags but uses more credits.\").optional(),\n prompt: z.string().describe(\"Additional scraping instructions to guide the extraction process.\").optional(),\n cookies: z.array(z.object({})).describe(\"Authentication or session cookies for extraction. Each cookie should be a dictionary with cookie properties.\").optional(),\n attributes: z.object({}).describe(\"Map of field names and descriptions to extract. Supports two formats: 1) Simple format: {'field_name': 'description'}, 2) Typed format: {'field_name': {'description': '...', 'type': 'string|integer|number|bool|list|object|any'}}. NOTE: You cannot mix both formats in a single request - use either all simple strings or all typed objects.\"),\n proxy_country: z.string().default(\"UnitedStates\").describe(\"Geographic location for proxy routing. Recommended to set as pages may be unavailable from certain locations. Use GET /v1/proxy-countries to retrieve supported countries.\").optional(),\n}).describe(\"Request model for POST /v1/extract endpoint.\");\nexport const ParseraExtractDataOutput = z.unknown();\n\nexport const parseraExtractData = action(\"PARSERA_EXTRACT_DATA\", {\n slug: \"parsera-extract-data\",\n name: \"Extract Data from Webpage\",\n description: \"Tool to perform LLM-powered data extraction from a live webpage URL with specified attributes. Use when you need to extract structured data from web pages based on field descriptions.\",\n input: ParseraExtractDataInput,\n output: ParseraExtractDataOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAChE,MAAMA,IAAAA,EAAE,KAAK,CAAC,YAAY,WAAW,CAAC,CAAC,CAAC,QAAQ,UAAU,CAAC,CAAC,SAAS,qKAAqK,CAAC,CAAC,SAAS;CACrP,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC1G,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;CACjK,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mVAAmV;CACrX,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,cAAc,CAAC,CAAC,SAAS,4KAA4K,CAAC,CAAC,SAAS;AACpP,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,2BAA2BA,IAAAA,EAAE,QAAQ;AAElD,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"extract-data.cjs","names":["z","action"],"sources":["../../src/actions/extract-data.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseraExtractDataInput = z.object({\n url: z.string().describe(\"The webpage URL to extract data from.\"),\n mode: z.enum([\"standard\", \"precision\"]).default(\"standard\").describe(\"Extraction mode. 'standard' mode performs efficient extraction. 'precision' mode minimizes page reduction to detect data hidden in HTML tags but uses more credits.\").optional(),\n prompt: z.string().describe(\"Additional scraping instructions to guide the extraction process.\").optional(),\n cookies: z.array(z.record(z.string(), z.unknown())).describe(\"Authentication or session cookies for extraction. Each cookie should be a dictionary with cookie properties.\").optional(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Map of field names and descriptions to extract. Supports two formats: 1) Simple format: {'field_name': 'description'}, 2) Typed format: {'field_name': {'description': '...', 'type': 'string|integer|number|bool|list|object|any'}}. NOTE: You cannot mix both formats in a single request - use either all simple strings or all typed objects.\"),\n proxy_country: z.string().default(\"UnitedStates\").describe(\"Geographic location for proxy routing. Recommended to set as pages may be unavailable from certain locations. Use GET /v1/proxy-countries to retrieve supported countries.\").optional(),\n}).describe(\"Request model for POST /v1/extract endpoint.\");\nexport const ParseraExtractDataOutput = z.unknown();\n\nexport const parseraExtractData = action(\"PARSERA_EXTRACT_DATA\", {\n slug: \"parsera-extract-data\",\n name: \"Extract Data from Webpage\",\n description: \"Tool to perform LLM-powered data extraction from a live webpage URL with specified attributes. Use when you need to extract structured data from web pages based on field descriptions.\",\n input: ParseraExtractDataInput,\n output: ParseraExtractDataOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAChE,MAAMA,IAAAA,EAAE,KAAK,CAAC,YAAY,WAAW,CAAC,CAAC,CAAC,QAAQ,UAAU,CAAC,CAAC,SAAS,qKAAqK,CAAC,CAAC,SAAS;CACrP,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC1G,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;CACtL,YAAYA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mVAAmV;CAC1Y,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,cAAc,CAAC,CAAC,SAAS,4KAA4K,CAAC,CAAC,SAAS;AACpP,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,2BAA2BA,IAAAA,EAAE,QAAQ;AAElD,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -8,17 +8,17 @@ declare const ParseraExtractDataInput: z.ZodObject<{
8
8
  precision: "precision";
9
9
  }>>>;
10
10
  prompt: z.ZodOptional<z.ZodString>;
11
- cookies: z.ZodOptional<z.ZodArray<z.ZodObject<{}, z.core.$strip>>>;
12
- attributes: z.ZodObject<{}, z.core.$strip>;
11
+ cookies: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
12
+ attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
13
13
  proxy_country: z.ZodOptional<z.ZodDefault<z.ZodString>>;
14
14
  }, z.core.$strip>;
15
15
  declare const ParseraExtractDataOutput: z.ZodUnknown;
16
16
  declare const parseraExtractData: import("@keystrokehq/action").WorkflowActionDefinition<{
17
17
  url: string;
18
- attributes: Record<string, never>;
18
+ attributes: Record<string, unknown>;
19
19
  mode?: "standard" | "precision" | undefined;
20
20
  prompt?: string | undefined;
21
- cookies?: Record<string, never>[] | undefined;
21
+ cookies?: Record<string, unknown>[] | undefined;
22
22
  proxy_country?: string | undefined;
23
23
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
24
24
  //#endregion
@@ -8,17 +8,17 @@ declare const ParseraExtractDataInput: z.ZodObject<{
8
8
  precision: "precision";
9
9
  }>>>;
10
10
  prompt: z.ZodOptional<z.ZodString>;
11
- cookies: z.ZodOptional<z.ZodArray<z.ZodObject<{}, z.core.$strip>>>;
12
- attributes: z.ZodObject<{}, z.core.$strip>;
11
+ cookies: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
12
+ attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
13
13
  proxy_country: z.ZodOptional<z.ZodDefault<z.ZodString>>;
14
14
  }, z.core.$strip>;
15
15
  declare const ParseraExtractDataOutput: z.ZodUnknown;
16
16
  declare const parseraExtractData: import("@keystrokehq/action").WorkflowActionDefinition<{
17
17
  url: string;
18
- attributes: Record<string, never>;
18
+ attributes: Record<string, unknown>;
19
19
  mode?: "standard" | "precision" | undefined;
20
20
  prompt?: string | undefined;
21
- cookies?: Record<string, never>[] | undefined;
21
+ cookies?: Record<string, unknown>[] | undefined;
22
22
  proxy_country?: string | undefined;
23
23
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
24
24
  //#endregion
@@ -8,8 +8,8 @@ const parseraExtractData = action("PARSERA_EXTRACT_DATA", {
8
8
  url: z.string().describe("The webpage URL to extract data from."),
9
9
  mode: z.enum(["standard", "precision"]).default("standard").describe("Extraction mode. 'standard' mode performs efficient extraction. 'precision' mode minimizes page reduction to detect data hidden in HTML tags but uses more credits.").optional(),
10
10
  prompt: z.string().describe("Additional scraping instructions to guide the extraction process.").optional(),
11
- cookies: z.array(z.object({})).describe("Authentication or session cookies for extraction. Each cookie should be a dictionary with cookie properties.").optional(),
12
- attributes: z.object({}).describe("Map of field names and descriptions to extract. Supports two formats: 1) Simple format: {'field_name': 'description'}, 2) Typed format: {'field_name': {'description': '...', 'type': 'string|integer|number|bool|list|object|any'}}. NOTE: You cannot mix both formats in a single request - use either all simple strings or all typed objects."),
11
+ cookies: z.array(z.record(z.string(), z.unknown())).describe("Authentication or session cookies for extraction. Each cookie should be a dictionary with cookie properties.").optional(),
12
+ attributes: z.record(z.string(), z.unknown()).describe("Map of field names and descriptions to extract. Supports two formats: 1) Simple format: {'field_name': 'description'}, 2) Typed format: {'field_name': {'description': '...', 'type': 'string|integer|number|bool|list|object|any'}}. NOTE: You cannot mix both formats in a single request - use either all simple strings or all typed objects."),
13
13
  proxy_country: z.string().default("UnitedStates").describe("Geographic location for proxy routing. Recommended to set as pages may be unavailable from certain locations. Use GET /v1/proxy-countries to retrieve supported countries.").optional()
14
14
  }).describe("Request model for POST /v1/extract endpoint."),
15
15
  output: z.unknown()
@@ -1 +1 @@
1
- {"version":3,"file":"extract-data.mjs","names":[],"sources":["../../src/actions/extract-data.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseraExtractDataInput = z.object({\n url: z.string().describe(\"The webpage URL to extract data from.\"),\n mode: z.enum([\"standard\", \"precision\"]).default(\"standard\").describe(\"Extraction mode. 'standard' mode performs efficient extraction. 'precision' mode minimizes page reduction to detect data hidden in HTML tags but uses more credits.\").optional(),\n prompt: z.string().describe(\"Additional scraping instructions to guide the extraction process.\").optional(),\n cookies: z.array(z.object({})).describe(\"Authentication or session cookies for extraction. Each cookie should be a dictionary with cookie properties.\").optional(),\n attributes: z.object({}).describe(\"Map of field names and descriptions to extract. Supports two formats: 1) Simple format: {'field_name': 'description'}, 2) Typed format: {'field_name': {'description': '...', 'type': 'string|integer|number|bool|list|object|any'}}. NOTE: You cannot mix both formats in a single request - use either all simple strings or all typed objects.\"),\n proxy_country: z.string().default(\"UnitedStates\").describe(\"Geographic location for proxy routing. Recommended to set as pages may be unavailable from certain locations. Use GET /v1/proxy-countries to retrieve supported countries.\").optional(),\n}).describe(\"Request model for POST /v1/extract endpoint.\");\nexport const ParseraExtractDataOutput = z.unknown();\n\nexport const parseraExtractData = action(\"PARSERA_EXTRACT_DATA\", {\n slug: \"parsera-extract-data\",\n name: \"Extract Data from Webpage\",\n description: \"Tool to perform LLM-powered data extraction from a live webpage URL with specified attributes. Use when you need to extract structured data from web pages based on field descriptions.\",\n input: ParseraExtractDataInput,\n output: ParseraExtractDataOutput,\n});\n"],"mappings":";;AAcA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdqC,EAAE,OAAO;EAC9C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EAChE,MAAM,EAAE,KAAK,CAAC,YAAY,WAAW,CAAC,CAAC,CAAC,QAAQ,UAAU,CAAC,CAAC,SAAS,qKAAqK,CAAC,CAAC,SAAS;EACrP,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;EAC1G,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;EACjK,YAAY,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mVAAmV;EACrX,eAAe,EAAE,OAAO,CAAC,CAAC,QAAQ,cAAc,CAAC,CAAC,SAAS,4KAA4K,CAAC,CAAC,SAAS;CACpP,CAAC,CAAC,CAAC,SAAS,8CAOH;CACP,QAPsC,EAAE,QAOhC;AACV,CAAC"}
1
+ {"version":3,"file":"extract-data.mjs","names":[],"sources":["../../src/actions/extract-data.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseraExtractDataInput = z.object({\n url: z.string().describe(\"The webpage URL to extract data from.\"),\n mode: z.enum([\"standard\", \"precision\"]).default(\"standard\").describe(\"Extraction mode. 'standard' mode performs efficient extraction. 'precision' mode minimizes page reduction to detect data hidden in HTML tags but uses more credits.\").optional(),\n prompt: z.string().describe(\"Additional scraping instructions to guide the extraction process.\").optional(),\n cookies: z.array(z.record(z.string(), z.unknown())).describe(\"Authentication or session cookies for extraction. Each cookie should be a dictionary with cookie properties.\").optional(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Map of field names and descriptions to extract. Supports two formats: 1) Simple format: {'field_name': 'description'}, 2) Typed format: {'field_name': {'description': '...', 'type': 'string|integer|number|bool|list|object|any'}}. NOTE: You cannot mix both formats in a single request - use either all simple strings or all typed objects.\"),\n proxy_country: z.string().default(\"UnitedStates\").describe(\"Geographic location for proxy routing. Recommended to set as pages may be unavailable from certain locations. Use GET /v1/proxy-countries to retrieve supported countries.\").optional(),\n}).describe(\"Request model for POST /v1/extract endpoint.\");\nexport const ParseraExtractDataOutput = z.unknown();\n\nexport const parseraExtractData = action(\"PARSERA_EXTRACT_DATA\", {\n slug: \"parsera-extract-data\",\n name: \"Extract Data from Webpage\",\n description: \"Tool to perform LLM-powered data extraction from a live webpage URL with specified attributes. Use when you need to extract structured data from web pages based on field descriptions.\",\n input: ParseraExtractDataInput,\n output: ParseraExtractDataOutput,\n});\n"],"mappings":";;AAcA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdqC,EAAE,OAAO;EAC9C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EAChE,MAAM,EAAE,KAAK,CAAC,YAAY,WAAW,CAAC,CAAC,CAAC,QAAQ,UAAU,CAAC,CAAC,SAAS,qKAAqK,CAAC,CAAC,SAAS;EACrP,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;EAC1G,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;EACtL,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mVAAmV;EAC1Y,eAAe,EAAE,OAAO,CAAC,CAAC,QAAQ,cAAc,CAAC,CAAC,SAAS,4KAA4K,CAAC,CAAC,SAAS;CACpP,CAAC,CAAC,CAAC,SAAS,8CAOH;CACP,QAPsC,EAAE,QAOhC;AACV,CAAC"}
@@ -13,7 +13,7 @@ const ParseraExtractMarkdownOutput = zod.z.object({
13
13
  meta: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Metadata about the extraction process.").nullable().optional(),
14
14
  status: zod.z.string().describe("Status of the extraction ('success').").nullable(),
15
15
  markdown: zod.z.string().describe("Extracted markdown content.").nullable()
16
- });
16
+ }).passthrough();
17
17
  const parseraExtractMarkdown = require_action.action("PARSERA_EXTRACT_MARKDOWN", {
18
18
  slug: "parsera-extract-markdown",
19
19
  name: "Extract Markdown",
@@ -1 +1 @@
1
- {"version":3,"file":"extract-markdown.cjs","names":["z","action"],"sources":["../../src/actions/extract-markdown.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseraExtractMarkdownInput = z.object({\n url: z.string().describe(\"URL of the page to extract markdown from.\").optional(),\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"File to upload for markdown extraction.\").optional(),\n});\nexport const ParseraExtractMarkdownOutput = z.object({\n meta: z.record(z.string(), z.unknown()).describe(\"Metadata about the extraction process.\").nullable().optional(),\n status: z.string().describe(\"Status of the extraction ('success').\").nullable(),\n markdown: z.string().describe(\"Extracted markdown content.\").nullable(),\n});\n\nexport const parseraExtractMarkdown = action(\"PARSERA_EXTRACT_MARKDOWN\", {\n slug: \"parsera-extract-markdown\",\n name: \"Extract Markdown\",\n description: \"Tool to extract markdown content from a file or URL.\",\n input: ParseraExtractMarkdownInput,\n output: ParseraExtractMarkdownOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC/E,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;EACnO,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC3D,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AAChE,CAAC;AACD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC9E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;AACxE,CAAC;AAED,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"extract-markdown.cjs","names":["z","action"],"sources":["../../src/actions/extract-markdown.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseraExtractMarkdownInput = z.object({\n url: z.string().describe(\"URL of the page to extract markdown from.\").optional(),\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"File to upload for markdown extraction.\").optional(),\n});\nexport const ParseraExtractMarkdownOutput = z.object({\n meta: z.record(z.string(), z.unknown()).describe(\"Metadata about the extraction process.\").nullable().optional(),\n status: z.string().describe(\"Status of the extraction ('success').\").nullable(),\n markdown: z.string().describe(\"Extracted markdown content.\").nullable(),\n}).passthrough();\n\nexport const parseraExtractMarkdown = action(\"PARSERA_EXTRACT_MARKDOWN\", {\n slug: \"parsera-extract-markdown\",\n name: \"Extract Markdown\",\n description: \"Tool to extract markdown content from a file or URL.\",\n input: ParseraExtractMarkdownInput,\n output: ParseraExtractMarkdownOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC/E,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;EACnO,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC3D,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AAChE,CAAC;AACD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC9E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -13,7 +13,7 @@ declare const ParseraExtractMarkdownOutput: z.ZodObject<{
13
13
  meta: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
14
14
  status: z.ZodNullable<z.ZodString>;
15
15
  markdown: z.ZodNullable<z.ZodString>;
16
- }, z.core.$strip>;
16
+ }, z.core.$loose>;
17
17
  declare const parseraExtractMarkdown: import("@keystrokehq/action").WorkflowActionDefinition<{
18
18
  url?: string | undefined;
19
19
  file?: {
@@ -13,7 +13,7 @@ declare const ParseraExtractMarkdownOutput: z.ZodObject<{
13
13
  meta: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
14
14
  status: z.ZodNullable<z.ZodString>;
15
15
  markdown: z.ZodNullable<z.ZodString>;
16
- }, z.core.$strip>;
16
+ }, z.core.$loose>;
17
17
  declare const parseraExtractMarkdown: import("@keystrokehq/action").WorkflowActionDefinition<{
18
18
  url?: string | undefined;
19
19
  file?: {
@@ -16,7 +16,7 @@ const parseraExtractMarkdown = action("PARSERA_EXTRACT_MARKDOWN", {
16
16
  meta: z.record(z.string(), z.unknown()).describe("Metadata about the extraction process.").nullable().optional(),
17
17
  status: z.string().describe("Status of the extraction ('success').").nullable(),
18
18
  markdown: z.string().describe("Extracted markdown content.").nullable()
19
- })
19
+ }).passthrough()
20
20
  });
21
21
  //#endregion
22
22
  export { parseraExtractMarkdown };
@@ -1 +1 @@
1
- {"version":3,"file":"extract-markdown.mjs","names":[],"sources":["../../src/actions/extract-markdown.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseraExtractMarkdownInput = z.object({\n url: z.string().describe(\"URL of the page to extract markdown from.\").optional(),\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"File to upload for markdown extraction.\").optional(),\n});\nexport const ParseraExtractMarkdownOutput = z.object({\n meta: z.record(z.string(), z.unknown()).describe(\"Metadata about the extraction process.\").nullable().optional(),\n status: z.string().describe(\"Status of the extraction ('success').\").nullable(),\n markdown: z.string().describe(\"Extracted markdown content.\").nullable(),\n});\n\nexport const parseraExtractMarkdown = action(\"PARSERA_EXTRACT_MARKDOWN\", {\n slug: \"parsera-extract-markdown\",\n name: \"Extract Markdown\",\n description: \"Tool to extract markdown content from a file or URL.\",\n input: ParseraExtractMarkdownInput,\n output: ParseraExtractMarkdownOutput,\n});\n"],"mappings":";;AAkBA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlByC,EAAE,OAAO;EAClD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAC/E,MAAM,EAAE,OAAO;GACf,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;GAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;GACnO,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EAC3D,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAChE,CAWS;CACP,QAX0C,EAAE,OAAO;EACnD,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC9E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACxE,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"extract-markdown.mjs","names":[],"sources":["../../src/actions/extract-markdown.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseraExtractMarkdownInput = z.object({\n url: z.string().describe(\"URL of the page to extract markdown from.\").optional(),\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"File to upload for markdown extraction.\").optional(),\n});\nexport const ParseraExtractMarkdownOutput = z.object({\n meta: z.record(z.string(), z.unknown()).describe(\"Metadata about the extraction process.\").nullable().optional(),\n status: z.string().describe(\"Status of the extraction ('success').\").nullable(),\n markdown: z.string().describe(\"Extracted markdown content.\").nullable(),\n}).passthrough();\n\nexport const parseraExtractMarkdown = action(\"PARSERA_EXTRACT_MARKDOWN\", {\n slug: \"parsera-extract-markdown\",\n name: \"Extract Markdown\",\n description: \"Tool to extract markdown content from a file or URL.\",\n input: ParseraExtractMarkdownInput,\n output: ParseraExtractMarkdownOutput,\n});\n"],"mappings":";;AAkBA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlByC,EAAE,OAAO;EAClD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAC/E,MAAM,EAAE,OAAO;GACf,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;GAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;GACnO,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EAC3D,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAChE,CAWS;CACP,QAX0C,EAAE,OAAO;EACnD,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC9E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACxE,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -6,23 +6,23 @@ const ParseraGetLlmSpecs_PricingTokenInfoSchema = zod.z.object({
6
6
  input_per_million: zod.z.number().describe("Cost per million input tokens in USD.").nullable().optional(),
7
7
  output_per_million: zod.z.number().describe("Cost per million output tokens in USD.").nullable().optional(),
8
8
  cached_input_per_million: zod.z.number().describe("Cost per million cached input tokens in USD.").nullable().optional()
9
- }).describe("Token pricing information.");
9
+ }).passthrough().describe("Token pricing information.");
10
10
  const ParseraGetLlmSpecs_EmbeddingsPricingSchema = zod.z.object({
11
11
  batch: ParseraGetLlmSpecs_PricingTokenInfoSchema.nullable().optional(),
12
12
  standard: ParseraGetLlmSpecs_PricingTokenInfoSchema.nullable().optional()
13
- }).describe("Embeddings pricing structure.");
13
+ }).passthrough().describe("Embeddings pricing structure.");
14
14
  const ParseraGetLlmSpecs_TextTokensPricingSchema = zod.z.object({
15
15
  batch: ParseraGetLlmSpecs_PricingTokenInfoSchema.nullable().optional(),
16
16
  standard: ParseraGetLlmSpecs_PricingTokenInfoSchema.nullable().optional()
17
- }).describe("Text tokens pricing structure.");
17
+ }).passthrough().describe("Text tokens pricing structure.");
18
18
  const ParseraGetLlmSpecs_PricingInfoSchema = zod.z.object({
19
19
  embeddings: ParseraGetLlmSpecs_EmbeddingsPricingSchema.nullable().optional(),
20
20
  text_tokens: ParseraGetLlmSpecs_TextTokensPricingSchema.nullable().optional()
21
- }).describe("Pricing information for a model.");
21
+ }).passthrough().describe("Pricing information for a model.");
22
22
  const ParseraGetLlmSpecs_ModalitiesInfoSchema = zod.z.object({
23
23
  input: zod.z.array(zod.z.string()).describe("Array of supported input modalities (e.g., 'text', 'image', 'audio')."),
24
24
  output: zod.z.array(zod.z.string()).describe("Array of supported output modalities (e.g., 'text', 'image', 'embeddings').")
25
- }).describe("Supported input/output modalities for a model.");
25
+ }).passthrough().describe("Supported input/output modalities for a model.");
26
26
  const ParseraGetLlmSpecs_LLMSpecSchema = zod.z.object({
27
27
  id: zod.z.string().describe("Unique model identifier used for API calls.").nullable(),
28
28
  name: zod.z.string().describe("Human-readable model identifier.").nullable().optional(),
@@ -33,8 +33,8 @@ const ParseraGetLlmSpecs_LLMSpecSchema = zod.z.object({
33
33
  capabilities: zod.z.array(zod.z.string()).describe("Array of supported features (e.g., 'function_calling', 'batch', 'structured_output').").nullable().optional(),
34
34
  context_window: zod.z.number().int().describe("Maximum input tokens supported by the model.").nullable().optional(),
35
35
  max_output_tokens: zod.z.number().int().describe("Maximum generation/output tokens allowed.").nullable().optional()
36
- }).describe("Represents a single LLM model specification.");
37
- const ParseraGetLlmSpecsOutput = zod.z.object({ models: zod.z.array(ParseraGetLlmSpecs_LLMSpecSchema).describe("Array of LLM model specifications with capabilities, pricing, and context windows.") }).describe("Response model containing list of LLM specifications.");
36
+ }).passthrough().describe("Represents a single LLM model specification.");
37
+ const ParseraGetLlmSpecsOutput = zod.z.object({ models: zod.z.array(ParseraGetLlmSpecs_LLMSpecSchema).describe("Array of LLM model specifications with capabilities, pricing, and context windows.") }).passthrough().describe("Response model containing list of LLM specifications.");
38
38
  const parseraGetLlmSpecs = require_action.action("PARSERA_GET_LLM_SPECS", {
39
39
  slug: "parsera-get-llm-specs",
40
40
  name: "Get LLM Specifications",
@@ -1 +1 @@
1
- {"version":3,"file":"get-llm-specs.cjs","names":["z","action"],"sources":["../../src/actions/get-llm-specs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseraGetLlmSpecsInput = z.object({}).describe(\"Request model for GET /v1/llm-specs endpoint.\\n\\nThis endpoint requires no parameters.\");\nconst ParseraGetLlmSpecs_PricingTokenInfoSchema = z.object({\n input_per_million: z.number().describe(\"Cost per million input tokens in USD.\").nullable().optional(),\n output_per_million: z.number().describe(\"Cost per million output tokens in USD.\").nullable().optional(),\n cached_input_per_million: z.number().describe(\"Cost per million cached input tokens in USD.\").nullable().optional(),\n}).describe(\"Token pricing information.\");\nconst ParseraGetLlmSpecs_EmbeddingsPricingSchema = z.object({\n batch: ParseraGetLlmSpecs_PricingTokenInfoSchema.nullable().optional(),\n standard: ParseraGetLlmSpecs_PricingTokenInfoSchema.nullable().optional(),\n}).describe(\"Embeddings pricing structure.\");\nconst ParseraGetLlmSpecs_TextTokensPricingSchema = z.object({\n batch: ParseraGetLlmSpecs_PricingTokenInfoSchema.nullable().optional(),\n standard: ParseraGetLlmSpecs_PricingTokenInfoSchema.nullable().optional(),\n}).describe(\"Text tokens pricing structure.\");\nconst ParseraGetLlmSpecs_PricingInfoSchema = z.object({\n embeddings: ParseraGetLlmSpecs_EmbeddingsPricingSchema.nullable().optional(),\n text_tokens: ParseraGetLlmSpecs_TextTokensPricingSchema.nullable().optional(),\n}).describe(\"Pricing information for a model.\");\nconst ParseraGetLlmSpecs_ModalitiesInfoSchema = z.object({\n input: z.array(z.string()).describe(\"Array of supported input modalities (e.g., 'text', 'image', 'audio').\"),\n output: z.array(z.string()).describe(\"Array of supported output modalities (e.g., 'text', 'image', 'embeddings').\"),\n}).describe(\"Supported input/output modalities for a model.\");\nconst ParseraGetLlmSpecs_LLMSpecSchema = z.object({\n id: z.string().describe(\"Unique model identifier used for API calls.\").nullable(),\n name: z.string().describe(\"Human-readable model identifier.\").nullable().optional(),\n family: z.string().describe(\"Model family classification.\").nullable(),\n pricing: ParseraGetLlmSpecs_PricingInfoSchema.nullable().optional(),\n provider: z.string().describe(\"Service provider name (e.g., 'openai', 'anthropic', 'gemini', 'deepseek').\").nullable(),\n modalities: ParseraGetLlmSpecs_ModalitiesInfoSchema.nullable(),\n capabilities: z.array(z.string()).describe(\"Array of supported features (e.g., 'function_calling', 'batch', 'structured_output').\").nullable().optional(),\n context_window: z.number().int().describe(\"Maximum input tokens supported by the model.\").nullable().optional(),\n max_output_tokens: z.number().int().describe(\"Maximum generation/output tokens allowed.\").nullable().optional(),\n}).describe(\"Represents a single LLM model specification.\");\nexport const ParseraGetLlmSpecsOutput = z.object({\n models: z.array(ParseraGetLlmSpecs_LLMSpecSchema).describe(\"Array of LLM model specifications with capabilities, pricing, and context windows.\"),\n}).describe(\"Response model containing list of LLM specifications.\");\n\nexport const parseraGetLlmSpecs = action(\"PARSERA_GET_LLM_SPECS\", {\n slug: \"parsera-get-llm-specs\",\n name: \"Get LLM Specifications\",\n description: \"Tool to retrieve standardized LLM capabilities and pricing specifications. Use to get up-to-date information about models from various providers.\",\n input: ParseraGetLlmSpecsInput,\n output: ParseraGetLlmSpecsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wFAAwF;AACrJ,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,4BAA4B;AACxC,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,OAAO,0CAA0C,SAAS,CAAC,CAAC,SAAS;CACrE,UAAU,0CAA0C,SAAS,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAC3C,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,OAAO,0CAA0C,SAAS,CAAC,CAAC,SAAS;CACrE,UAAU,0CAA0C,SAAS,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAC5C,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,YAAY,2CAA2C,SAAS,CAAC,CAAC,SAAS;CAC3E,aAAa,2CAA2C,SAAS,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAC9C,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uEAAuE;CAC3G,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6EAA6E;AACpH,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACrE,SAAS,qCAAqC,SAAS,CAAC,CAAC,SAAS;CAClE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACrH,YAAY,wCAAwC,SAAS;CAC7D,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxJ,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,QAAQA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,oFAAoF,EACjJ,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAEnE,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-llm-specs.cjs","names":["z","action"],"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":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wFAAwF;AACrJ,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4BAA4B;AACtD,MAAM,6CAA6CA,IAAAA,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,6CAA6CA,IAAAA,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,uCAAuCA,IAAAA,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,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uEAAuE;CAC3G,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6EAA6E;AACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACrE,SAAS,qCAAqC,SAAS,CAAC,CAAC,SAAS;CAClE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACrH,YAAY,wCAAwC,SAAS;CAC7D,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxJ,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,QAAQA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,oFAAoF,EACjJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAEjF,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -13,36 +13,36 @@ declare const ParseraGetLlmSpecsOutput: z.ZodObject<{
13
13
  input_per_million: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
14
  output_per_million: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15
15
  cached_input_per_million: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
- }, z.core.$strip>>>;
16
+ }, z.core.$loose>>>;
17
17
  standard: z.ZodOptional<z.ZodNullable<z.ZodObject<{
18
18
  input_per_million: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
19
  output_per_million: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
20
20
  cached_input_per_million: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
21
- }, z.core.$strip>>>;
22
- }, z.core.$strip>>>;
21
+ }, z.core.$loose>>>;
22
+ }, z.core.$loose>>>;
23
23
  text_tokens: z.ZodOptional<z.ZodNullable<z.ZodObject<{
24
24
  batch: z.ZodOptional<z.ZodNullable<z.ZodObject<{
25
25
  input_per_million: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
26
26
  output_per_million: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
27
27
  cached_input_per_million: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
28
- }, z.core.$strip>>>;
28
+ }, z.core.$loose>>>;
29
29
  standard: z.ZodOptional<z.ZodNullable<z.ZodObject<{
30
30
  input_per_million: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
31
31
  output_per_million: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
32
32
  cached_input_per_million: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
33
- }, z.core.$strip>>>;
34
- }, z.core.$strip>>>;
35
- }, z.core.$strip>>>;
33
+ }, z.core.$loose>>>;
34
+ }, z.core.$loose>>>;
35
+ }, z.core.$loose>>>;
36
36
  provider: z.ZodNullable<z.ZodString>;
37
37
  modalities: z.ZodNullable<z.ZodObject<{
38
38
  input: z.ZodArray<z.ZodString>;
39
39
  output: z.ZodArray<z.ZodString>;
40
- }, z.core.$strip>>;
40
+ }, z.core.$loose>>;
41
41
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
42
42
  context_window: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
43
43
  max_output_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
44
- }, z.core.$strip>>;
45
- }, z.core.$strip>;
44
+ }, z.core.$loose>>;
45
+ }, z.core.$loose>;
46
46
  declare const parseraGetLlmSpecs: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
47
47
  //#endregion
48
48
  export { parseraGetLlmSpecs };
@@ -13,36 +13,36 @@ declare const ParseraGetLlmSpecsOutput: z.ZodObject<{
13
13
  input_per_million: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
14
  output_per_million: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15
15
  cached_input_per_million: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
- }, z.core.$strip>>>;
16
+ }, z.core.$loose>>>;
17
17
  standard: z.ZodOptional<z.ZodNullable<z.ZodObject<{
18
18
  input_per_million: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
19
  output_per_million: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
20
20
  cached_input_per_million: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
21
- }, z.core.$strip>>>;
22
- }, z.core.$strip>>>;
21
+ }, z.core.$loose>>>;
22
+ }, z.core.$loose>>>;
23
23
  text_tokens: z.ZodOptional<z.ZodNullable<z.ZodObject<{
24
24
  batch: z.ZodOptional<z.ZodNullable<z.ZodObject<{
25
25
  input_per_million: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
26
26
  output_per_million: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
27
27
  cached_input_per_million: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
28
- }, z.core.$strip>>>;
28
+ }, z.core.$loose>>>;
29
29
  standard: z.ZodOptional<z.ZodNullable<z.ZodObject<{
30
30
  input_per_million: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
31
31
  output_per_million: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
32
32
  cached_input_per_million: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
33
- }, z.core.$strip>>>;
34
- }, z.core.$strip>>>;
35
- }, z.core.$strip>>>;
33
+ }, z.core.$loose>>>;
34
+ }, z.core.$loose>>>;
35
+ }, z.core.$loose>>>;
36
36
  provider: z.ZodNullable<z.ZodString>;
37
37
  modalities: z.ZodNullable<z.ZodObject<{
38
38
  input: z.ZodArray<z.ZodString>;
39
39
  output: z.ZodArray<z.ZodString>;
40
- }, z.core.$strip>>;
40
+ }, z.core.$loose>>;
41
41
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
42
42
  context_window: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
43
43
  max_output_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
44
- }, z.core.$strip>>;
45
- }, z.core.$strip>;
44
+ }, z.core.$loose>>;
45
+ }, z.core.$loose>;
46
46
  declare const parseraGetLlmSpecs: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
47
47
  //#endregion
48
48
  export { parseraGetLlmSpecs };
@@ -6,23 +6,23 @@ const ParseraGetLlmSpecs_PricingTokenInfoSchema = z.object({
6
6
  input_per_million: z.number().describe("Cost per million input tokens in USD.").nullable().optional(),
7
7
  output_per_million: z.number().describe("Cost per million output tokens in USD.").nullable().optional(),
8
8
  cached_input_per_million: z.number().describe("Cost per million cached input tokens in USD.").nullable().optional()
9
- }).describe("Token pricing information.");
9
+ }).passthrough().describe("Token pricing information.");
10
10
  const ParseraGetLlmSpecs_EmbeddingsPricingSchema = z.object({
11
11
  batch: ParseraGetLlmSpecs_PricingTokenInfoSchema.nullable().optional(),
12
12
  standard: ParseraGetLlmSpecs_PricingTokenInfoSchema.nullable().optional()
13
- }).describe("Embeddings pricing structure.");
13
+ }).passthrough().describe("Embeddings pricing structure.");
14
14
  const ParseraGetLlmSpecs_TextTokensPricingSchema = z.object({
15
15
  batch: ParseraGetLlmSpecs_PricingTokenInfoSchema.nullable().optional(),
16
16
  standard: ParseraGetLlmSpecs_PricingTokenInfoSchema.nullable().optional()
17
- }).describe("Text tokens pricing structure.");
17
+ }).passthrough().describe("Text tokens pricing structure.");
18
18
  const ParseraGetLlmSpecs_PricingInfoSchema = z.object({
19
19
  embeddings: ParseraGetLlmSpecs_EmbeddingsPricingSchema.nullable().optional(),
20
20
  text_tokens: ParseraGetLlmSpecs_TextTokensPricingSchema.nullable().optional()
21
- }).describe("Pricing information for a model.");
21
+ }).passthrough().describe("Pricing information for a model.");
22
22
  const ParseraGetLlmSpecs_ModalitiesInfoSchema = z.object({
23
23
  input: z.array(z.string()).describe("Array of supported input modalities (e.g., 'text', 'image', 'audio')."),
24
24
  output: z.array(z.string()).describe("Array of supported output modalities (e.g., 'text', 'image', 'embeddings').")
25
- }).describe("Supported input/output modalities for a model.");
25
+ }).passthrough().describe("Supported input/output modalities for a model.");
26
26
  const ParseraGetLlmSpecs_LLMSpecSchema = z.object({
27
27
  id: z.string().describe("Unique model identifier used for API calls.").nullable(),
28
28
  name: z.string().describe("Human-readable model identifier.").nullable().optional(),
@@ -33,13 +33,13 @@ const ParseraGetLlmSpecs_LLMSpecSchema = z.object({
33
33
  capabilities: z.array(z.string()).describe("Array of supported features (e.g., 'function_calling', 'batch', 'structured_output').").nullable().optional(),
34
34
  context_window: z.number().int().describe("Maximum input tokens supported by the model.").nullable().optional(),
35
35
  max_output_tokens: z.number().int().describe("Maximum generation/output tokens allowed.").nullable().optional()
36
- }).describe("Represents a single LLM model specification.");
36
+ }).passthrough().describe("Represents a single LLM model specification.");
37
37
  const parseraGetLlmSpecs = action("PARSERA_GET_LLM_SPECS", {
38
38
  slug: "parsera-get-llm-specs",
39
39
  name: "Get LLM Specifications",
40
40
  description: "Tool to retrieve standardized LLM capabilities and pricing specifications. Use to get up-to-date information about models from various providers.",
41
41
  input: ParseraGetLlmSpecsInput,
42
- output: z.object({ models: z.array(ParseraGetLlmSpecs_LLMSpecSchema).describe("Array of LLM model specifications with capabilities, pricing, and context windows.") }).describe("Response model containing list of LLM specifications.")
42
+ output: z.object({ models: z.array(ParseraGetLlmSpecs_LLMSpecSchema).describe("Array of LLM model specifications with capabilities, pricing, and context windows.") }).passthrough().describe("Response model containing list of LLM specifications.")
43
43
  });
44
44
  //#endregion
45
45
  export { parseraGetLlmSpecs };
@@ -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}).describe(\"Token pricing information.\");\nconst ParseraGetLlmSpecs_EmbeddingsPricingSchema = z.object({\n batch: ParseraGetLlmSpecs_PricingTokenInfoSchema.nullable().optional(),\n standard: ParseraGetLlmSpecs_PricingTokenInfoSchema.nullable().optional(),\n}).describe(\"Embeddings pricing structure.\");\nconst ParseraGetLlmSpecs_TextTokensPricingSchema = z.object({\n batch: ParseraGetLlmSpecs_PricingTokenInfoSchema.nullable().optional(),\n standard: ParseraGetLlmSpecs_PricingTokenInfoSchema.nullable().optional(),\n}).describe(\"Text tokens pricing structure.\");\nconst ParseraGetLlmSpecs_PricingInfoSchema = z.object({\n embeddings: ParseraGetLlmSpecs_EmbeddingsPricingSchema.nullable().optional(),\n text_tokens: ParseraGetLlmSpecs_TextTokensPricingSchema.nullable().optional(),\n}).describe(\"Pricing information for a model.\");\nconst ParseraGetLlmSpecs_ModalitiesInfoSchema = z.object({\n input: z.array(z.string()).describe(\"Array of supported input modalities (e.g., 'text', 'image', 'audio').\"),\n output: z.array(z.string()).describe(\"Array of supported output modalities (e.g., 'text', 'image', 'embeddings').\"),\n}).describe(\"Supported input/output modalities for a model.\");\nconst ParseraGetLlmSpecs_LLMSpecSchema = z.object({\n id: z.string().describe(\"Unique model identifier used for API calls.\").nullable(),\n name: z.string().describe(\"Human-readable model identifier.\").nullable().optional(),\n family: z.string().describe(\"Model family classification.\").nullable(),\n pricing: ParseraGetLlmSpecs_PricingInfoSchema.nullable().optional(),\n provider: z.string().describe(\"Service provider name (e.g., 'openai', 'anthropic', 'gemini', 'deepseek').\").nullable(),\n modalities: ParseraGetLlmSpecs_ModalitiesInfoSchema.nullable(),\n capabilities: z.array(z.string()).describe(\"Array of supported features (e.g., 'function_calling', 'batch', 'structured_output').\").nullable().optional(),\n context_window: z.number().int().describe(\"Maximum input tokens supported by the model.\").nullable().optional(),\n max_output_tokens: z.number().int().describe(\"Maximum generation/output tokens allowed.\").nullable().optional(),\n}).describe(\"Represents a single LLM model specification.\");\nexport const ParseraGetLlmSpecsOutput = z.object({\n models: z.array(ParseraGetLlmSpecs_LLMSpecSchema).describe(\"Array of LLM model specifications with capabilities, pricing, and context windows.\"),\n}).describe(\"Response model containing list of LLM specifications.\");\n\nexport const parseraGetLlmSpecs = action(\"PARSERA_GET_LLM_SPECS\", {\n slug: \"parsera-get-llm-specs\",\n name: \"Get LLM Specifications\",\n description: \"Tool to retrieve standardized LLM capabilities and pricing specifications. Use to get up-to-date information about models from various providers.\",\n input: ParseraGetLlmSpecsInput,\n output: ParseraGetLlmSpecsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wFAAwF;AACrJ,MAAM,4CAA4C,EAAE,OAAO;CACzD,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,4BAA4B;AACxC,MAAM,6CAA6C,EAAE,OAAO;CAC1D,OAAO,0CAA0C,SAAS,CAAC,CAAC,SAAS;CACrE,UAAU,0CAA0C,SAAS,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAC3C,MAAM,6CAA6C,EAAE,OAAO;CAC1D,OAAO,0CAA0C,SAAS,CAAC,CAAC,SAAS;CACrE,UAAU,0CAA0C,SAAS,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAC5C,MAAM,uCAAuC,EAAE,OAAO;CACpD,YAAY,2CAA2C,SAAS,CAAC,CAAC,SAAS;CAC3E,aAAa,2CAA2C,SAAS,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAC9C,MAAM,0CAA0C,EAAE,OAAO;CACvD,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uEAAuE;CAC3G,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6EAA6E;AACpH,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,mCAAmC,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACrE,SAAS,qCAAqC,SAAS,CAAC,CAAC,SAAS;CAClE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACrH,YAAY,wCAAwC,SAAS;CAC7D,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxJ,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAK1D,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATsC,EAAE,OAAO,EAC/C,QAAQ,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,oFAAoF,EACjJ,CAAC,CAAC,CAAC,SAAS,uDAOF;AACV,CAAC"}
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":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wFAAwF;AACrJ,MAAM,4CAA4C,EAAE,OAAO;CACzD,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,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,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATsC,EAAE,OAAO,EAC/C,QAAQ,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,oFAAoF,EACjJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAOhB;AACV,CAAC"}
@@ -5,8 +5,8 @@ const ParseraGetProxyCountriesInput = zod.z.object({}).describe("Request model f
5
5
  const ParseraGetProxyCountries_ProxyCountrySchema = zod.z.object({
6
6
  code: zod.z.string().describe("API parameter code for the country (e.g., 'UnitedStates', 'UnitedKingdom').").nullable(),
7
7
  name: zod.z.string().describe("Human-readable country name (e.g., 'United States', 'United Kingdom').").nullable()
8
- }).describe("Represents a single proxy country option.");
9
- const ParseraGetProxyCountriesOutput = zod.z.object({ countries: zod.z.array(ParseraGetProxyCountries_ProxyCountrySchema).describe("Array of available proxy countries for web scraping requests.") }).describe("Response model containing list of available proxy countries.");
8
+ }).passthrough().describe("Represents a single proxy country option.");
9
+ const ParseraGetProxyCountriesOutput = zod.z.object({ countries: zod.z.array(ParseraGetProxyCountries_ProxyCountrySchema).describe("Array of available proxy countries for web scraping requests.") }).passthrough().describe("Response model containing list of available proxy countries.");
10
10
  const parseraGetProxyCountries = require_action.action("PARSERA_GET_PROXY_COUNTRIES", {
11
11
  slug: "parsera-get-proxy-countries",
12
12
  name: "Get Proxy Countries",
@@ -1 +1 @@
1
- {"version":3,"file":"get-proxy-countries.cjs","names":["z","action"],"sources":["../../src/actions/get-proxy-countries.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseraGetProxyCountriesInput = z.object({}).describe(\"Request model for GET /v1/proxy-countries endpoint.\\n\\nThis endpoint requires no parameters.\");\nconst ParseraGetProxyCountries_ProxyCountrySchema = z.object({\n code: z.string().describe(\"API parameter code for the country (e.g., 'UnitedStates', 'UnitedKingdom').\").nullable(),\n name: z.string().describe(\"Human-readable country name (e.g., 'United States', 'United Kingdom').\").nullable(),\n}).describe(\"Represents a single proxy country option.\");\nexport const ParseraGetProxyCountriesOutput = z.object({\n countries: z.array(ParseraGetProxyCountries_ProxyCountrySchema).describe(\"Array of available proxy countries for web scraping requests.\"),\n}).describe(\"Response model containing list of available proxy countries.\");\n\nexport const parseraGetProxyCountries = action(\"PARSERA_GET_PROXY_COUNTRIES\", {\n slug: \"parsera-get-proxy-countries\",\n name: \"Get Proxy Countries\",\n description: \"Tool to retrieve the list of available proxy countries for web scraping requests. Use when you need to know which countries are supported for proxy-based scraping.\",\n input: ParseraGetProxyCountriesInput,\n output: ParseraGetProxyCountriesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8FAA8F;AACjK,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAClH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,WAAWA,IAAAA,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,+DAA+D,EAC1I,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAE1E,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"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":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8FAA8F;AACjK,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAClH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,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,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}