@keystrokehq/smugmug 0.1.4 → 0.1.6
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 +1 -0
- package/dist/actions/get-album-highlight-image.cjs.map +1 -1
- package/dist/actions/get-album-highlight-image.d.cts +3 -3
- package/dist/actions/get-album-highlight-image.d.cts.map +1 -1
- package/dist/actions/get-album-highlight-image.d.mts +3 -3
- package/dist/actions/get-album-highlight-image.d.mts.map +1 -1
- package/dist/actions/get-album-highlight-image.mjs +1 -0
- package/dist/actions/get-album-highlight-image.mjs.map +1 -1
- package/dist/actions/get-album-image.cjs +1 -0
- package/dist/actions/get-album-image.cjs.map +1 -1
- package/dist/actions/get-album-image.d.cts +3 -4
- package/dist/actions/get-album-image.d.cts.map +1 -1
- package/dist/actions/get-album-image.d.mts +3 -4
- package/dist/actions/get-album-image.d.mts.map +1 -1
- package/dist/actions/get-album-image.mjs +1 -0
- package/dist/actions/get-album-image.mjs.map +1 -1
- package/dist/actions/get-album-images.cjs +1 -0
- package/dist/actions/get-album-images.cjs.map +1 -1
- package/dist/actions/get-album-images.d.cts +3 -5
- package/dist/actions/get-album-images.d.cts.map +1 -1
- package/dist/actions/get-album-images.d.mts +3 -5
- package/dist/actions/get-album-images.d.mts.map +1 -1
- package/dist/actions/get-album-images.mjs +1 -0
- package/dist/actions/get-album-images.mjs.map +1 -1
- package/dist/actions/get-album.cjs +1 -0
- package/dist/actions/get-album.cjs.map +1 -1
- package/dist/actions/get-album.d.cts +3 -3
- package/dist/actions/get-album.d.cts.map +1 -1
- package/dist/actions/get-album.d.mts +3 -3
- package/dist/actions/get-album.d.mts.map +1 -1
- package/dist/actions/get-album.mjs +1 -0
- package/dist/actions/get-album.mjs.map +1 -1
- package/dist/actions/get-folder-albums.cjs +1 -0
- package/dist/actions/get-folder-albums.cjs.map +1 -1
- package/dist/actions/get-folder-albums.d.cts +3 -5
- package/dist/actions/get-folder-albums.d.cts.map +1 -1
- package/dist/actions/get-folder-albums.d.mts +3 -5
- package/dist/actions/get-folder-albums.d.mts.map +1 -1
- package/dist/actions/get-folder-albums.mjs +1 -0
- package/dist/actions/get-folder-albums.mjs.map +1 -1
- package/dist/actions/get-folder-by-user-path.cjs +1 -0
- package/dist/actions/get-folder-by-user-path.cjs.map +1 -1
- package/dist/actions/get-folder-by-user-path.d.cts +3 -4
- package/dist/actions/get-folder-by-user-path.d.cts.map +1 -1
- package/dist/actions/get-folder-by-user-path.d.mts +3 -4
- package/dist/actions/get-folder-by-user-path.d.mts.map +1 -1
- package/dist/actions/get-folder-by-user-path.mjs +1 -0
- package/dist/actions/get-folder-by-user-path.mjs.map +1 -1
- package/dist/actions/get-folder-details.cjs +1 -0
- package/dist/actions/get-folder-details.cjs.map +1 -1
- package/dist/actions/get-folder-details.d.cts +3 -3
- package/dist/actions/get-folder-details.d.cts.map +1 -1
- package/dist/actions/get-folder-details.d.mts +3 -3
- package/dist/actions/get-folder-details.d.mts.map +1 -1
- package/dist/actions/get-folder-details.mjs +1 -0
- package/dist/actions/get-folder-details.mjs.map +1 -1
- package/dist/actions/get-folder-subfolders.cjs +1 -0
- package/dist/actions/get-folder-subfolders.cjs.map +1 -1
- package/dist/actions/get-folder-subfolders.d.cts +3 -5
- package/dist/actions/get-folder-subfolders.d.cts.map +1 -1
- package/dist/actions/get-folder-subfolders.d.mts +3 -5
- package/dist/actions/get-folder-subfolders.d.mts.map +1 -1
- package/dist/actions/get-folder-subfolders.mjs +1 -0
- package/dist/actions/get-folder-subfolders.mjs.map +1 -1
- package/dist/actions/get-image-metadata.cjs +1 -0
- package/dist/actions/get-image-metadata.cjs.map +1 -1
- package/dist/actions/get-image-metadata.d.cts +3 -3
- package/dist/actions/get-image-metadata.d.cts.map +1 -1
- package/dist/actions/get-image-metadata.d.mts +3 -3
- package/dist/actions/get-image-metadata.d.mts.map +1 -1
- package/dist/actions/get-image-metadata.mjs +1 -0
- package/dist/actions/get-image-metadata.mjs.map +1 -1
- package/dist/actions/get-image-size-details.cjs +1 -0
- package/dist/actions/get-image-size-details.cjs.map +1 -1
- package/dist/actions/get-image-size-details.d.cts +3 -3
- package/dist/actions/get-image-size-details.d.cts.map +1 -1
- package/dist/actions/get-image-size-details.d.mts +3 -3
- package/dist/actions/get-image-size-details.d.mts.map +1 -1
- package/dist/actions/get-image-size-details.mjs +1 -0
- package/dist/actions/get-image-size-details.mjs.map +1 -1
- package/dist/actions/get-image-sizes.cjs +1 -0
- package/dist/actions/get-image-sizes.cjs.map +1 -1
- package/dist/actions/get-image-sizes.d.cts +3 -3
- package/dist/actions/get-image-sizes.d.cts.map +1 -1
- package/dist/actions/get-image-sizes.d.mts +3 -3
- package/dist/actions/get-image-sizes.d.mts.map +1 -1
- package/dist/actions/get-image-sizes.mjs +1 -0
- package/dist/actions/get-image-sizes.mjs.map +1 -1
- package/dist/actions/get-image.cjs +1 -0
- package/dist/actions/get-image.cjs.map +1 -1
- package/dist/actions/get-image.d.cts +3 -3
- package/dist/actions/get-image.d.cts.map +1 -1
- package/dist/actions/get-image.d.mts +3 -3
- package/dist/actions/get-image.d.mts.map +1 -1
- package/dist/actions/get-image.mjs +1 -0
- package/dist/actions/get-image.mjs.map +1 -1
- package/dist/actions/get-node-highlight-image.cjs +1 -0
- package/dist/actions/get-node-highlight-image.cjs.map +1 -1
- package/dist/actions/get-node-highlight-image.d.cts +3 -3
- package/dist/actions/get-node-highlight-image.d.cts.map +1 -1
- package/dist/actions/get-node-highlight-image.d.mts +3 -3
- package/dist/actions/get-node-highlight-image.d.mts.map +1 -1
- package/dist/actions/get-node-highlight-image.mjs +1 -0
- package/dist/actions/get-node-highlight-image.mjs.map +1 -1
- package/dist/actions/get-node-parent.cjs +1 -0
- package/dist/actions/get-node-parent.cjs.map +1 -1
- package/dist/actions/get-node-parent.d.cts +3 -3
- package/dist/actions/get-node-parent.d.cts.map +1 -1
- package/dist/actions/get-node-parent.d.mts +3 -3
- package/dist/actions/get-node-parent.d.mts.map +1 -1
- package/dist/actions/get-node-parent.mjs +1 -0
- package/dist/actions/get-node-parent.mjs.map +1 -1
- package/dist/actions/get-node-parents.cjs +1 -0
- package/dist/actions/get-node-parents.cjs.map +1 -1
- package/dist/actions/get-node-parents.d.cts +3 -3
- package/dist/actions/get-node-parents.d.cts.map +1 -1
- package/dist/actions/get-node-parents.d.mts +3 -3
- package/dist/actions/get-node-parents.d.mts.map +1 -1
- package/dist/actions/get-node-parents.mjs +1 -0
- package/dist/actions/get-node-parents.mjs.map +1 -1
- package/dist/actions/get-user-bio-image.cjs +1 -0
- package/dist/actions/get-user-bio-image.cjs.map +1 -1
- package/dist/actions/get-user-bio-image.d.cts +3 -3
- package/dist/actions/get-user-bio-image.d.cts.map +1 -1
- package/dist/actions/get-user-bio-image.d.mts +3 -3
- package/dist/actions/get-user-bio-image.d.mts.map +1 -1
- package/dist/actions/get-user-bio-image.mjs +1 -0
- package/dist/actions/get-user-bio-image.mjs.map +1 -1
- package/dist/actions/get-user-featured-albums.cjs +1 -0
- package/dist/actions/get-user-featured-albums.cjs.map +1 -1
- package/dist/actions/get-user-featured-albums.d.cts +3 -3
- package/dist/actions/get-user-featured-albums.d.cts.map +1 -1
- package/dist/actions/get-user-featured-albums.d.mts +3 -3
- package/dist/actions/get-user-featured-albums.d.mts.map +1 -1
- package/dist/actions/get-user-featured-albums.mjs +1 -0
- package/dist/actions/get-user-featured-albums.mjs.map +1 -1
- package/dist/actions/get-user-features.cjs +1 -0
- package/dist/actions/get-user-features.cjs.map +1 -1
- package/dist/actions/get-user-features.d.cts +3 -3
- package/dist/actions/get-user-features.d.cts.map +1 -1
- package/dist/actions/get-user-features.d.mts +3 -3
- package/dist/actions/get-user-features.d.mts.map +1 -1
- package/dist/actions/get-user-features.mjs +1 -0
- package/dist/actions/get-user-features.mjs.map +1 -1
- package/dist/actions/get-user-profile.cjs +1 -0
- package/dist/actions/get-user-profile.cjs.map +1 -1
- package/dist/actions/get-user-profile.d.cts +3 -3
- package/dist/actions/get-user-profile.d.cts.map +1 -1
- package/dist/actions/get-user-profile.d.mts +3 -3
- package/dist/actions/get-user-profile.d.mts.map +1 -1
- package/dist/actions/get-user-profile.mjs +1 -0
- package/dist/actions/get-user-profile.mjs.map +1 -1
- package/dist/actions/get-user-root-node.cjs +1 -0
- package/dist/actions/get-user-root-node.cjs.map +1 -1
- package/dist/actions/get-user-root-node.d.cts +3 -3
- package/dist/actions/get-user-root-node.d.cts.map +1 -1
- package/dist/actions/get-user-root-node.d.mts +3 -3
- package/dist/actions/get-user-root-node.d.mts.map +1 -1
- package/dist/actions/get-user-root-node.mjs +1 -0
- package/dist/actions/get-user-root-node.mjs.map +1 -1
- package/dist/actions/get-user.cjs +1 -0
- package/dist/actions/get-user.cjs.map +1 -1
- package/dist/actions/get-user.d.cts +3 -3
- package/dist/actions/get-user.d.cts.map +1 -1
- package/dist/actions/get-user.d.mts +3 -3
- package/dist/actions/get-user.d.mts.map +1 -1
- package/dist/actions/get-user.mjs +1 -0
- package/dist/actions/get-user.mjs.map +1 -1
- package/dist/actions/list-child-nodes.cjs +1 -0
- package/dist/actions/list-child-nodes.cjs.map +1 -1
- package/dist/actions/list-child-nodes.d.cts +3 -5
- package/dist/actions/list-child-nodes.d.cts.map +1 -1
- package/dist/actions/list-child-nodes.d.mts +3 -5
- package/dist/actions/list-child-nodes.d.mts.map +1 -1
- package/dist/actions/list-child-nodes.mjs +1 -0
- package/dist/actions/list-child-nodes.mjs.map +1 -1
- package/dist/actions/search-user-content.cjs +1 -0
- package/dist/actions/search-user-content.cjs.map +1 -1
- package/dist/actions/search-user-content.d.cts +3 -7
- package/dist/actions/search-user-content.d.cts.map +1 -1
- package/dist/actions/search-user-content.d.mts +3 -7
- package/dist/actions/search-user-content.d.mts.map +1 -1
- package/dist/actions/search-user-content.mjs +1 -0
- package/dist/actions/search-user-content.mjs.map +1 -1
- package/dist/actions/unlock-album.cjs +1 -0
- package/dist/actions/unlock-album.cjs.map +1 -1
- package/dist/actions/unlock-album.d.cts +3 -4
- package/dist/actions/unlock-album.d.cts.map +1 -1
- package/dist/actions/unlock-album.d.mts +3 -4
- package/dist/actions/unlock-album.d.mts.map +1 -1
- package/dist/actions/unlock-album.mjs +1 -0
- package/dist/actions/unlock-album.mjs.map +1 -1
- package/dist/actions/unlock-user.cjs +1 -0
- package/dist/actions/unlock-user.cjs.map +1 -1
- package/dist/actions/unlock-user.d.cts +3 -4
- package/dist/actions/unlock-user.d.cts.map +1 -1
- package/dist/actions/unlock-user.d.mts +3 -4
- package/dist/actions/unlock-user.d.mts.map +1 -1
- package/dist/actions/unlock-user.mjs +1 -0
- package/dist/actions/unlock-user.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user.cjs","names":["z","action"],"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":"
|
|
1
|
+
{"version":3,"file":"get-user.cjs","names":["z","action"],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { smugmug } from \"../app\";\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: AppAction<\n typeof SmugmugGetUserInput,\n typeof SmugmugGetUserOutput,\n typeof smugmug.credential\n> = 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":";;;;AAMA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO,EAC1C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,EACxI,CAAC;AACD,MAAM,+BAA+BA,IAAAA,EAAE,OAAO;CAC5C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAA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
|
|
|
3
5
|
//#region src/actions/get-user.d.ts
|
|
@@ -110,9 +112,7 @@ declare const SmugmugGetUserOutput: z.ZodObject<{
|
|
|
110
112
|
UriDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
111
113
|
}, z.core.$loose>>;
|
|
112
114
|
}, z.core.$loose>;
|
|
113
|
-
declare const smugmugGetUser:
|
|
114
|
-
nickname: string;
|
|
115
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
115
|
+
declare const smugmugGetUser: AppAction<typeof SmugmugGetUserInput, typeof SmugmugGetUserOutput, typeof smugmug.credential>;
|
|
116
116
|
//#endregion
|
|
117
117
|
export { smugmugGetUser };
|
|
118
118
|
//# sourceMappingURL=get-user.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user.d.cts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-user.d.cts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":";;;;;cAMa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;cAqCnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIpB,cAAA,EAAgB,SAAA,QACpB,mBAAA,SACA,oBAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { smugmug } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-user.d.ts
|
|
@@ -110,9 +112,7 @@ declare const SmugmugGetUserOutput: z.ZodObject<{
|
|
|
110
112
|
UriDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
111
113
|
}, z.core.$loose>>;
|
|
112
114
|
}, z.core.$loose>;
|
|
113
|
-
declare const smugmugGetUser:
|
|
114
|
-
nickname: string;
|
|
115
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
115
|
+
declare const smugmugGetUser: AppAction<typeof SmugmugGetUserInput, typeof SmugmugGetUserOutput, typeof smugmug.credential>;
|
|
116
116
|
//#endregion
|
|
117
117
|
export { smugmugGetUser };
|
|
118
118
|
//# sourceMappingURL=get-user.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user.d.mts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-user.d.mts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":";;;;;cAMa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;cAqCnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIpB,cAAA,EAAgB,SAAA,QACpB,mBAAA,SACA,oBAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -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 = 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":"
|
|
1
|
+
{"version":3,"file":"get-user.mjs","names":[],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { smugmug } from \"../app\";\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: AppAction<\n typeof SmugmugGetUserInput,\n typeof SmugmugGetUserOutput,\n typeof smugmug.credential\n> = 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":";;;;AAMA,MAAa,sBAAsB,EAAE,OAAO,EAC1C,UAAU,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YAAY,CAAC,CAAC,SAAS,qEAAqE;AAC/F,MAAM,oCAAoC,EAAE,OAAO;CACjD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACpF,MAAM,8BAA8B,SAAS,CAAC,CAAC,SAAS;CACxD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACrF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACnF,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AAKzD,MAAa,iBAIT,OAAO,oBAAoB;CAC7B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbkC,EAAE,OAAO,EAC3C,UAAU,kCAAkC,SAAS,EACvD,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -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 = 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":"
|
|
1
|
+
{"version":3,"file":"list-child-nodes.cjs","names":["z","action"],"sources":["../../src/actions/list-child-nodes.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { smugmug } from \"../app\";\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: AppAction<\n typeof SmugmugListChildNodesInput,\n typeof SmugmugListChildNodesOutput,\n typeof smugmug.credential\n> = 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":";;;;AAMA,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,CAAC,SAAS,+DAA+D;AAC3E,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACtF,QAAQA,IAAAA,EAAE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
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-child-nodes.d.ts
|
|
@@ -34,11 +36,7 @@ declare const SmugmugListChildNodesOutput: z.ZodObject<{
|
|
|
34
36
|
RequestedCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
35
37
|
}, z.core.$loose>>>;
|
|
36
38
|
}, z.core.$loose>;
|
|
37
|
-
declare const smugmugListChildNodes:
|
|
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]>;
|
|
39
|
+
declare const smugmugListChildNodes: AppAction<typeof SmugmugListChildNodesInput, typeof SmugmugListChildNodesOutput, typeof smugmug.credential>;
|
|
42
40
|
//#endregion
|
|
43
41
|
export { smugmugListChildNodes };
|
|
44
42
|
//# 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":"
|
|
1
|
+
{"version":3,"file":"list-child-nodes.d.cts","names":[],"sources":["../../src/actions/list-child-nodes.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cA+B1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { smugmug } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-child-nodes.d.ts
|
|
@@ -34,11 +36,7 @@ declare const SmugmugListChildNodesOutput: z.ZodObject<{
|
|
|
34
36
|
RequestedCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
35
37
|
}, z.core.$loose>>>;
|
|
36
38
|
}, z.core.$loose>;
|
|
37
|
-
declare const smugmugListChildNodes:
|
|
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]>;
|
|
39
|
+
declare const smugmugListChildNodes: AppAction<typeof SmugmugListChildNodesInput, typeof SmugmugListChildNodesOutput, typeof smugmug.credential>;
|
|
42
40
|
//#endregion
|
|
43
41
|
export { smugmugListChildNodes };
|
|
44
42
|
//# 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":"
|
|
1
|
+
{"version":3,"file":"list-child-nodes.d.mts","names":[],"sources":["../../src/actions/list-child-nodes.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cA+B1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -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 = 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":"
|
|
1
|
+
{"version":3,"file":"list-child-nodes.mjs","names":[],"sources":["../../src/actions/list-child-nodes.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { smugmug } from \"../app\";\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: AppAction<\n typeof SmugmugListChildNodesInput,\n typeof SmugmugListChildNodesOutput,\n typeof smugmug.credential\n> = 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":";;;;AAMA,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,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACtF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACvF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACpF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,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G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAMhE,MAAa,wBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdyC,EAAE,OAAO;EAClD,MAAM,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjK,OAAO,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAWhB;AACV,CAAC"}
|
|
@@ -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 = 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":"
|
|
1
|
+
{"version":3,"file":"search-user-content.cjs","names":["z","action"],"sources":["../../src/actions/search-user-content.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { smugmug } from \"../app\";\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: AppAction<\n typeof SmugmugSearchUserContentInput,\n typeof SmugmugSearchUserContentOutput,\n typeof smugmug.credential\n> = 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":";;;;AAMA,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,CA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AC,SAAS,CAAC,CAAC,SAAS;CAC9E,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,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,2BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { smugmug } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/search-user-content.d.ts
|
|
@@ -67,13 +69,7 @@ declare const SmugmugSearchUserContentOutput: z.ZodObject<{
|
|
|
67
69
|
}, z.core.$loose>>>;
|
|
68
70
|
}, z.core.$loose>>;
|
|
69
71
|
}, z.core.$loose>;
|
|
70
|
-
declare const smugmugSearchUserContent:
|
|
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]>;
|
|
72
|
+
declare const smugmugSearchUserContent: AppAction<typeof SmugmugSearchUserContentInput, typeof SmugmugSearchUserContentOutput, typeof smugmug.credential>;
|
|
77
73
|
//#endregion
|
|
78
74
|
export { smugmugSearchUserContent };
|
|
79
75
|
//# 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":"
|
|
1
|
+
{"version":3,"file":"search-user-content.d.cts","names":[],"sources":["../../src/actions/search-user-content.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;cAkD7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { smugmug } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/search-user-content.d.ts
|
|
@@ -67,13 +69,7 @@ declare const SmugmugSearchUserContentOutput: z.ZodObject<{
|
|
|
67
69
|
}, z.core.$loose>>>;
|
|
68
70
|
}, z.core.$loose>>;
|
|
69
71
|
}, z.core.$loose>;
|
|
70
|
-
declare const smugmugSearchUserContent:
|
|
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]>;
|
|
72
|
+
declare const smugmugSearchUserContent: AppAction<typeof SmugmugSearchUserContentInput, typeof SmugmugSearchUserContentOutput, typeof smugmug.credential>;
|
|
77
73
|
//#endregion
|
|
78
74
|
export { smugmugSearchUserContent };
|
|
79
75
|
//# sourceMappingURL=search-user-content.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-user-content.d.mts","names":[],"sources":["../../src/actions/search-user-content.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"search-user-content.d.mts","names":[],"sources":["../../src/actions/search-user-content.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;cAkD7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-user-content.mjs","names":[],"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":"
|
|
1
|
+
{"version":3,"file":"search-user-content.mjs","names":[],"sources":["../../src/actions/search-user-content.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { smugmug } from \"../app\";\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: AppAction<\n typeof SmugmugSearchUserContentInput,\n typeof SmugmugSearchUserContentOutput,\n typeof smugmug.credential\n> = 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":";;;;AAMA,MAAa,gCAAgC,EAAE,OAAO;CACpD,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,0JAA0J;CACjL,OAAO,EAAE,KAAK;EAAC;EAAW;EAAU;CAAQ,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC9F,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACtH,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;CACjK,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F;AAC9H,CAAC;AACD,MAAM,yCAAyC,EAAE,OAAO;CACtD,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;AACrG,CAAC,CAA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IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAM,oDAAoD,EAAE,OAAO;CACjE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,OAAO,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;AAOxE,MAAa,2BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAf4C,EAAE,OAAO;EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,UAAU,kDAAkD,SAAS;CACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unlock-album.cjs","names":["z","action"],"sources":["../../src/actions/unlock-album.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmugmugUnlockAlbumInput = z.object({\n Password: z.string().describe(\"The password required to unlock the album. Must match the album's configured password.\"),\n album_key: z.string().describe(\"The album's unique key (e.g., 'GxmcTJ'). This identifies the password-protected album to unlock.\"),\n});\nexport const SmugmugUnlockAlbumOutput = z.object({\n Uri: z.string().describe(\"The API URI of the unlocked album.\").nullable().optional(),\n ResponseLevel: z.string().describe(\"The level of detail in the response.\").nullable().optional(),\n}).passthrough().describe(\"Response from unlocking an album.\");\n\nexport const smugmugUnlockAlbum = action(\"SMUGMUG_UNLOCK_ALBUM\", {\n slug: \"smugmug-unlock-album\",\n name: \"Unlock Album\",\n description: \"Tool to unlock a password-protected SmugMug album. Use when you need to access content in a locked album. Only available for albums that are currently password-protected.\",\n input: SmugmugUnlockAlbumInput,\n output: SmugmugUnlockAlbumOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"unlock-album.cjs","names":["z","action"],"sources":["../../src/actions/unlock-album.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { smugmug } from \"../app\";\n\nexport const SmugmugUnlockAlbumInput = z.object({\n Password: z.string().describe(\"The password required to unlock the album. Must match the album's configured password.\"),\n album_key: z.string().describe(\"The album's unique key (e.g., 'GxmcTJ'). This identifies the password-protected album to unlock.\"),\n});\nexport const SmugmugUnlockAlbumOutput = z.object({\n Uri: z.string().describe(\"The API URI of the unlocked album.\").nullable().optional(),\n ResponseLevel: z.string().describe(\"The level of detail in the response.\").nullable().optional(),\n}).passthrough().describe(\"Response from unlocking an album.\");\n\nexport const smugmugUnlockAlbum: AppAction<\n typeof SmugmugUnlockAlbumInput,\n typeof SmugmugUnlockAlbumOutput,\n typeof smugmug.credential\n> = action(\"SMUGMUG_UNLOCK_ALBUM\", {\n slug: \"smugmug-unlock-album\",\n name: \"Unlock Album\",\n description: \"Tool to unlock a password-protected SmugMug album. Use when you need to access content in a locked album. Only available for albums that are currently password-protected.\",\n input: SmugmugUnlockAlbumInput,\n output: SmugmugUnlockAlbumOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF;CACtH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG;AACnI,CAAC;AACD,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAE7D,MAAa,qBAITC,eAAAA,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { smugmug } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/unlock-album.d.ts
|
|
@@ -9,10 +11,7 @@ declare const SmugmugUnlockAlbumOutput: z.ZodObject<{
|
|
|
9
11
|
Uri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
12
|
ResponseLevel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const smugmugUnlockAlbum:
|
|
13
|
-
Password: string;
|
|
14
|
-
album_key: string;
|
|
15
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
14
|
+
declare const smugmugUnlockAlbum: AppAction<typeof SmugmugUnlockAlbumInput, typeof SmugmugUnlockAlbumOutput, typeof smugmug.credential>;
|
|
16
15
|
//#endregion
|
|
17
16
|
export { smugmugUnlockAlbum };
|
|
18
17
|
//# sourceMappingURL=unlock-album.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unlock-album.d.cts","names":[],"sources":["../../src/actions/unlock-album.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"unlock-album.d.cts","names":[],"sources":["../../src/actions/unlock-album.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAIvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAKxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { smugmug } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/unlock-album.d.ts
|
|
@@ -9,10 +11,7 @@ declare const SmugmugUnlockAlbumOutput: z.ZodObject<{
|
|
|
9
11
|
Uri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
12
|
ResponseLevel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const smugmugUnlockAlbum:
|
|
13
|
-
Password: string;
|
|
14
|
-
album_key: string;
|
|
15
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
14
|
+
declare const smugmugUnlockAlbum: AppAction<typeof SmugmugUnlockAlbumInput, typeof SmugmugUnlockAlbumOutput, typeof smugmug.credential>;
|
|
16
15
|
//#endregion
|
|
17
16
|
export { smugmugUnlockAlbum };
|
|
18
17
|
//# sourceMappingURL=unlock-album.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unlock-album.d.mts","names":[],"sources":["../../src/actions/unlock-album.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"unlock-album.d.mts","names":[],"sources":["../../src/actions/unlock-album.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAIvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAKxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unlock-album.mjs","names":[],"sources":["../../src/actions/unlock-album.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmugmugUnlockAlbumInput = z.object({\n Password: z.string().describe(\"The password required to unlock the album. Must match the album's configured password.\"),\n album_key: z.string().describe(\"The album's unique key (e.g., 'GxmcTJ'). This identifies the password-protected album to unlock.\"),\n});\nexport const SmugmugUnlockAlbumOutput = z.object({\n Uri: z.string().describe(\"The API URI of the unlocked album.\").nullable().optional(),\n ResponseLevel: z.string().describe(\"The level of detail in the response.\").nullable().optional(),\n}).passthrough().describe(\"Response from unlocking an album.\");\n\nexport const smugmugUnlockAlbum = action(\"SMUGMUG_UNLOCK_ALBUM\", {\n slug: \"smugmug-unlock-album\",\n name: \"Unlock Album\",\n description: \"Tool to unlock a password-protected SmugMug album. Use when you need to access content in a locked album. Only available for albums that are currently password-protected.\",\n input: SmugmugUnlockAlbumInput,\n output: SmugmugUnlockAlbumOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"unlock-album.mjs","names":[],"sources":["../../src/actions/unlock-album.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { smugmug } from \"../app\";\n\nexport const SmugmugUnlockAlbumInput = z.object({\n Password: z.string().describe(\"The password required to unlock the album. Must match the album's configured password.\"),\n album_key: z.string().describe(\"The album's unique key (e.g., 'GxmcTJ'). This identifies the password-protected album to unlock.\"),\n});\nexport const SmugmugUnlockAlbumOutput = z.object({\n Uri: z.string().describe(\"The API URI of the unlocked album.\").nullable().optional(),\n ResponseLevel: z.string().describe(\"The level of detail in the response.\").nullable().optional(),\n}).passthrough().describe(\"Response from unlocking an album.\");\n\nexport const smugmugUnlockAlbum: AppAction<\n typeof SmugmugUnlockAlbumInput,\n typeof SmugmugUnlockAlbumOutput,\n typeof smugmug.credential\n> = action(\"SMUGMUG_UNLOCK_ALBUM\", {\n slug: \"smugmug-unlock-album\",\n name: \"Unlock Album\",\n description: \"Tool to unlock a password-protected SmugMug album. Use when you need to access content in a locked album. Only available for albums that are currently password-protected.\",\n input: SmugmugUnlockAlbumInput,\n output: SmugmugUnlockAlbumOutput,\n});\n"],"mappings":";;;AAeA,MAAa,qBAIT,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBqC,EAAE,OAAO;EAC9C,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF;EACtH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG;CACnI,CAcS;CACP,QAdsC,EAAE,OAAO;EAC/C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unlock-user.cjs","names":["z","action"],"sources":["../../src/actions/unlock-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmugmugUnlockUserInput = z.object({\n nickname: z.string().describe(\"The user's nickname (username) whose site should be unlocked. This is the SmugMug user identifier.\"),\n password: z.string().describe(\"The site password required to unlock the user's password-protected site.\"),\n});\nexport const SmugmugUnlockUserOutput = z.object({\n Uri: z.string().describe(\"The API URI for the user resource.\").nullable().optional(),\n ResponseLevel: z.string().describe(\"The level of detail in the response (e.g., 'Public').\").nullable().optional(),\n}).passthrough().describe(\"Response from unlocking a user's site.\");\n\nexport const smugmugUnlockUser = action(\"SMUGMUG_UNLOCK_USER\", {\n slug: \"smugmug-unlock-user\",\n name: \"Unlock User Site\",\n description: \"Tool to unlock a user's password-protected SmugMug site. Use when you need to access a locked user's site content. This action is only available if the user's site is currently locked with a password.\",\n input: SmugmugUnlockUserInput,\n output: SmugmugUnlockUserOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"unlock-user.cjs","names":["z","action"],"sources":["../../src/actions/unlock-user.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { smugmug } from \"../app\";\n\nexport const SmugmugUnlockUserInput = z.object({\n nickname: z.string().describe(\"The user's nickname (username) whose site should be unlocked. This is the SmugMug user identifier.\"),\n password: z.string().describe(\"The site password required to unlock the user's password-protected site.\"),\n});\nexport const SmugmugUnlockUserOutput = z.object({\n Uri: z.string().describe(\"The API URI for the user resource.\").nullable().optional(),\n ResponseLevel: z.string().describe(\"The level of detail in the response (e.g., 'Public').\").nullable().optional(),\n}).passthrough().describe(\"Response from unlocking a user's site.\");\n\nexport const smugmugUnlockUser: AppAction<\n typeof SmugmugUnlockUserInput,\n typeof SmugmugUnlockUserOutput,\n typeof smugmug.credential\n> = action(\"SMUGMUG_UNLOCK_USER\", {\n slug: \"smugmug-unlock-user\",\n name: \"Unlock User Site\",\n description: \"Tool to unlock a user's password-protected SmugMug site. Use when you need to access a locked user's site content. This action is only available if the user's site is currently locked with a password.\",\n input: SmugmugUnlockUserInput,\n output: SmugmugUnlockUserOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG;CAClI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;AAC1G,CAAC;AACD,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,oBAITC,eAAAA,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { smugmug } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/unlock-user.d.ts
|
|
@@ -9,10 +11,7 @@ declare const SmugmugUnlockUserOutput: z.ZodObject<{
|
|
|
9
11
|
Uri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
12
|
ResponseLevel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const smugmugUnlockUser:
|
|
13
|
-
nickname: string;
|
|
14
|
-
password: string;
|
|
15
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
14
|
+
declare const smugmugUnlockUser: AppAction<typeof SmugmugUnlockUserInput, typeof SmugmugUnlockUserOutput, typeof smugmug.credential>;
|
|
16
15
|
//#endregion
|
|
17
16
|
export { smugmugUnlockUser };
|
|
18
17
|
//# sourceMappingURL=unlock-user.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unlock-user.d.cts","names":[],"sources":["../../src/actions/unlock-user.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"unlock-user.d.cts","names":[],"sources":["../../src/actions/unlock-user.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;cAItB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAKvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { smugmug } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/unlock-user.d.ts
|
|
@@ -9,10 +11,7 @@ declare const SmugmugUnlockUserOutput: z.ZodObject<{
|
|
|
9
11
|
Uri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
12
|
ResponseLevel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const smugmugUnlockUser:
|
|
13
|
-
nickname: string;
|
|
14
|
-
password: string;
|
|
15
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
14
|
+
declare const smugmugUnlockUser: AppAction<typeof SmugmugUnlockUserInput, typeof SmugmugUnlockUserOutput, typeof smugmug.credential>;
|
|
16
15
|
//#endregion
|
|
17
16
|
export { smugmugUnlockUser };
|
|
18
17
|
//# sourceMappingURL=unlock-user.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unlock-user.d.mts","names":[],"sources":["../../src/actions/unlock-user.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"unlock-user.d.mts","names":[],"sources":["../../src/actions/unlock-user.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;cAItB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAKvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,OAAA,CAAQ,UAAA"}
|