@keystrokehq/smugmug 0.1.0 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/get-album-highlight-image.cjs +6 -6
- package/dist/actions/get-album-highlight-image.cjs.map +1 -1
- package/dist/actions/get-album-highlight-image.d.cts +30 -3
- package/dist/actions/get-album-highlight-image.d.cts.map +1 -1
- package/dist/actions/get-album-highlight-image.d.mts +30 -3
- package/dist/actions/get-album-highlight-image.d.mts.map +1 -1
- package/dist/actions/get-album-highlight-image.mjs +6 -6
- package/dist/actions/get-album-highlight-image.mjs.map +1 -1
- package/dist/actions/get-album-image.cjs +9 -9
- package/dist/actions/get-album-image.cjs.map +1 -1
- package/dist/actions/get-album-image.d.cts +73 -3
- package/dist/actions/get-album-image.d.cts.map +1 -1
- package/dist/actions/get-album-image.d.mts +73 -3
- package/dist/actions/get-album-image.d.mts.map +1 -1
- package/dist/actions/get-album-image.mjs +9 -9
- package/dist/actions/get-album-image.mjs.map +1 -1
- package/dist/actions/get-album-images.cjs +6 -6
- package/dist/actions/get-album-images.cjs.map +1 -1
- package/dist/actions/get-album-images.d.cts +112 -3
- package/dist/actions/get-album-images.d.cts.map +1 -1
- package/dist/actions/get-album-images.d.mts +112 -3
- package/dist/actions/get-album-images.d.mts.map +1 -1
- package/dist/actions/get-album-images.mjs +6 -6
- package/dist/actions/get-album-images.mjs.map +1 -1
- package/dist/actions/get-album.cjs +7 -7
- package/dist/actions/get-album.cjs.map +1 -1
- package/dist/actions/get-album.d.cts +49 -3
- package/dist/actions/get-album.d.cts.map +1 -1
- package/dist/actions/get-album.d.mts +49 -3
- package/dist/actions/get-album.d.mts.map +1 -1
- package/dist/actions/get-album.mjs +7 -7
- package/dist/actions/get-album.mjs.map +1 -1
- package/dist/actions/get-folder-albums.cjs +6 -6
- package/dist/actions/get-folder-albums.cjs.map +1 -1
- package/dist/actions/get-folder-albums.d.cts +45 -3
- package/dist/actions/get-folder-albums.d.cts.map +1 -1
- package/dist/actions/get-folder-albums.d.mts +45 -3
- package/dist/actions/get-folder-albums.d.mts.map +1 -1
- package/dist/actions/get-folder-albums.mjs +6 -6
- package/dist/actions/get-folder-albums.mjs.map +1 -1
- package/dist/actions/get-folder-by-user-path.cjs +2 -2
- package/dist/actions/get-folder-by-user-path.cjs.map +1 -1
- package/dist/actions/get-folder-by-user-path.d.cts +23 -3
- package/dist/actions/get-folder-by-user-path.d.cts.map +1 -1
- package/dist/actions/get-folder-by-user-path.d.mts +23 -3
- package/dist/actions/get-folder-by-user-path.d.mts.map +1 -1
- package/dist/actions/get-folder-by-user-path.mjs +2 -2
- package/dist/actions/get-folder-by-user-path.mjs.map +1 -1
- package/dist/actions/get-folder-details.cjs +7 -7
- package/dist/actions/get-folder-details.cjs.map +1 -1
- package/dist/actions/get-folder-details.d.cts +16 -3
- package/dist/actions/get-folder-details.d.cts.map +1 -1
- package/dist/actions/get-folder-details.d.mts +16 -3
- package/dist/actions/get-folder-details.d.mts.map +1 -1
- package/dist/actions/get-folder-details.mjs +7 -7
- package/dist/actions/get-folder-details.mjs.map +1 -1
- package/dist/actions/get-folder-subfolders.cjs +4 -4
- package/dist/actions/get-folder-subfolders.cjs.map +1 -1
- package/dist/actions/get-folder-subfolders.d.cts +36 -3
- package/dist/actions/get-folder-subfolders.d.cts.map +1 -1
- package/dist/actions/get-folder-subfolders.d.mts +36 -3
- package/dist/actions/get-folder-subfolders.d.mts.map +1 -1
- package/dist/actions/get-folder-subfolders.mjs +4 -4
- package/dist/actions/get-folder-subfolders.mjs.map +1 -1
- package/dist/actions/get-image-metadata.cjs +2 -2
- package/dist/actions/get-image-metadata.cjs.map +1 -1
- package/dist/actions/get-image-metadata.d.cts +87 -3
- package/dist/actions/get-image-metadata.d.cts.map +1 -1
- package/dist/actions/get-image-metadata.d.mts +87 -3
- package/dist/actions/get-image-metadata.d.mts.map +1 -1
- package/dist/actions/get-image-metadata.mjs +2 -2
- package/dist/actions/get-image-metadata.mjs.map +1 -1
- package/dist/actions/get-image-size-details.cjs +3 -3
- package/dist/actions/get-image-size-details.cjs.map +1 -1
- package/dist/actions/get-image-size-details.d.cts +126 -3
- package/dist/actions/get-image-size-details.d.cts.map +1 -1
- package/dist/actions/get-image-size-details.d.mts +126 -3
- package/dist/actions/get-image-size-details.d.mts.map +1 -1
- package/dist/actions/get-image-size-details.mjs +3 -3
- package/dist/actions/get-image-size-details.mjs.map +1 -1
- package/dist/actions/get-image-sizes.cjs +4 -4
- package/dist/actions/get-image-sizes.cjs.map +1 -1
- package/dist/actions/get-image-sizes.d.cts +33 -3
- package/dist/actions/get-image-sizes.d.cts.map +1 -1
- package/dist/actions/get-image-sizes.d.mts +33 -3
- package/dist/actions/get-image-sizes.d.mts.map +1 -1
- package/dist/actions/get-image-sizes.mjs +4 -4
- package/dist/actions/get-image-sizes.mjs.map +1 -1
- package/dist/actions/get-image.cjs +11 -11
- package/dist/actions/get-image.cjs.map +1 -1
- package/dist/actions/get-image.d.cts +135 -3
- package/dist/actions/get-image.d.cts.map +1 -1
- package/dist/actions/get-image.d.mts +135 -3
- package/dist/actions/get-image.d.mts.map +1 -1
- package/dist/actions/get-image.mjs +11 -11
- package/dist/actions/get-image.mjs.map +1 -1
- package/dist/actions/get-node-highlight-image.cjs +4 -4
- package/dist/actions/get-node-highlight-image.cjs.map +1 -1
- package/dist/actions/get-node-highlight-image.d.cts +74 -3
- package/dist/actions/get-node-highlight-image.d.cts.map +1 -1
- package/dist/actions/get-node-highlight-image.d.mts +74 -3
- package/dist/actions/get-node-highlight-image.d.mts.map +1 -1
- package/dist/actions/get-node-highlight-image.mjs +4 -4
- package/dist/actions/get-node-highlight-image.mjs.map +1 -1
- package/dist/actions/get-node-parent.cjs +13 -13
- package/dist/actions/get-node-parent.cjs.map +1 -1
- package/dist/actions/get-node-parent.d.cts +136 -3
- package/dist/actions/get-node-parent.d.cts.map +1 -1
- package/dist/actions/get-node-parent.d.mts +136 -3
- package/dist/actions/get-node-parent.d.mts.map +1 -1
- package/dist/actions/get-node-parent.mjs +13 -13
- package/dist/actions/get-node-parent.mjs.map +1 -1
- package/dist/actions/get-node-parents.cjs +8 -8
- package/dist/actions/get-node-parents.cjs.map +1 -1
- package/dist/actions/get-node-parents.d.cts +26 -3
- package/dist/actions/get-node-parents.d.cts.map +1 -1
- package/dist/actions/get-node-parents.d.mts +26 -3
- package/dist/actions/get-node-parents.d.mts.map +1 -1
- package/dist/actions/get-node-parents.mjs +8 -8
- package/dist/actions/get-node-parents.mjs.map +1 -1
- package/dist/actions/get-user-bio-image.cjs +3 -3
- package/dist/actions/get-user-bio-image.cjs.map +1 -1
- package/dist/actions/get-user-bio-image.d.cts +25 -3
- package/dist/actions/get-user-bio-image.d.cts.map +1 -1
- package/dist/actions/get-user-bio-image.d.mts +25 -3
- package/dist/actions/get-user-bio-image.d.mts.map +1 -1
- package/dist/actions/get-user-bio-image.mjs +3 -3
- package/dist/actions/get-user-bio-image.mjs.map +1 -1
- package/dist/actions/get-user-featured-albums.cjs +3 -3
- package/dist/actions/get-user-featured-albums.cjs.map +1 -1
- package/dist/actions/get-user-featured-albums.d.cts +30 -3
- package/dist/actions/get-user-featured-albums.d.cts.map +1 -1
- package/dist/actions/get-user-featured-albums.d.mts +30 -3
- package/dist/actions/get-user-featured-albums.d.mts.map +1 -1
- package/dist/actions/get-user-featured-albums.mjs +3 -3
- package/dist/actions/get-user-featured-albums.mjs.map +1 -1
- package/dist/actions/get-user-features.cjs +3 -3
- package/dist/actions/get-user-features.cjs.map +1 -1
- package/dist/actions/get-user-features.d.cts +14 -3
- package/dist/actions/get-user-features.d.cts.map +1 -1
- package/dist/actions/get-user-features.d.mts +14 -3
- package/dist/actions/get-user-features.d.mts.map +1 -1
- package/dist/actions/get-user-features.mjs +3 -3
- package/dist/actions/get-user-features.mjs.map +1 -1
- package/dist/actions/get-user-profile.cjs +3 -3
- package/dist/actions/get-user-profile.cjs.map +1 -1
- package/dist/actions/get-user-profile.d.cts +33 -3
- package/dist/actions/get-user-profile.d.cts.map +1 -1
- package/dist/actions/get-user-profile.d.mts +33 -3
- package/dist/actions/get-user-profile.d.mts.map +1 -1
- package/dist/actions/get-user-profile.mjs +3 -3
- package/dist/actions/get-user-profile.mjs.map +1 -1
- package/dist/actions/get-user-root-node.cjs +5 -5
- package/dist/actions/get-user-root-node.cjs.map +1 -1
- package/dist/actions/get-user-root-node.d.cts +99 -3
- package/dist/actions/get-user-root-node.d.cts.map +1 -1
- package/dist/actions/get-user-root-node.d.mts +99 -3
- package/dist/actions/get-user-root-node.d.mts.map +1 -1
- package/dist/actions/get-user-root-node.mjs +5 -5
- package/dist/actions/get-user-root-node.mjs.map +1 -1
- package/dist/actions/get-user.cjs +8 -8
- package/dist/actions/get-user.cjs.map +1 -1
- package/dist/actions/get-user.d.cts +112 -3
- package/dist/actions/get-user.d.cts.map +1 -1
- package/dist/actions/get-user.d.mts +112 -3
- package/dist/actions/get-user.d.mts.map +1 -1
- package/dist/actions/get-user.mjs +8 -8
- package/dist/actions/get-user.mjs.map +1 -1
- package/dist/actions/list-child-nodes.cjs +8 -8
- package/dist/actions/list-child-nodes.cjs.map +1 -1
- package/dist/actions/list-child-nodes.d.cts +38 -3
- package/dist/actions/list-child-nodes.d.cts.map +1 -1
- package/dist/actions/list-child-nodes.d.mts +38 -3
- package/dist/actions/list-child-nodes.d.mts.map +1 -1
- package/dist/actions/list-child-nodes.mjs +8 -8
- package/dist/actions/list-child-nodes.mjs.map +1 -1
- package/dist/actions/search-user-content.cjs +6 -6
- package/dist/actions/search-user-content.cjs.map +1 -1
- package/dist/actions/search-user-content.d.cts +73 -3
- package/dist/actions/search-user-content.d.cts.map +1 -1
- package/dist/actions/search-user-content.d.mts +73 -3
- package/dist/actions/search-user-content.d.mts.map +1 -1
- package/dist/actions/search-user-content.mjs +6 -6
- package/dist/actions/search-user-content.mjs.map +1 -1
- package/dist/actions/unlock-album.cjs +1 -1
- package/dist/actions/unlock-album.cjs.map +1 -1
- package/dist/actions/unlock-album.d.cts +12 -3
- package/dist/actions/unlock-album.d.cts.map +1 -1
- package/dist/actions/unlock-album.d.mts +12 -3
- package/dist/actions/unlock-album.d.mts.map +1 -1
- package/dist/actions/unlock-album.mjs +1 -1
- package/dist/actions/unlock-album.mjs.map +1 -1
- package/dist/actions/unlock-user.cjs +1 -1
- package/dist/actions/unlock-user.cjs.map +1 -1
- package/dist/actions/unlock-user.d.cts +12 -3
- package/dist/actions/unlock-user.d.cts.map +1 -1
- package/dist/actions/unlock-user.d.mts +12 -3
- package/dist/actions/unlock-user.d.mts.map +1 -1
- package/dist/actions/unlock-user.mjs +1 -1
- package/dist/actions/unlock-user.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -8,12 +8,12 @@ const SmugmugGetNodeParent_NodeResponseTypeSchema = z.enum([
|
|
|
8
8
|
"Page"
|
|
9
9
|
]);
|
|
10
10
|
const SmugmugGetNodeParent_UriInfoSchema = z.object({
|
|
11
|
-
Uri: z.string().describe("The API URI path."),
|
|
11
|
+
Uri: z.string().describe("The API URI path.").nullable(),
|
|
12
12
|
Locator: z.string().describe("The locator type name.").nullable().optional(),
|
|
13
13
|
LocatorType: z.string().describe("Whether this returns an Object or Objects.").nullable().optional(),
|
|
14
14
|
EndpointType: z.string().describe("The endpoint type name.").nullable().optional(),
|
|
15
15
|
UriDescription: z.string().describe("Description of what this URI returns.").nullable().optional()
|
|
16
|
-
}).describe("Information about a related API URI.");
|
|
16
|
+
}).passthrough().describe("Information about a related API URI.");
|
|
17
17
|
const SmugmugGetNodeParent_NodeUrisSchema = z.object({
|
|
18
18
|
User: SmugmugGetNodeParent_UriInfoSchema.nullable().optional(),
|
|
19
19
|
Album: SmugmugGetNodeParent_UriInfoSchema.nullable().optional(),
|
|
@@ -27,26 +27,26 @@ const SmugmugGetNodeParent_NodeUrisSchema = z.object({
|
|
|
27
27
|
HighlightImage: SmugmugGetNodeParent_UriInfoSchema.nullable().optional(),
|
|
28
28
|
NodeCoverImage: SmugmugGetNodeParent_UriInfoSchema.nullable().optional(),
|
|
29
29
|
CreateSelection: SmugmugGetNodeParent_UriInfoSchema.nullable().optional()
|
|
30
|
-
}).describe("Related URIs for navigating to associated resources from this node.");
|
|
30
|
+
}).passthrough().describe("Related URIs for navigating to associated resources from this node.");
|
|
31
31
|
const SmugmugGetNodeParent_FormattedFieldSchema = z.object({
|
|
32
32
|
html: z.string().describe("HTML-formatted version of the value.").nullable().optional(),
|
|
33
33
|
text: z.string().describe("Plain text version of the value.").nullable().optional()
|
|
34
|
-
}).describe("HTML and text formatted versions of a field value.");
|
|
34
|
+
}).passthrough().describe("HTML and text formatted versions of a field value.");
|
|
35
35
|
const SmugmugGetNodeParent_NodeFormattedValuesSchema = z.object({
|
|
36
36
|
Name: SmugmugGetNodeParent_FormattedFieldSchema.nullable().optional(),
|
|
37
37
|
Description: SmugmugGetNodeParent_FormattedFieldSchema.nullable().optional()
|
|
38
|
-
}).describe("HTML-formatted versions of certain node fields.");
|
|
38
|
+
}).passthrough().describe("HTML-formatted versions of certain node fields.");
|
|
39
39
|
const SmugmugGetNodeParent_ParentNodeResponseSchema = z.object({
|
|
40
|
-
Uri: z.string().describe("The API URI for this parent node."),
|
|
41
|
-
Name: z.string().describe("The human-readable name or title of the parent node."),
|
|
40
|
+
Uri: z.string().describe("The API URI for this parent node.").nullable(),
|
|
41
|
+
Name: z.string().describe("The human-readable name or title of the parent node.").nullable(),
|
|
42
42
|
Type: SmugmugGetNodeParent_NodeResponseTypeSchema.nullable(),
|
|
43
43
|
Uris: SmugmugGetNodeParent_NodeUrisSchema.nullable().optional(),
|
|
44
44
|
IsRoot: z.boolean().describe("True if this is the root node for the user's account.").nullable().optional(),
|
|
45
|
-
NodeID: z.string().describe("The unique identifier of the parent node."),
|
|
46
|
-
WebUri: z.string().describe("The full URL to this parent node on the SmugMug website."),
|
|
45
|
+
NodeID: z.string().describe("The unique identifier of the parent node.").nullable(),
|
|
46
|
+
WebUri: z.string().describe("The full URL to this parent node on the SmugMug website.").nullable(),
|
|
47
47
|
Privacy: z.string().describe("Privacy setting of the parent node: 'Public', 'Unlisted', or 'Private'.").nullable().optional(),
|
|
48
|
-
UrlName: z.string().describe("The user-configurable URL name for this parent node."),
|
|
49
|
-
UrlPath: z.string().describe("The URL path segment for this parent node on SmugMug (e.g., '/SmugMug/Fun')."),
|
|
48
|
+
UrlName: z.string().describe("The user-configurable URL name for this parent node.").nullable(),
|
|
49
|
+
UrlPath: z.string().describe("The URL path segment for this parent node on SmugMug (e.g., '/SmugMug/Fun').").nullable(),
|
|
50
50
|
Keywords: z.array(z.string()).describe("Keywords/tags associated with the parent node for search purposes.").nullable().optional(),
|
|
51
51
|
DateAdded: z.string().describe("ISO 8601 timestamp when this parent node was created.").nullable().optional(),
|
|
52
52
|
SortIndex: z.number().int().describe("Numeric position of this parent node among its siblings for sorting.").nullable().optional(),
|
|
@@ -65,13 +65,13 @@ const SmugmugGetNodeParent_ParentNodeResponseSchema = z.object({
|
|
|
65
65
|
WorldSearchable: z.string().describe("Whether this parent node appears in external search engine results.").nullable().optional(),
|
|
66
66
|
EffectivePrivacy: z.string().describe("Effective privacy setting inherited from parent nodes.").nullable().optional(),
|
|
67
67
|
EffectiveSecurityType: z.string().describe("Effective security type inherited from parent nodes (e.g., 'None', 'Password').").nullable().optional()
|
|
68
|
-
}).describe("Details of the parent SmugMug node.");
|
|
68
|
+
}).passthrough().describe("Details of the parent SmugMug node.");
|
|
69
69
|
const smugmugGetNodeParent = action("SMUGMUG_GET_NODE_PARENT", {
|
|
70
70
|
slug: "smugmug-get-node-parent",
|
|
71
71
|
name: "Get Node Parent",
|
|
72
72
|
description: "Tool to retrieve the parent node of a specified SmugMug node. Use when navigating up the folder hierarchy or determining a node's location within the organizational structure.",
|
|
73
73
|
input: SmugmugGetNodeParentInput,
|
|
74
|
-
output: z.object({ Response: SmugmugGetNodeParent_ParentNodeResponseSchema.nullable() })
|
|
74
|
+
output: z.object({ Response: SmugmugGetNodeParent_ParentNodeResponseSchema.nullable() }).passthrough()
|
|
75
75
|
});
|
|
76
76
|
//#endregion
|
|
77
77
|
export { smugmugGetNodeParent };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-node-parent.mjs","names":[],"sources":["../../src/actions/get-node-parent.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmugmugGetNodeParentInput: z.ZodTypeAny = z.object({\n node_id: z.string().describe(\"The unique identifier for the node whose parent you want to retrieve.\"),\n});\nconst SmugmugGetNodeParent_NodeResponseTypeSchema: z.ZodTypeAny = z.enum([\"Folder\", \"Album\", \"Page\"]);\nconst SmugmugGetNodeParent_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 SmugmugGetNodeParent_NodeUrisSchema: z.ZodTypeAny = z.object({\n User: SmugmugGetNodeParent_UriInfoSchema.nullable().optional(),\n Album: SmugmugGetNodeParent_UriInfoSchema.nullable().optional(),\n ChildNodes: SmugmugGetNodeParent_UriInfoSchema.nullable().optional(),\n FolderByID: SmugmugGetNodeParent_UriInfoSchema.nullable().optional(),\n NodeImages: SmugmugGetNodeParent_UriInfoSchema.nullable().optional(),\n ParentNode: SmugmugGetNodeParent_UriInfoSchema.nullable().optional(),\n ParentNodes: SmugmugGetNodeParent_UriInfoSchema.nullable().optional(),\n NodeComments: SmugmugGetNodeParent_UriInfoSchema.nullable().optional(),\n NodePricelist: SmugmugGetNodeParent_UriInfoSchema.nullable().optional(),\n HighlightImage: SmugmugGetNodeParent_UriInfoSchema.nullable().optional(),\n NodeCoverImage: SmugmugGetNodeParent_UriInfoSchema.nullable().optional(),\n CreateSelection: SmugmugGetNodeParent_UriInfoSchema.nullable().optional(),\n}).describe(\"Related URIs for navigating to associated resources from this node.\");\nconst SmugmugGetNodeParent_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 SmugmugGetNodeParent_NodeFormattedValuesSchema: z.ZodTypeAny = z.object({\n Name: SmugmugGetNodeParent_FormattedFieldSchema.nullable().optional(),\n Description: SmugmugGetNodeParent_FormattedFieldSchema.nullable().optional(),\n}).describe(\"HTML-formatted versions of certain node fields.\");\nconst SmugmugGetNodeParent_ParentNodeResponseSchema: z.ZodTypeAny = z.object({\n Uri: z.string().describe(\"The API URI for this parent node.\"),\n Name: z.string().describe(\"The human-readable name or title of the parent node.\"),\n Type: SmugmugGetNodeParent_NodeResponseTypeSchema.nullable(),\n Uris: SmugmugGetNodeParent_NodeUrisSchema.nullable().optional(),\n IsRoot: z.boolean().describe(\"True if this is the root node for the user's account.\").nullable().optional(),\n NodeID: z.string().describe(\"The unique identifier of the parent node.\"),\n WebUri: z.string().describe(\"The full URL to this parent node on the SmugMug website.\"),\n Privacy: z.string().describe(\"Privacy setting of the parent node: 'Public', 'Unlisted', or 'Private'.\").nullable().optional(),\n UrlName: z.string().describe(\"The user-configurable URL name for this parent node.\"),\n UrlPath: z.string().describe(\"The URL path segment for this parent node on SmugMug (e.g., '/SmugMug/Fun').\"),\n Keywords: z.array(z.string()).describe(\"Keywords/tags associated with the parent node for search purposes.\").nullable().optional(),\n DateAdded: z.string().describe(\"ISO 8601 timestamp when this parent node was created.\").nullable().optional(),\n SortIndex: z.number().int().describe(\"Numeric position of this parent node among its siblings for sorting.\").nullable().optional(),\n SortMethod: z.string().describe(\"Method used to sort child items (e.g., 'SortIndex', 'DateModified', 'Name').\").nullable().optional(),\n Description: z.string().describe(\"The human-readable description of the parent node.\").nullable().optional(),\n HasChildren: z.boolean().describe(\"True if this parent node contains child nodes (subfolders or albums).\").nullable().optional(),\n DateModified: z.string().describe(\"ISO 8601 timestamp when this parent node or its descendants were last modified.\").nullable().optional(),\n PasswordHint: z.string().describe(\"Hint for the viewing password, if password protection is enabled.\").nullable().optional(),\n SecurityType: z.string().describe(\"Security type of the parent node (e.g., 'None', 'Password').\").nullable().optional(),\n ResponseLevel: z.string().describe(\"The response level indicating access permissions (e.g., 'Public', 'Full').\").nullable().optional(),\n SortDirection: z.string().describe(\"Sort direction for child items: 'Ascending' or 'Descending'.\").nullable().optional(),\n ShowCoverImage: z.boolean().describe(\"Whether to display the cover image for this parent node.\").nullable().optional(),\n SmugSearchable: z.string().describe(\"Whether this parent node appears in SmugMug internal search results.\").nullable().optional(),\n UriDescription: z.string().describe(\"Description of the API URI endpoint.\").nullable().optional(),\n FormattedValues: SmugmugGetNodeParent_NodeFormattedValuesSchema.nullable().optional(),\n WorldSearchable: z.string().describe(\"Whether this parent node appears in external search engine results.\").nullable().optional(),\n EffectivePrivacy: z.string().describe(\"Effective privacy setting inherited from parent nodes.\").nullable().optional(),\n EffectiveSecurityType: z.string().describe(\"Effective security type inherited from parent nodes (e.g., 'None', 'Password').\").nullable().optional(),\n}).describe(\"Details of the parent SmugMug node.\");\nexport const SmugmugGetNodeParentOutput: z.ZodTypeAny = z.object({\n Response: SmugmugGetNodeParent_ParentNodeResponseSchema.nullable(),\n});\n\nexport const smugmugGetNodeParent = action(\"SMUGMUG_GET_NODE_PARENT\", {\n slug: \"smugmug-get-node-parent\",\n name: \"Get Node Parent\",\n description: \"Tool to retrieve the parent node of a specified SmugMug node. Use when navigating up the folder hierarchy or determining a node's location within the organizational structure.\",\n input: Smug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,SAAS;CAChI,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpJ,CAAC,CAAC,CAAC,SAAS,qCAAqC;AAKjD,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATsD,EAAE,OAAO,EAC/D,UAAU,8CAA8C,SAAS,EACnE,CAOU;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"get-node-parent.mjs","names":[],"sources":["../../src/actions/get-node-parent.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmugmugGetNodeParentInput = z.object({\n node_id: z.string().describe(\"The unique identifier for the node whose parent you want to retrieve.\"),\n});\nconst SmugmugGetNodeParent_NodeResponseTypeSchema = z.enum([\"Folder\", \"Album\", \"Page\"]);\nconst SmugmugGetNodeParent_UriInfoSchema = z.object({\n Uri: z.string().describe(\"The API URI path.\").nullable(),\n Locator: z.string().describe(\"The locator type name.\").nullable().optional(),\n LocatorType: z.string().describe(\"Whether this returns an Object or Objects.\").nullable().optional(),\n EndpointType: z.string().describe(\"The endpoint type name.\").nullable().optional(),\n UriDescription: z.string().describe(\"Description of what this URI returns.\").nullable().optional(),\n}).passthrough().describe(\"Information about a related API URI.\");\nconst SmugmugGetNodeParent_NodeUrisSchema = z.object({\n User: SmugmugGetNodeParent_UriInfoSchema.nullable().optional(),\n Album: SmugmugGetNodeParent_UriInfoSchema.nullable().optional(),\n ChildNodes: SmugmugGetNodeParent_UriInfoSchema.nullable().optional(),\n FolderByID: SmugmugGetNodeParent_UriInfoSchema.nullable().optional(),\n NodeImages: SmugmugGetNodeParent_UriInfoSchema.nullable().optional(),\n ParentNode: SmugmugGetNodeParent_UriInfoSchema.nullable().optional(),\n ParentNodes: SmugmugGetNodeParent_UriInfoSchema.nullable().optional(),\n NodeComments: SmugmugGetNodeParent_UriInfoSchema.nullable().optional(),\n NodePricelist: SmugmugGetNodeParent_UriInfoSchema.nullable().optional(),\n HighlightImage: SmugmugGetNodeParent_UriInfoSchema.nullable().optional(),\n NodeCoverImage: SmugmugGetNodeParent_UriInfoSchema.nullable().optional(),\n CreateSelection: SmugmugGetNodeParent_UriInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Related URIs for navigating to associated resources from this node.\");\nconst SmugmugGetNodeParent_FormattedFieldSchema = 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}).passthrough().describe(\"HTML and text formatted versions of a field value.\");\nconst SmugmugGetNodeParent_NodeFormattedValuesSchema = z.object({\n Name: SmugmugGetNodeParent_FormattedFieldSchema.nullable().optional(),\n Description: SmugmugGetNodeParent_FormattedFieldSchema.nullable().optional(),\n}).passthrough().describe(\"HTML-formatted versions of certain node fields.\");\nconst SmugmugGetNodeParent_ParentNodeResponseSchema = z.object({\n Uri: z.string().describe(\"The API URI for this parent node.\").nullable(),\n Name: z.string().describe(\"The human-readable name or title of the parent node.\").nullable(),\n Type: SmugmugGetNodeParent_NodeResponseTypeSchema.nullable(),\n Uris: SmugmugGetNodeParent_NodeUrisSchema.nullable().optional(),\n IsRoot: z.boolean().describe(\"True if this is the root node for the user's account.\").nullable().optional(),\n NodeID: z.string().describe(\"The unique identifier of the parent node.\").nullable(),\n WebUri: z.string().describe(\"The full URL to this parent node on the SmugMug website.\").nullable(),\n Privacy: z.string().describe(\"Privacy setting of the parent node: 'Public', 'Unlisted', or 'Private'.\").nullable().optional(),\n UrlName: z.string().describe(\"The user-configurable URL name for this parent node.\").nullable(),\n UrlPath: z.string().describe(\"The URL path segment for this parent node on SmugMug (e.g., '/SmugMug/Fun').\").nullable(),\n Keywords: z.array(z.string()).describe(\"Keywords/tags associated with the parent node for search purposes.\").nullable().optional(),\n DateAdded: z.string().describe(\"ISO 8601 timestamp when this parent node was created.\").nullable().optional(),\n SortIndex: z.number().int().describe(\"Numeric position of this parent node among its siblings for sorting.\").nullable().optional(),\n SortMethod: z.string().describe(\"Method used to sort child items (e.g., 'SortIndex', 'DateModified', 'Name').\").nullable().optional(),\n Description: z.string().describe(\"The human-readable description of the parent node.\").nullable().optional(),\n HasChildren: z.boolean().describe(\"True if this parent node contains child nodes (subfolders or albums).\").nullable().optional(),\n DateModified: z.string().describe(\"ISO 8601 timestamp when this parent node or its descendants were last modified.\").nullable().optional(),\n PasswordHint: z.string().describe(\"Hint for the viewing password, if password protection is enabled.\").nullable().optional(),\n SecurityType: z.string().describe(\"Security type of the parent node (e.g., 'None', 'Password').\").nullable().optional(),\n ResponseLevel: z.string().describe(\"The response level indicating access permissions (e.g., 'Public', 'Full').\").nullable().optional(),\n SortDirection: z.string().describe(\"Sort direction for child items: 'Ascending' or 'Descending'.\").nullable().optional(),\n ShowCoverImage: z.boolean().describe(\"Whether to display the cover image for this parent node.\").nullable().optional(),\n SmugSearchable: z.string().describe(\"Whether this parent node appears in SmugMug internal search results.\").nullable().optional(),\n UriDescription: z.string().describe(\"Description of the API URI endpoint.\").nullable().optional(),\n FormattedValues: SmugmugGetNodeParent_NodeFormattedValuesSchema.nullable().optional(),\n WorldSearchable: z.string().describe(\"Whether this parent node appears in external search engine results.\").nullable().optional(),\n EffectivePrivacy: z.string().describe(\"Effective privacy setting inherited from parent nodes.\").nullable().optional(),\n EffectiveSecurityType: z.string().describe(\"Effective security type inherited from parent nodes (e.g., 'None', 'Password').\").nullable().optional(),\n}).passthrough().describe(\"Details of the parent SmugMug node.\");\nexport const SmugmugGetNodeParentOutput = z.object({\n Response: SmugmugGetNodeParent_ParentNodeResponseSchema.nullable(),\n}).passthrough();\n\nexport const smugmugGetNodeParent = action(\"SMUGMUG_GET_NODE_PARENT\", {\n slug: \"smugmug-get-node-parent\",\n name: \"Get Node Parent\",\n description: \"Tool to retrieve the parent node of a specified SmugMug node. Use when navigating up the folder hierarchy or determining a node's location within the organizational structure.\",\n input: SmugmugGetNodeParentInput,\n output: SmugmugGetNodeParentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO,EAChD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,EACtG,CAAC;AACD,MAAM,8CAA8C,EAAE,KAAK;CAAC;CAAU;CAAS;AAAM,CAAC;AACtF,MAAM,qCAAqC,EAAE,OAAO;CAClD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACvD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAM,sCAAsC,EAAE,OAAO;CACnD,MAAM,mCAAmC,SAAS,CAAC,CAAC,SAAS;CAC7D,OAAO,mCAAmC,SAAS,CAAC,CAAC,SAAS;CAC9D,YAAY,mCAAmC,SAAS,CAAC,CAAC,SAAS;CACnE,YAAY,mCAAmC,SAAS,CAAC,CAAC,SAAS;CACnE,YAAY,mCAAmC,SAAS,CAAC,CAAC,SAAS;CACnE,YAAY,mCAAmC,SAAS,CAAC,CAAC,SAAS;CACnE,aAAa,mCAAmC,SAAS,CAAC,CAAC,SAAS;CACpE,cAAc,mCAAmC,SAAS,CAAC,CAAC,SAAS;CACrE,eAAe,mCAAmC,SAAS,CAAC,CAAC,SAAS;CACtE,gBAA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,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,iBAAiB,+CAA+C,SAAS,CAAC,CAAC,SAAS;CACpF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAK/D,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwC,EAAE,OAAO,EACjD,UAAU,8CAA8C,SAAS,EACnE,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -3,14 +3,14 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/get-node-parents.ts
|
|
4
4
|
const SmugmugGetNodeParentsInput = zod.z.object({ node_id: zod.z.string().describe("The unique identifier of the node to retrieve parent breadcrumb trail for.") });
|
|
5
5
|
const SmugmugGetNodeParents_ParentNodeResponseSchema = zod.z.object({
|
|
6
|
-
Uri: zod.z.string().describe("The API URI for this node."),
|
|
7
|
-
Name: zod.z.string().describe("The display name of the node."),
|
|
8
|
-
Type: zod.z.string().describe("The type of node: 'Folder', 'Album', or 'Page'."),
|
|
6
|
+
Uri: zod.z.string().describe("The API URI for this node.").nullable(),
|
|
7
|
+
Name: zod.z.string().describe("The display name of the node.").nullable(),
|
|
8
|
+
Type: zod.z.string().describe("The type of node: 'Folder', 'Album', or 'Page'.").nullable(),
|
|
9
9
|
IsRoot: zod.z.boolean().describe("True if this is the root node for the user's account.").nullable().optional(),
|
|
10
|
-
NodeID: zod.z.string().describe("The unique identifier of the node."),
|
|
11
|
-
WebUri: zod.z.string().describe("The full web URL to view this node on SmugMug."),
|
|
10
|
+
NodeID: zod.z.string().describe("The unique identifier of the node.").nullable(),
|
|
11
|
+
WebUri: zod.z.string().describe("The full web URL to view this node on SmugMug.").nullable(),
|
|
12
12
|
Privacy: zod.z.string().describe("Privacy setting of the node: 'Public', 'Unlisted', or 'Private'.").nullable().optional(),
|
|
13
|
-
UrlName: zod.z.string().describe("URL-safe name used in the node's web path."),
|
|
13
|
+
UrlName: zod.z.string().describe("URL-safe name used in the node's web path.").nullable(),
|
|
14
14
|
UrlPath: zod.z.string().describe("The URL path of the node relative to the user's root.").nullable().optional(),
|
|
15
15
|
DateAdded: zod.z.string().describe("ISO 8601 timestamp when the node was created.").nullable().optional(),
|
|
16
16
|
SortMethod: zod.z.string().describe("Method used to sort child items (e.g., 'SortIndex', 'DateAdded').").nullable().optional(),
|
|
@@ -19,8 +19,8 @@ const SmugmugGetNodeParents_ParentNodeResponseSchema = zod.z.object({
|
|
|
19
19
|
DateModified: zod.z.string().describe("ISO 8601 timestamp when the node was last modified.").nullable().optional(),
|
|
20
20
|
SecurityType: zod.z.string().describe("Security type of the node (e.g., 'None', 'Password').").nullable().optional(),
|
|
21
21
|
SortDirection: zod.z.string().describe("Sort direction for child items: 'Ascending' or 'Descending'.").nullable().optional()
|
|
22
|
-
}).describe("Response model for a parent node in the breadcrumb trail.");
|
|
23
|
-
const SmugmugGetNodeParentsOutput = zod.z.object({ Node: zod.z.array(SmugmugGetNodeParents_ParentNodeResponseSchema).describe("List of nodes from the requested node up to the root, forming the breadcrumb trail.").nullable().optional() }).describe("Response containing the node and all its ancestor nodes (breadcrumb trail).");
|
|
22
|
+
}).passthrough().describe("Response model for a parent node in the breadcrumb trail.");
|
|
23
|
+
const SmugmugGetNodeParentsOutput = zod.z.object({ Node: zod.z.array(SmugmugGetNodeParents_ParentNodeResponseSchema).describe("List of nodes from the requested node up to the root, forming the breadcrumb trail.").nullable().optional() }).passthrough().describe("Response containing the node and all its ancestor nodes (breadcrumb trail).");
|
|
24
24
|
const smugmugGetNodeParents = require_action.action("SMUGMUG_GET_NODE_PARENTS", {
|
|
25
25
|
slug: "smugmug-get-node-parents",
|
|
26
26
|
name: "Get Node Parents",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-node-parents.cjs","names":["z","action"],"sources":["../../src/actions/get-node-parents.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmugmugGetNodeParentsInput
|
|
1
|
+
{"version":3,"file":"get-node-parents.cjs","names":["z","action"],"sources":["../../src/actions/get-node-parents.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmugmugGetNodeParentsInput = z.object({\n node_id: z.string().describe(\"The unique identifier of the node to retrieve parent breadcrumb trail for.\"),\n});\nconst SmugmugGetNodeParents_ParentNodeResponseSchema = z.object({\n Uri: z.string().describe(\"The API URI for this node.\").nullable(),\n Name: z.string().describe(\"The display name of the node.\").nullable(),\n Type: z.string().describe(\"The type of node: 'Folder', 'Album', or 'Page'.\").nullable(),\n IsRoot: z.boolean().describe(\"True if this is the root node for the user's account.\").nullable().optional(),\n NodeID: z.string().describe(\"The unique identifier of the node.\").nullable(),\n WebUri: z.string().describe(\"The full web URL to view this node on SmugMug.\").nullable(),\n Privacy: z.string().describe(\"Privacy setting of the node: 'Public', 'Unlisted', or 'Private'.\").nullable().optional(),\n UrlName: z.string().describe(\"URL-safe name used in the node's web path.\").nullable(),\n UrlPath: z.string().describe(\"The URL path of the node relative to the user's root.\").nullable().optional(),\n DateAdded: z.string().describe(\"ISO 8601 timestamp when the node was created.\").nullable().optional(),\n SortMethod: z.string().describe(\"Method used to sort child items (e.g., 'SortIndex', 'DateAdded').\").nullable().optional(),\n Description: z.string().describe(\"The description of the node, if set.\").nullable().optional(),\n HasChildren: z.boolean().describe(\"Whether this node has child nodes.\").nullable().optional(),\n DateModified: z.string().describe(\"ISO 8601 timestamp when the node was last modified.\").nullable().optional(),\n SecurityType: z.string().describe(\"Security type of the node (e.g., 'None', 'Password').\").nullable().optional(),\n SortDirection: z.string().describe(\"Sort direction for child items: 'Ascending' or 'Descending'.\").nullable().optional(),\n}).passthrough().describe(\"Response model for a parent node in the breadcrumb trail.\");\nexport const SmugmugGetNodeParentsOutput = z.object({\n Node: z.array(SmugmugGetNodeParents_ParentNodeResponseSchema).describe(\"List of nodes from the requested node up to the root, forming the breadcrumb trail.\").nullable().optional(),\n}).passthrough().describe(\"Response containing the node and all its ancestor nodes (breadcrumb trail).\");\n\nexport const smugmugGetNodeParents = action(\"SMUGMUG_GET_NODE_PARENTS\", {\n slug: \"smugmug-get-node-parents\",\n name: \"Get Node Parents\",\n description: \"Tool to retrieve a node and all its ancestor nodes (breadcrumb trail). Use when you need to understand the full hierarchy path from a node to the root.\",\n input: SmugmugGetNodeParentsInput,\n output: SmugmugGetNodeParentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,EAC3G,CAAC;AACD,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACtF,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC3E,QAAQA,IA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C,CAAC,SAAS,6EAA6E;AAEvG,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,32 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-node-parents.d.ts
|
|
4
|
-
declare const SmugmugGetNodeParentsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SmugmugGetNodeParentsInput: z.ZodObject<{
|
|
5
|
+
node_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const SmugmugGetNodeParentsOutput: z.ZodObject<{
|
|
8
|
+
Node: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
9
|
+
Uri: z.ZodNullable<z.ZodString>;
|
|
10
|
+
Name: z.ZodNullable<z.ZodString>;
|
|
11
|
+
Type: z.ZodNullable<z.ZodString>;
|
|
12
|
+
IsRoot: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
13
|
+
NodeID: z.ZodNullable<z.ZodString>;
|
|
14
|
+
WebUri: z.ZodNullable<z.ZodString>;
|
|
15
|
+
Privacy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
UrlName: z.ZodNullable<z.ZodString>;
|
|
17
|
+
UrlPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
DateAdded: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
SortMethod: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
HasChildren: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
22
|
+
DateModified: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
SecurityType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
SortDirection: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
}, z.core.$loose>>>>;
|
|
26
|
+
}, z.core.$loose>;
|
|
27
|
+
declare const smugmugGetNodeParents: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
28
|
+
node_id: string;
|
|
29
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
30
|
//#endregion
|
|
8
31
|
export { smugmugGetNodeParents };
|
|
9
32
|
//# sourceMappingURL=get-node-parents.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-node-parents.d.cts","names":[],"sources":["../../src/actions/get-node-parents.ts"],"mappings":";;;cAIa,0BAAA,
|
|
1
|
+
{"version":3,"file":"get-node-parents.d.cts","names":[],"sources":["../../src/actions/get-node-parents.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAqB1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA"}
|
|
@@ -1,9 +1,32 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-node-parents.d.ts
|
|
4
|
-
declare const SmugmugGetNodeParentsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SmugmugGetNodeParentsInput: z.ZodObject<{
|
|
5
|
+
node_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const SmugmugGetNodeParentsOutput: z.ZodObject<{
|
|
8
|
+
Node: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
9
|
+
Uri: z.ZodNullable<z.ZodString>;
|
|
10
|
+
Name: z.ZodNullable<z.ZodString>;
|
|
11
|
+
Type: z.ZodNullable<z.ZodString>;
|
|
12
|
+
IsRoot: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
13
|
+
NodeID: z.ZodNullable<z.ZodString>;
|
|
14
|
+
WebUri: z.ZodNullable<z.ZodString>;
|
|
15
|
+
Privacy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
UrlName: z.ZodNullable<z.ZodString>;
|
|
17
|
+
UrlPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
DateAdded: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
SortMethod: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
HasChildren: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
22
|
+
DateModified: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
SecurityType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
SortDirection: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
}, z.core.$loose>>>>;
|
|
26
|
+
}, z.core.$loose>;
|
|
27
|
+
declare const smugmugGetNodeParents: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
28
|
+
node_id: string;
|
|
29
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
30
|
//#endregion
|
|
8
31
|
export { smugmugGetNodeParents };
|
|
9
32
|
//# sourceMappingURL=get-node-parents.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-node-parents.d.mts","names":[],"sources":["../../src/actions/get-node-parents.ts"],"mappings":";;;cAIa,0BAAA,
|
|
1
|
+
{"version":3,"file":"get-node-parents.d.mts","names":[],"sources":["../../src/actions/get-node-parents.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAqB1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA"}
|
|
@@ -3,14 +3,14 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/get-node-parents.ts
|
|
4
4
|
const SmugmugGetNodeParentsInput = z.object({ node_id: z.string().describe("The unique identifier of the node to retrieve parent breadcrumb trail for.") });
|
|
5
5
|
const SmugmugGetNodeParents_ParentNodeResponseSchema = z.object({
|
|
6
|
-
Uri: z.string().describe("The API URI for this node."),
|
|
7
|
-
Name: z.string().describe("The display name of the node."),
|
|
8
|
-
Type: z.string().describe("The type of node: 'Folder', 'Album', or 'Page'."),
|
|
6
|
+
Uri: z.string().describe("The API URI for this node.").nullable(),
|
|
7
|
+
Name: z.string().describe("The display name of the node.").nullable(),
|
|
8
|
+
Type: z.string().describe("The type of node: 'Folder', 'Album', or 'Page'.").nullable(),
|
|
9
9
|
IsRoot: z.boolean().describe("True if this is the root node for the user's account.").nullable().optional(),
|
|
10
|
-
NodeID: z.string().describe("The unique identifier of the node."),
|
|
11
|
-
WebUri: z.string().describe("The full web URL to view this node on SmugMug."),
|
|
10
|
+
NodeID: z.string().describe("The unique identifier of the node.").nullable(),
|
|
11
|
+
WebUri: z.string().describe("The full web URL to view this node on SmugMug.").nullable(),
|
|
12
12
|
Privacy: z.string().describe("Privacy setting of the node: 'Public', 'Unlisted', or 'Private'.").nullable().optional(),
|
|
13
|
-
UrlName: z.string().describe("URL-safe name used in the node's web path."),
|
|
13
|
+
UrlName: z.string().describe("URL-safe name used in the node's web path.").nullable(),
|
|
14
14
|
UrlPath: z.string().describe("The URL path of the node relative to the user's root.").nullable().optional(),
|
|
15
15
|
DateAdded: z.string().describe("ISO 8601 timestamp when the node was created.").nullable().optional(),
|
|
16
16
|
SortMethod: z.string().describe("Method used to sort child items (e.g., 'SortIndex', 'DateAdded').").nullable().optional(),
|
|
@@ -19,13 +19,13 @@ const SmugmugGetNodeParents_ParentNodeResponseSchema = z.object({
|
|
|
19
19
|
DateModified: z.string().describe("ISO 8601 timestamp when the node was last modified.").nullable().optional(),
|
|
20
20
|
SecurityType: z.string().describe("Security type of the node (e.g., 'None', 'Password').").nullable().optional(),
|
|
21
21
|
SortDirection: z.string().describe("Sort direction for child items: 'Ascending' or 'Descending'.").nullable().optional()
|
|
22
|
-
}).describe("Response model for a parent node in the breadcrumb trail.");
|
|
22
|
+
}).passthrough().describe("Response model for a parent node in the breadcrumb trail.");
|
|
23
23
|
const smugmugGetNodeParents = action("SMUGMUG_GET_NODE_PARENTS", {
|
|
24
24
|
slug: "smugmug-get-node-parents",
|
|
25
25
|
name: "Get Node Parents",
|
|
26
26
|
description: "Tool to retrieve a node and all its ancestor nodes (breadcrumb trail). Use when you need to understand the full hierarchy path from a node to the root.",
|
|
27
27
|
input: SmugmugGetNodeParentsInput,
|
|
28
|
-
output: z.object({ Node: z.array(SmugmugGetNodeParents_ParentNodeResponseSchema).describe("List of nodes from the requested node up to the root, forming the breadcrumb trail.").nullable().optional() }).describe("Response containing the node and all its ancestor nodes (breadcrumb trail).")
|
|
28
|
+
output: z.object({ Node: z.array(SmugmugGetNodeParents_ParentNodeResponseSchema).describe("List of nodes from the requested node up to the root, forming the breadcrumb trail.").nullable().optional() }).passthrough().describe("Response containing the node and all its ancestor nodes (breadcrumb trail).")
|
|
29
29
|
});
|
|
30
30
|
//#endregion
|
|
31
31
|
export { smugmugGetNodeParents };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-node-parents.mjs","names":[],"sources":["../../src/actions/get-node-parents.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmugmugGetNodeParentsInput
|
|
1
|
+
{"version":3,"file":"get-node-parents.mjs","names":[],"sources":["../../src/actions/get-node-parents.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmugmugGetNodeParentsInput = z.object({\n node_id: z.string().describe(\"The unique identifier of the node to retrieve parent breadcrumb trail for.\"),\n});\nconst SmugmugGetNodeParents_ParentNodeResponseSchema = z.object({\n Uri: z.string().describe(\"The API URI for this node.\").nullable(),\n Name: z.string().describe(\"The display name of the node.\").nullable(),\n Type: z.string().describe(\"The type of node: 'Folder', 'Album', or 'Page'.\").nullable(),\n IsRoot: z.boolean().describe(\"True if this is the root node for the user's account.\").nullable().optional(),\n NodeID: z.string().describe(\"The unique identifier of the node.\").nullable(),\n WebUri: z.string().describe(\"The full web URL to view this node on SmugMug.\").nullable(),\n Privacy: z.string().describe(\"Privacy setting of the node: 'Public', 'Unlisted', or 'Private'.\").nullable().optional(),\n UrlName: z.string().describe(\"URL-safe name used in the node's web path.\").nullable(),\n UrlPath: z.string().describe(\"The URL path of the node relative to the user's root.\").nullable().optional(),\n DateAdded: z.string().describe(\"ISO 8601 timestamp when the node was created.\").nullable().optional(),\n SortMethod: z.string().describe(\"Method used to sort child items (e.g., 'SortIndex', 'DateAdded').\").nullable().optional(),\n Description: z.string().describe(\"The description of the node, if set.\").nullable().optional(),\n HasChildren: z.boolean().describe(\"Whether this node has child nodes.\").nullable().optional(),\n DateModified: z.string().describe(\"ISO 8601 timestamp when the node was last modified.\").nullable().optional(),\n SecurityType: z.string().describe(\"Security type of the node (e.g., 'None', 'Password').\").nullable().optional(),\n SortDirection: z.string().describe(\"Sort direction for child items: 'Ascending' or 'Descending'.\").nullable().optional(),\n}).passthrough().describe(\"Response model for a parent node in the breadcrumb trail.\");\nexport const SmugmugGetNodeParentsOutput = z.object({\n Node: z.array(SmugmugGetNodeParents_ParentNodeResponseSchema).describe(\"List of nodes from the requested node up to the root, forming the breadcrumb trail.\").nullable().optional(),\n}).passthrough().describe(\"Response containing the node and all its ancestor nodes (breadcrumb trail).\");\n\nexport const smugmugGetNodeParents = action(\"SMUGMUG_GET_NODE_PARENTS\", {\n slug: \"smugmug-get-node-parents\",\n name: \"Get Node Parents\",\n description: \"Tool to retrieve a node and all its ancestor nodes (breadcrumb trail). Use when you need to understand the full hierarchy path from a node to the root.\",\n input: SmugmugGetNodeParentsInput,\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AAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAKrF,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATyC,EAAE,OAAO,EAClD,MAAM,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6EAOhB;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const SmugmugGetUserBioImageInput = zod.z.object({ nickname: zod.z.string().desc
|
|
|
5
5
|
const SmugmugGetUserBioImage_BioImageResponseSchema = zod.z.object({
|
|
6
6
|
Uri: zod.z.string().describe("The API URI for this bio image resource.").nullable().optional(),
|
|
7
7
|
Date: zod.z.string().describe("The date the image was taken or uploaded.").nullable().optional(),
|
|
8
|
-
Uris: zod.z.
|
|
8
|
+
Uris: zod.z.record(zod.z.string(), zod.z.unknown()).describe("URIs to related resources for this image.").nullable().optional(),
|
|
9
9
|
Title: zod.z.string().describe("The title of the bio image.").nullable().optional(),
|
|
10
10
|
Format: zod.z.string().describe("The image file format (e.g., 'JPG', 'PNG').").nullable().optional(),
|
|
11
11
|
Caption: zod.z.string().describe("The caption text for the bio image.").nullable().optional(),
|
|
@@ -18,8 +18,8 @@ const SmugmugGetUserBioImage_BioImageResponseSchema = zod.z.object({
|
|
|
18
18
|
ThumbnailUrl: zod.z.string().describe("URL to the thumbnail version of the bio image.").nullable().optional(),
|
|
19
19
|
OriginalWidth: zod.z.number().int().describe("The original width of the image in pixels.").nullable().optional(),
|
|
20
20
|
OriginalHeight: zod.z.number().int().describe("The original height of the image in pixels.").nullable().optional()
|
|
21
|
-
}).describe("Bio image information from SmugMug API.");
|
|
22
|
-
const SmugmugGetUserBioImageOutput = zod.z.object({ response: SmugmugGetUserBioImage_BioImageResponseSchema.nullable() });
|
|
21
|
+
}).passthrough().describe("Bio image information from SmugMug API.");
|
|
22
|
+
const SmugmugGetUserBioImageOutput = zod.z.object({ response: SmugmugGetUserBioImage_BioImageResponseSchema.nullable() }).passthrough();
|
|
23
23
|
const smugmugGetUserBioImage = require_action.action("SMUGMUG_GET_USER_BIO_IMAGE", {
|
|
24
24
|
slug: "smugmug-get-user-bio-image",
|
|
25
25
|
name: "Get User Bio Image",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-bio-image.cjs","names":["z","action"],"sources":["../../src/actions/get-user-bio-image.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmugmugGetUserBioImageInput
|
|
1
|
+
{"version":3,"file":"get-user-bio-image.cjs","names":["z","action"],"sources":["../../src/actions/get-user-bio-image.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmugmugGetUserBioImageInput = z.object({\n nickname: z.string().describe(\"The nickname of the SmugMug user whose bio image should be retrieved.\"),\n});\nconst SmugmugGetUserBioImage_BioImageResponseSchema = z.object({\n Uri: z.string().describe(\"The API URI for this bio image resource.\").nullable().optional(),\n Date: z.string().describe(\"The date the image was taken or uploaded.\").nullable().optional(),\n Uris: z.record(z.string(), z.unknown()).describe(\"URIs to related resources for this image.\").nullable().optional(),\n Title: z.string().describe(\"The title of the bio image.\").nullable().optional(),\n Format: z.string().describe(\"The image file format (e.g., 'JPG', 'PNG').\").nullable().optional(),\n Caption: z.string().describe(\"The caption text for the bio image.\").nullable().optional(),\n FileName: z.string().describe(\"The original filename of the bio image.\").nullable().optional(),\n ImageKey: z.string().describe(\"The unique key identifier for the image.\").nullable().optional(),\n Keywords: z.string().describe(\"Comma-separated keywords/tags for the bio image.\").nullable().optional(),\n LastUpdated: z.string().describe(\"ISO 8601 timestamp when the image was last updated.\").nullable().optional(),\n KeywordArray: z.array(z.string()).describe(\"Array of keywords/tags for the bio image.\").nullable().optional(),\n OriginalSize: z.number().int().describe(\"The original file size of the image in bytes.\").nullable().optional(),\n ThumbnailUrl: z.string().describe(\"URL to the thumbnail version of the bio image.\").nullable().optional(),\n OriginalWidth: z.number().int().describe(\"The original width of the image in pixels.\").nullable().optional(),\n OriginalHeight: z.number().int().describe(\"The original height of the image in pixels.\").nullable().optional(),\n}).passthrough().describe(\"Bio image information from SmugMug API.\");\nexport const SmugmugGetUserBioImageOutput = z.object({\n response: SmugmugGetUserBioImage_BioImageResponseSchema.nullable(),\n}).passthrough();\n\nexport const smugmugGetUserBioImage = action(\"SMUGMUG_GET_USER_BIO_IMAGE\", {\n slug: \"smugmug-get-user-bio-image\",\n name: \"Get User Bio Image\",\n description: \"Tool to retrieve the bio image for a SmugMug user by their nickname (username). Use when you need to get information about a user's bio/profile image including image metadata, dimensions, URLs, and related resource URIs.\",\n input: SmugmugGetUserBioImageInput,\n output: SmugmugGetUserBioImageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,EACvG,CAAC;AACD,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,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6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AACnE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,UAAU,8CAA8C,SAAS,EACnE,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,yBAAyBC,eAAAA,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,31 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-user-bio-image.d.ts
|
|
4
|
-
declare const SmugmugGetUserBioImageInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SmugmugGetUserBioImageInput: z.ZodObject<{
|
|
5
|
+
nickname: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const SmugmugGetUserBioImageOutput: z.ZodObject<{
|
|
8
|
+
response: z.ZodNullable<z.ZodObject<{
|
|
9
|
+
Uri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
Date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
Uris: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
12
|
+
Title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
Format: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
Caption: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
FileName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
ImageKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
Keywords: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
LastUpdated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
KeywordArray: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
20
|
+
OriginalSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
|
+
ThumbnailUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
OriginalWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
|
+
OriginalHeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
24
|
+
}, z.core.$loose>>;
|
|
25
|
+
}, z.core.$loose>;
|
|
26
|
+
declare const smugmugGetUserBioImage: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
|
+
nickname: string;
|
|
28
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
29
|
//#endregion
|
|
8
30
|
export { smugmugGetUserBioImage };
|
|
9
31
|
//# sourceMappingURL=get-user-bio-image.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-bio-image.d.cts","names":[],"sources":["../../src/actions/get-user-bio-image.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"get-user-bio-image.d.cts","names":[],"sources":["../../src/actions/get-user-bio-image.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAoB3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAI5B,sBAAA,gCAAsB,wBAAA"}
|
|
@@ -1,9 +1,31 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-user-bio-image.d.ts
|
|
4
|
-
declare const SmugmugGetUserBioImageInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SmugmugGetUserBioImageInput: z.ZodObject<{
|
|
5
|
+
nickname: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const SmugmugGetUserBioImageOutput: z.ZodObject<{
|
|
8
|
+
response: z.ZodNullable<z.ZodObject<{
|
|
9
|
+
Uri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
Date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
Uris: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
12
|
+
Title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
Format: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
Caption: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
FileName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
ImageKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
Keywords: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
LastUpdated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
KeywordArray: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
20
|
+
OriginalSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
|
+
ThumbnailUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
OriginalWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
|
+
OriginalHeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
24
|
+
}, z.core.$loose>>;
|
|
25
|
+
}, z.core.$loose>;
|
|
26
|
+
declare const smugmugGetUserBioImage: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
|
+
nickname: string;
|
|
28
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
29
|
//#endregion
|
|
8
30
|
export { smugmugGetUserBioImage };
|
|
9
31
|
//# sourceMappingURL=get-user-bio-image.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-bio-image.d.mts","names":[],"sources":["../../src/actions/get-user-bio-image.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"get-user-bio-image.d.mts","names":[],"sources":["../../src/actions/get-user-bio-image.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAoB3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAI5B,sBAAA,gCAAsB,wBAAA"}
|
|
@@ -5,7 +5,7 @@ const SmugmugGetUserBioImageInput = z.object({ nickname: z.string().describe("Th
|
|
|
5
5
|
const SmugmugGetUserBioImage_BioImageResponseSchema = z.object({
|
|
6
6
|
Uri: z.string().describe("The API URI for this bio image resource.").nullable().optional(),
|
|
7
7
|
Date: z.string().describe("The date the image was taken or uploaded.").nullable().optional(),
|
|
8
|
-
Uris: z.
|
|
8
|
+
Uris: z.record(z.string(), z.unknown()).describe("URIs to related resources for this image.").nullable().optional(),
|
|
9
9
|
Title: z.string().describe("The title of the bio image.").nullable().optional(),
|
|
10
10
|
Format: z.string().describe("The image file format (e.g., 'JPG', 'PNG').").nullable().optional(),
|
|
11
11
|
Caption: z.string().describe("The caption text for the bio image.").nullable().optional(),
|
|
@@ -18,13 +18,13 @@ const SmugmugGetUserBioImage_BioImageResponseSchema = z.object({
|
|
|
18
18
|
ThumbnailUrl: z.string().describe("URL to the thumbnail version of the bio image.").nullable().optional(),
|
|
19
19
|
OriginalWidth: z.number().int().describe("The original width of the image in pixels.").nullable().optional(),
|
|
20
20
|
OriginalHeight: z.number().int().describe("The original height of the image in pixels.").nullable().optional()
|
|
21
|
-
}).describe("Bio image information from SmugMug API.");
|
|
21
|
+
}).passthrough().describe("Bio image information from SmugMug API.");
|
|
22
22
|
const smugmugGetUserBioImage = action("SMUGMUG_GET_USER_BIO_IMAGE", {
|
|
23
23
|
slug: "smugmug-get-user-bio-image",
|
|
24
24
|
name: "Get User Bio Image",
|
|
25
25
|
description: "Tool to retrieve the bio image for a SmugMug user by their nickname (username). Use when you need to get information about a user's bio/profile image including image metadata, dimensions, URLs, and related resource URIs.",
|
|
26
26
|
input: SmugmugGetUserBioImageInput,
|
|
27
|
-
output: z.object({ response: SmugmugGetUserBioImage_BioImageResponseSchema.nullable() })
|
|
27
|
+
output: z.object({ response: SmugmugGetUserBioImage_BioImageResponseSchema.nullable() }).passthrough()
|
|
28
28
|
});
|
|
29
29
|
//#endregion
|
|
30
30
|
export { smugmugGetUserBioImage };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-bio-image.mjs","names":[],"sources":["../../src/actions/get-user-bio-image.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmugmugGetUserBioImageInput
|
|
1
|
+
{"version":3,"file":"get-user-bio-image.mjs","names":[],"sources":["../../src/actions/get-user-bio-image.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmugmugGetUserBioImageInput = z.object({\n nickname: z.string().describe(\"The nickname of the SmugMug user whose bio image should be retrieved.\"),\n});\nconst SmugmugGetUserBioImage_BioImageResponseSchema = z.object({\n Uri: z.string().describe(\"The API URI for this bio image resource.\").nullable().optional(),\n Date: z.string().describe(\"The date the image was taken or uploaded.\").nullable().optional(),\n Uris: z.record(z.string(), z.unknown()).describe(\"URIs to related resources for this image.\").nullable().optional(),\n Title: z.string().describe(\"The title of the bio image.\").nullable().optional(),\n Format: z.string().describe(\"The image file format (e.g., 'JPG', 'PNG').\").nullable().optional(),\n Caption: z.string().describe(\"The caption text for the bio image.\").nullable().optional(),\n FileName: z.string().describe(\"The original filename of the bio image.\").nullable().optional(),\n ImageKey: z.string().describe(\"The unique key identifier for the image.\").nullable().optional(),\n Keywords: z.string().describe(\"Comma-separated keywords/tags for the bio image.\").nullable().optional(),\n LastUpdated: z.string().describe(\"ISO 8601 timestamp when the image was last updated.\").nullable().optional(),\n KeywordArray: z.array(z.string()).describe(\"Array of keywords/tags for the bio image.\").nullable().optional(),\n OriginalSize: z.number().int().describe(\"The original file size of the image in bytes.\").nullable().optional(),\n ThumbnailUrl: z.string().describe(\"URL to the thumbnail version of the bio image.\").nullable().optional(),\n OriginalWidth: z.number().int().describe(\"The original width of the image in pixels.\").nullable().optional(),\n OriginalHeight: z.number().int().describe(\"The original height of the image in pixels.\").nullable().optional(),\n}).passthrough().describe(\"Bio image information from SmugMug API.\");\nexport const SmugmugGetUserBioImageOutput = z.object({\n response: SmugmugGetUserBioImage_BioImageResponseSchema.nullable(),\n}).passthrough();\n\nexport const smugmugGetUserBioImage = action(\"SMUGMUG_GET_USER_BIO_IMAGE\", {\n slug: \"smugmug-get-user-bio-image\",\n name: \"Get User Bio Image\",\n description: \"Tool to retrieve the bio image for a SmugMug user by their nickname (username). Use when you need to get information about a user's bio/profile image including image metadata, dimensions, URLs, and related resource URIs.\",\n input: SmugmugGetUserBioImageInput,\n output: SmugmugGetUserBioImageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO,EAClD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,EACvG,CAAC;AACD,MAAM,gDAAgD,EAAE,OAAO;CAC7D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,C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turedAlbums_FeaturedAlbumSchema = zod.z.object({
|
|
|
14
14
|
Description: zod.z.string().describe("The description of the album.").nullable().optional(),
|
|
15
15
|
LastUpdated: zod.z.string().describe("ISO 8601 timestamp when the album was last updated.").nullable().optional(),
|
|
16
16
|
ImagesLastUpdated: zod.z.string().describe("ISO 8601 timestamp when images in the album were last updated.").nullable().optional()
|
|
17
|
-
}).describe("Represents a featured album for a SmugMug user.");
|
|
17
|
+
}).passthrough().describe("Represents a featured album for a SmugMug user.");
|
|
18
18
|
const SmugmugGetUserFeaturedAlbums_FeaturedAlbumsResponseSchema = zod.z.object({
|
|
19
19
|
Uri: zod.z.string().describe("The API URI for this resource.").nullable().optional(),
|
|
20
20
|
Album: zod.z.array(SmugmugGetUserFeaturedAlbums_FeaturedAlbumSchema).describe("List of featured albums for the user.").nullable().optional(),
|
|
@@ -22,12 +22,12 @@ const SmugmugGetUserFeaturedAlbums_FeaturedAlbumsResponseSchema = zod.z.object({
|
|
|
22
22
|
LocatorType: zod.z.string().describe("Whether this returns an Object or Objects.").nullable().optional(),
|
|
23
23
|
EndpointType: zod.z.string().describe("The endpoint type name.").nullable().optional(),
|
|
24
24
|
UriDescription: zod.z.string().describe("Description of the API URI endpoint.").nullable().optional()
|
|
25
|
-
}).describe("Response containing the list of featured albums.");
|
|
25
|
+
}).passthrough().describe("Response containing the list of featured albums.");
|
|
26
26
|
const SmugmugGetUserFeaturedAlbumsOutput = zod.z.object({
|
|
27
27
|
Code: zod.z.number().int().describe("HTTP status code from the API.").nullable().optional(),
|
|
28
28
|
Message: zod.z.string().describe("Response message from the API.").nullable().optional(),
|
|
29
29
|
Response: SmugmugGetUserFeaturedAlbums_FeaturedAlbumsResponseSchema.nullable()
|
|
30
|
-
});
|
|
30
|
+
}).passthrough();
|
|
31
31
|
const smugmugGetUserFeaturedAlbums = require_action.action("SMUGMUG_GET_USER_FEATURED_ALBUMS", {
|
|
32
32
|
slug: "smugmug-get-user-featured-albums",
|
|
33
33
|
name: "Get User Featured Albums",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-featured-albums.cjs","names":["z","action"],"sources":["../../src/actions/get-user-featured-albums.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmugmugGetUserFeaturedAlbumsInput
|
|
1
|
+
{"version":3,"file":"get-user-featured-albums.cjs","names":["z","action"],"sources":["../../src/actions/get-user-featured-albums.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmugmugGetUserFeaturedAlbumsInput = z.object({\n nickname: z.string().describe(\"The nickname of the SmugMug user whose featured albums you want to retrieve. This is the user's unique identifier on SmugMug.\"),\n});\nconst SmugmugGetUserFeaturedAlbums_FeaturedAlbumSchema = z.object({\n Uri: z.string().describe(\"The API URI for this album resource.\").nullable().optional(),\n Name: z.string().describe(\"The name of the album.\").nullable().optional(),\n Title: z.string().describe(\"The title of the album.\").nullable().optional(),\n NodeID: z.string().describe(\"The unique node identifier for this album.\").nullable().optional(),\n WebUri: z.string().describe(\"The public URL to view the album on SmugMug.\").nullable().optional(),\n UrlPath: z.string().describe(\"The URL path segment for this album.\").nullable().optional(),\n AlbumKey: z.string().describe(\"The unique key identifier for the album.\").nullable().optional(),\n ImageCount: z.number().int().describe(\"The number of images in the album.\").nullable().optional(),\n Description: z.string().describe(\"The description of the album.\").nullable().optional(),\n LastUpdated: z.string().describe(\"ISO 8601 timestamp when the album was last updated.\").nullable().optional(),\n ImagesLastUpdated: z.string().describe(\"ISO 8601 timestamp when images in the album were last updated.\").nullable().optional(),\n}).passthrough().describe(\"Represents a featured album for a SmugMug user.\");\nconst SmugmugGetUserFeaturedAlbums_FeaturedAlbumsResponseSchema = z.object({\n Uri: z.string().describe(\"The API URI for this resource.\").nullable().optional(),\n Album: z.array(SmugmugGetUserFeaturedAlbums_FeaturedAlbumSchema).describe(\"List of featured albums for the user.\").nullable().optional(),\n Locator: z.string().describe(\"The locator type name (e.g., 'Album').\").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 the API URI endpoint.\").nullable().optional(),\n}).passthrough().describe(\"Response containing the list of featured albums.\");\nexport const SmugmugGetUserFeaturedAlbumsOutput = z.object({\n Code: z.number().int().describe(\"HTTP status code from the API.\").nullable().optional(),\n Message: z.string().describe(\"Response message from the API.\").nullable().optional(),\n Response: SmugmugGetUserFeaturedAlbums_FeaturedAlbumsResponseSchema.nullable(),\n}).passthrough();\n\nexport const smugmugGetUserFeaturedAlbums = action(\"SMUGMUG_GET_USER_FEATURED_ALBUMS\", {\n slug: \"smugmug-get-user-featured-albums\",\n name: \"Get User Featured Albums\",\n description: \"Retrieves the featured albums for a SmugMug user by their nickname. Use this when you need to see which albums a user has highlighted as featured content on their profile.\",\n input: SmugmugGetUserFeaturedAlbumsInput,\n output: SmugmugGetUserFeaturedAlbumsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,EAC/J,CAAC;AACD,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CA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