@umbraco-cms/mcp-dev 17.4.2 → 17.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-Q4LCXM42.cjs → chunk-A3EHFQJV.cjs} +75 -3
- package/dist/chunk-A3EHFQJV.cjs.map +1 -0
- package/dist/{chunk-VLJ3JQ46.js → chunk-KQR2L2F3.js} +171 -99
- package/dist/chunk-KQR2L2F3.js.map +1 -0
- package/dist/collections.cjs +2 -2
- package/dist/collections.js +1 -1
- package/dist/index.cjs +88 -89
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -3
- package/dist/index.js.map +1 -1
- package/dist/tool-types.d.ts +11 -0
- package/package.json +1 -2
- package/dist/chunk-Q4LCXM42.cjs.map +0 -1
- package/dist/chunk-VLJ3JQ46.js.map +0 -1
|
@@ -4293,6 +4293,15 @@ var getUmbracoManagementAPI = () => {
|
|
|
4293
4293
|
options
|
|
4294
4294
|
);
|
|
4295
4295
|
};
|
|
4296
|
+
const deleteUserCurrentAvatar = (options) => {
|
|
4297
|
+
return UmbracoManagementClient(
|
|
4298
|
+
{
|
|
4299
|
+
url: `/umbraco/management/api/v1/user/current/avatar`,
|
|
4300
|
+
method: "DELETE"
|
|
4301
|
+
},
|
|
4302
|
+
options
|
|
4303
|
+
);
|
|
4304
|
+
};
|
|
4296
4305
|
const postUserCurrentAvatar = (setAvatarRequestModel, options) => {
|
|
4297
4306
|
return UmbracoManagementClient(
|
|
4298
4307
|
{
|
|
@@ -4363,6 +4372,17 @@ var getUmbracoManagementAPI = () => {
|
|
|
4363
4372
|
options
|
|
4364
4373
|
);
|
|
4365
4374
|
};
|
|
4375
|
+
const putUserCurrentProfile = (updateCurrentUserRequestModel, options) => {
|
|
4376
|
+
return UmbracoManagementClient(
|
|
4377
|
+
{
|
|
4378
|
+
url: `/umbraco/management/api/v1/user/current/profile`,
|
|
4379
|
+
method: "PUT",
|
|
4380
|
+
headers: { "Content-Type": "application/json" },
|
|
4381
|
+
data: updateCurrentUserRequestModel
|
|
4382
|
+
},
|
|
4383
|
+
options
|
|
4384
|
+
);
|
|
4385
|
+
};
|
|
4366
4386
|
const postUserDisable = (disableUserRequestModel, options) => {
|
|
4367
4387
|
return UmbracoManagementClient(
|
|
4368
4388
|
{
|
|
@@ -4541,7 +4561,7 @@ var getUmbracoManagementAPI = () => {
|
|
|
4541
4561
|
options
|
|
4542
4562
|
);
|
|
4543
4563
|
};
|
|
4544
|
-
return { getCulture, postDataType, getDataTypeById, deleteDataTypeById, putDataTypeById, postDataTypeByIdCopy, getDataTypeByIdIsUsed, putDataTypeByIdMove, getDataTypeByIdReferencedBy, getDataTypeByIdSchema, getDataTypeBatch, getDataTypeConfiguration, postDataTypeFolder, getDataTypeFolderById, deleteDataTypeFolderById, putDataTypeFolderById, getDataTypeSchemasBatch, getFilterDataType, getItemDataType, getItemDataTypeAncestors, getItemDataTypeSearch, getTreeDataTypeAncestors, getTreeDataTypeChildren, getTreeDataTypeRoot, getTreeDataTypeSearch, getTreeDataTypeSiblings, getDictionary, postDictionary, getDictionaryById, deleteDictionaryById, putDictionaryById, getDictionaryByIdExport, putDictionaryByIdMove, postDictionaryImport, getItemDictionary, getTreeDictionaryAncestors, getTreeDictionaryChildren, getTreeDictionaryRoot, postDocumentBlueprint, getDocumentBlueprintById, deleteDocumentBlueprintById, putDocumentBlueprintById, getDocumentBlueprintByIdAuditLog, putDocumentBlueprintByIdMove, getDocumentBlueprintByIdScaffold, postDocumentBlueprintFolder, getDocumentBlueprintFolderById, deleteDocumentBlueprintFolderById, putDocumentBlueprintFolderById, postDocumentBlueprintFromDocument, getItemDocumentBlueprint, getTreeDocumentBlueprintAncestors, getTreeDocumentBlueprintChildren, getTreeDocumentBlueprintRoot, getTreeDocumentBlueprintSiblings, postDocumentType, getDocumentTypeById, deleteDocumentTypeById, putDocumentTypeById, getDocumentTypeByIdAllowedChildren, getDocumentTypeByIdAllowedParents, getDocumentTypeByIdBlueprint, getDocumentTypeByIdCompositionReferences, postDocumentTypeByIdCopy, getDocumentTypeByIdExport, putDocumentTypeByIdImport, putDocumentTypeByIdMove, getDocumentTypeByIdSchema, postDocumentTypeByIdTemplate, getDocumentTypeAllowedAtRoot, postDocumentTypeAvailableCompositions, getDocumentTypeBatch, getDocumentTypeConfiguration, postDocumentTypeFolder, getDocumentTypeFolderById, deleteDocumentTypeFolderById, putDocumentTypeFolderById, postDocumentTypeImport, getItemDocumentType, getItemDocumentTypeAncestors, getItemDocumentTypeSearch, getTreeDocumentTypeAncestors, getTreeDocumentTypeChildren, getTreeDocumentTypeRoot, getTreeDocumentTypeSearch, getTreeDocumentTypeSiblings, getDocumentVersion, getDocumentVersionById, putDocumentVersionByIdPreventCleanup, postDocumentVersionByIdRollback, getCollectionDocumentById, postDocument, getDocumentById, deleteDocumentById, putDocumentById, getDocumentByIdAuditLog, getDocumentByIdAvailableSegmentOptions, postDocumentByIdCopy, getDocumentByIdDomains, putDocumentByIdDomains, putDocumentByIdMove, putDocumentByIdMoveToRecycleBin, getDocumentByIdNotifications, putDocumentByIdNotifications, patchDocumentByIdPatch, getDocumentByIdPreviewUrl, postDocumentByIdPublicAccess, deleteDocumentByIdPublicAccess, getDocumentByIdPublicAccess, putDocumentByIdPublicAccess, putDocumentByIdPublish, putDocumentByIdPublishWithDescendants, getDocumentByIdPublishWithDescendantsResultByTaskId, getDocumentByIdPublished, getDocumentByIdReferencedBy, getDocumentByIdReferencedDescendants, putDocumentByIdUnpublish, putUmbracoManagementApiV11DocumentByIdValidate11, getDocumentAreReferenced, getDocumentConfiguration, putDocumentSort, getDocumentUrls, postDocumentValidate, getItemDocument, getItemDocumentAncestors, getItemDocumentSearch, deleteRecycleBinDocument, deleteRecycleBinDocumentById, getRecycleBinDocumentByIdOriginalParent, putRecycleBinDocumentByIdRestore, getRecycleBinDocumentChildren, getRecycleBinDocumentReferencedBy, getRecycleBinDocumentRoot, getRecycleBinDocumentSiblings, getTreeDocumentAncestors, getTreeDocumentChildren, getTreeDocumentRoot, getTreeDocumentSiblings, postDynamicRootQuery, getDynamicRootSteps, getHealthCheckGroup, getHealthCheckGroupByName, postHealthCheckGroupByNameCheck, postHealthCheckExecuteAction, getHelp, getImagingResizeUrls, getImportAnalyze, getIndexer, getIndexerByIndexName, postIndexerByIndexNameRebuild, getInstallSettings, postInstallSetup, postInstallValidateDatabase, getItemLanguage, getItemLanguageDefault, getLanguage, postLanguage, getLanguageByIsoCode, deleteLanguageByIsoCode, putLanguageByIsoCode, getLogViewerLevel, getLogViewerLevelCount, getLogViewerLog, getLogViewerMessageTemplate, getLogViewerSavedSearch, postLogViewerSavedSearch, getLogViewerSavedSearchByName, deleteLogViewerSavedSearchByName, getLogViewerValidateLogsSize, getManifestManifest, getManifestManifestPrivate, getManifestManifestPublic, getItemMediaType, getItemMediaTypeAllowed, getItemMediaTypeAncestors, getItemMediaTypeFolders, getItemMediaTypeSearch, postMediaType, getMediaTypeById, deleteMediaTypeById, putMediaTypeById, getMediaTypeByIdAllowedChildren, getMediaTypeByIdAllowedParents, getMediaTypeByIdCompositionReferences, postMediaTypeByIdCopy, getMediaTypeByIdExport, putMediaTypeByIdImport, putMediaTypeByIdMove, getMediaTypeByIdSchema, getMediaTypeAllowedAtRoot, postMediaTypeAvailableCompositions, getMediaTypeBatch, getMediaTypeConfiguration, postMediaTypeFolder, getMediaTypeFolderById, deleteMediaTypeFolderById, putMediaTypeFolderById, postMediaTypeImport, getTreeMediaTypeAncestors, getTreeMediaTypeChildren, getTreeMediaTypeRoot, getTreeMediaTypeSiblings, getCollectionMedia, getItemMedia, getItemMediaAncestors, getItemMediaSearch, postMedia, getMediaById, deleteMediaById, putMediaById, getMediaByIdAuditLog, putMediaByIdMove, putMediaByIdMoveToRecycleBin, getMediaByIdReferencedBy, getMediaByIdReferencedDescendants, putMediaByIdValidate, getMediaAreReferenced, getMediaConfiguration, putMediaSort, getMediaUrls, postMediaValidate, deleteRecycleBinMedia, deleteRecycleBinMediaById, getRecycleBinMediaByIdOriginalParent, putRecycleBinMediaByIdRestore, getRecycleBinMediaChildren, getRecycleBinMediaReferencedBy, getRecycleBinMediaRoot, getRecycleBinMediaSiblings, getTreeMediaAncestors, getTreeMediaChildren, getTreeMediaRoot, getTreeMediaSiblings, getItemMemberGroup, getMemberGroup, postMemberGroup, getMemberGroupById, deleteMemberGroupById, putMemberGroupById, getTreeMemberGroupRoot, getItemMemberType, getItemMemberTypeAncestors, getItemMemberTypeSearch, postMemberType, getMemberTypeById, deleteMemberTypeById, putMemberTypeById, getMemberTypeByIdCompositionReferences, postMemberTypeByIdCopy, getMemberTypeByIdExport, putMemberTypeByIdImport, putMemberTypeByIdMove, getMemberTypeByIdSchema, getMemberTypeAllowedAtRoot, postMemberTypeAvailableCompositions, getMemberTypeBatch, getMemberTypeConfiguration, postMemberTypeFolder, getMemberTypeFolderById, deleteMemberTypeFolderById, putMemberTypeFolderById, postMemberTypeImport, getTreeMemberTypeAncestors, getTreeMemberTypeChildren, getTreeMemberTypeRoot, getTreeMemberTypeSiblings, getFilterMember, getItemMember, getItemMemberAncestors, getItemMemberSearch, postMember, getMemberById, deleteMemberById, putMemberById, getMemberByIdReferencedBy, getMemberByIdReferencedDescendants, putMemberByIdValidate, getMemberAreReferenced, getMemberConfiguration, postMemberValidate, postModelsBuilderBuild, getModelsBuilderDashboard, getModelsBuilderStatus, getNewsDashboard, getObjectTypes, getOembedQuery, postPackageByNameRunMigration, getPackageConfiguration, getPackageCreated, postPackageCreated, getPackageCreatedById, deletePackageCreatedById, putPackageCreatedById, getPackageCreatedByIdDownload, getPackageMigrationStatus, getItemPartialView, postPartialView, getPartialViewByPath, deletePartialViewByPath, putPartialViewByPath, putPartialViewByPathRename, postPartialViewFolder, getPartialViewFolderByPath, deletePartialViewFolderByPath, getPartialViewSnippet, getPartialViewSnippetById, getTreePartialViewAncestors, getTreePartialViewChildren, getTreePartialViewRoot, getTreePartialViewSiblings, deletePreview, postPreview, getProfilingStatus, putProfilingStatus, getPropertyTypeIsUsed, postPublishedCacheRebuild, getPublishedCacheRebuildStatus, postPublishedCacheReload, getRedirectManagement, getRedirectManagementById, deleteRedirectManagementById, getRedirectManagementStatus, postRedirectManagementStatus, getItemRelationType, getRelationType, getRelationTypeById, getRelationByRelationTypeId, getItemScript, postScript, getScriptByPath, deleteScriptByPath, putScriptByPath, putScriptByPathRename, postScriptFolder, getScriptFolderByPath, deleteScriptFolderByPath, getTreeScriptAncestors, getTreeScriptChildren, getTreeScriptRoot, getTreeScriptSiblings, getSearcher, getSearcherBySearcherNameQuery, getSecurityConfiguration, postSecurityForgotPassword, postSecurityForgotPasswordReset, postSecurityForgotPasswordVerify, getSegment, getServerConfiguration, getServerInformation, getServerStatus, getServerTroubleshooting, getServerUpgradeCheck, getItemStaticFile, getTreeStaticFileAncestors, getTreeStaticFileChildren, getTreeStaticFileRoot, getItemStylesheet, postStylesheet, getStylesheetByPath, deleteStylesheetByPath, putStylesheetByPath, putStylesheetByPathRename, postStylesheetFolder, getStylesheetFolderByPath, deleteStylesheetFolderByPath, getTreeStylesheetAncestors, getTreeStylesheetChildren, getTreeStylesheetRoot, getTreeStylesheetSiblings, getTag, getTelemetry, getTelemetryLevel, postTelemetryLevel, getItemTemplate, getItemTemplateAncestors, getItemTemplateSearch, postTemplate, getTemplateById, deleteTemplateById, putTemplateById, getTemplateConfiguration, postTemplateQueryExecute, getTemplateQuerySettings, getTreeTemplateAncestors, getTreeTemplateChildren, getTreeTemplateRoot, getTreeTemplateSiblings, postUpgradeAuthorize, getUpgradeSettings, postUserData, getUserData, putUserData, getUserDataById, deleteUserDataById, getFilterUserGroup, getItemUserGroup, deleteUserGroup, postUserGroup, getUserGroup, getUserGroupById, deleteUserGroupById, putUserGroupById, deleteUserGroupByIdUsers, postUserGroupByIdUsers, getFilterUser, getItemUser, postUser, deleteUser, getUser, getUserById, deleteUserById, putUserById, getUserById2fa, deleteUserById2faByProviderName, getUserByIdCalculateStartNodes, postUserByIdChangePassword, postUserByIdClientCredentials, getUserByIdClientCredentials, deleteUserByIdClientCredentialsByClientId, postUserByIdResetPassword, deleteUserAvatarById, postUserAvatarById, getUserConfiguration, getUserCurrent, getUserCurrent2fa, deleteUserCurrent2faByProviderName, postUserCurrent2faByProviderName, getUserCurrent2faByProviderName, postUserCurrentAvatar, postUserCurrentChangePassword, getUserCurrentConfiguration, getUserCurrentLoginProviders, getUserCurrentPermissions, getUserCurrentPermissionsDocument, getUserCurrentPermissionsMedia, postUserDisable, postUserEnable, postUserInvite, postUserInviteCreatePassword, postUserInviteResend, postUserInviteVerify, postUserSetUserGroups, postUserUnlock, getItemWebhook, getWebhook, postWebhook, getWebhookById, deleteWebhookById, putWebhookById, getWebhookByIdLogs, getWebhookEvents, getWebhookLogs };
|
|
4564
|
+
return { getCulture, postDataType, getDataTypeById, deleteDataTypeById, putDataTypeById, postDataTypeByIdCopy, getDataTypeByIdIsUsed, putDataTypeByIdMove, getDataTypeByIdReferencedBy, getDataTypeByIdSchema, getDataTypeBatch, getDataTypeConfiguration, postDataTypeFolder, getDataTypeFolderById, deleteDataTypeFolderById, putDataTypeFolderById, getDataTypeSchemasBatch, getFilterDataType, getItemDataType, getItemDataTypeAncestors, getItemDataTypeSearch, getTreeDataTypeAncestors, getTreeDataTypeChildren, getTreeDataTypeRoot, getTreeDataTypeSearch, getTreeDataTypeSiblings, getDictionary, postDictionary, getDictionaryById, deleteDictionaryById, putDictionaryById, getDictionaryByIdExport, putDictionaryByIdMove, postDictionaryImport, getItemDictionary, getTreeDictionaryAncestors, getTreeDictionaryChildren, getTreeDictionaryRoot, postDocumentBlueprint, getDocumentBlueprintById, deleteDocumentBlueprintById, putDocumentBlueprintById, getDocumentBlueprintByIdAuditLog, putDocumentBlueprintByIdMove, getDocumentBlueprintByIdScaffold, postDocumentBlueprintFolder, getDocumentBlueprintFolderById, deleteDocumentBlueprintFolderById, putDocumentBlueprintFolderById, postDocumentBlueprintFromDocument, getItemDocumentBlueprint, getTreeDocumentBlueprintAncestors, getTreeDocumentBlueprintChildren, getTreeDocumentBlueprintRoot, getTreeDocumentBlueprintSiblings, postDocumentType, getDocumentTypeById, deleteDocumentTypeById, putDocumentTypeById, getDocumentTypeByIdAllowedChildren, getDocumentTypeByIdAllowedParents, getDocumentTypeByIdBlueprint, getDocumentTypeByIdCompositionReferences, postDocumentTypeByIdCopy, getDocumentTypeByIdExport, putDocumentTypeByIdImport, putDocumentTypeByIdMove, getDocumentTypeByIdSchema, postDocumentTypeByIdTemplate, getDocumentTypeAllowedAtRoot, postDocumentTypeAvailableCompositions, getDocumentTypeBatch, getDocumentTypeConfiguration, postDocumentTypeFolder, getDocumentTypeFolderById, deleteDocumentTypeFolderById, putDocumentTypeFolderById, postDocumentTypeImport, getItemDocumentType, getItemDocumentTypeAncestors, getItemDocumentTypeSearch, getTreeDocumentTypeAncestors, getTreeDocumentTypeChildren, getTreeDocumentTypeRoot, getTreeDocumentTypeSearch, getTreeDocumentTypeSiblings, getDocumentVersion, getDocumentVersionById, putDocumentVersionByIdPreventCleanup, postDocumentVersionByIdRollback, getCollectionDocumentById, postDocument, getDocumentById, deleteDocumentById, putDocumentById, getDocumentByIdAuditLog, getDocumentByIdAvailableSegmentOptions, postDocumentByIdCopy, getDocumentByIdDomains, putDocumentByIdDomains, putDocumentByIdMove, putDocumentByIdMoveToRecycleBin, getDocumentByIdNotifications, putDocumentByIdNotifications, patchDocumentByIdPatch, getDocumentByIdPreviewUrl, postDocumentByIdPublicAccess, deleteDocumentByIdPublicAccess, getDocumentByIdPublicAccess, putDocumentByIdPublicAccess, putDocumentByIdPublish, putDocumentByIdPublishWithDescendants, getDocumentByIdPublishWithDescendantsResultByTaskId, getDocumentByIdPublished, getDocumentByIdReferencedBy, getDocumentByIdReferencedDescendants, putDocumentByIdUnpublish, putUmbracoManagementApiV11DocumentByIdValidate11, getDocumentAreReferenced, getDocumentConfiguration, putDocumentSort, getDocumentUrls, postDocumentValidate, getItemDocument, getItemDocumentAncestors, getItemDocumentSearch, deleteRecycleBinDocument, deleteRecycleBinDocumentById, getRecycleBinDocumentByIdOriginalParent, putRecycleBinDocumentByIdRestore, getRecycleBinDocumentChildren, getRecycleBinDocumentReferencedBy, getRecycleBinDocumentRoot, getRecycleBinDocumentSiblings, getTreeDocumentAncestors, getTreeDocumentChildren, getTreeDocumentRoot, getTreeDocumentSiblings, postDynamicRootQuery, getDynamicRootSteps, getHealthCheckGroup, getHealthCheckGroupByName, postHealthCheckGroupByNameCheck, postHealthCheckExecuteAction, getHelp, getImagingResizeUrls, getImportAnalyze, getIndexer, getIndexerByIndexName, postIndexerByIndexNameRebuild, getInstallSettings, postInstallSetup, postInstallValidateDatabase, getItemLanguage, getItemLanguageDefault, getLanguage, postLanguage, getLanguageByIsoCode, deleteLanguageByIsoCode, putLanguageByIsoCode, getLogViewerLevel, getLogViewerLevelCount, getLogViewerLog, getLogViewerMessageTemplate, getLogViewerSavedSearch, postLogViewerSavedSearch, getLogViewerSavedSearchByName, deleteLogViewerSavedSearchByName, getLogViewerValidateLogsSize, getManifestManifest, getManifestManifestPrivate, getManifestManifestPublic, getItemMediaType, getItemMediaTypeAllowed, getItemMediaTypeAncestors, getItemMediaTypeFolders, getItemMediaTypeSearch, postMediaType, getMediaTypeById, deleteMediaTypeById, putMediaTypeById, getMediaTypeByIdAllowedChildren, getMediaTypeByIdAllowedParents, getMediaTypeByIdCompositionReferences, postMediaTypeByIdCopy, getMediaTypeByIdExport, putMediaTypeByIdImport, putMediaTypeByIdMove, getMediaTypeByIdSchema, getMediaTypeAllowedAtRoot, postMediaTypeAvailableCompositions, getMediaTypeBatch, getMediaTypeConfiguration, postMediaTypeFolder, getMediaTypeFolderById, deleteMediaTypeFolderById, putMediaTypeFolderById, postMediaTypeImport, getTreeMediaTypeAncestors, getTreeMediaTypeChildren, getTreeMediaTypeRoot, getTreeMediaTypeSiblings, getCollectionMedia, getItemMedia, getItemMediaAncestors, getItemMediaSearch, postMedia, getMediaById, deleteMediaById, putMediaById, getMediaByIdAuditLog, putMediaByIdMove, putMediaByIdMoveToRecycleBin, getMediaByIdReferencedBy, getMediaByIdReferencedDescendants, putMediaByIdValidate, getMediaAreReferenced, getMediaConfiguration, putMediaSort, getMediaUrls, postMediaValidate, deleteRecycleBinMedia, deleteRecycleBinMediaById, getRecycleBinMediaByIdOriginalParent, putRecycleBinMediaByIdRestore, getRecycleBinMediaChildren, getRecycleBinMediaReferencedBy, getRecycleBinMediaRoot, getRecycleBinMediaSiblings, getTreeMediaAncestors, getTreeMediaChildren, getTreeMediaRoot, getTreeMediaSiblings, getItemMemberGroup, getMemberGroup, postMemberGroup, getMemberGroupById, deleteMemberGroupById, putMemberGroupById, getTreeMemberGroupRoot, getItemMemberType, getItemMemberTypeAncestors, getItemMemberTypeSearch, postMemberType, getMemberTypeById, deleteMemberTypeById, putMemberTypeById, getMemberTypeByIdCompositionReferences, postMemberTypeByIdCopy, getMemberTypeByIdExport, putMemberTypeByIdImport, putMemberTypeByIdMove, getMemberTypeByIdSchema, getMemberTypeAllowedAtRoot, postMemberTypeAvailableCompositions, getMemberTypeBatch, getMemberTypeConfiguration, postMemberTypeFolder, getMemberTypeFolderById, deleteMemberTypeFolderById, putMemberTypeFolderById, postMemberTypeImport, getTreeMemberTypeAncestors, getTreeMemberTypeChildren, getTreeMemberTypeRoot, getTreeMemberTypeSiblings, getFilterMember, getItemMember, getItemMemberAncestors, getItemMemberSearch, postMember, getMemberById, deleteMemberById, putMemberById, getMemberByIdReferencedBy, getMemberByIdReferencedDescendants, putMemberByIdValidate, getMemberAreReferenced, getMemberConfiguration, postMemberValidate, postModelsBuilderBuild, getModelsBuilderDashboard, getModelsBuilderStatus, getNewsDashboard, getObjectTypes, getOembedQuery, postPackageByNameRunMigration, getPackageConfiguration, getPackageCreated, postPackageCreated, getPackageCreatedById, deletePackageCreatedById, putPackageCreatedById, getPackageCreatedByIdDownload, getPackageMigrationStatus, getItemPartialView, postPartialView, getPartialViewByPath, deletePartialViewByPath, putPartialViewByPath, putPartialViewByPathRename, postPartialViewFolder, getPartialViewFolderByPath, deletePartialViewFolderByPath, getPartialViewSnippet, getPartialViewSnippetById, getTreePartialViewAncestors, getTreePartialViewChildren, getTreePartialViewRoot, getTreePartialViewSiblings, deletePreview, postPreview, getProfilingStatus, putProfilingStatus, getPropertyTypeIsUsed, postPublishedCacheRebuild, getPublishedCacheRebuildStatus, postPublishedCacheReload, getRedirectManagement, getRedirectManagementById, deleteRedirectManagementById, getRedirectManagementStatus, postRedirectManagementStatus, getItemRelationType, getRelationType, getRelationTypeById, getRelationByRelationTypeId, getItemScript, postScript, getScriptByPath, deleteScriptByPath, putScriptByPath, putScriptByPathRename, postScriptFolder, getScriptFolderByPath, deleteScriptFolderByPath, getTreeScriptAncestors, getTreeScriptChildren, getTreeScriptRoot, getTreeScriptSiblings, getSearcher, getSearcherBySearcherNameQuery, getSecurityConfiguration, postSecurityForgotPassword, postSecurityForgotPasswordReset, postSecurityForgotPasswordVerify, getSegment, getServerConfiguration, getServerInformation, getServerStatus, getServerTroubleshooting, getServerUpgradeCheck, getItemStaticFile, getTreeStaticFileAncestors, getTreeStaticFileChildren, getTreeStaticFileRoot, getItemStylesheet, postStylesheet, getStylesheetByPath, deleteStylesheetByPath, putStylesheetByPath, putStylesheetByPathRename, postStylesheetFolder, getStylesheetFolderByPath, deleteStylesheetFolderByPath, getTreeStylesheetAncestors, getTreeStylesheetChildren, getTreeStylesheetRoot, getTreeStylesheetSiblings, getTag, getTelemetry, getTelemetryLevel, postTelemetryLevel, getItemTemplate, getItemTemplateAncestors, getItemTemplateSearch, postTemplate, getTemplateById, deleteTemplateById, putTemplateById, getTemplateConfiguration, postTemplateQueryExecute, getTemplateQuerySettings, getTreeTemplateAncestors, getTreeTemplateChildren, getTreeTemplateRoot, getTreeTemplateSiblings, postUpgradeAuthorize, getUpgradeSettings, postUserData, getUserData, putUserData, getUserDataById, deleteUserDataById, getFilterUserGroup, getItemUserGroup, deleteUserGroup, postUserGroup, getUserGroup, getUserGroupById, deleteUserGroupById, putUserGroupById, deleteUserGroupByIdUsers, postUserGroupByIdUsers, getFilterUser, getItemUser, postUser, deleteUser, getUser, getUserById, deleteUserById, putUserById, getUserById2fa, deleteUserById2faByProviderName, getUserByIdCalculateStartNodes, postUserByIdChangePassword, postUserByIdClientCredentials, getUserByIdClientCredentials, deleteUserByIdClientCredentialsByClientId, postUserByIdResetPassword, deleteUserAvatarById, postUserAvatarById, getUserConfiguration, getUserCurrent, getUserCurrent2fa, deleteUserCurrent2faByProviderName, postUserCurrent2faByProviderName, getUserCurrent2faByProviderName, deleteUserCurrentAvatar, postUserCurrentAvatar, postUserCurrentChangePassword, getUserCurrentConfiguration, getUserCurrentLoginProviders, getUserCurrentPermissions, getUserCurrentPermissionsDocument, getUserCurrentPermissionsMedia, putUserCurrentProfile, postUserDisable, postUserEnable, postUserInvite, postUserInviteCreatePassword, postUserInviteResend, postUserInviteVerify, postUserSetUserGroups, postUserUnlock, getItemWebhook, getWebhook, postWebhook, getWebhookById, deleteWebhookById, putWebhookById, getWebhookByIdLogs, getWebhookEvents, getWebhookLogs };
|
|
4545
4565
|
};
|
|
4546
4566
|
|
|
4547
4567
|
// src/umb-management-api/api/temporary-file/index.ts
|
|
@@ -10584,7 +10604,10 @@ var getServerConfigurationResponse = zod.object({
|
|
|
10584
10604
|
"allowPasswordReset": zod.boolean(),
|
|
10585
10605
|
"versionCheckPeriod": zod.number(),
|
|
10586
10606
|
"allowLocalLogin": zod.boolean(),
|
|
10587
|
-
"umbracoCssPath": zod.string()
|
|
10607
|
+
"umbracoCssPath": zod.string(),
|
|
10608
|
+
"signalR": zod.object({
|
|
10609
|
+
"skipNegotiation": zod.boolean()
|
|
10610
|
+
})
|
|
10588
10611
|
});
|
|
10589
10612
|
var getServerInformationResponse = zod.object({
|
|
10590
10613
|
"version": zod.string(),
|
|
@@ -11680,6 +11703,9 @@ var getUserCurrentPermissionsMediaResponse = zod.object({
|
|
|
11680
11703
|
"permissions": zod.array(zod.string())
|
|
11681
11704
|
}))
|
|
11682
11705
|
});
|
|
11706
|
+
var putUserCurrentProfileBody = zod.object({
|
|
11707
|
+
"languageIsoCode": zod.string()
|
|
11708
|
+
});
|
|
11683
11709
|
var postUserDisableBody = zod.object({
|
|
11684
11710
|
"userIds": zod.array(zod.object({
|
|
11685
11711
|
"id": zod.guid()
|
|
@@ -24953,6 +24979,50 @@ var DeleteUserAvatarByIdTool = {
|
|
|
24953
24979
|
};
|
|
24954
24980
|
var delete_user_avatar_by_id_default = withStandardDecorators351(DeleteUserAvatarByIdTool);
|
|
24955
24981
|
|
|
24982
|
+
// src/umb-management-api/tools/user/delete/delete-user-current-avatar.ts
|
|
24983
|
+
import {
|
|
24984
|
+
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE323,
|
|
24985
|
+
executeVoidApiCall as executeVoidApiCall94,
|
|
24986
|
+
withStandardDecorators as withStandardDecorators352
|
|
24987
|
+
} from "@umbraco-cms/mcp-server-sdk";
|
|
24988
|
+
var DeleteUserCurrentAvatarTool = {
|
|
24989
|
+
name: "delete-user-current-avatar",
|
|
24990
|
+
description: "Deletes the avatar for the current authenticated user",
|
|
24991
|
+
inputSchema: {},
|
|
24992
|
+
annotations: {
|
|
24993
|
+
destructiveHint: true
|
|
24994
|
+
},
|
|
24995
|
+
slices: ["current-user"],
|
|
24996
|
+
handler: (async () => {
|
|
24997
|
+
return executeVoidApiCall94(
|
|
24998
|
+
(client) => client.deleteUserCurrentAvatar(CAPTURE_RAW_HTTP_RESPONSE323)
|
|
24999
|
+
);
|
|
25000
|
+
})
|
|
25001
|
+
};
|
|
25002
|
+
var delete_user_current_avatar_default = withStandardDecorators352(DeleteUserCurrentAvatarTool);
|
|
25003
|
+
|
|
25004
|
+
// src/umb-management-api/tools/user/put/update-user-current-profile.ts
|
|
25005
|
+
import {
|
|
25006
|
+
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE324,
|
|
25007
|
+
executeVoidApiCall as executeVoidApiCall95,
|
|
25008
|
+
withStandardDecorators as withStandardDecorators353
|
|
25009
|
+
} from "@umbraco-cms/mcp-server-sdk";
|
|
25010
|
+
var UpdateUserCurrentProfileTool = {
|
|
25011
|
+
name: "update-user-current-profile",
|
|
25012
|
+
description: "Updates the profile of the current authenticated user (e.g. the preferred UI language)",
|
|
25013
|
+
inputSchema: putUserCurrentProfileBody.shape,
|
|
25014
|
+
annotations: {
|
|
25015
|
+
idempotentHint: true
|
|
25016
|
+
},
|
|
25017
|
+
slices: ["current-user"],
|
|
25018
|
+
handler: (async (model) => {
|
|
25019
|
+
return executeVoidApiCall95(
|
|
25020
|
+
(client) => client.putUserCurrentProfile(model, CAPTURE_RAW_HTTP_RESPONSE324)
|
|
25021
|
+
);
|
|
25022
|
+
})
|
|
25023
|
+
};
|
|
25024
|
+
var update_user_current_profile_default = withStandardDecorators353(UpdateUserCurrentProfileTool);
|
|
25025
|
+
|
|
24956
25026
|
// src/umb-management-api/tools/user/index.ts
|
|
24957
25027
|
var UserCollection = {
|
|
24958
25028
|
metadata: {
|
|
@@ -24970,6 +25040,8 @@ var UserCollection = {
|
|
|
24970
25040
|
tools.push(get_user_current_permissions_document_default);
|
|
24971
25041
|
tools.push(get_user_current_permissions_media_default);
|
|
24972
25042
|
tools.push(upload_user_current_avatar_default);
|
|
25043
|
+
tools.push(delete_user_current_avatar_default);
|
|
25044
|
+
tools.push(update_user_current_profile_default);
|
|
24973
25045
|
if (AuthorizationPolicies.SectionAccessUsers(user)) {
|
|
24974
25046
|
tools.push(get_user_default);
|
|
24975
25047
|
tools.push(get_user_by_id_default);
|
|
@@ -24989,7 +25061,7 @@ import { z as z148 } from "zod";
|
|
|
24989
25061
|
import {
|
|
24990
25062
|
createToolResult as createToolResult44,
|
|
24991
25063
|
createToolResultError as createToolResultError29,
|
|
24992
|
-
withStandardDecorators as
|
|
25064
|
+
withStandardDecorators as withStandardDecorators354
|
|
24993
25065
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
24994
25066
|
var createUserDataOutputSchema = z148.object({
|
|
24995
25067
|
message: z148.string(),
|
|
@@ -25029,13 +25101,13 @@ var CreateUserDataTool = {
|
|
|
25029
25101
|
}
|
|
25030
25102
|
})
|
|
25031
25103
|
};
|
|
25032
|
-
var create_user_data_default =
|
|
25104
|
+
var create_user_data_default = withStandardDecorators354(CreateUserDataTool);
|
|
25033
25105
|
|
|
25034
25106
|
// src/umb-management-api/tools/user-data/put/update-user-data.ts
|
|
25035
25107
|
import {
|
|
25036
|
-
CAPTURE_RAW_HTTP_RESPONSE as
|
|
25037
|
-
executeVoidApiCall as
|
|
25038
|
-
withStandardDecorators as
|
|
25108
|
+
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE325,
|
|
25109
|
+
executeVoidApiCall as executeVoidApiCall96,
|
|
25110
|
+
withStandardDecorators as withStandardDecorators355
|
|
25039
25111
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
25040
25112
|
var UpdateUserDataTool = {
|
|
25041
25113
|
name: "update-user-data",
|
|
@@ -25044,18 +25116,18 @@ var UpdateUserDataTool = {
|
|
|
25044
25116
|
annotations: { idempotentHint: true },
|
|
25045
25117
|
slices: ["update"],
|
|
25046
25118
|
handler: (async (body) => {
|
|
25047
|
-
return
|
|
25048
|
-
(client) => client.putUserData(body,
|
|
25119
|
+
return executeVoidApiCall96(
|
|
25120
|
+
(client) => client.putUserData(body, CAPTURE_RAW_HTTP_RESPONSE325)
|
|
25049
25121
|
);
|
|
25050
25122
|
})
|
|
25051
25123
|
};
|
|
25052
|
-
var update_user_data_default =
|
|
25124
|
+
var update_user_data_default = withStandardDecorators355(UpdateUserDataTool);
|
|
25053
25125
|
|
|
25054
25126
|
// src/umb-management-api/tools/user-data/get/get-user-data.ts
|
|
25055
25127
|
import {
|
|
25056
|
-
CAPTURE_RAW_HTTP_RESPONSE as
|
|
25128
|
+
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE326,
|
|
25057
25129
|
executeGetApiCall as executeGetApiCall170,
|
|
25058
|
-
withStandardDecorators as
|
|
25130
|
+
withStandardDecorators as withStandardDecorators356
|
|
25059
25131
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
25060
25132
|
var GetUserDataTool = {
|
|
25061
25133
|
name: "get-user-data",
|
|
@@ -25066,17 +25138,17 @@ var GetUserDataTool = {
|
|
|
25066
25138
|
slices: ["read"],
|
|
25067
25139
|
handler: (async (params) => {
|
|
25068
25140
|
return executeGetApiCall170(
|
|
25069
|
-
(client) => client.getUserData(params,
|
|
25141
|
+
(client) => client.getUserData(params, CAPTURE_RAW_HTTP_RESPONSE326)
|
|
25070
25142
|
);
|
|
25071
25143
|
})
|
|
25072
25144
|
};
|
|
25073
|
-
var get_user_data_default =
|
|
25145
|
+
var get_user_data_default = withStandardDecorators356(GetUserDataTool);
|
|
25074
25146
|
|
|
25075
25147
|
// src/umb-management-api/tools/user-data/get/get-user-data-by-id.ts
|
|
25076
25148
|
import {
|
|
25077
|
-
CAPTURE_RAW_HTTP_RESPONSE as
|
|
25149
|
+
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE327,
|
|
25078
25150
|
executeGetApiCall as executeGetApiCall171,
|
|
25079
|
-
withStandardDecorators as
|
|
25151
|
+
withStandardDecorators as withStandardDecorators357
|
|
25080
25152
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
25081
25153
|
var GetUserDataByIdTool = {
|
|
25082
25154
|
name: "get-user-data-by-id",
|
|
@@ -25087,17 +25159,17 @@ var GetUserDataByIdTool = {
|
|
|
25087
25159
|
slices: ["read"],
|
|
25088
25160
|
handler: (async ({ id }) => {
|
|
25089
25161
|
return executeGetApiCall171(
|
|
25090
|
-
(client) => client.getUserDataById(id,
|
|
25162
|
+
(client) => client.getUserDataById(id, CAPTURE_RAW_HTTP_RESPONSE327)
|
|
25091
25163
|
);
|
|
25092
25164
|
})
|
|
25093
25165
|
};
|
|
25094
|
-
var get_user_data_by_id_default =
|
|
25166
|
+
var get_user_data_by_id_default = withStandardDecorators357(GetUserDataByIdTool);
|
|
25095
25167
|
|
|
25096
25168
|
// src/umb-management-api/tools/user-data/delete/delete-user-data.ts
|
|
25097
25169
|
import {
|
|
25098
|
-
CAPTURE_RAW_HTTP_RESPONSE as
|
|
25099
|
-
executeVoidApiCall as
|
|
25100
|
-
withStandardDecorators as
|
|
25170
|
+
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE328,
|
|
25171
|
+
executeVoidApiCall as executeVoidApiCall97,
|
|
25172
|
+
withStandardDecorators as withStandardDecorators358
|
|
25101
25173
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
25102
25174
|
var DeleteUserDataTool = {
|
|
25103
25175
|
name: "delete-user-data",
|
|
@@ -25108,12 +25180,12 @@ var DeleteUserDataTool = {
|
|
|
25108
25180
|
},
|
|
25109
25181
|
slices: ["delete"],
|
|
25110
25182
|
handler: (async ({ id }) => {
|
|
25111
|
-
return
|
|
25112
|
-
(client) => client.deleteUserDataById(id,
|
|
25183
|
+
return executeVoidApiCall97(
|
|
25184
|
+
(client) => client.deleteUserDataById(id, CAPTURE_RAW_HTTP_RESPONSE328)
|
|
25113
25185
|
);
|
|
25114
25186
|
})
|
|
25115
25187
|
};
|
|
25116
|
-
var delete_user_data_default =
|
|
25188
|
+
var delete_user_data_default = withStandardDecorators358(DeleteUserDataTool);
|
|
25117
25189
|
|
|
25118
25190
|
// src/umb-management-api/tools/user-data/index.ts
|
|
25119
25191
|
var UserDataCollection = {
|
|
@@ -25136,9 +25208,9 @@ var UserDataCollection = {
|
|
|
25136
25208
|
|
|
25137
25209
|
// src/umb-management-api/tools/user-group/get/get-user-group.ts
|
|
25138
25210
|
import {
|
|
25139
|
-
CAPTURE_RAW_HTTP_RESPONSE as
|
|
25211
|
+
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE329,
|
|
25140
25212
|
executeGetApiCall as executeGetApiCall172,
|
|
25141
|
-
withStandardDecorators as
|
|
25213
|
+
withStandardDecorators as withStandardDecorators359
|
|
25142
25214
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
25143
25215
|
var GetUserGroupTool = {
|
|
25144
25216
|
name: "get-user-group",
|
|
@@ -25149,18 +25221,18 @@ var GetUserGroupTool = {
|
|
|
25149
25221
|
slices: ["read"],
|
|
25150
25222
|
handler: (async ({ id }) => {
|
|
25151
25223
|
return executeGetApiCall172(
|
|
25152
|
-
(client) => client.getUserGroupById(id,
|
|
25224
|
+
(client) => client.getUserGroupById(id, CAPTURE_RAW_HTTP_RESPONSE329)
|
|
25153
25225
|
);
|
|
25154
25226
|
})
|
|
25155
25227
|
};
|
|
25156
|
-
var get_user_group_default =
|
|
25228
|
+
var get_user_group_default = withStandardDecorators359(GetUserGroupTool);
|
|
25157
25229
|
|
|
25158
25230
|
// src/umb-management-api/tools/user-group/get/get-user-group-by-id-array.ts
|
|
25159
25231
|
import { z as z149 } from "zod";
|
|
25160
25232
|
import {
|
|
25161
|
-
CAPTURE_RAW_HTTP_RESPONSE as
|
|
25233
|
+
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE330,
|
|
25162
25234
|
executeGetItemsApiCall as executeGetItemsApiCall52,
|
|
25163
|
-
withStandardDecorators as
|
|
25235
|
+
withStandardDecorators as withStandardDecorators360
|
|
25164
25236
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
25165
25237
|
var outputSchema63 = z149.object({
|
|
25166
25238
|
items: getItemUserGroupResponse
|
|
@@ -25174,17 +25246,17 @@ var GetUserGroupByIdArrayTool = {
|
|
|
25174
25246
|
slices: ["list"],
|
|
25175
25247
|
handler: (async (params) => {
|
|
25176
25248
|
return executeGetItemsApiCall52(
|
|
25177
|
-
(client) => client.getItemUserGroup(params,
|
|
25249
|
+
(client) => client.getItemUserGroup(params, CAPTURE_RAW_HTTP_RESPONSE330)
|
|
25178
25250
|
);
|
|
25179
25251
|
})
|
|
25180
25252
|
};
|
|
25181
|
-
var get_user_group_by_id_array_default =
|
|
25253
|
+
var get_user_group_by_id_array_default = withStandardDecorators360(GetUserGroupByIdArrayTool);
|
|
25182
25254
|
|
|
25183
25255
|
// src/umb-management-api/tools/user-group/get/get-user-groups.ts
|
|
25184
25256
|
import {
|
|
25185
|
-
CAPTURE_RAW_HTTP_RESPONSE as
|
|
25257
|
+
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE331,
|
|
25186
25258
|
executeGetApiCall as executeGetApiCall173,
|
|
25187
|
-
withStandardDecorators as
|
|
25259
|
+
withStandardDecorators as withStandardDecorators361
|
|
25188
25260
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
25189
25261
|
var GetUserGroupsTool = {
|
|
25190
25262
|
name: "get-user-groups",
|
|
@@ -25195,17 +25267,17 @@ var GetUserGroupsTool = {
|
|
|
25195
25267
|
slices: ["list"],
|
|
25196
25268
|
handler: (async (model) => {
|
|
25197
25269
|
return executeGetApiCall173(
|
|
25198
|
-
(client) => client.getUserGroup(model,
|
|
25270
|
+
(client) => client.getUserGroup(model, CAPTURE_RAW_HTTP_RESPONSE331)
|
|
25199
25271
|
);
|
|
25200
25272
|
})
|
|
25201
25273
|
};
|
|
25202
|
-
var get_user_groups_default =
|
|
25274
|
+
var get_user_groups_default = withStandardDecorators361(GetUserGroupsTool);
|
|
25203
25275
|
|
|
25204
25276
|
// src/umb-management-api/tools/user-group/get/get-filter-user-group.ts
|
|
25205
25277
|
import {
|
|
25206
|
-
CAPTURE_RAW_HTTP_RESPONSE as
|
|
25278
|
+
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE332,
|
|
25207
25279
|
executeGetApiCall as executeGetApiCall174,
|
|
25208
|
-
withStandardDecorators as
|
|
25280
|
+
withStandardDecorators as withStandardDecorators362
|
|
25209
25281
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
25210
25282
|
var GetFilterUserGroupTool = {
|
|
25211
25283
|
name: "get-filter-user-group",
|
|
@@ -25216,18 +25288,18 @@ var GetFilterUserGroupTool = {
|
|
|
25216
25288
|
slices: ["search"],
|
|
25217
25289
|
handler: (async (model) => {
|
|
25218
25290
|
return executeGetApiCall174(
|
|
25219
|
-
(client) => client.getFilterUserGroup(model,
|
|
25291
|
+
(client) => client.getFilterUserGroup(model, CAPTURE_RAW_HTTP_RESPONSE332)
|
|
25220
25292
|
);
|
|
25221
25293
|
})
|
|
25222
25294
|
};
|
|
25223
|
-
var get_filter_user_group_default =
|
|
25295
|
+
var get_filter_user_group_default = withStandardDecorators362(GetFilterUserGroupTool);
|
|
25224
25296
|
|
|
25225
25297
|
// src/umb-management-api/tools/user-group/post/create-user-group.ts
|
|
25226
25298
|
import { z as z150 } from "zod";
|
|
25227
25299
|
import {
|
|
25228
25300
|
createToolResult as createToolResult45,
|
|
25229
25301
|
createToolResultError as createToolResultError30,
|
|
25230
|
-
withStandardDecorators as
|
|
25302
|
+
withStandardDecorators as withStandardDecorators363
|
|
25231
25303
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
25232
25304
|
var createUserGroupOutputSchema = z150.object({
|
|
25233
25305
|
message: z150.string(),
|
|
@@ -25267,14 +25339,14 @@ var CreateUserGroupTool = {
|
|
|
25267
25339
|
}
|
|
25268
25340
|
})
|
|
25269
25341
|
};
|
|
25270
|
-
var create_user_group_default =
|
|
25342
|
+
var create_user_group_default = withStandardDecorators363(CreateUserGroupTool);
|
|
25271
25343
|
|
|
25272
25344
|
// src/umb-management-api/tools/user-group/put/update-user-group.ts
|
|
25273
25345
|
import { z as z151 } from "zod";
|
|
25274
25346
|
import {
|
|
25275
|
-
CAPTURE_RAW_HTTP_RESPONSE as
|
|
25276
|
-
executeVoidApiCall as
|
|
25277
|
-
withStandardDecorators as
|
|
25347
|
+
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE333,
|
|
25348
|
+
executeVoidApiCall as executeVoidApiCall98,
|
|
25349
|
+
withStandardDecorators as withStandardDecorators364
|
|
25278
25350
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
25279
25351
|
var updateUserGroupSchema = z151.object({
|
|
25280
25352
|
id: putUserGroupByIdParams.shape.id,
|
|
@@ -25287,18 +25359,18 @@ var UpdateUserGroupTool = {
|
|
|
25287
25359
|
annotations: { idempotentHint: true },
|
|
25288
25360
|
slices: ["update"],
|
|
25289
25361
|
handler: (async (model) => {
|
|
25290
|
-
return
|
|
25291
|
-
(client) => client.putUserGroupById(model.id, model.data,
|
|
25362
|
+
return executeVoidApiCall98(
|
|
25363
|
+
(client) => client.putUserGroupById(model.id, model.data, CAPTURE_RAW_HTTP_RESPONSE333)
|
|
25292
25364
|
);
|
|
25293
25365
|
})
|
|
25294
25366
|
};
|
|
25295
|
-
var update_user_group_default =
|
|
25367
|
+
var update_user_group_default = withStandardDecorators364(UpdateUserGroupTool);
|
|
25296
25368
|
|
|
25297
25369
|
// src/umb-management-api/tools/user-group/delete/delete-user-group.ts
|
|
25298
25370
|
import {
|
|
25299
|
-
CAPTURE_RAW_HTTP_RESPONSE as
|
|
25300
|
-
executeVoidApiCall as
|
|
25301
|
-
withStandardDecorators as
|
|
25371
|
+
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE334,
|
|
25372
|
+
executeVoidApiCall as executeVoidApiCall99,
|
|
25373
|
+
withStandardDecorators as withStandardDecorators365
|
|
25302
25374
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
25303
25375
|
var DeleteUserGroupTool = {
|
|
25304
25376
|
name: "delete-user-group",
|
|
@@ -25309,18 +25381,18 @@ var DeleteUserGroupTool = {
|
|
|
25309
25381
|
},
|
|
25310
25382
|
slices: ["delete"],
|
|
25311
25383
|
handler: (async ({ id }) => {
|
|
25312
|
-
return
|
|
25313
|
-
(client) => client.deleteUserGroupById(id,
|
|
25384
|
+
return executeVoidApiCall99(
|
|
25385
|
+
(client) => client.deleteUserGroupById(id, CAPTURE_RAW_HTTP_RESPONSE334)
|
|
25314
25386
|
);
|
|
25315
25387
|
})
|
|
25316
25388
|
};
|
|
25317
|
-
var delete_user_group_default =
|
|
25389
|
+
var delete_user_group_default = withStandardDecorators365(DeleteUserGroupTool);
|
|
25318
25390
|
|
|
25319
25391
|
// src/umb-management-api/tools/user-group/delete/delete-user-groups.ts
|
|
25320
25392
|
import {
|
|
25321
|
-
CAPTURE_RAW_HTTP_RESPONSE as
|
|
25322
|
-
executeVoidApiCall as
|
|
25323
|
-
withStandardDecorators as
|
|
25393
|
+
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE335,
|
|
25394
|
+
executeVoidApiCall as executeVoidApiCall100,
|
|
25395
|
+
withStandardDecorators as withStandardDecorators366
|
|
25324
25396
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
25325
25397
|
var DeleteUserGroupsTool = {
|
|
25326
25398
|
name: "delete-user-groups",
|
|
@@ -25331,12 +25403,12 @@ var DeleteUserGroupsTool = {
|
|
|
25331
25403
|
},
|
|
25332
25404
|
slices: ["delete"],
|
|
25333
25405
|
handler: (async (model) => {
|
|
25334
|
-
return
|
|
25335
|
-
(client) => client.deleteUserGroup(model,
|
|
25406
|
+
return executeVoidApiCall100(
|
|
25407
|
+
(client) => client.deleteUserGroup(model, CAPTURE_RAW_HTTP_RESPONSE335)
|
|
25336
25408
|
);
|
|
25337
25409
|
})
|
|
25338
25410
|
};
|
|
25339
|
-
var delete_user_groups_default =
|
|
25411
|
+
var delete_user_groups_default = withStandardDecorators366(DeleteUserGroupsTool);
|
|
25340
25412
|
|
|
25341
25413
|
// src/umb-management-api/tools/user-group/index.ts
|
|
25342
25414
|
var UserGroupCollection = {
|
|
@@ -25364,9 +25436,9 @@ var UserGroupCollection = {
|
|
|
25364
25436
|
|
|
25365
25437
|
// src/umb-management-api/tools/webhook/get/get-webhook-by-id.ts
|
|
25366
25438
|
import {
|
|
25367
|
-
CAPTURE_RAW_HTTP_RESPONSE as
|
|
25439
|
+
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE336,
|
|
25368
25440
|
executeGetApiCall as executeGetApiCall175,
|
|
25369
|
-
withStandardDecorators as
|
|
25441
|
+
withStandardDecorators as withStandardDecorators367
|
|
25370
25442
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
25371
25443
|
var GetWebhookByIdTool = {
|
|
25372
25444
|
name: "get-webhook-by-id",
|
|
@@ -25377,18 +25449,18 @@ var GetWebhookByIdTool = {
|
|
|
25377
25449
|
slices: ["read"],
|
|
25378
25450
|
handler: (async ({ id }) => {
|
|
25379
25451
|
return executeGetApiCall175(
|
|
25380
|
-
(client) => client.getWebhookById(id,
|
|
25452
|
+
(client) => client.getWebhookById(id, CAPTURE_RAW_HTTP_RESPONSE336)
|
|
25381
25453
|
);
|
|
25382
25454
|
})
|
|
25383
25455
|
};
|
|
25384
|
-
var get_webhook_by_id_default =
|
|
25456
|
+
var get_webhook_by_id_default = withStandardDecorators367(GetWebhookByIdTool);
|
|
25385
25457
|
|
|
25386
25458
|
// src/umb-management-api/tools/webhook/get/get-webhook-by-id-array.ts
|
|
25387
25459
|
import { z as z152 } from "zod";
|
|
25388
25460
|
import {
|
|
25389
|
-
CAPTURE_RAW_HTTP_RESPONSE as
|
|
25461
|
+
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE337,
|
|
25390
25462
|
executeGetItemsApiCall as executeGetItemsApiCall53,
|
|
25391
|
-
withStandardDecorators as
|
|
25463
|
+
withStandardDecorators as withStandardDecorators368
|
|
25392
25464
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
25393
25465
|
var outputSchema64 = z152.object({
|
|
25394
25466
|
items: getItemWebhookResponse
|
|
@@ -25402,17 +25474,17 @@ var GetWebhookItemTool = {
|
|
|
25402
25474
|
slices: ["list"],
|
|
25403
25475
|
handler: (async (params) => {
|
|
25404
25476
|
return executeGetItemsApiCall53(
|
|
25405
|
-
(client) => client.getItemWebhook(params,
|
|
25477
|
+
(client) => client.getItemWebhook(params, CAPTURE_RAW_HTTP_RESPONSE337)
|
|
25406
25478
|
);
|
|
25407
25479
|
})
|
|
25408
25480
|
};
|
|
25409
|
-
var get_webhook_by_id_array_default =
|
|
25481
|
+
var get_webhook_by_id_array_default = withStandardDecorators368(GetWebhookItemTool);
|
|
25410
25482
|
|
|
25411
25483
|
// src/umb-management-api/tools/webhook/get/get-webhook.ts
|
|
25412
25484
|
import {
|
|
25413
|
-
CAPTURE_RAW_HTTP_RESPONSE as
|
|
25485
|
+
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE338,
|
|
25414
25486
|
executeGetApiCall as executeGetApiCall176,
|
|
25415
|
-
withStandardDecorators as
|
|
25487
|
+
withStandardDecorators as withStandardDecorators369
|
|
25416
25488
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
25417
25489
|
var GetWebhookTool = {
|
|
25418
25490
|
name: "get-webhook",
|
|
@@ -25423,17 +25495,17 @@ var GetWebhookTool = {
|
|
|
25423
25495
|
slices: ["list"],
|
|
25424
25496
|
handler: (async (params) => {
|
|
25425
25497
|
return executeGetApiCall176(
|
|
25426
|
-
(client) => client.getWebhook(params,
|
|
25498
|
+
(client) => client.getWebhook(params, CAPTURE_RAW_HTTP_RESPONSE338)
|
|
25427
25499
|
);
|
|
25428
25500
|
})
|
|
25429
25501
|
};
|
|
25430
|
-
var get_webhook_default =
|
|
25502
|
+
var get_webhook_default = withStandardDecorators369(GetWebhookTool);
|
|
25431
25503
|
|
|
25432
25504
|
// src/umb-management-api/tools/webhook/delete/delete-webhook.ts
|
|
25433
25505
|
import {
|
|
25434
|
-
CAPTURE_RAW_HTTP_RESPONSE as
|
|
25435
|
-
executeVoidApiCall as
|
|
25436
|
-
withStandardDecorators as
|
|
25506
|
+
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE339,
|
|
25507
|
+
executeVoidApiCall as executeVoidApiCall101,
|
|
25508
|
+
withStandardDecorators as withStandardDecorators370
|
|
25437
25509
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
25438
25510
|
var DeleteWebhookTool = {
|
|
25439
25511
|
name: "delete-webhook",
|
|
@@ -25444,19 +25516,19 @@ var DeleteWebhookTool = {
|
|
|
25444
25516
|
},
|
|
25445
25517
|
slices: ["delete"],
|
|
25446
25518
|
handler: (async ({ id }) => {
|
|
25447
|
-
return
|
|
25448
|
-
(client) => client.deleteWebhookById(id,
|
|
25519
|
+
return executeVoidApiCall101(
|
|
25520
|
+
(client) => client.deleteWebhookById(id, CAPTURE_RAW_HTTP_RESPONSE339)
|
|
25449
25521
|
);
|
|
25450
25522
|
})
|
|
25451
25523
|
};
|
|
25452
|
-
var delete_webhook_default =
|
|
25524
|
+
var delete_webhook_default = withStandardDecorators370(DeleteWebhookTool);
|
|
25453
25525
|
|
|
25454
25526
|
// src/umb-management-api/tools/webhook/put/update-webhook.ts
|
|
25455
25527
|
import { z as z153 } from "zod";
|
|
25456
25528
|
import {
|
|
25457
|
-
CAPTURE_RAW_HTTP_RESPONSE as
|
|
25458
|
-
executeVoidApiCall as
|
|
25459
|
-
withStandardDecorators as
|
|
25529
|
+
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE340,
|
|
25530
|
+
executeVoidApiCall as executeVoidApiCall102,
|
|
25531
|
+
withStandardDecorators as withStandardDecorators371
|
|
25460
25532
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
25461
25533
|
var updateWebhookSchema = z153.object({
|
|
25462
25534
|
id: putWebhookByIdParams.shape.id,
|
|
@@ -25469,18 +25541,18 @@ var UpdateWebhookTool = {
|
|
|
25469
25541
|
annotations: { idempotentHint: true },
|
|
25470
25542
|
slices: ["update"],
|
|
25471
25543
|
handler: (async (model) => {
|
|
25472
|
-
return
|
|
25473
|
-
(client) => client.putWebhookById(model.id, model.data,
|
|
25544
|
+
return executeVoidApiCall102(
|
|
25545
|
+
(client) => client.putWebhookById(model.id, model.data, CAPTURE_RAW_HTTP_RESPONSE340)
|
|
25474
25546
|
);
|
|
25475
25547
|
})
|
|
25476
25548
|
};
|
|
25477
|
-
var update_webhook_default =
|
|
25549
|
+
var update_webhook_default = withStandardDecorators371(UpdateWebhookTool);
|
|
25478
25550
|
|
|
25479
25551
|
// src/umb-management-api/tools/webhook/get/get-webhook-events.ts
|
|
25480
25552
|
import {
|
|
25481
|
-
CAPTURE_RAW_HTTP_RESPONSE as
|
|
25553
|
+
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE341,
|
|
25482
25554
|
executeGetApiCall as executeGetApiCall177,
|
|
25483
|
-
withStandardDecorators as
|
|
25555
|
+
withStandardDecorators as withStandardDecorators372
|
|
25484
25556
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
25485
25557
|
var GetWebhookEventsTool = {
|
|
25486
25558
|
name: "get-webhook-events",
|
|
@@ -25491,17 +25563,17 @@ var GetWebhookEventsTool = {
|
|
|
25491
25563
|
slices: ["list"],
|
|
25492
25564
|
handler: (async () => {
|
|
25493
25565
|
return executeGetApiCall177(
|
|
25494
|
-
(client) => client.getWebhookEvents(void 0,
|
|
25566
|
+
(client) => client.getWebhookEvents(void 0, CAPTURE_RAW_HTTP_RESPONSE341)
|
|
25495
25567
|
);
|
|
25496
25568
|
})
|
|
25497
25569
|
};
|
|
25498
|
-
var get_webhook_events_default =
|
|
25570
|
+
var get_webhook_events_default = withStandardDecorators372(GetWebhookEventsTool);
|
|
25499
25571
|
|
|
25500
25572
|
// src/umb-management-api/tools/webhook/get/get-all-webhook-logs.ts
|
|
25501
25573
|
import {
|
|
25502
|
-
CAPTURE_RAW_HTTP_RESPONSE as
|
|
25574
|
+
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE342,
|
|
25503
25575
|
executeGetApiCall as executeGetApiCall178,
|
|
25504
|
-
withStandardDecorators as
|
|
25576
|
+
withStandardDecorators as withStandardDecorators373
|
|
25505
25577
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
25506
25578
|
var GetAllWebhookLogsTool = {
|
|
25507
25579
|
name: "get-all-webhook-logs",
|
|
@@ -25512,18 +25584,18 @@ var GetAllWebhookLogsTool = {
|
|
|
25512
25584
|
slices: ["list"],
|
|
25513
25585
|
handler: (async (params) => {
|
|
25514
25586
|
return executeGetApiCall178(
|
|
25515
|
-
(client) => client.getWebhookLogs(params,
|
|
25587
|
+
(client) => client.getWebhookLogs(params, CAPTURE_RAW_HTTP_RESPONSE342)
|
|
25516
25588
|
);
|
|
25517
25589
|
})
|
|
25518
25590
|
};
|
|
25519
|
-
var get_all_webhook_logs_default =
|
|
25591
|
+
var get_all_webhook_logs_default = withStandardDecorators373(GetAllWebhookLogsTool);
|
|
25520
25592
|
|
|
25521
25593
|
// src/umb-management-api/tools/webhook/post/create-webhook.ts
|
|
25522
25594
|
import { z as z154 } from "zod";
|
|
25523
25595
|
import {
|
|
25524
25596
|
createToolResult as createToolResult46,
|
|
25525
25597
|
createToolResultError as createToolResultError31,
|
|
25526
|
-
withStandardDecorators as
|
|
25598
|
+
withStandardDecorators as withStandardDecorators374
|
|
25527
25599
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
25528
25600
|
var createWebhookOutputSchema = z154.object({
|
|
25529
25601
|
message: z154.string(),
|
|
@@ -25565,13 +25637,13 @@ var CreateWebhookTool = {
|
|
|
25565
25637
|
}
|
|
25566
25638
|
})
|
|
25567
25639
|
};
|
|
25568
|
-
var create_webhook_default =
|
|
25640
|
+
var create_webhook_default = withStandardDecorators374(CreateWebhookTool);
|
|
25569
25641
|
|
|
25570
25642
|
// src/umb-management-api/tools/webhook/get/get-webhook-logs-by-id.ts
|
|
25571
25643
|
import {
|
|
25572
|
-
CAPTURE_RAW_HTTP_RESPONSE as
|
|
25644
|
+
CAPTURE_RAW_HTTP_RESPONSE as CAPTURE_RAW_HTTP_RESPONSE343,
|
|
25573
25645
|
executeGetApiCall as executeGetApiCall179,
|
|
25574
|
-
withStandardDecorators as
|
|
25646
|
+
withStandardDecorators as withStandardDecorators375
|
|
25575
25647
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
25576
25648
|
var GetWebhookLogsTool = {
|
|
25577
25649
|
name: "get-webhook-logs",
|
|
@@ -25582,11 +25654,11 @@ var GetWebhookLogsTool = {
|
|
|
25582
25654
|
slices: ["read"],
|
|
25583
25655
|
handler: (async ({ id }) => {
|
|
25584
25656
|
return executeGetApiCall179(
|
|
25585
|
-
(client) => client.getWebhookByIdLogs(id, void 0,
|
|
25657
|
+
(client) => client.getWebhookByIdLogs(id, void 0, CAPTURE_RAW_HTTP_RESPONSE343)
|
|
25586
25658
|
);
|
|
25587
25659
|
})
|
|
25588
25660
|
};
|
|
25589
|
-
var get_webhook_logs_by_id_default =
|
|
25661
|
+
var get_webhook_logs_by_id_default = withStandardDecorators375(GetWebhookLogsTool);
|
|
25590
25662
|
|
|
25591
25663
|
// src/umb-management-api/tools/webhook/index.ts
|
|
25592
25664
|
var WebhookCollection = {
|
|
@@ -25780,4 +25852,4 @@ export {
|
|
|
25780
25852
|
allModeNames,
|
|
25781
25853
|
allSliceNames
|
|
25782
25854
|
};
|
|
25783
|
-
//# sourceMappingURL=chunk-
|
|
25855
|
+
//# sourceMappingURL=chunk-KQR2L2F3.js.map
|