@keystrokehq/shortpixel 0.1.3 → 0.1.4

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 (37) hide show
  1. package/dist/actions/add-cdn-domain.d.cts +13 -1
  2. package/dist/actions/add-cdn-domain.d.mts +13 -1
  3. package/dist/actions/bulk-purge-storage.d.cts +13 -1
  4. package/dist/actions/bulk-purge-storage.d.mts +13 -1
  5. package/dist/actions/check-image-status.d.cts +13 -1
  6. package/dist/actions/check-image-status.d.mts +13 -1
  7. package/dist/actions/clean-up-image.d.cts +13 -1
  8. package/dist/actions/clean-up-image.d.mts +13 -1
  9. package/dist/actions/get-adaptive-image-cdn.d.cts +13 -1
  10. package/dist/actions/get-adaptive-image-cdn.d.mts +13 -1
  11. package/dist/actions/get-api-status.d.cts +13 -1
  12. package/dist/actions/get-api-status.d.cts.map +1 -1
  13. package/dist/actions/get-api-status.d.mts +13 -1
  14. package/dist/actions/get-api-status.d.mts.map +1 -1
  15. package/dist/actions/get-cdn-usage.d.cts +13 -1
  16. package/dist/actions/get-cdn-usage.d.mts +13 -1
  17. package/dist/actions/optimize-images-by-url.d.cts +13 -1
  18. package/dist/actions/optimize-images-by-url.d.cts.map +1 -1
  19. package/dist/actions/optimize-images-by-url.d.mts +13 -1
  20. package/dist/actions/optimize-images-by-url.d.mts.map +1 -1
  21. package/dist/actions/read-cdn-domain.d.cts +13 -1
  22. package/dist/actions/read-cdn-domain.d.mts +13 -1
  23. package/dist/actions/revoke-cdn-domain.d.cts +13 -1
  24. package/dist/actions/revoke-cdn-domain.d.mts +13 -1
  25. package/dist/actions/set-cdn-domain.d.cts +13 -1
  26. package/dist/actions/set-cdn-domain.d.mts +13 -1
  27. package/dist/actions/upload-and-optimize-images.d.cts +13 -1
  28. package/dist/actions/upload-and-optimize-images.d.mts +13 -1
  29. package/dist/app.cjs +5 -2
  30. package/dist/app.cjs.map +1 -1
  31. package/dist/app.d.cts +9 -1
  32. package/dist/app.d.cts.map +1 -1
  33. package/dist/app.d.mts +9 -1
  34. package/dist/app.d.mts.map +1 -1
  35. package/dist/app.mjs +3 -1
  36. package/dist/app.mjs.map +1 -1
  37. package/package.json +1 -1
@@ -10,7 +10,19 @@ declare const ShortpixelAddCdnDomainOutput: z.ZodObject<{
10
10
  }, z.core.$loose>;
11
11
  declare const shortpixelAddCdnDomain: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  domain: string;
13
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shortpixel", z.ZodObject<{
14
+ connectionId: z.ZodString;
15
+ entityId: z.ZodString;
16
+ instanceId: z.ZodString;
17
+ }, z.core.$strip>, z.ZodObject<{
18
+ generic_key: z.ZodString;
19
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shortpixel", z.ZodObject<{
20
+ connectionId: z.ZodString;
21
+ entityId: z.ZodString;
22
+ instanceId: z.ZodString;
23
+ }, z.core.$strip>, z.ZodObject<{
24
+ generic_key: z.ZodString;
25
+ }, z.core.$strip>>]>;
14
26
  //#endregion
15
27
  export { shortpixelAddCdnDomain };
16
28
  //# sourceMappingURL=add-cdn-domain.d.cts.map
@@ -10,7 +10,19 @@ declare const ShortpixelAddCdnDomainOutput: z.ZodObject<{
10
10
  }, z.core.$loose>;
11
11
  declare const shortpixelAddCdnDomain: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  domain: string;
