@umbraco-cms/mcp-dev 16.0.1 → 17.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/index.cjs +1475 -88
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1638 -251
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -3238,6 +3238,7 @@ var _axios = require('axios'); var _axios2 = _interopRequireDefault(_axios);
|
|
|
3238
3238
|
// src/orval/client/umbraco-axios.ts
|
|
3239
3239
|
var _qs = require('qs'); var _qs2 = _interopRequireDefault(_qs);
|
|
3240
3240
|
|
|
3241
|
+
var _https = require('https'); var _https2 = _interopRequireDefault(_https);
|
|
3241
3242
|
var authConfig = null;
|
|
3242
3243
|
function initializeUmbracoAxios(config) {
|
|
3243
3244
|
authConfig = config;
|
|
@@ -3252,7 +3253,12 @@ function initializeUmbracoAxios(config) {
|
|
|
3252
3253
|
}
|
|
3253
3254
|
var grant_type = "client_credentials";
|
|
3254
3255
|
var tokenPath = "/umbraco/management/api/v1/security/back-office/token";
|
|
3255
|
-
var
|
|
3256
|
+
var httpsAgent = new _https2.default.Agent({
|
|
3257
|
+
rejectUnauthorized: process.env.NODE_ENV === "production"
|
|
3258
|
+
});
|
|
3259
|
+
var UmbracoAxios = _axios2.default.create({
|
|
3260
|
+
httpsAgent
|
|
3261
|
+
});
|
|
3256
3262
|
var accessToken = null;
|
|
3257
3263
|
var tokenExpiry = null;
|
|
3258
3264
|
var fetchAccessToken = async () => {
|
|
@@ -3269,7 +3275,8 @@ var fetchAccessToken = async () => {
|
|
|
3269
3275
|
{
|
|
3270
3276
|
headers: {
|
|
3271
3277
|
"Content-Type": "application/x-www-form-urlencoded"
|
|
3272
|
-
}
|
|
3278
|
+
},
|
|
3279
|
+
httpsAgent
|
|
3273
3280
|
}
|
|
3274
3281
|
);
|
|
3275
3282
|
const { access_token, expires_in } = response.data;
|
|
@@ -3415,15 +3422,6 @@ var getUmbracoManagementAPI = () => {
|
|
|
3415
3422
|
options
|
|
3416
3423
|
);
|
|
3417
3424
|
};
|
|
3418
|
-
const getDataTypeByIdReferences = (id, options) => {
|
|
3419
|
-
return UmbracoManagementClient(
|
|
3420
|
-
{
|
|
3421
|
-
url: `/umbraco/management/api/v1/data-type/${id}/references`,
|
|
3422
|
-
method: "GET"
|
|
3423
|
-
},
|
|
3424
|
-
options
|
|
3425
|
-
);
|
|
3426
|
-
};
|
|
3427
3425
|
const getDataTypeConfiguration = (options) => {
|
|
3428
3426
|
return UmbracoManagementClient(
|
|
3429
3427
|
{
|
|
@@ -3533,6 +3531,16 @@ var getUmbracoManagementAPI = () => {
|
|
|
3533
3531
|
options
|
|
3534
3532
|
);
|
|
3535
3533
|
};
|
|
3534
|
+
const getTreeDataTypeSiblings = (params, options) => {
|
|
3535
|
+
return UmbracoManagementClient(
|
|
3536
|
+
{
|
|
3537
|
+
url: `/umbraco/management/api/v1/tree/data-type/siblings`,
|
|
3538
|
+
method: "GET",
|
|
3539
|
+
params
|
|
3540
|
+
},
|
|
3541
|
+
options
|
|
3542
|
+
);
|
|
3543
|
+
};
|
|
3536
3544
|
const getDictionary = (params, options) => {
|
|
3537
3545
|
return UmbracoManagementClient(
|
|
3538
3546
|
{
|
|
@@ -3807,6 +3815,16 @@ var getUmbracoManagementAPI = () => {
|
|
|
3807
3815
|
options
|
|
3808
3816
|
);
|
|
3809
3817
|
};
|
|
3818
|
+
const getTreeDocumentBlueprintSiblings = (params, options) => {
|
|
3819
|
+
return UmbracoManagementClient(
|
|
3820
|
+
{
|
|
3821
|
+
url: `/umbraco/management/api/v1/tree/document-blueprint/siblings`,
|
|
3822
|
+
method: "GET",
|
|
3823
|
+
params
|
|
3824
|
+
},
|
|
3825
|
+
options
|
|
3826
|
+
);
|
|
3827
|
+
};
|
|
3810
3828
|
const postDocumentType = (createDocumentTypeRequestModel, options) => {
|
|
3811
3829
|
return UmbracoManagementClient(
|
|
3812
3830
|
{
|
|
@@ -4050,6 +4068,16 @@ var getUmbracoManagementAPI = () => {
|
|
|
4050
4068
|
options
|
|
4051
4069
|
);
|
|
4052
4070
|
};
|
|
4071
|
+
const getTreeDocumentTypeSiblings = (params, options) => {
|
|
4072
|
+
return UmbracoManagementClient(
|
|
4073
|
+
{
|
|
4074
|
+
url: `/umbraco/management/api/v1/tree/document-type/siblings`,
|
|
4075
|
+
method: "GET",
|
|
4076
|
+
params
|
|
4077
|
+
},
|
|
4078
|
+
options
|
|
4079
|
+
);
|
|
4080
|
+
};
|
|
4053
4081
|
const getDocumentVersion = (params, options) => {
|
|
4054
4082
|
return UmbracoManagementClient(
|
|
4055
4083
|
{
|
|
@@ -4149,6 +4177,16 @@ var getUmbracoManagementAPI = () => {
|
|
|
4149
4177
|
options
|
|
4150
4178
|
);
|
|
4151
4179
|
};
|
|
4180
|
+
const getDocumentByIdAvailableSegmentOptions = (id, params, options) => {
|
|
4181
|
+
return UmbracoManagementClient(
|
|
4182
|
+
{
|
|
4183
|
+
url: `/umbraco/management/api/v1/document/${id}/available-segment-options`,
|
|
4184
|
+
method: "GET",
|
|
4185
|
+
params
|
|
4186
|
+
},
|
|
4187
|
+
options
|
|
4188
|
+
);
|
|
4189
|
+
};
|
|
4152
4190
|
const postDocumentByIdCopy = (id, copyDocumentRequestModel, options) => {
|
|
4153
4191
|
return UmbracoManagementClient(
|
|
4154
4192
|
{
|
|
@@ -4220,6 +4258,16 @@ var getUmbracoManagementAPI = () => {
|
|
|
4220
4258
|
options
|
|
4221
4259
|
);
|
|
4222
4260
|
};
|
|
4261
|
+
const getDocumentByIdPreviewUrl = (id, params, options) => {
|
|
4262
|
+
return UmbracoManagementClient(
|
|
4263
|
+
{
|
|
4264
|
+
url: `/umbraco/management/api/v1/document/${id}/preview-url`,
|
|
4265
|
+
method: "GET",
|
|
4266
|
+
params
|
|
4267
|
+
},
|
|
4268
|
+
options
|
|
4269
|
+
);
|
|
4270
|
+
};
|
|
4223
4271
|
const postDocumentByIdPublicAccess = (id, publicAccessRequestModel, options) => {
|
|
4224
4272
|
return UmbracoManagementClient(
|
|
4225
4273
|
{
|
|
@@ -4481,6 +4529,16 @@ var getUmbracoManagementAPI = () => {
|
|
|
4481
4529
|
options
|
|
4482
4530
|
);
|
|
4483
4531
|
};
|
|
4532
|
+
const getRecycleBinDocumentSiblings = (params, options) => {
|
|
4533
|
+
return UmbracoManagementClient(
|
|
4534
|
+
{
|
|
4535
|
+
url: `/umbraco/management/api/v1/recycle-bin/document/siblings`,
|
|
4536
|
+
method: "GET",
|
|
4537
|
+
params
|
|
4538
|
+
},
|
|
4539
|
+
options
|
|
4540
|
+
);
|
|
4541
|
+
};
|
|
4484
4542
|
const getTreeDocumentAncestors = (params, options) => {
|
|
4485
4543
|
return UmbracoManagementClient(
|
|
4486
4544
|
{
|
|
@@ -4511,6 +4569,16 @@ var getUmbracoManagementAPI = () => {
|
|
|
4511
4569
|
options
|
|
4512
4570
|
);
|
|
4513
4571
|
};
|
|
4572
|
+
const getTreeDocumentSiblings = (params, options) => {
|
|
4573
|
+
return UmbracoManagementClient(
|
|
4574
|
+
{
|
|
4575
|
+
url: `/umbraco/management/api/v1/tree/document/siblings`,
|
|
4576
|
+
method: "GET",
|
|
4577
|
+
params
|
|
4578
|
+
},
|
|
4579
|
+
options
|
|
4580
|
+
);
|
|
4581
|
+
};
|
|
4514
4582
|
const postDynamicRootQuery = (dynamicRootRequestModel, options) => {
|
|
4515
4583
|
return UmbracoManagementClient(
|
|
4516
4584
|
{
|
|
@@ -5097,6 +5165,16 @@ var getUmbracoManagementAPI = () => {
|
|
|
5097
5165
|
options
|
|
5098
5166
|
);
|
|
5099
5167
|
};
|
|
5168
|
+
const getTreeMediaTypeSiblings = (params, options) => {
|
|
5169
|
+
return UmbracoManagementClient(
|
|
5170
|
+
{
|
|
5171
|
+
url: `/umbraco/management/api/v1/tree/media-type/siblings`,
|
|
5172
|
+
method: "GET",
|
|
5173
|
+
params
|
|
5174
|
+
},
|
|
5175
|
+
options
|
|
5176
|
+
);
|
|
5177
|
+
};
|
|
5100
5178
|
const getCollectionMedia = (params, options) => {
|
|
5101
5179
|
return UmbracoManagementClient(
|
|
5102
5180
|
{
|
|
@@ -5347,6 +5425,16 @@ var getUmbracoManagementAPI = () => {
|
|
|
5347
5425
|
options
|
|
5348
5426
|
);
|
|
5349
5427
|
};
|
|
5428
|
+
const getRecycleBinMediaSiblings = (params, options) => {
|
|
5429
|
+
return UmbracoManagementClient(
|
|
5430
|
+
{
|
|
5431
|
+
url: `/umbraco/management/api/v1/recycle-bin/media/siblings`,
|
|
5432
|
+
method: "GET",
|
|
5433
|
+
params
|
|
5434
|
+
},
|
|
5435
|
+
options
|
|
5436
|
+
);
|
|
5437
|
+
};
|
|
5350
5438
|
const getTreeMediaAncestors = (params, options) => {
|
|
5351
5439
|
return UmbracoManagementClient(
|
|
5352
5440
|
{
|
|
@@ -5377,6 +5465,16 @@ var getUmbracoManagementAPI = () => {
|
|
|
5377
5465
|
options
|
|
5378
5466
|
);
|
|
5379
5467
|
};
|
|
5468
|
+
const getTreeMediaSiblings = (params, options) => {
|
|
5469
|
+
return UmbracoManagementClient(
|
|
5470
|
+
{
|
|
5471
|
+
url: `/umbraco/management/api/v1/tree/media/siblings`,
|
|
5472
|
+
method: "GET",
|
|
5473
|
+
params
|
|
5474
|
+
},
|
|
5475
|
+
options
|
|
5476
|
+
);
|
|
5477
|
+
};
|
|
5380
5478
|
const getItemMemberGroup = (params, options) => {
|
|
5381
5479
|
return UmbracoManagementClient(
|
|
5382
5480
|
{
|
|
@@ -5545,6 +5643,46 @@ var getUmbracoManagementAPI = () => {
|
|
|
5545
5643
|
options
|
|
5546
5644
|
);
|
|
5547
5645
|
};
|
|
5646
|
+
const postMemberTypeFolder = (createFolderRequestModel, options) => {
|
|
5647
|
+
return UmbracoManagementClient(
|
|
5648
|
+
{
|
|
5649
|
+
url: `/umbraco/management/api/v1/member-type/folder`,
|
|
5650
|
+
method: "POST",
|
|
5651
|
+
headers: { "Content-Type": "application/json" },
|
|
5652
|
+
data: createFolderRequestModel
|
|
5653
|
+
},
|
|
5654
|
+
options
|
|
5655
|
+
);
|
|
5656
|
+
};
|
|
5657
|
+
const getMemberTypeFolderById = (id, options) => {
|
|
5658
|
+
return UmbracoManagementClient(
|
|
5659
|
+
{
|
|
5660
|
+
url: `/umbraco/management/api/v1/member-type/folder/${id}`,
|
|
5661
|
+
method: "GET"
|
|
5662
|
+
},
|
|
5663
|
+
options
|
|
5664
|
+
);
|
|
5665
|
+
};
|
|
5666
|
+
const deleteMemberTypeFolderById = (id, options) => {
|
|
5667
|
+
return UmbracoManagementClient(
|
|
5668
|
+
{
|
|
5669
|
+
url: `/umbraco/management/api/v1/member-type/folder/${id}`,
|
|
5670
|
+
method: "DELETE"
|
|
5671
|
+
},
|
|
5672
|
+
options
|
|
5673
|
+
);
|
|
5674
|
+
};
|
|
5675
|
+
const putMemberTypeFolderById = (id, updateFolderResponseModel, options) => {
|
|
5676
|
+
return UmbracoManagementClient(
|
|
5677
|
+
{
|
|
5678
|
+
url: `/umbraco/management/api/v1/member-type/folder/${id}`,
|
|
5679
|
+
method: "PUT",
|
|
5680
|
+
headers: { "Content-Type": "application/json" },
|
|
5681
|
+
data: updateFolderResponseModel
|
|
5682
|
+
},
|
|
5683
|
+
options
|
|
5684
|
+
);
|
|
5685
|
+
};
|
|
5548
5686
|
const getTreeMemberTypeRoot = (params, options) => {
|
|
5549
5687
|
return UmbracoManagementClient(
|
|
5550
5688
|
{
|
|
@@ -5555,6 +5693,16 @@ var getUmbracoManagementAPI = () => {
|
|
|
5555
5693
|
options
|
|
5556
5694
|
);
|
|
5557
5695
|
};
|
|
5696
|
+
const getTreeMemberTypeSiblings = (params, options) => {
|
|
5697
|
+
return UmbracoManagementClient(
|
|
5698
|
+
{
|
|
5699
|
+
url: `/umbraco/management/api/v1/tree/member-type/siblings`,
|
|
5700
|
+
method: "GET",
|
|
5701
|
+
params
|
|
5702
|
+
},
|
|
5703
|
+
options
|
|
5704
|
+
);
|
|
5705
|
+
};
|
|
5558
5706
|
const getFilterMember = (params, options) => {
|
|
5559
5707
|
return UmbracoManagementClient(
|
|
5560
5708
|
{
|
|
@@ -5713,6 +5861,15 @@ var getUmbracoManagementAPI = () => {
|
|
|
5713
5861
|
options
|
|
5714
5862
|
);
|
|
5715
5863
|
};
|
|
5864
|
+
const getNewsDashboard = (options) => {
|
|
5865
|
+
return UmbracoManagementClient(
|
|
5866
|
+
{
|
|
5867
|
+
url: `/umbraco/management/api/v1/news-dashboard`,
|
|
5868
|
+
method: "GET"
|
|
5869
|
+
},
|
|
5870
|
+
options
|
|
5871
|
+
);
|
|
5872
|
+
};
|
|
5716
5873
|
const getObjectTypes = (params, options) => {
|
|
5717
5874
|
return UmbracoManagementClient(
|
|
5718
5875
|
{
|
|
@@ -5960,6 +6117,16 @@ var getUmbracoManagementAPI = () => {
|
|
|
5960
6117
|
options
|
|
5961
6118
|
);
|
|
5962
6119
|
};
|
|
6120
|
+
const getTreePartialViewSiblings = (params, options) => {
|
|
6121
|
+
return UmbracoManagementClient(
|
|
6122
|
+
{
|
|
6123
|
+
url: `/umbraco/management/api/v1/tree/partial-view/siblings`,
|
|
6124
|
+
method: "GET",
|
|
6125
|
+
params
|
|
6126
|
+
},
|
|
6127
|
+
options
|
|
6128
|
+
);
|
|
6129
|
+
};
|
|
5963
6130
|
const deletePreview = (options) => {
|
|
5964
6131
|
return UmbracoManagementClient(
|
|
5965
6132
|
{
|
|
@@ -6242,6 +6409,16 @@ var getUmbracoManagementAPI = () => {
|
|
|
6242
6409
|
options
|
|
6243
6410
|
);
|
|
6244
6411
|
};
|
|
6412
|
+
const getTreeScriptSiblings = (params, options) => {
|
|
6413
|
+
return UmbracoManagementClient(
|
|
6414
|
+
{
|
|
6415
|
+
url: `/umbraco/management/api/v1/tree/script/siblings`,
|
|
6416
|
+
method: "GET",
|
|
6417
|
+
params
|
|
6418
|
+
},
|
|
6419
|
+
options
|
|
6420
|
+
);
|
|
6421
|
+
};
|
|
6245
6422
|
const getSearcher = (params, options) => {
|
|
6246
6423
|
return UmbracoManagementClient(
|
|
6247
6424
|
{
|
|
@@ -6519,6 +6696,16 @@ var getUmbracoManagementAPI = () => {
|
|
|
6519
6696
|
options
|
|
6520
6697
|
);
|
|
6521
6698
|
};
|
|
6699
|
+
const getTreeStylesheetSiblings = (params, options) => {
|
|
6700
|
+
return UmbracoManagementClient(
|
|
6701
|
+
{
|
|
6702
|
+
url: `/umbraco/management/api/v1/tree/stylesheet/siblings`,
|
|
6703
|
+
method: "GET",
|
|
6704
|
+
params
|
|
6705
|
+
},
|
|
6706
|
+
options
|
|
6707
|
+
);
|
|
6708
|
+
};
|
|
6522
6709
|
const getTag = (params, options) => {
|
|
6523
6710
|
return UmbracoManagementClient(
|
|
6524
6711
|
{
|
|
@@ -6678,6 +6865,16 @@ var getUmbracoManagementAPI = () => {
|
|
|
6678
6865
|
options
|
|
6679
6866
|
);
|
|
6680
6867
|
};
|
|
6868
|
+
const getTreeTemplateSiblings = (params, options) => {
|
|
6869
|
+
return UmbracoManagementClient(
|
|
6870
|
+
{
|
|
6871
|
+
url: `/umbraco/management/api/v1/tree/template/siblings`,
|
|
6872
|
+
method: "GET",
|
|
6873
|
+
params
|
|
6874
|
+
},
|
|
6875
|
+
options
|
|
6876
|
+
);
|
|
6877
|
+
};
|
|
6681
6878
|
const postUpgradeAuthorize = (options) => {
|
|
6682
6879
|
return UmbracoManagementClient(
|
|
6683
6880
|
{
|
|
@@ -6737,6 +6934,15 @@ var getUmbracoManagementAPI = () => {
|
|
|
6737
6934
|
options
|
|
6738
6935
|
);
|
|
6739
6936
|
};
|
|
6937
|
+
const deleteUserDataById = (id, options) => {
|
|
6938
|
+
return UmbracoManagementClient(
|
|
6939
|
+
{
|
|
6940
|
+
url: `/umbraco/management/api/v1/user-data/${id}`,
|
|
6941
|
+
method: "DELETE"
|
|
6942
|
+
},
|
|
6943
|
+
options
|
|
6944
|
+
);
|
|
6945
|
+
};
|
|
6740
6946
|
const getFilterUserGroup = (params, options) => {
|
|
6741
6947
|
return UmbracoManagementClient(
|
|
6742
6948
|
{
|
|
@@ -7322,7 +7528,7 @@ var getUmbracoManagementAPI = () => {
|
|
|
7322
7528
|
options
|
|
7323
7529
|
);
|
|
7324
7530
|
};
|
|
7325
|
-
return { getCulture, postDataType, getDataTypeById, deleteDataTypeById, putDataTypeById, postDataTypeByIdCopy, getDataTypeByIdIsUsed, putDataTypeByIdMove, getDataTypeByIdReferencedBy,
|
|
7531
|
+
return { getCulture, postDataType, getDataTypeById, deleteDataTypeById, putDataTypeById, postDataTypeByIdCopy, getDataTypeByIdIsUsed, putDataTypeByIdMove, getDataTypeByIdReferencedBy, getDataTypeConfiguration, postDataTypeFolder, getDataTypeFolderById, deleteDataTypeFolderById, putDataTypeFolderById, getFilterDataType, getItemDataType, getItemDataTypeSearch, getTreeDataTypeAncestors, getTreeDataTypeChildren, getTreeDataTypeRoot, getTreeDataTypeSiblings, getDictionary, postDictionary, getDictionaryById, deleteDictionaryById, putDictionaryById, getDictionaryByIdExport, putDictionaryByIdMove, postDictionaryImport, getItemDictionary, getTreeDictionaryAncestors, getTreeDictionaryChildren, getTreeDictionaryRoot, postDocumentBlueprint, getDocumentBlueprintById, deleteDocumentBlueprintById, putDocumentBlueprintById, putDocumentBlueprintByIdMove, getDocumentBlueprintByIdScaffold, postDocumentBlueprintFolder, getDocumentBlueprintFolderById, deleteDocumentBlueprintFolderById, putDocumentBlueprintFolderById, postDocumentBlueprintFromDocument, getItemDocumentBlueprint, getTreeDocumentBlueprintAncestors, getTreeDocumentBlueprintChildren, getTreeDocumentBlueprintRoot, getTreeDocumentBlueprintSiblings, postDocumentType, getDocumentTypeById, deleteDocumentTypeById, putDocumentTypeById, getDocumentTypeByIdAllowedChildren, getDocumentTypeByIdBlueprint, getDocumentTypeByIdCompositionReferences, postDocumentTypeByIdCopy, getDocumentTypeByIdExport, putDocumentTypeByIdImport, putDocumentTypeByIdMove, getDocumentTypeAllowedAtRoot, postDocumentTypeAvailableCompositions, getDocumentTypeConfiguration, postDocumentTypeFolder, getDocumentTypeFolderById, deleteDocumentTypeFolderById, putDocumentTypeFolderById, postDocumentTypeImport, getItemDocumentType, getItemDocumentTypeSearch, getTreeDocumentTypeAncestors, getTreeDocumentTypeChildren, getTreeDocumentTypeRoot, getTreeDocumentTypeSiblings, getDocumentVersion, getDocumentVersionById, putDocumentVersionByIdPreventCleanup, postDocumentVersionByIdRollback, getCollectionDocumentById, postDocument, getDocumentById, deleteDocumentById, putDocumentById, getDocumentByIdAuditLog, getDocumentByIdAvailableSegmentOptions, postDocumentByIdCopy, getDocumentByIdDomains, putDocumentByIdDomains, putDocumentByIdMove, putDocumentByIdMoveToRecycleBin, getDocumentByIdNotifications, putDocumentByIdNotifications, getDocumentByIdPreviewUrl, postDocumentByIdPublicAccess, deleteDocumentByIdPublicAccess, getDocumentByIdPublicAccess, putDocumentByIdPublicAccess, putDocumentByIdPublish, putDocumentByIdPublishWithDescendants, getDocumentByIdPublishWithDescendantsResultByTaskId, getDocumentByIdPublished, getDocumentByIdReferencedBy, getDocumentByIdReferencedDescendants, putDocumentByIdUnpublish, putUmbracoManagementApiV11DocumentByIdValidate11, getDocumentAreReferenced, getDocumentConfiguration, putDocumentSort, getDocumentUrls, postDocumentValidate, getItemDocument, getItemDocumentSearch, deleteRecycleBinDocument, deleteRecycleBinDocumentById, getRecycleBinDocumentByIdOriginalParent, putRecycleBinDocumentByIdRestore, getRecycleBinDocumentChildren, getRecycleBinDocumentReferencedBy, getRecycleBinDocumentRoot, getRecycleBinDocumentSiblings, getTreeDocumentAncestors, getTreeDocumentChildren, getTreeDocumentRoot, getTreeDocumentSiblings, postDynamicRootQuery, getDynamicRootSteps, getHealthCheckGroup, getHealthCheckGroupByName, postHealthCheckGroupByNameCheck, postHealthCheckExecuteAction, getHelp, getImagingResizeUrls, getImportAnalyze, getIndexer, getIndexerByIndexName, postIndexerByIndexNameRebuild, getInstallSettings, postInstallSetup, postInstallValidateDatabase, getItemLanguage, getItemLanguageDefault, getLanguage, postLanguage, getLanguageByIsoCode, deleteLanguageByIsoCode, putLanguageByIsoCode, getLogViewerLevel, getLogViewerLevelCount, getLogViewerLog, getLogViewerMessageTemplate, getLogViewerSavedSearch, postLogViewerSavedSearch, getLogViewerSavedSearchByName, deleteLogViewerSavedSearchByName, getLogViewerValidateLogsSize, getManifestManifest, getManifestManifestPrivate, getManifestManifestPublic, getItemMediaType, getItemMediaTypeAllowed, getItemMediaTypeFolders, getItemMediaTypeSearch, postMediaType, getMediaTypeById, deleteMediaTypeById, putMediaTypeById, getMediaTypeByIdAllowedChildren, getMediaTypeByIdCompositionReferences, postMediaTypeByIdCopy, getMediaTypeByIdExport, putMediaTypeByIdImport, putMediaTypeByIdMove, getMediaTypeAllowedAtRoot, postMediaTypeAvailableCompositions, getMediaTypeConfiguration, postMediaTypeFolder, getMediaTypeFolderById, deleteMediaTypeFolderById, putMediaTypeFolderById, postMediaTypeImport, getTreeMediaTypeAncestors, getTreeMediaTypeChildren, getTreeMediaTypeRoot, getTreeMediaTypeSiblings, getCollectionMedia, getItemMedia, getItemMediaSearch, postMedia, getMediaById, deleteMediaById, putMediaById, getMediaByIdAuditLog, putMediaByIdMove, putMediaByIdMoveToRecycleBin, getMediaByIdReferencedBy, getMediaByIdReferencedDescendants, putMediaByIdValidate, getMediaAreReferenced, getMediaConfiguration, putMediaSort, getMediaUrls, postMediaValidate, deleteRecycleBinMedia, deleteRecycleBinMediaById, getRecycleBinMediaByIdOriginalParent, putRecycleBinMediaByIdRestore, getRecycleBinMediaChildren, getRecycleBinMediaReferencedBy, getRecycleBinMediaRoot, getRecycleBinMediaSiblings, getTreeMediaAncestors, getTreeMediaChildren, getTreeMediaRoot, getTreeMediaSiblings, getItemMemberGroup, getMemberGroup, postMemberGroup, getMemberGroupById, deleteMemberGroupById, putMemberGroupById, getTreeMemberGroupRoot, getItemMemberType, getItemMemberTypeSearch, postMemberType, getMemberTypeById, deleteMemberTypeById, putMemberTypeById, getMemberTypeByIdCompositionReferences, postMemberTypeByIdCopy, postMemberTypeAvailableCompositions, getMemberTypeConfiguration, postMemberTypeFolder, getMemberTypeFolderById, deleteMemberTypeFolderById, putMemberTypeFolderById, getTreeMemberTypeRoot, getTreeMemberTypeSiblings, getFilterMember, getItemMember, getItemMemberSearch, postMember, getMemberById, deleteMemberById, putMemberById, getMemberByIdReferencedBy, getMemberByIdReferencedDescendants, putMemberByIdValidate, getMemberAreReferenced, getMemberConfiguration, postMemberValidate, postModelsBuilderBuild, getModelsBuilderDashboard, getModelsBuilderStatus, getNewsDashboard, getObjectTypes, getOembedQuery, postPackageByNameRunMigration, getPackageConfiguration, getPackageCreated, postPackageCreated, getPackageCreatedById, deletePackageCreatedById, putPackageCreatedById, getPackageCreatedByIdDownload, getPackageMigrationStatus, getItemPartialView, postPartialView, getPartialViewByPath, deletePartialViewByPath, putPartialViewByPath, putPartialViewByPathRename, postPartialViewFolder, getPartialViewFolderByPath, deletePartialViewFolderByPath, getPartialViewSnippet, getPartialViewSnippetById, getTreePartialViewAncestors, getTreePartialViewChildren, getTreePartialViewRoot, getTreePartialViewSiblings, deletePreview, postPreview, getProfilingStatus, putProfilingStatus, getPropertyTypeIsUsed, postPublishedCacheRebuild, getPublishedCacheRebuildStatus, postPublishedCacheReload, getRedirectManagement, getRedirectManagementById, deleteRedirectManagementById, getRedirectManagementStatus, postRedirectManagementStatus, getItemRelationType, getRelationType, getRelationTypeById, getRelationByRelationTypeId, getItemScript, postScript, getScriptByPath, deleteScriptByPath, putScriptByPath, putScriptByPathRename, postScriptFolder, getScriptFolderByPath, deleteScriptFolderByPath, getTreeScriptAncestors, getTreeScriptChildren, getTreeScriptRoot, getTreeScriptSiblings, getSearcher, getSearcherBySearcherNameQuery, getSecurityConfiguration, postSecurityForgotPassword, postSecurityForgotPasswordReset, postSecurityForgotPasswordVerify, getSegment, getServerConfiguration, getServerInformation, getServerStatus, getServerTroubleshooting, getServerUpgradeCheck, getItemStaticFile, getTreeStaticFileAncestors, getTreeStaticFileChildren, getTreeStaticFileRoot, getItemStylesheet, postStylesheet, getStylesheetByPath, deleteStylesheetByPath, putStylesheetByPath, putStylesheetByPathRename, postStylesheetFolder, getStylesheetFolderByPath, deleteStylesheetFolderByPath, getTreeStylesheetAncestors, getTreeStylesheetChildren, getTreeStylesheetRoot, getTreeStylesheetSiblings, getTag, getTelemetry, getTelemetryLevel, postTelemetryLevel, getItemTemplate, getItemTemplateSearch, postTemplate, getTemplateById, deleteTemplateById, putTemplateById, getTemplateConfiguration, postTemplateQueryExecute, getTemplateQuerySettings, getTreeTemplateAncestors, getTreeTemplateChildren, getTreeTemplateRoot, getTreeTemplateSiblings, postUpgradeAuthorize, getUpgradeSettings, postUserData, getUserData, putUserData, getUserDataById, deleteUserDataById, getFilterUserGroup, getItemUserGroup, deleteUserGroup, postUserGroup, getUserGroup, getUserGroupById, deleteUserGroupById, putUserGroupById, deleteUserGroupByIdUsers, postUserGroupByIdUsers, getFilterUser, getItemUser, postUser, deleteUser, getUser, getUserById, deleteUserById, putUserById, getUserById2fa, deleteUserById2faByProviderName, getUserByIdCalculateStartNodes, postUserByIdChangePassword, postUserByIdClientCredentials, getUserByIdClientCredentials, deleteUserByIdClientCredentialsByClientId, postUserByIdResetPassword, deleteUserAvatarById, postUserAvatarById, getUserConfiguration, getUserCurrent, getUserCurrent2fa, deleteUserCurrent2faByProviderName, postUserCurrent2faByProviderName, getUserCurrent2faByProviderName, postUserCurrentAvatar, postUserCurrentChangePassword, getUserCurrentConfiguration, getUserCurrentLoginProviders, getUserCurrentPermissions, getUserCurrentPermissionsDocument, getUserCurrentPermissionsMedia, postUserDisable, postUserEnable, postUserInvite, postUserInviteCreatePassword, postUserInviteResend, postUserInviteVerify, postUserSetUserGroups, postUserUnlock, getItemWebhook, getWebhook, postWebhook, getWebhookById, deleteWebhookById, putWebhookById, getWebhookByIdLogs, getWebhookEvents, getWebhookLogs };
|
|
7326
7532
|
};
|
|
7327
7533
|
|
|
7328
7534
|
// src/umb-management-api/api/temporary-file/index.ts
|
|
@@ -7391,7 +7597,7 @@ var UmbracoManagementClient2 = (_class2 = class {
|
|
|
7391
7597
|
// package.json
|
|
7392
7598
|
var package_default = {
|
|
7393
7599
|
name: "@umbraco-cms/mcp-dev",
|
|
7394
|
-
version: "
|
|
7600
|
+
version: "17.0.0",
|
|
7395
7601
|
type: "module",
|
|
7396
7602
|
description: "A model context protocol (MCP) server for Umbraco CMS",
|
|
7397
7603
|
main: "index.js",
|
|
@@ -7410,7 +7616,7 @@ var package_default = {
|
|
|
7410
7616
|
"patch-publish-alpha": "npm version prerelease --preid=alpha && npm publish --tag alpha --access public",
|
|
7411
7617
|
"eval-mcp:basic": "npx mcp-server-tester@1.4.0 evals tests/e2e/basic/basic-tests.yaml --server-config tests/e2e/basic/basic-tests-config.json",
|
|
7412
7618
|
"eval-mcp:create-data-type-text-box": "npx mcp-server-tester@1.4.0 evals tests/e2e/create-data-type/create-data-type-text-box.yaml --server-config tests/e2e/create-data-type/create-data-type-config.json",
|
|
7413
|
-
"eval-mcp:create-data-type-block-list": "npx mcp-server-tester@1.4.0 evals tests/e2e/create-data-type/create-data-type-block-list.yaml --server-config tests/e2e/create-data-type/create-data-type-config.json
|
|
7619
|
+
"eval-mcp:create-data-type-block-list": "npx mcp-server-tester@1.4.0 evals tests/e2e/create-data-type/create-data-type-block-list.yaml --server-config tests/e2e/create-data-type/create-data-type-config.json",
|
|
7414
7620
|
"eval-mcp:create-document-type": "npx mcp-server-tester@1.4.0 evals tests/e2e/create-document-type/create-document-type.yaml --server-config tests/e2e/create-document-type/create-document-type-config.json",
|
|
7415
7621
|
"eval-mcp:create-document-copy": "npx mcp-server-tester@1.4.0 evals tests/e2e/create-document-copy/create-document-copy.yaml --server-config tests/e2e/create-document-copy/create-document-copy-config.json",
|
|
7416
7622
|
"eval-mcp:create-document-with-template": "npx mcp-server-tester@1.4.0 evals tests/e2e/create-document-with-template/create-document-with-template.yaml --server-config tests/e2e/create-document-with-template/create-document-with-template-config.json",
|
|
@@ -7654,7 +7860,11 @@ var getDataTypeByIdReferencedByResponse = _zod.z.object({
|
|
|
7654
7860
|
"variants": _zod.z.array(_zod.z.object({
|
|
7655
7861
|
"name": _zod.z.string(),
|
|
7656
7862
|
"culture": _zod.z.string().nullish(),
|
|
7657
|
-
"
|
|
7863
|
+
"id": _zod.z.string().uuid(),
|
|
7864
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
7865
|
+
"alias": _zod.z.string()
|
|
7866
|
+
})),
|
|
7867
|
+
"state": _zod.z.enum(["NotCreated", "Draft", "Published", "PublishedPendingChanges", "Trashed"])
|
|
7658
7868
|
}))
|
|
7659
7869
|
})).or(_zod.z.object({
|
|
7660
7870
|
"$type": _zod.z.enum(["DocumentTypePropertyTypeReferenceResponseModel"]),
|
|
@@ -7711,22 +7921,6 @@ var getDataTypeByIdReferencedByResponse = _zod.z.object({
|
|
|
7711
7921
|
})
|
|
7712
7922
|
})))
|
|
7713
7923
|
});
|
|
7714
|
-
var getDataTypeByIdReferencesParams = _zod.z.object({
|
|
7715
|
-
"id": _zod.z.string().uuid()
|
|
7716
|
-
});
|
|
7717
|
-
var getDataTypeByIdReferencesResponseItem = _zod.z.object({
|
|
7718
|
-
"contentType": _zod.z.object({
|
|
7719
|
-
"id": _zod.z.string().uuid(),
|
|
7720
|
-
"type": _zod.z.string().nullable(),
|
|
7721
|
-
"name": _zod.z.string().nullable(),
|
|
7722
|
-
"icon": _zod.z.string().nullable()
|
|
7723
|
-
}),
|
|
7724
|
-
"properties": _zod.z.array(_zod.z.object({
|
|
7725
|
-
"name": _zod.z.string(),
|
|
7726
|
-
"alias": _zod.z.string()
|
|
7727
|
-
}))
|
|
7728
|
-
});
|
|
7729
|
-
var getDataTypeByIdReferencesResponse = _zod.z.array(getDataTypeByIdReferencesResponseItem);
|
|
7730
7924
|
var getDataTypeConfigurationResponse = _zod.z.object({
|
|
7731
7925
|
"canBeChanged": _zod.z.enum(["True", "False", "FalseWithHelpText"]),
|
|
7732
7926
|
"documentListViewId": _zod.z.string().uuid(),
|
|
@@ -7767,6 +7961,9 @@ var getFilterDataTypeResponse = _zod.z.object({
|
|
|
7767
7961
|
"total": _zod.z.number(),
|
|
7768
7962
|
"items": _zod.z.array(_zod.z.object({
|
|
7769
7963
|
"id": _zod.z.string().uuid(),
|
|
7964
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
7965
|
+
"alias": _zod.z.string()
|
|
7966
|
+
})),
|
|
7770
7967
|
"name": _zod.z.string(),
|
|
7771
7968
|
"editorUiAlias": _zod.z.string().nullish(),
|
|
7772
7969
|
"editorAlias": _zod.z.string(),
|
|
@@ -7778,6 +7975,9 @@ var getItemDataTypeQueryParams = _zod.z.object({
|
|
|
7778
7975
|
});
|
|
7779
7976
|
var getItemDataTypeResponseItem = _zod.z.object({
|
|
7780
7977
|
"id": _zod.z.string().uuid(),
|
|
7978
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
7979
|
+
"alias": _zod.z.string()
|
|
7980
|
+
})),
|
|
7781
7981
|
"name": _zod.z.string(),
|
|
7782
7982
|
"editorUiAlias": _zod.z.string().nullish(),
|
|
7783
7983
|
"editorAlias": _zod.z.string(),
|
|
@@ -7793,6 +7993,9 @@ var getItemDataTypeSearchQueryParams = _zod.z.object({
|
|
|
7793
7993
|
var getItemDataTypeSearchResponse = _zod.z.object({
|
|
7794
7994
|
"items": _zod.z.array(_zod.z.object({
|
|
7795
7995
|
"id": _zod.z.string().uuid(),
|
|
7996
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
7997
|
+
"alias": _zod.z.string()
|
|
7998
|
+
})),
|
|
7796
7999
|
"name": _zod.z.string(),
|
|
7797
8000
|
"editorUiAlias": _zod.z.string().nullish(),
|
|
7798
8001
|
"editorAlias": _zod.z.string(),
|
|
@@ -7809,6 +8012,9 @@ var getTreeDataTypeAncestorsResponseItem = _zod.z.object({
|
|
|
7809
8012
|
"parent": _zod.z.object({
|
|
7810
8013
|
"id": _zod.z.string().uuid()
|
|
7811
8014
|
}).nullish(),
|
|
8015
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
8016
|
+
"alias": _zod.z.string()
|
|
8017
|
+
})),
|
|
7812
8018
|
"name": _zod.z.string(),
|
|
7813
8019
|
"isFolder": _zod.z.boolean(),
|
|
7814
8020
|
"editorUiAlias": _zod.z.string().nullish(),
|
|
@@ -7830,6 +8036,9 @@ var getTreeDataTypeChildrenResponse = _zod.z.object({
|
|
|
7830
8036
|
"parent": _zod.z.object({
|
|
7831
8037
|
"id": _zod.z.string().uuid()
|
|
7832
8038
|
}).nullish(),
|
|
8039
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
8040
|
+
"alias": _zod.z.string()
|
|
8041
|
+
})),
|
|
7833
8042
|
"name": _zod.z.string(),
|
|
7834
8043
|
"isFolder": _zod.z.boolean(),
|
|
7835
8044
|
"editorUiAlias": _zod.z.string().nullish(),
|
|
@@ -7850,6 +8059,33 @@ var getTreeDataTypeRootResponse = _zod.z.object({
|
|
|
7850
8059
|
"parent": _zod.z.object({
|
|
7851
8060
|
"id": _zod.z.string().uuid()
|
|
7852
8061
|
}).nullish(),
|
|
8062
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
8063
|
+
"alias": _zod.z.string()
|
|
8064
|
+
})),
|
|
8065
|
+
"name": _zod.z.string(),
|
|
8066
|
+
"isFolder": _zod.z.boolean(),
|
|
8067
|
+
"editorUiAlias": _zod.z.string().nullish(),
|
|
8068
|
+
"isDeletable": _zod.z.boolean()
|
|
8069
|
+
}))
|
|
8070
|
+
});
|
|
8071
|
+
var getTreeDataTypeSiblingsQueryParams = _zod.z.object({
|
|
8072
|
+
"target": _zod.z.string().uuid().optional(),
|
|
8073
|
+
"before": _zod.z.coerce.number().optional(),
|
|
8074
|
+
"after": _zod.z.coerce.number().optional(),
|
|
8075
|
+
"foldersOnly": _zod.z.coerce.boolean().optional()
|
|
8076
|
+
});
|
|
8077
|
+
var getTreeDataTypeSiblingsResponse = _zod.z.object({
|
|
8078
|
+
"totalBefore": _zod.z.number(),
|
|
8079
|
+
"totalAfter": _zod.z.number(),
|
|
8080
|
+
"items": _zod.z.array(_zod.z.object({
|
|
8081
|
+
"hasChildren": _zod.z.boolean(),
|
|
8082
|
+
"id": _zod.z.string().uuid(),
|
|
8083
|
+
"parent": _zod.z.object({
|
|
8084
|
+
"id": _zod.z.string().uuid()
|
|
8085
|
+
}).nullish(),
|
|
8086
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
8087
|
+
"alias": _zod.z.string()
|
|
8088
|
+
})),
|
|
7853
8089
|
"name": _zod.z.string(),
|
|
7854
8090
|
"isFolder": _zod.z.boolean(),
|
|
7855
8091
|
"editorUiAlias": _zod.z.string().nullish(),
|
|
@@ -7936,6 +8172,9 @@ var getItemDictionaryQueryParams = _zod.z.object({
|
|
|
7936
8172
|
});
|
|
7937
8173
|
var getItemDictionaryResponseItem = _zod.z.object({
|
|
7938
8174
|
"id": _zod.z.string().uuid(),
|
|
8175
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
8176
|
+
"alias": _zod.z.string()
|
|
8177
|
+
})),
|
|
7939
8178
|
"name": _zod.z.string()
|
|
7940
8179
|
});
|
|
7941
8180
|
var getItemDictionaryResponse = _zod.z.array(getItemDictionaryResponseItem);
|
|
@@ -7948,6 +8187,9 @@ var getTreeDictionaryAncestorsResponseItem = _zod.z.object({
|
|
|
7948
8187
|
"parent": _zod.z.object({
|
|
7949
8188
|
"id": _zod.z.string().uuid()
|
|
7950
8189
|
}).nullish(),
|
|
8190
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
8191
|
+
"alias": _zod.z.string()
|
|
8192
|
+
})),
|
|
7951
8193
|
"name": _zod.z.string()
|
|
7952
8194
|
});
|
|
7953
8195
|
var getTreeDictionaryAncestorsResponse = _zod.z.array(getTreeDictionaryAncestorsResponseItem);
|
|
@@ -7965,6 +8207,9 @@ var getTreeDictionaryChildrenResponse = _zod.z.object({
|
|
|
7965
8207
|
"parent": _zod.z.object({
|
|
7966
8208
|
"id": _zod.z.string().uuid()
|
|
7967
8209
|
}).nullish(),
|
|
8210
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
8211
|
+
"alias": _zod.z.string()
|
|
8212
|
+
})),
|
|
7968
8213
|
"name": _zod.z.string()
|
|
7969
8214
|
}))
|
|
7970
8215
|
});
|
|
@@ -7981,6 +8226,9 @@ var getTreeDictionaryRootResponse = _zod.z.object({
|
|
|
7981
8226
|
"parent": _zod.z.object({
|
|
7982
8227
|
"id": _zod.z.string().uuid()
|
|
7983
8228
|
}).nullish(),
|
|
8229
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
8230
|
+
"alias": _zod.z.string()
|
|
8231
|
+
})),
|
|
7984
8232
|
"name": _zod.z.string()
|
|
7985
8233
|
}))
|
|
7986
8234
|
});
|
|
@@ -8021,12 +8269,19 @@ var getDocumentBlueprintByIdResponse = _zod.z.object({
|
|
|
8021
8269
|
"name": _zod.z.string().min(1),
|
|
8022
8270
|
"createDate": _zod.z.string().datetime({ "local": true }),
|
|
8023
8271
|
"updateDate": _zod.z.string().datetime({ "local": true }),
|
|
8024
|
-
"state": _zod.z.enum(["NotCreated", "Draft", "Published", "PublishedPendingChanges"]),
|
|
8272
|
+
"state": _zod.z.enum(["NotCreated", "Draft", "Published", "PublishedPendingChanges", "Trashed"]),
|
|
8025
8273
|
"publishDate": _zod.z.string().datetime({ "local": true }).nullish(),
|
|
8026
8274
|
"scheduledPublishDate": _zod.z.string().datetime({ "local": true }).nullish(),
|
|
8027
|
-
"scheduledUnpublishDate": _zod.z.string().datetime({ "local": true }).nullish()
|
|
8275
|
+
"scheduledUnpublishDate": _zod.z.string().datetime({ "local": true }).nullish(),
|
|
8276
|
+
"id": _zod.z.string().uuid(),
|
|
8277
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
8278
|
+
"alias": _zod.z.string()
|
|
8279
|
+
}))
|
|
8028
8280
|
})),
|
|
8029
8281
|
"id": _zod.z.string().uuid(),
|
|
8282
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
8283
|
+
"alias": _zod.z.string()
|
|
8284
|
+
})),
|
|
8030
8285
|
"documentType": _zod.z.object({
|
|
8031
8286
|
"id": _zod.z.string().uuid(),
|
|
8032
8287
|
"icon": _zod.z.string(),
|
|
@@ -8079,12 +8334,19 @@ var getDocumentBlueprintByIdScaffoldResponse = _zod.z.object({
|
|
|
8079
8334
|
"name": _zod.z.string().min(1),
|
|
8080
8335
|
"createDate": _zod.z.string().datetime({ "local": true }),
|
|
8081
8336
|
"updateDate": _zod.z.string().datetime({ "local": true }),
|
|
8082
|
-
"state": _zod.z.enum(["NotCreated", "Draft", "Published", "PublishedPendingChanges"]),
|
|
8337
|
+
"state": _zod.z.enum(["NotCreated", "Draft", "Published", "PublishedPendingChanges", "Trashed"]),
|
|
8083
8338
|
"publishDate": _zod.z.string().datetime({ "local": true }).nullish(),
|
|
8084
8339
|
"scheduledPublishDate": _zod.z.string().datetime({ "local": true }).nullish(),
|
|
8085
|
-
"scheduledUnpublishDate": _zod.z.string().datetime({ "local": true }).nullish()
|
|
8340
|
+
"scheduledUnpublishDate": _zod.z.string().datetime({ "local": true }).nullish(),
|
|
8341
|
+
"id": _zod.z.string().uuid(),
|
|
8342
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
8343
|
+
"alias": _zod.z.string()
|
|
8344
|
+
}))
|
|
8086
8345
|
})),
|
|
8087
8346
|
"id": _zod.z.string().uuid(),
|
|
8347
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
8348
|
+
"alias": _zod.z.string()
|
|
8349
|
+
})),
|
|
8088
8350
|
"documentType": _zod.z.object({
|
|
8089
8351
|
"id": _zod.z.string().uuid(),
|
|
8090
8352
|
"icon": _zod.z.string(),
|
|
@@ -8131,6 +8393,9 @@ var getItemDocumentBlueprintQueryParams = _zod.z.object({
|
|
|
8131
8393
|
});
|
|
8132
8394
|
var getItemDocumentBlueprintResponseItem = _zod.z.object({
|
|
8133
8395
|
"id": _zod.z.string().uuid(),
|
|
8396
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
8397
|
+
"alias": _zod.z.string()
|
|
8398
|
+
})),
|
|
8134
8399
|
"name": _zod.z.string(),
|
|
8135
8400
|
"documentType": _zod.z.object({
|
|
8136
8401
|
"id": _zod.z.string().uuid(),
|
|
@@ -8150,6 +8415,9 @@ var getTreeDocumentBlueprintAncestorsResponseItem = _zod.z.object({
|
|
|
8150
8415
|
"parent": _zod.z.object({
|
|
8151
8416
|
"id": _zod.z.string().uuid()
|
|
8152
8417
|
}).nullish(),
|
|
8418
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
8419
|
+
"alias": _zod.z.string()
|
|
8420
|
+
})),
|
|
8153
8421
|
"name": _zod.z.string(),
|
|
8154
8422
|
"isFolder": _zod.z.boolean(),
|
|
8155
8423
|
"documentType": _zod.z.object({
|
|
@@ -8176,6 +8444,9 @@ var getTreeDocumentBlueprintChildrenResponse = _zod.z.object({
|
|
|
8176
8444
|
"parent": _zod.z.object({
|
|
8177
8445
|
"id": _zod.z.string().uuid()
|
|
8178
8446
|
}).nullish(),
|
|
8447
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
8448
|
+
"alias": _zod.z.string()
|
|
8449
|
+
})),
|
|
8179
8450
|
"name": _zod.z.string(),
|
|
8180
8451
|
"isFolder": _zod.z.boolean(),
|
|
8181
8452
|
"documentType": _zod.z.object({
|
|
@@ -8201,6 +8472,38 @@ var getTreeDocumentBlueprintRootResponse = _zod.z.object({
|
|
|
8201
8472
|
"parent": _zod.z.object({
|
|
8202
8473
|
"id": _zod.z.string().uuid()
|
|
8203
8474
|
}).nullish(),
|
|
8475
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
8476
|
+
"alias": _zod.z.string()
|
|
8477
|
+
})),
|
|
8478
|
+
"name": _zod.z.string(),
|
|
8479
|
+
"isFolder": _zod.z.boolean(),
|
|
8480
|
+
"documentType": _zod.z.object({
|
|
8481
|
+
"id": _zod.z.string().uuid(),
|
|
8482
|
+
"icon": _zod.z.string(),
|
|
8483
|
+
"collection": _zod.z.object({
|
|
8484
|
+
"id": _zod.z.string().uuid()
|
|
8485
|
+
}).nullish()
|
|
8486
|
+
}).nullish()
|
|
8487
|
+
}))
|
|
8488
|
+
});
|
|
8489
|
+
var getTreeDocumentBlueprintSiblingsQueryParams = _zod.z.object({
|
|
8490
|
+
"target": _zod.z.string().uuid().optional(),
|
|
8491
|
+
"before": _zod.z.coerce.number().optional(),
|
|
8492
|
+
"after": _zod.z.coerce.number().optional(),
|
|
8493
|
+
"foldersOnly": _zod.z.coerce.boolean().optional()
|
|
8494
|
+
});
|
|
8495
|
+
var getTreeDocumentBlueprintSiblingsResponse = _zod.z.object({
|
|
8496
|
+
"totalBefore": _zod.z.number(),
|
|
8497
|
+
"totalAfter": _zod.z.number(),
|
|
8498
|
+
"items": _zod.z.array(_zod.z.object({
|
|
8499
|
+
"hasChildren": _zod.z.boolean(),
|
|
8500
|
+
"id": _zod.z.string().uuid(),
|
|
8501
|
+
"parent": _zod.z.object({
|
|
8502
|
+
"id": _zod.z.string().uuid()
|
|
8503
|
+
}).nullish(),
|
|
8504
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
8505
|
+
"alias": _zod.z.string()
|
|
8506
|
+
})),
|
|
8204
8507
|
"name": _zod.z.string(),
|
|
8205
8508
|
"isFolder": _zod.z.boolean(),
|
|
8206
8509
|
"documentType": _zod.z.object({
|
|
@@ -8463,6 +8766,9 @@ var getDocumentTypeByIdBlueprintResponse = _zod.z.object({
|
|
|
8463
8766
|
"total": _zod.z.number(),
|
|
8464
8767
|
"items": _zod.z.array(_zod.z.object({
|
|
8465
8768
|
"id": _zod.z.string().uuid(),
|
|
8769
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
8770
|
+
"alias": _zod.z.string()
|
|
8771
|
+
})),
|
|
8466
8772
|
"name": _zod.z.string()
|
|
8467
8773
|
}))
|
|
8468
8774
|
});
|
|
@@ -8570,6 +8876,9 @@ var getItemDocumentTypeQueryParams = _zod.z.object({
|
|
|
8570
8876
|
});
|
|
8571
8877
|
var getItemDocumentTypeResponseItem = _zod.z.object({
|
|
8572
8878
|
"id": _zod.z.string().uuid(),
|
|
8879
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
8880
|
+
"alias": _zod.z.string()
|
|
8881
|
+
})),
|
|
8573
8882
|
"name": _zod.z.string(),
|
|
8574
8883
|
"isElement": _zod.z.boolean(),
|
|
8575
8884
|
"icon": _zod.z.string().nullish(),
|
|
@@ -8586,6 +8895,9 @@ var getItemDocumentTypeSearchQueryParams = _zod.z.object({
|
|
|
8586
8895
|
var getItemDocumentTypeSearchResponse = _zod.z.object({
|
|
8587
8896
|
"items": _zod.z.array(_zod.z.object({
|
|
8588
8897
|
"id": _zod.z.string().uuid(),
|
|
8898
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
8899
|
+
"alias": _zod.z.string()
|
|
8900
|
+
})),
|
|
8589
8901
|
"name": _zod.z.string(),
|
|
8590
8902
|
"isElement": _zod.z.boolean(),
|
|
8591
8903
|
"icon": _zod.z.string().nullish(),
|
|
@@ -8602,6 +8914,9 @@ var getTreeDocumentTypeAncestorsResponseItem = _zod.z.object({
|
|
|
8602
8914
|
"parent": _zod.z.object({
|
|
8603
8915
|
"id": _zod.z.string().uuid()
|
|
8604
8916
|
}).nullish(),
|
|
8917
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
8918
|
+
"alias": _zod.z.string()
|
|
8919
|
+
})),
|
|
8605
8920
|
"name": _zod.z.string(),
|
|
8606
8921
|
"isFolder": _zod.z.boolean(),
|
|
8607
8922
|
"isElement": _zod.z.boolean(),
|
|
@@ -8623,6 +8938,9 @@ var getTreeDocumentTypeChildrenResponse = _zod.z.object({
|
|
|
8623
8938
|
"parent": _zod.z.object({
|
|
8624
8939
|
"id": _zod.z.string().uuid()
|
|
8625
8940
|
}).nullish(),
|
|
8941
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
8942
|
+
"alias": _zod.z.string()
|
|
8943
|
+
})),
|
|
8626
8944
|
"name": _zod.z.string(),
|
|
8627
8945
|
"isFolder": _zod.z.boolean(),
|
|
8628
8946
|
"isElement": _zod.z.boolean(),
|
|
@@ -8643,6 +8961,33 @@ var getTreeDocumentTypeRootResponse = _zod.z.object({
|
|
|
8643
8961
|
"parent": _zod.z.object({
|
|
8644
8962
|
"id": _zod.z.string().uuid()
|
|
8645
8963
|
}).nullish(),
|
|
8964
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
8965
|
+
"alias": _zod.z.string()
|
|
8966
|
+
})),
|
|
8967
|
+
"name": _zod.z.string(),
|
|
8968
|
+
"isFolder": _zod.z.boolean(),
|
|
8969
|
+
"isElement": _zod.z.boolean(),
|
|
8970
|
+
"icon": _zod.z.string()
|
|
8971
|
+
}))
|
|
8972
|
+
});
|
|
8973
|
+
var getTreeDocumentTypeSiblingsQueryParams = _zod.z.object({
|
|
8974
|
+
"target": _zod.z.string().uuid().optional(),
|
|
8975
|
+
"before": _zod.z.coerce.number().optional(),
|
|
8976
|
+
"after": _zod.z.coerce.number().optional(),
|
|
8977
|
+
"foldersOnly": _zod.z.coerce.boolean().optional()
|
|
8978
|
+
});
|
|
8979
|
+
var getTreeDocumentTypeSiblingsResponse = _zod.z.object({
|
|
8980
|
+
"totalBefore": _zod.z.number(),
|
|
8981
|
+
"totalAfter": _zod.z.number(),
|
|
8982
|
+
"items": _zod.z.array(_zod.z.object({
|
|
8983
|
+
"hasChildren": _zod.z.boolean(),
|
|
8984
|
+
"id": _zod.z.string().uuid(),
|
|
8985
|
+
"parent": _zod.z.object({
|
|
8986
|
+
"id": _zod.z.string().uuid()
|
|
8987
|
+
}).nullish(),
|
|
8988
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
8989
|
+
"alias": _zod.z.string()
|
|
8990
|
+
})),
|
|
8646
8991
|
"name": _zod.z.string(),
|
|
8647
8992
|
"isFolder": _zod.z.boolean(),
|
|
8648
8993
|
"isElement": _zod.z.boolean(),
|
|
@@ -8692,12 +9037,19 @@ var getDocumentVersionByIdResponse = _zod.z.object({
|
|
|
8692
9037
|
"name": _zod.z.string().min(1),
|
|
8693
9038
|
"createDate": _zod.z.string().datetime({ "local": true }),
|
|
8694
9039
|
"updateDate": _zod.z.string().datetime({ "local": true }),
|
|
8695
|
-
"state": _zod.z.enum(["NotCreated", "Draft", "Published", "PublishedPendingChanges"]),
|
|
9040
|
+
"state": _zod.z.enum(["NotCreated", "Draft", "Published", "PublishedPendingChanges", "Trashed"]),
|
|
8696
9041
|
"publishDate": _zod.z.string().datetime({ "local": true }).nullish(),
|
|
8697
9042
|
"scheduledPublishDate": _zod.z.string().datetime({ "local": true }).nullish(),
|
|
8698
|
-
"scheduledUnpublishDate": _zod.z.string().datetime({ "local": true }).nullish()
|
|
9043
|
+
"scheduledUnpublishDate": _zod.z.string().datetime({ "local": true }).nullish(),
|
|
9044
|
+
"id": _zod.z.string().uuid(),
|
|
9045
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
9046
|
+
"alias": _zod.z.string()
|
|
9047
|
+
}))
|
|
8699
9048
|
})),
|
|
8700
9049
|
"id": _zod.z.string().uuid(),
|
|
9050
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
9051
|
+
"alias": _zod.z.string()
|
|
9052
|
+
})),
|
|
8701
9053
|
"documentType": _zod.z.object({
|
|
8702
9054
|
"id": _zod.z.string().uuid(),
|
|
8703
9055
|
"icon": _zod.z.string(),
|
|
@@ -8751,18 +9103,28 @@ var getCollectionDocumentByIdResponse = _zod.z.object({
|
|
|
8751
9103
|
"name": _zod.z.string().min(1),
|
|
8752
9104
|
"createDate": _zod.z.string().datetime({ "local": true }),
|
|
8753
9105
|
"updateDate": _zod.z.string().datetime({ "local": true }),
|
|
8754
|
-
"state": _zod.z.enum(["NotCreated", "Draft", "Published", "PublishedPendingChanges"]),
|
|
9106
|
+
"state": _zod.z.enum(["NotCreated", "Draft", "Published", "PublishedPendingChanges", "Trashed"]),
|
|
8755
9107
|
"publishDate": _zod.z.string().datetime({ "local": true }).nullish(),
|
|
8756
9108
|
"scheduledPublishDate": _zod.z.string().datetime({ "local": true }).nullish(),
|
|
8757
|
-
"scheduledUnpublishDate": _zod.z.string().datetime({ "local": true }).nullish()
|
|
9109
|
+
"scheduledUnpublishDate": _zod.z.string().datetime({ "local": true }).nullish(),
|
|
9110
|
+
"id": _zod.z.string().uuid(),
|
|
9111
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
9112
|
+
"alias": _zod.z.string()
|
|
9113
|
+
}))
|
|
8758
9114
|
})),
|
|
8759
9115
|
"id": _zod.z.string().uuid(),
|
|
9116
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
9117
|
+
"alias": _zod.z.string()
|
|
9118
|
+
})),
|
|
8760
9119
|
"creator": _zod.z.string().nullish(),
|
|
8761
9120
|
"sortOrder": _zod.z.number(),
|
|
8762
9121
|
"documentType": _zod.z.object({
|
|
8763
9122
|
"id": _zod.z.string().uuid(),
|
|
8764
9123
|
"alias": _zod.z.string(),
|
|
8765
|
-
"icon": _zod.z.string()
|
|
9124
|
+
"icon": _zod.z.string(),
|
|
9125
|
+
"collection": _zod.z.object({
|
|
9126
|
+
"id": _zod.z.string().uuid()
|
|
9127
|
+
}).nullish()
|
|
8766
9128
|
}),
|
|
8767
9129
|
"isTrashed": _zod.z.boolean(),
|
|
8768
9130
|
"isProtected": _zod.z.boolean(),
|
|
@@ -8812,12 +9174,19 @@ var getDocumentByIdResponse = _zod.z.object({
|
|
|
8812
9174
|
"name": _zod.z.string().min(1),
|
|
8813
9175
|
"createDate": _zod.z.string().datetime({ "local": true }),
|
|
8814
9176
|
"updateDate": _zod.z.string().datetime({ "local": true }),
|
|
8815
|
-
"state": _zod.z.enum(["NotCreated", "Draft", "Published", "PublishedPendingChanges"]),
|
|
9177
|
+
"state": _zod.z.enum(["NotCreated", "Draft", "Published", "PublishedPendingChanges", "Trashed"]),
|
|
8816
9178
|
"publishDate": _zod.z.string().datetime({ "local": true }).nullish(),
|
|
8817
9179
|
"scheduledPublishDate": _zod.z.string().datetime({ "local": true }).nullish(),
|
|
8818
|
-
"scheduledUnpublishDate": _zod.z.string().datetime({ "local": true }).nullish()
|
|
9180
|
+
"scheduledUnpublishDate": _zod.z.string().datetime({ "local": true }).nullish(),
|
|
9181
|
+
"id": _zod.z.string().uuid(),
|
|
9182
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
9183
|
+
"alias": _zod.z.string()
|
|
9184
|
+
}))
|
|
8819
9185
|
})),
|
|
8820
9186
|
"id": _zod.z.string().uuid(),
|
|
9187
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
9188
|
+
"alias": _zod.z.string()
|
|
9189
|
+
})),
|
|
8821
9190
|
"documentType": _zod.z.object({
|
|
8822
9191
|
"id": _zod.z.string().uuid(),
|
|
8823
9192
|
"icon": _zod.z.string(),
|
|
@@ -8825,10 +9194,6 @@ var getDocumentByIdResponse = _zod.z.object({
|
|
|
8825
9194
|
"id": _zod.z.string().uuid()
|
|
8826
9195
|
}).nullish()
|
|
8827
9196
|
}),
|
|
8828
|
-
"urls": _zod.z.array(_zod.z.object({
|
|
8829
|
-
"culture": _zod.z.string().nullable(),
|
|
8830
|
-
"url": _zod.z.string()
|
|
8831
|
-
})),
|
|
8832
9197
|
"template": _zod.z.object({
|
|
8833
9198
|
"id": _zod.z.string().uuid()
|
|
8834
9199
|
}).nullish(),
|
|
@@ -8878,6 +9243,22 @@ var getDocumentByIdAuditLogResponse = _zod.z.object({
|
|
|
8878
9243
|
"parameters": _zod.z.string().nullish()
|
|
8879
9244
|
}))
|
|
8880
9245
|
});
|
|
9246
|
+
var getDocumentByIdAvailableSegmentOptionsParams = _zod.z.object({
|
|
9247
|
+
"id": _zod.z.string().uuid()
|
|
9248
|
+
});
|
|
9249
|
+
var getDocumentByIdAvailableSegmentOptionsQueryTakeDefault = 100;
|
|
9250
|
+
var getDocumentByIdAvailableSegmentOptionsQueryParams = _zod.z.object({
|
|
9251
|
+
"skip": _zod.z.coerce.number().optional(),
|
|
9252
|
+
"take": _zod.z.coerce.number().default(getDocumentByIdAvailableSegmentOptionsQueryTakeDefault)
|
|
9253
|
+
});
|
|
9254
|
+
var getDocumentByIdAvailableSegmentOptionsResponse = _zod.z.object({
|
|
9255
|
+
"total": _zod.z.number(),
|
|
9256
|
+
"items": _zod.z.array(_zod.z.object({
|
|
9257
|
+
"name": _zod.z.string(),
|
|
9258
|
+
"alias": _zod.z.string(),
|
|
9259
|
+
"cultures": _zod.z.array(_zod.z.string()).nullish()
|
|
9260
|
+
}))
|
|
9261
|
+
});
|
|
8881
9262
|
var postDocumentByIdCopyParams = _zod.z.object({
|
|
8882
9263
|
"id": _zod.z.string().uuid()
|
|
8883
9264
|
});
|
|
@@ -8934,6 +9315,20 @@ var putDocumentByIdNotificationsParams = _zod.z.object({
|
|
|
8934
9315
|
var putDocumentByIdNotificationsBody = _zod.z.object({
|
|
8935
9316
|
"subscribedActionIds": _zod.z.array(_zod.z.string())
|
|
8936
9317
|
});
|
|
9318
|
+
var getDocumentByIdPreviewUrlParams = _zod.z.object({
|
|
9319
|
+
"id": _zod.z.string().uuid()
|
|
9320
|
+
});
|
|
9321
|
+
var getDocumentByIdPreviewUrlQueryParams = _zod.z.object({
|
|
9322
|
+
"providerAlias": _zod.z.string().optional(),
|
|
9323
|
+
"culture": _zod.z.string().optional(),
|
|
9324
|
+
"segment": _zod.z.string().optional()
|
|
9325
|
+
});
|
|
9326
|
+
var getDocumentByIdPreviewUrlResponse = _zod.z.object({
|
|
9327
|
+
"culture": _zod.z.string().nullable(),
|
|
9328
|
+
"url": _zod.z.string().nullable(),
|
|
9329
|
+
"message": _zod.z.string().nullable(),
|
|
9330
|
+
"provider": _zod.z.string()
|
|
9331
|
+
});
|
|
8937
9332
|
var postDocumentByIdPublicAccessParams = _zod.z.object({
|
|
8938
9333
|
"id": _zod.z.string().uuid()
|
|
8939
9334
|
});
|
|
@@ -8962,6 +9357,9 @@ var getDocumentByIdPublicAccessResponse = _zod.z.object({
|
|
|
8962
9357
|
}),
|
|
8963
9358
|
"members": _zod.z.array(_zod.z.object({
|
|
8964
9359
|
"id": _zod.z.string().uuid(),
|
|
9360
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
9361
|
+
"alias": _zod.z.string()
|
|
9362
|
+
})),
|
|
8965
9363
|
"memberType": _zod.z.object({
|
|
8966
9364
|
"id": _zod.z.string().uuid(),
|
|
8967
9365
|
"icon": _zod.z.string(),
|
|
@@ -8977,6 +9375,9 @@ var getDocumentByIdPublicAccessResponse = _zod.z.object({
|
|
|
8977
9375
|
})),
|
|
8978
9376
|
"groups": _zod.z.array(_zod.z.object({
|
|
8979
9377
|
"id": _zod.z.string().uuid(),
|
|
9378
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
9379
|
+
"alias": _zod.z.string()
|
|
9380
|
+
})),
|
|
8980
9381
|
"name": _zod.z.string()
|
|
8981
9382
|
}))
|
|
8982
9383
|
});
|
|
@@ -9041,12 +9442,19 @@ var getDocumentByIdPublishedResponse = _zod.z.object({
|
|
|
9041
9442
|
"name": _zod.z.string().min(1),
|
|
9042
9443
|
"createDate": _zod.z.string().datetime({ "local": true }),
|
|
9043
9444
|
"updateDate": _zod.z.string().datetime({ "local": true }),
|
|
9044
|
-
"state": _zod.z.enum(["NotCreated", "Draft", "Published", "PublishedPendingChanges"]),
|
|
9445
|
+
"state": _zod.z.enum(["NotCreated", "Draft", "Published", "PublishedPendingChanges", "Trashed"]),
|
|
9045
9446
|
"publishDate": _zod.z.string().datetime({ "local": true }).nullish(),
|
|
9046
9447
|
"scheduledPublishDate": _zod.z.string().datetime({ "local": true }).nullish(),
|
|
9047
|
-
"scheduledUnpublishDate": _zod.z.string().datetime({ "local": true }).nullish()
|
|
9448
|
+
"scheduledUnpublishDate": _zod.z.string().datetime({ "local": true }).nullish(),
|
|
9449
|
+
"id": _zod.z.string().uuid(),
|
|
9450
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
9451
|
+
"alias": _zod.z.string()
|
|
9452
|
+
}))
|
|
9048
9453
|
})),
|
|
9049
9454
|
"id": _zod.z.string().uuid(),
|
|
9455
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
9456
|
+
"alias": _zod.z.string()
|
|
9457
|
+
})),
|
|
9050
9458
|
"documentType": _zod.z.object({
|
|
9051
9459
|
"id": _zod.z.string().uuid(),
|
|
9052
9460
|
"icon": _zod.z.string(),
|
|
@@ -9054,10 +9462,6 @@ var getDocumentByIdPublishedResponse = _zod.z.object({
|
|
|
9054
9462
|
"id": _zod.z.string().uuid()
|
|
9055
9463
|
}).nullish()
|
|
9056
9464
|
}),
|
|
9057
|
-
"urls": _zod.z.array(_zod.z.object({
|
|
9058
|
-
"culture": _zod.z.string().nullable(),
|
|
9059
|
-
"url": _zod.z.string()
|
|
9060
|
-
})),
|
|
9061
9465
|
"template": _zod.z.object({
|
|
9062
9466
|
"id": _zod.z.string().uuid()
|
|
9063
9467
|
}).nullish(),
|
|
@@ -9093,7 +9497,11 @@ var getDocumentByIdReferencedByResponse = _zod.z.object({
|
|
|
9093
9497
|
"variants": _zod.z.array(_zod.z.object({
|
|
9094
9498
|
"name": _zod.z.string(),
|
|
9095
9499
|
"culture": _zod.z.string().nullish(),
|
|
9096
|
-
"
|
|
9500
|
+
"id": _zod.z.string().uuid(),
|
|
9501
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
9502
|
+
"alias": _zod.z.string()
|
|
9503
|
+
})),
|
|
9504
|
+
"state": _zod.z.enum(["NotCreated", "Draft", "Published", "PublishedPendingChanges", "Trashed"])
|
|
9097
9505
|
}))
|
|
9098
9506
|
})).or(_zod.z.object({
|
|
9099
9507
|
"$type": _zod.z.enum(["DocumentTypePropertyTypeReferenceResponseModel"]),
|
|
@@ -9224,7 +9632,9 @@ var getDocumentUrlsResponseItem = _zod.z.object({
|
|
|
9224
9632
|
"id": _zod.z.string().uuid(),
|
|
9225
9633
|
"urlInfos": _zod.z.array(_zod.z.object({
|
|
9226
9634
|
"culture": _zod.z.string().nullable(),
|
|
9227
|
-
"url": _zod.z.string()
|
|
9635
|
+
"url": _zod.z.string().nullable(),
|
|
9636
|
+
"message": _zod.z.string().nullable(),
|
|
9637
|
+
"provider": _zod.z.string()
|
|
9228
9638
|
}))
|
|
9229
9639
|
});
|
|
9230
9640
|
var getDocumentUrlsResponse = _zod.z.array(getDocumentUrlsResponseItem);
|
|
@@ -9256,6 +9666,9 @@ var getItemDocumentQueryParams = _zod.z.object({
|
|
|
9256
9666
|
});
|
|
9257
9667
|
var getItemDocumentResponseItem = _zod.z.object({
|
|
9258
9668
|
"id": _zod.z.string().uuid(),
|
|
9669
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
9670
|
+
"alias": _zod.z.string()
|
|
9671
|
+
})),
|
|
9259
9672
|
"isTrashed": _zod.z.boolean(),
|
|
9260
9673
|
"isProtected": _zod.z.boolean(),
|
|
9261
9674
|
"parent": _zod.z.object({
|
|
@@ -9272,7 +9685,11 @@ var getItemDocumentResponseItem = _zod.z.object({
|
|
|
9272
9685
|
"variants": _zod.z.array(_zod.z.object({
|
|
9273
9686
|
"name": _zod.z.string(),
|
|
9274
9687
|
"culture": _zod.z.string().nullish(),
|
|
9275
|
-
"
|
|
9688
|
+
"id": _zod.z.string().uuid(),
|
|
9689
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
9690
|
+
"alias": _zod.z.string()
|
|
9691
|
+
})),
|
|
9692
|
+
"state": _zod.z.enum(["NotCreated", "Draft", "Published", "PublishedPendingChanges", "Trashed"])
|
|
9276
9693
|
}))
|
|
9277
9694
|
});
|
|
9278
9695
|
var getItemDocumentResponse = _zod.z.array(getItemDocumentResponseItem);
|
|
@@ -9284,11 +9701,15 @@ var getItemDocumentSearchQueryParams = _zod.z.object({
|
|
|
9284
9701
|
"skip": _zod.z.coerce.number().optional(),
|
|
9285
9702
|
"take": _zod.z.coerce.number().default(getItemDocumentSearchQueryTakeDefault),
|
|
9286
9703
|
"parentId": _zod.z.string().uuid().optional(),
|
|
9287
|
-
"allowedDocumentTypes": _zod.z.array(_zod.z.string().uuid()).optional()
|
|
9704
|
+
"allowedDocumentTypes": _zod.z.array(_zod.z.string().uuid()).optional(),
|
|
9705
|
+
"dataTypeId": _zod.z.string().uuid().optional()
|
|
9288
9706
|
});
|
|
9289
9707
|
var getItemDocumentSearchResponse = _zod.z.object({
|
|
9290
9708
|
"items": _zod.z.array(_zod.z.object({
|
|
9291
9709
|
"id": _zod.z.string().uuid(),
|
|
9710
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
9711
|
+
"alias": _zod.z.string()
|
|
9712
|
+
})),
|
|
9292
9713
|
"isTrashed": _zod.z.boolean(),
|
|
9293
9714
|
"isProtected": _zod.z.boolean(),
|
|
9294
9715
|
"parent": _zod.z.object({
|
|
@@ -9305,7 +9726,11 @@ var getItemDocumentSearchResponse = _zod.z.object({
|
|
|
9305
9726
|
"variants": _zod.z.array(_zod.z.object({
|
|
9306
9727
|
"name": _zod.z.string(),
|
|
9307
9728
|
"culture": _zod.z.string().nullish(),
|
|
9308
|
-
"
|
|
9729
|
+
"id": _zod.z.string().uuid(),
|
|
9730
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
9731
|
+
"alias": _zod.z.string()
|
|
9732
|
+
})),
|
|
9733
|
+
"state": _zod.z.enum(["NotCreated", "Draft", "Published", "PublishedPendingChanges", "Trashed"])
|
|
9309
9734
|
}))
|
|
9310
9735
|
})),
|
|
9311
9736
|
"total": _zod.z.number()
|
|
@@ -9352,7 +9777,11 @@ var getRecycleBinDocumentChildrenResponse = _zod.z.object({
|
|
|
9352
9777
|
"variants": _zod.z.array(_zod.z.object({
|
|
9353
9778
|
"name": _zod.z.string(),
|
|
9354
9779
|
"culture": _zod.z.string().nullish(),
|
|
9355
|
-
"
|
|
9780
|
+
"id": _zod.z.string().uuid(),
|
|
9781
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
9782
|
+
"alias": _zod.z.string()
|
|
9783
|
+
})),
|
|
9784
|
+
"state": _zod.z.enum(["NotCreated", "Draft", "Published", "PublishedPendingChanges", "Trashed"])
|
|
9356
9785
|
}))
|
|
9357
9786
|
}))
|
|
9358
9787
|
});
|
|
@@ -9383,7 +9812,11 @@ var getRecycleBinDocumentReferencedByResponse = _zod.z.object({
|
|
|
9383
9812
|
"variants": _zod.z.array(_zod.z.object({
|
|
9384
9813
|
"name": _zod.z.string(),
|
|
9385
9814
|
"culture": _zod.z.string().nullish(),
|
|
9386
|
-
"
|
|
9815
|
+
"id": _zod.z.string().uuid(),
|
|
9816
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
9817
|
+
"alias": _zod.z.string()
|
|
9818
|
+
})),
|
|
9819
|
+
"state": _zod.z.enum(["NotCreated", "Draft", "Published", "PublishedPendingChanges", "Trashed"])
|
|
9387
9820
|
}))
|
|
9388
9821
|
})).or(_zod.z.object({
|
|
9389
9822
|
"$type": _zod.z.enum(["DocumentTypePropertyTypeReferenceResponseModel"]),
|
|
@@ -9464,7 +9897,45 @@ var getRecycleBinDocumentRootResponse = _zod.z.object({
|
|
|
9464
9897
|
"variants": _zod.z.array(_zod.z.object({
|
|
9465
9898
|
"name": _zod.z.string(),
|
|
9466
9899
|
"culture": _zod.z.string().nullish(),
|
|
9467
|
-
"
|
|
9900
|
+
"id": _zod.z.string().uuid(),
|
|
9901
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
9902
|
+
"alias": _zod.z.string()
|
|
9903
|
+
})),
|
|
9904
|
+
"state": _zod.z.enum(["NotCreated", "Draft", "Published", "PublishedPendingChanges", "Trashed"])
|
|
9905
|
+
}))
|
|
9906
|
+
}))
|
|
9907
|
+
});
|
|
9908
|
+
var getRecycleBinDocumentSiblingsQueryParams = _zod.z.object({
|
|
9909
|
+
"target": _zod.z.string().uuid().optional(),
|
|
9910
|
+
"before": _zod.z.coerce.number().optional(),
|
|
9911
|
+
"after": _zod.z.coerce.number().optional(),
|
|
9912
|
+
"dataTypeId": _zod.z.string().uuid().optional()
|
|
9913
|
+
});
|
|
9914
|
+
var getRecycleBinDocumentSiblingsResponse = _zod.z.object({
|
|
9915
|
+
"totalBefore": _zod.z.number(),
|
|
9916
|
+
"totalAfter": _zod.z.number(),
|
|
9917
|
+
"items": _zod.z.array(_zod.z.object({
|
|
9918
|
+
"id": _zod.z.string().uuid(),
|
|
9919
|
+
"createDate": _zod.z.string().datetime({ "local": true }),
|
|
9920
|
+
"hasChildren": _zod.z.boolean(),
|
|
9921
|
+
"parent": _zod.z.object({
|
|
9922
|
+
"id": _zod.z.string().uuid()
|
|
9923
|
+
}).nullish(),
|
|
9924
|
+
"documentType": _zod.z.object({
|
|
9925
|
+
"id": _zod.z.string().uuid(),
|
|
9926
|
+
"icon": _zod.z.string(),
|
|
9927
|
+
"collection": _zod.z.object({
|
|
9928
|
+
"id": _zod.z.string().uuid()
|
|
9929
|
+
}).nullish()
|
|
9930
|
+
}),
|
|
9931
|
+
"variants": _zod.z.array(_zod.z.object({
|
|
9932
|
+
"name": _zod.z.string(),
|
|
9933
|
+
"culture": _zod.z.string().nullish(),
|
|
9934
|
+
"id": _zod.z.string().uuid(),
|
|
9935
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
9936
|
+
"alias": _zod.z.string()
|
|
9937
|
+
})),
|
|
9938
|
+
"state": _zod.z.enum(["NotCreated", "Draft", "Published", "PublishedPendingChanges", "Trashed"])
|
|
9468
9939
|
}))
|
|
9469
9940
|
}))
|
|
9470
9941
|
});
|
|
@@ -9473,12 +9944,15 @@ var getTreeDocumentAncestorsQueryParams = _zod.z.object({
|
|
|
9473
9944
|
});
|
|
9474
9945
|
var getTreeDocumentAncestorsResponseItem = _zod.z.object({
|
|
9475
9946
|
"hasChildren": _zod.z.boolean(),
|
|
9947
|
+
"id": _zod.z.string().uuid(),
|
|
9476
9948
|
"parent": _zod.z.object({
|
|
9477
9949
|
"id": _zod.z.string().uuid()
|
|
9478
9950
|
}).nullish(),
|
|
9951
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
9952
|
+
"alias": _zod.z.string()
|
|
9953
|
+
})),
|
|
9479
9954
|
"noAccess": _zod.z.boolean(),
|
|
9480
9955
|
"isTrashed": _zod.z.boolean(),
|
|
9481
|
-
"id": _zod.z.string().uuid(),
|
|
9482
9956
|
"createDate": _zod.z.string().datetime({ "local": true }),
|
|
9483
9957
|
"isProtected": _zod.z.boolean(),
|
|
9484
9958
|
"ancestors": _zod.z.array(_zod.z.object({
|
|
@@ -9494,7 +9968,11 @@ var getTreeDocumentAncestorsResponseItem = _zod.z.object({
|
|
|
9494
9968
|
"variants": _zod.z.array(_zod.z.object({
|
|
9495
9969
|
"name": _zod.z.string(),
|
|
9496
9970
|
"culture": _zod.z.string().nullish(),
|
|
9497
|
-
"
|
|
9971
|
+
"id": _zod.z.string().uuid(),
|
|
9972
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
9973
|
+
"alias": _zod.z.string()
|
|
9974
|
+
})),
|
|
9975
|
+
"state": _zod.z.enum(["NotCreated", "Draft", "Published", "PublishedPendingChanges", "Trashed"])
|
|
9498
9976
|
}))
|
|
9499
9977
|
});
|
|
9500
9978
|
var getTreeDocumentAncestorsResponse = _zod.z.array(getTreeDocumentAncestorsResponseItem);
|
|
@@ -9509,12 +9987,15 @@ var getTreeDocumentChildrenResponse = _zod.z.object({
|
|
|
9509
9987
|
"total": _zod.z.number(),
|
|
9510
9988
|
"items": _zod.z.array(_zod.z.object({
|
|
9511
9989
|
"hasChildren": _zod.z.boolean(),
|
|
9990
|
+
"id": _zod.z.string().uuid(),
|
|
9512
9991
|
"parent": _zod.z.object({
|
|
9513
9992
|
"id": _zod.z.string().uuid()
|
|
9514
9993
|
}).nullish(),
|
|
9994
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
9995
|
+
"alias": _zod.z.string()
|
|
9996
|
+
})),
|
|
9515
9997
|
"noAccess": _zod.z.boolean(),
|
|
9516
9998
|
"isTrashed": _zod.z.boolean(),
|
|
9517
|
-
"id": _zod.z.string().uuid(),
|
|
9518
9999
|
"createDate": _zod.z.string().datetime({ "local": true }),
|
|
9519
10000
|
"isProtected": _zod.z.boolean(),
|
|
9520
10001
|
"ancestors": _zod.z.array(_zod.z.object({
|
|
@@ -9530,7 +10011,11 @@ var getTreeDocumentChildrenResponse = _zod.z.object({
|
|
|
9530
10011
|
"variants": _zod.z.array(_zod.z.object({
|
|
9531
10012
|
"name": _zod.z.string(),
|
|
9532
10013
|
"culture": _zod.z.string().nullish(),
|
|
9533
|
-
"
|
|
10014
|
+
"id": _zod.z.string().uuid(),
|
|
10015
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
10016
|
+
"alias": _zod.z.string()
|
|
10017
|
+
})),
|
|
10018
|
+
"state": _zod.z.enum(["NotCreated", "Draft", "Published", "PublishedPendingChanges", "Trashed"])
|
|
9534
10019
|
}))
|
|
9535
10020
|
}))
|
|
9536
10021
|
});
|
|
@@ -9544,12 +10029,58 @@ var getTreeDocumentRootResponse = _zod.z.object({
|
|
|
9544
10029
|
"total": _zod.z.number(),
|
|
9545
10030
|
"items": _zod.z.array(_zod.z.object({
|
|
9546
10031
|
"hasChildren": _zod.z.boolean(),
|
|
10032
|
+
"id": _zod.z.string().uuid(),
|
|
9547
10033
|
"parent": _zod.z.object({
|
|
9548
10034
|
"id": _zod.z.string().uuid()
|
|
9549
10035
|
}).nullish(),
|
|
10036
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
10037
|
+
"alias": _zod.z.string()
|
|
10038
|
+
})),
|
|
9550
10039
|
"noAccess": _zod.z.boolean(),
|
|
9551
10040
|
"isTrashed": _zod.z.boolean(),
|
|
10041
|
+
"createDate": _zod.z.string().datetime({ "local": true }),
|
|
10042
|
+
"isProtected": _zod.z.boolean(),
|
|
10043
|
+
"ancestors": _zod.z.array(_zod.z.object({
|
|
10044
|
+
"id": _zod.z.string().uuid()
|
|
10045
|
+
})),
|
|
10046
|
+
"documentType": _zod.z.object({
|
|
10047
|
+
"id": _zod.z.string().uuid(),
|
|
10048
|
+
"icon": _zod.z.string(),
|
|
10049
|
+
"collection": _zod.z.object({
|
|
10050
|
+
"id": _zod.z.string().uuid()
|
|
10051
|
+
}).nullish()
|
|
10052
|
+
}),
|
|
10053
|
+
"variants": _zod.z.array(_zod.z.object({
|
|
10054
|
+
"name": _zod.z.string(),
|
|
10055
|
+
"culture": _zod.z.string().nullish(),
|
|
10056
|
+
"id": _zod.z.string().uuid(),
|
|
10057
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
10058
|
+
"alias": _zod.z.string()
|
|
10059
|
+
})),
|
|
10060
|
+
"state": _zod.z.enum(["NotCreated", "Draft", "Published", "PublishedPendingChanges", "Trashed"])
|
|
10061
|
+
}))
|
|
10062
|
+
}))
|
|
10063
|
+
});
|
|
10064
|
+
var getTreeDocumentSiblingsQueryParams = _zod.z.object({
|
|
10065
|
+
"target": _zod.z.string().uuid().optional(),
|
|
10066
|
+
"before": _zod.z.coerce.number().optional(),
|
|
10067
|
+
"after": _zod.z.coerce.number().optional(),
|
|
10068
|
+
"dataTypeId": _zod.z.string().uuid().optional()
|
|
10069
|
+
});
|
|
10070
|
+
var getTreeDocumentSiblingsResponse = _zod.z.object({
|
|
10071
|
+
"totalBefore": _zod.z.number(),
|
|
10072
|
+
"totalAfter": _zod.z.number(),
|
|
10073
|
+
"items": _zod.z.array(_zod.z.object({
|
|
10074
|
+
"hasChildren": _zod.z.boolean(),
|
|
9552
10075
|
"id": _zod.z.string().uuid(),
|
|
10076
|
+
"parent": _zod.z.object({
|
|
10077
|
+
"id": _zod.z.string().uuid()
|
|
10078
|
+
}).nullish(),
|
|
10079
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
10080
|
+
"alias": _zod.z.string()
|
|
10081
|
+
})),
|
|
10082
|
+
"noAccess": _zod.z.boolean(),
|
|
10083
|
+
"isTrashed": _zod.z.boolean(),
|
|
9553
10084
|
"createDate": _zod.z.string().datetime({ "local": true }),
|
|
9554
10085
|
"isProtected": _zod.z.boolean(),
|
|
9555
10086
|
"ancestors": _zod.z.array(_zod.z.object({
|
|
@@ -9565,7 +10096,11 @@ var getTreeDocumentRootResponse = _zod.z.object({
|
|
|
9565
10096
|
"variants": _zod.z.array(_zod.z.object({
|
|
9566
10097
|
"name": _zod.z.string(),
|
|
9567
10098
|
"culture": _zod.z.string().nullish(),
|
|
9568
|
-
"
|
|
10099
|
+
"id": _zod.z.string().uuid(),
|
|
10100
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
10101
|
+
"alias": _zod.z.string()
|
|
10102
|
+
})),
|
|
10103
|
+
"state": _zod.z.enum(["NotCreated", "Draft", "Published", "PublishedPendingChanges", "Trashed"])
|
|
9569
10104
|
}))
|
|
9570
10105
|
}))
|
|
9571
10106
|
});
|
|
@@ -9703,7 +10238,7 @@ var getImagingResizeUrlsResponseItem = _zod.z.object({
|
|
|
9703
10238
|
"id": _zod.z.string().uuid(),
|
|
9704
10239
|
"urlInfos": _zod.z.array(_zod.z.object({
|
|
9705
10240
|
"culture": _zod.z.string().nullable(),
|
|
9706
|
-
"url": _zod.z.string()
|
|
10241
|
+
"url": _zod.z.string().nullable()
|
|
9707
10242
|
}))
|
|
9708
10243
|
});
|
|
9709
10244
|
var getImagingResizeUrlsResponse = _zod.z.array(getImagingResizeUrlsResponseItem);
|
|
@@ -9773,6 +10308,7 @@ var getInstallSettingsResponse = _zod.z.object({
|
|
|
9773
10308
|
"serverPlaceholder": _zod.z.string().min(1),
|
|
9774
10309
|
"requiresCredentials": _zod.z.boolean(),
|
|
9775
10310
|
"supportsIntegratedAuthentication": _zod.z.boolean(),
|
|
10311
|
+
"supportsTrustServerCertificate": _zod.z.boolean(),
|
|
9776
10312
|
"requiresConnectionTest": _zod.z.boolean()
|
|
9777
10313
|
}))
|
|
9778
10314
|
});
|
|
@@ -9982,6 +10518,9 @@ var getItemMediaTypeQueryParams = _zod.z.object({
|
|
|
9982
10518
|
});
|
|
9983
10519
|
var getItemMediaTypeResponseItem = _zod.z.object({
|
|
9984
10520
|
"id": _zod.z.string().uuid(),
|
|
10521
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
10522
|
+
"alias": _zod.z.string()
|
|
10523
|
+
})),
|
|
9985
10524
|
"name": _zod.z.string(),
|
|
9986
10525
|
"icon": _zod.z.string().nullish()
|
|
9987
10526
|
});
|
|
@@ -9995,6 +10534,9 @@ var getItemMediaTypeAllowedQueryParams = _zod.z.object({
|
|
|
9995
10534
|
var getItemMediaTypeAllowedResponse = _zod.z.object({
|
|
9996
10535
|
"items": _zod.z.array(_zod.z.object({
|
|
9997
10536
|
"id": _zod.z.string().uuid(),
|
|
10537
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
10538
|
+
"alias": _zod.z.string()
|
|
10539
|
+
})),
|
|
9998
10540
|
"name": _zod.z.string(),
|
|
9999
10541
|
"icon": _zod.z.string().nullish()
|
|
10000
10542
|
})),
|
|
@@ -10008,6 +10550,9 @@ var getItemMediaTypeFoldersQueryParams = _zod.z.object({
|
|
|
10008
10550
|
var getItemMediaTypeFoldersResponse = _zod.z.object({
|
|
10009
10551
|
"items": _zod.z.array(_zod.z.object({
|
|
10010
10552
|
"id": _zod.z.string().uuid(),
|
|
10553
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
10554
|
+
"alias": _zod.z.string()
|
|
10555
|
+
})),
|
|
10011
10556
|
"name": _zod.z.string(),
|
|
10012
10557
|
"icon": _zod.z.string().nullish()
|
|
10013
10558
|
})),
|
|
@@ -10022,6 +10567,9 @@ var getItemMediaTypeSearchQueryParams = _zod.z.object({
|
|
|
10022
10567
|
var getItemMediaTypeSearchResponse = _zod.z.object({
|
|
10023
10568
|
"items": _zod.z.array(_zod.z.object({
|
|
10024
10569
|
"id": _zod.z.string().uuid(),
|
|
10570
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
10571
|
+
"alias": _zod.z.string()
|
|
10572
|
+
})),
|
|
10025
10573
|
"name": _zod.z.string(),
|
|
10026
10574
|
"icon": _zod.z.string().nullish()
|
|
10027
10575
|
})),
|
|
@@ -10339,6 +10887,9 @@ var getTreeMediaTypeAncestorsResponseItem = _zod.z.object({
|
|
|
10339
10887
|
"parent": _zod.z.object({
|
|
10340
10888
|
"id": _zod.z.string().uuid()
|
|
10341
10889
|
}).nullish(),
|
|
10890
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
10891
|
+
"alias": _zod.z.string()
|
|
10892
|
+
})),
|
|
10342
10893
|
"name": _zod.z.string(),
|
|
10343
10894
|
"isFolder": _zod.z.boolean(),
|
|
10344
10895
|
"icon": _zod.z.string(),
|
|
@@ -10360,6 +10911,9 @@ var getTreeMediaTypeChildrenResponse = _zod.z.object({
|
|
|
10360
10911
|
"parent": _zod.z.object({
|
|
10361
10912
|
"id": _zod.z.string().uuid()
|
|
10362
10913
|
}).nullish(),
|
|
10914
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
10915
|
+
"alias": _zod.z.string()
|
|
10916
|
+
})),
|
|
10363
10917
|
"name": _zod.z.string(),
|
|
10364
10918
|
"isFolder": _zod.z.boolean(),
|
|
10365
10919
|
"icon": _zod.z.string(),
|
|
@@ -10380,6 +10934,33 @@ var getTreeMediaTypeRootResponse = _zod.z.object({
|
|
|
10380
10934
|
"parent": _zod.z.object({
|
|
10381
10935
|
"id": _zod.z.string().uuid()
|
|
10382
10936
|
}).nullish(),
|
|
10937
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
10938
|
+
"alias": _zod.z.string()
|
|
10939
|
+
})),
|
|
10940
|
+
"name": _zod.z.string(),
|
|
10941
|
+
"isFolder": _zod.z.boolean(),
|
|
10942
|
+
"icon": _zod.z.string(),
|
|
10943
|
+
"isDeletable": _zod.z.boolean()
|
|
10944
|
+
}))
|
|
10945
|
+
});
|
|
10946
|
+
var getTreeMediaTypeSiblingsQueryParams = _zod.z.object({
|
|
10947
|
+
"target": _zod.z.string().uuid().optional(),
|
|
10948
|
+
"before": _zod.z.coerce.number().optional(),
|
|
10949
|
+
"after": _zod.z.coerce.number().optional(),
|
|
10950
|
+
"foldersOnly": _zod.z.coerce.boolean().optional()
|
|
10951
|
+
});
|
|
10952
|
+
var getTreeMediaTypeSiblingsResponse = _zod.z.object({
|
|
10953
|
+
"totalBefore": _zod.z.number(),
|
|
10954
|
+
"totalAfter": _zod.z.number(),
|
|
10955
|
+
"items": _zod.z.array(_zod.z.object({
|
|
10956
|
+
"hasChildren": _zod.z.boolean(),
|
|
10957
|
+
"id": _zod.z.string().uuid(),
|
|
10958
|
+
"parent": _zod.z.object({
|
|
10959
|
+
"id": _zod.z.string().uuid()
|
|
10960
|
+
}).nullish(),
|
|
10961
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
10962
|
+
"alias": _zod.z.string()
|
|
10963
|
+
})),
|
|
10383
10964
|
"name": _zod.z.string(),
|
|
10384
10965
|
"isFolder": _zod.z.boolean(),
|
|
10385
10966
|
"icon": _zod.z.string(),
|
|
@@ -10415,12 +10996,18 @@ var getCollectionMediaResponse = _zod.z.object({
|
|
|
10415
10996
|
"updateDate": _zod.z.string().datetime({ "local": true })
|
|
10416
10997
|
})),
|
|
10417
10998
|
"id": _zod.z.string().uuid(),
|
|
10999
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
11000
|
+
"alias": _zod.z.string()
|
|
11001
|
+
})),
|
|
10418
11002
|
"creator": _zod.z.string().nullish(),
|
|
10419
11003
|
"sortOrder": _zod.z.number(),
|
|
10420
11004
|
"mediaType": _zod.z.object({
|
|
10421
11005
|
"id": _zod.z.string().uuid(),
|
|
10422
11006
|
"alias": _zod.z.string(),
|
|
10423
|
-
"icon": _zod.z.string()
|
|
11007
|
+
"icon": _zod.z.string(),
|
|
11008
|
+
"collection": _zod.z.object({
|
|
11009
|
+
"id": _zod.z.string().uuid()
|
|
11010
|
+
}).nullish()
|
|
10424
11011
|
})
|
|
10425
11012
|
}))
|
|
10426
11013
|
});
|
|
@@ -10429,6 +11016,9 @@ var getItemMediaQueryParams = _zod.z.object({
|
|
|
10429
11016
|
});
|
|
10430
11017
|
var getItemMediaResponseItem = _zod.z.object({
|
|
10431
11018
|
"id": _zod.z.string().uuid(),
|
|
11019
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
11020
|
+
"alias": _zod.z.string()
|
|
11021
|
+
})),
|
|
10432
11022
|
"isTrashed": _zod.z.boolean(),
|
|
10433
11023
|
"parent": _zod.z.object({
|
|
10434
11024
|
"id": _zod.z.string().uuid()
|
|
@@ -10455,11 +11045,15 @@ var getItemMediaSearchQueryParams = _zod.z.object({
|
|
|
10455
11045
|
"skip": _zod.z.coerce.number().optional(),
|
|
10456
11046
|
"take": _zod.z.coerce.number().default(getItemMediaSearchQueryTakeDefault),
|
|
10457
11047
|
"parentId": _zod.z.string().uuid().optional(),
|
|
10458
|
-
"allowedMediaTypes": _zod.z.array(_zod.z.string().uuid()).optional()
|
|
11048
|
+
"allowedMediaTypes": _zod.z.array(_zod.z.string().uuid()).optional(),
|
|
11049
|
+
"dataTypeId": _zod.z.string().uuid().optional()
|
|
10459
11050
|
});
|
|
10460
11051
|
var getItemMediaSearchResponse = _zod.z.object({
|
|
10461
11052
|
"items": _zod.z.array(_zod.z.object({
|
|
10462
11053
|
"id": _zod.z.string().uuid(),
|
|
11054
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
11055
|
+
"alias": _zod.z.string()
|
|
11056
|
+
})),
|
|
10463
11057
|
"isTrashed": _zod.z.boolean(),
|
|
10464
11058
|
"parent": _zod.z.object({
|
|
10465
11059
|
"id": _zod.z.string().uuid()
|
|
@@ -10518,9 +11112,8 @@ var getMediaByIdResponse = _zod.z.object({
|
|
|
10518
11112
|
"updateDate": _zod.z.string().datetime({ "local": true })
|
|
10519
11113
|
})),
|
|
10520
11114
|
"id": _zod.z.string().uuid(),
|
|
10521
|
-
"
|
|
10522
|
-
"
|
|
10523
|
-
"url": _zod.z.string()
|
|
11115
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
11116
|
+
"alias": _zod.z.string()
|
|
10524
11117
|
})),
|
|
10525
11118
|
"isTrashed": _zod.z.boolean(),
|
|
10526
11119
|
"mediaType": _zod.z.object({
|
|
@@ -10613,7 +11206,11 @@ var getMediaByIdReferencedByResponse = _zod.z.object({
|
|
|
10613
11206
|
"variants": _zod.z.array(_zod.z.object({
|
|
10614
11207
|
"name": _zod.z.string(),
|
|
10615
11208
|
"culture": _zod.z.string().nullish(),
|
|
10616
|
-
"
|
|
11209
|
+
"id": _zod.z.string().uuid(),
|
|
11210
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
11211
|
+
"alias": _zod.z.string()
|
|
11212
|
+
})),
|
|
11213
|
+
"state": _zod.z.enum(["NotCreated", "Draft", "Published", "PublishedPendingChanges", "Trashed"])
|
|
10617
11214
|
}))
|
|
10618
11215
|
})).or(_zod.z.object({
|
|
10619
11216
|
"$type": _zod.z.enum(["DocumentTypePropertyTypeReferenceResponseModel"]),
|
|
@@ -10732,7 +11329,7 @@ var getMediaUrlsResponseItem = _zod.z.object({
|
|
|
10732
11329
|
"id": _zod.z.string().uuid(),
|
|
10733
11330
|
"urlInfos": _zod.z.array(_zod.z.object({
|
|
10734
11331
|
"culture": _zod.z.string().nullable(),
|
|
10735
|
-
"url": _zod.z.string()
|
|
11332
|
+
"url": _zod.z.string().nullable()
|
|
10736
11333
|
}))
|
|
10737
11334
|
});
|
|
10738
11335
|
var getMediaUrlsResponse = _zod.z.array(getMediaUrlsResponseItem);
|
|
@@ -10828,7 +11425,11 @@ var getRecycleBinMediaReferencedByResponse = _zod.z.object({
|
|
|
10828
11425
|
"variants": _zod.z.array(_zod.z.object({
|
|
10829
11426
|
"name": _zod.z.string(),
|
|
10830
11427
|
"culture": _zod.z.string().nullish(),
|
|
10831
|
-
"
|
|
11428
|
+
"id": _zod.z.string().uuid(),
|
|
11429
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
11430
|
+
"alias": _zod.z.string()
|
|
11431
|
+
})),
|
|
11432
|
+
"state": _zod.z.enum(["NotCreated", "Draft", "Published", "PublishedPendingChanges", "Trashed"])
|
|
10832
11433
|
}))
|
|
10833
11434
|
})).or(_zod.z.object({
|
|
10834
11435
|
"$type": _zod.z.enum(["DocumentTypePropertyTypeReferenceResponseModel"]),
|
|
@@ -10912,17 +11513,49 @@ var getRecycleBinMediaRootResponse = _zod.z.object({
|
|
|
10912
11513
|
}))
|
|
10913
11514
|
}))
|
|
10914
11515
|
});
|
|
11516
|
+
var getRecycleBinMediaSiblingsQueryParams = _zod.z.object({
|
|
11517
|
+
"target": _zod.z.string().uuid().optional(),
|
|
11518
|
+
"before": _zod.z.coerce.number().optional(),
|
|
11519
|
+
"after": _zod.z.coerce.number().optional(),
|
|
11520
|
+
"dataTypeId": _zod.z.string().uuid().optional()
|
|
11521
|
+
});
|
|
11522
|
+
var getRecycleBinMediaSiblingsResponse = _zod.z.object({
|
|
11523
|
+
"totalBefore": _zod.z.number(),
|
|
11524
|
+
"totalAfter": _zod.z.number(),
|
|
11525
|
+
"items": _zod.z.array(_zod.z.object({
|
|
11526
|
+
"id": _zod.z.string().uuid(),
|
|
11527
|
+
"createDate": _zod.z.string().datetime({ "local": true }),
|
|
11528
|
+
"hasChildren": _zod.z.boolean(),
|
|
11529
|
+
"parent": _zod.z.object({
|
|
11530
|
+
"id": _zod.z.string().uuid()
|
|
11531
|
+
}).nullish(),
|
|
11532
|
+
"mediaType": _zod.z.object({
|
|
11533
|
+
"id": _zod.z.string().uuid(),
|
|
11534
|
+
"icon": _zod.z.string(),
|
|
11535
|
+
"collection": _zod.z.object({
|
|
11536
|
+
"id": _zod.z.string().uuid()
|
|
11537
|
+
}).nullish()
|
|
11538
|
+
}),
|
|
11539
|
+
"variants": _zod.z.array(_zod.z.object({
|
|
11540
|
+
"name": _zod.z.string(),
|
|
11541
|
+
"culture": _zod.z.string().nullish()
|
|
11542
|
+
}))
|
|
11543
|
+
}))
|
|
11544
|
+
});
|
|
10915
11545
|
var getTreeMediaAncestorsQueryParams = _zod.z.object({
|
|
10916
11546
|
"descendantId": _zod.z.string().uuid().optional()
|
|
10917
11547
|
});
|
|
10918
11548
|
var getTreeMediaAncestorsResponseItem = _zod.z.object({
|
|
10919
11549
|
"hasChildren": _zod.z.boolean(),
|
|
11550
|
+
"id": _zod.z.string().uuid(),
|
|
10920
11551
|
"parent": _zod.z.object({
|
|
10921
11552
|
"id": _zod.z.string().uuid()
|
|
10922
11553
|
}).nullish(),
|
|
11554
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
11555
|
+
"alias": _zod.z.string()
|
|
11556
|
+
})),
|
|
10923
11557
|
"noAccess": _zod.z.boolean(),
|
|
10924
11558
|
"isTrashed": _zod.z.boolean(),
|
|
10925
|
-
"id": _zod.z.string().uuid(),
|
|
10926
11559
|
"createDate": _zod.z.string().datetime({ "local": true }),
|
|
10927
11560
|
"mediaType": _zod.z.object({
|
|
10928
11561
|
"id": _zod.z.string().uuid(),
|
|
@@ -10948,12 +11581,15 @@ var getTreeMediaChildrenResponse = _zod.z.object({
|
|
|
10948
11581
|
"total": _zod.z.number(),
|
|
10949
11582
|
"items": _zod.z.array(_zod.z.object({
|
|
10950
11583
|
"hasChildren": _zod.z.boolean(),
|
|
11584
|
+
"id": _zod.z.string().uuid(),
|
|
10951
11585
|
"parent": _zod.z.object({
|
|
10952
11586
|
"id": _zod.z.string().uuid()
|
|
10953
11587
|
}).nullish(),
|
|
11588
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
11589
|
+
"alias": _zod.z.string()
|
|
11590
|
+
})),
|
|
10954
11591
|
"noAccess": _zod.z.boolean(),
|
|
10955
11592
|
"isTrashed": _zod.z.boolean(),
|
|
10956
|
-
"id": _zod.z.string().uuid(),
|
|
10957
11593
|
"createDate": _zod.z.string().datetime({ "local": true }),
|
|
10958
11594
|
"mediaType": _zod.z.object({
|
|
10959
11595
|
"id": _zod.z.string().uuid(),
|
|
@@ -10978,12 +11614,49 @@ var getTreeMediaRootResponse = _zod.z.object({
|
|
|
10978
11614
|
"total": _zod.z.number(),
|
|
10979
11615
|
"items": _zod.z.array(_zod.z.object({
|
|
10980
11616
|
"hasChildren": _zod.z.boolean(),
|
|
11617
|
+
"id": _zod.z.string().uuid(),
|
|
10981
11618
|
"parent": _zod.z.object({
|
|
10982
11619
|
"id": _zod.z.string().uuid()
|
|
10983
11620
|
}).nullish(),
|
|
11621
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
11622
|
+
"alias": _zod.z.string()
|
|
11623
|
+
})),
|
|
10984
11624
|
"noAccess": _zod.z.boolean(),
|
|
10985
11625
|
"isTrashed": _zod.z.boolean(),
|
|
11626
|
+
"createDate": _zod.z.string().datetime({ "local": true }),
|
|
11627
|
+
"mediaType": _zod.z.object({
|
|
11628
|
+
"id": _zod.z.string().uuid(),
|
|
11629
|
+
"icon": _zod.z.string(),
|
|
11630
|
+
"collection": _zod.z.object({
|
|
11631
|
+
"id": _zod.z.string().uuid()
|
|
11632
|
+
}).nullish()
|
|
11633
|
+
}),
|
|
11634
|
+
"variants": _zod.z.array(_zod.z.object({
|
|
11635
|
+
"name": _zod.z.string(),
|
|
11636
|
+
"culture": _zod.z.string().nullish()
|
|
11637
|
+
}))
|
|
11638
|
+
}))
|
|
11639
|
+
});
|
|
11640
|
+
var getTreeMediaSiblingsQueryParams = _zod.z.object({
|
|
11641
|
+
"target": _zod.z.string().uuid().optional(),
|
|
11642
|
+
"before": _zod.z.coerce.number().optional(),
|
|
11643
|
+
"after": _zod.z.coerce.number().optional(),
|
|
11644
|
+
"dataTypeId": _zod.z.string().uuid().optional()
|
|
11645
|
+
});
|
|
11646
|
+
var getTreeMediaSiblingsResponse = _zod.z.object({
|
|
11647
|
+
"totalBefore": _zod.z.number(),
|
|
11648
|
+
"totalAfter": _zod.z.number(),
|
|
11649
|
+
"items": _zod.z.array(_zod.z.object({
|
|
11650
|
+
"hasChildren": _zod.z.boolean(),
|
|
10986
11651
|
"id": _zod.z.string().uuid(),
|
|
11652
|
+
"parent": _zod.z.object({
|
|
11653
|
+
"id": _zod.z.string().uuid()
|
|
11654
|
+
}).nullish(),
|
|
11655
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
11656
|
+
"alias": _zod.z.string()
|
|
11657
|
+
})),
|
|
11658
|
+
"noAccess": _zod.z.boolean(),
|
|
11659
|
+
"isTrashed": _zod.z.boolean(),
|
|
10987
11660
|
"createDate": _zod.z.string().datetime({ "local": true }),
|
|
10988
11661
|
"mediaType": _zod.z.object({
|
|
10989
11662
|
"id": _zod.z.string().uuid(),
|
|
@@ -11003,6 +11676,9 @@ var getItemMemberGroupQueryParams = _zod.z.object({
|
|
|
11003
11676
|
});
|
|
11004
11677
|
var getItemMemberGroupResponseItem = _zod.z.object({
|
|
11005
11678
|
"id": _zod.z.string().uuid(),
|
|
11679
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
11680
|
+
"alias": _zod.z.string()
|
|
11681
|
+
})),
|
|
11006
11682
|
"name": _zod.z.string()
|
|
11007
11683
|
});
|
|
11008
11684
|
var getItemMemberGroupResponse = _zod.z.array(getItemMemberGroupResponseItem);
|
|
@@ -11051,6 +11727,9 @@ var getTreeMemberGroupRootResponse = _zod.z.object({
|
|
|
11051
11727
|
"parent": _zod.z.object({
|
|
11052
11728
|
"id": _zod.z.string().uuid()
|
|
11053
11729
|
}).nullish(),
|
|
11730
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
11731
|
+
"alias": _zod.z.string()
|
|
11732
|
+
})),
|
|
11054
11733
|
"name": _zod.z.string()
|
|
11055
11734
|
}))
|
|
11056
11735
|
});
|
|
@@ -11059,6 +11738,9 @@ var getItemMemberTypeQueryParams = _zod.z.object({
|
|
|
11059
11738
|
});
|
|
11060
11739
|
var getItemMemberTypeResponseItem = _zod.z.object({
|
|
11061
11740
|
"id": _zod.z.string().uuid(),
|
|
11741
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
11742
|
+
"alias": _zod.z.string()
|
|
11743
|
+
})),
|
|
11062
11744
|
"name": _zod.z.string(),
|
|
11063
11745
|
"icon": _zod.z.string().nullish()
|
|
11064
11746
|
});
|
|
@@ -11072,6 +11754,9 @@ var getItemMemberTypeSearchQueryParams = _zod.z.object({
|
|
|
11072
11754
|
var getItemMemberTypeSearchResponse = _zod.z.object({
|
|
11073
11755
|
"items": _zod.z.array(_zod.z.object({
|
|
11074
11756
|
"id": _zod.z.string().uuid(),
|
|
11757
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
11758
|
+
"alias": _zod.z.string()
|
|
11759
|
+
})),
|
|
11075
11760
|
"name": _zod.z.string(),
|
|
11076
11761
|
"icon": _zod.z.string().nullish()
|
|
11077
11762
|
})),
|
|
@@ -11287,10 +11972,34 @@ var postMemberTypeAvailableCompositionsResponse = _zod.z.array(postMemberTypeAva
|
|
|
11287
11972
|
var getMemberTypeConfigurationResponse = _zod.z.object({
|
|
11288
11973
|
"reservedFieldNames": _zod.z.array(_zod.z.string())
|
|
11289
11974
|
});
|
|
11975
|
+
var postMemberTypeFolderBody = _zod.z.object({
|
|
11976
|
+
"name": _zod.z.string().min(1),
|
|
11977
|
+
"id": _zod.z.string().uuid().nullish(),
|
|
11978
|
+
"parent": _zod.z.object({
|
|
11979
|
+
"id": _zod.z.string().uuid()
|
|
11980
|
+
}).nullish()
|
|
11981
|
+
});
|
|
11982
|
+
var getMemberTypeFolderByIdParams = _zod.z.object({
|
|
11983
|
+
"id": _zod.z.string().uuid()
|
|
11984
|
+
});
|
|
11985
|
+
var getMemberTypeFolderByIdResponse = _zod.z.object({
|
|
11986
|
+
"name": _zod.z.string().min(1),
|
|
11987
|
+
"id": _zod.z.string().uuid()
|
|
11988
|
+
});
|
|
11989
|
+
var deleteMemberTypeFolderByIdParams = _zod.z.object({
|
|
11990
|
+
"id": _zod.z.string().uuid()
|
|
11991
|
+
});
|
|
11992
|
+
var putMemberTypeFolderByIdParams = _zod.z.object({
|
|
11993
|
+
"id": _zod.z.string().uuid()
|
|
11994
|
+
});
|
|
11995
|
+
var putMemberTypeFolderByIdBody = _zod.z.object({
|
|
11996
|
+
"name": _zod.z.string().min(1)
|
|
11997
|
+
});
|
|
11290
11998
|
var getTreeMemberTypeRootQueryTakeDefault = 100;
|
|
11291
11999
|
var getTreeMemberTypeRootQueryParams = _zod.z.object({
|
|
11292
12000
|
"skip": _zod.z.coerce.number().optional(),
|
|
11293
|
-
"take": _zod.z.coerce.number().default(getTreeMemberTypeRootQueryTakeDefault)
|
|
12001
|
+
"take": _zod.z.coerce.number().default(getTreeMemberTypeRootQueryTakeDefault),
|
|
12002
|
+
"foldersOnly": _zod.z.coerce.boolean().optional()
|
|
11294
12003
|
});
|
|
11295
12004
|
var getTreeMemberTypeRootResponse = _zod.z.object({
|
|
11296
12005
|
"total": _zod.z.number(),
|
|
@@ -11300,6 +12009,31 @@ var getTreeMemberTypeRootResponse = _zod.z.object({
|
|
|
11300
12009
|
"parent": _zod.z.object({
|
|
11301
12010
|
"id": _zod.z.string().uuid()
|
|
11302
12011
|
}).nullish(),
|
|
12012
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
12013
|
+
"alias": _zod.z.string()
|
|
12014
|
+
})),
|
|
12015
|
+
"name": _zod.z.string(),
|
|
12016
|
+
"icon": _zod.z.string()
|
|
12017
|
+
}))
|
|
12018
|
+
});
|
|
12019
|
+
var getTreeMemberTypeSiblingsQueryParams = _zod.z.object({
|
|
12020
|
+
"target": _zod.z.string().uuid().optional(),
|
|
12021
|
+
"before": _zod.z.coerce.number().optional(),
|
|
12022
|
+
"after": _zod.z.coerce.number().optional(),
|
|
12023
|
+
"foldersOnly": _zod.z.coerce.boolean().optional()
|
|
12024
|
+
});
|
|
12025
|
+
var getTreeMemberTypeSiblingsResponse = _zod.z.object({
|
|
12026
|
+
"totalBefore": _zod.z.number(),
|
|
12027
|
+
"totalAfter": _zod.z.number(),
|
|
12028
|
+
"items": _zod.z.array(_zod.z.object({
|
|
12029
|
+
"hasChildren": _zod.z.boolean(),
|
|
12030
|
+
"id": _zod.z.string().uuid(),
|
|
12031
|
+
"parent": _zod.z.object({
|
|
12032
|
+
"id": _zod.z.string().uuid()
|
|
12033
|
+
}).nullish(),
|
|
12034
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
12035
|
+
"alias": _zod.z.string()
|
|
12036
|
+
})),
|
|
11303
12037
|
"name": _zod.z.string(),
|
|
11304
12038
|
"icon": _zod.z.string()
|
|
11305
12039
|
}))
|
|
@@ -11335,6 +12069,9 @@ var getFilterMemberResponse = _zod.z.object({
|
|
|
11335
12069
|
"updateDate": _zod.z.string().datetime({ "local": true })
|
|
11336
12070
|
})),
|
|
11337
12071
|
"id": _zod.z.string().uuid(),
|
|
12072
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
12073
|
+
"alias": _zod.z.string()
|
|
12074
|
+
})),
|
|
11338
12075
|
"email": _zod.z.string(),
|
|
11339
12076
|
"username": _zod.z.string(),
|
|
11340
12077
|
"memberType": _zod.z.object({
|
|
@@ -11360,6 +12097,9 @@ var getItemMemberQueryParams = _zod.z.object({
|
|
|
11360
12097
|
});
|
|
11361
12098
|
var getItemMemberResponseItem = _zod.z.object({
|
|
11362
12099
|
"id": _zod.z.string().uuid(),
|
|
12100
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
12101
|
+
"alias": _zod.z.string()
|
|
12102
|
+
})),
|
|
11363
12103
|
"memberType": _zod.z.object({
|
|
11364
12104
|
"id": _zod.z.string().uuid(),
|
|
11365
12105
|
"icon": _zod.z.string(),
|
|
@@ -11384,6 +12124,9 @@ var getItemMemberSearchQueryParams = _zod.z.object({
|
|
|
11384
12124
|
var getItemMemberSearchResponse = _zod.z.object({
|
|
11385
12125
|
"items": _zod.z.array(_zod.z.object({
|
|
11386
12126
|
"id": _zod.z.string().uuid(),
|
|
12127
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
12128
|
+
"alias": _zod.z.string()
|
|
12129
|
+
})),
|
|
11387
12130
|
"memberType": _zod.z.object({
|
|
11388
12131
|
"id": _zod.z.string().uuid(),
|
|
11389
12132
|
"icon": _zod.z.string(),
|
|
@@ -11440,6 +12183,9 @@ var getMemberByIdResponse = _zod.z.object({
|
|
|
11440
12183
|
"updateDate": _zod.z.string().datetime({ "local": true })
|
|
11441
12184
|
})),
|
|
11442
12185
|
"id": _zod.z.string().uuid(),
|
|
12186
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
12187
|
+
"alias": _zod.z.string()
|
|
12188
|
+
})),
|
|
11443
12189
|
"email": _zod.z.string(),
|
|
11444
12190
|
"username": _zod.z.string(),
|
|
11445
12191
|
"memberType": _zod.z.object({
|
|
@@ -11516,7 +12262,11 @@ var getMemberByIdReferencedByResponse = _zod.z.object({
|
|
|
11516
12262
|
"variants": _zod.z.array(_zod.z.object({
|
|
11517
12263
|
"name": _zod.z.string(),
|
|
11518
12264
|
"culture": _zod.z.string().nullish(),
|
|
11519
|
-
"
|
|
12265
|
+
"id": _zod.z.string().uuid(),
|
|
12266
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
12267
|
+
"alias": _zod.z.string()
|
|
12268
|
+
})),
|
|
12269
|
+
"state": _zod.z.enum(["NotCreated", "Draft", "Published", "PublishedPendingChanges", "Trashed"])
|
|
11520
12270
|
}))
|
|
11521
12271
|
})).or(_zod.z.object({
|
|
11522
12272
|
"$type": _zod.z.enum(["DocumentTypePropertyTypeReferenceResponseModel"]),
|
|
@@ -11647,7 +12397,7 @@ var postMemberValidateBody = _zod.z.object({
|
|
|
11647
12397
|
"isApproved": _zod.z.boolean()
|
|
11648
12398
|
});
|
|
11649
12399
|
var getModelsBuilderDashboardResponse = _zod.z.object({
|
|
11650
|
-
"mode": _zod.z.
|
|
12400
|
+
"mode": _zod.z.string(),
|
|
11651
12401
|
"canGenerate": _zod.z.boolean(),
|
|
11652
12402
|
"outOfDateModels": _zod.z.boolean(),
|
|
11653
12403
|
"lastError": _zod.z.string().nullish(),
|
|
@@ -11658,6 +12408,17 @@ var getModelsBuilderDashboardResponse = _zod.z.object({
|
|
|
11658
12408
|
var getModelsBuilderStatusResponse = _zod.z.object({
|
|
11659
12409
|
"status": _zod.z.enum(["OutOfDate", "Current", "Unknown"])
|
|
11660
12410
|
});
|
|
12411
|
+
var getNewsDashboardResponse = _zod.z.object({
|
|
12412
|
+
"items": _zod.z.array(_zod.z.object({
|
|
12413
|
+
"priority": _zod.z.string(),
|
|
12414
|
+
"header": _zod.z.string(),
|
|
12415
|
+
"body": _zod.z.string().nullish(),
|
|
12416
|
+
"buttonText": _zod.z.string().nullish(),
|
|
12417
|
+
"imageUrl": _zod.z.string().nullish(),
|
|
12418
|
+
"imageAltText": _zod.z.string().nullish(),
|
|
12419
|
+
"url": _zod.z.string().nullish()
|
|
12420
|
+
}))
|
|
12421
|
+
});
|
|
11661
12422
|
var getObjectTypesQueryTakeDefault = 100;
|
|
11662
12423
|
var getObjectTypesQueryParams = _zod.z.object({
|
|
11663
12424
|
"skip": _zod.z.coerce.number().optional(),
|
|
@@ -11919,6 +12680,24 @@ var getTreePartialViewRootResponse = _zod.z.object({
|
|
|
11919
12680
|
"isFolder": _zod.z.boolean()
|
|
11920
12681
|
}))
|
|
11921
12682
|
});
|
|
12683
|
+
var getTreePartialViewSiblingsQueryParams = _zod.z.object({
|
|
12684
|
+
"path": _zod.z.string().optional(),
|
|
12685
|
+
"before": _zod.z.coerce.number().optional(),
|
|
12686
|
+
"after": _zod.z.coerce.number().optional()
|
|
12687
|
+
});
|
|
12688
|
+
var getTreePartialViewSiblingsResponse = _zod.z.object({
|
|
12689
|
+
"totalBefore": _zod.z.number(),
|
|
12690
|
+
"totalAfter": _zod.z.number(),
|
|
12691
|
+
"items": _zod.z.array(_zod.z.object({
|
|
12692
|
+
"hasChildren": _zod.z.boolean(),
|
|
12693
|
+
"name": _zod.z.string(),
|
|
12694
|
+
"path": _zod.z.string(),
|
|
12695
|
+
"parent": _zod.z.object({
|
|
12696
|
+
"path": _zod.z.string()
|
|
12697
|
+
}).nullish(),
|
|
12698
|
+
"isFolder": _zod.z.boolean()
|
|
12699
|
+
}))
|
|
12700
|
+
});
|
|
11922
12701
|
var getProfilingStatusResponse = _zod.z.object({
|
|
11923
12702
|
"enabled": _zod.z.boolean()
|
|
11924
12703
|
});
|
|
@@ -11988,6 +12767,9 @@ var getItemRelationTypeQueryParams = _zod.z.object({
|
|
|
11988
12767
|
});
|
|
11989
12768
|
var getItemRelationTypeResponseItem = _zod.z.object({
|
|
11990
12769
|
"id": _zod.z.string().uuid(),
|
|
12770
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
12771
|
+
"alias": _zod.z.string()
|
|
12772
|
+
})),
|
|
11991
12773
|
"name": _zod.z.string(),
|
|
11992
12774
|
"isDeletable": _zod.z.boolean()
|
|
11993
12775
|
});
|
|
@@ -12172,6 +12954,24 @@ var getTreeScriptRootResponse = _zod.z.object({
|
|
|
12172
12954
|
"isFolder": _zod.z.boolean()
|
|
12173
12955
|
}))
|
|
12174
12956
|
});
|
|
12957
|
+
var getTreeScriptSiblingsQueryParams = _zod.z.object({
|
|
12958
|
+
"path": _zod.z.string().optional(),
|
|
12959
|
+
"before": _zod.z.coerce.number().optional(),
|
|
12960
|
+
"after": _zod.z.coerce.number().optional()
|
|
12961
|
+
});
|
|
12962
|
+
var getTreeScriptSiblingsResponse = _zod.z.object({
|
|
12963
|
+
"totalBefore": _zod.z.number(),
|
|
12964
|
+
"totalAfter": _zod.z.number(),
|
|
12965
|
+
"items": _zod.z.array(_zod.z.object({
|
|
12966
|
+
"hasChildren": _zod.z.boolean(),
|
|
12967
|
+
"name": _zod.z.string(),
|
|
12968
|
+
"path": _zod.z.string(),
|
|
12969
|
+
"parent": _zod.z.object({
|
|
12970
|
+
"path": _zod.z.string()
|
|
12971
|
+
}).nullish(),
|
|
12972
|
+
"isFolder": _zod.z.boolean()
|
|
12973
|
+
}))
|
|
12974
|
+
});
|
|
12175
12975
|
var getSearcherQueryTakeDefault = 100;
|
|
12176
12976
|
var getSearcherQueryParams = _zod.z.object({
|
|
12177
12977
|
"skip": _zod.z.coerce.number().optional(),
|
|
@@ -12247,7 +13047,8 @@ var getSegmentResponse = _zod.z.object({
|
|
|
12247
13047
|
"total": _zod.z.number(),
|
|
12248
13048
|
"items": _zod.z.array(_zod.z.object({
|
|
12249
13049
|
"name": _zod.z.string(),
|
|
12250
|
-
"alias": _zod.z.string()
|
|
13050
|
+
"alias": _zod.z.string(),
|
|
13051
|
+
"cultures": _zod.z.array(_zod.z.string()).nullish()
|
|
12251
13052
|
}))
|
|
12252
13053
|
});
|
|
12253
13054
|
var getServerConfigurationResponse = _zod.z.object({
|
|
@@ -12447,6 +13248,24 @@ var getTreeStylesheetRootResponse = _zod.z.object({
|
|
|
12447
13248
|
"isFolder": _zod.z.boolean()
|
|
12448
13249
|
}))
|
|
12449
13250
|
});
|
|
13251
|
+
var getTreeStylesheetSiblingsQueryParams = _zod.z.object({
|
|
13252
|
+
"path": _zod.z.string().optional(),
|
|
13253
|
+
"before": _zod.z.coerce.number().optional(),
|
|
13254
|
+
"after": _zod.z.coerce.number().optional()
|
|
13255
|
+
});
|
|
13256
|
+
var getTreeStylesheetSiblingsResponse = _zod.z.object({
|
|
13257
|
+
"totalBefore": _zod.z.number(),
|
|
13258
|
+
"totalAfter": _zod.z.number(),
|
|
13259
|
+
"items": _zod.z.array(_zod.z.object({
|
|
13260
|
+
"hasChildren": _zod.z.boolean(),
|
|
13261
|
+
"name": _zod.z.string(),
|
|
13262
|
+
"path": _zod.z.string(),
|
|
13263
|
+
"parent": _zod.z.object({
|
|
13264
|
+
"path": _zod.z.string()
|
|
13265
|
+
}).nullish(),
|
|
13266
|
+
"isFolder": _zod.z.boolean()
|
|
13267
|
+
}))
|
|
13268
|
+
});
|
|
12450
13269
|
var getTagQueryTakeDefault = 100;
|
|
12451
13270
|
var getTagQueryParams = _zod.z.object({
|
|
12452
13271
|
"query": _zod.z.string().optional(),
|
|
@@ -12486,6 +13305,9 @@ var getItemTemplateQueryParams = _zod.z.object({
|
|
|
12486
13305
|
});
|
|
12487
13306
|
var getItemTemplateResponseItem = _zod.z.object({
|
|
12488
13307
|
"id": _zod.z.string().uuid(),
|
|
13308
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
13309
|
+
"alias": _zod.z.string()
|
|
13310
|
+
})),
|
|
12489
13311
|
"name": _zod.z.string(),
|
|
12490
13312
|
"alias": _zod.z.string()
|
|
12491
13313
|
});
|
|
@@ -12499,6 +13321,9 @@ var getItemTemplateSearchQueryParams = _zod.z.object({
|
|
|
12499
13321
|
var getItemTemplateSearchResponse = _zod.z.object({
|
|
12500
13322
|
"items": _zod.z.array(_zod.z.object({
|
|
12501
13323
|
"id": _zod.z.string().uuid(),
|
|
13324
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
13325
|
+
"alias": _zod.z.string()
|
|
13326
|
+
})),
|
|
12502
13327
|
"name": _zod.z.string(),
|
|
12503
13328
|
"alias": _zod.z.string()
|
|
12504
13329
|
})),
|
|
@@ -12581,6 +13406,9 @@ var getTreeTemplateAncestorsResponseItem = _zod.z.object({
|
|
|
12581
13406
|
"parent": _zod.z.object({
|
|
12582
13407
|
"id": _zod.z.string().uuid()
|
|
12583
13408
|
}).nullish(),
|
|
13409
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
13410
|
+
"alias": _zod.z.string()
|
|
13411
|
+
})),
|
|
12584
13412
|
"name": _zod.z.string()
|
|
12585
13413
|
});
|
|
12586
13414
|
var getTreeTemplateAncestorsResponse = _zod.z.array(getTreeTemplateAncestorsResponseItem);
|
|
@@ -12598,6 +13426,9 @@ var getTreeTemplateChildrenResponse = _zod.z.object({
|
|
|
12598
13426
|
"parent": _zod.z.object({
|
|
12599
13427
|
"id": _zod.z.string().uuid()
|
|
12600
13428
|
}).nullish(),
|
|
13429
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
13430
|
+
"alias": _zod.z.string()
|
|
13431
|
+
})),
|
|
12601
13432
|
"name": _zod.z.string()
|
|
12602
13433
|
}))
|
|
12603
13434
|
});
|
|
@@ -12614,6 +13445,29 @@ var getTreeTemplateRootResponse = _zod.z.object({
|
|
|
12614
13445
|
"parent": _zod.z.object({
|
|
12615
13446
|
"id": _zod.z.string().uuid()
|
|
12616
13447
|
}).nullish(),
|
|
13448
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
13449
|
+
"alias": _zod.z.string()
|
|
13450
|
+
})),
|
|
13451
|
+
"name": _zod.z.string()
|
|
13452
|
+
}))
|
|
13453
|
+
});
|
|
13454
|
+
var getTreeTemplateSiblingsQueryParams = _zod.z.object({
|
|
13455
|
+
"target": _zod.z.string().uuid().optional(),
|
|
13456
|
+
"before": _zod.z.coerce.number().optional(),
|
|
13457
|
+
"after": _zod.z.coerce.number().optional()
|
|
13458
|
+
});
|
|
13459
|
+
var getTreeTemplateSiblingsResponse = _zod.z.object({
|
|
13460
|
+
"totalBefore": _zod.z.number(),
|
|
13461
|
+
"totalAfter": _zod.z.number(),
|
|
13462
|
+
"items": _zod.z.array(_zod.z.object({
|
|
13463
|
+
"hasChildren": _zod.z.boolean(),
|
|
13464
|
+
"id": _zod.z.string().uuid(),
|
|
13465
|
+
"parent": _zod.z.object({
|
|
13466
|
+
"id": _zod.z.string().uuid()
|
|
13467
|
+
}).nullish(),
|
|
13468
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
13469
|
+
"alias": _zod.z.string()
|
|
13470
|
+
})),
|
|
12617
13471
|
"name": _zod.z.string()
|
|
12618
13472
|
}))
|
|
12619
13473
|
});
|
|
@@ -12660,6 +13514,9 @@ var getUserDataByIdResponse = _zod.z.object({
|
|
|
12660
13514
|
"identifier": _zod.z.string(),
|
|
12661
13515
|
"value": _zod.z.string()
|
|
12662
13516
|
});
|
|
13517
|
+
var deleteUserDataByIdParams = _zod.z.object({
|
|
13518
|
+
"id": _zod.z.string().uuid()
|
|
13519
|
+
});
|
|
12663
13520
|
var getFilterUserGroupQueryTakeDefault = 100;
|
|
12664
13521
|
var getFilterUserGroupQueryParams = _zod.z.object({
|
|
12665
13522
|
"skip": _zod.z.coerce.number().optional(),
|
|
@@ -12714,6 +13571,9 @@ var getItemUserGroupQueryParams = _zod.z.object({
|
|
|
12714
13571
|
});
|
|
12715
13572
|
var getItemUserGroupResponseItem = _zod.z.object({
|
|
12716
13573
|
"id": _zod.z.string().uuid(),
|
|
13574
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
13575
|
+
"alias": _zod.z.string()
|
|
13576
|
+
})),
|
|
12717
13577
|
"name": _zod.z.string(),
|
|
12718
13578
|
"icon": _zod.z.string().nullish(),
|
|
12719
13579
|
"alias": _zod.z.string().nullish()
|
|
@@ -12956,6 +13816,9 @@ var getItemUserQueryParams = _zod.z.object({
|
|
|
12956
13816
|
});
|
|
12957
13817
|
var getItemUserResponseItem = _zod.z.object({
|
|
12958
13818
|
"id": _zod.z.string().uuid(),
|
|
13819
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
13820
|
+
"alias": _zod.z.string()
|
|
13821
|
+
})),
|
|
12959
13822
|
"name": _zod.z.string(),
|
|
12960
13823
|
"avatarUrls": _zod.z.array(_zod.z.string()),
|
|
12961
13824
|
"kind": _zod.z.enum(["Default", "Api"])
|
|
@@ -13333,6 +14196,10 @@ var getItemWebhookQueryParams = _zod.z.object({
|
|
|
13333
14196
|
"id": _zod.z.array(_zod.z.string().uuid()).optional()
|
|
13334
14197
|
});
|
|
13335
14198
|
var getItemWebhookResponseItem = _zod.z.object({
|
|
14199
|
+
"id": _zod.z.string().uuid(),
|
|
14200
|
+
"flags": _zod.z.array(_zod.z.object({
|
|
14201
|
+
"alias": _zod.z.string()
|
|
14202
|
+
})),
|
|
13336
14203
|
"enabled": _zod.z.boolean(),
|
|
13337
14204
|
"name": _zod.z.string(),
|
|
13338
14205
|
"events": _zod.z.string(),
|
|
@@ -14565,21 +15432,21 @@ var move_data_type_default = MoveDataTypeTool;
|
|
|
14565
15432
|
var GetReferencesDataTypeTool = CreateUmbracoTool(
|
|
14566
15433
|
"get-references-data-type",
|
|
14567
15434
|
`Gets the document types and properties that use a specific data type.
|
|
14568
|
-
|
|
15435
|
+
|
|
14569
15436
|
This is the recommended method to find all document types that reference a particular data type.
|
|
14570
|
-
|
|
15437
|
+
|
|
14571
15438
|
Usage examples:
|
|
14572
15439
|
- Find all document types using the RichText editor data type
|
|
14573
15440
|
- Identify properties that reference a specific data type before modifying or deleting it
|
|
14574
15441
|
- Perform bulk updates to all properties using a specific data type
|
|
14575
|
-
|
|
15442
|
+
|
|
14576
15443
|
Returns a detailed list with content type information (id, type, name, icon) and all properties
|
|
14577
15444
|
(name, alias) that use the specified data type.
|
|
14578
15445
|
`,
|
|
14579
|
-
|
|
15446
|
+
getDataTypeByIdReferencedByParams.shape,
|
|
14580
15447
|
async ({ id }) => {
|
|
14581
15448
|
const client = UmbracoManagementClient2.getClient();
|
|
14582
|
-
var response = await client.
|
|
15449
|
+
var response = await client.getDataTypeByIdReferencedBy(id);
|
|
14583
15450
|
return {
|
|
14584
15451
|
content: [
|
|
14585
15452
|
{
|
|
@@ -14736,6 +15603,26 @@ var GetDataTypeChildrenTool = CreateUmbracoTool(
|
|
|
14736
15603
|
);
|
|
14737
15604
|
var get_children_default = GetDataTypeChildrenTool;
|
|
14738
15605
|
|
|
15606
|
+
// src/umb-management-api/tools/data-type/items/get/get-siblings.ts
|
|
15607
|
+
var GetDataTypeSiblingsTool = CreateUmbracoTool(
|
|
15608
|
+
"get-data-type-siblings",
|
|
15609
|
+
"Gets sibling data types or data type folders for a given descendant id",
|
|
15610
|
+
getTreeDataTypeSiblingsQueryParams.shape,
|
|
15611
|
+
async (params) => {
|
|
15612
|
+
const client = UmbracoManagementClient2.getClient();
|
|
15613
|
+
var response = await client.getTreeDataTypeSiblings(params);
|
|
15614
|
+
return {
|
|
15615
|
+
content: [
|
|
15616
|
+
{
|
|
15617
|
+
type: "text",
|
|
15618
|
+
text: JSON.stringify(response)
|
|
15619
|
+
}
|
|
15620
|
+
]
|
|
15621
|
+
};
|
|
15622
|
+
}
|
|
15623
|
+
);
|
|
15624
|
+
var get_siblings_default = GetDataTypeSiblingsTool;
|
|
15625
|
+
|
|
14739
15626
|
// src/umb-management-api/tools/data-type/items/get/get-ancestors.ts
|
|
14740
15627
|
var GetDataTypeAncestorsTool = CreateUmbracoTool(
|
|
14741
15628
|
"get-data-type-ancestors",
|
|
@@ -14866,6 +15753,7 @@ var DataTypeCollection = {
|
|
|
14866
15753
|
if (AuthorizationPolicies.TreeAccessDataTypes(user)) {
|
|
14867
15754
|
tools.push(get_root_default());
|
|
14868
15755
|
tools.push(get_children_default());
|
|
15756
|
+
tools.push(get_siblings_default());
|
|
14869
15757
|
tools.push(get_ancestors_default());
|
|
14870
15758
|
tools.push(get_all_default());
|
|
14871
15759
|
tools.push(delete_data_type_default());
|
|
@@ -15497,6 +16385,26 @@ var GetDocumentTypeAncestorsTool = CreateUmbracoTool(
|
|
|
15497
16385
|
);
|
|
15498
16386
|
var get_ancestors_default3 = GetDocumentTypeAncestorsTool;
|
|
15499
16387
|
|
|
16388
|
+
// src/umb-management-api/tools/document-type/items/get/get-siblings.ts
|
|
16389
|
+
var GetDocumentTypeSiblingsTool = CreateUmbracoTool(
|
|
16390
|
+
"get-document-type-siblings",
|
|
16391
|
+
"Gets sibling document types or document type folders for a given descendant id",
|
|
16392
|
+
getTreeDocumentTypeSiblingsQueryParams.shape,
|
|
16393
|
+
async (params) => {
|
|
16394
|
+
const client = UmbracoManagementClient2.getClient();
|
|
16395
|
+
const response = await client.getTreeDocumentTypeSiblings(params);
|
|
16396
|
+
return {
|
|
16397
|
+
content: [
|
|
16398
|
+
{
|
|
16399
|
+
type: "text",
|
|
16400
|
+
text: JSON.stringify(response)
|
|
16401
|
+
}
|
|
16402
|
+
]
|
|
16403
|
+
};
|
|
16404
|
+
}
|
|
16405
|
+
);
|
|
16406
|
+
var get_siblings_default2 = GetDocumentTypeSiblingsTool;
|
|
16407
|
+
|
|
15500
16408
|
// src/umb-management-api/tools/document-type/folders/post/create-folder.ts
|
|
15501
16409
|
var CreateDocumentTypeFolderTool = CreateUmbracoTool(
|
|
15502
16410
|
"create-document-type-folder",
|
|
@@ -16452,6 +17360,7 @@ var DocumentTypeCollection = {
|
|
|
16452
17360
|
tools.push(get_root_default3());
|
|
16453
17361
|
tools.push(get_ancestors_default3());
|
|
16454
17362
|
tools.push(get_children_default3());
|
|
17363
|
+
tools.push(get_siblings_default2());
|
|
16455
17364
|
}
|
|
16456
17365
|
return tools;
|
|
16457
17366
|
}
|
|
@@ -16522,6 +17431,27 @@ var GetLanguageByIsoCodeTool = CreateUmbracoTool(
|
|
|
16522
17431
|
);
|
|
16523
17432
|
var get_language_by_iso_code_default = GetLanguageByIsoCodeTool;
|
|
16524
17433
|
|
|
17434
|
+
// src/umb-management-api/tools/language/get/get-language.ts
|
|
17435
|
+
var GetLanguageTool = CreateUmbracoTool(
|
|
17436
|
+
"get-language",
|
|
17437
|
+
"Gets all languages with optional pagination",
|
|
17438
|
+
getLanguageQueryParams.shape,
|
|
17439
|
+
async (params) => {
|
|
17440
|
+
const client = UmbracoManagementClient2.getClient();
|
|
17441
|
+
const response = await client.getLanguage(params);
|
|
17442
|
+
const validated = getLanguageResponse.parse(response);
|
|
17443
|
+
return {
|
|
17444
|
+
content: [
|
|
17445
|
+
{
|
|
17446
|
+
type: "text",
|
|
17447
|
+
text: JSON.stringify(validated, null, 2)
|
|
17448
|
+
}
|
|
17449
|
+
]
|
|
17450
|
+
};
|
|
17451
|
+
}
|
|
17452
|
+
);
|
|
17453
|
+
var get_language_default = GetLanguageTool;
|
|
17454
|
+
|
|
16525
17455
|
// src/umb-management-api/tools/language/post/create-language.ts
|
|
16526
17456
|
var CreateLanguageTool = CreateUmbracoTool(
|
|
16527
17457
|
"create-language",
|
|
@@ -16609,6 +17539,7 @@ var LanguageCollection = {
|
|
|
16609
17539
|
const tools = [];
|
|
16610
17540
|
tools.push(get_language_items_default());
|
|
16611
17541
|
tools.push(get_default_language_default());
|
|
17542
|
+
tools.push(get_language_default());
|
|
16612
17543
|
if (AuthorizationPolicies.TreeAccessLanguages(user)) {
|
|
16613
17544
|
tools.push(create_language_default());
|
|
16614
17545
|
tools.push(update_language_default());
|
|
@@ -16791,6 +17722,26 @@ var GetDocumentBlueprintRootTool = CreateUmbracoTool(
|
|
|
16791
17722
|
);
|
|
16792
17723
|
var get_root_default4 = GetDocumentBlueprintRootTool;
|
|
16793
17724
|
|
|
17725
|
+
// src/umb-management-api/tools/document-blueprint/get/get-siblings.ts
|
|
17726
|
+
var GetDocumentBlueprintSiblingsTool = CreateUmbracoTool(
|
|
17727
|
+
"get-document-blueprint-siblings",
|
|
17728
|
+
"Gets sibling document blueprints for a given descendant id",
|
|
17729
|
+
getTreeDocumentBlueprintSiblingsQueryParams.shape,
|
|
17730
|
+
async (params) => {
|
|
17731
|
+
const client = UmbracoManagementClient2.getClient();
|
|
17732
|
+
const response = await client.getTreeDocumentBlueprintSiblings(params);
|
|
17733
|
+
return {
|
|
17734
|
+
content: [
|
|
17735
|
+
{
|
|
17736
|
+
type: "text",
|
|
17737
|
+
text: JSON.stringify(response)
|
|
17738
|
+
}
|
|
17739
|
+
]
|
|
17740
|
+
};
|
|
17741
|
+
}
|
|
17742
|
+
);
|
|
17743
|
+
var get_siblings_default3 = GetDocumentBlueprintSiblingsTool;
|
|
17744
|
+
|
|
16794
17745
|
// src/umb-management-api/tools/document-blueprint/get/get-document-blueprint-scaffold.ts
|
|
16795
17746
|
var GetDocumentBlueprintScaffoldTool = CreateUmbracoTool(
|
|
16796
17747
|
"get-document-blueprint-scaffold",
|
|
@@ -17003,6 +17954,7 @@ var DocumentBlueprintCollection = {
|
|
|
17003
17954
|
tools.push(get_ancestors_default4());
|
|
17004
17955
|
tools.push(get_children_default4());
|
|
17005
17956
|
tools.push(get_root_default4());
|
|
17957
|
+
tools.push(get_siblings_default3());
|
|
17006
17958
|
tools.push(create_folder_default3());
|
|
17007
17959
|
tools.push(get_folder_default3());
|
|
17008
17960
|
tools.push(update_folder_default3());
|
|
@@ -17089,7 +18041,27 @@ var DeleteDocumentPublicAccessTool = CreateUmbracoTool(
|
|
|
17089
18041
|
},
|
|
17090
18042
|
(user) => user.fallbackPermissions.includes(UmbracoDocumentPermissions.PublicAccess)
|
|
17091
18043
|
);
|
|
17092
|
-
var delete_document_public_access_default = DeleteDocumentPublicAccessTool;
|
|
18044
|
+
var delete_document_public_access_default = DeleteDocumentPublicAccessTool;
|
|
18045
|
+
|
|
18046
|
+
// src/umb-management-api/tools/document/delete/delete-recycle-bin-item.ts
|
|
18047
|
+
var DeleteDocumentRecycleBinItemTool = CreateUmbracoTool(
|
|
18048
|
+
"delete-document-recycle-bin-item",
|
|
18049
|
+
"Permanently deletes a document from the recycle bin by its id",
|
|
18050
|
+
deleteRecycleBinDocumentByIdParams.shape,
|
|
18051
|
+
async (params) => {
|
|
18052
|
+
const client = UmbracoManagementClient2.getClient();
|
|
18053
|
+
await client.deleteRecycleBinDocumentById(params.id);
|
|
18054
|
+
return {
|
|
18055
|
+
content: [
|
|
18056
|
+
{
|
|
18057
|
+
type: "text",
|
|
18058
|
+
text: JSON.stringify({ success: true, message: "Document permanently deleted from recycle bin" })
|
|
18059
|
+
}
|
|
18060
|
+
]
|
|
18061
|
+
};
|
|
18062
|
+
}
|
|
18063
|
+
);
|
|
18064
|
+
var delete_recycle_bin_item_default = DeleteDocumentRecycleBinItemTool;
|
|
17093
18065
|
|
|
17094
18066
|
// src/umb-management-api/tools/document/get/get-document-by-id.ts
|
|
17095
18067
|
var GetDocumentByIdTool = CreateUmbracoTool(
|
|
@@ -17810,6 +18782,26 @@ var GetCollectionDocumentByIdTool = CreateUmbracoTool(
|
|
|
17810
18782
|
);
|
|
17811
18783
|
var get_collection_document_by_id_default = GetCollectionDocumentByIdTool;
|
|
17812
18784
|
|
|
18785
|
+
// src/umb-management-api/tools/document/get/get-item-document.ts
|
|
18786
|
+
var GetItemDocumentTool = CreateUmbracoTool(
|
|
18787
|
+
"get-item-document",
|
|
18788
|
+
"Gets document items by their ids",
|
|
18789
|
+
getItemDocumentQueryParams.shape,
|
|
18790
|
+
async (params) => {
|
|
18791
|
+
const client = UmbracoManagementClient2.getClient();
|
|
18792
|
+
const response = await client.getItemDocument(params);
|
|
18793
|
+
return {
|
|
18794
|
+
content: [
|
|
18795
|
+
{
|
|
18796
|
+
type: "text",
|
|
18797
|
+
text: JSON.stringify(response)
|
|
18798
|
+
}
|
|
18799
|
+
]
|
|
18800
|
+
};
|
|
18801
|
+
}
|
|
18802
|
+
);
|
|
18803
|
+
var get_item_document_default = GetItemDocumentTool;
|
|
18804
|
+
|
|
17813
18805
|
// src/umb-management-api/tools/document/get/get-document-are-referenced.ts
|
|
17814
18806
|
var GetDocumentAreReferencedTool = CreateUmbracoTool(
|
|
17815
18807
|
"get-document-are-referenced",
|
|
@@ -17886,6 +18878,37 @@ var GetDocumentByIdReferencedDescendantsTool = CreateUmbracoTool(
|
|
|
17886
18878
|
);
|
|
17887
18879
|
var get_document_by_id_referenced_descendants_default = GetDocumentByIdReferencedDescendantsTool;
|
|
17888
18880
|
|
|
18881
|
+
// src/umb-management-api/tools/document/get/get-document-available-segment-options.ts
|
|
18882
|
+
|
|
18883
|
+
var GetDocumentAvailableSegmentOptionsTool = CreateUmbracoTool(
|
|
18884
|
+
"get-document-available-segment-options",
|
|
18885
|
+
`Gets available segment options for a document by its id
|
|
18886
|
+
|
|
18887
|
+
Use this to retrieve the available segment options (content variations) for a document.
|
|
18888
|
+
|
|
18889
|
+
Useful for:
|
|
18890
|
+
\u2022 Understanding what content variations are available for a document
|
|
18891
|
+
\u2022 Determining which segments can be used when creating or editing document content
|
|
18892
|
+
\u2022 Viewing segment names, aliases, and associated cultures`,
|
|
18893
|
+
_zod.z.object({
|
|
18894
|
+
...getDocumentByIdAvailableSegmentOptionsParams.shape,
|
|
18895
|
+
...getDocumentByIdAvailableSegmentOptionsQueryParams.shape
|
|
18896
|
+
}).shape,
|
|
18897
|
+
async ({ id, skip, take }) => {
|
|
18898
|
+
const client = UmbracoManagementClient2.getClient();
|
|
18899
|
+
const response = await client.getDocumentByIdAvailableSegmentOptions(id, { skip, take });
|
|
18900
|
+
return {
|
|
18901
|
+
content: [
|
|
18902
|
+
{
|
|
18903
|
+
type: "text",
|
|
18904
|
+
text: JSON.stringify(response)
|
|
18905
|
+
}
|
|
18906
|
+
]
|
|
18907
|
+
};
|
|
18908
|
+
}
|
|
18909
|
+
);
|
|
18910
|
+
var get_document_available_segment_options_default = GetDocumentAvailableSegmentOptionsTool;
|
|
18911
|
+
|
|
17889
18912
|
// src/umb-management-api/tools/document/get/get-recycle-bin-document-original-parent.ts
|
|
17890
18913
|
var GetRecycleBinDocumentOriginalParentTool = CreateUmbracoTool(
|
|
17891
18914
|
"get-recycle-bin-document-original-parent",
|
|
@@ -18604,6 +19627,26 @@ var GetDocumentAncestorsTool = CreateUmbracoTool(
|
|
|
18604
19627
|
);
|
|
18605
19628
|
var get_ancestors_default5 = GetDocumentAncestorsTool;
|
|
18606
19629
|
|
|
19630
|
+
// src/umb-management-api/tools/document/items/get/get-siblings.ts
|
|
19631
|
+
var GetDocumentSiblingsTool = CreateUmbracoTool(
|
|
19632
|
+
"get-document-siblings",
|
|
19633
|
+
"Gets sibling documents for a given descendant id",
|
|
19634
|
+
getTreeDocumentSiblingsQueryParams.shape,
|
|
19635
|
+
async (params) => {
|
|
19636
|
+
const client = UmbracoManagementClient2.getClient();
|
|
19637
|
+
const response = await client.getTreeDocumentSiblings(params);
|
|
19638
|
+
return {
|
|
19639
|
+
content: [
|
|
19640
|
+
{
|
|
19641
|
+
type: "text",
|
|
19642
|
+
text: JSON.stringify(response)
|
|
19643
|
+
}
|
|
19644
|
+
]
|
|
19645
|
+
};
|
|
19646
|
+
}
|
|
19647
|
+
);
|
|
19648
|
+
var get_siblings_default4 = GetDocumentSiblingsTool;
|
|
19649
|
+
|
|
18607
19650
|
// src/umb-management-api/tools/document/items/get/get-recycle-bin-root.ts
|
|
18608
19651
|
var GetRecycleBinDocumentRootTool = CreateUmbracoTool(
|
|
18609
19652
|
"get-recycle-bin-document-root",
|
|
@@ -18644,6 +19687,26 @@ var GetRecycleBinDocumentChildrenTool = CreateUmbracoTool(
|
|
|
18644
19687
|
);
|
|
18645
19688
|
var get_recycle_bin_children_default = GetRecycleBinDocumentChildrenTool;
|
|
18646
19689
|
|
|
19690
|
+
// src/umb-management-api/tools/document/items/get/get-recycle-bin-siblings.ts
|
|
19691
|
+
var GetDocumentRecycleBinSiblingsTool = CreateUmbracoTool(
|
|
19692
|
+
"get-document-recycle-bin-siblings",
|
|
19693
|
+
"Gets sibling documents in the recycle bin for a given descendant id",
|
|
19694
|
+
getRecycleBinDocumentSiblingsQueryParams.shape,
|
|
19695
|
+
async (params) => {
|
|
19696
|
+
const client = UmbracoManagementClient2.getClient();
|
|
19697
|
+
const response = await client.getRecycleBinDocumentSiblings(params);
|
|
19698
|
+
return {
|
|
19699
|
+
content: [
|
|
19700
|
+
{
|
|
19701
|
+
type: "text",
|
|
19702
|
+
text: JSON.stringify(response)
|
|
19703
|
+
}
|
|
19704
|
+
]
|
|
19705
|
+
};
|
|
19706
|
+
}
|
|
19707
|
+
);
|
|
19708
|
+
var get_recycle_bin_siblings_default = GetDocumentRecycleBinSiblingsTool;
|
|
19709
|
+
|
|
18647
19710
|
// src/umb-management-api/tools/document/index.ts
|
|
18648
19711
|
var DocumentCollection = {
|
|
18649
19712
|
metadata: {
|
|
@@ -18664,6 +19727,7 @@ var DocumentCollection = {
|
|
|
18664
19727
|
tools.push(post_document_public_access_default());
|
|
18665
19728
|
tools.push(delete_document_default());
|
|
18666
19729
|
tools.push(delete_document_public_access_default());
|
|
19730
|
+
tools.push(delete_recycle_bin_item_default());
|
|
18667
19731
|
tools.push(get_document_urls_default());
|
|
18668
19732
|
tools.push(get_document_domains_default());
|
|
18669
19733
|
tools.push(get_document_audit_log_default());
|
|
@@ -18687,9 +19751,11 @@ var DocumentCollection = {
|
|
|
18687
19751
|
tools.push(search_document_default());
|
|
18688
19752
|
tools.push(validate_document_default());
|
|
18689
19753
|
tools.push(get_collection_document_by_id_default());
|
|
19754
|
+
tools.push(get_item_document_default());
|
|
18690
19755
|
tools.push(get_document_are_referenced_default());
|
|
18691
19756
|
tools.push(get_document_by_id_referenced_by_default());
|
|
18692
19757
|
tools.push(get_document_by_id_referenced_descendants_default());
|
|
19758
|
+
tools.push(get_document_available_segment_options_default());
|
|
18693
19759
|
tools.push(get_recycle_bin_document_original_parent_default());
|
|
18694
19760
|
tools.push(get_recycle_bin_document_referenced_by_default());
|
|
18695
19761
|
}
|
|
@@ -18697,6 +19763,8 @@ var DocumentCollection = {
|
|
|
18697
19763
|
tools.push(get_root_default5());
|
|
18698
19764
|
tools.push(get_children_default5());
|
|
18699
19765
|
tools.push(get_ancestors_default5());
|
|
19766
|
+
tools.push(get_siblings_default4());
|
|
19767
|
+
tools.push(get_recycle_bin_siblings_default());
|
|
18700
19768
|
}
|
|
18701
19769
|
return tools;
|
|
18702
19770
|
}
|
|
@@ -19571,6 +20639,30 @@ var ValidateMediaTool = CreateUmbracoTool(
|
|
|
19571
20639
|
);
|
|
19572
20640
|
var validate_media_default = ValidateMediaTool;
|
|
19573
20641
|
|
|
20642
|
+
// src/umb-management-api/tools/media/put/validate-media.ts
|
|
20643
|
+
|
|
20644
|
+
var ValidateMediaUpdateTool = CreateUmbracoTool(
|
|
20645
|
+
"validate-media-update",
|
|
20646
|
+
"Validates media data before updating an existing media item by Id",
|
|
20647
|
+
{
|
|
20648
|
+
id: putMediaByIdValidateParams.shape.id,
|
|
20649
|
+
data: _zod.z.object(putMediaByIdValidateBody.shape)
|
|
20650
|
+
},
|
|
20651
|
+
async (model) => {
|
|
20652
|
+
const client = UmbracoManagementClient2.getClient();
|
|
20653
|
+
const response = await client.putMediaByIdValidate(model.id, model.data);
|
|
20654
|
+
return {
|
|
20655
|
+
content: [
|
|
20656
|
+
{
|
|
20657
|
+
type: "text",
|
|
20658
|
+
text: JSON.stringify(response)
|
|
20659
|
+
}
|
|
20660
|
+
]
|
|
20661
|
+
};
|
|
20662
|
+
}
|
|
20663
|
+
);
|
|
20664
|
+
var validate_media_default2 = ValidateMediaUpdateTool;
|
|
20665
|
+
|
|
19574
20666
|
// src/umb-management-api/tools/media/put/sort-media.ts
|
|
19575
20667
|
var SortMediaTool = CreateUmbracoTool(
|
|
19576
20668
|
"sort-media",
|
|
@@ -19676,6 +20768,26 @@ var GetMediaChildrenTool = CreateUmbracoTool(
|
|
|
19676
20768
|
);
|
|
19677
20769
|
var get_children_default6 = GetMediaChildrenTool;
|
|
19678
20770
|
|
|
20771
|
+
// src/umb-management-api/tools/media/items/get/get-siblings.ts
|
|
20772
|
+
var GetMediaSiblingsTool = CreateUmbracoTool(
|
|
20773
|
+
"get-media-siblings",
|
|
20774
|
+
"Gets sibling media items for a given descendant id",
|
|
20775
|
+
getTreeMediaSiblingsQueryParams.shape,
|
|
20776
|
+
async (params) => {
|
|
20777
|
+
const client = UmbracoManagementClient2.getClient();
|
|
20778
|
+
const response = await client.getTreeMediaSiblings(params);
|
|
20779
|
+
return {
|
|
20780
|
+
content: [
|
|
20781
|
+
{
|
|
20782
|
+
type: "text",
|
|
20783
|
+
text: JSON.stringify(response)
|
|
20784
|
+
}
|
|
20785
|
+
]
|
|
20786
|
+
};
|
|
20787
|
+
}
|
|
20788
|
+
);
|
|
20789
|
+
var get_siblings_default5 = GetMediaSiblingsTool;
|
|
20790
|
+
|
|
19679
20791
|
// src/umb-management-api/tools/media/items/get/get-root.ts
|
|
19680
20792
|
var GetMediaRootTool = CreateUmbracoTool(
|
|
19681
20793
|
"get-media-root",
|
|
@@ -19760,6 +20872,26 @@ var GetRecycleBinMediaChildrenTool = CreateUmbracoTool(
|
|
|
19760
20872
|
);
|
|
19761
20873
|
var get_recycle_bin_children_default2 = GetRecycleBinMediaChildrenTool;
|
|
19762
20874
|
|
|
20875
|
+
// src/umb-management-api/tools/media/items/get/get-recycle-bin-siblings.ts
|
|
20876
|
+
var GetMediaRecycleBinSiblingsTool = CreateUmbracoTool(
|
|
20877
|
+
"get-media-recycle-bin-siblings",
|
|
20878
|
+
"Gets sibling media items in the recycle bin for a given descendant id",
|
|
20879
|
+
getRecycleBinMediaSiblingsQueryParams.shape,
|
|
20880
|
+
async (params) => {
|
|
20881
|
+
const client = UmbracoManagementClient2.getClient();
|
|
20882
|
+
const response = await client.getRecycleBinMediaSiblings(params);
|
|
20883
|
+
return {
|
|
20884
|
+
content: [
|
|
20885
|
+
{
|
|
20886
|
+
type: "text",
|
|
20887
|
+
text: JSON.stringify(response)
|
|
20888
|
+
}
|
|
20889
|
+
]
|
|
20890
|
+
};
|
|
20891
|
+
}
|
|
20892
|
+
);
|
|
20893
|
+
var get_recycle_bin_siblings_default2 = GetMediaRecycleBinSiblingsTool;
|
|
20894
|
+
|
|
19763
20895
|
// src/umb-management-api/tools/media/delete/empty-recycle-bin.ts
|
|
19764
20896
|
var EmptyRecycleBinTool2 = CreateUmbracoTool(
|
|
19765
20897
|
"empty-media-recycle-bin",
|
|
@@ -19842,6 +20974,26 @@ var DeleteFromRecycleBinTool2 = CreateUmbracoTool(
|
|
|
19842
20974
|
);
|
|
19843
20975
|
var delete_from_recycle_bin_default2 = DeleteFromRecycleBinTool2;
|
|
19844
20976
|
|
|
20977
|
+
// src/umb-management-api/tools/media/delete/delete-recycle-bin-item.ts
|
|
20978
|
+
var DeleteMediaRecycleBinItemTool = CreateUmbracoTool(
|
|
20979
|
+
"delete-media-recycle-bin-item",
|
|
20980
|
+
"Permanently deletes a media item from the recycle bin by its id",
|
|
20981
|
+
deleteRecycleBinMediaByIdParams.shape,
|
|
20982
|
+
async (params) => {
|
|
20983
|
+
const client = UmbracoManagementClient2.getClient();
|
|
20984
|
+
await client.deleteRecycleBinMediaById(params.id);
|
|
20985
|
+
return {
|
|
20986
|
+
content: [
|
|
20987
|
+
{
|
|
20988
|
+
type: "text",
|
|
20989
|
+
text: JSON.stringify({ success: true, message: "Media item permanently deleted from recycle bin" })
|
|
20990
|
+
}
|
|
20991
|
+
]
|
|
20992
|
+
};
|
|
20993
|
+
}
|
|
20994
|
+
);
|
|
20995
|
+
var delete_recycle_bin_item_default2 = DeleteMediaRecycleBinItemTool;
|
|
20996
|
+
|
|
19845
20997
|
// src/umb-management-api/tools/media/get/get-media-are-referenced.ts
|
|
19846
20998
|
var GetMediaAreReferencedTool = CreateUmbracoTool(
|
|
19847
20999
|
"get-media-are-referenced",
|
|
@@ -20003,6 +21155,7 @@ var MediaCollection = {
|
|
|
20003
21155
|
if (AuthorizationPolicies.SectionAccessForMediaTree(user)) {
|
|
20004
21156
|
tools.push(get_ancestors_default6());
|
|
20005
21157
|
tools.push(get_children_default6());
|
|
21158
|
+
tools.push(get_siblings_default5());
|
|
20006
21159
|
tools.push(get_root_default6());
|
|
20007
21160
|
}
|
|
20008
21161
|
if (AuthorizationPolicies.SectionAccessMedia(user)) {
|
|
@@ -20013,16 +21166,19 @@ var MediaCollection = {
|
|
|
20013
21166
|
tools.push(get_media_configuration_default());
|
|
20014
21167
|
tools.push(get_media_urls_default());
|
|
20015
21168
|
tools.push(validate_media_default());
|
|
21169
|
+
tools.push(validate_media_default2());
|
|
20016
21170
|
tools.push(sort_media_default());
|
|
20017
21171
|
tools.push(get_media_by_id_array_default());
|
|
20018
21172
|
tools.push(move_media_default());
|
|
20019
21173
|
tools.push(get_media_audit_log_default());
|
|
20020
21174
|
tools.push(get_recycle_bin_root_default2());
|
|
20021
21175
|
tools.push(get_recycle_bin_children_default2());
|
|
21176
|
+
tools.push(get_recycle_bin_siblings_default2());
|
|
20022
21177
|
tools.push(empty_recycle_bin_default2());
|
|
20023
21178
|
tools.push(restore_from_recycle_bin_default2());
|
|
20024
21179
|
tools.push(move_to_recycle_bin_default2());
|
|
20025
21180
|
tools.push(delete_from_recycle_bin_default2());
|
|
21181
|
+
tools.push(delete_recycle_bin_item_default2());
|
|
20026
21182
|
tools.push(get_media_are_referenced_default());
|
|
20027
21183
|
tools.push(get_media_by_id_referenced_by_default());
|
|
20028
21184
|
tools.push(get_media_by_id_referenced_descendants_default());
|
|
@@ -20099,6 +21255,26 @@ var GetMediaTypeByIdsTool = CreateUmbracoTool(
|
|
|
20099
21255
|
);
|
|
20100
21256
|
var get_media_type_by_ids_default = GetMediaTypeByIdsTool;
|
|
20101
21257
|
|
|
21258
|
+
// src/umb-management-api/tools/media-type/get/get-item-media-type.ts
|
|
21259
|
+
var GetItemMediaTypeTool = CreateUmbracoTool(
|
|
21260
|
+
"get-item-media-type",
|
|
21261
|
+
"Gets media type items by their ids",
|
|
21262
|
+
getItemMediaTypeQueryParams.shape,
|
|
21263
|
+
async (params) => {
|
|
21264
|
+
const client = UmbracoManagementClient2.getClient();
|
|
21265
|
+
const response = await client.getItemMediaType(params);
|
|
21266
|
+
return {
|
|
21267
|
+
content: [
|
|
21268
|
+
{
|
|
21269
|
+
type: "text",
|
|
21270
|
+
text: JSON.stringify(response)
|
|
21271
|
+
}
|
|
21272
|
+
]
|
|
21273
|
+
};
|
|
21274
|
+
}
|
|
21275
|
+
);
|
|
21276
|
+
var get_item_media_type_default = GetItemMediaTypeTool;
|
|
21277
|
+
|
|
20102
21278
|
// src/umb-management-api/tools/media-type/get/get-allowed.ts
|
|
20103
21279
|
var GetAllowedMediaTypeTool = CreateUmbracoTool(
|
|
20104
21280
|
"get-allowed-media-type",
|
|
@@ -20225,6 +21401,26 @@ var GetMediaTypeChildrenTool = CreateUmbracoTool(
|
|
|
20225
21401
|
);
|
|
20226
21402
|
var get_children_default7 = GetMediaTypeChildrenTool;
|
|
20227
21403
|
|
|
21404
|
+
// src/umb-management-api/tools/media-type/items/get/get-siblings.ts
|
|
21405
|
+
var GetMediaTypeSiblingsTool = CreateUmbracoTool(
|
|
21406
|
+
"get-media-type-siblings",
|
|
21407
|
+
"Gets sibling media types or media type folders for a given descendant id",
|
|
21408
|
+
getTreeMediaTypeSiblingsQueryParams.shape,
|
|
21409
|
+
async (params) => {
|
|
21410
|
+
const client = UmbracoManagementClient2.getClient();
|
|
21411
|
+
const response = await client.getTreeMediaTypeSiblings(params);
|
|
21412
|
+
return {
|
|
21413
|
+
content: [
|
|
21414
|
+
{
|
|
21415
|
+
type: "text",
|
|
21416
|
+
text: JSON.stringify(response)
|
|
21417
|
+
}
|
|
21418
|
+
]
|
|
21419
|
+
};
|
|
21420
|
+
}
|
|
21421
|
+
);
|
|
21422
|
+
var get_siblings_default6 = GetMediaTypeSiblingsTool;
|
|
21423
|
+
|
|
20228
21424
|
// src/umb-management-api/tools/media-type/items/get/get-ancestors.ts
|
|
20229
21425
|
var GetMediaTypeAncestorsTool = CreateUmbracoTool(
|
|
20230
21426
|
"get-media-type-ancestors",
|
|
@@ -20545,12 +21741,14 @@ var MediaTypeCollection = {
|
|
|
20545
21741
|
tools.push(delete_media_type_default());
|
|
20546
21742
|
tools.push(get_root_default7());
|
|
20547
21743
|
tools.push(get_children_default7());
|
|
21744
|
+
tools.push(get_siblings_default6());
|
|
20548
21745
|
tools.push(get_ancestors_default7());
|
|
20549
21746
|
tools.push(get_media_type_folders_default());
|
|
20550
21747
|
}
|
|
20551
21748
|
if (AuthorizationPolicies.TreeAccessMediaOrMediaTypes(user)) {
|
|
20552
21749
|
tools.push(get_media_type_by_id_default());
|
|
20553
21750
|
tools.push(get_media_type_by_ids_default());
|
|
21751
|
+
tools.push(get_item_media_type_default());
|
|
20554
21752
|
tools.push(get_media_type_configuration_default());
|
|
20555
21753
|
tools.push(get_allowed_default());
|
|
20556
21754
|
tools.push(get_media_type_allowed_at_root_default());
|
|
@@ -20783,6 +21981,26 @@ var GetMemberByIdReferencedDescendantsTool = CreateUmbracoTool(
|
|
|
20783
21981
|
);
|
|
20784
21982
|
var get_member_by_id_referenced_descendants_default = GetMemberByIdReferencedDescendantsTool;
|
|
20785
21983
|
|
|
21984
|
+
// src/umb-management-api/tools/member/get/get-item-member-search.ts
|
|
21985
|
+
var GetItemMemberSearchTool = CreateUmbracoTool(
|
|
21986
|
+
"get-item-member-search",
|
|
21987
|
+
`Searches for member items`,
|
|
21988
|
+
getItemMemberSearchQueryParams.shape,
|
|
21989
|
+
async (model) => {
|
|
21990
|
+
const client = UmbracoManagementClient2.getClient();
|
|
21991
|
+
var response = await client.getItemMemberSearch(model);
|
|
21992
|
+
return {
|
|
21993
|
+
content: [
|
|
21994
|
+
{
|
|
21995
|
+
type: "text",
|
|
21996
|
+
text: JSON.stringify(response)
|
|
21997
|
+
}
|
|
21998
|
+
]
|
|
21999
|
+
};
|
|
22000
|
+
}
|
|
22001
|
+
);
|
|
22002
|
+
var get_item_member_search_default = GetItemMemberSearchTool;
|
|
22003
|
+
|
|
20786
22004
|
// src/umb-management-api/tools/member/index.ts
|
|
20787
22005
|
var MemberCollection = {
|
|
20788
22006
|
metadata: {
|
|
@@ -20805,6 +22023,7 @@ var MemberCollection = {
|
|
|
20805
22023
|
tools.push(get_member_by_id_referenced_descendants_default());
|
|
20806
22024
|
}
|
|
20807
22025
|
tools.push(find_member_default());
|
|
22026
|
+
tools.push(get_item_member_search_default());
|
|
20808
22027
|
return tools;
|
|
20809
22028
|
}
|
|
20810
22029
|
};
|
|
@@ -20870,6 +22089,26 @@ var GetMemberGroupRootTool = CreateUmbracoTool(
|
|
|
20870
22089
|
);
|
|
20871
22090
|
var get_root_default8 = GetMemberGroupRootTool;
|
|
20872
22091
|
|
|
22092
|
+
// src/umb-management-api/tools/member-group/get/get-all-member-groups.ts
|
|
22093
|
+
var GetAllMemberGroupsTool = CreateUmbracoTool(
|
|
22094
|
+
"get-all-member-groups",
|
|
22095
|
+
`Gets all member groups with optional pagination`,
|
|
22096
|
+
getMemberGroupQueryParams.shape,
|
|
22097
|
+
async (model) => {
|
|
22098
|
+
const client = UmbracoManagementClient2.getClient();
|
|
22099
|
+
var response = await client.getMemberGroup(model);
|
|
22100
|
+
return {
|
|
22101
|
+
content: [
|
|
22102
|
+
{
|
|
22103
|
+
type: "text",
|
|
22104
|
+
text: JSON.stringify(response)
|
|
22105
|
+
}
|
|
22106
|
+
]
|
|
22107
|
+
};
|
|
22108
|
+
}
|
|
22109
|
+
);
|
|
22110
|
+
var get_all_member_groups_default = GetAllMemberGroupsTool;
|
|
22111
|
+
|
|
20873
22112
|
// src/umb-management-api/tools/member-group/post/create-member-group.ts
|
|
20874
22113
|
var CreateMemberGroupTool = CreateUmbracoTool(
|
|
20875
22114
|
"create-member-group",
|
|
@@ -20946,6 +22185,7 @@ var MemberGroupCollection = {
|
|
|
20946
22185
|
const tools = [];
|
|
20947
22186
|
tools.push(get_member_group_default());
|
|
20948
22187
|
tools.push(get_member_group_by_id_array_default());
|
|
22188
|
+
tools.push(get_all_member_groups_default());
|
|
20949
22189
|
if (AuthorizationPolicies.SectionAccessMembers(user)) {
|
|
20950
22190
|
tools.push(create_member_group_default());
|
|
20951
22191
|
tools.push(update_member_group_default());
|
|
@@ -21165,6 +22405,46 @@ var GetMemberTypeRootTool = CreateUmbracoTool(
|
|
|
21165
22405
|
);
|
|
21166
22406
|
var get_root_default9 = GetMemberTypeRootTool;
|
|
21167
22407
|
|
|
22408
|
+
// src/umb-management-api/tools/member-type/items/get/get-siblings.ts
|
|
22409
|
+
var GetMemberTypeSiblingsTool = CreateUmbracoTool(
|
|
22410
|
+
"get-member-type-siblings",
|
|
22411
|
+
"Gets sibling member types or member type folders for a given descendant id",
|
|
22412
|
+
getTreeMemberTypeSiblingsQueryParams.shape,
|
|
22413
|
+
async (params) => {
|
|
22414
|
+
const client = UmbracoManagementClient2.getClient();
|
|
22415
|
+
var response = await client.getTreeMemberTypeSiblings(params);
|
|
22416
|
+
return {
|
|
22417
|
+
content: [
|
|
22418
|
+
{
|
|
22419
|
+
type: "text",
|
|
22420
|
+
text: JSON.stringify(response)
|
|
22421
|
+
}
|
|
22422
|
+
]
|
|
22423
|
+
};
|
|
22424
|
+
}
|
|
22425
|
+
);
|
|
22426
|
+
var get_siblings_default7 = GetMemberTypeSiblingsTool;
|
|
22427
|
+
|
|
22428
|
+
// src/umb-management-api/tools/member-type/get/get-item-member-type-search.ts
|
|
22429
|
+
var SearchMemberTypeItemsTool = CreateUmbracoTool(
|
|
22430
|
+
"search-member-type-items",
|
|
22431
|
+
"Searches for member type items",
|
|
22432
|
+
getItemMemberTypeSearchQueryParams.shape,
|
|
22433
|
+
async (params) => {
|
|
22434
|
+
const client = UmbracoManagementClient2.getClient();
|
|
22435
|
+
var response = await client.getItemMemberTypeSearch(params);
|
|
22436
|
+
return {
|
|
22437
|
+
content: [
|
|
22438
|
+
{
|
|
22439
|
+
type: "text",
|
|
22440
|
+
text: JSON.stringify(response)
|
|
22441
|
+
}
|
|
22442
|
+
]
|
|
22443
|
+
};
|
|
22444
|
+
}
|
|
22445
|
+
);
|
|
22446
|
+
var get_item_member_type_search_default = SearchMemberTypeItemsTool;
|
|
22447
|
+
|
|
21168
22448
|
// src/umb-management-api/tools/member-type/index.ts
|
|
21169
22449
|
var MemberTypeCollection = {
|
|
21170
22450
|
metadata: {
|
|
@@ -21186,6 +22466,8 @@ var MemberTypeCollection = {
|
|
|
21186
22466
|
tools.push(get_member_type_composition_references_default());
|
|
21187
22467
|
tools.push(get_member_type_configuration_default());
|
|
21188
22468
|
tools.push(get_root_default9());
|
|
22469
|
+
tools.push(get_siblings_default7());
|
|
22470
|
+
tools.push(get_item_member_type_search_default());
|
|
21189
22471
|
}
|
|
21190
22472
|
return tools;
|
|
21191
22473
|
}
|
|
@@ -21701,6 +22983,26 @@ var GetPartialViewSearchTool = CreateUmbracoTool(
|
|
|
21701
22983
|
);
|
|
21702
22984
|
var get_search_default2 = GetPartialViewSearchTool;
|
|
21703
22985
|
|
|
22986
|
+
// src/umb-management-api/tools/partial-view/items/get/get-siblings.ts
|
|
22987
|
+
var GetPartialViewSiblingsTool = CreateUmbracoTool(
|
|
22988
|
+
"get-partial-view-siblings",
|
|
22989
|
+
"Gets sibling partial views for a given descendant path",
|
|
22990
|
+
getTreePartialViewSiblingsQueryParams.shape,
|
|
22991
|
+
async (params) => {
|
|
22992
|
+
const client = UmbracoManagementClient2.getClient();
|
|
22993
|
+
var response = await client.getTreePartialViewSiblings(params);
|
|
22994
|
+
return {
|
|
22995
|
+
content: [
|
|
22996
|
+
{
|
|
22997
|
+
type: "text",
|
|
22998
|
+
text: JSON.stringify(response)
|
|
22999
|
+
}
|
|
23000
|
+
]
|
|
23001
|
+
};
|
|
23002
|
+
}
|
|
23003
|
+
);
|
|
23004
|
+
var get_siblings_default8 = GetPartialViewSiblingsTool;
|
|
23005
|
+
|
|
21704
23006
|
// src/umb-management-api/tools/partial-view/index.ts
|
|
21705
23007
|
var PartialViewCollection = {
|
|
21706
23008
|
metadata: {
|
|
@@ -21726,6 +23028,7 @@ var PartialViewCollection = {
|
|
|
21726
23028
|
tools.push(get_children_default8());
|
|
21727
23029
|
tools.push(get_root_default10());
|
|
21728
23030
|
tools.push(get_search_default2());
|
|
23031
|
+
tools.push(get_siblings_default8());
|
|
21729
23032
|
}
|
|
21730
23033
|
return tools;
|
|
21731
23034
|
}
|
|
@@ -22021,6 +23324,26 @@ var GetTemplateSearchTool = CreateUmbracoTool(
|
|
|
22021
23324
|
);
|
|
22022
23325
|
var get_search_default3 = GetTemplateSearchTool;
|
|
22023
23326
|
|
|
23327
|
+
// src/umb-management-api/tools/template/items/get/get-siblings.ts
|
|
23328
|
+
var GetTemplateSiblingsTool = CreateUmbracoTool(
|
|
23329
|
+
"get-template-siblings",
|
|
23330
|
+
"Gets sibling templates for a given descendant id",
|
|
23331
|
+
getTreeTemplateSiblingsQueryParams.shape,
|
|
23332
|
+
async (params) => {
|
|
23333
|
+
const client = UmbracoManagementClient2.getClient();
|
|
23334
|
+
var response = await client.getTreeTemplateSiblings(params);
|
|
23335
|
+
return {
|
|
23336
|
+
content: [
|
|
23337
|
+
{
|
|
23338
|
+
type: "text",
|
|
23339
|
+
text: JSON.stringify(response)
|
|
23340
|
+
}
|
|
23341
|
+
]
|
|
23342
|
+
};
|
|
23343
|
+
}
|
|
23344
|
+
);
|
|
23345
|
+
var get_siblings_default9 = GetTemplateSiblingsTool;
|
|
23346
|
+
|
|
22024
23347
|
// src/umb-management-api/tools/template/index.ts
|
|
22025
23348
|
var TemplateCollection = {
|
|
22026
23349
|
metadata: {
|
|
@@ -22044,6 +23367,7 @@ var TemplateCollection = {
|
|
|
22044
23367
|
tools.push(get_children_default9());
|
|
22045
23368
|
tools.push(get_root_default11());
|
|
22046
23369
|
tools.push(get_search_default3());
|
|
23370
|
+
tools.push(get_siblings_default9());
|
|
22047
23371
|
}
|
|
22048
23372
|
return tools;
|
|
22049
23373
|
}
|
|
@@ -23115,6 +24439,26 @@ var GetScriptTreeRootTool = CreateUmbracoTool(
|
|
|
23115
24439
|
);
|
|
23116
24440
|
var get_script_tree_root_default = GetScriptTreeRootTool;
|
|
23117
24441
|
|
|
24442
|
+
// src/umb-management-api/tools/script/get/get-script-tree-siblings.ts
|
|
24443
|
+
var GetScriptTreeSiblingsTool = CreateUmbracoTool(
|
|
24444
|
+
"get-script-tree-siblings",
|
|
24445
|
+
"Gets sibling scripts for a given descendant path",
|
|
24446
|
+
getTreeScriptSiblingsQueryParams.shape,
|
|
24447
|
+
async (model) => {
|
|
24448
|
+
const client = UmbracoManagementClient2.getClient();
|
|
24449
|
+
const response = await client.getTreeScriptSiblings(model);
|
|
24450
|
+
return {
|
|
24451
|
+
content: [
|
|
24452
|
+
{
|
|
24453
|
+
type: "text",
|
|
24454
|
+
text: JSON.stringify(response)
|
|
24455
|
+
}
|
|
24456
|
+
]
|
|
24457
|
+
};
|
|
24458
|
+
}
|
|
24459
|
+
);
|
|
24460
|
+
var get_script_tree_siblings_default = GetScriptTreeSiblingsTool;
|
|
24461
|
+
|
|
23118
24462
|
// src/umb-management-api/tools/script/post/create-script.ts
|
|
23119
24463
|
|
|
23120
24464
|
var createScriptSchema = _zod2.default.object({
|
|
@@ -23283,6 +24627,7 @@ var ScriptCollection = {
|
|
|
23283
24627
|
tools.push(get_script_tree_ancestors_default());
|
|
23284
24628
|
tools.push(get_script_tree_children_default());
|
|
23285
24629
|
tools.push(get_script_tree_root_default());
|
|
24630
|
+
tools.push(get_script_tree_siblings_default());
|
|
23286
24631
|
tools.push(create_script_default());
|
|
23287
24632
|
tools.push(create_script_folder_default());
|
|
23288
24633
|
tools.push(update_script_default());
|
|
@@ -23558,6 +24903,26 @@ var GetStylesheetSearchTool = CreateUmbracoTool(
|
|
|
23558
24903
|
);
|
|
23559
24904
|
var get_search_default4 = GetStylesheetSearchTool;
|
|
23560
24905
|
|
|
24906
|
+
// src/umb-management-api/tools/stylesheet/items/get/get-siblings.ts
|
|
24907
|
+
var GetStylesheetSiblingsTool = CreateUmbracoTool(
|
|
24908
|
+
"get-stylesheet-siblings",
|
|
24909
|
+
"Gets sibling stylesheets for a given descendant path",
|
|
24910
|
+
getTreeStylesheetSiblingsQueryParams.shape,
|
|
24911
|
+
async (params) => {
|
|
24912
|
+
const client = UmbracoManagementClient2.getClient();
|
|
24913
|
+
var response = await client.getTreeStylesheetSiblings(params);
|
|
24914
|
+
return {
|
|
24915
|
+
content: [
|
|
24916
|
+
{
|
|
24917
|
+
type: "text",
|
|
24918
|
+
text: JSON.stringify(response)
|
|
24919
|
+
}
|
|
24920
|
+
]
|
|
24921
|
+
};
|
|
24922
|
+
}
|
|
24923
|
+
);
|
|
24924
|
+
var get_siblings_default10 = GetStylesheetSiblingsTool;
|
|
24925
|
+
|
|
23561
24926
|
// src/umb-management-api/tools/stylesheet/index.ts
|
|
23562
24927
|
var StylesheetCollection = {
|
|
23563
24928
|
metadata: {
|
|
@@ -23581,6 +24946,7 @@ var StylesheetCollection = {
|
|
|
23581
24946
|
tools.push(get_children_default10());
|
|
23582
24947
|
tools.push(get_root_default12());
|
|
23583
24948
|
tools.push(get_search_default4());
|
|
24949
|
+
tools.push(get_siblings_default10());
|
|
23584
24950
|
}
|
|
23585
24951
|
return tools;
|
|
23586
24952
|
}
|
|
@@ -24610,6 +25976,26 @@ var GetUserDataByIdTool = CreateUmbracoTool(
|
|
|
24610
25976
|
);
|
|
24611
25977
|
var get_user_data_by_id_default = GetUserDataByIdTool;
|
|
24612
25978
|
|
|
25979
|
+
// src/umb-management-api/tools/user-data/delete/delete-user-data.ts
|
|
25980
|
+
var DeleteUserDataTool = CreateUmbracoTool(
|
|
25981
|
+
"delete-user-data",
|
|
25982
|
+
"Deletes user data by its id",
|
|
25983
|
+
deleteUserDataByIdParams.shape,
|
|
25984
|
+
async ({ id }) => {
|
|
25985
|
+
const client = UmbracoManagementClient2.getClient();
|
|
25986
|
+
var response = await client.deleteUserDataById(id);
|
|
25987
|
+
return {
|
|
25988
|
+
content: [
|
|
25989
|
+
{
|
|
25990
|
+
type: "text",
|
|
25991
|
+
text: JSON.stringify(response)
|
|
25992
|
+
}
|
|
25993
|
+
]
|
|
25994
|
+
};
|
|
25995
|
+
}
|
|
25996
|
+
);
|
|
25997
|
+
var delete_user_data_default = DeleteUserDataTool;
|
|
25998
|
+
|
|
24613
25999
|
// src/umb-management-api/tools/user-data/index.ts
|
|
24614
26000
|
var UserDataCollection = {
|
|
24615
26001
|
metadata: {
|
|
@@ -24624,6 +26010,7 @@ var UserDataCollection = {
|
|
|
24624
26010
|
tools.push(update_user_data_default());
|
|
24625
26011
|
tools.push(get_user_data_default());
|
|
24626
26012
|
tools.push(get_user_data_by_id_default());
|
|
26013
|
+
tools.push(delete_user_data_default());
|
|
24627
26014
|
return tools;
|
|
24628
26015
|
}
|
|
24629
26016
|
};
|
|
@@ -25076,8 +26463,8 @@ var GetDataTypeReferencesResource = CreateUmbracoTemplateResource(
|
|
|
25076
26463
|
async (uri, variables) => {
|
|
25077
26464
|
try {
|
|
25078
26465
|
const client = UmbracoManagementClient2.getClient();
|
|
25079
|
-
const params =
|
|
25080
|
-
const response = await client.
|
|
26466
|
+
const params = getDataTypeByIdReferencedByParams.parse(variables);
|
|
26467
|
+
const response = await client.getDataTypeByIdReferencedBy(params.id);
|
|
25081
26468
|
return {
|
|
25082
26469
|
contents: [
|
|
25083
26470
|
{
|