@keystrokehq/parsera 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (99) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/create-scraper.cjs +1 -1
  4. package/dist/actions/create-scraper.cjs.map +1 -1
  5. package/dist/actions/create-scraper.d.cts +5 -3
  6. package/dist/actions/create-scraper.d.cts.map +1 -1
  7. package/dist/actions/create-scraper.d.mts +5 -3
  8. package/dist/actions/create-scraper.d.mts.map +1 -1
  9. package/dist/actions/create-scraper.mjs +1 -1
  10. package/dist/actions/create-scraper.mjs.map +1 -1
  11. package/dist/actions/delete-scraper.cjs.map +1 -1
  12. package/dist/actions/delete-scraper.d.cts +9 -3
  13. package/dist/actions/delete-scraper.d.cts.map +1 -1
  14. package/dist/actions/delete-scraper.d.mts +9 -3
  15. package/dist/actions/delete-scraper.d.mts.map +1 -1
  16. package/dist/actions/delete-scraper.mjs.map +1 -1
  17. package/dist/actions/extract-data.cjs.map +1 -1
  18. package/dist/actions/extract-data.d.cts +20 -3
  19. package/dist/actions/extract-data.d.cts.map +1 -1
  20. package/dist/actions/extract-data.d.mts +20 -3
  21. package/dist/actions/extract-data.d.mts.map +1 -1
  22. package/dist/actions/extract-data.mjs.map +1 -1
  23. package/dist/actions/extract-markdown.cjs +2 -2
  24. package/dist/actions/extract-markdown.cjs.map +1 -1
  25. package/dist/actions/extract-markdown.d.cts +21 -3
  26. package/dist/actions/extract-markdown.d.cts.map +1 -1
  27. package/dist/actions/extract-markdown.d.mts +21 -3
  28. package/dist/actions/extract-markdown.d.mts.map +1 -1
  29. package/dist/actions/extract-markdown.mjs +2 -2
  30. package/dist/actions/extract-markdown.mjs.map +1 -1
  31. package/dist/actions/get-llm-specs.cjs +3 -3
  32. package/dist/actions/get-llm-specs.cjs.map +1 -1
  33. package/dist/actions/get-llm-specs.d.cts +43 -3
  34. package/dist/actions/get-llm-specs.d.cts.map +1 -1
  35. package/dist/actions/get-llm-specs.d.mts +43 -3
  36. package/dist/actions/get-llm-specs.d.mts.map +1 -1
  37. package/dist/actions/get-llm-specs.mjs +3 -3
  38. package/dist/actions/get-llm-specs.mjs.map +1 -1
  39. package/dist/actions/get-proxy-countries.cjs +2 -2
  40. package/dist/actions/get-proxy-countries.cjs.map +1 -1
  41. package/dist/actions/get-proxy-countries.d.cts +8 -3
  42. package/dist/actions/get-proxy-countries.d.cts.map +1 -1
  43. package/dist/actions/get-proxy-countries.d.mts +8 -3
  44. package/dist/actions/get-proxy-countries.d.mts.map +1 -1
  45. package/dist/actions/get-proxy-countries.mjs +2 -2
  46. package/dist/actions/get-proxy-countries.mjs.map +1 -1
  47. package/dist/actions/health-check.cjs.map +1 -1
  48. package/dist/actions/health-check.d.cts +5 -3
  49. package/dist/actions/health-check.d.cts.map +1 -1
  50. package/dist/actions/health-check.d.mts +5 -3
  51. package/dist/actions/health-check.d.mts.map +1 -1
  52. package/dist/actions/health-check.mjs.map +1 -1
  53. package/dist/actions/list-agents.cjs +2 -2
  54. package/dist/actions/list-agents.cjs.map +1 -1
  55. package/dist/actions/list-agents.d.cts +8 -3
  56. package/dist/actions/list-agents.d.cts.map +1 -1
  57. package/dist/actions/list-agents.d.mts +8 -3
  58. package/dist/actions/list-agents.d.mts.map +1 -1
  59. package/dist/actions/list-agents.mjs +2 -2
  60. package/dist/actions/list-agents.mjs.map +1 -1
  61. package/dist/actions/list-scrapers.cjs +2 -2
  62. package/dist/actions/list-scrapers.cjs.map +1 -1
  63. package/dist/actions/list-scrapers.d.cts +8 -3
  64. package/dist/actions/list-scrapers.d.cts.map +1 -1
  65. package/dist/actions/list-scrapers.d.mts +8 -3
  66. package/dist/actions/list-scrapers.d.mts.map +1 -1
  67. package/dist/actions/list-scrapers.mjs +2 -2
  68. package/dist/actions/list-scrapers.mjs.map +1 -1
  69. package/dist/actions/parse-content2.cjs.map +1 -1
  70. package/dist/actions/parse-content2.d.cts +37 -3
  71. package/dist/actions/parse-content2.d.cts.map +1 -1
  72. package/dist/actions/parse-content2.d.mts +37 -3
  73. package/dist/actions/parse-content2.d.mts.map +1 -1
  74. package/dist/actions/parse-content2.mjs.map +1 -1
  75. package/dist/actions/remove-agent.cjs.map +1 -1
  76. package/dist/actions/remove-agent.d.cts +10 -3
  77. package/dist/actions/remove-agent.d.cts.map +1 -1
  78. package/dist/actions/remove-agent.d.mts +10 -3
  79. package/dist/actions/remove-agent.d.mts.map +1 -1
  80. package/dist/actions/remove-agent.mjs.map +1 -1
  81. package/dist/actions/run-scraper-template.cjs.map +1 -1
  82. package/dist/actions/run-scraper-template.d.cts +21 -3
  83. package/dist/actions/run-scraper-template.d.cts.map +1 -1
  84. package/dist/actions/run-scraper-template.d.mts +21 -3
  85. package/dist/actions/run-scraper-template.d.mts.map +1 -1
  86. package/dist/actions/run-scraper-template.mjs.map +1 -1
  87. package/dist/actions/scrape-with-agent.cjs.map +1 -1
  88. package/dist/actions/scrape-with-agent.d.cts +13 -3
  89. package/dist/actions/scrape-with-agent.d.cts.map +1 -1
  90. package/dist/actions/scrape-with-agent.d.mts +13 -3
  91. package/dist/actions/scrape-with-agent.d.mts.map +1 -1
  92. package/dist/actions/scrape-with-agent.mjs.map +1 -1
  93. package/dist/catalog.cjs +7 -1
  94. package/dist/catalog.cjs.map +1 -1
  95. package/dist/catalog.d.cts +8 -0
  96. package/dist/catalog.d.mts +8 -0
  97. package/dist/catalog.mjs +7 -1
  98. package/dist/catalog.mjs.map +1 -1
  99. package/package.json +2 -2