13
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shortpixel", z.ZodObject<{
14
+ connectionId: z.ZodString;
15
+ entityId: z.ZodString;
16
+ instanceId: z.ZodString;
17
+ }, z.core.$strip>, z.ZodObject<{
18
+ generic_key: z.ZodString;
19
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shortpixel", z.ZodObject<{
20
+ connectionId: z.ZodString;
21
+ entityId: z.ZodString;
22
+ instanceId: z.ZodString;
23
+ }, z.core.$strip>, z.ZodObject<{
24
+ generic_key: z.ZodString;
25
+ }, z.core.$strip>>]>;
14
26
  //#endregion
15
27
  export { shortpixelAddCdnDomain };
16
28
  //# sourceMappingURL=add-cdn-domain.d.mts.map
@@ -10,7 +10,19 @@ declare const ShortpixelBulkPurgeStorageOutput: z.ZodObject<{
10
10
  }, z.core.$loose>;
11
11
  declare const shortpixelBulkPurgeStorage: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  domain: string;
13
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shortpixel", z.ZodObject<{
14
+ connectionId: z.ZodString;
15
+ entityId: z.ZodString;
16
+ instanceId: z.ZodString;
17
+ }, z.core.$strip>, z.ZodObject<{
18
+ generic_key: z.ZodString;
19
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shortpixel", z.ZodObject<{
20
+ connectionId: z.ZodString;
21
+ entityId: z.ZodString;
22
+ instanceId: z.ZodString;
23
+ }, z.core.$strip>, z.ZodObject<{
24
+ generic_key: z.ZodString;
25
+ }, z.core.$strip>>]>;
14
26
  //#endregion
15
27
  export { shortpixelBulkPurgeStorage };
16
28
  //# sourceMappingURL=bulk-purge-storage.d.cts.map
@@ -10,7 +10,19 @@ declare const ShortpixelBulkPurgeStorageOutput: z.ZodObject<{
10
10
  }, z.core.$loose>;
11
11
  declare const shortpixelBulkPurgeStorage: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  domain: string;
13
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shortpixel", z.ZodObject<{
14
+ connectionId: z.ZodString;
15
+ entityId: z.ZodString;
16
+ instanceId: z.ZodString;
17
+ }, z.core.$strip>, z.ZodObject<{
18
+ generic_key: z.ZodString;
19
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shortpixel", z.ZodObject<{
20
+ connectionId: z.ZodString;
21
+ entityId: z.ZodString;
22
+ instanceId: z.ZodString;
23
+ }, z.core.$strip>, z.ZodObject<{
24
+ generic_key: z.ZodString;
25
+ }, z.core.$strip>>]>;
14
26
  //#endregion
15
27
  export { shortpixelBulkPurgeStorage };
16
28
  //# sourceMappingURL=bulk-purge-storage.d.mts.map
@@ -28,7 +28,19 @@ declare const ShortpixelCheckImageStatusOutput: z.ZodObject<{
28
28
  }, z.core.$loose>;
29
29
  declare const shortpixelCheckImageStatus: import("@keystrokehq/action").WorkflowActionDefinition<{
30
30
  url: string;
31
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
31
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shortpixel", z.ZodObject<{
32
+ connectionId: z.ZodString;
33
+ entityId: z.ZodString;
34
+ instanceId: z.ZodString;
35
+ }, z.core.$strip>, z.ZodObject<{
36
+ generic_key: z.ZodString;
37
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shortpixel", z.ZodObject<{
38
+ connectionId: z.ZodString;
39
+ entityId: z.ZodString;
40
+ instanceId: z.ZodString;
41
+ }, z.core.$strip>, z.ZodObject<{
42
+ generic_key: z.ZodString;
43
+ }, z.core.$strip>>]>;
32
44
  //#endregion
33
45
  export { shortpixelCheckImageStatus };
34
46
  //# sourceMappingURL=check-image-status.d.cts.map
@@ -28,7 +28,19 @@ declare const ShortpixelCheckImageStatusOutput: z.ZodObject<{
28
28
  }, z.core.$loose>;
29
29
  declare const shortpixelCheckImageStatus: import("@keystrokehq/action").WorkflowActionDefinition<{
30
30
  url: string;
31
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
31
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shortpixel", z.ZodObject<{
32
+ connectionId: z.ZodString;
33
+ entityId: z.ZodString;
34
+ instanceId: z.ZodString;
35
+ }, z.core.$strip>, z.ZodObject<{
36
+ generic_key: z.ZodString;
37
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shortpixel", z.ZodObject<{
38
+ connectionId: z.ZodString;
39
+ entityId: z.ZodString;
40
+ instanceId: z.ZodString;
41
+ }, z.core.$strip>, z.ZodObject<{
42
+ generic_key: z.ZodString;
43
+ }, z.core.$strip>>]>;
32
44
  //#endregion
