@keystrokehq/screenshotone 0.1.3 → 0.1.5

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.
@@ -12,7 +12,21 @@ declare const ScreenshotoneGetUsageOutput: z.ZodObject<{
12
12
  remaining: z.ZodNullable<z.ZodNumber>;
13
13
  }, z.core.$loose>>;
14
14
  }, z.core.$loose>;
15
- declare const screenshotoneGetUsage: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
15
+ declare const screenshotoneGetUsage: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"screenshotone", z.ZodObject<{
16
+ connectionId: z.ZodString;
17
+ entityId: z.ZodString;
18
+ instanceId: z.ZodString;
19
+ }, z.core.$strip>, z.ZodObject<{
20
+ generic_api_key: z.ZodString;
21
+ generic_secret: z.ZodString;
22
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"screenshotone", z.ZodObject<{
23
+ connectionId: z.ZodString;
24
+ entityId: z.ZodString;
25
+ instanceId: z.ZodString;
26
+ }, z.core.$strip>, z.ZodObject<{
27
+ generic_api_key: z.ZodString;
28
+ generic_secret: z.ZodString;
29
+ }, z.core.$strip>>]>;
16
30
  //#endregion
17
31
  export { screenshotoneGetUsage };
18
32
  //# sourceMappingURL=get-usage.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-usage.d.cts","names":[],"sources":["../../src/actions/get-usage.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAM1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;cAO3B,qBAAA,gCAAqB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-usage.d.cts","names":[],"sources":["../../src/actions/get-usage.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAM1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;cAO3B,qBAAA,gCAAqB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,kBAAA,CAAA,CAAA,SAAA"}
@@ -12,7 +12,21 @@ declare const ScreenshotoneGetUsageOutput: z.ZodObject<{
12
12
  remaining: z.ZodNullable<z.ZodNumber>;
13
13
  }, z.core.$loose>>;
14
14
  }, z.core.$loose>;
15
- declare const screenshotoneGetUsage: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
15
+ declare const screenshotoneGetUsage: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"screenshotone", z.ZodObject<{
16
+ connectionId: z.ZodString;
17
+ entityId: z.ZodString;
18
+ instanceId: z.ZodString;
19
+ }, z.core.$strip>, z.ZodObject<{
20
+ generic_api_key: z.ZodString;
21
+ generic_secret: z.ZodString;
22
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"screenshotone", z.ZodObject<{
23
+ connectionId: z.ZodString;
24
+ entityId: z.ZodString;
25
+ instanceId: z.ZodString;
26
+ }, z.core.$strip>, z.ZodObject<{
27
+ generic_api_key: z.ZodString;
28
+ generic_secret: z.ZodString;
29
+ }, z.core.$strip>>]>;
16
30
  //#endregion
17
31
  export { screenshotoneGetUsage };
18
32
  //# sourceMappingURL=get-usage.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-usage.d.mts","names":[],"sources":["../../src/actions/get-usage.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAM1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;cAO3B,qBAAA,gCAAqB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-usage.d.mts","names":[],"sources":["../../src/actions/get-usage.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAM1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;cAO3B,qBAAA,gCAAqB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,kBAAA,CAAA,CAAA,SAAA"}
@@ -17,7 +17,21 @@ declare const ScreenshotoneListDevicesOutput: z.ZodObject<{
17
17
  userAgent: z.ZodNullable<z.ZodString>;
18
18
  }, z.core.$loose>>;
19
19
  }, z.core.$loose>;
20
- declare const screenshotoneListDevices: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
20
+ declare const screenshotoneListDevices: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"screenshotone", z.ZodObject<{
21
+ connectionId: z.ZodString;
22
+ entityId: z.ZodString;
23
+ instanceId: z.ZodString;
24
+ }, z.core.$strip>, z.ZodObject<{
25
+ generic_api_key: z.ZodString;
26
+ generic_secret: z.ZodString;
27
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"screenshotone", 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
+ generic_secret: z.ZodString;
34
+ }, z.core.$strip>>]>;
21
35
  //#endregion