@@ -1,9 +1,16 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/remove-agent.d.ts
4
- declare const ParseraRemoveAgentInput: z.ZodTypeAny;
5
- declare const ParseraRemoveAgentOutput: z.ZodTypeAny;
6
- declare const parseraRemoveAgent: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ParseraRemoveAgentInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const ParseraRemoveAgentOutput: z.ZodObject<{
8
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
10
+ }, z.core.$strip>;
11
+ declare const parseraRemoveAgent: import("@keystrokehq/action").WorkflowActionDefinition<{
12
+ name: string;
13
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
14
  //#endregion
8
15
  export { parseraRemoveAgent };
9
16
  //# sourceMappingURL=remove-agent.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"remove-agent.d.cts","names":[],"sources":["../../src/actions/remove-agent.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAEkB;AAAA,cAC7C,wBAAA,EAA0B,CAAA,CAAE,UAGiB;AAAA,cAE7C,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"remove-agent.d.cts","names":[],"sources":["../../src/actions/remove-agent.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAKxB,kBAAA,gCAAkB,wBAAA"}
@@ -1,9 +1,16 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/remove-agent.d.ts
4
- declare const ParseraRemoveAgentInput: z.ZodTypeAny;
5
- declare const ParseraRemoveAgentOutput: z.ZodTypeAny;
6
- declare const parseraRemoveAgent: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ParseraRemoveAgentInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const ParseraRemoveAgentOutput: z.ZodObject<{
8
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
10
+ }, z.core.$strip>;
11
+ declare const parseraRemoveAgent: import("@keystrokehq/action").WorkflowActionDefinition<{
12
+ name: string;
13
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
14
  //#endregion
8
15
  export { parseraRemoveAgent };
9
16
  //# sourceMappingURL=remove-agent.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"remove-agent.d.mts","names":[],"sources":["../../src/actions/remove-agent.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAEkB;AAAA,cAC7C,wBAAA,EAA0B,CAAA,CAAE,UAGiB;AAAA,cAE7C,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"remove-agent.d.mts","names":[],"sources":["../../src/actions/remove-agent.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAKxB,kBAAA,gCAAkB,wBAAA"}
@@ -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.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the agent to be removed. This should match the name used when the agent was created.\"),\n}).describe(\"Request model for POST /v1/remove endpoint.\");\nexport const ParseraRemoveAgentOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Status message or additional information about the removal operation.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the agent was successfully removed.\").nullable().optional(),\n}).describe(\"Response model for agent removal operation.\");\n\nexport const parseraRemoveAgent = action(\"PARSERA_REMOVE_AGENT\", {\n slug: \"parsera-remove-agent\",\n name: \"Remove Agent\",\n description: \"Tool to delete an existing agent by name. Use when you need to remove a previously created agent from the Parsera platform.\",\n input: ParseraRemoveAgentInput,\n output: ParseraRemoveAgentOutput,\n});\n"],"mappings":";;AAYA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZmD,EAAE,OAAO,EAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,EAC1H,CAAC,CAAC,CAAC,SAAS,6CAUH;CACP,QAVoD,EAAE,OAAO;EAC7D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,CAAC,CAAC,CAAC,SAAS,6CAOF;AACV,CAAC"}
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 +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.ZodTypeAny = 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.ZodTypeAny = 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,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,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,kCAAgDA,IAAAA,EAAE,QAAQ;AAEvE,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}).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,9 +1,27 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/run-scraper-template.d.ts
4
- declare const ParseraRunScraperTemplateInput: z.ZodTypeAny;
5
- declare const ParseraRunScraperTemplateOutput: z.ZodTypeAny;
6
- declare const parseraRunScraperTemplate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ParseraRunScraperTemplateInput: z.ZodObject<{
5
+ url: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
6
+ cookies: z.ZodOptional<z.ZodArray<z.ZodObject<{
7
+ name: z.ZodString;
8
+ value: z.ZodString;
9
+ domain: z.ZodString;
10
+ }, z.core.$strip>>>;
11
+ template_id: z.ZodString;
12
+ proxy_country: z.ZodOptional<z.ZodString>;
13
+ }, z.core.$strip>;
14
+ declare const ParseraRunScraperTemplateOutput: z.ZodUnknown;
15
+ declare const parseraRunScraperTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
16
+ template_id: string;
17
+ url?: string | string[] | undefined;
18
+ cookies?: {
19
+ name: string;
20
+ value: string;
21
+ domain: string;
22
+ }[] | undefined;
23
+ proxy_country?: string | undefined;
24
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
25
  //#endregion