33
45
  export { shortpixelCheckImageStatus };
34
46
  //# sourceMappingURL=check-image-status.d.mts.map
@@ -12,7 +12,19 @@ declare const ShortpixelCleanUpImageOutput: z.ZodObject<{
12
12
  }, z.core.$loose>;
13
13
  declare const shortpixelCleanUpImage: import("@keystrokehq/action").WorkflowActionDefinition<{
14
14
  urllist: string[];
15
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
15
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shortpixel", z.ZodObject<{
16
+ connectionId: z.ZodString;
17
+ entityId: z.ZodString;
18
+ instanceId: z.ZodString;
19
+ }, z.core.$strip>, z.ZodObject<{
20
+ generic_key: z.ZodString;
21
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shortpixel", z.ZodObject<{
22
+ connectionId: z.ZodString;
23
+ entityId: z.ZodString;
24
+ instanceId: z.ZodString;
25
+ }, z.core.$strip>, z.ZodObject<{
26
+ generic_key: z.ZodString;
27
+ }, z.core.$strip>>]>;
16
28
  //#endregion
17
29
  export { shortpixelCleanUpImage };
18
30
  //# sourceMappingURL=clean-up-image.d.cts.map
@@ -12,7 +12,19 @@ declare const ShortpixelCleanUpImageOutput: z.ZodObject<{
12
12
  }, z.core.$loose>;
13
13
  declare const shortpixelCleanUpImage: import("@keystrokehq/action").WorkflowActionDefinition<{
14
14
  urllist: string[];
15
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
15
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shortpixel", z.ZodObject<{
16
+ connectionId: z.ZodString;
17
+ entityId: z.ZodString;
18
+ instanceId: z.ZodString;
19
+ }, z.core.$strip>, z.ZodObject<{
20
+ generic_key: z.ZodString;
21
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shortpixel", z.ZodObject<{
22
+ connectionId: z.ZodString;
23
+ entityId: z.ZodString;
24
+ instanceId: z.ZodString;
25
+ }, z.core.$strip>, z.ZodObject<{
26
+ generic_key: z.ZodString;
27
+ }, z.core.$strip>>]>;
16
28
  //#endregion
17
29
  export { shortpixelCleanUpImage };
18
30
  //# sourceMappingURL=clean-up-image.d.mts.map
@@ -51,7 +51,19 @@ declare const shortpixelGetAdaptiveImageCdn: import("@keystrokehq/action").Workf
51
51
  keep_exif?: boolean | undefined;
52
52
  to_format?: "webp" | "avif" | "auto" | undefined;
53
53
  return_mode?: "blank" | "img" | "wait" | 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<"shortpixel", z.ZodObject<{
55
+ connectionId: z.ZodString;
56
+ entityId: z.ZodString;
57
+ instanceId: z.ZodString;
58
+ }, z.core.$strip>, z.ZodObject<{
59
+ generic_key: z.ZodString;
60
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shortpixel", z.ZodObject<{
61
+ connectionId: z.ZodString;
62
+ entityId: z.ZodString;
63
+ instanceId: z.ZodString;
64
+ }, z.core.$strip>, z.ZodObject<{
65
+ generic_key: z.ZodString;
66
+ }, z.core.$strip>>]>;
55
67
  //#endregion
56
68
  export { shortpixelGetAdaptiveImageCdn };
57
69
  //# sourceMappingURL=get-adaptive-image-cdn.d.cts.map
@@ -51,7 +51,19 @@ declare const shortpixelGetAdaptiveImageCdn: import("@keystrokehq/action").Workf
51
51
  keep_exif?: boolean | undefined;
52
52
  to_format?: "webp" | "avif" | "auto" | undefined;
