@keystrokehq/screenshotone 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/get-usage.cjs +6 -6
  4. package/dist/actions/get-usage.cjs.map +1 -1
  5. package/dist/actions/get-usage.d.cts +12 -3
  6. package/dist/actions/get-usage.d.cts.map +1 -1
  7. package/dist/actions/get-usage.d.mts +12 -3
  8. package/dist/actions/get-usage.d.mts.map +1 -1
  9. package/dist/actions/get-usage.mjs +6 -6
  10. package/dist/actions/get-usage.mjs.map +1 -1
  11. package/dist/actions/list-devices.cjs +9 -9
  12. package/dist/actions/list-devices.cjs.map +1 -1
  13. package/dist/actions/list-devices.d.cts +17 -3
  14. package/dist/actions/list-devices.d.cts.map +1 -1
  15. package/dist/actions/list-devices.d.mts +17 -3
  16. package/dist/actions/list-devices.d.mts.map +1 -1
  17. package/dist/actions/list-devices.mjs +9 -9
  18. package/dist/actions/list-devices.mjs.map +1 -1
  19. package/dist/actions/take-animated-screenshot.cjs +4 -4
  20. package/dist/actions/take-animated-screenshot.cjs.map +1 -1
  21. package/dist/actions/take-animated-screenshot.d.cts +112 -3
  22. package/dist/actions/take-animated-screenshot.d.cts.map +1 -1
  23. package/dist/actions/take-animated-screenshot.d.mts +112 -3
  24. package/dist/actions/take-animated-screenshot.d.mts.map +1 -1
  25. package/dist/actions/take-animated-screenshot.mjs +4 -4
  26. package/dist/actions/take-animated-screenshot.mjs.map +1 -1
  27. package/dist/actions/take-bulk-screenshots.cjs +4 -4
  28. package/dist/actions/take-bulk-screenshots.cjs.map +1 -1
  29. package/dist/actions/take-bulk-screenshots.d.cts +113 -3
  30. package/dist/actions/take-bulk-screenshots.d.cts.map +1 -1
  31. package/dist/actions/take-bulk-screenshots.d.mts +113 -3
  32. package/dist/actions/take-bulk-screenshots.d.mts.map +1 -1
  33. package/dist/actions/take-bulk-screenshots.mjs +4 -4
  34. package/dist/actions/take-bulk-screenshots.mjs.map +1 -1
  35. package/dist/actions/take-screenshot.cjs +3 -3
  36. package/dist/actions/take-screenshot.cjs.map +1 -1
  37. package/dist/actions/take-screenshot.d.cts +51 -3
  38. package/dist/actions/take-screenshot.d.cts.map +1 -1
  39. package/dist/actions/take-screenshot.d.mts +51 -3
  40. package/dist/actions/take-screenshot.d.mts.map +1 -1
  41. package/dist/actions/take-screenshot.mjs +3 -3
  42. package/dist/actions/take-screenshot.mjs.map +1 -1
  43. package/dist/catalog.cjs +15 -1
  44. package/dist/catalog.cjs.map +1 -1
  45. package/dist/catalog.d.cts +14 -0
  46. package/dist/catalog.d.mts +14 -0
  47. package/dist/catalog.mjs +15 -1
  48. package/dist/catalog.mjs.map +1 -1
  49. package/package.json +2 -2