22
36
  export { screenshotoneListDevices };
23
37
  //# sourceMappingURL=list-devices.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-devices.d.cts","names":[],"sources":["../../src/actions/list-devices.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAe7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAI9B,wBAAA,gCAAwB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-devices.d.cts","names":[],"sources":["../../src/actions/list-devices.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAe7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAI9B,wBAAA,gCAAwB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,kBAAA,CAAA,CAAA,SAAA"}
@@ -17,7 +17,21 @@ declare const ScreenshotoneListDevicesOutput: z.ZodObject<{
17
17
  userAgent: z.ZodNullable<z.ZodString>;
18
18
  }, z.core.$loose>>;
19
19
  }, z.core.$loose>;
20
- declare const screenshotoneListDevices: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
20
+ declare const screenshotoneListDevices: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"screenshotone", z.ZodObject<{
21
+ connectionId: z.ZodString;
22
+ entityId: z.ZodString;
23
+ instanceId: z.ZodString;
24
+ }, z.core.$strip>, z.ZodObject<{
25
+ generic_api_key: z.ZodString;
26
+ generic_secret: z.ZodString;
27
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"screenshotone", 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
+ generic_secret: z.ZodString;
34
+ }, z.core.$strip>>]>;
21
35
  //#endregion
22
36
  export { screenshotoneListDevices };
23
37
  //# sourceMappingURL=list-devices.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-devices.d.mts","names":[],"sources":["../../src/actions/list-devices.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAe7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAI9B,wBAAA,gCAAwB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-devices.d.mts","names":[],"sources":["../../src/actions/list-devices.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAe7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAI9B,wBAAA,gCAAwB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,kBAAA,CAAA,CAAA,SAAA"}
@@ -112,7 +112,21 @@ declare const screenshotoneTakeAnimatedScreenshot: import("@keystrokehq/action")
112
112
  scroll_navigate_link_hints?: string[] | undefined;
113
113
  scroll_stop_after_duration?: number | undefined;
114
114
  scroll_till_selector_adjust_top?: number | undefined;
115
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
115
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"screenshotone", z.ZodObject<{
116
+ connectionId: z.ZodString;
117
+ entityId: z.ZodString;
118
+ instanceId: z.ZodString;
119
+ }, z.core.$strip>, z.ZodObject<{
120
+ generic_api_key: z.ZodString;
121
+ generic_secret: z.ZodString;
122
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"screenshotone", z.ZodObject<{
123
+ connectionId: z.ZodString;
124
+ entityId: z.ZodString;
125
+ instanceId: z.ZodString;
126
+ }, z.core.$strip>, z.ZodObject<{
127
+ generic_api_key: z.ZodString;
128
+ generic_secret: z.ZodString;
129
+ }, z.core.$strip>>]>;
116
130
  //#endregion
117
131
  export { screenshotoneTakeAnimatedScreenshot };
118
132
  //# sourceMappingURL=take-animated-screenshot.d.cts.map
@@ -112,7 +112,21 @@ declare const screenshotoneTakeAnimatedScreenshot: import("@keystrokehq/action")
112
112
  scroll_navigate_link_hints?: string[] | undefined;
113
113
  scroll_stop_after_duration?: number | undefined;
114
114
  scroll_till_selector_adjust_top?: number | undefined;
115
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
115
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"screenshotone", z.ZodObject<{
116
+ connectionId: z.ZodString;
117
+ entityId: z.ZodString;
118
+ instanceId: z.ZodString;
119
+ }, z.core.$strip>, z.ZodObject<{
120
+ generic_api_key: z.ZodString;
121
+ generic_secret: z.ZodString;
122
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"screenshotone", z.ZodObject<{
123
+ connectionId: z.ZodString;
124
+ entityId: z.ZodString;
125
+ instanceId: z.ZodString;
126
+ }, z.core.$strip>, z.ZodObject<{
127
+ generic_api_key: z.ZodString;
128
+ generic_secret: z.ZodString;
129
+ }, z.core.$strip>>]>;
116
130
  //#endregion