53
53
  return_mode?: "blank" | "img" | "wait" | 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<"shortpixel", z.ZodObject<{
55
+ connectionId: z.ZodString;
56
+ entityId: z.ZodString;
57
+ instanceId: z.ZodString;
58
+ }, z.core.$strip>, z.ZodObject<{
59
+ generic_key: z.ZodString;
60
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shortpixel", z.ZodObject<{
61
+ connectionId: z.ZodString;
62
+ entityId: z.ZodString;
63
+ instanceId: z.ZodString;
64
+ }, z.core.$strip>, z.ZodObject<{
65
+ generic_key: z.ZodString;
66
+ }, z.core.$strip>>]>;
55
67
  //#endregion
56
68
  export { shortpixelGetAdaptiveImageCdn };
57
69
  //# sourceMappingURL=get-adaptive-image-cdn.d.mts.map
@@ -16,7 +16,19 @@ declare const ShortpixelGetApiStatusOutput: z.ZodObject<{
16
16
  APICallsMadeOneTime: z.ZodNullable<z.ZodString>;
17
17
  APICallsQuotaOneTime: z.ZodNullable<z.ZodString>;
18
18
  }, z.core.$loose>;
19
- declare const shortpixelGetApiStatus: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
19
+ declare const shortpixelGetApiStatus: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shortpixel", z.ZodObject<{
20
+ connectionId: z.ZodString;
21
+ entityId: z.ZodString;
22
+ instanceId: z.ZodString;
23
+ }, z.core.$strip>, z.ZodObject<{
24
+ generic_key: z.ZodString;
25
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shortpixel", z.ZodObject<{
26
+ connectionId: z.ZodString;
27
+ entityId: z.ZodString;
28
+ instanceId: z.ZodString;
29
+ }, z.core.$strip>, z.ZodObject<{
30
+ generic_key: z.ZodString;
31
+ }, z.core.$strip>>]>;
20
32
  //#endregion
21
33
  export { shortpixelGetApiStatus };
22
34
  //# sourceMappingURL=get-api-status.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-api-status.d.cts","names":[],"sources":["../../src/actions/get-api-status.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAK3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAY5B,sBAAA,gCAAsB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-api-status.d.cts","names":[],"sources":["../../src/actions/get-api-status.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAK3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAY5B,sBAAA,gCAAsB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,eAAA,CAAA,CAAA,SAAA"}
@@ -16,7 +16,19 @@ declare const ShortpixelGetApiStatusOutput: z.ZodObject<{
16
16
  APICallsMadeOneTime: z.ZodNullable<z.ZodString>;
17
17
  APICallsQuotaOneTime: z.ZodNullable<z.ZodString>;
18
18
  }, z.core.$loose>;
19
- declare const shortpixelGetApiStatus: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
19
+ declare const shortpixelGetApiStatus: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shortpixel", z.ZodObject<{
20
+ connectionId: z.ZodString;
21
+ entityId: z.ZodString;
22
+ instanceId: z.ZodString;
23
+ }, z.core.$strip>, z.ZodObject<{
24
+ generic_key: z.ZodString;
25
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shortpixel", z.ZodObject<{
26
+ connectionId: z.ZodString;
27
+ entityId: z.ZodString;
28
+ instanceId: z.ZodString;
29
+ }, z.core.$strip>, z.ZodObject<{
30
+ generic_key: z.ZodString;
31
+ }, z.core.$strip>>]>;
20
32
  //#endregion
21
33
  export { shortpixelGetApiStatus };
22
34
  //# sourceMappingURL=get-api-status.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-api-status.d.mts","names":[],"sources":["../../src/actions/get-api-status.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAK3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAY5B,sBAAA,gCAAsB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-api-status.d.mts","names":[],"sources":["../../src/actions/get-api-status.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAK3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAY5B,sBAAA,gCAAsB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,eAAA,CAAA,CAAA,SAAA"}
@@ -23,7 +23,19 @@ declare const ShortpixelGetCdnUsageOutput: z.ZodObject<{
23
23
  }, z.core.$loose>;
