@umbraco-cms/mcp-dev 16.0.0 → 17.0.0

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