117
131
  export { screenshotoneTakeAnimatedScreenshot };
118
132
  //# sourceMappingURL=take-animated-screenshot.d.mts.map
@@ -114,7 +114,21 @@ declare const screenshotoneTakeBulkScreenshots: import("@keystrokehq/action").Wo
114
114
  block_cookie_banners?: boolean | undefined;
115
115
  } | undefined;
116
116
  optimize?: boolean | undefined;
117
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
117
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"screenshotone", z.ZodObject<{
118
+ connectionId: z.ZodString;
119
+ entityId: z.ZodString;
120
+ instanceId: z.ZodString;
121
+ }, z.core.$strip>, z.ZodObject<{
122
+ generic_api_key: z.ZodString;
123
+ generic_secret: z.ZodString;
124
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"screenshotone", z.ZodObject<{
125
+ connectionId: z.ZodString;
126
+ entityId: z.ZodString;
127
+ instanceId: z.ZodString;
128
+ }, z.core.$strip>, z.ZodObject<{
129
+ generic_api_key: z.ZodString;
130
+ generic_secret: z.ZodString;
131
+ }, z.core.$strip>>]>;
118
132
  //#endregion
119
133
  export { screenshotoneTakeBulkScreenshots };
120
134
  //# sourceMappingURL=take-bulk-screenshots.d.cts.map
@@ -114,7 +114,21 @@ declare const screenshotoneTakeBulkScreenshots: import("@keystrokehq/action").Wo
114
114
  block_cookie_banners?: boolean | undefined;
115
115
  } | undefined;
116
116
  optimize?: boolean | undefined;
117
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
117
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"screenshotone", z.ZodObject<{
118
+ connectionId: z.ZodString;
119
+ entityId: z.ZodString;
120
+ instanceId: z.ZodString;
121
+ }, z.core.$strip>, z.ZodObject<{
122
+ generic_api_key: z.ZodString;
123
+ generic_secret: z.ZodString;
124
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"screenshotone", z.ZodObject<{
125
+ connectionId: z.ZodString;
126
+ entityId: z.ZodString;
127
+ instanceId: z.ZodString;
128
+ }, z.core.$strip>, z.ZodObject<{
129
+ generic_api_key: z.ZodString;
130
+ generic_secret: z.ZodString;
131
+ }, z.core.$strip>>]>;
118
132
  //#endregion
119
133
  export { screenshotoneTakeBulkScreenshots };
120
134
  //# sourceMappingURL=take-bulk-screenshots.d.mts.map
@@ -51,7 +51,21 @@ declare const screenshotoneTakeScreenshot: import("@keystrokehq/action").Workflo
51
51
  viewport_height?: number | undefined;
52
52
  device_scale_factor?: number | undefined;
53
53
  block_cookie_banners?: boolean | undefined;
54
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
54
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"screenshotone", z.ZodObject<{
55
+ connectionId: z.ZodString;
56
+ entityId: z.ZodString;
57
+ instanceId: z.ZodString;
58
+ }, z.core.$strip>, z.ZodObject<{
59
+ generic_api_key: z.ZodString;
60
+ generic_secret: z.ZodString;
61
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"screenshotone", z.ZodObject<{
62
+ connectionId: z.ZodString;
63
+ entityId: z.ZodString;
64
+ instanceId: z.ZodString;
65
+ }, z.core.$strip>, z.ZodObject<{
66
+ generic_api_key: z.ZodString;
67
+ generic_secret: z.ZodString;
68
+ }, z.core.$strip>>]>;
55
69
  //#endregion
56
70
  export { screenshotoneTakeScreenshot };
57
71
  //# sourceMappingURL=take-screenshot.d.cts.map
