@keystrokehq/smugmug 0.1.0 → 0.1.3
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.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/get-album-highlight-image.cjs +6 -6
- package/dist/actions/get-album-highlight-image.cjs.map +1 -1
- package/dist/actions/get-album-highlight-image.d.cts +30 -3
- package/dist/actions/get-album-highlight-image.d.cts.map +1 -1
- package/dist/actions/get-album-highlight-image.d.mts +30 -3
- package/dist/actions/get-album-highlight-image.d.mts.map +1 -1
- package/dist/actions/get-album-highlight-image.mjs +6 -6
- package/dist/actions/get-album-highlight-image.mjs.map +1 -1
- package/dist/actions/get-album-image.cjs +9 -9
- package/dist/actions/get-album-image.cjs.map +1 -1
- package/dist/actions/get-album-image.d.cts +73 -3
- package/dist/actions/get-album-image.d.cts.map +1 -1
- package/dist/actions/get-album-image.d.mts +73 -3
- package/dist/actions/get-album-image.d.mts.map +1 -1
- package/dist/actions/get-album-image.mjs +9 -9
- package/dist/actions/get-album-image.mjs.map +1 -1
- package/dist/actions/get-album-images.cjs +6 -6
- package/dist/actions/get-album-images.cjs.map +1 -1
- package/dist/actions/get-album-images.d.cts +112 -3
- package/dist/actions/get-album-images.d.cts.map +1 -1
- package/dist/actions/get-album-images.d.mts +112 -3
- package/dist/actions/get-album-images.d.mts.map +1 -1
- package/dist/actions/get-album-images.mjs +6 -6
- package/dist/actions/get-album-images.mjs.map +1 -1
- package/dist/actions/get-album.cjs +7 -7
- package/dist/actions/get-album.cjs.map +1 -1
- package/dist/actions/get-album.d.cts +49 -3
- package/dist/actions/get-album.d.cts.map +1 -1
- package/dist/actions/get-album.d.mts +49 -3
- package/dist/actions/get-album.d.mts.map +1 -1
- package/dist/actions/get-album.mjs +7 -7
- package/dist/actions/get-album.mjs.map +1 -1
- package/dist/actions/get-folder-albums.cjs +6 -6
- package/dist/actions/get-folder-albums.cjs.map +1 -1
- package/dist/actions/get-folder-albums.d.cts +45 -3
- package/dist/actions/get-folder-albums.d.cts.map +1 -1
- package/dist/actions/get-folder-albums.d.mts +45 -3
- package/dist/actions/get-folder-albums.d.mts.map +1 -1
- package/dist/actions/get-folder-albums.mjs +6 -6
- package/dist/actions/get-folder-albums.mjs.map +1 -1
- package/dist/actions/get-folder-by-user-path.cjs +2 -2
- package/dist/actions/get-folder-by-user-path.cjs.map +1 -1
- package/dist/actions/get-folder-by-user-path.d.cts +23 -3
- package/dist/actions/get-folder-by-user-path.d.cts.map +1 -1
- package/dist/actions/get-folder-by-user-path.d.mts +23 -3
- package/dist/actions/get-folder-by-user-path.d.mts.map +1 -1
- package/dist/actions/get-folder-by-user-path.mjs +2 -2
- package/dist/actions/get-folder-by-user-path.mjs.map +1 -1
- package/dist/actions/get-folder-details.cjs +7 -7
- package/dist/actions/get-folder-details.cjs.map +1 -1
- package/dist/actions/get-folder-details.d.cts +16 -3
- package/dist/actions/get-folder-details.d.cts.map +1 -1
- package/dist/actions/get-folder-details.d.mts +16 -3
- package/dist/actions/get-folder-details.d.mts.map +1 -1
- package/dist/actions/get-folder-details.mjs +7 -7
- package/dist/actions/get-folder-details.mjs.map +1 -1
- package/dist/actions/get-folder-subfolders.cjs +4 -4
- package/dist/actions/get-folder-subfolders.cjs.map +1 -1
- package/dist/actions/get-folder-subfolders.d.cts +36 -3
- package/dist/actions/get-folder-subfolders.d.cts.map +1 -1
- package/dist/actions/get-folder-subfolders.d.mts +36 -3
- package/dist/actions/get-folder-subfolders.d.mts.map +1 -1
- package/dist/actions/get-folder-subfolders.mjs +4 -4
- package/dist/actions/get-folder-subfolders.mjs.map +1 -1
- package/dist/actions/get-image-metadata.cjs +2 -2
- package/dist/actions/get-image-metadata.cjs.map +1 -1
- package/dist/actions/get-image-metadata.d.cts +87 -3
- package/dist/actions/get-image-metadata.d.cts.map +1 -1
- package/dist/actions/get-image-metadata.d.mts +87 -3
- package/dist/actions/get-image-metadata.d.mts.map +1 -1
- package/dist/actions/get-image-metadata.mjs +2 -2
- package/dist/actions/get-image-metadata.mjs.map +1 -1
- package/dist/actions/get-image-size-details.cjs +3 -3
- package/dist/actions/get-image-size-details.cjs.map +1 -1
- package/dist/actions/get-image-size-details.d.cts +126 -3
- package/dist/actions/get-image-size-details.d.cts.map +1 -1
- package/dist/actions/get-image-size-details.d.mts +126 -3
- package/dist/actions/get-image-size-details.d.mts.map +1 -1
- package/dist/actions/get-image-size-details.mjs +3 -3
- package/dist/actions/get-image-size-details.mjs.map +1 -1
- package/dist/actions/get-image-sizes.cjs +4 -4
- package/dist/actions/get-image-sizes.cjs.map +1 -1
- package/dist/actions/get-image-sizes.d.cts +33 -3
- package/dist/actions/get-image-sizes.d.cts.map +1 -1
- package/dist/actions/get-image-sizes.d.mts +33 -3
- package/dist/actions/get-image-sizes.d.mts.map +1 -1
- package/dist/actions/get-image-sizes.mjs +4 -4
- package/dist/actions/get-image-sizes.mjs.map +1 -1
- package/dist/actions/get-image.cjs +11 -11
- package/dist/actions/get-image.cjs.map +1 -1
- package/dist/actions/get-image.d.cts +135 -3
- package/dist/actions/get-image.d.cts.map +1 -1
- package/dist/actions/get-image.d.mts +135 -3
- package/dist/actions/get-image.d.mts.map +1 -1
- package/dist/actions/get-image.mjs +11 -11
- package/dist/actions/get-image.mjs.map +1 -1
- package/dist/actions/get-node-highlight-image.cjs +4 -4
- package/dist/actions/get-node-highlight-image.cjs.map +1 -1
- package/dist/actions/get-node-highlight-image.d.cts +74 -3
- package/dist/actions/get-node-highlight-image.d.cts.map +1 -1
- package/dist/actions/get-node-highlight-image.d.mts +74 -3
- package/dist/actions/get-node-highlight-image.d.mts.map +1 -1
- package/dist/actions/get-node-highlight-image.mjs +4 -4
- package/dist/actions/get-node-highlight-image.mjs.map +1 -1
- package/dist/actions/get-node-parent.cjs +13 -13
- package/dist/actions/get-node-parent.cjs.map +1 -1
- package/dist/actions/get-node-parent.d.cts +136 -3
- package/dist/actions/get-node-parent.d.cts.map +1 -1
- package/dist/actions/get-node-parent.d.mts +136 -3
- package/dist/actions/get-node-parent.d.mts.map +1 -1
- package/dist/actions/get-node-parent.mjs +13 -13
- package/dist/actions/get-node-parent.mjs.map +1 -1
- package/dist/actions/get-node-parents.cjs +8 -8
- package/dist/actions/get-node-parents.cjs.map +1 -1
- package/dist/actions/get-node-parents.d.cts +26 -3
- package/dist/actions/get-node-parents.d.cts.map +1 -1
- package/dist/actions/get-node-parents.d.mts +26 -3
- package/dist/actions/get-node-parents.d.mts.map +1 -1
- package/dist/actions/get-node-parents.mjs +8 -8
- package/dist/actions/get-node-parents.mjs.map +1 -1
- package/dist/actions/get-user-bio-image.cjs +3 -3
- package/dist/actions/get-user-bio-image.cjs.map +1 -1
- package/dist/actions/get-user-bio-image.d.cts +25 -3
- package/dist/actions/get-user-bio-image.d.cts.map +1 -1
- package/dist/actions/get-user-bio-image.d.mts +25 -3
- package/dist/actions/get-user-bio-image.d.mts.map +1 -1
- package/dist/actions/get-user-bio-image.mjs +3 -3
- package/dist/actions/get-user-bio-image.mjs.map +1 -1
- package/dist/actions/get-user-featured-albums.cjs +3 -3
- package/dist/actions/get-user-featured-albums.cjs.map +1 -1
- package/dist/actions/get-user-featured-albums.d.cts +30 -3
- package/dist/actions/get-user-featured-albums.d.cts.map +1 -1
- package/dist/actions/get-user-featured-albums.d.mts +30 -3
- package/dist/actions/get-user-featured-albums.d.mts.map +1 -1
- package/dist/actions/get-user-featured-albums.mjs +3 -3
- package/dist/actions/get-user-featured-albums.mjs.map +1 -1
- package/dist/actions/get-user-features.cjs +3 -3
- package/dist/actions/get-user-features.cjs.map +1 -1
- package/dist/actions/get-user-features.d.cts +14 -3
- package/dist/actions/get-user-features.d.cts.map +1 -1
- package/dist/actions/get-user-features.d.mts +14 -3
- package/dist/actions/get-user-features.d.mts.map +1 -1
- package/dist/actions/get-user-features.mjs +3 -3
- package/dist/actions/get-user-features.mjs.map +1 -1
- package/dist/actions/get-user-profile.cjs +3 -3
- package/dist/actions/get-user-profile.cjs.map +1 -1
- package/dist/actions/get-user-profile.d.cts +33 -3
- package/dist/actions/get-user-profile.d.cts.map +1 -1
- package/dist/actions/get-user-profile.d.mts +33 -3
- package/dist/actions/get-user-profile.d.mts.map +1 -1
- package/dist/actions/get-user-profile.mjs +3 -3
- package/dist/actions/get-user-profile.mjs.map +1 -1
- package/dist/actions/get-user-root-node.cjs +5 -5
- package/dist/actions/get-user-root-node.cjs.map +1 -1
- package/dist/actions/get-user-root-node.d.cts +99 -3
- package/dist/actions/get-user-root-node.d.cts.map +1 -1
- package/dist/actions/get-user-root-node.d.mts +99 -3
- package/dist/actions/get-user-root-node.d.mts.map +1 -1
- package/dist/actions/get-user-root-node.mjs +5 -5
- package/dist/actions/get-user-root-node.mjs.map +1 -1
- package/dist/actions/get-user.cjs +8 -8
- package/dist/actions/get-user.cjs.map +1 -1
- package/dist/actions/get-user.d.cts +112 -3
- package/dist/actions/get-user.d.cts.map +1 -1
- package/dist/actions/get-user.d.mts +112 -3
- package/dist/actions/get-user.d.mts.map +1 -1
- package/dist/actions/get-user.mjs +8 -8
- package/dist/actions/get-user.mjs.map +1 -1
- package/dist/actions/list-child-nodes.cjs +8 -8
- package/dist/actions/list-child-nodes.cjs.map +1 -1
- package/dist/actions/list-child-nodes.d.cts +38 -3
- package/dist/actions/list-child-nodes.d.cts.map +1 -1
- package/dist/actions/list-child-nodes.d.mts +38 -3
- package/dist/actions/list-child-nodes.d.mts.map +1 -1
- package/dist/actions/list-child-nodes.mjs +8 -8
- package/dist/actions/list-child-nodes.mjs.map +1 -1
- package/dist/actions/search-user-content.cjs +6 -6
- package/dist/actions/search-user-content.cjs.map +1 -1
- package/dist/actions/search-user-content.d.cts +73 -3
- package/dist/actions/search-user-content.d.cts.map +1 -1
- package/dist/actions/search-user-content.d.mts +73 -3
- package/dist/actions/search-user-content.d.mts.map +1 -1
- package/dist/actions/search-user-content.mjs +6 -6
- package/dist/actions/search-user-content.mjs.map +1 -1
- package/dist/actions/unlock-album.cjs +1 -1
- package/dist/actions/unlock-album.cjs.map +1 -1
- package/dist/actions/unlock-album.d.cts +12 -3
- package/dist/actions/unlock-album.d.cts.map +1 -1
- package/dist/actions/unlock-album.d.mts +12 -3
- package/dist/actions/unlock-album.d.mts.map +1 -1
- package/dist/actions/unlock-album.mjs +1 -1
- package/dist/actions/unlock-album.mjs.map +1 -1
- package/dist/actions/unlock-user.cjs +1 -1
- package/dist/actions/unlock-user.cjs.map +1 -1
- package/dist/actions/unlock-user.d.cts +12 -3
- package/dist/actions/unlock-user.d.cts.map +1 -1
- package/dist/actions/unlock-user.d.mts +12 -3
- package/dist/actions/unlock-user.d.mts.map +1 -1
- package/dist/actions/unlock-user.mjs +1 -1
- package/dist/actions/unlock-user.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1,9 +1,36 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-user-featured-albums.d.ts
|
|
4
|
-
declare const SmugmugGetUserFeaturedAlbumsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SmugmugGetUserFeaturedAlbumsInput: z.ZodObject<{
|
|
5
|
+
nickname: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const SmugmugGetUserFeaturedAlbumsOutput: z.ZodObject<{
|
|
8
|
+
Code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
9
|
+
Message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
Response: z.ZodNullable<z.ZodObject<{
|
|
11
|
+
Uri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
Album: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
13
|
+
Uri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
Name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
Title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
NodeID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
WebUri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
UrlPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
AlbumKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
ImageCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
|
+
Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
LastUpdated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
ImagesLastUpdated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
}, z.core.$loose>>>>;
|
|
25
|
+
Locator: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
LocatorType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
EndpointType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
UriDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
}, z.core.$loose>>;
|
|
30
|
+
}, z.core.$loose>;
|
|
31
|
+
declare const smugmugGetUserFeaturedAlbums: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
32
|
+
nickname: string;
|
|
33
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
34
|
//#endregion
|
|
8
35
|
export { smugmugGetUserFeaturedAlbums };
|
|
9
36
|
//# sourceMappingURL=get-user-featured-albums.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-featured-albums.d.cts","names":[],"sources":["../../src/actions/get-user-featured-albums.ts"],"mappings":";;;cAIa,iCAAA,
|
|
1
|
+
{"version":3,"file":"get-user-featured-albums.d.cts","names":[],"sources":["../../src/actions/get-user-featured-albums.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAwBjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAMlC,4BAAA,gCAA4B,wBAAA"}
|
|
@@ -1,9 +1,36 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-user-featured-albums.d.ts
|
|
4
|
-
declare const SmugmugGetUserFeaturedAlbumsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SmugmugGetUserFeaturedAlbumsInput: z.ZodObject<{
|
|
5
|
+
nickname: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const SmugmugGetUserFeaturedAlbumsOutput: z.ZodObject<{
|
|
8
|
+
Code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
9
|
+
Message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
Response: z.ZodNullable<z.ZodObject<{
|
|
11
|
+
Uri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
Album: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
13
|
+
Uri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
Name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
Title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
NodeID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
WebUri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
UrlPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
AlbumKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
ImageCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
|
+
Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
LastUpdated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
ImagesLastUpdated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
}, z.core.$loose>>>>;
|
|
25
|
+
Locator: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
LocatorType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
EndpointType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
UriDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
}, z.core.$loose>>;
|
|
30
|
+
}, z.core.$loose>;
|
|
31
|
+
declare const smugmugGetUserFeaturedAlbums: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
32
|
+
nickname: string;
|
|
33
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
34
|
//#endregion
|
|
8
35
|
export { smugmugGetUserFeaturedAlbums };
|
|
9
36
|
//# sourceMappingURL=get-user-featured-albums.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-featured-albums.d.mts","names":[],"sources":["../../src/actions/get-user-featured-albums.ts"],"mappings":";;;cAIa,iCAAA,
|
|
1
|
+
{"version":3,"file":"get-user-featured-albums.d.mts","names":[],"sources":["../../src/actions/get-user-featured-albums.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAwBjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAMlC,4BAAA,gCAA4B,wBAAA"}
|
|
@@ -14,7 +14,7 @@ const SmugmugGetUserFeaturedAlbums_FeaturedAlbumSchema = z.object({
|
|
|
14
14
|
Description: z.string().describe("The description of the album.").nullable().optional(),
|
|
15
15
|
LastUpdated: z.string().describe("ISO 8601 timestamp when the album was last updated.").nullable().optional(),
|
|
16
16
|
ImagesLastUpdated: z.string().describe("ISO 8601 timestamp when images in the album were last updated.").nullable().optional()
|
|
17
|
-
}).describe("Represents a featured album for a SmugMug user.");
|
|
17
|
+
}).passthrough().describe("Represents a featured album for a SmugMug user.");
|
|
18
18
|
const SmugmugGetUserFeaturedAlbums_FeaturedAlbumsResponseSchema = z.object({
|
|
19
19
|
Uri: z.string().describe("The API URI for this resource.").nullable().optional(),
|
|
20
20
|
Album: z.array(SmugmugGetUserFeaturedAlbums_FeaturedAlbumSchema).describe("List of featured albums for the user.").nullable().optional(),
|
|
@@ -22,7 +22,7 @@ const SmugmugGetUserFeaturedAlbums_FeaturedAlbumsResponseSchema = z.object({
|
|
|
22
22
|
LocatorType: z.string().describe("Whether this returns an Object or Objects.").nullable().optional(),
|
|
23
23
|
EndpointType: z.string().describe("The endpoint type name.").nullable().optional(),
|
|
24
24
|
UriDescription: z.string().describe("Description of the API URI endpoint.").nullable().optional()
|
|
25
|
-
}).describe("Response containing the list of featured albums.");
|
|
25
|
+
}).passthrough().describe("Response containing the list of featured albums.");
|
|
26
26
|
const smugmugGetUserFeaturedAlbums = action("SMUGMUG_GET_USER_FEATURED_ALBUMS", {
|
|
27
27
|
slug: "smugmug-get-user-featured-albums",
|
|
28
28
|
name: "Get User Featured Albums",
|
|
@@ -32,7 +32,7 @@ const smugmugGetUserFeaturedAlbums = action("SMUGMUG_GET_USER_FEATURED_ALBUMS",
|
|
|
32
32
|
Code: z.number().int().describe("HTTP status code from the API.").nullable().optional(),
|
|
33
33
|
Message: z.string().describe("Response message from the API.").nullable().optional(),
|
|
34
34
|
Response: SmugmugGetUserFeaturedAlbums_FeaturedAlbumsResponseSchema.nullable()
|
|
35
|
-
})
|
|
35
|
+
}).passthrough()
|
|
36
36
|
});
|
|
37
37
|
//#endregion
|
|
38
38
|
export { smugmugGetUserFeaturedAlbums };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-featured-albums.mjs","names":[],"sources":["../../src/actions/get-user-featured-albums.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmugmugGetUserFeaturedAlbumsInput
|
|
1
|
+
{"version":3,"file":"get-user-featured-albums.mjs","names":[],"sources":["../../src/actions/get-user-featured-albums.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmugmugGetUserFeaturedAlbumsInput = z.object({\n nickname: z.string().describe(\"The nickname of the SmugMug user whose featured albums you want to retrieve. This is the user's unique identifier on SmugMug.\"),\n});\nconst SmugmugGetUserFeaturedAlbums_FeaturedAlbumSchema = z.object({\n Uri: z.string().describe(\"The API URI for this album resource.\").nullable().optional(),\n Name: z.string().describe(\"The name of the album.\").nullable().optional(),\n Title: z.string().describe(\"The title of the album.\").nullable().optional(),\n NodeID: z.string().describe(\"The unique node identifier for this album.\").nullable().optional(),\n WebUri: z.string().describe(\"The public URL to view the album on SmugMug.\").nullable().optional(),\n UrlPath: z.string().describe(\"The URL path segment for this album.\").nullable().optional(),\n AlbumKey: z.string().describe(\"The unique key identifier for the album.\").nullable().optional(),\n ImageCount: z.number().int().describe(\"The number of images in the album.\").nullable().optional(),\n Description: z.string().describe(\"The description of the album.\").nullable().optional(),\n LastUpdated: z.string().describe(\"ISO 8601 timestamp when the album was last updated.\").nullable().optional(),\n ImagesLastUpdated: z.string().describe(\"ISO 8601 timestamp when images in the album were last updated.\").nullable().optional(),\n}).passthrough().describe(\"Represents a featured album for a SmugMug user.\");\nconst SmugmugGetUserFeaturedAlbums_FeaturedAlbumsResponseSchema = z.object({\n Uri: z.string().describe(\"The API URI for this resource.\").nullable().optional(),\n Album: z.array(SmugmugGetUserFeaturedAlbums_FeaturedAlbumSchema).describe(\"List of featured albums for the user.\").nullable().optional(),\n Locator: z.string().describe(\"The locator type name (e.g., 'Album').\").nullable().optional(),\n LocatorType: z.string().describe(\"Whether this returns an Object or Objects.\").nullable().optional(),\n EndpointType: z.string().describe(\"The endpoint type name.\").nullable().optional(),\n UriDescription: z.string().describe(\"Description of the API URI endpoint.\").nullable().optional(),\n}).passthrough().describe(\"Response containing the list of featured albums.\");\nexport const SmugmugGetUserFeaturedAlbumsOutput = z.object({\n Code: z.number().int().describe(\"HTTP status code from the API.\").nullable().optional(),\n Message: z.string().describe(\"Response message from the API.\").nullable().optional(),\n Response: SmugmugGetUserFeaturedAlbums_FeaturedAlbumsResponseSchema.nullable(),\n}).passthrough();\n\nexport const smugmugGetUserFeaturedAlbums = action(\"SMUGMUG_GET_USER_FEATURED_ALBUMS\", {\n slug: \"smugmug-get-user-featured-albums\",\n name: \"Get User Featured Albums\",\n description: \"Retrieves the featured albums for a SmugMug user by their nickname. Use this when you need to see which albums a user has highlighted as featured content on their profile.\",\n input: SmugmugGetUserFeaturedAlbumsInput,\n output: SmugmugGetUserFeaturedAlbumsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoC,EAAE,OAAO,EACxD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,EAC/J,CAAC;AACD,MAAM,mDAAmD,EAAE,OAAO;CAChE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAs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M;CACN,aAAa;CACb,OAAO;CACP,QAXgD,EAAE,OAAO;EACzD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,UAAU,0DAA0D,SAAS;CAC/E,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -4,11 +4,11 @@ let zod = require("zod");
|
|
|
4
4
|
const SmugmugGetUserFeaturesInput = zod.z.object({ nickname: zod.z.string().describe("The user's nickname (username) on SmugMug. This is the unique identifier used to retrieve the user's available features.") });
|
|
5
5
|
const SmugmugGetUserFeatures_FeaturesResponseSchema = zod.z.object({
|
|
6
6
|
Uri: zod.z.string().describe("The API URI for this features resource.").nullable().optional(),
|
|
7
|
-
Features: zod.z.
|
|
7
|
+
Features: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Dictionary of features available to the user. Keys are feature names (e.g., 'Albums', 'Video', 'Watermarks') and values are typically booleans indicating whether the feature is enabled, or strings like URIs.").nullable().optional(),
|
|
8
8
|
ResponseLevel: zod.z.string().describe("The response level indicating access permissions (e.g., 'Public', 'Full').").nullable().optional(),
|
|
9
9
|
UriDescription: zod.z.string().describe("Description of the API URI endpoint.").nullable().optional()
|
|
10
|
-
}).describe("Features available to a SmugMug user based on their subscription plan.");
|
|
11
|
-
const SmugmugGetUserFeaturesOutput = zod.z.object({ Response: SmugmugGetUserFeatures_FeaturesResponseSchema.nullable() });
|
|
10
|
+
}).passthrough().describe("Features available to a SmugMug user based on their subscription plan.");
|
|
11
|
+
const SmugmugGetUserFeaturesOutput = zod.z.object({ Response: SmugmugGetUserFeatures_FeaturesResponseSchema.nullable() }).passthrough();
|
|
12
12
|
const smugmugGetUserFeatures = require_action.action("SMUGMUG_GET_USER_FEATURES", {
|
|
13
13
|
slug: "smugmug-get-user-features",
|
|
14
14
|
name: "Get User Features",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-features.cjs","names":["z","action"],"sources":["../../src/actions/get-user-features.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmugmugGetUserFeaturesInput
|
|
1
|
+
{"version":3,"file":"get-user-features.cjs","names":["z","action"],"sources":["../../src/actions/get-user-features.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmugmugGetUserFeaturesInput = z.object({\n nickname: z.string().describe(\"The user's nickname (username) on SmugMug. This is the unique identifier used to retrieve the user's available features.\"),\n});\nconst SmugmugGetUserFeatures_FeaturesResponseSchema = z.object({\n Uri: z.string().describe(\"The API URI for this features resource.\").nullable().optional(),\n Features: z.record(z.string(), z.unknown()).describe(\"Dictionary of features available to the user. Keys are feature names (e.g., 'Albums', 'Video', 'Watermarks') and values are typically booleans indicating whether the feature is enabled, or strings like URIs.\").nullable().optional(),\n ResponseLevel: z.string().describe(\"The response level indicating access permissions (e.g., 'Public', 'Full').\").nullable().optional(),\n UriDescription: z.string().describe(\"Description of the API URI endpoint.\").nullable().optional(),\n}).passthrough().describe(\"Features available to a SmugMug user based on their subscription plan.\");\nexport const SmugmugGetUserFeaturesOutput = z.object({\n Response: SmugmugGetUserFeatures_FeaturesResponseSchema.nullable(),\n}).passthrough();\n\nexport const smugmugGetUserFeatures = action(\"SMUGMUG_GET_USER_FEATURES\", {\n slug: \"smugmug-get-user-features\",\n name: \"Get User Features\",\n description: \"Tool to retrieve a list of features available to a SmugMug user based on their subscription plan. Use when you need to check what capabilities or features a specific user has access to on SmugMug.\",\n input: SmugmugGetUserFeaturesInput,\n output: SmugmugGetUserFeaturesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,EAC1J,CAAC;AACD,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iNAAiN,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5R,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wEAAwE;AAClG,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,UAAU,8CAA8C,SAAS,EACnE,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,20 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-user-features.d.ts
|
|
4
|
-
declare const SmugmugGetUserFeaturesInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SmugmugGetUserFeaturesInput: z.ZodObject<{
|
|
5
|
+
nickname: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const SmugmugGetUserFeaturesOutput: z.ZodObject<{
|
|
8
|
+
Response: z.ZodNullable<z.ZodObject<{
|
|
9
|
+
Uri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
Features: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
11
|
+
ResponseLevel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
UriDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
}, z.core.$loose>>;
|
|
14
|
+
}, z.core.$loose>;
|
|
15
|
+
declare const smugmugGetUserFeatures: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
|
+
nickname: string;
|
|
17
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
18
|
//#endregion
|
|
8
19
|
export { smugmugGetUserFeatures };
|
|
9
20
|
//# sourceMappingURL=get-user-features.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-features.d.cts","names":[],"sources":["../../src/actions/get-user-features.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"get-user-features.d.cts","names":[],"sources":["../../src/actions/get-user-features.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAS3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;cAI5B,sBAAA,gCAAsB,wBAAA"}
|
|
@@ -1,9 +1,20 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-user-features.d.ts
|
|
4
|
-
declare const SmugmugGetUserFeaturesInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SmugmugGetUserFeaturesInput: z.ZodObject<{
|
|
5
|
+
nickname: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const SmugmugGetUserFeaturesOutput: z.ZodObject<{
|
|
8
|
+
Response: z.ZodNullable<z.ZodObject<{
|
|
9
|
+
Uri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
Features: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
11
|
+
ResponseLevel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
UriDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
}, z.core.$loose>>;
|
|
14
|
+
}, z.core.$loose>;
|
|
15
|
+
declare const smugmugGetUserFeatures: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
|
+
nickname: string;
|
|
17
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
18
|
//#endregion
|
|
8
19
|
export { smugmugGetUserFeatures };
|
|
9
20
|
//# sourceMappingURL=get-user-features.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-features.d.mts","names":[],"sources":["../../src/actions/get-user-features.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"get-user-features.d.mts","names":[],"sources":["../../src/actions/get-user-features.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAS3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;cAI5B,sBAAA,gCAAsB,wBAAA"}
|
|
@@ -4,16 +4,16 @@ import { z } from "zod";
|
|
|
4
4
|
const SmugmugGetUserFeaturesInput = z.object({ nickname: z.string().describe("The user's nickname (username) on SmugMug. This is the unique identifier used to retrieve the user's available features.") });
|
|
5
5
|
const SmugmugGetUserFeatures_FeaturesResponseSchema = z.object({
|
|
6
6
|
Uri: z.string().describe("The API URI for this features resource.").nullable().optional(),
|
|
7
|
-
Features: z.
|
|
7
|
+
Features: z.record(z.string(), z.unknown()).describe("Dictionary of features available to the user. Keys are feature names (e.g., 'Albums', 'Video', 'Watermarks') and values are typically booleans indicating whether the feature is enabled, or strings like URIs.").nullable().optional(),
|
|
8
8
|
ResponseLevel: z.string().describe("The response level indicating access permissions (e.g., 'Public', 'Full').").nullable().optional(),
|
|
9
9
|
UriDescription: z.string().describe("Description of the API URI endpoint.").nullable().optional()
|
|
10
|
-
}).describe("Features available to a SmugMug user based on their subscription plan.");
|
|
10
|
+
}).passthrough().describe("Features available to a SmugMug user based on their subscription plan.");
|
|
11
11
|
const smugmugGetUserFeatures = action("SMUGMUG_GET_USER_FEATURES", {
|
|
12
12
|
slug: "smugmug-get-user-features",
|
|
13
13
|
name: "Get User Features",
|
|
14
14
|
description: "Tool to retrieve a list of features available to a SmugMug user based on their subscription plan. Use when you need to check what capabilities or features a specific user has access to on SmugMug.",
|
|
15
15
|
input: SmugmugGetUserFeaturesInput,
|
|
16
|
-
output: z.object({ Response: SmugmugGetUserFeatures_FeaturesResponseSchema.nullable() })
|
|
16
|
+
output: z.object({ Response: SmugmugGetUserFeatures_FeaturesResponseSchema.nullable() }).passthrough()
|
|
17
17
|
});
|
|
18
18
|
//#endregion
|
|
19
19
|
export { smugmugGetUserFeatures };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-features.mjs","names":[],"sources":["../../src/actions/get-user-features.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmugmugGetUserFeaturesInput
|
|
1
|
+
{"version":3,"file":"get-user-features.mjs","names":[],"sources":["../../src/actions/get-user-features.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmugmugGetUserFeaturesInput = z.object({\n nickname: z.string().describe(\"The user's nickname (username) on SmugMug. This is the unique identifier used to retrieve the user's available features.\"),\n});\nconst SmugmugGetUserFeatures_FeaturesResponseSchema = z.object({\n Uri: z.string().describe(\"The API URI for this features resource.\").nullable().optional(),\n Features: z.record(z.string(), z.unknown()).describe(\"Dictionary of features available to the user. Keys are feature names (e.g., 'Albums', 'Video', 'Watermarks') and values are typically booleans indicating whether the feature is enabled, or strings like URIs.\").nullable().optional(),\n ResponseLevel: z.string().describe(\"The response level indicating access permissions (e.g., 'Public', 'Full').\").nullable().optional(),\n UriDescription: z.string().describe(\"Description of the API URI endpoint.\").nullable().optional(),\n}).passthrough().describe(\"Features available to a SmugMug user based on their subscription plan.\");\nexport const SmugmugGetUserFeaturesOutput = z.object({\n Response: SmugmugGetUserFeatures_FeaturesResponseSchema.nullable(),\n}).passthrough();\n\nexport const smugmugGetUserFeatures = action(\"SMUGMUG_GET_USER_FEATURES\", {\n slug: \"smugmug-get-user-features\",\n name: \"Get User Features\",\n description: \"Tool to retrieve a list of features available to a SmugMug user based on their subscription plan. Use when you need to check what capabilities or features a specific user has access to on SmugMug.\",\n input: SmugmugGetUserFeaturesInput,\n output: SmugmugGetUserFeaturesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO,EAClD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,EAC1J,CAAC;AACD,MAAM,gDAAgD,EAAE,OAAO;CAC7D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iNAAiN,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5R,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wEAAwE;AAKlG,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT0C,EAAE,OAAO,EACnD,UAAU,8CAA8C,SAAS,EACnE,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -4,7 +4,7 @@ let zod = require("zod");
|
|
|
4
4
|
const SmugmugGetUserProfileInput = zod.z.object({ nick_name: zod.z.string().describe("The NickName (username) of the SmugMug user to retrieve the profile for. This is the user's unique identifier on SmugMug.") });
|
|
5
5
|
const SmugmugGetUserProfile_UserProfileResponseSchema = zod.z.object({
|
|
6
6
|
Uri: zod.z.string().describe("The API URI for this profile resource.").nullable().optional(),
|
|
7
|
-
Uris: zod.z.
|
|
7
|
+
Uris: zod.z.record(zod.z.string(), zod.z.unknown()).describe("URIs to related resources (BioImage, CoverImage, User).").nullable().optional(),
|
|
8
8
|
Vimeo: zod.z.string().describe("The user's Vimeo profile URL.").nullable().optional(),
|
|
9
9
|
Custom: zod.z.string().describe("A custom URL specified by the user.").nullable().optional(),
|
|
10
10
|
Flickr: zod.z.string().describe("The user's Flickr profile URL.").nullable().optional(),
|
|
@@ -26,8 +26,8 @@ const SmugmugGetUserProfile_UserProfileResponseSchema = zod.z.object({
|
|
|
26
26
|
ContactEmail: zod.z.string().describe("The user's contact email address.").nullable().optional(),
|
|
27
27
|
FiveHundredPX: zod.z.string().describe("The user's 500px profile URL.").nullable().optional(),
|
|
28
28
|
ResponseLevel: zod.z.string().describe("The level of detail in the response (e.g., 'Public').").nullable().optional()
|
|
29
|
-
}).describe("User profile information from SmugMug API.");
|
|
30
|
-
const SmugmugGetUserProfileOutput = zod.z.object({ response: SmugmugGetUserProfile_UserProfileResponseSchema.nullable() });
|
|
29
|
+
}).passthrough().describe("User profile information from SmugMug API.");
|
|
30
|
+
const SmugmugGetUserProfileOutput = zod.z.object({ response: SmugmugGetUserProfile_UserProfileResponseSchema.nullable() }).passthrough();
|
|
31
31
|
const smugmugGetUserProfile = require_action.action("SMUGMUG_GET_USER_PROFILE", {
|
|
32
32
|
slug: "smugmug-get-user-profile",
|
|
33
33
|
name: "Get User Profile",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-profile.cjs","names":["z","action"],"sources":["../../src/actions/get-user-profile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmugmugGetUserProfileInput
|
|
1
|
+
{"version":3,"file":"get-user-profile.cjs","names":["z","action"],"sources":["../../src/actions/get-user-profile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmugmugGetUserProfileInput = z.object({\n nick_name: z.string().describe(\"The NickName (username) of the SmugMug user to retrieve the profile for. This is the user's unique identifier on SmugMug.\"),\n});\nconst SmugmugGetUserProfile_UserProfileResponseSchema = z.object({\n Uri: z.string().describe(\"The API URI for this profile resource.\").nullable().optional(),\n Uris: z.record(z.string(), z.unknown()).describe(\"URIs to related resources (BioImage, CoverImage, User).\").nullable().optional(),\n Vimeo: z.string().describe(\"The user's Vimeo profile URL.\").nullable().optional(),\n Custom: z.string().describe(\"A custom URL specified by the user.\").nullable().optional(),\n Flickr: z.string().describe(\"The user's Flickr profile URL.\").nullable().optional(),\n Tumblr: z.string().describe(\"The user's Tumblr blog URL.\").nullable().optional(),\n BioText: z.string().describe(\"The user's biography/about text.\").nullable().optional(),\n Blogger: z.string().describe(\"The user's Blogger URL.\").nullable().optional(),\n Twitter: z.string().describe(\"The user's Twitter/X profile URL.\").nullable().optional(),\n YouTube: z.string().describe(\"The user's YouTube channel URL.\").nullable().optional(),\n Facebook: z.string().describe(\"The user's Facebook profile URL.\").nullable().optional(),\n LastName: z.string().describe(\"The user's last name.\").nullable().optional(),\n LinkedIn: z.string().describe(\"The user's LinkedIn profile URL.\").nullable().optional(),\n FirstName: z.string().describe(\"The user's first name.\").nullable().optional(),\n Instagram: z.string().describe(\"The user's Instagram profile URL.\").nullable().optional(),\n Pinterest: z.string().describe(\"The user's Pinterest profile URL.\").nullable().optional(),\n Wordpress: z.string().describe(\"The user's WordPress site URL.\").nullable().optional(),\n GooglePlus: z.string().describe(\"The user's Google+ profile URL (deprecated service).\").nullable().optional(),\n ValidEmail: z.boolean().describe(\"Whether the contact email is validated.\").nullable().optional(),\n DisplayName: z.string().describe(\"The user's public display name.\").nullable().optional(),\n ContactEmail: z.string().describe(\"The user's contact email address.\").nullable().optional(),\n FiveHundredPX: z.string().describe(\"The user's 500px profile URL.\").nullable().optional(),\n ResponseLevel: z.string().describe(\"The level of detail in the response (e.g., 'Public').\").nullable().optional(),\n}).passthrough().describe(\"User profile information from SmugMug API.\");\nexport const SmugmugGetUserProfileOutput = z.object({\n response: SmugmugGetUserProfile_UserProfileResponseSchema.nullable(),\n}).passthrough();\n\nexport const smugmugGetUserProfile = action(\"SMUGMUG_GET_USER_PROFILE\", {\n slug: \"smugmug-get-user-profile\",\n name: \"Get User Profile\",\n description: \"Retrieves the public profile information for a SmugMug user by their nickname (username). Returns profile details including name, bio, contact email, and social media links. Use this to get information about a SmugMug photographer or user.\",\n input: SmugmugGetUserProfileInput,\n output: SmugmugGetUserProfileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H,EAC5J,CAAC;AACD,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,C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AAS,CAAC,CAAC,SAAS;CAChG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,UAAU,gDAAgD,SAAS,EACrE,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,39 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-user-profile.d.ts
|
|
4
|
-
declare const SmugmugGetUserProfileInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SmugmugGetUserProfileInput: z.ZodObject<{
|
|
5
|
+
nick_name: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const SmugmugGetUserProfileOutput: z.ZodObject<{
|
|
8
|
+
response: z.ZodNullable<z.ZodObject<{
|
|
9
|
+
Uri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
Uris: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
11
|
+
Vimeo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
Custom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
Flickr: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
Tumblr: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
BioText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
Blogger: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
Twitter: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
YouTube: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
Facebook: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
LastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
LinkedIn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
FirstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
Instagram: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
Pinterest: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
Wordpress: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
GooglePlus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
ValidEmail: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
28
|
+
DisplayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
ContactEmail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
FiveHundredPX: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
ResponseLevel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
+
}, z.core.$loose>>;
|
|
33
|
+
}, z.core.$loose>;
|
|
34
|
+
declare const smugmugGetUserProfile: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
35
|
+
nick_name: string;
|
|
36
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
37
|
//#endregion
|
|
8
38
|
export { smugmugGetUserProfile };
|
|
9
39
|
//# sourceMappingURL=get-user-profile.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-profile.d.cts","names":[],"sources":["../../src/actions/get-user-profile.ts"],"mappings":";;;cAIa,0BAAA,
|
|
1
|
+
{"version":3,"file":"get-user-profile.d.cts","names":[],"sources":["../../src/actions/get-user-profile.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cA4B1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA"}
|
|
@@ -1,9 +1,39 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-user-profile.d.ts
|
|
4
|
-
declare const SmugmugGetUserProfileInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SmugmugGetUserProfileInput: z.ZodObject<{
|
|
5
|
+
nick_name: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const SmugmugGetUserProfileOutput: z.ZodObject<{
|
|
8
|
+
response: z.ZodNullable<z.ZodObject<{
|
|
9
|
+
Uri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
Uris: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
11
|
+
Vimeo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
Custom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
Flickr: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
Tumblr: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
BioText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
Blogger: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
Twitter: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
YouTube: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
Facebook: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
LastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
LinkedIn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
FirstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
Instagram: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
Pinterest: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
Wordpress: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
GooglePlus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
ValidEmail: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
28
|
+
DisplayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
ContactEmail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
FiveHundredPX: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
ResponseLevel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
+
}, z.core.$loose>>;
|
|
33
|
+
}, z.core.$loose>;
|
|
34
|
+
declare const smugmugGetUserProfile: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
35
|
+
nick_name: string;
|
|
36
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
37
|
//#endregion
|
|
8
38
|
export { smugmugGetUserProfile };
|
|
9
39
|
//# sourceMappingURL=get-user-profile.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-profile.d.mts","names":[],"sources":["../../src/actions/get-user-profile.ts"],"mappings":";;;cAIa,0BAAA,
|
|
1
|
+
{"version":3,"file":"get-user-profile.d.mts","names":[],"sources":["../../src/actions/get-user-profile.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cA4B1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA"}
|
|
@@ -4,7 +4,7 @@ import { z } from "zod";
|
|
|
4
4
|
const SmugmugGetUserProfileInput = z.object({ nick_name: z.string().describe("The NickName (username) of the SmugMug user to retrieve the profile for. This is the user's unique identifier on SmugMug.") });
|
|
5
5
|
const SmugmugGetUserProfile_UserProfileResponseSchema = z.object({
|
|
6
6
|
Uri: z.string().describe("The API URI for this profile resource.").nullable().optional(),
|
|
7
|
-
Uris: z.
|
|
7
|
+
Uris: z.record(z.string(), z.unknown()).describe("URIs to related resources (BioImage, CoverImage, User).").nullable().optional(),
|
|
8
8
|
Vimeo: z.string().describe("The user's Vimeo profile URL.").nullable().optional(),
|
|
9
9
|
Custom: z.string().describe("A custom URL specified by the user.").nullable().optional(),
|
|
10
10
|
Flickr: z.string().describe("The user's Flickr profile URL.").nullable().optional(),
|
|
@@ -26,13 +26,13 @@ const SmugmugGetUserProfile_UserProfileResponseSchema = z.object({
|
|
|
26
26
|
ContactEmail: z.string().describe("The user's contact email address.").nullable().optional(),
|
|
27
27
|
FiveHundredPX: z.string().describe("The user's 500px profile URL.").nullable().optional(),
|
|
28
28
|
ResponseLevel: z.string().describe("The level of detail in the response (e.g., 'Public').").nullable().optional()
|
|
29
|
-
}).describe("User profile information from SmugMug API.");
|
|
29
|
+
}).passthrough().describe("User profile information from SmugMug API.");
|
|
30
30
|
const smugmugGetUserProfile = action("SMUGMUG_GET_USER_PROFILE", {
|
|
31
31
|
slug: "smugmug-get-user-profile",
|
|
32
32
|
name: "Get User Profile",
|
|
33
33
|
description: "Retrieves the public profile information for a SmugMug user by their nickname (username). Returns profile details including name, bio, contact email, and social media links. Use this to get information about a SmugMug photographer or user.",
|
|
34
34
|
input: SmugmugGetUserProfileInput,
|
|
35
|
-
output: z.object({ response: SmugmugGetUserProfile_UserProfileResponseSchema.nullable() })
|
|
35
|
+
output: z.object({ response: SmugmugGetUserProfile_UserProfileResponseSchema.nullable() }).passthrough()
|
|
36
36
|
});
|
|
37
37
|
//#endregion
|
|
38
38
|
export { smugmugGetUserProfile };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-profile.mjs","names":[],"sources":["../../src/actions/get-user-profile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmugmugGetUserProfileInput
|
|
1
|
+
{"version":3,"file":"get-user-profile.mjs","names":[],"sources":["../../src/actions/get-user-profile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmugmugGetUserProfileInput = z.object({\n nick_name: z.string().describe(\"The NickName (username) of the SmugMug user to retrieve the profile for. This is the user's unique identifier on SmugMug.\"),\n});\nconst SmugmugGetUserProfile_UserProfileResponseSchema = z.object({\n Uri: z.string().describe(\"The API URI for this profile resource.\").nullable().optional(),\n Uris: z.record(z.string(), z.unknown()).describe(\"URIs to related resources (BioImage, CoverImage, User).\").nullable().optional(),\n Vimeo: z.string().describe(\"The user's Vimeo profile URL.\").nullable().optional(),\n Custom: z.string().describe(\"A custom URL specified by the user.\").nullable().optional(),\n Flickr: z.string().describe(\"The user's Flickr profile URL.\").nullable().optional(),\n Tumblr: z.string().describe(\"The user's Tumblr blog URL.\").nullable().optional(),\n BioText: z.string().describe(\"The user's biography/about text.\").nullable().optional(),\n Blogger: z.string().describe(\"The user's Blogger URL.\").nullable().optional(),\n Twitter: z.string().describe(\"The user's Twitter/X profile URL.\").nullable().optional(),\n YouTube: z.string().describe(\"The user's YouTube channel URL.\").nullable().optional(),\n Facebook: z.string().describe(\"The user's Facebook profile URL.\").nullable().optional(),\n LastName: z.string().describe(\"The user's last name.\").nullable().optional(),\n LinkedIn: z.string().describe(\"The user's LinkedIn profile URL.\").nullable().optional(),\n FirstName: z.string().describe(\"The user's first name.\").nullable().optional(),\n Instagram: z.string().describe(\"The user's Instagram profile URL.\").nullable().optional(),\n Pinterest: z.string().describe(\"The user's Pinterest profile URL.\").nullable().optional(),\n Wordpress: z.string().describe(\"The user's WordPress site URL.\").nullable().optional(),\n GooglePlus: z.string().describe(\"The user's Google+ profile URL (deprecated service).\").nullable().optional(),\n ValidEmail: z.boolean().describe(\"Whether the contact email is validated.\").nullable().optional(),\n DisplayName: z.string().describe(\"The user's public display name.\").nullable().optional(),\n ContactEmail: z.string().describe(\"The user's contact email address.\").nullable().optional(),\n FiveHundredPX: z.string().describe(\"The user's 500px profile URL.\").nullable().optional(),\n ResponseLevel: z.string().describe(\"The level of detail in the response (e.g., 'Public').\").nullable().optional(),\n}).passthrough().describe(\"User profile information from SmugMug API.\");\nexport const SmugmugGetUserProfileOutput = z.object({\n response: SmugmugGetUserProfile_UserProfileResponseSchema.nullable(),\n}).passthrough();\n\nexport const smugmugGetUserProfile = action(\"SMUGMUG_GET_USER_PROFILE\", {\n slug: \"smugmug-get-user-profile\",\n name: \"Get User Profile\",\n description: \"Retrieves the public profile information for a SmugMug user by their nickname (username). Returns profile details including name, bio, contact email, and social media links. Use this to get information about a SmugMug photographer or user.\",\n input: SmugmugGetUserProfileInput,\n output: SmugmugGetUserProfileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO,EACjD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H,EAC5J,CAAC;AACD,MAAM,kDAAkD,EAAE,OAAO;CAC/D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,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;CACxF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAKtE,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATyC,EAAE,OAAO,EAClD,UAAU,gDAAgD,SAAS,EACrE,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -3,12 +3,12 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/get-user-root-node.ts
|
|
4
4
|
const SmugmugGetUserRootNodeInput = zod.z.object({ nickname: zod.z.string().describe("The SmugMug user's nickname/username. This is the unique identifier for the user whose root folder node you want to retrieve.") });
|
|
5
5
|
const SmugmugGetUserRootNode_UriInfoSchema = zod.z.object({
|
|
6
|
-
Uri: zod.z.string().describe("The API URI path."),
|
|
6
|
+
Uri: zod.z.string().describe("The API URI path.").nullable(),
|
|
7
7
|
Locator: zod.z.string().describe("The locator type name.").nullable().optional(),
|
|
8
8
|
LocatorType: zod.z.string().describe("Whether this returns an Object or Objects.").nullable().optional(),
|
|
9
9
|
EndpointType: zod.z.string().describe("The endpoint type name.").nullable().optional(),
|
|
10
10
|
UriDescription: zod.z.string().describe("Description of what this URI returns.").nullable().optional()
|
|
11
|
-
}).describe("Information about a related API URI.");
|
|
11
|
+
}).passthrough().describe("Information about a related API URI.");
|
|
12
12
|
const SmugmugGetUserRootNode_NodeUrisSchema = zod.z.object({
|
|
13
13
|
User: SmugmugGetUserRootNode_UriInfoSchema.nullable().optional(),
|
|
14
14
|
Album: SmugmugGetUserRootNode_UriInfoSchema.nullable().optional(),
|
|
@@ -20,7 +20,7 @@ const SmugmugGetUserRootNode_NodeUrisSchema = zod.z.object({
|
|
|
20
20
|
NodeComments: SmugmugGetUserRootNode_UriInfoSchema.nullable().optional(),
|
|
21
21
|
HighlightImage: SmugmugGetUserRootNode_UriInfoSchema.nullable().optional(),
|
|
22
22
|
NodeCoverImage: SmugmugGetUserRootNode_UriInfoSchema.nullable().optional()
|
|
23
|
-
}).describe("Related URIs for navigating to associated resources from this node.");
|
|
23
|
+
}).passthrough().describe("Related URIs for navigating to associated resources from this node.");
|
|
24
24
|
const SmugmugGetUserRootNode_RootNodeDataSchema = zod.z.object({
|
|
25
25
|
Uri: zod.z.string().describe("The API URI for this node.").nullable().optional(),
|
|
26
26
|
Name: zod.z.string().describe("The name of the root node (typically the user's name).").nullable().optional(),
|
|
@@ -40,8 +40,8 @@ const SmugmugGetUserRootNode_RootNodeDataSchema = zod.z.object({
|
|
|
40
40
|
SecurityType: zod.z.string().describe("Security type of the node (e.g., None, Password).").nullable().optional(),
|
|
41
41
|
ResponseLevel: zod.z.string().describe("The response level indicating access permissions.").nullable().optional(),
|
|
42
42
|
SortDirection: zod.z.string().describe("Sort direction for child items (Ascending or Descending).").nullable().optional()
|
|
43
|
-
}).describe("Root node information for a user's folder tree.");
|
|
44
|
-
const SmugmugGetUserRootNodeOutput = zod.z.object({ node: SmugmugGetUserRootNode_RootNodeDataSchema.nullable() }).describe("Response containing the root node for a user's folder tree.");
|
|
43
|
+
}).passthrough().describe("Root node information for a user's folder tree.");
|
|
44
|
+
const SmugmugGetUserRootNodeOutput = zod.z.object({ node: SmugmugGetUserRootNode_RootNodeDataSchema.nullable() }).passthrough().describe("Response containing the root node for a user's folder tree.");
|
|
45
45
|
const smugmugGetUserRootNode = require_action.action("SMUGMUG_GET_USER_ROOT_NODE", {
|
|
46
46
|
slug: "smugmug-get-user-root-node",
|
|
47
47
|
name: "Get User Root Node",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-root-node.cjs","names":["z","action"],"sources":["../../src/actions/get-user-root-node.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmugmugGetUserRootNodeInput
|
|
1
|
+
{"version":3,"file":"get-user-root-node.cjs","names":["z","action"],"sources":["../../src/actions/get-user-root-node.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmugmugGetUserRootNodeInput = z.object({\n nickname: z.string().describe(\"The SmugMug user's nickname/username. This is the unique identifier for the user whose root folder node you want to retrieve.\"),\n});\nconst SmugmugGetUserRootNode_UriInfoSchema = z.object({\n Uri: z.string().describe(\"The API URI path.\").nullable(),\n Locator: z.string().describe(\"The locator type name.\").nullable().optional(),\n LocatorType: z.string().describe(\"Whether this returns an Object or Objects.\").nullable().optional(),\n EndpointType: z.string().describe(\"The endpoint type name.\").nullable().optional(),\n UriDescription: z.string().describe(\"Description of what this URI returns.\").nullable().optional(),\n}).passthrough().describe(\"Information about a related API URI.\");\nconst SmugmugGetUserRootNode_NodeUrisSchema = z.object({\n User: SmugmugGetUserRootNode_UriInfoSchema.nullable().optional(),\n Album: SmugmugGetUserRootNode_UriInfoSchema.nullable().optional(),\n ChildNodes: SmugmugGetUserRootNode_UriInfoSchema.nullable().optional(),\n FolderByID: SmugmugGetUserRootNode_UriInfoSchema.nullable().optional(),\n NodeImages: SmugmugGetUserRootNode_UriInfoSchema.nullable().optional(),\n ParentNode: SmugmugGetUserRootNode_UriInfoSchema.nullable().optional(),\n ParentNodes: SmugmugGetUserRootNode_UriInfoSchema.nullable().optional(),\n NodeComments: SmugmugGetUserRootNode_UriInfoSchema.nullable().optional(),\n HighlightImage: SmugmugGetUserRootNode_UriInfoSchema.nullable().optional(),\n NodeCoverImage: SmugmugGetUserRootNode_UriInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Related URIs for navigating to associated resources from this node.\");\nconst SmugmugGetUserRootNode_RootNodeDataSchema = z.object({\n Uri: z.string().describe(\"The API URI for this node.\").nullable().optional(),\n Name: z.string().describe(\"The name of the root node (typically the user's name).\").nullable().optional(),\n Type: z.string().describe(\"The type of the node (typically 'Folder' for root nodes).\").nullable().optional(),\n Uris: SmugmugGetUserRootNode_NodeUrisSchema.nullable().optional(),\n IsRoot: z.boolean().describe(\"True if this is the root node for the user's account.\").nullable().optional(),\n NodeID: z.string().describe(\"The unique identifier of the root node.\").nullable().optional(),\n WebUri: z.string().describe(\"The full URL to this node on the SmugMug website.\").nullable().optional(),\n Privacy: z.string().describe(\"Privacy setting of the node (Public, Unlisted, or Private).\").nullable().optional(),\n UrlName: z.string().describe(\"The user-configurable URL name for this node.\").nullable().optional(),\n UrlPath: z.string().describe(\"The URL path segment for this node on SmugMug.\").nullable().optional(),\n DateAdded: z.string().describe(\"ISO 8601 timestamp when this node was created.\").nullable().optional(),\n SortMethod: z.string().describe(\"Method used to sort child items.\").nullable().optional(),\n Description: z.string().describe(\"The description of the node.\").nullable().optional(),\n HasChildren: z.boolean().describe(\"True if this node contains child nodes.\").nullable().optional(),\n DateModified: z.string().describe(\"ISO 8601 timestamp when this node was last modified.\").nullable().optional(),\n SecurityType: z.string().describe(\"Security type of the node (e.g., None, Password).\").nullable().optional(),\n ResponseLevel: z.string().describe(\"The response level indicating access permissions.\").nullable().optional(),\n SortDirection: z.string().describe(\"Sort direction for child items (Ascending or Descending).\").nullable().optional(),\n}).passthrough().describe(\"Root node information for a user's folder tree.\");\nexport const SmugmugGetUserRootNodeOutput = z.object({\n node: SmugmugGetUserRootNode_RootNodeDataSchema.nullable(),\n}).passthrough().describe(\"Response containing the root node for a user's folder tree.\");\n\nexport const smugmugGetUserRootNode = action(\"SMUGMUG_GET_USER_ROOT_NODE\", {\n slug: \"smugmug-get-user-root-node\",\n name: \"Get User Root Node\",\n description: \"Tool to retrieve the root node of a user's folder tree on SmugMug. Use when you need to navigate a user's gallery structure or find the starting point of their folder hierarchy.\",\n input: SmugmugGetUserRootNodeInput,\n output: SmugmugGetUserRootNodeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,EAC/J,CAAC;AACD,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACvD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,MAAM,qCAAqC,SAAS,CAAC,CAAC,SAAS;CAC/D,OAAO,qCAAqC,SAAS,CAAC,CAAC,SAAS;CAChE,YAAY,qCAAqC,SAAS,CAAC,CAAC,SAAS;CACrE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