@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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user.d.mts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":";;;cAIa,mBAAA,
|
|
1
|
+
{"version":3,"file":"get-user.d.mts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;cAqCnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIpB,cAAA,gCAAc,wBAAA"}
|
|
@@ -8,7 +8,7 @@ const SmugmugGetUser_UriInfoSchema = z.object({
|
|
|
8
8
|
LocatorType: z.string().describe("Whether this returns an Object or Objects.").nullable().optional(),
|
|
9
9
|
EndpointType: z.string().describe("The endpoint type name.").nullable().optional(),
|
|
10
10
|
UriDescription: 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 SmugmugGetUser_UserUrisSchema = z.object({
|
|
13
13
|
Node: SmugmugGetUser_UriInfoSchema.nullable().optional(),
|
|
14
14
|
Folder: SmugmugGetUser_UriInfoSchema.nullable().optional(),
|
|
@@ -23,25 +23,25 @@ const SmugmugGetUser_UserUrisSchema = z.object({
|
|
|
23
23
|
UserPopularMedia: SmugmugGetUser_UriInfoSchema.nullable().optional(),
|
|
24
24
|
UserRecentImages: SmugmugGetUser_UriInfoSchema.nullable().optional(),
|
|
25
25
|
UserFeaturedAlbums: SmugmugGetUser_UriInfoSchema.nullable().optional()
|
|
26
|
-
}).describe("Related URIs for navigating to associated resources from this user.");
|
|
26
|
+
}).passthrough().describe("Related URIs for navigating to associated resources from this user.");
|
|
27
27
|
const SmugmugGetUser_UserResponseSchema = z.object({
|
|
28
|
-
Uri: z.string().describe("The API URI for this user."),
|
|
29
|
-
Name: z.string().describe("The user's display name (as set by the user)."),
|
|
28
|
+
Uri: z.string().describe("The API URI for this user.").nullable(),
|
|
29
|
+
Name: z.string().describe("The user's display name (as set by the user).").nullable(),
|
|
30
30
|
Uris: SmugmugGetUser_UserUrisSchema.nullable().optional(),
|
|
31
31
|
RefTag: z.string().describe("Reference tag for the user account.").nullable().optional(),
|
|
32
|
-
WebUri: z.string().describe("The full URL to this user's SmugMug website."),
|
|
33
|
-
NickName: z.string().describe("The user's nickname/username on SmugMug."),
|
|
32
|
+
WebUri: z.string().describe("The full URL to this user's SmugMug website.").nullable(),
|
|
33
|
+
NickName: z.string().describe("The user's nickname/username on SmugMug.").nullable(),
|
|
34
34
|
QuickShare: z.boolean().describe("Whether quick share is enabled for the user.").nullable().optional(),
|
|
35
35
|
ViewPassHint: z.string().describe("The hint for the site password, if password protection is enabled.").nullable().optional(),
|
|
36
36
|
ResponseLevel: z.string().describe("The response level indicating access permissions (e.g., 'Public', 'Full').").nullable().optional(),
|
|
37
37
|
UriDescription: z.string().describe("Description of the API URI endpoint.").nullable().optional()
|
|
38
|
-
}).describe("SmugMug user account details.");
|
|
38
|
+
}).passthrough().describe("SmugMug user account details.");
|
|
39
39
|
const smugmugGetUser = action("SMUGMUG_GET_USER", {
|
|
40
40
|
slug: "smugmug-get-user",
|
|
41
41
|
name: "Get User",
|
|
42
42
|
description: "Tool to get a SmugMug user account by their nickname. Returns user details including display name, view pass hint, and links to related resources like albums, profile, and images. Use when you need to fetch basic information about a SmugMug user.",
|
|
43
43
|
input: SmugmugGetUserInput,
|
|
44
|
-
output: z.object({ Response: SmugmugGetUser_UserResponseSchema.nullable() })
|
|
44
|
+
output: z.object({ Response: SmugmugGetUser_UserResponseSchema.nullable() }).passthrough()
|
|
45
45
|
});
|
|
46
46
|
//#endregion
|
|
47
47
|
export { smugmugGetUser };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user.mjs","names":[],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmugmugGetUserInput
|
|
1
|
+
{"version":3,"file":"get-user.mjs","names":[],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmugmugGetUserInput = z.object({\n nickname: z.string().describe(\"The user's nickname/username on SmugMug. This is the unique identifier used in the user's SmugMug URL.\"),\n});\nconst SmugmugGetUser_UriInfoSchema = z.object({\n Uri: z.string().describe(\"The API URI path.\").nullable().optional(),\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 SmugmugGetUser_UserUrisSchema = z.object({\n Node: SmugmugGetUser_UriInfoSchema.nullable().optional(),\n Folder: SmugmugGetUser_UriInfoSchema.nullable().optional(),\n BioImage: SmugmugGetUser_UriInfoSchema.nullable().optional(),\n Features: SmugmugGetUser_UriInfoSchema.nullable().optional(),\n CoverImage: SmugmugGetUser_UriInfoSchema.nullable().optional(),\n UserAlbums: SmugmugGetUser_UriInfoSchema.nullable().optional(),\n UserProfile: SmugmugGetUser_UriInfoSchema.nullable().optional(),\n SiteSettings: SmugmugGetUser_UriInfoSchema.nullable().optional(),\n UserGeoMedia: SmugmugGetUser_UriInfoSchema.nullable().optional(),\n UserImageSearch: SmugmugGetUser_UriInfoSchema.nullable().optional(),\n UserPopularMedia: SmugmugGetUser_UriInfoSchema.nullable().optional(),\n UserRecentImages: SmugmugGetUser_UriInfoSchema.nullable().optional(),\n UserFeaturedAlbums: SmugmugGetUser_UriInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Related URIs for navigating to associated resources from this user.\");\nconst SmugmugGetUser_UserResponseSchema = z.object({\n Uri: z.string().describe(\"The API URI for this user.\").nullable(),\n Name: z.string().describe(\"The user's display name (as set by the user).\").nullable(),\n Uris: SmugmugGetUser_UserUrisSchema.nullable().optional(),\n RefTag: z.string().describe(\"Reference tag for the user account.\").nullable().optional(),\n WebUri: z.string().describe(\"The full URL to this user's SmugMug website.\").nullable(),\n NickName: z.string().describe(\"The user's nickname/username on SmugMug.\").nullable(),\n QuickShare: z.boolean().describe(\"Whether quick share is enabled for the user.\").nullable().optional(),\n ViewPassHint: z.string().describe(\"The hint for the site password, if password protection is enabled.\").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(\"SmugMug user account details.\");\nexport const SmugmugGetUserOutput = z.object({\n Response: SmugmugGetUser_UserResponseSchema.nullable(),\n}).passthrough();\n\nexport const smugmugGetUser = action(\"SMUGMUG_GET_USER\", {\n slug: \"smugmug-get-user\",\n name: \"Get User\",\n description: \"Tool to get a SmugMug user account by their nickname. Returns user details including display name, view pass hint, and links to related resources like albums, profile, and images. Use when you need to fetch basic information about a SmugMug user.\",\n input: SmugmugGetUserInput,\n output: SmugmugGetUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsB,EAAE,OAAO,EAC1C,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,EACxI,CAAC;AACD,MAAM,+BAA+B,EAAE,OAAO;CAC5C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAM,gCAAgC,EAAE,OAAO;CAC7C,MAAM,6BAA6B,SAAS,CAAC,CAAC,SAAS;CACvD,QAAQ,6BAA6B,SAAS,CAAC,CAAC,SAAS;CACzD,UAAU,6BAA6B,SAAS,CAAC,CAAC,SAAS;CAC3D,UAAU,6BAA6B,SAAS,CAAC,CAAC,SAAS;CAC3D,YAAY,6BAA6B,SAAS,CAAC,CAAC,SAAS;CAC7D,YAAY,6BAA6B,SAAS,CAAC,CAAC,SAAS;CAC7D,aAAa,6BAA6B,SAAS,CAAC,CAAC,SAAS;CAC9D,cAAc,6BAA6B,SAAS,CAAC,CAAC,SAAS;CAC/D,cAAc,6BAA6B,SAAS,CAAC,CAA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S,EACvD,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -7,12 +7,12 @@ const SmugmugListChildNodesInput = zod.z.object({
|
|
|
7
7
|
node_id: zod.z.string().describe("The unique NodeID of the parent node. You can get this from user profile (root node), node details, or previous list child nodes responses.")
|
|
8
8
|
}).describe("Request parameters for listing child nodes of a SmugMug node.");
|
|
9
9
|
const SmugmugListChildNodes_NodeResponseSchema = zod.z.object({
|
|
10
|
-
Uri: zod.z.string().describe("The API URI for this node."),
|
|
11
|
-
Name: zod.z.string().describe("The display name of the node."),
|
|
12
|
-
Type: zod.z.string().describe("The type of node: 'Folder', 'Album', or 'Page'."),
|
|
10
|
+
Uri: zod.z.string().describe("The API URI for this node.").nullable(),
|
|
11
|
+
Name: zod.z.string().describe("The display name of the node.").nullable(),
|
|
12
|
+
Type: zod.z.string().describe("The type of node: 'Folder', 'Album', or 'Page'.").nullable(),
|
|
13
13
|
NodeID: zod.z.string().describe("The unique identifier of the node. Use this to fetch child nodes or node details.").nullable().optional(),
|
|
14
|
-
WebUri: zod.z.string().describe("The full web URL to view this node on SmugMug."),
|
|
15
|
-
UrlName: zod.z.string().describe("URL-safe name used in the node's web path."),
|
|
14
|
+
WebUri: zod.z.string().describe("The full web URL to view this node on SmugMug.").nullable(),
|
|
15
|
+
UrlName: zod.z.string().describe("URL-safe name used in the node's web path.").nullable(),
|
|
16
16
|
UrlPath: zod.z.string().describe("The URL path of the node relative to the user's root.").nullable().optional(),
|
|
17
17
|
DateAdded: zod.z.string().describe("ISO 8601 timestamp when the node was created.").nullable().optional(),
|
|
18
18
|
SortMethod: zod.z.string().describe("Method used to sort child items (e.g., 'SortIndex', 'DateAdded').").nullable().optional(),
|
|
@@ -21,7 +21,7 @@ const SmugmugListChildNodes_NodeResponseSchema = zod.z.object({
|
|
|
21
21
|
DateModified: zod.z.string().describe("ISO 8601 timestamp when the node was last modified.").nullable().optional(),
|
|
22
22
|
SecurityType: zod.z.string().describe("The security type of the node (e.g., 'None', 'Password').").nullable().optional(),
|
|
23
23
|
SortDirection: zod.z.string().describe("Sort direction for child items: 'Ascending' or 'Descending'.").nullable().optional()
|
|
24
|
-
}).describe("Response model for a SmugMug node (folder or album).");
|
|
24
|
+
}).passthrough().describe("Response model for a SmugMug node (folder or album).");
|
|
25
25
|
const SmugmugListChildNodes_PaginationInfoSchema = zod.z.object({
|
|
26
26
|
Count: zod.z.number().int().describe("Number of items returned in this response.").nullable().optional(),
|
|
27
27
|
Start: zod.z.number().int().describe("Starting index of current page (1-based).").nullable().optional(),
|
|
@@ -31,11 +31,11 @@ const SmugmugListChildNodes_PaginationInfoSchema = zod.z.object({
|
|
|
31
31
|
PrevPage: zod.z.string().describe("API URI for the previous page of results, if available.").nullable().optional(),
|
|
32
32
|
FirstPage: zod.z.string().describe("API URI for the first page of results.").nullable().optional(),
|
|
33
33
|
RequestedCount: zod.z.number().int().describe("Number of items that were requested.").nullable().optional()
|
|
34
|
-
}).describe("Pagination details for the response.");
|
|
34
|
+
}).passthrough().describe("Pagination details for the response.");
|
|
35
35
|
const SmugmugListChildNodesOutput = zod.z.object({
|
|
36
36
|
Node: zod.z.array(SmugmugListChildNodes_NodeResponseSchema).describe("List of child nodes (folders or albums) under the specified parent node.").nullable().optional(),
|
|
37
37
|
Pages: SmugmugListChildNodes_PaginationInfoSchema.nullable().optional()
|
|
38
|
-
}).describe("Response containing child nodes and pagination information.");
|
|
38
|
+
}).passthrough().describe("Response containing child nodes and pagination information.");
|
|
39
39
|
const smugmugListChildNodes = require_action.action("SMUGMUG_LIST_CHILD_NODES", {
|
|
40
40
|
slug: "smugmug-list-child-nodes",
|
|
41
41
|
name: "List Child Nodes",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-child-nodes.cjs","names":["z","action"],"sources":["../../src/actions/list-child-nodes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmugmugListChildNodesInput
|
|
1
|
+
{"version":3,"file":"list-child-nodes.cjs","names":["z","action"],"sources":["../../src/actions/list-child-nodes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmugmugListChildNodesInput = z.object({\n count: z.number().int().default(10).describe(\"Number of child nodes to retrieve per page. Defaults to 10. Maximum is 100.\").optional(),\n start: z.number().int().default(1).describe(\"The 1-based starting index for pagination. Defaults to 1 (first page).\").optional(),\n node_id: z.string().describe(\"The unique NodeID of the parent node. You can get this from user profile (root node), node details, or previous list child nodes responses.\"),\n}).describe(\"Request parameters for listing child nodes of a SmugMug node.\");\nconst SmugmugListChildNodes_NodeResponseSchema = z.object({\n Uri: z.string().describe(\"The API URI for this node.\").nullable(),\n Name: z.string().describe(\"The display name of the node.\").nullable(),\n Type: z.string().describe(\"The type of node: 'Folder', 'Album', or 'Page'.\").nullable(),\n NodeID: z.string().describe(\"The unique identifier of the node. Use this to fetch child nodes or node details.\").nullable().optional(),\n WebUri: z.string().describe(\"The full web URL to view this node on SmugMug.\").nullable(),\n UrlName: z.string().describe(\"URL-safe name used in the node's web path.\").nullable(),\n UrlPath: z.string().describe(\"The URL path of the node relative to the user's root.\").nullable().optional(),\n DateAdded: z.string().describe(\"ISO 8601 timestamp when the node was created.\").nullable().optional(),\n SortMethod: z.string().describe(\"Method used to sort child items (e.g., 'SortIndex', 'DateAdded').\").nullable().optional(),\n Description: z.string().describe(\"The description of the node, if set.\").nullable().optional(),\n HasChildren: z.boolean().describe(\"Whether this node has child nodes. Useful for determining if traversal is needed.\").nullable().optional(),\n DateModified: z.string().describe(\"ISO 8601 timestamp when the node was last modified.\").nullable().optional(),\n SecurityType: z.string().describe(\"The security type of the node (e.g., 'None', 'Password').\").nullable().optional(),\n SortDirection: z.string().describe(\"Sort direction for child items: 'Ascending' or 'Descending'.\").nullable().optional(),\n}).passthrough().describe(\"Response model for a SmugMug node (folder or album).\");\nconst SmugmugListChildNodes_PaginationInfoSchema = z.object({\n Count: z.number().int().describe(\"Number of items returned in this response.\").nullable().optional(),\n Start: z.number().int().describe(\"Starting index of current page (1-based).\").nullable().optional(),\n Total: z.number().int().describe(\"Total number of child nodes available.\").nullable().optional(),\n LastPage: z.string().describe(\"API URI for the last page of results.\").nullable().optional(),\n NextPage: z.string().describe(\"API URI for the next page of results, if available.\").nullable().optional(),\n PrevPage: z.string().describe(\"API URI for the previous page of results, if available.\").nullable().optional(),\n FirstPage: z.string().describe(\"API URI for the first page of results.\").nullable().optional(),\n RequestedCount: z.number().int().describe(\"Number of items that were requested.\").nullable().optional(),\n}).passthrough().describe(\"Pagination details for the response.\");\nexport const SmugmugListChildNodesOutput = z.object({\n Node: z.array(SmugmugListChildNodes_NodeResponseSchema).describe(\"List of child nodes (folders or albums) under the specified parent node.\").nullable().optional(),\n Pages: SmugmugListChildNodes_PaginationInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Response containing child nodes and pagination information.\");\n\nexport const smugmugListChildNodes = action(\"SMUGMUG_LIST_CHILD_NODES\", {\n slug: \"smugmug-list-child-nodes\",\n name: \"List Child Nodes\",\n description: \"Lists all child nodes (folders and albums) under a specified parent node in SmugMug. Use this action to navigate SmugMug's folder/album hierarchy. Start from a user's root node (obtained from user profile) and traverse down through folders to find albums. Returns child nodes with their NodeID, Type, Name, and WebUri. Use the NodeID from results to fetch further nested children or to get detailed node information.\",\n input: SmugmugListChildNodesInput,\n output: SmugmugListChildNodesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACrI,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC/H,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6IAA6I;AAC5K,CAAC,CAAC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2C,SAAS,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAEvF,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,44 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-child-nodes.d.ts
|
|
4
|
-
declare const SmugmugListChildNodesInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SmugmugListChildNodesInput: z.ZodObject<{
|
|
5
|
+
count: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
6
|
+
start: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
7
|
+
node_id: z.ZodString;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const SmugmugListChildNodesOutput: z.ZodObject<{
|
|
10
|
+
Node: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
11
|
+
Uri: z.ZodNullable<z.ZodString>;
|
|
12
|
+
Name: z.ZodNullable<z.ZodString>;
|
|
13
|
+
Type: z.ZodNullable<z.ZodString>;
|
|
14
|
+
NodeID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
WebUri: z.ZodNullable<z.ZodString>;
|
|
16
|
+
UrlName: z.ZodNullable<z.ZodString>;
|
|
17
|
+
UrlPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
DateAdded: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
SortMethod: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
HasChildren: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
22
|
+
DateModified: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
SecurityType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
SortDirection: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
}, z.core.$loose>>>>;
|
|
26
|
+
Pages: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
27
|
+
Count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
28
|
+
Start: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
29
|
+
Total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
30
|
+
LastPage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
NextPage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
+
PrevPage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
FirstPage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
+
RequestedCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
35
|
+
}, z.core.$loose>>>;
|
|
36
|
+
}, z.core.$loose>;
|
|
37
|
+
declare const smugmugListChildNodes: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
38
|
+
node_id: string;
|
|
39
|
+
count?: number | undefined;
|
|
40
|
+
start?: number | undefined;
|
|
41
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
42
|
//#endregion
|
|
8
43
|
export { smugmugListChildNodes };
|
|
9
44
|
//# sourceMappingURL=list-child-nodes.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-child-nodes.d.cts","names":[],"sources":["../../src/actions/list-child-nodes.ts"],"mappings":";;;cAIa,0BAAA,
|
|
1
|
+
{"version":3,"file":"list-child-nodes.d.cts","names":[],"sources":["../../src/actions/list-child-nodes.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cA+B1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK3B,qBAAA,gCAAqB,wBAAA"}
|
|
@@ -1,9 +1,44 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-child-nodes.d.ts
|
|
4
|
-
declare const SmugmugListChildNodesInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SmugmugListChildNodesInput: z.ZodObject<{
|
|
5
|
+
count: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
6
|
+
start: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
7
|
+
node_id: z.ZodString;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const SmugmugListChildNodesOutput: z.ZodObject<{
|
|
10
|
+
Node: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
11
|
+
Uri: z.ZodNullable<z.ZodString>;
|
|
12
|
+
Name: z.ZodNullable<z.ZodString>;
|
|
13
|
+
Type: z.ZodNullable<z.ZodString>;
|
|
14
|
+
NodeID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
WebUri: z.ZodNullable<z.ZodString>;
|
|
16
|
+
UrlName: z.ZodNullable<z.ZodString>;
|
|
17
|
+
UrlPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
DateAdded: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
SortMethod: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
HasChildren: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
22
|
+
DateModified: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
SecurityType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
SortDirection: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
}, z.core.$loose>>>>;
|
|
26
|
+
Pages: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
27
|
+
Count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
28
|
+
Start: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
29
|
+
Total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
30
|
+
LastPage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
NextPage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
+
PrevPage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
FirstPage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
+
RequestedCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
35
|
+
}, z.core.$loose>>>;
|
|
36
|
+
}, z.core.$loose>;
|
|
37
|
+
declare const smugmugListChildNodes: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
38
|
+
node_id: string;
|
|
39
|
+
count?: number | undefined;
|
|
40
|
+
start?: number | undefined;
|
|
41
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
42
|
//#endregion
|
|
8
43
|
export { smugmugListChildNodes };
|
|
9
44
|
//# sourceMappingURL=list-child-nodes.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-child-nodes.d.mts","names":[],"sources":["../../src/actions/list-child-nodes.ts"],"mappings":";;;cAIa,0BAAA,
|
|
1
|
+
{"version":3,"file":"list-child-nodes.d.mts","names":[],"sources":["../../src/actions/list-child-nodes.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cA+B1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK3B,qBAAA,gCAAqB,wBAAA"}
|
|
@@ -7,12 +7,12 @@ const SmugmugListChildNodesInput = z.object({
|
|
|
7
7
|
node_id: z.string().describe("The unique NodeID of the parent node. You can get this from user profile (root node), node details, or previous list child nodes responses.")
|
|
8
8
|
}).describe("Request parameters for listing child nodes of a SmugMug node.");
|
|
9
9
|
const SmugmugListChildNodes_NodeResponseSchema = z.object({
|
|
10
|
-
Uri: z.string().describe("The API URI for this node."),
|
|
11
|
-
Name: z.string().describe("The display name of the node."),
|
|
12
|
-
Type: z.string().describe("The type of node: 'Folder', 'Album', or 'Page'."),
|
|
10
|
+
Uri: z.string().describe("The API URI for this node.").nullable(),
|
|
11
|
+
Name: z.string().describe("The display name of the node.").nullable(),
|
|
12
|
+
Type: z.string().describe("The type of node: 'Folder', 'Album', or 'Page'.").nullable(),
|
|
13
13
|
NodeID: z.string().describe("The unique identifier of the node. Use this to fetch child nodes or node details.").nullable().optional(),
|
|
14
|
-
WebUri: z.string().describe("The full web URL to view this node on SmugMug."),
|
|
15
|
-
UrlName: z.string().describe("URL-safe name used in the node's web path."),
|
|
14
|
+
WebUri: z.string().describe("The full web URL to view this node on SmugMug.").nullable(),
|
|
15
|
+
UrlName: z.string().describe("URL-safe name used in the node's web path.").nullable(),
|
|
16
16
|
UrlPath: z.string().describe("The URL path of the node relative to the user's root.").nullable().optional(),
|
|
17
17
|
DateAdded: z.string().describe("ISO 8601 timestamp when the node was created.").nullable().optional(),
|
|
18
18
|
SortMethod: z.string().describe("Method used to sort child items (e.g., 'SortIndex', 'DateAdded').").nullable().optional(),
|
|
@@ -21,7 +21,7 @@ const SmugmugListChildNodes_NodeResponseSchema = z.object({
|
|
|
21
21
|
DateModified: z.string().describe("ISO 8601 timestamp when the node was last modified.").nullable().optional(),
|
|
22
22
|
SecurityType: z.string().describe("The security type of the node (e.g., 'None', 'Password').").nullable().optional(),
|
|
23
23
|
SortDirection: z.string().describe("Sort direction for child items: 'Ascending' or 'Descending'.").nullable().optional()
|
|
24
|
-
}).describe("Response model for a SmugMug node (folder or album).");
|
|
24
|
+
}).passthrough().describe("Response model for a SmugMug node (folder or album).");
|
|
25
25
|
const SmugmugListChildNodes_PaginationInfoSchema = z.object({
|
|
26
26
|
Count: z.number().int().describe("Number of items returned in this response.").nullable().optional(),
|
|
27
27
|
Start: z.number().int().describe("Starting index of current page (1-based).").nullable().optional(),
|
|
@@ -31,7 +31,7 @@ const SmugmugListChildNodes_PaginationInfoSchema = z.object({
|
|
|
31
31
|
PrevPage: z.string().describe("API URI for the previous page of results, if available.").nullable().optional(),
|
|
32
32
|
FirstPage: z.string().describe("API URI for the first page of results.").nullable().optional(),
|
|
33
33
|
RequestedCount: z.number().int().describe("Number of items that were requested.").nullable().optional()
|
|
34
|
-
}).describe("Pagination details for the response.");
|
|
34
|
+
}).passthrough().describe("Pagination details for the response.");
|
|
35
35
|
const smugmugListChildNodes = action("SMUGMUG_LIST_CHILD_NODES", {
|
|
36
36
|
slug: "smugmug-list-child-nodes",
|
|
37
37
|
name: "List Child Nodes",
|
|
@@ -40,7 +40,7 @@ const smugmugListChildNodes = action("SMUGMUG_LIST_CHILD_NODES", {
|
|
|
40
40
|
output: z.object({
|
|
41
41
|
Node: z.array(SmugmugListChildNodes_NodeResponseSchema).describe("List of child nodes (folders or albums) under the specified parent node.").nullable().optional(),
|
|
42
42
|
Pages: SmugmugListChildNodes_PaginationInfoSchema.nullable().optional()
|
|
43
|
-
}).describe("Response containing child nodes and pagination information.")
|
|
43
|
+
}).passthrough().describe("Response containing child nodes and pagination information.")
|
|
44
44
|
});
|
|
45
45
|
//#endregion
|
|
46
46
|
export { smugmugListChildNodes };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-child-nodes.mjs","names":[],"sources":["../../src/actions/list-child-nodes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmugmugListChildNodesInput
|
|
1
|
+
{"version":3,"file":"list-child-nodes.mjs","names":[],"sources":["../../src/actions/list-child-nodes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmugmugListChildNodesInput = z.object({\n count: z.number().int().default(10).describe(\"Number of child nodes to retrieve per page. Defaults to 10. Maximum is 100.\").optional(),\n start: z.number().int().default(1).describe(\"The 1-based starting index for pagination. Defaults to 1 (first page).\").optional(),\n node_id: z.string().describe(\"The unique NodeID of the parent node. You can get this from user profile (root node), node details, or previous list child nodes responses.\"),\n}).describe(\"Request parameters for listing child nodes of a SmugMug node.\");\nconst SmugmugListChildNodes_NodeResponseSchema = z.object({\n Uri: z.string().describe(\"The API URI for this node.\").nullable(),\n Name: z.string().describe(\"The display name of the node.\").nullable(),\n Type: z.string().describe(\"The type of node: 'Folder', 'Album', or 'Page'.\").nullable(),\n NodeID: z.string().describe(\"The unique identifier of the node. Use this to fetch child nodes or node details.\").nullable().optional(),\n WebUri: z.string().describe(\"The full web URL to view this node on SmugMug.\").nullable(),\n UrlName: z.string().describe(\"URL-safe name used in the node's web path.\").nullable(),\n UrlPath: z.string().describe(\"The URL path of the node relative to the user's root.\").nullable().optional(),\n DateAdded: z.string().describe(\"ISO 8601 timestamp when the node was created.\").nullable().optional(),\n SortMethod: z.string().describe(\"Method used to sort child items (e.g., 'SortIndex', 'DateAdded').\").nullable().optional(),\n Description: z.string().describe(\"The description of the node, if set.\").nullable().optional(),\n HasChildren: z.boolean().describe(\"Whether this node has child nodes. Useful for determining if traversal is needed.\").nullable().optional(),\n DateModified: z.string().describe(\"ISO 8601 timestamp when the node was last modified.\").nullable().optional(),\n SecurityType: z.string().describe(\"The security type of the node (e.g., 'None', 'Password').\").nullable().optional(),\n SortDirection: z.string().describe(\"Sort direction for child items: 'Ascending' or 'Descending'.\").nullable().optional(),\n}).passthrough().describe(\"Response model for a SmugMug node (folder or album).\");\nconst SmugmugListChildNodes_PaginationInfoSchema = z.object({\n Count: z.number().int().describe(\"Number of items returned in this response.\").nullable().optional(),\n Start: z.number().int().describe(\"Starting index of current page (1-based).\").nullable().optional(),\n Total: z.number().int().describe(\"Total number of child nodes available.\").nullable().optional(),\n LastPage: z.string().describe(\"API URI for the last page of results.\").nullable().optional(),\n NextPage: z.string().describe(\"API URI for the next page of results, if available.\").nullable().optional(),\n PrevPage: z.string().describe(\"API URI for the previous page of results, if available.\").nullable().optional(),\n FirstPage: z.string().describe(\"API URI for the first page of results.\").nullable().optional(),\n RequestedCount: z.number().int().describe(\"Number of items that were requested.\").nullable().optional(),\n}).passthrough().describe(\"Pagination details for the response.\");\nexport const SmugmugListChildNodesOutput = z.object({\n Node: z.array(SmugmugListChildNodes_NodeResponseSchema).describe(\"List of child nodes (folders or albums) under the specified parent node.\").nullable().optional(),\n Pages: SmugmugListChildNodes_PaginationInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Response containing child nodes and pagination information.\");\n\nexport const smugmugListChildNodes = action(\"SMUGMUG_LIST_CHILD_NODES\", {\n slug: \"smugmug-list-child-nodes\",\n name: \"List Child Nodes\",\n description: \"Lists all child nodes (folders and albums) under a specified parent node in SmugMug. Use this action to navigate SmugMug's folder/album hierarchy. Start from a user's root node (obtained from user profile) and traverse down through folders to find albums. Returns child nodes with their NodeID, Type, Name, and WebUri. Use the NodeID from results to fetch further nested children or to get detailed node information.\",\n input: SmugmugListChildNodesInput,\n output: SmugmugListChildNodesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO;CACjD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACrI,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC/H,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6IAA6I;AAC5K,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,2CAA2C,EAAE,OAAO;CACxD,KAAK,EAAE,OAAO,CAAC,CAAC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string().describe("The locator type name.").nullable().optional(),
|
|
18
18
|
LocatorType: zod.z.string().describe("Whether this returns an Object or Objects.").nullable().optional()
|
|
19
|
-
}).describe("Information about a related API URI.");
|
|
19
|
+
}).passthrough().describe("Information about a related API URI.");
|
|
20
20
|
const SmugmugSearchUserContent_ImageUrisSchema = zod.z.object({
|
|
21
21
|
Album: SmugmugSearchUserContent_UriInfoSchema.nullable().optional(),
|
|
22
22
|
Image: SmugmugSearchUserContent_UriInfoSchema.nullable().optional(),
|
|
23
23
|
ImageSizes: SmugmugSearchUserContent_UriInfoSchema.nullable().optional(),
|
|
24
24
|
LargestImage: SmugmugSearchUserContent_UriInfoSchema.nullable().optional()
|
|
25
|
-
}).describe("URIs for related image resources.");
|
|
25
|
+
}).passthrough().describe("URIs for related image resources.");
|
|
26
26
|
const SmugmugSearchUserContent_SearchResultImageSchema = zod.z.object({
|
|
27
27
|
Uri: zod.z.string().describe("The API URI for this image.").nullable().optional(),
|
|
28
28
|
Date: zod.z.string().describe("The date the image was taken or uploaded.").nullable().optional(),
|
|
@@ -39,7 +39,7 @@ const SmugmugSearchUserContent_SearchResultImageSchema = zod.z.object({
|
|
|
39
39
|
ArchivedUri: zod.z.string().describe("URI for the archived version of the image.").nullable().optional(),
|
|
40
40
|
ArchivedSize: zod.z.number().int().describe("Size in bytes of the archived image.").nullable().optional(),
|
|
41
41
|
ThumbnailUrl: zod.z.string().describe("URL for the thumbnail version of the image.").nullable().optional()
|
|
42
|
-
}).describe("Represents a single image in the search results.");
|
|
42
|
+
}).passthrough().describe("Represents a single image in the search results.");
|
|
43
43
|
const SmugmugSearchUserContent_SearchPagesInfoSchema = zod.z.object({
|
|
44
44
|
Count: zod.z.number().int().describe("Number of results in the current page.").nullable().optional(),
|
|
45
45
|
Start: zod.z.number().int().describe("Starting index of the current page.").nullable().optional(),
|
|
@@ -49,17 +49,17 @@ const SmugmugSearchUserContent_SearchPagesInfoSchema = zod.z.object({
|
|
|
49
49
|
PrevPage: zod.z.string().describe("URI for the previous page.").nullable().optional(),
|
|
50
50
|
FirstPage: zod.z.string().describe("URI for the first page.").nullable().optional(),
|
|
51
51
|
RequestedCount: zod.z.number().int().describe("Number of results requested per page.").nullable().optional()
|
|
52
|
-
}).describe("Pagination information for search results.");
|
|
52
|
+
}).passthrough().describe("Pagination information for search results.");
|
|
53
53
|
const SmugmugSearchUserContent_SearchResponseDataSchema = zod.z.object({
|
|
54
54
|
Uri: zod.z.string().describe("The API URI for this search request.").nullable().optional(),
|
|
55
55
|
Image: zod.z.array(SmugmugSearchUserContent_SearchResultImageSchema).describe("List of images matching the search query. Empty list if no results found.").nullable().optional(),
|
|
56
56
|
Pages: SmugmugSearchUserContent_SearchPagesInfoSchema.nullable().optional()
|
|
57
|
-
}).describe("The response data containing search results.");
|
|
57
|
+
}).passthrough().describe("The response data containing search results.");
|
|
58
58
|
const SmugmugSearchUserContentOutput = zod.z.object({
|
|
59
59
|
Code: zod.z.number().int().describe("HTTP status code from the API response.").nullable().optional(),
|
|
60
60
|
Message: zod.z.string().describe("Message from the API response.").nullable().optional(),
|
|
61
61
|
Response: SmugmugSearchUserContent_SearchResponseDataSchema.nullable()
|
|
62
|
-
}).describe("Response from searching user content.");
|
|
62
|
+
}).passthrough().describe("Response from searching user content.");
|
|
63
63
|
const smugmugSearchUserContent = require_action.action("SMUGMUG_SEARCH_USER_CONTENT", {
|
|
64
64
|
slug: "smugmug-search-user-content",
|
|
65
65
|
name: "Search User Content",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-user-content.cjs","names":["z","action"],"sources":["../../src/actions/search-user-content.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmugmugSearchUserContentInput
|
|
1
|
+
{"version":3,"file":"search-user-content.cjs","names":["z","action"],"sources":["../../src/actions/search-user-content.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmugmugSearchUserContentInput = z.object({\n q: z.string().describe(\"Search query text to find in the user's images. The search looks for matches in image titles, captions, keywords, and filenames. Maximum 100 characters.\"),\n Order: z.enum([\"Popular\", \"Oldest\", \"Newest\"]).describe(\"Order for search results.\").optional(),\n count: z.number().int().describe(\"The number of results to return per page. Default is 10. Maximum is 100.\").optional(),\n start: z.number().int().describe(\"The starting index (1-based) for paginated results. Use this to retrieve subsequent pages of results. Default is 1.\").optional(),\n nickname: z.string().describe(\"The SmugMug user's nickname whose content to search. This is the unique username on SmugMug.\"),\n});\nconst SmugmugSearchUserContent_UriInfoSchema = z.object({\n Uri: z.string().describe(\"The API URI path.\").nullable().optional(),\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}).passthrough().describe(\"Information about a related API URI.\");\nconst SmugmugSearchUserContent_ImageUrisSchema = z.object({\n Album: SmugmugSearchUserContent_UriInfoSchema.nullable().optional(),\n Image: SmugmugSearchUserContent_UriInfoSchema.nullable().optional(),\n ImageSizes: SmugmugSearchUserContent_UriInfoSchema.nullable().optional(),\n LargestImage: SmugmugSearchUserContent_UriInfoSchema.nullable().optional(),\n}).passthrough().describe(\"URIs for related image resources.\");\nconst SmugmugSearchUserContent_SearchResultImageSchema = z.object({\n Uri: z.string().describe(\"The API URI for this image.\").nullable().optional(),\n Date: z.string().describe(\"The date the image was taken or uploaded.\").nullable().optional(),\n Uris: SmugmugSearchUserContent_ImageUrisSchema.nullable().optional(),\n Title: z.string().describe(\"The title of the image.\").nullable().optional(),\n Format: z.string().describe(\"The file format of the image (e.g., JPG, PNG).\").nullable().optional(),\n WebUri: z.string().describe(\"The public URL to view the image on SmugMug.\").nullable().optional(),\n Caption: z.string().describe(\"The caption or description of the image.\").nullable().optional(),\n FileName: z.string().describe(\"The original filename of the image.\").nullable().optional(),\n ImageKey: z.string().describe(\"The unique key identifier for this image.\").nullable().optional(),\n Keywords: z.union([z.string(), z.array(z.string())]).nullable().optional(),\n UploadKey: z.string().describe(\"The upload key for this image.\").nullable().optional(),\n ArchivedMD5: z.string().describe(\"MD5 checksum of the archived image.\").nullable().optional(),\n ArchivedUri: z.string().describe(\"URI for the archived version of the image.\").nullable().optional(),\n ArchivedSize: z.number().int().describe(\"Size in bytes of the archived image.\").nullable().optional(),\n ThumbnailUrl: z.string().describe(\"URL for the thumbnail version of the image.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single image in the search results.\");\nconst SmugmugSearchUserContent_SearchPagesInfoSchema = z.object({\n Count: z.number().int().describe(\"Number of results in the current page.\").nullable().optional(),\n Start: z.number().int().describe(\"Starting index of the current page.\").nullable().optional(),\n Total: z.number().int().describe(\"Total number of search results.\").nullable().optional(),\n LastPage: z.string().describe(\"URI for the last page.\").nullable().optional(),\n NextPage: z.string().describe(\"URI for the next page.\").nullable().optional(),\n PrevPage: z.string().describe(\"URI for the previous page.\").nullable().optional(),\n FirstPage: z.string().describe(\"URI for the first page.\").nullable().optional(),\n RequestedCount: z.number().int().describe(\"Number of results requested per page.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for search results.\");\nconst SmugmugSearchUserContent_SearchResponseDataSchema = z.object({\n Uri: z.string().describe(\"The API URI for this search request.\").nullable().optional(),\n Image: z.array(SmugmugSearchUserContent_SearchResultImageSchema).describe(\"List of images matching the search query. Empty list if no results found.\").nullable().optional(),\n Pages: SmugmugSearchUserContent_SearchPagesInfoSchema.nullable().optional(),\n}).passthrough().describe(\"The response data containing search results.\");\nexport const SmugmugSearchUserContentOutput = z.object({\n Code: z.number().int().describe(\"HTTP status code from the API response.\").nullable().optional(),\n Message: z.string().describe(\"Message from the API response.\").nullable().optional(),\n Response: SmugmugSearchUserContent_SearchResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response from searching user content.\");\n\nexport const smugmugSearchUserContent = action(\"SMUGMUG_SEARCH_USER_CONTENT\", {\n slug: \"smugmug-search-user-content\",\n name: \"Search User Content\",\n description: \"Search for images across a user's SmugMug content. This tool searches through a user's images by querying titles, captions, keywords, and filenames. Returns a list of matching images with details like title, caption, URLs, and related resources. Use this when you need to find specific images within a user's SmugMug account. Results are returned in paginated format with up to 100 images per page. The default ordering is by popularity, but can be changed to newest or oldest.\",\n input: SmugmugSearchUserContentInput,\n output: SmugmugSearchUserContentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0JAA0J;CACjL,OAAOA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAU;CAAQ,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC9F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACtH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;CACjK,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F;AAC9H,CAAC;AACD,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,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;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,OAAO,uCAAuC,SAAS,CAAC,CAAC,SAAS;CAClE,OAAO,uCAAuC,SAAS,CAAC,CAAC,SAAS;CAClE,YAAY,uCAAuC,SAAS,CAAC,CAAC,SAAS;CACvE,cAAc,uCAAuC,SA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AAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,OAAOA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3K,OAAO,+CAA+C,SAAS,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,UAAU,kDAAkD,SAAS;AACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAEjE,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,79 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/search-user-content.d.ts
|
|
4
|
-
declare const SmugmugSearchUserContentInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SmugmugSearchUserContentInput: z.ZodObject<{
|
|
5
|
+
q: z.ZodString;
|
|
6
|
+
Order: z.ZodOptional<z.ZodEnum<{
|
|
7
|
+
Popular: "Popular";
|
|
8
|
+
Oldest: "Oldest";
|
|
9
|
+
Newest: "Newest";
|
|
10
|
+
}>>;
|
|
11
|
+
count: z.ZodOptional<z.ZodNumber>;
|
|
12
|
+
start: z.ZodOptional<z.ZodNumber>;
|
|
13
|
+
nickname: z.ZodString;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
declare const SmugmugSearchUserContentOutput: z.ZodObject<{
|
|
16
|
+
Code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
|
+
Message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
Response: z.ZodNullable<z.ZodObject<{
|
|
19
|
+
Uri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
Image: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
21
|
+
Uri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
Date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
Uris: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
24
|
+
Album: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
25
|
+
Uri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
Locator: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
LocatorType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
}, z.core.$loose>>>;
|
|
29
|
+
Image: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
30
|
+
Uri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
Locator: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
+
LocatorType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
}, z.core.$loose>>>;
|
|
34
|
+
ImageSizes: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
35
|
+
Uri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
+
Locator: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
+
LocatorType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
|
+
}, z.core.$loose>>>;
|
|
39
|
+
LargestImage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
40
|
+
Uri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
|
+
Locator: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
|
+
LocatorType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
|
+
}, z.core.$loose>>>;
|
|
44
|
+
}, z.core.$loose>>>;
|
|
45
|
+
Title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
|
+
Format: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
|
+
WebUri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
48
|
+
Caption: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
49
|
+
FileName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50
|
+
ImageKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
51
|
+
Keywords: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
|
|
52
|
+
UploadKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
53
|
+
ArchivedMD5: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
54
|
+
ArchivedUri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
55
|
+
ArchivedSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
56
|
+
ThumbnailUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
57
|
+
}, z.core.$loose>>>>;
|
|
58
|
+
Pages: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
59
|
+
Count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
60
|
+
Start: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
61
|
+
Total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
62
|
+
LastPage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
63
|
+
NextPage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
64
|
+
PrevPage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
65
|
+
FirstPage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
66
|
+
RequestedCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
67
|
+
}, z.core.$loose>>>;
|
|
68
|
+
}, z.core.$loose>>;
|
|
69
|
+
}, z.core.$loose>;
|
|
70
|
+
declare const smugmugSearchUserContent: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
71
|
+
q: string;
|
|
72
|
+
nickname: string;
|
|
73
|
+
Order?: "Popular" | "Oldest" | "Newest" | undefined;
|
|
74
|
+
count?: number | undefined;
|
|
75
|
+
start?: number | undefined;
|
|
76
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
77
|
//#endregion
|
|
8
78
|
export { smugmugSearchUserContent };
|
|
9
79
|
//# sourceMappingURL=search-user-content.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-user-content.d.cts","names":[],"sources":["../../src/actions/search-user-content.ts"],"mappings":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"search-user-content.d.cts","names":[],"sources":["../../src/actions/search-user-content.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;cAkD7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM9B,wBAAA,gCAAwB,wBAAA"}
|