@@ -51,7 +51,21 @@ declare const screenshotoneTakeScreenshot: import("@keystrokehq/action").Workflo
51
51
  viewport_height?: number | undefined;
52
52
  device_scale_factor?: number | undefined;
53
53
  block_cookie_banners?: boolean | undefined;
54
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
54
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"screenshotone", z.ZodObject<{
55
+ connectionId: z.ZodString;
56
+ entityId: z.ZodString;
57
+ instanceId: z.ZodString;
58
+ }, z.core.$strip>, z.ZodObject<{
59
+ generic_api_key: z.ZodString;
60
+ generic_secret: z.ZodString;
61
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"screenshotone", z.ZodObject<{
62
+ connectionId: z.ZodString;
63
+ entityId: z.ZodString;
64
+ instanceId: z.ZodString;
65
+ }, z.core.$strip>, z.ZodObject<{
66
+ generic_api_key: z.ZodString;
67
+ generic_secret: z.ZodString;
68
+ }, z.core.$strip>>]>;
55
69
  //#endregion
56
70
  export { screenshotoneTakeScreenshot };
57
71
  //# sourceMappingURL=take-screenshot.d.mts.map
package/dist/app.cjs CHANGED
@@ -1,7 +1,13 @@
1
+ let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
2
+ let zod = require("zod");
1
3
  //#region src/app.ts