24
24
  declare const shortpixelGetCdnUsage: import("@keystrokehq/action").WorkflowActionDefinition<{
25
25
  domain: string;
26
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
26
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shortpixel", z.ZodObject<{
27
+ connectionId: z.ZodString;
28
+ entityId: z.ZodString;
29
+ instanceId: z.ZodString;
30
+ }, z.core.$strip>, z.ZodObject<{
31
+ generic_key: z.ZodString;
32
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shortpixel", z.ZodObject<{
33
+ connectionId: z.ZodString;
34
+ entityId: z.ZodString;
35
+ instanceId: z.ZodString;
36
+ }, z.core.$strip>, z.ZodObject<{
37
+ generic_key: z.ZodString;
38
+ }, z.core.$strip>>]>;
27
39
  //#endregion
28
40
  export { shortpixelGetCdnUsage };
29
41
  //# sourceMappingURL=get-cdn-usage.d.cts.map
@@ -23,7 +23,19 @@ declare const ShortpixelGetCdnUsageOutput: z.ZodObject<{
23
23
  }, z.core.$loose>;
24
24
  declare const shortpixelGetCdnUsage: import("@keystrokehq/action").WorkflowActionDefinition<{
25
25
  domain: string;
26
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
26
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shortpixel", z.ZodObject<{
27
+ connectionId: z.ZodString;
28
+ entityId: z.ZodString;
29
+ instanceId: z.ZodString;
30
+ }, z.core.$strip>, z.ZodObject<{
31
+ generic_key: z.ZodString;
32
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shortpixel", z.ZodObject<{
33
+ connectionId: z.ZodString;
34
+ entityId: z.ZodString;
35
+ instanceId: z.ZodString;
36
+ }, z.core.$strip>, z.ZodObject<{
37
+ generic_key: z.ZodString;
38
+ }, z.core.$strip>>]>;
27
39
  //#endregion
28
40
  export { shortpixelGetCdnUsage };
29
41
  //# sourceMappingURL=get-cdn-usage.d.mts.map
@@ -71,7 +71,19 @@ declare const shortpixelOptimizeImagesByUrl: import("@keystrokehq/action").Workf
71
71
  resize_height?: number | undefined;
72
72
  plugin_version?: string | undefined;
73
73
  returndatalist?: (string | number | boolean | Record<string, unknown>)[] | undefined;
74
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
74
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shortpixel", z.ZodObject<{
75
+ connectionId: z.ZodString;
76
+ entityId: z.ZodString;
77
+ instanceId: z.ZodString;
78
+ }, z.core.$strip>, z.ZodObject<{
79
+ generic_key: z.ZodString;
80
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shortpixel", z.ZodObject<{
81
+ connectionId: z.ZodString;
82
+ entityId: z.ZodString;
83
+ instanceId: z.ZodString;
84
+ }, z.core.$strip>, z.ZodObject<{
85
+ generic_key: z.ZodString;
86
+ }, z.core.$strip>>]>;
75
87
  //#endregion
76
88
  export { shortpixelOptimizeImagesByUrl };
77
89
  //# sourceMappingURL=optimize-images-by-url.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"optimize-images-by-url.d.cts","names":[],"sources":["../../src/actions/optimize-images-by-url.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAuClC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAInC,6BAAA,gCAA6B,wBAAA;;;;;;;;;;;cAMxC,MAAA;;;;gDAAA,MAAA;AAAA"}
1
+ {"version":3,"file":"optimize-images-by-url.d.cts","names":[],"sources":["../../src/actions/optimize-images-by-url.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAuClC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAInC,6BAAA,gCAA6B,wBAAA"}
@@ -71,7 +71,19 @@ declare const shortpixelOptimizeImagesByUrl: import("@keystrokehq/action").Workf
71
71
  resize_height?: number | undefined;
72
72
  plugin_version?: string | undefined;
73
73
  returndatalist?: (string | number | boolean | Record<string, unknown>)[] | undefined;
74
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
74
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shortpixel", z.ZodObject<{
75
+ connectionId: z.ZodString;
76
+ entityId: z.ZodString;
77
+ instanceId: z.ZodString;
78
+ }, z.core.$strip>, z.ZodObject<{
79
+ generic_key: z.ZodString;
80
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shortpixel", z.ZodObject<{
81
+ connectionId: z.ZodString;
82
+ entityId: z.ZodString;
83
+ instanceId: z.ZodString;
84
+ }, z.core.$strip>, z.ZodObject<{
85
+ generic_key: z.ZodString;
86
+ }, z.core.$strip>>]>;
75
87
  //#endregion
