@keystrokehq/smugmug 0.1.5 → 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 -15
- package/dist/actions/get-album-highlight-image.d.cts.map +1 -1
- package/dist/actions/get-album-highlight-image.d.mts +3 -15
- 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 -16
- package/dist/actions/get-album-image.d.cts.map +1 -1
- package/dist/actions/get-album-image.d.mts +3 -16
- 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 -17
- package/dist/actions/get-album-images.d.cts.map +1 -1
- package/dist/actions/get-album-images.d.mts +3 -17
- 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 -15
- package/dist/actions/get-album.d.cts.map +1 -1
- package/dist/actions/get-album.d.mts +3 -15
- 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 -17
- package/dist/actions/get-folder-albums.d.cts.map +1 -1
- package/dist/actions/get-folder-albums.d.mts +3 -17
- 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 -16
- package/dist/actions/get-folder-by-user-path.d.cts.map +1 -1
- package/dist/actions/get-folder-by-user-path.d.mts +3 -16
- 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 -15
- package/dist/actions/get-folder-details.d.cts.map +1 -1
- package/dist/actions/get-folder-details.d.mts +3 -15
- 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 -17
- package/dist/actions/get-folder-subfolders.d.cts.map +1 -1
- package/dist/actions/get-folder-subfolders.d.mts +3 -17
- 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 -15
- package/dist/actions/get-image-metadata.d.cts.map +1 -1
- package/dist/actions/get-image-metadata.d.mts +3 -15
- 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 -15
- package/dist/actions/get-image-size-details.d.cts.map +1 -1
- package/dist/actions/get-image-size-details.d.mts +3 -15
- 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 -15
- package/dist/actions/get-image-sizes.d.cts.map +1 -1
- package/dist/actions/get-image-sizes.d.mts +3 -15
- 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 -15
- package/dist/actions/get-image.d.cts.map +1 -1
- package/dist/actions/get-image.d.mts +3 -15
- 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 -15
- package/dist/actions/get-node-highlight-image.d.cts.map +1 -1
- package/dist/actions/get-node-highlight-image.d.mts +3 -15
- 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 -15
- package/dist/actions/get-node-parent.d.cts.map +1 -1
- package/dist/actions/get-node-parent.d.mts +3 -15
- 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 -15
- package/dist/actions/get-node-parents.d.cts.map +1 -1
- package/dist/actions/get-node-parents.d.mts +3 -15
- 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 -15
- package/dist/actions/get-user-bio-image.d.cts.map +1 -1
- package/dist/actions/get-user-bio-image.d.mts +3 -15
- 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 -15
- package/dist/actions/get-user-featured-albums.d.cts.map +1 -1
- package/dist/actions/get-user-featured-albums.d.mts +3 -15
- 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 -15
- package/dist/actions/get-user-features.d.cts.map +1 -1
- package/dist/actions/get-user-features.d.mts +3 -15
- 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 -15
- package/dist/actions/get-user-profile.d.cts.map +1 -1
- package/dist/actions/get-user-profile.d.mts +3 -15
- 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 -15
- package/dist/actions/get-user-root-node.d.cts.map +1 -1
- package/dist/actions/get-user-root-node.d.mts +3 -15
- 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 -15
- package/dist/actions/get-user.d.cts.map +1 -1
- package/dist/actions/get-user.d.mts +3 -15
- 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 -17
- package/dist/actions/list-child-nodes.d.cts.map +1 -1
- package/dist/actions/list-child-nodes.d.mts +3 -17
- 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 -19
- package/dist/actions/search-user-content.d.cts.map +1 -1
- package/dist/actions/search-user-content.d.mts +3 -19
- 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 -16
- package/dist/actions/unlock-album.d.cts.map +1 -1
- package/dist/actions/unlock-album.d.mts +3 -16
- 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 -16
- package/dist/actions/unlock-user.d.cts.map +1 -1
- package/dist/actions/unlock-user.d.mts +3 -16
- 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 +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- 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-album.cjs","names":["z","action"],"sources":["../../src/actions/get-album.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmugmugGetAlbumInput = z.object({\n album_key: z.string().describe(\"The unique album key that identifies the album on SmugMug. This is typically a 6-character alphanumeric string (e.g., 'SJT3DX').\"),\n});\nconst SmugmugGetAlbum_AlbumDataSchema = z.object({\n Uri: z.string().describe(\"The API URI for this album.\").nullable(),\n EXIF: z.boolean().describe(\"Whether EXIF data is displayed.\").nullable().optional(),\n Name: z.string().describe(\"The display name of the album.\").nullable(),\n Uris: z.record(z.string(), z.unknown()).describe(\"URIs to related resources (AlbumImages, HighlightImage, User, Node, etc.).\").nullable().optional(),\n Title: z.string().describe(\"The title of the album.\").nullable().optional(),\n CanBuy: z.boolean().describe(\"Whether products can be purchased from this album.\").nullable().optional(),\n NodeID: z.string().describe(\"The node ID associated with this album.\").nullable().optional(),\n WebUri: z.string().describe(\"The public URL to view this album on SmugMug.\").nullable().optional(),\n UrlName: z.string().describe(\"User-configurable URL component.\").nullable().optional(),\n UrlPath: z.string().describe(\"The full URL path to the album.\").nullable().optional(),\n AlbumKey: z.string().describe(\"The unique album key.\").nullable(),\n CanShare: z.boolean().describe(\"Whether the album can be shared.\").nullable().optional(),\n External: z.boolean().describe(\"Whether external embedding is permitted.\").nullable().optional(),\n Keywords: z.string().describe(\"Comma-separated keywords/tags for the album.\").nullable().optional(),\n NiceName: z.string().describe(\"URL-friendly name of the album.\").nullable().optional(),\n Packages: z.boolean().describe(\"Whether package sales are enabled.\").nullable().optional(),\n Filenames: z.boolean().describe(\"Whether filenames are displayed.\").nullable().optional(),\n Geography: z.boolean().describe(\"Whether geographic information is displayed.\").nullable().optional(),\n Protected: z.boolean().describe(\"Whether the album is password protected.\").nullable().optional(),\n ImageCount: z.number().int().describe(\"Number of images in the album.\").nullable().optional(),\n SortMethod: z.string().describe(\"How images are sorted in the album (e.g., 'Position').\").nullable().optional(),\n CanFavorite: z.boolean().describe(\"Whether users can favorite this album.\").nullable().optional(),\n Description: z.string().describe(\"Human-readable description of the album.\").nullable().optional(),\n LastUpdated: z.string().describe(\"ISO 8601 timestamp when the album was last updated.\").nullable().optional(),\n PasswordHint: z.string().describe(\"Hint for the album password if protected.\").nullable().optional(),\n SecurityType: z.string().describe(\"The security type for the album (e.g., 'None', 'Password').\").nullable().optional(),\n ResponseLevel: z.string().describe(\"The level of detail in the response (e.g., 'Public').\").nullable().optional(),\n SortDirection: z.string().describe(\"Sort direction (e.g., 'Ascending', 'Descending').\").nullable().optional(),\n AllowDownloads: z.boolean().describe(\"Whether downloads are allowed for this album.\").nullable().optional(),\n UriDescription: z.string().describe(\"Description of what this URI represents.\").nullable().optional(),\n CommerceLightbox: z.boolean().describe(\"Whether commerce lightbox is enabled.\").nullable().optional(),\n ImagesLastUpdated: z.string().describe(\"ISO 8601 timestamp when images in the album were last updated.\").nullable().optional(),\n HasDownloadPassword: z.boolean().describe(\"Whether downloads require a password.\").nullable().optional(),\n}).passthrough().describe(\"Detailed album information returned by the SmugMug API.\");\nexport const SmugmugGetAlbumOutput = z.object({\n Uri: z.string().describe(\"The API URI for this response.\").nullable(),\n Album: SmugmugGetAlbum_AlbumDataSchema.nullable(),\n DocUri: z.string().describe(\"URI to the API documentation for this endpoint.\").nullable().optional(),\n Locator: z.string().describe(\"The locator type.\").nullable().optional(),\n LocatorType: z.string().describe(\"The type of locator.\").nullable().optional(),\n EndpointType: z.string().describe(\"The endpoint type for this response.\").nullable().optional(),\n UriDescription: z.string().describe(\"Description of what this URI represents.\").nullable().optional(),\n}).passthrough().describe(\"Response containing album details.\");\n\nexport const smugmugGetAlbum = action(\"SMUGMUG_GET_ALBUM\", {\n slug: \"smugmug-get-album\",\n name: \"Get Album\",\n description: \"Retrieves detailed information about a SmugMug album using its album key. Returns album settings, metadata, image count, and links to related resources like images and user info. Use this to get comprehensive details about a specific album/gallery.\",\n input: SmugmugGetAlbumInput,\n output: SmugmugGetAlbumOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-album.cjs","names":["z","action"],"sources":["../../src/actions/get-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 SmugmugGetAlbumInput = z.object({\n album_key: z.string().describe(\"The unique album key that identifies the album on SmugMug. This is typically a 6-character alphanumeric string (e.g., 'SJT3DX').\"),\n});\nconst SmugmugGetAlbum_AlbumDataSchema = z.object({\n Uri: z.string().describe(\"The API URI for this album.\").nullable(),\n EXIF: z.boolean().describe(\"Whether EXIF data is displayed.\").nullable().optional(),\n Name: z.string().describe(\"The display name of the album.\").nullable(),\n Uris: z.record(z.string(), z.unknown()).describe(\"URIs to related resources (AlbumImages, HighlightImage, User, Node, etc.).\").nullable().optional(),\n Title: z.string().describe(\"The title of the album.\").nullable().optional(),\n CanBuy: z.boolean().describe(\"Whether products can be purchased from this album.\").nullable().optional(),\n NodeID: z.string().describe(\"The node ID associated with this album.\").nullable().optional(),\n WebUri: z.string().describe(\"The public URL to view this album on SmugMug.\").nullable().optional(),\n UrlName: z.string().describe(\"User-configurable URL component.\").nullable().optional(),\n UrlPath: z.string().describe(\"The full URL path to the album.\").nullable().optional(),\n AlbumKey: z.string().describe(\"The unique album key.\").nullable(),\n CanShare: z.boolean().describe(\"Whether the album can be shared.\").nullable().optional(),\n External: z.boolean().describe(\"Whether external embedding is permitted.\").nullable().optional(),\n Keywords: z.string().describe(\"Comma-separated keywords/tags for the album.\").nullable().optional(),\n NiceName: z.string().describe(\"URL-friendly name of the album.\").nullable().optional(),\n Packages: z.boolean().describe(\"Whether package sales are enabled.\").nullable().optional(),\n Filenames: z.boolean().describe(\"Whether filenames are displayed.\").nullable().optional(),\n Geography: z.boolean().describe(\"Whether geographic information is displayed.\").nullable().optional(),\n Protected: z.boolean().describe(\"Whether the album is password protected.\").nullable().optional(),\n ImageCount: z.number().int().describe(\"Number of images in the album.\").nullable().optional(),\n SortMethod: z.string().describe(\"How images are sorted in the album (e.g., 'Position').\").nullable().optional(),\n CanFavorite: z.boolean().describe(\"Whether users can favorite this album.\").nullable().optional(),\n Description: z.string().describe(\"Human-readable description of the album.\").nullable().optional(),\n LastUpdated: z.string().describe(\"ISO 8601 timestamp when the album was last updated.\").nullable().optional(),\n PasswordHint: z.string().describe(\"Hint for the album password if protected.\").nullable().optional(),\n SecurityType: z.string().describe(\"The security type for the album (e.g., 'None', 'Password').\").nullable().optional(),\n ResponseLevel: z.string().describe(\"The level of detail in the response (e.g., 'Public').\").nullable().optional(),\n SortDirection: z.string().describe(\"Sort direction (e.g., 'Ascending', 'Descending').\").nullable().optional(),\n AllowDownloads: z.boolean().describe(\"Whether downloads are allowed for this album.\").nullable().optional(),\n UriDescription: z.string().describe(\"Description of what this URI represents.\").nullable().optional(),\n CommerceLightbox: z.boolean().describe(\"Whether commerce lightbox is enabled.\").nullable().optional(),\n ImagesLastUpdated: z.string().describe(\"ISO 8601 timestamp when images in the album were last updated.\").nullable().optional(),\n HasDownloadPassword: z.boolean().describe(\"Whether downloads require a password.\").nullable().optional(),\n}).passthrough().describe(\"Detailed album information returned by the SmugMug API.\");\nexport const SmugmugGetAlbumOutput = z.object({\n Uri: z.string().describe(\"The API URI for this response.\").nullable(),\n Album: SmugmugGetAlbum_AlbumDataSchema.nullable(),\n DocUri: z.string().describe(\"URI to the API documentation for this endpoint.\").nullable().optional(),\n Locator: z.string().describe(\"The locator type.\").nullable().optional(),\n LocatorType: z.string().describe(\"The type of locator.\").nullable().optional(),\n EndpointType: z.string().describe(\"The endpoint type for this response.\").nullable().optional(),\n UriDescription: z.string().describe(\"Description of what this URI represents.\").nullable().optional(),\n}).passthrough().describe(\"Response containing album details.\");\n\nexport const smugmugGetAlbum: AppAction<\n typeof SmugmugGetAlbumInput,\n typeof SmugmugGetAlbumOutput,\n typeof smugmug.credential\n> = action(\"SMUGMUG_GET_ALBUM\", {\n slug: \"smugmug-get-album\",\n name: \"Get Album\",\n description: \"Retrieves detailed information about a SmugMug album using its album key. Returns album settings, metadata, image count, and links to related resources like images and user info. Use this to get comprehensive details about a specific album/gallery.\",\n input: SmugmugGetAlbumInput,\n output: SmugmugGetAlbumOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kIAAkI,EACnK,CAAC;AACD,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACjE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SA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SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAE9D,MAAa,kBAITC,eAAAA,OAAO,qBAAqB;CAC9B,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/get-album.d.ts
|
|
@@ -47,21 +49,7 @@ declare const SmugmugGetAlbumOutput: z.ZodObject<{
|
|
|
47
49
|
EndpointType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
48
50
|
UriDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
49
51
|
}, z.core.$loose>;
|
|
50
|
-
declare const smugmugGetAlbum:
|
|
51
|
-
album_key: string;
|
|
52
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"smugmug", z.ZodObject<{
|
|
53
|
-
connectionId: z.ZodString;
|
|
54
|
-
entityId: z.ZodString;
|
|
55
|
-
instanceId: z.ZodString;
|
|
56
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
57
|
-
generic_api_key: z.ZodString;
|
|
58
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"smugmug", z.ZodObject<{
|
|
59
|
-
connectionId: z.ZodString;
|
|
60
|
-
entityId: z.ZodString;
|
|
61
|
-
instanceId: z.ZodString;
|
|
62
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
63
|
-
generic_api_key: z.ZodString;
|
|
64
|
-
}, z.core.$strip>>]>;
|
|
52
|
+
declare const smugmugGetAlbum: AppAction<typeof SmugmugGetAlbumInput, typeof SmugmugGetAlbumOutput, typeof smugmug.credential>;
|
|
65
53
|
//#endregion
|
|
66
54
|
export { smugmugGetAlbum };
|
|
67
55
|
//# sourceMappingURL=get-album.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-album.d.cts","names":[],"sources":["../../src/actions/get-album.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-album.d.cts","names":[],"sources":["../../src/actions/get-album.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;cAsCpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAUrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,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-album.d.ts
|
|
@@ -47,21 +49,7 @@ declare const SmugmugGetAlbumOutput: z.ZodObject<{
|
|
|
47
49
|
EndpointType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
48
50
|
UriDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
49
51
|
}, z.core.$loose>;
|
|
50
|
-
declare const smugmugGetAlbum:
|
|
51
|
-
album_key: string;
|
|
52
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"smugmug", z.ZodObject<{
|
|
53
|
-
connectionId: z.ZodString;
|
|
54
|
-
entityId: z.ZodString;
|
|
55
|
-
instanceId: z.ZodString;
|
|
56
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
57
|
-
generic_api_key: z.ZodString;
|
|
58
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"smugmug", z.ZodObject<{
|
|
59
|
-
connectionId: z.ZodString;
|
|
60
|
-
entityId: z.ZodString;
|
|
61
|
-
instanceId: z.ZodString;
|
|
62
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
63
|
-
generic_api_key: z.ZodString;
|
|
64
|
-
}, z.core.$strip>>]>;
|
|
52
|
+
declare const smugmugGetAlbum: AppAction<typeof SmugmugGetAlbumInput, typeof SmugmugGetAlbumOutput, typeof smugmug.credential>;
|
|
65
53
|
//#endregion
|
|
66
54
|
export { smugmugGetAlbum };
|
|
67
55
|
//# sourceMappingURL=get-album.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-album.d.mts","names":[],"sources":["../../src/actions/get-album.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-album.d.mts","names":[],"sources":["../../src/actions/get-album.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;cAsCpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAUrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-album.mjs","names":[],"sources":["../../src/actions/get-album.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmugmugGetAlbumInput = z.object({\n album_key: z.string().describe(\"The unique album key that identifies the album on SmugMug. This is typically a 6-character alphanumeric string (e.g., 'SJT3DX').\"),\n});\nconst SmugmugGetAlbum_AlbumDataSchema = z.object({\n Uri: z.string().describe(\"The API URI for this album.\").nullable(),\n EXIF: z.boolean().describe(\"Whether EXIF data is displayed.\").nullable().optional(),\n Name: z.string().describe(\"The display name of the album.\").nullable(),\n Uris: z.record(z.string(), z.unknown()).describe(\"URIs to related resources (AlbumImages, HighlightImage, User, Node, etc.).\").nullable().optional(),\n Title: z.string().describe(\"The title of the album.\").nullable().optional(),\n CanBuy: z.boolean().describe(\"Whether products can be purchased from this album.\").nullable().optional(),\n NodeID: z.string().describe(\"The node ID associated with this album.\").nullable().optional(),\n WebUri: z.string().describe(\"The public URL to view this album on SmugMug.\").nullable().optional(),\n UrlName: z.string().describe(\"User-configurable URL component.\").nullable().optional(),\n UrlPath: z.string().describe(\"The full URL path to the album.\").nullable().optional(),\n AlbumKey: z.string().describe(\"The unique album key.\").nullable(),\n CanShare: z.boolean().describe(\"Whether the album can be shared.\").nullable().optional(),\n External: z.boolean().describe(\"Whether external embedding is permitted.\").nullable().optional(),\n Keywords: z.string().describe(\"Comma-separated keywords/tags for the album.\").nullable().optional(),\n NiceName: z.string().describe(\"URL-friendly name of the album.\").nullable().optional(),\n Packages: z.boolean().describe(\"Whether package sales are enabled.\").nullable().optional(),\n Filenames: z.boolean().describe(\"Whether filenames are displayed.\").nullable().optional(),\n Geography: z.boolean().describe(\"Whether geographic information is displayed.\").nullable().optional(),\n Protected: z.boolean().describe(\"Whether the album is password protected.\").nullable().optional(),\n ImageCount: z.number().int().describe(\"Number of images in the album.\").nullable().optional(),\n SortMethod: z.string().describe(\"How images are sorted in the album (e.g., 'Position').\").nullable().optional(),\n CanFavorite: z.boolean().describe(\"Whether users can favorite this album.\").nullable().optional(),\n Description: z.string().describe(\"Human-readable description of the album.\").nullable().optional(),\n LastUpdated: z.string().describe(\"ISO 8601 timestamp when the album was last updated.\").nullable().optional(),\n PasswordHint: z.string().describe(\"Hint for the album password if protected.\").nullable().optional(),\n SecurityType: z.string().describe(\"The security type for the album (e.g., 'None', 'Password').\").nullable().optional(),\n ResponseLevel: z.string().describe(\"The level of detail in the response (e.g., 'Public').\").nullable().optional(),\n SortDirection: z.string().describe(\"Sort direction (e.g., 'Ascending', 'Descending').\").nullable().optional(),\n AllowDownloads: z.boolean().describe(\"Whether downloads are allowed for this album.\").nullable().optional(),\n UriDescription: z.string().describe(\"Description of what this URI represents.\").nullable().optional(),\n CommerceLightbox: z.boolean().describe(\"Whether commerce lightbox is enabled.\").nullable().optional(),\n ImagesLastUpdated: z.string().describe(\"ISO 8601 timestamp when images in the album were last updated.\").nullable().optional(),\n HasDownloadPassword: z.boolean().describe(\"Whether downloads require a password.\").nullable().optional(),\n}).passthrough().describe(\"Detailed album information returned by the SmugMug API.\");\nexport const SmugmugGetAlbumOutput = z.object({\n Uri: z.string().describe(\"The API URI for this response.\").nullable(),\n Album: SmugmugGetAlbum_AlbumDataSchema.nullable(),\n DocUri: z.string().describe(\"URI to the API documentation for this endpoint.\").nullable().optional(),\n Locator: z.string().describe(\"The locator type.\").nullable().optional(),\n LocatorType: z.string().describe(\"The type of locator.\").nullable().optional(),\n EndpointType: z.string().describe(\"The endpoint type for this response.\").nullable().optional(),\n UriDescription: z.string().describe(\"Description of what this URI represents.\").nullable().optional(),\n}).passthrough().describe(\"Response containing album details.\");\n\nexport const smugmugGetAlbum = action(\"SMUGMUG_GET_ALBUM\", {\n slug: \"smugmug-get-album\",\n name: \"Get Album\",\n description: \"Retrieves detailed information about a SmugMug album using its album key. Returns album settings, metadata, image count, and links to related resources like images and user info. Use this to get comprehensive details about a specific album/gallery.\",\n input: SmugmugGetAlbumInput,\n output: SmugmugGetAlbumOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-album.mjs","names":[],"sources":["../../src/actions/get-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 SmugmugGetAlbumInput = z.object({\n album_key: z.string().describe(\"The unique album key that identifies the album on SmugMug. This is typically a 6-character alphanumeric string (e.g., 'SJT3DX').\"),\n});\nconst SmugmugGetAlbum_AlbumDataSchema = z.object({\n Uri: z.string().describe(\"The API URI for this album.\").nullable(),\n EXIF: z.boolean().describe(\"Whether EXIF data is displayed.\").nullable().optional(),\n Name: z.string().describe(\"The display name of the album.\").nullable(),\n Uris: z.record(z.string(), z.unknown()).describe(\"URIs to related resources (AlbumImages, HighlightImage, User, Node, etc.).\").nullable().optional(),\n Title: z.string().describe(\"The title of the album.\").nullable().optional(),\n CanBuy: z.boolean().describe(\"Whether products can be purchased from this album.\").nullable().optional(),\n NodeID: z.string().describe(\"The node ID associated with this album.\").nullable().optional(),\n WebUri: z.string().describe(\"The public URL to view this album on SmugMug.\").nullable().optional(),\n UrlName: z.string().describe(\"User-configurable URL component.\").nullable().optional(),\n UrlPath: z.string().describe(\"The full URL path to the album.\").nullable().optional(),\n AlbumKey: z.string().describe(\"The unique album key.\").nullable(),\n CanShare: z.boolean().describe(\"Whether the album can be shared.\").nullable().optional(),\n External: z.boolean().describe(\"Whether external embedding is permitted.\").nullable().optional(),\n Keywords: z.string().describe(\"Comma-separated keywords/tags for the album.\").nullable().optional(),\n NiceName: z.string().describe(\"URL-friendly name of the album.\").nullable().optional(),\n Packages: z.boolean().describe(\"Whether package sales are enabled.\").nullable().optional(),\n Filenames: z.boolean().describe(\"Whether filenames are displayed.\").nullable().optional(),\n Geography: z.boolean().describe(\"Whether geographic information is displayed.\").nullable().optional(),\n Protected: z.boolean().describe(\"Whether the album is password protected.\").nullable().optional(),\n ImageCount: z.number().int().describe(\"Number of images in the album.\").nullable().optional(),\n SortMethod: z.string().describe(\"How images are sorted in the album (e.g., 'Position').\").nullable().optional(),\n CanFavorite: z.boolean().describe(\"Whether users can favorite this album.\").nullable().optional(),\n Description: z.string().describe(\"Human-readable description of the album.\").nullable().optional(),\n LastUpdated: z.string().describe(\"ISO 8601 timestamp when the album was last updated.\").nullable().optional(),\n PasswordHint: z.string().describe(\"Hint for the album password if protected.\").nullable().optional(),\n SecurityType: z.string().describe(\"The security type for the album (e.g., 'None', 'Password').\").nullable().optional(),\n ResponseLevel: z.string().describe(\"The level of detail in the response (e.g., 'Public').\").nullable().optional(),\n SortDirection: z.string().describe(\"Sort direction (e.g., 'Ascending', 'Descending').\").nullable().optional(),\n AllowDownloads: z.boolean().describe(\"Whether downloads are allowed for this album.\").nullable().optional(),\n UriDescription: z.string().describe(\"Description of what this URI represents.\").nullable().optional(),\n CommerceLightbox: z.boolean().describe(\"Whether commerce lightbox is enabled.\").nullable().optional(),\n ImagesLastUpdated: z.string().describe(\"ISO 8601 timestamp when images in the album were last updated.\").nullable().optional(),\n HasDownloadPassword: z.boolean().describe(\"Whether downloads require a password.\").nullable().optional(),\n}).passthrough().describe(\"Detailed album information returned by the SmugMug API.\");\nexport const SmugmugGetAlbumOutput = z.object({\n Uri: z.string().describe(\"The API URI for this response.\").nullable(),\n Album: SmugmugGetAlbum_AlbumDataSchema.nullable(),\n DocUri: z.string().describe(\"URI to the API documentation for this endpoint.\").nullable().optional(),\n Locator: z.string().describe(\"The locator type.\").nullable().optional(),\n LocatorType: z.string().describe(\"The type of locator.\").nullable().optional(),\n EndpointType: z.string().describe(\"The endpoint type for this response.\").nullable().optional(),\n UriDescription: z.string().describe(\"Description of what this URI represents.\").nullable().optional(),\n}).passthrough().describe(\"Response containing album details.\");\n\nexport const smugmugGetAlbum: AppAction<\n typeof SmugmugGetAlbumInput,\n typeof SmugmugGetAlbumOutput,\n typeof smugmug.credential\n> = action(\"SMUGMUG_GET_ALBUM\", {\n slug: \"smugmug-get-album\",\n name: \"Get Album\",\n description: \"Retrieves detailed information about a SmugMug album using its album key. Returns album settings, metadata, image count, and links to related resources like images and user info. Use this to get comprehensive details about a specific album/gallery.\",\n input: SmugmugGetAlbumInput,\n output: SmugmugGetAlbumOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uBAAuB,EAAE,OAAO,EAC3C,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kIAAkI,EACnK,CAAC;AACD,MAAM,kCAAkC,EAAE,OAAO;CAC/C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACjE,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,MAAM,EAAE,OAAO,EAAE,OAAO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pG,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,qBAAqB,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAWnF,MAAa,kBAIT,OAAO,qBAAqB;CAC9B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAnBmC,EAAE,OAAO;EAC5C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACpE,OAAO,gCAAgC,SAAS;EAChD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-folder-albums.cjs","names":["z","action"],"sources":["../../src/actions/get-folder-albums.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmugmugGetFolderAlbumsInput = z.object({\n path: z.string().describe(\"The folder path within the user's account (e.g., 'SmugMug' or 'SmugMug/Heroes'). Use '/' to separate nested folders. Omit this parameter or pass empty string to get albums from the root folder.\").optional(),\n FolderID: z.string().describe(\"Optional folder ID filter parameter to narrow results. This is typically a 5-character alphanumeric string.\").optional(),\n nickname: z.string().describe(\"The SmugMug user's nickname/username whose folder to retrieve albums from. This is the user's unique identifier on SmugMug (e.g., 'cmac', 'baldy').\"),\n});\nconst SmugmugGetFolderAlbums_AlbumInfoSchema = z.object({\n Uri: z.string().describe(\"The API URI for the album\").nullable().optional(),\n Name: z.string().describe(\"The display name of the album\").nullable().optional(),\n NodeID: z.string().describe(\"The unique node identifier for the album\").nullable().optional(),\n WebUri: z.string().describe(\"The public URL to view the album on SmugMug\").nullable().optional(),\n Privacy: z.string().describe(\"Privacy setting for the album (e.g., 'Public', 'Unlisted')\").nullable().optional(),\n UrlName: z.string().describe(\"The URL-friendly name of the album\").nullable().optional(),\n UrlPath: z.string().describe(\"The full URL path to the album\").nullable().optional(),\n AlbumKey: z.string().describe(\"The unique key identifier for the album\").nullable().optional(),\n Keywords: z.array(z.string()).describe(\"List of keywords associated with the album\").nullable().optional(),\n DateAdded: z.string().describe(\"ISO 8601 timestamp when the album was created\").nullable().optional(),\n ImageCount: z.number().int().describe(\"The number of images in the album\").nullable().optional(),\n SortMethod: z.string().describe(\"The sort method used for images in the album\").nullable().optional(),\n Description: z.string().describe(\"The user-provided description of the album\").nullable().optional(),\n DateModified: z.string().describe(\"ISO 8601 timestamp when the album was last modified\").nullable().optional(),\n}).passthrough().describe(\"Represents an album within a SmugMug folder.\");\nconst SmugmugGetFolderAlbums_PagesInfoSchema = z.object({\n Count: z.number().int().describe(\"Number of items in current page\").nullable().optional(),\n Start: z.number().int().describe(\"Starting index of current page\").nullable().optional(),\n Total: z.number().int().describe(\"Total number of items\").nullable().optional(),\n LastPage: z.string().describe(\"URI to last page\").nullable().optional(),\n NextPage: z.string().describe(\"URI to next page\").nullable().optional(),\n PrevPage: z.string().describe(\"URI to previous page\").nullable().optional(),\n FirstPage: z.string().describe(\"URI to first page\").nullable().optional(),\n RequestedCount: z.number().int().describe(\"Number of items requested\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for the response.\");\nconst SmugmugGetFolderAlbums_FolderAlbumsDataSchema = z.object({\n Uri: z.string().describe(\"The API URI for this resource\").nullable().optional(),\n Album: z.array(SmugmugGetFolderAlbums_AlbumInfoSchema).describe(\"List of albums in the folder\").nullable().optional(),\n Pages: SmugmugGetFolderAlbums_PagesInfoSchema.nullable().optional(),\n Locator: z.string().describe(\"The locator string for this resource\").nullable().optional(),\n LocatorType: z.string().describe(\"The type of locator (e.g., 'Folder')\").nullable().optional(),\n}).passthrough().describe(\"Response data containing folder albums information.\");\nexport const SmugmugGetFolderAlbumsOutput = z.object({\n Code: z.number().int().describe(\"HTTP status code from the API\").nullable(),\n Message: z.string().describe(\"Response message from the API\").nullable(),\n Response: SmugmugGetFolderAlbums_FolderAlbumsDataSchema.nullable(),\n}).passthrough().describe(\"Response from the SmugMug Get Folder Albums API.\");\n\nexport const smugmugGetFolderAlbums = action(\"SMUGMUG_GET_FOLDER_ALBUMS\", {\n slug: \"smugmug-get-folder-albums\",\n name: \"Get Folder Albums\",\n description: \"Tool to retrieve albums from a specific folder in a SmugMug user's account by nickname and folder path. Use when you need to list albums in a folder using the user's nickname and folder path rather than NodeID. This is particularly useful when you know the folder structure but don't have the NodeID.\",\n input: SmugmugGetFolderAlbumsInput,\n output: SmugmugGetFolderAlbumsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-folder-albums.cjs","names":["z","action"],"sources":["../../src/actions/get-folder-albums.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 SmugmugGetFolderAlbumsInput = z.object({\n path: z.string().describe(\"The folder path within the user's account (e.g., 'SmugMug' or 'SmugMug/Heroes'). Use '/' to separate nested folders. Omit this parameter or pass empty string to get albums from the root folder.\").optional(),\n FolderID: z.string().describe(\"Optional folder ID filter parameter to narrow results. This is typically a 5-character alphanumeric string.\").optional(),\n nickname: z.string().describe(\"The SmugMug user's nickname/username whose folder to retrieve albums from. This is the user's unique identifier on SmugMug (e.g., 'cmac', 'baldy').\"),\n});\nconst SmugmugGetFolderAlbums_AlbumInfoSchema = z.object({\n Uri: z.string().describe(\"The API URI for the album\").nullable().optional(),\n Name: z.string().describe(\"The display name of the album\").nullable().optional(),\n NodeID: z.string().describe(\"The unique node identifier for the album\").nullable().optional(),\n WebUri: z.string().describe(\"The public URL to view the album on SmugMug\").nullable().optional(),\n Privacy: z.string().describe(\"Privacy setting for the album (e.g., 'Public', 'Unlisted')\").nullable().optional(),\n UrlName: z.string().describe(\"The URL-friendly name of the album\").nullable().optional(),\n UrlPath: z.string().describe(\"The full URL path to the album\").nullable().optional(),\n AlbumKey: z.string().describe(\"The unique key identifier for the album\").nullable().optional(),\n Keywords: z.array(z.string()).describe(\"List of keywords associated with the album\").nullable().optional(),\n DateAdded: z.string().describe(\"ISO 8601 timestamp when the album was created\").nullable().optional(),\n ImageCount: z.number().int().describe(\"The number of images in the album\").nullable().optional(),\n SortMethod: z.string().describe(\"The sort method used for images in the album\").nullable().optional(),\n Description: z.string().describe(\"The user-provided description of the album\").nullable().optional(),\n DateModified: z.string().describe(\"ISO 8601 timestamp when the album was last modified\").nullable().optional(),\n}).passthrough().describe(\"Represents an album within a SmugMug folder.\");\nconst SmugmugGetFolderAlbums_PagesInfoSchema = z.object({\n Count: z.number().int().describe(\"Number of items in current page\").nullable().optional(),\n Start: z.number().int().describe(\"Starting index of current page\").nullable().optional(),\n Total: z.number().int().describe(\"Total number of items\").nullable().optional(),\n LastPage: z.string().describe(\"URI to last page\").nullable().optional(),\n NextPage: z.string().describe(\"URI to next page\").nullable().optional(),\n PrevPage: z.string().describe(\"URI to previous page\").nullable().optional(),\n FirstPage: z.string().describe(\"URI to first page\").nullable().optional(),\n RequestedCount: z.number().int().describe(\"Number of items requested\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for the response.\");\nconst SmugmugGetFolderAlbums_FolderAlbumsDataSchema = z.object({\n Uri: z.string().describe(\"The API URI for this resource\").nullable().optional(),\n Album: z.array(SmugmugGetFolderAlbums_AlbumInfoSchema).describe(\"List of albums in the folder\").nullable().optional(),\n Pages: SmugmugGetFolderAlbums_PagesInfoSchema.nullable().optional(),\n Locator: z.string().describe(\"The locator string for this resource\").nullable().optional(),\n LocatorType: z.string().describe(\"The type of locator (e.g., 'Folder')\").nullable().optional(),\n}).passthrough().describe(\"Response data containing folder albums information.\");\nexport const SmugmugGetFolderAlbumsOutput = z.object({\n Code: z.number().int().describe(\"HTTP status code from the API\").nullable(),\n Message: z.string().describe(\"Response message from the API\").nullable(),\n Response: SmugmugGetFolderAlbums_FolderAlbumsDataSchema.nullable(),\n}).passthrough().describe(\"Response from the SmugMug Get Folder Albums API.\");\n\nexport const smugmugGetFolderAlbums: AppAction<\n typeof SmugmugGetFolderAlbumsInput,\n typeof SmugmugGetFolderAlbumsOutput,\n typeof smugmug.credential\n> = action(\"SMUGMUG_GET_FOLDER_ALBUMS\", {\n slug: \"smugmug-get-folder-albums\",\n name: \"Get Folder Albums\",\n description: \"Tool to retrieve albums from a specific folder in a SmugMug user's account by nickname and folder path. Use when you need to list albums in a folder using the user's nickname and folder path rather than NodeID. This is particularly useful when you know the folder structure but don't have the NodeID.\",\n input: SmugmugGetFolderAlbumsInput,\n output: SmugmugGetFolderAlbumsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mMAAmM,CAAC,CAAC,SAAS;CACxO,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CACtJ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qJAAqJ;AACrL,CAAC;AACD,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAA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AAS;CAC9E,OAAOA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,OAAO,uCAAuC,SAAS,CAAC,CAAC,SAAS;CAClE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAC/E,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC1E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACvE,UAAU,8CAA8C,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,yBAITC,eAAAA,OAAO,6BAA6B;CACtC,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/get-folder-albums.d.ts
|
|
@@ -41,23 +43,7 @@ declare const SmugmugGetFolderAlbumsOutput: z.ZodObject<{
|
|
|
41
43
|
LocatorType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
44
|
}, z.core.$loose>>;
|
|
43
45
|
}, z.core.$loose>;
|
|
44
|
-
declare const smugmugGetFolderAlbums:
|
|
45
|
-
nickname: string;
|
|
46
|
-
path?: string | undefined;
|
|
47
|
-
FolderID?: string | undefined;
|
|
48
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"smugmug", z.ZodObject<{
|
|
49
|
-
connectionId: z.ZodString;
|
|
50
|
-
entityId: z.ZodString;
|
|
51
|
-
instanceId: z.ZodString;
|
|
52
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
53
|
-
generic_api_key: z.ZodString;
|
|
54
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"smugmug", z.ZodObject<{
|
|
55
|
-
connectionId: z.ZodString;
|
|
56
|
-
entityId: z.ZodString;
|
|
57
|
-
instanceId: z.ZodString;
|
|
58
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
59
|
-
generic_api_key: z.ZodString;
|
|
60
|
-
}, z.core.$strip>>]>;
|
|
46
|
+
declare const smugmugGetFolderAlbums: AppAction<typeof SmugmugGetFolderAlbumsInput, typeof SmugmugGetFolderAlbumsOutput, typeof smugmug.credential>;
|
|
61
47
|
//#endregion
|
|
62
48
|
export { smugmugGetFolderAlbums };
|
|
63
49
|
//# sourceMappingURL=get-folder-albums.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-folder-albums.d.cts","names":[],"sources":["../../src/actions/get-folder-albums.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-folder-albums.d.cts","names":[],"sources":["../../src/actions/get-folder-albums.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAsC3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,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-folder-albums.d.ts
|
|
@@ -41,23 +43,7 @@ declare const SmugmugGetFolderAlbumsOutput: z.ZodObject<{
|
|
|
41
43
|
LocatorType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
44
|
}, z.core.$loose>>;
|
|
43
45
|
}, z.core.$loose>;
|
|
44
|
-
declare const smugmugGetFolderAlbums:
|
|
45
|
-
nickname: string;
|
|
46
|
-
path?: string | undefined;
|
|
47
|
-
FolderID?: string | undefined;
|
|
48
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"smugmug", z.ZodObject<{
|
|
49
|
-
connectionId: z.ZodString;
|
|
50
|
-
entityId: z.ZodString;
|
|
51
|
-
instanceId: z.ZodString;
|
|
52
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
53
|
-
generic_api_key: z.ZodString;
|
|
54
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"smugmug", z.ZodObject<{
|
|
55
|
-
connectionId: z.ZodString;
|
|
56
|
-
entityId: z.ZodString;
|
|
57
|
-
instanceId: z.ZodString;
|
|
58
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
59
|
-
generic_api_key: z.ZodString;
|
|
60
|
-
}, z.core.$strip>>]>;
|
|
46
|
+
declare const smugmugGetFolderAlbums: AppAction<typeof SmugmugGetFolderAlbumsInput, typeof SmugmugGetFolderAlbumsOutput, typeof smugmug.credential>;
|
|
61
47
|
//#endregion
|
|
62
48
|
export { smugmugGetFolderAlbums };
|
|
63
49
|
//# sourceMappingURL=get-folder-albums.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-folder-albums.d.mts","names":[],"sources":["../../src/actions/get-folder-albums.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-folder-albums.d.mts","names":[],"sources":["../../src/actions/get-folder-albums.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAsC3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-folder-albums.mjs","names":[],"sources":["../../src/actions/get-folder-albums.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmugmugGetFolderAlbumsInput = z.object({\n path: z.string().describe(\"The folder path within the user's account (e.g., 'SmugMug' or 'SmugMug/Heroes'). Use '/' to separate nested folders. Omit this parameter or pass empty string to get albums from the root folder.\").optional(),\n FolderID: z.string().describe(\"Optional folder ID filter parameter to narrow results. This is typically a 5-character alphanumeric string.\").optional(),\n nickname: z.string().describe(\"The SmugMug user's nickname/username whose folder to retrieve albums from. This is the user's unique identifier on SmugMug (e.g., 'cmac', 'baldy').\"),\n});\nconst SmugmugGetFolderAlbums_AlbumInfoSchema = z.object({\n Uri: z.string().describe(\"The API URI for the album\").nullable().optional(),\n Name: z.string().describe(\"The display name of the album\").nullable().optional(),\n NodeID: z.string().describe(\"The unique node identifier for the album\").nullable().optional(),\n WebUri: z.string().describe(\"The public URL to view the album on SmugMug\").nullable().optional(),\n Privacy: z.string().describe(\"Privacy setting for the album (e.g., 'Public', 'Unlisted')\").nullable().optional(),\n UrlName: z.string().describe(\"The URL-friendly name of the album\").nullable().optional(),\n UrlPath: z.string().describe(\"The full URL path to the album\").nullable().optional(),\n AlbumKey: z.string().describe(\"The unique key identifier for the album\").nullable().optional(),\n Keywords: z.array(z.string()).describe(\"List of keywords associated with the album\").nullable().optional(),\n DateAdded: z.string().describe(\"ISO 8601 timestamp when the album was created\").nullable().optional(),\n ImageCount: z.number().int().describe(\"The number of images in the album\").nullable().optional(),\n SortMethod: z.string().describe(\"The sort method used for images in the album\").nullable().optional(),\n Description: z.string().describe(\"The user-provided description of the album\").nullable().optional(),\n DateModified: z.string().describe(\"ISO 8601 timestamp when the album was last modified\").nullable().optional(),\n}).passthrough().describe(\"Represents an album within a SmugMug folder.\");\nconst SmugmugGetFolderAlbums_PagesInfoSchema = z.object({\n Count: z.number().int().describe(\"Number of items in current page\").nullable().optional(),\n Start: z.number().int().describe(\"Starting index of current page\").nullable().optional(),\n Total: z.number().int().describe(\"Total number of items\").nullable().optional(),\n LastPage: z.string().describe(\"URI to last page\").nullable().optional(),\n NextPage: z.string().describe(\"URI to next page\").nullable().optional(),\n PrevPage: z.string().describe(\"URI to previous page\").nullable().optional(),\n FirstPage: z.string().describe(\"URI to first page\").nullable().optional(),\n RequestedCount: z.number().int().describe(\"Number of items requested\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for the response.\");\nconst SmugmugGetFolderAlbums_FolderAlbumsDataSchema = z.object({\n Uri: z.string().describe(\"The API URI for this resource\").nullable().optional(),\n Album: z.array(SmugmugGetFolderAlbums_AlbumInfoSchema).describe(\"List of albums in the folder\").nullable().optional(),\n Pages: SmugmugGetFolderAlbums_PagesInfoSchema.nullable().optional(),\n Locator: z.string().describe(\"The locator string for this resource\").nullable().optional(),\n LocatorType: z.string().describe(\"The type of locator (e.g., 'Folder')\").nullable().optional(),\n}).passthrough().describe(\"Response data containing folder albums information.\");\nexport const SmugmugGetFolderAlbumsOutput = z.object({\n Code: z.number().int().describe(\"HTTP status code from the API\").nullable(),\n Message: z.string().describe(\"Response message from the API\").nullable(),\n Response: SmugmugGetFolderAlbums_FolderAlbumsDataSchema.nullable(),\n}).passthrough().describe(\"Response from the SmugMug Get Folder Albums API.\");\n\nexport const smugmugGetFolderAlbums = action(\"SMUGMUG_GET_FOLDER_ALBUMS\", {\n slug: \"smugmug-get-folder-albums\",\n name: \"Get Folder Albums\",\n description: \"Tool to retrieve albums from a specific folder in a SmugMug user's account by nickname and folder path. Use when you need to list albums in a folder using the user's nickname and folder path rather than NodeID. This is particularly useful when you know the folder structure but don't have the NodeID.\",\n input: SmugmugGetFolderAlbumsInput,\n output: SmugmugGetFolderAlbumsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-folder-albums.mjs","names":[],"sources":["../../src/actions/get-folder-albums.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 SmugmugGetFolderAlbumsInput = z.object({\n path: z.string().describe(\"The folder path within the user's account (e.g., 'SmugMug' or 'SmugMug/Heroes'). Use '/' to separate nested folders. Omit this parameter or pass empty string to get albums from the root folder.\").optional(),\n FolderID: z.string().describe(\"Optional folder ID filter parameter to narrow results. This is typically a 5-character alphanumeric string.\").optional(),\n nickname: z.string().describe(\"The SmugMug user's nickname/username whose folder to retrieve albums from. This is the user's unique identifier on SmugMug (e.g., 'cmac', 'baldy').\"),\n});\nconst SmugmugGetFolderAlbums_AlbumInfoSchema = z.object({\n Uri: z.string().describe(\"The API URI for the album\").nullable().optional(),\n Name: z.string().describe(\"The display name of the album\").nullable().optional(),\n NodeID: z.string().describe(\"The unique node identifier for the album\").nullable().optional(),\n WebUri: z.string().describe(\"The public URL to view the album on SmugMug\").nullable().optional(),\n Privacy: z.string().describe(\"Privacy setting for the album (e.g., 'Public', 'Unlisted')\").nullable().optional(),\n UrlName: z.string().describe(\"The URL-friendly name of the album\").nullable().optional(),\n UrlPath: z.string().describe(\"The full URL path to the album\").nullable().optional(),\n AlbumKey: z.string().describe(\"The unique key identifier for the album\").nullable().optional(),\n Keywords: z.array(z.string()).describe(\"List of keywords associated with the album\").nullable().optional(),\n DateAdded: z.string().describe(\"ISO 8601 timestamp when the album was created\").nullable().optional(),\n ImageCount: z.number().int().describe(\"The number of images in the album\").nullable().optional(),\n SortMethod: z.string().describe(\"The sort method used for images in the album\").nullable().optional(),\n Description: z.string().describe(\"The user-provided description of the album\").nullable().optional(),\n DateModified: z.string().describe(\"ISO 8601 timestamp when the album was last modified\").nullable().optional(),\n}).passthrough().describe(\"Represents an album within a SmugMug folder.\");\nconst SmugmugGetFolderAlbums_PagesInfoSchema = z.object({\n Count: z.number().int().describe(\"Number of items in current page\").nullable().optional(),\n Start: z.number().int().describe(\"Starting index of current page\").nullable().optional(),\n Total: z.number().int().describe(\"Total number of items\").nullable().optional(),\n LastPage: z.string().describe(\"URI to last page\").nullable().optional(),\n NextPage: z.string().describe(\"URI to next page\").nullable().optional(),\n PrevPage: z.string().describe(\"URI to previous page\").nullable().optional(),\n FirstPage: z.string().describe(\"URI to first page\").nullable().optional(),\n RequestedCount: z.number().int().describe(\"Number of items requested\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for the response.\");\nconst SmugmugGetFolderAlbums_FolderAlbumsDataSchema = z.object({\n Uri: z.string().describe(\"The API URI for this resource\").nullable().optional(),\n Album: z.array(SmugmugGetFolderAlbums_AlbumInfoSchema).describe(\"List of albums in the folder\").nullable().optional(),\n Pages: SmugmugGetFolderAlbums_PagesInfoSchema.nullable().optional(),\n Locator: z.string().describe(\"The locator string for this resource\").nullable().optional(),\n LocatorType: z.string().describe(\"The type of locator (e.g., 'Folder')\").nullable().optional(),\n}).passthrough().describe(\"Response data containing folder albums information.\");\nexport const SmugmugGetFolderAlbumsOutput = z.object({\n Code: z.number().int().describe(\"HTTP status code from the API\").nullable(),\n Message: z.string().describe(\"Response message from the API\").nullable(),\n Response: SmugmugGetFolderAlbums_FolderAlbumsDataSchema.nullable(),\n}).passthrough().describe(\"Response from the SmugMug Get Folder Albums API.\");\n\nexport const smugmugGetFolderAlbums: AppAction<\n typeof SmugmugGetFolderAlbumsInput,\n typeof SmugmugGetFolderAlbumsOutput,\n typeof smugmug.credential\n> = action(\"SMUGMUG_GET_FOLDER_ALBUMS\", {\n slug: \"smugmug-get-folder-albums\",\n name: \"Get Folder Albums\",\n description: \"Tool to retrieve albums from a specific folder in a SmugMug user's account by nickname and folder path. Use when you need to list albums in a folder using the user's nickname and folder path rather than NodeID. This is particularly useful when you know the folder structure but don't have the NodeID.\",\n input: SmugmugGetFolderAlbumsInput,\n output: SmugmugGetFolderAlbumsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8B,EAAE,OAAO;CAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mMAAmM,CAAC,CAAC,SAAS;CACxO,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CACtJ,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qJAAqJ;AACrL,CAAC;AACD,MAAM,yCAAyC,EAAE,OAAO;CACtD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,WAAW,EAAE,OAAO,CAAC,CAAC,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2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAM,gDAAgD,EAAE,OAAO;CAC7D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,OAAO,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,OAAO,uCAAuC,SAAS,CAAC,CAAC,SAAS;CAClE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAO/E,MAAa,yBAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAf0C,EAAE,OAAO;EACnD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EAC1E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACvE,UAAU,8CAA8C,SAAS;CACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-folder-by-user-path.cjs","names":["z","action"],"sources":["../../src/actions/get-folder-by-user-path.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmugmugGetFolderByUserPathInput = z.object({\n nickname: z.string().describe(\"The user's SmugMug nickname (username). This identifies which user's folder structure to access.\"),\n folder_path: z.string().describe(\"The path to the folder within the user's account. Use forward slashes (/) to separate nested folders (e.g., 'SmugMug' or 'Travel/2024'). For the root folder, use an empty string.\"),\n});\nexport const SmugmugGetFolderByUserPathOutput = z.object({\n Uri: z.string().describe(\"The API URI for this folder resource.\").nullable().optional(),\n Name: z.string().describe(\"The human-readable title/name of the folder.\").nullable().optional(),\n Uris: z.record(z.string(), z.unknown()).describe(\"Related URIs for navigating to associated resources (FolderAlbums, FolderByID, FolderPages, Folders, HighlightImage, ParentFolder, ParentFolders, UnlockFolder, User).\").nullable().optional(),\n WebUri: z.string().describe(\"The folder's public page URL on the SmugMug website.\").nullable().optional(),\n Privacy: z.string().describe(\"Privacy setting of the folder: 'Public', 'Unlisted', or 'Private'.\").nullable().optional(),\n UrlName: z.string().describe(\"The user-configurable part of the WebUri.\").nullable().optional(),\n DateAdded: z.string().describe(\"ISO 8601 timestamp when this folder was created.\").nullable().optional(),\n Description: z.string().describe(\"The human-readable description of the folder.\").nullable().optional(),\n DateModified: z.string().describe(\"ISO 8601 timestamp of the latest LastUpdated from any album under this folder.\").nullable().optional(),\n PasswordHint: z.string().describe(\"The hint for the folder-viewing password, if password-protected.\").nullable().optional(),\n ResponseLevel: z.string().describe(\"The response level indicating access permissions (e.g., 'Public', 'Full').\").nullable().optional(),\n SmugSearchable: z.string().describe(\"Whether this folder appears in SmugMug internal search results. Can be 'Yes', 'No', 'Inherit', or other values at the root folder level.\").nullable().optional(),\n WorldSearchable: z.string().describe(\"Whether this folder appears in external search engine results. Can be 'Yes', 'No', 'Inherit', or other values at the root folder level.\").nullable().optional(),\n}).passthrough().describe(\"Folder details retrieved by user nickname and path.\");\n\nexport const smugmugGetFolderByUserPath = action(\"SMUGMUG_GET_FOLDER_BY_USER_PATH\", {\n slug: \"smugmug-get-folder-by-user-path\",\n name: \"Get Folder by User and Path\",\n description: \"Tool to retrieve folder details by user nickname and folder path. Use when you need to access a specific folder within a user's SmugMug account using the hierarchical path structure. Note: For New SmugMug, use the Node endpoint (SMUGMUG_GET_NODE_DETAILS) instead.\",\n input: SmugmugGetFolderByUserPathInput,\n output: SmugmugGetFolderByUserPathOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-folder-by-user-path.cjs","names":["z","action"],"sources":["../../src/actions/get-folder-by-user-path.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 SmugmugGetFolderByUserPathInput = z.object({\n nickname: z.string().describe(\"The user's SmugMug nickname (username). This identifies which user's folder structure to access.\"),\n folder_path: z.string().describe(\"The path to the folder within the user's account. Use forward slashes (/) to separate nested folders (e.g., 'SmugMug' or 'Travel/2024'). For the root folder, use an empty string.\"),\n});\nexport const SmugmugGetFolderByUserPathOutput = z.object({\n Uri: z.string().describe(\"The API URI for this folder resource.\").nullable().optional(),\n Name: z.string().describe(\"The human-readable title/name of the folder.\").nullable().optional(),\n Uris: z.record(z.string(), z.unknown()).describe(\"Related URIs for navigating to associated resources (FolderAlbums, FolderByID, FolderPages, Folders, HighlightImage, ParentFolder, ParentFolders, UnlockFolder, User).\").nullable().optional(),\n WebUri: z.string().describe(\"The folder's public page URL on the SmugMug website.\").nullable().optional(),\n Privacy: z.string().describe(\"Privacy setting of the folder: 'Public', 'Unlisted', or 'Private'.\").nullable().optional(),\n UrlName: z.string().describe(\"The user-configurable part of the WebUri.\").nullable().optional(),\n DateAdded: z.string().describe(\"ISO 8601 timestamp when this folder was created.\").nullable().optional(),\n Description: z.string().describe(\"The human-readable description of the folder.\").nullable().optional(),\n DateModified: z.string().describe(\"ISO 8601 timestamp of the latest LastUpdated from any album under this folder.\").nullable().optional(),\n PasswordHint: z.string().describe(\"The hint for the folder-viewing password, if password-protected.\").nullable().optional(),\n ResponseLevel: z.string().describe(\"The response level indicating access permissions (e.g., 'Public', 'Full').\").nullable().optional(),\n SmugSearchable: z.string().describe(\"Whether this folder appears in SmugMug internal search results. Can be 'Yes', 'No', 'Inherit', or other values at the root folder level.\").nullable().optional(),\n WorldSearchable: z.string().describe(\"Whether this folder appears in external search engine results. Can be 'Yes', 'No', 'Inherit', or other values at the root folder level.\").nullable().optional(),\n}).passthrough().describe(\"Folder details retrieved by user nickname and path.\");\n\nexport const smugmugGetFolderByUserPath: AppAction<\n typeof SmugmugGetFolderByUserPathInput,\n typeof SmugmugGetFolderByUserPathOutput,\n typeof smugmug.credential\n> = action(\"SMUGMUG_GET_FOLDER_BY_USER_PATH\", {\n slug: \"smugmug-get-folder-by-user-path\",\n name: \"Get Folder by User and Path\",\n description: \"Tool to retrieve folder details by user nickname and folder path. Use when you need to access a specific folder within a user's SmugMug account using the hierarchical path structure. Note: For New SmugMug, use the Node endpoint (SMUGMUG_GET_NODE_DETAILS) instead.\",\n input: SmugmugGetFolderByUserPathInput,\n output: SmugmugGetFolderByUserPathOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG;CAChI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oLAAoL;AACvN,CAAC;AACD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wKAAwK,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/O,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxI,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpM,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yIAAyI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,6BAITC,eAAAA,OAAO,mCAAmC;CAC5C,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/get-folder-by-user-path.d.ts
|
|
@@ -20,22 +22,7 @@ declare const SmugmugGetFolderByUserPathOutput: z.ZodObject<{
|
|
|
20
22
|
SmugSearchable: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
23
|
WorldSearchable: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
24
|
}, z.core.$loose>;
|
|
23
|
-
declare const smugmugGetFolderByUserPath:
|
|
24
|
-
nickname: string;
|
|
25
|
-
folder_path: string;
|
|
26
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"smugmug", z.ZodObject<{
|
|
27
|
-
connectionId: z.ZodString;
|
|
28
|
-
entityId: z.ZodString;
|
|
29
|
-
instanceId: z.ZodString;
|
|
30
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
-
generic_api_key: z.ZodString;
|
|
32
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"smugmug", z.ZodObject<{
|
|
33
|
-
connectionId: z.ZodString;
|
|
34
|
-
entityId: z.ZodString;
|
|
35
|
-
instanceId: z.ZodString;
|
|
36
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
37
|
-
generic_api_key: z.ZodString;
|
|
38
|
-
}, z.core.$strip>>]>;
|
|
25
|
+
declare const smugmugGetFolderByUserPath: AppAction<typeof SmugmugGetFolderByUserPathInput, typeof SmugmugGetFolderByUserPathOutput, typeof smugmug.credential>;
|
|
39
26
|
//#endregion
|
|
40
27
|
export { smugmugGetFolderByUserPath };
|
|
41
28
|
//# sourceMappingURL=get-folder-by-user-path.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-folder-by-user-path.d.cts","names":[],"sources":["../../src/actions/get-folder-by-user-path.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-folder-by-user-path.d.cts","names":[],"sources":["../../src/actions/get-folder-by-user-path.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAI/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAgBhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,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-folder-by-user-path.d.ts
|
|
@@ -20,22 +22,7 @@ declare const SmugmugGetFolderByUserPathOutput: z.ZodObject<{
|
|
|
20
22
|
SmugSearchable: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
23
|
WorldSearchable: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
24
|
}, z.core.$loose>;
|
|
23
|
-
declare const smugmugGetFolderByUserPath:
|
|
24
|
-
nickname: string;
|
|
25
|
-
folder_path: string;
|
|
26
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"smugmug", z.ZodObject<{
|
|
27
|
-
connectionId: z.ZodString;
|
|
28
|
-
entityId: z.ZodString;
|
|
29
|
-
instanceId: z.ZodString;
|
|
30
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
-
generic_api_key: z.ZodString;
|
|
32
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"smugmug", z.ZodObject<{
|
|
33
|
-
connectionId: z.ZodString;
|
|
34
|
-
entityId: z.ZodString;
|
|
35
|
-
instanceId: z.ZodString;
|
|
36
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
37
|
-
generic_api_key: z.ZodString;
|
|
38
|
-
}, z.core.$strip>>]>;
|
|
25
|
+
declare const smugmugGetFolderByUserPath: AppAction<typeof SmugmugGetFolderByUserPathInput, typeof SmugmugGetFolderByUserPathOutput, typeof smugmug.credential>;
|
|
39
26
|
//#endregion
|
|
40
27
|
export { smugmugGetFolderByUserPath };
|
|
41
28
|
//# sourceMappingURL=get-folder-by-user-path.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-folder-by-user-path.d.mts","names":[],"sources":["../../src/actions/get-folder-by-user-path.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-folder-by-user-path.d.mts","names":[],"sources":["../../src/actions/get-folder-by-user-path.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAI/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAgBhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-folder-by-user-path.mjs","names":[],"sources":["../../src/actions/get-folder-by-user-path.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmugmugGetFolderByUserPathInput = z.object({\n nickname: z.string().describe(\"The user's SmugMug nickname (username). This identifies which user's folder structure to access.\"),\n folder_path: z.string().describe(\"The path to the folder within the user's account. Use forward slashes (/) to separate nested folders (e.g., 'SmugMug' or 'Travel/2024'). For the root folder, use an empty string.\"),\n});\nexport const SmugmugGetFolderByUserPathOutput = z.object({\n Uri: z.string().describe(\"The API URI for this folder resource.\").nullable().optional(),\n Name: z.string().describe(\"The human-readable title/name of the folder.\").nullable().optional(),\n Uris: z.record(z.string(), z.unknown()).describe(\"Related URIs for navigating to associated resources (FolderAlbums, FolderByID, FolderPages, Folders, HighlightImage, ParentFolder, ParentFolders, UnlockFolder, User).\").nullable().optional(),\n WebUri: z.string().describe(\"The folder's public page URL on the SmugMug website.\").nullable().optional(),\n Privacy: z.string().describe(\"Privacy setting of the folder: 'Public', 'Unlisted', or 'Private'.\").nullable().optional(),\n UrlName: z.string().describe(\"The user-configurable part of the WebUri.\").nullable().optional(),\n DateAdded: z.string().describe(\"ISO 8601 timestamp when this folder was created.\").nullable().optional(),\n Description: z.string().describe(\"The human-readable description of the folder.\").nullable().optional(),\n DateModified: z.string().describe(\"ISO 8601 timestamp of the latest LastUpdated from any album under this folder.\").nullable().optional(),\n PasswordHint: z.string().describe(\"The hint for the folder-viewing password, if password-protected.\").nullable().optional(),\n ResponseLevel: z.string().describe(\"The response level indicating access permissions (e.g., 'Public', 'Full').\").nullable().optional(),\n SmugSearchable: z.string().describe(\"Whether this folder appears in SmugMug internal search results. Can be 'Yes', 'No', 'Inherit', or other values at the root folder level.\").nullable().optional(),\n WorldSearchable: z.string().describe(\"Whether this folder appears in external search engine results. Can be 'Yes', 'No', 'Inherit', or other values at the root folder level.\").nullable().optional(),\n}).passthrough().describe(\"Folder details retrieved by user nickname and path.\");\n\nexport const smugmugGetFolderByUserPath = action(\"SMUGMUG_GET_FOLDER_BY_USER_PATH\", {\n slug: \"smugmug-get-folder-by-user-path\",\n name: \"Get Folder by User and Path\",\n description: \"Tool to retrieve folder details by user nickname and folder path. Use when you need to access a specific folder within a user's SmugMug account using the hierarchical path structure. Note: For New SmugMug, use the Node endpoint (SMUGMUG_GET_NODE_DETAILS) instead.\",\n input: SmugmugGetFolderByUserPathInput,\n output: SmugmugGetFolderByUserPathOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-folder-by-user-path.mjs","names":[],"sources":["../../src/actions/get-folder-by-user-path.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 SmugmugGetFolderByUserPathInput = z.object({\n nickname: z.string().describe(\"The user's SmugMug nickname (username). This identifies which user's folder structure to access.\"),\n folder_path: z.string().describe(\"The path to the folder within the user's account. Use forward slashes (/) to separate nested folders (e.g., 'SmugMug' or 'Travel/2024'). For the root folder, use an empty string.\"),\n});\nexport const SmugmugGetFolderByUserPathOutput = z.object({\n Uri: z.string().describe(\"The API URI for this folder resource.\").nullable().optional(),\n Name: z.string().describe(\"The human-readable title/name of the folder.\").nullable().optional(),\n Uris: z.record(z.string(), z.unknown()).describe(\"Related URIs for navigating to associated resources (FolderAlbums, FolderByID, FolderPages, Folders, HighlightImage, ParentFolder, ParentFolders, UnlockFolder, User).\").nullable().optional(),\n WebUri: z.string().describe(\"The folder's public page URL on the SmugMug website.\").nullable().optional(),\n Privacy: z.string().describe(\"Privacy setting of the folder: 'Public', 'Unlisted', or 'Private'.\").nullable().optional(),\n UrlName: z.string().describe(\"The user-configurable part of the WebUri.\").nullable().optional(),\n DateAdded: z.string().describe(\"ISO 8601 timestamp when this folder was created.\").nullable().optional(),\n Description: z.string().describe(\"The human-readable description of the folder.\").nullable().optional(),\n DateModified: z.string().describe(\"ISO 8601 timestamp of the latest LastUpdated from any album under this folder.\").nullable().optional(),\n PasswordHint: z.string().describe(\"The hint for the folder-viewing password, if password-protected.\").nullable().optional(),\n ResponseLevel: z.string().describe(\"The response level indicating access permissions (e.g., 'Public', 'Full').\").nullable().optional(),\n SmugSearchable: z.string().describe(\"Whether this folder appears in SmugMug internal search results. Can be 'Yes', 'No', 'Inherit', or other values at the root folder level.\").nullable().optional(),\n WorldSearchable: z.string().describe(\"Whether this folder appears in external search engine results. Can be 'Yes', 'No', 'Inherit', or other values at the root folder level.\").nullable().optional(),\n}).passthrough().describe(\"Folder details retrieved by user nickname and path.\");\n\nexport const smugmugGetFolderByUserPath: AppAction<\n typeof SmugmugGetFolderByUserPathInput,\n typeof SmugmugGetFolderByUserPathOutput,\n typeof smugmug.credential\n> = action(\"SMUGMUG_GET_FOLDER_BY_USER_PATH\", {\n slug: \"smugmug-get-folder-by-user-path\",\n name: \"Get Folder by User and Path\",\n description: \"Tool to retrieve folder details by user nickname and folder path. Use when you need to access a specific folder within a user's SmugMug account using the hierarchical path structure. Note: For New SmugMug, use the Node endpoint (SMUGMUG_GET_NODE_DETAILS) instead.\",\n input: SmugmugGetFolderByUserPathInput,\n output: SmugmugGetFolderByUserPathOutput,\n});\n"],"mappings":";;;AA0BA,MAAa,6BAIT,OAAO,mCAAmC;CAC5C,MAAM;CACN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CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpM,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,yIAAyI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-folder-details.cjs","names":["z","action"],"sources":["../../src/actions/get-folder-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmugmugGetFolderDetailsInput = z.object({\n node_id: z.string().describe(\"The unique SmugMug Node ID of the folder to retrieve details for. This is typically a 5-character alphanumeric string (e.g., 'c4jv4'). You can obtain node IDs from the SMUGMUG_LIST_CHILD_NODES action.\"),\n});\nexport const SmugmugGetFolderDetailsOutput = z.object({\n Uri: z.string().describe(\"The API URI of the folder (e.g., '/api/v2/node/c4jv4').\").nullable(),\n Name: z.string().describe(\"The display name of the folder.\").nullable(),\n NodeID: z.string().describe(\"The unique node ID of the folder (e.g., 'c4jv4').\").nullable(),\n UrlPath: z.string().describe(\"The URL path segment for the folder (e.g., '/Family').\").nullable(),\n DateAdded: z.string().describe(\"ISO 8601 timestamp when the folder was created.\").nullable(),\n Description: z.string().describe(\"The user-provided description of the folder, if any.\").nullable().optional(),\n DateModified: z.string().describe(\"ISO 8601 timestamp when the folder or its contents were last modified.\").nullable(),\n HighlightAlbumUri: z.string().describe(\"The API URI of the album set as the highlight/cover for this folder, if configured.\").nullable().optional(),\n}).passthrough();\n\nexport const smugmugGetFolderDetails = action(\"SMUGMUG_GET_FOLDER_DETAILS\", {\n slug: \"smugmug-get-folder-details\",\n name: \"Get Folder Details\",\n description: \"Retrieves details of a specific folder in SmugMug using its Node ID. Returns folder metadata including name, description, URL path, creation and modification dates, node ID, and optionally the URI of the album set as the highlight image for the folder. Note: This action only works with Folder-type nodes. If a non-folder node ID (e.g., Album) is provided, an error will be raised. Use SMUGMUG_GET_NODE_DETAILS for general node information.\",\n input: SmugmugGetFolderDetailsInput,\n output: SmugmugGetFolderDetailsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-folder-details.cjs","names":["z","action"],"sources":["../../src/actions/get-folder-details.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 SmugmugGetFolderDetailsInput = z.object({\n node_id: z.string().describe(\"The unique SmugMug Node ID of the folder to retrieve details for. This is typically a 5-character alphanumeric string (e.g., 'c4jv4'). You can obtain node IDs from the SMUGMUG_LIST_CHILD_NODES action.\"),\n});\nexport const SmugmugGetFolderDetailsOutput = z.object({\n Uri: z.string().describe(\"The API URI of the folder (e.g., '/api/v2/node/c4jv4').\").nullable(),\n Name: z.string().describe(\"The display name of the folder.\").nullable(),\n NodeID: z.string().describe(\"The unique node ID of the folder (e.g., 'c4jv4').\").nullable(),\n UrlPath: z.string().describe(\"The URL path segment for the folder (e.g., '/Family').\").nullable(),\n DateAdded: z.string().describe(\"ISO 8601 timestamp when the folder was created.\").nullable(),\n Description: z.string().describe(\"The user-provided description of the folder, if any.\").nullable().optional(),\n DateModified: z.string().describe(\"ISO 8601 timestamp when the folder or its contents were last modified.\").nullable(),\n HighlightAlbumUri: z.string().describe(\"The API URI of the album set as the highlight/cover for this folder, if configured.\").nullable().optional(),\n}).passthrough();\n\nexport const smugmugGetFolderDetails: AppAction<\n typeof SmugmugGetFolderDetailsInput,\n typeof SmugmugGetFolderDetailsOutput,\n typeof smugmug.credential\n> = action(\"SMUGMUG_GET_FOLDER_DETAILS\", {\n slug: \"smugmug-get-folder-details\",\n name: \"Get Folder Details\",\n description: \"Retrieves details of a specific folder in SmugMug using its Node ID. Returns folder metadata including name, description, URL path, creation and modification dates, node ID, and optionally the URI of the album set as the highlight image for the folder. Note: This action only works with Folder-type nodes. If a non-folder node ID (e.g., Album) is provided, an error will be raised. Use SMUGMUG_GET_NODE_DETAILS for general node information.\",\n input: SmugmugGetFolderDetailsInput,\n output: SmugmugGetFolderDetailsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0MAA0M,EACzO,CAAC;AACD,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC7F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACtE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAChG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC3F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CACrH,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpJ,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,0BAITC,eAAAA,OAAO,8BAA8B;CACvC,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/get-folder-details.d.ts
|
|
@@ -14,21 +16,7 @@ declare const SmugmugGetFolderDetailsOutput: z.ZodObject<{
|
|
|
14
16
|
DateModified: z.ZodNullable<z.ZodString>;
|
|
15
17
|
HighlightAlbumUri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const smugmugGetFolderDetails:
|
|
18
|
-
node_id: string;
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"smugmug", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
generic_api_key: z.ZodString;
|
|
25
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"smugmug", z.ZodObject<{
|
|
26
|
-
connectionId: z.ZodString;
|
|
27
|
-
entityId: z.ZodString;
|
|
28
|
-
instanceId: z.ZodString;
|
|
29
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
30
|
-
generic_api_key: z.ZodString;
|
|
31
|
-
}, z.core.$strip>>]>;
|
|
19
|
+
declare const smugmugGetFolderDetails: AppAction<typeof SmugmugGetFolderDetailsInput, typeof SmugmugGetFolderDetailsOutput, typeof smugmug.credential>;
|
|
32
20
|
//#endregion
|
|
33
21
|
export { smugmugGetFolderDetails };
|
|
34
22
|
//# sourceMappingURL=get-folder-details.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-folder-details.d.cts","names":[],"sources":["../../src/actions/get-folder-details.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-folder-details.d.cts","names":[],"sources":["../../src/actions/get-folder-details.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAG5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;cAW7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,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-folder-details.d.ts
|
|
@@ -14,21 +16,7 @@ declare const SmugmugGetFolderDetailsOutput: z.ZodObject<{
|
|
|
14
16
|
DateModified: z.ZodNullable<z.ZodString>;
|
|
15
17
|
HighlightAlbumUri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const smugmugGetFolderDetails:
|
|
18
|
-
node_id: string;
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"smugmug", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
generic_api_key: z.ZodString;
|
|
25
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"smugmug", z.ZodObject<{
|
|
26
|
-
connectionId: z.ZodString;
|
|
27
|
-
entityId: z.ZodString;
|
|
28
|
-
instanceId: z.ZodString;
|
|
29
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
30
|
-
generic_api_key: z.ZodString;
|
|
31
|
-
}, z.core.$strip>>]>;
|
|
19
|
+
declare const smugmugGetFolderDetails: AppAction<typeof SmugmugGetFolderDetailsInput, typeof SmugmugGetFolderDetailsOutput, typeof smugmug.credential>;
|
|
32
20
|
//#endregion
|
|
33
21
|
export { smugmugGetFolderDetails };
|
|
34
22
|
//# sourceMappingURL=get-folder-details.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-folder-details.d.mts","names":[],"sources":["../../src/actions/get-folder-details.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-folder-details.d.mts","names":[],"sources":["../../src/actions/get-folder-details.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAG5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;cAW7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-folder-details.mjs","names":[],"sources":["../../src/actions/get-folder-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmugmugGetFolderDetailsInput = z.object({\n node_id: z.string().describe(\"The unique SmugMug Node ID of the folder to retrieve details for. This is typically a 5-character alphanumeric string (e.g., 'c4jv4'). You can obtain node IDs from the SMUGMUG_LIST_CHILD_NODES action.\"),\n});\nexport const SmugmugGetFolderDetailsOutput = z.object({\n Uri: z.string().describe(\"The API URI of the folder (e.g., '/api/v2/node/c4jv4').\").nullable(),\n Name: z.string().describe(\"The display name of the folder.\").nullable(),\n NodeID: z.string().describe(\"The unique node ID of the folder (e.g., 'c4jv4').\").nullable(),\n UrlPath: z.string().describe(\"The URL path segment for the folder (e.g., '/Family').\").nullable(),\n DateAdded: z.string().describe(\"ISO 8601 timestamp when the folder was created.\").nullable(),\n Description: z.string().describe(\"The user-provided description of the folder, if any.\").nullable().optional(),\n DateModified: z.string().describe(\"ISO 8601 timestamp when the folder or its contents were last modified.\").nullable(),\n HighlightAlbumUri: z.string().describe(\"The API URI of the album set as the highlight/cover for this folder, if configured.\").nullable().optional(),\n}).passthrough();\n\nexport const smugmugGetFolderDetails = action(\"SMUGMUG_GET_FOLDER_DETAILS\", {\n slug: \"smugmug-get-folder-details\",\n name: \"Get Folder Details\",\n description: \"Retrieves details of a specific folder in SmugMug using its Node ID. Returns folder metadata including name, description, URL path, creation and modification dates, node ID, and optionally the URI of the album set as the highlight image for the folder. Note: This action only works with Folder-type nodes. If a non-folder node ID (e.g., Album) is provided, an error will be raised. Use SMUGMUG_GET_NODE_DETAILS for general node information.\",\n input: SmugmugGetFolderDetailsInput,\n output: SmugmugGetFolderDetailsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-folder-details.mjs","names":[],"sources":["../../src/actions/get-folder-details.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 SmugmugGetFolderDetailsInput = z.object({\n node_id: z.string().describe(\"The unique SmugMug Node ID of the folder to retrieve details for. This is typically a 5-character alphanumeric string (e.g., 'c4jv4'). You can obtain node IDs from the SMUGMUG_LIST_CHILD_NODES action.\"),\n});\nexport const SmugmugGetFolderDetailsOutput = z.object({\n Uri: z.string().describe(\"The API URI of the folder (e.g., '/api/v2/node/c4jv4').\").nullable(),\n Name: z.string().describe(\"The display name of the folder.\").nullable(),\n NodeID: z.string().describe(\"The unique node ID of the folder (e.g., 'c4jv4').\").nullable(),\n UrlPath: z.string().describe(\"The URL path segment for the folder (e.g., '/Family').\").nullable(),\n DateAdded: z.string().describe(\"ISO 8601 timestamp when the folder was created.\").nullable(),\n Description: z.string().describe(\"The user-provided description of the folder, if any.\").nullable().optional(),\n DateModified: z.string().describe(\"ISO 8601 timestamp when the folder or its contents were last modified.\").nullable(),\n HighlightAlbumUri: z.string().describe(\"The API URI of the album set as the highlight/cover for this folder, if configured.\").nullable().optional(),\n}).passthrough();\n\nexport const smugmugGetFolderDetails: AppAction<\n typeof SmugmugGetFolderDetailsInput,\n typeof SmugmugGetFolderDetailsOutput,\n typeof smugmug.credential\n> = action(\"SMUGMUG_GET_FOLDER_DETAILS\", {\n slug: \"smugmug-get-folder-details\",\n name: \"Get Folder Details\",\n description: \"Retrieves details of a specific folder in SmugMug using its Node ID. Returns folder metadata including name, description, URL path, creation and modification dates, node ID, and optionally the URI of the album set as the highlight image for the folder. Note: This action only works with Folder-type nodes. If a non-folder node ID (e.g., Album) is provided, an error will be raised. Use SMUGMUG_GET_NODE_DETAILS for general node information.\",\n input: SmugmugGetFolderDetailsInput,\n output: SmugmugGetFolderDetailsOutput,\n});\n"],"mappings":";;;AAoBA,MAAa,0BAIT,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtB0C,EAAE,OAAO,EACnD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0MAA0M,EACzO,CAoBS;CACP,QApB2C,EAAE,OAAO;EACpD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EAC7F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAC1F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EAChG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EAC3F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;EACrH,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpJ,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|