8
26
  export { parseraRunScraperTemplate };
9
27
  //# sourceMappingURL=run-scraper-template.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"run-scraper-template.d.cts","names":[],"sources":["../../src/actions/run-scraper-template.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAS7C;AAAA,cACW,+BAAA,EAAiC,CAAA,CAAE,UAAwB;AAAA,cAE3D,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"run-scraper-template.d.cts","names":[],"sources":["../../src/actions/run-scraper-template.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;cAU9B,+BAAA,EAA+B,CAAA,CAAA,UAAc;AAAA,cAE7C,yBAAA,gCAAyB,wBAAA"}
@@ -1,9 +1,27 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/run-scraper-template.d.ts
4
- declare const ParseraRunScraperTemplateInput: z.ZodTypeAny;
5
- declare const ParseraRunScraperTemplateOutput: z.ZodTypeAny;
6
- declare const parseraRunScraperTemplate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ParseraRunScraperTemplateInput: z.ZodObject<{
5
+ url: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
6
+ cookies: z.ZodOptional<z.ZodArray<z.ZodObject<{
7
+ name: z.ZodString;
8
+ value: z.ZodString;
9
+ domain: z.ZodString;
10
+ }, z.core.$strip>>>;
11
+ template_id: z.ZodString;
12
+ proxy_country: z.ZodOptional<z.ZodString>;
13
+ }, z.core.$strip>;
14
+ declare const ParseraRunScraperTemplateOutput: z.ZodUnknown;
15
+ declare const parseraRunScraperTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
16
+ template_id: string;
17
+ url?: string | string[] | undefined;
18
+ cookies?: {
19
+ name: string;
20
+ value: string;
21
+ domain: string;
22
+ }[] | undefined;
23
+ proxy_country?: string | undefined;
24
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
25
  //#endregion
8
26
  export { parseraRunScraperTemplate };