76
88
  export { shortpixelOptimizeImagesByUrl };
77
89
  //# sourceMappingURL=optimize-images-by-url.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"optimize-images-by-url.d.mts","names":[],"sources":["../../src/actions/optimize-images-by-url.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAuClC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAInC,6BAAA,gCAA6B,wBAAA;;;;;;;;;;;cAMxC,MAAA;;;;gDAAA,MAAA;AAAA"}
1
+ {"version":3,"file":"optimize-images-by-url.d.mts","names":[],"sources":["../../src/actions/optimize-images-by-url.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAuClC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAInC,6BAAA,gCAA6B,wBAAA"}
@@ -9,7 +9,19 @@ declare const ShortpixelReadCdnDomainOutput: z.ZodObject<{
9
9
  }, z.core.$loose>;
10
10
  declare const shortpixelReadCdnDomain: import("@keystrokehq/action").WorkflowActionDefinition<{
11
11
  domain: string;
12
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
12
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shortpixel", z.ZodObject<{
13
+ connectionId: z.ZodString;
14
+ entityId: z.ZodString;
15
+ instanceId: z.ZodString;
16
+ }, z.core.$strip>, z.ZodObject<{
17
+ generic_key: z.ZodString;
18
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shortpixel", z.ZodObject<{
19
+ connectionId: z.ZodString;
20
+ entityId: z.ZodString;
21
+ instanceId: z.ZodString;
22
+ }, z.core.$strip>, z.ZodObject<{
23
+ generic_key: z.ZodString;
24
+ }, z.core.$strip>>]>;
13
25
  //#endregion
14
26
  export { shortpixelReadCdnDomain };
15
27
  //# sourceMappingURL=read-cdn-domain.d.cts.map
@@ -9,7 +9,19 @@ declare const ShortpixelReadCdnDomainOutput: z.ZodObject<{
9
9
  }, z.core.$loose>;
10
10
  declare const shortpixelReadCdnDomain: import("@keystrokehq/action").WorkflowActionDefinition<{
11
11
  domain: string;
12
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
12
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shortpixel", z.ZodObject<{
13
+ connectionId: z.ZodString;
14
+ entityId: z.ZodString;
15
+ instanceId: z.ZodString;
16
+ }, z.core.$strip>, z.ZodObject<{
17
+ generic_key: z.ZodString;
18
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shortpixel", z.ZodObject<{
19
+ connectionId: z.ZodString;
20
+ entityId: z.ZodString;
21
+ instanceId: z.ZodString;
22
+ }, z.core.$strip>, z.ZodObject<{
23
+ generic_key: z.ZodString;
24
+ }, z.core.$strip>>]>;
13
25
  //#endregion
14
26
  export { shortpixelReadCdnDomain };
15
27
  //# sourceMappingURL=read-cdn-domain.d.mts.map
@@ -10,7 +10,19 @@ declare const ShortpixelRevokeCdnDomainOutput: z.ZodObject<{
10
10
  }, z.core.$loose>;
11
11
  declare const shortpixelRevokeCdnDomain: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  domain: string;
13
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shortpixel", z.ZodObject<{
14
+ connectionId: z.ZodString;
15
+ entityId: z.ZodString;
16
+ instanceId: z.ZodString;
17
+ }, z.core.$strip>, z.ZodObject<{
18
+ generic_key: z.ZodString;
19
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shortpixel", z.ZodObject<{
20
+ connectionId: z.ZodString;
21
+ entityId: z.ZodString;
22
+ instanceId: z.ZodString;
23
+ }, z.core.$strip>, z.ZodObject<{
24
+ generic_key: z.ZodString;
25
+ }, z.core.$strip>>]>;
14
26
  //#endregion
15
27
  export { shortpixelRevokeCdnDomain };
16
28
  //# sourceMappingURL=revoke-cdn-domain.d.cts.map
@@ -10,7 +10,19 @@ declare const ShortpixelRevokeCdnDomainOutput: z.ZodObject<{
10
10
  }, z.core.$loose>;
11
11
  declare const shortpixelRevokeCdnDomain: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  domain: string;
