@umbraco-cms/mcp-dev 17.3.1 → 17.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-ZMREPEAA.cjs → chunk-6IL4IQKW.cjs} +1254 -181
- package/dist/chunk-6IL4IQKW.cjs.map +1 -0
- package/dist/{chunk-AGZ4PKPN.js → chunk-EONL3SEB.js} +3471 -2398
- package/dist/chunk-EONL3SEB.js.map +1 -0
- package/dist/collections.cjs +2 -2
- package/dist/collections.js +1 -1
- package/dist/index.cjs +95 -90
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +11 -6
- package/dist/index.js.map +1 -1
- package/dist/tool-types.d.ts +8420 -0
- package/package.json +9 -4
- package/dist/chunk-AGZ4PKPN.js.map +0 -1
- package/dist/chunk-ZMREPEAA.cjs.map +0 -1
|
@@ -123,6 +123,16 @@ var getUmbracoManagementAPI = () => {
|
|
|
123
123
|
options
|
|
124
124
|
);
|
|
125
125
|
};
|
|
126
|
+
const getDataTypeBatch = (params, options) => {
|
|
127
|
+
return UmbracoManagementClient(
|
|
128
|
+
{
|
|
129
|
+
url: `/umbraco/management/api/v1/data-type/batch`,
|
|
130
|
+
method: "GET",
|
|
131
|
+
params
|
|
132
|
+
},
|
|
133
|
+
options
|
|
134
|
+
);
|
|
135
|
+
};
|
|
126
136
|
const getDataTypeConfiguration = (options) => {
|
|
127
137
|
return UmbracoManagementClient(
|
|
128
138
|
{
|
|
@@ -192,6 +202,16 @@ var getUmbracoManagementAPI = () => {
|
|
|
192
202
|
options
|
|
193
203
|
);
|
|
194
204
|
};
|
|
205
|
+
const getItemDataTypeAncestors = (params, options) => {
|
|
206
|
+
return UmbracoManagementClient(
|
|
207
|
+
{
|
|
208
|
+
url: `/umbraco/management/api/v1/item/data-type/ancestors`,
|
|
209
|
+
method: "GET",
|
|
210
|
+
params
|
|
211
|
+
},
|
|
212
|
+
options
|
|
213
|
+
);
|
|
214
|
+
};
|
|
195
215
|
const getItemDataTypeSearch = (params, options) => {
|
|
196
216
|
return UmbracoManagementClient(
|
|
197
217
|
{
|
|
@@ -232,6 +252,16 @@ var getUmbracoManagementAPI = () => {
|
|
|
232
252
|
options
|
|
233
253
|
);
|
|
234
254
|
};
|
|
255
|
+
const getTreeDataTypeSearch = (params, options) => {
|
|
256
|
+
return UmbracoManagementClient(
|
|
257
|
+
{
|
|
258
|
+
url: `/umbraco/management/api/v1/tree/data-type/search`,
|
|
259
|
+
method: "GET",
|
|
260
|
+
params
|
|
261
|
+
},
|
|
262
|
+
options
|
|
263
|
+
);
|
|
264
|
+
};
|
|
235
265
|
const getTreeDataTypeSiblings = (params, options) => {
|
|
236
266
|
return UmbracoManagementClient(
|
|
237
267
|
{
|
|
@@ -576,6 +606,15 @@ var getUmbracoManagementAPI = () => {
|
|
|
576
606
|
options
|
|
577
607
|
);
|
|
578
608
|
};
|
|
609
|
+
const getDocumentTypeByIdAllowedParents = (id, options) => {
|
|
610
|
+
return UmbracoManagementClient(
|
|
611
|
+
{
|
|
612
|
+
url: `/umbraco/management/api/v1/document-type/${id}/allowed-parents`,
|
|
613
|
+
method: "GET"
|
|
614
|
+
},
|
|
615
|
+
options
|
|
616
|
+
);
|
|
617
|
+
};
|
|
579
618
|
const getDocumentTypeByIdBlueprint = (id, params, options) => {
|
|
580
619
|
return UmbracoManagementClient(
|
|
581
620
|
{
|
|
@@ -670,6 +709,16 @@ var getUmbracoManagementAPI = () => {
|
|
|
670
709
|
options
|
|
671
710
|
);
|
|
672
711
|
};
|
|
712
|
+
const getDocumentTypeBatch = (params, options) => {
|
|
713
|
+
return UmbracoManagementClient(
|
|
714
|
+
{
|
|
715
|
+
url: `/umbraco/management/api/v1/document-type/batch`,
|
|
716
|
+
method: "GET",
|
|
717
|
+
params
|
|
718
|
+
},
|
|
719
|
+
options
|
|
720
|
+
);
|
|
721
|
+
};
|
|
673
722
|
const getDocumentTypeConfiguration = (options) => {
|
|
674
723
|
return UmbracoManagementClient(
|
|
675
724
|
{
|
|
@@ -740,6 +789,16 @@ var getUmbracoManagementAPI = () => {
|
|
|
740
789
|
options
|
|
741
790
|
);
|
|
742
791
|
};
|
|
792
|
+
const getItemDocumentTypeAncestors = (params, options) => {
|
|
793
|
+
return UmbracoManagementClient(
|
|
794
|
+
{
|
|
795
|
+
url: `/umbraco/management/api/v1/item/document-type/ancestors`,
|
|
796
|
+
method: "GET",
|
|
797
|
+
params
|
|
798
|
+
},
|
|
799
|
+
options
|
|
800
|
+
);
|
|
801
|
+
};
|
|
743
802
|
const getItemDocumentTypeSearch = (params, options) => {
|
|
744
803
|
return UmbracoManagementClient(
|
|
745
804
|
{
|
|
@@ -780,6 +839,16 @@ var getUmbracoManagementAPI = () => {
|
|
|
780
839
|
options
|
|
781
840
|
);
|
|
782
841
|
};
|
|
842
|
+
const getTreeDocumentTypeSearch = (params, options) => {
|
|
843
|
+
return UmbracoManagementClient(
|
|
844
|
+
{
|
|
845
|
+
url: `/umbraco/management/api/v1/tree/document-type/search`,
|
|
846
|
+
method: "GET",
|
|
847
|
+
params
|
|
848
|
+
},
|
|
849
|
+
options
|
|
850
|
+
);
|
|
851
|
+
};
|
|
783
852
|
const getTreeDocumentTypeSiblings = (params, options) => {
|
|
784
853
|
return UmbracoManagementClient(
|
|
785
854
|
{
|
|
@@ -1000,11 +1069,12 @@ var getUmbracoManagementAPI = () => {
|
|
|
1000
1069
|
options
|
|
1001
1070
|
);
|
|
1002
1071
|
};
|
|
1003
|
-
const getDocumentByIdPublicAccess = (id, options) => {
|
|
1072
|
+
const getDocumentByIdPublicAccess = (id, params, options) => {
|
|
1004
1073
|
return UmbracoManagementClient(
|
|
1005
1074
|
{
|
|
1006
1075
|
url: `/umbraco/management/api/v1/document/${id}/public-access`,
|
|
1007
|
-
method: "GET"
|
|
1076
|
+
method: "GET",
|
|
1077
|
+
params
|
|
1008
1078
|
},
|
|
1009
1079
|
options
|
|
1010
1080
|
);
|
|
@@ -1163,6 +1233,16 @@ var getUmbracoManagementAPI = () => {
|
|
|
1163
1233
|
options
|
|
1164
1234
|
);
|
|
1165
1235
|
};
|
|
1236
|
+
const getItemDocumentAncestors = (params, options) => {
|
|
1237
|
+
return UmbracoManagementClient(
|
|
1238
|
+
{
|
|
1239
|
+
url: `/umbraco/management/api/v1/item/document/ancestors`,
|
|
1240
|
+
method: "GET",
|
|
1241
|
+
params
|
|
1242
|
+
},
|
|
1243
|
+
options
|
|
1244
|
+
);
|
|
1245
|
+
};
|
|
1166
1246
|
const getItemDocumentSearch = (params, options) => {
|
|
1167
1247
|
return UmbracoManagementClient(
|
|
1168
1248
|
{
|
|
@@ -1644,6 +1724,16 @@ var getUmbracoManagementAPI = () => {
|
|
|
1644
1724
|
options
|
|
1645
1725
|
);
|
|
1646
1726
|
};
|
|
1727
|
+
const getItemMediaTypeAncestors = (params, options) => {
|
|
1728
|
+
return UmbracoManagementClient(
|
|
1729
|
+
{
|
|
1730
|
+
url: `/umbraco/management/api/v1/item/media-type/ancestors`,
|
|
1731
|
+
method: "GET",
|
|
1732
|
+
params
|
|
1733
|
+
},
|
|
1734
|
+
options
|
|
1735
|
+
);
|
|
1736
|
+
};
|
|
1647
1737
|
const getItemMediaTypeFolders = (params, options) => {
|
|
1648
1738
|
return UmbracoManagementClient(
|
|
1649
1739
|
{
|
|
@@ -1714,6 +1804,15 @@ var getUmbracoManagementAPI = () => {
|
|
|
1714
1804
|
options
|
|
1715
1805
|
);
|
|
1716
1806
|
};
|
|
1807
|
+
const getMediaTypeByIdAllowedParents = (id, options) => {
|
|
1808
|
+
return UmbracoManagementClient(
|
|
1809
|
+
{
|
|
1810
|
+
url: `/umbraco/management/api/v1/media-type/${id}/allowed-parents`,
|
|
1811
|
+
method: "GET"
|
|
1812
|
+
},
|
|
1813
|
+
options
|
|
1814
|
+
);
|
|
1815
|
+
};
|
|
1717
1816
|
const getMediaTypeByIdCompositionReferences = (id, options) => {
|
|
1718
1817
|
return UmbracoManagementClient(
|
|
1719
1818
|
{
|
|
@@ -1787,6 +1886,16 @@ var getUmbracoManagementAPI = () => {
|
|
|
1787
1886
|
options
|
|
1788
1887
|
);
|
|
1789
1888
|
};
|
|
1889
|
+
const getMediaTypeBatch = (params, options) => {
|
|
1890
|
+
return UmbracoManagementClient(
|
|
1891
|
+
{
|
|
1892
|
+
url: `/umbraco/management/api/v1/media-type/batch`,
|
|
1893
|
+
method: "GET",
|
|
1894
|
+
params
|
|
1895
|
+
},
|
|
1896
|
+
options
|
|
1897
|
+
);
|
|
1898
|
+
};
|
|
1790
1899
|
const getMediaTypeConfiguration = (options) => {
|
|
1791
1900
|
return UmbracoManagementClient(
|
|
1792
1901
|
{
|
|
@@ -1907,6 +2016,16 @@ var getUmbracoManagementAPI = () => {
|
|
|
1907
2016
|
options
|
|
1908
2017
|
);
|
|
1909
2018
|
};
|
|
2019
|
+
const getItemMediaAncestors = (params, options) => {
|
|
2020
|
+
return UmbracoManagementClient(
|
|
2021
|
+
{
|
|
2022
|
+
url: `/umbraco/management/api/v1/item/media/ancestors`,
|
|
2023
|
+
method: "GET",
|
|
2024
|
+
params
|
|
2025
|
+
},
|
|
2026
|
+
options
|
|
2027
|
+
);
|
|
2028
|
+
};
|
|
1910
2029
|
const getItemMediaSearch = (params, options) => {
|
|
1911
2030
|
return UmbracoManagementClient(
|
|
1912
2031
|
{
|
|
@@ -2267,6 +2386,16 @@ var getUmbracoManagementAPI = () => {
|
|
|
2267
2386
|
options
|
|
2268
2387
|
);
|
|
2269
2388
|
};
|
|
2389
|
+
const getItemMemberTypeAncestors = (params, options) => {
|
|
2390
|
+
return UmbracoManagementClient(
|
|
2391
|
+
{
|
|
2392
|
+
url: `/umbraco/management/api/v1/item/member-type/ancestors`,
|
|
2393
|
+
method: "GET",
|
|
2394
|
+
params
|
|
2395
|
+
},
|
|
2396
|
+
options
|
|
2397
|
+
);
|
|
2398
|
+
};
|
|
2270
2399
|
const getItemMemberTypeSearch = (params, options) => {
|
|
2271
2400
|
return UmbracoManagementClient(
|
|
2272
2401
|
{
|
|
@@ -2380,6 +2509,16 @@ var getUmbracoManagementAPI = () => {
|
|
|
2380
2509
|
options
|
|
2381
2510
|
);
|
|
2382
2511
|
};
|
|
2512
|
+
const getMemberTypeBatch = (params, options) => {
|
|
2513
|
+
return UmbracoManagementClient(
|
|
2514
|
+
{
|
|
2515
|
+
url: `/umbraco/management/api/v1/member-type/batch`,
|
|
2516
|
+
method: "GET",
|
|
2517
|
+
params
|
|
2518
|
+
},
|
|
2519
|
+
options
|
|
2520
|
+
);
|
|
2521
|
+
};
|
|
2383
2522
|
const getMemberTypeConfiguration = (options) => {
|
|
2384
2523
|
return UmbracoManagementClient(
|
|
2385
2524
|
{
|
|
@@ -2500,6 +2639,16 @@ var getUmbracoManagementAPI = () => {
|
|
|
2500
2639
|
options
|
|
2501
2640
|
);
|
|
2502
2641
|
};
|
|
2642
|
+
const getItemMemberAncestors = (params, options) => {
|
|
2643
|
+
return UmbracoManagementClient(
|
|
2644
|
+
{
|
|
2645
|
+
url: `/umbraco/management/api/v1/item/member/ancestors`,
|
|
2646
|
+
method: "GET",
|
|
2647
|
+
params
|
|
2648
|
+
},
|
|
2649
|
+
options
|
|
2650
|
+
);
|
|
2651
|
+
};
|
|
2503
2652
|
const getItemMemberSearch = (params, options) => {
|
|
2504
2653
|
return UmbracoManagementClient(
|
|
2505
2654
|
{
|
|
@@ -3533,6 +3682,16 @@ var getUmbracoManagementAPI = () => {
|
|
|
3533
3682
|
options
|
|
3534
3683
|
);
|
|
3535
3684
|
};
|
|
3685
|
+
const getItemTemplateAncestors = (params, options) => {
|
|
3686
|
+
return UmbracoManagementClient(
|
|
3687
|
+
{
|
|
3688
|
+
url: `/umbraco/management/api/v1/item/template/ancestors`,
|
|
3689
|
+
method: "GET",
|
|
3690
|
+
params
|
|
3691
|
+
},
|
|
3692
|
+
options
|
|
3693
|
+
);
|
|
3694
|
+
};
|
|
3536
3695
|
const getItemTemplateSearch = (params, options) => {
|
|
3537
3696
|
return UmbracoManagementClient(
|
|
3538
3697
|
{
|
|
@@ -4305,7 +4464,7 @@ var getUmbracoManagementAPI = () => {
|
|
|
4305
4464
|
options
|
|
4306
4465
|
);
|
|
4307
4466
|
};
|
|
4308
|
-
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, postDocumentTypeByIdTemplate, 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, getMemberTypeByIdExport, putMemberTypeByIdImport, putMemberTypeByIdMove, postMemberTypeAvailableCompositions, getMemberTypeConfiguration, postMemberTypeFolder, getMemberTypeFolderById, deleteMemberTypeFolderById, putMemberTypeFolderById, postMemberTypeImport, getTreeMemberTypeAncestors, getTreeMemberTypeChildren, 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 };
|
|
4467
|
+
return { getCulture, postDataType, getDataTypeById, deleteDataTypeById, putDataTypeById, postDataTypeByIdCopy, getDataTypeByIdIsUsed, putDataTypeByIdMove, getDataTypeByIdReferencedBy, getDataTypeBatch, getDataTypeConfiguration, postDataTypeFolder, getDataTypeFolderById, deleteDataTypeFolderById, putDataTypeFolderById, getFilterDataType, getItemDataType, getItemDataTypeAncestors, getItemDataTypeSearch, getTreeDataTypeAncestors, getTreeDataTypeChildren, getTreeDataTypeRoot, getTreeDataTypeSearch, 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, getDocumentTypeByIdAllowedParents, getDocumentTypeByIdBlueprint, getDocumentTypeByIdCompositionReferences, postDocumentTypeByIdCopy, getDocumentTypeByIdExport, putDocumentTypeByIdImport, putDocumentTypeByIdMove, postDocumentTypeByIdTemplate, getDocumentTypeAllowedAtRoot, postDocumentTypeAvailableCompositions, getDocumentTypeBatch, getDocumentTypeConfiguration, postDocumentTypeFolder, getDocumentTypeFolderById, deleteDocumentTypeFolderById, putDocumentTypeFolderById, postDocumentTypeImport, getItemDocumentType, getItemDocumentTypeAncestors, getItemDocumentTypeSearch, getTreeDocumentTypeAncestors, getTreeDocumentTypeChildren, getTreeDocumentTypeRoot, getTreeDocumentTypeSearch, 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, getItemDocumentAncestors, 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, getItemMediaTypeAncestors, getItemMediaTypeFolders, getItemMediaTypeSearch, postMediaType, getMediaTypeById, deleteMediaTypeById, putMediaTypeById, getMediaTypeByIdAllowedChildren, getMediaTypeByIdAllowedParents, getMediaTypeByIdCompositionReferences, postMediaTypeByIdCopy, getMediaTypeByIdExport, putMediaTypeByIdImport, putMediaTypeByIdMove, getMediaTypeAllowedAtRoot, postMediaTypeAvailableCompositions, getMediaTypeBatch, getMediaTypeConfiguration, postMediaTypeFolder, getMediaTypeFolderById, deleteMediaTypeFolderById, putMediaTypeFolderById, postMediaTypeImport, getTreeMediaTypeAncestors, getTreeMediaTypeChildren, getTreeMediaTypeRoot, getTreeMediaTypeSiblings, getCollectionMedia, getItemMedia, getItemMediaAncestors, 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, getItemMemberTypeAncestors, getItemMemberTypeSearch, postMemberType, getMemberTypeById, deleteMemberTypeById, putMemberTypeById, getMemberTypeByIdCompositionReferences, postMemberTypeByIdCopy, getMemberTypeByIdExport, putMemberTypeByIdImport, putMemberTypeByIdMove, postMemberTypeAvailableCompositions, getMemberTypeBatch, getMemberTypeConfiguration, postMemberTypeFolder, getMemberTypeFolderById, deleteMemberTypeFolderById, putMemberTypeFolderById, postMemberTypeImport, getTreeMemberTypeAncestors, getTreeMemberTypeChildren, getTreeMemberTypeRoot, getTreeMemberTypeSiblings, getFilterMember, getItemMember, getItemMemberAncestors, 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, getItemTemplateAncestors, 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 };
|
|
4309
4468
|
};
|
|
4310
4469
|
|
|
4311
4470
|
// src/umb-management-api/api/temporary-file/index.ts
|
|
@@ -4540,6 +4699,24 @@ var getDataTypeByIdReferencedByResponse = zod.object({
|
|
|
4540
4699
|
})
|
|
4541
4700
|
})]))
|
|
4542
4701
|
});
|
|
4702
|
+
var getDataTypeBatchQueryParams = zod.object({
|
|
4703
|
+
"id": zod.array(zod.guid()).optional()
|
|
4704
|
+
});
|
|
4705
|
+
var getDataTypeBatchResponse = zod.object({
|
|
4706
|
+
"total": zod.number(),
|
|
4707
|
+
"items": zod.array(zod.object({
|
|
4708
|
+
"name": zod.string().min(1),
|
|
4709
|
+
"editorAlias": zod.string().min(1),
|
|
4710
|
+
"editorUiAlias": zod.string(),
|
|
4711
|
+
"values": zod.array(zod.object({
|
|
4712
|
+
"alias": zod.string(),
|
|
4713
|
+
"value": zod.unknown().nullish()
|
|
4714
|
+
})),
|
|
4715
|
+
"id": zod.guid(),
|
|
4716
|
+
"isDeletable": zod.boolean(),
|
|
4717
|
+
"canIgnoreStartNodes": zod.boolean()
|
|
4718
|
+
}))
|
|
4719
|
+
});
|
|
4543
4720
|
var getDataTypeConfigurationResponse = zod.object({
|
|
4544
4721
|
"canBeChanged": zod.enum(["True", "False", "FalseWithHelpText"]),
|
|
4545
4722
|
"documentListViewId": zod.guid(),
|
|
@@ -4603,6 +4780,20 @@ var getItemDataTypeResponseItem = zod.object({
|
|
|
4603
4780
|
"isDeletable": zod.boolean()
|
|
4604
4781
|
});
|
|
4605
4782
|
var getItemDataTypeResponse = zod.array(getItemDataTypeResponseItem);
|
|
4783
|
+
var getItemDataTypeAncestorsQueryParams = zod.object({
|
|
4784
|
+
"id": zod.array(zod.guid()).optional()
|
|
4785
|
+
});
|
|
4786
|
+
var getItemDataTypeAncestorsResponseItem = zod.object({
|
|
4787
|
+
"id": zod.guid(),
|
|
4788
|
+
"ancestors": zod.array(zod.object({
|
|
4789
|
+
"id": zod.guid(),
|
|
4790
|
+
"flags": zod.array(zod.object({
|
|
4791
|
+
"alias": zod.string()
|
|
4792
|
+
})),
|
|
4793
|
+
"name": zod.string()
|
|
4794
|
+
}))
|
|
4795
|
+
});
|
|
4796
|
+
var getItemDataTypeAncestorsResponse = zod.array(getItemDataTypeAncestorsResponseItem);
|
|
4606
4797
|
var getItemDataTypeSearchQueryTakeDefault = 100;
|
|
4607
4798
|
var getItemDataTypeSearchQueryParams = zod.object({
|
|
4608
4799
|
"query": zod.string().optional(),
|
|
@@ -4687,6 +4878,30 @@ var getTreeDataTypeRootResponse = zod.object({
|
|
|
4687
4878
|
"isDeletable": zod.boolean()
|
|
4688
4879
|
}))
|
|
4689
4880
|
});
|
|
4881
|
+
var getTreeDataTypeSearchQueryTakeDefault = 100;
|
|
4882
|
+
var getTreeDataTypeSearchQueryParams = zod.object({
|
|
4883
|
+
"query": zod.string().optional(),
|
|
4884
|
+
"skip": zod.coerce.number().optional(),
|
|
4885
|
+
"take": zod.coerce.number().default(getTreeDataTypeSearchQueryTakeDefault),
|
|
4886
|
+
"itemKind": zod.enum(["Item", "Folder", "All"]).optional()
|
|
4887
|
+
});
|
|
4888
|
+
var getTreeDataTypeSearchResponse = zod.object({
|
|
4889
|
+
"total": zod.number(),
|
|
4890
|
+
"items": zod.array(zod.object({
|
|
4891
|
+
"hasChildren": zod.boolean(),
|
|
4892
|
+
"id": zod.guid(),
|
|
4893
|
+
"parent": zod.object({
|
|
4894
|
+
"id": zod.guid()
|
|
4895
|
+
}).nullish(),
|
|
4896
|
+
"flags": zod.array(zod.object({
|
|
4897
|
+
"alias": zod.string()
|
|
4898
|
+
})),
|
|
4899
|
+
"name": zod.string(),
|
|
4900
|
+
"isFolder": zod.boolean(),
|
|
4901
|
+
"editorUiAlias": zod.string().nullish(),
|
|
4902
|
+
"isDeletable": zod.boolean()
|
|
4903
|
+
}))
|
|
4904
|
+
});
|
|
4690
4905
|
var getTreeDataTypeSiblingsQueryParams = zod.object({
|
|
4691
4906
|
"target": zod.guid().optional(),
|
|
4692
4907
|
"before": zod.coerce.number().optional(),
|
|
@@ -5373,6 +5588,14 @@ var getDocumentTypeByIdAllowedChildrenResponse = zod.object({
|
|
|
5373
5588
|
"icon": zod.string().nullish()
|
|
5374
5589
|
}))
|
|
5375
5590
|
});
|
|
5591
|
+
var getDocumentTypeByIdAllowedParentsParams = zod.object({
|
|
5592
|
+
"id": zod.guid()
|
|
5593
|
+
});
|
|
5594
|
+
var getDocumentTypeByIdAllowedParentsResponse = zod.object({
|
|
5595
|
+
"allowedParentIds": zod.array(zod.object({
|
|
5596
|
+
"id": zod.guid()
|
|
5597
|
+
}))
|
|
5598
|
+
});
|
|
5376
5599
|
var getDocumentTypeByIdBlueprintParams = zod.object({
|
|
5377
5600
|
"id": zod.guid()
|
|
5378
5601
|
});
|
|
@@ -5464,6 +5687,82 @@ var postDocumentTypeAvailableCompositionsResponseItem = zod.object({
|
|
|
5464
5687
|
"isCompatible": zod.boolean()
|
|
5465
5688
|
});
|
|
5466
5689
|
var postDocumentTypeAvailableCompositionsResponse = zod.array(postDocumentTypeAvailableCompositionsResponseItem);
|
|
5690
|
+
var getDocumentTypeBatchQueryParams = zod.object({
|
|
5691
|
+
"id": zod.array(zod.guid()).optional()
|
|
5692
|
+
});
|
|
5693
|
+
var getDocumentTypeBatchResponse = zod.object({
|
|
5694
|
+
"total": zod.number(),
|
|
5695
|
+
"items": zod.array(zod.object({
|
|
5696
|
+
"alias": zod.string().min(1),
|
|
5697
|
+
"name": zod.string().min(1),
|
|
5698
|
+
"description": zod.string().nullish(),
|
|
5699
|
+
"icon": zod.string().min(1),
|
|
5700
|
+
"allowedAsRoot": zod.boolean(),
|
|
5701
|
+
"variesByCulture": zod.boolean(),
|
|
5702
|
+
"variesBySegment": zod.boolean(),
|
|
5703
|
+
"collection": zod.object({
|
|
5704
|
+
"id": zod.guid()
|
|
5705
|
+
}).nullish(),
|
|
5706
|
+
"isElement": zod.boolean(),
|
|
5707
|
+
"properties": zod.array(zod.object({
|
|
5708
|
+
"id": zod.guid(),
|
|
5709
|
+
"container": zod.object({
|
|
5710
|
+
"id": zod.guid()
|
|
5711
|
+
}).nullish(),
|
|
5712
|
+
"sortOrder": zod.number(),
|
|
5713
|
+
"alias": zod.string().min(1),
|
|
5714
|
+
"name": zod.string().min(1),
|
|
5715
|
+
"description": zod.string().nullish(),
|
|
5716
|
+
"dataType": zod.object({
|
|
5717
|
+
"id": zod.guid()
|
|
5718
|
+
}),
|
|
5719
|
+
"variesByCulture": zod.boolean(),
|
|
5720
|
+
"variesBySegment": zod.boolean(),
|
|
5721
|
+
"validation": zod.object({
|
|
5722
|
+
"mandatory": zod.boolean(),
|
|
5723
|
+
"mandatoryMessage": zod.string().nullish(),
|
|
5724
|
+
"regEx": zod.string().nullish(),
|
|
5725
|
+
"regExMessage": zod.string().nullish()
|
|
5726
|
+
}),
|
|
5727
|
+
"appearance": zod.object({
|
|
5728
|
+
"labelOnTop": zod.boolean()
|
|
5729
|
+
})
|
|
5730
|
+
})),
|
|
5731
|
+
"containers": zod.array(zod.object({
|
|
5732
|
+
"id": zod.guid(),
|
|
5733
|
+
"parent": zod.object({
|
|
5734
|
+
"id": zod.guid()
|
|
5735
|
+
}).nullish(),
|
|
5736
|
+
"name": zod.string().nullish(),
|
|
5737
|
+
"type": zod.string().min(1),
|
|
5738
|
+
"sortOrder": zod.number()
|
|
5739
|
+
})),
|
|
5740
|
+
"id": zod.guid(),
|
|
5741
|
+
"allowedTemplates": zod.array(zod.object({
|
|
5742
|
+
"id": zod.guid()
|
|
5743
|
+
})),
|
|
5744
|
+
"defaultTemplate": zod.object({
|
|
5745
|
+
"id": zod.guid()
|
|
5746
|
+
}).nullish(),
|
|
5747
|
+
"cleanup": zod.object({
|
|
5748
|
+
"preventCleanup": zod.boolean(),
|
|
5749
|
+
"keepAllVersionsNewerThanDays": zod.number().nullish(),
|
|
5750
|
+
"keepLatestVersionPerDayForDays": zod.number().nullish()
|
|
5751
|
+
}),
|
|
5752
|
+
"allowedDocumentTypes": zod.array(zod.object({
|
|
5753
|
+
"documentType": zod.object({
|
|
5754
|
+
"id": zod.guid()
|
|
5755
|
+
}),
|
|
5756
|
+
"sortOrder": zod.number()
|
|
5757
|
+
})),
|
|
5758
|
+
"compositions": zod.array(zod.object({
|
|
5759
|
+
"documentType": zod.object({
|
|
5760
|
+
"id": zod.guid()
|
|
5761
|
+
}),
|
|
5762
|
+
"compositionType": zod.enum(["Composition", "Inheritance"])
|
|
5763
|
+
}))
|
|
5764
|
+
}))
|
|
5765
|
+
});
|
|
5467
5766
|
var getDocumentTypeConfigurationResponse = zod.object({
|
|
5468
5767
|
"dataTypesCanBeChanged": zod.enum(["True", "False", "FalseWithHelpText"]),
|
|
5469
5768
|
"disableTemplates": zod.boolean(),
|
|
@@ -5512,6 +5811,20 @@ var getItemDocumentTypeResponseItem = zod.object({
|
|
|
5512
5811
|
"description": zod.string().nullish()
|
|
5513
5812
|
});
|
|
5514
5813
|
var getItemDocumentTypeResponse = zod.array(getItemDocumentTypeResponseItem);
|
|
5814
|
+
var getItemDocumentTypeAncestorsQueryParams = zod.object({
|
|
5815
|
+
"id": zod.array(zod.guid()).optional()
|
|
5816
|
+
});
|
|
5817
|
+
var getItemDocumentTypeAncestorsResponseItem = zod.object({
|
|
5818
|
+
"id": zod.guid(),
|
|
5819
|
+
"ancestors": zod.array(zod.object({
|
|
5820
|
+
"id": zod.guid(),
|
|
5821
|
+
"flags": zod.array(zod.object({
|
|
5822
|
+
"alias": zod.string()
|
|
5823
|
+
})),
|
|
5824
|
+
"name": zod.string()
|
|
5825
|
+
}))
|
|
5826
|
+
});
|
|
5827
|
+
var getItemDocumentTypeAncestorsResponse = zod.array(getItemDocumentTypeAncestorsResponseItem);
|
|
5515
5828
|
var getItemDocumentTypeSearchQueryTakeDefault = 100;
|
|
5516
5829
|
var getItemDocumentTypeSearchQueryParams = zod.object({
|
|
5517
5830
|
"query": zod.string().optional(),
|
|
@@ -5597,6 +5910,30 @@ var getTreeDocumentTypeRootResponse = zod.object({
|
|
|
5597
5910
|
"icon": zod.string()
|
|
5598
5911
|
}))
|
|
5599
5912
|
});
|
|
5913
|
+
var getTreeDocumentTypeSearchQueryTakeDefault = 100;
|
|
5914
|
+
var getTreeDocumentTypeSearchQueryParams = zod.object({
|
|
5915
|
+
"query": zod.string().optional(),
|
|
5916
|
+
"skip": zod.coerce.number().optional(),
|
|
5917
|
+
"take": zod.coerce.number().default(getTreeDocumentTypeSearchQueryTakeDefault),
|
|
5918
|
+
"itemKind": zod.enum(["Item", "Folder", "All"]).optional()
|
|
5919
|
+
});
|
|
5920
|
+
var getTreeDocumentTypeSearchResponse = zod.object({
|
|
5921
|
+
"total": zod.number(),
|
|
5922
|
+
"items": zod.array(zod.object({
|
|
5923
|
+
"hasChildren": zod.boolean(),
|
|
5924
|
+
"id": zod.guid(),
|
|
5925
|
+
"parent": zod.object({
|
|
5926
|
+
"id": zod.guid()
|
|
5927
|
+
}).nullish(),
|
|
5928
|
+
"flags": zod.array(zod.object({
|
|
5929
|
+
"alias": zod.string()
|
|
5930
|
+
})),
|
|
5931
|
+
"name": zod.string(),
|
|
5932
|
+
"isFolder": zod.boolean(),
|
|
5933
|
+
"isElement": zod.boolean(),
|
|
5934
|
+
"icon": zod.string()
|
|
5935
|
+
}))
|
|
5936
|
+
});
|
|
5600
5937
|
var getTreeDocumentTypeSiblingsQueryParams = zod.object({
|
|
5601
5938
|
"target": zod.guid().optional(),
|
|
5602
5939
|
"before": zod.coerce.number().optional(),
|
|
@@ -5975,6 +6312,9 @@ var deleteDocumentByIdPublicAccessParams = zod.object({
|
|
|
5975
6312
|
var getDocumentByIdPublicAccessParams = zod.object({
|
|
5976
6313
|
"id": zod.guid()
|
|
5977
6314
|
});
|
|
6315
|
+
var getDocumentByIdPublicAccessQueryParams = zod.object({
|
|
6316
|
+
"includeAncestors": zod.coerce.boolean().optional()
|
|
6317
|
+
});
|
|
5978
6318
|
var getDocumentByIdPublicAccessResponse = zod.object({
|
|
5979
6319
|
"loginDocument": zod.object({
|
|
5980
6320
|
"id": zod.guid()
|
|
@@ -6006,7 +6346,8 @@ var getDocumentByIdPublicAccessResponse = zod.object({
|
|
|
6006
6346
|
"alias": zod.string()
|
|
6007
6347
|
})),
|
|
6008
6348
|
"name": zod.string()
|
|
6009
|
-
}))
|
|
6349
|
+
})),
|
|
6350
|
+
"isProtectedByAncestor": zod.boolean()
|
|
6010
6351
|
});
|
|
6011
6352
|
var putDocumentByIdPublicAccessParams = zod.object({
|
|
6012
6353
|
"id": zod.guid()
|
|
@@ -6320,11 +6661,46 @@ var getItemDocumentResponseItem = zod.object({
|
|
|
6320
6661
|
}))
|
|
6321
6662
|
});
|
|
6322
6663
|
var getItemDocumentResponse = zod.array(getItemDocumentResponseItem);
|
|
6323
|
-
var
|
|
6324
|
-
|
|
6325
|
-
|
|
6326
|
-
|
|
6327
|
-
"
|
|
6664
|
+
var getItemDocumentAncestorsQueryParams = zod.object({
|
|
6665
|
+
"id": zod.array(zod.guid()).optional()
|
|
6666
|
+
});
|
|
6667
|
+
var getItemDocumentAncestorsResponseItem = zod.object({
|
|
6668
|
+
"id": zod.guid(),
|
|
6669
|
+
"ancestors": zod.array(zod.object({
|
|
6670
|
+
"id": zod.guid(),
|
|
6671
|
+
"flags": zod.array(zod.object({
|
|
6672
|
+
"alias": zod.string()
|
|
6673
|
+
})),
|
|
6674
|
+
"isTrashed": zod.boolean(),
|
|
6675
|
+
"isProtected": zod.boolean(),
|
|
6676
|
+
"parent": zod.object({
|
|
6677
|
+
"id": zod.guid()
|
|
6678
|
+
}).nullish(),
|
|
6679
|
+
"hasChildren": zod.boolean(),
|
|
6680
|
+
"documentType": zod.object({
|
|
6681
|
+
"id": zod.guid(),
|
|
6682
|
+
"icon": zod.string(),
|
|
6683
|
+
"collection": zod.object({
|
|
6684
|
+
"id": zod.guid()
|
|
6685
|
+
}).nullish()
|
|
6686
|
+
}),
|
|
6687
|
+
"variants": zod.array(zod.object({
|
|
6688
|
+
"name": zod.string(),
|
|
6689
|
+
"culture": zod.string().nullish(),
|
|
6690
|
+
"id": zod.guid(),
|
|
6691
|
+
"flags": zod.array(zod.object({
|
|
6692
|
+
"alias": zod.string()
|
|
6693
|
+
})),
|
|
6694
|
+
"state": zod.enum(["NotCreated", "Draft", "Published", "PublishedPendingChanges", "Trashed"])
|
|
6695
|
+
}))
|
|
6696
|
+
}))
|
|
6697
|
+
});
|
|
6698
|
+
var getItemDocumentAncestorsResponse = zod.array(getItemDocumentAncestorsResponseItem);
|
|
6699
|
+
var getItemDocumentSearchQueryTakeDefault = 100;
|
|
6700
|
+
var getItemDocumentSearchQueryParams = zod.object({
|
|
6701
|
+
"query": zod.string().optional(),
|
|
6702
|
+
"trashed": zod.coerce.boolean().optional(),
|
|
6703
|
+
"culture": zod.string().optional(),
|
|
6328
6704
|
"skip": zod.coerce.number().optional(),
|
|
6329
6705
|
"take": zod.coerce.number().default(getItemDocumentSearchQueryTakeDefault),
|
|
6330
6706
|
"parentId": zod.guid().optional(),
|
|
@@ -6859,7 +7235,8 @@ var getImagingResizeUrlsQueryParams = zod.object({
|
|
|
6859
7235
|
"id": zod.array(zod.guid()).optional(),
|
|
6860
7236
|
"height": zod.coerce.number().default(getImagingResizeUrlsQueryHeightDefault),
|
|
6861
7237
|
"width": zod.coerce.number().default(getImagingResizeUrlsQueryWidthDefault),
|
|
6862
|
-
"mode": zod.enum(["Crop", "Max", "Stretch", "Pad", "BoxPad", "Min"]).optional()
|
|
7238
|
+
"mode": zod.enum(["Crop", "Max", "Stretch", "Pad", "BoxPad", "Min"]).optional(),
|
|
7239
|
+
"format": zod.string().optional()
|
|
6863
7240
|
});
|
|
6864
7241
|
var getImagingResizeUrlsResponseItem = zod.object({
|
|
6865
7242
|
"id": zod.guid(),
|
|
@@ -7165,10 +7542,25 @@ var getItemMediaTypeAllowedResponse = zod.object({
|
|
|
7165
7542
|
"alias": zod.string()
|
|
7166
7543
|
})),
|
|
7167
7544
|
"name": zod.string(),
|
|
7168
|
-
"icon": zod.string().nullish()
|
|
7545
|
+
"icon": zod.string().nullish(),
|
|
7546
|
+
"matchedFileExtension": zod.boolean()
|
|
7169
7547
|
})),
|
|
7170
7548
|
"total": zod.number()
|
|
7171
7549
|
});
|
|
7550
|
+
var getItemMediaTypeAncestorsQueryParams = zod.object({
|
|
7551
|
+
"id": zod.array(zod.guid()).optional()
|
|
7552
|
+
});
|
|
7553
|
+
var getItemMediaTypeAncestorsResponseItem = zod.object({
|
|
7554
|
+
"id": zod.guid(),
|
|
7555
|
+
"ancestors": zod.array(zod.object({
|
|
7556
|
+
"id": zod.guid(),
|
|
7557
|
+
"flags": zod.array(zod.object({
|
|
7558
|
+
"alias": zod.string()
|
|
7559
|
+
})),
|
|
7560
|
+
"name": zod.string()
|
|
7561
|
+
}))
|
|
7562
|
+
});
|
|
7563
|
+
var getItemMediaTypeAncestorsResponse = zod.array(getItemMediaTypeAncestorsResponseItem);
|
|
7172
7564
|
var getItemMediaTypeFoldersQueryTakeDefault = 100;
|
|
7173
7565
|
var getItemMediaTypeFoldersQueryParams = zod.object({
|
|
7174
7566
|
"skip": zod.coerce.number().optional(),
|
|
@@ -7410,6 +7802,14 @@ var getMediaTypeByIdAllowedChildrenResponse = zod.object({
|
|
|
7410
7802
|
"icon": zod.string().nullish()
|
|
7411
7803
|
}))
|
|
7412
7804
|
});
|
|
7805
|
+
var getMediaTypeByIdAllowedParentsParams = zod.object({
|
|
7806
|
+
"id": zod.guid()
|
|
7807
|
+
});
|
|
7808
|
+
var getMediaTypeByIdAllowedParentsResponse = zod.object({
|
|
7809
|
+
"allowedParentIds": zod.array(zod.object({
|
|
7810
|
+
"id": zod.guid()
|
|
7811
|
+
}))
|
|
7812
|
+
});
|
|
7413
7813
|
var getMediaTypeByIdCompositionReferencesParams = zod.object({
|
|
7414
7814
|
"id": zod.guid()
|
|
7415
7815
|
});
|
|
@@ -7474,6 +7874,73 @@ var postMediaTypeAvailableCompositionsResponseItem = zod.object({
|
|
|
7474
7874
|
"isCompatible": zod.boolean()
|
|
7475
7875
|
});
|
|
7476
7876
|
var postMediaTypeAvailableCompositionsResponse = zod.array(postMediaTypeAvailableCompositionsResponseItem);
|
|
7877
|
+
var getMediaTypeBatchQueryParams = zod.object({
|
|
7878
|
+
"id": zod.array(zod.guid()).optional()
|
|
7879
|
+
});
|
|
7880
|
+
var getMediaTypeBatchResponse = zod.object({
|
|
7881
|
+
"total": zod.number(),
|
|
7882
|
+
"items": zod.array(zod.object({
|
|
7883
|
+
"alias": zod.string().min(1),
|
|
7884
|
+
"name": zod.string().min(1),
|
|
7885
|
+
"description": zod.string().nullish(),
|
|
7886
|
+
"icon": zod.string().min(1),
|
|
7887
|
+
"allowedAsRoot": zod.boolean(),
|
|
7888
|
+
"variesByCulture": zod.boolean(),
|
|
7889
|
+
"variesBySegment": zod.boolean(),
|
|
7890
|
+
"collection": zod.object({
|
|
7891
|
+
"id": zod.guid()
|
|
7892
|
+
}).nullish(),
|
|
7893
|
+
"isElement": zod.boolean(),
|
|
7894
|
+
"properties": zod.array(zod.object({
|
|
7895
|
+
"id": zod.guid(),
|
|
7896
|
+
"container": zod.object({
|
|
7897
|
+
"id": zod.guid()
|
|
7898
|
+
}).nullish(),
|
|
7899
|
+
"sortOrder": zod.number(),
|
|
7900
|
+
"alias": zod.string().min(1),
|
|
7901
|
+
"name": zod.string().min(1),
|
|
7902
|
+
"description": zod.string().nullish(),
|
|
7903
|
+
"dataType": zod.object({
|
|
7904
|
+
"id": zod.guid()
|
|
7905
|
+
}),
|
|
7906
|
+
"variesByCulture": zod.boolean(),
|
|
7907
|
+
"variesBySegment": zod.boolean(),
|
|
7908
|
+
"validation": zod.object({
|
|
7909
|
+
"mandatory": zod.boolean(),
|
|
7910
|
+
"mandatoryMessage": zod.string().nullish(),
|
|
7911
|
+
"regEx": zod.string().nullish(),
|
|
7912
|
+
"regExMessage": zod.string().nullish()
|
|
7913
|
+
}),
|
|
7914
|
+
"appearance": zod.object({
|
|
7915
|
+
"labelOnTop": zod.boolean()
|
|
7916
|
+
})
|
|
7917
|
+
})),
|
|
7918
|
+
"containers": zod.array(zod.object({
|
|
7919
|
+
"id": zod.guid(),
|
|
7920
|
+
"parent": zod.object({
|
|
7921
|
+
"id": zod.guid()
|
|
7922
|
+
}).nullish(),
|
|
7923
|
+
"name": zod.string().nullish(),
|
|
7924
|
+
"type": zod.string().min(1),
|
|
7925
|
+
"sortOrder": zod.number()
|
|
7926
|
+
})),
|
|
7927
|
+
"id": zod.guid(),
|
|
7928
|
+
"allowedMediaTypes": zod.array(zod.object({
|
|
7929
|
+
"mediaType": zod.object({
|
|
7930
|
+
"id": zod.guid()
|
|
7931
|
+
}),
|
|
7932
|
+
"sortOrder": zod.number()
|
|
7933
|
+
})),
|
|
7934
|
+
"compositions": zod.array(zod.object({
|
|
7935
|
+
"mediaType": zod.object({
|
|
7936
|
+
"id": zod.guid()
|
|
7937
|
+
}),
|
|
7938
|
+
"compositionType": zod.enum(["Composition", "Inheritance"])
|
|
7939
|
+
})),
|
|
7940
|
+
"isDeletable": zod.boolean(),
|
|
7941
|
+
"aliasCanBeChanged": zod.boolean()
|
|
7942
|
+
}))
|
|
7943
|
+
});
|
|
7477
7944
|
var getMediaTypeConfigurationResponse = zod.object({
|
|
7478
7945
|
"reservedFieldNames": zod.array(zod.string())
|
|
7479
7946
|
});
|
|
@@ -7664,6 +8131,35 @@ var getItemMediaResponseItem = zod.object({
|
|
|
7664
8131
|
}))
|
|
7665
8132
|
});
|
|
7666
8133
|
var getItemMediaResponse = zod.array(getItemMediaResponseItem);
|
|
8134
|
+
var getItemMediaAncestorsQueryParams = zod.object({
|
|
8135
|
+
"id": zod.array(zod.guid()).optional()
|
|
8136
|
+
});
|
|
8137
|
+
var getItemMediaAncestorsResponseItem = zod.object({
|
|
8138
|
+
"id": zod.guid(),
|
|
8139
|
+
"ancestors": zod.array(zod.object({
|
|
8140
|
+
"id": zod.guid(),
|
|
8141
|
+
"flags": zod.array(zod.object({
|
|
8142
|
+
"alias": zod.string()
|
|
8143
|
+
})),
|
|
8144
|
+
"isTrashed": zod.boolean(),
|
|
8145
|
+
"parent": zod.object({
|
|
8146
|
+
"id": zod.guid()
|
|
8147
|
+
}).nullish(),
|
|
8148
|
+
"hasChildren": zod.boolean(),
|
|
8149
|
+
"mediaType": zod.object({
|
|
8150
|
+
"id": zod.guid(),
|
|
8151
|
+
"icon": zod.string(),
|
|
8152
|
+
"collection": zod.object({
|
|
8153
|
+
"id": zod.guid()
|
|
8154
|
+
}).nullish()
|
|
8155
|
+
}),
|
|
8156
|
+
"variants": zod.array(zod.object({
|
|
8157
|
+
"name": zod.string(),
|
|
8158
|
+
"culture": zod.string().nullish()
|
|
8159
|
+
}))
|
|
8160
|
+
}))
|
|
8161
|
+
});
|
|
8162
|
+
var getItemMediaAncestorsResponse = zod.array(getItemMediaAncestorsResponseItem);
|
|
7667
8163
|
var getItemMediaSearchQueryTakeDefault = 100;
|
|
7668
8164
|
var getItemMediaSearchQueryParams = zod.object({
|
|
7669
8165
|
"query": zod.string().optional(),
|
|
@@ -8372,6 +8868,20 @@ var getItemMemberTypeResponseItem = zod.object({
|
|
|
8372
8868
|
"icon": zod.string().nullish()
|
|
8373
8869
|
});
|
|
8374
8870
|
var getItemMemberTypeResponse = zod.array(getItemMemberTypeResponseItem);
|
|
8871
|
+
var getItemMemberTypeAncestorsQueryParams = zod.object({
|
|
8872
|
+
"id": zod.array(zod.guid()).optional()
|
|
8873
|
+
});
|
|
8874
|
+
var getItemMemberTypeAncestorsResponseItem = zod.object({
|
|
8875
|
+
"id": zod.guid(),
|
|
8876
|
+
"ancestors": zod.array(zod.object({
|
|
8877
|
+
"id": zod.guid(),
|
|
8878
|
+
"flags": zod.array(zod.object({
|
|
8879
|
+
"alias": zod.string()
|
|
8880
|
+
})),
|
|
8881
|
+
"name": zod.string()
|
|
8882
|
+
}))
|
|
8883
|
+
});
|
|
8884
|
+
var getItemMemberTypeAncestorsResponse = zod.array(getItemMemberTypeAncestorsResponseItem);
|
|
8375
8885
|
var getItemMemberTypeSearchQueryTakeDefault = 100;
|
|
8376
8886
|
var getItemMemberTypeSearchQueryParams = zod.object({
|
|
8377
8887
|
"query": zod.string().optional(),
|
|
@@ -8624,6 +9134,70 @@ var postMemberTypeAvailableCompositionsResponseItem = zod.object({
|
|
|
8624
9134
|
"isCompatible": zod.boolean()
|
|
8625
9135
|
});
|
|
8626
9136
|
var postMemberTypeAvailableCompositionsResponse = zod.array(postMemberTypeAvailableCompositionsResponseItem);
|
|
9137
|
+
var getMemberTypeBatchQueryParams = zod.object({
|
|
9138
|
+
"id": zod.array(zod.guid()).optional()
|
|
9139
|
+
});
|
|
9140
|
+
var getMemberTypeBatchResponse = zod.object({
|
|
9141
|
+
"total": zod.number(),
|
|
9142
|
+
"items": zod.array(zod.object({
|
|
9143
|
+
"alias": zod.string().min(1),
|
|
9144
|
+
"name": zod.string().min(1),
|
|
9145
|
+
"description": zod.string().nullish(),
|
|
9146
|
+
"icon": zod.string().min(1),
|
|
9147
|
+
"allowedAsRoot": zod.boolean(),
|
|
9148
|
+
"variesByCulture": zod.boolean(),
|
|
9149
|
+
"variesBySegment": zod.boolean(),
|
|
9150
|
+
"collection": zod.object({
|
|
9151
|
+
"id": zod.guid()
|
|
9152
|
+
}).nullish(),
|
|
9153
|
+
"isElement": zod.boolean(),
|
|
9154
|
+
"properties": zod.array(zod.object({
|
|
9155
|
+
"id": zod.guid(),
|
|
9156
|
+
"container": zod.object({
|
|
9157
|
+
"id": zod.guid()
|
|
9158
|
+
}).nullish(),
|
|
9159
|
+
"sortOrder": zod.number(),
|
|
9160
|
+
"alias": zod.string().min(1),
|
|
9161
|
+
"name": zod.string().min(1),
|
|
9162
|
+
"description": zod.string().nullish(),
|
|
9163
|
+
"dataType": zod.object({
|
|
9164
|
+
"id": zod.guid()
|
|
9165
|
+
}),
|
|
9166
|
+
"variesByCulture": zod.boolean(),
|
|
9167
|
+
"variesBySegment": zod.boolean(),
|
|
9168
|
+
"validation": zod.object({
|
|
9169
|
+
"mandatory": zod.boolean(),
|
|
9170
|
+
"mandatoryMessage": zod.string().nullish(),
|
|
9171
|
+
"regEx": zod.string().nullish(),
|
|
9172
|
+
"regExMessage": zod.string().nullish()
|
|
9173
|
+
}),
|
|
9174
|
+
"appearance": zod.object({
|
|
9175
|
+
"labelOnTop": zod.boolean()
|
|
9176
|
+
}),
|
|
9177
|
+
"isSensitive": zod.boolean(),
|
|
9178
|
+
"visibility": zod.object({
|
|
9179
|
+
"memberCanView": zod.boolean(),
|
|
9180
|
+
"memberCanEdit": zod.boolean()
|
|
9181
|
+
})
|
|
9182
|
+
})),
|
|
9183
|
+
"containers": zod.array(zod.object({
|
|
9184
|
+
"id": zod.guid(),
|
|
9185
|
+
"parent": zod.object({
|
|
9186
|
+
"id": zod.guid()
|
|
9187
|
+
}).nullish(),
|
|
9188
|
+
"name": zod.string().nullish(),
|
|
9189
|
+
"type": zod.string().min(1),
|
|
9190
|
+
"sortOrder": zod.number()
|
|
9191
|
+
})),
|
|
9192
|
+
"id": zod.guid(),
|
|
9193
|
+
"compositions": zod.array(zod.object({
|
|
9194
|
+
"memberType": zod.object({
|
|
9195
|
+
"id": zod.guid()
|
|
9196
|
+
}),
|
|
9197
|
+
"compositionType": zod.enum(["Composition", "Inheritance"])
|
|
9198
|
+
}))
|
|
9199
|
+
}))
|
|
9200
|
+
});
|
|
8627
9201
|
var getMemberTypeConfigurationResponse = zod.object({
|
|
8628
9202
|
"reservedFieldNames": zod.array(zod.string())
|
|
8629
9203
|
});
|
|
@@ -8816,6 +9390,31 @@ var getItemMemberResponseItem = zod.object({
|
|
|
8816
9390
|
"kind": zod.enum(["Default", "Api"])
|
|
8817
9391
|
});
|
|
8818
9392
|
var getItemMemberResponse = zod.array(getItemMemberResponseItem);
|
|
9393
|
+
var getItemMemberAncestorsQueryParams = zod.object({
|
|
9394
|
+
"id": zod.array(zod.guid()).optional()
|
|
9395
|
+
});
|
|
9396
|
+
var getItemMemberAncestorsResponseItem = zod.object({
|
|
9397
|
+
"id": zod.guid(),
|
|
9398
|
+
"ancestors": zod.array(zod.object({
|
|
9399
|
+
"id": zod.guid(),
|
|
9400
|
+
"flags": zod.array(zod.object({
|
|
9401
|
+
"alias": zod.string()
|
|
9402
|
+
})),
|
|
9403
|
+
"memberType": zod.object({
|
|
9404
|
+
"id": zod.guid(),
|
|
9405
|
+
"icon": zod.string(),
|
|
9406
|
+
"collection": zod.object({
|
|
9407
|
+
"id": zod.guid()
|
|
9408
|
+
}).nullish()
|
|
9409
|
+
}),
|
|
9410
|
+
"variants": zod.array(zod.object({
|
|
9411
|
+
"name": zod.string(),
|
|
9412
|
+
"culture": zod.string().nullish()
|
|
9413
|
+
})),
|
|
9414
|
+
"kind": zod.enum(["Default", "Api"])
|
|
9415
|
+
}))
|
|
9416
|
+
});
|
|
9417
|
+
var getItemMemberAncestorsResponse = zod.array(getItemMemberAncestorsResponseItem);
|
|
8819
9418
|
var getItemMemberSearchQueryTakeDefault = 100;
|
|
8820
9419
|
var getItemMemberSearchQueryParams = zod.object({
|
|
8821
9420
|
"query": zod.string().optional(),
|
|
@@ -9766,7 +10365,7 @@ var getServerInformationResponse = zod.object({
|
|
|
9766
10365
|
"runtimeMode": zod.enum(["BackofficeDevelopment", "Development", "Production"])
|
|
9767
10366
|
});
|
|
9768
10367
|
var getServerStatusResponse = zod.object({
|
|
9769
|
-
"serverStatus": zod.enum(["Unknown", "Boot", "Install", "Upgrade", "Run", "BootFailed"])
|
|
10368
|
+
"serverStatus": zod.enum(["Unknown", "Boot", "Install", "Upgrade", "Upgrading", "Run", "BootFailed"])
|
|
9770
10369
|
});
|
|
9771
10370
|
var getServerTroubleshootingResponse = zod.object({
|
|
9772
10371
|
"items": zod.array(zod.object({
|
|
@@ -10015,6 +10614,21 @@ var getItemTemplateResponseItem = zod.object({
|
|
|
10015
10614
|
"alias": zod.string()
|
|
10016
10615
|
});
|
|
10017
10616
|
var getItemTemplateResponse = zod.array(getItemTemplateResponseItem);
|
|
10617
|
+
var getItemTemplateAncestorsQueryParams = zod.object({
|
|
10618
|
+
"id": zod.array(zod.guid()).optional()
|
|
10619
|
+
});
|
|
10620
|
+
var getItemTemplateAncestorsResponseItem = zod.object({
|
|
10621
|
+
"id": zod.guid(),
|
|
10622
|
+
"ancestors": zod.array(zod.object({
|
|
10623
|
+
"id": zod.guid(),
|
|
10624
|
+
"flags": zod.array(zod.object({
|
|
10625
|
+
"alias": zod.string()
|
|
10626
|
+
})),
|
|
10627
|
+
"name": zod.string(),
|
|
10628
|
+
"alias": zod.string()
|
|
10629
|
+
}))
|
|
10630
|
+
});
|
|
10631
|
+
var getItemTemplateAncestorsResponse = zod.array(getItemTemplateAncestorsResponseItem);
|
|
10018
10632
|
var getItemTemplateSearchQueryTakeDefault = 100;
|
|
10019
10633
|
var getItemTemplateSearchQueryParams = zod.object({
|
|
10020
10634
|
"query": zod.string().optional(),
|
|
@@ -11265,6 +11879,32 @@ var GetDataTypesByIdArrayTool = {
|
|
|
11265
11879
|
};
|
|
11266
11880
|
var get_data_type_by_id_array_default = _mcpserversdk.withStandardDecorators.call(void 0, GetDataTypesByIdArrayTool);
|
|
11267
11881
|
|
|
11882
|
+
// src/umb-management-api/tools/data-type/get/get-data-type-batch.ts
|
|
11883
|
+
|
|
11884
|
+
|
|
11885
|
+
|
|
11886
|
+
|
|
11887
|
+
|
|
11888
|
+
var GetDataTypeBatchTool = {
|
|
11889
|
+
name: "get-data-type-batch",
|
|
11890
|
+
description: `Gets full data types for multiple Ids in one call.
|
|
11891
|
+
Returns each data type's editor configuration values (e.g. dropdown options, numeric min/max),
|
|
11892
|
+
not just the lightweight item shape returned by get-data-types-by-id-array.
|
|
11893
|
+
Use when you need the same payload as get-data-type but for many Ids at once.`,
|
|
11894
|
+
inputSchema: getDataTypeBatchQueryParams.shape,
|
|
11895
|
+
outputSchema: getDataTypeBatchResponse.shape,
|
|
11896
|
+
annotations: {
|
|
11897
|
+
readOnlyHint: true
|
|
11898
|
+
},
|
|
11899
|
+
slices: ["list"],
|
|
11900
|
+
handler: (async (params) => {
|
|
11901
|
+
return _mcpserversdk.executeGetApiCall.call(void 0,
|
|
11902
|
+
(client) => client.getDataTypeBatch(params, _mcpserversdk.CAPTURE_RAW_HTTP_RESPONSE)
|
|
11903
|
+
);
|
|
11904
|
+
})
|
|
11905
|
+
};
|
|
11906
|
+
var get_data_type_batch_default = _mcpserversdk.withStandardDecorators.call(void 0, GetDataTypeBatchTool);
|
|
11907
|
+
|
|
11268
11908
|
// src/umb-management-api/tools/data-type/get/get-data-type-configuration.ts
|
|
11269
11909
|
|
|
11270
11910
|
|
|
@@ -12466,13 +13106,67 @@ var GetDataTypeAncestorsTool = {
|
|
|
12466
13106
|
};
|
|
12467
13107
|
var get_ancestors_default = _mcpserversdk.withStandardDecorators.call(void 0, GetDataTypeAncestorsTool);
|
|
12468
13108
|
|
|
12469
|
-
// src/umb-management-api/tools/data-type/items/get/get-
|
|
13109
|
+
// src/umb-management-api/tools/data-type/items/get/get-ancestors-batch.ts
|
|
13110
|
+
|
|
12470
13111
|
|
|
12471
13112
|
|
|
12472
13113
|
|
|
12473
13114
|
|
|
12474
13115
|
|
|
12475
13116
|
var outputSchema5 = _zod.z.object({
|
|
13117
|
+
items: getItemDataTypeAncestorsResponse
|
|
13118
|
+
});
|
|
13119
|
+
var GetDataTypeAncestorsBatchTool = {
|
|
13120
|
+
name: "get-data-type-ancestors-batch",
|
|
13121
|
+
description: `Gets the ancestor chain (breadcrumb) for multiple data type Ids in one call.
|
|
13122
|
+
Returns one entry per requested Id, each containing that Id's chain of ancestors.
|
|
13123
|
+
Differs from get-data-type-ancestors which returns the tree-style ancestors of a single Id.`,
|
|
13124
|
+
inputSchema: getItemDataTypeAncestorsQueryParams.shape,
|
|
13125
|
+
outputSchema: outputSchema5.shape,
|
|
13126
|
+
annotations: {
|
|
13127
|
+
readOnlyHint: true
|
|
13128
|
+
},
|
|
13129
|
+
slices: ["list"],
|
|
13130
|
+
handler: (async (params) => {
|
|
13131
|
+
return _mcpserversdk.executeGetItemsApiCall.call(void 0,
|
|
13132
|
+
(client) => client.getItemDataTypeAncestors(params, _mcpserversdk.CAPTURE_RAW_HTTP_RESPONSE)
|
|
13133
|
+
);
|
|
13134
|
+
})
|
|
13135
|
+
};
|
|
13136
|
+
var get_ancestors_batch_default = _mcpserversdk.withStandardDecorators.call(void 0, GetDataTypeAncestorsBatchTool);
|
|
13137
|
+
|
|
13138
|
+
// src/umb-management-api/tools/data-type/items/get/get-tree-search.ts
|
|
13139
|
+
|
|
13140
|
+
|
|
13141
|
+
|
|
13142
|
+
|
|
13143
|
+
|
|
13144
|
+
var GetDataTypeTreeSearchTool = {
|
|
13145
|
+
name: "get-data-type-tree-search",
|
|
13146
|
+
description: `Searches data types in tree-node shape (with hasChildren and parent for tree navigation).
|
|
13147
|
+
Use this when paginating through tree results; for a flat search of items use get-data-type-search.
|
|
13148
|
+
Optional itemKind filter accepts 'Item', 'Folder' or 'All'.`,
|
|
13149
|
+
inputSchema: getTreeDataTypeSearchQueryParams.shape,
|
|
13150
|
+
outputSchema: getTreeDataTypeSearchResponse.shape,
|
|
13151
|
+
annotations: {
|
|
13152
|
+
readOnlyHint: true
|
|
13153
|
+
},
|
|
13154
|
+
slices: ["tree"],
|
|
13155
|
+
handler: (async (params) => {
|
|
13156
|
+
return _mcpserversdk.executeGetApiCall.call(void 0,
|
|
13157
|
+
(client) => client.getTreeDataTypeSearch(params, _mcpserversdk.CAPTURE_RAW_HTTP_RESPONSE)
|
|
13158
|
+
);
|
|
13159
|
+
})
|
|
13160
|
+
};
|
|
13161
|
+
var get_tree_search_default = _mcpserversdk.withStandardDecorators.call(void 0, GetDataTypeTreeSearchTool);
|
|
13162
|
+
|
|
13163
|
+
// src/umb-management-api/tools/data-type/items/get/get-all.ts
|
|
13164
|
+
|
|
13165
|
+
|
|
13166
|
+
|
|
13167
|
+
|
|
13168
|
+
|
|
13169
|
+
var outputSchema6 = _zod.z.object({
|
|
12476
13170
|
items: getTreeDataTypeRootResponse.shape.items
|
|
12477
13171
|
});
|
|
12478
13172
|
var GetAllDataTypesTool = {
|
|
@@ -12481,7 +13175,7 @@ var GetAllDataTypesTool = {
|
|
|
12481
13175
|
This is the preferred approach when you need to understand the full folder structure.
|
|
12482
13176
|
For large sites, this may take a while to complete. For smaller sites its more efficient than fetching all data types by folder.`,
|
|
12483
13177
|
inputSchema: {},
|
|
12484
|
-
outputSchema:
|
|
13178
|
+
outputSchema: outputSchema6.shape,
|
|
12485
13179
|
annotations: {
|
|
12486
13180
|
readOnlyHint: true
|
|
12487
13181
|
},
|
|
@@ -12579,6 +13273,7 @@ var DataTypeCollection = {
|
|
|
12579
13273
|
tools.push(is_used_data_type_default);
|
|
12580
13274
|
tools.push(get_data_type_default);
|
|
12581
13275
|
tools.push(get_data_type_by_id_array_default);
|
|
13276
|
+
tools.push(get_data_type_batch_default);
|
|
12582
13277
|
tools.push(get_data_type_configuration_default);
|
|
12583
13278
|
tools.push(get_data_type_property_editor_template_default);
|
|
12584
13279
|
}
|
|
@@ -12587,6 +13282,8 @@ var DataTypeCollection = {
|
|
|
12587
13282
|
tools.push(get_children_default);
|
|
12588
13283
|
tools.push(get_siblings_default);
|
|
12589
13284
|
tools.push(get_ancestors_default);
|
|
13285
|
+
tools.push(get_ancestors_batch_default);
|
|
13286
|
+
tools.push(get_tree_search_default);
|
|
12590
13287
|
tools.push(get_all_default);
|
|
12591
13288
|
tools.push(delete_data_type_default);
|
|
12592
13289
|
tools.push(create_data_type_default);
|
|
@@ -12678,14 +13375,14 @@ var get_dictionary_item_default = _mcpserversdk.withStandardDecorators.call(void
|
|
|
12678
13375
|
|
|
12679
13376
|
|
|
12680
13377
|
|
|
12681
|
-
var
|
|
13378
|
+
var outputSchema7 = _zod.z.object({
|
|
12682
13379
|
items: getItemDictionaryResponse
|
|
12683
13380
|
});
|
|
12684
13381
|
var GetDictionaryByIdArrayTool = {
|
|
12685
13382
|
name: "get-dictionary-by-id-array",
|
|
12686
13383
|
description: "Gets dictionary items by IDs (or empty array if no IDs are provided)",
|
|
12687
13384
|
inputSchema: getItemDictionaryQueryParams.shape,
|
|
12688
|
-
outputSchema:
|
|
13385
|
+
outputSchema: outputSchema7.shape,
|
|
12689
13386
|
annotations: { readOnlyHint: true },
|
|
12690
13387
|
slices: ["list"],
|
|
12691
13388
|
handler: (async (params) => {
|
|
@@ -12861,14 +13558,14 @@ var get_children_default2 = _mcpserversdk.withStandardDecorators.call(void 0, Ge
|
|
|
12861
13558
|
|
|
12862
13559
|
|
|
12863
13560
|
|
|
12864
|
-
var
|
|
13561
|
+
var outputSchema8 = _zod.z.object({
|
|
12865
13562
|
items: getTreeDictionaryAncestorsResponse
|
|
12866
13563
|
});
|
|
12867
13564
|
var GetDictionaryAncestorsTool = {
|
|
12868
13565
|
name: "get-dictionary-ancestors",
|
|
12869
13566
|
description: "Gets the ancestors of a dictionary item by Id",
|
|
12870
13567
|
inputSchema: getTreeDictionaryAncestorsQueryParams.shape,
|
|
12871
|
-
outputSchema:
|
|
13568
|
+
outputSchema: outputSchema8.shape,
|
|
12872
13569
|
annotations: { readOnlyHint: true },
|
|
12873
13570
|
slices: ["tree"],
|
|
12874
13571
|
handler: (async (params) => {
|
|
@@ -13029,14 +13726,14 @@ var create_blueprint_default = _mcpserversdk.withStandardDecorators.call(void 0,
|
|
|
13029
13726
|
|
|
13030
13727
|
|
|
13031
13728
|
|
|
13032
|
-
var
|
|
13729
|
+
var outputSchema9 = _zod.z.object({
|
|
13033
13730
|
items: getTreeDocumentBlueprintAncestorsResponse
|
|
13034
13731
|
});
|
|
13035
13732
|
var GetDocumentBlueprintAncestorsTool = {
|
|
13036
13733
|
name: "get-document-blueprint-ancestors",
|
|
13037
13734
|
description: "Gets the ancestors of a document blueprint by Id",
|
|
13038
13735
|
inputSchema: getTreeDocumentBlueprintAncestorsQueryParams.shape,
|
|
13039
|
-
outputSchema:
|
|
13736
|
+
outputSchema: outputSchema9.shape,
|
|
13040
13737
|
annotations: { readOnlyHint: true },
|
|
13041
13738
|
slices: ["tree"],
|
|
13042
13739
|
handler: (async (params) => {
|
|
@@ -13176,14 +13873,14 @@ var create_document_blueprint_from_document_default = _mcpserversdk.withStandard
|
|
|
13176
13873
|
|
|
13177
13874
|
|
|
13178
13875
|
|
|
13179
|
-
var
|
|
13876
|
+
var outputSchema10 = _zod.z.object({
|
|
13180
13877
|
items: getItemDocumentBlueprintResponse
|
|
13181
13878
|
});
|
|
13182
13879
|
var GetDocumentBlueprintByIdArrayTool = {
|
|
13183
13880
|
name: "get-document-blueprint-by-id-array",
|
|
13184
13881
|
description: "Gets document blueprints by IDs (or empty array if no IDs are provided)",
|
|
13185
13882
|
inputSchema: getItemDocumentBlueprintQueryParams.shape,
|
|
13186
|
-
outputSchema:
|
|
13883
|
+
outputSchema: outputSchema10.shape,
|
|
13187
13884
|
annotations: { readOnlyHint: true },
|
|
13188
13885
|
slices: ["list"],
|
|
13189
13886
|
handler: (async (params) => {
|
|
@@ -13506,14 +14203,14 @@ var get_document_domains_default = _mcpserversdk.withStandardDecorators.call(voi
|
|
|
13506
14203
|
|
|
13507
14204
|
|
|
13508
14205
|
|
|
13509
|
-
var
|
|
14206
|
+
var outputSchema11 = _zod.z.object({
|
|
13510
14207
|
items: getDocumentByIdNotificationsResponse
|
|
13511
14208
|
});
|
|
13512
14209
|
var GetDocumentNotificationsTool = {
|
|
13513
14210
|
name: "get-document-notifications",
|
|
13514
14211
|
description: "Gets the notifications for a document by Id.",
|
|
13515
14212
|
inputSchema: getDocumentByIdNotificationsParams.shape,
|
|
13516
|
-
outputSchema:
|
|
14213
|
+
outputSchema: outputSchema11.shape,
|
|
13517
14214
|
annotations: {
|
|
13518
14215
|
readOnlyHint: true
|
|
13519
14216
|
},
|
|
@@ -13532,19 +14229,26 @@ var get_document_notifications_default = _mcpserversdk.withStandardDecorators.ca
|
|
|
13532
14229
|
|
|
13533
14230
|
|
|
13534
14231
|
|
|
14232
|
+
|
|
14233
|
+
var inputSchema = _zod.z.object({
|
|
14234
|
+
...getDocumentByIdPublicAccessParams.shape,
|
|
14235
|
+
...getDocumentByIdPublicAccessQueryParams.shape
|
|
14236
|
+
});
|
|
13535
14237
|
var GetDocumentPublicAccessTool = {
|
|
13536
14238
|
name: "get-document-public-access",
|
|
13537
|
-
description:
|
|
13538
|
-
|
|
14239
|
+
description: `Gets the public access settings for a document by Id.
|
|
14240
|
+
Set includeAncestors=true to also resolve protection inherited from an ancestor
|
|
14241
|
+
(the response's isProtectedByAncestor field reflects this).`,
|
|
14242
|
+
inputSchema: inputSchema.shape,
|
|
13539
14243
|
outputSchema: getDocumentByIdPublicAccessResponse.shape,
|
|
13540
14244
|
annotations: {
|
|
13541
14245
|
readOnlyHint: true
|
|
13542
14246
|
},
|
|
13543
14247
|
slices: ["public-access"],
|
|
13544
14248
|
enabled: (user) => user.fallbackPermissions.includes(UmbracoDocumentPermissions.PublicAccess),
|
|
13545
|
-
handler: (async ({ id }) => {
|
|
14249
|
+
handler: (async ({ id, includeAncestors }) => {
|
|
13546
14250
|
return _mcpserversdk.executeGetApiCall.call(void 0,
|
|
13547
|
-
(client) => client.getDocumentByIdPublicAccess(id, _mcpserversdk.CAPTURE_RAW_HTTP_RESPONSE)
|
|
14251
|
+
(client) => client.getDocumentByIdPublicAccess(id, { includeAncestors }, _mcpserversdk.CAPTURE_RAW_HTTP_RESPONSE)
|
|
13548
14252
|
);
|
|
13549
14253
|
})
|
|
13550
14254
|
};
|
|
@@ -13556,14 +14260,14 @@ var get_document_public_access_default = _mcpserversdk.withStandardDecorators.ca
|
|
|
13556
14260
|
|
|
13557
14261
|
|
|
13558
14262
|
|
|
13559
|
-
var
|
|
14263
|
+
var inputSchema2 = {
|
|
13560
14264
|
id: getDocumentByIdAuditLogParams.shape.id,
|
|
13561
14265
|
...getDocumentByIdAuditLogQueryParams.shape
|
|
13562
14266
|
};
|
|
13563
14267
|
var GetDocumentAuditLogTool = {
|
|
13564
14268
|
name: "get-document-audit-log",
|
|
13565
14269
|
description: "Fetches the audit log for a document by Id.",
|
|
13566
|
-
inputSchema,
|
|
14270
|
+
inputSchema: inputSchema2,
|
|
13567
14271
|
outputSchema: getDocumentByIdAuditLogResponse.shape,
|
|
13568
14272
|
annotations: {
|
|
13569
14273
|
readOnlyHint: true
|
|
@@ -13633,14 +14337,14 @@ var get_document_configuration_default = _mcpserversdk.withStandardDecorators.ca
|
|
|
13633
14337
|
|
|
13634
14338
|
|
|
13635
14339
|
|
|
13636
|
-
var
|
|
14340
|
+
var outputSchema12 = _zod.z.object({
|
|
13637
14341
|
items: getDocumentUrlsResponse
|
|
13638
14342
|
});
|
|
13639
14343
|
var GetDocumentUrlsTool = {
|
|
13640
14344
|
name: "get-document-urls",
|
|
13641
14345
|
description: "Gets the URLs for a document.",
|
|
13642
14346
|
inputSchema: getDocumentUrlsQueryParams.shape,
|
|
13643
|
-
outputSchema:
|
|
14347
|
+
outputSchema: outputSchema12.shape,
|
|
13644
14348
|
annotations: {
|
|
13645
14349
|
readOnlyHint: true
|
|
13646
14350
|
},
|
|
@@ -14186,7 +14890,7 @@ var search_document_default = _mcpserversdk.withStandardDecorators.call(void 0,
|
|
|
14186
14890
|
|
|
14187
14891
|
|
|
14188
14892
|
|
|
14189
|
-
var
|
|
14893
|
+
var inputSchema3 = _zod.z.object({
|
|
14190
14894
|
...getCollectionDocumentByIdParams.shape,
|
|
14191
14895
|
...getCollectionDocumentByIdQueryParams.shape
|
|
14192
14896
|
});
|
|
@@ -14194,7 +14898,7 @@ var GetCollectionDocumentByIdTool = {
|
|
|
14194
14898
|
name: "get-collection-document-by-id",
|
|
14195
14899
|
description: `Get a collection of document items
|
|
14196
14900
|
Use this to retrieve a filtered and paginated collection of document items based on various criteria like data type, ordering, and filtering.`,
|
|
14197
|
-
inputSchema:
|
|
14901
|
+
inputSchema: inputSchema3.shape,
|
|
14198
14902
|
outputSchema: getCollectionDocumentByIdResponse.shape,
|
|
14199
14903
|
annotations: {
|
|
14200
14904
|
readOnlyHint: true
|
|
@@ -14222,14 +14926,14 @@ var get_collection_document_by_id_default = _mcpserversdk.withStandardDecorators
|
|
|
14222
14926
|
|
|
14223
14927
|
|
|
14224
14928
|
|
|
14225
|
-
var
|
|
14929
|
+
var outputSchema13 = _zod.z.object({
|
|
14226
14930
|
items: getItemDocumentResponse
|
|
14227
14931
|
});
|
|
14228
14932
|
var GetItemDocumentTool = {
|
|
14229
14933
|
name: "get-item-document",
|
|
14230
14934
|
description: "Gets document items by their ids",
|
|
14231
14935
|
inputSchema: getItemDocumentQueryParams.shape,
|
|
14232
|
-
outputSchema:
|
|
14936
|
+
outputSchema: outputSchema13.shape,
|
|
14233
14937
|
annotations: {
|
|
14234
14938
|
readOnlyHint: true
|
|
14235
14939
|
},
|
|
@@ -14273,7 +14977,7 @@ var get_document_are_referenced_default = _mcpserversdk.withStandardDecorators.c
|
|
|
14273
14977
|
|
|
14274
14978
|
|
|
14275
14979
|
|
|
14276
|
-
var
|
|
14980
|
+
var inputSchema4 = _zod.z.object({
|
|
14277
14981
|
...getDocumentByIdReferencedByParams.shape,
|
|
14278
14982
|
...getDocumentByIdReferencedByQueryParams.shape
|
|
14279
14983
|
});
|
|
@@ -14281,7 +14985,7 @@ var GetDocumentByIdReferencedByTool = {
|
|
|
14281
14985
|
name: "get-document-by-id-referenced-by",
|
|
14282
14986
|
description: `Get items that reference a specific document item
|
|
14283
14987
|
Use this to find all content, documents, or other items that are currently referencing a specific document item.`,
|
|
14284
|
-
inputSchema:
|
|
14988
|
+
inputSchema: inputSchema4.shape,
|
|
14285
14989
|
outputSchema: getDocumentByIdReferencedByResponse.shape,
|
|
14286
14990
|
annotations: {
|
|
14287
14991
|
readOnlyHint: true
|
|
@@ -14302,7 +15006,7 @@ var get_document_by_id_referenced_by_default = _mcpserversdk.withStandardDecorat
|
|
|
14302
15006
|
|
|
14303
15007
|
|
|
14304
15008
|
|
|
14305
|
-
var
|
|
15009
|
+
var inputSchema5 = _zod.z.object({
|
|
14306
15010
|
...getDocumentByIdReferencedDescendantsParams.shape,
|
|
14307
15011
|
...getDocumentByIdReferencedDescendantsQueryParams.shape
|
|
14308
15012
|
});
|
|
@@ -14315,7 +15019,7 @@ var GetDocumentByIdReferencedDescendantsTool = {
|
|
|
14315
15019
|
\u2022 Impact analysis: Before deleting a document folder, see what content would be affected
|
|
14316
15020
|
\u2022 Dependency tracking: Find all content using documents from a specific folder hierarchy
|
|
14317
15021
|
\u2022 Content auditing: Identify which descendant document items are actually being used`,
|
|
14318
|
-
inputSchema:
|
|
15022
|
+
inputSchema: inputSchema5.shape,
|
|
14319
15023
|
outputSchema: getDocumentByIdReferencedDescendantsResponse.shape,
|
|
14320
15024
|
annotations: {
|
|
14321
15025
|
readOnlyHint: true
|
|
@@ -14336,7 +15040,7 @@ var get_document_by_id_referenced_descendants_default = _mcpserversdk.withStanda
|
|
|
14336
15040
|
|
|
14337
15041
|
|
|
14338
15042
|
|
|
14339
|
-
var
|
|
15043
|
+
var inputSchema6 = _zod.z.object({
|
|
14340
15044
|
...getDocumentByIdAvailableSegmentOptionsParams.shape,
|
|
14341
15045
|
...getDocumentByIdAvailableSegmentOptionsQueryParams.shape
|
|
14342
15046
|
});
|
|
@@ -14350,7 +15054,7 @@ var GetDocumentAvailableSegmentOptionsTool = {
|
|
|
14350
15054
|
\u2022 Understanding what content variations are available for a document
|
|
14351
15055
|
\u2022 Determining which segments can be used when creating or editing document content
|
|
14352
15056
|
\u2022 Viewing segment names, aliases, and associated cultures`,
|
|
14353
|
-
inputSchema:
|
|
15057
|
+
inputSchema: inputSchema6.shape,
|
|
14354
15058
|
outputSchema: getDocumentByIdAvailableSegmentOptionsResponse.shape,
|
|
14355
15059
|
annotations: {
|
|
14356
15060
|
readOnlyHint: true
|
|
@@ -14419,14 +15123,14 @@ var get_recycle_bin_document_referenced_by_default = _mcpserversdk.withStandardD
|
|
|
14419
15123
|
|
|
14420
15124
|
|
|
14421
15125
|
|
|
14422
|
-
var
|
|
15126
|
+
var inputSchema7 = {
|
|
14423
15127
|
id: postDocumentByIdPublicAccessParams.shape.id,
|
|
14424
15128
|
data: _zod.z.object(postDocumentByIdPublicAccessBody.shape)
|
|
14425
15129
|
};
|
|
14426
15130
|
var PostDocumentPublicAccessTool = {
|
|
14427
15131
|
name: "post-document-public-access",
|
|
14428
15132
|
description: "Adds public access settings to a document by Id.",
|
|
14429
|
-
inputSchema:
|
|
15133
|
+
inputSchema: inputSchema7,
|
|
14430
15134
|
slices: ["public-access"],
|
|
14431
15135
|
enabled: (user) => user.fallbackPermissions.includes(UmbracoDocumentPermissions.PublicAccess),
|
|
14432
15136
|
handler: (async (model) => {
|
|
@@ -14677,14 +15381,14 @@ var create_document_default = _mcpserversdk.withStandardDecorators.call(void 0,
|
|
|
14677
15381
|
|
|
14678
15382
|
|
|
14679
15383
|
|
|
14680
|
-
var
|
|
15384
|
+
var inputSchema8 = {
|
|
14681
15385
|
id: putDocumentByIdPublicAccessParams.shape.id,
|
|
14682
15386
|
data: _zod.z.object(putDocumentByIdPublicAccessBody.shape)
|
|
14683
15387
|
};
|
|
14684
15388
|
var PutDocumentPublicAccessTool = {
|
|
14685
15389
|
name: "put-document-public-access",
|
|
14686
15390
|
description: "Updates public access settings for a document by Id.",
|
|
14687
|
-
inputSchema:
|
|
15391
|
+
inputSchema: inputSchema8,
|
|
14688
15392
|
annotations: {
|
|
14689
15393
|
idempotentHint: true
|
|
14690
15394
|
},
|
|
@@ -14705,7 +15409,7 @@ var put_document_public_access_default = _mcpserversdk.withStandardDecorators.ca
|
|
|
14705
15409
|
|
|
14706
15410
|
|
|
14707
15411
|
|
|
14708
|
-
var
|
|
15412
|
+
var inputSchema9 = {
|
|
14709
15413
|
id: putDocumentByIdDomainsParams.shape.id,
|
|
14710
15414
|
data: _zod.z.object(putDocumentByIdDomainsBody.shape)
|
|
14711
15415
|
};
|
|
@@ -14713,7 +15417,7 @@ var PutDocumentDomainsTool = {
|
|
|
14713
15417
|
name: "put-document-domains",
|
|
14714
15418
|
description: `Updates the domains assigned to a document by Id. Default value of the defaultIsoCode is null.
|
|
14715
15419
|
Domain isoCode in the domains array should be in the format of 'en-US' amd be a valid domain name from the Umbraco instance.`,
|
|
14716
|
-
inputSchema:
|
|
15420
|
+
inputSchema: inputSchema9,
|
|
14717
15421
|
annotations: {
|
|
14718
15422
|
idempotentHint: true
|
|
14719
15423
|
},
|
|
@@ -14734,14 +15438,14 @@ var put_document_domains_default = _mcpserversdk.withStandardDecorators.call(voi
|
|
|
14734
15438
|
|
|
14735
15439
|
|
|
14736
15440
|
|
|
14737
|
-
var
|
|
15441
|
+
var inputSchema10 = {
|
|
14738
15442
|
id: putDocumentByIdNotificationsParams.shape.id,
|
|
14739
15443
|
data: _zod.z.object(putDocumentByIdNotificationsBody.shape)
|
|
14740
15444
|
};
|
|
14741
15445
|
var PutDocumentNotificationsTool = {
|
|
14742
15446
|
name: "put-document-notifications",
|
|
14743
15447
|
description: "Updates the notifications for a document by Id.",
|
|
14744
|
-
inputSchema:
|
|
15448
|
+
inputSchema: inputSchema10,
|
|
14745
15449
|
annotations: {
|
|
14746
15450
|
idempotentHint: true
|
|
14747
15451
|
},
|
|
@@ -14759,7 +15463,7 @@ var put_document_notifications_default = _mcpserversdk.withStandardDecorators.ca
|
|
|
14759
15463
|
|
|
14760
15464
|
|
|
14761
15465
|
|
|
14762
|
-
var
|
|
15466
|
+
var inputSchema11 = {
|
|
14763
15467
|
id: _zod.z.string().uuid(),
|
|
14764
15468
|
data: _zod.z.object(putDocumentByIdPublishWithDescendantsBody.shape)
|
|
14765
15469
|
};
|
|
@@ -14767,7 +15471,7 @@ var PublishDocumentWithDescendantsTool = {
|
|
|
14767
15471
|
name: "publish-document-with-descendants",
|
|
14768
15472
|
description: `Publishes a document and its descendants by Id. This is an asynchronous operation that may take time for large document trees.
|
|
14769
15473
|
The tool will poll for completion and return the final result when finished.`,
|
|
14770
|
-
inputSchema:
|
|
15474
|
+
inputSchema: inputSchema11,
|
|
14771
15475
|
annotations: {},
|
|
14772
15476
|
slices: ["publish"],
|
|
14773
15477
|
enabled: (user) => user.fallbackPermissions.includes(UmbracoDocumentPermissions.Publish),
|
|
@@ -14846,14 +15550,14 @@ var publish_document_with_descendants_default = _mcpserversdk.withStandardDecora
|
|
|
14846
15550
|
|
|
14847
15551
|
|
|
14848
15552
|
|
|
14849
|
-
var
|
|
15553
|
+
var inputSchema12 = {
|
|
14850
15554
|
id: _zod.z.string().uuid(),
|
|
14851
15555
|
data: _zod.z.object(putDocumentByIdUnpublishBody.shape)
|
|
14852
15556
|
};
|
|
14853
15557
|
var UnpublishDocumentTool = {
|
|
14854
15558
|
name: "unpublish-document",
|
|
14855
15559
|
description: "Unpublishes a document by Id.",
|
|
14856
|
-
inputSchema:
|
|
15560
|
+
inputSchema: inputSchema12,
|
|
14857
15561
|
annotations: {},
|
|
14858
15562
|
slices: ["publish"],
|
|
14859
15563
|
enabled: (user) => user.fallbackPermissions.includes(UmbracoDocumentPermissions.Unpublish),
|
|
@@ -14894,14 +15598,14 @@ var sort_document_default = _mcpserversdk.withStandardDecorators.call(void 0, So
|
|
|
14894
15598
|
|
|
14895
15599
|
|
|
14896
15600
|
|
|
14897
|
-
var
|
|
15601
|
+
var inputSchema13 = {
|
|
14898
15602
|
id: _zod.z.string().uuid(),
|
|
14899
15603
|
data: _zod.z.object(putDocumentByIdMoveBody.shape)
|
|
14900
15604
|
};
|
|
14901
15605
|
var MoveDocumentTool = {
|
|
14902
15606
|
name: "move-document",
|
|
14903
15607
|
description: "Move a document to a new location",
|
|
14904
|
-
inputSchema:
|
|
15608
|
+
inputSchema: inputSchema13,
|
|
14905
15609
|
annotations: {},
|
|
14906
15610
|
slices: ["move"],
|
|
14907
15611
|
enabled: (user) => user.fallbackPermissions.includes(UmbracoDocumentPermissions.Move),
|
|
@@ -14920,7 +15624,7 @@ var move_document_default = _mcpserversdk.withStandardDecorators.call(void 0, Mo
|
|
|
14920
15624
|
|
|
14921
15625
|
|
|
14922
15626
|
|
|
14923
|
-
var
|
|
15627
|
+
var inputSchema14 = {
|
|
14924
15628
|
id: _zod.z.string().uuid(),
|
|
14925
15629
|
data: _zod.z.object(putDocumentByIdPublishBody.shape)
|
|
14926
15630
|
};
|
|
@@ -14930,7 +15634,7 @@ var PublishDocumentTool = {
|
|
|
14930
15634
|
This function bypasses approval workflows and publishes directly to the live site.
|
|
14931
15635
|
When the culture is not provided, the default culture is null.
|
|
14932
15636
|
When the schedule is not provided, the default schedule is null.`,
|
|
14933
|
-
inputSchema:
|
|
15637
|
+
inputSchema: inputSchema14,
|
|
14934
15638
|
annotations: {},
|
|
14935
15639
|
slices: ["publish"],
|
|
14936
15640
|
enabled: (user) => user.fallbackPermissions.includes(UmbracoDocumentPermissions.Publish),
|
|
@@ -15017,7 +15721,7 @@ var move_to_recycle_bin_default = _mcpserversdk.withStandardDecorators.call(void
|
|
|
15017
15721
|
|
|
15018
15722
|
|
|
15019
15723
|
|
|
15020
|
-
var
|
|
15724
|
+
var inputSchema15 = {
|
|
15021
15725
|
id: putDocumentByIdParams.shape.id,
|
|
15022
15726
|
data: _zod.z.object(putDocumentByIdBody.shape)
|
|
15023
15727
|
};
|
|
@@ -15036,7 +15740,7 @@ var UpdateDocumentTool = {
|
|
|
15036
15740
|
- Always read the current document value first
|
|
15037
15741
|
- Only update the required values
|
|
15038
15742
|
- Don't miss any properties from the original document`,
|
|
15039
|
-
inputSchema:
|
|
15743
|
+
inputSchema: inputSchema15,
|
|
15040
15744
|
annotations: {
|
|
15041
15745
|
idempotentHint: true
|
|
15042
15746
|
},
|
|
@@ -15866,14 +16570,14 @@ var get_children_default4 = _mcpserversdk.withStandardDecorators.call(void 0, Ge
|
|
|
15866
16570
|
|
|
15867
16571
|
|
|
15868
16572
|
|
|
15869
|
-
var
|
|
16573
|
+
var outputSchema14 = _zod.z.object({
|
|
15870
16574
|
items: getTreeDocumentAncestorsResponse
|
|
15871
16575
|
});
|
|
15872
16576
|
var GetDocumentAncestorsTool = {
|
|
15873
16577
|
name: "get-document-ancestors",
|
|
15874
16578
|
description: "Gets ancestor items for a document.",
|
|
15875
16579
|
inputSchema: getTreeDocumentAncestorsQueryParams.shape,
|
|
15876
|
-
outputSchema:
|
|
16580
|
+
outputSchema: outputSchema14.shape,
|
|
15877
16581
|
annotations: {
|
|
15878
16582
|
readOnlyHint: true
|
|
15879
16583
|
},
|
|
@@ -15886,6 +16590,35 @@ var GetDocumentAncestorsTool = {
|
|
|
15886
16590
|
};
|
|
15887
16591
|
var get_ancestors_default4 = _mcpserversdk.withStandardDecorators.call(void 0, GetDocumentAncestorsTool);
|
|
15888
16592
|
|
|
16593
|
+
// src/umb-management-api/tools/document/items/get/get-ancestors-batch.ts
|
|
16594
|
+
|
|
16595
|
+
|
|
16596
|
+
|
|
16597
|
+
|
|
16598
|
+
|
|
16599
|
+
|
|
16600
|
+
var outputSchema15 = _zod.z.object({
|
|
16601
|
+
items: getItemDocumentAncestorsResponse
|
|
16602
|
+
});
|
|
16603
|
+
var GetDocumentAncestorsBatchTool = {
|
|
16604
|
+
name: "get-document-ancestors-batch",
|
|
16605
|
+
description: `Gets the ancestor chain (breadcrumb) for multiple document Ids in one call.
|
|
16606
|
+
Returns one entry per requested Id, each containing that Id's chain of ancestors.
|
|
16607
|
+
Differs from get-document-ancestors which returns the tree-style ancestors of a single Id.`,
|
|
16608
|
+
inputSchema: getItemDocumentAncestorsQueryParams.shape,
|
|
16609
|
+
outputSchema: outputSchema15.shape,
|
|
16610
|
+
annotations: {
|
|
16611
|
+
readOnlyHint: true
|
|
16612
|
+
},
|
|
16613
|
+
slices: ["list"],
|
|
16614
|
+
handler: (async (params) => {
|
|
16615
|
+
return _mcpserversdk.executeGetItemsApiCall.call(void 0,
|
|
16616
|
+
(client) => client.getItemDocumentAncestors(params, _mcpserversdk.CAPTURE_RAW_HTTP_RESPONSE)
|
|
16617
|
+
);
|
|
16618
|
+
})
|
|
16619
|
+
};
|
|
16620
|
+
var get_ancestors_batch_default2 = _mcpserversdk.withStandardDecorators.call(void 0, GetDocumentAncestorsBatchTool);
|
|
16621
|
+
|
|
15889
16622
|
// src/umb-management-api/tools/document/items/get/get-siblings.ts
|
|
15890
16623
|
|
|
15891
16624
|
|
|
@@ -16036,6 +16769,7 @@ var DocumentCollection = {
|
|
|
16036
16769
|
tools.push(get_root_default4);
|
|
16037
16770
|
tools.push(get_children_default4);
|
|
16038
16771
|
tools.push(get_ancestors_default4);
|
|
16772
|
+
tools.push(get_ancestors_batch_default2);
|
|
16039
16773
|
tools.push(get_siblings_default3);
|
|
16040
16774
|
tools.push(get_recycle_bin_siblings_default);
|
|
16041
16775
|
}
|
|
@@ -16428,14 +17162,14 @@ var get_children_default5 = _mcpserversdk.withStandardDecorators.call(void 0, Ge
|
|
|
16428
17162
|
|
|
16429
17163
|
|
|
16430
17164
|
|
|
16431
|
-
var
|
|
17165
|
+
var outputSchema16 = _zod.z.object({
|
|
16432
17166
|
items: getTreeDocumentTypeAncestorsResponse
|
|
16433
17167
|
});
|
|
16434
17168
|
var GetDocumentTypeAncestorsTool = {
|
|
16435
17169
|
name: "get-document-type-ancestors",
|
|
16436
17170
|
description: "Gets the ancestors of a document type",
|
|
16437
17171
|
inputSchema: getTreeDocumentTypeAncestorsQueryParams.shape,
|
|
16438
|
-
outputSchema:
|
|
17172
|
+
outputSchema: outputSchema16.shape,
|
|
16439
17173
|
annotations: { readOnlyHint: true },
|
|
16440
17174
|
slices: ["tree"],
|
|
16441
17175
|
handler: (async (params) => {
|
|
@@ -16446,6 +17180,85 @@ var GetDocumentTypeAncestorsTool = {
|
|
|
16446
17180
|
};
|
|
16447
17181
|
var get_ancestors_default5 = _mcpserversdk.withStandardDecorators.call(void 0, GetDocumentTypeAncestorsTool);
|
|
16448
17182
|
|
|
17183
|
+
// src/umb-management-api/tools/document-type/items/get/get-ancestors-batch.ts
|
|
17184
|
+
|
|
17185
|
+
|
|
17186
|
+
|
|
17187
|
+
|
|
17188
|
+
|
|
17189
|
+
|
|
17190
|
+
var outputSchema17 = _zod.z.object({
|
|
17191
|
+
items: getItemDocumentTypeAncestorsResponse
|
|
17192
|
+
});
|
|
17193
|
+
var GetDocumentTypeAncestorsBatchTool = {
|
|
17194
|
+
name: "get-document-type-ancestors-batch",
|
|
17195
|
+
description: `Gets the ancestor chain (breadcrumb) for multiple document type Ids in one call.
|
|
17196
|
+
Returns one entry per requested Id, each containing that Id's chain of ancestors.
|
|
17197
|
+
Differs from get-document-type-ancestors which returns the tree-style ancestors of a single Id.`,
|
|
17198
|
+
inputSchema: getItemDocumentTypeAncestorsQueryParams.shape,
|
|
17199
|
+
outputSchema: outputSchema17.shape,
|
|
17200
|
+
annotations: {
|
|
17201
|
+
readOnlyHint: true
|
|
17202
|
+
},
|
|
17203
|
+
slices: ["list"],
|
|
17204
|
+
handler: (async (params) => {
|
|
17205
|
+
return _mcpserversdk.executeGetItemsApiCall.call(void 0,
|
|
17206
|
+
(client) => client.getItemDocumentTypeAncestors(params, _mcpserversdk.CAPTURE_RAW_HTTP_RESPONSE)
|
|
17207
|
+
);
|
|
17208
|
+
})
|
|
17209
|
+
};
|
|
17210
|
+
var get_ancestors_batch_default3 = _mcpserversdk.withStandardDecorators.call(void 0, GetDocumentTypeAncestorsBatchTool);
|
|
17211
|
+
|
|
17212
|
+
// src/umb-management-api/tools/document-type/items/get/get-tree-search.ts
|
|
17213
|
+
|
|
17214
|
+
|
|
17215
|
+
|
|
17216
|
+
|
|
17217
|
+
|
|
17218
|
+
var GetDocumentTypeTreeSearchTool = {
|
|
17219
|
+
name: "get-document-type-tree-search",
|
|
17220
|
+
description: `Searches document types in tree-node shape (with hasChildren and parent for tree navigation).
|
|
17221
|
+
Optional itemKind filter accepts 'Item', 'Folder' or 'All'. Use this when paginating tree results;
|
|
17222
|
+
for a flat search of items use the corresponding item-search endpoint.`,
|
|
17223
|
+
inputSchema: getTreeDocumentTypeSearchQueryParams.shape,
|
|
17224
|
+
outputSchema: getTreeDocumentTypeSearchResponse.shape,
|
|
17225
|
+
annotations: {
|
|
17226
|
+
readOnlyHint: true
|
|
17227
|
+
},
|
|
17228
|
+
slices: ["tree"],
|
|
17229
|
+
handler: (async (params) => {
|
|
17230
|
+
return _mcpserversdk.executeGetApiCall.call(void 0,
|
|
17231
|
+
(client) => client.getTreeDocumentTypeSearch(params, _mcpserversdk.CAPTURE_RAW_HTTP_RESPONSE)
|
|
17232
|
+
);
|
|
17233
|
+
})
|
|
17234
|
+
};
|
|
17235
|
+
var get_tree_search_default2 = _mcpserversdk.withStandardDecorators.call(void 0, GetDocumentTypeTreeSearchTool);
|
|
17236
|
+
|
|
17237
|
+
// src/umb-management-api/tools/document-type/get/get-document-type-allowed-parents.ts
|
|
17238
|
+
|
|
17239
|
+
|
|
17240
|
+
|
|
17241
|
+
|
|
17242
|
+
|
|
17243
|
+
var GetDocumentTypeAllowedParentsTool = {
|
|
17244
|
+
name: "get-document-type-allowed-parents",
|
|
17245
|
+
description: `Gets the document type Ids that may be a parent of the given document type.
|
|
17246
|
+
Counterpart of get-document-type-allowed-children \u2014 useful when validating where a content
|
|
17247
|
+
node of this type can be placed.`,
|
|
17248
|
+
inputSchema: getDocumentTypeByIdAllowedParentsParams.shape,
|
|
17249
|
+
outputSchema: getDocumentTypeByIdAllowedParentsResponse.shape,
|
|
17250
|
+
annotations: {
|
|
17251
|
+
readOnlyHint: true
|
|
17252
|
+
},
|
|
17253
|
+
slices: ["read"],
|
|
17254
|
+
handler: (async ({ id }) => {
|
|
17255
|
+
return _mcpserversdk.executeGetApiCall.call(void 0,
|
|
17256
|
+
(client) => client.getDocumentTypeByIdAllowedParents(id, _mcpserversdk.CAPTURE_RAW_HTTP_RESPONSE)
|
|
17257
|
+
);
|
|
17258
|
+
})
|
|
17259
|
+
};
|
|
17260
|
+
var get_document_type_allowed_parents_default = _mcpserversdk.withStandardDecorators.call(void 0, GetDocumentTypeAllowedParentsTool);
|
|
17261
|
+
|
|
16449
17262
|
// src/umb-management-api/tools/document-type/items/get/get-siblings.ts
|
|
16450
17263
|
|
|
16451
17264
|
|
|
@@ -16586,14 +17399,14 @@ var get_document_type_blueprint_default = _mcpserversdk.withStandardDecorators.c
|
|
|
16586
17399
|
|
|
16587
17400
|
|
|
16588
17401
|
|
|
16589
|
-
var
|
|
17402
|
+
var outputSchema18 = _zod.z.object({
|
|
16590
17403
|
items: getDocumentTypeByIdCompositionReferencesResponse
|
|
16591
17404
|
});
|
|
16592
17405
|
var GetDocumentTypeCompositionReferencesTool = {
|
|
16593
17406
|
name: "get-document-type-composition-references",
|
|
16594
17407
|
description: "Gets the composition references for a document type",
|
|
16595
17408
|
inputSchema: getDocumentTypeByIdCompositionReferencesParams.shape,
|
|
16596
|
-
outputSchema:
|
|
17409
|
+
outputSchema: outputSchema18.shape,
|
|
16597
17410
|
annotations: { readOnlyHint: true },
|
|
16598
17411
|
slices: ["references"],
|
|
16599
17412
|
handler: (async ({ id }) => {
|
|
@@ -16611,14 +17424,14 @@ var get_document_type_composition_references_default = _mcpserversdk.withStandar
|
|
|
16611
17424
|
|
|
16612
17425
|
|
|
16613
17426
|
|
|
16614
|
-
var
|
|
17427
|
+
var outputSchema19 = _zod.z.object({
|
|
16615
17428
|
items: postDocumentTypeAvailableCompositionsResponse
|
|
16616
17429
|
});
|
|
16617
17430
|
var GetDocumentTypeAvailableCompositionsTool = {
|
|
16618
17431
|
name: "get-document-type-available-compositions",
|
|
16619
17432
|
description: "Gets the available compositions for a document type",
|
|
16620
17433
|
inputSchema: postDocumentTypeAvailableCompositionsBody.shape,
|
|
16621
|
-
outputSchema:
|
|
17434
|
+
outputSchema: outputSchema19.shape,
|
|
16622
17435
|
annotations: { readOnlyHint: true },
|
|
16623
17436
|
slices: ["read"],
|
|
16624
17437
|
handler: (async (model) => {
|
|
@@ -16684,14 +17497,14 @@ var get_document_type_configuration_default = _mcpserversdk.withStandardDecorato
|
|
|
16684
17497
|
|
|
16685
17498
|
|
|
16686
17499
|
|
|
16687
|
-
var
|
|
17500
|
+
var outputSchema20 = _zod.z.object({
|
|
16688
17501
|
items: getItemDocumentTypeResponse
|
|
16689
17502
|
});
|
|
16690
17503
|
var GetDocumentTypesByIdArrayTool = {
|
|
16691
17504
|
name: "get-document-types-by-id-array",
|
|
16692
17505
|
description: "Gets document types by IDs (or empty array if no IDs are provided)",
|
|
16693
17506
|
inputSchema: getItemDocumentTypeQueryParams.shape,
|
|
16694
|
-
outputSchema:
|
|
17507
|
+
outputSchema: outputSchema20.shape,
|
|
16695
17508
|
annotations: { readOnlyHint: true },
|
|
16696
17509
|
slices: ["list"],
|
|
16697
17510
|
handler: (async (params) => {
|
|
@@ -16702,6 +17515,32 @@ var GetDocumentTypesByIdArrayTool = {
|
|
|
16702
17515
|
};
|
|
16703
17516
|
var get_document_type_by_id_array_default = _mcpserversdk.withStandardDecorators.call(void 0, GetDocumentTypesByIdArrayTool);
|
|
16704
17517
|
|
|
17518
|
+
// src/umb-management-api/tools/document-type/get/get-document-type-batch.ts
|
|
17519
|
+
|
|
17520
|
+
|
|
17521
|
+
|
|
17522
|
+
|
|
17523
|
+
|
|
17524
|
+
var GetDocumentTypeBatchTool = {
|
|
17525
|
+
name: "get-document-type-batch",
|
|
17526
|
+
description: `Gets full document types for multiple Ids in one call.
|
|
17527
|
+
Returns each document type's properties, containers, compositions and allowed children,
|
|
17528
|
+
not just the lightweight item shape returned by get-document-types-by-id-array.
|
|
17529
|
+
Use when you need the same payload as get-document-type but for many Ids at once.`,
|
|
17530
|
+
inputSchema: getDocumentTypeBatchQueryParams.shape,
|
|
17531
|
+
outputSchema: getDocumentTypeBatchResponse.shape,
|
|
17532
|
+
annotations: {
|
|
17533
|
+
readOnlyHint: true
|
|
17534
|
+
},
|
|
17535
|
+
slices: ["list"],
|
|
17536
|
+
handler: (async (params) => {
|
|
17537
|
+
return _mcpserversdk.executeGetApiCall.call(void 0,
|
|
17538
|
+
(client) => client.getDocumentTypeBatch(params, _mcpserversdk.CAPTURE_RAW_HTTP_RESPONSE)
|
|
17539
|
+
);
|
|
17540
|
+
})
|
|
17541
|
+
};
|
|
17542
|
+
var get_document_type_batch_default = _mcpserversdk.withStandardDecorators.call(void 0, GetDocumentTypeBatchTool);
|
|
17543
|
+
|
|
16705
17544
|
// src/umb-management-api/tools/document-type/templates/get-icons.ts
|
|
16706
17545
|
|
|
16707
17546
|
|
|
@@ -17372,7 +18211,7 @@ var create_element_type_default = _mcpserversdk.withStandardDecorators.call(void
|
|
|
17372
18211
|
|
|
17373
18212
|
|
|
17374
18213
|
|
|
17375
|
-
var
|
|
18214
|
+
var outputSchema21 = _zod.z.object({
|
|
17376
18215
|
items: getTreeDocumentTypeRootResponse.shape.items
|
|
17377
18216
|
});
|
|
17378
18217
|
var GetAllDocumentTypesTool = {
|
|
@@ -17381,7 +18220,7 @@ var GetAllDocumentTypesTool = {
|
|
|
17381
18220
|
This is the preferred approach when you need to understand the full folder structure.
|
|
17382
18221
|
For large sites, this may take a while to complete. For smaller sites its more efficient than fetching all documents by folder.`,
|
|
17383
18222
|
inputSchema: {},
|
|
17384
|
-
outputSchema:
|
|
18223
|
+
outputSchema: outputSchema21.shape,
|
|
17385
18224
|
annotations: { readOnlyHint: true },
|
|
17386
18225
|
slices: ["list"],
|
|
17387
18226
|
handler: (async () => {
|
|
@@ -17430,6 +18269,7 @@ var DocumentTypeCollection = {
|
|
|
17430
18269
|
tools.push(get_document_type_configuration_default);
|
|
17431
18270
|
tools.push(get_document_type_blueprint_default);
|
|
17432
18271
|
tools.push(get_document_type_by_id_array_default);
|
|
18272
|
+
tools.push(get_document_type_batch_default);
|
|
17433
18273
|
}
|
|
17434
18274
|
if (AuthorizationPolicies.TreeAccessDocumentTypes(user)) {
|
|
17435
18275
|
tools.push(get_document_type_available_compositions_default);
|
|
@@ -17449,6 +18289,9 @@ var DocumentTypeCollection = {
|
|
|
17449
18289
|
tools.push(update_folder_default3);
|
|
17450
18290
|
tools.push(get_root_default5);
|
|
17451
18291
|
tools.push(get_ancestors_default5);
|
|
18292
|
+
tools.push(get_ancestors_batch_default3);
|
|
18293
|
+
tools.push(get_tree_search_default2);
|
|
18294
|
+
tools.push(get_document_type_allowed_parents_default);
|
|
17452
18295
|
tools.push(get_children_default5);
|
|
17453
18296
|
tools.push(get_siblings_default4);
|
|
17454
18297
|
}
|
|
@@ -17685,7 +18528,7 @@ var HealthCollection = {
|
|
|
17685
18528
|
|
|
17686
18529
|
|
|
17687
18530
|
|
|
17688
|
-
var
|
|
18531
|
+
var outputSchema22 = _zod.z.object({
|
|
17689
18532
|
items: getImagingResizeUrlsResponse
|
|
17690
18533
|
});
|
|
17691
18534
|
var GetImagingResizeUrlsTool = {
|
|
@@ -17702,7 +18545,7 @@ var GetImagingResizeUrlsTool = {
|
|
|
17702
18545
|
- width: Target width in pixels (default: 200)
|
|
17703
18546
|
- mode: Resize mode (Crop, Max, Stretch, Pad, BoxPad, Min)`,
|
|
17704
18547
|
inputSchema: getImagingResizeUrlsQueryParams.shape,
|
|
17705
|
-
outputSchema:
|
|
18548
|
+
outputSchema: outputSchema22.shape,
|
|
17706
18549
|
annotations: {
|
|
17707
18550
|
readOnlyHint: true
|
|
17708
18551
|
},
|
|
@@ -17829,14 +18672,14 @@ var IndexerCollection = {
|
|
|
17829
18672
|
|
|
17830
18673
|
|
|
17831
18674
|
|
|
17832
|
-
var
|
|
18675
|
+
var outputSchema23 = _zod.z.object({
|
|
17833
18676
|
items: getItemLanguageResponse
|
|
17834
18677
|
});
|
|
17835
18678
|
var GetLanguageItemsTool = {
|
|
17836
18679
|
name: "get-language-items",
|
|
17837
18680
|
description: "Gets language items (optionally filtered by isoCode)",
|
|
17838
18681
|
inputSchema: getItemLanguageQueryParams.shape,
|
|
17839
|
-
outputSchema:
|
|
18682
|
+
outputSchema: outputSchema23.shape,
|
|
17840
18683
|
annotations: {
|
|
17841
18684
|
readOnlyHint: true
|
|
17842
18685
|
},
|
|
@@ -17962,14 +18805,14 @@ var create_language_default = _mcpserversdk.withStandardDecorators.call(void 0,
|
|
|
17962
18805
|
|
|
17963
18806
|
|
|
17964
18807
|
|
|
17965
|
-
var
|
|
18808
|
+
var inputSchema16 = {
|
|
17966
18809
|
isoCode: putLanguageByIsoCodeParams.shape.isoCode,
|
|
17967
18810
|
data: _zod.z.object(putLanguageByIsoCodeBody.shape)
|
|
17968
18811
|
};
|
|
17969
18812
|
var UpdateLanguageTool = {
|
|
17970
18813
|
name: "update-language",
|
|
17971
18814
|
description: "Updates an existing language by ISO code",
|
|
17972
|
-
inputSchema:
|
|
18815
|
+
inputSchema: inputSchema16,
|
|
17973
18816
|
annotations: {
|
|
17974
18817
|
idempotentHint: true
|
|
17975
18818
|
},
|
|
@@ -18266,14 +19109,14 @@ var LogViewerCollection = {
|
|
|
18266
19109
|
|
|
18267
19110
|
|
|
18268
19111
|
|
|
18269
|
-
var
|
|
19112
|
+
var outputSchema24 = _zod.z.object({
|
|
18270
19113
|
items: getManifestManifestResponse
|
|
18271
19114
|
});
|
|
18272
19115
|
var GetManifestManifestTool = {
|
|
18273
19116
|
name: "get-manifest-manifest",
|
|
18274
19117
|
description: "Gets all manifests (both public and private) from the Umbraco installation. Each manifest contains an extensions property showing what the package exposes to Umbraco. Use to see which packages are installed, troubleshoot package issues, or list available extensions.",
|
|
18275
19118
|
inputSchema: {},
|
|
18276
|
-
outputSchema:
|
|
19119
|
+
outputSchema: outputSchema24.shape,
|
|
18277
19120
|
annotations: {
|
|
18278
19121
|
readOnlyHint: true
|
|
18279
19122
|
},
|
|
@@ -18293,14 +19136,14 @@ var get_manifest_manifest_default = _mcpserversdk.withStandardDecorators.call(vo
|
|
|
18293
19136
|
|
|
18294
19137
|
|
|
18295
19138
|
|
|
18296
|
-
var
|
|
19139
|
+
var outputSchema25 = _zod.z.object({
|
|
18297
19140
|
items: getManifestManifestPrivateResponse
|
|
18298
19141
|
});
|
|
18299
19142
|
var GetManifestManifestPrivateTool = {
|
|
18300
19143
|
name: "get-manifest-manifest-private",
|
|
18301
19144
|
description: "Gets private manifests from the Umbraco installation. Private manifests require authentication and contain administrative/sensitive extensions.",
|
|
18302
19145
|
inputSchema: {},
|
|
18303
|
-
outputSchema:
|
|
19146
|
+
outputSchema: outputSchema25.shape,
|
|
18304
19147
|
annotations: {
|
|
18305
19148
|
readOnlyHint: true
|
|
18306
19149
|
},
|
|
@@ -18320,14 +19163,14 @@ var get_manifest_manifest_private_default = _mcpserversdk.withStandardDecorators
|
|
|
18320
19163
|
|
|
18321
19164
|
|
|
18322
19165
|
|
|
18323
|
-
var
|
|
19166
|
+
var outputSchema26 = _zod.z.object({
|
|
18324
19167
|
items: getManifestManifestPublicResponse
|
|
18325
19168
|
});
|
|
18326
19169
|
var GetManifestManifestPublicTool = {
|
|
18327
19170
|
name: "get-manifest-manifest-public",
|
|
18328
19171
|
description: "Gets public manifests from the Umbraco installation. Public manifests can be accessed without authentication and contain public-facing extensions.",
|
|
18329
19172
|
inputSchema: {},
|
|
18330
|
-
outputSchema:
|
|
19173
|
+
outputSchema: outputSchema26.shape,
|
|
18331
19174
|
annotations: {
|
|
18332
19175
|
readOnlyHint: true
|
|
18333
19176
|
},
|
|
@@ -18926,7 +19769,7 @@ var get_media_by_id_default = _mcpserversdk.withStandardDecorators.call(void 0,
|
|
|
18926
19769
|
|
|
18927
19770
|
|
|
18928
19771
|
|
|
18929
|
-
var
|
|
19772
|
+
var inputSchema17 = {
|
|
18930
19773
|
id: putMediaByIdParams.shape.id,
|
|
18931
19774
|
data: _zod.z.object(putMediaByIdBody.shape)
|
|
18932
19775
|
};
|
|
@@ -18936,7 +19779,7 @@ var UpdateMediaTool = {
|
|
|
18936
19779
|
Always read the current media value first and only update the required values.
|
|
18937
19780
|
Don't miss any properties from the original media that you are updating.
|
|
18938
19781
|
This cannot be used for moving media to a new folder. Use the move endpoint to do that.`,
|
|
18939
|
-
inputSchema:
|
|
19782
|
+
inputSchema: inputSchema17,
|
|
18940
19783
|
annotations: {
|
|
18941
19784
|
idempotentHint: true
|
|
18942
19785
|
},
|
|
@@ -18977,14 +19820,14 @@ var get_media_configuration_default = _mcpserversdk.withStandardDecorators.call(
|
|
|
18977
19820
|
|
|
18978
19821
|
|
|
18979
19822
|
|
|
18980
|
-
var
|
|
19823
|
+
var outputSchema27 = _zod.z.object({
|
|
18981
19824
|
items: getMediaUrlsResponse
|
|
18982
19825
|
});
|
|
18983
19826
|
var GetMediaUrlsTool = {
|
|
18984
19827
|
name: "get-media-urls",
|
|
18985
19828
|
description: "Gets the URLs for a media item.",
|
|
18986
19829
|
inputSchema: getMediaUrlsQueryParams.shape,
|
|
18987
|
-
outputSchema:
|
|
19830
|
+
outputSchema: outputSchema27.shape,
|
|
18988
19831
|
annotations: { readOnlyHint: true },
|
|
18989
19832
|
slices: ["read"],
|
|
18990
19833
|
handler: (async (params) => {
|
|
@@ -19022,14 +19865,14 @@ var validate_media_default = _mcpserversdk.withStandardDecorators.call(void 0, V
|
|
|
19022
19865
|
|
|
19023
19866
|
|
|
19024
19867
|
|
|
19025
|
-
var
|
|
19868
|
+
var inputSchema18 = {
|
|
19026
19869
|
id: putMediaByIdValidateParams.shape.id,
|
|
19027
19870
|
data: _zod.z.object(putMediaByIdValidateBody.shape)
|
|
19028
19871
|
};
|
|
19029
19872
|
var ValidateMediaUpdateTool = {
|
|
19030
19873
|
name: "validate-media-update",
|
|
19031
19874
|
description: "Validates media data before updating an existing media item by Id",
|
|
19032
|
-
inputSchema:
|
|
19875
|
+
inputSchema: inputSchema18,
|
|
19033
19876
|
annotations: { readOnlyHint: true },
|
|
19034
19877
|
slices: ["validate"],
|
|
19035
19878
|
handler: (async (model) => {
|
|
@@ -19069,14 +19912,14 @@ var sort_media_default = _mcpserversdk.withStandardDecorators.call(void 0, SortM
|
|
|
19069
19912
|
|
|
19070
19913
|
|
|
19071
19914
|
|
|
19072
|
-
var
|
|
19915
|
+
var outputSchema28 = _zod.z.object({
|
|
19073
19916
|
items: getItemMediaResponse
|
|
19074
19917
|
});
|
|
19075
19918
|
var GetMediaByIdArrayTool = {
|
|
19076
19919
|
name: "get-media-by-id-array",
|
|
19077
19920
|
description: "Gets media items by an array of IDs",
|
|
19078
19921
|
inputSchema: getItemMediaQueryParams.shape,
|
|
19079
|
-
outputSchema:
|
|
19922
|
+
outputSchema: outputSchema28.shape,
|
|
19080
19923
|
annotations: { readOnlyHint: true },
|
|
19081
19924
|
slices: ["read"],
|
|
19082
19925
|
handler: (async (params) => {
|
|
@@ -19094,14 +19937,14 @@ var get_media_by_id_array_default = _mcpserversdk.withStandardDecorators.call(vo
|
|
|
19094
19937
|
|
|
19095
19938
|
|
|
19096
19939
|
|
|
19097
|
-
var
|
|
19940
|
+
var inputSchema19 = {
|
|
19098
19941
|
id: putMediaByIdMoveParams.shape.id,
|
|
19099
19942
|
data: _zod.z.object(putMediaByIdMoveBody.shape)
|
|
19100
19943
|
};
|
|
19101
19944
|
var MoveMediaTool = {
|
|
19102
19945
|
name: "move-media",
|
|
19103
19946
|
description: "Move a media item to a new location",
|
|
19104
|
-
inputSchema:
|
|
19947
|
+
inputSchema: inputSchema19,
|
|
19105
19948
|
annotations: {
|
|
19106
19949
|
idempotentHint: true
|
|
19107
19950
|
},
|
|
@@ -19121,14 +19964,14 @@ var move_media_default = _mcpserversdk.withStandardDecorators.call(void 0, MoveM
|
|
|
19121
19964
|
|
|
19122
19965
|
|
|
19123
19966
|
|
|
19124
|
-
var
|
|
19967
|
+
var outputSchema29 = _zod.z.object({
|
|
19125
19968
|
items: getTreeMediaAncestorsResponse
|
|
19126
19969
|
});
|
|
19127
19970
|
var GetMediaAncestorsTool = {
|
|
19128
19971
|
name: "get-media-ancestors",
|
|
19129
19972
|
description: "Gets ancestor items for a media.",
|
|
19130
19973
|
inputSchema: getTreeMediaAncestorsQueryParams.shape,
|
|
19131
|
-
outputSchema:
|
|
19974
|
+
outputSchema: outputSchema29.shape,
|
|
19132
19975
|
annotations: { readOnlyHint: true },
|
|
19133
19976
|
slices: ["tree"],
|
|
19134
19977
|
handler: (async (params) => {
|
|
@@ -19139,6 +19982,35 @@ var GetMediaAncestorsTool = {
|
|
|
19139
19982
|
};
|
|
19140
19983
|
var get_ancestors_default6 = _mcpserversdk.withStandardDecorators.call(void 0, GetMediaAncestorsTool);
|
|
19141
19984
|
|
|
19985
|
+
// src/umb-management-api/tools/media/items/get/get-ancestors-batch.ts
|
|
19986
|
+
|
|
19987
|
+
|
|
19988
|
+
|
|
19989
|
+
|
|
19990
|
+
|
|
19991
|
+
|
|
19992
|
+
var outputSchema30 = _zod.z.object({
|
|
19993
|
+
items: getItemMediaAncestorsResponse
|
|
19994
|
+
});
|
|
19995
|
+
var GetMediaAncestorsBatchTool = {
|
|
19996
|
+
name: "get-media-ancestors-batch",
|
|
19997
|
+
description: `Gets the ancestor chain (breadcrumb) for multiple media Ids in one call.
|
|
19998
|
+
Returns one entry per requested Id, each containing that Id's chain of ancestors.
|
|
19999
|
+
Differs from get-media-ancestors which returns the tree-style ancestors of a single Id.`,
|
|
20000
|
+
inputSchema: getItemMediaAncestorsQueryParams.shape,
|
|
20001
|
+
outputSchema: outputSchema30.shape,
|
|
20002
|
+
annotations: {
|
|
20003
|
+
readOnlyHint: true
|
|
20004
|
+
},
|
|
20005
|
+
slices: ["list"],
|
|
20006
|
+
handler: (async (params) => {
|
|
20007
|
+
return _mcpserversdk.executeGetItemsApiCall.call(void 0,
|
|
20008
|
+
(client) => client.getItemMediaAncestors(params, _mcpserversdk.CAPTURE_RAW_HTTP_RESPONSE)
|
|
20009
|
+
);
|
|
20010
|
+
})
|
|
20011
|
+
};
|
|
20012
|
+
var get_ancestors_batch_default4 = _mcpserversdk.withStandardDecorators.call(void 0, GetMediaAncestorsBatchTool);
|
|
20013
|
+
|
|
19142
20014
|
// src/umb-management-api/tools/media/items/get/get-children.ts
|
|
19143
20015
|
|
|
19144
20016
|
|
|
@@ -19208,14 +20080,14 @@ var get_root_default6 = _mcpserversdk.withStandardDecorators.call(void 0, GetMed
|
|
|
19208
20080
|
|
|
19209
20081
|
|
|
19210
20082
|
|
|
19211
|
-
var
|
|
20083
|
+
var inputSchema20 = {
|
|
19212
20084
|
id: getMediaByIdAuditLogParams.shape.id,
|
|
19213
20085
|
...getMediaByIdAuditLogQueryParams.shape
|
|
19214
20086
|
};
|
|
19215
20087
|
var GetMediaAuditLogTool = {
|
|
19216
20088
|
name: "get-media-audit-log",
|
|
19217
20089
|
description: "Fetches the audit log for a media item by Id.",
|
|
19218
|
-
inputSchema:
|
|
20090
|
+
inputSchema: inputSchema20,
|
|
19219
20091
|
outputSchema: getMediaByIdAuditLogResponse.shape,
|
|
19220
20092
|
annotations: { readOnlyHint: true },
|
|
19221
20093
|
slices: ["audit"],
|
|
@@ -19430,7 +20302,7 @@ var get_media_are_referenced_default = _mcpserversdk.withStandardDecorators.call
|
|
|
19430
20302
|
|
|
19431
20303
|
|
|
19432
20304
|
|
|
19433
|
-
var
|
|
20305
|
+
var inputSchema21 = _zod.z.object({
|
|
19434
20306
|
...getMediaByIdReferencedByParams.shape,
|
|
19435
20307
|
...getMediaByIdReferencedByQueryParams.shape
|
|
19436
20308
|
}).shape;
|
|
@@ -19438,7 +20310,7 @@ var GetMediaByIdReferencedByTool = {
|
|
|
19438
20310
|
name: "get-media-by-id-referenced-by",
|
|
19439
20311
|
description: `Get items that reference a specific media item
|
|
19440
20312
|
Use this to find all content, documents, or other items that are currently referencing a specific media item.`,
|
|
19441
|
-
inputSchema:
|
|
20313
|
+
inputSchema: inputSchema21,
|
|
19442
20314
|
outputSchema: getMediaByIdReferencedByResponse.shape,
|
|
19443
20315
|
annotations: { readOnlyHint: true },
|
|
19444
20316
|
slices: ["references"],
|
|
@@ -19457,7 +20329,7 @@ var get_media_by_id_referenced_by_default = _mcpserversdk.withStandardDecorators
|
|
|
19457
20329
|
|
|
19458
20330
|
|
|
19459
20331
|
|
|
19460
|
-
var
|
|
20332
|
+
var inputSchema22 = _zod.z.object({
|
|
19461
20333
|
...getMediaByIdReferencedDescendantsParams.shape,
|
|
19462
20334
|
...getMediaByIdReferencedDescendantsQueryParams.shape
|
|
19463
20335
|
}).shape;
|
|
@@ -19470,7 +20342,7 @@ var GetMediaByIdReferencedDescendantsTool = {
|
|
|
19470
20342
|
\u2022 Impact analysis: Before deleting a media folder, see what content would be affected
|
|
19471
20343
|
\u2022 Dependency tracking: Find all content using media from a specific folder hierarchy
|
|
19472
20344
|
\u2022 Content auditing: Identify which descendant media items are actually being used`,
|
|
19473
|
-
inputSchema:
|
|
20345
|
+
inputSchema: inputSchema22,
|
|
19474
20346
|
outputSchema: getMediaByIdReferencedDescendantsResponse.shape,
|
|
19475
20347
|
annotations: { readOnlyHint: true },
|
|
19476
20348
|
slices: ["references"],
|
|
@@ -19561,6 +20433,7 @@ var MediaCollection = {
|
|
|
19561
20433
|
tools.push(get_media_by_id_default);
|
|
19562
20434
|
if (AuthorizationPolicies.SectionAccessForMediaTree(user)) {
|
|
19563
20435
|
tools.push(get_ancestors_default6);
|
|
20436
|
+
tools.push(get_ancestors_batch_default4);
|
|
19564
20437
|
tools.push(get_children_default6);
|
|
19565
20438
|
tools.push(get_siblings_default5);
|
|
19566
20439
|
tools.push(get_root_default6);
|
|
@@ -19648,17 +20521,17 @@ var get_media_type_by_id_default = _mcpserversdk.withStandardDecorators.call(voi
|
|
|
19648
20521
|
|
|
19649
20522
|
|
|
19650
20523
|
|
|
19651
|
-
var
|
|
20524
|
+
var inputSchema23 = _zod.z.object({
|
|
19652
20525
|
ids: _zod.z.array(_zod.z.string())
|
|
19653
20526
|
});
|
|
19654
|
-
var
|
|
20527
|
+
var outputSchema31 = _zod.z.object({
|
|
19655
20528
|
items: _zod.z.array(getMediaTypeByIdResponse)
|
|
19656
20529
|
});
|
|
19657
20530
|
var GetMediaTypeByIdsTool = {
|
|
19658
20531
|
name: "get-media-type-by-ids",
|
|
19659
20532
|
description: "Gets media types by ids",
|
|
19660
|
-
inputSchema:
|
|
19661
|
-
outputSchema:
|
|
20533
|
+
inputSchema: inputSchema23.shape,
|
|
20534
|
+
outputSchema: outputSchema31.shape,
|
|
19662
20535
|
annotations: { readOnlyHint: true },
|
|
19663
20536
|
slices: ["list"],
|
|
19664
20537
|
handler: (async ({ ids }) => {
|
|
@@ -19671,6 +20544,32 @@ var GetMediaTypeByIdsTool = {
|
|
|
19671
20544
|
};
|
|
19672
20545
|
var get_media_type_by_ids_default = _mcpserversdk.withStandardDecorators.call(void 0, GetMediaTypeByIdsTool);
|
|
19673
20546
|
|
|
20547
|
+
// src/umb-management-api/tools/media-type/get/get-media-type-batch.ts
|
|
20548
|
+
|
|
20549
|
+
|
|
20550
|
+
|
|
20551
|
+
|
|
20552
|
+
|
|
20553
|
+
var GetMediaTypeBatchTool = {
|
|
20554
|
+
name: "get-media-type-batch",
|
|
20555
|
+
description: `Gets full media types for multiple Ids in one call.
|
|
20556
|
+
Returns each media type's properties, allowedMediaTypes and compositions,
|
|
20557
|
+
not just the lightweight item shape returned by get-media-type-by-ids.
|
|
20558
|
+
Use when you need the same payload as get-media-type-by-id but for many Ids at once.`,
|
|
20559
|
+
inputSchema: getMediaTypeBatchQueryParams.shape,
|
|
20560
|
+
outputSchema: getMediaTypeBatchResponse.shape,
|
|
20561
|
+
annotations: {
|
|
20562
|
+
readOnlyHint: true
|
|
20563
|
+
},
|
|
20564
|
+
slices: ["list"],
|
|
20565
|
+
handler: (async (params) => {
|
|
20566
|
+
return _mcpserversdk.executeGetApiCall.call(void 0,
|
|
20567
|
+
(client) => client.getMediaTypeBatch(params, _mcpserversdk.CAPTURE_RAW_HTTP_RESPONSE)
|
|
20568
|
+
);
|
|
20569
|
+
})
|
|
20570
|
+
};
|
|
20571
|
+
var get_media_type_batch_default = _mcpserversdk.withStandardDecorators.call(void 0, GetMediaTypeBatchTool);
|
|
20572
|
+
|
|
19674
20573
|
// src/umb-management-api/tools/media-type/get/get-item-media-type.ts
|
|
19675
20574
|
|
|
19676
20575
|
|
|
@@ -19678,14 +20577,14 @@ var get_media_type_by_ids_default = _mcpserversdk.withStandardDecorators.call(vo
|
|
|
19678
20577
|
|
|
19679
20578
|
|
|
19680
20579
|
|
|
19681
|
-
var
|
|
20580
|
+
var outputSchema32 = _zod.z.object({
|
|
19682
20581
|
items: getItemMediaTypeResponse
|
|
19683
20582
|
});
|
|
19684
20583
|
var GetItemMediaTypeTool = {
|
|
19685
20584
|
name: "get-item-media-type",
|
|
19686
20585
|
description: "Gets media type items by their ids",
|
|
19687
20586
|
inputSchema: getItemMediaTypeQueryParams.shape,
|
|
19688
|
-
outputSchema:
|
|
20587
|
+
outputSchema: outputSchema32.shape,
|
|
19689
20588
|
annotations: { readOnlyHint: true },
|
|
19690
20589
|
slices: ["read"],
|
|
19691
20590
|
handler: (async (params) => {
|
|
@@ -19744,13 +20643,13 @@ var get_media_type_allowed_at_root_default = _mcpserversdk.withStandardDecorator
|
|
|
19744
20643
|
|
|
19745
20644
|
|
|
19746
20645
|
|
|
19747
|
-
var
|
|
20646
|
+
var inputSchema24 = getMediaTypeByIdAllowedChildrenParams.merge(
|
|
19748
20647
|
getMediaTypeByIdAllowedChildrenQueryParams
|
|
19749
20648
|
);
|
|
19750
20649
|
var GetMediaTypeAllowedChildrenTool = {
|
|
19751
20650
|
name: "get-media-type-allowed-children",
|
|
19752
20651
|
description: "Gets the media types that are allowed as children of a media type",
|
|
19753
|
-
inputSchema:
|
|
20652
|
+
inputSchema: inputSchema24.shape,
|
|
19754
20653
|
outputSchema: getMediaTypeByIdAllowedChildrenResponse.shape,
|
|
19755
20654
|
annotations: { readOnlyHint: true },
|
|
19756
20655
|
slices: ["configuration"],
|
|
@@ -19765,6 +20664,31 @@ var GetMediaTypeAllowedChildrenTool = {
|
|
|
19765
20664
|
};
|
|
19766
20665
|
var get_media_type_allowed_children_default = _mcpserversdk.withStandardDecorators.call(void 0, GetMediaTypeAllowedChildrenTool);
|
|
19767
20666
|
|
|
20667
|
+
// src/umb-management-api/tools/media-type/get/get-media-type-allowed-parents.ts
|
|
20668
|
+
|
|
20669
|
+
|
|
20670
|
+
|
|
20671
|
+
|
|
20672
|
+
|
|
20673
|
+
var GetMediaTypeAllowedParentsTool = {
|
|
20674
|
+
name: "get-media-type-allowed-parents",
|
|
20675
|
+
description: `Gets the media type Ids that may be a parent of the given media type.
|
|
20676
|
+
Counterpart of get-media-type-allowed-children \u2014 useful when validating where a media item
|
|
20677
|
+
of this type can be placed.`,
|
|
20678
|
+
inputSchema: getMediaTypeByIdAllowedParentsParams.shape,
|
|
20679
|
+
outputSchema: getMediaTypeByIdAllowedParentsResponse.shape,
|
|
20680
|
+
annotations: {
|
|
20681
|
+
readOnlyHint: true
|
|
20682
|
+
},
|
|
20683
|
+
slices: ["read"],
|
|
20684
|
+
handler: (async ({ id }) => {
|
|
20685
|
+
return _mcpserversdk.executeGetApiCall.call(void 0,
|
|
20686
|
+
(client) => client.getMediaTypeByIdAllowedParents(id, _mcpserversdk.CAPTURE_RAW_HTTP_RESPONSE)
|
|
20687
|
+
);
|
|
20688
|
+
})
|
|
20689
|
+
};
|
|
20690
|
+
var get_media_type_allowed_parents_default = _mcpserversdk.withStandardDecorators.call(void 0, GetMediaTypeAllowedParentsTool);
|
|
20691
|
+
|
|
19768
20692
|
// src/umb-management-api/tools/media-type/get/get-media-type-composition-references.ts
|
|
19769
20693
|
|
|
19770
20694
|
|
|
@@ -19772,14 +20696,14 @@ var get_media_type_allowed_children_default = _mcpserversdk.withStandardDecorato
|
|
|
19772
20696
|
|
|
19773
20697
|
|
|
19774
20698
|
|
|
19775
|
-
var
|
|
20699
|
+
var outputSchema33 = _zod.z.object({
|
|
19776
20700
|
items: getMediaTypeByIdCompositionReferencesResponse
|
|
19777
20701
|
});
|
|
19778
20702
|
var GetMediaTypeCompositionReferencesTool = {
|
|
19779
20703
|
name: "get-media-type-composition-references",
|
|
19780
20704
|
description: "Gets the composition references for a media type",
|
|
19781
20705
|
inputSchema: getMediaTypeByIdCompositionReferencesParams.shape,
|
|
19782
|
-
outputSchema:
|
|
20706
|
+
outputSchema: outputSchema33.shape,
|
|
19783
20707
|
annotations: { readOnlyHint: true },
|
|
19784
20708
|
slices: ["read"],
|
|
19785
20709
|
handler: (async ({ id }) => {
|
|
@@ -19860,14 +20784,14 @@ var get_siblings_default6 = _mcpserversdk.withStandardDecorators.call(void 0, Ge
|
|
|
19860
20784
|
|
|
19861
20785
|
|
|
19862
20786
|
|
|
19863
|
-
var
|
|
20787
|
+
var outputSchema34 = _zod.z.object({
|
|
19864
20788
|
items: getTreeMediaTypeAncestorsResponse
|
|
19865
20789
|
});
|
|
19866
20790
|
var GetMediaTypeAncestorsTool = {
|
|
19867
20791
|
name: "get-media-type-ancestors",
|
|
19868
20792
|
description: "Gets the ancestors of a media type",
|
|
19869
20793
|
inputSchema: getTreeMediaTypeAncestorsQueryParams.shape,
|
|
19870
|
-
outputSchema:
|
|
20794
|
+
outputSchema: outputSchema34.shape,
|
|
19871
20795
|
annotations: { readOnlyHint: true },
|
|
19872
20796
|
slices: ["tree"],
|
|
19873
20797
|
handler: (async (params) => {
|
|
@@ -19878,6 +20802,35 @@ var GetMediaTypeAncestorsTool = {
|
|
|
19878
20802
|
};
|
|
19879
20803
|
var get_ancestors_default7 = _mcpserversdk.withStandardDecorators.call(void 0, GetMediaTypeAncestorsTool);
|
|
19880
20804
|
|
|
20805
|
+
// src/umb-management-api/tools/media-type/items/get/get-ancestors-batch.ts
|
|
20806
|
+
|
|
20807
|
+
|
|
20808
|
+
|
|
20809
|
+
|
|
20810
|
+
|
|
20811
|
+
|
|
20812
|
+
var outputSchema35 = _zod.z.object({
|
|
20813
|
+
items: getItemMediaTypeAncestorsResponse
|
|
20814
|
+
});
|
|
20815
|
+
var GetMediaTypeAncestorsBatchTool = {
|
|
20816
|
+
name: "get-media-type-ancestors-batch",
|
|
20817
|
+
description: `Gets the ancestor chain (breadcrumb) for multiple media type Ids in one call.
|
|
20818
|
+
Returns one entry per requested Id, each containing that Id's chain of ancestors.
|
|
20819
|
+
Differs from get-media-type-ancestors which returns the tree-style ancestors of a single Id.`,
|
|
20820
|
+
inputSchema: getItemMediaTypeAncestorsQueryParams.shape,
|
|
20821
|
+
outputSchema: outputSchema35.shape,
|
|
20822
|
+
annotations: {
|
|
20823
|
+
readOnlyHint: true
|
|
20824
|
+
},
|
|
20825
|
+
slices: ["list"],
|
|
20826
|
+
handler: (async (params) => {
|
|
20827
|
+
return _mcpserversdk.executeGetItemsApiCall.call(void 0,
|
|
20828
|
+
(client) => client.getItemMediaTypeAncestors(params, _mcpserversdk.CAPTURE_RAW_HTTP_RESPONSE)
|
|
20829
|
+
);
|
|
20830
|
+
})
|
|
20831
|
+
};
|
|
20832
|
+
var get_ancestors_batch_default5 = _mcpserversdk.withStandardDecorators.call(void 0, GetMediaTypeAncestorsBatchTool);
|
|
20833
|
+
|
|
19881
20834
|
// src/umb-management-api/tools/media-type/items/get/get-media-type-folders.ts
|
|
19882
20835
|
|
|
19883
20836
|
|
|
@@ -19996,14 +20949,14 @@ var delete_folder_default4 = _mcpserversdk.withStandardDecorators.call(void 0, D
|
|
|
19996
20949
|
|
|
19997
20950
|
|
|
19998
20951
|
|
|
19999
|
-
var
|
|
20952
|
+
var inputSchema25 = _zod.z.object({
|
|
20000
20953
|
id: putMediaTypeFolderByIdParams.shape.id,
|
|
20001
20954
|
data: _zod.z.object(putMediaTypeFolderByIdBody.shape)
|
|
20002
20955
|
});
|
|
20003
20956
|
var UpdateMediaTypeFolderTool = {
|
|
20004
20957
|
name: "update-media-type-folder",
|
|
20005
20958
|
description: "Updates a media type folder by Id",
|
|
20006
|
-
inputSchema:
|
|
20959
|
+
inputSchema: inputSchema25.shape,
|
|
20007
20960
|
annotations: { idempotentHint: true },
|
|
20008
20961
|
slices: ["update", "folders"],
|
|
20009
20962
|
handler: (async (model) => {
|
|
@@ -20108,7 +21061,7 @@ var create_media_type_default = _mcpserversdk.withStandardDecorators.call(void 0
|
|
|
20108
21061
|
|
|
20109
21062
|
|
|
20110
21063
|
|
|
20111
|
-
var
|
|
21064
|
+
var inputSchema26 = _zod.z.object({
|
|
20112
21065
|
id: _zod.z.string().uuid(),
|
|
20113
21066
|
data: _zod.z.object(postMediaTypeByIdCopyBody.shape)
|
|
20114
21067
|
});
|
|
@@ -20119,7 +21072,7 @@ var copyMediaTypeOutputSchema = _zod.z.object({
|
|
|
20119
21072
|
var CopyMediaTypeTool = {
|
|
20120
21073
|
name: "copy-media-type",
|
|
20121
21074
|
description: "Copy a media type to a new location",
|
|
20122
|
-
inputSchema:
|
|
21075
|
+
inputSchema: inputSchema26.shape,
|
|
20123
21076
|
outputSchema: copyMediaTypeOutputSchema.shape,
|
|
20124
21077
|
slices: ["copy"],
|
|
20125
21078
|
handler: (async (model) => {
|
|
@@ -20159,14 +21112,14 @@ var copy_media_type_default = _mcpserversdk.withStandardDecorators.call(void 0,
|
|
|
20159
21112
|
|
|
20160
21113
|
|
|
20161
21114
|
|
|
20162
|
-
var
|
|
21115
|
+
var outputSchema36 = _zod.z.object({
|
|
20163
21116
|
items: postMediaTypeAvailableCompositionsResponse
|
|
20164
21117
|
});
|
|
20165
21118
|
var GetMediaTypeAvailableCompositionsTool = {
|
|
20166
21119
|
name: "get-media-type-available-compositions",
|
|
20167
21120
|
description: "Gets the available compositions for a media type",
|
|
20168
21121
|
inputSchema: postMediaTypeAvailableCompositionsBody.shape,
|
|
20169
|
-
outputSchema:
|
|
21122
|
+
outputSchema: outputSchema36.shape,
|
|
20170
21123
|
annotations: { readOnlyHint: true },
|
|
20171
21124
|
slices: ["configuration"],
|
|
20172
21125
|
handler: (async (model) => {
|
|
@@ -20184,14 +21137,14 @@ var get_media_type_available_compositions_default = _mcpserversdk.withStandardDe
|
|
|
20184
21137
|
|
|
20185
21138
|
|
|
20186
21139
|
|
|
20187
|
-
var
|
|
21140
|
+
var inputSchema27 = _zod.z.object({
|
|
20188
21141
|
id: putMediaTypeByIdParams.shape.id,
|
|
20189
21142
|
data: _zod.z.object(putMediaTypeByIdBody.shape)
|
|
20190
21143
|
});
|
|
20191
21144
|
var UpdateMediaTypeTool = {
|
|
20192
21145
|
name: "update-media-type",
|
|
20193
21146
|
description: "Updates a media type by Id",
|
|
20194
|
-
inputSchema:
|
|
21147
|
+
inputSchema: inputSchema27.shape,
|
|
20195
21148
|
annotations: { idempotentHint: true },
|
|
20196
21149
|
slices: ["update"],
|
|
20197
21150
|
handler: (async (model) => {
|
|
@@ -20209,14 +21162,14 @@ var update_media_type_default = _mcpserversdk.withStandardDecorators.call(void 0
|
|
|
20209
21162
|
|
|
20210
21163
|
|
|
20211
21164
|
|
|
20212
|
-
var
|
|
21165
|
+
var inputSchema28 = _zod.z.object({
|
|
20213
21166
|
id: _zod.z.string().uuid(),
|
|
20214
21167
|
data: _zod.z.object(putMediaTypeByIdMoveBody.shape)
|
|
20215
21168
|
});
|
|
20216
21169
|
var MoveMediaTypeTool = {
|
|
20217
21170
|
name: "move-media-type",
|
|
20218
21171
|
description: "Move a media type to a new location",
|
|
20219
|
-
inputSchema:
|
|
21172
|
+
inputSchema: inputSchema28.shape,
|
|
20220
21173
|
annotations: { idempotentHint: true },
|
|
20221
21174
|
slices: ["move"],
|
|
20222
21175
|
handler: (async (model) => {
|
|
@@ -20274,16 +21227,19 @@ var MediaTypeCollection = {
|
|
|
20274
21227
|
tools.push(get_children_default7);
|
|
20275
21228
|
tools.push(get_siblings_default6);
|
|
20276
21229
|
tools.push(get_ancestors_default7);
|
|
21230
|
+
tools.push(get_ancestors_batch_default5);
|
|
20277
21231
|
tools.push(get_media_type_folders_default);
|
|
20278
21232
|
}
|
|
20279
21233
|
if (AuthorizationPolicies.TreeAccessMediaOrMediaTypes(user)) {
|
|
20280
21234
|
tools.push(get_media_type_by_id_default);
|
|
20281
21235
|
tools.push(get_media_type_by_ids_default);
|
|
21236
|
+
tools.push(get_media_type_batch_default);
|
|
20282
21237
|
tools.push(get_item_media_type_default);
|
|
20283
21238
|
tools.push(get_media_type_configuration_default);
|
|
20284
21239
|
tools.push(get_allowed_default);
|
|
20285
21240
|
tools.push(get_media_type_allowed_at_root_default);
|
|
20286
21241
|
tools.push(get_media_type_allowed_children_default);
|
|
21242
|
+
tools.push(get_media_type_allowed_parents_default);
|
|
20287
21243
|
tools.push(get_media_type_composition_references_default);
|
|
20288
21244
|
}
|
|
20289
21245
|
return tools;
|
|
@@ -20409,14 +21365,14 @@ var delete_member_default = _mcpserversdk.withStandardDecorators.call(void 0, De
|
|
|
20409
21365
|
|
|
20410
21366
|
|
|
20411
21367
|
|
|
20412
|
-
var
|
|
21368
|
+
var inputSchema29 = _zod.z.object({
|
|
20413
21369
|
id: putMemberByIdParams.shape.id,
|
|
20414
21370
|
data: _zod.z.object(putMemberByIdBody.shape)
|
|
20415
21371
|
});
|
|
20416
21372
|
var UpdateMemberTool = {
|
|
20417
21373
|
name: "update-member",
|
|
20418
21374
|
description: "Updates a member by Id",
|
|
20419
|
-
inputSchema:
|
|
21375
|
+
inputSchema: inputSchema29.shape,
|
|
20420
21376
|
annotations: { idempotentHint: true },
|
|
20421
21377
|
slices: ["update"],
|
|
20422
21378
|
handler: (async (model) => {
|
|
@@ -20434,7 +21390,7 @@ var update_member_default = _mcpserversdk.withStandardDecorators.call(void 0, Up
|
|
|
20434
21390
|
|
|
20435
21391
|
|
|
20436
21392
|
|
|
20437
|
-
var
|
|
21393
|
+
var inputSchema30 = _zod.z.object({
|
|
20438
21394
|
id: putMemberByIdValidateParams.shape.id,
|
|
20439
21395
|
data: _zod.z.object(putMemberByIdValidateBody.shape)
|
|
20440
21396
|
});
|
|
@@ -20442,7 +21398,7 @@ var ValidateMemberUpdateTool = {
|
|
|
20442
21398
|
name: "validate-member-update",
|
|
20443
21399
|
description: `Validates member data before updating using the Umbraco API.
|
|
20444
21400
|
Use this endpoint to validate member data structure, properties, and business rules before attempting to update an existing member.`,
|
|
20445
|
-
inputSchema:
|
|
21401
|
+
inputSchema: inputSchema30.shape,
|
|
20446
21402
|
annotations: { readOnlyHint: true },
|
|
20447
21403
|
slices: ["validate"],
|
|
20448
21404
|
handler: (async (model) => {
|
|
@@ -20502,12 +21458,12 @@ var get_member_are_referenced_default = _mcpserversdk.withStandardDecorators.cal
|
|
|
20502
21458
|
|
|
20503
21459
|
|
|
20504
21460
|
|
|
20505
|
-
var
|
|
21461
|
+
var inputSchema31 = getMemberByIdReferencedByParams.merge(getMemberByIdReferencedByQueryParams);
|
|
20506
21462
|
var GetMemberByIdReferencedByTool = {
|
|
20507
21463
|
name: "get-member-by-id-referenced-by",
|
|
20508
21464
|
description: `Get items that reference a specific member
|
|
20509
21465
|
Use this to find all content, documents, or other items that are currently referencing a specific member account.`,
|
|
20510
|
-
inputSchema:
|
|
21466
|
+
inputSchema: inputSchema31.shape,
|
|
20511
21467
|
outputSchema: getMemberByIdReferencedByResponse.shape,
|
|
20512
21468
|
annotations: { readOnlyHint: true },
|
|
20513
21469
|
slices: ["references"],
|
|
@@ -20525,12 +21481,12 @@ var get_member_by_id_referenced_by_default = _mcpserversdk.withStandardDecorator
|
|
|
20525
21481
|
|
|
20526
21482
|
|
|
20527
21483
|
|
|
20528
|
-
var
|
|
21484
|
+
var inputSchema32 = getMemberByIdReferencedDescendantsParams.merge(getMemberByIdReferencedDescendantsQueryParams);
|
|
20529
21485
|
var GetMemberByIdReferencedDescendantsTool = {
|
|
20530
21486
|
name: "get-member-by-id-referenced-descendants",
|
|
20531
21487
|
description: `Get descendant references for a member
|
|
20532
21488
|
Use this to find all descendant references that are being referenced for a specific member account.`,
|
|
20533
|
-
inputSchema:
|
|
21489
|
+
inputSchema: inputSchema32.shape,
|
|
20534
21490
|
outputSchema: getMemberByIdReferencedDescendantsResponse.shape,
|
|
20535
21491
|
annotations: { readOnlyHint: true },
|
|
20536
21492
|
slices: ["references"],
|
|
@@ -20563,6 +21519,35 @@ var GetItemMemberSearchTool = {
|
|
|
20563
21519
|
};
|
|
20564
21520
|
var get_item_member_search_default = _mcpserversdk.withStandardDecorators.call(void 0, GetItemMemberSearchTool);
|
|
20565
21521
|
|
|
21522
|
+
// src/umb-management-api/tools/member/get/get-member-ancestors-batch.ts
|
|
21523
|
+
|
|
21524
|
+
|
|
21525
|
+
|
|
21526
|
+
|
|
21527
|
+
|
|
21528
|
+
|
|
21529
|
+
var outputSchema37 = _zod.z.object({
|
|
21530
|
+
items: getItemMemberAncestorsResponse
|
|
21531
|
+
});
|
|
21532
|
+
var GetMemberAncestorsBatchTool = {
|
|
21533
|
+
name: "get-member-ancestors-batch",
|
|
21534
|
+
description: `Gets the ancestor chain for multiple member Ids in one call.
|
|
21535
|
+
Members are flat in Umbraco, so the ancestors array is typically empty;
|
|
21536
|
+
exposed for parity with the other entity ancestors-batch endpoints.`,
|
|
21537
|
+
inputSchema: getItemMemberAncestorsQueryParams.shape,
|
|
21538
|
+
outputSchema: outputSchema37.shape,
|
|
21539
|
+
annotations: {
|
|
21540
|
+
readOnlyHint: true
|
|
21541
|
+
},
|
|
21542
|
+
slices: ["list"],
|
|
21543
|
+
handler: (async (params) => {
|
|
21544
|
+
return _mcpserversdk.executeGetItemsApiCall.call(void 0,
|
|
21545
|
+
(client) => client.getItemMemberAncestors(params, _mcpserversdk.CAPTURE_RAW_HTTP_RESPONSE)
|
|
21546
|
+
);
|
|
21547
|
+
})
|
|
21548
|
+
};
|
|
21549
|
+
var get_member_ancestors_batch_default = _mcpserversdk.withStandardDecorators.call(void 0, GetMemberAncestorsBatchTool);
|
|
21550
|
+
|
|
20566
21551
|
// src/umb-management-api/tools/member/index.ts
|
|
20567
21552
|
var MemberCollection = {
|
|
20568
21553
|
metadata: {
|
|
@@ -20586,6 +21571,7 @@ var MemberCollection = {
|
|
|
20586
21571
|
}
|
|
20587
21572
|
tools.push(find_member_default);
|
|
20588
21573
|
tools.push(get_item_member_search_default);
|
|
21574
|
+
tools.push(get_member_ancestors_batch_default);
|
|
20589
21575
|
return tools;
|
|
20590
21576
|
}
|
|
20591
21577
|
};
|
|
@@ -20620,14 +21606,14 @@ var get_member_group_default = _mcpserversdk.withStandardDecorators.call(void 0,
|
|
|
20620
21606
|
|
|
20621
21607
|
|
|
20622
21608
|
|
|
20623
|
-
var
|
|
21609
|
+
var outputSchema38 = _zod.z.object({
|
|
20624
21610
|
items: getItemMemberGroupResponse
|
|
20625
21611
|
});
|
|
20626
21612
|
var GetMemberGroupByIdArrayTool = {
|
|
20627
21613
|
name: "get-member-group-by-id-array",
|
|
20628
21614
|
description: "Gets member groups by an array of IDs",
|
|
20629
21615
|
inputSchema: getItemMemberGroupQueryParams.shape,
|
|
20630
|
-
outputSchema:
|
|
21616
|
+
outputSchema: outputSchema38.shape,
|
|
20631
21617
|
annotations: {
|
|
20632
21618
|
readOnlyHint: true
|
|
20633
21619
|
},
|
|
@@ -20732,14 +21718,14 @@ var create_member_group_default = _mcpserversdk.withStandardDecorators.call(void
|
|
|
20732
21718
|
|
|
20733
21719
|
|
|
20734
21720
|
|
|
20735
|
-
var
|
|
21721
|
+
var inputSchema33 = {
|
|
20736
21722
|
id: putMemberGroupByIdParams.shape.id,
|
|
20737
21723
|
data: _zod.z.object(putMemberGroupByIdBody.shape)
|
|
20738
21724
|
};
|
|
20739
21725
|
var UpdateMemberGroupTool = {
|
|
20740
21726
|
name: "update-member-group",
|
|
20741
21727
|
description: "Updates a member group by Id",
|
|
20742
|
-
inputSchema:
|
|
21728
|
+
inputSchema: inputSchema33,
|
|
20743
21729
|
annotations: {
|
|
20744
21730
|
idempotentHint: true
|
|
20745
21731
|
},
|
|
@@ -20853,14 +21839,14 @@ var create_member_type_default = _mcpserversdk.withStandardDecorators.call(void
|
|
|
20853
21839
|
|
|
20854
21840
|
|
|
20855
21841
|
|
|
20856
|
-
var
|
|
21842
|
+
var outputSchema39 = _zod.z.object({
|
|
20857
21843
|
items: getItemMemberTypeResponse
|
|
20858
21844
|
});
|
|
20859
21845
|
var GetMemberTypesByIdArrayTool = {
|
|
20860
21846
|
name: "get-member-types-by-id-array",
|
|
20861
21847
|
description: "Gets member types by IDs (or empty array if no IDs are provided)",
|
|
20862
21848
|
inputSchema: getItemMemberTypeQueryParams.shape,
|
|
20863
|
-
outputSchema:
|
|
21849
|
+
outputSchema: outputSchema39.shape,
|
|
20864
21850
|
annotations: { readOnlyHint: true },
|
|
20865
21851
|
slices: ["list"],
|
|
20866
21852
|
handler: (async (params) => {
|
|
@@ -20871,6 +21857,33 @@ var GetMemberTypesByIdArrayTool = {
|
|
|
20871
21857
|
};
|
|
20872
21858
|
var get_member_type_by_id_array_default = _mcpserversdk.withStandardDecorators.call(void 0, GetMemberTypesByIdArrayTool);
|
|
20873
21859
|
|
|
21860
|
+
// src/umb-management-api/tools/member-type/get/get-member-type-batch.ts
|
|
21861
|
+
|
|
21862
|
+
|
|
21863
|
+
|
|
21864
|
+
|
|
21865
|
+
|
|
21866
|
+
var GetMemberTypeBatchTool = {
|
|
21867
|
+
name: "get-member-type-batch",
|
|
21868
|
+
description: `Gets full member types for multiple Ids in one call.
|
|
21869
|
+
Returns each member type's properties and compositions including the per-property
|
|
21870
|
+
memberCanEdit / memberCanView / isSensitive flags, not just the lightweight item shape
|
|
21871
|
+
returned by get-member-types-by-id-array. Use when you need the same payload as
|
|
21872
|
+
get-member-type-by-id but for many Ids at once.`,
|
|
21873
|
+
inputSchema: getMemberTypeBatchQueryParams.shape,
|
|
21874
|
+
outputSchema: getMemberTypeBatchResponse.shape,
|
|
21875
|
+
annotations: {
|
|
21876
|
+
readOnlyHint: true
|
|
21877
|
+
},
|
|
21878
|
+
slices: ["list"],
|
|
21879
|
+
handler: (async (params) => {
|
|
21880
|
+
return _mcpserversdk.executeGetApiCall.call(void 0,
|
|
21881
|
+
(client) => client.getMemberTypeBatch(params, _mcpserversdk.CAPTURE_RAW_HTTP_RESPONSE)
|
|
21882
|
+
);
|
|
21883
|
+
})
|
|
21884
|
+
};
|
|
21885
|
+
var get_member_type_batch_default = _mcpserversdk.withStandardDecorators.call(void 0, GetMemberTypeBatchTool);
|
|
21886
|
+
|
|
20874
21887
|
// src/umb-management-api/tools/member-type/get/get-member-type-by-id.ts
|
|
20875
21888
|
|
|
20876
21889
|
|
|
@@ -20921,14 +21934,14 @@ var delete_member_type_default = _mcpserversdk.withStandardDecorators.call(void
|
|
|
20921
21934
|
|
|
20922
21935
|
|
|
20923
21936
|
|
|
20924
|
-
var
|
|
21937
|
+
var inputSchema34 = _zod.z.object({
|
|
20925
21938
|
id: putMemberTypeByIdParams.shape.id,
|
|
20926
21939
|
data: _zod.z.object(putMemberTypeByIdBody.shape)
|
|
20927
21940
|
});
|
|
20928
21941
|
var UpdateMemberTypeTool = {
|
|
20929
21942
|
name: "update-member-type",
|
|
20930
21943
|
description: "Updates a member type by id",
|
|
20931
|
-
inputSchema:
|
|
21944
|
+
inputSchema: inputSchema34.shape,
|
|
20932
21945
|
annotations: { idempotentHint: true },
|
|
20933
21946
|
slices: ["update"],
|
|
20934
21947
|
handler: (async (model) => {
|
|
@@ -20946,7 +21959,7 @@ var update_member_type_default = _mcpserversdk.withStandardDecorators.call(void
|
|
|
20946
21959
|
|
|
20947
21960
|
|
|
20948
21961
|
|
|
20949
|
-
var
|
|
21962
|
+
var inputSchema35 = _zod.z.object({
|
|
20950
21963
|
id: _zod.z.string().uuid()
|
|
20951
21964
|
});
|
|
20952
21965
|
var copyMemberTypeOutputSchema = _zod.z.object({
|
|
@@ -20956,7 +21969,7 @@ var copyMemberTypeOutputSchema = _zod.z.object({
|
|
|
20956
21969
|
var CopyMemberTypeTool = {
|
|
20957
21970
|
name: "copy-member-type",
|
|
20958
21971
|
description: "Copy a member type to a new location",
|
|
20959
|
-
inputSchema:
|
|
21972
|
+
inputSchema: inputSchema35.shape,
|
|
20960
21973
|
outputSchema: copyMemberTypeOutputSchema.shape,
|
|
20961
21974
|
slices: ["copy"],
|
|
20962
21975
|
handler: (async (model) => {
|
|
@@ -20996,14 +22009,14 @@ var copy_member_type_default = _mcpserversdk.withStandardDecorators.call(void 0,
|
|
|
20996
22009
|
|
|
20997
22010
|
|
|
20998
22011
|
|
|
20999
|
-
var
|
|
22012
|
+
var outputSchema40 = _zod.z.object({
|
|
21000
22013
|
items: postMemberTypeAvailableCompositionsResponse
|
|
21001
22014
|
});
|
|
21002
22015
|
var GetMemberTypeAvailableCompositionsTool = {
|
|
21003
22016
|
name: "get-member-type-available-compositions",
|
|
21004
22017
|
description: "Gets the available compositions for a member type",
|
|
21005
22018
|
inputSchema: postMemberTypeAvailableCompositionsBody.shape,
|
|
21006
|
-
outputSchema:
|
|
22019
|
+
outputSchema: outputSchema40.shape,
|
|
21007
22020
|
annotations: { readOnlyHint: true },
|
|
21008
22021
|
slices: ["configuration"],
|
|
21009
22022
|
handler: (async (model) => {
|
|
@@ -21021,14 +22034,14 @@ var get_member_type_available_compositions_default = _mcpserversdk.withStandardD
|
|
|
21021
22034
|
|
|
21022
22035
|
|
|
21023
22036
|
|
|
21024
|
-
var
|
|
22037
|
+
var outputSchema41 = _zod.z.object({
|
|
21025
22038
|
items: getMemberTypeByIdCompositionReferencesResponse
|
|
21026
22039
|
});
|
|
21027
22040
|
var GetMemberTypeCompositionReferencesTool = {
|
|
21028
22041
|
name: "get-member-type-composition-references",
|
|
21029
22042
|
description: "Gets the composition references for a member type",
|
|
21030
22043
|
inputSchema: getMemberTypeByIdCompositionReferencesParams.shape,
|
|
21031
|
-
outputSchema:
|
|
22044
|
+
outputSchema: outputSchema41.shape,
|
|
21032
22045
|
annotations: { readOnlyHint: true },
|
|
21033
22046
|
slices: ["read"],
|
|
21034
22047
|
handler: (async ({ id }) => {
|
|
@@ -21104,6 +22117,34 @@ var GetMemberTypeSiblingsTool = {
|
|
|
21104
22117
|
};
|
|
21105
22118
|
var get_siblings_default7 = _mcpserversdk.withStandardDecorators.call(void 0, GetMemberTypeSiblingsTool);
|
|
21106
22119
|
|
|
22120
|
+
// src/umb-management-api/tools/member-type/items/get/get-ancestors-batch.ts
|
|
22121
|
+
|
|
22122
|
+
|
|
22123
|
+
|
|
22124
|
+
|
|
22125
|
+
|
|
22126
|
+
|
|
22127
|
+
var outputSchema42 = _zod.z.object({
|
|
22128
|
+
items: getItemMemberTypeAncestorsResponse
|
|
22129
|
+
});
|
|
22130
|
+
var GetMemberTypeAncestorsBatchTool = {
|
|
22131
|
+
name: "get-member-type-ancestors-batch",
|
|
22132
|
+
description: `Gets the ancestor chain (breadcrumb) for multiple member type Ids in one call.
|
|
22133
|
+
Returns one entry per requested Id, each containing that Id's chain of ancestors.`,
|
|
22134
|
+
inputSchema: getItemMemberTypeAncestorsQueryParams.shape,
|
|
22135
|
+
outputSchema: outputSchema42.shape,
|
|
22136
|
+
annotations: {
|
|
22137
|
+
readOnlyHint: true
|
|
22138
|
+
},
|
|
22139
|
+
slices: ["list"],
|
|
22140
|
+
handler: (async (params) => {
|
|
22141
|
+
return _mcpserversdk.executeGetItemsApiCall.call(void 0,
|
|
22142
|
+
(client) => client.getItemMemberTypeAncestors(params, _mcpserversdk.CAPTURE_RAW_HTTP_RESPONSE)
|
|
22143
|
+
);
|
|
22144
|
+
})
|
|
22145
|
+
};
|
|
22146
|
+
var get_ancestors_batch_default6 = _mcpserversdk.withStandardDecorators.call(void 0, GetMemberTypeAncestorsBatchTool);
|
|
22147
|
+
|
|
21107
22148
|
// src/umb-management-api/tools/member-type/get/get-item-member-type-search.ts
|
|
21108
22149
|
|
|
21109
22150
|
|
|
@@ -21139,6 +22180,7 @@ var MemberTypeCollection = {
|
|
|
21139
22180
|
if (AuthorizationPolicies.TreeAccessMembersOrMemberTypes(user)) {
|
|
21140
22181
|
tools.push(create_member_type_default);
|
|
21141
22182
|
tools.push(get_member_type_by_id_array_default);
|
|
22183
|
+
tools.push(get_member_type_batch_default);
|
|
21142
22184
|
tools.push(delete_member_type_default);
|
|
21143
22185
|
tools.push(update_member_type_default);
|
|
21144
22186
|
tools.push(copy_member_type_default);
|
|
@@ -21147,6 +22189,7 @@ var MemberTypeCollection = {
|
|
|
21147
22189
|
tools.push(get_member_type_configuration_default);
|
|
21148
22190
|
tools.push(get_root_default9);
|
|
21149
22191
|
tools.push(get_siblings_default7);
|
|
22192
|
+
tools.push(get_ancestors_batch_default6);
|
|
21150
22193
|
tools.push(get_item_member_type_search_default);
|
|
21151
22194
|
}
|
|
21152
22195
|
return tools;
|
|
@@ -21556,14 +22599,14 @@ var get_partial_view_snippet_by_id_default = _mcpserversdk.withStandardDecorator
|
|
|
21556
22599
|
|
|
21557
22600
|
|
|
21558
22601
|
|
|
21559
|
-
var
|
|
22602
|
+
var outputSchema43 = _zod.z.object({
|
|
21560
22603
|
items: getTreePartialViewAncestorsResponse
|
|
21561
22604
|
});
|
|
21562
22605
|
var GetPartialViewAncestorsTool = {
|
|
21563
22606
|
name: "get-partial-view-ancestors",
|
|
21564
22607
|
description: "Gets the ancestors of a partial view in the tree structure",
|
|
21565
22608
|
inputSchema: getTreePartialViewAncestorsQueryParams.shape,
|
|
21566
|
-
outputSchema:
|
|
22609
|
+
outputSchema: outputSchema43.shape,
|
|
21567
22610
|
annotations: { readOnlyHint: true },
|
|
21568
22611
|
slices: ["tree"],
|
|
21569
22612
|
handler: (async (model) => {
|
|
@@ -21623,14 +22666,14 @@ var get_root_default10 = _mcpserversdk.withStandardDecorators.call(void 0, GetPa
|
|
|
21623
22666
|
|
|
21624
22667
|
|
|
21625
22668
|
|
|
21626
|
-
var
|
|
22669
|
+
var outputSchema44 = _zod.z.object({
|
|
21627
22670
|
items: getItemPartialViewResponse
|
|
21628
22671
|
});
|
|
21629
22672
|
var GetPartialViewSearchTool = {
|
|
21630
22673
|
name: "get-partial-view-search",
|
|
21631
22674
|
description: "Searches for partial views by name or path",
|
|
21632
22675
|
inputSchema: getItemPartialViewQueryParams.shape,
|
|
21633
|
-
outputSchema:
|
|
22676
|
+
outputSchema: outputSchema44.shape,
|
|
21634
22677
|
annotations: { readOnlyHint: true },
|
|
21635
22678
|
slices: ["search"],
|
|
21636
22679
|
handler: (async (model) => {
|
|
@@ -21700,14 +22743,14 @@ var PartialViewCollection = {
|
|
|
21700
22743
|
|
|
21701
22744
|
|
|
21702
22745
|
|
|
21703
|
-
var
|
|
22746
|
+
var outputSchema45 = _zod.z.object({
|
|
21704
22747
|
isUsed: getPropertyTypeIsUsedResponse
|
|
21705
22748
|
});
|
|
21706
22749
|
var GetPropertyTypeIsUsedTool = {
|
|
21707
22750
|
name: "get-property-type-is-used",
|
|
21708
22751
|
description: "Checks if a property type is used within Umbraco",
|
|
21709
22752
|
inputSchema: getPropertyTypeIsUsedQueryParams.shape,
|
|
21710
|
-
outputSchema:
|
|
22753
|
+
outputSchema: outputSchema45.shape,
|
|
21711
22754
|
annotations: { readOnlyHint: true },
|
|
21712
22755
|
slices: ["read"],
|
|
21713
22756
|
handler: (async ({ contentTypeId, propertyAlias }) => {
|
|
@@ -22023,14 +23066,14 @@ var get_script_folder_by_path_default = _mcpserversdk.withStandardDecorators.cal
|
|
|
22023
23066
|
|
|
22024
23067
|
|
|
22025
23068
|
|
|
22026
|
-
var
|
|
23069
|
+
var outputSchema46 = _zod.z.object({
|
|
22027
23070
|
items: getItemScriptResponse
|
|
22028
23071
|
});
|
|
22029
23072
|
var GetScriptItemsTool = {
|
|
22030
23073
|
name: "get-script-items",
|
|
22031
23074
|
description: "Gets script items",
|
|
22032
23075
|
inputSchema: getItemScriptQueryParams.shape,
|
|
22033
|
-
outputSchema:
|
|
23076
|
+
outputSchema: outputSchema46.shape,
|
|
22034
23077
|
annotations: { readOnlyHint: true },
|
|
22035
23078
|
slices: ["list"],
|
|
22036
23079
|
handler: (async (model) => {
|
|
@@ -22048,14 +23091,14 @@ var get_script_items_default = _mcpserversdk.withStandardDecorators.call(void 0,
|
|
|
22048
23091
|
|
|
22049
23092
|
|
|
22050
23093
|
|
|
22051
|
-
var
|
|
23094
|
+
var outputSchema47 = _zod.z.object({
|
|
22052
23095
|
items: getTreeScriptAncestorsResponse
|
|
22053
23096
|
});
|
|
22054
23097
|
var GetScriptTreeAncestorsTool = {
|
|
22055
23098
|
name: "get-script-tree-ancestors",
|
|
22056
23099
|
description: "Gets script tree ancestors",
|
|
22057
23100
|
inputSchema: getTreeScriptAncestorsQueryParams.shape,
|
|
22058
|
-
outputSchema:
|
|
23101
|
+
outputSchema: outputSchema47.shape,
|
|
22059
23102
|
annotations: { readOnlyHint: true },
|
|
22060
23103
|
slices: ["tree"],
|
|
22061
23104
|
handler: (async (model) => {
|
|
@@ -22670,14 +23713,14 @@ var ServerCollection = {
|
|
|
22670
23713
|
|
|
22671
23714
|
|
|
22672
23715
|
|
|
22673
|
-
var
|
|
23716
|
+
var outputSchema48 = _zod.z.object({
|
|
22674
23717
|
items: getItemStaticFileResponse
|
|
22675
23718
|
});
|
|
22676
23719
|
var GetStaticFilesTool = {
|
|
22677
23720
|
name: "get-static-files",
|
|
22678
23721
|
description: "Lists static files with optional path filtering for browsing the file system",
|
|
22679
23722
|
inputSchema: getItemStaticFileQueryParams.shape,
|
|
22680
|
-
outputSchema:
|
|
23723
|
+
outputSchema: outputSchema48.shape,
|
|
22681
23724
|
annotations: { readOnlyHint: true },
|
|
22682
23725
|
slices: ["read"],
|
|
22683
23726
|
handler: (async (params) => {
|
|
@@ -22737,14 +23780,14 @@ var get_children_default9 = _mcpserversdk.withStandardDecorators.call(void 0, Ge
|
|
|
22737
23780
|
|
|
22738
23781
|
|
|
22739
23782
|
|
|
22740
|
-
var
|
|
23783
|
+
var outputSchema49 = _zod.z.object({
|
|
22741
23784
|
items: getTreeStaticFileAncestorsResponse
|
|
22742
23785
|
});
|
|
22743
23786
|
var GetStaticFileAncestorsTool = {
|
|
22744
23787
|
name: "get-static-file-ancestors",
|
|
22745
23788
|
description: "Gets ancestor folders for navigation breadcrumbs by descendant path",
|
|
22746
23789
|
inputSchema: getTreeStaticFileAncestorsQueryParams.shape,
|
|
22747
|
-
outputSchema:
|
|
23790
|
+
outputSchema: outputSchema49.shape,
|
|
22748
23791
|
annotations: { readOnlyHint: true },
|
|
22749
23792
|
slices: ["tree"],
|
|
22750
23793
|
handler: (async (params) => {
|
|
@@ -23026,14 +24069,14 @@ var delete_stylesheet_folder_default = _mcpserversdk.withStandardDecorators.call
|
|
|
23026
24069
|
|
|
23027
24070
|
|
|
23028
24071
|
|
|
23029
|
-
var
|
|
24072
|
+
var outputSchema50 = _zod.z.object({
|
|
23030
24073
|
items: getTreeStylesheetAncestorsResponse
|
|
23031
24074
|
});
|
|
23032
24075
|
var GetStylesheetAncestorsTool = {
|
|
23033
24076
|
name: "get-stylesheet-ancestors",
|
|
23034
24077
|
description: "Gets the ancestors of a stylesheet in the tree structure",
|
|
23035
24078
|
inputSchema: getTreeStylesheetAncestorsQueryParams.shape,
|
|
23036
|
-
outputSchema:
|
|
24079
|
+
outputSchema: outputSchema50.shape,
|
|
23037
24080
|
annotations: { readOnlyHint: true },
|
|
23038
24081
|
slices: ["tree"],
|
|
23039
24082
|
handler: (async (model) => {
|
|
@@ -23093,14 +24136,14 @@ var get_root_default12 = _mcpserversdk.withStandardDecorators.call(void 0, GetSt
|
|
|
23093
24136
|
|
|
23094
24137
|
|
|
23095
24138
|
|
|
23096
|
-
var
|
|
24139
|
+
var outputSchema51 = _zod.z.object({
|
|
23097
24140
|
items: getItemStylesheetResponse
|
|
23098
24141
|
});
|
|
23099
24142
|
var GetStylesheetSearchTool = {
|
|
23100
24143
|
name: "get-stylesheet-search",
|
|
23101
24144
|
description: "Searches for stylesheets by name or path",
|
|
23102
24145
|
inputSchema: getItemStylesheetQueryParams.shape,
|
|
23103
|
-
outputSchema:
|
|
24146
|
+
outputSchema: outputSchema51.shape,
|
|
23104
24147
|
annotations: { readOnlyHint: true },
|
|
23105
24148
|
slices: ["search"],
|
|
23106
24149
|
handler: (async (model) => {
|
|
@@ -23292,14 +24335,14 @@ var get_template_configuration_default = _mcpserversdk.withStandardDecorators.ca
|
|
|
23292
24335
|
|
|
23293
24336
|
|
|
23294
24337
|
|
|
23295
|
-
var
|
|
24338
|
+
var outputSchema52 = _zod.z.object({
|
|
23296
24339
|
items: getItemTemplateResponse
|
|
23297
24340
|
});
|
|
23298
24341
|
var GetTemplatesByIdArrayTool = {
|
|
23299
24342
|
name: "get-templates-by-id-array",
|
|
23300
24343
|
description: "Gets templates by IDs (or empty array if no IDs are provided)",
|
|
23301
24344
|
inputSchema: getItemTemplateQueryParams.shape,
|
|
23302
|
-
outputSchema:
|
|
24345
|
+
outputSchema: outputSchema52.shape,
|
|
23303
24346
|
annotations: { readOnlyHint: true },
|
|
23304
24347
|
slices: ["list"],
|
|
23305
24348
|
handler: (async (params) => {
|
|
@@ -23415,14 +24458,14 @@ var get_template_query_settings_default = _mcpserversdk.withStandardDecorators.c
|
|
|
23415
24458
|
|
|
23416
24459
|
|
|
23417
24460
|
|
|
23418
|
-
var
|
|
24461
|
+
var outputSchema53 = _zod.z.object({
|
|
23419
24462
|
items: getTreeTemplateAncestorsResponse
|
|
23420
24463
|
});
|
|
23421
24464
|
var GetTemplateAncestorsTool = {
|
|
23422
24465
|
name: "get-template-ancestors",
|
|
23423
24466
|
description: "Gets the ancestors of a template by Id",
|
|
23424
24467
|
inputSchema: getTreeTemplateAncestorsQueryParams.shape,
|
|
23425
|
-
outputSchema:
|
|
24468
|
+
outputSchema: outputSchema53.shape,
|
|
23426
24469
|
annotations: { readOnlyHint: true },
|
|
23427
24470
|
slices: ["tree"],
|
|
23428
24471
|
handler: (async (params) => {
|
|
@@ -23433,6 +24476,35 @@ var GetTemplateAncestorsTool = {
|
|
|
23433
24476
|
};
|
|
23434
24477
|
var get_ancestors_default11 = _mcpserversdk.withStandardDecorators.call(void 0, GetTemplateAncestorsTool);
|
|
23435
24478
|
|
|
24479
|
+
// src/umb-management-api/tools/template/items/get/get-ancestors-batch.ts
|
|
24480
|
+
|
|
24481
|
+
|
|
24482
|
+
|
|
24483
|
+
|
|
24484
|
+
|
|
24485
|
+
|
|
24486
|
+
var outputSchema54 = _zod.z.object({
|
|
24487
|
+
items: getItemTemplateAncestorsResponse
|
|
24488
|
+
});
|
|
24489
|
+
var GetTemplateAncestorsBatchTool = {
|
|
24490
|
+
name: "get-template-ancestors-batch",
|
|
24491
|
+
description: `Gets the ancestor chain (breadcrumb) for multiple template Ids in one call.
|
|
24492
|
+
Returns one entry per requested Id, each containing that Id's chain of ancestors.
|
|
24493
|
+
Differs from get-template-ancestors which returns the tree-style ancestors of a single Id.`,
|
|
24494
|
+
inputSchema: getItemTemplateAncestorsQueryParams.shape,
|
|
24495
|
+
outputSchema: outputSchema54.shape,
|
|
24496
|
+
annotations: {
|
|
24497
|
+
readOnlyHint: true
|
|
24498
|
+
},
|
|
24499
|
+
slices: ["list"],
|
|
24500
|
+
handler: (async (params) => {
|
|
24501
|
+
return _mcpserversdk.executeGetItemsApiCall.call(void 0,
|
|
24502
|
+
(client) => client.getItemTemplateAncestors(params, _mcpserversdk.CAPTURE_RAW_HTTP_RESPONSE)
|
|
24503
|
+
);
|
|
24504
|
+
})
|
|
24505
|
+
};
|
|
24506
|
+
var get_ancestors_batch_default7 = _mcpserversdk.withStandardDecorators.call(void 0, GetTemplateAncestorsBatchTool);
|
|
24507
|
+
|
|
23436
24508
|
// src/umb-management-api/tools/template/items/get/get-children.ts
|
|
23437
24509
|
|
|
23438
24510
|
|
|
@@ -23537,6 +24609,7 @@ var TemplateCollection = {
|
|
|
23537
24609
|
tools.push(execute_template_query_default);
|
|
23538
24610
|
tools.push(get_template_query_settings_default);
|
|
23539
24611
|
tools.push(get_ancestors_default11);
|
|
24612
|
+
tools.push(get_ancestors_batch_default7);
|
|
23540
24613
|
tools.push(get_children_default11);
|
|
23541
24614
|
tools.push(get_root_default13);
|
|
23542
24615
|
tools.push(get_search_default4);
|
|
@@ -23799,14 +24872,14 @@ var find_user_default = _mcpserversdk.withStandardDecorators.call(void 0, FindUs
|
|
|
23799
24872
|
|
|
23800
24873
|
|
|
23801
24874
|
|
|
23802
|
-
var
|
|
24875
|
+
var outputSchema55 = _zod.z.object({
|
|
23803
24876
|
items: getItemUserResponse
|
|
23804
24877
|
});
|
|
23805
24878
|
var GetItemUserTool = {
|
|
23806
24879
|
name: "get-item-user",
|
|
23807
24880
|
description: "Gets user items for selection lists and pickers",
|
|
23808
24881
|
inputSchema: getItemUserQueryParams.shape,
|
|
23809
|
-
outputSchema:
|
|
24882
|
+
outputSchema: outputSchema55.shape,
|
|
23810
24883
|
annotations: { readOnlyHint: true },
|
|
23811
24884
|
slices: ["read"],
|
|
23812
24885
|
handler: (async (params) => {
|
|
@@ -23887,14 +24960,14 @@ var get_user_current_configuration_default = _mcpserversdk.withStandardDecorator
|
|
|
23887
24960
|
|
|
23888
24961
|
|
|
23889
24962
|
|
|
23890
|
-
var
|
|
24963
|
+
var outputSchema56 = _zod.z.object({
|
|
23891
24964
|
items: getUserCurrentLoginProvidersResponse
|
|
23892
24965
|
});
|
|
23893
24966
|
var GetUserCurrentLoginProvidersTool = {
|
|
23894
24967
|
name: "get-user-current-login-providers",
|
|
23895
24968
|
description: "Gets the current user's available login providers",
|
|
23896
24969
|
inputSchema: {},
|
|
23897
|
-
outputSchema:
|
|
24970
|
+
outputSchema: outputSchema56.shape,
|
|
23898
24971
|
annotations: { readOnlyHint: true },
|
|
23899
24972
|
slices: ["current-user"],
|
|
23900
24973
|
handler: (async () => {
|
|
@@ -23933,14 +25006,14 @@ var get_user_current_permissions_default = _mcpserversdk.withStandardDecorators.
|
|
|
23933
25006
|
|
|
23934
25007
|
|
|
23935
25008
|
|
|
23936
|
-
var
|
|
25009
|
+
var outputSchema57 = _zod.z.object({
|
|
23937
25010
|
items: getUserCurrentPermissionsDocumentResponse
|
|
23938
25011
|
});
|
|
23939
25012
|
var GetUserCurrentPermissionsDocumentTool = {
|
|
23940
25013
|
name: "get-user-current-permissions-document",
|
|
23941
25014
|
description: "Gets the current user's document permissions for specific documents",
|
|
23942
25015
|
inputSchema: getUserCurrentPermissionsDocumentQueryParams.shape,
|
|
23943
|
-
outputSchema:
|
|
25016
|
+
outputSchema: outputSchema57.shape,
|
|
23944
25017
|
annotations: { readOnlyHint: true },
|
|
23945
25018
|
slices: ["permissions"],
|
|
23946
25019
|
handler: (async (params) => {
|
|
@@ -24000,14 +25073,14 @@ var get_user_by_id_calculate_start_nodes_default = _mcpserversdk.withStandardDec
|
|
|
24000
25073
|
|
|
24001
25074
|
|
|
24002
25075
|
|
|
24003
|
-
var
|
|
25076
|
+
var inputSchema36 = _zod.z.object({
|
|
24004
25077
|
...postUserAvatarByIdParams.shape,
|
|
24005
25078
|
...postUserAvatarByIdBody.shape
|
|
24006
25079
|
});
|
|
24007
25080
|
var UploadUserAvatarByIdTool = {
|
|
24008
25081
|
name: "upload-user-avatar-by-id",
|
|
24009
25082
|
description: "Uploads an avatar for a specific user by ID (admin only or self-service)",
|
|
24010
|
-
inputSchema:
|
|
25083
|
+
inputSchema: inputSchema36.shape,
|
|
24011
25084
|
slices: ["update"],
|
|
24012
25085
|
handler: (async ({ id, file }) => {
|
|
24013
25086
|
return _mcpserversdk.executeVoidApiCall.call(void 0,
|
|
@@ -24267,14 +25340,14 @@ var get_user_group_default = _mcpserversdk.withStandardDecorators.call(void 0, G
|
|
|
24267
25340
|
|
|
24268
25341
|
|
|
24269
25342
|
|
|
24270
|
-
var
|
|
25343
|
+
var outputSchema58 = _zod.z.object({
|
|
24271
25344
|
items: getItemUserGroupResponse
|
|
24272
25345
|
});
|
|
24273
25346
|
var GetUserGroupByIdArrayTool = {
|
|
24274
25347
|
name: "get-user-group-by-id-array",
|
|
24275
25348
|
description: "Gets user groups by an array of IDs",
|
|
24276
25349
|
inputSchema: getItemUserGroupQueryParams.shape,
|
|
24277
|
-
outputSchema:
|
|
25350
|
+
outputSchema: outputSchema58.shape,
|
|
24278
25351
|
annotations: { readOnlyHint: true },
|
|
24279
25352
|
slices: ["list"],
|
|
24280
25353
|
handler: (async (params) => {
|
|
@@ -24495,14 +25568,14 @@ var get_webhook_by_id_default = _mcpserversdk.withStandardDecorators.call(void 0
|
|
|
24495
25568
|
|
|
24496
25569
|
|
|
24497
25570
|
|
|
24498
|
-
var
|
|
25571
|
+
var outputSchema59 = _zod.z.object({
|
|
24499
25572
|
items: getItemWebhookResponse
|
|
24500
25573
|
});
|
|
24501
25574
|
var GetWebhookItemTool = {
|
|
24502
25575
|
name: "get-webhook-item",
|
|
24503
25576
|
description: "Gets webhooks by IDs (or empty array if no IDs are provided)",
|
|
24504
25577
|
inputSchema: getItemWebhookQueryParams.shape,
|
|
24505
|
-
outputSchema:
|
|
25578
|
+
outputSchema: outputSchema59.shape,
|
|
24506
25579
|
annotations: { readOnlyHint: true },
|
|
24507
25580
|
slices: ["list"],
|
|
24508
25581
|
handler: (async (params) => {
|
|
@@ -24883,4 +25956,4 @@ var allSliceNames = [...toolSliceNames, "other"];
|
|
|
24883
25956
|
|
|
24884
25957
|
|
|
24885
25958
|
exports.__commonJS = __commonJS; exports.__toESM = __toESM; exports.UmbracoManagementClient = UmbracoManagementClient3; exports.availableCollections = availableCollections; exports.allModes = allModes; exports.allModeNames = allModeNames; exports.allSliceNames = allSliceNames;
|
|
24886
|
-
//# sourceMappingURL=chunk-
|
|
25959
|
+
//# sourceMappingURL=chunk-6IL4IQKW.cjs.map
|