@@ -1,9 +1,118 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/take-animated-screenshot.d.ts
4
- declare const ScreenshotoneTakeAnimatedScreenshotInput: z.ZodTypeAny;
5
- declare const ScreenshotoneTakeAnimatedScreenshotOutput: z.ZodTypeAny;
6
- declare const screenshotoneTakeAnimatedScreenshot: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ScreenshotoneTakeAnimatedScreenshotInput: z.ZodObject<{
5
+ url: z.ZodString;
6
+ delay: z.ZodOptional<z.ZodNumber>;
7
+ width: z.ZodOptional<z.ZodNumber>;
8
+ clip_x: z.ZodOptional<z.ZodNumber>;
9
+ clip_y: z.ZodOptional<z.ZodNumber>;
10
+ format: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
11
+ mp4: "mp4";
12
+ mov: "mov";
13
+ avi: "avi";
14
+ webm: "webm";
15
+ gif: "gif";
16
+ }>>>;
17
+ height: z.ZodOptional<z.ZodNumber>;
18
+ duration: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
19
+ scenario: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
20
+ default: "default";
21
+ scroll: "scroll";
22
+ }>>>;
23
+ block_ads: z.ZodOptional<z.ZodBoolean>;
24
+ full_page: z.ZodOptional<z.ZodBoolean>;
25
+ scroll_by: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
26
+ clip_width: z.ZodOptional<z.ZodNumber>;
27
+ clip_height: z.ZodOptional<z.ZodNumber>;
28
+ scroll_back: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
29
+ aspect_ratio: z.ZodOptional<z.ZodString>;
30
+ scroll_delay: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
31
+ scroll_easing: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
32
+ linear: "linear";
33
+ ease_in_quad: "ease_in_quad";
34
+ ease_out_quad: "ease_out_quad";
35
+ ease_in_out_quad: "ease_in_out_quad";
36
+ ease_in_cubic: "ease_in_cubic";
37
+ ease_out_cubic: "ease_out_cubic";
38
+ ease_in_out_cubic: "ease_in_out_cubic";
39
+ ease_in_quart: "ease_in_quart";
40
+ ease_out_quart: "ease_out_quart";
41
+ ease_in_out_quart: "ease_in_out_quart";
42
+ ease_in_quint: "ease_in_quint";
43
+ ease_out_quint: "ease_out_quint";
44
+ ease_in_out_quint: "ease_in_out_quint";
45
+ }>>>;
46
+ viewport_width: z.ZodOptional<z.ZodNumber>;
47
+ omit_background: z.ZodOptional<z.ZodBoolean>;
48
+ scroll_complete: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
49
+ scroll_duration: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
50
+ viewport_height: z.ZodOptional<z.ZodNumber>;
51
+ scroll_start_delay: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
52
+ device_scale_factor: z.ZodOptional<z.ZodNumber>;
53
+ scroll_to_end_after: z.ZodOptional<z.ZodNumber>;
54
+ scroll_try_navigate: z.ZodOptional<z.ZodBoolean>;
55
+ block_cookie_banners: z.ZodOptional<z.ZodBoolean>;
56
+ scroll_till_selector: z.ZodOptional<z.ZodString>;
57
+ scroll_back_algorithm: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
58
+ repeat: "repeat";
59
+ once: "once";
60
+ }>>>;
61
+ scroll_navigate_after: z.ZodOptional<z.ZodNumber>;
62
+ scroll_navigate_to_url: z.ZodOptional<z.ZodString>;
63
+ scroll_start_immediately: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
64
+ scroll_back_after_duration: z.ZodOptional<z.ZodNumber>;
65
+ scroll_navigate_link_hints: z.ZodOptional<z.ZodArray<z.ZodString>>;
66
+ scroll_stop_after_duration: z.ZodOptional<z.ZodNumber>;
67
+ scroll_till_selector_adjust_top: z.ZodOptional<z.ZodNumber>;
68
+ }, z.core.$strip>;
69
+ declare const ScreenshotoneTakeAnimatedScreenshotOutput: z.ZodObject<{
70
+ file: z.ZodNullable<z.ZodObject<{
71
+ name: z.ZodNullable<z.ZodString>;
72
+ s3url: z.ZodNullable<z.ZodString>;
73
+ mimetype: z.ZodNullable<z.ZodString>;
74
+ }, z.core.$strip>>;
75
+ content_type: z.ZodNullable<z.ZodString>;
76
+ }, z.core.$strip>;
77
+ declare const screenshotoneTakeAnimatedScreenshot: import("@keystrokehq/action").WorkflowActionDefinition<{
78
+ url: string;
79
+ delay?: number | undefined;
80
+ width?: number | undefined;
81
+ clip_x?: number | undefined;
82
+ clip_y?: number | undefined;
83
+ format?: "mp4" | "mov" | "avi" | "webm" | "gif" | undefined;
84
+ height?: number | undefined;
85
+ duration?: number | undefined;
86
+ scenario?: "default" | "scroll" | undefined;
87
+ block_ads?: boolean | undefined;
88
+ full_page?: boolean | undefined;
89
+ scroll_by?: number | undefined;
90
+ clip_width?: number | undefined;
91
+ clip_height?: number | undefined;
92
+ scroll_back?: boolean | undefined;
93
+ aspect_ratio?: string | undefined;
94
+ scroll_delay?: number | undefined;
95
+ scroll_easing?: "linear" | "ease_in_quad" | "ease_out_quad" | "ease_in_out_quad" | "ease_in_cubic" | "ease_out_cubic" | "ease_in_out_cubic" | "ease_in_quart" | "ease_out_quart" | "ease_in_out_quart" | "ease_in_quint" | "ease_out_quint" | "ease_in_out_quint" | undefined;
96
+ viewport_width?: number | undefined;
97
+ omit_background?: boolean | undefined;
98
+ scroll_complete?: boolean | undefined;
99
+ scroll_duration?: number | undefined;
100
+ viewport_height?: number | undefined;
101
+ scroll_start_delay?: number | undefined;
102
+ device_scale_factor?: number | undefined;
103
+ scroll_to_end_after?: number | undefined;
104
+ scroll_try_navigate?: boolean | undefined;
105
+ block_cookie_banners?: boolean | undefined;
106
+ scroll_till_selector?: string | undefined;
107
+ scroll_back_algorithm?: "repeat" | "once" | undefined;
108
+ scroll_navigate_after?: number | undefined;
109
+ scroll_navigate_to_url?: string | undefined;
110
+ scroll_start_immediately?: boolean | undefined;
111
+ scroll_back_after_duration?: number | undefined;
112
+ scroll_navigate_link_hints?: string[] | undefined;
113
+ scroll_stop_after_duration?: number | undefined;
114
+ scroll_till_selector_adjust_top?: number | undefined;
115
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
116
  //#endregion
8
117
  export { screenshotoneTakeAnimatedScreenshot };
9
118
  //# sourceMappingURL=take-animated-screenshot.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"take-animated-screenshot.d.mts","names":[],"sources":["../../src/actions/take-animated-screenshot.ts"],"mappings":";;;cAIa,wCAAA,EAA0C,CAAA,CAAE,UAsCvD;AAAA,cAMW,yCAAA,EAA2C,CAAA,CAAE,UAGM;AAAA,cAEnD,mCAAA,gCAAmC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"take-animated-screenshot.d.mts","names":[],"sources":["../../src/actions/take-animated-screenshot.ts"],"mappings":";;;cAIa,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA4CxC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;cAKzC,mCAAA,gCAAmC,wBAAA"}
@@ -61,9 +61,9 @@ const ScreenshotoneTakeAnimatedScreenshotInput = z.object({
61
61
  scroll_till_selector_adjust_top: z.number().int().describe("Adjust the top position of the selector in the viewport. Applicable if scenario is 'scroll'.").optional()
62
62
  });
63
63
  const ScreenshotoneTakeAnimatedScreenshot_FileDownloadableSchema = z.object({
64
- name: z.string().describe("Name of the file"),
65
- s3url: z.string().describe("S3 URL of the downloaded file."),
66
- mimetype: z.string().describe("Mime type of the file.")
64
+ name: z.string().describe("Name of the file").nullable(),
65
+ s3url: z.string().describe("S3 URL of the downloaded file.").nullable(),
66
+ mimetype: z.string().describe("Mime type of the file.").nullable()
67
67
  });
68
68
  const screenshotoneTakeAnimatedScreenshot = action("SCREENSHOTONE_TAKE_ANIMATED_SCREENSHOT", {
69
69
  slug: "screenshotone-take-animated-screenshot",
@@ -72,7 +72,7 @@ const screenshotoneTakeAnimatedScreenshot = action("SCREENSHOTONE_TAKE_ANIMATED_
72
72
  input: ScreenshotoneTakeAnimatedScreenshotInput,
73
73
  output: z.object({
74
74
  file: ScreenshotoneTakeAnimatedScreenshot_FileDownloadableSchema.nullable(),
75
- content_type: z.string().describe("The content type of the response (e.g., 'video/mp4', 'image/gif').")
75
+ content_type: z.string().describe("The content type of the response (e.g., 'video/mp4', 'image/gif').").nullable()
76
76
  }).describe("Response containing the animated screenshot file.")
77
77
  });
78
78
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"take-animated-screenshot.mjs","names":[],"sources":["../../src/actions/take-animated-screenshot.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScreenshotoneTakeAnimatedScreenshotInput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"The URL of the website to capture.\"),\n delay: z.number().int().describe(\"Delay before taking the screenshot in milliseconds. Set non-zero to allow heavy or complex pages to fully render before capture begins.\").optional(),\n width: z.number().int().describe(\"Width of the output animation. If specified, height must also be specified. Defaults to viewport width. Unset or misconfigured viewport_width/viewport_height can cause cropping or distortion when width is not explicitly set.\").optional(),\n clip_x: z.number().int().describe(\"X-coordinate for clipping the video. Only for GIF format.\").optional(),\n clip_y: z.number().int().describe(\"Y-coordinate for clipping the video. Only for GIF format.\").optional(),\n format: z.enum([\"mp4\", \"mov\", \"avi\", \"webm\", \"gif\"]).default(\"mp4\").describe(\"The format of the animated screenshot.\").optional(),\n height: z.number().int().describe(\"Height of the output animation. If specified, width must also be specified. Defaults to viewport height.\").optional(),\n duration: z.number().int().default(5).describe(\"Duration of the animation in seconds. Minimum 1, maximum 30.\").optional(),\n scenario: z.enum([\"default\", \"scroll\"]).default(\"default\").describe(\"Defines the animation behavior. `default` records the site as it appears after loading. `scroll` simulates scrolling.\").optional(),\n block_ads: z.boolean().describe(\"Block ads.\").optional(),\n full_page: z.boolean().describe(\"Capture the full scrollable page (Note: for animated, this might interact with scenario). Very long pages produce extremely tall output that may cause downstream display or storage issues.\").optional(),\n scroll_by: z.number().int().default(1000).describe(\"Pixels to scroll per step. Applicable if scenario is 'scroll'.\").optional(),\n clip_width: z.number().int().describe(\"Width for clipping the video. Only for GIF format.\").optional(),\n clip_height: z.number().int().describe(\"Height for clipping the video. Only for GIF format.\").optional(),\n scroll_back: z.boolean().default(true).describe(\"Scroll back to the top after reaching the bottom. Applicable if scenario is 'scroll'.\").optional(),\n aspect_ratio: z.string().describe(\"Aspect ratio for the animation (e.g., '16:9'). If specified, width and height are ignored.\").optional(),\n scroll_delay: z.number().int().default(500).describe(\"Delay in milliseconds between scrolls. Applicable if scenario is 'scroll'.\").optional(),\n scroll_easing: z.enum([\"linear\", \"ease_in_quad\", \"ease_out_quad\", \"ease_in_out_quad\", \"ease_in_cubic\", \"ease_out_cubic\", \"ease_in_out_cubic\", \"ease_in_quart\", \"ease_out_quart\", \"ease_in_out_quart\", \"ease_in_quint\", \"ease_out_quint\", \"ease_in_out_quint\"]).default(\"ease_in_out_quint\").describe(\"Scrolling easing effect. Applicable if scenario is 'scroll'.\").optional(),\n viewport_width: z.number().int().describe(\"Viewport width.\").optional(),\n omit_background: z.boolean().describe(\"Omit background (only for MOV format).\").optional(),\n scroll_complete: z.boolean().default(true).describe(\"Stop recording animation when full scrolling is completed. Applicable if scenario is 'scroll'.\").optional(),\n scroll_duration: z.number().int().default(1500).describe(\"Duration in milliseconds of one scroll. Applicable if scenario is 'scroll'.\").optional(),\n viewport_height: z.number().int().describe(\"Viewport height.\").optional(),\n scroll_start_delay: z.number().int().default(0).describe(\"Wait time in milliseconds before starting scrolling. Applicable if scenario is 'scroll'.\").optional(),\n device_scale_factor: z.number().describe(\"Device scale factor.\").optional(),\n scroll_to_end_after: z.number().int().describe(\"Scroll to the end after the specified duration in milliseconds with the specified easing in one scroll. Applicable if scenario is 'scroll'.\").optional(),\n scroll_try_navigate: z.boolean().describe(\"Navigate while scrolling and record the new opened page. Applicable if scenario is 'scroll'.\").optional(),\n block_cookie_banners: z.boolean().describe(\"Block cookie banners.\").optional(),\n scroll_till_selector: z.string().describe(\"Scroll till the CSS selector is visible. Applicable if scenario is 'scroll'.\").optional(),\n scroll_back_algorithm: z.enum([\"once\", \"repeat\"]).default(\"once\").describe(\"Algorithm for scrolling back (`once` or `repeat`). Applicable if scenario is 'scroll'.\").optional(),\n scroll_navigate_after: z.number().int().describe(\"Navigate after duration in milliseconds (default is half of the duration). Applicable if scenario is 'scroll'.\").optional(),\n scroll_navigate_to_url: z.string().describe(\"URL to navigate to. Applicable if scenario is 'scroll'.\").optional(),\n scroll_start_immediately: z.boolean().default(true).describe(\"Scroll immediately or wait for scroll_delay. Applicable if scenario is 'scroll'.\").optional(),\n scroll_back_after_duration: z.number().int().describe(\"Scroll back after the specified duration in milliseconds. Applicable if scenario is 'scroll'.\").optional(),\n scroll_navigate_link_hints: z.array(z.string()).describe(\"Hints for links to use for navigation if scroll_navigate_to_url is not specified. E.g. ['pricing', 'about']. Applicable if scenario is 'scroll'.\").optional(),\n scroll_stop_after_duration: z.number().int().describe(\"Stop scrolling after the specified duration in milliseconds. Use with scroll_complete=false and scroll_back=false. Applicable if scenario is 'scroll'.\").optional(),\n scroll_till_selector_adjust_top: z.number().int().describe(\"Adjust the top position of the selector in the viewport. Applicable if scenario is 'scroll'.\").optional(),\n});\nconst ScreenshotoneTakeAnimatedScreenshot_FileDownloadableSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the file\"),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\"),\n mimetype: z.string().describe(\"Mime type of the file.\"),\n});\nexport const ScreenshotoneTakeAnimatedScreenshotOutput: z.ZodTypeAny = z.object({\n file: ScreenshotoneTakeAnimatedScreenshot_FileDownloadableSchema.nullable(),\n content_type: z.string().describe(\"The content type of the response (e.g., 'video/mp4', 'image/gif').\"),\n}).describe(\"Response containing the animated screenshot file.\");\n\nexport const screenshotoneTakeAnimatedScreenshot = action(\"SCREENSHOTONE_TAKE_ANIMATED_SCREENSHOT\", {\n slug: \"screenshotone-take-animated-screenshot\",\n name: \"Take Animated Screenshot\",\n description: \"This tool captures an animated screenshot (video or GIF) of a given website URL. It allows customization of the animation format, duration, viewport dimensions, and animation scenario (e.g., scrolling).\",\n input: ScreenshotoneTakeAnimatedScreenshotInput,\n output: ScreenshotoneTakeAnimatedScreenshotOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAAyD,EAAE,OAAO;CAC7E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yIAAyI,CAAC,CAAC,SAAS;CACrL,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kOAAkO,CAAC,CAAC,SAAS;CAC9Q,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI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ated-screenshot.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScreenshotoneTakeAnimatedScreenshotInput = z.object({\n url: z.string().describe(\"The URL of the website to capture.\"),\n delay: z.number().int().describe(\"Delay before taking the screenshot in milliseconds. Set non-zero to allow heavy or complex pages to fully render before capture begins.\").optional(),\n width: z.number().int().describe(\"Width of the output animation. If specified, height must also be specified. Defaults to viewport width. Unset or misconfigured viewport_width/viewport_height can cause cropping or distortion when width is not explicitly set.\").optional(),\n clip_x: z.number().int().describe(\"X-coordinate for clipping the video. Only for GIF format.\").optional(),\n clip_y: z.number().int().describe(\"Y-coordinate for clipping the video. Only for GIF format.\").optional(),\n format: z.enum([\"mp4\", \"mov\", \"avi\", \"webm\", \"gif\"]).default(\"mp4\").describe(\"The format of the animated screenshot.\").optional(),\n height: z.number().int().describe(\"Height of the output animation. If specified, width must also be specified. Defaults to viewport height.\").optional(),\n duration: z.number().int().default(5).describe(\"Duration of the animation in seconds. Minimum 1, maximum 30.\").optional(),\n scenario: z.enum([\"default\", \"scroll\"]).default(\"default\").describe(\"Defines the animation behavior. `default` records the site as it appears after loading. `scroll` simulates scrolling.\").optional(),\n block_ads: z.boolean().describe(\"Block ads.\").optional(),\n full_page: z.boolean().describe(\"Capture the full scrollable page (Note: for animated, this might interact with scenario). Very long pages produce extremely tall output that may cause downstream display or storage issues.\").optional(),\n scroll_by: z.number().int().default(1000).describe(\"Pixels to scroll per step. Applicable if scenario is 'scroll'.\").optional(),\n clip_width: z.number().int().describe(\"Width for clipping the video. Only for GIF format.\").optional(),\n clip_height: z.number().int().describe(\"Height for clipping the video. Only for GIF format.\").optional(),\n scroll_back: z.boolean().default(true).describe(\"Scroll back to the top after reaching the bottom. Applicable if scenario is 'scroll'.\").optional(),\n aspect_ratio: z.string().describe(\"Aspect ratio for the animation (e.g., '16:9'). If specified, width and height are ignored.\").optional(),\n scroll_delay: z.number().int().default(500).describe(\"Delay in milliseconds between scrolls. Applicable if scenario is 'scroll'.\").optional(),\n scroll_easing: z.enum([\"linear\", \"ease_in_quad\", \"ease_out_quad\", \"ease_in_out_quad\", \"ease_in_cubic\", \"ease_out_cubic\", \"ease_in_out_cubic\", \"ease_in_quart\", \"ease_out_quart\", \"ease_in_out_quart\", \"ease_in_quint\", \"ease_out_quint\", \"ease_in_out_quint\"]).default(\"ease_in_out_quint\").describe(\"Scrolling easing effect. Applicable if scenario is 'scroll'.\").optional(),\n viewport_width: z.number().int().describe(\"Viewport width.\").optional(),\n omit_background: z.boolean().describe(\"Omit background (only for MOV format).\").optional(),\n scroll_complete: z.boolean().default(true).describe(\"Stop recording animation when full scrolling is completed. Applicable if scenario is 'scroll'.\").optional(),\n scroll_duration: z.number().int().default(1500).describe(\"Duration in milliseconds of one scroll. Applicable if scenario is 'scroll'.\").optional(),\n viewport_height: z.number().int().describe(\"Viewport height.\").optional(),\n scroll_start_delay: z.number().int().default(0).describe(\"Wait time in milliseconds before starting scrolling. Applicable if scenario is 'scroll'.\").optional(),\n device_scale_factor: z.number().describe(\"Device scale factor.\").optional(),\n scroll_to_end_after: z.number().int().describe(\"Scroll to the end after the specified duration in milliseconds with the specified easing in one scroll. Applicable if scenario is 'scroll'.\").optional(),\n scroll_try_navigate: z.boolean().describe(\"Navigate while scrolling and record the new opened page. Applicable if scenario is 'scroll'.\").optional(),\n block_cookie_banners: z.boolean().describe(\"Block cookie banners.\").optional(),\n scroll_till_selector: z.string().describe(\"Scroll till the CSS selector is visible. Applicable if scenario is 'scroll'.\").optional(),\n scroll_back_algorithm: z.enum([\"once\", \"repeat\"]).default(\"once\").describe(\"Algorithm for scrolling back (`once` or `repeat`). Applicable if scenario is 'scroll'.\").optional(),\n scroll_navigate_after: z.number().int().describe(\"Navigate after duration in milliseconds (default is half of the duration). Applicable if scenario is 'scroll'.\").optional(),\n scroll_navigate_to_url: z.string().describe(\"URL to navigate to. Applicable if scenario is 'scroll'.\").optional(),\n scroll_start_immediately: z.boolean().default(true).describe(\"Scroll immediately or wait for scroll_delay. Applicable if scenario is 'scroll'.\").optional(),\n scroll_back_after_duration: z.number().int().describe(\"Scroll back after the specified duration in milliseconds. Applicable if scenario is 'scroll'.\").optional(),\n scroll_navigate_link_hints: z.array(z.string()).describe(\"Hints for links to use for navigation if scroll_navigate_to_url is not specified. E.g. ['pricing', 'about']. Applicable if scenario is 'scroll'.\").optional(),\n scroll_stop_after_duration: z.number().int().describe(\"Stop scrolling after the specified duration in milliseconds. Use with scroll_complete=false and scroll_back=false. Applicable if scenario is 'scroll'.\").optional(),\n scroll_till_selector_adjust_top: z.number().int().describe(\"Adjust the top position of the selector in the viewport. Applicable if scenario is 'scroll'.\").optional(),\n});\nconst ScreenshotoneTakeAnimatedScreenshot_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n});\nexport const ScreenshotoneTakeAnimatedScreenshotOutput = z.object({\n file: ScreenshotoneTakeAnimatedScreenshot_FileDownloadableSchema.nullable(),\n content_type: z.string().describe(\"The content type of the response (e.g., 'video/mp4', 'image/gif').\").nullable(),\n}).describe(\"Response containing the animated screenshot file.\");\n\nexport const screenshotoneTakeAnimatedScreenshot = action(\"SCREENSHOTONE_TAKE_ANIMATED_SCREENSHOT\", {\n slug: \"screenshotone-take-animated-screenshot\",\n name: \"Take Animated Screenshot\",\n description: \"This tool captures an animated screenshot (video or GIF) of a given website URL. It allows customization of the animation format, duration, viewport dimensions, and animation scenario (e.g., scrolling).\",\n input: ScreenshotoneTakeAnimatedScreenshotInput,\n output: ScreenshotoneTakeAnimatedScreenshotOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAA2C,EAAE,OAAO;CAC/D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yIAAyI,CAAC,CAAC,SAAS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AChE,MAAM,2DAA2D,SAAS;EAC1E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CACnH,CAAC,CAAC,CAAC,SAAS,mDAOF;AACV,CAAC"}
@@ -63,12 +63,12 @@ const ScreenshotoneTakeBulkScreenshotsInput = zod.z.object({
63
63
  }).describe("Request model for taking multiple screenshots in a single API call.");
64
64
  const ScreenshotoneTakeBulkScreenshots_ExecutionResponseSchema = zod.z.object({
65
65
  body: zod.z.object({}).describe("Error details if execution was not successful.").nullable().optional(),
66
- status: zod.z.number().int().describe("HTTP status code of the execution."),
67
- statusText: zod.z.string().describe("HTTP status text of the execution."),
68
- is_successful: zod.z.boolean().describe("Whether the screenshot execution was successful.")
66
+ status: zod.z.number().int().describe("HTTP status code of the execution.").nullable(),
67
+ statusText: zod.z.string().describe("HTTP status text of the execution.").nullable(),
68
+ is_successful: zod.z.boolean().describe("Whether the screenshot execution was successful.").nullable()
69
69
  }).describe("Execution response for individual screenshot when execute=true.");
70
70
  const ScreenshotoneTakeBulkScreenshots_BulkScreenshotResponseSchema = zod.z.object({
71
- url: zod.z.string().describe("URL to download the screenshot. For lazy loading (execute=false), the screenshot will be taken when this URL is accessed."),
71
+ url: zod.z.string().describe("URL to download the screenshot. For lazy loading (execute=false), the screenshot will be taken when this URL is accessed.").nullable(),
72
72
  response: ScreenshotoneTakeBulkScreenshots_ExecutionResponseSchema.nullable().optional()
73
73
  }).describe("Individual response for each screenshot in the bulk request.");
74
74
  const ScreenshotoneTakeBulkScreenshotsOutput = zod.z.object({ responses: zod.z.array(ScreenshotoneTakeBulkScreenshots_BulkScreenshotResponseSchema).describe("Array of response objects containing screenshot URLs and execution status.") }).describe("Response containing URLs for all requested screenshots.");
@@ -1 +1 @@
1
- {"version":3,"file":"take-bulk-screenshots.cjs","names":["z","action"],"sources":["../../src/actions/take-bulk-screenshots.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScreenshotoneTakeBulkScreenshotsInput: z.ZodTypeAny = z.object({\n execute: z.boolean().default(false).describe(\"Execute all screenshot requests immediately instead of lazy loading. When false (default), screenshots are taken when downloaded. When true, screenshots are taken immediately.\").optional(),\n options: z.object({\n url: z.string().describe(\"Default URL to screenshot. Can be overridden by individual requests.\").optional(),\n html: z.string().describe(\"Default raw HTML content to render instead of URL. Can be overridden by individual requests.\").optional(),\n cache: z.boolean().describe(\"Default caching setting. Can be overridden by individual requests.\").optional(),\n delay: z.number().int().describe(\"Default delay in milliseconds before taking screenshot. Can be overridden by individual requests.\").optional(),\n format: z.enum([\"png\", \"jpg\", \"jpeg\", \"webp\"]).describe(\"Image format options for screenshots.\").optional(),\n markdown: z.string().describe(\"Default markdown content to render. Can be overridden by individual requests.\").optional(),\n block_ads: z.boolean().describe(\"Default setting to block ads. Can be overridden by individual requests.\").optional(),\n cache_ttl: z.number().int().describe(\"Default cache TTL in seconds. Can be overridden by individual requests.\").optional(),\n full_page: z.boolean().describe(\"Default setting to capture full page. Can be overridden by individual requests.\").optional(),\n block_chats: z.boolean().describe(\"Default setting to block chat widgets. Can be overridden by individual requests.\").optional(),\n storage_path: z.string().describe(\"Default S3 storage path for screenshots. Can be overridden by individual requests.\").optional(),\n block_trackers: z.boolean().describe(\"Default setting to block trackers. Can be overridden by individual requests.\").optional(),\n viewport_width: z.number().int().describe(\"Default viewport width in pixels. Can be overridden by individual requests.\").optional(),\n viewport_device: z.enum([\"desktop\", \"mobile\", \"tablet\"]).describe(\"Preset device viewport options.\").optional(),\n viewport_height: z.number().int().describe(\"Default viewport height in pixels. Can be overridden by individual requests.\").optional(),\n device_scale_factor: z.number().describe(\"Default device pixel ratio. Can be overridden by individual requests.\").optional(),\n block_cookie_banners: z.boolean().describe(\"Default setting to block cookie banners. Can be overridden by individual requests.\").optional(),\n}).describe(\"Default options applied to all screenshot requests in the bulk operation.\").optional(),\n optimize: z.boolean().default(false).describe(\"Optimize bulk screenshots for same URLs with different parameters. Only works when execute=true. Improves performance when taking multiple screenshots of the same site.\").optional(),\n requests: z.array(z.object({\n url: z.string().describe(\"URL to screenshot. Overrides default if specified.\").optional(),\n html: z.string().describe(\"Raw HTML content to render. Overrides default if specified.\").optional(),\n cache: z.boolean().describe(\"Caching setting. Overrides default if specified.\").optional(),\n delay: z.number().int().describe(\"Delay in milliseconds before taking screenshot. Overrides default if specified.\").optional(),\n format: z.enum([\"png\", \"jpg\", \"jpeg\", \"webp\"]).describe(\"Image format options for screenshots.\").optional(),\n markdown: z.string().describe(\"Markdown content to render. Overrides default if specified.\").optional(),\n block_ads: z.boolean().describe(\"Block ads. Overrides default if specified.\").optional(),\n cache_ttl: z.number().int().describe(\"Cache TTL in seconds. Overrides default if specified.\").optional(),\n full_page: z.boolean().describe(\"Capture full page. Overrides default if specified.\").optional(),\n block_chats: z.boolean().describe(\"Block chat widgets. Overrides default if specified.\").optional(),\n storage_path: z.string().describe(\"S3 storage path for this screenshot. Overrides default if specified.\").optional(),\n block_trackers: z.boolean().describe(\"Block trackers. Overrides default if specified.\").optional(),\n viewport_width: z.number().int().describe(\"Viewport width in pixels. Overrides default if specified.\").optional(),\n viewport_device: z.enum([\"desktop\", \"mobile\", \"tablet\"]).describe(\"Preset device viewport options.\").optional(),\n viewport_height: z.number().int().describe(\"Viewport height in pixels. Overrides default if specified.\").optional(),\n device_scale_factor: z.number().describe(\"Device pixel ratio. Overrides default if specified.\").optional(),\n block_cookie_banners: z.boolean().describe(\"Block cookie banners. Overrides default if specified.\").optional(),\n}).describe(\"Individual screenshot request that can override default options.\")).describe(\"Array of individual screenshot requests. Maximum 20 requests per bulk call.\"),\n}).describe(\"Request model for taking multiple screenshots in a single API call.\");\nconst ScreenshotoneTakeBulkScreenshots_ExecutionResponseSchema: z.ZodTypeAny = z.object({\n body: z.object({}).describe(\"Error details if execution was not successful.\").nullable().optional(),\n status: z.number().int().describe(\"HTTP status code of the execution.\"),\n statusText: z.string().describe(\"HTTP status text of the execution.\"),\n is_successful: z.boolean().describe(\"Whether the screenshot execution was successful.\"),\n}).describe(\"Execution response for individual screenshot when execute=true.\");\nconst ScreenshotoneTakeBulkScreenshots_BulkScreenshotResponseSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL to download the screenshot. For lazy loading (execute=false), the screenshot will be taken when this URL is accessed.\"),\n response: ScreenshotoneTakeBulkScreenshots_ExecutionResponseSchema.nullable().optional(),\n}).describe(\"Individual response for each screenshot in the bulk request.\");\nexport const ScreenshotoneTakeBulkScreenshotsOutput: z.ZodTypeAny = z.object({\n responses: z.array(ScreenshotoneTakeBulkScreenshots_BulkScreenshotResponseSchema).describe(\"Array of response objects containing screenshot URLs and execution status.\"),\n}).describe(\"Response containing URLs for all requested screenshots.\");\n\nexport const screenshotoneTakeBulkScreenshots = action(\"SCREENSHOTONE_TAKE_BULK_SCREENSHOTS\", {\n slug: \"screenshotone-take-bulk-screenshots\",\n name: \"Take Bulk Screenshots\",\n description: \"Tool to take multiple screenshots in a single request with shared defaults and individual overrides. Use when you need to capture screenshots of multiple URLs or the same URL with different parameters. Supports lazy loading (default) where screenshots are taken on download, or immediate execution with execute=true.\",\n input: ScreenshotoneTakeBulkScreenshotsInput,\n output: ScreenshotoneTakeBulkScreenshotsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAsDA,IAAAA,EAAE,OAAO;CAC1E,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,iLAAiL,CAAC,CAAC,SAAS;CACzO,SAASA,IAAAA,EAAE,OAAO;EAClB,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;EAC1G,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;EACnI,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EAC3G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC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C,CAAC,CAAC,SAAS,yDAAyD;AAErE,MAAa,mCAAmCC,eAAAA,OAAO,uCAAuC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"take-bulk-screenshots.cjs","names":["z","action"],"sources":["../../src/actions/take-bulk-screenshots.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScreenshotoneTakeBulkScreenshotsInput = z.object({\n execute: z.boolean().default(false).describe(\"Execute all screenshot requests immediately instead of lazy loading. When false (default), screenshots are taken when downloaded. When true, screenshots are taken immediately.\").optional(),\n options: z.object({\n url: z.string().describe(\"Default URL to screenshot. Can be overridden by individual requests.\").optional(),\n html: z.string().describe(\"Default raw HTML content to render instead of URL. Can be overridden by individual requests.\").optional(),\n cache: z.boolean().describe(\"Default caching setting. Can be overridden by individual requests.\").optional(),\n delay: z.number().int().describe(\"Default delay in milliseconds before taking screenshot. Can be overridden by individual requests.\").optional(),\n format: z.enum([\"png\", \"jpg\", \"jpeg\", \"webp\"]).describe(\"Image format options for screenshots.\").optional(),\n markdown: z.string().describe(\"Default markdown content to render. Can be overridden by individual requests.\").optional(),\n block_ads: z.boolean().describe(\"Default setting to block ads. Can be overridden by individual requests.\").optional(),\n cache_ttl: z.number().int().describe(\"Default cache TTL in seconds. Can be overridden by individual requests.\").optional(),\n full_page: z.boolean().describe(\"Default setting to capture full page. Can be overridden by individual requests.\").optional(),\n block_chats: z.boolean().describe(\"Default setting to block chat widgets. Can be overridden by individual requests.\").optional(),\n storage_path: z.string().describe(\"Default S3 storage path for screenshots. Can be overridden by individual requests.\").optional(),\n block_trackers: z.boolean().describe(\"Default setting to block trackers. Can be overridden by individual requests.\").optional(),\n viewport_width: z.number().int().describe(\"Default viewport width in pixels. Can be overridden by individual requests.\").optional(),\n viewport_device: z.enum([\"desktop\", \"mobile\", \"tablet\"]).describe(\"Preset device viewport options.\").optional(),\n viewport_height: z.number().int().describe(\"Default viewport height in pixels. Can be overridden by individual requests.\").optional(),\n device_scale_factor: z.number().describe(\"Default device pixel ratio. Can be overridden by individual requests.\").optional(),\n block_cookie_banners: z.boolean().describe(\"Default setting to block cookie banners. Can be overridden by individual requests.\").optional(),\n}).describe(\"Default options applied to all screenshot requests in the bulk operation.\").optional(),\n optimize: z.boolean().default(false).describe(\"Optimize bulk screenshots for same URLs with different parameters. Only works when execute=true. Improves performance when taking multiple screenshots of the same site.\").optional(),\n requests: z.array(z.object({\n url: z.string().describe(\"URL to screenshot. Overrides default if specified.\").optional(),\n html: z.string().describe(\"Raw HTML content to render. Overrides default if specified.\").optional(),\n cache: z.boolean().describe(\"Caching setting. Overrides default if specified.\").optional(),\n delay: z.number().int().describe(\"Delay in milliseconds before taking screenshot. Overrides default if specified.\").optional(),\n format: z.enum([\"png\", \"jpg\", \"jpeg\", \"webp\"]).describe(\"Image format options for screenshots.\").optional(),\n markdown: z.string().describe(\"Markdown content to render. Overrides default if specified.\").optional(),\n block_ads: z.boolean().describe(\"Block ads. Overrides default if specified.\").optional(),\n cache_ttl: z.number().int().describe(\"Cache TTL in seconds. Overrides default if specified.\").optional(),\n full_page: z.boolean().describe(\"Capture full page. Overrides default if specified.\").optional(),\n block_chats: z.boolean().describe(\"Block chat widgets. Overrides default if specified.\").optional(),\n storage_path: z.string().describe(\"S3 storage path for this screenshot. Overrides default if specified.\").optional(),\n block_trackers: z.boolean().describe(\"Block trackers. Overrides default if specified.\").optional(),\n viewport_width: z.number().int().describe(\"Viewport width in pixels. Overrides default if specified.\").optional(),\n viewport_device: z.enum([\"desktop\", \"mobile\", \"tablet\"]).describe(\"Preset device viewport options.\").optional(),\n viewport_height: z.number().int().describe(\"Viewport height in pixels. Overrides default if specified.\").optional(),\n device_scale_factor: z.number().describe(\"Device pixel ratio. Overrides default if specified.\").optional(),\n block_cookie_banners: z.boolean().describe(\"Block cookie banners. Overrides default if specified.\").optional(),\n}).describe(\"Individual screenshot request that can override default options.\")).describe(\"Array of individual screenshot requests. Maximum 20 requests per bulk call.\"),\n}).describe(\"Request model for taking multiple screenshots in a single API call.\");\nconst ScreenshotoneTakeBulkScreenshots_ExecutionResponseSchema = z.object({\n body: z.object({}).describe(\"Error details if execution was not successful.\").nullable().optional(),\n status: z.number().int().describe(\"HTTP status code of the execution.\").nullable(),\n statusText: z.string().describe(\"HTTP status text of the execution.\").nullable(),\n is_successful: z.boolean().describe(\"Whether the screenshot execution was successful.\").nullable(),\n}).describe(\"Execution response for individual screenshot when execute=true.\");\nconst ScreenshotoneTakeBulkScreenshots_BulkScreenshotResponseSchema = z.object({\n url: z.string().describe(\"URL to download the screenshot. For lazy loading (execute=false), the screenshot will be taken when this URL is accessed.\").nullable(),\n response: ScreenshotoneTakeBulkScreenshots_ExecutionResponseSchema.nullable().optional(),\n}).describe(\"Individual response for each screenshot in the bulk request.\");\nexport const ScreenshotoneTakeBulkScreenshotsOutput = z.object({\n responses: z.array(ScreenshotoneTakeBulkScreenshots_BulkScreenshotResponseSchema).describe(\"Array of response objects containing screenshot URLs and execution status.\"),\n}).describe(\"Response containing URLs for all requested screenshots.\");\n\nexport const screenshotoneTakeBulkScreenshots = action(\"SCREENSHOTONE_TAKE_BULK_SCREENSHOTS\", {\n slug: \"screenshotone-take-bulk-screenshots\",\n name: \"Take Bulk Screenshots\",\n description: \"Tool to take multiple screenshots in a single request with shared defaults and individual overrides. Use when you need to capture screenshots of multiple URLs or the same URL with different parameters. Supports lazy loading (default) where screenshots are taken on download, or immediate execution with execute=true.\",\n input: ScreenshotoneTakeBulkScreenshotsInput,\n output: ScreenshotoneTakeBulkScreenshotsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,iLAAiL,CAAC,CAAC,SAAS;CACzO,SAASA,IAAAA,EAAE,OAAO;EAClB,KAAKA,IAAAA,EAAE,OAAO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E,MAAM,gEAAgEA,IAAAA,EAAE,OAAO;CAC7E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;CAC/J,UAAU,yDAAyD,SAAS,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,yCAAyCA,IAAAA,EAAE,OAAO,EAC7D,WAAWA,IAAAA,EAAE,MAAM,6DAA6D,CAAC,CAAC,SAAS,4EAA4E,EACzK,CAAC,CAAC,CAAC,SAAS,yDAAyD;AAErE,MAAa,mCAAmCC,eAAAA,OAAO,uCAAuC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,119 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/take-bulk-screenshots.d.ts
4
- declare const ScreenshotoneTakeBulkScreenshotsInput: z.ZodTypeAny;
5
- declare const ScreenshotoneTakeBulkScreenshotsOutput: z.ZodTypeAny;
6
- declare const screenshotoneTakeBulkScreenshots: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ScreenshotoneTakeBulkScreenshotsInput: z.ZodObject<{
5
+ execute: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6
+ options: z.ZodOptional<z.ZodObject<{
7
+ url: z.ZodOptional<z.ZodString>;
8
+ html: z.ZodOptional<z.ZodString>;
9
+ cache: z.ZodOptional<z.ZodBoolean>;
10
+ delay: z.ZodOptional<z.ZodNumber>;
11
+ format: z.ZodOptional<z.ZodEnum<{
12
+ png: "png";
13
+ jpeg: "jpeg";
14
+ webp: "webp";
15
+ jpg: "jpg";
16
+ }>>;
17
+ markdown: z.ZodOptional<z.ZodString>;
18
+ block_ads: z.ZodOptional<z.ZodBoolean>;
19
+ cache_ttl: z.ZodOptional<z.ZodNumber>;
20
+ full_page: z.ZodOptional<z.ZodBoolean>;
21
+ block_chats: z.ZodOptional<z.ZodBoolean>;
22
+ storage_path: z.ZodOptional<z.ZodString>;
23
+ block_trackers: z.ZodOptional<z.ZodBoolean>;
24
+ viewport_width: z.ZodOptional<z.ZodNumber>;
25
+ viewport_device: z.ZodOptional<z.ZodEnum<{
26
+ desktop: "desktop";
27
+ mobile: "mobile";
28
+ tablet: "tablet";
29
+ }>>;
30
+ viewport_height: z.ZodOptional<z.ZodNumber>;
31
+ device_scale_factor: z.ZodOptional<z.ZodNumber>;
32
+ block_cookie_banners: z.ZodOptional<z.ZodBoolean>;
33
+ }, z.core.$strip>>;
34
+ optimize: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
35
+ requests: z.ZodArray<z.ZodObject<{
36
+ url: z.ZodOptional<z.ZodString>;
37
+ html: z.ZodOptional<z.ZodString>;
38
+ cache: z.ZodOptional<z.ZodBoolean>;
39
+ delay: z.ZodOptional<z.ZodNumber>;
40
+ format: z.ZodOptional<z.ZodEnum<{
41
+ png: "png";
42
+ jpeg: "jpeg";
43
+ webp: "webp";
44
+ jpg: "jpg";
45
+ }>>;
46
+ markdown: z.ZodOptional<z.ZodString>;
47
+ block_ads: z.ZodOptional<z.ZodBoolean>;
48
+ cache_ttl: z.ZodOptional<z.ZodNumber>;
49
+ full_page: z.ZodOptional<z.ZodBoolean>;
50
+ block_chats: z.ZodOptional<z.ZodBoolean>;
51
+ storage_path: z.ZodOptional<z.ZodString>;
52
+ block_trackers: z.ZodOptional<z.ZodBoolean>;
53
+ viewport_width: z.ZodOptional<z.ZodNumber>;
54
+ viewport_device: z.ZodOptional<z.ZodEnum<{
55
+ desktop: "desktop";
56
+ mobile: "mobile";
57
+ tablet: "tablet";
58
+ }>>;
59
+ viewport_height: z.ZodOptional<z.ZodNumber>;
60
+ device_scale_factor: z.ZodOptional<z.ZodNumber>;
61
+ block_cookie_banners: z.ZodOptional<z.ZodBoolean>;
62
+ }, z.core.$strip>>;
63
+ }, z.core.$strip>;
64
+ declare const ScreenshotoneTakeBulkScreenshotsOutput: z.ZodObject<{
65
+ responses: z.ZodArray<z.ZodObject<{
66
+ url: z.ZodNullable<z.ZodString>;
67
+ response: z.ZodOptional<z.ZodNullable<z.ZodObject<{
68
+ body: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
69
+ status: z.ZodNullable<z.ZodNumber>;
70
+ statusText: z.ZodNullable<z.ZodString>;
71
+ is_successful: z.ZodNullable<z.ZodBoolean>;
72
+ }, z.core.$strip>>>;
73
+ }, z.core.$strip>>;
74
+ }, z.core.$strip>;
75
+ declare const screenshotoneTakeBulkScreenshots: import("@keystrokehq/action").WorkflowActionDefinition<{
76
+ requests: {
77
+ url?: string | undefined;
78
+ html?: string | undefined;
79
+ cache?: boolean | undefined;
80
+ delay?: number | undefined;
81
+ format?: "png" | "jpeg" | "webp" | "jpg" | undefined;
82
+ markdown?: string | undefined;
83
+ block_ads?: boolean | undefined;
84
+ cache_ttl?: number | undefined;
85
+ full_page?: boolean | undefined;
86
+ block_chats?: boolean | undefined;
87
+ storage_path?: string | undefined;
88
+ block_trackers?: boolean | undefined;
89
+ viewport_width?: number | undefined;
90
+ viewport_device?: "desktop" | "mobile" | "tablet" | undefined;
91
+ viewport_height?: number | undefined;
92
+ device_scale_factor?: number | undefined;
93
+ block_cookie_banners?: boolean | undefined;
94
+ }[];
95
+ execute?: boolean | undefined;
96
+ options?: {
97
+ url?: string | undefined;
98
+ html?: string | undefined;
99
+ cache?: boolean | undefined;
100
+ delay?: number | undefined;
101
+ format?: "png" | "jpeg" | "webp" | "jpg" | undefined;
102
+ markdown?: string | undefined;
103
+ block_ads?: boolean | undefined;
104
+ cache_ttl?: number | undefined;
105
+ full_page?: boolean | undefined;
106
+ block_chats?: boolean | undefined;
107
+ storage_path?: string | undefined;
108
+ block_trackers?: boolean | undefined;
109
+ viewport_width?: number | undefined;
110
+ viewport_device?: "desktop" | "mobile" | "tablet" | undefined;
111
+ viewport_height?: number | undefined;
112
+ device_scale_factor?: number | undefined;
113
+ block_cookie_banners?: boolean | undefined;
114
+ } | undefined;
115
+ optimize?: boolean | undefined;
116
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
117
  //#endregion
8
118
  export { screenshotoneTakeBulkScreenshots };
9
119
  //# sourceMappingURL=take-bulk-screenshots.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"take-bulk-screenshots.d.cts","names":[],"sources":["../../src/actions/take-bulk-screenshots.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAyC4B;AAAA,cAWrE,sCAAA,EAAwC,CAAA,CAAE,UAEe;AAAA,cAEzD,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"take-bulk-screenshots.d.cts","names":[],"sources":["../../src/actions/take-bulk-screenshots.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAoDrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;cAItC,gCAAA,gCAAgC,wBAAA"}
@@ -1,9 +1,119 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/take-bulk-screenshots.d.ts
4
- declare const ScreenshotoneTakeBulkScreenshotsInput: z.ZodTypeAny;
5
- declare const ScreenshotoneTakeBulkScreenshotsOutput: z.ZodTypeAny;
6
- declare const screenshotoneTakeBulkScreenshots: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ScreenshotoneTakeBulkScreenshotsInput: z.ZodObject<{
5
+ execute: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6
+ options: z.ZodOptional<z.ZodObject<{
7
+ url: z.ZodOptional<z.ZodString>;
8
+ html: z.ZodOptional<z.ZodString>;
9
+ cache: z.ZodOptional<z.ZodBoolean>;
10
+ delay: z.ZodOptional<z.ZodNumber>;
11
+ format: z.ZodOptional<z.ZodEnum<{
12
+ png: "png";
13
+ jpeg: "jpeg";
14
+ webp: "webp";
15
+ jpg: "jpg";
16
+ }>>;
17
+ markdown: z.ZodOptional<z.ZodString>;
18
+ block_ads: z.ZodOptional<z.ZodBoolean>;
19
+ cache_ttl: z.ZodOptional<z.ZodNumber>;
20
+ full_page: z.ZodOptional<z.ZodBoolean>;
21
+ block_chats: z.ZodOptional<z.ZodBoolean>;
22
+ storage_path: z.ZodOptional<z.ZodString>;
23
+ block_trackers: z.ZodOptional<z.ZodBoolean>;
24
+ viewport_width: z.ZodOptional<z.ZodNumber>;
25
+ viewport_device: z.ZodOptional<z.ZodEnum<{
26
+ desktop: "desktop";
27
+ mobile: "mobile";
28
+ tablet: "tablet";
29
+ }>>;
30
+ viewport_height: z.ZodOptional<z.ZodNumber>;
31
+ device_scale_factor: z.ZodOptional<z.ZodNumber>;
32
+ block_cookie_banners: z.ZodOptional<z.ZodBoolean>;
33
+ }, z.core.$strip>>;
34
+ optimize: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
35
+ requests: z.ZodArray<z.ZodObject<{
36
+ url: z.ZodOptional<z.ZodString>;
37
+ html: z.ZodOptional<z.ZodString>;
38
+ cache: z.ZodOptional<z.ZodBoolean>;
39
+ delay: z.ZodOptional<z.ZodNumber>;
40
+ format: z.ZodOptional<z.ZodEnum<{
41
+ png: "png";
42
+ jpeg: "jpeg";
43
+ webp: "webp";
44
+ jpg: "jpg";
45
+ }>>;
46
+ markdown: z.ZodOptional<z.ZodString>;
47
+ block_ads: z.ZodOptional<z.ZodBoolean>;
48
+ cache_ttl: z.ZodOptional<z.ZodNumber>;
49
+ full_page: z.ZodOptional<z.ZodBoolean>;
50
+ block_chats: z.ZodOptional<z.ZodBoolean>;
51
+ storage_path: z.ZodOptional<z.ZodString>;
52
+ block_trackers: z.ZodOptional<z.ZodBoolean>;
53
+ viewport_width: z.ZodOptional<z.ZodNumber>;
54
+ viewport_device: z.ZodOptional<z.ZodEnum<{
55
+ desktop: "desktop";
56
+ mobile: "mobile";
57
+ tablet: "tablet";
58
+ }>>;
59
+ viewport_height: z.ZodOptional<z.ZodNumber>;
60
+ device_scale_factor: z.ZodOptional<z.ZodNumber>;
61
+ block_cookie_banners: z.ZodOptional<z.ZodBoolean>;
62
+ }, z.core.$strip>>;
63
+ }, z.core.$strip>;
64
+ declare const ScreenshotoneTakeBulkScreenshotsOutput: z.ZodObject<{
65
+ responses: z.ZodArray<z.ZodObject<{
66
+ url: z.ZodNullable<z.ZodString>;
67
+ response: z.ZodOptional<z.ZodNullable<z.ZodObject<{
68
+ body: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
69
+ status: z.ZodNullable<z.ZodNumber>;
70
+ statusText: z.ZodNullable<z.ZodString>;
71
+ is_successful: z.ZodNullable<z.ZodBoolean>;
72
+ }, z.core.$strip>>>;
73
+ }, z.core.$strip>>;
74
+ }, z.core.$strip>;
75
+ declare const screenshotoneTakeBulkScreenshots: import("@keystrokehq/action").WorkflowActionDefinition<{
76
+ requests: {
77
+ url?: string | undefined;
78
+ html?: string | undefined;
79
+ cache?: boolean | undefined;
80
+ delay?: number | undefined;
81
+ format?: "png" | "jpeg" | "webp" | "jpg" | undefined;
82
+ markdown?: string | undefined;
83
+ block_ads?: boolean | undefined;
84
+ cache_ttl?: number | undefined;
85
+ full_page?: boolean | undefined;
86
+ block_chats?: boolean | undefined;
87
+ storage_path?: string | undefined;
88
+ block_trackers?: boolean | undefined;
89
+ viewport_width?: number | undefined;
90
+ viewport_device?: "desktop" | "mobile" | "tablet" | undefined;
91
+ viewport_height?: number | undefined;
92
+ device_scale_factor?: number | undefined;
93
+ block_cookie_banners?: boolean | undefined;
94
+ }[];
95
+ execute?: boolean | undefined;
96
+ options?: {
97
+ url?: string | undefined;
98
+ html?: string | undefined;
99
+ cache?: boolean | undefined;
100
+ delay?: number | undefined;
101
+ format?: "png" | "jpeg" | "webp" | "jpg" | undefined;
102
+ markdown?: string | undefined;
103
+ block_ads?: boolean | undefined;
104
+ cache_ttl?: number | undefined;
105
+ full_page?: boolean | undefined;
106
+ block_chats?: boolean | undefined;
107
+ storage_path?: string | undefined;
108
+ block_trackers?: boolean | undefined;
109
+ viewport_width?: number | undefined;
110
+ viewport_device?: "desktop" | "mobile" | "tablet" | undefined;
111
+ viewport_height?: number | undefined;
112
+ device_scale_factor?: number | undefined;
113
+ block_cookie_banners?: boolean | undefined;
114
+ } | undefined;
115
+ optimize?: boolean | undefined;
116
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
117
  //#endregion
8
118
  export { screenshotoneTakeBulkScreenshots };
9
119
  //# sourceMappingURL=take-bulk-screenshots.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"take-bulk-screenshots.d.mts","names":[],"sources":["../../src/actions/take-bulk-screenshots.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAyC4B;AAAA,cAWrE,sCAAA,EAAwC,CAAA,CAAE,UAEe;AAAA,cAEzD,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"take-bulk-screenshots.d.mts","names":[],"sources":["../../src/actions/take-bulk-screenshots.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAoDrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;cAItC,gCAAA,gCAAgC,wBAAA"}
@@ -63,12 +63,12 @@ const ScreenshotoneTakeBulkScreenshotsInput = z.object({
63
63
  }).describe("Request model for taking multiple screenshots in a single API call.");
64
64
  const ScreenshotoneTakeBulkScreenshots_ExecutionResponseSchema = z.object({
65
65
  body: z.object({}).describe("Error details if execution was not successful.").nullable().optional(),
66
- status: z.number().int().describe("HTTP status code of the execution."),
67
- statusText: z.string().describe("HTTP status text of the execution."),
68
- is_successful: z.boolean().describe("Whether the screenshot execution was successful.")
66
+ status: z.number().int().describe("HTTP status code of the execution.").nullable(),
67
+ statusText: z.string().describe("HTTP status text of the execution.").nullable(),
68
+ is_successful: z.boolean().describe("Whether the screenshot execution was successful.").nullable()
69
69
  }).describe("Execution response for individual screenshot when execute=true.");
70
70
  const ScreenshotoneTakeBulkScreenshots_BulkScreenshotResponseSchema = z.object({
71
- url: z.string().describe("URL to download the screenshot. For lazy loading (execute=false), the screenshot will be taken when this URL is accessed."),
71
+ url: z.string().describe("URL to download the screenshot. For lazy loading (execute=false), the screenshot will be taken when this URL is accessed.").nullable(),
72
72
  response: ScreenshotoneTakeBulkScreenshots_ExecutionResponseSchema.nullable().optional()
73
73
  }).describe("Individual response for each screenshot in the bulk request.");
74
74
  const screenshotoneTakeBulkScreenshots = action("SCREENSHOTONE_TAKE_BULK_SCREENSHOTS", {
@@ -1 +1 @@
1
- {"version":3,"file":"take-bulk-screenshots.mjs","names":[],"sources":["../../src/actions/take-bulk-screenshots.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScreenshotoneTakeBulkScreenshotsInput: z.ZodTypeAny = z.object({\n execute: z.boolean().default(false).describe(\"Execute all screenshot requests immediately instead of lazy loading. When false (default), screenshots are taken when downloaded. When true, screenshots are taken immediately.\").optional(),\n options: z.object({\n url: z.string().describe(\"Default URL to screenshot. Can be overridden by individual requests.\").optional(),\n html: z.string().describe(\"Default raw HTML content to render instead of URL. Can be overridden by individual requests.\").optional(),\n cache: z.boolean().describe(\"Default caching setting. Can be overridden by individual requests.\").optional(),\n delay: z.number().int().describe(\"Default delay in milliseconds before taking screenshot. Can be overridden by individual requests.\").optional(),\n format: z.enum([\"png\", \"jpg\", \"jpeg\", \"webp\"]).describe(\"Image format options for screenshots.\").optional(),\n markdown: z.string().describe(\"Default markdown content to render. Can be overridden by individual requests.\").optional(),\n block_ads: z.boolean().describe(\"Default setting to block ads. Can be overridden by individual requests.\").optional(),\n cache_ttl: z.number().int().describe(\"Default cache TTL in seconds. Can be overridden by individual requests.\").optional(),\n full_page: z.boolean().describe(\"Default setting to capture full page. Can be overridden by individual requests.\").optional(),\n block_chats: z.boolean().describe(\"Default setting to block chat widgets. Can be overridden by individual requests.\").optional(),\n storage_path: z.string().describe(\"Default S3 storage path for screenshots. Can be overridden by individual requests.\").optional(),\n block_trackers: z.boolean().describe(\"Default setting to block trackers. Can be overridden by individual requests.\").optional(),\n viewport_width: z.number().int().describe(\"Default viewport width in pixels. Can be overridden by individual requests.\").optional(),\n viewport_device: z.enum([\"desktop\", \"mobile\", \"tablet\"]).describe(\"Preset device viewport options.\").optional(),\n viewport_height: z.number().int().describe(\"Default viewport height in pixels. Can be overridden by individual requests.\").optional(),\n device_scale_factor: z.number().describe(\"Default device pixel ratio. Can be overridden by individual requests.\").optional(),\n block_cookie_banners: z.boolean().describe(\"Default setting to block cookie banners. Can be overridden by individual requests.\").optional(),\n}).describe(\"Default options applied to all screenshot requests in the bulk operation.\").optional(),\n optimize: z.boolean().default(false).describe(\"Optimize bulk screenshots for same URLs with different parameters. Only works when execute=true. Improves performance when taking multiple screenshots of the same site.\").optional(),\n requests: z.array(z.object({\n url: z.string().describe(\"URL to screenshot. Overrides default if specified.\").optional(),\n html: z.string().describe(\"Raw HTML content to render. Overrides default if specified.\").optional(),\n cache: z.boolean().describe(\"Caching setting. Overrides default if specified.\").optional(),\n delay: z.number().int().describe(\"Delay in milliseconds before taking screenshot. Overrides default if specified.\").optional(),\n format: z.enum([\"png\", \"jpg\", \"jpeg\", \"webp\"]).describe(\"Image format options for screenshots.\").optional(),\n markdown: z.string().describe(\"Markdown content to render. Overrides default if specified.\").optional(),\n block_ads: z.boolean().describe(\"Block ads. Overrides default if specified.\").optional(),\n cache_ttl: z.number().int().describe(\"Cache TTL in seconds. Overrides default if specified.\").optional(),\n full_page: z.boolean().describe(\"Capture full page. Overrides default if specified.\").optional(),\n block_chats: z.boolean().describe(\"Block chat widgets. Overrides default if specified.\").optional(),\n storage_path: z.string().describe(\"S3 storage path for this screenshot. Overrides default if specified.\").optional(),\n block_trackers: z.boolean().describe(\"Block trackers. Overrides default if specified.\").optional(),\n viewport_width: z.number().int().describe(\"Viewport width in pixels. Overrides default if specified.\").optional(),\n viewport_device: z.enum([\"desktop\", \"mobile\", \"tablet\"]).describe(\"Preset device viewport options.\").optional(),\n viewport_height: z.number().int().describe(\"Viewport height in pixels. Overrides default if specified.\").optional(),\n device_scale_factor: z.number().describe(\"Device pixel ratio. Overrides default if specified.\").optional(),\n block_cookie_banners: z.boolean().describe(\"Block cookie banners. Overrides default if specified.\").optional(),\n}).describe(\"Individual screenshot request that can override default options.\")).describe(\"Array of individual screenshot requests. Maximum 20 requests per bulk call.\"),\n}).describe(\"Request model for taking multiple screenshots in a single API call.\");\nconst ScreenshotoneTakeBulkScreenshots_ExecutionResponseSchema: z.ZodTypeAny = z.object({\n body: z.object({}).describe(\"Error details if execution was not successful.\").nullable().optional(),\n status: z.number().int().describe(\"HTTP status code of the execution.\"),\n statusText: z.string().describe(\"HTTP status text of the execution.\"),\n is_successful: z.boolean().describe(\"Whether the screenshot execution was successful.\"),\n}).describe(\"Execution response for individual screenshot when execute=true.\");\nconst ScreenshotoneTakeBulkScreenshots_BulkScreenshotResponseSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL to download the screenshot. For lazy loading (execute=false), the screenshot will be taken when this URL is accessed.\"),\n response: ScreenshotoneTakeBulkScreenshots_ExecutionResponseSchema.nullable().optional(),\n}).describe(\"Individual response for each screenshot in the bulk request.\");\nexport const ScreenshotoneTakeBulkScreenshotsOutput: z.ZodTypeAny = z.object({\n responses: z.array(ScreenshotoneTakeBulkScreenshots_BulkScreenshotResponseSchema).describe(\"Array of response objects containing screenshot URLs and execution status.\"),\n}).describe(\"Response containing URLs for all requested screenshots.\");\n\nexport const screenshotoneTakeBulkScreenshots = action(\"SCREENSHOTONE_TAKE_BULK_SCREENSHOTS\", {\n slug: \"screenshotone-take-bulk-screenshots\",\n name: \"Take Bulk Screenshots\",\n description: \"Tool to take multiple screenshots in a single request with shared defaults and individual overrides. Use when you need to capture screenshots of multiple URLs or the same URL with different parameters. Supports lazy loading (default) where screenshots are taken on download, or immediate execution with execute=true.\",\n input: ScreenshotoneTakeBulkScreenshotsInput,\n output: ScreenshotoneTakeBulkScreenshotsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAsD,EAAE,OAAO;CAC1E,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,iLAAiL,CAAC,CAAC,SAAS;CACzO,SAAS,EAAE,OAAO;EAClB,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;EAC1G,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;EACnI,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EAC3G,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;EAC/I,QAAQ,EAAE,KAAK;GAAC;GAAO;GAAO;GAAQ;EAAM,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC1G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;EACxH,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;EACpH,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI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,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC;CACtE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACpE,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD;AACxF,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,gEAA8E,EAAE,OAAO;CAC3F,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H;CACpJ,UAAU,yDAAyD,SAAS,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAK1E,MAAa,mCAAmC,OAAO,uCAAuC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATkE,EAAE,OAAO,EAC3E,WAAW,EAAE,MAAM,6DAA6D,CAAC,CAAC,SAAS,4EAA4E,EACzK,CAAC,CAAC,CAAC,SAAS,yDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"take-bulk-screenshots.mjs","names":[],"sources":["../../src/actions/take-bulk-screenshots.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScreenshotoneTakeBulkScreenshotsInput = z.object({\n execute: z.boolean().default(false).describe(\"Execute all screenshot requests immediately instead of lazy loading. When false (default), screenshots are taken when downloaded. When true, screenshots are taken immediately.\").optional(),\n options: z.object({\n url: z.string().describe(\"Default URL to screenshot. Can be overridden by individual requests.\").optional(),\n html: z.string().describe(\"Default raw HTML content to render instead of URL. Can be overridden by individual requests.\").optional(),\n cache: z.boolean().describe(\"Default caching setting. Can be overridden by individual requests.\").optional(),\n delay: z.number().int().describe(\"Default delay in milliseconds before taking screenshot. Can be overridden by individual requests.\").optional(),\n format: z.enum([\"png\", \"jpg\", \"jpeg\", \"webp\"]).describe(\"Image format options for screenshots.\").optional(),\n markdown: z.string().describe(\"Default markdown content to render. Can be overridden by individual requests.\").optional(),\n block_ads: z.boolean().describe(\"Default setting to block ads. Can be overridden by individual requests.\").optional(),\n cache_ttl: z.number().int().describe(\"Default cache TTL in seconds. Can be overridden by individual requests.\").optional(),\n full_page: z.boolean().describe(\"Default setting to capture full page. Can be overridden by individual requests.\").optional(),\n block_chats: z.boolean().describe(\"Default setting to block chat widgets. Can be overridden by individual requests.\").optional(),\n storage_path: z.string().describe(\"Default S3 storage path for screenshots. Can be overridden by individual requests.\").optional(),\n block_trackers: z.boolean().describe(\"Default setting to block trackers. Can be overridden by individual requests.\").optional(),\n viewport_width: z.number().int().describe(\"Default viewport width in pixels. Can be overridden by individual requests.\").optional(),\n viewport_device: z.enum([\"desktop\", \"mobile\", \"tablet\"]).describe(\"Preset device viewport options.\").optional(),\n viewport_height: z.number().int().describe(\"Default viewport height in pixels. Can be overridden by individual requests.\").optional(),\n device_scale_factor: z.number().describe(\"Default device pixel ratio. Can be overridden by individual requests.\").optional(),\n block_cookie_banners: z.boolean().describe(\"Default setting to block cookie banners. Can be overridden by individual requests.\").optional(),\n}).describe(\"Default options applied to all screenshot requests in the bulk operation.\").optional(),\n optimize: z.boolean().default(false).describe(\"Optimize bulk screenshots for same URLs with different parameters. Only works when execute=true. Improves performance when taking multiple screenshots of the same site.\").optional(),\n requests: z.array(z.object({\n url: z.string().describe(\"URL to screenshot. Overrides default if specified.\").optional(),\n html: z.string().describe(\"Raw HTML content to render. Overrides default if specified.\").optional(),\n cache: z.boolean().describe(\"Caching setting. Overrides default if specified.\").optional(),\n delay: z.number().int().describe(\"Delay in milliseconds before taking screenshot. Overrides default if specified.\").optional(),\n format: z.enum([\"png\", \"jpg\", \"jpeg\", \"webp\"]).describe(\"Image format options for screenshots.\").optional(),\n markdown: z.string().describe(\"Markdown content to render. Overrides default if specified.\").optional(),\n block_ads: z.boolean().describe(\"Block ads. Overrides default if specified.\").optional(),\n cache_ttl: z.number().int().describe(\"Cache TTL in seconds. Overrides default if specified.\").optional(),\n full_page: z.boolean().describe(\"Capture full page. Overrides default if specified.\").optional(),\n block_chats: z.boolean().describe(\"Block chat widgets. Overrides default if specified.\").optional(),\n storage_path: z.string().describe(\"S3 storage path for this screenshot. Overrides default if specified.\").optional(),\n block_trackers: z.boolean().describe(\"Block trackers. Overrides default if specified.\").optional(),\n viewport_width: z.number().int().describe(\"Viewport width in pixels. Overrides default if specified.\").optional(),\n viewport_device: z.enum([\"desktop\", \"mobile\", \"tablet\"]).describe(\"Preset device viewport options.\").optional(),\n viewport_height: z.number().int().describe(\"Viewport height in pixels. Overrides default if specified.\").optional(),\n device_scale_factor: z.number().describe(\"Device pixel ratio. Overrides default if specified.\").optional(),\n block_cookie_banners: z.boolean().describe(\"Block cookie banners. Overrides default if specified.\").optional(),\n}).describe(\"Individual screenshot request that can override default options.\")).describe(\"Array of individual screenshot requests. Maximum 20 requests per bulk call.\"),\n}).describe(\"Request model for taking multiple screenshots in a single API call.\");\nconst ScreenshotoneTakeBulkScreenshots_ExecutionResponseSchema = z.object({\n body: z.object({}).describe(\"Error details if execution was not successful.\").nullable().optional(),\n status: z.number().int().describe(\"HTTP status code of the execution.\").nullable(),\n statusText: z.string().describe(\"HTTP status text of the execution.\").nullable(),\n is_successful: z.boolean().describe(\"Whether the screenshot execution was successful.\").nullable(),\n}).describe(\"Execution response for individual screenshot when execute=true.\");\nconst ScreenshotoneTakeBulkScreenshots_BulkScreenshotResponseSchema = z.object({\n url: z.string().describe(\"URL to download the screenshot. For lazy loading (execute=false), the screenshot will be taken when this URL is accessed.\").nullable(),\n response: ScreenshotoneTakeBulkScreenshots_ExecutionResponseSchema.nullable().optional(),\n}).describe(\"Individual response for each screenshot in the bulk request.\");\nexport const ScreenshotoneTakeBulkScreenshotsOutput = z.object({\n responses: z.array(ScreenshotoneTakeBulkScreenshots_BulkScreenshotResponseSchema).describe(\"Array of response objects containing screenshot URLs and execution status.\"),\n}).describe(\"Response containing URLs for all requested screenshots.\");\n\nexport const screenshotoneTakeBulkScreenshots = action(\"SCREENSHOTONE_TAKE_BULK_SCREENSHOTS\", {\n slug: \"screenshotone-take-bulk-screenshots\",\n name: \"Take Bulk Screenshots\",\n description: \"Tool to take multiple screenshots in a single request with shared defaults and individual overrides. Use when you need to capture screenshots of multiple URLs or the same URL with different parameters. Supports lazy loading (default) where screenshots are taken on download, or immediate execution with execute=true.\",\n input: ScreenshotoneTakeBulkScreenshotsInput,\n output: ScreenshotoneTakeBulkScreenshotsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwC,EAAE,OAAO;CAC5D,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,iLAAiL,CAAC,CAAC,SAAS;CACzO,SAAS,EAAE,OAAO;EAClB,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;EAC1G,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;EACnI,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EAC3G,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;EAC/I,QAAQ,EAAE,KAAK;GAAC;GAAO;GAAO;GAAQ;EAAM,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC1G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;EACxH,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;EACpH,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;EACzH,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EAC5H,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;EAC/H,cA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CAAC,CAAC,SAAS;CAC/E,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,gEAAgE,EAAE,OAAO;CAC7E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;CAC/J,UAAU,yDAAyD,SAAS,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAK1E,MAAa,mCAAmC,OAAO,uCAAuC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAToD,EAAE,OAAO,EAC7D,WAAW,EAAE,MAAM,6DAA6D,CAAC,CAAC,SAAS,4EAA4E,EACzK,CAAC,CAAC,CAAC,SAAS,yDAOF;AACV,CAAC"}
@@ -28,9 +28,9 @@ const ScreenshotoneTakeScreenshotInput = zod.z.object({
28
28
  block_cookie_banners: zod.z.boolean().describe("Block cookie banners on the page.").optional()
29
29
  }).describe("Request model for taking a screenshot via POST request.");
30
30
  const ScreenshotoneTakeScreenshot_FileDownloadableSchema = zod.z.object({
31
- name: zod.z.string().describe("Name of the file"),
32
- s3url: zod.z.string().describe("S3 URL of the downloaded file."),
33
- mimetype: zod.z.string().describe("Mime type of the file.")
31
+ name: zod.z.string().describe("Name of the file").nullable(),
32
+ s3url: zod.z.string().describe("S3 URL of the downloaded file.").nullable(),
33
+ mimetype: zod.z.string().describe("Mime type of the file.").nullable()
34
34
  });
35
35
  const ScreenshotoneTakeScreenshotOutput = zod.z.object({
36
36
  file: ScreenshotoneTakeScreenshot_FileDownloadableSchema.nullable().optional(),