2
- const screenshotone = (0, require("@keystrokehq/keystroke/app").defineApp)({
4
+ const screenshotone = (0, _keystrokehq_keystroke_app.defineApp)({
3
5
  slug: "screenshotone",
4
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential: {
8
+ generic_api_key: zod.z.string(),
9
+ generic_secret: zod.z.string()
10
+ }
5
11
  });
6
12
  //#endregion
7
13
  exports.screenshotone = screenshotone;
package/dist/app.cjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const screenshotone = defineApp({\n slug: \"screenshotone\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,iBAAA,uCAAA,CAAA,CAAA,UAAA,CAA0B;CACrC,MAAM;CACN,MAAM;AACR,CAAC"}
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 screenshotone = defineApp({\n slug: \"screenshotone\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n generic_secret: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,iBAAA,GAAA,2BAAA,UAAA,CAA0B;CACrC,MAAM;CACN,MAAM;CACN,YAAY;EACV,iBAAiBA,IAAAA,EAAE,OAAO;EAC1B,gBAAgBA,IAAAA,EAAE,OAAO;CAC3B;AACF,CAAC"}
package/dist/app.d.cts CHANGED
@@ -1,5 +1,14 @@
1
+ import { z } from "zod";
2
+
1
3
  //#region src/app.d.ts
2
- declare const screenshotone: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
4
+ declare const screenshotone: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"screenshotone", z.ZodObject<{
5
+ connectionId: z.ZodString;
6
+ entityId: z.ZodString;
7
+ instanceId: z.ZodString;
8
+ }, z.core.$strip>, z.ZodObject<{
9
+ generic_api_key: z.ZodString;
10
+ generic_secret: z.ZodString;
11
+ }, z.core.$strip>>>;
3
12
  //#endregion
4
13
  export { screenshotone };
5
14
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,aAAA,6BAAa,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,aAAA,6BAAa,GAAA,+BAAA,UAAA,kBAAA,CAAA,CAAA,SAAA"}
package/dist/app.d.mts CHANGED
@@ -1,5 +1,14 @@
1
+ import { z } from "zod";
2
+
1
3
  //#region src/app.d.ts
2
- declare const screenshotone: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
4
+ declare const screenshotone: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"screenshotone", z.ZodObject<{
5
+ connectionId: z.ZodString;
6
+ entityId: z.ZodString;
7
+ instanceId: z.ZodString;
8
+ }, z.core.$strip>, z.ZodObject<{
9
+ generic_api_key: z.ZodString;
10
+ generic_secret: z.ZodString;
11
+ }, z.core.$strip>>>;
3
12
  //#endregion
4
13
  export { screenshotone };
5
14
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,aAAA,6BAAa,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,aAAA,6BAAa,GAAA,+BAAA,UAAA,kBAAA,CAAA,CAAA,SAAA"}
package/dist/app.mjs CHANGED
@@ -1,8 +1,13 @@
1
1
  import { defineApp } from "@keystrokehq/keystroke/app";
2
+ import { z } from "zod";
2
3
  //#region src/app.ts
3
4
  const screenshotone = defineApp({
4
5
  slug: "screenshotone",
5
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential: {
8
+ generic_api_key: z.string(),
9
+ generic_secret: z.string()
10
+ }
6
11
  });
7
12
  //#endregion
8
13
  export { screenshotone };
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\";\n\nexport const screenshotone = defineApp({\n slug: \"screenshotone\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,gBAAgB,UAAU;CACrC,MAAM;CACN,MAAM;AACR,CAAC"}
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 screenshotone = defineApp({\n slug: \"screenshotone\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n generic_secret: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,gBAAgB,UAAU;CACrC,MAAM;CACN,MAAM;CACN,YAAY;EACV,iBAAiB,EAAE,OAAO;EAC1B,gBAAgB,EAAE,OAAO;CAC3B;AACF,CAAC"}
package/dist/catalog.cjs CHANGED
@@ -9,12 +9,12 @@ const screenshotoneCatalog = {
9
9
  "authKind": "keystroke",
10
10
  "oauthScopes": [],
11
11
  "credentialFields": {
12
- "access_key": {
12
+ "generic_api_key": {
13
13
  "label": "Access Key",
14
14
  "secret": true,
15
15
  "description": "Your ScreenshotOne API access key."
16
16
  },
17
- "secret_key": {
17
+ "generic_secret": {
18
18
  "label": "Secret Key",
19
19
  "secret": true,
20
20
  "optional": true,
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const screenshotoneCatalog = {\n \"slug\": \"screenshotone\",\n \"name\": \"ScreenshotOne\",\n \"description\": \"ScreenshotOne is a screenshot API for developers, enabling the rendering of website screenshots through simple API calls without managing browser clusters.\",\n \"category\": \"Developer Tools\",\n \"logo\": \"https://screenshotone.com/logo.png\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"access_key\": {\n \"label\": \"Access Key\",\n \"secret\": true,\n \"description\": \"Your ScreenshotOne API access key.\"\n },\n \"secret_key\": {\n \"label\": \"Secret Key\",\n \"secret\": true,\n \"optional\": true,\n \"description\": \"Your ScreenshotOne API secret key used for signing requests.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,uBAAuB;CAClC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB;EAClB,cAAc;GACZ,SAAS;GACT,UAAU;GACV,eAAe;EACjB;EACA,cAAc;GACZ,SAAS;GACT,UAAU;GACV,YAAY;GACZ,eAAe;EACjB;CACF;CACA,oBAAoB;AACtB"}
1
+ {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const screenshotoneCatalog = {\n \"slug\": \"screenshotone\",\n \"name\": \"ScreenshotOne\",\n \"description\": \"ScreenshotOne is a screenshot API for developers, enabling the rendering of website screenshots through simple API calls without managing browser clusters.\",\n \"category\": \"Developer Tools\",\n \"logo\": \"https://screenshotone.com/logo.png\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"Access Key\",\n \"secret\": true,\n \"description\": \"Your ScreenshotOne API access key.\"\n },\n \"generic_secret\": {\n \"label\": \"Secret Key\",\n \"secret\": true,\n \"optional\": true,\n \"description\": \"Your ScreenshotOne API secret key used for signing requests.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,uBAAuB;CAClC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB;EAClB,mBAAmB;GACjB,SAAS;GACT,UAAU;GACV,eAAe;EACjB;EACA,kBAAkB;GAChB,SAAS;GACT,UAAU;GACV,YAAY;GACZ,eAAe;EACjB;CACF;CACA,oBAAoB;AACtB"}
@@ -9,12 +9,12 @@ declare const screenshotoneCatalog: {
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
11
  readonly credentialFields: {
12
- readonly access_key: {
12
+ readonly generic_api_key: {
13
13
  readonly label: "Access Key";
14
14
  readonly secret: true;
15
15
  readonly description: "Your ScreenshotOne API access key.";
16
16
  };
17
- readonly secret_key: {
17
+ readonly generic_secret: {
18
18
  readonly label: "Secret Key";
19
19
  readonly secret: true;
20
20
  readonly optional: true;
@@ -9,12 +9,12 @@ declare const screenshotoneCatalog: {
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
11
  readonly credentialFields: {
12
- readonly access_key: {
12
+ readonly generic_api_key: {
13
13
  readonly label: "Access Key";
14
14
  readonly secret: true;
15
15
  readonly description: "Your ScreenshotOne API access key.";
16
16
  };
17
- readonly secret_key: {
17
+ readonly generic_secret: {
18
18
  readonly label: "Secret Key";
19
19
  readonly secret: true;
20
20
  readonly optional: true;
package/dist/catalog.mjs CHANGED
@@ -9,12 +9,12 @@ const screenshotoneCatalog = {
9
9
  "authKind": "keystroke",
10
10
  "oauthScopes": [],
11
11
  "credentialFields": {
12
- "access_key": {
12
+ "generic_api_key": {
13
13
  "label": "Access Key",
14
14
  "secret": true,
15
15
  "description": "Your ScreenshotOne API access key."
16
16
  },
17
- "secret_key": {
17
+ "generic_secret": {
18
18
  "label": "Secret Key",
19
19
  "secret": true,
20
20
  "optional": true,
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const screenshotoneCatalog = {\n \"slug\": \"screenshotone\",\n \"name\": \"ScreenshotOne\",\n \"description\": \"ScreenshotOne is a screenshot API for developers, enabling the rendering of website screenshots through simple API calls without managing browser clusters.\",\n \"category\": \"Developer Tools\",\n \"logo\": \"https://screenshotone.com/logo.png\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"access_key\": {\n \"label\": \"Access Key\",\n \"secret\": true,\n \"description\": \"Your ScreenshotOne API access key.\"\n },\n \"secret_key\": {\n \"label\": \"Secret Key\",\n \"secret\": true,\n \"optional\": true,\n \"description\": \"Your ScreenshotOne API secret key used for signing requests.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,uBAAuB;CAClC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB;EAClB,cAAc;GACZ,SAAS;GACT,UAAU;GACV,eAAe;EACjB;EACA,cAAc;GACZ,SAAS;GACT,UAAU;GACV,YAAY;GACZ,eAAe;EACjB;CACF;CACA,oBAAoB;AACtB"}
1
+ {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const screenshotoneCatalog = {\n \"slug\": \"screenshotone\",\n \"name\": \"ScreenshotOne\",\n \"description\": \"ScreenshotOne is a screenshot API for developers, enabling the rendering of website screenshots through simple API calls without managing browser clusters.\",\n \"category\": \"Developer Tools\",\n \"logo\": \"https://screenshotone.com/logo.png\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"Access Key\",\n \"secret\": true,\n \"description\": \"Your ScreenshotOne API access key.\"\n },\n \"generic_secret\": {\n \"label\": \"Secret Key\",\n \"secret\": true,\n \"optional\": true,\n \"description\": \"Your ScreenshotOne API secret key used for signing requests.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,uBAAuB;CAClC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB;EAClB,mBAAmB;GACjB,SAAS;GACT,UAAU;GACV,eAAe;EACjB;EACA,kBAAkB;GAChB,SAAS;GACT,UAAU;GACV,YAAY;GACZ,eAAe;EACjB;CACF;CACA,oBAAoB;AACtB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/screenshotone",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"