@umbraco-cms/mcp-dev 17.2.2 → 17.3.1
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 +1 -1
- package/dist/{chunk-JRE6E45P.js → chunk-AGZ4PKPN.js} +412 -400
- package/dist/chunk-AGZ4PKPN.js.map +1 -0
- package/dist/{chunk-26S4BZ4G.cjs → chunk-ZMREPEAA.cjs} +120 -108
- package/dist/chunk-ZMREPEAA.cjs.map +1 -0
- package/dist/collections.cjs +2 -2
- package/dist/collections.js +1 -1
- package/dist/index.cjs +87 -87
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/dist/chunk-26S4BZ4G.cjs.map +0 -1
- package/dist/chunk-JRE6E45P.js.map +0 -1
|
@@ -11043,16 +11043,24 @@ var getWebhookLogsResponse = zod.object({
|
|
|
11043
11043
|
});
|
|
11044
11044
|
|
|
11045
11045
|
// src/umb-management-api/tools/culture/get-cultures.ts
|
|
11046
|
+
import { z } from "zod";
|
|
11046
11047
|
import {
|
|
11047
11048
|
CAPTURE_RAW_HTTP_RESPONSE,
|
|
11048
11049
|
executeGetApiCall,
|
|
11049
11050
|
withStandardDecorators
|
|
11050
11051
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
11052
|
+
var outputSchema = z.object({
|
|
11053
|
+
total: z.number(),
|
|
11054
|
+
items: z.array(z.object({
|
|
11055
|
+
name: z.string(),
|
|
11056
|
+
englishName: z.string()
|
|
11057
|
+
}))
|
|
11058
|
+
});
|
|
11051
11059
|
var GetCulturesTool = {
|
|
11052
11060
|
name: "get-culture",
|
|
11053
11061
|
description: "Retrieves a paginated list of cultures that Umbraco can be configured to use",
|
|
11054
11062
|
inputSchema: getCultureQueryParams.shape,
|
|
11055
|
-
outputSchema:
|
|
11063
|
+
outputSchema: outputSchema.shape,
|
|
11056
11064
|
annotations: {
|
|
11057
11065
|
readOnlyHint: true
|
|
11058
11066
|
},
|
|
@@ -11080,27 +11088,27 @@ var CultureCollection = {
|
|
|
11080
11088
|
};
|
|
11081
11089
|
|
|
11082
11090
|
// src/umb-management-api/tools/data-type/post/create-data-type.ts
|
|
11083
|
-
import { z } from "zod";
|
|
11091
|
+
import { z as z2 } from "zod";
|
|
11084
11092
|
import { v4 as uuidv4 } from "uuid";
|
|
11085
11093
|
import {
|
|
11086
11094
|
createToolResult,
|
|
11087
11095
|
createToolResultError,
|
|
11088
11096
|
withStandardDecorators as withStandardDecorators2
|
|
11089
11097
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
11090
|
-
var createDataTypeSchema =
|
|
11091
|
-
name:
|
|
11092
|
-
editorAlias:
|
|
11093
|
-
editorUiAlias:
|
|
11094
|
-
values:
|
|
11095
|
-
alias:
|
|
11096
|
-
value:
|
|
11098
|
+
var createDataTypeSchema = z2.object({
|
|
11099
|
+
name: z2.string().min(1),
|
|
11100
|
+
editorAlias: z2.string().min(1),
|
|
11101
|
+
editorUiAlias: z2.string(),
|
|
11102
|
+
values: z2.array(z2.object({
|
|
11103
|
+
alias: z2.string(),
|
|
11104
|
+
value: z2.any().nullish()
|
|
11097
11105
|
})),
|
|
11098
|
-
parentId:
|
|
11106
|
+
parentId: z2.string().uuid().optional()
|
|
11099
11107
|
// Flattened parent ID
|
|
11100
11108
|
});
|
|
11101
|
-
var createDataTypeOutputSchema =
|
|
11102
|
-
message:
|
|
11103
|
-
id:
|
|
11109
|
+
var createDataTypeOutputSchema = z2.object({
|
|
11110
|
+
message: z2.string(),
|
|
11111
|
+
id: z2.string().guid()
|
|
11104
11112
|
});
|
|
11105
11113
|
var CreateDataTypeTool = {
|
|
11106
11114
|
name: "create-data-type",
|
|
@@ -11231,20 +11239,20 @@ var GetDataTypeTool = {
|
|
|
11231
11239
|
var get_data_type_default = withStandardDecorators5(GetDataTypeTool);
|
|
11232
11240
|
|
|
11233
11241
|
// src/umb-management-api/tools/data-type/get/get-data-type-by-id-array.ts
|
|
11234
|
-
import { z as
|
|
11242
|
+
import { z as z3 } from "zod";
|
|
11235
11243
|
import {
|
|
11236
11244
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE5,
|
|
11237
11245
|
executeGetItemsApiCall,
|
|
11238
11246
|
withStandardDecorators as withStandardDecorators6
|
|
11239
11247
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
11240
|
-
var
|
|
11248
|
+
var outputSchema2 = z3.object({
|
|
11241
11249
|
items: getItemDataTypeResponse
|
|
11242
11250
|
});
|
|
11243
11251
|
var GetDataTypesByIdArrayTool = {
|
|
11244
11252
|
name: "get-data-types-by-id-array",
|
|
11245
11253
|
description: "Gets data types by IDs (or empty array if no IDs are provided)",
|
|
11246
11254
|
inputSchema: getItemDataTypeQueryParams.shape,
|
|
11247
|
-
outputSchema:
|
|
11255
|
+
outputSchema: outputSchema2.shape,
|
|
11248
11256
|
annotations: {
|
|
11249
11257
|
readOnlyHint: true
|
|
11250
11258
|
},
|
|
@@ -11281,7 +11289,7 @@ var GetDataTypeConfigurationTool = {
|
|
|
11281
11289
|
var get_data_type_configuration_default = withStandardDecorators7(GetDataTypeConfigurationTool);
|
|
11282
11290
|
|
|
11283
11291
|
// src/umb-management-api/tools/data-type/get/get-data-type-property-editor-template.ts
|
|
11284
|
-
import { z as
|
|
11292
|
+
import { z as z4 } from "zod";
|
|
11285
11293
|
|
|
11286
11294
|
// src/umb-management-api/tools/data-type/post/property-editor-templates.ts
|
|
11287
11295
|
var propertyEditorTemplates = {
|
|
@@ -11972,26 +11980,26 @@ import {
|
|
|
11972
11980
|
createToolResultError as createToolResultError2,
|
|
11973
11981
|
withStandardDecorators as withStandardDecorators8
|
|
11974
11982
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
11975
|
-
var propertyEditorTemplateSchema =
|
|
11976
|
-
editorName:
|
|
11983
|
+
var propertyEditorTemplateSchema = z4.object({
|
|
11984
|
+
editorName: z4.string().optional().describe("The name of the property editor template to retrieve (e.g., 'Textbox', 'Toggle', 'RichTextEditor_TinyMCE'). If not provided, returns a list of all available property editor names.")
|
|
11977
11985
|
});
|
|
11978
|
-
var propertyEditorTemplateValueSchema =
|
|
11979
|
-
alias:
|
|
11980
|
-
value:
|
|
11986
|
+
var propertyEditorTemplateValueSchema = z4.object({
|
|
11987
|
+
alias: z4.string(),
|
|
11988
|
+
value: z4.any().optional()
|
|
11981
11989
|
});
|
|
11982
|
-
var propertyEditorTemplateItemSchema =
|
|
11983
|
-
editorAlias:
|
|
11984
|
-
editorUiAlias:
|
|
11985
|
-
values:
|
|
11986
|
-
_notes:
|
|
11990
|
+
var propertyEditorTemplateItemSchema = z4.object({
|
|
11991
|
+
editorAlias: z4.string().optional(),
|
|
11992
|
+
editorUiAlias: z4.string().optional(),
|
|
11993
|
+
values: z4.array(propertyEditorTemplateValueSchema).optional(),
|
|
11994
|
+
_notes: z4.string().optional()
|
|
11987
11995
|
});
|
|
11988
|
-
var propertyEditorTemplateOutputSchema =
|
|
11989
|
-
type:
|
|
11990
|
-
availableEditors:
|
|
11991
|
-
name:
|
|
11992
|
-
notes:
|
|
11996
|
+
var propertyEditorTemplateOutputSchema = z4.object({
|
|
11997
|
+
type: z4.enum(["list", "template"]).describe("Whether this is a list of available editors or a specific template"),
|
|
11998
|
+
availableEditors: z4.array(z4.object({
|
|
11999
|
+
name: z4.string(),
|
|
12000
|
+
notes: z4.string().optional()
|
|
11993
12001
|
})).optional().describe("Available editors (when type is 'list')"),
|
|
11994
|
-
name:
|
|
12002
|
+
name: z4.string().optional().describe("Editor name (when type is 'template')"),
|
|
11995
12003
|
template: propertyEditorTemplateItemSchema.optional().describe("Editor template (when type is 'template')")
|
|
11996
12004
|
});
|
|
11997
12005
|
var GetDataTypePropertyEditorTemplateTool = {
|
|
@@ -12092,7 +12100,7 @@ ${JSON.stringify(template, null, 2)}
|
|
|
12092
12100
|
var get_data_type_property_editor_template_default = withStandardDecorators8(GetDataTypePropertyEditorTemplateTool);
|
|
12093
12101
|
|
|
12094
12102
|
// src/umb-management-api/tools/data-type/put/update-data-type.ts
|
|
12095
|
-
import { z as
|
|
12103
|
+
import { z as z5 } from "zod";
|
|
12096
12104
|
import {
|
|
12097
12105
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE7,
|
|
12098
12106
|
executeVoidApiCall as executeVoidApiCall2,
|
|
@@ -12100,7 +12108,7 @@ import {
|
|
|
12100
12108
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
12101
12109
|
var updateDataTypeSchema = {
|
|
12102
12110
|
id: putDataTypeByIdParams.shape.id,
|
|
12103
|
-
data:
|
|
12111
|
+
data: z5.object(putDataTypeByIdBody.shape)
|
|
12104
12112
|
};
|
|
12105
12113
|
var UpdateDataTypeTool = {
|
|
12106
12114
|
name: "update-data-type",
|
|
@@ -12119,7 +12127,7 @@ var UpdateDataTypeTool = {
|
|
|
12119
12127
|
var update_data_type_default = withStandardDecorators9(UpdateDataTypeTool);
|
|
12120
12128
|
|
|
12121
12129
|
// src/umb-management-api/tools/data-type/post/copy-data-type.ts
|
|
12122
|
-
import { z as
|
|
12130
|
+
import { z as z6 } from "zod";
|
|
12123
12131
|
import {
|
|
12124
12132
|
createToolResult as createToolResult3,
|
|
12125
12133
|
createToolResultError as createToolResultError3,
|
|
@@ -12127,11 +12135,11 @@ import {
|
|
|
12127
12135
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
12128
12136
|
var copyDataTypeSchema = {
|
|
12129
12137
|
id: postDataTypeByIdCopyParams.shape.id,
|
|
12130
|
-
body:
|
|
12138
|
+
body: z6.object(postDataTypeByIdCopyBody.shape)
|
|
12131
12139
|
};
|
|
12132
|
-
var copyDataTypeOutputSchema =
|
|
12133
|
-
message:
|
|
12134
|
-
id:
|
|
12140
|
+
var copyDataTypeOutputSchema = z6.object({
|
|
12141
|
+
message: z6.string(),
|
|
12142
|
+
id: z6.string().guid()
|
|
12135
12143
|
});
|
|
12136
12144
|
var CopyDataTypeTool = {
|
|
12137
12145
|
name: "copy-data-type",
|
|
@@ -12165,19 +12173,19 @@ var CopyDataTypeTool = {
|
|
|
12165
12173
|
var copy_data_type_default = withStandardDecorators10(CopyDataTypeTool);
|
|
12166
12174
|
|
|
12167
12175
|
// src/umb-management-api/tools/data-type/get/is-used-data-type.ts
|
|
12168
|
-
import { z as
|
|
12176
|
+
import { z as z7 } from "zod";
|
|
12169
12177
|
import {
|
|
12170
12178
|
createToolResult as createToolResult4,
|
|
12171
12179
|
withStandardDecorators as withStandardDecorators11
|
|
12172
12180
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
12173
|
-
var
|
|
12174
|
-
isUsed:
|
|
12181
|
+
var outputSchema3 = z7.object({
|
|
12182
|
+
isUsed: z7.boolean().describe("Whether the data type is currently used within Umbraco")
|
|
12175
12183
|
}).shape;
|
|
12176
12184
|
var IsUsedDataTypeTool = {
|
|
12177
12185
|
name: "is-used-data-type",
|
|
12178
12186
|
description: "Checks if a data type is used within Umbraco",
|
|
12179
12187
|
inputSchema: getDataTypeByIdIsUsedParams.shape,
|
|
12180
|
-
outputSchema:
|
|
12188
|
+
outputSchema: outputSchema3,
|
|
12181
12189
|
annotations: {
|
|
12182
12190
|
readOnlyHint: true
|
|
12183
12191
|
},
|
|
@@ -12191,7 +12199,7 @@ var IsUsedDataTypeTool = {
|
|
|
12191
12199
|
var is_used_data_type_default = withStandardDecorators11(IsUsedDataTypeTool);
|
|
12192
12200
|
|
|
12193
12201
|
// src/umb-management-api/tools/data-type/put/move-data-type.ts
|
|
12194
|
-
import { z as
|
|
12202
|
+
import { z as z8 } from "zod";
|
|
12195
12203
|
import {
|
|
12196
12204
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE8,
|
|
12197
12205
|
executeVoidApiCall as executeVoidApiCall3,
|
|
@@ -12199,7 +12207,7 @@ import {
|
|
|
12199
12207
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
12200
12208
|
var moveDataTypeSchema = {
|
|
12201
12209
|
id: putDataTypeByIdMoveParams.shape.id,
|
|
12202
|
-
body:
|
|
12210
|
+
body: z8.object(putDataTypeByIdMoveBody.shape)
|
|
12203
12211
|
};
|
|
12204
12212
|
var MoveDataTypeTool = {
|
|
12205
12213
|
name: "move-data-type",
|
|
@@ -12336,7 +12344,7 @@ var GetDataTypeSearchTool = {
|
|
|
12336
12344
|
var get_search_default = withStandardDecorators17(GetDataTypeSearchTool);
|
|
12337
12345
|
|
|
12338
12346
|
// src/umb-management-api/tools/data-type/folders/put/update-folder.ts
|
|
12339
|
-
import { z as
|
|
12347
|
+
import { z as z9 } from "zod";
|
|
12340
12348
|
import {
|
|
12341
12349
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE14,
|
|
12342
12350
|
executeVoidApiCall as executeVoidApiCall6,
|
|
@@ -12344,7 +12352,7 @@ import {
|
|
|
12344
12352
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
12345
12353
|
var updateDataTypeFolderSchema = {
|
|
12346
12354
|
id: putDataTypeFolderByIdParams.shape.id,
|
|
12347
|
-
data:
|
|
12355
|
+
data: z9.object(putDataTypeFolderByIdBody.shape)
|
|
12348
12356
|
};
|
|
12349
12357
|
var UpdateDataTypeFolderTool = {
|
|
12350
12358
|
name: "update-data-type-folder",
|
|
@@ -12432,20 +12440,20 @@ var GetDataTypeSiblingsTool = {
|
|
|
12432
12440
|
var get_siblings_default = withStandardDecorators21(GetDataTypeSiblingsTool);
|
|
12433
12441
|
|
|
12434
12442
|
// src/umb-management-api/tools/data-type/items/get/get-ancestors.ts
|
|
12435
|
-
import { z as
|
|
12443
|
+
import { z as z10 } from "zod";
|
|
12436
12444
|
import {
|
|
12437
12445
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE18,
|
|
12438
12446
|
executeGetItemsApiCall as executeGetItemsApiCall2,
|
|
12439
12447
|
withStandardDecorators as withStandardDecorators22
|
|
12440
12448
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
12441
|
-
var
|
|
12449
|
+
var outputSchema4 = z10.object({
|
|
12442
12450
|
items: getTreeDataTypeAncestorsResponse
|
|
12443
12451
|
});
|
|
12444
12452
|
var GetDataTypeAncestorsTool = {
|
|
12445
12453
|
name: "get-data-type-ancestors",
|
|
12446
12454
|
description: "Gets the ancestors of a data type by Id",
|
|
12447
12455
|
inputSchema: getTreeDataTypeAncestorsQueryParams.shape,
|
|
12448
|
-
outputSchema:
|
|
12456
|
+
outputSchema: outputSchema4.shape,
|
|
12449
12457
|
annotations: {
|
|
12450
12458
|
readOnlyHint: true
|
|
12451
12459
|
},
|
|
@@ -12459,12 +12467,12 @@ var GetDataTypeAncestorsTool = {
|
|
|
12459
12467
|
var get_ancestors_default = withStandardDecorators22(GetDataTypeAncestorsTool);
|
|
12460
12468
|
|
|
12461
12469
|
// src/umb-management-api/tools/data-type/items/get/get-all.ts
|
|
12462
|
-
import { z as
|
|
12470
|
+
import { z as z11 } from "zod";
|
|
12463
12471
|
import {
|
|
12464
12472
|
createToolResult as createToolResult5,
|
|
12465
12473
|
withStandardDecorators as withStandardDecorators23
|
|
12466
12474
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
12467
|
-
var
|
|
12475
|
+
var outputSchema5 = z11.object({
|
|
12468
12476
|
items: getTreeDataTypeRootResponse.shape.items
|
|
12469
12477
|
});
|
|
12470
12478
|
var GetAllDataTypesTool = {
|
|
@@ -12473,7 +12481,7 @@ var GetAllDataTypesTool = {
|
|
|
12473
12481
|
This is the preferred approach when you need to understand the full folder structure.
|
|
12474
12482
|
For large sites, this may take a while to complete. For smaller sites its more efficient than fetching all data types by folder.`,
|
|
12475
12483
|
inputSchema: {},
|
|
12476
|
-
outputSchema:
|
|
12484
|
+
outputSchema: outputSchema5.shape,
|
|
12477
12485
|
annotations: {
|
|
12478
12486
|
readOnlyHint: true
|
|
12479
12487
|
},
|
|
@@ -12664,20 +12672,20 @@ var GetDictionaryItemTool = {
|
|
|
12664
12672
|
var get_dictionary_item_default = withStandardDecorators26(GetDictionaryItemTool);
|
|
12665
12673
|
|
|
12666
12674
|
// src/umb-management-api/tools/dictionary/get/get-dictionary-by-id-array.ts
|
|
12667
|
-
import { z as
|
|
12675
|
+
import { z as z12 } from "zod";
|
|
12668
12676
|
import {
|
|
12669
12677
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE22,
|
|
12670
12678
|
executeGetItemsApiCall as executeGetItemsApiCall3,
|
|
12671
12679
|
withStandardDecorators as withStandardDecorators27
|
|
12672
12680
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
12673
|
-
var
|
|
12681
|
+
var outputSchema6 = z12.object({
|
|
12674
12682
|
items: getItemDictionaryResponse
|
|
12675
12683
|
});
|
|
12676
12684
|
var GetDictionaryByIdArrayTool = {
|
|
12677
12685
|
name: "get-dictionary-by-id-array",
|
|
12678
12686
|
description: "Gets dictionary items by IDs (or empty array if no IDs are provided)",
|
|
12679
12687
|
inputSchema: getItemDictionaryQueryParams.shape,
|
|
12680
|
-
outputSchema:
|
|
12688
|
+
outputSchema: outputSchema6.shape,
|
|
12681
12689
|
annotations: { readOnlyHint: true },
|
|
12682
12690
|
slices: ["list"],
|
|
12683
12691
|
handler: (async (params) => {
|
|
@@ -12689,24 +12697,24 @@ var GetDictionaryByIdArrayTool = {
|
|
|
12689
12697
|
var get_dictionary_by_id_array_default = withStandardDecorators27(GetDictionaryByIdArrayTool);
|
|
12690
12698
|
|
|
12691
12699
|
// src/umb-management-api/tools/dictionary/post/create-dictionary-item.ts
|
|
12692
|
-
import { z as
|
|
12700
|
+
import { z as z13 } from "zod";
|
|
12693
12701
|
import {
|
|
12694
12702
|
createToolResult as createToolResult6,
|
|
12695
12703
|
createToolResultError as createToolResultError4,
|
|
12696
12704
|
withStandardDecorators as withStandardDecorators28
|
|
12697
12705
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
12698
|
-
var createDictionarySchema =
|
|
12699
|
-
name:
|
|
12700
|
-
parentId:
|
|
12701
|
-
translations:
|
|
12702
|
-
isoCode:
|
|
12703
|
-
translation:
|
|
12706
|
+
var createDictionarySchema = z13.object({
|
|
12707
|
+
name: z13.string().min(1, "Name is required"),
|
|
12708
|
+
parentId: z13.string().uuid().optional(),
|
|
12709
|
+
translations: z13.array(z13.object({
|
|
12710
|
+
isoCode: z13.string().min(1, "ISO code is required"),
|
|
12711
|
+
translation: z13.string()
|
|
12704
12712
|
})),
|
|
12705
|
-
id:
|
|
12713
|
+
id: z13.string().uuid().nullish()
|
|
12706
12714
|
});
|
|
12707
|
-
var createDictionaryOutputSchema =
|
|
12708
|
-
message:
|
|
12709
|
-
id:
|
|
12715
|
+
var createDictionaryOutputSchema = z13.object({
|
|
12716
|
+
message: z13.string(),
|
|
12717
|
+
id: z13.string().guid()
|
|
12710
12718
|
});
|
|
12711
12719
|
var CreateDictionaryItemTool = {
|
|
12712
12720
|
name: "create-dictionary",
|
|
@@ -12751,7 +12759,7 @@ var CreateDictionaryItemTool = {
|
|
|
12751
12759
|
var create_dictionary_item_default = withStandardDecorators28(CreateDictionaryItemTool);
|
|
12752
12760
|
|
|
12753
12761
|
// src/umb-management-api/tools/dictionary/put/update-dictionary-item.ts
|
|
12754
|
-
import { z as
|
|
12762
|
+
import { z as z14 } from "zod";
|
|
12755
12763
|
import {
|
|
12756
12764
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE23,
|
|
12757
12765
|
executeVoidApiCall as executeVoidApiCall8,
|
|
@@ -12759,7 +12767,7 @@ import {
|
|
|
12759
12767
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
12760
12768
|
var updateDictionaryItemSchema = {
|
|
12761
12769
|
id: putDictionaryByIdParams.shape.id,
|
|
12762
|
-
data:
|
|
12770
|
+
data: z14.object(putDictionaryByIdBody.shape)
|
|
12763
12771
|
};
|
|
12764
12772
|
var UpdateDictionaryItemTool = {
|
|
12765
12773
|
name: "update-dictionary-item",
|
|
@@ -12778,7 +12786,7 @@ var UpdateDictionaryItemTool = {
|
|
|
12778
12786
|
var update_dictionary_item_default = withStandardDecorators29(UpdateDictionaryItemTool);
|
|
12779
12787
|
|
|
12780
12788
|
// src/umb-management-api/tools/dictionary/put/move-dictionary-item.ts
|
|
12781
|
-
import { z as
|
|
12789
|
+
import { z as z15 } from "zod";
|
|
12782
12790
|
import {
|
|
12783
12791
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE24,
|
|
12784
12792
|
executeVoidApiCall as executeVoidApiCall9,
|
|
@@ -12786,7 +12794,7 @@ import {
|
|
|
12786
12794
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
12787
12795
|
var moveDictionaryItemSchema = {
|
|
12788
12796
|
id: putDictionaryByIdMoveParams.shape.id,
|
|
12789
|
-
data:
|
|
12797
|
+
data: z15.object(putDictionaryByIdMoveBody.shape)
|
|
12790
12798
|
};
|
|
12791
12799
|
var MoveDictionaryItemTool = {
|
|
12792
12800
|
name: "move-dictionary-item",
|
|
@@ -12847,20 +12855,20 @@ var GetDictionaryChildrenTool = {
|
|
|
12847
12855
|
var get_children_default2 = withStandardDecorators32(GetDictionaryChildrenTool);
|
|
12848
12856
|
|
|
12849
12857
|
// src/umb-management-api/tools/dictionary/items/get/get-ancestors.ts
|
|
12850
|
-
import { z as
|
|
12858
|
+
import { z as z16 } from "zod";
|
|
12851
12859
|
import {
|
|
12852
12860
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE27,
|
|
12853
12861
|
executeGetItemsApiCall as executeGetItemsApiCall4,
|
|
12854
12862
|
withStandardDecorators as withStandardDecorators33
|
|
12855
12863
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
12856
|
-
var
|
|
12864
|
+
var outputSchema7 = z16.object({
|
|
12857
12865
|
items: getTreeDictionaryAncestorsResponse
|
|
12858
12866
|
});
|
|
12859
12867
|
var GetDictionaryAncestorsTool = {
|
|
12860
12868
|
name: "get-dictionary-ancestors",
|
|
12861
12869
|
description: "Gets the ancestors of a dictionary item by Id",
|
|
12862
12870
|
inputSchema: getTreeDictionaryAncestorsQueryParams.shape,
|
|
12863
|
-
outputSchema:
|
|
12871
|
+
outputSchema: outputSchema7.shape,
|
|
12864
12872
|
annotations: { readOnlyHint: true },
|
|
12865
12873
|
slices: ["tree"],
|
|
12866
12874
|
handler: (async (params) => {
|
|
@@ -12943,15 +12951,15 @@ var DeleteDocumentBlueprintTool = {
|
|
|
12943
12951
|
var delete_blueprint_default = withStandardDecorators35(DeleteDocumentBlueprintTool);
|
|
12944
12952
|
|
|
12945
12953
|
// src/umb-management-api/tools/document-blueprint/put/update-blueprint.ts
|
|
12946
|
-
import { z as
|
|
12954
|
+
import { z as z17 } from "zod";
|
|
12947
12955
|
import {
|
|
12948
12956
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE30,
|
|
12949
12957
|
executeVoidApiCall as executeVoidApiCall11,
|
|
12950
12958
|
withStandardDecorators as withStandardDecorators36
|
|
12951
12959
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
12952
|
-
var updateDocumentBlueprintSchema =
|
|
12960
|
+
var updateDocumentBlueprintSchema = z17.object({
|
|
12953
12961
|
id: putDocumentBlueprintByIdParams.shape.id,
|
|
12954
|
-
data:
|
|
12962
|
+
data: z17.object(putDocumentBlueprintByIdBody.shape)
|
|
12955
12963
|
});
|
|
12956
12964
|
var UpdateDocumentBlueprintTool = {
|
|
12957
12965
|
name: "update-document-blueprint",
|
|
@@ -12968,29 +12976,29 @@ var UpdateDocumentBlueprintTool = {
|
|
|
12968
12976
|
var update_blueprint_default = withStandardDecorators36(UpdateDocumentBlueprintTool);
|
|
12969
12977
|
|
|
12970
12978
|
// src/umb-management-api/tools/document-blueprint/post/create-blueprint.ts
|
|
12971
|
-
import { z as
|
|
12979
|
+
import { z as z18 } from "zod";
|
|
12972
12980
|
import {
|
|
12973
12981
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE31,
|
|
12974
12982
|
executeVoidApiCall as executeVoidApiCall12,
|
|
12975
12983
|
withStandardDecorators as withStandardDecorators37
|
|
12976
12984
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
12977
|
-
var createDocumentBlueprintSchema =
|
|
12978
|
-
values:
|
|
12979
|
-
culture:
|
|
12980
|
-
segment:
|
|
12981
|
-
alias:
|
|
12982
|
-
value:
|
|
12985
|
+
var createDocumentBlueprintSchema = z18.object({
|
|
12986
|
+
values: z18.array(z18.object({
|
|
12987
|
+
culture: z18.string().nullish(),
|
|
12988
|
+
segment: z18.string().nullish(),
|
|
12989
|
+
alias: z18.string().min(1),
|
|
12990
|
+
value: z18.any().nullish()
|
|
12983
12991
|
})),
|
|
12984
|
-
variants:
|
|
12985
|
-
culture:
|
|
12986
|
-
segment:
|
|
12987
|
-
name:
|
|
12992
|
+
variants: z18.array(z18.object({
|
|
12993
|
+
culture: z18.string().nullish(),
|
|
12994
|
+
segment: z18.string().nullish(),
|
|
12995
|
+
name: z18.string().min(1)
|
|
12988
12996
|
})),
|
|
12989
|
-
documentType:
|
|
12990
|
-
id:
|
|
12997
|
+
documentType: z18.object({
|
|
12998
|
+
id: z18.string().uuid()
|
|
12991
12999
|
}),
|
|
12992
|
-
id:
|
|
12993
|
-
parentId:
|
|
13000
|
+
id: z18.string().uuid().nullish(),
|
|
13001
|
+
parentId: z18.string().uuid().optional()
|
|
12994
13002
|
// Flattened parent ID
|
|
12995
13003
|
});
|
|
12996
13004
|
var CreateDocumentBlueprintTool = {
|
|
@@ -13015,20 +13023,20 @@ var CreateDocumentBlueprintTool = {
|
|
|
13015
13023
|
var create_blueprint_default = withStandardDecorators37(CreateDocumentBlueprintTool);
|
|
13016
13024
|
|
|
13017
13025
|
// src/umb-management-api/tools/document-blueprint/get/get-ancestors.ts
|
|
13018
|
-
import { z as
|
|
13026
|
+
import { z as z19 } from "zod";
|
|
13019
13027
|
import {
|
|
13020
13028
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE32,
|
|
13021
13029
|
executeGetItemsApiCall as executeGetItemsApiCall5,
|
|
13022
13030
|
withStandardDecorators as withStandardDecorators38
|
|
13023
13031
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
13024
|
-
var
|
|
13032
|
+
var outputSchema8 = z19.object({
|
|
13025
13033
|
items: getTreeDocumentBlueprintAncestorsResponse
|
|
13026
13034
|
});
|
|
13027
13035
|
var GetDocumentBlueprintAncestorsTool = {
|
|
13028
13036
|
name: "get-document-blueprint-ancestors",
|
|
13029
13037
|
description: "Gets the ancestors of a document blueprint by Id",
|
|
13030
13038
|
inputSchema: getTreeDocumentBlueprintAncestorsQueryParams.shape,
|
|
13031
|
-
outputSchema:
|
|
13039
|
+
outputSchema: outputSchema8.shape,
|
|
13032
13040
|
annotations: { readOnlyHint: true },
|
|
13033
13041
|
slices: ["tree"],
|
|
13034
13042
|
handler: (async (params) => {
|
|
@@ -13125,18 +13133,18 @@ var GetDocumentBlueprintScaffoldTool = {
|
|
|
13125
13133
|
var get_document_blueprint_scaffold_default = withStandardDecorators42(GetDocumentBlueprintScaffoldTool);
|
|
13126
13134
|
|
|
13127
13135
|
// src/umb-management-api/tools/document-blueprint/post/create-document-blueprint-from-document.ts
|
|
13128
|
-
import { z as
|
|
13136
|
+
import { z as z20 } from "zod";
|
|
13129
13137
|
import {
|
|
13130
13138
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE37,
|
|
13131
13139
|
executeVoidApiCall as executeVoidApiCall13,
|
|
13132
13140
|
withStandardDecorators as withStandardDecorators43
|
|
13133
13141
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
13134
|
-
var createDocumentBlueprintFromDocumentSchema =
|
|
13135
|
-
document:
|
|
13136
|
-
id:
|
|
13142
|
+
var createDocumentBlueprintFromDocumentSchema = z20.object({
|
|
13143
|
+
document: z20.object({
|
|
13144
|
+
id: z20.string().uuid()
|
|
13137
13145
|
}),
|
|
13138
|
-
id:
|
|
13139
|
-
name:
|
|
13146
|
+
id: z20.string().uuid().optional(),
|
|
13147
|
+
name: z20.string()
|
|
13140
13148
|
});
|
|
13141
13149
|
var CreateDocumentBlueprintFromDocumentTool = {
|
|
13142
13150
|
name: "create-document-blueprint-from-document",
|
|
@@ -13162,20 +13170,20 @@ var CreateDocumentBlueprintFromDocumentTool = {
|
|
|
13162
13170
|
var create_document_blueprint_from_document_default = withStandardDecorators43(CreateDocumentBlueprintFromDocumentTool);
|
|
13163
13171
|
|
|
13164
13172
|
// src/umb-management-api/tools/document-blueprint/get/get-document-blueprint-by-id-array.ts
|
|
13165
|
-
import { z as
|
|
13173
|
+
import { z as z21 } from "zod";
|
|
13166
13174
|
import {
|
|
13167
13175
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE38,
|
|
13168
13176
|
executeGetItemsApiCall as executeGetItemsApiCall6,
|
|
13169
13177
|
withStandardDecorators as withStandardDecorators44
|
|
13170
13178
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
13171
|
-
var
|
|
13179
|
+
var outputSchema9 = z21.object({
|
|
13172
13180
|
items: getItemDocumentBlueprintResponse
|
|
13173
13181
|
});
|
|
13174
13182
|
var GetDocumentBlueprintByIdArrayTool = {
|
|
13175
13183
|
name: "get-document-blueprint-by-id-array",
|
|
13176
13184
|
description: "Gets document blueprints by IDs (or empty array if no IDs are provided)",
|
|
13177
13185
|
inputSchema: getItemDocumentBlueprintQueryParams.shape,
|
|
13178
|
-
outputSchema:
|
|
13186
|
+
outputSchema: outputSchema9.shape,
|
|
13179
13187
|
annotations: { readOnlyHint: true },
|
|
13180
13188
|
slices: ["list"],
|
|
13181
13189
|
handler: (async (params) => {
|
|
@@ -13187,15 +13195,15 @@ var GetDocumentBlueprintByIdArrayTool = {
|
|
|
13187
13195
|
var get_document_blueprint_by_id_array_default = withStandardDecorators44(GetDocumentBlueprintByIdArrayTool);
|
|
13188
13196
|
|
|
13189
13197
|
// src/umb-management-api/tools/document-blueprint/put/move-blueprint.ts
|
|
13190
|
-
import { z as
|
|
13198
|
+
import { z as z22 } from "zod";
|
|
13191
13199
|
import {
|
|
13192
13200
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE39,
|
|
13193
13201
|
executeVoidApiCall as executeVoidApiCall14,
|
|
13194
13202
|
withStandardDecorators as withStandardDecorators45
|
|
13195
13203
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
13196
|
-
var moveDocumentBlueprintSchema =
|
|
13204
|
+
var moveDocumentBlueprintSchema = z22.object({
|
|
13197
13205
|
id: putDocumentBlueprintByIdMoveParams.shape.id,
|
|
13198
|
-
data:
|
|
13206
|
+
data: z22.object(putDocumentBlueprintByIdMoveBody.shape)
|
|
13199
13207
|
});
|
|
13200
13208
|
var MoveDocumentBlueprintTool = {
|
|
13201
13209
|
name: "move-document-blueprint",
|
|
@@ -13256,15 +13264,15 @@ var GetDocumentBlueprintFolderTool = {
|
|
|
13256
13264
|
var get_folder_default2 = withStandardDecorators47(GetDocumentBlueprintFolderTool);
|
|
13257
13265
|
|
|
13258
13266
|
// src/umb-management-api/tools/document-blueprint/folders/put/update-folder.ts
|
|
13259
|
-
import { z as
|
|
13267
|
+
import { z as z23 } from "zod";
|
|
13260
13268
|
import {
|
|
13261
13269
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE42,
|
|
13262
13270
|
executeVoidApiCall as executeVoidApiCall16,
|
|
13263
13271
|
withStandardDecorators as withStandardDecorators48
|
|
13264
13272
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
13265
|
-
var updateDocumentBlueprintFolderSchema =
|
|
13273
|
+
var updateDocumentBlueprintFolderSchema = z23.object({
|
|
13266
13274
|
id: putDocumentBlueprintFolderByIdParams.shape.id,
|
|
13267
|
-
data:
|
|
13275
|
+
data: z23.object(putDocumentBlueprintFolderByIdBody.shape)
|
|
13268
13276
|
});
|
|
13269
13277
|
var UpdateDocumentBlueprintFolderTool = {
|
|
13270
13278
|
name: "update-document-blueprint-folder",
|
|
@@ -13492,20 +13500,20 @@ var GetDocumentDomainsTool = {
|
|
|
13492
13500
|
var get_document_domains_default = withStandardDecorators55(GetDocumentDomainsTool);
|
|
13493
13501
|
|
|
13494
13502
|
// src/umb-management-api/tools/document/get/get-document-notifications.ts
|
|
13495
|
-
import { z as
|
|
13503
|
+
import { z as z24 } from "zod";
|
|
13496
13504
|
import {
|
|
13497
13505
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE50,
|
|
13498
13506
|
executeGetItemsApiCall as executeGetItemsApiCall7,
|
|
13499
13507
|
withStandardDecorators as withStandardDecorators56
|
|
13500
13508
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
13501
|
-
var
|
|
13509
|
+
var outputSchema10 = z24.object({
|
|
13502
13510
|
items: getDocumentByIdNotificationsResponse
|
|
13503
13511
|
});
|
|
13504
13512
|
var GetDocumentNotificationsTool = {
|
|
13505
13513
|
name: "get-document-notifications",
|
|
13506
13514
|
description: "Gets the notifications for a document by Id.",
|
|
13507
13515
|
inputSchema: getDocumentByIdNotificationsParams.shape,
|
|
13508
|
-
outputSchema:
|
|
13516
|
+
outputSchema: outputSchema10.shape,
|
|
13509
13517
|
annotations: {
|
|
13510
13518
|
readOnlyHint: true
|
|
13511
13519
|
},
|
|
@@ -13543,7 +13551,6 @@ var GetDocumentPublicAccessTool = {
|
|
|
13543
13551
|
var get_document_public_access_default = withStandardDecorators57(GetDocumentPublicAccessTool);
|
|
13544
13552
|
|
|
13545
13553
|
// src/umb-management-api/tools/document/get/get-document-audit-log.ts
|
|
13546
|
-
import { z as z24 } from "zod";
|
|
13547
13554
|
import {
|
|
13548
13555
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE52,
|
|
13549
13556
|
executeGetApiCall as executeGetApiCall25,
|
|
@@ -13551,7 +13558,7 @@ import {
|
|
|
13551
13558
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
13552
13559
|
var inputSchema = {
|
|
13553
13560
|
id: getDocumentByIdAuditLogParams.shape.id,
|
|
13554
|
-
|
|
13561
|
+
...getDocumentByIdAuditLogQueryParams.shape
|
|
13555
13562
|
};
|
|
13556
13563
|
var GetDocumentAuditLogTool = {
|
|
13557
13564
|
name: "get-document-audit-log",
|
|
@@ -13564,8 +13571,9 @@ var GetDocumentAuditLogTool = {
|
|
|
13564
13571
|
slices: ["audit"],
|
|
13565
13572
|
enabled: (user) => user.fallbackPermissions.includes(UmbracoDocumentPermissions.Read),
|
|
13566
13573
|
handler: (async (model) => {
|
|
13574
|
+
const { id, ...queryParams } = model;
|
|
13567
13575
|
return executeGetApiCall25(
|
|
13568
|
-
(client) => client.getDocumentByIdAuditLog(
|
|
13576
|
+
(client) => client.getDocumentByIdAuditLog(id, queryParams, CAPTURE_RAW_HTTP_RESPONSE52)
|
|
13569
13577
|
);
|
|
13570
13578
|
})
|
|
13571
13579
|
};
|
|
@@ -13625,14 +13633,14 @@ import {
|
|
|
13625
13633
|
executeGetItemsApiCall as executeGetItemsApiCall8,
|
|
13626
13634
|
withStandardDecorators as withStandardDecorators61
|
|
13627
13635
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
13628
|
-
var
|
|
13636
|
+
var outputSchema11 = z25.object({
|
|
13629
13637
|
items: getDocumentUrlsResponse
|
|
13630
13638
|
});
|
|
13631
13639
|
var GetDocumentUrlsTool = {
|
|
13632
13640
|
name: "get-document-urls",
|
|
13633
13641
|
description: "Gets the URLs for a document.",
|
|
13634
13642
|
inputSchema: getDocumentUrlsQueryParams.shape,
|
|
13635
|
-
outputSchema:
|
|
13643
|
+
outputSchema: outputSchema11.shape,
|
|
13636
13644
|
annotations: {
|
|
13637
13645
|
readOnlyHint: true
|
|
13638
13646
|
},
|
|
@@ -14214,14 +14222,14 @@ import {
|
|
|
14214
14222
|
executeGetItemsApiCall as executeGetItemsApiCall9,
|
|
14215
14223
|
withStandardDecorators as withStandardDecorators65
|
|
14216
14224
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
14217
|
-
var
|
|
14225
|
+
var outputSchema12 = z28.object({
|
|
14218
14226
|
items: getItemDocumentResponse
|
|
14219
14227
|
});
|
|
14220
14228
|
var GetItemDocumentTool = {
|
|
14221
14229
|
name: "get-item-document",
|
|
14222
14230
|
description: "Gets document items by their ids",
|
|
14223
14231
|
inputSchema: getItemDocumentQueryParams.shape,
|
|
14224
|
-
outputSchema:
|
|
14232
|
+
outputSchema: outputSchema12.shape,
|
|
14225
14233
|
annotations: {
|
|
14226
14234
|
readOnlyHint: true
|
|
14227
14235
|
},
|
|
@@ -15858,14 +15866,14 @@ import {
|
|
|
15858
15866
|
executeGetItemsApiCall as executeGetItemsApiCall10,
|
|
15859
15867
|
withStandardDecorators as withStandardDecorators92
|
|
15860
15868
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
15861
|
-
var
|
|
15869
|
+
var outputSchema13 = z45.object({
|
|
15862
15870
|
items: getTreeDocumentAncestorsResponse
|
|
15863
15871
|
});
|
|
15864
15872
|
var GetDocumentAncestorsTool = {
|
|
15865
15873
|
name: "get-document-ancestors",
|
|
15866
15874
|
description: "Gets ancestor items for a document.",
|
|
15867
15875
|
inputSchema: getTreeDocumentAncestorsQueryParams.shape,
|
|
15868
|
-
outputSchema:
|
|
15876
|
+
outputSchema: outputSchema13.shape,
|
|
15869
15877
|
annotations: {
|
|
15870
15878
|
readOnlyHint: true
|
|
15871
15879
|
},
|
|
@@ -16420,14 +16428,14 @@ import {
|
|
|
16420
16428
|
executeGetItemsApiCall as executeGetItemsApiCall11,
|
|
16421
16429
|
withStandardDecorators as withStandardDecorators105
|
|
16422
16430
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
16423
|
-
var
|
|
16431
|
+
var outputSchema14 = z51.object({
|
|
16424
16432
|
items: getTreeDocumentTypeAncestorsResponse
|
|
16425
16433
|
});
|
|
16426
16434
|
var GetDocumentTypeAncestorsTool = {
|
|
16427
16435
|
name: "get-document-type-ancestors",
|
|
16428
16436
|
description: "Gets the ancestors of a document type",
|
|
16429
16437
|
inputSchema: getTreeDocumentTypeAncestorsQueryParams.shape,
|
|
16430
|
-
outputSchema:
|
|
16438
|
+
outputSchema: outputSchema14.shape,
|
|
16431
16439
|
annotations: { readOnlyHint: true },
|
|
16432
16440
|
slices: ["tree"],
|
|
16433
16441
|
handler: (async (params) => {
|
|
@@ -16578,14 +16586,14 @@ import {
|
|
|
16578
16586
|
executeGetItemsApiCall as executeGetItemsApiCall12,
|
|
16579
16587
|
withStandardDecorators as withStandardDecorators112
|
|
16580
16588
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
16581
|
-
var
|
|
16589
|
+
var outputSchema15 = z53.object({
|
|
16582
16590
|
items: getDocumentTypeByIdCompositionReferencesResponse
|
|
16583
16591
|
});
|
|
16584
16592
|
var GetDocumentTypeCompositionReferencesTool = {
|
|
16585
16593
|
name: "get-document-type-composition-references",
|
|
16586
16594
|
description: "Gets the composition references for a document type",
|
|
16587
16595
|
inputSchema: getDocumentTypeByIdCompositionReferencesParams.shape,
|
|
16588
|
-
outputSchema:
|
|
16596
|
+
outputSchema: outputSchema15.shape,
|
|
16589
16597
|
annotations: { readOnlyHint: true },
|
|
16590
16598
|
slices: ["references"],
|
|
16591
16599
|
handler: (async ({ id }) => {
|
|
@@ -16603,14 +16611,14 @@ import {
|
|
|
16603
16611
|
executeGetItemsApiCall as executeGetItemsApiCall13,
|
|
16604
16612
|
withStandardDecorators as withStandardDecorators113
|
|
16605
16613
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
16606
|
-
var
|
|
16614
|
+
var outputSchema16 = z54.object({
|
|
16607
16615
|
items: postDocumentTypeAvailableCompositionsResponse
|
|
16608
16616
|
});
|
|
16609
16617
|
var GetDocumentTypeAvailableCompositionsTool = {
|
|
16610
16618
|
name: "get-document-type-available-compositions",
|
|
16611
16619
|
description: "Gets the available compositions for a document type",
|
|
16612
16620
|
inputSchema: postDocumentTypeAvailableCompositionsBody.shape,
|
|
16613
|
-
outputSchema:
|
|
16621
|
+
outputSchema: outputSchema16.shape,
|
|
16614
16622
|
annotations: { readOnlyHint: true },
|
|
16615
16623
|
slices: ["read"],
|
|
16616
16624
|
handler: (async (model) => {
|
|
@@ -16676,14 +16684,14 @@ import {
|
|
|
16676
16684
|
executeGetItemsApiCall as executeGetItemsApiCall14,
|
|
16677
16685
|
withStandardDecorators as withStandardDecorators116
|
|
16678
16686
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
16679
|
-
var
|
|
16687
|
+
var outputSchema17 = z55.object({
|
|
16680
16688
|
items: getItemDocumentTypeResponse
|
|
16681
16689
|
});
|
|
16682
16690
|
var GetDocumentTypesByIdArrayTool = {
|
|
16683
16691
|
name: "get-document-types-by-id-array",
|
|
16684
16692
|
description: "Gets document types by IDs (or empty array if no IDs are provided)",
|
|
16685
16693
|
inputSchema: getItemDocumentTypeQueryParams.shape,
|
|
16686
|
-
outputSchema:
|
|
16694
|
+
outputSchema: outputSchema17.shape,
|
|
16687
16695
|
annotations: { readOnlyHint: true },
|
|
16688
16696
|
slices: ["list"],
|
|
16689
16697
|
handler: (async (params) => {
|
|
@@ -17364,7 +17372,7 @@ import {
|
|
|
17364
17372
|
createToolResult as createToolResult15,
|
|
17365
17373
|
withStandardDecorators as withStandardDecorators119
|
|
17366
17374
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
17367
|
-
var
|
|
17375
|
+
var outputSchema18 = z58.object({
|
|
17368
17376
|
items: getTreeDocumentTypeRootResponse.shape.items
|
|
17369
17377
|
});
|
|
17370
17378
|
var GetAllDocumentTypesTool = {
|
|
@@ -17373,7 +17381,7 @@ var GetAllDocumentTypesTool = {
|
|
|
17373
17381
|
This is the preferred approach when you need to understand the full folder structure.
|
|
17374
17382
|
For large sites, this may take a while to complete. For smaller sites its more efficient than fetching all documents by folder.`,
|
|
17375
17383
|
inputSchema: {},
|
|
17376
|
-
outputSchema:
|
|
17384
|
+
outputSchema: outputSchema18.shape,
|
|
17377
17385
|
annotations: { readOnlyHint: true },
|
|
17378
17386
|
slices: ["list"],
|
|
17379
17387
|
handler: (async () => {
|
|
@@ -17677,7 +17685,7 @@ import {
|
|
|
17677
17685
|
executeGetItemsApiCall as executeGetItemsApiCall15,
|
|
17678
17686
|
withStandardDecorators as withStandardDecorators128
|
|
17679
17687
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
17680
|
-
var
|
|
17688
|
+
var outputSchema19 = z59.object({
|
|
17681
17689
|
items: getImagingResizeUrlsResponse
|
|
17682
17690
|
});
|
|
17683
17691
|
var GetImagingResizeUrlsTool = {
|
|
@@ -17694,7 +17702,7 @@ var GetImagingResizeUrlsTool = {
|
|
|
17694
17702
|
- width: Target width in pixels (default: 200)
|
|
17695
17703
|
- mode: Resize mode (Crop, Max, Stretch, Pad, BoxPad, Min)`,
|
|
17696
17704
|
inputSchema: getImagingResizeUrlsQueryParams.shape,
|
|
17697
|
-
outputSchema:
|
|
17705
|
+
outputSchema: outputSchema19.shape,
|
|
17698
17706
|
annotations: {
|
|
17699
17707
|
readOnlyHint: true
|
|
17700
17708
|
},
|
|
@@ -17821,14 +17829,14 @@ import {
|
|
|
17821
17829
|
executeGetItemsApiCall as executeGetItemsApiCall16,
|
|
17822
17830
|
withStandardDecorators as withStandardDecorators132
|
|
17823
17831
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
17824
|
-
var
|
|
17832
|
+
var outputSchema20 = z60.object({
|
|
17825
17833
|
items: getItemLanguageResponse
|
|
17826
17834
|
});
|
|
17827
17835
|
var GetLanguageItemsTool = {
|
|
17828
17836
|
name: "get-language-items",
|
|
17829
17837
|
description: "Gets language items (optionally filtered by isoCode)",
|
|
17830
17838
|
inputSchema: getItemLanguageQueryParams.shape,
|
|
17831
|
-
outputSchema:
|
|
17839
|
+
outputSchema: outputSchema20.shape,
|
|
17832
17840
|
annotations: {
|
|
17833
17841
|
readOnlyHint: true
|
|
17834
17842
|
},
|
|
@@ -18035,6 +18043,7 @@ var GetLogViewerLogTool = {
|
|
|
18035
18043
|
annotations: {
|
|
18036
18044
|
readOnlyHint: true
|
|
18037
18045
|
},
|
|
18046
|
+
pageSize: 50,
|
|
18038
18047
|
slices: ["diagnostics"],
|
|
18039
18048
|
handler: (async (model) => {
|
|
18040
18049
|
return executeGetApiCall61(
|
|
@@ -18058,6 +18067,7 @@ var GetLogViewerLevelTool = {
|
|
|
18058
18067
|
annotations: {
|
|
18059
18068
|
readOnlyHint: true
|
|
18060
18069
|
},
|
|
18070
|
+
pageSize: 50,
|
|
18061
18071
|
slices: ["diagnostics"],
|
|
18062
18072
|
handler: (async (model) => {
|
|
18063
18073
|
return executeGetApiCall62(
|
|
@@ -18081,6 +18091,7 @@ var GetLogViewerSavedSearchTool = {
|
|
|
18081
18091
|
annotations: {
|
|
18082
18092
|
readOnlyHint: true
|
|
18083
18093
|
},
|
|
18094
|
+
pageSize: 50,
|
|
18084
18095
|
slices: ["diagnostics"],
|
|
18085
18096
|
handler: (async (model) => {
|
|
18086
18097
|
return executeGetApiCall63(
|
|
@@ -18126,6 +18137,7 @@ var GetLogViewerMessageTemplateTool = {
|
|
|
18126
18137
|
annotations: {
|
|
18127
18138
|
readOnlyHint: true
|
|
18128
18139
|
},
|
|
18140
|
+
pageSize: 50,
|
|
18129
18141
|
slices: ["diagnostics"],
|
|
18130
18142
|
handler: (async (model) => {
|
|
18131
18143
|
return executeGetApiCall64(
|
|
@@ -18254,14 +18266,14 @@ import {
|
|
|
18254
18266
|
executeGetItemsApiCall as executeGetItemsApiCall17,
|
|
18255
18267
|
withStandardDecorators as withStandardDecorators148
|
|
18256
18268
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
18257
|
-
var
|
|
18269
|
+
var outputSchema21 = z63.object({
|
|
18258
18270
|
items: getManifestManifestResponse
|
|
18259
18271
|
});
|
|
18260
18272
|
var GetManifestManifestTool = {
|
|
18261
18273
|
name: "get-manifest-manifest",
|
|
18262
18274
|
description: "Gets all manifests (both public and private) from the Umbraco installation. Each manifest contains an extensions property showing what the package exposes to Umbraco. Use to see which packages are installed, troubleshoot package issues, or list available extensions.",
|
|
18263
18275
|
inputSchema: {},
|
|
18264
|
-
outputSchema:
|
|
18276
|
+
outputSchema: outputSchema21.shape,
|
|
18265
18277
|
annotations: {
|
|
18266
18278
|
readOnlyHint: true
|
|
18267
18279
|
},
|
|
@@ -18281,14 +18293,14 @@ import {
|
|
|
18281
18293
|
executeGetItemsApiCall as executeGetItemsApiCall18,
|
|
18282
18294
|
withStandardDecorators as withStandardDecorators149
|
|
18283
18295
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
18284
|
-
var
|
|
18296
|
+
var outputSchema22 = z64.object({
|
|
18285
18297
|
items: getManifestManifestPrivateResponse
|
|
18286
18298
|
});
|
|
18287
18299
|
var GetManifestManifestPrivateTool = {
|
|
18288
18300
|
name: "get-manifest-manifest-private",
|
|
18289
18301
|
description: "Gets private manifests from the Umbraco installation. Private manifests require authentication and contain administrative/sensitive extensions.",
|
|
18290
18302
|
inputSchema: {},
|
|
18291
|
-
outputSchema:
|
|
18303
|
+
outputSchema: outputSchema22.shape,
|
|
18292
18304
|
annotations: {
|
|
18293
18305
|
readOnlyHint: true
|
|
18294
18306
|
},
|
|
@@ -18308,14 +18320,14 @@ import {
|
|
|
18308
18320
|
executeGetItemsApiCall as executeGetItemsApiCall19,
|
|
18309
18321
|
withStandardDecorators as withStandardDecorators150
|
|
18310
18322
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
18311
|
-
var
|
|
18323
|
+
var outputSchema23 = z65.object({
|
|
18312
18324
|
items: getManifestManifestPublicResponse
|
|
18313
18325
|
});
|
|
18314
18326
|
var GetManifestManifestPublicTool = {
|
|
18315
18327
|
name: "get-manifest-manifest-public",
|
|
18316
18328
|
description: "Gets public manifests from the Umbraco installation. Public manifests can be accessed without authentication and contain public-facing extensions.",
|
|
18317
18329
|
inputSchema: {},
|
|
18318
|
-
outputSchema:
|
|
18330
|
+
outputSchema: outputSchema23.shape,
|
|
18319
18331
|
annotations: {
|
|
18320
18332
|
readOnlyHint: true
|
|
18321
18333
|
},
|
|
@@ -18965,14 +18977,14 @@ import {
|
|
|
18965
18977
|
executeGetItemsApiCall as executeGetItemsApiCall20,
|
|
18966
18978
|
withStandardDecorators as withStandardDecorators158
|
|
18967
18979
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
18968
|
-
var
|
|
18980
|
+
var outputSchema24 = z70.object({
|
|
18969
18981
|
items: getMediaUrlsResponse
|
|
18970
18982
|
});
|
|
18971
18983
|
var GetMediaUrlsTool = {
|
|
18972
18984
|
name: "get-media-urls",
|
|
18973
18985
|
description: "Gets the URLs for a media item.",
|
|
18974
18986
|
inputSchema: getMediaUrlsQueryParams.shape,
|
|
18975
|
-
outputSchema:
|
|
18987
|
+
outputSchema: outputSchema24.shape,
|
|
18976
18988
|
annotations: { readOnlyHint: true },
|
|
18977
18989
|
slices: ["read"],
|
|
18978
18990
|
handler: (async (params) => {
|
|
@@ -19057,14 +19069,14 @@ import {
|
|
|
19057
19069
|
executeGetItemsApiCall as executeGetItemsApiCall21,
|
|
19058
19070
|
withStandardDecorators as withStandardDecorators162
|
|
19059
19071
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
19060
|
-
var
|
|
19072
|
+
var outputSchema25 = z72.object({
|
|
19061
19073
|
items: getItemMediaResponse
|
|
19062
19074
|
});
|
|
19063
19075
|
var GetMediaByIdArrayTool = {
|
|
19064
19076
|
name: "get-media-by-id-array",
|
|
19065
19077
|
description: "Gets media items by an array of IDs",
|
|
19066
19078
|
inputSchema: getItemMediaQueryParams.shape,
|
|
19067
|
-
outputSchema:
|
|
19079
|
+
outputSchema: outputSchema25.shape,
|
|
19068
19080
|
annotations: { readOnlyHint: true },
|
|
19069
19081
|
slices: ["read"],
|
|
19070
19082
|
handler: (async (params) => {
|
|
@@ -19109,14 +19121,14 @@ import {
|
|
|
19109
19121
|
executeGetItemsApiCall as executeGetItemsApiCall22,
|
|
19110
19122
|
withStandardDecorators as withStandardDecorators164
|
|
19111
19123
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
19112
|
-
var
|
|
19124
|
+
var outputSchema26 = z74.object({
|
|
19113
19125
|
items: getTreeMediaAncestorsResponse
|
|
19114
19126
|
});
|
|
19115
19127
|
var GetMediaAncestorsTool = {
|
|
19116
19128
|
name: "get-media-ancestors",
|
|
19117
19129
|
description: "Gets ancestor items for a media.",
|
|
19118
19130
|
inputSchema: getTreeMediaAncestorsQueryParams.shape,
|
|
19119
|
-
outputSchema:
|
|
19131
|
+
outputSchema: outputSchema26.shape,
|
|
19120
19132
|
annotations: { readOnlyHint: true },
|
|
19121
19133
|
slices: ["tree"],
|
|
19122
19134
|
handler: (async (params) => {
|
|
@@ -19191,7 +19203,6 @@ var GetMediaRootTool = {
|
|
|
19191
19203
|
var get_root_default6 = withStandardDecorators167(GetMediaRootTool);
|
|
19192
19204
|
|
|
19193
19205
|
// src/umb-management-api/tools/media/get/get-media-audit-log.ts
|
|
19194
|
-
import { z as z75 } from "zod";
|
|
19195
19206
|
import {
|
|
19196
19207
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE151,
|
|
19197
19208
|
executeGetApiCall as executeGetApiCall72,
|
|
@@ -19199,7 +19210,7 @@ import {
|
|
|
19199
19210
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
19200
19211
|
var inputSchema19 = {
|
|
19201
19212
|
id: getMediaByIdAuditLogParams.shape.id,
|
|
19202
|
-
|
|
19213
|
+
...getMediaByIdAuditLogQueryParams.shape
|
|
19203
19214
|
};
|
|
19204
19215
|
var GetMediaAuditLogTool = {
|
|
19205
19216
|
name: "get-media-audit-log",
|
|
@@ -19209,8 +19220,9 @@ var GetMediaAuditLogTool = {
|
|
|
19209
19220
|
annotations: { readOnlyHint: true },
|
|
19210
19221
|
slices: ["audit"],
|
|
19211
19222
|
handler: (async (model) => {
|
|
19223
|
+
const { id, ...queryParams } = model;
|
|
19212
19224
|
return executeGetApiCall72(
|
|
19213
|
-
(client) => client.getMediaByIdAuditLog(
|
|
19225
|
+
(client) => client.getMediaByIdAuditLog(id, queryParams, CAPTURE_RAW_HTTP_RESPONSE151)
|
|
19214
19226
|
);
|
|
19215
19227
|
})
|
|
19216
19228
|
};
|
|
@@ -19412,13 +19424,13 @@ var GetMediaAreReferencedTool = {
|
|
|
19412
19424
|
var get_media_are_referenced_default = withStandardDecorators177(GetMediaAreReferencedTool);
|
|
19413
19425
|
|
|
19414
19426
|
// src/umb-management-api/tools/media/get/get-media-by-id-referenced-by.ts
|
|
19415
|
-
import { z as
|
|
19427
|
+
import { z as z75 } from "zod";
|
|
19416
19428
|
import {
|
|
19417
19429
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE161,
|
|
19418
19430
|
executeGetApiCall as executeGetApiCall77,
|
|
19419
19431
|
withStandardDecorators as withStandardDecorators178
|
|
19420
19432
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
19421
|
-
var inputSchema20 =
|
|
19433
|
+
var inputSchema20 = z75.object({
|
|
19422
19434
|
...getMediaByIdReferencedByParams.shape,
|
|
19423
19435
|
...getMediaByIdReferencedByQueryParams.shape
|
|
19424
19436
|
}).shape;
|
|
@@ -19439,13 +19451,13 @@ var GetMediaByIdReferencedByTool = {
|
|
|
19439
19451
|
var get_media_by_id_referenced_by_default = withStandardDecorators178(GetMediaByIdReferencedByTool);
|
|
19440
19452
|
|
|
19441
19453
|
// src/umb-management-api/tools/media/get/get-media-by-id-referenced-descendants.ts
|
|
19442
|
-
import { z as
|
|
19454
|
+
import { z as z76 } from "zod";
|
|
19443
19455
|
import {
|
|
19444
19456
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE162,
|
|
19445
19457
|
executeGetApiCall as executeGetApiCall78,
|
|
19446
19458
|
withStandardDecorators as withStandardDecorators179
|
|
19447
19459
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
19448
|
-
var inputSchema21 =
|
|
19460
|
+
var inputSchema21 = z76.object({
|
|
19449
19461
|
...getMediaByIdReferencedDescendantsParams.shape,
|
|
19450
19462
|
...getMediaByIdReferencedDescendantsQueryParams.shape
|
|
19451
19463
|
}).shape;
|
|
@@ -19587,13 +19599,13 @@ var MediaCollection = {
|
|
|
19587
19599
|
};
|
|
19588
19600
|
|
|
19589
19601
|
// src/umb-management-api/tools/media-type/get/get-media-type-configuration.ts
|
|
19590
|
-
import { z as
|
|
19602
|
+
import { z as z77 } from "zod";
|
|
19591
19603
|
import {
|
|
19592
19604
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE166,
|
|
19593
19605
|
executeGetApiCall as executeGetApiCall82,
|
|
19594
19606
|
withStandardDecorators as withStandardDecorators183
|
|
19595
19607
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
19596
|
-
var emptySchema =
|
|
19608
|
+
var emptySchema = z77.object({});
|
|
19597
19609
|
var GetMediaTypeConfigurationTool = {
|
|
19598
19610
|
name: "get-media-type-configuration",
|
|
19599
19611
|
description: "Gets the configuration for media types",
|
|
@@ -19631,22 +19643,22 @@ var GetMediaTypeByIdTool = {
|
|
|
19631
19643
|
var get_media_type_by_id_default = withStandardDecorators184(GetMediaTypeByIdTool);
|
|
19632
19644
|
|
|
19633
19645
|
// src/umb-management-api/tools/media-type/get/get-media-type-by-ids.ts
|
|
19634
|
-
import { z as
|
|
19646
|
+
import { z as z78 } from "zod";
|
|
19635
19647
|
import {
|
|
19636
19648
|
createToolResult as createToolResult23,
|
|
19637
19649
|
withStandardDecorators as withStandardDecorators185
|
|
19638
19650
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
19639
|
-
var inputSchema22 =
|
|
19640
|
-
ids:
|
|
19651
|
+
var inputSchema22 = z78.object({
|
|
19652
|
+
ids: z78.array(z78.string())
|
|
19641
19653
|
});
|
|
19642
|
-
var
|
|
19643
|
-
items:
|
|
19654
|
+
var outputSchema27 = z78.object({
|
|
19655
|
+
items: z78.array(getMediaTypeByIdResponse)
|
|
19644
19656
|
});
|
|
19645
19657
|
var GetMediaTypeByIdsTool = {
|
|
19646
19658
|
name: "get-media-type-by-ids",
|
|
19647
19659
|
description: "Gets media types by ids",
|
|
19648
19660
|
inputSchema: inputSchema22.shape,
|
|
19649
|
-
outputSchema:
|
|
19661
|
+
outputSchema: outputSchema27.shape,
|
|
19650
19662
|
annotations: { readOnlyHint: true },
|
|
19651
19663
|
slices: ["list"],
|
|
19652
19664
|
handler: (async ({ ids }) => {
|
|
@@ -19660,20 +19672,20 @@ var GetMediaTypeByIdsTool = {
|
|
|
19660
19672
|
var get_media_type_by_ids_default = withStandardDecorators185(GetMediaTypeByIdsTool);
|
|
19661
19673
|
|
|
19662
19674
|
// src/umb-management-api/tools/media-type/get/get-item-media-type.ts
|
|
19663
|
-
import { z as
|
|
19675
|
+
import { z as z79 } from "zod";
|
|
19664
19676
|
import {
|
|
19665
19677
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE168,
|
|
19666
19678
|
executeGetItemsApiCall as executeGetItemsApiCall23,
|
|
19667
19679
|
withStandardDecorators as withStandardDecorators186
|
|
19668
19680
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
19669
|
-
var
|
|
19681
|
+
var outputSchema28 = z79.object({
|
|
19670
19682
|
items: getItemMediaTypeResponse
|
|
19671
19683
|
});
|
|
19672
19684
|
var GetItemMediaTypeTool = {
|
|
19673
19685
|
name: "get-item-media-type",
|
|
19674
19686
|
description: "Gets media type items by their ids",
|
|
19675
19687
|
inputSchema: getItemMediaTypeQueryParams.shape,
|
|
19676
|
-
outputSchema:
|
|
19688
|
+
outputSchema: outputSchema28.shape,
|
|
19677
19689
|
annotations: { readOnlyHint: true },
|
|
19678
19690
|
slices: ["read"],
|
|
19679
19691
|
handler: (async (params) => {
|
|
@@ -19754,20 +19766,20 @@ var GetMediaTypeAllowedChildrenTool = {
|
|
|
19754
19766
|
var get_media_type_allowed_children_default = withStandardDecorators189(GetMediaTypeAllowedChildrenTool);
|
|
19755
19767
|
|
|
19756
19768
|
// src/umb-management-api/tools/media-type/get/get-media-type-composition-references.ts
|
|
19757
|
-
import { z as
|
|
19769
|
+
import { z as z80 } from "zod";
|
|
19758
19770
|
import {
|
|
19759
19771
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE172,
|
|
19760
19772
|
executeGetItemsApiCall as executeGetItemsApiCall24,
|
|
19761
19773
|
withStandardDecorators as withStandardDecorators190
|
|
19762
19774
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
19763
|
-
var
|
|
19775
|
+
var outputSchema29 = z80.object({
|
|
19764
19776
|
items: getMediaTypeByIdCompositionReferencesResponse
|
|
19765
19777
|
});
|
|
19766
19778
|
var GetMediaTypeCompositionReferencesTool = {
|
|
19767
19779
|
name: "get-media-type-composition-references",
|
|
19768
19780
|
description: "Gets the composition references for a media type",
|
|
19769
19781
|
inputSchema: getMediaTypeByIdCompositionReferencesParams.shape,
|
|
19770
|
-
outputSchema:
|
|
19782
|
+
outputSchema: outputSchema29.shape,
|
|
19771
19783
|
annotations: { readOnlyHint: true },
|
|
19772
19784
|
slices: ["read"],
|
|
19773
19785
|
handler: (async ({ id }) => {
|
|
@@ -19842,20 +19854,20 @@ var GetMediaTypeSiblingsTool = {
|
|
|
19842
19854
|
var get_siblings_default6 = withStandardDecorators193(GetMediaTypeSiblingsTool);
|
|
19843
19855
|
|
|
19844
19856
|
// src/umb-management-api/tools/media-type/items/get/get-ancestors.ts
|
|
19845
|
-
import { z as
|
|
19857
|
+
import { z as z81 } from "zod";
|
|
19846
19858
|
import {
|
|
19847
19859
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE176,
|
|
19848
19860
|
executeGetItemsApiCall as executeGetItemsApiCall25,
|
|
19849
19861
|
withStandardDecorators as withStandardDecorators194
|
|
19850
19862
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
19851
|
-
var
|
|
19863
|
+
var outputSchema30 = z81.object({
|
|
19852
19864
|
items: getTreeMediaTypeAncestorsResponse
|
|
19853
19865
|
});
|
|
19854
19866
|
var GetMediaTypeAncestorsTool = {
|
|
19855
19867
|
name: "get-media-type-ancestors",
|
|
19856
19868
|
description: "Gets the ancestors of a media type",
|
|
19857
19869
|
inputSchema: getTreeMediaTypeAncestorsQueryParams.shape,
|
|
19858
|
-
outputSchema:
|
|
19870
|
+
outputSchema: outputSchema30.shape,
|
|
19859
19871
|
annotations: { readOnlyHint: true },
|
|
19860
19872
|
slices: ["tree"],
|
|
19861
19873
|
handler: (async (params) => {
|
|
@@ -19909,15 +19921,15 @@ var GetMediaTypeFolderTool = {
|
|
|
19909
19921
|
var get_folder_default4 = withStandardDecorators196(GetMediaTypeFolderTool);
|
|
19910
19922
|
|
|
19911
19923
|
// src/umb-management-api/tools/media-type/folders/post/create-folder.ts
|
|
19912
|
-
import { z as
|
|
19924
|
+
import { z as z82 } from "zod";
|
|
19913
19925
|
import {
|
|
19914
19926
|
createToolResult as createToolResult24,
|
|
19915
19927
|
createToolResultError as createToolResultError14,
|
|
19916
19928
|
withStandardDecorators as withStandardDecorators197
|
|
19917
19929
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
19918
|
-
var createMediaTypeFolderOutputSchema =
|
|
19919
|
-
message:
|
|
19920
|
-
id:
|
|
19930
|
+
var createMediaTypeFolderOutputSchema = z82.object({
|
|
19931
|
+
message: z82.string(),
|
|
19932
|
+
id: z82.string().guid()
|
|
19921
19933
|
});
|
|
19922
19934
|
var CreateMediaTypeFolderTool = {
|
|
19923
19935
|
name: "create-media-type-folder",
|
|
@@ -19978,15 +19990,15 @@ var DeleteMediaTypeFolderTool = {
|
|
|
19978
19990
|
var delete_folder_default4 = withStandardDecorators198(DeleteMediaTypeFolderTool);
|
|
19979
19991
|
|
|
19980
19992
|
// src/umb-management-api/tools/media-type/folders/put/update-folder.ts
|
|
19981
|
-
import { z as
|
|
19993
|
+
import { z as z83 } from "zod";
|
|
19982
19994
|
import {
|
|
19983
19995
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE180,
|
|
19984
19996
|
executeVoidApiCall as executeVoidApiCall61,
|
|
19985
19997
|
withStandardDecorators as withStandardDecorators199
|
|
19986
19998
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
19987
|
-
var inputSchema24 =
|
|
19999
|
+
var inputSchema24 = z83.object({
|
|
19988
20000
|
id: putMediaTypeFolderByIdParams.shape.id,
|
|
19989
|
-
data:
|
|
20001
|
+
data: z83.object(putMediaTypeFolderByIdBody.shape)
|
|
19990
20002
|
});
|
|
19991
20003
|
var UpdateMediaTypeFolderTool = {
|
|
19992
20004
|
name: "update-media-type-folder",
|
|
@@ -20003,7 +20015,7 @@ var UpdateMediaTypeFolderTool = {
|
|
|
20003
20015
|
var update_folder_default4 = withStandardDecorators199(UpdateMediaTypeFolderTool);
|
|
20004
20016
|
|
|
20005
20017
|
// src/umb-management-api/tools/media-type/post/create-media-type.ts
|
|
20006
|
-
import { z as
|
|
20018
|
+
import { z as z84 } from "zod";
|
|
20007
20019
|
import {
|
|
20008
20020
|
createToolResult as createToolResult25,
|
|
20009
20021
|
createToolResultError as createToolResultError15,
|
|
@@ -20014,27 +20026,27 @@ var containerSchema = postMediaTypeBody.shape.containers;
|
|
|
20014
20026
|
var allowedMediaTypeSchema = postMediaTypeBody.shape.allowedMediaTypes;
|
|
20015
20027
|
var compositionSchema = postMediaTypeBody.shape.compositions;
|
|
20016
20028
|
var collectionSchema = postMediaTypeBody.shape.collection;
|
|
20017
|
-
var createMediaTypeSchema =
|
|
20018
|
-
alias:
|
|
20019
|
-
name:
|
|
20020
|
-
description:
|
|
20021
|
-
icon:
|
|
20022
|
-
allowedAsRoot:
|
|
20023
|
-
variesByCulture:
|
|
20024
|
-
variesBySegment:
|
|
20025
|
-
isElement:
|
|
20029
|
+
var createMediaTypeSchema = z84.object({
|
|
20030
|
+
alias: z84.string().min(1),
|
|
20031
|
+
name: z84.string().min(1),
|
|
20032
|
+
description: z84.string().nullish(),
|
|
20033
|
+
icon: z84.string().min(1),
|
|
20034
|
+
allowedAsRoot: z84.boolean(),
|
|
20035
|
+
variesByCulture: z84.boolean(),
|
|
20036
|
+
variesBySegment: z84.boolean(),
|
|
20037
|
+
isElement: z84.boolean(),
|
|
20026
20038
|
properties: propertySchema3,
|
|
20027
20039
|
containers: containerSchema,
|
|
20028
|
-
id:
|
|
20029
|
-
parentId:
|
|
20040
|
+
id: z84.string().uuid().nullish(),
|
|
20041
|
+
parentId: z84.string().uuid().optional(),
|
|
20030
20042
|
// Flattened parent ID
|
|
20031
20043
|
allowedMediaTypes: allowedMediaTypeSchema,
|
|
20032
20044
|
compositions: compositionSchema,
|
|
20033
20045
|
collection: collectionSchema
|
|
20034
20046
|
});
|
|
20035
|
-
var createMediaTypeOutputSchema =
|
|
20036
|
-
message:
|
|
20037
|
-
id:
|
|
20047
|
+
var createMediaTypeOutputSchema = z84.object({
|
|
20048
|
+
message: z84.string(),
|
|
20049
|
+
id: z84.string().guid()
|
|
20038
20050
|
});
|
|
20039
20051
|
var CreateMediaTypeTool = {
|
|
20040
20052
|
name: "create-media-type",
|
|
@@ -20090,19 +20102,19 @@ var CreateMediaTypeTool = {
|
|
|
20090
20102
|
var create_media_type_default = withStandardDecorators200(CreateMediaTypeTool);
|
|
20091
20103
|
|
|
20092
20104
|
// src/umb-management-api/tools/media-type/post/copy-media-type.ts
|
|
20093
|
-
import { z as
|
|
20105
|
+
import { z as z85 } from "zod";
|
|
20094
20106
|
import {
|
|
20095
20107
|
createToolResult as createToolResult26,
|
|
20096
20108
|
createToolResultError as createToolResultError16,
|
|
20097
20109
|
withStandardDecorators as withStandardDecorators201
|
|
20098
20110
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
20099
|
-
var inputSchema25 =
|
|
20100
|
-
id:
|
|
20101
|
-
data:
|
|
20111
|
+
var inputSchema25 = z85.object({
|
|
20112
|
+
id: z85.string().uuid(),
|
|
20113
|
+
data: z85.object(postMediaTypeByIdCopyBody.shape)
|
|
20102
20114
|
});
|
|
20103
|
-
var copyMediaTypeOutputSchema =
|
|
20104
|
-
message:
|
|
20105
|
-
id:
|
|
20115
|
+
var copyMediaTypeOutputSchema = z85.object({
|
|
20116
|
+
message: z85.string(),
|
|
20117
|
+
id: z85.string().guid()
|
|
20106
20118
|
});
|
|
20107
20119
|
var CopyMediaTypeTool = {
|
|
20108
20120
|
name: "copy-media-type",
|
|
@@ -20141,20 +20153,20 @@ var CopyMediaTypeTool = {
|
|
|
20141
20153
|
var copy_media_type_default = withStandardDecorators201(CopyMediaTypeTool);
|
|
20142
20154
|
|
|
20143
20155
|
// src/umb-management-api/tools/media-type/post/get-media-type-available-compositions.ts
|
|
20144
|
-
import { z as
|
|
20156
|
+
import { z as z86 } from "zod";
|
|
20145
20157
|
import {
|
|
20146
20158
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE181,
|
|
20147
20159
|
executeGetItemsApiCall as executeGetItemsApiCall26,
|
|
20148
20160
|
withStandardDecorators as withStandardDecorators202
|
|
20149
20161
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
20150
|
-
var
|
|
20162
|
+
var outputSchema31 = z86.object({
|
|
20151
20163
|
items: postMediaTypeAvailableCompositionsResponse
|
|
20152
20164
|
});
|
|
20153
20165
|
var GetMediaTypeAvailableCompositionsTool = {
|
|
20154
20166
|
name: "get-media-type-available-compositions",
|
|
20155
20167
|
description: "Gets the available compositions for a media type",
|
|
20156
20168
|
inputSchema: postMediaTypeAvailableCompositionsBody.shape,
|
|
20157
|
-
outputSchema:
|
|
20169
|
+
outputSchema: outputSchema31.shape,
|
|
20158
20170
|
annotations: { readOnlyHint: true },
|
|
20159
20171
|
slices: ["configuration"],
|
|
20160
20172
|
handler: (async (model) => {
|
|
@@ -20166,15 +20178,15 @@ var GetMediaTypeAvailableCompositionsTool = {
|
|
|
20166
20178
|
var get_media_type_available_compositions_default = withStandardDecorators202(GetMediaTypeAvailableCompositionsTool);
|
|
20167
20179
|
|
|
20168
20180
|
// src/umb-management-api/tools/media-type/put/update-media-type.ts
|
|
20169
|
-
import { z as
|
|
20181
|
+
import { z as z87 } from "zod";
|
|
20170
20182
|
import {
|
|
20171
20183
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE182,
|
|
20172
20184
|
executeVoidApiCall as executeVoidApiCall62,
|
|
20173
20185
|
withStandardDecorators as withStandardDecorators203
|
|
20174
20186
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
20175
|
-
var inputSchema26 =
|
|
20187
|
+
var inputSchema26 = z87.object({
|
|
20176
20188
|
id: putMediaTypeByIdParams.shape.id,
|
|
20177
|
-
data:
|
|
20189
|
+
data: z87.object(putMediaTypeByIdBody.shape)
|
|
20178
20190
|
});
|
|
20179
20191
|
var UpdateMediaTypeTool = {
|
|
20180
20192
|
name: "update-media-type",
|
|
@@ -20191,15 +20203,15 @@ var UpdateMediaTypeTool = {
|
|
|
20191
20203
|
var update_media_type_default = withStandardDecorators203(UpdateMediaTypeTool);
|
|
20192
20204
|
|
|
20193
20205
|
// src/umb-management-api/tools/media-type/put/move-media-type.ts
|
|
20194
|
-
import { z as
|
|
20206
|
+
import { z as z88 } from "zod";
|
|
20195
20207
|
import {
|
|
20196
20208
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE183,
|
|
20197
20209
|
executeVoidApiCall as executeVoidApiCall63,
|
|
20198
20210
|
withStandardDecorators as withStandardDecorators204
|
|
20199
20211
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
20200
|
-
var inputSchema27 =
|
|
20201
|
-
id:
|
|
20202
|
-
data:
|
|
20212
|
+
var inputSchema27 = z88.object({
|
|
20213
|
+
id: z88.string().uuid(),
|
|
20214
|
+
data: z88.object(putMediaTypeByIdMoveBody.shape)
|
|
20203
20215
|
});
|
|
20204
20216
|
var MoveMediaTypeTool = {
|
|
20205
20217
|
name: "move-media-type",
|
|
@@ -20300,15 +20312,15 @@ var GetMemberTool = {
|
|
|
20300
20312
|
var get_member_default = withStandardDecorators206(GetMemberTool);
|
|
20301
20313
|
|
|
20302
20314
|
// src/umb-management-api/tools/member/post/create-member.ts
|
|
20303
|
-
import { z as
|
|
20315
|
+
import { z as z89 } from "zod";
|
|
20304
20316
|
import {
|
|
20305
20317
|
createToolResult as createToolResult27,
|
|
20306
20318
|
createToolResultError as createToolResultError17,
|
|
20307
20319
|
withStandardDecorators as withStandardDecorators207
|
|
20308
20320
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
20309
|
-
var createMemberOutputSchema =
|
|
20310
|
-
message:
|
|
20311
|
-
id:
|
|
20321
|
+
var createMemberOutputSchema = z89.object({
|
|
20322
|
+
message: z89.string(),
|
|
20323
|
+
id: z89.string().guid()
|
|
20312
20324
|
});
|
|
20313
20325
|
var CreateMemberTool = {
|
|
20314
20326
|
name: "create-member",
|
|
@@ -20391,15 +20403,15 @@ var DeleteMemberTool = {
|
|
|
20391
20403
|
var delete_member_default = withStandardDecorators209(DeleteMemberTool);
|
|
20392
20404
|
|
|
20393
20405
|
// src/umb-management-api/tools/member/put/update-member.ts
|
|
20394
|
-
import { z as
|
|
20406
|
+
import { z as z90 } from "zod";
|
|
20395
20407
|
import {
|
|
20396
20408
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE188,
|
|
20397
20409
|
executeVoidApiCall as executeVoidApiCall67,
|
|
20398
20410
|
withStandardDecorators as withStandardDecorators210
|
|
20399
20411
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
20400
|
-
var inputSchema28 =
|
|
20412
|
+
var inputSchema28 = z90.object({
|
|
20401
20413
|
id: putMemberByIdParams.shape.id,
|
|
20402
|
-
data:
|
|
20414
|
+
data: z90.object(putMemberByIdBody.shape)
|
|
20403
20415
|
});
|
|
20404
20416
|
var UpdateMemberTool = {
|
|
20405
20417
|
name: "update-member",
|
|
@@ -20416,15 +20428,15 @@ var UpdateMemberTool = {
|
|
|
20416
20428
|
var update_member_default = withStandardDecorators210(UpdateMemberTool);
|
|
20417
20429
|
|
|
20418
20430
|
// src/umb-management-api/tools/member/put/validate-member-update.ts
|
|
20419
|
-
import { z as
|
|
20431
|
+
import { z as z91 } from "zod";
|
|
20420
20432
|
import {
|
|
20421
20433
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE189,
|
|
20422
20434
|
executeVoidApiCall as executeVoidApiCall68,
|
|
20423
20435
|
withStandardDecorators as withStandardDecorators211
|
|
20424
20436
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
20425
|
-
var inputSchema29 =
|
|
20437
|
+
var inputSchema29 = z91.object({
|
|
20426
20438
|
id: putMemberByIdValidateParams.shape.id,
|
|
20427
|
-
data:
|
|
20439
|
+
data: z91.object(putMemberByIdValidateBody.shape)
|
|
20428
20440
|
});
|
|
20429
20441
|
var ValidateMemberUpdateTool = {
|
|
20430
20442
|
name: "validate-member-update",
|
|
@@ -20602,20 +20614,20 @@ var GetMemberGroupTool = {
|
|
|
20602
20614
|
var get_member_group_default = withStandardDecorators217(GetMemberGroupTool);
|
|
20603
20615
|
|
|
20604
20616
|
// src/umb-management-api/tools/member-group/get/get-member-group-by-id-array.ts
|
|
20605
|
-
import { z as
|
|
20617
|
+
import { z as z92 } from "zod";
|
|
20606
20618
|
import {
|
|
20607
20619
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE196,
|
|
20608
20620
|
executeGetItemsApiCall as executeGetItemsApiCall27,
|
|
20609
20621
|
withStandardDecorators as withStandardDecorators218
|
|
20610
20622
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
20611
|
-
var
|
|
20623
|
+
var outputSchema32 = z92.object({
|
|
20612
20624
|
items: getItemMemberGroupResponse
|
|
20613
20625
|
});
|
|
20614
20626
|
var GetMemberGroupByIdArrayTool = {
|
|
20615
20627
|
name: "get-member-group-by-id-array",
|
|
20616
20628
|
description: "Gets member groups by an array of IDs",
|
|
20617
20629
|
inputSchema: getItemMemberGroupQueryParams.shape,
|
|
20618
|
-
outputSchema:
|
|
20630
|
+
outputSchema: outputSchema32.shape,
|
|
20619
20631
|
annotations: {
|
|
20620
20632
|
readOnlyHint: true
|
|
20621
20633
|
},
|
|
@@ -20675,7 +20687,7 @@ var GetAllMemberGroupsTool = {
|
|
|
20675
20687
|
var get_all_member_groups_default = withStandardDecorators220(GetAllMemberGroupsTool);
|
|
20676
20688
|
|
|
20677
20689
|
// src/umb-management-api/tools/member-group/post/create-member-group.ts
|
|
20678
|
-
import { z as
|
|
20690
|
+
import { z as z93 } from "zod";
|
|
20679
20691
|
import { v4 as uuidv48 } from "uuid";
|
|
20680
20692
|
import {
|
|
20681
20693
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE199,
|
|
@@ -20683,9 +20695,9 @@ import {
|
|
|
20683
20695
|
createToolResultError as createToolResultError18,
|
|
20684
20696
|
withStandardDecorators as withStandardDecorators221
|
|
20685
20697
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
20686
|
-
var createOutputSchema3 =
|
|
20687
|
-
message:
|
|
20688
|
-
id:
|
|
20698
|
+
var createOutputSchema3 = z93.object({
|
|
20699
|
+
message: z93.string(),
|
|
20700
|
+
id: z93.string().guid()
|
|
20689
20701
|
});
|
|
20690
20702
|
var CreateMemberGroupTool = {
|
|
20691
20703
|
name: "create-member-group",
|
|
@@ -20714,7 +20726,7 @@ var CreateMemberGroupTool = {
|
|
|
20714
20726
|
var create_member_group_default = withStandardDecorators221(CreateMemberGroupTool);
|
|
20715
20727
|
|
|
20716
20728
|
// src/umb-management-api/tools/member-group/put/update-member-group.ts
|
|
20717
|
-
import { z as
|
|
20729
|
+
import { z as z94 } from "zod";
|
|
20718
20730
|
import {
|
|
20719
20731
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE200,
|
|
20720
20732
|
executeVoidApiCall as executeVoidApiCall69,
|
|
@@ -20722,7 +20734,7 @@ import {
|
|
|
20722
20734
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
20723
20735
|
var inputSchema32 = {
|
|
20724
20736
|
id: putMemberGroupByIdParams.shape.id,
|
|
20725
|
-
data:
|
|
20737
|
+
data: z94.object(putMemberGroupByIdBody.shape)
|
|
20726
20738
|
};
|
|
20727
20739
|
var UpdateMemberGroupTool = {
|
|
20728
20740
|
name: "update-member-group",
|
|
@@ -20788,15 +20800,15 @@ var MemberGroupCollection = {
|
|
|
20788
20800
|
};
|
|
20789
20801
|
|
|
20790
20802
|
// src/umb-management-api/tools/member-type/post/create-member-type.ts
|
|
20791
|
-
import { z as
|
|
20803
|
+
import { z as z95 } from "zod";
|
|
20792
20804
|
import {
|
|
20793
20805
|
createToolResult as createToolResult29,
|
|
20794
20806
|
createToolResultError as createToolResultError19,
|
|
20795
20807
|
withStandardDecorators as withStandardDecorators224
|
|
20796
20808
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
20797
|
-
var createMemberTypeOutputSchema =
|
|
20798
|
-
message:
|
|
20799
|
-
id:
|
|
20809
|
+
var createMemberTypeOutputSchema = z95.object({
|
|
20810
|
+
message: z95.string(),
|
|
20811
|
+
id: z95.string().guid()
|
|
20800
20812
|
});
|
|
20801
20813
|
var CreateMemberTypeTool = {
|
|
20802
20814
|
name: "create-member-type",
|
|
@@ -20835,20 +20847,20 @@ var CreateMemberTypeTool = {
|
|
|
20835
20847
|
var create_member_type_default = withStandardDecorators224(CreateMemberTypeTool);
|
|
20836
20848
|
|
|
20837
20849
|
// src/umb-management-api/tools/member-type/get/get-member-type-by-id-array.ts
|
|
20838
|
-
import { z as
|
|
20850
|
+
import { z as z96 } from "zod";
|
|
20839
20851
|
import {
|
|
20840
20852
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE202,
|
|
20841
20853
|
executeGetItemsApiCall as executeGetItemsApiCall28,
|
|
20842
20854
|
withStandardDecorators as withStandardDecorators225
|
|
20843
20855
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
20844
|
-
var
|
|
20856
|
+
var outputSchema33 = z96.object({
|
|
20845
20857
|
items: getItemMemberTypeResponse
|
|
20846
20858
|
});
|
|
20847
20859
|
var GetMemberTypesByIdArrayTool = {
|
|
20848
20860
|
name: "get-member-types-by-id-array",
|
|
20849
20861
|
description: "Gets member types by IDs (or empty array if no IDs are provided)",
|
|
20850
20862
|
inputSchema: getItemMemberTypeQueryParams.shape,
|
|
20851
|
-
outputSchema:
|
|
20863
|
+
outputSchema: outputSchema33.shape,
|
|
20852
20864
|
annotations: { readOnlyHint: true },
|
|
20853
20865
|
slices: ["list"],
|
|
20854
20866
|
handler: (async (params) => {
|
|
@@ -20903,15 +20915,15 @@ var DeleteMemberTypeTool = {
|
|
|
20903
20915
|
var delete_member_type_default = withStandardDecorators227(DeleteMemberTypeTool);
|
|
20904
20916
|
|
|
20905
20917
|
// src/umb-management-api/tools/member-type/put/update-member-type.ts
|
|
20906
|
-
import { z as
|
|
20918
|
+
import { z as z97 } from "zod";
|
|
20907
20919
|
import {
|
|
20908
20920
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE205,
|
|
20909
20921
|
executeVoidApiCall as executeVoidApiCall72,
|
|
20910
20922
|
withStandardDecorators as withStandardDecorators228
|
|
20911
20923
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
20912
|
-
var inputSchema33 =
|
|
20924
|
+
var inputSchema33 = z97.object({
|
|
20913
20925
|
id: putMemberTypeByIdParams.shape.id,
|
|
20914
|
-
data:
|
|
20926
|
+
data: z97.object(putMemberTypeByIdBody.shape)
|
|
20915
20927
|
});
|
|
20916
20928
|
var UpdateMemberTypeTool = {
|
|
20917
20929
|
name: "update-member-type",
|
|
@@ -20928,18 +20940,18 @@ var UpdateMemberTypeTool = {
|
|
|
20928
20940
|
var update_member_type_default = withStandardDecorators228(UpdateMemberTypeTool);
|
|
20929
20941
|
|
|
20930
20942
|
// src/umb-management-api/tools/member-type/post/copy-member-type.ts
|
|
20931
|
-
import { z as
|
|
20943
|
+
import { z as z98 } from "zod";
|
|
20932
20944
|
import {
|
|
20933
20945
|
createToolResult as createToolResult30,
|
|
20934
20946
|
createToolResultError as createToolResultError20,
|
|
20935
20947
|
withStandardDecorators as withStandardDecorators229
|
|
20936
20948
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
20937
|
-
var inputSchema34 =
|
|
20938
|
-
id:
|
|
20949
|
+
var inputSchema34 = z98.object({
|
|
20950
|
+
id: z98.string().uuid()
|
|
20939
20951
|
});
|
|
20940
|
-
var copyMemberTypeOutputSchema =
|
|
20941
|
-
message:
|
|
20942
|
-
id:
|
|
20952
|
+
var copyMemberTypeOutputSchema = z98.object({
|
|
20953
|
+
message: z98.string(),
|
|
20954
|
+
id: z98.string().guid()
|
|
20943
20955
|
});
|
|
20944
20956
|
var CopyMemberTypeTool = {
|
|
20945
20957
|
name: "copy-member-type",
|
|
@@ -20978,20 +20990,20 @@ var CopyMemberTypeTool = {
|
|
|
20978
20990
|
var copy_member_type_default = withStandardDecorators229(CopyMemberTypeTool);
|
|
20979
20991
|
|
|
20980
20992
|
// src/umb-management-api/tools/member-type/post/get-member-type-available-compositions.ts
|
|
20981
|
-
import { z as
|
|
20993
|
+
import { z as z99 } from "zod";
|
|
20982
20994
|
import {
|
|
20983
20995
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE206,
|
|
20984
20996
|
executeGetItemsApiCall as executeGetItemsApiCall29,
|
|
20985
20997
|
withStandardDecorators as withStandardDecorators230
|
|
20986
20998
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
20987
|
-
var
|
|
20999
|
+
var outputSchema34 = z99.object({
|
|
20988
21000
|
items: postMemberTypeAvailableCompositionsResponse
|
|
20989
21001
|
});
|
|
20990
21002
|
var GetMemberTypeAvailableCompositionsTool = {
|
|
20991
21003
|
name: "get-member-type-available-compositions",
|
|
20992
21004
|
description: "Gets the available compositions for a member type",
|
|
20993
21005
|
inputSchema: postMemberTypeAvailableCompositionsBody.shape,
|
|
20994
|
-
outputSchema:
|
|
21006
|
+
outputSchema: outputSchema34.shape,
|
|
20995
21007
|
annotations: { readOnlyHint: true },
|
|
20996
21008
|
slices: ["configuration"],
|
|
20997
21009
|
handler: (async (model) => {
|
|
@@ -21003,20 +21015,20 @@ var GetMemberTypeAvailableCompositionsTool = {
|
|
|
21003
21015
|
var get_member_type_available_compositions_default = withStandardDecorators230(GetMemberTypeAvailableCompositionsTool);
|
|
21004
21016
|
|
|
21005
21017
|
// src/umb-management-api/tools/member-type/get/get-member-type-composition-references.ts
|
|
21006
|
-
import { z as
|
|
21018
|
+
import { z as z100 } from "zod";
|
|
21007
21019
|
import {
|
|
21008
21020
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE207,
|
|
21009
21021
|
executeGetItemsApiCall as executeGetItemsApiCall30,
|
|
21010
21022
|
withStandardDecorators as withStandardDecorators231
|
|
21011
21023
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
21012
|
-
var
|
|
21024
|
+
var outputSchema35 = z100.object({
|
|
21013
21025
|
items: getMemberTypeByIdCompositionReferencesResponse
|
|
21014
21026
|
});
|
|
21015
21027
|
var GetMemberTypeCompositionReferencesTool = {
|
|
21016
21028
|
name: "get-member-type-composition-references",
|
|
21017
21029
|
description: "Gets the composition references for a member type",
|
|
21018
21030
|
inputSchema: getMemberTypeByIdCompositionReferencesParams.shape,
|
|
21019
|
-
outputSchema:
|
|
21031
|
+
outputSchema: outputSchema35.shape,
|
|
21020
21032
|
annotations: { readOnlyHint: true },
|
|
21021
21033
|
slices: ["read"],
|
|
21022
21034
|
handler: (async ({ id }) => {
|
|
@@ -21028,13 +21040,13 @@ var GetMemberTypeCompositionReferencesTool = {
|
|
|
21028
21040
|
var get_member_type_composition_references_default = withStandardDecorators231(GetMemberTypeCompositionReferencesTool);
|
|
21029
21041
|
|
|
21030
21042
|
// src/umb-management-api/tools/member-type/get/get-member-type-configuration.ts
|
|
21031
|
-
import { z as
|
|
21043
|
+
import { z as z101 } from "zod";
|
|
21032
21044
|
import {
|
|
21033
21045
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE208,
|
|
21034
21046
|
executeGetApiCall as executeGetApiCall102,
|
|
21035
21047
|
withStandardDecorators as withStandardDecorators232
|
|
21036
21048
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
21037
|
-
var emptySchema2 =
|
|
21049
|
+
var emptySchema2 = z101.object({});
|
|
21038
21050
|
var GetMemberTypeConfigurationTool = {
|
|
21039
21051
|
name: "get-member-type-configuration",
|
|
21040
21052
|
description: "Gets the configuration for member types",
|
|
@@ -21142,13 +21154,13 @@ var MemberTypeCollection = {
|
|
|
21142
21154
|
};
|
|
21143
21155
|
|
|
21144
21156
|
// src/umb-management-api/tools/models-builder/get/get-models-builder-dashboard.ts
|
|
21145
|
-
import { z as
|
|
21157
|
+
import { z as z102 } from "zod";
|
|
21146
21158
|
import {
|
|
21147
21159
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE212,
|
|
21148
21160
|
executeGetApiCall as executeGetApiCall106,
|
|
21149
21161
|
withStandardDecorators as withStandardDecorators236
|
|
21150
21162
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
21151
|
-
var emptySchema3 =
|
|
21163
|
+
var emptySchema3 = z102.object({});
|
|
21152
21164
|
var GetModelsBuilderDashboardTool = {
|
|
21153
21165
|
name: "get-models-builder-dashboard",
|
|
21154
21166
|
description: `Gets Models Builder dashboard information and current status.
|
|
@@ -21173,13 +21185,13 @@ var GetModelsBuilderDashboardTool = {
|
|
|
21173
21185
|
var get_models_builder_dashboard_default = withStandardDecorators236(GetModelsBuilderDashboardTool);
|
|
21174
21186
|
|
|
21175
21187
|
// src/umb-management-api/tools/models-builder/get/get-models-builder-status.ts
|
|
21176
|
-
import { z as
|
|
21188
|
+
import { z as z103 } from "zod";
|
|
21177
21189
|
import {
|
|
21178
21190
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE213,
|
|
21179
21191
|
executeGetApiCall as executeGetApiCall107,
|
|
21180
21192
|
withStandardDecorators as withStandardDecorators237
|
|
21181
21193
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
21182
|
-
var emptySchema4 =
|
|
21194
|
+
var emptySchema4 = z103.object({});
|
|
21183
21195
|
var GetModelsBuilderStatusTool = {
|
|
21184
21196
|
name: "get-models-builder-status",
|
|
21185
21197
|
description: `Gets the out-of-date status of Models Builder models.
|
|
@@ -21198,13 +21210,13 @@ var GetModelsBuilderStatusTool = {
|
|
|
21198
21210
|
var get_models_builder_status_default = withStandardDecorators237(GetModelsBuilderStatusTool);
|
|
21199
21211
|
|
|
21200
21212
|
// src/umb-management-api/tools/models-builder/post/post-models-builder-build.ts
|
|
21201
|
-
import { z as
|
|
21213
|
+
import { z as z104 } from "zod";
|
|
21202
21214
|
import {
|
|
21203
21215
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE214,
|
|
21204
21216
|
executeVoidApiCall as executeVoidApiCall73,
|
|
21205
21217
|
withStandardDecorators as withStandardDecorators238
|
|
21206
21218
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
21207
|
-
var emptySchema5 =
|
|
21219
|
+
var emptySchema5 = z104.object({});
|
|
21208
21220
|
var PostModelsBuilderBuildTool = {
|
|
21209
21221
|
name: "post-models-builder-build",
|
|
21210
21222
|
description: `Triggers the generation/build of Models Builder models.
|
|
@@ -21248,20 +21260,20 @@ var ModelsBuilderCollection = {
|
|
|
21248
21260
|
};
|
|
21249
21261
|
|
|
21250
21262
|
// src/umb-management-api/tools/partial-view/post/create-partial-view.ts
|
|
21251
|
-
import { z as
|
|
21263
|
+
import { z as z105 } from "zod";
|
|
21252
21264
|
import {
|
|
21253
21265
|
createToolResult as createToolResult31,
|
|
21254
21266
|
createToolResultError as createToolResultError21,
|
|
21255
21267
|
withStandardDecorators as withStandardDecorators239
|
|
21256
21268
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
21257
|
-
var createPartialViewSchema =
|
|
21258
|
-
name:
|
|
21259
|
-
path:
|
|
21260
|
-
content:
|
|
21269
|
+
var createPartialViewSchema = z105.object({
|
|
21270
|
+
name: z105.string().min(1, "Name is required"),
|
|
21271
|
+
path: z105.string().optional(),
|
|
21272
|
+
content: z105.string().min(1, "Content is required").describe("[raw]")
|
|
21261
21273
|
});
|
|
21262
|
-
var createPartialViewOutputSchema =
|
|
21263
|
-
message:
|
|
21264
|
-
path:
|
|
21274
|
+
var createPartialViewOutputSchema = z105.object({
|
|
21275
|
+
message: z105.string(),
|
|
21276
|
+
path: z105.string()
|
|
21265
21277
|
});
|
|
21266
21278
|
var CreatePartialViewTool = {
|
|
21267
21279
|
name: "create-partial-view",
|
|
@@ -21308,15 +21320,15 @@ var CreatePartialViewTool = {
|
|
|
21308
21320
|
var create_partial_view_default = withStandardDecorators239(CreatePartialViewTool);
|
|
21309
21321
|
|
|
21310
21322
|
// src/umb-management-api/tools/partial-view/post/create-partial-view-folder.ts
|
|
21311
|
-
import { z as
|
|
21323
|
+
import { z as z106 } from "zod";
|
|
21312
21324
|
import {
|
|
21313
21325
|
createToolResult as createToolResult32,
|
|
21314
21326
|
createToolResultError as createToolResultError22,
|
|
21315
21327
|
withStandardDecorators as withStandardDecorators240
|
|
21316
21328
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
21317
|
-
var createPartialViewFolderOutputSchema =
|
|
21318
|
-
message:
|
|
21319
|
-
path:
|
|
21329
|
+
var createPartialViewFolderOutputSchema = z106.object({
|
|
21330
|
+
message: z106.string(),
|
|
21331
|
+
path: z106.string()
|
|
21320
21332
|
});
|
|
21321
21333
|
var CreatePartialViewFolderTool = {
|
|
21322
21334
|
name: "create-partial-view-folder",
|
|
@@ -21397,15 +21409,15 @@ var GetPartialViewFolderByPathTool = {
|
|
|
21397
21409
|
var get_partial_view_folder_by_path_default = withStandardDecorators242(GetPartialViewFolderByPathTool);
|
|
21398
21410
|
|
|
21399
21411
|
// src/umb-management-api/tools/partial-view/put/update-partial-view.ts
|
|
21400
|
-
import { z as
|
|
21412
|
+
import { z as z107 } from "zod";
|
|
21401
21413
|
import {
|
|
21402
21414
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE217,
|
|
21403
21415
|
executeVoidApiCall as executeVoidApiCall74,
|
|
21404
21416
|
withStandardDecorators as withStandardDecorators243
|
|
21405
21417
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
21406
|
-
var updatePartialViewSchema =
|
|
21418
|
+
var updatePartialViewSchema = z107.object({
|
|
21407
21419
|
path: putPartialViewByPathParams.shape.path,
|
|
21408
|
-
data:
|
|
21420
|
+
data: z107.object(putPartialViewByPathBody.shape)
|
|
21409
21421
|
});
|
|
21410
21422
|
var UpdatePartialViewTool = {
|
|
21411
21423
|
name: "update-partial-view",
|
|
@@ -21424,15 +21436,15 @@ var UpdatePartialViewTool = {
|
|
|
21424
21436
|
var update_partial_view_default = withStandardDecorators243(UpdatePartialViewTool);
|
|
21425
21437
|
|
|
21426
21438
|
// src/umb-management-api/tools/partial-view/put/rename-partial-view.ts
|
|
21427
|
-
import { z as
|
|
21439
|
+
import { z as z108 } from "zod";
|
|
21428
21440
|
import {
|
|
21429
21441
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE218,
|
|
21430
21442
|
executeVoidApiCall as executeVoidApiCall75,
|
|
21431
21443
|
withStandardDecorators as withStandardDecorators244
|
|
21432
21444
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
21433
|
-
var renamePartialViewSchema =
|
|
21445
|
+
var renamePartialViewSchema = z108.object({
|
|
21434
21446
|
path: putPartialViewByPathRenameParams.shape.path,
|
|
21435
|
-
data:
|
|
21447
|
+
data: z108.object(putPartialViewByPathRenameBody.shape)
|
|
21436
21448
|
});
|
|
21437
21449
|
var RenamePartialViewTool = {
|
|
21438
21450
|
name: "rename-partial-view",
|
|
@@ -21538,20 +21550,20 @@ var GetPartialViewSnippetByIdTool = {
|
|
|
21538
21550
|
var get_partial_view_snippet_by_id_default = withStandardDecorators248(GetPartialViewSnippetByIdTool);
|
|
21539
21551
|
|
|
21540
21552
|
// src/umb-management-api/tools/partial-view/items/get/get-ancestors.ts
|
|
21541
|
-
import { z as
|
|
21553
|
+
import { z as z109 } from "zod";
|
|
21542
21554
|
import {
|
|
21543
21555
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE223,
|
|
21544
21556
|
executeGetItemsApiCall as executeGetItemsApiCall31,
|
|
21545
21557
|
withStandardDecorators as withStandardDecorators249
|
|
21546
21558
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
21547
|
-
var
|
|
21559
|
+
var outputSchema36 = z109.object({
|
|
21548
21560
|
items: getTreePartialViewAncestorsResponse
|
|
21549
21561
|
});
|
|
21550
21562
|
var GetPartialViewAncestorsTool = {
|
|
21551
21563
|
name: "get-partial-view-ancestors",
|
|
21552
21564
|
description: "Gets the ancestors of a partial view in the tree structure",
|
|
21553
21565
|
inputSchema: getTreePartialViewAncestorsQueryParams.shape,
|
|
21554
|
-
outputSchema:
|
|
21566
|
+
outputSchema: outputSchema36.shape,
|
|
21555
21567
|
annotations: { readOnlyHint: true },
|
|
21556
21568
|
slices: ["tree"],
|
|
21557
21569
|
handler: (async (model) => {
|
|
@@ -21605,20 +21617,20 @@ var GetPartialViewRootTool = {
|
|
|
21605
21617
|
var get_root_default10 = withStandardDecorators251(GetPartialViewRootTool);
|
|
21606
21618
|
|
|
21607
21619
|
// src/umb-management-api/tools/partial-view/items/get/get-search.ts
|
|
21608
|
-
import { z as
|
|
21620
|
+
import { z as z110 } from "zod";
|
|
21609
21621
|
import {
|
|
21610
21622
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE226,
|
|
21611
21623
|
executeGetItemsApiCall as executeGetItemsApiCall32,
|
|
21612
21624
|
withStandardDecorators as withStandardDecorators252
|
|
21613
21625
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
21614
|
-
var
|
|
21626
|
+
var outputSchema37 = z110.object({
|
|
21615
21627
|
items: getItemPartialViewResponse
|
|
21616
21628
|
});
|
|
21617
21629
|
var GetPartialViewSearchTool = {
|
|
21618
21630
|
name: "get-partial-view-search",
|
|
21619
21631
|
description: "Searches for partial views by name or path",
|
|
21620
21632
|
inputSchema: getItemPartialViewQueryParams.shape,
|
|
21621
|
-
outputSchema:
|
|
21633
|
+
outputSchema: outputSchema37.shape,
|
|
21622
21634
|
annotations: { readOnlyHint: true },
|
|
21623
21635
|
slices: ["search"],
|
|
21624
21636
|
handler: (async (model) => {
|
|
@@ -21682,20 +21694,20 @@ var PartialViewCollection = {
|
|
|
21682
21694
|
};
|
|
21683
21695
|
|
|
21684
21696
|
// src/umb-management-api/tools/property-type/get/get-property-type-is-used.ts
|
|
21685
|
-
import { z as
|
|
21697
|
+
import { z as z111 } from "zod";
|
|
21686
21698
|
import {
|
|
21687
21699
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE228,
|
|
21688
21700
|
executeGetItemsApiCall as executeGetItemsApiCall33,
|
|
21689
21701
|
withStandardDecorators as withStandardDecorators254
|
|
21690
21702
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
21691
|
-
var
|
|
21703
|
+
var outputSchema38 = z111.object({
|
|
21692
21704
|
isUsed: getPropertyTypeIsUsedResponse
|
|
21693
21705
|
});
|
|
21694
21706
|
var GetPropertyTypeIsUsedTool = {
|
|
21695
21707
|
name: "get-property-type-is-used",
|
|
21696
21708
|
description: "Checks if a property type is used within Umbraco",
|
|
21697
21709
|
inputSchema: getPropertyTypeIsUsedQueryParams.shape,
|
|
21698
|
-
outputSchema:
|
|
21710
|
+
outputSchema: outputSchema38.shape,
|
|
21699
21711
|
annotations: { readOnlyHint: true },
|
|
21700
21712
|
slices: ["read"],
|
|
21701
21713
|
handler: (async ({ contentTypeId, propertyAlias }) => {
|
|
@@ -21862,13 +21874,13 @@ var RedirectCollection = {
|
|
|
21862
21874
|
};
|
|
21863
21875
|
|
|
21864
21876
|
// src/umb-management-api/tools/relation/get/get-relation-by-relation-type-id.ts
|
|
21865
|
-
import { z as
|
|
21877
|
+
import { z as z112 } from "zod";
|
|
21866
21878
|
import {
|
|
21867
21879
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE234,
|
|
21868
21880
|
executeGetApiCall as executeGetApiCall118,
|
|
21869
21881
|
withStandardDecorators as withStandardDecorators260
|
|
21870
21882
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
21871
|
-
var schemaParams =
|
|
21883
|
+
var schemaParams = z112.object({
|
|
21872
21884
|
...getRelationByRelationTypeIdParams.shape,
|
|
21873
21885
|
...getRelationByRelationTypeIdQueryParams.shape
|
|
21874
21886
|
});
|
|
@@ -22005,20 +22017,20 @@ var GetScriptFolderByPathTool = {
|
|
|
22005
22017
|
var get_script_folder_by_path_default = withStandardDecorators264(GetScriptFolderByPathTool);
|
|
22006
22018
|
|
|
22007
22019
|
// src/umb-management-api/tools/script/get/get-script-items.ts
|
|
22008
|
-
import { z as
|
|
22020
|
+
import { z as z113 } from "zod";
|
|
22009
22021
|
import {
|
|
22010
22022
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE239,
|
|
22011
22023
|
executeGetItemsApiCall as executeGetItemsApiCall34,
|
|
22012
22024
|
withStandardDecorators as withStandardDecorators265
|
|
22013
22025
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
22014
|
-
var
|
|
22026
|
+
var outputSchema39 = z113.object({
|
|
22015
22027
|
items: getItemScriptResponse
|
|
22016
22028
|
});
|
|
22017
22029
|
var GetScriptItemsTool = {
|
|
22018
22030
|
name: "get-script-items",
|
|
22019
22031
|
description: "Gets script items",
|
|
22020
22032
|
inputSchema: getItemScriptQueryParams.shape,
|
|
22021
|
-
outputSchema:
|
|
22033
|
+
outputSchema: outputSchema39.shape,
|
|
22022
22034
|
annotations: { readOnlyHint: true },
|
|
22023
22035
|
slices: ["list"],
|
|
22024
22036
|
handler: (async (model) => {
|
|
@@ -22030,20 +22042,20 @@ var GetScriptItemsTool = {
|
|
|
22030
22042
|
var get_script_items_default = withStandardDecorators265(GetScriptItemsTool);
|
|
22031
22043
|
|
|
22032
22044
|
// src/umb-management-api/tools/script/get/get-script-tree-ancestors.ts
|
|
22033
|
-
import { z as
|
|
22045
|
+
import { z as z114 } from "zod";
|
|
22034
22046
|
import {
|
|
22035
22047
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE240,
|
|
22036
22048
|
executeGetItemsApiCall as executeGetItemsApiCall35,
|
|
22037
22049
|
withStandardDecorators as withStandardDecorators266
|
|
22038
22050
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
22039
|
-
var
|
|
22051
|
+
var outputSchema40 = z114.object({
|
|
22040
22052
|
items: getTreeScriptAncestorsResponse
|
|
22041
22053
|
});
|
|
22042
22054
|
var GetScriptTreeAncestorsTool = {
|
|
22043
22055
|
name: "get-script-tree-ancestors",
|
|
22044
22056
|
description: "Gets script tree ancestors",
|
|
22045
22057
|
inputSchema: getTreeScriptAncestorsQueryParams.shape,
|
|
22046
|
-
outputSchema:
|
|
22058
|
+
outputSchema: outputSchema40.shape,
|
|
22047
22059
|
annotations: { readOnlyHint: true },
|
|
22048
22060
|
slices: ["tree"],
|
|
22049
22061
|
handler: (async (model) => {
|
|
@@ -22118,20 +22130,20 @@ var GetScriptTreeSiblingsTool = {
|
|
|
22118
22130
|
var get_script_tree_siblings_default = withStandardDecorators269(GetScriptTreeSiblingsTool);
|
|
22119
22131
|
|
|
22120
22132
|
// src/umb-management-api/tools/script/post/create-script.ts
|
|
22121
|
-
import { z as
|
|
22133
|
+
import { z as z115 } from "zod";
|
|
22122
22134
|
import {
|
|
22123
22135
|
createToolResult as createToolResult34,
|
|
22124
22136
|
createToolResultError as createToolResultError23,
|
|
22125
22137
|
withStandardDecorators as withStandardDecorators270
|
|
22126
22138
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
22127
|
-
var createScriptSchema =
|
|
22128
|
-
name:
|
|
22129
|
-
path:
|
|
22130
|
-
content:
|
|
22139
|
+
var createScriptSchema = z115.object({
|
|
22140
|
+
name: z115.string().min(1, "Name is required"),
|
|
22141
|
+
path: z115.string().optional(),
|
|
22142
|
+
content: z115.string().min(1, "Content is required").describe("[raw]")
|
|
22131
22143
|
});
|
|
22132
|
-
var createScriptOutputSchema =
|
|
22133
|
-
message:
|
|
22134
|
-
path:
|
|
22144
|
+
var createScriptOutputSchema = z115.object({
|
|
22145
|
+
message: z115.string(),
|
|
22146
|
+
path: z115.string()
|
|
22135
22147
|
});
|
|
22136
22148
|
var CreateScriptTool = {
|
|
22137
22149
|
name: "create-script",
|
|
@@ -22177,15 +22189,15 @@ var CreateScriptTool = {
|
|
|
22177
22189
|
var create_script_default = withStandardDecorators270(CreateScriptTool);
|
|
22178
22190
|
|
|
22179
22191
|
// src/umb-management-api/tools/script/post/create-script-folder.ts
|
|
22180
|
-
import { z as
|
|
22192
|
+
import { z as z116 } from "zod";
|
|
22181
22193
|
import {
|
|
22182
22194
|
createToolResult as createToolResult35,
|
|
22183
22195
|
createToolResultError as createToolResultError24,
|
|
22184
22196
|
withStandardDecorators as withStandardDecorators271
|
|
22185
22197
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
22186
|
-
var createScriptFolderOutputSchema =
|
|
22187
|
-
message:
|
|
22188
|
-
path:
|
|
22198
|
+
var createScriptFolderOutputSchema = z116.object({
|
|
22199
|
+
message: z116.string(),
|
|
22200
|
+
path: z116.string()
|
|
22189
22201
|
});
|
|
22190
22202
|
var CreateScriptFolderTool = {
|
|
22191
22203
|
name: "create-script-folder",
|
|
@@ -22224,7 +22236,7 @@ var CreateScriptFolderTool = {
|
|
|
22224
22236
|
var create_script_folder_default = withStandardDecorators271(CreateScriptFolderTool);
|
|
22225
22237
|
|
|
22226
22238
|
// src/umb-management-api/tools/script/put/update-script.ts
|
|
22227
|
-
import { z as
|
|
22239
|
+
import { z as z117 } from "zod";
|
|
22228
22240
|
import {
|
|
22229
22241
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE244,
|
|
22230
22242
|
executeVoidApiCall as executeVoidApiCall80,
|
|
@@ -22232,7 +22244,7 @@ import {
|
|
|
22232
22244
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
22233
22245
|
var updateScriptSchema = {
|
|
22234
22246
|
path: putScriptByPathParams.shape.path,
|
|
22235
|
-
data:
|
|
22247
|
+
data: z117.object(putScriptByPathBody.shape)
|
|
22236
22248
|
};
|
|
22237
22249
|
var UpdateScriptTool = {
|
|
22238
22250
|
name: "update-script",
|
|
@@ -22249,16 +22261,16 @@ var UpdateScriptTool = {
|
|
|
22249
22261
|
var update_script_default = withStandardDecorators272(UpdateScriptTool);
|
|
22250
22262
|
|
|
22251
22263
|
// src/umb-management-api/tools/script/put/rename-script.ts
|
|
22252
|
-
import { z as
|
|
22264
|
+
import { z as z118 } from "zod";
|
|
22253
22265
|
import {
|
|
22254
22266
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE245,
|
|
22255
22267
|
executeVoidApiCall as executeVoidApiCall81,
|
|
22256
22268
|
withStandardDecorators as withStandardDecorators273
|
|
22257
22269
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
22258
|
-
var renameScriptSchema =
|
|
22259
|
-
name:
|
|
22260
|
-
folderPath:
|
|
22261
|
-
newName:
|
|
22270
|
+
var renameScriptSchema = z118.object({
|
|
22271
|
+
name: z118.string().min(1, "Current script name is required"),
|
|
22272
|
+
folderPath: z118.string().optional().describe("Path to the folder containing the script (optional, leave empty for root)"),
|
|
22273
|
+
newName: z118.string().min(1, "New script name is required")
|
|
22262
22274
|
});
|
|
22263
22275
|
var RenameScriptTool = {
|
|
22264
22276
|
name: "rename-script",
|
|
@@ -22652,20 +22664,20 @@ var ServerCollection = {
|
|
|
22652
22664
|
};
|
|
22653
22665
|
|
|
22654
22666
|
// src/umb-management-api/tools/static-file/items/get/get-static-files.ts
|
|
22655
|
-
import { z as
|
|
22667
|
+
import { z as z119 } from "zod";
|
|
22656
22668
|
import {
|
|
22657
22669
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE255,
|
|
22658
22670
|
executeGetItemsApiCall as executeGetItemsApiCall36,
|
|
22659
22671
|
withStandardDecorators as withStandardDecorators283
|
|
22660
22672
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
22661
|
-
var
|
|
22673
|
+
var outputSchema41 = z119.object({
|
|
22662
22674
|
items: getItemStaticFileResponse
|
|
22663
22675
|
});
|
|
22664
22676
|
var GetStaticFilesTool = {
|
|
22665
22677
|
name: "get-static-files",
|
|
22666
22678
|
description: "Lists static files with optional path filtering for browsing the file system",
|
|
22667
22679
|
inputSchema: getItemStaticFileQueryParams.shape,
|
|
22668
|
-
outputSchema:
|
|
22680
|
+
outputSchema: outputSchema41.shape,
|
|
22669
22681
|
annotations: { readOnlyHint: true },
|
|
22670
22682
|
slices: ["read"],
|
|
22671
22683
|
handler: (async (params) => {
|
|
@@ -22719,20 +22731,20 @@ var GetStaticFileChildrenTool = {
|
|
|
22719
22731
|
var get_children_default9 = withStandardDecorators285(GetStaticFileChildrenTool);
|
|
22720
22732
|
|
|
22721
22733
|
// src/umb-management-api/tools/static-file/items/get/get-ancestors.ts
|
|
22722
|
-
import { z as
|
|
22734
|
+
import { z as z120 } from "zod";
|
|
22723
22735
|
import {
|
|
22724
22736
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE258,
|
|
22725
22737
|
executeGetItemsApiCall as executeGetItemsApiCall37,
|
|
22726
22738
|
withStandardDecorators as withStandardDecorators286
|
|
22727
22739
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
22728
|
-
var
|
|
22740
|
+
var outputSchema42 = z120.object({
|
|
22729
22741
|
items: getTreeStaticFileAncestorsResponse
|
|
22730
22742
|
});
|
|
22731
22743
|
var GetStaticFileAncestorsTool = {
|
|
22732
22744
|
name: "get-static-file-ancestors",
|
|
22733
22745
|
description: "Gets ancestor folders for navigation breadcrumbs by descendant path",
|
|
22734
22746
|
inputSchema: getTreeStaticFileAncestorsQueryParams.shape,
|
|
22735
|
-
outputSchema:
|
|
22747
|
+
outputSchema: outputSchema42.shape,
|
|
22736
22748
|
annotations: { readOnlyHint: true },
|
|
22737
22749
|
slices: ["tree"],
|
|
22738
22750
|
handler: (async (params) => {
|
|
@@ -22762,20 +22774,20 @@ var StaticFileCollection = {
|
|
|
22762
22774
|
};
|
|
22763
22775
|
|
|
22764
22776
|
// src/umb-management-api/tools/stylesheet/post/create-stylesheet.ts
|
|
22765
|
-
import { z as
|
|
22777
|
+
import { z as z121 } from "zod";
|
|
22766
22778
|
import {
|
|
22767
22779
|
createToolResult as createToolResult36,
|
|
22768
22780
|
createToolResultError as createToolResultError25,
|
|
22769
22781
|
withStandardDecorators as withStandardDecorators287
|
|
22770
22782
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
22771
|
-
var createStylesheetSchema =
|
|
22772
|
-
name:
|
|
22773
|
-
path:
|
|
22774
|
-
content:
|
|
22783
|
+
var createStylesheetSchema = z121.object({
|
|
22784
|
+
name: z121.string().min(1, "Name is required"),
|
|
22785
|
+
path: z121.string().optional(),
|
|
22786
|
+
content: z121.string().min(1, "Content is required").describe("[raw]")
|
|
22775
22787
|
});
|
|
22776
|
-
var createStylesheetOutputSchema =
|
|
22777
|
-
message:
|
|
22778
|
-
path:
|
|
22788
|
+
var createStylesheetOutputSchema = z121.object({
|
|
22789
|
+
message: z121.string(),
|
|
22790
|
+
path: z121.string()
|
|
22779
22791
|
});
|
|
22780
22792
|
var CreateStylesheetTool = {
|
|
22781
22793
|
name: "create-stylesheet",
|
|
@@ -22821,15 +22833,15 @@ var CreateStylesheetTool = {
|
|
|
22821
22833
|
var create_stylesheet_default = withStandardDecorators287(CreateStylesheetTool);
|
|
22822
22834
|
|
|
22823
22835
|
// src/umb-management-api/tools/stylesheet/post/create-stylesheet-folder.ts
|
|
22824
|
-
import { z as
|
|
22836
|
+
import { z as z122 } from "zod";
|
|
22825
22837
|
import {
|
|
22826
22838
|
createToolResult as createToolResult37,
|
|
22827
22839
|
createToolResultError as createToolResultError26,
|
|
22828
22840
|
withStandardDecorators as withStandardDecorators288
|
|
22829
22841
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
22830
|
-
var createStylesheetFolderOutputSchema =
|
|
22831
|
-
message:
|
|
22832
|
-
path:
|
|
22842
|
+
var createStylesheetFolderOutputSchema = z122.object({
|
|
22843
|
+
message: z122.string(),
|
|
22844
|
+
path: z122.string()
|
|
22833
22845
|
});
|
|
22834
22846
|
var CreateStylesheetFolderTool = {
|
|
22835
22847
|
name: "create-stylesheet-folder",
|
|
@@ -22910,13 +22922,13 @@ var GetStylesheetFolderByPathTool = {
|
|
|
22910
22922
|
var get_stylesheet_folder_by_path_default = withStandardDecorators290(GetStylesheetFolderByPathTool);
|
|
22911
22923
|
|
|
22912
22924
|
// src/umb-management-api/tools/stylesheet/put/update-stylesheet.ts
|
|
22913
|
-
import { z as
|
|
22925
|
+
import { z as z123 } from "zod";
|
|
22914
22926
|
import {
|
|
22915
22927
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE261,
|
|
22916
22928
|
executeVoidApiCall as executeVoidApiCall84,
|
|
22917
22929
|
withStandardDecorators as withStandardDecorators291
|
|
22918
22930
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
22919
|
-
var updateStylesheetSchema =
|
|
22931
|
+
var updateStylesheetSchema = z123.object({
|
|
22920
22932
|
...putStylesheetByPathParams.shape,
|
|
22921
22933
|
...putStylesheetByPathBody.shape,
|
|
22922
22934
|
content: putStylesheetByPathBody.shape.content.describe("[raw]")
|
|
@@ -22937,13 +22949,13 @@ var UpdateStylesheetTool = {
|
|
|
22937
22949
|
var update_stylesheet_default = withStandardDecorators291(UpdateStylesheetTool);
|
|
22938
22950
|
|
|
22939
22951
|
// src/umb-management-api/tools/stylesheet/put/rename-stylesheet.ts
|
|
22940
|
-
import { z as
|
|
22952
|
+
import { z as z124 } from "zod";
|
|
22941
22953
|
import {
|
|
22942
22954
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE262,
|
|
22943
22955
|
executeVoidApiCall as executeVoidApiCall85,
|
|
22944
22956
|
withStandardDecorators as withStandardDecorators292
|
|
22945
22957
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
22946
|
-
var renameStylesheetSchema =
|
|
22958
|
+
var renameStylesheetSchema = z124.object({
|
|
22947
22959
|
...putStylesheetByPathRenameParams.shape,
|
|
22948
22960
|
...putStylesheetByPathRenameBody.shape
|
|
22949
22961
|
});
|
|
@@ -23008,20 +23020,20 @@ var DeleteStylesheetFolderTool = {
|
|
|
23008
23020
|
var delete_stylesheet_folder_default = withStandardDecorators294(DeleteStylesheetFolderTool);
|
|
23009
23021
|
|
|
23010
23022
|
// src/umb-management-api/tools/stylesheet/items/get/get-ancestors.ts
|
|
23011
|
-
import { z as
|
|
23023
|
+
import { z as z125 } from "zod";
|
|
23012
23024
|
import {
|
|
23013
23025
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE265,
|
|
23014
23026
|
executeGetItemsApiCall as executeGetItemsApiCall38,
|
|
23015
23027
|
withStandardDecorators as withStandardDecorators295
|
|
23016
23028
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
23017
|
-
var
|
|
23029
|
+
var outputSchema43 = z125.object({
|
|
23018
23030
|
items: getTreeStylesheetAncestorsResponse
|
|
23019
23031
|
});
|
|
23020
23032
|
var GetStylesheetAncestorsTool = {
|
|
23021
23033
|
name: "get-stylesheet-ancestors",
|
|
23022
23034
|
description: "Gets the ancestors of a stylesheet in the tree structure",
|
|
23023
23035
|
inputSchema: getTreeStylesheetAncestorsQueryParams.shape,
|
|
23024
|
-
outputSchema:
|
|
23036
|
+
outputSchema: outputSchema43.shape,
|
|
23025
23037
|
annotations: { readOnlyHint: true },
|
|
23026
23038
|
slices: ["tree"],
|
|
23027
23039
|
handler: (async (model) => {
|
|
@@ -23075,20 +23087,20 @@ var GetStylesheetRootTool = {
|
|
|
23075
23087
|
var get_root_default12 = withStandardDecorators297(GetStylesheetRootTool);
|
|
23076
23088
|
|
|
23077
23089
|
// src/umb-management-api/tools/stylesheet/items/get/get-search.ts
|
|
23078
|
-
import { z as
|
|
23090
|
+
import { z as z126 } from "zod";
|
|
23079
23091
|
import {
|
|
23080
23092
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE268,
|
|
23081
23093
|
executeGetItemsApiCall as executeGetItemsApiCall39,
|
|
23082
23094
|
withStandardDecorators as withStandardDecorators298
|
|
23083
23095
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
23084
|
-
var
|
|
23096
|
+
var outputSchema44 = z126.object({
|
|
23085
23097
|
items: getItemStylesheetResponse
|
|
23086
23098
|
});
|
|
23087
23099
|
var GetStylesheetSearchTool = {
|
|
23088
23100
|
name: "get-stylesheet-search",
|
|
23089
23101
|
description: "Searches for stylesheets by name or path",
|
|
23090
23102
|
inputSchema: getItemStylesheetQueryParams.shape,
|
|
23091
|
-
outputSchema:
|
|
23103
|
+
outputSchema: outputSchema44.shape,
|
|
23092
23104
|
annotations: { readOnlyHint: true },
|
|
23093
23105
|
slices: ["search"],
|
|
23094
23106
|
handler: (async (model) => {
|
|
@@ -23185,15 +23197,15 @@ var TagCollection = {
|
|
|
23185
23197
|
};
|
|
23186
23198
|
|
|
23187
23199
|
// src/umb-management-api/tools/template/post/create-template.ts
|
|
23188
|
-
import { z as
|
|
23200
|
+
import { z as z127 } from "zod";
|
|
23189
23201
|
import {
|
|
23190
23202
|
createToolResult as createToolResult38,
|
|
23191
23203
|
createToolResultError as createToolResultError27,
|
|
23192
23204
|
withStandardDecorators as withStandardDecorators301
|
|
23193
23205
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
23194
|
-
var createTemplateOutputSchema =
|
|
23195
|
-
message:
|
|
23196
|
-
id:
|
|
23206
|
+
var createTemplateOutputSchema = z127.object({
|
|
23207
|
+
message: z127.string(),
|
|
23208
|
+
id: z127.string().guid()
|
|
23197
23209
|
});
|
|
23198
23210
|
var CreateTemplateTool = {
|
|
23199
23211
|
name: "create-template",
|
|
@@ -23274,20 +23286,20 @@ var GetTemplateConfigurationTool = {
|
|
|
23274
23286
|
var get_template_configuration_default = withStandardDecorators303(GetTemplateConfigurationTool);
|
|
23275
23287
|
|
|
23276
23288
|
// src/umb-management-api/tools/template/get/get-template-by-id-array.ts
|
|
23277
|
-
import { z as
|
|
23289
|
+
import { z as z128 } from "zod";
|
|
23278
23290
|
import {
|
|
23279
23291
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE273,
|
|
23280
23292
|
executeGetItemsApiCall as executeGetItemsApiCall40,
|
|
23281
23293
|
withStandardDecorators as withStandardDecorators304
|
|
23282
23294
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
23283
|
-
var
|
|
23295
|
+
var outputSchema45 = z128.object({
|
|
23284
23296
|
items: getItemTemplateResponse
|
|
23285
23297
|
});
|
|
23286
23298
|
var GetTemplatesByIdArrayTool = {
|
|
23287
23299
|
name: "get-templates-by-id-array",
|
|
23288
23300
|
description: "Gets templates by IDs (or empty array if no IDs are provided)",
|
|
23289
23301
|
inputSchema: getItemTemplateQueryParams.shape,
|
|
23290
|
-
outputSchema:
|
|
23302
|
+
outputSchema: outputSchema45.shape,
|
|
23291
23303
|
annotations: { readOnlyHint: true },
|
|
23292
23304
|
slices: ["list"],
|
|
23293
23305
|
handler: (async (params) => {
|
|
@@ -23299,15 +23311,15 @@ var GetTemplatesByIdArrayTool = {
|
|
|
23299
23311
|
var get_template_by_id_array_default = withStandardDecorators304(GetTemplatesByIdArrayTool);
|
|
23300
23312
|
|
|
23301
23313
|
// src/umb-management-api/tools/template/put/update-template.ts
|
|
23302
|
-
import { z as
|
|
23314
|
+
import { z as z129 } from "zod";
|
|
23303
23315
|
import {
|
|
23304
23316
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE274,
|
|
23305
23317
|
executeVoidApiCall as executeVoidApiCall88,
|
|
23306
23318
|
withStandardDecorators as withStandardDecorators305
|
|
23307
23319
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
23308
|
-
var updateTemplateSchema =
|
|
23320
|
+
var updateTemplateSchema = z129.object({
|
|
23309
23321
|
id: putTemplateByIdParams.shape.id,
|
|
23310
|
-
data:
|
|
23322
|
+
data: z129.object(putTemplateByIdBody.shape)
|
|
23311
23323
|
});
|
|
23312
23324
|
var UpdateTemplateTool = {
|
|
23313
23325
|
name: "update-template",
|
|
@@ -23397,20 +23409,20 @@ var GetTemplateQuerySettingsTool = {
|
|
|
23397
23409
|
var get_template_query_settings_default = withStandardDecorators308(GetTemplateQuerySettingsTool);
|
|
23398
23410
|
|
|
23399
23411
|
// src/umb-management-api/tools/template/items/get/get-ancestors.ts
|
|
23400
|
-
import { z as
|
|
23412
|
+
import { z as z130 } from "zod";
|
|
23401
23413
|
import {
|
|
23402
23414
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE278,
|
|
23403
23415
|
executeGetItemsApiCall as executeGetItemsApiCall41,
|
|
23404
23416
|
withStandardDecorators as withStandardDecorators309
|
|
23405
23417
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
23406
|
-
var
|
|
23418
|
+
var outputSchema46 = z130.object({
|
|
23407
23419
|
items: getTreeTemplateAncestorsResponse
|
|
23408
23420
|
});
|
|
23409
23421
|
var GetTemplateAncestorsTool = {
|
|
23410
23422
|
name: "get-template-ancestors",
|
|
23411
23423
|
description: "Gets the ancestors of a template by Id",
|
|
23412
23424
|
inputSchema: getTreeTemplateAncestorsQueryParams.shape,
|
|
23413
|
-
outputSchema:
|
|
23425
|
+
outputSchema: outputSchema46.shape,
|
|
23414
23426
|
annotations: { readOnlyHint: true },
|
|
23415
23427
|
slices: ["tree"],
|
|
23416
23428
|
handler: (async (params) => {
|
|
@@ -23535,7 +23547,7 @@ var TemplateCollection = {
|
|
|
23535
23547
|
};
|
|
23536
23548
|
|
|
23537
23549
|
// src/umb-management-api/tools/temporary-file/post/create-temporary-file.ts
|
|
23538
|
-
import { z as
|
|
23550
|
+
import { z as z131 } from "zod";
|
|
23539
23551
|
import * as fs3 from "fs";
|
|
23540
23552
|
import * as os2 from "os";
|
|
23541
23553
|
import * as path3 from "path";
|
|
@@ -23545,14 +23557,14 @@ import {
|
|
|
23545
23557
|
withStandardDecorators as withStandardDecorators314,
|
|
23546
23558
|
detectFileExtensionFromBuffer as detectFileExtensionFromBuffer2
|
|
23547
23559
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
23548
|
-
var createTemporaryFileSchema =
|
|
23549
|
-
id:
|
|
23550
|
-
fileName:
|
|
23551
|
-
fileAsBase64:
|
|
23560
|
+
var createTemporaryFileSchema = z131.object({
|
|
23561
|
+
id: z131.string().uuid().describe("Unique identifier for the temporary file"),
|
|
23562
|
+
fileName: z131.string().describe("Name of the file"),
|
|
23563
|
+
fileAsBase64: z131.string().describe("File content encoded as base64 string")
|
|
23552
23564
|
});
|
|
23553
|
-
var createTemporaryFileOutputSchema =
|
|
23554
|
-
message:
|
|
23555
|
-
id:
|
|
23565
|
+
var createTemporaryFileOutputSchema = z131.object({
|
|
23566
|
+
message: z131.string(),
|
|
23567
|
+
id: z131.string().guid()
|
|
23556
23568
|
});
|
|
23557
23569
|
var CreateTemporaryFileTool = {
|
|
23558
23570
|
name: "create-temporary-file",
|
|
@@ -23781,20 +23793,20 @@ var FindUserTool = {
|
|
|
23781
23793
|
var find_user_default = withStandardDecorators320(FindUserTool);
|
|
23782
23794
|
|
|
23783
23795
|
// src/umb-management-api/tools/user/get/get-item-user.ts
|
|
23784
|
-
import { z as
|
|
23796
|
+
import { z as z132 } from "zod";
|
|
23785
23797
|
import {
|
|
23786
23798
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE289,
|
|
23787
23799
|
executeGetItemsApiCall as executeGetItemsApiCall42,
|
|
23788
23800
|
withStandardDecorators as withStandardDecorators321
|
|
23789
23801
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
23790
|
-
var
|
|
23802
|
+
var outputSchema47 = z132.object({
|
|
23791
23803
|
items: getItemUserResponse
|
|
23792
23804
|
});
|
|
23793
23805
|
var GetItemUserTool = {
|
|
23794
23806
|
name: "get-item-user",
|
|
23795
23807
|
description: "Gets user items for selection lists and pickers",
|
|
23796
23808
|
inputSchema: getItemUserQueryParams.shape,
|
|
23797
|
-
outputSchema:
|
|
23809
|
+
outputSchema: outputSchema47.shape,
|
|
23798
23810
|
annotations: { readOnlyHint: true },
|
|
23799
23811
|
slices: ["read"],
|
|
23800
23812
|
handler: (async (params) => {
|
|
@@ -23869,20 +23881,20 @@ var GetUserCurrentConfigurationTool = {
|
|
|
23869
23881
|
var get_user_current_configuration_default = withStandardDecorators324(GetUserCurrentConfigurationTool);
|
|
23870
23882
|
|
|
23871
23883
|
// src/umb-management-api/tools/user/get/get-user-current-login-providers.ts
|
|
23872
|
-
import { z as
|
|
23884
|
+
import { z as z133 } from "zod";
|
|
23873
23885
|
import {
|
|
23874
23886
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE293,
|
|
23875
23887
|
executeGetItemsApiCall as executeGetItemsApiCall43,
|
|
23876
23888
|
withStandardDecorators as withStandardDecorators325
|
|
23877
23889
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
23878
|
-
var
|
|
23890
|
+
var outputSchema48 = z133.object({
|
|
23879
23891
|
items: getUserCurrentLoginProvidersResponse
|
|
23880
23892
|
});
|
|
23881
23893
|
var GetUserCurrentLoginProvidersTool = {
|
|
23882
23894
|
name: "get-user-current-login-providers",
|
|
23883
23895
|
description: "Gets the current user's available login providers",
|
|
23884
23896
|
inputSchema: {},
|
|
23885
|
-
outputSchema:
|
|
23897
|
+
outputSchema: outputSchema48.shape,
|
|
23886
23898
|
annotations: { readOnlyHint: true },
|
|
23887
23899
|
slices: ["current-user"],
|
|
23888
23900
|
handler: (async () => {
|
|
@@ -23915,20 +23927,20 @@ var GetUserCurrentPermissionsTool = {
|
|
|
23915
23927
|
var get_user_current_permissions_default = withStandardDecorators326(GetUserCurrentPermissionsTool);
|
|
23916
23928
|
|
|
23917
23929
|
// src/umb-management-api/tools/user/get/get-user-current-permissions-document.ts
|
|
23918
|
-
import { z as
|
|
23930
|
+
import { z as z134 } from "zod";
|
|
23919
23931
|
import {
|
|
23920
23932
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE295,
|
|
23921
23933
|
executeGetApiCall as executeGetApiCall158,
|
|
23922
23934
|
withStandardDecorators as withStandardDecorators327
|
|
23923
23935
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
23924
|
-
var
|
|
23936
|
+
var outputSchema49 = z134.object({
|
|
23925
23937
|
items: getUserCurrentPermissionsDocumentResponse
|
|
23926
23938
|
});
|
|
23927
23939
|
var GetUserCurrentPermissionsDocumentTool = {
|
|
23928
23940
|
name: "get-user-current-permissions-document",
|
|
23929
23941
|
description: "Gets the current user's document permissions for specific documents",
|
|
23930
23942
|
inputSchema: getUserCurrentPermissionsDocumentQueryParams.shape,
|
|
23931
|
-
outputSchema:
|
|
23943
|
+
outputSchema: outputSchema49.shape,
|
|
23932
23944
|
annotations: { readOnlyHint: true },
|
|
23933
23945
|
slices: ["permissions"],
|
|
23934
23946
|
handler: (async (params) => {
|
|
@@ -23982,13 +23994,13 @@ var GetUserByIdCalculateStartNodesTool = {
|
|
|
23982
23994
|
var get_user_by_id_calculate_start_nodes_default = withStandardDecorators329(GetUserByIdCalculateStartNodesTool);
|
|
23983
23995
|
|
|
23984
23996
|
// src/umb-management-api/tools/user/post/upload-user-avatar-by-id.ts
|
|
23985
|
-
import { z as
|
|
23997
|
+
import { z as z135 } from "zod";
|
|
23986
23998
|
import {
|
|
23987
23999
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE298,
|
|
23988
24000
|
executeVoidApiCall as executeVoidApiCall91,
|
|
23989
24001
|
withStandardDecorators as withStandardDecorators330
|
|
23990
24002
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
23991
|
-
var inputSchema35 =
|
|
24003
|
+
var inputSchema35 = z135.object({
|
|
23992
24004
|
...postUserAvatarByIdParams.shape,
|
|
23993
24005
|
...postUserAvatarByIdBody.shape
|
|
23994
24006
|
});
|
|
@@ -24078,15 +24090,15 @@ var UserCollection = {
|
|
|
24078
24090
|
};
|
|
24079
24091
|
|
|
24080
24092
|
// src/umb-management-api/tools/user-data/post/create-user-data.ts
|
|
24081
|
-
import { z as
|
|
24093
|
+
import { z as z136 } from "zod";
|
|
24082
24094
|
import {
|
|
24083
24095
|
createToolResult as createToolResult40,
|
|
24084
24096
|
createToolResultError as createToolResultError29,
|
|
24085
24097
|
withStandardDecorators as withStandardDecorators333
|
|
24086
24098
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
24087
|
-
var createUserDataOutputSchema =
|
|
24088
|
-
message:
|
|
24089
|
-
id:
|
|
24099
|
+
var createUserDataOutputSchema = z136.object({
|
|
24100
|
+
message: z136.string(),
|
|
24101
|
+
id: z136.string().guid()
|
|
24090
24102
|
});
|
|
24091
24103
|
var CreateUserDataTool = {
|
|
24092
24104
|
name: "create-user-data",
|
|
@@ -24249,20 +24261,20 @@ var GetUserGroupTool = {
|
|
|
24249
24261
|
var get_user_group_default = withStandardDecorators338(GetUserGroupTool);
|
|
24250
24262
|
|
|
24251
24263
|
// src/umb-management-api/tools/user-group/get/get-user-group-by-id-array.ts
|
|
24252
|
-
import { z as
|
|
24264
|
+
import { z as z137 } from "zod";
|
|
24253
24265
|
import {
|
|
24254
24266
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE306,
|
|
24255
24267
|
executeGetItemsApiCall as executeGetItemsApiCall44,
|
|
24256
24268
|
withStandardDecorators as withStandardDecorators339
|
|
24257
24269
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
24258
|
-
var
|
|
24270
|
+
var outputSchema50 = z137.object({
|
|
24259
24271
|
items: getItemUserGroupResponse
|
|
24260
24272
|
});
|
|
24261
24273
|
var GetUserGroupByIdArrayTool = {
|
|
24262
24274
|
name: "get-user-group-by-id-array",
|
|
24263
24275
|
description: "Gets user groups by an array of IDs",
|
|
24264
24276
|
inputSchema: getItemUserGroupQueryParams.shape,
|
|
24265
|
-
outputSchema:
|
|
24277
|
+
outputSchema: outputSchema50.shape,
|
|
24266
24278
|
annotations: { readOnlyHint: true },
|
|
24267
24279
|
slices: ["list"],
|
|
24268
24280
|
handler: (async (params) => {
|
|
@@ -24316,15 +24328,15 @@ var GetFilterUserGroupTool = {
|
|
|
24316
24328
|
var get_filter_user_group_default = withStandardDecorators341(GetFilterUserGroupTool);
|
|
24317
24329
|
|
|
24318
24330
|
// src/umb-management-api/tools/user-group/post/create-user-group.ts
|
|
24319
|
-
import { z as
|
|
24331
|
+
import { z as z138 } from "zod";
|
|
24320
24332
|
import {
|
|
24321
24333
|
createToolResult as createToolResult41,
|
|
24322
24334
|
createToolResultError as createToolResultError30,
|
|
24323
24335
|
withStandardDecorators as withStandardDecorators342
|
|
24324
24336
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
24325
|
-
var createUserGroupOutputSchema =
|
|
24326
|
-
message:
|
|
24327
|
-
id:
|
|
24337
|
+
var createUserGroupOutputSchema = z138.object({
|
|
24338
|
+
message: z138.string(),
|
|
24339
|
+
id: z138.string().guid()
|
|
24328
24340
|
});
|
|
24329
24341
|
var CreateUserGroupTool = {
|
|
24330
24342
|
name: "create-user-group",
|
|
@@ -24363,15 +24375,15 @@ var CreateUserGroupTool = {
|
|
|
24363
24375
|
var create_user_group_default = withStandardDecorators342(CreateUserGroupTool);
|
|
24364
24376
|
|
|
24365
24377
|
// src/umb-management-api/tools/user-group/put/update-user-group.ts
|
|
24366
|
-
import { z as
|
|
24378
|
+
import { z as z139 } from "zod";
|
|
24367
24379
|
import {
|
|
24368
24380
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE309,
|
|
24369
24381
|
executeVoidApiCall as executeVoidApiCall96,
|
|
24370
24382
|
withStandardDecorators as withStandardDecorators343
|
|
24371
24383
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
24372
|
-
var updateUserGroupSchema =
|
|
24384
|
+
var updateUserGroupSchema = z139.object({
|
|
24373
24385
|
id: putUserGroupByIdParams.shape.id,
|
|
24374
|
-
data:
|
|
24386
|
+
data: z139.object(putUserGroupByIdBody.shape)
|
|
24375
24387
|
});
|
|
24376
24388
|
var UpdateUserGroupTool = {
|
|
24377
24389
|
name: "update-user-group",
|
|
@@ -24477,20 +24489,20 @@ var GetWebhookByIdTool = {
|
|
|
24477
24489
|
var get_webhook_by_id_default = withStandardDecorators346(GetWebhookByIdTool);
|
|
24478
24490
|
|
|
24479
24491
|
// src/umb-management-api/tools/webhook/get/get-webhook-by-id-array.ts
|
|
24480
|
-
import { z as
|
|
24492
|
+
import { z as z140 } from "zod";
|
|
24481
24493
|
import {
|
|
24482
24494
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE313,
|
|
24483
24495
|
executeGetItemsApiCall as executeGetItemsApiCall45,
|
|
24484
24496
|
withStandardDecorators as withStandardDecorators347
|
|
24485
24497
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
24486
|
-
var
|
|
24498
|
+
var outputSchema51 = z140.object({
|
|
24487
24499
|
items: getItemWebhookResponse
|
|
24488
24500
|
});
|
|
24489
24501
|
var GetWebhookItemTool = {
|
|
24490
24502
|
name: "get-webhook-item",
|
|
24491
24503
|
description: "Gets webhooks by IDs (or empty array if no IDs are provided)",
|
|
24492
24504
|
inputSchema: getItemWebhookQueryParams.shape,
|
|
24493
|
-
outputSchema:
|
|
24505
|
+
outputSchema: outputSchema51.shape,
|
|
24494
24506
|
annotations: { readOnlyHint: true },
|
|
24495
24507
|
slices: ["list"],
|
|
24496
24508
|
handler: (async (params) => {
|
|
@@ -24545,15 +24557,15 @@ var DeleteWebhookTool = {
|
|
|
24545
24557
|
var delete_webhook_default = withStandardDecorators349(DeleteWebhookTool);
|
|
24546
24558
|
|
|
24547
24559
|
// src/umb-management-api/tools/webhook/put/update-webhook.ts
|
|
24548
|
-
import { z as
|
|
24560
|
+
import { z as z141 } from "zod";
|
|
24549
24561
|
import {
|
|
24550
24562
|
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE316,
|
|
24551
24563
|
executeVoidApiCall as executeVoidApiCall100,
|
|
24552
24564
|
withStandardDecorators as withStandardDecorators350
|
|
24553
24565
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
24554
|
-
var updateWebhookSchema =
|
|
24566
|
+
var updateWebhookSchema = z141.object({
|
|
24555
24567
|
id: putWebhookByIdParams.shape.id,
|
|
24556
|
-
data:
|
|
24568
|
+
data: z141.object(putWebhookByIdBody.shape)
|
|
24557
24569
|
});
|
|
24558
24570
|
var UpdateWebhookTool = {
|
|
24559
24571
|
name: "update-webhook",
|
|
@@ -24612,15 +24624,15 @@ var GetAllWebhookLogsTool = {
|
|
|
24612
24624
|
var get_all_webhook_logs_default = withStandardDecorators352(GetAllWebhookLogsTool);
|
|
24613
24625
|
|
|
24614
24626
|
// src/umb-management-api/tools/webhook/post/create-webhook.ts
|
|
24615
|
-
import { z as
|
|
24627
|
+
import { z as z142 } from "zod";
|
|
24616
24628
|
import {
|
|
24617
24629
|
createToolResult as createToolResult42,
|
|
24618
24630
|
createToolResultError as createToolResultError31,
|
|
24619
24631
|
withStandardDecorators as withStandardDecorators353
|
|
24620
24632
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
24621
|
-
var createWebhookOutputSchema =
|
|
24622
|
-
message:
|
|
24623
|
-
id:
|
|
24633
|
+
var createWebhookOutputSchema = z142.object({
|
|
24634
|
+
message: z142.string(),
|
|
24635
|
+
id: z142.string().guid()
|
|
24624
24636
|
});
|
|
24625
24637
|
var CreateWebhookTool = {
|
|
24626
24638
|
name: "create-webhook",
|
|
@@ -24871,4 +24883,4 @@ export {
|
|
|
24871
24883
|
allModeNames,
|
|
24872
24884
|
allSliceNames
|
|
24873
24885
|
};
|
|
24874
|
-
//# sourceMappingURL=chunk-
|
|
24886
|
+
//# sourceMappingURL=chunk-AGZ4PKPN.js.map
|