@keystrokehq/renderform 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/create-pdf-from-url.cjs +1 -0
  4. package/dist/actions/create-pdf-from-url.cjs.map +1 -1
  5. package/dist/actions/create-pdf-from-url.d.cts +3 -18
  6. package/dist/actions/create-pdf-from-url.d.cts.map +1 -1
  7. package/dist/actions/create-pdf-from-url.d.mts +3 -18
  8. package/dist/actions/create-pdf-from-url.d.mts.map +1 -1
  9. package/dist/actions/create-pdf-from-url.mjs +1 -0
  10. package/dist/actions/create-pdf-from-url.mjs.map +1 -1
  11. package/dist/actions/delete-result.cjs +1 -0
  12. package/dist/actions/delete-result.cjs.map +1 -1
  13. package/dist/actions/delete-result.d.cts +3 -15
  14. package/dist/actions/delete-result.d.cts.map +1 -1
  15. package/dist/actions/delete-result.d.mts +3 -15
  16. package/dist/actions/delete-result.d.mts.map +1 -1
  17. package/dist/actions/delete-result.mjs +1 -0
  18. package/dist/actions/delete-result.mjs.map +1 -1
  19. package/dist/actions/get-result.cjs +1 -0
  20. package/dist/actions/get-result.cjs.map +1 -1
  21. package/dist/actions/get-result.d.cts +3 -15
  22. package/dist/actions/get-result.d.cts.map +1 -1
  23. package/dist/actions/get-result.d.mts +3 -15
  24. package/dist/actions/get-result.d.mts.map +1 -1
  25. package/dist/actions/get-result.mjs +1 -0
  26. package/dist/actions/get-result.mjs.map +1 -1
  27. package/dist/actions/list-fonts.cjs +1 -0
  28. package/dist/actions/list-fonts.cjs.map +1 -1
  29. package/dist/actions/list-fonts.d.cts +3 -13
  30. package/dist/actions/list-fonts.d.cts.map +1 -1
  31. package/dist/actions/list-fonts.d.mts +3 -13
  32. package/dist/actions/list-fonts.d.mts.map +1 -1
  33. package/dist/actions/list-fonts.mjs +1 -0
  34. package/dist/actions/list-fonts.mjs.map +1 -1
  35. package/dist/actions/list-results-v2.cjs +1 -0
  36. package/dist/actions/list-results-v2.cjs.map +1 -1
  37. package/dist/actions/list-results-v2.d.cts +3 -18
  38. package/dist/actions/list-results-v2.d.cts.map +1 -1
  39. package/dist/actions/list-results-v2.d.mts +3 -18
  40. package/dist/actions/list-results-v2.d.mts.map +1 -1
  41. package/dist/actions/list-results-v2.mjs +1 -0
  42. package/dist/actions/list-results-v2.mjs.map +1 -1
  43. package/dist/actions/list-templates-v2.cjs +1 -0
  44. package/dist/actions/list-templates-v2.cjs.map +1 -1
  45. package/dist/actions/list-templates-v2.d.cts +3 -19
  46. package/dist/actions/list-templates-v2.d.cts.map +1 -1
  47. package/dist/actions/list-templates-v2.d.mts +3 -19
  48. package/dist/actions/list-templates-v2.d.mts.map +1 -1
  49. package/dist/actions/list-templates-v2.mjs +1 -0
  50. package/dist/actions/list-templates-v2.mjs.map +1 -1
  51. package/dist/actions/take-screenshot.cjs +1 -0
  52. package/dist/actions/take-screenshot.cjs.map +1 -1
  53. package/dist/actions/take-screenshot.d.cts +3 -18
  54. package/dist/actions/take-screenshot.d.cts.map +1 -1
  55. package/dist/actions/take-screenshot.d.mts +3 -18
  56. package/dist/actions/take-screenshot.d.mts.map +1 -1
  57. package/dist/actions/take-screenshot.mjs +1 -0
  58. package/dist/actions/take-screenshot.mjs.map +1 -1
  59. package/dist/app.cjs +2 -2
  60. package/dist/app.cjs.map +1 -1
  61. package/dist/app.d.cts +4 -6
  62. package/dist/app.d.cts.map +1 -1
  63. package/dist/app.d.mts +4 -6
  64. package/dist/app.d.mts.map +1 -1
  65. package/dist/app.mjs +0 -1
  66. package/dist/app.mjs.map +1 -1
  67. package/dist/index.d.cts +1 -1
  68. package/dist/index.d.mts +1 -1
  69. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"action.cjs","names":["renderform","executeRenderformTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { renderform } from \"./app\";\nimport { executeRenderformTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return renderform.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeRenderformTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,WAAW,OAAO;EACvB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,sBAAsB,MAAM,KAAgC,CAAC;EAC7F;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.cjs","names":["renderform","executeRenderformTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { renderform } from \"./app\";\nimport { executeRenderformTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof renderform.credential> {\n return renderform.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeRenderformTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAO0D;CAC1D,OAAOA,YAAAA,WAAW,OAAO;EACvB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,sBAAsB,MAAM,KAAgC,CAAC;EAC7F;CACF,CAAC;AACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { renderform } from \"./app\";\nimport { executeRenderformTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return renderform.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeRenderformTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,WAAW,OAAO;EACvB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,sBAAsB,MAAM,KAAgC,CAAC;EAC7F;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { renderform } from \"./app\";\nimport { executeRenderformTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof renderform.credential> {\n return renderform.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeRenderformTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAO0D;CAC1D,OAAO,WAAW,OAAO;EACvB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,sBAAsB,MAAM,KAAgC,CAAC;EAC7F;CACF,CAAC;AACH"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/create-pdf-from-url.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-pdf-from-url.cjs","names":["z","action"],"sources":["../../src/actions/create-pdf-from-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RenderformCreatePdfFromUrlInput = z.object({\n url: z.string().describe(\"URL of the website to convert to PDF; must include http:// or https://\"),\n format: z.enum([\"A5\", \"A4\", \"A3\", \"LETTER\", \"LEGAL\"]).default(\"A4\").describe(\"Output format of the PDF\").optional(),\n expires: z.number().int().describe(\"Automatically delete the PDF after this many seconds (1–604800, max 7 days)\").optional(),\n waitTime: z.number().int().describe(\"Wait time in milliseconds before capturing the PDF (0–5000)\").optional(),\n});\nconst RenderformCreatePdfFromUrl_CreatePdfFromUrlResponseRequestSchema = z.object({\n url: z.string().describe(\"URL of the website captured\").nullable(),\n format: z.string().describe(\"Output format of the PDF\").nullable(),\n expires: z.number().int().describe(\"Automatically delete the PDF after this many seconds\").nullable().optional(),\n waitTime: z.number().int().describe(\"Wait time in milliseconds before capturing the PDF\").nullable().optional(),\n}).passthrough();\nexport const RenderformCreatePdfFromUrlOutput = z.object({\n href: z.string().describe(\"URL to the generated PDF file\").nullable(),\n request: RenderformCreatePdfFromUrl_CreatePdfFromUrlResponseRequestSchema.nullable(),\n requestId: z.string().describe(\"Unique identifier for this PDF generation request\").nullable(),\n}).passthrough();\n\nexport const renderformCreatePdfFromUrl = action(\"RENDERFORM_CREATE_PDF_FROM_URL\", {\n slug: \"renderform-create-pdf-from-url\",\n name: \"Create PDF from URL\",\n description: \"Tool to create a PDF from any website URL with customizable page format and auto-expiration. Use when you need to generate a PDF snapshot of a webpage.\",\n input: RenderformCreatePdfFromUrlInput,\n output: RenderformCreatePdfFromUrlOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CACjG,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAM;EAAM;EAAM;EAAU;CAAO,CAAC,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAClH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC3H,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;AAC9G,CAAC;AACD,MAAM,mEAAmEA,IAAAA,EAAE,OAAO;CAChF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACjE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACjE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpE,SAAS,iEAAiE,SAAS;CACnF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-pdf-from-url.cjs","names":["z","action"],"sources":["../../src/actions/create-pdf-from-url.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { renderform } from \"../app\";\n\nexport const RenderformCreatePdfFromUrlInput = z.object({\n url: z.string().describe(\"URL of the website to convert to PDF; must include http:// or https://\"),\n format: z.enum([\"A5\", \"A4\", \"A3\", \"LETTER\", \"LEGAL\"]).default(\"A4\").describe(\"Output format of the PDF\").optional(),\n expires: z.number().int().describe(\"Automatically delete the PDF after this many seconds (1–604800, max 7 days)\").optional(),\n waitTime: z.number().int().describe(\"Wait time in milliseconds before capturing the PDF (0–5000)\").optional(),\n});\nconst RenderformCreatePdfFromUrl_CreatePdfFromUrlResponseRequestSchema = z.object({\n url: z.string().describe(\"URL of the website captured\").nullable(),\n format: z.string().describe(\"Output format of the PDF\").nullable(),\n expires: z.number().int().describe(\"Automatically delete the PDF after this many seconds\").nullable().optional(),\n waitTime: z.number().int().describe(\"Wait time in milliseconds before capturing the PDF\").nullable().optional(),\n}).passthrough();\nexport const RenderformCreatePdfFromUrlOutput = z.object({\n href: z.string().describe(\"URL to the generated PDF file\").nullable(),\n request: RenderformCreatePdfFromUrl_CreatePdfFromUrlResponseRequestSchema.nullable(),\n requestId: z.string().describe(\"Unique identifier for this PDF generation request\").nullable(),\n}).passthrough();\n\nexport const renderformCreatePdfFromUrl: AppAction<\n typeof RenderformCreatePdfFromUrlInput,\n typeof RenderformCreatePdfFromUrlOutput,\n typeof renderform.credential\n> = action(\"RENDERFORM_CREATE_PDF_FROM_URL\", {\n slug: \"renderform-create-pdf-from-url\",\n name: \"Create PDF from URL\",\n description: \"Tool to create a PDF from any website URL with customizable page format and auto-expiration. Use when you need to generate a PDF snapshot of a webpage.\",\n input: RenderformCreatePdfFromUrlInput,\n output: RenderformCreatePdfFromUrlOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CACjG,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAM;EAAM;EAAM;EAAU;CAAO,CAAC,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAClH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC3H,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;AAC9G,CAAC;AACD,MAAM,mEAAmEA,IAAAA,EAAE,OAAO;CAChF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACjE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACjE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpE,SAAS,iEAAiE,SAAS;CACnF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,6BAITC,eAAAA,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { renderform } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-pdf-from-url.d.ts
@@ -23,24 +25,7 @@ declare const RenderformCreatePdfFromUrlOutput: z.ZodObject<{
23
25
  }, z.core.$loose>>;
24
26
  requestId: z.ZodNullable<z.ZodString>;
25
27
  }, z.core.$loose>;
26
- declare const renderformCreatePdfFromUrl: import("@keystrokehq/action").WorkflowActionDefinition<{
27
- url: string;
28
- format?: "A5" | "A4" | "A3" | "LETTER" | "LEGAL" | undefined;
29
- expires?: number | undefined;
30
- waitTime?: number | undefined;
31
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"renderform", z.ZodObject<{
32
- connectionId: z.ZodString;
33
- entityId: z.ZodString;
34
- instanceId: z.ZodString;
35
- }, z.core.$strip>, z.ZodObject<{
36
- generic_api_key: z.ZodString;
37
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"renderform", z.ZodObject<{
38
- connectionId: z.ZodString;
39
- entityId: z.ZodString;
40
- instanceId: z.ZodString;
41
- }, z.core.$strip>, z.ZodObject<{
42
- generic_api_key: z.ZodString;
43
- }, z.core.$strip>>]>;
28
+ declare const renderformCreatePdfFromUrl: AppAction<typeof RenderformCreatePdfFromUrlInput, typeof RenderformCreatePdfFromUrlOutput, typeof renderform.credential>;
44
29
  //#endregion
45
30
  export { renderformCreatePdfFromUrl };
46
31
  //# sourceMappingURL=create-pdf-from-url.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-pdf-from-url.d.cts","names":[],"sources":["../../src/actions/create-pdf-from-url.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAY/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;cAMhC,0BAAA,gCAA0B,wBAAA"}
1
+ {"version":3,"file":"create-pdf-from-url.d.cts","names":[],"sources":["../../src/actions/create-pdf-from-url.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAY/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;cAMhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,UAAA,CAAW,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { renderform } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-pdf-from-url.d.ts
@@ -23,24 +25,7 @@ declare const RenderformCreatePdfFromUrlOutput: z.ZodObject<{
23
25
  }, z.core.$loose>>;
24
26
  requestId: z.ZodNullable<z.ZodString>;
25
27
  }, z.core.$loose>;
26
- declare const renderformCreatePdfFromUrl: import("@keystrokehq/action").WorkflowActionDefinition<{
27
- url: string;
28
- format?: "A5" | "A4" | "A3" | "LETTER" | "LEGAL" | undefined;
29
- expires?: number | undefined;
30
- waitTime?: number | undefined;
31
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"renderform", z.ZodObject<{
32
- connectionId: z.ZodString;
33
- entityId: z.ZodString;
34
- instanceId: z.ZodString;
35
- }, z.core.$strip>, z.ZodObject<{
36
- generic_api_key: z.ZodString;
37
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"renderform", z.ZodObject<{
38
- connectionId: z.ZodString;
39
- entityId: z.ZodString;
40
- instanceId: z.ZodString;
41
- }, z.core.$strip>, z.ZodObject<{
42
- generic_api_key: z.ZodString;
43
- }, z.core.$strip>>]>;
28
+ declare const renderformCreatePdfFromUrl: AppAction<typeof RenderformCreatePdfFromUrlInput, typeof RenderformCreatePdfFromUrlOutput, typeof renderform.credential>;
44
29
  //#endregion
45
30
  export { renderformCreatePdfFromUrl };
46
31
  //# sourceMappingURL=create-pdf-from-url.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-pdf-from-url.d.mts","names":[],"sources":["../../src/actions/create-pdf-from-url.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAY/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;cAMhC,0BAAA,gCAA0B,wBAAA"}
1
+ {"version":3,"file":"create-pdf-from-url.d.mts","names":[],"sources":["../../src/actions/create-pdf-from-url.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAY/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;cAMhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,UAAA,CAAW,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/create-pdf-from-url.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-pdf-from-url.mjs","names":[],"sources":["../../src/actions/create-pdf-from-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RenderformCreatePdfFromUrlInput = z.object({\n url: z.string().describe(\"URL of the website to convert to PDF; must include http:// or https://\"),\n format: z.enum([\"A5\", \"A4\", \"A3\", \"LETTER\", \"LEGAL\"]).default(\"A4\").describe(\"Output format of the PDF\").optional(),\n expires: z.number().int().describe(\"Automatically delete the PDF after this many seconds (1–604800, max 7 days)\").optional(),\n waitTime: z.number().int().describe(\"Wait time in milliseconds before capturing the PDF (0–5000)\").optional(),\n});\nconst RenderformCreatePdfFromUrl_CreatePdfFromUrlResponseRequestSchema = z.object({\n url: z.string().describe(\"URL of the website captured\").nullable(),\n format: z.string().describe(\"Output format of the PDF\").nullable(),\n expires: z.number().int().describe(\"Automatically delete the PDF after this many seconds\").nullable().optional(),\n waitTime: z.number().int().describe(\"Wait time in milliseconds before capturing the PDF\").nullable().optional(),\n}).passthrough();\nexport const RenderformCreatePdfFromUrlOutput = z.object({\n href: z.string().describe(\"URL to the generated PDF file\").nullable(),\n request: RenderformCreatePdfFromUrl_CreatePdfFromUrlResponseRequestSchema.nullable(),\n requestId: z.string().describe(\"Unique identifier for this PDF generation request\").nullable(),\n}).passthrough();\n\nexport const renderformCreatePdfFromUrl = action(\"RENDERFORM_CREATE_PDF_FROM_URL\", {\n slug: \"renderform-create-pdf-from-url\",\n name: \"Create PDF from URL\",\n description: \"Tool to create a PDF from any website URL with customizable page format and auto-expiration. Use when you need to generate a PDF snapshot of a webpage.\",\n input: RenderformCreatePdfFromUrlInput,\n output: RenderformCreatePdfFromUrlOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CACjG,QAAQ,EAAE,KAAK;EAAC;EAAM;EAAM;EAAM;EAAU;CAAO,CAAC,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAClH,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC3H,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;AAC9G,CAAC;AACD,MAAM,mEAAmE,EAAE,OAAO;CAChF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACjE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACjE,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY;AAOf,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX8C,EAAE,OAAO;EACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACpE,SAAS,iEAAiE,SAAS;EACnF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"create-pdf-from-url.mjs","names":[],"sources":["../../src/actions/create-pdf-from-url.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { renderform } from \"../app\";\n\nexport const RenderformCreatePdfFromUrlInput = z.object({\n url: z.string().describe(\"URL of the website to convert to PDF; must include http:// or https://\"),\n format: z.enum([\"A5\", \"A4\", \"A3\", \"LETTER\", \"LEGAL\"]).default(\"A4\").describe(\"Output format of the PDF\").optional(),\n expires: z.number().int().describe(\"Automatically delete the PDF after this many seconds (1–604800, max 7 days)\").optional(),\n waitTime: z.number().int().describe(\"Wait time in milliseconds before capturing the PDF (0–5000)\").optional(),\n});\nconst RenderformCreatePdfFromUrl_CreatePdfFromUrlResponseRequestSchema = z.object({\n url: z.string().describe(\"URL of the website captured\").nullable(),\n format: z.string().describe(\"Output format of the PDF\").nullable(),\n expires: z.number().int().describe(\"Automatically delete the PDF after this many seconds\").nullable().optional(),\n waitTime: z.number().int().describe(\"Wait time in milliseconds before capturing the PDF\").nullable().optional(),\n}).passthrough();\nexport const RenderformCreatePdfFromUrlOutput = z.object({\n href: z.string().describe(\"URL to the generated PDF file\").nullable(),\n request: RenderformCreatePdfFromUrl_CreatePdfFromUrlResponseRequestSchema.nullable(),\n requestId: z.string().describe(\"Unique identifier for this PDF generation request\").nullable(),\n}).passthrough();\n\nexport const renderformCreatePdfFromUrl: AppAction<\n typeof RenderformCreatePdfFromUrlInput,\n typeof RenderformCreatePdfFromUrlOutput,\n typeof renderform.credential\n> = action(\"RENDERFORM_CREATE_PDF_FROM_URL\", {\n slug: \"renderform-create-pdf-from-url\",\n name: \"Create PDF from URL\",\n description: \"Tool to create a PDF from any website URL with customizable page format and auto-expiration. Use when you need to generate a PDF snapshot of a webpage.\",\n input: RenderformCreatePdfFromUrlInput,\n output: RenderformCreatePdfFromUrlOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkC,EAAE,OAAO;CACtD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CACjG,QAAQ,EAAE,KAAK;EAAC;EAAM;EAAM;EAAM;EAAU;CAAO,CAAC,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAClH,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC3H,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;AAC9G,CAAC;AACD,MAAM,mEAAmE,EAAE,OAAO;CAChF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACjE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACjE,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY;AAOf,MAAa,6BAIT,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAf8C,EAAE,OAAO;EACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACpE,SAAS,iEAAiE,SAAS;EACnF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/delete-result.ts
@@ -1 +1 @@
1
- {"version":3,"file":"delete-result.cjs","names":["z","action"],"sources":["../../src/actions/delete-result.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RenderformDeleteResultInput = z.object({\n identifier: z.string().describe(\"Unique identifier of the result to delete (e.g., req-b71ba6dc-0bfc-40ed-8fe6-7b84e880691a)\"),\n}).describe(\"Request parameters for deleting a render result.\");\nexport const RenderformDeleteResultOutput = z.object({\n message: z.string().default(\"Result deleted successfully\").describe(\"Success message confirming the deletion\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates successful deletion of the result\").nullable().optional(),\n}).passthrough().describe(\"Response schema for deleting a result.\");\n\nexport const renderformDeleteResult = action(\"RENDERFORM_DELETE_RESULT\", {\n slug: \"renderform-delete-result\",\n name: \"Delete Result\",\n description: \"Tool to delete a render result (image/PDF) by its identifier. Use when you need to remove a previously generated image or PDF from the system.\",\n input: RenderformDeleteResultInput,\n output: RenderformDeleteResultOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,EAC9H,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,6BAA6B,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-result.cjs","names":["z","action"],"sources":["../../src/actions/delete-result.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { renderform } from \"../app\";\n\nexport const RenderformDeleteResultInput = z.object({\n identifier: z.string().describe(\"Unique identifier of the result to delete (e.g., req-b71ba6dc-0bfc-40ed-8fe6-7b84e880691a)\"),\n}).describe(\"Request parameters for deleting a render result.\");\nexport const RenderformDeleteResultOutput = z.object({\n message: z.string().default(\"Result deleted successfully\").describe(\"Success message confirming the deletion\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates successful deletion of the result\").nullable().optional(),\n}).passthrough().describe(\"Response schema for deleting a result.\");\n\nexport const renderformDeleteResult: AppAction<\n typeof RenderformDeleteResultInput,\n typeof RenderformDeleteResultOutput,\n typeof renderform.credential\n> = action(\"RENDERFORM_DELETE_RESULT\", {\n slug: \"renderform-delete-result\",\n name: \"Delete Result\",\n description: \"Tool to delete a render result (image/PDF) by its identifier. Use when you need to remove a previously generated image or PDF from the system.\",\n input: RenderformDeleteResultInput,\n output: RenderformDeleteResultOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,EAC9H,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,6BAA6B,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,yBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { renderform } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-result.d.ts
@@ -8,21 +10,7 @@ declare const RenderformDeleteResultOutput: z.ZodObject<{
8
10
  message: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
9
11
  success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
10
12
  }, z.core.$loose>;
11
- declare const renderformDeleteResult: import("@keystrokehq/action").WorkflowActionDefinition<{
12
- identifier: string;
13
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"renderform", z.ZodObject<{
14
- connectionId: z.ZodString;
15
- entityId: z.ZodString;
16
- instanceId: z.ZodString;
17
- }, z.core.$strip>, z.ZodObject<{
18
- generic_api_key: z.ZodString;
19
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"renderform", z.ZodObject<{
20
- connectionId: z.ZodString;
21
- entityId: z.ZodString;
22
- instanceId: z.ZodString;
23
- }, z.core.$strip>, z.ZodObject<{
24
- generic_api_key: z.ZodString;
25
- }, z.core.$strip>>]>;
13
+ declare const renderformDeleteResult: AppAction<typeof RenderformDeleteResultInput, typeof RenderformDeleteResultOutput, typeof renderform.credential>;
26
14
  //#endregion
27
15
  export { renderformDeleteResult };
28
16
  //# sourceMappingURL=delete-result.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-result.d.cts","names":[],"sources":["../../src/actions/delete-result.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"delete-result.d.cts","names":[],"sources":["../../src/actions/delete-result.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,UAAA,CAAW,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { renderform } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-result.d.ts
@@ -8,21 +10,7 @@ declare const RenderformDeleteResultOutput: z.ZodObject<{
8
10
  message: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
9
11
  success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
10
12
  }, z.core.$loose>;
11
- declare const renderformDeleteResult: import("@keystrokehq/action").WorkflowActionDefinition<{
12
- identifier: string;
13
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"renderform", z.ZodObject<{
14
- connectionId: z.ZodString;
15
- entityId: z.ZodString;
16
- instanceId: z.ZodString;
17
- }, z.core.$strip>, z.ZodObject<{
18
- generic_api_key: z.ZodString;
19
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"renderform", z.ZodObject<{
20
- connectionId: z.ZodString;
21
- entityId: z.ZodString;
22
- instanceId: z.ZodString;
23
- }, z.core.$strip>, z.ZodObject<{
24
- generic_api_key: z.ZodString;
25
- }, z.core.$strip>>]>;
13
+ declare const renderformDeleteResult: AppAction<typeof RenderformDeleteResultInput, typeof RenderformDeleteResultOutput, typeof renderform.credential>;
26
14
  //#endregion
27
15
  export { renderformDeleteResult };
28
16
  //# sourceMappingURL=delete-result.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-result.d.mts","names":[],"sources":["../../src/actions/delete-result.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"delete-result.d.mts","names":[],"sources":["../../src/actions/delete-result.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,UAAA,CAAW,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const renderformDeleteResult = action("RENDERFORM_DELETE_RESULT", {
@@ -1 +1 @@
1
- {"version":3,"file":"delete-result.mjs","names":[],"sources":["../../src/actions/delete-result.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RenderformDeleteResultInput = z.object({\n identifier: z.string().describe(\"Unique identifier of the result to delete (e.g., req-b71ba6dc-0bfc-40ed-8fe6-7b84e880691a)\"),\n}).describe(\"Request parameters for deleting a render result.\");\nexport const RenderformDeleteResultOutput = z.object({\n message: z.string().default(\"Result deleted successfully\").describe(\"Success message confirming the deletion\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates successful deletion of the result\").nullable().optional(),\n}).passthrough().describe(\"Response schema for deleting a result.\");\n\nexport const renderformDeleteResult = action(\"RENDERFORM_DELETE_RESULT\", {\n slug: \"renderform-delete-result\",\n name: \"Delete Result\",\n description: \"Tool to delete a render result (image/PDF) by its identifier. Use when you need to remove a previously generated image or PDF from the system.\",\n input: RenderformDeleteResultInput,\n output: RenderformDeleteResultOutput,\n});\n"],"mappings":";;AAYA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZyC,EAAE,OAAO,EAClD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,EAC9H,CAAC,CAAC,CAAC,SAAS,kDAUH;CACP,QAV0C,EAAE,OAAO;EACnD,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,6BAA6B,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnI,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"delete-result.mjs","names":[],"sources":["../../src/actions/delete-result.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { renderform } from \"../app\";\n\nexport const RenderformDeleteResultInput = z.object({\n identifier: z.string().describe(\"Unique identifier of the result to delete (e.g., req-b71ba6dc-0bfc-40ed-8fe6-7b84e880691a)\"),\n}).describe(\"Request parameters for deleting a render result.\");\nexport const RenderformDeleteResultOutput = z.object({\n message: z.string().default(\"Result deleted successfully\").describe(\"Success message confirming the deletion\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates successful deletion of the result\").nullable().optional(),\n}).passthrough().describe(\"Response schema for deleting a result.\");\n\nexport const renderformDeleteResult: AppAction<\n typeof RenderformDeleteResultInput,\n typeof RenderformDeleteResultOutput,\n typeof renderform.credential\n> = action(\"RENDERFORM_DELETE_RESULT\", {\n slug: \"renderform-delete-result\",\n name: \"Delete Result\",\n description: \"Tool to delete a render result (image/PDF) by its identifier. Use when you need to remove a previously generated image or PDF from the system.\",\n input: RenderformDeleteResultInput,\n output: RenderformDeleteResultOutput,\n});\n"],"mappings":";;;AAcA,MAAa,yBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhByC,EAAE,OAAO,EAClD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,EAC9H,CAAC,CAAC,CAAC,SAAS,kDAcH;CACP,QAd0C,EAAE,OAAO;EACnD,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,6BAA6B,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnI,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-result.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-result.cjs","names":["z","action"],"sources":["../../src/actions/get-result.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RenderformGetResultInput = z.object({\n identifier: z.string().describe(\"Unique identifier for the render result to retrieve\"),\n}).describe(\"Request parameters for getting a specific render result.\");\nexport const RenderformGetResultOutput = z.object({\n href: z.string().describe(\"URL to the generated image\").nullable().optional(),\n width: z.number().int().describe(\"Width of the generated image in pixels\").nullable().optional(),\n height: z.number().int().describe(\"Height of the generated image in pixels\").nullable().optional(),\n status: z.string().describe(\"Status of the render result (e.g., completed, pending, failed)\").nullable().optional(),\n template: z.string().describe(\"Template identifier used for this render\").nullable().optional(),\n createdAt: z.string().describe(\"Date/time result was created (ISO8601)\").nullable().optional(),\n deletedAt: z.string().describe(\"Date/time result was deleted (ISO8601), null if not deleted\").nullable().optional(),\n identifier: z.string().describe(\"Unique identifier for the result\").nullable().optional(),\n templateName: z.string().describe(\"Human-readable name of the template\").nullable().optional(),\n requestPayload: z.string().describe(\"Original request payload used to generate this result\").nullable().optional(),\n}).passthrough().describe(\"Response schema for a single render result.\");\n\nexport const renderformGetResult = action(\"RENDERFORM_GET_RESULT\", {\n slug: \"renderform-get-result\",\n name: \"Get Result\",\n description: \"Tool to retrieve detailed information about a specific render result by its identifier. Use when you need to check the status or get the full details of a previously generated image or PDF.\",\n input: RenderformGetResultInput,\n output: RenderformGetResultOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,EACvF,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-result.cjs","names":["z","action"],"sources":["../../src/actions/get-result.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { renderform } from \"../app\";\n\nexport const RenderformGetResultInput = z.object({\n identifier: z.string().describe(\"Unique identifier for the render result to retrieve\"),\n}).describe(\"Request parameters for getting a specific render result.\");\nexport const RenderformGetResultOutput = z.object({\n href: z.string().describe(\"URL to the generated image\").nullable().optional(),\n width: z.number().int().describe(\"Width of the generated image in pixels\").nullable().optional(),\n height: z.number().int().describe(\"Height of the generated image in pixels\").nullable().optional(),\n status: z.string().describe(\"Status of the render result (e.g., completed, pending, failed)\").nullable().optional(),\n template: z.string().describe(\"Template identifier used for this render\").nullable().optional(),\n createdAt: z.string().describe(\"Date/time result was created (ISO8601)\").nullable().optional(),\n deletedAt: z.string().describe(\"Date/time result was deleted (ISO8601), null if not deleted\").nullable().optional(),\n identifier: z.string().describe(\"Unique identifier for the result\").nullable().optional(),\n templateName: z.string().describe(\"Human-readable name of the template\").nullable().optional(),\n requestPayload: z.string().describe(\"Original request payload used to generate this result\").nullable().optional(),\n}).passthrough().describe(\"Response schema for a single render result.\");\n\nexport const renderformGetResult: AppAction<\n typeof RenderformGetResultInput,\n typeof RenderformGetResultOutput,\n typeof renderform.credential\n> = action(\"RENDERFORM_GET_RESULT\", {\n slug: \"renderform-get-result\",\n name: \"Get Result\",\n description: \"Tool to retrieve detailed information about a specific render result by its identifier. Use when you need to check the status or get the full details of a previously generated image or PDF.\",\n input: RenderformGetResultInput,\n output: RenderformGetResultOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,EACvF,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,sBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { renderform } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-result.d.ts
@@ -16,21 +18,7 @@ declare const RenderformGetResultOutput: z.ZodObject<{
16
18
  templateName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
19
  requestPayload: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
20
  }, z.core.$loose>;
19
- declare const renderformGetResult: import("@keystrokehq/action").WorkflowActionDefinition<{
20
- identifier: string;
21
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"renderform", z.ZodObject<{
22
- connectionId: z.ZodString;
23
- entityId: z.ZodString;
24
- instanceId: z.ZodString;
25
- }, z.core.$strip>, z.ZodObject<{
26
- generic_api_key: z.ZodString;
27
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"renderform", z.ZodObject<{
28
- connectionId: z.ZodString;
29
- entityId: z.ZodString;
30
- instanceId: z.ZodString;
31
- }, z.core.$strip>, z.ZodObject<{
32
- generic_api_key: z.ZodString;
33
- }, z.core.$strip>>]>;
21
+ declare const renderformGetResult: AppAction<typeof RenderformGetResultInput, typeof RenderformGetResultOutput, typeof renderform.credential>;
34
22
  //#endregion
35
23
  export { renderformGetResult };
36
24
  //# sourceMappingURL=get-result.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-result.d.cts","names":[],"sources":["../../src/actions/get-result.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAGxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAazB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"get-result.d.cts","names":[],"sources":["../../src/actions/get-result.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAGxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAazB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,UAAA,CAAW,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { renderform } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-result.d.ts
@@ -16,21 +18,7 @@ declare const RenderformGetResultOutput: z.ZodObject<{
16
18
  templateName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
19
  requestPayload: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
20
  }, z.core.$loose>;
19
- declare const renderformGetResult: import("@keystrokehq/action").WorkflowActionDefinition<{
20
- identifier: string;
21
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"renderform", z.ZodObject<{
22
- connectionId: z.ZodString;
23
- entityId: z.ZodString;
24
- instanceId: z.ZodString;
25
- }, z.core.$strip>, z.ZodObject<{
26
- generic_api_key: z.ZodString;
27
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"renderform", z.ZodObject<{
28
- connectionId: z.ZodString;
29
- entityId: z.ZodString;
30
- instanceId: z.ZodString;
31
- }, z.core.$strip>, z.ZodObject<{
32
- generic_api_key: z.ZodString;
33
- }, z.core.$strip>>]>;
21
+ declare const renderformGetResult: AppAction<typeof RenderformGetResultInput, typeof RenderformGetResultOutput, typeof renderform.credential>;
34
22
  //#endregion
35
23
  export { renderformGetResult };
36
24
  //# sourceMappingURL=get-result.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-result.d.mts","names":[],"sources":["../../src/actions/get-result.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAGxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAazB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"get-result.d.mts","names":[],"sources":["../../src/actions/get-result.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAGxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAazB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,UAAA,CAAW,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const renderformGetResult = action("RENDERFORM_GET_RESULT", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-result.mjs","names":[],"sources":["../../src/actions/get-result.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RenderformGetResultInput = z.object({\n identifier: z.string().describe(\"Unique identifier for the render result to retrieve\"),\n}).describe(\"Request parameters for getting a specific render result.\");\nexport const RenderformGetResultOutput = z.object({\n href: z.string().describe(\"URL to the generated image\").nullable().optional(),\n width: z.number().int().describe(\"Width of the generated image in pixels\").nullable().optional(),\n height: z.number().int().describe(\"Height of the generated image in pixels\").nullable().optional(),\n status: z.string().describe(\"Status of the render result (e.g., completed, pending, failed)\").nullable().optional(),\n template: z.string().describe(\"Template identifier used for this render\").nullable().optional(),\n createdAt: z.string().describe(\"Date/time result was created (ISO8601)\").nullable().optional(),\n deletedAt: z.string().describe(\"Date/time result was deleted (ISO8601), null if not deleted\").nullable().optional(),\n identifier: z.string().describe(\"Unique identifier for the result\").nullable().optional(),\n templateName: z.string().describe(\"Human-readable name of the template\").nullable().optional(),\n requestPayload: z.string().describe(\"Original request payload used to generate this result\").nullable().optional(),\n}).passthrough().describe(\"Response schema for a single render result.\");\n\nexport const renderformGetResult = action(\"RENDERFORM_GET_RESULT\", {\n slug: \"renderform-get-result\",\n name: \"Get Result\",\n description: \"Tool to retrieve detailed information about a specific render result by its identifier. Use when you need to check the status or get the full details of a previously generated image or PDF.\",\n input: RenderformGetResultInput,\n output: RenderformGetResultOutput,\n});\n"],"mappings":";;AAoBA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBsC,EAAE,OAAO,EAC/C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,EACvF,CAAC,CAAC,CAAC,SAAS,0DAkBH;CACP,QAlBuC,EAAE,OAAO;EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-result.mjs","names":[],"sources":["../../src/actions/get-result.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { renderform } from \"../app\";\n\nexport const RenderformGetResultInput = z.object({\n identifier: z.string().describe(\"Unique identifier for the render result to retrieve\"),\n}).describe(\"Request parameters for getting a specific render result.\");\nexport const RenderformGetResultOutput = z.object({\n href: z.string().describe(\"URL to the generated image\").nullable().optional(),\n width: z.number().int().describe(\"Width of the generated image in pixels\").nullable().optional(),\n height: z.number().int().describe(\"Height of the generated image in pixels\").nullable().optional(),\n status: z.string().describe(\"Status of the render result (e.g., completed, pending, failed)\").nullable().optional(),\n template: z.string().describe(\"Template identifier used for this render\").nullable().optional(),\n createdAt: z.string().describe(\"Date/time result was created (ISO8601)\").nullable().optional(),\n deletedAt: z.string().describe(\"Date/time result was deleted (ISO8601), null if not deleted\").nullable().optional(),\n identifier: z.string().describe(\"Unique identifier for the result\").nullable().optional(),\n templateName: z.string().describe(\"Human-readable name of the template\").nullable().optional(),\n requestPayload: z.string().describe(\"Original request payload used to generate this result\").nullable().optional(),\n}).passthrough().describe(\"Response schema for a single render result.\");\n\nexport const renderformGetResult: AppAction<\n typeof RenderformGetResultInput,\n typeof RenderformGetResultOutput,\n typeof renderform.credential\n> = action(\"RENDERFORM_GET_RESULT\", {\n slug: \"renderform-get-result\",\n name: \"Get Result\",\n description: \"Tool to retrieve detailed information about a specific render result by its identifier. Use when you need to check the status or get the full details of a previously generated image or PDF.\",\n input: RenderformGetResultInput,\n output: RenderformGetResultOutput,\n});\n"],"mappings":";;;AAsBA,MAAa,sBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxBsC,EAAE,OAAO,EAC/C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,EACvF,CAAC,CAAC,CAAC,SAAS,0DAsBH;CACP,QAtBuC,EAAE,OAAO;EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-fonts.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-fonts.cjs","names":["z","action"],"sources":["../../src/actions/list-fonts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RenderformListFontsInput = z.object({}).describe(\"No input parameters are required to list fonts.\");\nconst RenderformListFonts_FontSourceSchema = z.enum([\"GOOGLE\", \"CUSTOM\"]).describe(\"Source of the font.\");\nconst RenderformListFonts_FontSchema = z.object({\n size: z.number().int().describe(\"File size in bytes (for custom fonts)\").nullable().optional(),\n family: z.string().describe(\"Name of the font family\").nullable(),\n source: RenderformListFonts_FontSourceSchema.nullable(),\n subsets: z.array(z.string()).describe(\"Character subsets supported by the font (e.g., 'latin', 'cyrillic')\").nullable().optional(),\n category: z.string().describe(\"Category of the font (e.g., 'sans-serif', 'serif', 'display')\").nullable().optional(),\n variants: z.array(z.string()).describe(\"List of all variants available for the font (e.g., 'regular', 'bold', 'italic')\"),\n createdAt: z.string().describe(\"Timestamp when the font was added (for custom fonts)\").nullable().optional(),\n originalName: z.string().describe(\"Original filename of the uploaded font (for custom fonts)\").nullable().optional(),\n defaultVariant: z.string().describe(\"Default variant for the font\").nullable().optional(),\n}).passthrough().describe(\"Represents a single font available in the system.\");\nexport const RenderformListFontsOutput = z.object({\n fonts: z.array(RenderformListFonts_FontSchema).describe(\"List of all fonts available in the system for the current user\"),\n}).passthrough().describe(\"Response model for listing fonts.\");\n\nexport const renderformListFonts = action(\"RENDERFORM_LIST_FONTS\", {\n slug: \"renderform-list-fonts\",\n name: \"List Fonts\",\n description: \"Tool to retrieve all available fonts including Google Fonts and custom uploaded fonts. Use when you need to list fonts for text rendering.\",\n input: RenderformListFontsInput,\n output: RenderformListFontsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC/G,MAAM,uCAAuCA,IAAAA,EAAE,KAAK,CAAC,UAAU,QAAQ,CAAC,CAAC,CAAC,SAAS,qBAAqB;AACxG,MAAM,iCAAiCA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAChE,QAAQ,qCAAqC,SAAS;CACtD,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iFAAiF;CACxH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAC7E,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,OAAOA,IAAAA,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,gEAAgE,EAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAE7D,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-fonts.cjs","names":["z","action"],"sources":["../../src/actions/list-fonts.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { renderform } from \"../app\";\n\nexport const RenderformListFontsInput = z.object({}).describe(\"No input parameters are required to list fonts.\");\nconst RenderformListFonts_FontSourceSchema = z.enum([\"GOOGLE\", \"CUSTOM\"]).describe(\"Source of the font.\");\nconst RenderformListFonts_FontSchema = z.object({\n size: z.number().int().describe(\"File size in bytes (for custom fonts)\").nullable().optional(),\n family: z.string().describe(\"Name of the font family\").nullable(),\n source: RenderformListFonts_FontSourceSchema.nullable(),\n subsets: z.array(z.string()).describe(\"Character subsets supported by the font (e.g., 'latin', 'cyrillic')\").nullable().optional(),\n category: z.string().describe(\"Category of the font (e.g., 'sans-serif', 'serif', 'display')\").nullable().optional(),\n variants: z.array(z.string()).describe(\"List of all variants available for the font (e.g., 'regular', 'bold', 'italic')\"),\n createdAt: z.string().describe(\"Timestamp when the font was added (for custom fonts)\").nullable().optional(),\n originalName: z.string().describe(\"Original filename of the uploaded font (for custom fonts)\").nullable().optional(),\n defaultVariant: z.string().describe(\"Default variant for the font\").nullable().optional(),\n}).passthrough().describe(\"Represents a single font available in the system.\");\nexport const RenderformListFontsOutput = z.object({\n fonts: z.array(RenderformListFonts_FontSchema).describe(\"List of all fonts available in the system for the current user\"),\n}).passthrough().describe(\"Response model for listing fonts.\");\n\nexport const renderformListFonts: AppAction<\n typeof RenderformListFontsInput,\n typeof RenderformListFontsOutput,\n typeof renderform.credential\n> = action(\"RENDERFORM_LIST_FONTS\", {\n slug: \"renderform-list-fonts\",\n name: \"List Fonts\",\n description: \"Tool to retrieve all available fonts including Google Fonts and custom uploaded fonts. Use when you need to list fonts for text rendering.\",\n input: RenderformListFontsInput,\n output: RenderformListFontsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC/G,MAAM,uCAAuCA,IAAAA,EAAE,KAAK,CAAC,UAAU,QAAQ,CAAC,CAAC,CAAC,SAAS,qBAAqB;AACxG,MAAM,iCAAiCA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAChE,QAAQ,qCAAqC,SAAS;CACtD,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iFAAiF;CACxH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAC7E,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,OAAOA,IAAAA,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,gEAAgE,EAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAE7D,MAAa,sBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { renderform } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-fonts.d.ts
@@ -18,19 +20,7 @@ declare const RenderformListFontsOutput: z.ZodObject<{
18
20
  defaultVariant: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
21
  }, z.core.$loose>>;
20
22
  }, z.core.$loose>;
21
- declare const renderformListFonts: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"renderform", z.ZodObject<{
22
- connectionId: z.ZodString;
23
- entityId: z.ZodString;
24
- instanceId: z.ZodString;
25
- }, z.core.$strip>, z.ZodObject<{
26
- generic_api_key: z.ZodString;
27
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"renderform", z.ZodObject<{
28
- connectionId: z.ZodString;
29
- entityId: z.ZodString;
30
- instanceId: z.ZodString;
31
- }, z.core.$strip>, z.ZodObject<{
32
- generic_api_key: z.ZodString;
33
- }, z.core.$strip>>]>;
23
+ declare const renderformListFonts: AppAction<typeof RenderformListFontsInput, typeof RenderformListFontsOutput, typeof renderform.credential>;
34
24
  //#endregion
35
25
  export { renderformListFonts };
36
26
  //# sourceMappingURL=list-fonts.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-fonts.d.cts","names":[],"sources":["../../src/actions/list-fonts.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAaxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAIzB,mBAAA,gCAAmB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,eAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"list-fonts.d.cts","names":[],"sources":["../../src/actions/list-fonts.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAaxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAIzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,UAAA,CAAW,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { renderform } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-fonts.d.ts
@@ -18,19 +20,7 @@ declare const RenderformListFontsOutput: z.ZodObject<{
18
20
  defaultVariant: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
21
  }, z.core.$loose>>;
20
22
  }, z.core.$loose>;
21
- declare const renderformListFonts: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"renderform", z.ZodObject<{
22
- connectionId: z.ZodString;
23
- entityId: z.ZodString;
24
- instanceId: z.ZodString;
25
- }, z.core.$strip>, z.ZodObject<{
26
- generic_api_key: z.ZodString;
27
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"renderform", z.ZodObject<{
28
- connectionId: z.ZodString;
29
- entityId: z.ZodString;
30
- instanceId: z.ZodString;
31
- }, z.core.$strip>, z.ZodObject<{
32
- generic_api_key: z.ZodString;
33
- }, z.core.$strip>>]>;
23
+ declare const renderformListFonts: AppAction<typeof RenderformListFontsInput, typeof RenderformListFontsOutput, typeof renderform.credential>;
34
24
  //#endregion
35
25
  export { renderformListFonts };
36
26
  //# sourceMappingURL=list-fonts.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-fonts.d.mts","names":[],"sources":["../../src/actions/list-fonts.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAaxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAIzB,mBAAA,gCAAmB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,eAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"list-fonts.d.mts","names":[],"sources":["../../src/actions/list-fonts.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAaxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAIzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,UAAA,CAAW,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-fonts.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-fonts.mjs","names":[],"sources":["../../src/actions/list-fonts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RenderformListFontsInput = z.object({}).describe(\"No input parameters are required to list fonts.\");\nconst RenderformListFonts_FontSourceSchema = z.enum([\"GOOGLE\", \"CUSTOM\"]).describe(\"Source of the font.\");\nconst RenderformListFonts_FontSchema = z.object({\n size: z.number().int().describe(\"File size in bytes (for custom fonts)\").nullable().optional(),\n family: z.string().describe(\"Name of the font family\").nullable(),\n source: RenderformListFonts_FontSourceSchema.nullable(),\n subsets: z.array(z.string()).describe(\"Character subsets supported by the font (e.g., 'latin', 'cyrillic')\").nullable().optional(),\n category: z.string().describe(\"Category of the font (e.g., 'sans-serif', 'serif', 'display')\").nullable().optional(),\n variants: z.array(z.string()).describe(\"List of all variants available for the font (e.g., 'regular', 'bold', 'italic')\"),\n createdAt: z.string().describe(\"Timestamp when the font was added (for custom fonts)\").nullable().optional(),\n originalName: z.string().describe(\"Original filename of the uploaded font (for custom fonts)\").nullable().optional(),\n defaultVariant: z.string().describe(\"Default variant for the font\").nullable().optional(),\n}).passthrough().describe(\"Represents a single font available in the system.\");\nexport const RenderformListFontsOutput = z.object({\n fonts: z.array(RenderformListFonts_FontSchema).describe(\"List of all fonts available in the system for the current user\"),\n}).passthrough().describe(\"Response model for listing fonts.\");\n\nexport const renderformListFonts = action(\"RENDERFORM_LIST_FONTS\", {\n slug: \"renderform-list-fonts\",\n name: \"List Fonts\",\n description: \"Tool to retrieve all available fonts including Google Fonts and custom uploaded fonts. Use when you need to list fonts for text rendering.\",\n input: RenderformListFontsInput,\n output: RenderformListFontsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC/G,MAAM,uCAAuC,EAAE,KAAK,CAAC,UAAU,QAAQ,CAAC,CAAC,CAAC,SAAS,qBAAqB;AACxG,MAAM,iCAAiC,EAAE,OAAO;CAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAChE,QAAQ,qCAAqC,SAAS;CACtD,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iFAAiF;CACxH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAK7E,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuC,EAAE,OAAO,EAChD,OAAO,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,gEAAgE,EAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-fonts.mjs","names":[],"sources":["../../src/actions/list-fonts.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { renderform } from \"../app\";\n\nexport const RenderformListFontsInput = z.object({}).describe(\"No input parameters are required to list fonts.\");\nconst RenderformListFonts_FontSourceSchema = z.enum([\"GOOGLE\", \"CUSTOM\"]).describe(\"Source of the font.\");\nconst RenderformListFonts_FontSchema = z.object({\n size: z.number().int().describe(\"File size in bytes (for custom fonts)\").nullable().optional(),\n family: z.string().describe(\"Name of the font family\").nullable(),\n source: RenderformListFonts_FontSourceSchema.nullable(),\n subsets: z.array(z.string()).describe(\"Character subsets supported by the font (e.g., 'latin', 'cyrillic')\").nullable().optional(),\n category: z.string().describe(\"Category of the font (e.g., 'sans-serif', 'serif', 'display')\").nullable().optional(),\n variants: z.array(z.string()).describe(\"List of all variants available for the font (e.g., 'regular', 'bold', 'italic')\"),\n createdAt: z.string().describe(\"Timestamp when the font was added (for custom fonts)\").nullable().optional(),\n originalName: z.string().describe(\"Original filename of the uploaded font (for custom fonts)\").nullable().optional(),\n defaultVariant: z.string().describe(\"Default variant for the font\").nullable().optional(),\n}).passthrough().describe(\"Represents a single font available in the system.\");\nexport const RenderformListFontsOutput = z.object({\n fonts: z.array(RenderformListFonts_FontSchema).describe(\"List of all fonts available in the system for the current user\"),\n}).passthrough().describe(\"Response model for listing fonts.\");\n\nexport const renderformListFonts: AppAction<\n typeof RenderformListFontsInput,\n typeof RenderformListFontsOutput,\n typeof renderform.credential\n> = action(\"RENDERFORM_LIST_FONTS\", {\n slug: \"renderform-list-fonts\",\n name: \"List Fonts\",\n description: \"Tool to retrieve all available fonts including Google Fonts and custom uploaded fonts. Use when you need to list fonts for text rendering.\",\n input: RenderformListFontsInput,\n output: RenderformListFontsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC/G,MAAM,uCAAuC,EAAE,KAAK,CAAC,UAAU,QAAQ,CAAC,CAAC,CAAC,SAAS,qBAAqB;AACxG,MAAM,iCAAiC,EAAE,OAAO;CAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAChE,QAAQ,qCAAqC,SAAS;CACtD,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iFAAiF;CACxH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAK7E,MAAa,sBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbuC,EAAE,OAAO,EAChD,OAAO,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,gEAAgE,EAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-results-v2.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-results-v2.cjs","names":["z","action"],"sources":["../../src/actions/list-results-v2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RenderformListResultsV2Input = z.object({\n page: z.number().int().default(0).describe(\"Page number to retrieve (0-indexed). Use 0 for the first page.\").optional(),\n size: z.number().int().default(20).describe(\"Number of results per page (1-50). Maximum allowed is 50.\").optional(),\n batch: z.string().describe(\"Filter results by batch identifier. Returns only results from the specified batch render request.\").optional(),\n template: z.string().describe(\"Filter results by template identifier. Returns only results generated from the specified template.\").optional(),\n}).describe(\"Request parameters for listing rendered results with pagination support.\");\nconst RenderformListResultsV2_SortInfoSchema = z.object({\n empty: z.boolean().describe(\"Whether the sort configuration is empty\").nullable().optional(),\n sorted: z.boolean().describe(\"Whether results are sorted\").nullable().optional(),\n unsorted: z.boolean().describe(\"Whether results are unsorted\").nullable().optional(),\n}).passthrough().describe(\"Information about result sorting.\");\nconst RenderformListResultsV2_ResultItemSchema = z.object({\n href: z.string().describe(\"URL to access the generated image or PDF file\").nullable(),\n width: z.number().int().describe(\"Width of the generated image in pixels\").nullable(),\n height: z.number().int().describe(\"Height of the generated image in pixels\").nullable(),\n fileName: z.string().describe(\"File name of the generated image or PDF\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the result was created\").nullable(),\n deletedAt: z.string().describe(\"ISO 8601 timestamp when the result was deleted, if applicable\").nullable().optional(),\n identifier: z.string().describe(\"Unique identifier for the rendered result\").nullable(),\n templateName: z.string().describe(\"Name of the template used to generate this result\").nullable().optional(),\n templateIdentifier: z.string().describe(\"Identifier of the template used to generate this result\").nullable().optional(),\n}).passthrough().describe(\"A single rendered result entry representing a generated image or PDF.\");\nconst RenderformListResultsV2_PageableInfoSchema = z.object({\n sort: RenderformListResultsV2_SortInfoSchema.nullable().optional(),\n paged: z.boolean().describe(\"Whether results are paged\").nullable().optional(),\n offset: z.number().int().describe(\"Offset from the beginning of the result set\").nullable().optional(),\n unpaged: z.boolean().describe(\"Whether results are unpaged\").nullable().optional(),\n pageSize: z.number().int().describe(\"Number of results per page\").nullable().optional(),\n pageNumber: z.number().int().describe(\"Current page number (0-indexed)\").nullable().optional(),\n}).passthrough().describe(\"Pagination metadata for the current page.\");\nexport const RenderformListResultsV2Output = z.object({\n last: z.boolean().describe(\"Whether this is the last page of results\").nullable().optional(),\n size: z.number().int().describe(\"Page size used for this request\").nullable().optional(),\n sort: RenderformListResultsV2_SortInfoSchema.nullable().optional(),\n empty: z.boolean().describe(\"Whether the result set is empty\").nullable().optional(),\n first: z.boolean().describe(\"Whether this is the first page of results\").nullable().optional(),\n number: z.number().int().describe(\"Current page number (0-indexed)\").nullable().optional(),\n content: z.array(RenderformListResultsV2_ResultItemSchema).describe(\"List of rendered result items on this page\").nullable().optional(),\n pageable: RenderformListResultsV2_PageableInfoSchema.nullable().optional(),\n totalPages: z.number().int().describe(\"Total number of pages available\").nullable().optional(),\n totalElements: z.number().int().describe(\"Total number of results across all pages\").nullable().optional(),\n numberOfElements: z.number().int().describe(\"Number of elements on the current page\").nullable().optional(),\n}).passthrough().describe(\"Paginated response containing rendered images and PDFs.\");\n\nexport const renderformListResultsV2 = action(\"RENDERFORM_LIST_RESULTS_V2\", {\n slug: \"renderform-list-results-v2\",\n name: \"List Results (v2)\",\n description: \"Tool to list all rendered images and PDFs with pagination support. Use when retrieving results from the v2 API with filtering by template or batch.\",\n input: RenderformListResultsV2Input,\n output: RenderformListResultsV2Output,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACtH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAClH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CACzI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;AAC/I,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,OAAOA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CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,SAASA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,UAAU,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACzE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-results-v2.cjs","names":["z","action"],"sources":["../../src/actions/list-results-v2.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { renderform } from \"../app\";\n\nexport const RenderformListResultsV2Input = z.object({\n page: z.number().int().default(0).describe(\"Page number to retrieve (0-indexed). Use 0 for the first page.\").optional(),\n size: z.number().int().default(20).describe(\"Number of results per page (1-50). Maximum allowed is 50.\").optional(),\n batch: z.string().describe(\"Filter results by batch identifier. Returns only results from the specified batch render request.\").optional(),\n template: z.string().describe(\"Filter results by template identifier. Returns only results generated from the specified template.\").optional(),\n}).describe(\"Request parameters for listing rendered results with pagination support.\");\nconst RenderformListResultsV2_SortInfoSchema = z.object({\n empty: z.boolean().describe(\"Whether the sort configuration is empty\").nullable().optional(),\n sorted: z.boolean().describe(\"Whether results are sorted\").nullable().optional(),\n unsorted: z.boolean().describe(\"Whether results are unsorted\").nullable().optional(),\n}).passthrough().describe(\"Information about result sorting.\");\nconst RenderformListResultsV2_ResultItemSchema = z.object({\n href: z.string().describe(\"URL to access the generated image or PDF file\").nullable(),\n width: z.number().int().describe(\"Width of the generated image in pixels\").nullable(),\n height: z.number().int().describe(\"Height of the generated image in pixels\").nullable(),\n fileName: z.string().describe(\"File name of the generated image or PDF\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the result was created\").nullable(),\n deletedAt: z.string().describe(\"ISO 8601 timestamp when the result was deleted, if applicable\").nullable().optional(),\n identifier: z.string().describe(\"Unique identifier for the rendered result\").nullable(),\n templateName: z.string().describe(\"Name of the template used to generate this result\").nullable().optional(),\n templateIdentifier: z.string().describe(\"Identifier of the template used to generate this result\").nullable().optional(),\n}).passthrough().describe(\"A single rendered result entry representing a generated image or PDF.\");\nconst RenderformListResultsV2_PageableInfoSchema = z.object({\n sort: RenderformListResultsV2_SortInfoSchema.nullable().optional(),\n paged: z.boolean().describe(\"Whether results are paged\").nullable().optional(),\n offset: z.number().int().describe(\"Offset from the beginning of the result set\").nullable().optional(),\n unpaged: z.boolean().describe(\"Whether results are unpaged\").nullable().optional(),\n pageSize: z.number().int().describe(\"Number of results per page\").nullable().optional(),\n pageNumber: z.number().int().describe(\"Current page number (0-indexed)\").nullable().optional(),\n}).passthrough().describe(\"Pagination metadata for the current page.\");\nexport const RenderformListResultsV2Output = z.object({\n last: z.boolean().describe(\"Whether this is the last page of results\").nullable().optional(),\n size: z.number().int().describe(\"Page size used for this request\").nullable().optional(),\n sort: RenderformListResultsV2_SortInfoSchema.nullable().optional(),\n empty: z.boolean().describe(\"Whether the result set is empty\").nullable().optional(),\n first: z.boolean().describe(\"Whether this is the first page of results\").nullable().optional(),\n number: z.number().int().describe(\"Current page number (0-indexed)\").nullable().optional(),\n content: z.array(RenderformListResultsV2_ResultItemSchema).describe(\"List of rendered result items on this page\").nullable().optional(),\n pageable: RenderformListResultsV2_PageableInfoSchema.nullable().optional(),\n totalPages: z.number().int().describe(\"Total number of pages available\").nullable().optional(),\n totalElements: z.number().int().describe(\"Total number of results across all pages\").nullable().optional(),\n numberOfElements: z.number().int().describe(\"Number of elements on the current page\").nullable().optional(),\n}).passthrough().describe(\"Paginated response containing rendered images and PDFs.\");\n\nexport const renderformListResultsV2: AppAction<\n typeof RenderformListResultsV2Input,\n typeof RenderformListResultsV2Output,\n typeof renderform.credential\n> = action(\"RENDERFORM_LIST_RESULTS_V2\", {\n slug: \"renderform-list-results-v2\",\n name: \"List Results (v2)\",\n description: \"Tool to list all rendered images and PDFs with pagination support. Use when retrieving results from the v2 API with filtering by template or batch.\",\n input: RenderformListResultsV2Input,\n output: RenderformListResultsV2Output,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACtH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAClH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CACzI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;AAC/I,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC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S;CACtI,UAAU,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACzE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,0BAITC,eAAAA,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { renderform } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-results-v2.d.ts
@@ -45,24 +47,7 @@ declare const RenderformListResultsV2Output: z.ZodObject<{
45
47
  totalElements: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
46
48
  numberOfElements: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
47
49
  }, z.core.$loose>;
48
- declare const renderformListResultsV2: import("@keystrokehq/action").WorkflowActionDefinition<{
49
- page?: number | undefined;
50
- size?: number | undefined;
51
- batch?: string | undefined;
52
- template?: string | undefined;
53
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"renderform", z.ZodObject<{
54
- connectionId: z.ZodString;
55
- entityId: z.ZodString;
56
- instanceId: z.ZodString;
57
- }, z.core.$strip>, z.ZodObject<{
58
- generic_api_key: z.ZodString;
59
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"renderform", z.ZodObject<{
60
- connectionId: z.ZodString;
61
- entityId: z.ZodString;
62
- instanceId: z.ZodString;
63
- }, z.core.$strip>, z.ZodObject<{
64
- generic_api_key: z.ZodString;
65
- }, z.core.$strip>>]>;
50
+ declare const renderformListResultsV2: AppAction<typeof RenderformListResultsV2Input, typeof RenderformListResultsV2Output, typeof renderform.credential>;
66
51
  //#endregion
67
52
  export { renderformListResultsV2 };
68
53
  //# sourceMappingURL=list-results-v2.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-results-v2.d.cts","names":[],"sources":["../../src/actions/list-results-v2.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;cA8B5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAc7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"list-results-v2.d.cts","names":[],"sources":["../../src/actions/list-results-v2.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;cA8B5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAc7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,UAAA,CAAW,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { renderform } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-results-v2.d.ts
@@ -45,24 +47,7 @@ declare const RenderformListResultsV2Output: z.ZodObject<{
45
47
  totalElements: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
46
48
  numberOfElements: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
47
49
  }, z.core.$loose>;
48
- declare const renderformListResultsV2: import("@keystrokehq/action").WorkflowActionDefinition<{
49
- page?: number | undefined;
50
- size?: number | undefined;
51
- batch?: string | undefined;
52
- template?: string | undefined;
53
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"renderform", z.ZodObject<{
54
- connectionId: z.ZodString;
55
- entityId: z.ZodString;
56
- instanceId: z.ZodString;
57
- }, z.core.$strip>, z.ZodObject<{
58
- generic_api_key: z.ZodString;
59
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"renderform", z.ZodObject<{
60
- connectionId: z.ZodString;
61
- entityId: z.ZodString;
62
- instanceId: z.ZodString;
63
- }, z.core.$strip>, z.ZodObject<{
64
- generic_api_key: z.ZodString;
65
- }, z.core.$strip>>]>;
50
+ declare const renderformListResultsV2: AppAction<typeof RenderformListResultsV2Input, typeof RenderformListResultsV2Output, typeof renderform.credential>;
66
51
  //#endregion
67
52
  export { renderformListResultsV2 };
68
53
  //# sourceMappingURL=list-results-v2.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-results-v2.d.mts","names":[],"sources":["../../src/actions/list-results-v2.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;cA8B5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAc7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"list-results-v2.d.mts","names":[],"sources":["../../src/actions/list-results-v2.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;cA8B5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAc7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,UAAA,CAAW,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-results-v2.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-results-v2.mjs","names":[],"sources":["../../src/actions/list-results-v2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RenderformListResultsV2Input = z.object({\n page: z.number().int().default(0).describe(\"Page number to retrieve (0-indexed). Use 0 for the first page.\").optional(),\n size: z.number().int().default(20).describe(\"Number of results per page (1-50). Maximum allowed is 50.\").optional(),\n batch: z.string().describe(\"Filter results by batch identifier. Returns only results from the specified batch render request.\").optional(),\n template: z.string().describe(\"Filter results by template identifier. Returns only results generated from the specified template.\").optional(),\n}).describe(\"Request parameters for listing rendered results with pagination support.\");\nconst RenderformListResultsV2_SortInfoSchema = z.object({\n empty: z.boolean().describe(\"Whether the sort configuration is empty\").nullable().optional(),\n sorted: z.boolean().describe(\"Whether results are sorted\").nullable().optional(),\n unsorted: z.boolean().describe(\"Whether results are unsorted\").nullable().optional(),\n}).passthrough().describe(\"Information about result sorting.\");\nconst RenderformListResultsV2_ResultItemSchema = z.object({\n href: z.string().describe(\"URL to access the generated image or PDF file\").nullable(),\n width: z.number().int().describe(\"Width of the generated image in pixels\").nullable(),\n height: z.number().int().describe(\"Height of the generated image in pixels\").nullable(),\n fileName: z.string().describe(\"File name of the generated image or PDF\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the result was created\").nullable(),\n deletedAt: z.string().describe(\"ISO 8601 timestamp when the result was deleted, if applicable\").nullable().optional(),\n identifier: z.string().describe(\"Unique identifier for the rendered result\").nullable(),\n templateName: z.string().describe(\"Name of the template used to generate this result\").nullable().optional(),\n templateIdentifier: z.string().describe(\"Identifier of the template used to generate this result\").nullable().optional(),\n}).passthrough().describe(\"A single rendered result entry representing a generated image or PDF.\");\nconst RenderformListResultsV2_PageableInfoSchema = z.object({\n sort: RenderformListResultsV2_SortInfoSchema.nullable().optional(),\n paged: z.boolean().describe(\"Whether results are paged\").nullable().optional(),\n offset: z.number().int().describe(\"Offset from the beginning of the result set\").nullable().optional(),\n unpaged: z.boolean().describe(\"Whether results are unpaged\").nullable().optional(),\n pageSize: z.number().int().describe(\"Number of results per page\").nullable().optional(),\n pageNumber: z.number().int().describe(\"Current page number (0-indexed)\").nullable().optional(),\n}).passthrough().describe(\"Pagination metadata for the current page.\");\nexport const RenderformListResultsV2Output = z.object({\n last: z.boolean().describe(\"Whether this is the last page of results\").nullable().optional(),\n size: z.number().int().describe(\"Page size used for this request\").nullable().optional(),\n sort: RenderformListResultsV2_SortInfoSchema.nullable().optional(),\n empty: z.boolean().describe(\"Whether the result set is empty\").nullable().optional(),\n first: z.boolean().describe(\"Whether this is the first page of results\").nullable().optional(),\n number: z.number().int().describe(\"Current page number (0-indexed)\").nullable().optional(),\n content: z.array(RenderformListResultsV2_ResultItemSchema).describe(\"List of rendered result items on this page\").nullable().optional(),\n pageable: RenderformListResultsV2_PageableInfoSchema.nullable().optional(),\n totalPages: z.number().int().describe(\"Total number of pages available\").nullable().optional(),\n totalElements: z.number().int().describe(\"Total number of results across all pages\").nullable().optional(),\n numberOfElements: z.number().int().describe(\"Number of elements on the current page\").nullable().optional(),\n}).passthrough().describe(\"Paginated response containing rendered images and PDFs.\");\n\nexport const renderformListResultsV2 = action(\"RENDERFORM_LIST_RESULTS_V2\", {\n slug: \"renderform-list-results-v2\",\n name: \"List Results (v2)\",\n description: \"Tool to list all rendered images and PDFs with pagination support. Use when retrieving results from the v2 API with filtering by template or batch.\",\n input: RenderformListResultsV2Input,\n output: RenderformListResultsV2Output,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACtH,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAClH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CACzI,UAAU,EAAE,OAAO,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AC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,SAAS,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtI,UAAU,2CAA2C,SAAS,CAAC,CAAC,SAAS;EACzE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-results-v2.mjs","names":[],"sources":["../../src/actions/list-results-v2.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { renderform } from \"../app\";\n\nexport const RenderformListResultsV2Input = z.object({\n page: z.number().int().default(0).describe(\"Page number to retrieve (0-indexed). Use 0 for the first page.\").optional(),\n size: z.number().int().default(20).describe(\"Number of results per page (1-50). Maximum allowed is 50.\").optional(),\n batch: z.string().describe(\"Filter results by batch identifier. Returns only results from the specified batch render request.\").optional(),\n template: z.string().describe(\"Filter results by template identifier. Returns only results generated from the specified template.\").optional(),\n}).describe(\"Request parameters for listing rendered results with pagination support.\");\nconst RenderformListResultsV2_SortInfoSchema = z.object({\n empty: z.boolean().describe(\"Whether the sort configuration is empty\").nullable().optional(),\n sorted: z.boolean().describe(\"Whether results are sorted\").nullable().optional(),\n unsorted: z.boolean().describe(\"Whether results are unsorted\").nullable().optional(),\n}).passthrough().describe(\"Information about result sorting.\");\nconst RenderformListResultsV2_ResultItemSchema = z.object({\n href: z.string().describe(\"URL to access the generated image or PDF file\").nullable(),\n width: z.number().int().describe(\"Width of the generated image in pixels\").nullable(),\n height: z.number().int().describe(\"Height of the generated image in pixels\").nullable(),\n fileName: z.string().describe(\"File name of the generated image or PDF\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the result was created\").nullable(),\n deletedAt: z.string().describe(\"ISO 8601 timestamp when the result was deleted, if applicable\").nullable().optional(),\n identifier: z.string().describe(\"Unique identifier for the rendered result\").nullable(),\n templateName: z.string().describe(\"Name of the template used to generate this result\").nullable().optional(),\n templateIdentifier: z.string().describe(\"Identifier of the template used to generate this result\").nullable().optional(),\n}).passthrough().describe(\"A single rendered result entry representing a generated image or PDF.\");\nconst RenderformListResultsV2_PageableInfoSchema = z.object({\n sort: RenderformListResultsV2_SortInfoSchema.nullable().optional(),\n paged: z.boolean().describe(\"Whether results are paged\").nullable().optional(),\n offset: z.number().int().describe(\"Offset from the beginning of the result set\").nullable().optional(),\n unpaged: z.boolean().describe(\"Whether results are unpaged\").nullable().optional(),\n pageSize: z.number().int().describe(\"Number of results per page\").nullable().optional(),\n pageNumber: z.number().int().describe(\"Current page number (0-indexed)\").nullable().optional(),\n}).passthrough().describe(\"Pagination metadata for the current page.\");\nexport const RenderformListResultsV2Output = z.object({\n last: z.boolean().describe(\"Whether this is the last page of results\").nullable().optional(),\n size: z.number().int().describe(\"Page size used for this request\").nullable().optional(),\n sort: RenderformListResultsV2_SortInfoSchema.nullable().optional(),\n empty: z.boolean().describe(\"Whether the result set is empty\").nullable().optional(),\n first: z.boolean().describe(\"Whether this is the first page of results\").nullable().optional(),\n number: z.number().int().describe(\"Current page number (0-indexed)\").nullable().optional(),\n content: z.array(RenderformListResultsV2_ResultItemSchema).describe(\"List of rendered result items on this page\").nullable().optional(),\n pageable: RenderformListResultsV2_PageableInfoSchema.nullable().optional(),\n totalPages: z.number().int().describe(\"Total number of pages available\").nullable().optional(),\n totalElements: z.number().int().describe(\"Total number of results across all pages\").nullable().optional(),\n numberOfElements: z.number().int().describe(\"Number of elements on the current page\").nullable().optional(),\n}).passthrough().describe(\"Paginated response containing rendered images and PDFs.\");\n\nexport const renderformListResultsV2: AppAction<\n typeof RenderformListResultsV2Input,\n typeof RenderformListResultsV2Output,\n typeof renderform.credential\n> = action(\"RENDERFORM_LIST_RESULTS_V2\", {\n slug: \"renderform-list-results-v2\",\n name: \"List Results (v2)\",\n description: \"Tool to list all rendered images and PDFs with pagination support. Use when retrieving results from the v2 API with filtering by template or batch.\",\n input: RenderformListResultsV2Input,\n output: RenderformListResultsV2Output,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+B,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACtH,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAClH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CACzI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;AAC/I,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,yCAAyC,EAAE,OAAO;CACtD,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,MAAM,2CAA2C,EAAE,OAAO;CACx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,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-templates-v2.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-templates-v2.cjs","names":["z","action"],"sources":["../../src/actions/list-templates-v2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RenderformListTemplatesV2Input = z.object({\n name: z.string().describe(\"Filter by template name\").optional(),\n page: z.number().int().describe(\"The page number for pagination (0-indexed)\").optional(),\n size: z.number().int().describe(\"The number of results per page (max 50)\").optional(),\n tags: z.array(z.string()).describe(\"Filter by tags (array of strings)\").optional(),\n sourceTemplateId: z.string().describe(\"Identifier of the source template used to create a template\").optional(),\n}).describe(\"Request parameters for listing templates with filtering and pagination.\");\nconst RenderformListTemplatesV2_TemplateItemSchema = z.object({\n name: z.string().describe(\"Name of the template\").nullable().optional(),\n tags: z.array(z.string()).describe(\"List of tags for the template\").nullable().optional(),\n width: z.number().int().describe(\"Width of the template in pixels\").nullable().optional(),\n editor: z.string().describe(\"Editor type used for the template\").nullable().optional(),\n height: z.number().int().describe(\"Height of the template in pixels\").nullable().optional(),\n catalog: z.string().describe(\"Template catalog\").nullable().optional(),\n preview: z.string().describe(\"URL to preview image\").nullable().optional(),\n quality: z.number().int().describe(\"Output quality setting\").nullable().optional(),\n isShared: z.boolean().describe(\"Whether template is shared\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the template was created\").nullable().optional(),\n createdBy: z.string().describe(\"User who created the template\").nullable().optional(),\n identifier: z.string().describe(\"Unique identifier for the template\").nullable().optional(),\n scaleFactor: z.number().describe(\"Scale factor for rendering\").nullable().optional(),\n outputFormat: z.string().describe(\"Output format (e.g., jpeg, png)\").nullable().optional(),\n outputExtension: z.string().describe(\"Output file extension (e.g., .jpg, .png)\").nullable().optional(),\n isEmbeddedEditor: z.boolean().describe(\"Whether embedded editor is enabled\").nullable().optional(),\n emailNotification: z.string().describe(\"Email notification address\").nullable().optional(),\n isEmailNotification: z.boolean().describe(\"Whether email notification is enabled\").nullable().optional(),\n isLivePreviewShared: z.boolean().describe(\"Whether live preview is shared\").nullable().optional(),\n}).passthrough().describe(\"Represents a single template with metadata and preview links.\");\nexport const RenderformListTemplatesV2Output = z.object({\n items: z.array(RenderformListTemplatesV2_TemplateItemSchema).describe(\"List of templates with metadata and preview links\").nullable().optional(),\n}).passthrough().describe(\"Response model containing an array of templates.\");\n\nexport const renderformListTemplatesV2 = action(\"RENDERFORM_LIST_TEMPLATES_V2\", {\n slug: \"renderform-list-templates-v2\",\n name: \"List Templates V2\",\n description: \"Tool to get a list of all your templates with metadata and preview links. Supports pagination and filtering by name and tags.\",\n input: RenderformListTemplatesV2Input,\n output: RenderformListTemplatesV2Output,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACvF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACjF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAA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AA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AACzF,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,OAAOA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACjJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-templates-v2.cjs","names":["z","action"],"sources":["../../src/actions/list-templates-v2.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { renderform } from \"../app\";\n\nexport const RenderformListTemplatesV2Input = z.object({\n name: z.string().describe(\"Filter by template name\").optional(),\n page: z.number().int().describe(\"The page number for pagination (0-indexed)\").optional(),\n size: z.number().int().describe(\"The number of results per page (max 50)\").optional(),\n tags: z.array(z.string()).describe(\"Filter by tags (array of strings)\").optional(),\n sourceTemplateId: z.string().describe(\"Identifier of the source template used to create a template\").optional(),\n}).describe(\"Request parameters for listing templates with filtering and pagination.\");\nconst RenderformListTemplatesV2_TemplateItemSchema = z.object({\n name: z.string().describe(\"Name of the template\").nullable().optional(),\n tags: z.array(z.string()).describe(\"List of tags for the template\").nullable().optional(),\n width: z.number().int().describe(\"Width of the template in pixels\").nullable().optional(),\n editor: z.string().describe(\"Editor type used for the template\").nullable().optional(),\n height: z.number().int().describe(\"Height of the template in pixels\").nullable().optional(),\n catalog: z.string().describe(\"Template catalog\").nullable().optional(),\n preview: z.string().describe(\"URL to preview image\").nullable().optional(),\n quality: z.number().int().describe(\"Output quality setting\").nullable().optional(),\n isShared: z.boolean().describe(\"Whether template is shared\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the template was created\").nullable().optional(),\n createdBy: z.string().describe(\"User who created the template\").nullable().optional(),\n identifier: z.string().describe(\"Unique identifier for the template\").nullable().optional(),\n scaleFactor: z.number().describe(\"Scale factor for rendering\").nullable().optional(),\n outputFormat: z.string().describe(\"Output format (e.g., jpeg, png)\").nullable().optional(),\n outputExtension: z.string().describe(\"Output file extension (e.g., .jpg, .png)\").nullable().optional(),\n isEmbeddedEditor: z.boolean().describe(\"Whether embedded editor is enabled\").nullable().optional(),\n emailNotification: z.string().describe(\"Email notification address\").nullable().optional(),\n isEmailNotification: z.boolean().describe(\"Whether email notification is enabled\").nullable().optional(),\n isLivePreviewShared: z.boolean().describe(\"Whether live preview is shared\").nullable().optional(),\n}).passthrough().describe(\"Represents a single template with metadata and preview links.\");\nexport const RenderformListTemplatesV2Output = z.object({\n items: z.array(RenderformListTemplatesV2_TemplateItemSchema).describe(\"List of templates with metadata and preview links\").nullable().optional(),\n}).passthrough().describe(\"Response model containing an array of templates.\");\n\nexport const renderformListTemplatesV2: AppAction<\n typeof RenderformListTemplatesV2Input,\n typeof RenderformListTemplatesV2Output,\n typeof renderform.credential\n> = action(\"RENDERFORM_LIST_TEMPLATES_V2\", {\n slug: \"renderform-list-templates-v2\",\n name: \"List Templates V2\",\n description: \"Tool to get a list of all your templates with metadata and preview links. Supports pagination and filtering by name and tags.\",\n input: RenderformListTemplatesV2Input,\n output: RenderformListTemplatesV2Output,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACvF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACjF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,QAAQA,IAAAA,EAAE,OAAO,CAAC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C,SAAS;CACjG,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AACzF,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,OAAOA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACjJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,4BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { renderform } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-templates-v2.d.ts
@@ -31,25 +33,7 @@ declare const RenderformListTemplatesV2Output: z.ZodObject<{
31
33
  isLivePreviewShared: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
32
34
  }, z.core.$loose>>>>;
33
35
  }, z.core.$loose>;
34
- declare const renderformListTemplatesV2: import("@keystrokehq/action").WorkflowActionDefinition<{
35
- name?: string | undefined;
36
- page?: number | undefined;
37
- size?: number | undefined;
38
- tags?: string[] | undefined;
39
- sourceTemplateId?: string | undefined;
40
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"renderform", z.ZodObject<{
41
- connectionId: z.ZodString;
42
- entityId: z.ZodString;
43
- instanceId: z.ZodString;
44
- }, z.core.$strip>, z.ZodObject<{
45
- generic_api_key: z.ZodString;
46
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"renderform", z.ZodObject<{
47
- connectionId: z.ZodString;
48
- entityId: z.ZodString;
49
- instanceId: z.ZodString;
50
- }, z.core.$strip>, z.ZodObject<{
51
- generic_api_key: z.ZodString;
52
- }, z.core.$strip>>]>;
36
+ declare const renderformListTemplatesV2: AppAction<typeof RenderformListTemplatesV2Input, typeof RenderformListTemplatesV2Output, typeof renderform.credential>;
53
37
  //#endregion
54
38
  export { renderformListTemplatesV2 };
55
39
  //# sourceMappingURL=list-templates-v2.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-templates-v2.d.cts","names":[],"sources":["../../src/actions/list-templates-v2.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;cA4B9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"list-templates-v2.d.cts","names":[],"sources":["../../src/actions/list-templates-v2.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;cA4B9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,UAAA,CAAW,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { renderform } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-templates-v2.d.ts
@@ -31,25 +33,7 @@ declare const RenderformListTemplatesV2Output: z.ZodObject<{
31
33
  isLivePreviewShared: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
32
34
  }, z.core.$loose>>>>;
33
35
  }, z.core.$loose>;
34
- declare const renderformListTemplatesV2: import("@keystrokehq/action").WorkflowActionDefinition<{
35
- name?: string | undefined;
36
- page?: number | undefined;
37
- size?: number | undefined;
38
- tags?: string[] | undefined;
39
- sourceTemplateId?: string | undefined;
40
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"renderform", z.ZodObject<{
41
- connectionId: z.ZodString;
42
- entityId: z.ZodString;
43
- instanceId: z.ZodString;
44
- }, z.core.$strip>, z.ZodObject<{
45
- generic_api_key: z.ZodString;
46
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"renderform", z.ZodObject<{
47
- connectionId: z.ZodString;
48
- entityId: z.ZodString;
49
- instanceId: z.ZodString;
50
- }, z.core.$strip>, z.ZodObject<{
51
- generic_api_key: z.ZodString;
52
- }, z.core.$strip>>]>;
36
+ declare const renderformListTemplatesV2: AppAction<typeof RenderformListTemplatesV2Input, typeof RenderformListTemplatesV2Output, typeof renderform.credential>;
53
37
  //#endregion
54
38
  export { renderformListTemplatesV2 };
55
39
  //# sourceMappingURL=list-templates-v2.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-templates-v2.d.mts","names":[],"sources":["../../src/actions/list-templates-v2.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;cA4B9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"list-templates-v2.d.mts","names":[],"sources":["../../src/actions/list-templates-v2.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;cA4B9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,UAAA,CAAW,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-templates-v2.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-templates-v2.mjs","names":[],"sources":["../../src/actions/list-templates-v2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RenderformListTemplatesV2Input = z.object({\n name: z.string().describe(\"Filter by template name\").optional(),\n page: z.number().int().describe(\"The page number for pagination (0-indexed)\").optional(),\n size: z.number().int().describe(\"The number of results per page (max 50)\").optional(),\n tags: z.array(z.string()).describe(\"Filter by tags (array of strings)\").optional(),\n sourceTemplateId: z.string().describe(\"Identifier of the source template used to create a template\").optional(),\n}).describe(\"Request parameters for listing templates with filtering and pagination.\");\nconst RenderformListTemplatesV2_TemplateItemSchema = z.object({\n name: z.string().describe(\"Name of the template\").nullable().optional(),\n tags: z.array(z.string()).describe(\"List of tags for the template\").nullable().optional(),\n width: z.number().int().describe(\"Width of the template in pixels\").nullable().optional(),\n editor: z.string().describe(\"Editor type used for the template\").nullable().optional(),\n height: z.number().int().describe(\"Height of the template in pixels\").nullable().optional(),\n catalog: z.string().describe(\"Template catalog\").nullable().optional(),\n preview: z.string().describe(\"URL to preview image\").nullable().optional(),\n quality: z.number().int().describe(\"Output quality setting\").nullable().optional(),\n isShared: z.boolean().describe(\"Whether template is shared\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the template was created\").nullable().optional(),\n createdBy: z.string().describe(\"User who created the template\").nullable().optional(),\n identifier: z.string().describe(\"Unique identifier for the template\").nullable().optional(),\n scaleFactor: z.number().describe(\"Scale factor for rendering\").nullable().optional(),\n outputFormat: z.string().describe(\"Output format (e.g., jpeg, png)\").nullable().optional(),\n outputExtension: z.string().describe(\"Output file extension (e.g., .jpg, .png)\").nullable().optional(),\n isEmbeddedEditor: z.boolean().describe(\"Whether embedded editor is enabled\").nullable().optional(),\n emailNotification: z.string().describe(\"Email notification address\").nullable().optional(),\n isEmailNotification: z.boolean().describe(\"Whether email notification is enabled\").nullable().optional(),\n isLivePreviewShared: z.boolean().describe(\"Whether live preview is shared\").nullable().optional(),\n}).passthrough().describe(\"Represents a single template with metadata and preview links.\");\nexport const RenderformListTemplatesV2Output = z.object({\n items: z.array(RenderformListTemplatesV2_TemplateItemSchema).describe(\"List of templates with metadata and preview links\").nullable().optional(),\n}).passthrough().describe(\"Response model containing an array of templates.\");\n\nexport const renderformListTemplatesV2 = action(\"RENDERFORM_LIST_TEMPLATES_V2\", {\n slug: \"renderform-list-templates-v2\",\n name: \"List Templates V2\",\n description: \"Tool to get a list of all your templates with metadata and preview links. Supports pagination and filtering by name and tags.\",\n input: RenderformListTemplatesV2Input,\n output: RenderformListTemplatesV2Output,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACvF,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACpF,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACjF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,+CAA+C,EAAE,OAAO;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CA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S,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,qBAAqB,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,qBAAqB,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AAKzF,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT6C,EAAE,OAAO,EACtD,OAAO,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACjJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-templates-v2.mjs","names":[],"sources":["../../src/actions/list-templates-v2.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { renderform } from \"../app\";\n\nexport const RenderformListTemplatesV2Input = z.object({\n name: z.string().describe(\"Filter by template name\").optional(),\n page: z.number().int().describe(\"The page number for pagination (0-indexed)\").optional(),\n size: z.number().int().describe(\"The number of results per page (max 50)\").optional(),\n tags: z.array(z.string()).describe(\"Filter by tags (array of strings)\").optional(),\n sourceTemplateId: z.string().describe(\"Identifier of the source template used to create a template\").optional(),\n}).describe(\"Request parameters for listing templates with filtering and pagination.\");\nconst RenderformListTemplatesV2_TemplateItemSchema = z.object({\n name: z.string().describe(\"Name of the template\").nullable().optional(),\n tags: z.array(z.string()).describe(\"List of tags for the template\").nullable().optional(),\n width: z.number().int().describe(\"Width of the template in pixels\").nullable().optional(),\n editor: z.string().describe(\"Editor type used for the template\").nullable().optional(),\n height: z.number().int().describe(\"Height of the template in pixels\").nullable().optional(),\n catalog: z.string().describe(\"Template catalog\").nullable().optional(),\n preview: z.string().describe(\"URL to preview image\").nullable().optional(),\n quality: z.number().int().describe(\"Output quality setting\").nullable().optional(),\n isShared: z.boolean().describe(\"Whether template is shared\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the template was created\").nullable().optional(),\n createdBy: z.string().describe(\"User who created the template\").nullable().optional(),\n identifier: z.string().describe(\"Unique identifier for the template\").nullable().optional(),\n scaleFactor: z.number().describe(\"Scale factor for rendering\").nullable().optional(),\n outputFormat: z.string().describe(\"Output format (e.g., jpeg, png)\").nullable().optional(),\n outputExtension: z.string().describe(\"Output file extension (e.g., .jpg, .png)\").nullable().optional(),\n isEmbeddedEditor: z.boolean().describe(\"Whether embedded editor is enabled\").nullable().optional(),\n emailNotification: z.string().describe(\"Email notification address\").nullable().optional(),\n isEmailNotification: z.boolean().describe(\"Whether email notification is enabled\").nullable().optional(),\n isLivePreviewShared: z.boolean().describe(\"Whether live preview is shared\").nullable().optional(),\n}).passthrough().describe(\"Represents a single template with metadata and preview links.\");\nexport const RenderformListTemplatesV2Output = z.object({\n items: z.array(RenderformListTemplatesV2_TemplateItemSchema).describe(\"List of templates with metadata and preview links\").nullable().optional(),\n}).passthrough().describe(\"Response model containing an array of templates.\");\n\nexport const renderformListTemplatesV2: AppAction<\n typeof RenderformListTemplatesV2Input,\n typeof RenderformListTemplatesV2Output,\n typeof renderform.credential\n> = action(\"RENDERFORM_LIST_TEMPLATES_V2\", {\n slug: \"renderform-list-templates-v2\",\n name: \"List Templates V2\",\n description: \"Tool to get a list of all your templates with metadata and preview links. Supports pagination and filtering by name and tags.\",\n input: RenderformListTemplatesV2Input,\n output: RenderformListTemplatesV2Output,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiC,EAAE,OAAO;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SA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action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/take-screenshot.ts
@@ -1 +1 @@
1
- {"version":3,"file":"take-screenshot.cjs","names":["z","action"],"sources":["../../src/actions/take-screenshot.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RenderformTakeScreenshotInput = z.object({\n url: z.string().describe(\"Complete URL of the website to capture; must include http:// or https://\"),\n width: z.number().int().describe(\"Width of the screenshot in pixels\"),\n height: z.number().int().describe(\"Height of the screenshot in pixels\"),\n waitTime: z.number().int().describe(\"Optional wait time before capture, in milliseconds (500–5000)\").optional(),\n});\nconst RenderformTakeScreenshot_RenderformTakeScreenshotResponseRequestSchema = z.object({\n url: z.string().describe(\"URL of the website captured\").nullable(),\n width: z.number().int().describe(\"Width of the screenshot in pixels\").nullable(),\n height: z.number().int().describe(\"Height of the screenshot in pixels\").nullable(),\n}).passthrough();\nexport const RenderformTakeScreenshotOutput = z.object({\n href: z.string().describe(\"URL to the captured screenshot image\").nullable(),\n request: RenderformTakeScreenshot_RenderformTakeScreenshotResponseRequestSchema.nullable(),\n requestId: z.string().describe(\"Unique identifier for this screenshot request\").nullable(),\n}).passthrough();\n\nexport const renderformTakeScreenshot = action(\"RENDERFORM_TAKE_SCREENSHOT\", {\n slug: \"renderform-take-screenshot\",\n name: \"Take Website Screenshot\",\n description: \"Tool to capture a screenshot of a website with given dimensions. Use when you need a visual snapshot of a page with optional wait time before capture.\",\n input: RenderformTakeScreenshotInput,\n output: RenderformTakeScreenshotOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;CACnG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC;CACpE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;AAChH,CAAC;AACD,MAAM,yEAAyEA,IAAAA,EAAE,OAAO;CACtF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACjE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC/E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC3E,SAAS,uEAAuE,SAAS;CACzF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"take-screenshot.cjs","names":["z","action"],"sources":["../../src/actions/take-screenshot.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { renderform } from \"../app\";\n\nexport const RenderformTakeScreenshotInput = z.object({\n url: z.string().describe(\"Complete URL of the website to capture; must include http:// or https://\"),\n width: z.number().int().describe(\"Width of the screenshot in pixels\"),\n height: z.number().int().describe(\"Height of the screenshot in pixels\"),\n waitTime: z.number().int().describe(\"Optional wait time before capture, in milliseconds (500–5000)\").optional(),\n});\nconst RenderformTakeScreenshot_RenderformTakeScreenshotResponseRequestSchema = z.object({\n url: z.string().describe(\"URL of the website captured\").nullable(),\n width: z.number().int().describe(\"Width of the screenshot in pixels\").nullable(),\n height: z.number().int().describe(\"Height of the screenshot in pixels\").nullable(),\n}).passthrough();\nexport const RenderformTakeScreenshotOutput = z.object({\n href: z.string().describe(\"URL to the captured screenshot image\").nullable(),\n request: RenderformTakeScreenshot_RenderformTakeScreenshotResponseRequestSchema.nullable(),\n requestId: z.string().describe(\"Unique identifier for this screenshot request\").nullable(),\n}).passthrough();\n\nexport const renderformTakeScreenshot: AppAction<\n typeof RenderformTakeScreenshotInput,\n typeof RenderformTakeScreenshotOutput,\n typeof renderform.credential\n> = action(\"RENDERFORM_TAKE_SCREENSHOT\", {\n slug: \"renderform-take-screenshot\",\n name: \"Take Website Screenshot\",\n description: \"Tool to capture a screenshot of a website with given dimensions. Use when you need a visual snapshot of a page with optional wait time before capture.\",\n input: RenderformTakeScreenshotInput,\n output: RenderformTakeScreenshotOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;CACnG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC;CACpE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;AAChH,CAAC;AACD,MAAM,yEAAyEA,IAAAA,EAAE,OAAO;CACtF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACjE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC/E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC3E,SAAS,uEAAuE,SAAS;CACzF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,2BAITC,eAAAA,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { renderform } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/take-screenshot.d.ts
@@ -16,24 +18,7 @@ declare const RenderformTakeScreenshotOutput: z.ZodObject<{
16
18
  }, z.core.$loose>>;
17
19
  requestId: z.ZodNullable<z.ZodString>;
18
20
  }, z.core.$loose>;
19
- declare const renderformTakeScreenshot: import("@keystrokehq/action").WorkflowActionDefinition<{
20
- url: string;
21
- width: number;
22
- height: number;
23
- waitTime?: number | undefined;
24
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"renderform", z.ZodObject<{
25
- connectionId: z.ZodString;
26
- entityId: z.ZodString;
27
- instanceId: z.ZodString;
28
- }, z.core.$strip>, z.ZodObject<{
29
- generic_api_key: z.ZodString;
30
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"renderform", z.ZodObject<{
31
- connectionId: z.ZodString;
32
- entityId: z.ZodString;
33
- instanceId: z.ZodString;
34
- }, z.core.$strip>, z.ZodObject<{
35
- generic_api_key: z.ZodString;
36
- }, z.core.$strip>>]>;
21
+ declare const renderformTakeScreenshot: AppAction<typeof RenderformTakeScreenshotInput, typeof RenderformTakeScreenshotOutput, typeof renderform.credential>;
37
22
  //#endregion
38
23
  export { renderformTakeScreenshot };
39
24
  //# sourceMappingURL=take-screenshot.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"take-screenshot.d.cts","names":[],"sources":["../../src/actions/take-screenshot.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;cAW7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;cAM9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"take-screenshot.d.cts","names":[],"sources":["../../src/actions/take-screenshot.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;cAW7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;cAM9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,UAAA,CAAW,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { renderform } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/take-screenshot.d.ts
@@ -16,24 +18,7 @@ declare const RenderformTakeScreenshotOutput: z.ZodObject<{
16
18
  }, z.core.$loose>>;
17
19
  requestId: z.ZodNullable<z.ZodString>;
18
20
  }, z.core.$loose>;
19
- declare const renderformTakeScreenshot: import("@keystrokehq/action").WorkflowActionDefinition<{
20
- url: string;
21
- width: number;
22
- height: number;
23
- waitTime?: number | undefined;
24
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"renderform", z.ZodObject<{
25
- connectionId: z.ZodString;
26
- entityId: z.ZodString;
27
- instanceId: z.ZodString;
28
- }, z.core.$strip>, z.ZodObject<{
29
- generic_api_key: z.ZodString;
30
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"renderform", z.ZodObject<{
31
- connectionId: z.ZodString;
32
- entityId: z.ZodString;
33
- instanceId: z.ZodString;
34
- }, z.core.$strip>, z.ZodObject<{
35
- generic_api_key: z.ZodString;
36
- }, z.core.$strip>>]>;
21
+ declare const renderformTakeScreenshot: AppAction<typeof RenderformTakeScreenshotInput, typeof RenderformTakeScreenshotOutput, typeof renderform.credential>;
37
22
  //#endregion
38
23
  export { renderformTakeScreenshot };
39
24
  //# sourceMappingURL=take-screenshot.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"take-screenshot.d.mts","names":[],"sources":["../../src/actions/take-screenshot.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;cAW7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;cAM9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"take-screenshot.d.mts","names":[],"sources":["../../src/actions/take-screenshot.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;cAW7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;cAM9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,UAAA,CAAW,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/take-screenshot.ts
@@ -1 +1 @@
1
- {"version":3,"file":"take-screenshot.mjs","names":[],"sources":["../../src/actions/take-screenshot.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RenderformTakeScreenshotInput = z.object({\n url: z.string().describe(\"Complete URL of the website to capture; must include http:// or https://\"),\n width: z.number().int().describe(\"Width of the screenshot in pixels\"),\n height: z.number().int().describe(\"Height of the screenshot in pixels\"),\n waitTime: z.number().int().describe(\"Optional wait time before capture, in milliseconds (500–5000)\").optional(),\n});\nconst RenderformTakeScreenshot_RenderformTakeScreenshotResponseRequestSchema = z.object({\n url: z.string().describe(\"URL of the website captured\").nullable(),\n width: z.number().int().describe(\"Width of the screenshot in pixels\").nullable(),\n height: z.number().int().describe(\"Height of the screenshot in pixels\").nullable(),\n}).passthrough();\nexport const RenderformTakeScreenshotOutput = z.object({\n href: z.string().describe(\"URL to the captured screenshot image\").nullable(),\n request: RenderformTakeScreenshot_RenderformTakeScreenshotResponseRequestSchema.nullable(),\n requestId: z.string().describe(\"Unique identifier for this screenshot request\").nullable(),\n}).passthrough();\n\nexport const renderformTakeScreenshot = action(\"RENDERFORM_TAKE_SCREENSHOT\", {\n slug: \"renderform-take-screenshot\",\n name: \"Take Website Screenshot\",\n description: \"Tool to capture a screenshot of a website with given dimensions. Use when you need a visual snapshot of a page with optional wait time before capture.\",\n input: RenderformTakeScreenshotInput,\n output: RenderformTakeScreenshotOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;CACnG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC;CACpE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC;CACtE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;AAChH,CAAC;AACD,MAAM,yEAAyE,EAAE,OAAO;CACtF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACjE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC/E,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY;AAOf,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX4C,EAAE,OAAO;EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC3E,SAAS,uEAAuE,SAAS;EACzF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC3F,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"take-screenshot.mjs","names":[],"sources":["../../src/actions/take-screenshot.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { renderform } from \"../app\";\n\nexport const RenderformTakeScreenshotInput = z.object({\n url: z.string().describe(\"Complete URL of the website to capture; must include http:// or https://\"),\n width: z.number().int().describe(\"Width of the screenshot in pixels\"),\n height: z.number().int().describe(\"Height of the screenshot in pixels\"),\n waitTime: z.number().int().describe(\"Optional wait time before capture, in milliseconds (500–5000)\").optional(),\n});\nconst RenderformTakeScreenshot_RenderformTakeScreenshotResponseRequestSchema = z.object({\n url: z.string().describe(\"URL of the website captured\").nullable(),\n width: z.number().int().describe(\"Width of the screenshot in pixels\").nullable(),\n height: z.number().int().describe(\"Height of the screenshot in pixels\").nullable(),\n}).passthrough();\nexport const RenderformTakeScreenshotOutput = z.object({\n href: z.string().describe(\"URL to the captured screenshot image\").nullable(),\n request: RenderformTakeScreenshot_RenderformTakeScreenshotResponseRequestSchema.nullable(),\n requestId: z.string().describe(\"Unique identifier for this screenshot request\").nullable(),\n}).passthrough();\n\nexport const renderformTakeScreenshot: AppAction<\n typeof RenderformTakeScreenshotInput,\n typeof RenderformTakeScreenshotOutput,\n typeof renderform.credential\n> = action(\"RENDERFORM_TAKE_SCREENSHOT\", {\n slug: \"renderform-take-screenshot\",\n name: \"Take Website Screenshot\",\n description: \"Tool to capture a screenshot of a website with given dimensions. Use when you need a visual snapshot of a page with optional wait time before capture.\",\n input: RenderformTakeScreenshotInput,\n output: RenderformTakeScreenshotOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgC,EAAE,OAAO;CACpD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;CACnG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC;CACpE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC;CACtE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;AAChH,CAAC;AACD,MAAM,yEAAyE,EAAE,OAAO;CACtF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACjE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC/E,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY;AAOf,MAAa,2BAIT,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAf4C,EAAE,OAAO;EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC3E,SAAS,uEAAuE,SAAS;EACzF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC3F,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
package/dist/app.cjs CHANGED
@@ -1,10 +1,10 @@
1
1
  let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
2
- let zod = require("zod");
3
2
  //#region src/app.ts
3
+ const credential = { generic_api_key: require("zod").z.string() };
4
4
  const renderform = (0, _keystrokehq_keystroke_app.defineApp)({
5
5
  slug: "renderform",
6
6
  auth: "keystroke",
7
- credential: { generic_api_key: zod.z.string() }
7
+ credential
8
8
  });
9
9
  //#endregion
10
10
  exports.renderform = renderform;
package/dist/app.cjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const renderform = defineApp({\n slug: \"renderform\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,cAAA,GAAA,2BAAA,UAAA,CAAuB;CAClC,MAAM;CACN,MAAM;CACN,YAAY,EACV,iBAAiBA,IAAAA,EAAE,OAAO,EAC5B;AACF,CAAC"}
1
+ {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const renderform: KeystrokeApp<\"renderform\", typeof credential> = defineApp({\n slug: \"renderform\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,8BAAiBA,CAAAA,CAAAA,EAAE,OAAO,EAC5B;AAEA,MAAa,cAAA,GAAA,2BAAA,UAAA,CAAsE;CACjF,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
package/dist/app.d.cts CHANGED
@@ -1,13 +1,11 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
1
2
  import { z } from "zod";
2
3
 
3
4
  //#region src/app.d.ts
4
- declare const renderform: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"renderform", z.ZodObject<{
5
- connectionId: z.ZodString;
6
- entityId: z.ZodString;
7
- instanceId: z.ZodString;
8
- }, z.core.$strip>, z.ZodObject<{
5
+ declare const credential: {
9
6
  generic_api_key: z.ZodString;
10
- }, z.core.$strip>>>;
7
+ };
8
+ declare const renderform: KeystrokeApp<"renderform", typeof credential>;
11
9
  //#endregion
12
10
  export { renderform };
13
11
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,UAAA,6BAAU,GAAA,+BAAA,UAAA,eAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,UAAA,EAAY,YAAY,sBAAsB,UAAA"}
package/dist/app.d.mts CHANGED
@@ -1,13 +1,11 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
1
2
  import { z } from "zod";
2
3
 
3
4
  //#region src/app.d.ts
4
- declare const renderform: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"renderform", z.ZodObject<{
5
- connectionId: z.ZodString;
6
- entityId: z.ZodString;
7
- instanceId: z.ZodString;
8
- }, z.core.$strip>, z.ZodObject<{
5
+ declare const credential: {
9
6
  generic_api_key: z.ZodString;
10
- }, z.core.$strip>>>;
7
+ };
8
+ declare const renderform: KeystrokeApp<"renderform", typeof credential>;
11
9
  //#endregion
12
10
  export { renderform };
13
11
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,UAAA,6BAAU,GAAA,+BAAA,UAAA,eAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,UAAA,EAAY,YAAY,sBAAsB,UAAA"}
package/dist/app.mjs CHANGED
@@ -1,6 +1,5 @@
1
1
  import { defineApp } from "@keystrokehq/keystroke/app";
2
2
  import { z } from "zod";
3
- //#region src/app.ts
4
3
  const renderform = defineApp({
5
4
  slug: "renderform",
6
5
  auth: "keystroke",
package/dist/app.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const renderform = defineApp({\n slug: \"renderform\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,aAAa,UAAU;CAClC,MAAM;CACN,MAAM;CACN,YAAY,EACV,iBAAiB,EAAE,OAAO,EAC5B;AACF,CAAC"}
1
+ {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const renderform: KeystrokeApp<\"renderform\", typeof credential> = defineApp({\n slug: \"renderform\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAOA,MAAa,aAA4D,UAAU;CACjF,MAAM;CACN,MAAM;CACN,cANA,iBAAiB,EAAE,OAAO,EAM1B;AACF,CAAC"}
package/dist/index.d.cts CHANGED
@@ -1,3 +1,4 @@
1
+ import { renderform } from "./app.cjs";
1
2
  import { renderformCreatePdfFromUrl } from "./actions/create-pdf-from-url.cjs";
2
3
  import { renderformDeleteResult } from "./actions/delete-result.cjs";
3
4
  import { renderformGetResult } from "./actions/get-result.cjs";
@@ -5,6 +6,5 @@ import { renderformListFonts } from "./actions/list-fonts.cjs";
5
6
  import { renderformListResultsV2 } from "./actions/list-results-v2.cjs";
6
7
  import { renderformListTemplatesV2 } from "./actions/list-templates-v2.cjs";
7
8
  import { renderformTakeScreenshot } from "./actions/take-screenshot.cjs";
8
- import { renderform } from "./app.cjs";
9
9
  import { renderformCatalog } from "./catalog.cjs";
10
10
  export { renderform, renderformCatalog, renderformCreatePdfFromUrl, renderformDeleteResult, renderformGetResult, renderformListFonts, renderformListResultsV2, renderformListTemplatesV2, renderformTakeScreenshot };
package/dist/index.d.mts CHANGED
@@ -1,3 +1,4 @@
1
+ import { renderform } from "./app.mjs";
1
2
  import { renderformCreatePdfFromUrl } from "./actions/create-pdf-from-url.mjs";
2
3
  import { renderformDeleteResult } from "./actions/delete-result.mjs";
3
4
  import { renderformGetResult } from "./actions/get-result.mjs";
@@ -5,6 +6,5 @@ import { renderformListFonts } from "./actions/list-fonts.mjs";
5
6
  import { renderformListResultsV2 } from "./actions/list-results-v2.mjs";
6
7
  import { renderformListTemplatesV2 } from "./actions/list-templates-v2.mjs";
7
8
  import { renderformTakeScreenshot } from "./actions/take-screenshot.mjs";
8
- import { renderform } from "./app.mjs";
9
9
  import { renderformCatalog } from "./catalog.mjs";
10
10
  export { renderform, renderformCatalog, renderformCreatePdfFromUrl, renderformDeleteResult, renderformGetResult, renderformListFonts, renderformListResultsV2, renderformListTemplatesV2, renderformTakeScreenshot };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/renderform",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
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.104",
35
35
  "zod": "^4.4.3"
36
36
  },
37
37
  "devDependencies": {