@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,29 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-folder-by-user-path.d.ts
|
|
4
|
-
declare const SmugmugGetFolderByUserPathInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SmugmugGetFolderByUserPathInput: z.ZodObject<{
|
|
5
|
+
nickname: z.ZodString;
|
|
6
|
+
folder_path: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const SmugmugGetFolderByUserPathOutput: z.ZodObject<{
|
|
9
|
+
Uri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
Name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
Uris: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
12
|
+
WebUri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
Privacy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
UrlName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
DateAdded: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
DateModified: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
PasswordHint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
ResponseLevel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
SmugSearchable: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
WorldSearchable: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
}, z.core.$loose>;
|
|
23
|
+
declare const smugmugGetFolderByUserPath: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
|
+
nickname: string;
|
|
25
|
+
folder_path: string;
|
|
26
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
27
|
//#endregion
|
|
8
28
|
export { smugmugGetFolderByUserPath };
|
|
9
29
|
//# sourceMappingURL=get-folder-by-user-path.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-folder-by-user-path.d.cts","names":[],"sources":["../../src/actions/get-folder-by-user-path.ts"],"mappings":";;;cAIa,+BAAA,
|
|
1
|
+
{"version":3,"file":"get-folder-by-user-path.d.cts","names":[],"sources":["../../src/actions/get-folder-by-user-path.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAI/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAgBhC,0BAAA,gCAA0B,wBAAA"}
|
|
@@ -1,9 +1,29 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-folder-by-user-path.d.ts
|
|
4
|
-
declare const SmugmugGetFolderByUserPathInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SmugmugGetFolderByUserPathInput: z.ZodObject<{
|
|
5
|
+
nickname: z.ZodString;
|
|
6
|
+
folder_path: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const SmugmugGetFolderByUserPathOutput: z.ZodObject<{
|
|
9
|
+
Uri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
Name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
Uris: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
12
|
+
WebUri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
Privacy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
UrlName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
DateAdded: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
DateModified: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
PasswordHint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
ResponseLevel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
SmugSearchable: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
WorldSearchable: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
}, z.core.$loose>;
|
|
23
|
+
declare const smugmugGetFolderByUserPath: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
|
+
nickname: string;
|
|
25
|
+
folder_path: string;
|
|
26
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
27
|
//#endregion
|
|
8
28
|
export { smugmugGetFolderByUserPath };
|
|
9
29
|
//# sourceMappingURL=get-folder-by-user-path.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-folder-by-user-path.d.mts","names":[],"sources":["../../src/actions/get-folder-by-user-path.ts"],"mappings":";;;cAIa,+BAAA,
|
|
1
|
+
{"version":3,"file":"get-folder-by-user-path.d.mts","names":[],"sources":["../../src/actions/get-folder-by-user-path.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAI/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAgBhC,0BAAA,gCAA0B,wBAAA"}
|
|
@@ -11,7 +11,7 @@ const smugmugGetFolderByUserPath = action("SMUGMUG_GET_FOLDER_BY_USER_PATH", {
|
|
|
11
11
|
output: z.object({
|
|
12
12
|
Uri: z.string().describe("The API URI for this folder resource.").nullable().optional(),
|
|
13
13
|
Name: z.string().describe("The human-readable title/name of the folder.").nullable().optional(),
|
|
14
|
-
Uris: z.
|
|
14
|
+
Uris: z.record(z.string(), z.unknown()).describe("Related URIs for navigating to associated resources (FolderAlbums, FolderByID, FolderPages, Folders, HighlightImage, ParentFolder, ParentFolders, UnlockFolder, User).").nullable().optional(),
|
|
15
15
|
WebUri: z.string().describe("The folder's public page URL on the SmugMug website.").nullable().optional(),
|
|
16
16
|
Privacy: z.string().describe("Privacy setting of the folder: 'Public', 'Unlisted', or 'Private'.").nullable().optional(),
|
|
17
17
|
UrlName: z.string().describe("The user-configurable part of the WebUri.").nullable().optional(),
|
|
@@ -22,7 +22,7 @@ const smugmugGetFolderByUserPath = action("SMUGMUG_GET_FOLDER_BY_USER_PATH", {
|
|
|
22
22
|
ResponseLevel: z.string().describe("The response level indicating access permissions (e.g., 'Public', 'Full').").nullable().optional(),
|
|
23
23
|
SmugSearchable: z.string().describe("Whether this folder appears in SmugMug internal search results. Can be 'Yes', 'No', 'Inherit', or other values at the root folder level.").nullable().optional(),
|
|
24
24
|
WorldSearchable: z.string().describe("Whether this folder appears in external search engine results. Can be 'Yes', 'No', 'Inherit', or other values at the root folder level.").nullable().optional()
|
|
25
|
-
}).describe("Folder details retrieved by user nickname and path.")
|
|
25
|
+
}).passthrough().describe("Folder details retrieved by user nickname and path.")
|
|
26
26
|
});
|
|
27
27
|
//#endregion
|
|
28
28
|
export { smugmugGetFolderByUserPath };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-folder-by-user-path.mjs","names":[],"sources":["../../src/actions/get-folder-by-user-path.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmugmugGetFolderByUserPathInput
|
|
1
|
+
{"version":3,"file":"get-folder-by-user-path.mjs","names":[],"sources":["../../src/actions/get-folder-by-user-path.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmugmugGetFolderByUserPathInput = z.object({\n nickname: z.string().describe(\"The user's SmugMug nickname (username). This identifies which user's folder structure to access.\"),\n folder_path: z.string().describe(\"The path to the folder within the user's account. Use forward slashes (/) to separate nested folders (e.g., 'SmugMug' or 'Travel/2024'). For the root folder, use an empty string.\"),\n});\nexport const SmugmugGetFolderByUserPathOutput = z.object({\n Uri: z.string().describe(\"The API URI for this folder resource.\").nullable().optional(),\n Name: z.string().describe(\"The human-readable title/name of the folder.\").nullable().optional(),\n Uris: z.record(z.string(), z.unknown()).describe(\"Related URIs for navigating to associated resources (FolderAlbums, FolderByID, FolderPages, Folders, HighlightImage, ParentFolder, ParentFolders, UnlockFolder, User).\").nullable().optional(),\n WebUri: z.string().describe(\"The folder's public page URL on the SmugMug website.\").nullable().optional(),\n Privacy: z.string().describe(\"Privacy setting of the folder: 'Public', 'Unlisted', or 'Private'.\").nullable().optional(),\n UrlName: z.string().describe(\"The user-configurable part of the WebUri.\").nullable().optional(),\n DateAdded: z.string().describe(\"ISO 8601 timestamp when this folder was created.\").nullable().optional(),\n Description: z.string().describe(\"The human-readable description of the folder.\").nullable().optional(),\n DateModified: z.string().describe(\"ISO 8601 timestamp of the latest LastUpdated from any album under this folder.\").nullable().optional(),\n PasswordHint: z.string().describe(\"The hint for the folder-viewing password, if password-protected.\").nullable().optional(),\n ResponseLevel: z.string().describe(\"The response level indicating access permissions (e.g., 'Public', 'Full').\").nullable().optional(),\n SmugSearchable: z.string().describe(\"Whether this folder appears in SmugMug internal search results. Can be 'Yes', 'No', 'Inherit', or other values at the root folder level.\").nullable().optional(),\n WorldSearchable: z.string().describe(\"Whether this folder appears in external search engine results. Can be 'Yes', 'No', 'Inherit', or other values at the root folder level.\").nullable().optional(),\n}).passthrough().describe(\"Folder details retrieved by user nickname and path.\");\n\nexport const smugmugGetFolderByUserPath = action(\"SMUGMUG_GET_FOLDER_BY_USER_PATH\", {\n slug: \"smugmug-get-folder-by-user-path\",\n name: \"Get Folder by User and Path\",\n description: \"Tool to retrieve folder details by user nickname and folder path. Use when you need to access a specific folder within a user's SmugMug account using the hierarchical path structure. Note: For New SmugMug, use the Node endpoint (SMUGMUG_GET_NODE_DETAILS) instead.\",\n input: SmugmugGetFolderByUserPathInput,\n output: SmugmugGetFolderByUserPathOutput,\n});\n"],"mappings":";;AAwBA,MAAa,6BAA6B,OAAO,mCAAmC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxB6C,EAAE,OAAO;EACtD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG;EAChI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oLAAoL;CACvN,CAqBS;CACP,QArB8C,EAAE,OAAO;EACvD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wKAAwK,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/O,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrI,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpM,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,yIAAyI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAOhB;AACV,CAAC"}
|
|
@@ -3,15 +3,15 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/get-folder-details.ts
|
|
4
4
|
const SmugmugGetFolderDetailsInput = zod.z.object({ node_id: zod.z.string().describe("The unique SmugMug Node ID of the folder to retrieve details for. This is typically a 5-character alphanumeric string (e.g., 'c4jv4'). You can obtain node IDs from the SMUGMUG_LIST_CHILD_NODES action.") });
|
|
5
5
|
const SmugmugGetFolderDetailsOutput = zod.z.object({
|
|
6
|
-
Uri: zod.z.string().describe("The API URI of the folder (e.g., '/api/v2/node/c4jv4')."),
|
|
7
|
-
Name: zod.z.string().describe("The display name of the folder."),
|
|
8
|
-
NodeID: zod.z.string().describe("The unique node ID of the folder (e.g., 'c4jv4')."),
|
|
9
|
-
UrlPath: zod.z.string().describe("The URL path segment for the folder (e.g., '/Family')."),
|
|
10
|
-
DateAdded: zod.z.string().describe("ISO 8601 timestamp when the folder was created."),
|
|
6
|
+
Uri: zod.z.string().describe("The API URI of the folder (e.g., '/api/v2/node/c4jv4').").nullable(),
|
|
7
|
+
Name: zod.z.string().describe("The display name of the folder.").nullable(),
|
|
8
|
+
NodeID: zod.z.string().describe("The unique node ID of the folder (e.g., 'c4jv4').").nullable(),
|
|
9
|
+
UrlPath: zod.z.string().describe("The URL path segment for the folder (e.g., '/Family').").nullable(),
|
|
10
|
+
DateAdded: zod.z.string().describe("ISO 8601 timestamp when the folder was created.").nullable(),
|
|
11
11
|
Description: zod.z.string().describe("The user-provided description of the folder, if any.").nullable().optional(),
|
|
12
|
-
DateModified: zod.z.string().describe("ISO 8601 timestamp when the folder or its contents were last modified."),
|
|
12
|
+
DateModified: zod.z.string().describe("ISO 8601 timestamp when the folder or its contents were last modified.").nullable(),
|
|
13
13
|
HighlightAlbumUri: zod.z.string().describe("The API URI of the album set as the highlight/cover for this folder, if configured.").nullable().optional()
|
|
14
|
-
});
|
|
14
|
+
}).passthrough();
|
|
15
15
|
const smugmugGetFolderDetails = require_action.action("SMUGMUG_GET_FOLDER_DETAILS", {
|
|
16
16
|
slug: "smugmug-get-folder-details",
|
|
17
17
|
name: "Get Folder Details",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-folder-details.cjs","names":["z","action"],"sources":["../../src/actions/get-folder-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmugmugGetFolderDetailsInput
|
|
1
|
+
{"version":3,"file":"get-folder-details.cjs","names":["z","action"],"sources":["../../src/actions/get-folder-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmugmugGetFolderDetailsInput = z.object({\n node_id: z.string().describe(\"The unique SmugMug Node ID of the folder to retrieve details for. This is typically a 5-character alphanumeric string (e.g., 'c4jv4'). You can obtain node IDs from the SMUGMUG_LIST_CHILD_NODES action.\"),\n});\nexport const SmugmugGetFolderDetailsOutput = z.object({\n Uri: z.string().describe(\"The API URI of the folder (e.g., '/api/v2/node/c4jv4').\").nullable(),\n Name: z.string().describe(\"The display name of the folder.\").nullable(),\n NodeID: z.string().describe(\"The unique node ID of the folder (e.g., 'c4jv4').\").nullable(),\n UrlPath: z.string().describe(\"The URL path segment for the folder (e.g., '/Family').\").nullable(),\n DateAdded: z.string().describe(\"ISO 8601 timestamp when the folder was created.\").nullable(),\n Description: z.string().describe(\"The user-provided description of the folder, if any.\").nullable().optional(),\n DateModified: z.string().describe(\"ISO 8601 timestamp when the folder or its contents were last modified.\").nullable(),\n HighlightAlbumUri: z.string().describe(\"The API URI of the album set as the highlight/cover for this folder, if configured.\").nullable().optional(),\n}).passthrough();\n\nexport const smugmugGetFolderDetails = action(\"SMUGMUG_GET_FOLDER_DETAILS\", {\n slug: \"smugmug-get-folder-details\",\n name: \"Get Folder Details\",\n description: \"Retrieves details of a specific folder in SmugMug using its Node ID. Returns folder metadata including name, description, URL path, creation and modification dates, node ID, and optionally the URI of the album set as the highlight image for the folder. Note: This action only works with Folder-type nodes. If a non-folder node ID (e.g., Album) is provided, an error will be raised. Use SMUGMUG_GET_NODE_DETAILS for general node information.\",\n input: SmugmugGetFolderDetailsInput,\n output: SmugmugGetFolderDetailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0MAA0M,EACzO,CAAC;AACD,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC7F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACtE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAChG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC3F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CACrH,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpJ,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,22 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-folder-details.d.ts
|
|
4
|
-
declare const SmugmugGetFolderDetailsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SmugmugGetFolderDetailsInput: z.ZodObject<{
|
|
5
|
+
node_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const SmugmugGetFolderDetailsOutput: z.ZodObject<{
|
|
8
|
+
Uri: z.ZodNullable<z.ZodString>;
|
|
9
|
+
Name: z.ZodNullable<z.ZodString>;
|
|
10
|
+
NodeID: z.ZodNullable<z.ZodString>;
|
|
11
|
+
UrlPath: z.ZodNullable<z.ZodString>;
|
|
12
|
+
DateAdded: z.ZodNullable<z.ZodString>;
|
|
13
|
+
Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
DateModified: z.ZodNullable<z.ZodString>;
|
|
15
|
+
HighlightAlbumUri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
}, z.core.$loose>;
|
|
17
|
+
declare const smugmugGetFolderDetails: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
|
+
node_id: string;
|
|
19
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
20
|
//#endregion
|
|
8
21
|
export { smugmugGetFolderDetails };
|
|
9
22
|
//# sourceMappingURL=get-folder-details.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-folder-details.d.cts","names":[],"sources":["../../src/actions/get-folder-details.ts"],"mappings":";;;cAIa,4BAAA,
|
|
1
|
+
{"version":3,"file":"get-folder-details.d.cts","names":[],"sources":["../../src/actions/get-folder-details.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAG5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;cAW7B,uBAAA,gCAAuB,wBAAA"}
|
|
@@ -1,9 +1,22 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-folder-details.d.ts
|
|
4
|
-
declare const SmugmugGetFolderDetailsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SmugmugGetFolderDetailsInput: z.ZodObject<{
|
|
5
|
+
node_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const SmugmugGetFolderDetailsOutput: z.ZodObject<{
|
|
8
|
+
Uri: z.ZodNullable<z.ZodString>;
|
|
9
|
+
Name: z.ZodNullable<z.ZodString>;
|
|
10
|
+
NodeID: z.ZodNullable<z.ZodString>;
|
|
11
|
+
UrlPath: z.ZodNullable<z.ZodString>;
|
|
12
|
+
DateAdded: z.ZodNullable<z.ZodString>;
|
|
13
|
+
Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
DateModified: z.ZodNullable<z.ZodString>;
|
|
15
|
+
HighlightAlbumUri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
}, z.core.$loose>;
|
|
17
|
+
declare const smugmugGetFolderDetails: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
|
+
node_id: string;
|
|
19
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
20
|
//#endregion
|
|
8
21
|
export { smugmugGetFolderDetails };
|
|
9
22
|
//# sourceMappingURL=get-folder-details.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-folder-details.d.mts","names":[],"sources":["../../src/actions/get-folder-details.ts"],"mappings":";;;cAIa,4BAAA,
|
|
1
|
+
{"version":3,"file":"get-folder-details.d.mts","names":[],"sources":["../../src/actions/get-folder-details.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAG5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;cAW7B,uBAAA,gCAAuB,wBAAA"}
|
|
@@ -6,15 +6,15 @@ const smugmugGetFolderDetails = action("SMUGMUG_GET_FOLDER_DETAILS", {
|
|
|
6
6
|
description: "Retrieves details of a specific folder in SmugMug using its Node ID. Returns folder metadata including name, description, URL path, creation and modification dates, node ID, and optionally the URI of the album set as the highlight image for the folder. Note: This action only works with Folder-type nodes. If a non-folder node ID (e.g., Album) is provided, an error will be raised. Use SMUGMUG_GET_NODE_DETAILS for general node information.",
|
|
7
7
|
input: z.object({ node_id: z.string().describe("The unique SmugMug Node ID of the folder to retrieve details for. This is typically a 5-character alphanumeric string (e.g., 'c4jv4'). You can obtain node IDs from the SMUGMUG_LIST_CHILD_NODES action.") }),
|
|
8
8
|
output: z.object({
|
|
9
|
-
Uri: z.string().describe("The API URI of the folder (e.g., '/api/v2/node/c4jv4')."),
|
|
10
|
-
Name: z.string().describe("The display name of the folder."),
|
|
11
|
-
NodeID: z.string().describe("The unique node ID of the folder (e.g., 'c4jv4')."),
|
|
12
|
-
UrlPath: z.string().describe("The URL path segment for the folder (e.g., '/Family')."),
|
|
13
|
-
DateAdded: z.string().describe("ISO 8601 timestamp when the folder was created."),
|
|
9
|
+
Uri: z.string().describe("The API URI of the folder (e.g., '/api/v2/node/c4jv4').").nullable(),
|
|
10
|
+
Name: z.string().describe("The display name of the folder.").nullable(),
|
|
11
|
+
NodeID: z.string().describe("The unique node ID of the folder (e.g., 'c4jv4').").nullable(),
|
|
12
|
+
UrlPath: z.string().describe("The URL path segment for the folder (e.g., '/Family').").nullable(),
|
|
13
|
+
DateAdded: z.string().describe("ISO 8601 timestamp when the folder was created.").nullable(),
|
|
14
14
|
Description: z.string().describe("The user-provided description of the folder, if any.").nullable().optional(),
|
|
15
|
-
DateModified: z.string().describe("ISO 8601 timestamp when the folder or its contents were last modified."),
|
|
15
|
+
DateModified: z.string().describe("ISO 8601 timestamp when the folder or its contents were last modified.").nullable(),
|
|
16
16
|
HighlightAlbumUri: z.string().describe("The API URI of the album set as the highlight/cover for this folder, if configured.").nullable().optional()
|
|
17
|
-
})
|
|
17
|
+
}).passthrough()
|
|
18
18
|
});
|
|
19
19
|
//#endregion
|
|
20
20
|
export { smugmugGetFolderDetails };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-folder-details.mjs","names":[],"sources":["../../src/actions/get-folder-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmugmugGetFolderDetailsInput
|
|
1
|
+
{"version":3,"file":"get-folder-details.mjs","names":[],"sources":["../../src/actions/get-folder-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmugmugGetFolderDetailsInput = z.object({\n node_id: z.string().describe(\"The unique SmugMug Node ID of the folder to retrieve details for. This is typically a 5-character alphanumeric string (e.g., 'c4jv4'). You can obtain node IDs from the SMUGMUG_LIST_CHILD_NODES action.\"),\n});\nexport const SmugmugGetFolderDetailsOutput = z.object({\n Uri: z.string().describe(\"The API URI of the folder (e.g., '/api/v2/node/c4jv4').\").nullable(),\n Name: z.string().describe(\"The display name of the folder.\").nullable(),\n NodeID: z.string().describe(\"The unique node ID of the folder (e.g., 'c4jv4').\").nullable(),\n UrlPath: z.string().describe(\"The URL path segment for the folder (e.g., '/Family').\").nullable(),\n DateAdded: z.string().describe(\"ISO 8601 timestamp when the folder was created.\").nullable(),\n Description: z.string().describe(\"The user-provided description of the folder, if any.\").nullable().optional(),\n DateModified: z.string().describe(\"ISO 8601 timestamp when the folder or its contents were last modified.\").nullable(),\n HighlightAlbumUri: z.string().describe(\"The API URI of the album set as the highlight/cover for this folder, if configured.\").nullable().optional(),\n}).passthrough();\n\nexport const smugmugGetFolderDetails = action(\"SMUGMUG_GET_FOLDER_DETAILS\", {\n slug: \"smugmug-get-folder-details\",\n name: \"Get Folder Details\",\n description: \"Retrieves details of a specific folder in SmugMug using its Node ID. Returns folder metadata including name, description, URL path, creation and modification dates, node ID, and optionally the URI of the album set as the highlight image for the folder. Note: This action only works with Folder-type nodes. If a non-folder node ID (e.g., Album) is provided, an error will be raised. Use SMUGMUG_GET_NODE_DETAILS for general node information.\",\n input: SmugmugGetFolderDetailsInput,\n output: SmugmugGetFolderDetailsOutput,\n});\n"],"mappings":";;AAkBA,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB0C,EAAE,OAAO,EACnD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0MAA0M,EACzO,CAgBS;CACP,QAhB2C,EAAE,OAAO;EACpD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EAC7F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAC1F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EAChG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EAC3F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;EACrH,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpJ,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -8,11 +8,11 @@ const SmugmugGetFolderSubfoldersInput = zod.z.object({
|
|
|
8
8
|
});
|
|
9
9
|
const SmugmugGetFolderSubfolders_FolderItemSchema = zod.z.object({
|
|
10
10
|
Uri: zod.z.string().describe("The API URI for this folder.").nullable().optional(),
|
|
11
|
-
Name: zod.z.string().describe("The display name of the subfolder."),
|
|
11
|
+
Name: zod.z.string().describe("The display name of the subfolder.").nullable(),
|
|
12
12
|
NodeID: zod.z.string().describe("The unique node identifier for this folder.").nullable().optional(),
|
|
13
13
|
WebUri: zod.z.string().describe("The public web URL to view this folder on SmugMug.").nullable().optional(),
|
|
14
14
|
IsEmpty: zod.z.boolean().describe("Whether the folder is empty (contains no items).").nullable().optional(),
|
|
15
|
-
UrlName: zod.z.string().describe("URL-safe name used in the folder's web path."),
|
|
15
|
+
UrlName: zod.z.string().describe("URL-safe name used in the folder's web path.").nullable(),
|
|
16
16
|
UrlPath: zod.z.string().describe("The full URL path of the folder.").nullable().optional(),
|
|
17
17
|
Keywords: zod.z.string().describe("Keywords or tags associated with the folder.").nullable().optional(),
|
|
18
18
|
DateAdded: zod.z.string().describe("ISO 8601 timestamp when the folder was created.").nullable().optional(),
|
|
@@ -24,7 +24,7 @@ const SmugmugGetFolderSubfolders_FolderItemSchema = zod.z.object({
|
|
|
24
24
|
ResponseLevel: zod.z.string().describe("The response level used for this folder data.").nullable().optional(),
|
|
25
25
|
SortDirection: zod.z.string().describe("Sort direction for items: 'Ascending' or 'Descending'.").nullable().optional(),
|
|
26
26
|
UriDescription: zod.z.string().describe("Description of the URI endpoint.").nullable().optional()
|
|
27
|
-
}).describe("Represents a subfolder within a SmugMug folder.");
|
|
27
|
+
}).passthrough().describe("Represents a subfolder within a SmugMug folder.");
|
|
28
28
|
const SmugmugGetFolderSubfoldersOutput = zod.z.object({
|
|
29
29
|
Uri: zod.z.string().describe("The API URI of the request.").nullable().optional(),
|
|
30
30
|
Folder: zod.z.array(SmugmugGetFolderSubfolders_FolderItemSchema).describe("List of subfolders within the specified parent folder. Empty list if no subfolders exist.").nullable().optional(),
|
|
@@ -32,7 +32,7 @@ const SmugmugGetFolderSubfoldersOutput = zod.z.object({
|
|
|
32
32
|
LocatorType: zod.z.string().describe("Type of locator (typically 'Objects').").nullable().optional(),
|
|
33
33
|
EndpointType: zod.z.string().describe("Type of API endpoint.").nullable().optional(),
|
|
34
34
|
UriDescription: zod.z.string().describe("Description of the URI endpoint.").nullable().optional()
|
|
35
|
-
}).describe("Response containing subfolders of a specified folder.");
|
|
35
|
+
}).passthrough().describe("Response containing subfolders of a specified folder.");
|
|
36
36
|
const smugmugGetFolderSubfolders = require_action.action("SMUGMUG_GET_FOLDER_SUBFOLDERS", {
|
|
37
37
|
slug: "smugmug-get-folder-subfolders",
|
|
38
38
|
name: "Get Folder Subfolders",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-folder-subfolders.cjs","names":["z","action"],"sources":["../../src/actions/get-folder-subfolders.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmugmugGetFolderSubfoldersInput
|
|
1
|
+
{"version":3,"file":"get-folder-subfolders.cjs","names":["z","action"],"sources":["../../src/actions/get-folder-subfolders.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmugmugGetFolderSubfoldersInput = z.object({\n path: z.string().default(\"\").describe(\"The folder path within the user's account. Use '/' separator for nested folders (e.g., 'SmugMug/Heroes'). Leave empty or omit for root-level subfolders.\").optional(),\n nickname: z.string().describe(\"The SmugMug user's nickname/username. This identifies the account whose folder structure you're accessing.\"),\n folder_id: z.string().describe(\"Optional folder ID parameter for additional filtering. Must be at least 5 characters if provided.\").optional(),\n});\nconst SmugmugGetFolderSubfolders_FolderItemSchema = z.object({\n Uri: z.string().describe(\"The API URI for this folder.\").nullable().optional(),\n Name: z.string().describe(\"The display name of the subfolder.\").nullable(),\n NodeID: z.string().describe(\"The unique node identifier for this folder.\").nullable().optional(),\n WebUri: z.string().describe(\"The public web URL to view this folder on SmugMug.\").nullable().optional(),\n IsEmpty: z.boolean().describe(\"Whether the folder is empty (contains no items).\").nullable().optional(),\n UrlName: z.string().describe(\"URL-safe name used in the folder's web path.\").nullable(),\n UrlPath: z.string().describe(\"The full URL path of the folder.\").nullable().optional(),\n Keywords: z.string().describe(\"Keywords or tags associated with the folder.\").nullable().optional(),\n DateAdded: z.string().describe(\"ISO 8601 timestamp when the folder was created.\").nullable().optional(),\n SortMethod: z.string().describe(\"Method used to sort items within the folder (e.g., 'Name', 'DateAdded').\").nullable().optional(),\n Description: z.string().describe(\"User-provided description of the folder.\").nullable().optional(),\n DateModified: z.string().describe(\"ISO 8601 timestamp when the folder was last modified.\").nullable().optional(),\n PasswordHint: z.string().describe(\"Hint for password-protected folders, if applicable.\").nullable().optional(),\n SecurityType: z.string().describe(\"The security/privacy type of the folder (e.g., 'Public', 'Unlisted', 'Private').\").nullable().optional(),\n ResponseLevel: z.string().describe(\"The response level used for this folder data.\").nullable().optional(),\n SortDirection: z.string().describe(\"Sort direction for items: 'Ascending' or 'Descending'.\").nullable().optional(),\n UriDescription: z.string().describe(\"Description of the URI endpoint.\").nullable().optional(),\n}).passthrough().describe(\"Represents a subfolder within a SmugMug folder.\");\nexport const SmugmugGetFolderSubfoldersOutput = z.object({\n Uri: z.string().describe(\"The API URI of the request.\").nullable().optional(),\n Folder: z.array(SmugmugGetFolderSubfolders_FolderItemSchema).describe(\"List of subfolders within the specified parent folder. Empty list if no subfolders exist.\").nullable().optional(),\n Locator: z.string().describe(\"Locator type identifier (typically 'Folder').\").nullable().optional(),\n LocatorType: z.string().describe(\"Type of locator (typically 'Objects').\").nullable().optional(),\n EndpointType: z.string().describe(\"Type of API endpoint.\").nullable().optional(),\n UriDescription: z.string().describe(\"Description of the URI endpoint.\").nullable().optional(),\n}).passthrough().describe(\"Response containing subfolders of a specified folder.\");\n\nexport const smugmugGetFolderSubfolders = action(\"SMUGMUG_GET_FOLDER_SUBFOLDERS\", {\n slug: \"smugmug-get-folder-subfolders\",\n name: \"Get Folder Subfolders\",\n description: \"Retrieves all subfolders within a specified folder in a SmugMug user's account. Use this action to navigate the folder hierarchy by fetching direct child folders of a given parent folder. Specify the user's nickname and the folder path (use empty string or omit for root-level folders). Returns folder metadata including names, URLs, security settings, and IDs.\",\n input: SmugmugGetFolderSubfoldersInput,\n output: SmugmugGetFolderSubfoldersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,0JAA0J,CAAC,CAAC,SAAS;CAC3M,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G;CAC1I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;AAC/I,CAAC;AACD,MAAM,8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AC"}
|
|
@@ -1,9 +1,42 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-folder-subfolders.d.ts
|
|
4
|
-
declare const SmugmugGetFolderSubfoldersInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SmugmugGetFolderSubfoldersInput: z.ZodObject<{
|
|
5
|
+
path: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
6
|
+
nickname: z.ZodString;
|
|
7
|
+
folder_id: z.ZodOptional<z.ZodString>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const SmugmugGetFolderSubfoldersOutput: z.ZodObject<{
|
|
10
|
+
Uri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
Folder: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
12
|
+
Uri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
Name: z.ZodNullable<z.ZodString>;
|
|
14
|
+
NodeID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
WebUri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
IsEmpty: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
17
|
+
UrlName: z.ZodNullable<z.ZodString>;
|
|
18
|
+
UrlPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
Keywords: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
DateAdded: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
SortMethod: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
DateModified: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
PasswordHint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
SecurityType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
ResponseLevel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
SortDirection: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
UriDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
}, z.core.$loose>>>>;
|
|
30
|
+
Locator: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
LocatorType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
+
EndpointType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
UriDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
+
}, z.core.$loose>;
|
|
35
|
+
declare const smugmugGetFolderSubfolders: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
36
|
+
nickname: string;
|
|
37
|
+
path?: string | undefined;
|
|
38
|
+
folder_id?: string | undefined;
|
|
39
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
40
|
//#endregion
|
|
8
41
|
export { smugmugGetFolderSubfolders };
|
|
9
42
|
//# sourceMappingURL=get-folder-subfolders.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-folder-subfolders.d.cts","names":[],"sources":["../../src/actions/get-folder-subfolders.ts"],"mappings":";;;cAIa,+BAAA,
|
|
1
|
+
{"version":3,"file":"get-folder-subfolders.d.cts","names":[],"sources":["../../src/actions/get-folder-subfolders.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAwB/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cAShC,0BAAA,gCAA0B,wBAAA"}
|
|
@@ -1,9 +1,42 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-folder-subfolders.d.ts
|
|
4
|
-
declare const SmugmugGetFolderSubfoldersInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SmugmugGetFolderSubfoldersInput: z.ZodObject<{
|
|
5
|
+
path: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
6
|
+
nickname: z.ZodString;
|
|
7
|
+
folder_id: z.ZodOptional<z.ZodString>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const SmugmugGetFolderSubfoldersOutput: z.ZodObject<{
|
|
10
|
+
Uri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
Folder: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
12
|
+
Uri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
Name: z.ZodNullable<z.ZodString>;
|
|
14
|
+
NodeID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
WebUri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
IsEmpty: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
17
|
+
UrlName: z.ZodNullable<z.ZodString>;
|
|
18
|
+
UrlPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
Keywords: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
DateAdded: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
SortMethod: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
DateModified: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
PasswordHint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
SecurityType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
ResponseLevel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
SortDirection: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
UriDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
}, z.core.$loose>>>>;
|
|
30
|
+
Locator: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
LocatorType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
+
EndpointType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
UriDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
+
}, z.core.$loose>;
|
|
35
|
+
declare const smugmugGetFolderSubfolders: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
36
|
+
nickname: string;
|
|
37
|
+
path?: string | undefined;
|
|
38
|
+
folder_id?: string | undefined;
|
|
39
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
40
|
//#endregion
|
|
8
41
|
export { smugmugGetFolderSubfolders };
|
|
9
42
|
//# sourceMappingURL=get-folder-subfolders.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-folder-subfolders.d.mts","names":[],"sources":["../../src/actions/get-folder-subfolders.ts"],"mappings":";;;cAIa,+BAAA,
|
|
1
|
+
{"version":3,"file":"get-folder-subfolders.d.mts","names":[],"sources":["../../src/actions/get-folder-subfolders.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAwB/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cAShC,0BAAA,gCAA0B,wBAAA"}
|
|
@@ -8,11 +8,11 @@ const SmugmugGetFolderSubfoldersInput = z.object({
|
|
|
8
8
|
});
|
|
9
9
|
const SmugmugGetFolderSubfolders_FolderItemSchema = z.object({
|
|
10
10
|
Uri: z.string().describe("The API URI for this folder.").nullable().optional(),
|
|
11
|
-
Name: z.string().describe("The display name of the subfolder."),
|
|
11
|
+
Name: z.string().describe("The display name of the subfolder.").nullable(),
|
|
12
12
|
NodeID: z.string().describe("The unique node identifier for this folder.").nullable().optional(),
|
|
13
13
|
WebUri: z.string().describe("The public web URL to view this folder on SmugMug.").nullable().optional(),
|
|
14
14
|
IsEmpty: z.boolean().describe("Whether the folder is empty (contains no items).").nullable().optional(),
|
|
15
|
-
UrlName: z.string().describe("URL-safe name used in the folder's web path."),
|
|
15
|
+
UrlName: z.string().describe("URL-safe name used in the folder's web path.").nullable(),
|
|
16
16
|
UrlPath: z.string().describe("The full URL path of the folder.").nullable().optional(),
|
|
17
17
|
Keywords: z.string().describe("Keywords or tags associated with the folder.").nullable().optional(),
|
|
18
18
|
DateAdded: z.string().describe("ISO 8601 timestamp when the folder was created.").nullable().optional(),
|
|
@@ -24,7 +24,7 @@ const SmugmugGetFolderSubfolders_FolderItemSchema = z.object({
|
|
|
24
24
|
ResponseLevel: z.string().describe("The response level used for this folder data.").nullable().optional(),
|
|
25
25
|
SortDirection: z.string().describe("Sort direction for items: 'Ascending' or 'Descending'.").nullable().optional(),
|
|
26
26
|
UriDescription: z.string().describe("Description of the URI endpoint.").nullable().optional()
|
|
27
|
-
}).describe("Represents a subfolder within a SmugMug folder.");
|
|
27
|
+
}).passthrough().describe("Represents a subfolder within a SmugMug folder.");
|
|
28
28
|
const smugmugGetFolderSubfolders = action("SMUGMUG_GET_FOLDER_SUBFOLDERS", {
|
|
29
29
|
slug: "smugmug-get-folder-subfolders",
|
|
30
30
|
name: "Get Folder Subfolders",
|
|
@@ -37,7 +37,7 @@ const smugmugGetFolderSubfolders = action("SMUGMUG_GET_FOLDER_SUBFOLDERS", {
|
|
|
37
37
|
LocatorType: z.string().describe("Type of locator (typically 'Objects').").nullable().optional(),
|
|
38
38
|
EndpointType: z.string().describe("Type of API endpoint.").nullable().optional(),
|
|
39
39
|
UriDescription: z.string().describe("Description of the URI endpoint.").nullable().optional()
|
|
40
|
-
}).describe("Response containing subfolders of a specified folder.")
|
|
40
|
+
}).passthrough().describe("Response containing subfolders of a specified folder.")
|
|
41
41
|
});
|
|
42
42
|
//#endregion
|
|
43
43
|
export { smugmugGetFolderSubfolders };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-folder-subfolders.mjs","names":[],"sources":["../../src/actions/get-folder-subfolders.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmugmugGetFolderSubfoldersInput
|
|
1
|
+
{"version":3,"file":"get-folder-subfolders.mjs","names":[],"sources":["../../src/actions/get-folder-subfolders.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmugmugGetFolderSubfoldersInput = z.object({\n path: z.string().default(\"\").describe(\"The folder path within the user's account. Use '/' separator for nested folders (e.g., 'SmugMug/Heroes'). Leave empty or omit for root-level subfolders.\").optional(),\n nickname: z.string().describe(\"The SmugMug user's nickname/username. This identifies the account whose folder structure you're accessing.\"),\n folder_id: z.string().describe(\"Optional folder ID parameter for additional filtering. Must be at least 5 characters if provided.\").optional(),\n});\nconst SmugmugGetFolderSubfolders_FolderItemSchema = z.object({\n Uri: z.string().describe(\"The API URI for this folder.\").nullable().optional(),\n Name: z.string().describe(\"The display name of the subfolder.\").nullable(),\n NodeID: z.string().describe(\"The unique node identifier for this folder.\").nullable().optional(),\n WebUri: z.string().describe(\"The public web URL to view this folder on SmugMug.\").nullable().optional(),\n IsEmpty: z.boolean().describe(\"Whether the folder is empty (contains no items).\").nullable().optional(),\n UrlName: z.string().describe(\"URL-safe name used in the folder's web path.\").nullable(),\n UrlPath: z.string().describe(\"The full URL path of the folder.\").nullable().optional(),\n Keywords: z.string().describe(\"Keywords or tags associated with the folder.\").nullable().optional(),\n DateAdded: z.string().describe(\"ISO 8601 timestamp when the folder was created.\").nullable().optional(),\n SortMethod: z.string().describe(\"Method used to sort items within the folder (e.g., 'Name', 'DateAdded').\").nullable().optional(),\n Description: z.string().describe(\"User-provided description of the folder.\").nullable().optional(),\n DateModified: z.string().describe(\"ISO 8601 timestamp when the folder was last modified.\").nullable().optional(),\n PasswordHint: z.string().describe(\"Hint for password-protected folders, if applicable.\").nullable().optional(),\n SecurityType: z.string().describe(\"The security/privacy type of the folder (e.g., 'Public', 'Unlisted', 'Private').\").nullable().optional(),\n ResponseLevel: z.string().describe(\"The response level used for this folder data.\").nullable().optional(),\n SortDirection: z.string().describe(\"Sort direction for items: 'Ascending' or 'Descending'.\").nullable().optional(),\n UriDescription: z.string().describe(\"Description of the URI endpoint.\").nullable().optional(),\n}).passthrough().describe(\"Represents a subfolder within a SmugMug folder.\");\nexport const SmugmugGetFolderSubfoldersOutput = z.object({\n Uri: z.string().describe(\"The API URI of the request.\").nullable().optional(),\n Folder: z.array(SmugmugGetFolderSubfolders_FolderItemSchema).describe(\"List of subfolders within the specified parent folder. Empty list if no subfolders exist.\").nullable().optional(),\n Locator: z.string().describe(\"Locator type identifier (typically 'Folder').\").nullable().optional(),\n LocatorType: z.string().describe(\"Type of locator (typically 'Objects').\").nullable().optional(),\n EndpointType: z.string().describe(\"Type of API endpoint.\").nullable().optional(),\n UriDescription: z.string().describe(\"Description of the URI endpoint.\").nullable().optional(),\n}).passthrough().describe(\"Response containing subfolders of a specified folder.\");\n\nexport const smugmugGetFolderSubfolders = action(\"SMUGMUG_GET_FOLDER_SUBFOLDERS\", {\n slug: \"smugmug-get-folder-subfolders\",\n name: \"Get Folder Subfolders\",\n description: \"Retrieves all subfolders within a specified folder in a SmugMug user's account. Use this action to navigate the folder hierarchy by fetching direct child folders of a given parent folder. Specify the user's nickname and the folder path (use empty string or omit for root-level folders). Returns folder metadata including names, URLs, security settings, and IDs.\",\n input: SmugmugGetFolderSubfoldersInput,\n output: SmugmugGetFolderSubfoldersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,0JAA0J,CAAC,CAAC,SAAS;CAC3M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ressedBitsPerPixel: zod.z.string().describe("Compression ratio in bits per pixel.").nullable().optional(),
|
|
85
85
|
MicroDateTimeDigitized: zod.z.string().describe("Microsecond precision digitization time.").nullable().optional(),
|
|
86
86
|
SupplementalCategories: zod.z.string().describe("Additional category classifications.").nullable().optional()
|
|
87
|
-
}).describe("Image metadata including EXIF data from SmugMug API.");
|
|
88
|
-
const SmugmugGetImageMetadataOutput = zod.z.object({ Response: SmugmugGetImageMetadata_ImageMetadataResponseSchema.nullable() });
|
|
87
|
+
}).passthrough().describe("Image metadata including EXIF data from SmugMug API.");
|
|
88
|
+
const SmugmugGetImageMetadataOutput = zod.z.object({ Response: SmugmugGetImageMetadata_ImageMetadataResponseSchema.nullable() }).passthrough();
|
|
89
89
|
const smugmugGetImageMetadata = require_action.action("SMUGMUG_GET_IMAGE_METADATA", {
|
|
90
90
|
slug: "smugmug-get-image-metadata",
|
|
91
91
|
name: "Get Image Metadata",
|