@keystrokehq/smugmug 0.1.0
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/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/get-album-highlight-image.cjs +41 -0
- package/dist/actions/get-album-highlight-image.cjs.map +1 -0
- package/dist/actions/get-album-highlight-image.d.cts +9 -0
- package/dist/actions/get-album-highlight-image.d.cts.map +1 -0
- package/dist/actions/get-album-highlight-image.d.mts +9 -0
- package/dist/actions/get-album-highlight-image.d.mts.map +1 -0
- package/dist/actions/get-album-highlight-image.mjs +40 -0
- package/dist/actions/get-album-highlight-image.mjs.map +1 -0
- package/dist/actions/get-album-image.cjs +86 -0
- package/dist/actions/get-album-image.cjs.map +1 -0
- package/dist/actions/get-album-image.d.cts +9 -0
- package/dist/actions/get-album-image.d.cts.map +1 -0
- package/dist/actions/get-album-image.d.mts +9 -0
- package/dist/actions/get-album-image.d.mts.map +1 -0
- package/dist/actions/get-album-image.mjs +85 -0
- package/dist/actions/get-album-image.mjs.map +1 -0
- package/dist/actions/get-album-images.cjs +84 -0
- package/dist/actions/get-album-images.cjs.map +1 -0
- package/dist/actions/get-album-images.d.cts +9 -0
- package/dist/actions/get-album-images.d.cts.map +1 -0
- package/dist/actions/get-album-images.d.mts +9 -0
- package/dist/actions/get-album-images.d.mts.map +1 -0
- package/dist/actions/get-album-images.mjs +83 -0
- package/dist/actions/get-album-images.mjs.map +1 -0
- package/dist/actions/get-album.cjs +59 -0
- package/dist/actions/get-album.cjs.map +1 -0
- package/dist/actions/get-album.d.cts +9 -0
- package/dist/actions/get-album.d.cts.map +1 -0
- package/dist/actions/get-album.d.mts +9 -0
- package/dist/actions/get-album.d.mts.map +1 -0
- package/dist/actions/get-album.mjs +58 -0
- package/dist/actions/get-album.mjs.map +1 -0
- package/dist/actions/get-folder-albums.cjs +57 -0
- package/dist/actions/get-folder-albums.cjs.map +1 -0
- package/dist/actions/get-folder-albums.d.cts +9 -0
- package/dist/actions/get-folder-albums.d.cts.map +1 -0
- package/dist/actions/get-folder-albums.d.mts +9 -0
- package/dist/actions/get-folder-albums.d.mts.map +1 -0
- package/dist/actions/get-folder-albums.mjs +56 -0
- package/dist/actions/get-folder-albums.mjs.map +1 -0
- package/dist/actions/get-folder-by-user-path.cjs +33 -0
- package/dist/actions/get-folder-by-user-path.cjs.map +1 -0
- package/dist/actions/get-folder-by-user-path.d.cts +9 -0
- package/dist/actions/get-folder-by-user-path.d.cts.map +1 -0
- package/dist/actions/get-folder-by-user-path.d.mts +9 -0
- package/dist/actions/get-folder-by-user-path.d.mts.map +1 -0
- package/dist/actions/get-folder-by-user-path.mjs +30 -0
- package/dist/actions/get-folder-by-user-path.mjs.map +1 -0
- package/dist/actions/get-folder-details.cjs +25 -0
- package/dist/actions/get-folder-details.cjs.map +1 -0
- package/dist/actions/get-folder-details.d.cts +9 -0
- package/dist/actions/get-folder-details.d.cts.map +1 -0
- package/dist/actions/get-folder-details.d.mts +9 -0
- package/dist/actions/get-folder-details.d.mts.map +1 -0
- package/dist/actions/get-folder-details.mjs +22 -0
- package/dist/actions/get-folder-details.mjs.map +1 -0
- package/dist/actions/get-folder-subfolders.cjs +46 -0
- package/dist/actions/get-folder-subfolders.cjs.map +1 -0
- package/dist/actions/get-folder-subfolders.d.cts +9 -0
- package/dist/actions/get-folder-subfolders.d.cts.map +1 -0
- package/dist/actions/get-folder-subfolders.d.mts +9 -0
- package/dist/actions/get-folder-subfolders.d.mts.map +1 -0
- package/dist/actions/get-folder-subfolders.mjs +45 -0
- package/dist/actions/get-folder-subfolders.mjs.map +1 -0
- package/dist/actions/get-image-metadata.cjs +99 -0
- package/dist/actions/get-image-metadata.cjs.map +1 -0
- package/dist/actions/get-image-metadata.d.cts +9 -0
- package/dist/actions/get-image-metadata.d.cts.map +1 -0
- package/dist/actions/get-image-metadata.d.mts +9 -0
- package/dist/actions/get-image-metadata.d.mts.map +1 -0
- package/dist/actions/get-image-metadata.mjs +98 -0
- package/dist/actions/get-image-metadata.mjs.map +1 -0
- package/dist/actions/get-image-size-details.cjs +44 -0
- package/dist/actions/get-image-size-details.cjs.map +1 -0
- package/dist/actions/get-image-size-details.d.cts +9 -0
- package/dist/actions/get-image-size-details.d.cts.map +1 -0
- package/dist/actions/get-image-size-details.d.mts +9 -0
- package/dist/actions/get-image-size-details.d.mts.map +1 -0
- package/dist/actions/get-image-size-details.mjs +43 -0
- package/dist/actions/get-image-size-details.mjs.map +1 -0
- package/dist/actions/get-image-sizes.cjs +44 -0
- package/dist/actions/get-image-sizes.cjs.map +1 -0
- package/dist/actions/get-image-sizes.d.cts +9 -0
- package/dist/actions/get-image-sizes.d.cts.map +1 -0
- package/dist/actions/get-image-sizes.d.mts +9 -0
- package/dist/actions/get-image-sizes.d.mts.map +1 -0
- package/dist/actions/get-image-sizes.mjs +43 -0
- package/dist/actions/get-image-sizes.mjs.map +1 -0
- package/dist/actions/get-image.cjs +90 -0
- package/dist/actions/get-image.cjs.map +1 -0
- package/dist/actions/get-image.d.cts +9 -0
- package/dist/actions/get-image.d.cts.map +1 -0
- package/dist/actions/get-image.d.mts +9 -0
- package/dist/actions/get-image.d.mts.map +1 -0
- package/dist/actions/get-image.mjs +89 -0
- package/dist/actions/get-image.mjs.map +1 -0
- package/dist/actions/get-node-highlight-image.cjs +60 -0
- package/dist/actions/get-node-highlight-image.cjs.map +1 -0
- package/dist/actions/get-node-highlight-image.d.cts +9 -0
- package/dist/actions/get-node-highlight-image.d.cts.map +1 -0
- package/dist/actions/get-node-highlight-image.d.mts +9 -0
- package/dist/actions/get-node-highlight-image.d.mts.map +1 -0
- package/dist/actions/get-node-highlight-image.mjs +59 -0
- package/dist/actions/get-node-highlight-image.mjs.map +1 -0
- package/dist/actions/get-node-parent.cjs +80 -0
- package/dist/actions/get-node-parent.cjs.map +1 -0
- package/dist/actions/get-node-parent.d.cts +9 -0
- package/dist/actions/get-node-parent.d.cts.map +1 -0
- package/dist/actions/get-node-parent.d.mts +9 -0
- package/dist/actions/get-node-parent.d.mts.map +1 -0
- package/dist/actions/get-node-parent.mjs +79 -0
- package/dist/actions/get-node-parent.mjs.map +1 -0
- package/dist/actions/get-node-parents.cjs +34 -0
- package/dist/actions/get-node-parents.cjs.map +1 -0
- package/dist/actions/get-node-parents.d.cts +9 -0
- package/dist/actions/get-node-parents.d.cts.map +1 -0
- package/dist/actions/get-node-parents.d.mts +9 -0
- package/dist/actions/get-node-parents.d.mts.map +1 -0
- package/dist/actions/get-node-parents.mjs +33 -0
- package/dist/actions/get-node-parents.mjs.map +1 -0
- package/dist/actions/get-user-bio-image.cjs +33 -0
- package/dist/actions/get-user-bio-image.cjs.map +1 -0
- package/dist/actions/get-user-bio-image.d.cts +9 -0
- package/dist/actions/get-user-bio-image.d.cts.map +1 -0
- package/dist/actions/get-user-bio-image.d.mts +9 -0
- package/dist/actions/get-user-bio-image.d.mts.map +1 -0
- package/dist/actions/get-user-bio-image.mjs +32 -0
- package/dist/actions/get-user-bio-image.mjs.map +1 -0
- package/dist/actions/get-user-featured-albums.cjs +41 -0
- package/dist/actions/get-user-featured-albums.cjs.map +1 -0
- package/dist/actions/get-user-featured-albums.d.cts +9 -0
- package/dist/actions/get-user-featured-albums.d.cts.map +1 -0
- package/dist/actions/get-user-featured-albums.d.mts +9 -0
- package/dist/actions/get-user-featured-albums.d.mts.map +1 -0
- package/dist/actions/get-user-featured-albums.mjs +40 -0
- package/dist/actions/get-user-featured-albums.mjs.map +1 -0
- package/dist/actions/get-user-features.cjs +22 -0
- package/dist/actions/get-user-features.cjs.map +1 -0
- package/dist/actions/get-user-features.d.cts +9 -0
- package/dist/actions/get-user-features.d.cts.map +1 -0
- package/dist/actions/get-user-features.d.mts +9 -0
- package/dist/actions/get-user-features.d.mts.map +1 -0
- package/dist/actions/get-user-features.mjs +21 -0
- package/dist/actions/get-user-features.mjs.map +1 -0
- package/dist/actions/get-user-profile.cjs +41 -0
- package/dist/actions/get-user-profile.cjs.map +1 -0
- package/dist/actions/get-user-profile.d.cts +9 -0
- package/dist/actions/get-user-profile.d.cts.map +1 -0
- package/dist/actions/get-user-profile.d.mts +9 -0
- package/dist/actions/get-user-profile.d.mts.map +1 -0
- package/dist/actions/get-user-profile.mjs +40 -0
- package/dist/actions/get-user-profile.mjs.map +1 -0
- package/dist/actions/get-user-root-node.cjs +55 -0
- package/dist/actions/get-user-root-node.cjs.map +1 -0
- package/dist/actions/get-user-root-node.d.cts +9 -0
- package/dist/actions/get-user-root-node.d.cts.map +1 -0
- package/dist/actions/get-user-root-node.d.mts +9 -0
- package/dist/actions/get-user-root-node.d.mts.map +1 -0
- package/dist/actions/get-user-root-node.mjs +54 -0
- package/dist/actions/get-user-root-node.mjs.map +1 -0
- package/dist/actions/get-user.cjs +50 -0
- package/dist/actions/get-user.cjs.map +1 -0
- package/dist/actions/get-user.d.cts +9 -0
- package/dist/actions/get-user.d.cts.map +1 -0
- package/dist/actions/get-user.d.mts +9 -0
- package/dist/actions/get-user.d.mts.map +1 -0
- package/dist/actions/get-user.mjs +49 -0
- package/dist/actions/get-user.mjs.map +1 -0
- package/dist/actions/index.cjs +51 -0
- package/dist/actions/index.d.cts +26 -0
- package/dist/actions/index.d.mts +26 -0
- package/dist/actions/index.mjs +26 -0
- package/dist/actions/list-child-nodes.cjs +49 -0
- package/dist/actions/list-child-nodes.cjs.map +1 -0
- package/dist/actions/list-child-nodes.d.cts +9 -0
- package/dist/actions/list-child-nodes.d.cts.map +1 -0
- package/dist/actions/list-child-nodes.d.mts +9 -0
- package/dist/actions/list-child-nodes.d.mts.map +1 -0
- package/dist/actions/list-child-nodes.mjs +48 -0
- package/dist/actions/list-child-nodes.mjs.map +1 -0
- package/dist/actions/search-user-content.cjs +73 -0
- package/dist/actions/search-user-content.cjs.map +1 -0
- package/dist/actions/search-user-content.d.cts +9 -0
- package/dist/actions/search-user-content.d.cts.map +1 -0
- package/dist/actions/search-user-content.d.mts +9 -0
- package/dist/actions/search-user-content.d.mts.map +1 -0
- package/dist/actions/search-user-content.mjs +72 -0
- package/dist/actions/search-user-content.mjs.map +1 -0
- package/dist/actions/unlock-album.cjs +22 -0
- package/dist/actions/unlock-album.cjs.map +1 -0
- package/dist/actions/unlock-album.d.cts +9 -0
- package/dist/actions/unlock-album.d.cts.map +1 -0
- package/dist/actions/unlock-album.d.mts +9 -0
- package/dist/actions/unlock-album.d.mts.map +1 -0
- package/dist/actions/unlock-album.mjs +19 -0
- package/dist/actions/unlock-album.mjs.map +1 -0
- package/dist/actions/unlock-user.cjs +22 -0
- package/dist/actions/unlock-user.cjs.map +1 -0
- package/dist/actions/unlock-user.d.cts +9 -0
- package/dist/actions/unlock-user.d.cts.map +1 -0
- package/dist/actions/unlock-user.d.mts +9 -0
- package/dist/actions/unlock-user.d.mts.map +1 -0
- package/dist/actions/unlock-user.mjs +19 -0
- package/dist/actions/unlock-user.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +56 -0
- package/dist/index.d.cts +28 -0
- package/dist/index.d.mts +28 -0
- package/dist/index.mjs +29 -0
- package/package.json +49 -0
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-image-metadata.ts
|
|
4
|
+
const SmugmugGetImageMetadataInput = z.object({ image_key: z.string().describe("The unique key identifier for the image. This is the image's unique identifier on SmugMug.") });
|
|
5
|
+
const SmugmugGetImageMetadata_ImageMetadataResponseSchema = z.object({
|
|
6
|
+
ISO: z.number().int().describe("ISO sensitivity setting.").nullable().optional(),
|
|
7
|
+
Uri: z.string().describe("The API URI for this metadata resource.").nullable().optional(),
|
|
8
|
+
City: z.string().describe("City where the image was taken.").nullable().optional(),
|
|
9
|
+
Lens: z.string().describe("Lens model used to capture the image.").nullable().optional(),
|
|
10
|
+
Make: z.string().describe("Camera manufacturer (e.g., Canon, Nikon).").nullable().optional(),
|
|
11
|
+
Flash: z.string().describe("Flash setting and status.").nullable().optional(),
|
|
12
|
+
Model: z.string().describe("Camera model name.").nullable().optional(),
|
|
13
|
+
State: z.string().describe("State or province where the image was taken.").nullable().optional(),
|
|
14
|
+
Title: z.string().describe("The title of the image.").nullable().optional(),
|
|
15
|
+
Author: z.string().describe("The author or photographer of the image.").nullable().optional(),
|
|
16
|
+
Credit: z.string().describe("Credit line for the image.").nullable().optional(),
|
|
17
|
+
Rating: z.string().describe("Rating assigned to the image.").nullable().optional(),
|
|
18
|
+
Source: z.string().describe("Source of the image.").nullable().optional(),
|
|
19
|
+
Caption: z.string().describe("The caption or description of the image.").nullable().optional(),
|
|
20
|
+
Country: z.string().describe("Country where the image was taken.").nullable().optional(),
|
|
21
|
+
Altitude: z.union([
|
|
22
|
+
z.string(),
|
|
23
|
+
z.number().int(),
|
|
24
|
+
z.number()
|
|
25
|
+
]).nullable().optional(),
|
|
26
|
+
Aperture: z.string().describe("Aperture value (f-stop) used for the image.").nullable().optional(),
|
|
27
|
+
Category: z.string().describe("Category classification of the image.").nullable().optional(),
|
|
28
|
+
Contrast: z.string().describe("Contrast setting.").nullable().optional(),
|
|
29
|
+
Duration: z.string().describe("Duration of video content.").nullable().optional(),
|
|
30
|
+
Exposure: z.string().describe("Exposure time or shutter speed.").nullable().optional(),
|
|
31
|
+
Headline: z.string().describe("Headline for the image.").nullable().optional(),
|
|
32
|
+
Keywords: z.string().describe("Keywords or tags associated with the image.").nullable().optional(),
|
|
33
|
+
Latitude: z.union([z.number().int(), z.number()]).nullable().optional(),
|
|
34
|
+
Metering: z.string().describe("Metering mode used (e.g., Spot, Evaluative).").nullable().optional(),
|
|
35
|
+
Software: z.string().describe("Software used to create or edit the image.").nullable().optional(),
|
|
36
|
+
Copyright: z.string().describe("Copyright information for the image.").nullable().optional(),
|
|
37
|
+
Longitude: z.union([z.number().int(), z.number()]).nullable().optional(),
|
|
38
|
+
Sharpness: z.string().describe("Sharpness setting.").nullable().optional(),
|
|
39
|
+
AudioCodec: z.string().describe("Audio codec used in video files.").nullable().optional(),
|
|
40
|
+
Brightness: z.string().describe("Brightness value.").nullable().optional(),
|
|
41
|
+
ColorSpace: z.string().describe("Color space used (e.g., sRGB, Adobe RGB).").nullable().optional(),
|
|
42
|
+
Saturation: z.string().describe("Saturation setting.").nullable().optional(),
|
|
43
|
+
UsageTerms: z.string().describe("Terms of usage for the image.").nullable().optional(),
|
|
44
|
+
VideoCodec: z.string().describe("Video codec used.").nullable().optional(),
|
|
45
|
+
AuthorTitle: z.string().describe("Title or position of the author.").nullable().optional(),
|
|
46
|
+
CountryCode: z.string().describe("ISO country code.").nullable().optional(),
|
|
47
|
+
DateCreated: z.string().describe("Date portion of creation time.").nullable().optional(),
|
|
48
|
+
FieldOfView: z.string().describe("Field of view angle.").nullable().optional(),
|
|
49
|
+
FocalLength: z.string().describe("Focal length of the lens in mm.").nullable().optional(),
|
|
50
|
+
GainControl: z.string().describe("Gain control setting.").nullable().optional(),
|
|
51
|
+
LightSource: z.string().describe("Type of light source.").nullable().optional(),
|
|
52
|
+
ScaleFactor: z.string().describe("Scale factor for focal length calculations.").nullable().optional(),
|
|
53
|
+
TimeCreated: z.string().describe("Time portion of creation time.").nullable().optional(),
|
|
54
|
+
UserComment: z.string().describe("User comment embedded in the image metadata.").nullable().optional(),
|
|
55
|
+
CopyrightUrl: z.string().describe("URL for copyright information.").nullable().optional(),
|
|
56
|
+
DepthOfField: z.string().describe("Calculated depth of field.").nullable().optional(),
|
|
57
|
+
ExposureMode: z.string().describe("Exposure mode setting.").nullable().optional(),
|
|
58
|
+
SerialNumber: z.string().describe("Camera body serial number.").nullable().optional(),
|
|
59
|
+
SubjectRange: z.string().describe("Subject distance range.").nullable().optional(),
|
|
60
|
+
WhiteBalance: z.string().describe("White balance setting.").nullable().optional(),
|
|
61
|
+
WriterEditor: z.string().describe("Writer or editor of the image content.").nullable().optional(),
|
|
62
|
+
CopyrightFlag: z.string().describe("Copyright flag indicator.").nullable().optional(),
|
|
63
|
+
DateDigitized: z.string().describe("Date when the image was digitized.").nullable().optional(),
|
|
64
|
+
SensingMethod: z.string().describe("Image sensor type.").nullable().optional(),
|
|
65
|
+
UriDescription: z.string().describe("Description of the URI endpoint.").nullable().optional(),
|
|
66
|
+
DateTimeCreated: z.string().describe("Date and time when the image was created.").nullable().optional(),
|
|
67
|
+
ExposureProgram: z.string().describe("Exposure program mode (e.g., Manual, Aperture Priority).").nullable().optional(),
|
|
68
|
+
FocalLength35mm: z.string().describe("Focal length in 35mm equivalent.").nullable().optional(),
|
|
69
|
+
SubjectDistance: z.string().describe("Distance to the subject.").nullable().optional(),
|
|
70
|
+
DateTimeModified: z.string().describe("Date and time when the image was last modified.").nullable().optional(),
|
|
71
|
+
DigitalZoomRatio: z.string().describe("Digital zoom ratio applied.").nullable().optional(),
|
|
72
|
+
LensSerialNumber: z.string().describe("Lens serial number.").nullable().optional(),
|
|
73
|
+
SceneCaptureType: z.string().describe("Type of scene captured.").nullable().optional(),
|
|
74
|
+
AltitudeReference: z.string().describe("Altitude reference (above or below sea level).").nullable().optional(),
|
|
75
|
+
CircleOfConfusion: z.string().describe("Circle of confusion value.").nullable().optional(),
|
|
76
|
+
LatitudeReference: z.string().describe("Latitude reference (N or S).").nullable().optional(),
|
|
77
|
+
HyperfocalDistance: z.string().describe("Hyperfocal distance for the settings used.").nullable().optional(),
|
|
78
|
+
LongitudeReference: z.string().describe("Longitude reference (E or W).").nullable().optional(),
|
|
79
|
+
SpecialInstructions: z.string().describe("Special instructions for handling the image.").nullable().optional(),
|
|
80
|
+
ExposureCompensation: z.string().describe("Exposure compensation value.").nullable().optional(),
|
|
81
|
+
MicroDateTimeCreated: z.string().describe("Microsecond precision creation time.").nullable().optional(),
|
|
82
|
+
NormalizedLightValue: z.string().describe("Normalized light value (LV).").nullable().optional(),
|
|
83
|
+
TransmissionReference: z.string().describe("Transmission reference identifier.").nullable().optional(),
|
|
84
|
+
CompressedBitsPerPixel: z.string().describe("Compression ratio in bits per pixel.").nullable().optional(),
|
|
85
|
+
MicroDateTimeDigitized: z.string().describe("Microsecond precision digitization time.").nullable().optional(),
|
|
86
|
+
SupplementalCategories: z.string().describe("Additional category classifications.").nullable().optional()
|
|
87
|
+
}).describe("Image metadata including EXIF data from SmugMug API.");
|
|
88
|
+
const smugmugGetImageMetadata = action("SMUGMUG_GET_IMAGE_METADATA", {
|
|
89
|
+
slug: "smugmug-get-image-metadata",
|
|
90
|
+
name: "Get Image Metadata",
|
|
91
|
+
description: "Tool to retrieve additional metadata from an image file including EXIF data, camera settings, GPS location, and other embedded information. Use when you need detailed technical information about an image, such as camera make/model, exposure settings, GPS coordinates, or timestamps.",
|
|
92
|
+
input: SmugmugGetImageMetadataInput,
|
|
93
|
+
output: z.object({ Response: SmugmugGetImageMetadata_ImageMetadataResponseSchema.nullable() })
|
|
94
|
+
});
|
|
95
|
+
//#endregion
|
|
96
|
+
export { smugmugGetImageMetadata };
|
|
97
|
+
|
|
98
|
+
//# sourceMappingURL=get-image-metadata.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-image-metadata.mjs","names":[],"sources":["../../src/actions/get-image-metadata.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmugmugGetImageMetadataInput: z.ZodTypeAny = z.object({\n image_key: z.string().describe(\"The unique key identifier for the image. This is the image's unique identifier on SmugMug.\"),\n});\nconst SmugmugGetImageMetadata_ImageMetadataResponseSchema: z.ZodTypeAny = z.object({\n ISO: z.number().int().describe(\"ISO sensitivity setting.\").nullable().optional(),\n Uri: z.string().describe(\"The API URI for this metadata resource.\").nullable().optional(),\n City: z.string().describe(\"City where the image was taken.\").nullable().optional(),\n Lens: z.string().describe(\"Lens model used to capture the image.\").nullable().optional(),\n Make: z.string().describe(\"Camera manufacturer (e.g., Canon, Nikon).\").nullable().optional(),\n Flash: z.string().describe(\"Flash setting and status.\").nullable().optional(),\n Model: z.string().describe(\"Camera model name.\").nullable().optional(),\n State: z.string().describe(\"State or province where the image was taken.\").nullable().optional(),\n Title: z.string().describe(\"The title of the image.\").nullable().optional(),\n Author: z.string().describe(\"The author or photographer of the image.\").nullable().optional(),\n Credit: z.string().describe(\"Credit line for the image.\").nullable().optional(),\n Rating: z.string().describe(\"Rating assigned to the image.\").nullable().optional(),\n Source: z.string().describe(\"Source of the image.\").nullable().optional(),\n Caption: z.string().describe(\"The caption or description of the image.\").nullable().optional(),\n Country: z.string().describe(\"Country where the image was taken.\").nullable().optional(),\n Altitude: z.union([z.string(), z.number().int(), z.number()]).nullable().optional(),\n Aperture: z.string().describe(\"Aperture value (f-stop) used for the image.\").nullable().optional(),\n Category: z.string().describe(\"Category classification of the image.\").nullable().optional(),\n Contrast: z.string().describe(\"Contrast setting.\").nullable().optional(),\n Duration: z.string().describe(\"Duration of video content.\").nullable().optional(),\n Exposure: z.string().describe(\"Exposure time or shutter speed.\").nullable().optional(),\n Headline: z.string().describe(\"Headline for the image.\").nullable().optional(),\n Keywords: z.string().describe(\"Keywords or tags associated with the image.\").nullable().optional(),\n Latitude: z.union([z.number().int(), z.number()]).nullable().optional(),\n Metering: z.string().describe(\"Metering mode used (e.g., Spot, Evaluative).\").nullable().optional(),\n Software: z.string().describe(\"Software used to create or edit the image.\").nullable().optional(),\n Copyright: z.string().describe(\"Copyright information for the image.\").nullable().optional(),\n Longitude: z.union([z.number().int(), z.number()]).nullable().optional(),\n Sharpness: z.string().describe(\"Sharpness setting.\").nullable().optional(),\n AudioCodec: z.string().describe(\"Audio codec used in video files.\").nullable().optional(),\n Brightness: z.string().describe(\"Brightness value.\").nullable().optional(),\n ColorSpace: z.string().describe(\"Color space used (e.g., sRGB, Adobe RGB).\").nullable().optional(),\n Saturation: z.string().describe(\"Saturation setting.\").nullable().optional(),\n UsageTerms: z.string().describe(\"Terms of usage for the image.\").nullable().optional(),\n VideoCodec: z.string().describe(\"Video codec used.\").nullable().optional(),\n AuthorTitle: z.string().describe(\"Title or position of the author.\").nullable().optional(),\n CountryCode: z.string().describe(\"ISO country code.\").nullable().optional(),\n DateCreated: z.string().describe(\"Date portion of creation time.\").nullable().optional(),\n FieldOfView: z.string().describe(\"Field of view angle.\").nullable().optional(),\n FocalLength: z.string().describe(\"Focal length of the lens in mm.\").nullable().optional(),\n GainControl: z.string().describe(\"Gain control setting.\").nullable().optional(),\n LightSource: z.string().describe(\"Type of light source.\").nullable().optional(),\n ScaleFactor: z.string().describe(\"Scale factor for focal length calculations.\").nullable().optional(),\n TimeCreated: z.string().describe(\"Time portion of creation time.\").nullable().optional(),\n UserComment: z.string().describe(\"User comment embedded in the image metadata.\").nullable().optional(),\n CopyrightUrl: z.string().describe(\"URL for copyright information.\").nullable().optional(),\n DepthOfField: z.string().describe(\"Calculated depth of field.\").nullable().optional(),\n ExposureMode: z.string().describe(\"Exposure mode setting.\").nullable().optional(),\n SerialNumber: z.string().describe(\"Camera body serial number.\").nullable().optional(),\n SubjectRange: z.string().describe(\"Subject distance range.\").nullable().optional(),\n WhiteBalance: z.string().describe(\"White balance setting.\").nullable().optional(),\n WriterEditor: z.string().describe(\"Writer or editor of the image content.\").nullable().optional(),\n CopyrightFlag: z.string().describe(\"Copyright flag indicator.\").nullable().optional(),\n DateDigitized: z.string().describe(\"Date when the image was digitized.\").nullable().optional(),\n SensingMethod: z.string().describe(\"Image sensor type.\").nullable().optional(),\n UriDescription: z.string().describe(\"Description of the URI endpoint.\").nullable().optional(),\n DateTimeCreated: z.string().describe(\"Date and time when the image was created.\").nullable().optional(),\n ExposureProgram: z.string().describe(\"Exposure program mode (e.g., Manual, Aperture Priority).\").nullable().optional(),\n FocalLength35mm: z.string().describe(\"Focal length in 35mm equivalent.\").nullable().optional(),\n SubjectDistance: z.string().describe(\"Distance to the subject.\").nullable().optional(),\n DateTimeModified: z.string().describe(\"Date and time when the image was last modified.\").nullable().optional(),\n DigitalZoomRatio: z.string().describe(\"Digital zoom ratio applied.\").nullable().optional(),\n LensSerialNumber: z.string().describe(\"Lens serial number.\").nullable().optional(),\n SceneCaptureType: z.string().describe(\"Type of scene captured.\").nullable().optional(),\n AltitudeReference: z.string().describe(\"Altitude reference (above or below sea level).\").nullable().optional(),\n CircleOfConfusion: z.string().describe(\"Circle of confusion value.\").nullable().optional(),\n LatitudeReference: z.string().describe(\"Latitude reference (N or S).\").nullable().optional(),\n HyperfocalDistance: z.string().describe(\"Hyperfocal distance for the settings used.\").nullable().optional(),\n LongitudeReference: z.string().describe(\"Longitude reference (E or W).\").nullable().optional(),\n SpecialInstructions: z.string().describe(\"Special instructions for handling the image.\").nullable().optional(),\n ExposureCompensation: z.string().describe(\"Exposure compensation value.\").nullable().optional(),\n MicroDateTimeCreated: z.string().describe(\"Microsecond precision creation time.\").nullable().optional(),\n NormalizedLightValue: z.string().describe(\"Normalized light value (LV).\").nullable().optional(),\n TransmissionReference: z.string().describe(\"Transmission reference identifier.\").nullable().optional(),\n CompressedBitsPerPixel: z.string().describe(\"Compression ratio in bits per pixel.\").nullable().optional(),\n MicroDateTimeDigitized: z.string().describe(\"Microsecond precision digitization time.\").nullable().optional(),\n SupplementalCategories: z.string().describe(\"Additional category classifications.\").nullable().optional(),\n}).describe(\"Image metadata including EXIF data from SmugMug API.\");\nexport const SmugmugGetImageMetadataOutput: z.ZodTypeAny = z.object({\n Response: SmugmugGetImageMetadata_ImageMetadataResponseSchema.nullable(),\n});\n\nexport const smugmugGetImageMetadata = action(\"SMUGMUG_GET_IMAGE_METADATA\", {\n slug: \"smugmug-get-image-metadata\",\n name: \"Get Image Metadata\",\n description: \"Tool to retrieve additional metadata from an image file including EXIF data, camera settings, GPS location, and other embedded information. Use when you need detailed technical information about an image, such as camera make/model, exposure settings, GPS coordinates, or timestamps.\",\n input: SmugmugGetImageMetadataInput,\n output: SmugmugGetImageMetadataOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6C,EAAE,OAAO,EACjE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,EAC7H,CAAC;AACD,MAAM,sDAAoE,EAAE,OAAO;CACjF,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,OAAO,EAAE,OAAO,CAAC,CAAC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,SAAS;AAC1G,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAKlE,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATyD,EAAE,OAAO,EAClE,UAAU,oDAAoD,SAAS,EACzE,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-image-size-details.ts
|
|
4
|
+
const SmugmugGetImageSizeDetailsInput = zod.z.object({ image_key: zod.z.string().describe("The unique key identifier for the image. This is typically a short alphanumeric string (e.g., 'fRmtKwv-0'). You can obtain this from image listings or album contents.") });
|
|
5
|
+
const SmugmugGetImageSizeDetails_ImageSizeSchema = zod.z.object({
|
|
6
|
+
Ext: zod.z.string().describe("File extension for this image size (e.g., 'jpg', 'png').").nullable().optional(),
|
|
7
|
+
Md5: zod.z.string().describe("MD5 checksum of the image file for this size variant.").nullable().optional(),
|
|
8
|
+
Url: zod.z.string().describe("Direct URL to download this size variant of the image.").nullable().optional(),
|
|
9
|
+
Size: zod.z.number().int().describe("File size in bytes for this size variant.").nullable().optional(),
|
|
10
|
+
Width: zod.z.number().int().describe("Width of the image in pixels for this size variant.").nullable().optional(),
|
|
11
|
+
Height: zod.z.number().int().describe("Height of the image in pixels for this size variant.").nullable().optional()
|
|
12
|
+
}).describe("Details about a specific image size variant.");
|
|
13
|
+
const SmugmugGetImageSizeDetails_ImageSizeDetailsDataSchema = zod.z.object({
|
|
14
|
+
Uri: zod.z.string().describe("The API URI for this ImageSizeDetails resource.").nullable().optional(),
|
|
15
|
+
UsableSizes: zod.z.array(zod.z.string()).describe("Array of available size names for this image (e.g., ['Tiny', 'Thumb', 'Small', 'Medium', 'Large', 'Original']).").nullable().optional(),
|
|
16
|
+
ImageSizeTiny: SmugmugGetImageSizeDetails_ImageSizeSchema.nullable().optional(),
|
|
17
|
+
ImageSizeLarge: SmugmugGetImageSizeDetails_ImageSizeSchema.nullable().optional(),
|
|
18
|
+
ImageSizeSmall: SmugmugGetImageSizeDetails_ImageSizeSchema.nullable().optional(),
|
|
19
|
+
ImageSizeThumb: SmugmugGetImageSizeDetails_ImageSizeSchema.nullable().optional(),
|
|
20
|
+
UriDescription: zod.z.string().describe("Description of the API URI endpoint.").nullable().optional(),
|
|
21
|
+
ImageSizeMedium: SmugmugGetImageSizeDetails_ImageSizeSchema.nullable().optional(),
|
|
22
|
+
ImageSizeXLarge: SmugmugGetImageSizeDetails_ImageSizeSchema.nullable().optional(),
|
|
23
|
+
ImageSizeX2Large: SmugmugGetImageSizeDetails_ImageSizeSchema.nullable().optional(),
|
|
24
|
+
ImageSizeX3Large: SmugmugGetImageSizeDetails_ImageSizeSchema.nullable().optional(),
|
|
25
|
+
ImageSizeX4Large: SmugmugGetImageSizeDetails_ImageSizeSchema.nullable().optional(),
|
|
26
|
+
ImageSizeX5Large: SmugmugGetImageSizeDetails_ImageSizeSchema.nullable().optional(),
|
|
27
|
+
ImageURLTemplate: zod.z.string().describe("URL template for generating image URLs at different sizes. Use this pattern to construct URLs programmatically.").nullable().optional(),
|
|
28
|
+
ImageSizeOriginal: SmugmugGetImageSizeDetails_ImageSizeSchema.nullable().optional(),
|
|
29
|
+
ImageSizeVideo960: SmugmugGetImageSizeDetails_ImageSizeSchema.nullable().optional(),
|
|
30
|
+
ImageSizeVideo1280: SmugmugGetImageSizeDetails_ImageSizeSchema.nullable().optional(),
|
|
31
|
+
ImageSizeVideo1920: SmugmugGetImageSizeDetails_ImageSizeSchema.nullable().optional()
|
|
32
|
+
}).describe("Complete size details for an image including all available size variants.");
|
|
33
|
+
const SmugmugGetImageSizeDetailsOutput = zod.z.object({ Response: SmugmugGetImageSizeDetails_ImageSizeDetailsDataSchema.nullable() });
|
|
34
|
+
const smugmugGetImageSizeDetails = require_action.action("SMUGMUG_GET_IMAGE_SIZE_DETAILS", {
|
|
35
|
+
slug: "smugmug-get-image-size-details",
|
|
36
|
+
name: "Get Image Size Details",
|
|
37
|
+
description: "Retrieve raw media URLs and dimensions for all available sizes of an image. Returns detailed information including direct download URLs, dimensions, and file sizes for each variant. Use this when you need to download photos or videos with specific size requirements.",
|
|
38
|
+
input: SmugmugGetImageSizeDetailsInput,
|
|
39
|
+
output: SmugmugGetImageSizeDetailsOutput
|
|
40
|
+
});
|
|
41
|
+
//#endregion
|
|
42
|
+
exports.smugmugGetImageSizeDetails = smugmugGetImageSizeDetails;
|
|
43
|
+
|
|
44
|
+
//# sourceMappingURL=get-image-size-details.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-image-size-details.cjs","names":["z","action"],"sources":["../../src/actions/get-image-size-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmugmugGetImageSizeDetailsInput: z.ZodTypeAny = z.object({\n image_key: z.string().describe(\"The unique key identifier for the image. This is typically a short alphanumeric string (e.g., 'fRmtKwv-0'). You can obtain this from image listings or album contents.\"),\n});\nconst SmugmugGetImageSizeDetails_ImageSizeSchema: z.ZodTypeAny = z.object({\n Ext: z.string().describe(\"File extension for this image size (e.g., 'jpg', 'png').\").nullable().optional(),\n Md5: z.string().describe(\"MD5 checksum of the image file for this size variant.\").nullable().optional(),\n Url: z.string().describe(\"Direct URL to download this size variant of the image.\").nullable().optional(),\n Size: z.number().int().describe(\"File size in bytes for this size variant.\").nullable().optional(),\n Width: z.number().int().describe(\"Width of the image in pixels for this size variant.\").nullable().optional(),\n Height: z.number().int().describe(\"Height of the image in pixels for this size variant.\").nullable().optional(),\n}).describe(\"Details about a specific image size variant.\");\nconst SmugmugGetImageSizeDetails_ImageSizeDetailsDataSchema: z.ZodTypeAny = z.object({\n Uri: z.string().describe(\"The API URI for this ImageSizeDetails resource.\").nullable().optional(),\n UsableSizes: z.array(z.string()).describe(\"Array of available size names for this image (e.g., ['Tiny', 'Thumb', 'Small', 'Medium', 'Large', 'Original']).\").nullable().optional(),\n ImageSizeTiny: SmugmugGetImageSizeDetails_ImageSizeSchema.nullable().optional(),\n ImageSizeLarge: SmugmugGetImageSizeDetails_ImageSizeSchema.nullable().optional(),\n ImageSizeSmall: SmugmugGetImageSizeDetails_ImageSizeSchema.nullable().optional(),\n ImageSizeThumb: SmugmugGetImageSizeDetails_ImageSizeSchema.nullable().optional(),\n UriDescription: z.string().describe(\"Description of the API URI endpoint.\").nullable().optional(),\n ImageSizeMedium: SmugmugGetImageSizeDetails_ImageSizeSchema.nullable().optional(),\n ImageSizeXLarge: SmugmugGetImageSizeDetails_ImageSizeSchema.nullable().optional(),\n ImageSizeX2Large: SmugmugGetImageSizeDetails_ImageSizeSchema.nullable().optional(),\n ImageSizeX3Large: SmugmugGetImageSizeDetails_ImageSizeSchema.nullable().optional(),\n ImageSizeX4Large: SmugmugGetImageSizeDetails_ImageSizeSchema.nullable().optional(),\n ImageSizeX5Large: SmugmugGetImageSizeDetails_ImageSizeSchema.nullable().optional(),\n ImageURLTemplate: z.string().describe(\"URL template for generating image URLs at different sizes. Use this pattern to construct URLs programmatically.\").nullable().optional(),\n ImageSizeOriginal: SmugmugGetImageSizeDetails_ImageSizeSchema.nullable().optional(),\n ImageSizeVideo960: SmugmugGetImageSizeDetails_ImageSizeSchema.nullable().optional(),\n ImageSizeVideo1280: SmugmugGetImageSizeDetails_ImageSizeSchema.nullable().optional(),\n ImageSizeVideo1920: SmugmugGetImageSizeDetails_ImageSizeSchema.nullable().optional(),\n}).describe(\"Complete size details for an image including all available size variants.\");\nexport const SmugmugGetImageSizeDetailsOutput: z.ZodTypeAny = z.object({\n Response: SmugmugGetImageSizeDetails_ImageSizeDetailsDataSchema.nullable(),\n});\n\nexport const smugmugGetImageSizeDetails = action(\"SMUGMUG_GET_IMAGE_SIZE_DETAILS\", {\n slug: \"smugmug-get-image-size-details\",\n name: \"Get Image Size Details\",\n description: \"Retrieve raw media URLs and dimensions for all available sizes of an image. Returns detailed information including direct download URLs, dimensions, and file sizes for each variant. Use this when you need to download photos or videos with specific size requirements.\",\n input: SmugmugGetImageSizeDetailsInput,\n output: SmugmugGetImageSizeDetailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgDA,IAAAA,EAAE,OAAO,EACpE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wKAAwK,EACzM,CAAC;AACD,MAAM,6CAA2DA,IAAAA,EAAE,OAAO;CACxE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,wDAAsEA,IAAAA,EAAE,OAAO;CACnF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjL,eAAe,2CAA2C,SAAS,CAAC,CAAC,SAAS;CAC9E,gBAAgB,2CAA2C,SAAS,CAAC,CAAC,SAAS;CAC/E,gBAAgB,2CAA2C,SAAS,CAAC,CAAC,SAAS;CAC/E,gBAAgB,2CAA2C,SAAS,CAAC,CAAC,SAAS;CAC/E,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,iBAAiB,2CAA2C,SAAS,CAAC,CAAC,SAAS;CAChF,iBAAiB,2CAA2C,SAAS,CAAC,CAAC,SAAS;CAChF,kBAAkB,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACjF,kBAAkB,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACjF,kBAAkB,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACjF,kBAAkB,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACjF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7K,mBAAmB,2CAA2C,SAAS,CAAC,CAAC,SAAS;CAClF,mBAAmB,2CAA2C,SAAS,CAAC,CAAC,SAAS;CAClF,oBAAoB,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACnF,oBAAoB,2CAA2C,SAAS,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,SAAS,2EAA2E;AACvF,MAAa,mCAAiDA,IAAAA,EAAE,OAAO,EACrE,UAAU,sDAAsD,SAAS,EAC3E,CAAC;AAED,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-image-size-details.d.ts
|
|
4
|
+
declare const SmugmugGetImageSizeDetailsInput: z.ZodTypeAny;
|
|
5
|
+
declare const SmugmugGetImageSizeDetailsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const smugmugGetImageSizeDetails: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { smugmugGetImageSizeDetails };
|
|
9
|
+
//# sourceMappingURL=get-image-size-details.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-image-size-details.d.cts","names":[],"sources":["../../src/actions/get-image-size-details.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAE9C;AAAA,cA6BW,gCAAA,EAAkC,CAAA,CAAE,UAE/C;AAAA,cAEW,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-image-size-details.d.ts
|
|
4
|
+
declare const SmugmugGetImageSizeDetailsInput: z.ZodTypeAny;
|
|
5
|
+
declare const SmugmugGetImageSizeDetailsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const smugmugGetImageSizeDetails: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { smugmugGetImageSizeDetails };
|
|
9
|
+
//# sourceMappingURL=get-image-size-details.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-image-size-details.d.mts","names":[],"sources":["../../src/actions/get-image-size-details.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAE9C;AAAA,cA6BW,gCAAA,EAAkC,CAAA,CAAE,UAE/C;AAAA,cAEW,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-image-size-details.ts
|
|
4
|
+
const SmugmugGetImageSizeDetailsInput = z.object({ image_key: z.string().describe("The unique key identifier for the image. This is typically a short alphanumeric string (e.g., 'fRmtKwv-0'). You can obtain this from image listings or album contents.") });
|
|
5
|
+
const SmugmugGetImageSizeDetails_ImageSizeSchema = z.object({
|
|
6
|
+
Ext: z.string().describe("File extension for this image size (e.g., 'jpg', 'png').").nullable().optional(),
|
|
7
|
+
Md5: z.string().describe("MD5 checksum of the image file for this size variant.").nullable().optional(),
|
|
8
|
+
Url: z.string().describe("Direct URL to download this size variant of the image.").nullable().optional(),
|
|
9
|
+
Size: z.number().int().describe("File size in bytes for this size variant.").nullable().optional(),
|
|
10
|
+
Width: z.number().int().describe("Width of the image in pixels for this size variant.").nullable().optional(),
|
|
11
|
+
Height: z.number().int().describe("Height of the image in pixels for this size variant.").nullable().optional()
|
|
12
|
+
}).describe("Details about a specific image size variant.");
|
|
13
|
+
const SmugmugGetImageSizeDetails_ImageSizeDetailsDataSchema = z.object({
|
|
14
|
+
Uri: z.string().describe("The API URI for this ImageSizeDetails resource.").nullable().optional(),
|
|
15
|
+
UsableSizes: z.array(z.string()).describe("Array of available size names for this image (e.g., ['Tiny', 'Thumb', 'Small', 'Medium', 'Large', 'Original']).").nullable().optional(),
|
|
16
|
+
ImageSizeTiny: SmugmugGetImageSizeDetails_ImageSizeSchema.nullable().optional(),
|
|
17
|
+
ImageSizeLarge: SmugmugGetImageSizeDetails_ImageSizeSchema.nullable().optional(),
|
|
18
|
+
ImageSizeSmall: SmugmugGetImageSizeDetails_ImageSizeSchema.nullable().optional(),
|
|
19
|
+
ImageSizeThumb: SmugmugGetImageSizeDetails_ImageSizeSchema.nullable().optional(),
|
|
20
|
+
UriDescription: z.string().describe("Description of the API URI endpoint.").nullable().optional(),
|
|
21
|
+
ImageSizeMedium: SmugmugGetImageSizeDetails_ImageSizeSchema.nullable().optional(),
|
|
22
|
+
ImageSizeXLarge: SmugmugGetImageSizeDetails_ImageSizeSchema.nullable().optional(),
|
|
23
|
+
ImageSizeX2Large: SmugmugGetImageSizeDetails_ImageSizeSchema.nullable().optional(),
|
|
24
|
+
ImageSizeX3Large: SmugmugGetImageSizeDetails_ImageSizeSchema.nullable().optional(),
|
|
25
|
+
ImageSizeX4Large: SmugmugGetImageSizeDetails_ImageSizeSchema.nullable().optional(),
|
|
26
|
+
ImageSizeX5Large: SmugmugGetImageSizeDetails_ImageSizeSchema.nullable().optional(),
|
|
27
|
+
ImageURLTemplate: z.string().describe("URL template for generating image URLs at different sizes. Use this pattern to construct URLs programmatically.").nullable().optional(),
|
|
28
|
+
ImageSizeOriginal: SmugmugGetImageSizeDetails_ImageSizeSchema.nullable().optional(),
|
|
29
|
+
ImageSizeVideo960: SmugmugGetImageSizeDetails_ImageSizeSchema.nullable().optional(),
|
|
30
|
+
ImageSizeVideo1280: SmugmugGetImageSizeDetails_ImageSizeSchema.nullable().optional(),
|
|
31
|
+
ImageSizeVideo1920: SmugmugGetImageSizeDetails_ImageSizeSchema.nullable().optional()
|
|
32
|
+
}).describe("Complete size details for an image including all available size variants.");
|
|
33
|
+
const smugmugGetImageSizeDetails = action("SMUGMUG_GET_IMAGE_SIZE_DETAILS", {
|
|
34
|
+
slug: "smugmug-get-image-size-details",
|
|
35
|
+
name: "Get Image Size Details",
|
|
36
|
+
description: "Retrieve raw media URLs and dimensions for all available sizes of an image. Returns detailed information including direct download URLs, dimensions, and file sizes for each variant. Use this when you need to download photos or videos with specific size requirements.",
|
|
37
|
+
input: SmugmugGetImageSizeDetailsInput,
|
|
38
|
+
output: z.object({ Response: SmugmugGetImageSizeDetails_ImageSizeDetailsDataSchema.nullable() })
|
|
39
|
+
});
|
|
40
|
+
//#endregion
|
|
41
|
+
export { smugmugGetImageSizeDetails };
|
|
42
|
+
|
|
43
|
+
//# sourceMappingURL=get-image-size-details.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-image-size-details.mjs","names":[],"sources":["../../src/actions/get-image-size-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmugmugGetImageSizeDetailsInput: z.ZodTypeAny = z.object({\n image_key: z.string().describe(\"The unique key identifier for the image. This is typically a short alphanumeric string (e.g., 'fRmtKwv-0'). You can obtain this from image listings or album contents.\"),\n});\nconst SmugmugGetImageSizeDetails_ImageSizeSchema: z.ZodTypeAny = z.object({\n Ext: z.string().describe(\"File extension for this image size (e.g., 'jpg', 'png').\").nullable().optional(),\n Md5: z.string().describe(\"MD5 checksum of the image file for this size variant.\").nullable().optional(),\n Url: z.string().describe(\"Direct URL to download this size variant of the image.\").nullable().optional(),\n Size: z.number().int().describe(\"File size in bytes for this size variant.\").nullable().optional(),\n Width: z.number().int().describe(\"Width of the image in pixels for this size variant.\").nullable().optional(),\n Height: z.number().int().describe(\"Height of the image in pixels for this size variant.\").nullable().optional(),\n}).describe(\"Details about a specific image size variant.\");\nconst SmugmugGetImageSizeDetails_ImageSizeDetailsDataSchema: z.ZodTypeAny = z.object({\n Uri: z.string().describe(\"The API URI for this ImageSizeDetails resource.\").nullable().optional(),\n UsableSizes: z.array(z.string()).describe(\"Array of available size names for this image (e.g., ['Tiny', 'Thumb', 'Small', 'Medium', 'Large', 'Original']).\").nullable().optional(),\n ImageSizeTiny: SmugmugGetImageSizeDetails_ImageSizeSchema.nullable().optional(),\n ImageSizeLarge: SmugmugGetImageSizeDetails_ImageSizeSchema.nullable().optional(),\n ImageSizeSmall: SmugmugGetImageSizeDetails_ImageSizeSchema.nullable().optional(),\n ImageSizeThumb: SmugmugGetImageSizeDetails_ImageSizeSchema.nullable().optional(),\n UriDescription: z.string().describe(\"Description of the API URI endpoint.\").nullable().optional(),\n ImageSizeMedium: SmugmugGetImageSizeDetails_ImageSizeSchema.nullable().optional(),\n ImageSizeXLarge: SmugmugGetImageSizeDetails_ImageSizeSchema.nullable().optional(),\n ImageSizeX2Large: SmugmugGetImageSizeDetails_ImageSizeSchema.nullable().optional(),\n ImageSizeX3Large: SmugmugGetImageSizeDetails_ImageSizeSchema.nullable().optional(),\n ImageSizeX4Large: SmugmugGetImageSizeDetails_ImageSizeSchema.nullable().optional(),\n ImageSizeX5Large: SmugmugGetImageSizeDetails_ImageSizeSchema.nullable().optional(),\n ImageURLTemplate: z.string().describe(\"URL template for generating image URLs at different sizes. Use this pattern to construct URLs programmatically.\").nullable().optional(),\n ImageSizeOriginal: SmugmugGetImageSizeDetails_ImageSizeSchema.nullable().optional(),\n ImageSizeVideo960: SmugmugGetImageSizeDetails_ImageSizeSchema.nullable().optional(),\n ImageSizeVideo1280: SmugmugGetImageSizeDetails_ImageSizeSchema.nullable().optional(),\n ImageSizeVideo1920: SmugmugGetImageSizeDetails_ImageSizeSchema.nullable().optional(),\n}).describe(\"Complete size details for an image including all available size variants.\");\nexport const SmugmugGetImageSizeDetailsOutput: z.ZodTypeAny = z.object({\n Response: SmugmugGetImageSizeDetails_ImageSizeDetailsDataSchema.nullable(),\n});\n\nexport const smugmugGetImageSizeDetails = action(\"SMUGMUG_GET_IMAGE_SIZE_DETAILS\", {\n slug: \"smugmug-get-image-size-details\",\n name: \"Get Image Size Details\",\n description: \"Retrieve raw media URLs and dimensions for all available sizes of an image. Returns detailed information including direct download URLs, dimensions, and file sizes for each variant. Use this when you need to download photos or videos with specific size requirements.\",\n input: SmugmugGetImageSizeDetailsInput,\n output: SmugmugGetImageSizeDetailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgD,EAAE,OAAO,EACpE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wKAAwK,EACzM,CAAC;AACD,MAAM,6CAA2D,EAAE,OAAO;CACxE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CA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jF,kBAAkB,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACjF,kBAAkB,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACjF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7K,mBAAmB,2CAA2C,SAAS,CAAC,CAAC,SAAS;CAClF,mBAAmB,2CAA2C,SAAS,CAAC,CAAC,SAAS;CAClF,oBAAoB,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACnF,oBAAoB,2CAA2C,SAAS,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,SAAS,2EAA2E;AAKvF,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT4D,EAAE,OAAO,EACrE,UAAU,sDAAsD,SAAS,EAC3E,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-image-sizes.ts
|
|
4
|
+
const SmugmugGetImageSizesInput = zod.z.object({ image_key: zod.z.string().describe("The unique alphanumeric identifier for the image (e.g., 'jPPKD2c-1'). This key is returned from album image listings or image creation endpoints.") });
|
|
5
|
+
const SmugmugGetImageSizes_ImageSizesDataSchema = zod.z.object({
|
|
6
|
+
Uri: zod.z.string().describe("The API URI for the image sizes resource.").nullable().optional(),
|
|
7
|
+
Uris: zod.z.object({}).describe("Related URIs for additional resources.").nullable().optional(),
|
|
8
|
+
TinyImageUrl: zod.z.string().describe("URL for the tiny size version of the image.").nullable().optional(),
|
|
9
|
+
LargeImageUrl: zod.z.string().describe("URL for the large size version of the image.").nullable().optional(),
|
|
10
|
+
SmallImageUrl: zod.z.string().describe("URL for the small size version of the image.").nullable().optional(),
|
|
11
|
+
ThumbImageUrl: zod.z.string().describe("URL for the thumbnail size version of the image.").nullable().optional(),
|
|
12
|
+
MediumImageUrl: zod.z.string().describe("URL for the medium size version of the image.").nullable().optional(),
|
|
13
|
+
XLargeImageUrl: zod.z.string().describe("URL for the extra large size version of the image.").nullable().optional(),
|
|
14
|
+
LargestImageUrl: zod.z.string().describe("URL for the largest available size version of the image based on permissions.").nullable().optional(),
|
|
15
|
+
X2LargeImageUrl: zod.z.string().describe("URL for the 2x large size version of the image.").nullable().optional(),
|
|
16
|
+
X3LargeImageUrl: zod.z.string().describe("URL for the 3x large size version of the image.").nullable().optional(),
|
|
17
|
+
X4LargeImageUrl: zod.z.string().describe("URL for the 4x large size version of the image.").nullable().optional(),
|
|
18
|
+
X5LargeImageUrl: zod.z.string().describe("URL for the 5x large size version of the image.").nullable().optional(),
|
|
19
|
+
OriginalImageUrl: zod.z.string().describe("URL for the original full-resolution version of the image.").nullable().optional()
|
|
20
|
+
}).describe("Available image sizes and URLs for a SmugMug image.");
|
|
21
|
+
const SmugmugGetImageSizes_ImageSizesResponseDataSchema = zod.z.object({
|
|
22
|
+
Uri: zod.z.string().describe("The API URI for this resource.").nullable().optional(),
|
|
23
|
+
Locator: zod.z.string().describe("The locator type for this resource.").nullable().optional(),
|
|
24
|
+
ImageSizes: SmugmugGetImageSizes_ImageSizesDataSchema.nullable(),
|
|
25
|
+
LocatorType: zod.z.string().describe("The locator type name.").nullable().optional(),
|
|
26
|
+
EndpointType: zod.z.string().describe("The endpoint type name.").nullable().optional(),
|
|
27
|
+
UriDescription: zod.z.string().describe("Description of the API URI endpoint.").nullable().optional()
|
|
28
|
+
}).describe("Response data structure for image sizes.");
|
|
29
|
+
const SmugmugGetImageSizesOutput = zod.z.object({
|
|
30
|
+
Code: zod.z.number().int().describe("HTTP status code from the API response.").nullable().optional(),
|
|
31
|
+
Message: zod.z.string().describe("Message from the API response.").nullable().optional(),
|
|
32
|
+
Response: SmugmugGetImageSizes_ImageSizesResponseDataSchema.nullable()
|
|
33
|
+
});
|
|
34
|
+
const smugmugGetImageSizes = require_action.action("SMUGMUG_GET_IMAGE_SIZES", {
|
|
35
|
+
slug: "smugmug-get-image-sizes",
|
|
36
|
+
name: "Get Image Sizes",
|
|
37
|
+
description: "Retrieves available image sizes and URLs for a SmugMug image by its unique image key. Use this to get download URLs for different resolutions (tiny, thumb, small, medium, large, xlarge, original, etc.).",
|
|
38
|
+
input: SmugmugGetImageSizesInput,
|
|
39
|
+
output: SmugmugGetImageSizesOutput
|
|
40
|
+
});
|
|
41
|
+
//#endregion
|
|
42
|
+
exports.smugmugGetImageSizes = smugmugGetImageSizes;
|
|
43
|
+
|
|
44
|
+
//# sourceMappingURL=get-image-sizes.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-image-sizes.cjs","names":["z","action"],"sources":["../../src/actions/get-image-sizes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmugmugGetImageSizesInput: z.ZodTypeAny = z.object({\n image_key: z.string().describe(\"The unique alphanumeric identifier for the image (e.g., 'jPPKD2c-1'). This key is returned from album image listings or image creation endpoints.\"),\n});\nconst SmugmugGetImageSizes_ImageSizesDataSchema: z.ZodTypeAny = z.object({\n Uri: z.string().describe(\"The API URI for the image sizes resource.\").nullable().optional(),\n Uris: z.object({}).describe(\"Related URIs for additional resources.\").nullable().optional(),\n TinyImageUrl: z.string().describe(\"URL for the tiny size version of the image.\").nullable().optional(),\n LargeImageUrl: z.string().describe(\"URL for the large size version of the image.\").nullable().optional(),\n SmallImageUrl: z.string().describe(\"URL for the small size version of the image.\").nullable().optional(),\n ThumbImageUrl: z.string().describe(\"URL for the thumbnail size version of the image.\").nullable().optional(),\n MediumImageUrl: z.string().describe(\"URL for the medium size version of the image.\").nullable().optional(),\n XLargeImageUrl: z.string().describe(\"URL for the extra large size version of the image.\").nullable().optional(),\n LargestImageUrl: z.string().describe(\"URL for the largest available size version of the image based on permissions.\").nullable().optional(),\n X2LargeImageUrl: z.string().describe(\"URL for the 2x large size version of the image.\").nullable().optional(),\n X3LargeImageUrl: z.string().describe(\"URL for the 3x large size version of the image.\").nullable().optional(),\n X4LargeImageUrl: z.string().describe(\"URL for the 4x large size version of the image.\").nullable().optional(),\n X5LargeImageUrl: z.string().describe(\"URL for the 5x large size version of the image.\").nullable().optional(),\n OriginalImageUrl: z.string().describe(\"URL for the original full-resolution version of the image.\").nullable().optional(),\n}).describe(\"Available image sizes and URLs for a SmugMug image.\");\nconst SmugmugGetImageSizes_ImageSizesResponseDataSchema: z.ZodTypeAny = z.object({\n Uri: z.string().describe(\"The API URI for this resource.\").nullable().optional(),\n Locator: z.string().describe(\"The locator type for this resource.\").nullable().optional(),\n ImageSizes: SmugmugGetImageSizes_ImageSizesDataSchema.nullable(),\n LocatorType: z.string().describe(\"The locator type name.\").nullable().optional(),\n EndpointType: z.string().describe(\"The endpoint type name.\").nullable().optional(),\n UriDescription: z.string().describe(\"Description of the API URI endpoint.\").nullable().optional(),\n}).describe(\"Response data structure for image sizes.\");\nexport const SmugmugGetImageSizesOutput: z.ZodTypeAny = z.object({\n Code: z.number().int().describe(\"HTTP status code from the API response.\").nullable().optional(),\n Message: z.string().describe(\"Message from the API response.\").nullable().optional(),\n Response: SmugmugGetImageSizes_ImageSizesResponseDataSchema.nullable(),\n});\n\nexport const smugmugGetImageSizes = action(\"SMUGMUG_GET_IMAGE_SIZES\", {\n slug: \"smugmug-get-image-sizes\",\n name: \"Get Image Sizes\",\n description: \"Retrieves available image sizes and URLs for a SmugMug image by its unique image key. Use this to get download URLs for different resolutions (tiny, thumb, small, medium, large, xlarge, original, etc.).\",\n input: SmugmugGetImageSizesInput,\n output: SmugmugGetImageSizesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,EAC9D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mJAAmJ,EACpL,CAAC;AACD,MAAM,4CAA0DA,IAAAA,EAAE,OAAO;CACvE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CA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ugmugGetImageSizesInput: z.ZodTypeAny;
|
|
5
|
+
declare const SmugmugGetImageSizesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const smugmugGetImageSizes: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { smugmugGetImageSizes };
|
|
9
|
+
//# sourceMappingURL=get-image-sizes.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-image-sizes.d.cts","names":[],"sources":["../../src/actions/get-image-sizes.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAExC;AAAA,cAyBW,0BAAA,EAA4B,CAAA,CAAE,UAIzC;AAAA,cAEW,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-image-sizes.d.ts
|
|
4
|
+
declare const SmugmugGetImageSizesInput: z.ZodTypeAny;
|
|
5
|
+
declare const SmugmugGetImageSizesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const smugmugGetImageSizes: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { smugmugGetImageSizes };
|
|
9
|
+
//# sourceMappingURL=get-image-sizes.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-image-sizes.d.mts","names":[],"sources":["../../src/actions/get-image-sizes.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAExC;AAAA,cAyBW,0BAAA,EAA4B,CAAA,CAAE,UAIzC;AAAA,cAEW,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-image-sizes.ts
|
|
4
|
+
const SmugmugGetImageSizesInput = z.object({ image_key: z.string().describe("The unique alphanumeric identifier for the image (e.g., 'jPPKD2c-1'). This key is returned from album image listings or image creation endpoints.") });
|
|
5
|
+
const SmugmugGetImageSizes_ImageSizesDataSchema = z.object({
|
|
6
|
+
Uri: z.string().describe("The API URI for the image sizes resource.").nullable().optional(),
|
|
7
|
+
Uris: z.object({}).describe("Related URIs for additional resources.").nullable().optional(),
|
|
8
|
+
TinyImageUrl: z.string().describe("URL for the tiny size version of the image.").nullable().optional(),
|
|
9
|
+
LargeImageUrl: z.string().describe("URL for the large size version of the image.").nullable().optional(),
|
|
10
|
+
SmallImageUrl: z.string().describe("URL for the small size version of the image.").nullable().optional(),
|
|
11
|
+
ThumbImageUrl: z.string().describe("URL for the thumbnail size version of the image.").nullable().optional(),
|
|
12
|
+
MediumImageUrl: z.string().describe("URL for the medium size version of the image.").nullable().optional(),
|
|
13
|
+
XLargeImageUrl: z.string().describe("URL for the extra large size version of the image.").nullable().optional(),
|
|
14
|
+
LargestImageUrl: z.string().describe("URL for the largest available size version of the image based on permissions.").nullable().optional(),
|
|
15
|
+
X2LargeImageUrl: z.string().describe("URL for the 2x large size version of the image.").nullable().optional(),
|
|
16
|
+
X3LargeImageUrl: z.string().describe("URL for the 3x large size version of the image.").nullable().optional(),
|
|
17
|
+
X4LargeImageUrl: z.string().describe("URL for the 4x large size version of the image.").nullable().optional(),
|
|
18
|
+
X5LargeImageUrl: z.string().describe("URL for the 5x large size version of the image.").nullable().optional(),
|
|
19
|
+
OriginalImageUrl: z.string().describe("URL for the original full-resolution version of the image.").nullable().optional()
|
|
20
|
+
}).describe("Available image sizes and URLs for a SmugMug image.");
|
|
21
|
+
const SmugmugGetImageSizes_ImageSizesResponseDataSchema = z.object({
|
|
22
|
+
Uri: z.string().describe("The API URI for this resource.").nullable().optional(),
|
|
23
|
+
Locator: z.string().describe("The locator type for this resource.").nullable().optional(),
|
|
24
|
+
ImageSizes: SmugmugGetImageSizes_ImageSizesDataSchema.nullable(),
|
|
25
|
+
LocatorType: z.string().describe("The locator type name.").nullable().optional(),
|
|
26
|
+
EndpointType: z.string().describe("The endpoint type name.").nullable().optional(),
|
|
27
|
+
UriDescription: z.string().describe("Description of the API URI endpoint.").nullable().optional()
|
|
28
|
+
}).describe("Response data structure for image sizes.");
|
|
29
|
+
const smugmugGetImageSizes = action("SMUGMUG_GET_IMAGE_SIZES", {
|
|
30
|
+
slug: "smugmug-get-image-sizes",
|
|
31
|
+
name: "Get Image Sizes",
|
|
32
|
+
description: "Retrieves available image sizes and URLs for a SmugMug image by its unique image key. Use this to get download URLs for different resolutions (tiny, thumb, small, medium, large, xlarge, original, etc.).",
|
|
33
|
+
input: SmugmugGetImageSizesInput,
|
|
34
|
+
output: z.object({
|
|
35
|
+
Code: z.number().int().describe("HTTP status code from the API response.").nullable().optional(),
|
|
36
|
+
Message: z.string().describe("Message from the API response.").nullable().optional(),
|
|
37
|
+
Response: SmugmugGetImageSizes_ImageSizesResponseDataSchema.nullable()
|
|
38
|
+
})
|
|
39
|
+
});
|
|
40
|
+
//#endregion
|
|
41
|
+
export { smugmugGetImageSizes };
|
|
42
|
+
|
|
43
|
+
//# sourceMappingURL=get-image-sizes.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-image-sizes.mjs","names":[],"sources":["../../src/actions/get-image-sizes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmugmugGetImageSizesInput: z.ZodTypeAny = z.object({\n image_key: z.string().describe(\"The unique alphanumeric identifier for the image (e.g., 'jPPKD2c-1'). This key is returned from album image listings or image creation endpoints.\"),\n});\nconst SmugmugGetImageSizes_ImageSizesDataSchema: z.ZodTypeAny = z.object({\n Uri: z.string().describe(\"The API URI for the image sizes resource.\").nullable().optional(),\n Uris: z.object({}).describe(\"Related URIs for additional resources.\").nullable().optional(),\n TinyImageUrl: z.string().describe(\"URL for the tiny size version of the image.\").nullable().optional(),\n LargeImageUrl: z.string().describe(\"URL for the large size version of the image.\").nullable().optional(),\n SmallImageUrl: z.string().describe(\"URL for the small size version of the image.\").nullable().optional(),\n ThumbImageUrl: z.string().describe(\"URL for the thumbnail size version of the image.\").nullable().optional(),\n MediumImageUrl: z.string().describe(\"URL for the medium size version of the image.\").nullable().optional(),\n XLargeImageUrl: z.string().describe(\"URL for the extra large size version of the image.\").nullable().optional(),\n LargestImageUrl: z.string().describe(\"URL for the largest available size version of the image based on permissions.\").nullable().optional(),\n X2LargeImageUrl: z.string().describe(\"URL for the 2x large size version of the image.\").nullable().optional(),\n X3LargeImageUrl: z.string().describe(\"URL for the 3x large size version of the image.\").nullable().optional(),\n X4LargeImageUrl: z.string().describe(\"URL for the 4x large size version of the image.\").nullable().optional(),\n X5LargeImageUrl: z.string().describe(\"URL for the 5x large size version of the image.\").nullable().optional(),\n OriginalImageUrl: z.string().describe(\"URL for the original full-resolution version of the image.\").nullable().optional(),\n}).describe(\"Available image sizes and URLs for a SmugMug image.\");\nconst SmugmugGetImageSizes_ImageSizesResponseDataSchema: z.ZodTypeAny = z.object({\n Uri: z.string().describe(\"The API URI for this resource.\").nullable().optional(),\n Locator: z.string().describe(\"The locator type for this resource.\").nullable().optional(),\n ImageSizes: SmugmugGetImageSizes_ImageSizesDataSchema.nullable(),\n LocatorType: z.string().describe(\"The locator type name.\").nullable().optional(),\n EndpointType: z.string().describe(\"The endpoint type name.\").nullable().optional(),\n UriDescription: z.string().describe(\"Description of the API URI endpoint.\").nullable().optional(),\n}).describe(\"Response data structure for image sizes.\");\nexport const SmugmugGetImageSizesOutput: z.ZodTypeAny = z.object({\n Code: z.number().int().describe(\"HTTP status code from the API response.\").nullable().optional(),\n Message: z.string().describe(\"Message from the API response.\").nullable().optional(),\n Response: SmugmugGetImageSizes_ImageSizesResponseDataSchema.nullable(),\n});\n\nexport const smugmugGetImageSizes = action(\"SMUGMUG_GET_IMAGE_SIZES\", {\n slug: \"smugmug-get-image-sizes\",\n name: \"Get Image Sizes\",\n description: \"Retrieves available image sizes and URLs for a SmugMug image by its unique image key. Use this to get download URLs for different resolutions (tiny, thumb, small, medium, large, xlarge, original, etc.).\",\n input: SmugmugGetImageSizesInput,\n output: SmugmugGetImageSizesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0C,EAAE,OAAO,EAC9D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mJAAmJ,EACpL,CAAC;AACD,MAAM,4CAA0D,EAAE,OAAO;CACvE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,iBAAiB,EAAE,OAAO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C,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,UAAU,kDAAkD,SAAS;CACvE,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-image.ts
|
|
4
|
+
const SmugmugGetImageInput = zod.z.object({ image_key: zod.z.string().describe("The unique image key identifier (e.g., 'jPPKD2c-1'). This is the key that identifies a specific photo or video in SmugMug.") });
|
|
5
|
+
const SmugmugGetImage_UriInfoSchema = zod.z.object({
|
|
6
|
+
Uri: zod.z.string().describe("The API URI path."),
|
|
7
|
+
Locator: zod.z.string().describe("The locator type name.").nullable().optional(),
|
|
8
|
+
LocatorType: zod.z.string().describe("Whether this returns an Object or Objects.").nullable().optional(),
|
|
9
|
+
EndpointType: zod.z.string().describe("The endpoint type name.").nullable().optional(),
|
|
10
|
+
UriDescription: zod.z.string().describe("Description of what this URI returns.").nullable().optional()
|
|
11
|
+
}).describe("Information about a related API URI.");
|
|
12
|
+
const SmugmugGetImage_ImageUrisSchema = zod.z.object({
|
|
13
|
+
Regions: SmugmugGetImage_UriInfoSchema.nullable().optional(),
|
|
14
|
+
ImageSizes: SmugmugGetImage_UriInfoSchema.nullable().optional(),
|
|
15
|
+
ImagePrices: SmugmugGetImage_UriInfoSchema.nullable().optional(),
|
|
16
|
+
LargestImage: SmugmugGetImage_UriInfoSchema.nullable().optional(),
|
|
17
|
+
ImageComments: SmugmugGetImage_UriInfoSchema.nullable().optional(),
|
|
18
|
+
ImageMetadata: SmugmugGetImage_UriInfoSchema.nullable().optional(),
|
|
19
|
+
PointOfInterest: SmugmugGetImage_UriInfoSchema.nullable().optional(),
|
|
20
|
+
ImageSizeDetails: SmugmugGetImage_UriInfoSchema.nullable().optional(),
|
|
21
|
+
PointOfInterestCrops: SmugmugGetImage_UriInfoSchema.nullable().optional(),
|
|
22
|
+
ImagePricelistExclusions: SmugmugGetImage_UriInfoSchema.nullable().optional()
|
|
23
|
+
}).describe("Related URIs for navigating to associated resources from this image.");
|
|
24
|
+
const SmugmugGetImage_FormattedFieldSchema = zod.z.object({
|
|
25
|
+
html: zod.z.string().describe("HTML-formatted version of the value.").nullable().optional(),
|
|
26
|
+
text: zod.z.string().describe("Plain text version of the value.").nullable().optional()
|
|
27
|
+
}).describe("HTML and text formatted versions of a field value.");
|
|
28
|
+
const SmugmugGetImage_ImageFormattedValuesSchema = zod.z.object({
|
|
29
|
+
Caption: SmugmugGetImage_FormattedFieldSchema.nullable().optional(),
|
|
30
|
+
FileName: SmugmugGetImage_FormattedFieldSchema.nullable().optional()
|
|
31
|
+
}).describe("HTML-formatted versions of certain image fields.");
|
|
32
|
+
const SmugmugGetImage_ImageResponseSchema = zod.z.object({
|
|
33
|
+
Uri: zod.z.string().describe("The API URI for this image resource."),
|
|
34
|
+
Date: zod.z.string().describe("ISO 8601 timestamp when this image was first uploaded."),
|
|
35
|
+
Uris: SmugmugGetImage_ImageUrisSchema.nullable().optional(),
|
|
36
|
+
Title: zod.z.string().describe("The title of the image.").nullable().optional(),
|
|
37
|
+
CanBuy: zod.z.boolean().describe("Whether this image is available for purchase.").nullable().optional(),
|
|
38
|
+
Format: zod.z.string().describe("The file format (e.g., 'JPG', 'PNG', 'MP4').").nullable().optional(),
|
|
39
|
+
Hidden: zod.z.boolean().describe("Whether this image is hidden from public view.").nullable().optional(),
|
|
40
|
+
Serial: zod.z.number().int().describe("The serial number of this image within its album.").nullable().optional(),
|
|
41
|
+
Status: zod.z.string().describe("The status of the image (e.g., 'Open', 'Sold', 'Processing').").nullable().optional(),
|
|
42
|
+
WebUri: zod.z.string().describe("The URL to view this image on the SmugMug website.").nullable().optional(),
|
|
43
|
+
CanEdit: zod.z.boolean().describe("Whether the authenticated user can edit this image.").nullable().optional(),
|
|
44
|
+
Caption: zod.z.string().describe("User-provided description or caption for the image.").nullable().optional(),
|
|
45
|
+
IsVideo: zod.z.boolean().describe("Whether this is a video rather than a photo.").nullable().optional(),
|
|
46
|
+
Altitude: zod.z.union([zod.z.number().int(), zod.z.number()]).nullable().optional(),
|
|
47
|
+
CanShare: zod.z.boolean().describe("Whether this image can be shared.").nullable().optional(),
|
|
48
|
+
Comments: zod.z.boolean().describe("Whether comments are enabled for this image.").nullable().optional(),
|
|
49
|
+
FileName: zod.z.string().describe("The original filename of the uploaded file."),
|
|
50
|
+
ImageKey: zod.z.string().describe("The unique key identifier for this image."),
|
|
51
|
+
Keywords: zod.z.string().describe("A semicolon-separated string of keywords/tags.").nullable().optional(),
|
|
52
|
+
Latitude: zod.z.string().describe("Latitude coordinate where the image was taken.").nullable().optional(),
|
|
53
|
+
EZProject: zod.z.boolean().describe("Whether this image is part of an EZ Project.").nullable().optional(),
|
|
54
|
+
IsArchive: zod.z.boolean().describe("Whether this is an archive file.").nullable().optional(),
|
|
55
|
+
Longitude: zod.z.string().describe("Longitude coordinate where the image was taken.").nullable().optional(),
|
|
56
|
+
Protected: zod.z.boolean().describe("Whether this image is protected from downloading.").nullable().optional(),
|
|
57
|
+
SubStatus: zod.z.string().describe("Sub-status for the image (e.g., 'NFS' for Not For Sale).").nullable().optional(),
|
|
58
|
+
UploadKey: zod.z.string().describe("The upload key used when this image was uploaded.").nullable().optional(),
|
|
59
|
+
Watermark: zod.z.string().describe("Watermark setting for this image (e.g., 'No', 'Yes').").nullable().optional(),
|
|
60
|
+
Processing: zod.z.boolean().describe("Whether the image is still being processed after upload.").nullable().optional(),
|
|
61
|
+
ArchivedMD5: zod.z.string().describe("MD5 hash of the archived version.").nullable().optional(),
|
|
62
|
+
ArchivedUri: zod.z.string().describe("Direct URL to the archived/original version of this image.").nullable().optional(),
|
|
63
|
+
Collectable: zod.z.boolean().describe("Whether this image can be added to collections.").nullable().optional(),
|
|
64
|
+
LastUpdated: zod.z.string().describe("ISO 8601 timestamp of the last change to this image.").nullable().optional(),
|
|
65
|
+
ArchivedSize: zod.z.number().int().describe("Size of the archived version in bytes.").nullable().optional(),
|
|
66
|
+
KeywordArray: zod.z.array(zod.z.string()).describe("JSON array of keywords/tags for this image.").nullable().optional(),
|
|
67
|
+
OriginalSize: zod.z.number().int().describe("Original file size in bytes.").nullable().optional(),
|
|
68
|
+
ShowKeywords: zod.z.boolean().describe("Whether keywords are displayed publicly for this image.").nullable().optional(),
|
|
69
|
+
ThumbnailUrl: zod.z.string().describe("Direct URL to the thumbnail version of this image.").nullable().optional(),
|
|
70
|
+
OriginalWidth: zod.z.number().int().describe("Original width of the image in pixels.").nullable().optional(),
|
|
71
|
+
OriginalHeight: zod.z.number().int().describe("Original height of the image in pixels.").nullable().optional(),
|
|
72
|
+
UriDescription: zod.z.string().describe("Description of the API URI endpoint.").nullable().optional(),
|
|
73
|
+
FormattedValues: SmugmugGetImage_ImageFormattedValuesSchema.nullable().optional(),
|
|
74
|
+
DateTimeOriginal: zod.z.string().describe("ISO 8601 timestamp when the photo/video was originally taken (from EXIF data).").nullable().optional(),
|
|
75
|
+
DateTimeUploaded: zod.z.string().describe("ISO 8601 timestamp of the upload time.").nullable().optional(),
|
|
76
|
+
ComponentFileTypes: zod.z.array(zod.z.string()).describe("List of component file types for multi-file uploads.").nullable().optional(),
|
|
77
|
+
PreferredDisplayFileExtension: zod.z.string().describe("The preferred file extension for display purposes.").nullable().optional()
|
|
78
|
+
}).describe("Details of a SmugMug image (photo or video).");
|
|
79
|
+
const SmugmugGetImageOutput = zod.z.object({ Response: SmugmugGetImage_ImageResponseSchema.nullable() });
|
|
80
|
+
const smugmugGetImage = require_action.action("SMUGMUG_GET_IMAGE", {
|
|
81
|
+
slug: "smugmug-get-image",
|
|
82
|
+
name: "Get Image",
|
|
83
|
+
description: "Tool to retrieve details for a specific image (photo or video) by its image key. Returns comprehensive image metadata including dimensions, upload dates, geolocation, and links to related resources like sizes, metadata, and comments. Use when you need detailed information about a specific photo or video in SmugMug.",
|
|
84
|
+
input: SmugmugGetImageInput,
|
|
85
|
+
output: SmugmugGetImageOutput
|
|
86
|
+
});
|
|
87
|
+
//#endregion
|
|
88
|
+
exports.smugmugGetImage = smugmugGetImage;
|
|
89
|
+
|
|
90
|
+
//# sourceMappingURL=get-image.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-image.cjs","names":["z","action"],"sources":["../../src/actions/get-image.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmugmugGetImageInput: z.ZodTypeAny = z.object({\n image_key: z.string().describe(\"The unique image key identifier (e.g., 'jPPKD2c-1'). This is the key that identifies a specific photo or video in SmugMug.\"),\n});\nconst SmugmugGetImage_UriInfoSchema: z.ZodTypeAny = z.object({\n Uri: z.string().describe(\"The API URI path.\"),\n Locator: z.string().describe(\"The locator type name.\").nullable().optional(),\n LocatorType: z.string().describe(\"Whether this returns an Object or Objects.\").nullable().optional(),\n EndpointType: z.string().describe(\"The endpoint type name.\").nullable().optional(),\n UriDescription: z.string().describe(\"Description of what this URI returns.\").nullable().optional(),\n}).describe(\"Information about a related API URI.\");\nconst SmugmugGetImage_ImageUrisSchema: z.ZodTypeAny = z.object({\n Regions: SmugmugGetImage_UriInfoSchema.nullable().optional(),\n ImageSizes: SmugmugGetImage_UriInfoSchema.nullable().optional(),\n ImagePrices: SmugmugGetImage_UriInfoSchema.nullable().optional(),\n LargestImage: SmugmugGetImage_UriInfoSchema.nullable().optional(),\n ImageComments: SmugmugGetImage_UriInfoSchema.nullable().optional(),\n ImageMetadata: SmugmugGetImage_UriInfoSchema.nullable().optional(),\n PointOfInterest: SmugmugGetImage_UriInfoSchema.nullable().optional(),\n ImageSizeDetails: SmugmugGetImage_UriInfoSchema.nullable().optional(),\n PointOfInterestCrops: SmugmugGetImage_UriInfoSchema.nullable().optional(),\n ImagePricelistExclusions: SmugmugGetImage_UriInfoSchema.nullable().optional(),\n}).describe(\"Related URIs for navigating to associated resources from this image.\");\nconst SmugmugGetImage_FormattedFieldSchema: z.ZodTypeAny = z.object({\n html: z.string().describe(\"HTML-formatted version of the value.\").nullable().optional(),\n text: z.string().describe(\"Plain text version of the value.\").nullable().optional(),\n}).describe(\"HTML and text formatted versions of a field value.\");\nconst SmugmugGetImage_ImageFormattedValuesSchema: z.ZodTypeAny = z.object({\n Caption: SmugmugGetImage_FormattedFieldSchema.nullable().optional(),\n FileName: SmugmugGetImage_FormattedFieldSchema.nullable().optional(),\n}).describe(\"HTML-formatted versions of certain image fields.\");\nconst SmugmugGetImage_ImageResponseSchema: z.ZodTypeAny = z.object({\n Uri: z.string().describe(\"The API URI for this image resource.\"),\n Date: z.string().describe(\"ISO 8601 timestamp when this image was first uploaded.\"),\n Uris: SmugmugGetImage_ImageUrisSchema.nullable().optional(),\n Title: z.string().describe(\"The title of the image.\").nullable().optional(),\n CanBuy: z.boolean().describe(\"Whether this image is available for purchase.\").nullable().optional(),\n Format: z.string().describe(\"The file format (e.g., 'JPG', 'PNG', 'MP4').\").nullable().optional(),\n Hidden: z.boolean().describe(\"Whether this image is hidden from public view.\").nullable().optional(),\n Serial: z.number().int().describe(\"The serial number of this image within its album.\").nullable().optional(),\n Status: z.string().describe(\"The status of the image (e.g., 'Open', 'Sold', 'Processing').\").nullable().optional(),\n WebUri: z.string().describe(\"The URL to view this image on the SmugMug website.\").nullable().optional(),\n CanEdit: z.boolean().describe(\"Whether the authenticated user can edit this image.\").nullable().optional(),\n Caption: z.string().describe(\"User-provided description or caption for the image.\").nullable().optional(),\n IsVideo: z.boolean().describe(\"Whether this is a video rather than a photo.\").nullable().optional(),\n Altitude: z.union([z.number().int(), z.number()]).nullable().optional(),\n CanShare: z.boolean().describe(\"Whether this image can be shared.\").nullable().optional(),\n Comments: z.boolean().describe(\"Whether comments are enabled for this image.\").nullable().optional(),\n FileName: z.string().describe(\"The original filename of the uploaded file.\"),\n ImageKey: z.string().describe(\"The unique key identifier for this image.\"),\n Keywords: z.string().describe(\"A semicolon-separated string of keywords/tags.\").nullable().optional(),\n Latitude: z.string().describe(\"Latitude coordinate where the image was taken.\").nullable().optional(),\n EZProject: z.boolean().describe(\"Whether this image is part of an EZ Project.\").nullable().optional(),\n IsArchive: z.boolean().describe(\"Whether this is an archive file.\").nullable().optional(),\n Longitude: z.string().describe(\"Longitude coordinate where the image was taken.\").nullable().optional(),\n Protected: z.boolean().describe(\"Whether this image is protected from downloading.\").nullable().optional(),\n SubStatus: z.string().describe(\"Sub-status for the image (e.g., 'NFS' for Not For Sale).\").nullable().optional(),\n UploadKey: z.string().describe(\"The upload key used when this image was uploaded.\").nullable().optional(),\n Watermark: z.string().describe(\"Watermark setting for this image (e.g., 'No', 'Yes').\").nullable().optional(),\n Processing: z.boolean().describe(\"Whether the image is still being processed after upload.\").nullable().optional(),\n ArchivedMD5: z.string().describe(\"MD5 hash of the archived version.\").nullable().optional(),\n ArchivedUri: z.string().describe(\"Direct URL to the archived/original version of this image.\").nullable().optional(),\n Collectable: z.boolean().describe(\"Whether this image can be added to collections.\").nullable().optional(),\n LastUpdated: z.string().describe(\"ISO 8601 timestamp of the last change to this image.\").nullable().optional(),\n ArchivedSize: z.number().int().describe(\"Size of the archived version in bytes.\").nullable().optional(),\n KeywordArray: z.array(z.string()).describe(\"JSON array of keywords/tags for this image.\").nullable().optional(),\n OriginalSize: z.number().int().describe(\"Original file size in bytes.\").nullable().optional(),\n ShowKeywords: z.boolean().describe(\"Whether keywords are displayed publicly for this image.\").nullable().optional(),\n ThumbnailUrl: z.string().describe(\"Direct URL to the thumbnail version of this image.\").nullable().optional(),\n OriginalWidth: z.number().int().describe(\"Original width of the image in pixels.\").nullable().optional(),\n OriginalHeight: z.number().int().describe(\"Original height of the image in pixels.\").nullable().optional(),\n UriDescription: z.string().describe(\"Description of the API URI endpoint.\").nullable().optional(),\n FormattedValues: SmugmugGetImage_ImageFormattedValuesSchema.nullable().optional(),\n DateTimeOriginal: z.string().describe(\"ISO 8601 timestamp when the photo/video was originally taken (from EXIF data).\").nullable().optional(),\n DateTimeUploaded: z.string().describe(\"ISO 8601 timestamp of the upload time.\").nullable().optional(),\n ComponentFileTypes: z.array(z.string()).describe(\"List of component file types for multi-file uploads.\").nullable().optional(),\n PreferredDisplayFileExtension: z.string().describe(\"The preferred file extension for display purposes.\").nullable().optional(),\n}).describe(\"Details of a SmugMug image (photo or video).\");\nexport const SmugmugGetImageOutput: z.ZodTypeAny = z.object({\n Response: SmugmugGetImage_ImageResponseSchema.nullable(),\n});\n\nexport const smugmugGetImage = action(\"SMUGMUG_GET_IMAGE\", {\n slug: \"smugmug-get-image\",\n name: \"Get Image\",\n description: \"Tool to retrieve details for a specific image (photo or video) by its image key. Returns comprehensive image metadata including dimensions, upload dates, geolocation, and links to related resources like sizes, metadata, and comments. Use when you need detailed information about a specific photo or video in SmugMug.\",\n input: SmugmugGetImageInput,\n output: SmugmugGetImageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAqCA,IAAAA,EAAE,OAAO,EACzD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4HAA4H,EAC7J,CAAC;AACD,MAAM,gCAA8CA,IAAAA,EAAE,OAAO;CAC3D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAC5C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,SA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,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5I,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,oBAAoBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,wBAAsCA,IAAAA,EAAE,OAAO,EAC1D,UAAU,oCAAoC,SAAS,EACzD,CAAC;AAED,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-image.d.ts
|
|
4
|
+
declare const SmugmugGetImageInput: z.ZodTypeAny;
|
|
5
|
+
declare const SmugmugGetImageOutput: z.ZodTypeAny;
|
|
6
|
+
declare const smugmugGetImage: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { smugmugGetImage };
|
|
9
|
+
//# sourceMappingURL=get-image.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-image.d.cts","names":[],"sources":["../../src/actions/get-image.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAEnC;AAAA,cA2EW,qBAAA,EAAuB,CAAA,CAAE,UAEpC;AAAA,cAEW,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-image.d.ts
|
|
4
|
+
declare const SmugmugGetImageInput: z.ZodTypeAny;
|
|
5
|
+
declare const SmugmugGetImageOutput: z.ZodTypeAny;
|
|
6
|
+
declare const smugmugGetImage: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { smugmugGetImage };
|
|
9
|
+
//# sourceMappingURL=get-image.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-image.d.mts","names":[],"sources":["../../src/actions/get-image.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAEnC;AAAA,cA2EW,qBAAA,EAAuB,CAAA,CAAE,UAEpC;AAAA,cAEW,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|