9
27
  //# sourceMappingURL=run-scraper-template.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"run-scraper-template.d.mts","names":[],"sources":["../../src/actions/run-scraper-template.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAS7C;AAAA,cACW,+BAAA,EAAiC,CAAA,CAAE,UAAwB;AAAA,cAE3D,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"run-scraper-template.d.mts","names":[],"sources":["../../src/actions/run-scraper-template.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;cAU9B,+BAAA,EAA+B,CAAA,CAAA,UAAc;AAAA,cAE7C,yBAAA,gCAAyB,wBAAA"}
@@ -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.ZodTypeAny = 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.ZodTypeAny = 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,OAhB0D,EAAE,OAAO;EACnE,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,QAP2D,EAAE,QAOrD;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}).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 +1 @@
1
- {"version":3,"file":"scrape-with-agent.cjs","names":["z","action"],"sources":["../../src/actions/scrape-with-agent.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseraScrapeWithAgentInput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"The webpage URL where data extraction will occur.\"),\n name: z.string().describe(\"Identifier for the agent/scraper to use. For pre-built agents, prefix with 'public/' (e.g., 'public/hackernews', 'public/crunchbase').\"),\n cookies: z.array(z.record(z.string(), z.unknown())).describe(\"Authentication or session cookies for the request. Each cookie should be a dictionary with 'name' and 'value' fields.\").optional(),\n proxy_country: z.string().describe(\"Geographic location for proxy routing (e.g., 'UnitedStates', 'UnitedKingdom'). Default: 'UnitedStates'.\").optional(),\n}).describe(\"Request model for POST /v1/scrape endpoint.\");\nexport const ParseraScrapeWithAgentOutput: z.ZodTypeAny = z.unknown();\n\nexport const parseraScrapeWithAgent = action(\"PARSERA_SCRAPE_WITH_AGENT\", {\n slug: \"parsera-scrape-with-agent\",\n name: \"Scrape With Agent\",\n description: \"Tool to run a previously generated scraper agent on a specific URL to extract structured data. Use when you need to apply an existing scraper to a webpage.\",\n input: ParseraScrapeWithAgentInput,\n output: ParseraScrapeWithAgentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI;CAClK,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;CAC/L,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;AACzJ,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAa,+BAA6CA,IAAAA,EAAE,QAAQ;AAEpE,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"scrape-with-agent.cjs","names":["z","action"],"sources":["../../src/actions/scrape-with-agent.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseraScrapeWithAgentInput = z.object({\n url: z.string().describe(\"The webpage URL where data extraction will occur.\"),\n name: z.string().describe(\"Identifier for the agent/scraper to use. For pre-built agents, prefix with 'public/' (e.g., 'public/hackernews', 'public/crunchbase').\"),\n cookies: z.array(z.record(z.string(), z.unknown())).describe(\"Authentication or session cookies for the request. Each cookie should be a dictionary with 'name' and 'value' fields.\").optional(),\n proxy_country: z.string().describe(\"Geographic location for proxy routing (e.g., 'UnitedStates', 'UnitedKingdom'). Default: 'UnitedStates'.\").optional(),\n}).describe(\"Request model for POST /v1/scrape endpoint.\");\nexport const ParseraScrapeWithAgentOutput = z.unknown();\n\nexport const parseraScrapeWithAgent = action(\"PARSERA_SCRAPE_WITH_AGENT\", {\n slug: \"parsera-scrape-with-agent\",\n name: \"Scrape With Agent\",\n description: \"Tool to run a previously generated scraper agent on a specific URL to extract structured data. Use when you need to apply an existing scraper to a webpage.\",\n input: ParseraScrapeWithAgentInput,\n output: ParseraScrapeWithAgentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI;CAClK,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;CAC/L,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;AACzJ,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAa,+BAA+BA,IAAAA,EAAE,QAAQ;AAEtD,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,19 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/scrape-with-agent.d.ts
4
- declare const ParseraScrapeWithAgentInput: z.ZodTypeAny;
5
- declare const ParseraScrapeWithAgentOutput: z.ZodTypeAny;
6
- declare const parseraScrapeWithAgent: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ParseraScrapeWithAgentInput: z.ZodObject<{
5
+ url: z.ZodString;
6
+ name: z.ZodString;
7
+ cookies: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
8
+ proxy_country: z.ZodOptional<z.ZodString>;
9
+ }, z.core.$strip>;
10
+ declare const ParseraScrapeWithAgentOutput: z.ZodUnknown;
11
+ declare const parseraScrapeWithAgent: import("@keystrokehq/action").WorkflowActionDefinition<{
12
+ url: string;
13
+ name: string;
14
+ cookies?: Record<string, unknown>[] | undefined;
15
+ proxy_country?: string | undefined;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
17
  //#endregion
8
18
  export { parseraScrapeWithAgent };
9
19
  //# sourceMappingURL=scrape-with-agent.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"scrape-with-agent.d.cts","names":[],"sources":["../../src/actions/scrape-with-agent.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAKc;AAAA,cAC7C,4BAAA,EAA8B,CAAA,CAAE,UAAwB;AAAA,cAExD,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"scrape-with-agent.d.cts","names":[],"sources":["../../src/actions/scrape-with-agent.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;cAM3B,4BAAA,EAA4B,CAAA,CAAA,UAAc;AAAA,cAE1C,sBAAA,gCAAsB,wBAAA;;;YAMjC,MAAA"}
@@ -1,9 +1,19 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/scrape-with-agent.d.ts
4
- declare const ParseraScrapeWithAgentInput: z.ZodTypeAny;
5
- declare const ParseraScrapeWithAgentOutput: z.ZodTypeAny;
6
- declare const parseraScrapeWithAgent: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ParseraScrapeWithAgentInput: z.ZodObject<{
5
+ url: z.ZodString;
6
+ name: z.ZodString;
7
+ cookies: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
8
+ proxy_country: z.ZodOptional<z.ZodString>;
9
+ }, z.core.$strip>;
10
+ declare const ParseraScrapeWithAgentOutput: z.ZodUnknown;
11
+ declare const parseraScrapeWithAgent: import("@keystrokehq/action").WorkflowActionDefinition<{
12
+ url: string;
13
+ name: string;
14
+ cookies?: Record<string, unknown>[] | undefined;
15
+ proxy_country?: string | undefined;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
17
  //#endregion
8
18
  export { parseraScrapeWithAgent };
9
19
  //# sourceMappingURL=scrape-with-agent.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"scrape-with-agent.d.mts","names":[],"sources":["../../src/actions/scrape-with-agent.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAKc;AAAA,cAC7C,4BAAA,EAA8B,CAAA,CAAE,UAAwB;AAAA,cAExD,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"scrape-with-agent.d.mts","names":[],"sources":["../../src/actions/scrape-with-agent.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;cAM3B,4BAAA,EAA4B,CAAA,CAAA,UAAc;AAAA,cAE1C,sBAAA,gCAAsB,wBAAA;;;YAMjC,MAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"scrape-with-agent.mjs","names":[],"sources":["../../src/actions/scrape-with-agent.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseraScrapeWithAgentInput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"The webpage URL where data extraction will occur.\"),\n name: z.string().describe(\"Identifier for the agent/scraper to use. For pre-built agents, prefix with 'public/' (e.g., 'public/hackernews', 'public/crunchbase').\"),\n cookies: z.array(z.record(z.string(), z.unknown())).describe(\"Authentication or session cookies for the request. Each cookie should be a dictionary with 'name' and 'value' fields.\").optional(),\n proxy_country: z.string().describe(\"Geographic location for proxy routing (e.g., 'UnitedStates', 'UnitedKingdom'). Default: 'UnitedStates'.\").optional(),\n}).describe(\"Request model for POST /v1/scrape endpoint.\");\nexport const ParseraScrapeWithAgentOutput: z.ZodTypeAny = z.unknown();\n\nexport const parseraScrapeWithAgent = action(\"PARSERA_SCRAPE_WITH_AGENT\", {\n slug: \"parsera-scrape-with-agent\",\n name: \"Scrape With Agent\",\n description: \"Tool to run a previously generated scraper agent on a specific URL to extract structured data. Use when you need to apply an existing scraper to a webpage.\",\n input: ParseraScrapeWithAgentInput,\n output: ParseraScrapeWithAgentOutput,\n});\n"],"mappings":";;AAYA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZuD,EAAE,OAAO;EAChE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;EAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI;EAClK,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;EAC/L,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CACzJ,CAAC,CAAC,CAAC,SAAS,6CAOH;CACP,QAPwD,EAAE,QAOlD;AACV,CAAC"}
1
+ {"version":3,"file":"scrape-with-agent.mjs","names":[],"sources":["../../src/actions/scrape-with-agent.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseraScrapeWithAgentInput = z.object({\n url: z.string().describe(\"The webpage URL where data extraction will occur.\"),\n name: z.string().describe(\"Identifier for the agent/scraper to use. For pre-built agents, prefix with 'public/' (e.g., 'public/hackernews', 'public/crunchbase').\"),\n cookies: z.array(z.record(z.string(), z.unknown())).describe(\"Authentication or session cookies for the request. Each cookie should be a dictionary with 'name' and 'value' fields.\").optional(),\n proxy_country: z.string().describe(\"Geographic location for proxy routing (e.g., 'UnitedStates', 'UnitedKingdom'). Default: 'UnitedStates'.\").optional(),\n}).describe(\"Request model for POST /v1/scrape endpoint.\");\nexport const ParseraScrapeWithAgentOutput = z.unknown();\n\nexport const parseraScrapeWithAgent = action(\"PARSERA_SCRAPE_WITH_AGENT\", {\n slug: \"parsera-scrape-with-agent\",\n name: \"Scrape With Agent\",\n description: \"Tool to run a previously generated scraper agent on a specific URL to extract structured data. Use when you need to apply an existing scraper to a webpage.\",\n input: ParseraScrapeWithAgentInput,\n output: ParseraScrapeWithAgentOutput,\n});\n"],"mappings":";;AAYA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZyC,EAAE,OAAO;EAClD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;EAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI;EAClK,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;EAC/L,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CACzJ,CAAC,CAAC,CAAC,SAAS,6CAOH;CACP,QAP0C,EAAE,QAOpC;AACV,CAAC"}
package/dist/catalog.cjs CHANGED
@@ -7,7 +7,13 @@ const parseraCatalog = {
7
7
  "category": "AI Web Scraping",
8
8
  "logo": "https://logos.composio.dev/api/parsera",
9
9
  "authKind": "keystroke",
10
- "oauthScopes": []
10
+ "oauthScopes": [],
11
+ "credentialFields": { "api_key": {
12
+ "label": "Parsera API Key",
13
+ "secret": true,
14
+ "description": "Your Parsera API key, obtainable from the 'API' tab on the Parsera web page."
15
+ } },
16
+ "credentialScheme": "API_KEY"
11
17
  };
12
18
  //#endregion
13
19
  exports.parseraCatalog = parseraCatalog;
@@ -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} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
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"}
@@ -8,6 +8,14 @@ declare const parseraCatalog: {
8
8
  readonly logo: "https://logos.composio.dev/api/parsera";
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
+ readonly credentialFields: {
12
+ readonly api_key: {
13
+ readonly label: "Parsera API Key";
14
+ readonly secret: true;
15
+ readonly description: "Your Parsera API key, obtainable from the 'API' tab on the Parsera web page.";
16
+ };
17
+ };
18
+ readonly credentialScheme: "API_KEY";
11
19
  };
12
20
  //#endregion
13
21
  export { parseraCatalog };
@@ -8,6 +8,14 @@ declare const parseraCatalog: {
8
8
  readonly logo: "https://logos.composio.dev/api/parsera";
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
+ readonly credentialFields: {
12
+ readonly api_key: {
13
+ readonly label: "Parsera API Key";
14
+ readonly secret: true;
15
+ readonly description: "Your Parsera API key, obtainable from the 'API' tab on the Parsera web page.";
16
+ };
17
+ };
18
+ readonly credentialScheme: "API_KEY";
11
19
  };
12
20
  //#endregion
13
21
  export { parseraCatalog };
package/dist/catalog.mjs CHANGED
@@ -7,7 +7,13 @@ const parseraCatalog = {
7
7
  "category": "AI Web Scraping",
8
8
  "logo": "https://logos.composio.dev/api/parsera",
9
9
  "authKind": "keystroke",
10
- "oauthScopes": []
10
+ "oauthScopes": [],
11
+ "credentialFields": { "api_key": {
12
+ "label": "Parsera API Key",
13
+ "secret": true,
14
+ "description": "Your Parsera API key, obtainable from the 'API' tab on the Parsera web page."
15
+ } },
16
+ "credentialScheme": "API_KEY"
11
17
  };
12
18
  //#endregion
13
19
  export { parseraCatalog };
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.mjs","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} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
1
+ {"version":3,"file":"catalog.mjs","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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/parsera",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -31,7 +31,7 @@
31
31
  }
32
32
  },
33
33
  "peerDependencies": {
34
- "@keystrokehq/keystroke": "^0.1.4",
34
+ "@keystrokehq/keystroke": ">=0.1.4",
35
35
  "zod": "^4.4.3"
36
36
  },
37
37
  "devDependencies": {