13
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shortpixel", z.ZodObject<{
14
+ connectionId: z.ZodString;
15
+ entityId: z.ZodString;
16
+ instanceId: z.ZodString;
17
+ }, z.core.$strip>, z.ZodObject<{
18
+ generic_key: z.ZodString;
19
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shortpixel", z.ZodObject<{
20
+ connectionId: z.ZodString;
21
+ entityId: z.ZodString;
22
+ instanceId: z.ZodString;
23
+ }, z.core.$strip>, z.ZodObject<{
24
+ generic_key: z.ZodString;
25
+ }, z.core.$strip>>]>;
14
26
  //#endregion
15
27
  export { shortpixelRevokeCdnDomain };
16
28
  //# sourceMappingURL=revoke-cdn-domain.d.mts.map
@@ -10,7 +10,19 @@ declare const ShortpixelSetCdnDomainOutput: z.ZodObject<{
10
10
  }, z.core.$loose>;
11
11
  declare const shortpixelSetCdnDomain: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  domain: string;
13
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shortpixel", z.ZodObject<{
14
+ connectionId: z.ZodString;
15
+ entityId: z.ZodString;
16
+ instanceId: z.ZodString;
17
+ }, z.core.$strip>, z.ZodObject<{
18
+ generic_key: z.ZodString;
19
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shortpixel", z.ZodObject<{
20
+ connectionId: z.ZodString;
21
+ entityId: z.ZodString;
22
+ instanceId: z.ZodString;
23
+ }, z.core.$strip>, z.ZodObject<{
24
+ generic_key: z.ZodString;
25
+ }, z.core.$strip>>]>;
14
26
  //#endregion
15
27
  export { shortpixelSetCdnDomain };
16
28
  //# sourceMappingURL=set-cdn-domain.d.cts.map
@@ -10,7 +10,19 @@ declare const ShortpixelSetCdnDomainOutput: z.ZodObject<{
10
10
  }, z.core.$loose>;
11
11
  declare const shortpixelSetCdnDomain: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  domain: string;
13
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shortpixel", z.ZodObject<{
14
+ connectionId: z.ZodString;
15
+ entityId: z.ZodString;
16
+ instanceId: z.ZodString;
17
+ }, z.core.$strip>, z.ZodObject<{
18
+ generic_key: z.ZodString;
19
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shortpixel", z.ZodObject<{
20
+ connectionId: z.ZodString;
21
+ entityId: z.ZodString;
22
+ instanceId: z.ZodString;
23
+ }, z.core.$strip>, z.ZodObject<{
24
+ generic_key: z.ZodString;
25
+ }, z.core.$strip>>]>;
14
26
  //#endregion
15
27
  export { shortpixelSetCdnDomain };
16
28
  //# sourceMappingURL=set-cdn-domain.d.mts.map
@@ -45,7 +45,19 @@ declare const shortpixelUploadAndOptimizeImages: import("@keystrokehq/action").W
45
45
  resize?: 0 | 1 | 3 | 4 | undefined;
46
46
  convertto?: string | undefined;
47
47
  plugin_version?: string | undefined;
48
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
48
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shortpixel", z.ZodObject<{
49
+ connectionId: z.ZodString;
50
+ entityId: z.ZodString;
51
+ instanceId: z.ZodString;
52
+ }, z.core.$strip>, z.ZodObject<{
53
+ generic_key: z.ZodString;
54
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shortpixel", z.ZodObject<{
55
+ connectionId: z.ZodString;
56
+ entityId: z.ZodString;
57
+ instanceId: z.ZodString;
58
+ }, z.core.$strip>, z.ZodObject<{
59
+ generic_key: z.ZodString;
60
+ }, z.core.$strip>>]>;
49
61
  //#endregion
50
62
  export { shortpixelUploadAndOptimizeImages };
51
63
  //# sourceMappingURL=upload-and-optimize-images.d.cts.map
@@ -45,7 +45,19 @@ declare const shortpixelUploadAndOptimizeImages: import("@keystrokehq/action").W
45
45
  resize?: 0 | 1 | 3 | 4 | undefined;
46
46
  convertto?: string | undefined;
47
47
  plugin_version?: string | undefined;
48
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
48
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shortpixel", z.ZodObject<{
49
+ connectionId: z.ZodString;
50
+ entityId: z.ZodString;
51
+ instanceId: z.ZodString;
52
+ }, z.core.$strip>, z.ZodObject<{
53
+ generic_key: z.ZodString;
54
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shortpixel", z.ZodObject<{
55
+ connectionId: z.ZodString;
56
+ entityId: z.ZodString;
57
+ instanceId: z.ZodString;
58
+ }, z.core.$strip>, z.ZodObject<{
59
+ generic_key: z.ZodString;
60
+ }, z.core.$strip>>]>;
49
61
  //#endregion
50
62
  export { shortpixelUploadAndOptimizeImages };
51
63
  //# sourceMappingURL=upload-and-optimize-images.d.mts.map
package/dist/app.cjs CHANGED
@@ -1,7 +1,10 @@
1
+ let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
2
+ let zod = require("zod");
1
3
  //#region src/app.ts
2
- const shortpixel = (0, require("@keystrokehq/keystroke/app").defineApp)({
4
+ const shortpixel = (0, _keystrokehq_keystroke_app.defineApp)({
3
5
  slug: "shortpixel",
4
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential: { generic_key: zod.z.string() }
5
8
  });
6
9
  //#endregion
7
10
  exports.shortpixel = shortpixel;
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 shortpixel = defineApp({\n slug: \"shortpixel\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,cAAA,uCAAA,CAAA,CAAA,UAAA,CAAuB;CAClC,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 shortpixel = defineApp({\n slug: \"shortpixel\",\n auth: \"keystroke\",\n credential: {\n generic_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,cAAA,GAAA,2BAAA,UAAA,CAAuB;CAClC,MAAM;CACN,MAAM;CACN,YAAY,EACV,aAAaA,IAAAA,EAAE,OAAO,EACxB;AACF,CAAC"}
package/dist/app.d.cts CHANGED
@@ -1,5 +1,13 @@
1
+ import { z } from "zod";
2
+
1
3
  //#region src/app.d.ts
2
- declare const shortpixel: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
4
+ declare const shortpixel: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"shortpixel", z.ZodObject<{
5
+ connectionId: z.ZodString;
6
+ entityId: z.ZodString;
7
+ instanceId: z.ZodString;
8
+ }, z.core.$strip>, z.ZodObject<{
9
+ generic_key: z.ZodString;
10
+ }, z.core.$strip>>>;
3
11
  //#endregion
4
12
  export { shortpixel };
5
13
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,UAAA,6BAAU,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,UAAA,6BAAU,GAAA,+BAAA,UAAA,eAAA,CAAA,CAAA,SAAA"}
package/dist/app.d.mts CHANGED
@@ -1,5 +1,13 @@
1
+ import { z } from "zod";
2
+
1
3
  //#region src/app.d.ts
2
- declare const shortpixel: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
4
+ declare const shortpixel: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"shortpixel", z.ZodObject<{
5
+ connectionId: z.ZodString;
6
+ entityId: z.ZodString;
7
+ instanceId: z.ZodString;
8
+ }, z.core.$strip>, z.ZodObject<{
9
+ generic_key: z.ZodString;
10
+ }, z.core.$strip>>>;
3
11
  //#endregion
4
12
  export { shortpixel };
5
13
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,UAAA,6BAAU,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,UAAA,6BAAU,GAAA,+BAAA,UAAA,eAAA,CAAA,CAAA,SAAA"}
package/dist/app.mjs CHANGED
@@ -1,8 +1,10 @@
1
1
  import { defineApp } from "@keystrokehq/keystroke/app";
2
+ import { z } from "zod";
2
3
  //#region src/app.ts
3
4
  const shortpixel = defineApp({
4
5
  slug: "shortpixel",
5
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential: { generic_key: z.string() }
6
8
  });
7
9
  //#endregion
8
10
  export { shortpixel };
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 shortpixel = defineApp({\n slug: \"shortpixel\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,aAAa,UAAU;CAClC,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 shortpixel = defineApp({\n slug: \"shortpixel\",\n auth: \"keystroke\",\n credential: {\n generic_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,aAAa,UAAU;CAClC,MAAM;CACN,MAAM;CACN,YAAY,EACV,aAAa,EAAE,OAAO,EACxB;AACF,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/shortpixel",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"