@umbraco-cms/mcp-dev 18.1.12 → 18.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/{chunk-FYAOUFDE.cjs → chunk-5OCJQREU.cjs} +1038 -576
- package/dist/chunk-5OCJQREU.cjs.map +1 -0
- package/dist/{chunk-YZZKYEAE.js → chunk-7SIEQUOL.js} +3144 -2682
- package/dist/chunk-7SIEQUOL.js.map +1 -0
- package/dist/collections.cjs +2 -2
- package/dist/collections.js +1 -1
- package/dist/index.cjs +96 -100
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +11 -15
- package/dist/index.js.map +1 -1
- package/dist/tool-types.d.ts +389 -184
- package/package.json +3 -3
- package/dist/chunk-FYAOUFDE.cjs.map +0 -1
- package/dist/chunk-YZZKYEAE.js.map +0 -1
|
@@ -414,7 +414,7 @@ var getUmbracoManagementAPI = () => {
|
|
|
414
414
|
options
|
|
415
415
|
);
|
|
416
416
|
};
|
|
417
|
-
const
|
|
417
|
+
const putDocumentByIdValidate = (id, validateUpdateDocumentRequestModel, options) => {
|
|
418
418
|
return UmbracoManagementClient(
|
|
419
419
|
{
|
|
420
420
|
url: `/umbraco/management/api/v1.1/document/${id}/validate`,
|
|
@@ -5120,7 +5120,7 @@ var getUmbracoManagementAPI = () => {
|
|
|
5120
5120
|
options
|
|
5121
5121
|
);
|
|
5122
5122
|
};
|
|
5123
|
-
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, putUmbracoManagementApiV11DocumentByIdValidate11, 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, putDocumentByIdSortChildren, putDocumentByIdUnpublish, putDocumentByIdUpdateAndPublish, getDocumentAreReferenced, getDocumentConfiguration, postDocumentCreateAndPublish, putDocumentRootSortChildren, putDocumentSort, getDocumentUrls, postDocumentValidate, getItemDocument, getItemDocumentAncestors, getItemDocumentSearch, deleteRecycleBinDocument, deleteRecycleBinDocumentById, getRecycleBinDocumentByIdOriginalParent, putRecycleBinDocumentByIdRestore, getRecycleBinDocumentChildren, getRecycleBinDocumentReferencedBy, getRecycleBinDocumentRoot, getRecycleBinDocumentSiblings, getTreeDocumentAncestors, getTreeDocumentChildren, getTreeDocumentRoot, getTreeDocumentSiblings, 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, getDocumentTypeAllowedInLibrary, postDocumentTypeAvailableCompositions, getDocumentTypeBatch, getDocumentTypeConfiguration, postDocumentTypeFolder, getDocumentTypeFolderById, deleteDocumentTypeFolderById, putDocumentTypeFolderById, postDocumentTypeImport, getItemDocumentType, getItemDocumentTypeAncestors, getItemDocumentTypeSearch, getTreeDocumentTypeAncestors, getTreeDocumentTypeChildren, getTreeDocumentTypeRoot, getTreeDocumentTypeSearch, getTreeDocumentTypeSiblings, getDocumentVersion, getDocumentVersionById, putDocumentVersionByIdPreventCleanup, postDocumentVersionByIdRollback, postDynamicRootQuery, getDynamicRootSteps, postElement, getElementById, deleteElementById, putElementById, getElementByIdAuditLog, postElementByIdCopy, putElementByIdMove, putElementByIdMoveToRecycleBin, putElementByIdPublish, getElementByIdPublished, getElementByIdReferencedBy, putElementByIdUnpublish, putElementByIdUpdateAndPublish, putElementByIdValidate, getElementAreReferenced, getElementConfiguration, postElementCreateAndPublish, postElementFolder, getElementFolderById, deleteElementFolderById, putElementFolderById, putElementFolderByIdMove, putElementFolderByIdMoveToRecycleBin, getElementFolderByIdReferencedDescendants, postElementValidate, getItemElement, getItemElementAncestors, getItemElementFolder, getItemElementSearch, deleteRecycleBinElement, deleteRecycleBinElementById, getRecycleBinElementByIdOriginalParent, putRecycleBinElementByIdRestore, getRecycleBinElementChildren, deleteRecycleBinElementFolderById, getRecycleBinElementFolderByIdOriginalParent, putRecycleBinElementFolderByIdRestore, getRecycleBinElementReferencedBy, getRecycleBinElementRoot, getRecycleBinElementSiblings, getTreeElementAncestors, getTreeElementChildren, getTreeElementRoot, getTreeElementSiblings, getElementVersion, getElementVersionById, putElementVersionByIdPreventCleanup, postElementVersionByIdRollback, 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, getCollectionMedia, getItemMedia, getItemMediaAncestors, getItemMediaSearch, postMedia, getMediaById, deleteMediaById, putMediaById, getMediaByIdAuditLog, putMediaByIdMove, putMediaByIdMoveToRecycleBin, getMediaByIdReferencedBy, getMediaByIdReferencedDescendants, putMediaByIdSortChildren, putMediaByIdValidate, getMediaAreReferenced, getMediaConfiguration, putMediaRootSortChildren, putMediaSort, getMediaUrls, postMediaValidate, deleteRecycleBinMedia, deleteRecycleBinMediaById, getRecycleBinMediaByIdOriginalParent, putRecycleBinMediaByIdRestore, getRecycleBinMediaChildren, getRecycleBinMediaReferencedBy, getRecycleBinMediaRoot, getRecycleBinMediaSiblings, getTreeMediaAncestors, getTreeMediaChildren, getTreeMediaRoot, getTreeMediaSiblings, 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, getFilterMember, getItemMember, getItemMemberAncestors, getItemMemberSearch, postMember, getMemberById, deleteMemberById, putMemberById, getMemberByIdReferencedBy, getMemberByIdReferencedDescendants, putMemberByIdValidate, getMemberAreReferenced, postMemberValidate, 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, 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, getProfilingStatus, putProfilingStatus, getPropertyTypeIsUsed, postPublishedCacheRebuild, getPublishedCacheRebuildStatus, postPublishedCacheReload, getRedirectManagement, getRedirectManagementById, deleteRedirectManagementById, getRedirectManagementStatus, postRedirectManagementStatus, getRelationByRelationTypeId, getItemRelationType, getRelationType, getRelationTypeById, 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, getFilterUser, getItemUser, deleteUser, postUser, getUser, getUserById, deleteUserById, putUserById, getUserById2fa, deleteUserById2faByProviderName, getUserByIdCalculateStartNodes, postUserByIdChangePassword, postUserByIdClientCredentials, getUserByIdClientCredentials, deleteUserByIdClientCredentialsByClientId, postUserByIdResetPassword, deleteUserAvatarById, postUserAvatarById, getUserBatch, getUserConfiguration, getUserCurrent, getUserCurrent2fa, deleteUserCurrent2faByProviderName, postUserCurrent2faByProviderName, getUserCurrent2faByProviderName, deleteUserCurrentAvatar, postUserCurrentAvatar, postUserCurrentChangePassword, getUserCurrentConfiguration, getUserCurrentLoginProviders, getUserCurrentPermissions, getUserCurrentPermissionsDocument, getUserCurrentPermissionsElement, getUserCurrentPermissionsMedia, putUserCurrentProfile, postUserDisable, postUserEnable, postUserInvite, postUserInviteCreatePassword, postUserInviteResend, postUserInviteVerify, postUserSetUserGroups, postUserUnlock, postUserData, getUserData, putUserData, getUserDataById, deleteUserDataById, getFilterUserGroup, getItemUserGroup, deleteUserGroup, postUserGroup, getUserGroup, getUserGroupById, deleteUserGroupById, putUserGroupById, postUserGroupByIdUsers, deleteUserGroupByIdUsers, getItemWebhook, getWebhook, postWebhook, getWebhookById, deleteWebhookById, putWebhookById, getWebhookByIdLogs, getWebhookEvents, getWebhookLogs };
|
|
5123
|
+
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, putDocumentByIdValidate, 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, putDocumentByIdSortChildren, putDocumentByIdUnpublish, putDocumentByIdUpdateAndPublish, getDocumentAreReferenced, getDocumentConfiguration, postDocumentCreateAndPublish, putDocumentRootSortChildren, putDocumentSort, getDocumentUrls, postDocumentValidate, getItemDocument, getItemDocumentAncestors, getItemDocumentSearch, deleteRecycleBinDocument, deleteRecycleBinDocumentById, getRecycleBinDocumentByIdOriginalParent, putRecycleBinDocumentByIdRestore, getRecycleBinDocumentChildren, getRecycleBinDocumentReferencedBy, getRecycleBinDocumentRoot, getRecycleBinDocumentSiblings, getTreeDocumentAncestors, getTreeDocumentChildren, getTreeDocumentRoot, getTreeDocumentSiblings, 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, getDocumentTypeAllowedInLibrary, postDocumentTypeAvailableCompositions, getDocumentTypeBatch, getDocumentTypeConfiguration, postDocumentTypeFolder, getDocumentTypeFolderById, deleteDocumentTypeFolderById, putDocumentTypeFolderById, postDocumentTypeImport, getItemDocumentType, getItemDocumentTypeAncestors, getItemDocumentTypeSearch, getTreeDocumentTypeAncestors, getTreeDocumentTypeChildren, getTreeDocumentTypeRoot, getTreeDocumentTypeSearch, getTreeDocumentTypeSiblings, getDocumentVersion, getDocumentVersionById, putDocumentVersionByIdPreventCleanup, postDocumentVersionByIdRollback, postDynamicRootQuery, getDynamicRootSteps, postElement, getElementById, deleteElementById, putElementById, getElementByIdAuditLog, postElementByIdCopy, putElementByIdMove, putElementByIdMoveToRecycleBin, putElementByIdPublish, getElementByIdPublished, getElementByIdReferencedBy, putElementByIdUnpublish, putElementByIdUpdateAndPublish, putElementByIdValidate, getElementAreReferenced, getElementConfiguration, postElementCreateAndPublish, postElementFolder, getElementFolderById, deleteElementFolderById, putElementFolderById, putElementFolderByIdMove, putElementFolderByIdMoveToRecycleBin, getElementFolderByIdReferencedDescendants, postElementValidate, getItemElement, getItemElementAncestors, getItemElementFolder, getItemElementSearch, deleteRecycleBinElement, deleteRecycleBinElementById, getRecycleBinElementByIdOriginalParent, putRecycleBinElementByIdRestore, getRecycleBinElementChildren, deleteRecycleBinElementFolderById, getRecycleBinElementFolderByIdOriginalParent, putRecycleBinElementFolderByIdRestore, getRecycleBinElementReferencedBy, getRecycleBinElementRoot, getRecycleBinElementSiblings, getTreeElementAncestors, getTreeElementChildren, getTreeElementRoot, getTreeElementSiblings, getElementVersion, getElementVersionById, putElementVersionByIdPreventCleanup, postElementVersionByIdRollback, 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, getCollectionMedia, getItemMedia, getItemMediaAncestors, getItemMediaSearch, postMedia, getMediaById, deleteMediaById, putMediaById, getMediaByIdAuditLog, putMediaByIdMove, putMediaByIdMoveToRecycleBin, getMediaByIdReferencedBy, getMediaByIdReferencedDescendants, putMediaByIdSortChildren, putMediaByIdValidate, getMediaAreReferenced, getMediaConfiguration, putMediaRootSortChildren, putMediaSort, getMediaUrls, postMediaValidate, deleteRecycleBinMedia, deleteRecycleBinMediaById, getRecycleBinMediaByIdOriginalParent, putRecycleBinMediaByIdRestore, getRecycleBinMediaChildren, getRecycleBinMediaReferencedBy, getRecycleBinMediaRoot, getRecycleBinMediaSiblings, getTreeMediaAncestors, getTreeMediaChildren, getTreeMediaRoot, getTreeMediaSiblings, 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, getFilterMember, getItemMember, getItemMemberAncestors, getItemMemberSearch, postMember, getMemberById, deleteMemberById, putMemberById, getMemberByIdReferencedBy, getMemberByIdReferencedDescendants, putMemberByIdValidate, getMemberAreReferenced, postMemberValidate, 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, 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, getProfilingStatus, putProfilingStatus, getPropertyTypeIsUsed, postPublishedCacheRebuild, getPublishedCacheRebuildStatus, postPublishedCacheReload, getRedirectManagement, getRedirectManagementById, deleteRedirectManagementById, getRedirectManagementStatus, postRedirectManagementStatus, getRelationByRelationTypeId, getItemRelationType, getRelationType, getRelationTypeById, 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, getFilterUser, getItemUser, deleteUser, postUser, getUser, getUserById, deleteUserById, putUserById, getUserById2fa, deleteUserById2faByProviderName, getUserByIdCalculateStartNodes, postUserByIdChangePassword, postUserByIdClientCredentials, getUserByIdClientCredentials, deleteUserByIdClientCredentialsByClientId, postUserByIdResetPassword, deleteUserAvatarById, postUserAvatarById, getUserBatch, getUserConfiguration, getUserCurrent, getUserCurrent2fa, deleteUserCurrent2faByProviderName, postUserCurrent2faByProviderName, getUserCurrent2faByProviderName, deleteUserCurrentAvatar, postUserCurrentAvatar, postUserCurrentChangePassword, getUserCurrentConfiguration, getUserCurrentLoginProviders, getUserCurrentPermissions, getUserCurrentPermissionsDocument, getUserCurrentPermissionsElement, getUserCurrentPermissionsMedia, putUserCurrentProfile, postUserDisable, postUserEnable, postUserInvite, postUserInviteCreatePassword, postUserInviteResend, postUserInviteVerify, postUserSetUserGroups, postUserUnlock, postUserData, getUserData, putUserData, getUserDataById, deleteUserDataById, getFilterUserGroup, getItemUserGroup, deleteUserGroup, postUserGroup, getUserGroup, getUserGroupById, deleteUserGroupById, putUserGroupById, postUserGroupByIdUsers, deleteUserGroupByIdUsers, getItemWebhook, getWebhook, postWebhook, getWebhookById, deleteWebhookById, putWebhookById, getWebhookByIdLogs, getWebhookEvents, getWebhookLogs };
|
|
5124
5124
|
};
|
|
5125
5125
|
|
|
5126
5126
|
// src/umbraco-api/api/temporary-file/index.ts
|
|
@@ -5195,6 +5195,7 @@ var UmbracoManagementClient3 = (_class = class {
|
|
|
5195
5195
|
}, _class.__initStatic(), _class);
|
|
5196
5196
|
|
|
5197
5197
|
// src/umbraco-api/runtime-context.ts
|
|
5198
|
+
|
|
5198
5199
|
var umbracoVersion = null;
|
|
5199
5200
|
var allowFilePathUploads = false;
|
|
5200
5201
|
function setAllowFilePathUploads(allow) {
|
|
@@ -5206,16 +5207,25 @@ function isFilePathUploadAllowed() {
|
|
|
5206
5207
|
function setUmbracoVersion(version) {
|
|
5207
5208
|
umbracoVersion = _nullishCoalesce(version, () => ( null));
|
|
5208
5209
|
}
|
|
5210
|
+
function isUmbracoAtLeast(major, minor, requestVersion) {
|
|
5211
|
+
const version = _nullishCoalesce(_nullishCoalesce(requestVersion, () => ( _optionalChain([_mcpserversdk.getActiveRequestContext.call(void 0, ), 'optionalAccess', _2 => _2[_mcpserversdk.UMBRACO_VERSION_CONTEXT_KEY]]))), () => ( umbracoVersion));
|
|
5212
|
+
if (!version) return false;
|
|
5213
|
+
const [maj, min] = version.split(".").map((n) => parseInt(n, 10));
|
|
5214
|
+
if (Number.isNaN(maj) || Number.isNaN(min)) return false;
|
|
5215
|
+
if (maj > major) return true;
|
|
5216
|
+
if (maj < major) return false;
|
|
5217
|
+
return min >= minor;
|
|
5218
|
+
}
|
|
5209
5219
|
|
|
5210
5220
|
// src/umbraco-api/api/umbracoManagementAPI.zod.ts
|
|
5211
5221
|
var _zod = require('zod'); var zod = _interopRequireWildcard(_zod);
|
|
5212
5222
|
var getCultureQueryTakeDefault = 100;
|
|
5213
5223
|
var getCultureQueryParams = zod.object({
|
|
5214
|
-
"skip": zod.coerce.number().optional(),
|
|
5215
|
-
"take": zod.coerce.number().default(getCultureQueryTakeDefault)
|
|
5224
|
+
"skip": zod.coerce.number().int().optional(),
|
|
5225
|
+
"take": zod.coerce.number().int().default(getCultureQueryTakeDefault)
|
|
5216
5226
|
});
|
|
5217
5227
|
var getCultureResponse = zod.object({
|
|
5218
|
-
"total": zod.
|
|
5228
|
+
"total": zod.int(),
|
|
5219
5229
|
"items": zod.array(zod.object({
|
|
5220
5230
|
"name": zod.string(),
|
|
5221
5231
|
"englishName": zod.string()
|
|
@@ -5294,11 +5304,11 @@ var getDataTypeByIdReferencedByParams = zod.object({
|
|
|
5294
5304
|
});
|
|
5295
5305
|
var getDataTypeByIdReferencedByQueryTakeDefault = 20;
|
|
5296
5306
|
var getDataTypeByIdReferencedByQueryParams = zod.object({
|
|
5297
|
-
"skip": zod.coerce.number().optional(),
|
|
5298
|
-
"take": zod.coerce.number().default(getDataTypeByIdReferencedByQueryTakeDefault)
|
|
5307
|
+
"skip": zod.coerce.number().int().optional(),
|
|
5308
|
+
"take": zod.coerce.number().int().default(getDataTypeByIdReferencedByQueryTakeDefault)
|
|
5299
5309
|
});
|
|
5300
5310
|
var getDataTypeByIdReferencedByResponse = zod.object({
|
|
5301
|
-
"total": zod.
|
|
5311
|
+
"total": zod.int(),
|
|
5302
5312
|
"items": zod.array(zod.union([zod.object({
|
|
5303
5313
|
"$type": zod.enum(["DefaultReferenceResponseModel"]),
|
|
5304
5314
|
"type": zod.string().nullish(),
|
|
@@ -5415,7 +5425,7 @@ var getDataTypeBatchQueryParams = zod.object({
|
|
|
5415
5425
|
"id": zod.array(zod.guid()).optional()
|
|
5416
5426
|
});
|
|
5417
5427
|
var getDataTypeBatchResponse = zod.object({
|
|
5418
|
-
"total": zod.
|
|
5428
|
+
"total": zod.int(),
|
|
5419
5429
|
"items": zod.array(zod.object({
|
|
5420
5430
|
"id": zod.guid(),
|
|
5421
5431
|
"isDeletable": zod.boolean(),
|
|
@@ -5465,7 +5475,7 @@ var getDataTypeSchemasBatchQueryParams = zod.object({
|
|
|
5465
5475
|
"id": zod.array(zod.guid()).optional()
|
|
5466
5476
|
});
|
|
5467
5477
|
var getDataTypeSchemasBatchResponse = zod.object({
|
|
5468
|
-
"total": zod.
|
|
5478
|
+
"total": zod.int(),
|
|
5469
5479
|
"items": zod.array(zod.object({
|
|
5470
5480
|
"id": zod.guid(),
|
|
5471
5481
|
"valueTypeName": zod.string().nullish(),
|
|
@@ -5475,14 +5485,14 @@ var getDataTypeSchemasBatchResponse = zod.object({
|
|
|
5475
5485
|
});
|
|
5476
5486
|
var getFilterDataTypeQueryTakeDefault = 100;
|
|
5477
5487
|
var getFilterDataTypeQueryParams = zod.object({
|
|
5478
|
-
"skip": zod.coerce.number().optional(),
|
|
5479
|
-
"take": zod.coerce.number().default(getFilterDataTypeQueryTakeDefault),
|
|
5488
|
+
"skip": zod.coerce.number().int().optional(),
|
|
5489
|
+
"take": zod.coerce.number().int().default(getFilterDataTypeQueryTakeDefault),
|
|
5480
5490
|
"name": zod.string().optional(),
|
|
5481
5491
|
"editorUiAlias": zod.string().optional(),
|
|
5482
5492
|
"editorAlias": zod.string().optional()
|
|
5483
5493
|
});
|
|
5484
5494
|
var getFilterDataTypeResponse = zod.object({
|
|
5485
|
-
"total": zod.
|
|
5495
|
+
"total": zod.int(),
|
|
5486
5496
|
"items": zod.array(zod.object({
|
|
5487
5497
|
"editorUiAlias": zod.string().nullish(),
|
|
5488
5498
|
"editorAlias": zod.string(),
|
|
@@ -5525,8 +5535,8 @@ var getItemDataTypeAncestorsResponse = zod.array(getItemDataTypeAncestorsRespons
|
|
|
5525
5535
|
var getItemDataTypeSearchQueryTakeDefault = 100;
|
|
5526
5536
|
var getItemDataTypeSearchQueryParams = zod.object({
|
|
5527
5537
|
"query": zod.string().optional(),
|
|
5528
|
-
"skip": zod.coerce.number().optional(),
|
|
5529
|
-
"take": zod.coerce.number().default(getItemDataTypeSearchQueryTakeDefault)
|
|
5538
|
+
"skip": zod.coerce.number().int().optional(),
|
|
5539
|
+
"take": zod.coerce.number().int().default(getItemDataTypeSearchQueryTakeDefault)
|
|
5530
5540
|
});
|
|
5531
5541
|
var getItemDataTypeSearchResponse = zod.object({
|
|
5532
5542
|
"items": zod.array(zod.object({
|
|
@@ -5539,7 +5549,7 @@ var getItemDataTypeSearchResponse = zod.object({
|
|
|
5539
5549
|
"alias": zod.string()
|
|
5540
5550
|
}))
|
|
5541
5551
|
})),
|
|
5542
|
-
"total": zod.
|
|
5552
|
+
"total": zod.int()
|
|
5543
5553
|
});
|
|
5544
5554
|
var getTreeDataTypeAncestorsQueryParams = zod.object({
|
|
5545
5555
|
"descendantId": zod.guid().optional()
|
|
@@ -5563,12 +5573,12 @@ var getTreeDataTypeAncestorsResponse = zod.array(getTreeDataTypeAncestorsRespons
|
|
|
5563
5573
|
var getTreeDataTypeChildrenQueryTakeDefault = 100;
|
|
5564
5574
|
var getTreeDataTypeChildrenQueryParams = zod.object({
|
|
5565
5575
|
"parentId": zod.guid().optional(),
|
|
5566
|
-
"skip": zod.coerce.number().optional(),
|
|
5567
|
-
"take": zod.coerce.number().default(getTreeDataTypeChildrenQueryTakeDefault),
|
|
5576
|
+
"skip": zod.coerce.number().int().optional(),
|
|
5577
|
+
"take": zod.coerce.number().int().default(getTreeDataTypeChildrenQueryTakeDefault),
|
|
5568
5578
|
"foldersOnly": zod.coerce.boolean().optional()
|
|
5569
5579
|
});
|
|
5570
5580
|
var getTreeDataTypeChildrenResponse = zod.object({
|
|
5571
|
-
"total": zod.
|
|
5581
|
+
"total": zod.int(),
|
|
5572
5582
|
"items": zod.array(zod.object({
|
|
5573
5583
|
"editorUiAlias": zod.string().nullish(),
|
|
5574
5584
|
"isDeletable": zod.boolean(),
|
|
@@ -5587,12 +5597,12 @@ var getTreeDataTypeChildrenResponse = zod.object({
|
|
|
5587
5597
|
});
|
|
5588
5598
|
var getTreeDataTypeRootQueryTakeDefault = 100;
|
|
5589
5599
|
var getTreeDataTypeRootQueryParams = zod.object({
|
|
5590
|
-
"skip": zod.coerce.number().optional(),
|
|
5591
|
-
"take": zod.coerce.number().default(getTreeDataTypeRootQueryTakeDefault),
|
|
5600
|
+
"skip": zod.coerce.number().int().optional(),
|
|
5601
|
+
"take": zod.coerce.number().int().default(getTreeDataTypeRootQueryTakeDefault),
|
|
5592
5602
|
"foldersOnly": zod.coerce.boolean().optional()
|
|
5593
5603
|
});
|
|
5594
5604
|
var getTreeDataTypeRootResponse = zod.object({
|
|
5595
|
-
"total": zod.
|
|
5605
|
+
"total": zod.int(),
|
|
5596
5606
|
"items": zod.array(zod.object({
|
|
5597
5607
|
"editorUiAlias": zod.string().nullish(),
|
|
5598
5608
|
"isDeletable": zod.boolean(),
|
|
@@ -5612,12 +5622,12 @@ var getTreeDataTypeRootResponse = zod.object({
|
|
|
5612
5622
|
var getTreeDataTypeSearchQueryTakeDefault = 100;
|
|
5613
5623
|
var getTreeDataTypeSearchQueryParams = zod.object({
|
|
5614
5624
|
"query": zod.string().optional(),
|
|
5615
|
-
"skip": zod.coerce.number().optional(),
|
|
5616
|
-
"take": zod.coerce.number().default(getTreeDataTypeSearchQueryTakeDefault),
|
|
5625
|
+
"skip": zod.coerce.number().int().optional(),
|
|
5626
|
+
"take": zod.coerce.number().int().default(getTreeDataTypeSearchQueryTakeDefault),
|
|
5617
5627
|
"itemKind": zod.string().optional()
|
|
5618
5628
|
});
|
|
5619
5629
|
var getTreeDataTypeSearchResponse = zod.object({
|
|
5620
|
-
"total": zod.
|
|
5630
|
+
"total": zod.int(),
|
|
5621
5631
|
"items": zod.array(zod.object({
|
|
5622
5632
|
"editorUiAlias": zod.string().nullish(),
|
|
5623
5633
|
"isDeletable": zod.boolean(),
|
|
@@ -5636,13 +5646,13 @@ var getTreeDataTypeSearchResponse = zod.object({
|
|
|
5636
5646
|
});
|
|
5637
5647
|
var getTreeDataTypeSiblingsQueryParams = zod.object({
|
|
5638
5648
|
"target": zod.guid().optional(),
|
|
5639
|
-
"before": zod.coerce.number().optional(),
|
|
5640
|
-
"after": zod.coerce.number().optional(),
|
|
5649
|
+
"before": zod.coerce.number().int().optional(),
|
|
5650
|
+
"after": zod.coerce.number().int().optional(),
|
|
5641
5651
|
"foldersOnly": zod.coerce.boolean().optional()
|
|
5642
5652
|
});
|
|
5643
5653
|
var getTreeDataTypeSiblingsResponse = zod.object({
|
|
5644
|
-
"totalBefore": zod.
|
|
5645
|
-
"totalAfter": zod.
|
|
5654
|
+
"totalBefore": zod.int(),
|
|
5655
|
+
"totalAfter": zod.int(),
|
|
5646
5656
|
"items": zod.array(zod.object({
|
|
5647
5657
|
"editorUiAlias": zod.string().nullish(),
|
|
5648
5658
|
"isDeletable": zod.boolean(),
|
|
@@ -5662,11 +5672,11 @@ var getTreeDataTypeSiblingsResponse = zod.object({
|
|
|
5662
5672
|
var getDictionaryQueryTakeDefault = 100;
|
|
5663
5673
|
var getDictionaryQueryParams = zod.object({
|
|
5664
5674
|
"filter": zod.string().optional(),
|
|
5665
|
-
"skip": zod.coerce.number().optional(),
|
|
5666
|
-
"take": zod.coerce.number().default(getDictionaryQueryTakeDefault)
|
|
5675
|
+
"skip": zod.coerce.number().int().optional(),
|
|
5676
|
+
"take": zod.coerce.number().int().default(getDictionaryQueryTakeDefault)
|
|
5667
5677
|
});
|
|
5668
5678
|
var getDictionaryResponse = zod.object({
|
|
5669
|
-
"total": zod.
|
|
5679
|
+
"total": zod.int(),
|
|
5670
5680
|
"items": zod.array(zod.object({
|
|
5671
5681
|
"name": zod.string().nullish(),
|
|
5672
5682
|
"id": zod.guid(),
|
|
@@ -5768,11 +5778,11 @@ var getTreeDictionaryAncestorsResponse = zod.array(getTreeDictionaryAncestorsRes
|
|
|
5768
5778
|
var getTreeDictionaryChildrenQueryTakeDefault = 100;
|
|
5769
5779
|
var getTreeDictionaryChildrenQueryParams = zod.object({
|
|
5770
5780
|
"parentId": zod.guid().optional(),
|
|
5771
|
-
"skip": zod.coerce.number().optional(),
|
|
5772
|
-
"take": zod.coerce.number().default(getTreeDictionaryChildrenQueryTakeDefault)
|
|
5781
|
+
"skip": zod.coerce.number().int().optional(),
|
|
5782
|
+
"take": zod.coerce.number().int().default(getTreeDictionaryChildrenQueryTakeDefault)
|
|
5773
5783
|
});
|
|
5774
5784
|
var getTreeDictionaryChildrenResponse = zod.object({
|
|
5775
|
-
"total": zod.
|
|
5785
|
+
"total": zod.int(),
|
|
5776
5786
|
"items": zod.array(zod.object({
|
|
5777
5787
|
"name": zod.string(),
|
|
5778
5788
|
"id": zod.guid(),
|
|
@@ -5787,11 +5797,11 @@ var getTreeDictionaryChildrenResponse = zod.object({
|
|
|
5787
5797
|
});
|
|
5788
5798
|
var getTreeDictionaryRootQueryTakeDefault = 100;
|
|
5789
5799
|
var getTreeDictionaryRootQueryParams = zod.object({
|
|
5790
|
-
"skip": zod.coerce.number().optional(),
|
|
5791
|
-
"take": zod.coerce.number().default(getTreeDictionaryRootQueryTakeDefault)
|
|
5800
|
+
"skip": zod.coerce.number().int().optional(),
|
|
5801
|
+
"take": zod.coerce.number().int().default(getTreeDictionaryRootQueryTakeDefault)
|
|
5792
5802
|
});
|
|
5793
5803
|
var getTreeDictionaryRootResponse = zod.object({
|
|
5794
|
-
"total": zod.
|
|
5804
|
+
"total": zod.int(),
|
|
5795
5805
|
"items": zod.array(zod.object({
|
|
5796
5806
|
"name": zod.string(),
|
|
5797
5807
|
"id": zod.guid(),
|
|
@@ -5804,10 +5814,10 @@ var getTreeDictionaryRootResponse = zod.object({
|
|
|
5804
5814
|
"hasChildren": zod.boolean()
|
|
5805
5815
|
}))
|
|
5806
5816
|
});
|
|
5807
|
-
var
|
|
5817
|
+
var putDocumentByIdValidateParams = zod.object({
|
|
5808
5818
|
"id": zod.guid()
|
|
5809
5819
|
});
|
|
5810
|
-
var
|
|
5820
|
+
var putDocumentByIdValidateBody = zod.object({
|
|
5811
5821
|
"cultures": zod.array(zod.string()).nullish(),
|
|
5812
5822
|
"template": zod.union([zod.null(), zod.object({
|
|
5813
5823
|
"id": zod.guid()
|
|
@@ -5824,7 +5834,7 @@ var putUmbracoManagementApiV11DocumentByIdValidate11Body = zod.object({
|
|
|
5824
5834
|
"name": zod.string()
|
|
5825
5835
|
}))
|
|
5826
5836
|
});
|
|
5827
|
-
var
|
|
5837
|
+
var putDocumentByIdValidateResponse = zod.unknown();
|
|
5828
5838
|
var getCollectionDocumentByIdParams = zod.object({
|
|
5829
5839
|
"id": zod.guid()
|
|
5830
5840
|
});
|
|
@@ -5836,11 +5846,11 @@ var getCollectionDocumentByIdQueryParams = zod.object({
|
|
|
5836
5846
|
"orderCulture": zod.string().optional(),
|
|
5837
5847
|
"orderDirection": zod.enum(["Ascending", "Descending"]).optional(),
|
|
5838
5848
|
"filter": zod.string().optional(),
|
|
5839
|
-
"skip": zod.coerce.number().optional(),
|
|
5840
|
-
"take": zod.coerce.number().default(getCollectionDocumentByIdQueryTakeDefault)
|
|
5849
|
+
"skip": zod.coerce.number().int().optional(),
|
|
5850
|
+
"take": zod.coerce.number().int().default(getCollectionDocumentByIdQueryTakeDefault)
|
|
5841
5851
|
});
|
|
5842
5852
|
var getCollectionDocumentByIdResponse = zod.object({
|
|
5843
|
-
"total": zod.
|
|
5853
|
+
"total": zod.int(),
|
|
5844
5854
|
"items": zod.array(zod.object({
|
|
5845
5855
|
"documentType": zod.object({
|
|
5846
5856
|
"id": zod.guid(),
|
|
@@ -5857,7 +5867,8 @@ var getCollectionDocumentByIdResponse = zod.object({
|
|
|
5857
5867
|
})),
|
|
5858
5868
|
"updater": zod.string().nullish(),
|
|
5859
5869
|
"creator": zod.string().nullish(),
|
|
5860
|
-
"sortOrder": zod.
|
|
5870
|
+
"sortOrder": zod.int(),
|
|
5871
|
+
"hasChildren": zod.boolean().optional(),
|
|
5861
5872
|
"id": zod.guid(),
|
|
5862
5873
|
"flags": zod.array(zod.object({
|
|
5863
5874
|
"alias": zod.string()
|
|
@@ -5983,11 +5994,11 @@ var getDocumentByIdAuditLogQueryTakeDefault = 100;
|
|
|
5983
5994
|
var getDocumentByIdAuditLogQueryParams = zod.object({
|
|
5984
5995
|
"orderDirection": zod.enum(["Ascending", "Descending"]).optional(),
|
|
5985
5996
|
"sinceDate": zod.iso.datetime({ "local": true, "offset": true }).optional(),
|
|
5986
|
-
"skip": zod.coerce.number().optional(),
|
|
5987
|
-
"take": zod.coerce.number().default(getDocumentByIdAuditLogQueryTakeDefault)
|
|
5997
|
+
"skip": zod.coerce.number().int().optional(),
|
|
5998
|
+
"take": zod.coerce.number().int().default(getDocumentByIdAuditLogQueryTakeDefault)
|
|
5988
5999
|
});
|
|
5989
6000
|
var getDocumentByIdAuditLogResponse = zod.object({
|
|
5990
|
-
"total": zod.
|
|
6001
|
+
"total": zod.int(),
|
|
5991
6002
|
"items": zod.array(zod.object({
|
|
5992
6003
|
"user": zod.object({
|
|
5993
6004
|
"id": zod.guid()
|
|
@@ -6003,11 +6014,11 @@ var getDocumentByIdAvailableSegmentOptionsParams = zod.object({
|
|
|
6003
6014
|
});
|
|
6004
6015
|
var getDocumentByIdAvailableSegmentOptionsQueryTakeDefault = 100;
|
|
6005
6016
|
var getDocumentByIdAvailableSegmentOptionsQueryParams = zod.object({
|
|
6006
|
-
"skip": zod.coerce.number().optional(),
|
|
6007
|
-
"take": zod.coerce.number().default(getDocumentByIdAvailableSegmentOptionsQueryTakeDefault)
|
|
6017
|
+
"skip": zod.coerce.number().int().optional(),
|
|
6018
|
+
"take": zod.coerce.number().int().default(getDocumentByIdAvailableSegmentOptionsQueryTakeDefault)
|
|
6008
6019
|
});
|
|
6009
6020
|
var getDocumentByIdAvailableSegmentOptionsResponse = zod.object({
|
|
6010
|
-
"total": zod.
|
|
6021
|
+
"total": zod.int(),
|
|
6011
6022
|
"items": zod.array(zod.object({
|
|
6012
6023
|
"name": zod.string(),
|
|
6013
6024
|
"alias": zod.string(),
|
|
@@ -6097,6 +6108,7 @@ var getDocumentByIdPreviewUrlQueryParams = zod.object({
|
|
|
6097
6108
|
var getDocumentByIdPreviewUrlResponse = zod.object({
|
|
6098
6109
|
"message": zod.string().nullable(),
|
|
6099
6110
|
"provider": zod.string(),
|
|
6111
|
+
"isExternal": zod.boolean().optional(),
|
|
6100
6112
|
"culture": zod.string().nullable(),
|
|
6101
6113
|
"url": zod.string().nullable()
|
|
6102
6114
|
});
|
|
@@ -6251,11 +6263,11 @@ var getDocumentByIdReferencedByParams = zod.object({
|
|
|
6251
6263
|
});
|
|
6252
6264
|
var getDocumentByIdReferencedByQueryTakeDefault = 20;
|
|
6253
6265
|
var getDocumentByIdReferencedByQueryParams = zod.object({
|
|
6254
|
-
"skip": zod.coerce.number().optional(),
|
|
6255
|
-
"take": zod.coerce.number().default(getDocumentByIdReferencedByQueryTakeDefault)
|
|
6266
|
+
"skip": zod.coerce.number().int().optional(),
|
|
6267
|
+
"take": zod.coerce.number().int().default(getDocumentByIdReferencedByQueryTakeDefault)
|
|
6256
6268
|
});
|
|
6257
6269
|
var getDocumentByIdReferencedByResponse = zod.object({
|
|
6258
|
-
"total": zod.
|
|
6270
|
+
"total": zod.int(),
|
|
6259
6271
|
"items": zod.array(zod.union([zod.object({
|
|
6260
6272
|
"$type": zod.enum(["DefaultReferenceResponseModel"]),
|
|
6261
6273
|
"type": zod.string().nullish(),
|
|
@@ -6366,11 +6378,11 @@ var getDocumentByIdReferencedDescendantsParams = zod.object({
|
|
|
6366
6378
|
});
|
|
6367
6379
|
var getDocumentByIdReferencedDescendantsQueryTakeDefault = 20;
|
|
6368
6380
|
var getDocumentByIdReferencedDescendantsQueryParams = zod.object({
|
|
6369
|
-
"skip": zod.coerce.number().optional(),
|
|
6370
|
-
"take": zod.coerce.number().default(getDocumentByIdReferencedDescendantsQueryTakeDefault)
|
|
6381
|
+
"skip": zod.coerce.number().int().optional(),
|
|
6382
|
+
"take": zod.coerce.number().int().default(getDocumentByIdReferencedDescendantsQueryTakeDefault)
|
|
6371
6383
|
});
|
|
6372
6384
|
var getDocumentByIdReferencedDescendantsResponse = zod.object({
|
|
6373
|
-
"total": zod.
|
|
6385
|
+
"total": zod.int(),
|
|
6374
6386
|
"items": zod.array(zod.object({
|
|
6375
6387
|
"id": zod.guid()
|
|
6376
6388
|
}))
|
|
@@ -6415,11 +6427,11 @@ var putDocumentByIdUpdateAndPublishResponse = zod.unknown();
|
|
|
6415
6427
|
var getDocumentAreReferencedQueryTakeDefault = 20;
|
|
6416
6428
|
var getDocumentAreReferencedQueryParams = zod.object({
|
|
6417
6429
|
"id": zod.array(zod.guid()).optional(),
|
|
6418
|
-
"skip": zod.coerce.number().optional(),
|
|
6419
|
-
"take": zod.coerce.number().default(getDocumentAreReferencedQueryTakeDefault)
|
|
6430
|
+
"skip": zod.coerce.number().int().optional(),
|
|
6431
|
+
"take": zod.coerce.number().int().default(getDocumentAreReferencedQueryTakeDefault)
|
|
6420
6432
|
});
|
|
6421
6433
|
var getDocumentAreReferencedResponse = zod.object({
|
|
6422
|
-
"total": zod.
|
|
6434
|
+
"total": zod.int(),
|
|
6423
6435
|
"items": zod.array(zod.object({
|
|
6424
6436
|
"id": zod.guid()
|
|
6425
6437
|
}))
|
|
@@ -6467,7 +6479,7 @@ var putDocumentSortBody = zod.object({
|
|
|
6467
6479
|
})]).optional(),
|
|
6468
6480
|
"sorting": zod.array(zod.object({
|
|
6469
6481
|
"id": zod.guid(),
|
|
6470
|
-
"sortOrder": zod.
|
|
6482
|
+
"sortOrder": zod.int()
|
|
6471
6483
|
}))
|
|
6472
6484
|
});
|
|
6473
6485
|
var putDocumentSortResponse = zod.unknown();
|
|
@@ -6480,6 +6492,7 @@ var getDocumentUrlsResponseItem = zod.object({
|
|
|
6480
6492
|
"urlInfos": zod.array(zod.object({
|
|
6481
6493
|
"message": zod.string().nullable(),
|
|
6482
6494
|
"provider": zod.string(),
|
|
6495
|
+
"isExternal": zod.boolean().optional(),
|
|
6483
6496
|
"culture": zod.string().nullable(),
|
|
6484
6497
|
"url": zod.string().nullable()
|
|
6485
6498
|
}))
|
|
@@ -6581,8 +6594,8 @@ var getItemDocumentSearchQueryParams = zod.object({
|
|
|
6581
6594
|
"query": zod.string().optional(),
|
|
6582
6595
|
"trashed": zod.coerce.boolean().optional(),
|
|
6583
6596
|
"culture": zod.string().optional(),
|
|
6584
|
-
"skip": zod.coerce.number().optional(),
|
|
6585
|
-
"take": zod.coerce.number().default(getItemDocumentSearchQueryTakeDefault),
|
|
6597
|
+
"skip": zod.coerce.number().int().optional(),
|
|
6598
|
+
"take": zod.coerce.number().int().default(getItemDocumentSearchQueryTakeDefault),
|
|
6586
6599
|
"parentId": zod.guid().optional(),
|
|
6587
6600
|
"allowedDocumentTypes": zod.array(zod.guid()).optional(),
|
|
6588
6601
|
"dataTypeId": zod.guid().optional()
|
|
@@ -6616,7 +6629,7 @@ var getItemDocumentSearchResponse = zod.object({
|
|
|
6616
6629
|
"alias": zod.string()
|
|
6617
6630
|
}))
|
|
6618
6631
|
})),
|
|
6619
|
-
"total": zod.
|
|
6632
|
+
"total": zod.int()
|
|
6620
6633
|
});
|
|
6621
6634
|
var deleteRecycleBinDocumentResponse = zod.unknown();
|
|
6622
6635
|
var deleteRecycleBinDocumentByIdParams = zod.object({
|
|
@@ -6641,11 +6654,11 @@ var putRecycleBinDocumentByIdRestoreResponse = zod.unknown();
|
|
|
6641
6654
|
var getRecycleBinDocumentChildrenQueryTakeDefault = 100;
|
|
6642
6655
|
var getRecycleBinDocumentChildrenQueryParams = zod.object({
|
|
6643
6656
|
"parentId": zod.guid().optional(),
|
|
6644
|
-
"skip": zod.coerce.number().optional(),
|
|
6645
|
-
"take": zod.coerce.number().default(getRecycleBinDocumentChildrenQueryTakeDefault)
|
|
6657
|
+
"skip": zod.coerce.number().int().optional(),
|
|
6658
|
+
"take": zod.coerce.number().int().default(getRecycleBinDocumentChildrenQueryTakeDefault)
|
|
6646
6659
|
});
|
|
6647
6660
|
var getRecycleBinDocumentChildrenResponse = zod.object({
|
|
6648
|
-
"total": zod.
|
|
6661
|
+
"total": zod.int(),
|
|
6649
6662
|
"items": zod.array(zod.object({
|
|
6650
6663
|
"documentType": zod.object({
|
|
6651
6664
|
"id": zod.guid(),
|
|
@@ -6673,11 +6686,11 @@ var getRecycleBinDocumentChildrenResponse = zod.object({
|
|
|
6673
6686
|
});
|
|
6674
6687
|
var getRecycleBinDocumentReferencedByQueryTakeDefault = 20;
|
|
6675
6688
|
var getRecycleBinDocumentReferencedByQueryParams = zod.object({
|
|
6676
|
-
"skip": zod.coerce.number().optional(),
|
|
6677
|
-
"take": zod.coerce.number().default(getRecycleBinDocumentReferencedByQueryTakeDefault)
|
|
6689
|
+
"skip": zod.coerce.number().int().optional(),
|
|
6690
|
+
"take": zod.coerce.number().int().default(getRecycleBinDocumentReferencedByQueryTakeDefault)
|
|
6678
6691
|
});
|
|
6679
6692
|
var getRecycleBinDocumentReferencedByResponse = zod.object({
|
|
6680
|
-
"total": zod.
|
|
6693
|
+
"total": zod.int(),
|
|
6681
6694
|
"items": zod.array(zod.union([zod.object({
|
|
6682
6695
|
"$type": zod.enum(["DefaultReferenceResponseModel"]),
|
|
6683
6696
|
"type": zod.string().nullish(),
|
|
@@ -6785,11 +6798,11 @@ var getRecycleBinDocumentReferencedByResponse = zod.object({
|
|
|
6785
6798
|
});
|
|
6786
6799
|
var getRecycleBinDocumentRootQueryTakeDefault = 100;
|
|
6787
6800
|
var getRecycleBinDocumentRootQueryParams = zod.object({
|
|
6788
|
-
"skip": zod.coerce.number().optional(),
|
|
6789
|
-
"take": zod.coerce.number().default(getRecycleBinDocumentRootQueryTakeDefault)
|
|
6801
|
+
"skip": zod.coerce.number().int().optional(),
|
|
6802
|
+
"take": zod.coerce.number().int().default(getRecycleBinDocumentRootQueryTakeDefault)
|
|
6790
6803
|
});
|
|
6791
6804
|
var getRecycleBinDocumentRootResponse = zod.object({
|
|
6792
|
-
"total": zod.
|
|
6805
|
+
"total": zod.int(),
|
|
6793
6806
|
"items": zod.array(zod.object({
|
|
6794
6807
|
"documentType": zod.object({
|
|
6795
6808
|
"id": zod.guid(),
|
|
@@ -6817,13 +6830,13 @@ var getRecycleBinDocumentRootResponse = zod.object({
|
|
|
6817
6830
|
});
|
|
6818
6831
|
var getRecycleBinDocumentSiblingsQueryParams = zod.object({
|
|
6819
6832
|
"target": zod.guid().optional(),
|
|
6820
|
-
"before": zod.coerce.number().optional(),
|
|
6821
|
-
"after": zod.coerce.number().optional(),
|
|
6833
|
+
"before": zod.coerce.number().int().optional(),
|
|
6834
|
+
"after": zod.coerce.number().int().optional(),
|
|
6822
6835
|
"dataTypeId": zod.guid().optional()
|
|
6823
6836
|
});
|
|
6824
6837
|
var getRecycleBinDocumentSiblingsResponse = zod.object({
|
|
6825
|
-
"totalBefore": zod.
|
|
6826
|
-
"totalAfter": zod.
|
|
6838
|
+
"totalBefore": zod.int(),
|
|
6839
|
+
"totalAfter": zod.int(),
|
|
6827
6840
|
"items": zod.array(zod.object({
|
|
6828
6841
|
"documentType": zod.object({
|
|
6829
6842
|
"id": zod.guid(),
|
|
@@ -6889,12 +6902,12 @@ var getTreeDocumentAncestorsResponse = zod.array(getTreeDocumentAncestorsRespons
|
|
|
6889
6902
|
var getTreeDocumentChildrenQueryTakeDefault = 100;
|
|
6890
6903
|
var getTreeDocumentChildrenQueryParams = zod.object({
|
|
6891
6904
|
"parentId": zod.guid().optional(),
|
|
6892
|
-
"skip": zod.coerce.number().optional(),
|
|
6893
|
-
"take": zod.coerce.number().default(getTreeDocumentChildrenQueryTakeDefault),
|
|
6905
|
+
"skip": zod.coerce.number().int().optional(),
|
|
6906
|
+
"take": zod.coerce.number().int().default(getTreeDocumentChildrenQueryTakeDefault),
|
|
6894
6907
|
"dataTypeId": zod.guid().optional()
|
|
6895
6908
|
});
|
|
6896
6909
|
var getTreeDocumentChildrenResponse = zod.object({
|
|
6897
|
-
"total": zod.
|
|
6910
|
+
"total": zod.int(),
|
|
6898
6911
|
"items": zod.array(zod.object({
|
|
6899
6912
|
"isProtected": zod.boolean(),
|
|
6900
6913
|
"ancestors": zod.array(zod.object({
|
|
@@ -6931,12 +6944,12 @@ var getTreeDocumentChildrenResponse = zod.object({
|
|
|
6931
6944
|
});
|
|
6932
6945
|
var getTreeDocumentRootQueryTakeDefault = 100;
|
|
6933
6946
|
var getTreeDocumentRootQueryParams = zod.object({
|
|
6934
|
-
"skip": zod.coerce.number().optional(),
|
|
6935
|
-
"take": zod.coerce.number().default(getTreeDocumentRootQueryTakeDefault),
|
|
6947
|
+
"skip": zod.coerce.number().int().optional(),
|
|
6948
|
+
"take": zod.coerce.number().int().default(getTreeDocumentRootQueryTakeDefault),
|
|
6936
6949
|
"dataTypeId": zod.guid().optional()
|
|
6937
6950
|
});
|
|
6938
6951
|
var getTreeDocumentRootResponse = zod.object({
|
|
6939
|
-
"total": zod.
|
|
6952
|
+
"total": zod.int(),
|
|
6940
6953
|
"items": zod.array(zod.object({
|
|
6941
6954
|
"isProtected": zod.boolean(),
|
|
6942
6955
|
"ancestors": zod.array(zod.object({
|
|
@@ -6973,13 +6986,13 @@ var getTreeDocumentRootResponse = zod.object({
|
|
|
6973
6986
|
});
|
|
6974
6987
|
var getTreeDocumentSiblingsQueryParams = zod.object({
|
|
6975
6988
|
"target": zod.guid().optional(),
|
|
6976
|
-
"before": zod.coerce.number().optional(),
|
|
6977
|
-
"after": zod.coerce.number().optional(),
|
|
6989
|
+
"before": zod.coerce.number().int().optional(),
|
|
6990
|
+
"after": zod.coerce.number().int().optional(),
|
|
6978
6991
|
"dataTypeId": zod.guid().optional()
|
|
6979
6992
|
});
|
|
6980
6993
|
var getTreeDocumentSiblingsResponse = zod.object({
|
|
6981
|
-
"totalBefore": zod.
|
|
6982
|
-
"totalAfter": zod.
|
|
6994
|
+
"totalBefore": zod.int(),
|
|
6995
|
+
"totalAfter": zod.int(),
|
|
6983
6996
|
"items": zod.array(zod.object({
|
|
6984
6997
|
"isProtected": zod.boolean(),
|
|
6985
6998
|
"ancestors": zod.array(zod.object({
|
|
@@ -7101,11 +7114,11 @@ var getDocumentBlueprintByIdAuditLogQueryTakeDefault = 100;
|
|
|
7101
7114
|
var getDocumentBlueprintByIdAuditLogQueryParams = zod.object({
|
|
7102
7115
|
"orderDirection": zod.enum(["Ascending", "Descending"]).optional(),
|
|
7103
7116
|
"sinceDate": zod.iso.datetime({ "local": true, "offset": true }).optional(),
|
|
7104
|
-
"skip": zod.coerce.number().optional(),
|
|
7105
|
-
"take": zod.coerce.number().default(getDocumentBlueprintByIdAuditLogQueryTakeDefault)
|
|
7117
|
+
"skip": zod.coerce.number().int().optional(),
|
|
7118
|
+
"take": zod.coerce.number().int().default(getDocumentBlueprintByIdAuditLogQueryTakeDefault)
|
|
7106
7119
|
});
|
|
7107
7120
|
var getDocumentBlueprintByIdAuditLogResponse = zod.object({
|
|
7108
|
-
"total": zod.
|
|
7121
|
+
"total": zod.int(),
|
|
7109
7122
|
"items": zod.array(zod.object({
|
|
7110
7123
|
"user": zod.object({
|
|
7111
7124
|
"id": zod.guid()
|
|
@@ -7230,6 +7243,15 @@ var getTreeDocumentBlueprintAncestorsResponseItem = zod.object({
|
|
|
7230
7243
|
"id": zod.guid()
|
|
7231
7244
|
})]).optional()
|
|
7232
7245
|
})]).optional(),
|
|
7246
|
+
"variants": zod.array(zod.object({
|
|
7247
|
+
"id": zod.guid(),
|
|
7248
|
+
"flags": zod.array(zod.object({
|
|
7249
|
+
"alias": zod.string()
|
|
7250
|
+
})),
|
|
7251
|
+
"state": zod.enum(["NotCreated", "Draft", "Published", "PublishedPendingChanges", "Trashed"]),
|
|
7252
|
+
"name": zod.string(),
|
|
7253
|
+
"culture": zod.string().nullish()
|
|
7254
|
+
})).optional(),
|
|
7233
7255
|
"isFolder": zod.boolean(),
|
|
7234
7256
|
"noAccess": zod.boolean(),
|
|
7235
7257
|
"name": zod.string(),
|
|
@@ -7246,12 +7268,12 @@ var getTreeDocumentBlueprintAncestorsResponse = zod.array(getTreeDocumentBluepri
|
|
|
7246
7268
|
var getTreeDocumentBlueprintChildrenQueryTakeDefault = 100;
|
|
7247
7269
|
var getTreeDocumentBlueprintChildrenQueryParams = zod.object({
|
|
7248
7270
|
"parentId": zod.guid().optional(),
|
|
7249
|
-
"skip": zod.coerce.number().optional(),
|
|
7250
|
-
"take": zod.coerce.number().default(getTreeDocumentBlueprintChildrenQueryTakeDefault),
|
|
7271
|
+
"skip": zod.coerce.number().int().optional(),
|
|
7272
|
+
"take": zod.coerce.number().int().default(getTreeDocumentBlueprintChildrenQueryTakeDefault),
|
|
7251
7273
|
"foldersOnly": zod.coerce.boolean().optional()
|
|
7252
7274
|
});
|
|
7253
7275
|
var getTreeDocumentBlueprintChildrenResponse = zod.object({
|
|
7254
|
-
"total": zod.
|
|
7276
|
+
"total": zod.int(),
|
|
7255
7277
|
"items": zod.array(zod.object({
|
|
7256
7278
|
"documentType": zod.union([zod.null(), zod.object({
|
|
7257
7279
|
"id": zod.guid(),
|
|
@@ -7260,6 +7282,15 @@ var getTreeDocumentBlueprintChildrenResponse = zod.object({
|
|
|
7260
7282
|
"id": zod.guid()
|
|
7261
7283
|
})]).optional()
|
|
7262
7284
|
})]).optional(),
|
|
7285
|
+
"variants": zod.array(zod.object({
|
|
7286
|
+
"id": zod.guid(),
|
|
7287
|
+
"flags": zod.array(zod.object({
|
|
7288
|
+
"alias": zod.string()
|
|
7289
|
+
})),
|
|
7290
|
+
"state": zod.enum(["NotCreated", "Draft", "Published", "PublishedPendingChanges", "Trashed"]),
|
|
7291
|
+
"name": zod.string(),
|
|
7292
|
+
"culture": zod.string().nullish()
|
|
7293
|
+
})).optional(),
|
|
7263
7294
|
"isFolder": zod.boolean(),
|
|
7264
7295
|
"noAccess": zod.boolean(),
|
|
7265
7296
|
"name": zod.string(),
|
|
@@ -7275,12 +7306,12 @@ var getTreeDocumentBlueprintChildrenResponse = zod.object({
|
|
|
7275
7306
|
});
|
|
7276
7307
|
var getTreeDocumentBlueprintRootQueryTakeDefault = 100;
|
|
7277
7308
|
var getTreeDocumentBlueprintRootQueryParams = zod.object({
|
|
7278
|
-
"skip": zod.coerce.number().optional(),
|
|
7279
|
-
"take": zod.coerce.number().default(getTreeDocumentBlueprintRootQueryTakeDefault),
|
|
7309
|
+
"skip": zod.coerce.number().int().optional(),
|
|
7310
|
+
"take": zod.coerce.number().int().default(getTreeDocumentBlueprintRootQueryTakeDefault),
|
|
7280
7311
|
"foldersOnly": zod.coerce.boolean().optional()
|
|
7281
7312
|
});
|
|
7282
7313
|
var getTreeDocumentBlueprintRootResponse = zod.object({
|
|
7283
|
-
"total": zod.
|
|
7314
|
+
"total": zod.int(),
|
|
7284
7315
|
"items": zod.array(zod.object({
|
|
7285
7316
|
"documentType": zod.union([zod.null(), zod.object({
|
|
7286
7317
|
"id": zod.guid(),
|
|
@@ -7289,6 +7320,15 @@ var getTreeDocumentBlueprintRootResponse = zod.object({
|
|
|
7289
7320
|
"id": zod.guid()
|
|
7290
7321
|
})]).optional()
|
|
7291
7322
|
})]).optional(),
|
|
7323
|
+
"variants": zod.array(zod.object({
|
|
7324
|
+
"id": zod.guid(),
|
|
7325
|
+
"flags": zod.array(zod.object({
|
|
7326
|
+
"alias": zod.string()
|
|
7327
|
+
})),
|
|
7328
|
+
"state": zod.enum(["NotCreated", "Draft", "Published", "PublishedPendingChanges", "Trashed"]),
|
|
7329
|
+
"name": zod.string(),
|
|
7330
|
+
"culture": zod.string().nullish()
|
|
7331
|
+
})).optional(),
|
|
7292
7332
|
"isFolder": zod.boolean(),
|
|
7293
7333
|
"noAccess": zod.boolean(),
|
|
7294
7334
|
"name": zod.string(),
|
|
@@ -7304,13 +7344,13 @@ var getTreeDocumentBlueprintRootResponse = zod.object({
|
|
|
7304
7344
|
});
|
|
7305
7345
|
var getTreeDocumentBlueprintSiblingsQueryParams = zod.object({
|
|
7306
7346
|
"target": zod.guid().optional(),
|
|
7307
|
-
"before": zod.coerce.number().optional(),
|
|
7308
|
-
"after": zod.coerce.number().optional(),
|
|
7347
|
+
"before": zod.coerce.number().int().optional(),
|
|
7348
|
+
"after": zod.coerce.number().int().optional(),
|
|
7309
7349
|
"foldersOnly": zod.coerce.boolean().optional()
|
|
7310
7350
|
});
|
|
7311
7351
|
var getTreeDocumentBlueprintSiblingsResponse = zod.object({
|
|
7312
|
-
"totalBefore": zod.
|
|
7313
|
-
"totalAfter": zod.
|
|
7352
|
+
"totalBefore": zod.int(),
|
|
7353
|
+
"totalAfter": zod.int(),
|
|
7314
7354
|
"items": zod.array(zod.object({
|
|
7315
7355
|
"documentType": zod.union([zod.null(), zod.object({
|
|
7316
7356
|
"id": zod.guid(),
|
|
@@ -7319,6 +7359,15 @@ var getTreeDocumentBlueprintSiblingsResponse = zod.object({
|
|
|
7319
7359
|
"id": zod.guid()
|
|
7320
7360
|
})]).optional()
|
|
7321
7361
|
})]).optional(),
|
|
7362
|
+
"variants": zod.array(zod.object({
|
|
7363
|
+
"id": zod.guid(),
|
|
7364
|
+
"flags": zod.array(zod.object({
|
|
7365
|
+
"alias": zod.string()
|
|
7366
|
+
})),
|
|
7367
|
+
"state": zod.enum(["NotCreated", "Draft", "Published", "PublishedPendingChanges", "Trashed"]),
|
|
7368
|
+
"name": zod.string(),
|
|
7369
|
+
"culture": zod.string().nullish()
|
|
7370
|
+
})).optional(),
|
|
7322
7371
|
"isFolder": zod.boolean(),
|
|
7323
7372
|
"noAccess": zod.boolean(),
|
|
7324
7373
|
"name": zod.string(),
|
|
@@ -7341,14 +7390,14 @@ var postDocumentTypeBody = zod.object({
|
|
|
7341
7390
|
})]).optional(),
|
|
7342
7391
|
"cleanup": zod.object({
|
|
7343
7392
|
"preventCleanup": zod.boolean(),
|
|
7344
|
-
"keepAllVersionsNewerThanDays": zod.
|
|
7345
|
-
"keepLatestVersionPerDayForDays": zod.
|
|
7393
|
+
"keepAllVersionsNewerThanDays": zod.int().nullish(),
|
|
7394
|
+
"keepLatestVersionPerDayForDays": zod.int().nullish()
|
|
7346
7395
|
}),
|
|
7347
7396
|
"allowedDocumentTypes": zod.array(zod.object({
|
|
7348
7397
|
"documentType": zod.object({
|
|
7349
7398
|
"id": zod.guid()
|
|
7350
7399
|
}),
|
|
7351
|
-
"sortOrder": zod.
|
|
7400
|
+
"sortOrder": zod.int()
|
|
7352
7401
|
})),
|
|
7353
7402
|
"compositions": zod.array(zod.object({
|
|
7354
7403
|
"documentType": zod.object({
|
|
@@ -7377,7 +7426,7 @@ var postDocumentTypeBody = zod.object({
|
|
|
7377
7426
|
"container": zod.union([zod.null(), zod.object({
|
|
7378
7427
|
"id": zod.guid()
|
|
7379
7428
|
})]).optional(),
|
|
7380
|
-
"sortOrder": zod.
|
|
7429
|
+
"sortOrder": zod.int(),
|
|
7381
7430
|
"alias": zod.string(),
|
|
7382
7431
|
"name": zod.string(),
|
|
7383
7432
|
"description": zod.string().nullish(),
|
|
@@ -7403,7 +7452,7 @@ var postDocumentTypeBody = zod.object({
|
|
|
7403
7452
|
})]).optional(),
|
|
7404
7453
|
"name": zod.string().nullish(),
|
|
7405
7454
|
"type": zod.string(),
|
|
7406
|
-
"sortOrder": zod.
|
|
7455
|
+
"sortOrder": zod.int()
|
|
7407
7456
|
}))
|
|
7408
7457
|
});
|
|
7409
7458
|
var postDocumentTypeResponse = zod.void();
|
|
@@ -7419,14 +7468,14 @@ var getDocumentTypeByIdResponse = zod.object({
|
|
|
7419
7468
|
})]).optional(),
|
|
7420
7469
|
"cleanup": zod.object({
|
|
7421
7470
|
"preventCleanup": zod.boolean(),
|
|
7422
|
-
"keepAllVersionsNewerThanDays": zod.
|
|
7423
|
-
"keepLatestVersionPerDayForDays": zod.
|
|
7471
|
+
"keepAllVersionsNewerThanDays": zod.int().nullish(),
|
|
7472
|
+
"keepLatestVersionPerDayForDays": zod.int().nullish()
|
|
7424
7473
|
}),
|
|
7425
7474
|
"allowedDocumentTypes": zod.array(zod.object({
|
|
7426
7475
|
"documentType": zod.object({
|
|
7427
7476
|
"id": zod.guid()
|
|
7428
7477
|
}),
|
|
7429
|
-
"sortOrder": zod.
|
|
7478
|
+
"sortOrder": zod.int()
|
|
7430
7479
|
})),
|
|
7431
7480
|
"compositions": zod.array(zod.object({
|
|
7432
7481
|
"documentType": zod.object({
|
|
@@ -7452,7 +7501,7 @@ var getDocumentTypeByIdResponse = zod.object({
|
|
|
7452
7501
|
"container": zod.union([zod.null(), zod.object({
|
|
7453
7502
|
"id": zod.guid()
|
|
7454
7503
|
})]).optional(),
|
|
7455
|
-
"sortOrder": zod.
|
|
7504
|
+
"sortOrder": zod.int(),
|
|
7456
7505
|
"alias": zod.string(),
|
|
7457
7506
|
"name": zod.string(),
|
|
7458
7507
|
"description": zod.string().nullish(),
|
|
@@ -7478,7 +7527,7 @@ var getDocumentTypeByIdResponse = zod.object({
|
|
|
7478
7527
|
})]).optional(),
|
|
7479
7528
|
"name": zod.string().nullish(),
|
|
7480
7529
|
"type": zod.string(),
|
|
7481
|
-
"sortOrder": zod.
|
|
7530
|
+
"sortOrder": zod.int()
|
|
7482
7531
|
}))
|
|
7483
7532
|
});
|
|
7484
7533
|
var deleteDocumentTypeByIdParams = zod.object({
|
|
@@ -7497,14 +7546,14 @@ var putDocumentTypeByIdBody = zod.object({
|
|
|
7497
7546
|
})]).optional(),
|
|
7498
7547
|
"cleanup": zod.object({
|
|
7499
7548
|
"preventCleanup": zod.boolean(),
|
|
7500
|
-
"keepAllVersionsNewerThanDays": zod.
|
|
7501
|
-
"keepLatestVersionPerDayForDays": zod.
|
|
7549
|
+
"keepAllVersionsNewerThanDays": zod.int().nullish(),
|
|
7550
|
+
"keepLatestVersionPerDayForDays": zod.int().nullish()
|
|
7502
7551
|
}),
|
|
7503
7552
|
"allowedDocumentTypes": zod.array(zod.object({
|
|
7504
7553
|
"documentType": zod.object({
|
|
7505
7554
|
"id": zod.guid()
|
|
7506
7555
|
}),
|
|
7507
|
-
"sortOrder": zod.
|
|
7556
|
+
"sortOrder": zod.int()
|
|
7508
7557
|
})),
|
|
7509
7558
|
"compositions": zod.array(zod.object({
|
|
7510
7559
|
"documentType": zod.object({
|
|
@@ -7529,7 +7578,7 @@ var putDocumentTypeByIdBody = zod.object({
|
|
|
7529
7578
|
"container": zod.union([zod.null(), zod.object({
|
|
7530
7579
|
"id": zod.guid()
|
|
7531
7580
|
})]).optional(),
|
|
7532
|
-
"sortOrder": zod.
|
|
7581
|
+
"sortOrder": zod.int(),
|
|
7533
7582
|
"alias": zod.string(),
|
|
7534
7583
|
"name": zod.string(),
|
|
7535
7584
|
"description": zod.string().nullish(),
|
|
@@ -7555,7 +7604,7 @@ var putDocumentTypeByIdBody = zod.object({
|
|
|
7555
7604
|
})]).optional(),
|
|
7556
7605
|
"name": zod.string().nullish(),
|
|
7557
7606
|
"type": zod.string(),
|
|
7558
|
-
"sortOrder": zod.
|
|
7607
|
+
"sortOrder": zod.int()
|
|
7559
7608
|
}))
|
|
7560
7609
|
});
|
|
7561
7610
|
var putDocumentTypeByIdResponse = zod.unknown();
|
|
@@ -7565,11 +7614,11 @@ var getDocumentTypeByIdAllowedChildrenParams = zod.object({
|
|
|
7565
7614
|
var getDocumentTypeByIdAllowedChildrenQueryTakeDefault = 100;
|
|
7566
7615
|
var getDocumentTypeByIdAllowedChildrenQueryParams = zod.object({
|
|
7567
7616
|
"parentContentKey": zod.guid().optional(),
|
|
7568
|
-
"skip": zod.coerce.number().optional(),
|
|
7569
|
-
"take": zod.coerce.number().default(getDocumentTypeByIdAllowedChildrenQueryTakeDefault)
|
|
7617
|
+
"skip": zod.coerce.number().int().optional(),
|
|
7618
|
+
"take": zod.coerce.number().int().default(getDocumentTypeByIdAllowedChildrenQueryTakeDefault)
|
|
7570
7619
|
});
|
|
7571
7620
|
var getDocumentTypeByIdAllowedChildrenResponse = zod.object({
|
|
7572
|
-
"total": zod.
|
|
7621
|
+
"total": zod.int(),
|
|
7573
7622
|
"items": zod.array(zod.object({
|
|
7574
7623
|
"id": zod.guid(),
|
|
7575
7624
|
"name": zod.string(),
|
|
@@ -7590,11 +7639,11 @@ var getDocumentTypeByIdBlueprintParams = zod.object({
|
|
|
7590
7639
|
});
|
|
7591
7640
|
var getDocumentTypeByIdBlueprintQueryTakeDefault = 100;
|
|
7592
7641
|
var getDocumentTypeByIdBlueprintQueryParams = zod.object({
|
|
7593
|
-
"skip": zod.coerce.number().optional(),
|
|
7594
|
-
"take": zod.coerce.number().default(getDocumentTypeByIdBlueprintQueryTakeDefault)
|
|
7642
|
+
"skip": zod.coerce.number().int().optional(),
|
|
7643
|
+
"take": zod.coerce.number().int().default(getDocumentTypeByIdBlueprintQueryTakeDefault)
|
|
7595
7644
|
});
|
|
7596
7645
|
var getDocumentTypeByIdBlueprintResponse = zod.object({
|
|
7597
|
-
"total": zod.
|
|
7646
|
+
"total": zod.int(),
|
|
7598
7647
|
"items": zod.array(zod.object({
|
|
7599
7648
|
"name": zod.string(),
|
|
7600
7649
|
"id": zod.guid(),
|
|
@@ -7658,11 +7707,11 @@ var postDocumentTypeByIdTemplateBody = zod.object({
|
|
|
7658
7707
|
var postDocumentTypeByIdTemplateResponse = zod.void();
|
|
7659
7708
|
var getDocumentTypeAllowedAtRootQueryTakeDefault = 100;
|
|
7660
7709
|
var getDocumentTypeAllowedAtRootQueryParams = zod.object({
|
|
7661
|
-
"skip": zod.coerce.number().optional(),
|
|
7662
|
-
"take": zod.coerce.number().default(getDocumentTypeAllowedAtRootQueryTakeDefault)
|
|
7710
|
+
"skip": zod.coerce.number().int().optional(),
|
|
7711
|
+
"take": zod.coerce.number().int().default(getDocumentTypeAllowedAtRootQueryTakeDefault)
|
|
7663
7712
|
});
|
|
7664
7713
|
var getDocumentTypeAllowedAtRootResponse = zod.object({
|
|
7665
|
-
"total": zod.
|
|
7714
|
+
"total": zod.int(),
|
|
7666
7715
|
"items": zod.array(zod.object({
|
|
7667
7716
|
"id": zod.guid(),
|
|
7668
7717
|
"name": zod.string(),
|
|
@@ -7673,11 +7722,11 @@ var getDocumentTypeAllowedAtRootResponse = zod.object({
|
|
|
7673
7722
|
var getDocumentTypeAllowedInLibraryQueryTakeDefault = 100;
|
|
7674
7723
|
var getDocumentTypeAllowedInLibraryQueryParams = zod.object({
|
|
7675
7724
|
"parentKey": zod.guid().optional(),
|
|
7676
|
-
"skip": zod.coerce.number().optional(),
|
|
7677
|
-
"take": zod.coerce.number().default(getDocumentTypeAllowedInLibraryQueryTakeDefault)
|
|
7725
|
+
"skip": zod.coerce.number().int().optional(),
|
|
7726
|
+
"take": zod.coerce.number().int().default(getDocumentTypeAllowedInLibraryQueryTakeDefault)
|
|
7678
7727
|
});
|
|
7679
7728
|
var getDocumentTypeAllowedInLibraryResponse = zod.object({
|
|
7680
|
-
"total": zod.
|
|
7729
|
+
"total": zod.int(),
|
|
7681
7730
|
"items": zod.array(zod.object({
|
|
7682
7731
|
"id": zod.guid(),
|
|
7683
7732
|
"name": zod.string(),
|
|
@@ -7703,7 +7752,7 @@ var getDocumentTypeBatchQueryParams = zod.object({
|
|
|
7703
7752
|
"id": zod.array(zod.guid()).optional()
|
|
7704
7753
|
});
|
|
7705
7754
|
var getDocumentTypeBatchResponse = zod.object({
|
|
7706
|
-
"total": zod.
|
|
7755
|
+
"total": zod.int(),
|
|
7707
7756
|
"items": zod.array(zod.object({
|
|
7708
7757
|
"allowedTemplates": zod.array(zod.object({
|
|
7709
7758
|
"id": zod.guid()
|
|
@@ -7713,14 +7762,14 @@ var getDocumentTypeBatchResponse = zod.object({
|
|
|
7713
7762
|
})]).optional(),
|
|
7714
7763
|
"cleanup": zod.object({
|
|
7715
7764
|
"preventCleanup": zod.boolean(),
|
|
7716
|
-
"keepAllVersionsNewerThanDays": zod.
|
|
7717
|
-
"keepLatestVersionPerDayForDays": zod.
|
|
7765
|
+
"keepAllVersionsNewerThanDays": zod.int().nullish(),
|
|
7766
|
+
"keepLatestVersionPerDayForDays": zod.int().nullish()
|
|
7718
7767
|
}),
|
|
7719
7768
|
"allowedDocumentTypes": zod.array(zod.object({
|
|
7720
7769
|
"documentType": zod.object({
|
|
7721
7770
|
"id": zod.guid()
|
|
7722
7771
|
}),
|
|
7723
|
-
"sortOrder": zod.
|
|
7772
|
+
"sortOrder": zod.int()
|
|
7724
7773
|
})),
|
|
7725
7774
|
"compositions": zod.array(zod.object({
|
|
7726
7775
|
"documentType": zod.object({
|
|
@@ -7746,7 +7795,7 @@ var getDocumentTypeBatchResponse = zod.object({
|
|
|
7746
7795
|
"container": zod.union([zod.null(), zod.object({
|
|
7747
7796
|
"id": zod.guid()
|
|
7748
7797
|
})]).optional(),
|
|
7749
|
-
"sortOrder": zod.
|
|
7798
|
+
"sortOrder": zod.int(),
|
|
7750
7799
|
"alias": zod.string(),
|
|
7751
7800
|
"name": zod.string(),
|
|
7752
7801
|
"description": zod.string().nullish(),
|
|
@@ -7772,7 +7821,7 @@ var getDocumentTypeBatchResponse = zod.object({
|
|
|
7772
7821
|
})]).optional(),
|
|
7773
7822
|
"name": zod.string().nullish(),
|
|
7774
7823
|
"type": zod.string(),
|
|
7775
|
-
"sortOrder": zod.
|
|
7824
|
+
"sortOrder": zod.int()
|
|
7776
7825
|
}))
|
|
7777
7826
|
}))
|
|
7778
7827
|
});
|
|
@@ -7848,8 +7897,8 @@ var getItemDocumentTypeSearchQueryTakeDefault = 100;
|
|
|
7848
7897
|
var getItemDocumentTypeSearchQueryParams = zod.object({
|
|
7849
7898
|
"query": zod.string().optional(),
|
|
7850
7899
|
"isElement": zod.coerce.boolean().optional(),
|
|
7851
|
-
"skip": zod.coerce.number().optional(),
|
|
7852
|
-
"take": zod.coerce.number().default(getItemDocumentTypeSearchQueryTakeDefault)
|
|
7900
|
+
"skip": zod.coerce.number().int().optional(),
|
|
7901
|
+
"take": zod.coerce.number().int().default(getItemDocumentTypeSearchQueryTakeDefault)
|
|
7853
7902
|
});
|
|
7854
7903
|
var getItemDocumentTypeSearchResponse = zod.object({
|
|
7855
7904
|
"items": zod.array(zod.object({
|
|
@@ -7863,7 +7912,7 @@ var getItemDocumentTypeSearchResponse = zod.object({
|
|
|
7863
7912
|
"alias": zod.string()
|
|
7864
7913
|
}))
|
|
7865
7914
|
})),
|
|
7866
|
-
"total": zod.
|
|
7915
|
+
"total": zod.int()
|
|
7867
7916
|
});
|
|
7868
7917
|
var getTreeDocumentTypeAncestorsQueryParams = zod.object({
|
|
7869
7918
|
"descendantId": zod.guid().optional()
|
|
@@ -7887,12 +7936,12 @@ var getTreeDocumentTypeAncestorsResponse = zod.array(getTreeDocumentTypeAncestor
|
|
|
7887
7936
|
var getTreeDocumentTypeChildrenQueryTakeDefault = 100;
|
|
7888
7937
|
var getTreeDocumentTypeChildrenQueryParams = zod.object({
|
|
7889
7938
|
"parentId": zod.guid().optional(),
|
|
7890
|
-
"skip": zod.coerce.number().optional(),
|
|
7891
|
-
"take": zod.coerce.number().default(getTreeDocumentTypeChildrenQueryTakeDefault),
|
|
7939
|
+
"skip": zod.coerce.number().int().optional(),
|
|
7940
|
+
"take": zod.coerce.number().int().default(getTreeDocumentTypeChildrenQueryTakeDefault),
|
|
7892
7941
|
"foldersOnly": zod.coerce.boolean().optional()
|
|
7893
7942
|
});
|
|
7894
7943
|
var getTreeDocumentTypeChildrenResponse = zod.object({
|
|
7895
|
-
"total": zod.
|
|
7944
|
+
"total": zod.int(),
|
|
7896
7945
|
"items": zod.array(zod.object({
|
|
7897
7946
|
"isElement": zod.boolean(),
|
|
7898
7947
|
"icon": zod.string(),
|
|
@@ -7911,12 +7960,12 @@ var getTreeDocumentTypeChildrenResponse = zod.object({
|
|
|
7911
7960
|
});
|
|
7912
7961
|
var getTreeDocumentTypeRootQueryTakeDefault = 100;
|
|
7913
7962
|
var getTreeDocumentTypeRootQueryParams = zod.object({
|
|
7914
|
-
"skip": zod.coerce.number().optional(),
|
|
7915
|
-
"take": zod.coerce.number().default(getTreeDocumentTypeRootQueryTakeDefault),
|
|
7963
|
+
"skip": zod.coerce.number().int().optional(),
|
|
7964
|
+
"take": zod.coerce.number().int().default(getTreeDocumentTypeRootQueryTakeDefault),
|
|
7916
7965
|
"foldersOnly": zod.coerce.boolean().optional()
|
|
7917
7966
|
});
|
|
7918
7967
|
var getTreeDocumentTypeRootResponse = zod.object({
|
|
7919
|
-
"total": zod.
|
|
7968
|
+
"total": zod.int(),
|
|
7920
7969
|
"items": zod.array(zod.object({
|
|
7921
7970
|
"isElement": zod.boolean(),
|
|
7922
7971
|
"icon": zod.string(),
|
|
@@ -7936,12 +7985,12 @@ var getTreeDocumentTypeRootResponse = zod.object({
|
|
|
7936
7985
|
var getTreeDocumentTypeSearchQueryTakeDefault = 100;
|
|
7937
7986
|
var getTreeDocumentTypeSearchQueryParams = zod.object({
|
|
7938
7987
|
"query": zod.string().optional(),
|
|
7939
|
-
"skip": zod.coerce.number().optional(),
|
|
7940
|
-
"take": zod.coerce.number().default(getTreeDocumentTypeSearchQueryTakeDefault),
|
|
7988
|
+
"skip": zod.coerce.number().int().optional(),
|
|
7989
|
+
"take": zod.coerce.number().int().default(getTreeDocumentTypeSearchQueryTakeDefault),
|
|
7941
7990
|
"itemKind": zod.string().optional()
|
|
7942
7991
|
});
|
|
7943
7992
|
var getTreeDocumentTypeSearchResponse = zod.object({
|
|
7944
|
-
"total": zod.
|
|
7993
|
+
"total": zod.int(),
|
|
7945
7994
|
"items": zod.array(zod.object({
|
|
7946
7995
|
"isElement": zod.boolean(),
|
|
7947
7996
|
"icon": zod.string(),
|
|
@@ -7960,13 +8009,13 @@ var getTreeDocumentTypeSearchResponse = zod.object({
|
|
|
7960
8009
|
});
|
|
7961
8010
|
var getTreeDocumentTypeSiblingsQueryParams = zod.object({
|
|
7962
8011
|
"target": zod.guid().optional(),
|
|
7963
|
-
"before": zod.coerce.number().optional(),
|
|
7964
|
-
"after": zod.coerce.number().optional(),
|
|
8012
|
+
"before": zod.coerce.number().int().optional(),
|
|
8013
|
+
"after": zod.coerce.number().int().optional(),
|
|
7965
8014
|
"foldersOnly": zod.coerce.boolean().optional()
|
|
7966
8015
|
});
|
|
7967
8016
|
var getTreeDocumentTypeSiblingsResponse = zod.object({
|
|
7968
|
-
"totalBefore": zod.
|
|
7969
|
-
"totalAfter": zod.
|
|
8017
|
+
"totalBefore": zod.int(),
|
|
8018
|
+
"totalAfter": zod.int(),
|
|
7970
8019
|
"items": zod.array(zod.object({
|
|
7971
8020
|
"isElement": zod.boolean(),
|
|
7972
8021
|
"icon": zod.string(),
|
|
@@ -7987,11 +8036,11 @@ var getDocumentVersionQueryTakeDefault = 100;
|
|
|
7987
8036
|
var getDocumentVersionQueryParams = zod.object({
|
|
7988
8037
|
"documentId": zod.guid(),
|
|
7989
8038
|
"culture": zod.string().optional(),
|
|
7990
|
-
"skip": zod.coerce.number().optional(),
|
|
7991
|
-
"take": zod.coerce.number().default(getDocumentVersionQueryTakeDefault)
|
|
8039
|
+
"skip": zod.coerce.number().int().optional(),
|
|
8040
|
+
"take": zod.coerce.number().int().default(getDocumentVersionQueryTakeDefault)
|
|
7992
8041
|
});
|
|
7993
8042
|
var getDocumentVersionResponse = zod.object({
|
|
7994
|
-
"total": zod.
|
|
8043
|
+
"total": zod.int(),
|
|
7995
8044
|
"items": zod.array(zod.object({
|
|
7996
8045
|
"id": zod.guid(),
|
|
7997
8046
|
"document": zod.object({
|
|
@@ -8177,11 +8226,11 @@ var getElementByIdAuditLogQueryTakeDefault = 100;
|
|
|
8177
8226
|
var getElementByIdAuditLogQueryParams = zod.object({
|
|
8178
8227
|
"orderDirection": zod.enum(["Ascending", "Descending"]).optional(),
|
|
8179
8228
|
"sinceDate": zod.iso.datetime({ "local": true, "offset": true }).optional(),
|
|
8180
|
-
"skip": zod.coerce.number().optional(),
|
|
8181
|
-
"take": zod.coerce.number().default(getElementByIdAuditLogQueryTakeDefault)
|
|
8229
|
+
"skip": zod.coerce.number().int().optional(),
|
|
8230
|
+
"take": zod.coerce.number().int().default(getElementByIdAuditLogQueryTakeDefault)
|
|
8182
8231
|
});
|
|
8183
8232
|
var getElementByIdAuditLogResponse = zod.object({
|
|
8184
|
-
"total": zod.
|
|
8233
|
+
"total": zod.int(),
|
|
8185
8234
|
"items": zod.array(zod.object({
|
|
8186
8235
|
"user": zod.object({
|
|
8187
8236
|
"id": zod.guid()
|
|
@@ -8271,11 +8320,11 @@ var getElementByIdReferencedByParams = zod.object({
|
|
|
8271
8320
|
});
|
|
8272
8321
|
var getElementByIdReferencedByQueryTakeDefault = 20;
|
|
8273
8322
|
var getElementByIdReferencedByQueryParams = zod.object({
|
|
8274
|
-
"skip": zod.coerce.number().optional(),
|
|
8275
|
-
"take": zod.coerce.number().default(getElementByIdReferencedByQueryTakeDefault)
|
|
8323
|
+
"skip": zod.coerce.number().int().optional(),
|
|
8324
|
+
"take": zod.coerce.number().int().default(getElementByIdReferencedByQueryTakeDefault)
|
|
8276
8325
|
});
|
|
8277
8326
|
var getElementByIdReferencedByResponse = zod.object({
|
|
8278
|
-
"total": zod.
|
|
8327
|
+
"total": zod.int(),
|
|
8279
8328
|
"items": zod.array(zod.union([zod.object({
|
|
8280
8329
|
"$type": zod.enum(["DefaultReferenceResponseModel"]),
|
|
8281
8330
|
"type": zod.string().nullish(),
|
|
@@ -8427,11 +8476,11 @@ var putElementByIdValidateResponse = zod.unknown();
|
|
|
8427
8476
|
var getElementAreReferencedQueryTakeDefault = 20;
|
|
8428
8477
|
var getElementAreReferencedQueryParams = zod.object({
|
|
8429
8478
|
"id": zod.array(zod.guid()).optional(),
|
|
8430
|
-
"skip": zod.coerce.number().optional(),
|
|
8431
|
-
"take": zod.coerce.number().default(getElementAreReferencedQueryTakeDefault)
|
|
8479
|
+
"skip": zod.coerce.number().int().optional(),
|
|
8480
|
+
"take": zod.coerce.number().int().default(getElementAreReferencedQueryTakeDefault)
|
|
8432
8481
|
});
|
|
8433
8482
|
var getElementAreReferencedResponse = zod.object({
|
|
8434
|
-
"total": zod.
|
|
8483
|
+
"total": zod.int(),
|
|
8435
8484
|
"items": zod.array(zod.object({
|
|
8436
8485
|
"id": zod.guid()
|
|
8437
8486
|
}))
|
|
@@ -8509,11 +8558,11 @@ var getElementFolderByIdReferencedDescendantsParams = zod.object({
|
|
|
8509
8558
|
});
|
|
8510
8559
|
var getElementFolderByIdReferencedDescendantsQueryTakeDefault = 20;
|
|
8511
8560
|
var getElementFolderByIdReferencedDescendantsQueryParams = zod.object({
|
|
8512
|
-
"skip": zod.coerce.number().optional(),
|
|
8513
|
-
"take": zod.coerce.number().default(getElementFolderByIdReferencedDescendantsQueryTakeDefault)
|
|
8561
|
+
"skip": zod.coerce.number().int().optional(),
|
|
8562
|
+
"take": zod.coerce.number().int().default(getElementFolderByIdReferencedDescendantsQueryTakeDefault)
|
|
8514
8563
|
});
|
|
8515
8564
|
var getElementFolderByIdReferencedDescendantsResponse = zod.object({
|
|
8516
|
-
"total": zod.
|
|
8565
|
+
"total": zod.int(),
|
|
8517
8566
|
"items": zod.array(zod.object({
|
|
8518
8567
|
"id": zod.guid()
|
|
8519
8568
|
}))
|
|
@@ -8598,8 +8647,8 @@ var getItemElementFolderResponse = zod.array(getItemElementFolderResponseItem);
|
|
|
8598
8647
|
var getItemElementSearchQueryTakeDefault = 100;
|
|
8599
8648
|
var getItemElementSearchQueryParams = zod.object({
|
|
8600
8649
|
"query": zod.string().optional(),
|
|
8601
|
-
"skip": zod.coerce.number().optional(),
|
|
8602
|
-
"take": zod.coerce.number().default(getItemElementSearchQueryTakeDefault)
|
|
8650
|
+
"skip": zod.coerce.number().int().optional(),
|
|
8651
|
+
"take": zod.coerce.number().int().default(getItemElementSearchQueryTakeDefault)
|
|
8603
8652
|
});
|
|
8604
8653
|
var getItemElementSearchResponse = zod.object({
|
|
8605
8654
|
"items": zod.array(zod.object({
|
|
@@ -8629,7 +8678,7 @@ var getItemElementSearchResponse = zod.object({
|
|
|
8629
8678
|
"alias": zod.string()
|
|
8630
8679
|
}))
|
|
8631
8680
|
})),
|
|
8632
|
-
"total": zod.
|
|
8681
|
+
"total": zod.int()
|
|
8633
8682
|
});
|
|
8634
8683
|
var deleteRecycleBinElementResponse = zod.unknown();
|
|
8635
8684
|
var deleteRecycleBinElementByIdParams = zod.object({
|
|
@@ -8654,11 +8703,11 @@ var putRecycleBinElementByIdRestoreResponse = zod.unknown();
|
|
|
8654
8703
|
var getRecycleBinElementChildrenQueryTakeDefault = 100;
|
|
8655
8704
|
var getRecycleBinElementChildrenQueryParams = zod.object({
|
|
8656
8705
|
"parentId": zod.guid().optional(),
|
|
8657
|
-
"skip": zod.coerce.number().optional(),
|
|
8658
|
-
"take": zod.coerce.number().default(getRecycleBinElementChildrenQueryTakeDefault)
|
|
8706
|
+
"skip": zod.coerce.number().int().optional(),
|
|
8707
|
+
"take": zod.coerce.number().int().default(getRecycleBinElementChildrenQueryTakeDefault)
|
|
8659
8708
|
});
|
|
8660
8709
|
var getRecycleBinElementChildrenResponse = zod.object({
|
|
8661
|
-
"total": zod.
|
|
8710
|
+
"total": zod.int(),
|
|
8662
8711
|
"items": zod.array(zod.object({
|
|
8663
8712
|
"documentType": zod.union([zod.null(), zod.object({
|
|
8664
8713
|
"id": zod.guid(),
|
|
@@ -8707,11 +8756,11 @@ var putRecycleBinElementFolderByIdRestoreBody = zod.object({
|
|
|
8707
8756
|
var putRecycleBinElementFolderByIdRestoreResponse = zod.unknown();
|
|
8708
8757
|
var getRecycleBinElementReferencedByQueryTakeDefault = 20;
|
|
8709
8758
|
var getRecycleBinElementReferencedByQueryParams = zod.object({
|
|
8710
|
-
"skip": zod.coerce.number().optional(),
|
|
8711
|
-
"take": zod.coerce.number().default(getRecycleBinElementReferencedByQueryTakeDefault)
|
|
8759
|
+
"skip": zod.coerce.number().int().optional(),
|
|
8760
|
+
"take": zod.coerce.number().int().default(getRecycleBinElementReferencedByQueryTakeDefault)
|
|
8712
8761
|
});
|
|
8713
8762
|
var getRecycleBinElementReferencedByResponse = zod.object({
|
|
8714
|
-
"total": zod.
|
|
8763
|
+
"total": zod.int(),
|
|
8715
8764
|
"items": zod.array(zod.union([zod.object({
|
|
8716
8765
|
"$type": zod.enum(["DefaultReferenceResponseModel"]),
|
|
8717
8766
|
"type": zod.string().nullish(),
|
|
@@ -8819,11 +8868,11 @@ var getRecycleBinElementReferencedByResponse = zod.object({
|
|
|
8819
8868
|
});
|
|
8820
8869
|
var getRecycleBinElementRootQueryTakeDefault = 100;
|
|
8821
8870
|
var getRecycleBinElementRootQueryParams = zod.object({
|
|
8822
|
-
"skip": zod.coerce.number().optional(),
|
|
8823
|
-
"take": zod.coerce.number().default(getRecycleBinElementRootQueryTakeDefault)
|
|
8871
|
+
"skip": zod.coerce.number().int().optional(),
|
|
8872
|
+
"take": zod.coerce.number().int().default(getRecycleBinElementRootQueryTakeDefault)
|
|
8824
8873
|
});
|
|
8825
8874
|
var getRecycleBinElementRootResponse = zod.object({
|
|
8826
|
-
"total": zod.
|
|
8875
|
+
"total": zod.int(),
|
|
8827
8876
|
"items": zod.array(zod.object({
|
|
8828
8877
|
"documentType": zod.union([zod.null(), zod.object({
|
|
8829
8878
|
"id": zod.guid(),
|
|
@@ -8853,13 +8902,13 @@ var getRecycleBinElementRootResponse = zod.object({
|
|
|
8853
8902
|
});
|
|
8854
8903
|
var getRecycleBinElementSiblingsQueryParams = zod.object({
|
|
8855
8904
|
"target": zod.guid().optional(),
|
|
8856
|
-
"before": zod.coerce.number().optional(),
|
|
8857
|
-
"after": zod.coerce.number().optional(),
|
|
8905
|
+
"before": zod.coerce.number().int().optional(),
|
|
8906
|
+
"after": zod.coerce.number().int().optional(),
|
|
8858
8907
|
"dataTypeId": zod.guid().optional()
|
|
8859
8908
|
});
|
|
8860
8909
|
var getRecycleBinElementSiblingsResponse = zod.object({
|
|
8861
|
-
"totalBefore": zod.
|
|
8862
|
-
"totalAfter": zod.
|
|
8910
|
+
"totalBefore": zod.int(),
|
|
8911
|
+
"totalAfter": zod.int(),
|
|
8863
8912
|
"items": zod.array(zod.object({
|
|
8864
8913
|
"documentType": zod.union([zod.null(), zod.object({
|
|
8865
8914
|
"id": zod.guid(),
|
|
@@ -8924,13 +8973,13 @@ var getTreeElementAncestorsResponse = zod.array(getTreeElementAncestorsResponseI
|
|
|
8924
8973
|
var getTreeElementChildrenQueryTakeDefault = 100;
|
|
8925
8974
|
var getTreeElementChildrenQueryParams = zod.object({
|
|
8926
8975
|
"parentId": zod.guid().optional(),
|
|
8927
|
-
"skip": zod.coerce.number().optional(),
|
|
8928
|
-
"take": zod.coerce.number().default(getTreeElementChildrenQueryTakeDefault),
|
|
8976
|
+
"skip": zod.coerce.number().int().optional(),
|
|
8977
|
+
"take": zod.coerce.number().int().default(getTreeElementChildrenQueryTakeDefault),
|
|
8929
8978
|
"foldersOnly": zod.coerce.boolean().optional(),
|
|
8930
8979
|
"dataTypeId": zod.guid().optional()
|
|
8931
8980
|
});
|
|
8932
8981
|
var getTreeElementChildrenResponse = zod.object({
|
|
8933
|
-
"total": zod.
|
|
8982
|
+
"total": zod.int(),
|
|
8934
8983
|
"items": zod.array(zod.object({
|
|
8935
8984
|
"createDate": zod.iso.datetime({ "local": true, "offset": true }),
|
|
8936
8985
|
"documentType": zod.union([zod.null(), zod.object({
|
|
@@ -8964,13 +9013,13 @@ var getTreeElementChildrenResponse = zod.object({
|
|
|
8964
9013
|
});
|
|
8965
9014
|
var getTreeElementRootQueryTakeDefault = 100;
|
|
8966
9015
|
var getTreeElementRootQueryParams = zod.object({
|
|
8967
|
-
"skip": zod.coerce.number().optional(),
|
|
8968
|
-
"take": zod.coerce.number().default(getTreeElementRootQueryTakeDefault),
|
|
9016
|
+
"skip": zod.coerce.number().int().optional(),
|
|
9017
|
+
"take": zod.coerce.number().int().default(getTreeElementRootQueryTakeDefault),
|
|
8969
9018
|
"foldersOnly": zod.coerce.boolean().optional(),
|
|
8970
9019
|
"dataTypeId": zod.guid().optional()
|
|
8971
9020
|
});
|
|
8972
9021
|
var getTreeElementRootResponse = zod.object({
|
|
8973
|
-
"total": zod.
|
|
9022
|
+
"total": zod.int(),
|
|
8974
9023
|
"items": zod.array(zod.object({
|
|
8975
9024
|
"createDate": zod.iso.datetime({ "local": true, "offset": true }),
|
|
8976
9025
|
"documentType": zod.union([zod.null(), zod.object({
|
|
@@ -9004,14 +9053,14 @@ var getTreeElementRootResponse = zod.object({
|
|
|
9004
9053
|
});
|
|
9005
9054
|
var getTreeElementSiblingsQueryParams = zod.object({
|
|
9006
9055
|
"target": zod.guid().optional(),
|
|
9007
|
-
"before": zod.coerce.number().optional(),
|
|
9008
|
-
"after": zod.coerce.number().optional(),
|
|
9056
|
+
"before": zod.coerce.number().int().optional(),
|
|
9057
|
+
"after": zod.coerce.number().int().optional(),
|
|
9009
9058
|
"foldersOnly": zod.coerce.boolean().optional(),
|
|
9010
9059
|
"dataTypeId": zod.guid().optional()
|
|
9011
9060
|
});
|
|
9012
9061
|
var getTreeElementSiblingsResponse = zod.object({
|
|
9013
|
-
"totalBefore": zod.
|
|
9014
|
-
"totalAfter": zod.
|
|
9062
|
+
"totalBefore": zod.int(),
|
|
9063
|
+
"totalAfter": zod.int(),
|
|
9015
9064
|
"items": zod.array(zod.object({
|
|
9016
9065
|
"createDate": zod.iso.datetime({ "local": true, "offset": true }),
|
|
9017
9066
|
"documentType": zod.union([zod.null(), zod.object({
|
|
@@ -9047,11 +9096,11 @@ var getElementVersionQueryTakeDefault = 100;
|
|
|
9047
9096
|
var getElementVersionQueryParams = zod.object({
|
|
9048
9097
|
"elementId": zod.guid(),
|
|
9049
9098
|
"culture": zod.string().optional(),
|
|
9050
|
-
"skip": zod.coerce.number().optional(),
|
|
9051
|
-
"take": zod.coerce.number().default(getElementVersionQueryTakeDefault)
|
|
9099
|
+
"skip": zod.coerce.number().int().optional(),
|
|
9100
|
+
"take": zod.coerce.number().int().default(getElementVersionQueryTakeDefault)
|
|
9052
9101
|
});
|
|
9053
9102
|
var getElementVersionResponse = zod.object({
|
|
9054
|
-
"total": zod.
|
|
9103
|
+
"total": zod.int(),
|
|
9055
9104
|
"items": zod.array(zod.object({
|
|
9056
9105
|
"id": zod.guid(),
|
|
9057
9106
|
"element": zod.object({
|
|
@@ -9126,11 +9175,11 @@ var postElementVersionByIdRollbackQueryParams = zod.object({
|
|
|
9126
9175
|
var postElementVersionByIdRollbackResponse = zod.unknown();
|
|
9127
9176
|
var getHealthCheckGroupQueryTakeDefault = 100;
|
|
9128
9177
|
var getHealthCheckGroupQueryParams = zod.object({
|
|
9129
|
-
"skip": zod.coerce.number().optional(),
|
|
9130
|
-
"take": zod.coerce.number().default(getHealthCheckGroupQueryTakeDefault)
|
|
9178
|
+
"skip": zod.coerce.number().int().optional(),
|
|
9179
|
+
"take": zod.coerce.number().int().default(getHealthCheckGroupQueryTakeDefault)
|
|
9131
9180
|
});
|
|
9132
9181
|
var getHealthCheckGroupResponse = zod.object({
|
|
9133
|
-
"total": zod.
|
|
9182
|
+
"total": zod.int(),
|
|
9134
9183
|
"items": zod.array(zod.object({
|
|
9135
9184
|
"name": zod.string()
|
|
9136
9185
|
}))
|
|
@@ -9204,16 +9253,15 @@ var postHealthCheckExecuteActionResponse = zod.object({
|
|
|
9204
9253
|
"readMoreLink": zod.string().nullish()
|
|
9205
9254
|
});
|
|
9206
9255
|
var getHelpQueryTakeDefault = 100;
|
|
9207
|
-
var getHelpQueryBaseUrlDefault = `https://our.umbraco.com`;
|
|
9208
9256
|
var getHelpQueryParams = zod.object({
|
|
9209
9257
|
"section": zod.string().optional(),
|
|
9210
9258
|
"tree": zod.string().optional(),
|
|
9211
|
-
"skip": zod.coerce.number().optional(),
|
|
9212
|
-
"take": zod.coerce.number().default(getHelpQueryTakeDefault),
|
|
9213
|
-
"baseUrl": zod.string().
|
|
9259
|
+
"skip": zod.coerce.number().int().optional(),
|
|
9260
|
+
"take": zod.coerce.number().int().default(getHelpQueryTakeDefault),
|
|
9261
|
+
"baseUrl": zod.string().optional()
|
|
9214
9262
|
});
|
|
9215
9263
|
var getHelpResponse = zod.object({
|
|
9216
|
-
"total": zod.
|
|
9264
|
+
"total": zod.int(),
|
|
9217
9265
|
"items": zod.array(zod.object({
|
|
9218
9266
|
"name": zod.string().nullish(),
|
|
9219
9267
|
"description": zod.string().nullish(),
|
|
@@ -9225,8 +9273,9 @@ var getImagingResizeUrlsQueryHeightDefault = 200;
|
|
|
9225
9273
|
var getImagingResizeUrlsQueryWidthDefault = 200;
|
|
9226
9274
|
var getImagingResizeUrlsQueryParams = zod.object({
|
|
9227
9275
|
"id": zod.array(zod.guid()).optional(),
|
|
9228
|
-
"
|
|
9229
|
-
"
|
|
9276
|
+
"dataTypeId": zod.guid().optional(),
|
|
9277
|
+
"height": zod.coerce.number().int().default(getImagingResizeUrlsQueryHeightDefault),
|
|
9278
|
+
"width": zod.coerce.number().int().default(getImagingResizeUrlsQueryWidthDefault),
|
|
9230
9279
|
"mode": zod.union([zod.literal("Crop"), zod.literal("Max"), zod.literal("Stretch"), zod.literal("Pad"), zod.literal("BoxPad"), zod.literal("Min"), zod.literal(null)]).optional(),
|
|
9231
9280
|
"format": zod.string().optional()
|
|
9232
9281
|
});
|
|
@@ -9248,11 +9297,11 @@ var getImportAnalyzeResponse = zod.object({
|
|
|
9248
9297
|
});
|
|
9249
9298
|
var getIndexerQueryTakeDefault = 100;
|
|
9250
9299
|
var getIndexerQueryParams = zod.object({
|
|
9251
|
-
"skip": zod.coerce.number().optional(),
|
|
9252
|
-
"take": zod.coerce.number().default(getIndexerQueryTakeDefault)
|
|
9300
|
+
"skip": zod.coerce.number().int().optional(),
|
|
9301
|
+
"take": zod.coerce.number().int().default(getIndexerQueryTakeDefault)
|
|
9253
9302
|
});
|
|
9254
9303
|
var getIndexerResponse = zod.object({
|
|
9255
|
-
"total": zod.
|
|
9304
|
+
"total": zod.int(),
|
|
9256
9305
|
"items": zod.array(zod.object({
|
|
9257
9306
|
"name": zod.string(),
|
|
9258
9307
|
"healthStatus": zod.object({
|
|
@@ -9261,8 +9310,8 @@ var getIndexerResponse = zod.object({
|
|
|
9261
9310
|
}),
|
|
9262
9311
|
"canRebuild": zod.boolean(),
|
|
9263
9312
|
"searcherName": zod.string(),
|
|
9264
|
-
"documentCount": zod.
|
|
9265
|
-
"fieldCount": zod.
|
|
9313
|
+
"documentCount": zod.int(),
|
|
9314
|
+
"fieldCount": zod.int(),
|
|
9266
9315
|
"providerProperties": zod.looseObject({}).nullish(),
|
|
9267
9316
|
"uniqueKeyFieldName": zod.string().nullish()
|
|
9268
9317
|
}))
|
|
@@ -9278,8 +9327,8 @@ var getIndexerByIndexNameResponse = zod.object({
|
|
|
9278
9327
|
}),
|
|
9279
9328
|
"canRebuild": zod.boolean(),
|
|
9280
9329
|
"searcherName": zod.string(),
|
|
9281
|
-
"documentCount": zod.
|
|
9282
|
-
"fieldCount": zod.
|
|
9330
|
+
"documentCount": zod.int(),
|
|
9331
|
+
"fieldCount": zod.int(),
|
|
9283
9332
|
"providerProperties": zod.looseObject({}).nullish(),
|
|
9284
9333
|
"uniqueKeyFieldName": zod.string().nullish()
|
|
9285
9334
|
});
|
|
@@ -9289,8 +9338,8 @@ var postIndexerByIndexNameRebuildParams = zod.object({
|
|
|
9289
9338
|
var postIndexerByIndexNameRebuildResponse = zod.unknown();
|
|
9290
9339
|
var getInstallSettingsResponse = zod.object({
|
|
9291
9340
|
"user": zod.object({
|
|
9292
|
-
"minCharLength": zod.
|
|
9293
|
-
"minNonAlphaNumericLength": zod.
|
|
9341
|
+
"minCharLength": zod.int(),
|
|
9342
|
+
"minNonAlphaNumericLength": zod.int(),
|
|
9294
9343
|
"consentLevels": zod.array(zod.object({
|
|
9295
9344
|
"level": zod.enum(["Minimal", "Basic", "Detailed"]),
|
|
9296
9345
|
"description": zod.string()
|
|
@@ -9298,7 +9347,7 @@ var getInstallSettingsResponse = zod.object({
|
|
|
9298
9347
|
}),
|
|
9299
9348
|
"databases": zod.array(zod.object({
|
|
9300
9349
|
"id": zod.guid(),
|
|
9301
|
-
"sortOrder": zod.
|
|
9350
|
+
"sortOrder": zod.int(),
|
|
9302
9351
|
"displayName": zod.string(),
|
|
9303
9352
|
"defaultDatabaseName": zod.string(),
|
|
9304
9353
|
"providerName": zod.string(),
|
|
@@ -9360,11 +9409,11 @@ var getItemLanguageDefaultResponse = zod.object({
|
|
|
9360
9409
|
});
|
|
9361
9410
|
var getLanguageQueryTakeDefault = 100;
|
|
9362
9411
|
var getLanguageQueryParams = zod.object({
|
|
9363
|
-
"skip": zod.coerce.number().optional(),
|
|
9364
|
-
"take": zod.coerce.number().default(getLanguageQueryTakeDefault)
|
|
9412
|
+
"skip": zod.coerce.number().int().optional(),
|
|
9413
|
+
"take": zod.coerce.number().int().default(getLanguageQueryTakeDefault)
|
|
9365
9414
|
});
|
|
9366
9415
|
var getLanguageResponse = zod.object({
|
|
9367
|
-
"total": zod.
|
|
9416
|
+
"total": zod.int(),
|
|
9368
9417
|
"items": zod.array(zod.object({
|
|
9369
9418
|
"isoCode": zod.string(),
|
|
9370
9419
|
"name": zod.string(),
|
|
@@ -9407,11 +9456,11 @@ var putLanguageByIsoCodeBody = zod.object({
|
|
|
9407
9456
|
var putLanguageByIsoCodeResponse = zod.unknown();
|
|
9408
9457
|
var getLogViewerLevelQueryTakeDefault = 100;
|
|
9409
9458
|
var getLogViewerLevelQueryParams = zod.object({
|
|
9410
|
-
"skip": zod.coerce.number().optional(),
|
|
9411
|
-
"take": zod.coerce.number().default(getLogViewerLevelQueryTakeDefault)
|
|
9459
|
+
"skip": zod.coerce.number().int().optional(),
|
|
9460
|
+
"take": zod.coerce.number().int().default(getLogViewerLevelQueryTakeDefault)
|
|
9412
9461
|
});
|
|
9413
9462
|
var getLogViewerLevelResponse = zod.object({
|
|
9414
|
-
"total": zod.
|
|
9463
|
+
"total": zod.int(),
|
|
9415
9464
|
"items": zod.array(zod.object({
|
|
9416
9465
|
"name": zod.string(),
|
|
9417
9466
|
"level": zod.enum(["Verbose", "Debug", "Information", "Warning", "Error", "Fatal"])
|
|
@@ -9422,16 +9471,16 @@ var getLogViewerLevelCountQueryParams = zod.object({
|
|
|
9422
9471
|
"endDate": zod.iso.datetime({ "local": true, "offset": true }).optional()
|
|
9423
9472
|
});
|
|
9424
9473
|
var getLogViewerLevelCountResponse = zod.object({
|
|
9425
|
-
"information": zod.
|
|
9426
|
-
"debug": zod.
|
|
9427
|
-
"warning": zod.
|
|
9428
|
-
"error": zod.
|
|
9429
|
-
"fatal": zod.
|
|
9474
|
+
"information": zod.int(),
|
|
9475
|
+
"debug": zod.int(),
|
|
9476
|
+
"warning": zod.int(),
|
|
9477
|
+
"error": zod.int(),
|
|
9478
|
+
"fatal": zod.int()
|
|
9430
9479
|
});
|
|
9431
9480
|
var getLogViewerLogQueryTakeDefault = 100;
|
|
9432
9481
|
var getLogViewerLogQueryParams = zod.object({
|
|
9433
|
-
"skip": zod.coerce.number().optional(),
|
|
9434
|
-
"take": zod.coerce.number().default(getLogViewerLogQueryTakeDefault),
|
|
9482
|
+
"skip": zod.coerce.number().int().optional(),
|
|
9483
|
+
"take": zod.coerce.number().int().default(getLogViewerLogQueryTakeDefault),
|
|
9435
9484
|
"orderDirection": zod.enum(["Ascending", "Descending"]).optional(),
|
|
9436
9485
|
"filterExpression": zod.string().optional(),
|
|
9437
9486
|
"logLevel": zod.array(zod.enum(["Verbose", "Debug", "Information", "Warning", "Error", "Fatal"])).optional(),
|
|
@@ -9439,7 +9488,7 @@ var getLogViewerLogQueryParams = zod.object({
|
|
|
9439
9488
|
"endDate": zod.iso.datetime({ "local": true, "offset": true }).optional()
|
|
9440
9489
|
});
|
|
9441
9490
|
var getLogViewerLogResponse = zod.object({
|
|
9442
|
-
"total": zod.
|
|
9491
|
+
"total": zod.int(),
|
|
9443
9492
|
"items": zod.array(zod.object({
|
|
9444
9493
|
"timestamp": zod.iso.datetime({ "local": true, "offset": true }),
|
|
9445
9494
|
"level": zod.enum(["Verbose", "Debug", "Information", "Warning", "Error", "Fatal"]),
|
|
@@ -9454,25 +9503,25 @@ var getLogViewerLogResponse = zod.object({
|
|
|
9454
9503
|
});
|
|
9455
9504
|
var getLogViewerMessageTemplateQueryTakeDefault = 100;
|
|
9456
9505
|
var getLogViewerMessageTemplateQueryParams = zod.object({
|
|
9457
|
-
"skip": zod.coerce.number().optional(),
|
|
9458
|
-
"take": zod.coerce.number().default(getLogViewerMessageTemplateQueryTakeDefault),
|
|
9506
|
+
"skip": zod.coerce.number().int().optional(),
|
|
9507
|
+
"take": zod.coerce.number().int().default(getLogViewerMessageTemplateQueryTakeDefault),
|
|
9459
9508
|
"startDate": zod.iso.datetime({ "local": true, "offset": true }).optional(),
|
|
9460
9509
|
"endDate": zod.iso.datetime({ "local": true, "offset": true }).optional()
|
|
9461
9510
|
});
|
|
9462
9511
|
var getLogViewerMessageTemplateResponse = zod.object({
|
|
9463
|
-
"total": zod.
|
|
9512
|
+
"total": zod.int(),
|
|
9464
9513
|
"items": zod.array(zod.object({
|
|
9465
9514
|
"messageTemplate": zod.string().nullish(),
|
|
9466
|
-
"count": zod.
|
|
9515
|
+
"count": zod.int()
|
|
9467
9516
|
}))
|
|
9468
9517
|
});
|
|
9469
9518
|
var getLogViewerSavedSearchQueryTakeDefault = 100;
|
|
9470
9519
|
var getLogViewerSavedSearchQueryParams = zod.object({
|
|
9471
|
-
"skip": zod.coerce.number().optional(),
|
|
9472
|
-
"take": zod.coerce.number().default(getLogViewerSavedSearchQueryTakeDefault)
|
|
9520
|
+
"skip": zod.coerce.number().int().optional(),
|
|
9521
|
+
"take": zod.coerce.number().int().default(getLogViewerSavedSearchQueryTakeDefault)
|
|
9473
9522
|
});
|
|
9474
9523
|
var getLogViewerSavedSearchResponse = zod.object({
|
|
9475
|
-
"total": zod.
|
|
9524
|
+
"total": zod.int(),
|
|
9476
9525
|
"items": zod.array(zod.object({
|
|
9477
9526
|
"name": zod.string(),
|
|
9478
9527
|
"query": zod.string()
|
|
@@ -9531,11 +9580,11 @@ var getCollectionMediaQueryParams = zod.object({
|
|
|
9531
9580
|
"orderBy": zod.string().default(getCollectionMediaQueryOrderByDefault),
|
|
9532
9581
|
"orderDirection": zod.enum(["Ascending", "Descending"]).optional(),
|
|
9533
9582
|
"filter": zod.string().optional(),
|
|
9534
|
-
"skip": zod.coerce.number().optional(),
|
|
9535
|
-
"take": zod.coerce.number().default(getCollectionMediaQueryTakeDefault)
|
|
9583
|
+
"skip": zod.coerce.number().int().optional(),
|
|
9584
|
+
"take": zod.coerce.number().int().default(getCollectionMediaQueryTakeDefault)
|
|
9536
9585
|
});
|
|
9537
9586
|
var getCollectionMediaResponse = zod.object({
|
|
9538
|
-
"total": zod.
|
|
9587
|
+
"total": zod.int(),
|
|
9539
9588
|
"items": zod.array(zod.object({
|
|
9540
9589
|
"mediaType": zod.object({
|
|
9541
9590
|
"id": zod.guid(),
|
|
@@ -9545,8 +9594,10 @@ var getCollectionMediaResponse = zod.object({
|
|
|
9545
9594
|
"id": zod.guid()
|
|
9546
9595
|
})]).optional()
|
|
9547
9596
|
}),
|
|
9597
|
+
"extension": zod.string().nullish(),
|
|
9548
9598
|
"creator": zod.string().nullish(),
|
|
9549
|
-
"sortOrder": zod.
|
|
9599
|
+
"sortOrder": zod.int(),
|
|
9600
|
+
"hasChildren": zod.boolean().optional(),
|
|
9550
9601
|
"id": zod.guid(),
|
|
9551
9602
|
"flags": zod.array(zod.object({
|
|
9552
9603
|
"alias": zod.string()
|
|
@@ -9583,6 +9634,7 @@ var getItemMediaResponseItem = zod.object({
|
|
|
9583
9634
|
"id": zod.guid()
|
|
9584
9635
|
})]).optional()
|
|
9585
9636
|
}),
|
|
9637
|
+
"extension": zod.string().nullish(),
|
|
9586
9638
|
"variants": zod.array(zod.object({
|
|
9587
9639
|
"name": zod.string(),
|
|
9588
9640
|
"culture": zod.string().nullish()
|
|
@@ -9611,6 +9663,7 @@ var getItemMediaAncestorsResponseItem = zod.object({
|
|
|
9611
9663
|
"id": zod.guid()
|
|
9612
9664
|
})]).optional()
|
|
9613
9665
|
}),
|
|
9666
|
+
"extension": zod.string().nullish(),
|
|
9614
9667
|
"variants": zod.array(zod.object({
|
|
9615
9668
|
"name": zod.string(),
|
|
9616
9669
|
"culture": zod.string().nullish()
|
|
@@ -9627,8 +9680,8 @@ var getItemMediaSearchQueryParams = zod.object({
|
|
|
9627
9680
|
"query": zod.string().optional(),
|
|
9628
9681
|
"trashed": zod.coerce.boolean().optional(),
|
|
9629
9682
|
"culture": zod.string().optional(),
|
|
9630
|
-
"skip": zod.coerce.number().optional(),
|
|
9631
|
-
"take": zod.coerce.number().default(getItemMediaSearchQueryTakeDefault),
|
|
9683
|
+
"skip": zod.coerce.number().int().optional(),
|
|
9684
|
+
"take": zod.coerce.number().int().default(getItemMediaSearchQueryTakeDefault),
|
|
9632
9685
|
"parentId": zod.guid().optional(),
|
|
9633
9686
|
"allowedMediaTypes": zod.array(zod.guid()).optional(),
|
|
9634
9687
|
"dataTypeId": zod.guid().optional()
|
|
@@ -9647,6 +9700,7 @@ var getItemMediaSearchResponse = zod.object({
|
|
|
9647
9700
|
"id": zod.guid()
|
|
9648
9701
|
})]).optional()
|
|
9649
9702
|
}),
|
|
9703
|
+
"extension": zod.string().nullish(),
|
|
9650
9704
|
"variants": zod.array(zod.object({
|
|
9651
9705
|
"name": zod.string(),
|
|
9652
9706
|
"culture": zod.string().nullish()
|
|
@@ -9656,7 +9710,7 @@ var getItemMediaSearchResponse = zod.object({
|
|
|
9656
9710
|
"alias": zod.string()
|
|
9657
9711
|
}))
|
|
9658
9712
|
})),
|
|
9659
|
-
"total": zod.
|
|
9713
|
+
"total": zod.int()
|
|
9660
9714
|
});
|
|
9661
9715
|
var postMediaBody = zod.object({
|
|
9662
9716
|
"mediaType": zod.object({
|
|
@@ -9738,11 +9792,11 @@ var getMediaByIdAuditLogQueryTakeDefault = 100;
|
|
|
9738
9792
|
var getMediaByIdAuditLogQueryParams = zod.object({
|
|
9739
9793
|
"orderDirection": zod.enum(["Ascending", "Descending"]).optional(),
|
|
9740
9794
|
"sinceDate": zod.iso.datetime({ "local": true, "offset": true }).optional(),
|
|
9741
|
-
"skip": zod.coerce.number().optional(),
|
|
9742
|
-
"take": zod.coerce.number().default(getMediaByIdAuditLogQueryTakeDefault)
|
|
9795
|
+
"skip": zod.coerce.number().int().optional(),
|
|
9796
|
+
"take": zod.coerce.number().int().default(getMediaByIdAuditLogQueryTakeDefault)
|
|
9743
9797
|
});
|
|
9744
9798
|
var getMediaByIdAuditLogResponse = zod.object({
|
|
9745
|
-
"total": zod.
|
|
9799
|
+
"total": zod.int(),
|
|
9746
9800
|
"items": zod.array(zod.object({
|
|
9747
9801
|
"user": zod.object({
|
|
9748
9802
|
"id": zod.guid()
|
|
@@ -9771,11 +9825,11 @@ var getMediaByIdReferencedByParams = zod.object({
|
|
|
9771
9825
|
});
|
|
9772
9826
|
var getMediaByIdReferencedByQueryTakeDefault = 20;
|
|
9773
9827
|
var getMediaByIdReferencedByQueryParams = zod.object({
|
|
9774
|
-
"skip": zod.coerce.number().optional(),
|
|
9775
|
-
"take": zod.coerce.number().default(getMediaByIdReferencedByQueryTakeDefault)
|
|
9828
|
+
"skip": zod.coerce.number().int().optional(),
|
|
9829
|
+
"take": zod.coerce.number().int().default(getMediaByIdReferencedByQueryTakeDefault)
|
|
9776
9830
|
});
|
|
9777
9831
|
var getMediaByIdReferencedByResponse = zod.object({
|
|
9778
|
-
"total": zod.
|
|
9832
|
+
"total": zod.int(),
|
|
9779
9833
|
"items": zod.array(zod.union([zod.object({
|
|
9780
9834
|
"$type": zod.enum(["DefaultReferenceResponseModel"]),
|
|
9781
9835
|
"type": zod.string().nullish(),
|
|
@@ -9886,11 +9940,11 @@ var getMediaByIdReferencedDescendantsParams = zod.object({
|
|
|
9886
9940
|
});
|
|
9887
9941
|
var getMediaByIdReferencedDescendantsQueryTakeDefault = 20;
|
|
9888
9942
|
var getMediaByIdReferencedDescendantsQueryParams = zod.object({
|
|
9889
|
-
"skip": zod.coerce.number().optional(),
|
|
9890
|
-
"take": zod.coerce.number().default(getMediaByIdReferencedDescendantsQueryTakeDefault)
|
|
9943
|
+
"skip": zod.coerce.number().int().optional(),
|
|
9944
|
+
"take": zod.coerce.number().int().default(getMediaByIdReferencedDescendantsQueryTakeDefault)
|
|
9891
9945
|
});
|
|
9892
9946
|
var getMediaByIdReferencedDescendantsResponse = zod.object({
|
|
9893
|
-
"total": zod.
|
|
9947
|
+
"total": zod.int(),
|
|
9894
9948
|
"items": zod.array(zod.object({
|
|
9895
9949
|
"id": zod.guid()
|
|
9896
9950
|
}))
|
|
@@ -9923,11 +9977,11 @@ var putMediaByIdValidateResponse = zod.unknown();
|
|
|
9923
9977
|
var getMediaAreReferencedQueryTakeDefault = 20;
|
|
9924
9978
|
var getMediaAreReferencedQueryParams = zod.object({
|
|
9925
9979
|
"id": zod.array(zod.guid()).optional(),
|
|
9926
|
-
"skip": zod.coerce.number().optional(),
|
|
9927
|
-
"take": zod.coerce.number().default(getMediaAreReferencedQueryTakeDefault)
|
|
9980
|
+
"skip": zod.coerce.number().int().optional(),
|
|
9981
|
+
"take": zod.coerce.number().int().default(getMediaAreReferencedQueryTakeDefault)
|
|
9928
9982
|
});
|
|
9929
9983
|
var getMediaAreReferencedResponse = zod.object({
|
|
9930
|
-
"total": zod.
|
|
9984
|
+
"total": zod.int(),
|
|
9931
9985
|
"items": zod.array(zod.object({
|
|
9932
9986
|
"id": zod.guid()
|
|
9933
9987
|
}))
|
|
@@ -9947,12 +10001,13 @@ var putMediaSortBody = zod.object({
|
|
|
9947
10001
|
})]).optional(),
|
|
9948
10002
|
"sorting": zod.array(zod.object({
|
|
9949
10003
|
"id": zod.guid(),
|
|
9950
|
-
"sortOrder": zod.
|
|
10004
|
+
"sortOrder": zod.int()
|
|
9951
10005
|
}))
|
|
9952
10006
|
});
|
|
9953
10007
|
var putMediaSortResponse = zod.unknown();
|
|
9954
10008
|
var getMediaUrlsQueryParams = zod.object({
|
|
9955
|
-
"id": zod.array(zod.guid()).optional()
|
|
10009
|
+
"id": zod.array(zod.guid()).optional(),
|
|
10010
|
+
"dataTypeId": zod.guid().optional()
|
|
9956
10011
|
});
|
|
9957
10012
|
var getMediaUrlsResponseItem = zod.object({
|
|
9958
10013
|
"id": zod.guid(),
|
|
@@ -10006,11 +10061,11 @@ var putRecycleBinMediaByIdRestoreResponse = zod.unknown();
|
|
|
10006
10061
|
var getRecycleBinMediaChildrenQueryTakeDefault = 100;
|
|
10007
10062
|
var getRecycleBinMediaChildrenQueryParams = zod.object({
|
|
10008
10063
|
"parentId": zod.guid().optional(),
|
|
10009
|
-
"skip": zod.coerce.number().optional(),
|
|
10010
|
-
"take": zod.coerce.number().default(getRecycleBinMediaChildrenQueryTakeDefault)
|
|
10064
|
+
"skip": zod.coerce.number().int().optional(),
|
|
10065
|
+
"take": zod.coerce.number().int().default(getRecycleBinMediaChildrenQueryTakeDefault)
|
|
10011
10066
|
});
|
|
10012
10067
|
var getRecycleBinMediaChildrenResponse = zod.object({
|
|
10013
|
-
"total": zod.
|
|
10068
|
+
"total": zod.int(),
|
|
10014
10069
|
"items": zod.array(zod.object({
|
|
10015
10070
|
"mediaType": zod.object({
|
|
10016
10071
|
"id": zod.guid(),
|
|
@@ -10033,11 +10088,11 @@ var getRecycleBinMediaChildrenResponse = zod.object({
|
|
|
10033
10088
|
});
|
|
10034
10089
|
var getRecycleBinMediaReferencedByQueryTakeDefault = 20;
|
|
10035
10090
|
var getRecycleBinMediaReferencedByQueryParams = zod.object({
|
|
10036
|
-
"skip": zod.coerce.number().optional(),
|
|
10037
|
-
"take": zod.coerce.number().default(getRecycleBinMediaReferencedByQueryTakeDefault)
|
|
10091
|
+
"skip": zod.coerce.number().int().optional(),
|
|
10092
|
+
"take": zod.coerce.number().int().default(getRecycleBinMediaReferencedByQueryTakeDefault)
|
|
10038
10093
|
});
|
|
10039
10094
|
var getRecycleBinMediaReferencedByResponse = zod.object({
|
|
10040
|
-
"total": zod.
|
|
10095
|
+
"total": zod.int(),
|
|
10041
10096
|
"items": zod.array(zod.union([zod.object({
|
|
10042
10097
|
"$type": zod.enum(["DefaultReferenceResponseModel"]),
|
|
10043
10098
|
"type": zod.string().nullish(),
|
|
@@ -10145,11 +10200,11 @@ var getRecycleBinMediaReferencedByResponse = zod.object({
|
|
|
10145
10200
|
});
|
|
10146
10201
|
var getRecycleBinMediaRootQueryTakeDefault = 100;
|
|
10147
10202
|
var getRecycleBinMediaRootQueryParams = zod.object({
|
|
10148
|
-
"skip": zod.coerce.number().optional(),
|
|
10149
|
-
"take": zod.coerce.number().default(getRecycleBinMediaRootQueryTakeDefault)
|
|
10203
|
+
"skip": zod.coerce.number().int().optional(),
|
|
10204
|
+
"take": zod.coerce.number().int().default(getRecycleBinMediaRootQueryTakeDefault)
|
|
10150
10205
|
});
|
|
10151
10206
|
var getRecycleBinMediaRootResponse = zod.object({
|
|
10152
|
-
"total": zod.
|
|
10207
|
+
"total": zod.int(),
|
|
10153
10208
|
"items": zod.array(zod.object({
|
|
10154
10209
|
"mediaType": zod.object({
|
|
10155
10210
|
"id": zod.guid(),
|
|
@@ -10172,13 +10227,13 @@ var getRecycleBinMediaRootResponse = zod.object({
|
|
|
10172
10227
|
});
|
|
10173
10228
|
var getRecycleBinMediaSiblingsQueryParams = zod.object({
|
|
10174
10229
|
"target": zod.guid().optional(),
|
|
10175
|
-
"before": zod.coerce.number().optional(),
|
|
10176
|
-
"after": zod.coerce.number().optional(),
|
|
10230
|
+
"before": zod.coerce.number().int().optional(),
|
|
10231
|
+
"after": zod.coerce.number().int().optional(),
|
|
10177
10232
|
"dataTypeId": zod.guid().optional()
|
|
10178
10233
|
});
|
|
10179
10234
|
var getRecycleBinMediaSiblingsResponse = zod.object({
|
|
10180
|
-
"totalBefore": zod.
|
|
10181
|
-
"totalAfter": zod.
|
|
10235
|
+
"totalBefore": zod.int(),
|
|
10236
|
+
"totalAfter": zod.int(),
|
|
10182
10237
|
"items": zod.array(zod.object({
|
|
10183
10238
|
"mediaType": zod.object({
|
|
10184
10239
|
"id": zod.guid(),
|
|
@@ -10210,6 +10265,7 @@ var getTreeMediaAncestorsResponseItem = zod.object({
|
|
|
10210
10265
|
"id": zod.guid()
|
|
10211
10266
|
})]).optional()
|
|
10212
10267
|
}),
|
|
10268
|
+
"extension": zod.string().nullish(),
|
|
10213
10269
|
"variants": zod.array(zod.object({
|
|
10214
10270
|
"name": zod.string(),
|
|
10215
10271
|
"culture": zod.string().nullish()
|
|
@@ -10230,12 +10286,12 @@ var getTreeMediaAncestorsResponse = zod.array(getTreeMediaAncestorsResponseItem)
|
|
|
10230
10286
|
var getTreeMediaChildrenQueryTakeDefault = 100;
|
|
10231
10287
|
var getTreeMediaChildrenQueryParams = zod.object({
|
|
10232
10288
|
"parentId": zod.guid().optional(),
|
|
10233
|
-
"skip": zod.coerce.number().optional(),
|
|
10234
|
-
"take": zod.coerce.number().default(getTreeMediaChildrenQueryTakeDefault),
|
|
10289
|
+
"skip": zod.coerce.number().int().optional(),
|
|
10290
|
+
"take": zod.coerce.number().int().default(getTreeMediaChildrenQueryTakeDefault),
|
|
10235
10291
|
"dataTypeId": zod.guid().optional()
|
|
10236
10292
|
});
|
|
10237
10293
|
var getTreeMediaChildrenResponse = zod.object({
|
|
10238
|
-
"total": zod.
|
|
10294
|
+
"total": zod.int(),
|
|
10239
10295
|
"items": zod.array(zod.object({
|
|
10240
10296
|
"mediaType": zod.object({
|
|
10241
10297
|
"id": zod.guid(),
|
|
@@ -10244,6 +10300,7 @@ var getTreeMediaChildrenResponse = zod.object({
|
|
|
10244
10300
|
"id": zod.guid()
|
|
10245
10301
|
})]).optional()
|
|
10246
10302
|
}),
|
|
10303
|
+
"extension": zod.string().nullish(),
|
|
10247
10304
|
"variants": zod.array(zod.object({
|
|
10248
10305
|
"name": zod.string(),
|
|
10249
10306
|
"culture": zod.string().nullish()
|
|
@@ -10263,12 +10320,12 @@ var getTreeMediaChildrenResponse = zod.object({
|
|
|
10263
10320
|
});
|
|
10264
10321
|
var getTreeMediaRootQueryTakeDefault = 100;
|
|
10265
10322
|
var getTreeMediaRootQueryParams = zod.object({
|
|
10266
|
-
"skip": zod.coerce.number().optional(),
|
|
10267
|
-
"take": zod.coerce.number().default(getTreeMediaRootQueryTakeDefault),
|
|
10323
|
+
"skip": zod.coerce.number().int().optional(),
|
|
10324
|
+
"take": zod.coerce.number().int().default(getTreeMediaRootQueryTakeDefault),
|
|
10268
10325
|
"dataTypeId": zod.guid().optional()
|
|
10269
10326
|
});
|
|
10270
10327
|
var getTreeMediaRootResponse = zod.object({
|
|
10271
|
-
"total": zod.
|
|
10328
|
+
"total": zod.int(),
|
|
10272
10329
|
"items": zod.array(zod.object({
|
|
10273
10330
|
"mediaType": zod.object({
|
|
10274
10331
|
"id": zod.guid(),
|
|
@@ -10277,6 +10334,7 @@ var getTreeMediaRootResponse = zod.object({
|
|
|
10277
10334
|
"id": zod.guid()
|
|
10278
10335
|
})]).optional()
|
|
10279
10336
|
}),
|
|
10337
|
+
"extension": zod.string().nullish(),
|
|
10280
10338
|
"variants": zod.array(zod.object({
|
|
10281
10339
|
"name": zod.string(),
|
|
10282
10340
|
"culture": zod.string().nullish()
|
|
@@ -10296,13 +10354,13 @@ var getTreeMediaRootResponse = zod.object({
|
|
|
10296
10354
|
});
|
|
10297
10355
|
var getTreeMediaSiblingsQueryParams = zod.object({
|
|
10298
10356
|
"target": zod.guid().optional(),
|
|
10299
|
-
"before": zod.coerce.number().optional(),
|
|
10300
|
-
"after": zod.coerce.number().optional(),
|
|
10357
|
+
"before": zod.coerce.number().int().optional(),
|
|
10358
|
+
"after": zod.coerce.number().int().optional(),
|
|
10301
10359
|
"dataTypeId": zod.guid().optional()
|
|
10302
10360
|
});
|
|
10303
10361
|
var getTreeMediaSiblingsResponse = zod.object({
|
|
10304
|
-
"totalBefore": zod.
|
|
10305
|
-
"totalAfter": zod.
|
|
10362
|
+
"totalBefore": zod.int(),
|
|
10363
|
+
"totalAfter": zod.int(),
|
|
10306
10364
|
"items": zod.array(zod.object({
|
|
10307
10365
|
"mediaType": zod.object({
|
|
10308
10366
|
"id": zod.guid(),
|
|
@@ -10311,6 +10369,7 @@ var getTreeMediaSiblingsResponse = zod.object({
|
|
|
10311
10369
|
"id": zod.guid()
|
|
10312
10370
|
})]).optional()
|
|
10313
10371
|
}),
|
|
10372
|
+
"extension": zod.string().nullish(),
|
|
10314
10373
|
"variants": zod.array(zod.object({
|
|
10315
10374
|
"name": zod.string(),
|
|
10316
10375
|
"culture": zod.string().nullish()
|
|
@@ -10343,8 +10402,8 @@ var getItemMediaTypeResponse = zod.array(getItemMediaTypeResponseItem);
|
|
|
10343
10402
|
var getItemMediaTypeAllowedQueryTakeDefault = 100;
|
|
10344
10403
|
var getItemMediaTypeAllowedQueryParams = zod.object({
|
|
10345
10404
|
"fileExtension": zod.string().optional(),
|
|
10346
|
-
"skip": zod.coerce.number().optional(),
|
|
10347
|
-
"take": zod.coerce.number().default(getItemMediaTypeAllowedQueryTakeDefault)
|
|
10405
|
+
"skip": zod.coerce.number().int().optional(),
|
|
10406
|
+
"take": zod.coerce.number().int().default(getItemMediaTypeAllowedQueryTakeDefault)
|
|
10348
10407
|
});
|
|
10349
10408
|
var getItemMediaTypeAllowedResponse = zod.object({
|
|
10350
10409
|
"items": zod.array(zod.object({
|
|
@@ -10356,7 +10415,7 @@ var getItemMediaTypeAllowedResponse = zod.object({
|
|
|
10356
10415
|
"alias": zod.string()
|
|
10357
10416
|
}))
|
|
10358
10417
|
})),
|
|
10359
|
-
"total": zod.
|
|
10418
|
+
"total": zod.int()
|
|
10360
10419
|
});
|
|
10361
10420
|
var getItemMediaTypeAncestorsQueryParams = zod.object({
|
|
10362
10421
|
"id": zod.array(zod.guid()).optional()
|
|
@@ -10374,8 +10433,8 @@ var getItemMediaTypeAncestorsResponseItem = zod.object({
|
|
|
10374
10433
|
var getItemMediaTypeAncestorsResponse = zod.array(getItemMediaTypeAncestorsResponseItem);
|
|
10375
10434
|
var getItemMediaTypeFoldersQueryTakeDefault = 100;
|
|
10376
10435
|
var getItemMediaTypeFoldersQueryParams = zod.object({
|
|
10377
|
-
"skip": zod.coerce.number().optional(),
|
|
10378
|
-
"take": zod.coerce.number().default(getItemMediaTypeFoldersQueryTakeDefault)
|
|
10436
|
+
"skip": zod.coerce.number().int().optional(),
|
|
10437
|
+
"take": zod.coerce.number().int().default(getItemMediaTypeFoldersQueryTakeDefault)
|
|
10379
10438
|
});
|
|
10380
10439
|
var getItemMediaTypeFoldersResponse = zod.object({
|
|
10381
10440
|
"items": zod.array(zod.object({
|
|
@@ -10386,13 +10445,13 @@ var getItemMediaTypeFoldersResponse = zod.object({
|
|
|
10386
10445
|
"alias": zod.string()
|
|
10387
10446
|
}))
|
|
10388
10447
|
})),
|
|
10389
|
-
"total": zod.
|
|
10448
|
+
"total": zod.int()
|
|
10390
10449
|
});
|
|
10391
10450
|
var getItemMediaTypeSearchQueryTakeDefault = 100;
|
|
10392
10451
|
var getItemMediaTypeSearchQueryParams = zod.object({
|
|
10393
10452
|
"query": zod.string().optional(),
|
|
10394
|
-
"skip": zod.coerce.number().optional(),
|
|
10395
|
-
"take": zod.coerce.number().default(getItemMediaTypeSearchQueryTakeDefault)
|
|
10453
|
+
"skip": zod.coerce.number().int().optional(),
|
|
10454
|
+
"take": zod.coerce.number().int().default(getItemMediaTypeSearchQueryTakeDefault)
|
|
10396
10455
|
});
|
|
10397
10456
|
var getItemMediaTypeSearchResponse = zod.object({
|
|
10398
10457
|
"items": zod.array(zod.object({
|
|
@@ -10403,14 +10462,14 @@ var getItemMediaTypeSearchResponse = zod.object({
|
|
|
10403
10462
|
"alias": zod.string()
|
|
10404
10463
|
}))
|
|
10405
10464
|
})),
|
|
10406
|
-
"total": zod.
|
|
10465
|
+
"total": zod.int()
|
|
10407
10466
|
});
|
|
10408
10467
|
var postMediaTypeBody = zod.object({
|
|
10409
10468
|
"allowedMediaTypes": zod.array(zod.object({
|
|
10410
10469
|
"mediaType": zod.object({
|
|
10411
10470
|
"id": zod.guid()
|
|
10412
10471
|
}),
|
|
10413
|
-
"sortOrder": zod.
|
|
10472
|
+
"sortOrder": zod.int()
|
|
10414
10473
|
})),
|
|
10415
10474
|
"compositions": zod.array(zod.object({
|
|
10416
10475
|
"mediaType": zod.object({
|
|
@@ -10439,7 +10498,7 @@ var postMediaTypeBody = zod.object({
|
|
|
10439
10498
|
"container": zod.union([zod.null(), zod.object({
|
|
10440
10499
|
"id": zod.guid()
|
|
10441
10500
|
})]).optional(),
|
|
10442
|
-
"sortOrder": zod.
|
|
10501
|
+
"sortOrder": zod.int(),
|
|
10443
10502
|
"alias": zod.string(),
|
|
10444
10503
|
"name": zod.string(),
|
|
10445
10504
|
"description": zod.string().nullish(),
|
|
@@ -10465,7 +10524,7 @@ var postMediaTypeBody = zod.object({
|
|
|
10465
10524
|
})]).optional(),
|
|
10466
10525
|
"name": zod.string().nullish(),
|
|
10467
10526
|
"type": zod.string(),
|
|
10468
|
-
"sortOrder": zod.
|
|
10527
|
+
"sortOrder": zod.int()
|
|
10469
10528
|
}))
|
|
10470
10529
|
});
|
|
10471
10530
|
var postMediaTypeResponse = zod.void();
|
|
@@ -10477,7 +10536,7 @@ var getMediaTypeByIdResponse = zod.object({
|
|
|
10477
10536
|
"mediaType": zod.object({
|
|
10478
10537
|
"id": zod.guid()
|
|
10479
10538
|
}),
|
|
10480
|
-
"sortOrder": zod.
|
|
10539
|
+
"sortOrder": zod.int()
|
|
10481
10540
|
})),
|
|
10482
10541
|
"compositions": zod.array(zod.object({
|
|
10483
10542
|
"mediaType": zod.object({
|
|
@@ -10505,7 +10564,7 @@ var getMediaTypeByIdResponse = zod.object({
|
|
|
10505
10564
|
"container": zod.union([zod.null(), zod.object({
|
|
10506
10565
|
"id": zod.guid()
|
|
10507
10566
|
})]).optional(),
|
|
10508
|
-
"sortOrder": zod.
|
|
10567
|
+
"sortOrder": zod.int(),
|
|
10509
10568
|
"alias": zod.string(),
|
|
10510
10569
|
"name": zod.string(),
|
|
10511
10570
|
"description": zod.string().nullish(),
|
|
@@ -10531,7 +10590,7 @@ var getMediaTypeByIdResponse = zod.object({
|
|
|
10531
10590
|
})]).optional(),
|
|
10532
10591
|
"name": zod.string().nullish(),
|
|
10533
10592
|
"type": zod.string(),
|
|
10534
|
-
"sortOrder": zod.
|
|
10593
|
+
"sortOrder": zod.int()
|
|
10535
10594
|
}))
|
|
10536
10595
|
});
|
|
10537
10596
|
var deleteMediaTypeByIdParams = zod.object({
|
|
@@ -10546,7 +10605,7 @@ var putMediaTypeByIdBody = zod.object({
|
|
|
10546
10605
|
"mediaType": zod.object({
|
|
10547
10606
|
"id": zod.guid()
|
|
10548
10607
|
}),
|
|
10549
|
-
"sortOrder": zod.
|
|
10608
|
+
"sortOrder": zod.int()
|
|
10550
10609
|
})),
|
|
10551
10610
|
"compositions": zod.array(zod.object({
|
|
10552
10611
|
"mediaType": zod.object({
|
|
@@ -10571,7 +10630,7 @@ var putMediaTypeByIdBody = zod.object({
|
|
|
10571
10630
|
"container": zod.union([zod.null(), zod.object({
|
|
10572
10631
|
"id": zod.guid()
|
|
10573
10632
|
})]).optional(),
|
|
10574
|
-
"sortOrder": zod.
|
|
10633
|
+
"sortOrder": zod.int(),
|
|
10575
10634
|
"alias": zod.string(),
|
|
10576
10635
|
"name": zod.string(),
|
|
10577
10636
|
"description": zod.string().nullish(),
|
|
@@ -10597,7 +10656,7 @@ var putMediaTypeByIdBody = zod.object({
|
|
|
10597
10656
|
})]).optional(),
|
|
10598
10657
|
"name": zod.string().nullish(),
|
|
10599
10658
|
"type": zod.string(),
|
|
10600
|
-
"sortOrder": zod.
|
|
10659
|
+
"sortOrder": zod.int()
|
|
10601
10660
|
}))
|
|
10602
10661
|
});
|
|
10603
10662
|
var putMediaTypeByIdResponse = zod.unknown();
|
|
@@ -10607,11 +10666,11 @@ var getMediaTypeByIdAllowedChildrenParams = zod.object({
|
|
|
10607
10666
|
var getMediaTypeByIdAllowedChildrenQueryTakeDefault = 100;
|
|
10608
10667
|
var getMediaTypeByIdAllowedChildrenQueryParams = zod.object({
|
|
10609
10668
|
"parentContentKey": zod.guid().optional(),
|
|
10610
|
-
"skip": zod.coerce.number().optional(),
|
|
10611
|
-
"take": zod.coerce.number().default(getMediaTypeByIdAllowedChildrenQueryTakeDefault)
|
|
10669
|
+
"skip": zod.coerce.number().int().optional(),
|
|
10670
|
+
"take": zod.coerce.number().int().default(getMediaTypeByIdAllowedChildrenQueryTakeDefault)
|
|
10612
10671
|
});
|
|
10613
10672
|
var getMediaTypeByIdAllowedChildrenResponse = zod.object({
|
|
10614
|
-
"total": zod.
|
|
10673
|
+
"total": zod.int(),
|
|
10615
10674
|
"items": zod.array(zod.object({
|
|
10616
10675
|
"id": zod.guid(),
|
|
10617
10676
|
"name": zod.string(),
|
|
@@ -10673,11 +10732,11 @@ var getMediaTypeByIdSchemaParams = zod.object({
|
|
|
10673
10732
|
var getMediaTypeByIdSchemaResponse = zod.looseObject({});
|
|
10674
10733
|
var getMediaTypeAllowedAtRootQueryTakeDefault = 100;
|
|
10675
10734
|
var getMediaTypeAllowedAtRootQueryParams = zod.object({
|
|
10676
|
-
"skip": zod.coerce.number().optional(),
|
|
10677
|
-
"take": zod.coerce.number().default(getMediaTypeAllowedAtRootQueryTakeDefault)
|
|
10735
|
+
"skip": zod.coerce.number().int().optional(),
|
|
10736
|
+
"take": zod.coerce.number().int().default(getMediaTypeAllowedAtRootQueryTakeDefault)
|
|
10678
10737
|
});
|
|
10679
10738
|
var getMediaTypeAllowedAtRootResponse = zod.object({
|
|
10680
|
-
"total": zod.
|
|
10739
|
+
"total": zod.int(),
|
|
10681
10740
|
"items": zod.array(zod.object({
|
|
10682
10741
|
"id": zod.guid(),
|
|
10683
10742
|
"name": zod.string(),
|
|
@@ -10702,13 +10761,13 @@ var getMediaTypeBatchQueryParams = zod.object({
|
|
|
10702
10761
|
"id": zod.array(zod.guid()).optional()
|
|
10703
10762
|
});
|
|
10704
10763
|
var getMediaTypeBatchResponse = zod.object({
|
|
10705
|
-
"total": zod.
|
|
10764
|
+
"total": zod.int(),
|
|
10706
10765
|
"items": zod.array(zod.object({
|
|
10707
10766
|
"allowedMediaTypes": zod.array(zod.object({
|
|
10708
10767
|
"mediaType": zod.object({
|
|
10709
10768
|
"id": zod.guid()
|
|
10710
10769
|
}),
|
|
10711
|
-
"sortOrder": zod.
|
|
10770
|
+
"sortOrder": zod.int()
|
|
10712
10771
|
})),
|
|
10713
10772
|
"compositions": zod.array(zod.object({
|
|
10714
10773
|
"mediaType": zod.object({
|
|
@@ -10736,7 +10795,7 @@ var getMediaTypeBatchResponse = zod.object({
|
|
|
10736
10795
|
"container": zod.union([zod.null(), zod.object({
|
|
10737
10796
|
"id": zod.guid()
|
|
10738
10797
|
})]).optional(),
|
|
10739
|
-
"sortOrder": zod.
|
|
10798
|
+
"sortOrder": zod.int(),
|
|
10740
10799
|
"alias": zod.string(),
|
|
10741
10800
|
"name": zod.string(),
|
|
10742
10801
|
"description": zod.string().nullish(),
|
|
@@ -10762,7 +10821,7 @@ var getMediaTypeBatchResponse = zod.object({
|
|
|
10762
10821
|
})]).optional(),
|
|
10763
10822
|
"name": zod.string().nullish(),
|
|
10764
10823
|
"type": zod.string(),
|
|
10765
|
-
"sortOrder": zod.
|
|
10824
|
+
"sortOrder": zod.int()
|
|
10766
10825
|
}))
|
|
10767
10826
|
}))
|
|
10768
10827
|
});
|
|
@@ -10824,12 +10883,12 @@ var getTreeMediaTypeAncestorsResponse = zod.array(getTreeMediaTypeAncestorsRespo
|
|
|
10824
10883
|
var getTreeMediaTypeChildrenQueryTakeDefault = 100;
|
|
10825
10884
|
var getTreeMediaTypeChildrenQueryParams = zod.object({
|
|
10826
10885
|
"parentId": zod.guid().optional(),
|
|
10827
|
-
"skip": zod.coerce.number().optional(),
|
|
10828
|
-
"take": zod.coerce.number().default(getTreeMediaTypeChildrenQueryTakeDefault),
|
|
10886
|
+
"skip": zod.coerce.number().int().optional(),
|
|
10887
|
+
"take": zod.coerce.number().int().default(getTreeMediaTypeChildrenQueryTakeDefault),
|
|
10829
10888
|
"foldersOnly": zod.coerce.boolean().optional()
|
|
10830
10889
|
});
|
|
10831
10890
|
var getTreeMediaTypeChildrenResponse = zod.object({
|
|
10832
|
-
"total": zod.
|
|
10891
|
+
"total": zod.int(),
|
|
10833
10892
|
"items": zod.array(zod.object({
|
|
10834
10893
|
"icon": zod.string(),
|
|
10835
10894
|
"isDeletable": zod.boolean(),
|
|
@@ -10848,12 +10907,12 @@ var getTreeMediaTypeChildrenResponse = zod.object({
|
|
|
10848
10907
|
});
|
|
10849
10908
|
var getTreeMediaTypeRootQueryTakeDefault = 100;
|
|
10850
10909
|
var getTreeMediaTypeRootQueryParams = zod.object({
|
|
10851
|
-
"skip": zod.coerce.number().optional(),
|
|
10852
|
-
"take": zod.coerce.number().default(getTreeMediaTypeRootQueryTakeDefault),
|
|
10910
|
+
"skip": zod.coerce.number().int().optional(),
|
|
10911
|
+
"take": zod.coerce.number().int().default(getTreeMediaTypeRootQueryTakeDefault),
|
|
10853
10912
|
"foldersOnly": zod.coerce.boolean().optional()
|
|
10854
10913
|
});
|
|
10855
10914
|
var getTreeMediaTypeRootResponse = zod.object({
|
|
10856
|
-
"total": zod.
|
|
10915
|
+
"total": zod.int(),
|
|
10857
10916
|
"items": zod.array(zod.object({
|
|
10858
10917
|
"icon": zod.string(),
|
|
10859
10918
|
"isDeletable": zod.boolean(),
|
|
@@ -10872,13 +10931,13 @@ var getTreeMediaTypeRootResponse = zod.object({
|
|
|
10872
10931
|
});
|
|
10873
10932
|
var getTreeMediaTypeSiblingsQueryParams = zod.object({
|
|
10874
10933
|
"target": zod.guid().optional(),
|
|
10875
|
-
"before": zod.coerce.number().optional(),
|
|
10876
|
-
"after": zod.coerce.number().optional(),
|
|
10934
|
+
"before": zod.coerce.number().int().optional(),
|
|
10935
|
+
"after": zod.coerce.number().int().optional(),
|
|
10877
10936
|
"foldersOnly": zod.coerce.boolean().optional()
|
|
10878
10937
|
});
|
|
10879
10938
|
var getTreeMediaTypeSiblingsResponse = zod.object({
|
|
10880
|
-
"totalBefore": zod.
|
|
10881
|
-
"totalAfter": zod.
|
|
10939
|
+
"totalBefore": zod.int(),
|
|
10940
|
+
"totalAfter": zod.int(),
|
|
10882
10941
|
"items": zod.array(zod.object({
|
|
10883
10942
|
"icon": zod.string(),
|
|
10884
10943
|
"isDeletable": zod.boolean(),
|
|
@@ -10905,11 +10964,11 @@ var getFilterMemberQueryParams = zod.object({
|
|
|
10905
10964
|
"orderBy": zod.string().default(getFilterMemberQueryOrderByDefault),
|
|
10906
10965
|
"orderDirection": zod.enum(["Ascending", "Descending"]).optional(),
|
|
10907
10966
|
"filter": zod.string().optional(),
|
|
10908
|
-
"skip": zod.coerce.number().optional(),
|
|
10909
|
-
"take": zod.coerce.number().default(getFilterMemberQueryTakeDefault)
|
|
10967
|
+
"skip": zod.coerce.number().int().optional(),
|
|
10968
|
+
"take": zod.coerce.number().int().default(getFilterMemberQueryTakeDefault)
|
|
10910
10969
|
});
|
|
10911
10970
|
var getFilterMemberResponse = zod.object({
|
|
10912
|
-
"total": zod.
|
|
10971
|
+
"total": zod.int(),
|
|
10913
10972
|
"items": zod.array(zod.object({
|
|
10914
10973
|
"email": zod.string(),
|
|
10915
10974
|
"username": zod.string(),
|
|
@@ -10923,7 +10982,7 @@ var getFilterMemberResponse = zod.object({
|
|
|
10923
10982
|
"isApproved": zod.boolean(),
|
|
10924
10983
|
"isLockedOut": zod.boolean(),
|
|
10925
10984
|
"isTwoFactorEnabled": zod.boolean(),
|
|
10926
|
-
"failedPasswordAttempts": zod.
|
|
10985
|
+
"failedPasswordAttempts": zod.int(),
|
|
10927
10986
|
"lastLoginDate": zod.iso.datetime({ "local": true, "offset": true }).nullish(),
|
|
10928
10987
|
"lastLockoutDate": zod.iso.datetime({ "local": true, "offset": true }).nullish(),
|
|
10929
10988
|
"lastPasswordChangeDate": zod.iso.datetime({ "local": true, "offset": true }).nullish(),
|
|
@@ -11000,8 +11059,8 @@ var getItemMemberAncestorsResponse = zod.array(getItemMemberAncestorsResponseIte
|
|
|
11000
11059
|
var getItemMemberSearchQueryTakeDefault = 100;
|
|
11001
11060
|
var getItemMemberSearchQueryParams = zod.object({
|
|
11002
11061
|
"query": zod.string().optional(),
|
|
11003
|
-
"skip": zod.coerce.number().optional(),
|
|
11004
|
-
"take": zod.coerce.number().default(getItemMemberSearchQueryTakeDefault),
|
|
11062
|
+
"skip": zod.coerce.number().int().optional(),
|
|
11063
|
+
"take": zod.coerce.number().int().default(getItemMemberSearchQueryTakeDefault),
|
|
11005
11064
|
"allowedMemberTypes": zod.array(zod.guid()).optional()
|
|
11006
11065
|
});
|
|
11007
11066
|
var getItemMemberSearchResponse = zod.object({
|
|
@@ -11023,7 +11082,7 @@ var getItemMemberSearchResponse = zod.object({
|
|
|
11023
11082
|
"alias": zod.string()
|
|
11024
11083
|
}))
|
|
11025
11084
|
})),
|
|
11026
|
-
"total": zod.
|
|
11085
|
+
"total": zod.int()
|
|
11027
11086
|
});
|
|
11028
11087
|
var postMemberBody = zod.object({
|
|
11029
11088
|
"email": zod.string(),
|
|
@@ -11064,7 +11123,7 @@ var getMemberByIdResponse = zod.object({
|
|
|
11064
11123
|
"isApproved": zod.boolean(),
|
|
11065
11124
|
"isLockedOut": zod.boolean(),
|
|
11066
11125
|
"isTwoFactorEnabled": zod.boolean(),
|
|
11067
|
-
"failedPasswordAttempts": zod.
|
|
11126
|
+
"failedPasswordAttempts": zod.int(),
|
|
11068
11127
|
"lastLoginDate": zod.iso.datetime({ "local": true, "offset": true }).nullish(),
|
|
11069
11128
|
"lastLockoutDate": zod.iso.datetime({ "local": true, "offset": true }).nullish(),
|
|
11070
11129
|
"lastPasswordChangeDate": zod.iso.datetime({ "local": true, "offset": true }).nullish(),
|
|
@@ -11124,11 +11183,11 @@ var getMemberByIdReferencedByParams = zod.object({
|
|
|
11124
11183
|
});
|
|
11125
11184
|
var getMemberByIdReferencedByQueryTakeDefault = 20;
|
|
11126
11185
|
var getMemberByIdReferencedByQueryParams = zod.object({
|
|
11127
|
-
"skip": zod.coerce.number().optional(),
|
|
11128
|
-
"take": zod.coerce.number().default(getMemberByIdReferencedByQueryTakeDefault)
|
|
11186
|
+
"skip": zod.coerce.number().int().optional(),
|
|
11187
|
+
"take": zod.coerce.number().int().default(getMemberByIdReferencedByQueryTakeDefault)
|
|
11129
11188
|
});
|
|
11130
11189
|
var getMemberByIdReferencedByResponse = zod.object({
|
|
11131
|
-
"total": zod.
|
|
11190
|
+
"total": zod.int(),
|
|
11132
11191
|
"items": zod.array(zod.union([zod.object({
|
|
11133
11192
|
"$type": zod.enum(["DefaultReferenceResponseModel"]),
|
|
11134
11193
|
"type": zod.string().nullish(),
|
|
@@ -11239,11 +11298,11 @@ var getMemberByIdReferencedDescendantsParams = zod.object({
|
|
|
11239
11298
|
});
|
|
11240
11299
|
var getMemberByIdReferencedDescendantsQueryTakeDefault = 20;
|
|
11241
11300
|
var getMemberByIdReferencedDescendantsQueryParams = zod.object({
|
|
11242
|
-
"skip": zod.coerce.number().optional(),
|
|
11243
|
-
"take": zod.coerce.number().default(getMemberByIdReferencedDescendantsQueryTakeDefault)
|
|
11301
|
+
"skip": zod.coerce.number().int().optional(),
|
|
11302
|
+
"take": zod.coerce.number().int().default(getMemberByIdReferencedDescendantsQueryTakeDefault)
|
|
11244
11303
|
});
|
|
11245
11304
|
var getMemberByIdReferencedDescendantsResponse = zod.object({
|
|
11246
|
-
"total": zod.
|
|
11305
|
+
"total": zod.int(),
|
|
11247
11306
|
"items": zod.array(zod.object({
|
|
11248
11307
|
"id": zod.guid()
|
|
11249
11308
|
}))
|
|
@@ -11276,11 +11335,11 @@ var putMemberByIdValidateResponse = zod.unknown();
|
|
|
11276
11335
|
var getMemberAreReferencedQueryTakeDefault = 20;
|
|
11277
11336
|
var getMemberAreReferencedQueryParams = zod.object({
|
|
11278
11337
|
"id": zod.array(zod.guid()).optional(),
|
|
11279
|
-
"skip": zod.coerce.number().optional(),
|
|
11280
|
-
"take": zod.coerce.number().default(getMemberAreReferencedQueryTakeDefault)
|
|
11338
|
+
"skip": zod.coerce.number().int().optional(),
|
|
11339
|
+
"take": zod.coerce.number().int().default(getMemberAreReferencedQueryTakeDefault)
|
|
11281
11340
|
});
|
|
11282
11341
|
var getMemberAreReferencedResponse = zod.object({
|
|
11283
|
-
"total": zod.
|
|
11342
|
+
"total": zod.int(),
|
|
11284
11343
|
"items": zod.array(zod.object({
|
|
11285
11344
|
"id": zod.guid()
|
|
11286
11345
|
}))
|
|
@@ -11321,11 +11380,11 @@ var getItemMemberGroupResponseItem = zod.object({
|
|
|
11321
11380
|
var getItemMemberGroupResponse = zod.array(getItemMemberGroupResponseItem);
|
|
11322
11381
|
var getMemberGroupQueryTakeDefault = 100;
|
|
11323
11382
|
var getMemberGroupQueryParams = zod.object({
|
|
11324
|
-
"skip": zod.coerce.number().optional(),
|
|
11325
|
-
"take": zod.coerce.number().default(getMemberGroupQueryTakeDefault)
|
|
11383
|
+
"skip": zod.coerce.number().int().optional(),
|
|
11384
|
+
"take": zod.coerce.number().int().default(getMemberGroupQueryTakeDefault)
|
|
11326
11385
|
});
|
|
11327
11386
|
var getMemberGroupResponse = zod.object({
|
|
11328
|
-
"total": zod.
|
|
11387
|
+
"total": zod.int(),
|
|
11329
11388
|
"items": zod.array(zod.object({
|
|
11330
11389
|
"id": zod.guid(),
|
|
11331
11390
|
"name": zod.string()
|
|
@@ -11356,11 +11415,11 @@ var putMemberGroupByIdBody = zod.object({
|
|
|
11356
11415
|
var putMemberGroupByIdResponse = zod.unknown();
|
|
11357
11416
|
var getTreeMemberGroupRootQueryTakeDefault = 100;
|
|
11358
11417
|
var getTreeMemberGroupRootQueryParams = zod.object({
|
|
11359
|
-
"skip": zod.coerce.number().optional(),
|
|
11360
|
-
"take": zod.coerce.number().default(getTreeMemberGroupRootQueryTakeDefault)
|
|
11418
|
+
"skip": zod.coerce.number().int().optional(),
|
|
11419
|
+
"take": zod.coerce.number().int().default(getTreeMemberGroupRootQueryTakeDefault)
|
|
11361
11420
|
});
|
|
11362
11421
|
var getTreeMemberGroupRootResponse = zod.object({
|
|
11363
|
-
"total": zod.
|
|
11422
|
+
"total": zod.int(),
|
|
11364
11423
|
"items": zod.array(zod.object({
|
|
11365
11424
|
"name": zod.string(),
|
|
11366
11425
|
"id": zod.guid(),
|
|
@@ -11402,8 +11461,8 @@ var getItemMemberTypeAncestorsResponse = zod.array(getItemMemberTypeAncestorsRes
|
|
|
11402
11461
|
var getItemMemberTypeSearchQueryTakeDefault = 100;
|
|
11403
11462
|
var getItemMemberTypeSearchQueryParams = zod.object({
|
|
11404
11463
|
"query": zod.string().optional(),
|
|
11405
|
-
"skip": zod.coerce.number().optional(),
|
|
11406
|
-
"take": zod.coerce.number().default(getItemMemberTypeSearchQueryTakeDefault)
|
|
11464
|
+
"skip": zod.coerce.number().int().optional(),
|
|
11465
|
+
"take": zod.coerce.number().int().default(getItemMemberTypeSearchQueryTakeDefault)
|
|
11407
11466
|
});
|
|
11408
11467
|
var getItemMemberTypeSearchResponse = zod.object({
|
|
11409
11468
|
"items": zod.array(zod.object({
|
|
@@ -11414,7 +11473,7 @@ var getItemMemberTypeSearchResponse = zod.object({
|
|
|
11414
11473
|
"alias": zod.string()
|
|
11415
11474
|
}))
|
|
11416
11475
|
})),
|
|
11417
|
-
"total": zod.
|
|
11476
|
+
"total": zod.int()
|
|
11418
11477
|
});
|
|
11419
11478
|
var postMemberTypeBody = zod.object({
|
|
11420
11479
|
"compositions": zod.array(zod.object({
|
|
@@ -11449,7 +11508,7 @@ var postMemberTypeBody = zod.object({
|
|
|
11449
11508
|
"container": zod.union([zod.null(), zod.object({
|
|
11450
11509
|
"id": zod.guid()
|
|
11451
11510
|
})]).optional(),
|
|
11452
|
-
"sortOrder": zod.
|
|
11511
|
+
"sortOrder": zod.int(),
|
|
11453
11512
|
"alias": zod.string(),
|
|
11454
11513
|
"name": zod.string(),
|
|
11455
11514
|
"description": zod.string().nullish(),
|
|
@@ -11475,7 +11534,7 @@ var postMemberTypeBody = zod.object({
|
|
|
11475
11534
|
})]).optional(),
|
|
11476
11535
|
"name": zod.string().nullish(),
|
|
11477
11536
|
"type": zod.string(),
|
|
11478
|
-
"sortOrder": zod.
|
|
11537
|
+
"sortOrder": zod.int()
|
|
11479
11538
|
}))
|
|
11480
11539
|
});
|
|
11481
11540
|
var postMemberTypeResponse = zod.void();
|
|
@@ -11512,7 +11571,7 @@ var getMemberTypeByIdResponse = zod.object({
|
|
|
11512
11571
|
"container": zod.union([zod.null(), zod.object({
|
|
11513
11572
|
"id": zod.guid()
|
|
11514
11573
|
})]).optional(),
|
|
11515
|
-
"sortOrder": zod.
|
|
11574
|
+
"sortOrder": zod.int(),
|
|
11516
11575
|
"alias": zod.string(),
|
|
11517
11576
|
"name": zod.string(),
|
|
11518
11577
|
"description": zod.string().nullish(),
|
|
@@ -11538,7 +11597,7 @@ var getMemberTypeByIdResponse = zod.object({
|
|
|
11538
11597
|
})]).optional(),
|
|
11539
11598
|
"name": zod.string().nullish(),
|
|
11540
11599
|
"type": zod.string(),
|
|
11541
|
-
"sortOrder": zod.
|
|
11600
|
+
"sortOrder": zod.int()
|
|
11542
11601
|
}))
|
|
11543
11602
|
});
|
|
11544
11603
|
var deleteMemberTypeByIdParams = zod.object({
|
|
@@ -11577,7 +11636,7 @@ var putMemberTypeByIdBody = zod.object({
|
|
|
11577
11636
|
"container": zod.union([zod.null(), zod.object({
|
|
11578
11637
|
"id": zod.guid()
|
|
11579
11638
|
})]).optional(),
|
|
11580
|
-
"sortOrder": zod.
|
|
11639
|
+
"sortOrder": zod.int(),
|
|
11581
11640
|
"alias": zod.string(),
|
|
11582
11641
|
"name": zod.string(),
|
|
11583
11642
|
"description": zod.string().nullish(),
|
|
@@ -11603,7 +11662,7 @@ var putMemberTypeByIdBody = zod.object({
|
|
|
11603
11662
|
})]).optional(),
|
|
11604
11663
|
"name": zod.string().nullish(),
|
|
11605
11664
|
"type": zod.string(),
|
|
11606
|
-
"sortOrder": zod.
|
|
11665
|
+
"sortOrder": zod.int()
|
|
11607
11666
|
}))
|
|
11608
11667
|
});
|
|
11609
11668
|
var putMemberTypeByIdResponse = zod.unknown();
|
|
@@ -11628,7 +11687,7 @@ var postMemberTypeByIdCopyResponse = zod.void();
|
|
|
11628
11687
|
var getMemberTypeByIdExportParams = zod.object({
|
|
11629
11688
|
"id": zod.guid()
|
|
11630
11689
|
});
|
|
11631
|
-
var getMemberTypeByIdExportResponse = zod.instanceof(
|
|
11690
|
+
var getMemberTypeByIdExportResponse = zod.instanceof(Blob);
|
|
11632
11691
|
var putMemberTypeByIdImportParams = zod.object({
|
|
11633
11692
|
"id": zod.guid()
|
|
11634
11693
|
});
|
|
@@ -11653,11 +11712,11 @@ var getMemberTypeByIdSchemaParams = zod.object({
|
|
|
11653
11712
|
var getMemberTypeByIdSchemaResponse = zod.looseObject({});
|
|
11654
11713
|
var getMemberTypeAllowedAtRootQueryTakeDefault = 100;
|
|
11655
11714
|
var getMemberTypeAllowedAtRootQueryParams = zod.object({
|
|
11656
|
-
"skip": zod.coerce.number().optional(),
|
|
11657
|
-
"take": zod.coerce.number().default(getMemberTypeAllowedAtRootQueryTakeDefault)
|
|
11715
|
+
"skip": zod.coerce.number().int().optional(),
|
|
11716
|
+
"take": zod.coerce.number().int().default(getMemberTypeAllowedAtRootQueryTakeDefault)
|
|
11658
11717
|
});
|
|
11659
11718
|
var getMemberTypeAllowedAtRootResponse = zod.object({
|
|
11660
|
-
"total": zod.
|
|
11719
|
+
"total": zod.int(),
|
|
11661
11720
|
"items": zod.array(zod.object({
|
|
11662
11721
|
"id": zod.guid(),
|
|
11663
11722
|
"name": zod.string(),
|
|
@@ -11682,7 +11741,7 @@ var getMemberTypeBatchQueryParams = zod.object({
|
|
|
11682
11741
|
"id": zod.array(zod.guid()).optional()
|
|
11683
11742
|
});
|
|
11684
11743
|
var getMemberTypeBatchResponse = zod.object({
|
|
11685
|
-
"total": zod.
|
|
11744
|
+
"total": zod.int(),
|
|
11686
11745
|
"items": zod.array(zod.object({
|
|
11687
11746
|
"compositions": zod.array(zod.object({
|
|
11688
11747
|
"memberType": zod.object({
|
|
@@ -11713,7 +11772,7 @@ var getMemberTypeBatchResponse = zod.object({
|
|
|
11713
11772
|
"container": zod.union([zod.null(), zod.object({
|
|
11714
11773
|
"id": zod.guid()
|
|
11715
11774
|
})]).optional(),
|
|
11716
|
-
"sortOrder": zod.
|
|
11775
|
+
"sortOrder": zod.int(),
|
|
11717
11776
|
"alias": zod.string(),
|
|
11718
11777
|
"name": zod.string(),
|
|
11719
11778
|
"description": zod.string().nullish(),
|
|
@@ -11739,7 +11798,7 @@ var getMemberTypeBatchResponse = zod.object({
|
|
|
11739
11798
|
})]).optional(),
|
|
11740
11799
|
"name": zod.string().nullish(),
|
|
11741
11800
|
"type": zod.string(),
|
|
11742
|
-
"sortOrder": zod.
|
|
11801
|
+
"sortOrder": zod.int()
|
|
11743
11802
|
}))
|
|
11744
11803
|
}))
|
|
11745
11804
|
});
|
|
@@ -11800,12 +11859,12 @@ var getTreeMemberTypeAncestorsResponse = zod.array(getTreeMemberTypeAncestorsRes
|
|
|
11800
11859
|
var getTreeMemberTypeChildrenQueryTakeDefault = 100;
|
|
11801
11860
|
var getTreeMemberTypeChildrenQueryParams = zod.object({
|
|
11802
11861
|
"parentId": zod.guid().optional(),
|
|
11803
|
-
"skip": zod.coerce.number().optional(),
|
|
11804
|
-
"take": zod.coerce.number().default(getTreeMemberTypeChildrenQueryTakeDefault),
|
|
11862
|
+
"skip": zod.coerce.number().int().optional(),
|
|
11863
|
+
"take": zod.coerce.number().int().default(getTreeMemberTypeChildrenQueryTakeDefault),
|
|
11805
11864
|
"foldersOnly": zod.coerce.boolean().optional()
|
|
11806
11865
|
});
|
|
11807
11866
|
var getTreeMemberTypeChildrenResponse = zod.object({
|
|
11808
|
-
"total": zod.
|
|
11867
|
+
"total": zod.int(),
|
|
11809
11868
|
"items": zod.array(zod.object({
|
|
11810
11869
|
"icon": zod.string(),
|
|
11811
11870
|
"isFolder": zod.boolean(),
|
|
@@ -11823,12 +11882,12 @@ var getTreeMemberTypeChildrenResponse = zod.object({
|
|
|
11823
11882
|
});
|
|
11824
11883
|
var getTreeMemberTypeRootQueryTakeDefault = 100;
|
|
11825
11884
|
var getTreeMemberTypeRootQueryParams = zod.object({
|
|
11826
|
-
"skip": zod.coerce.number().optional(),
|
|
11827
|
-
"take": zod.coerce.number().default(getTreeMemberTypeRootQueryTakeDefault),
|
|
11885
|
+
"skip": zod.coerce.number().int().optional(),
|
|
11886
|
+
"take": zod.coerce.number().int().default(getTreeMemberTypeRootQueryTakeDefault),
|
|
11828
11887
|
"foldersOnly": zod.coerce.boolean().optional()
|
|
11829
11888
|
});
|
|
11830
11889
|
var getTreeMemberTypeRootResponse = zod.object({
|
|
11831
|
-
"total": zod.
|
|
11890
|
+
"total": zod.int(),
|
|
11832
11891
|
"items": zod.array(zod.object({
|
|
11833
11892
|
"icon": zod.string(),
|
|
11834
11893
|
"isFolder": zod.boolean(),
|
|
@@ -11846,13 +11905,13 @@ var getTreeMemberTypeRootResponse = zod.object({
|
|
|
11846
11905
|
});
|
|
11847
11906
|
var getTreeMemberTypeSiblingsQueryParams = zod.object({
|
|
11848
11907
|
"target": zod.guid().optional(),
|
|
11849
|
-
"before": zod.coerce.number().optional(),
|
|
11850
|
-
"after": zod.coerce.number().optional(),
|
|
11908
|
+
"before": zod.coerce.number().int().optional(),
|
|
11909
|
+
"after": zod.coerce.number().int().optional(),
|
|
11851
11910
|
"foldersOnly": zod.coerce.boolean().optional()
|
|
11852
11911
|
});
|
|
11853
11912
|
var getTreeMemberTypeSiblingsResponse = zod.object({
|
|
11854
|
-
"totalBefore": zod.
|
|
11855
|
-
"totalAfter": zod.
|
|
11913
|
+
"totalBefore": zod.int(),
|
|
11914
|
+
"totalAfter": zod.int(),
|
|
11856
11915
|
"items": zod.array(zod.object({
|
|
11857
11916
|
"icon": zod.string(),
|
|
11858
11917
|
"isFolder": zod.boolean(),
|
|
@@ -11894,11 +11953,11 @@ var getNewsDashboardResponse = zod.object({
|
|
|
11894
11953
|
});
|
|
11895
11954
|
var getObjectTypesQueryTakeDefault = 100;
|
|
11896
11955
|
var getObjectTypesQueryParams = zod.object({
|
|
11897
|
-
"skip": zod.coerce.number().optional(),
|
|
11898
|
-
"take": zod.coerce.number().default(getObjectTypesQueryTakeDefault)
|
|
11956
|
+
"skip": zod.coerce.number().int().optional(),
|
|
11957
|
+
"take": zod.coerce.number().int().default(getObjectTypesQueryTakeDefault)
|
|
11899
11958
|
});
|
|
11900
11959
|
var getObjectTypesResponse = zod.object({
|
|
11901
|
-
"total": zod.
|
|
11960
|
+
"total": zod.int(),
|
|
11902
11961
|
"items": zod.array(zod.object({
|
|
11903
11962
|
"name": zod.string().nullish(),
|
|
11904
11963
|
"id": zod.guid()
|
|
@@ -11906,8 +11965,8 @@ var getObjectTypesResponse = zod.object({
|
|
|
11906
11965
|
});
|
|
11907
11966
|
var getOembedQueryQueryParams = zod.object({
|
|
11908
11967
|
"url": zod.url().optional(),
|
|
11909
|
-
"maxWidth": zod.coerce.number().optional(),
|
|
11910
|
-
"maxHeight": zod.coerce.number().optional()
|
|
11968
|
+
"maxWidth": zod.coerce.number().int().optional(),
|
|
11969
|
+
"maxHeight": zod.coerce.number().int().optional()
|
|
11911
11970
|
});
|
|
11912
11971
|
var getOembedQueryResponse = zod.object({
|
|
11913
11972
|
"markup": zod.string()
|
|
@@ -11921,11 +11980,11 @@ var getPackageConfigurationResponse = zod.object({
|
|
|
11921
11980
|
});
|
|
11922
11981
|
var getPackageCreatedQueryTakeDefault = 100;
|
|
11923
11982
|
var getPackageCreatedQueryParams = zod.object({
|
|
11924
|
-
"skip": zod.coerce.number().optional(),
|
|
11925
|
-
"take": zod.coerce.number().default(getPackageCreatedQueryTakeDefault)
|
|
11983
|
+
"skip": zod.coerce.number().int().optional(),
|
|
11984
|
+
"take": zod.coerce.number().int().default(getPackageCreatedQueryTakeDefault)
|
|
11926
11985
|
});
|
|
11927
11986
|
var getPackageCreatedResponse = zod.object({
|
|
11928
|
-
"total": zod.
|
|
11987
|
+
"total": zod.int(),
|
|
11929
11988
|
"items": zod.array(zod.object({
|
|
11930
11989
|
"id": zod.guid(),
|
|
11931
11990
|
"packagePath": zod.string(),
|
|
@@ -12019,11 +12078,11 @@ var getPackageCreatedByIdDownloadParams = zod.object({
|
|
|
12019
12078
|
var getPackageCreatedByIdDownloadResponse = zod.unknown();
|
|
12020
12079
|
var getPackageMigrationStatusQueryTakeDefault = 100;
|
|
12021
12080
|
var getPackageMigrationStatusQueryParams = zod.object({
|
|
12022
|
-
"skip": zod.coerce.number().optional(),
|
|
12023
|
-
"take": zod.coerce.number().default(getPackageMigrationStatusQueryTakeDefault)
|
|
12081
|
+
"skip": zod.coerce.number().int().optional(),
|
|
12082
|
+
"take": zod.coerce.number().int().default(getPackageMigrationStatusQueryTakeDefault)
|
|
12024
12083
|
});
|
|
12025
12084
|
var getPackageMigrationStatusResponse = zod.object({
|
|
12026
|
-
"total": zod.
|
|
12085
|
+
"total": zod.int(),
|
|
12027
12086
|
"items": zod.array(zod.object({
|
|
12028
12087
|
"packageName": zod.string(),
|
|
12029
12088
|
"hasPendingMigrations": zod.boolean()
|
|
@@ -12101,11 +12160,11 @@ var deletePartialViewFolderByPathParams = zod.object({
|
|
|
12101
12160
|
var deletePartialViewFolderByPathResponse = zod.unknown();
|
|
12102
12161
|
var getPartialViewSnippetQueryTakeDefault = 100;
|
|
12103
12162
|
var getPartialViewSnippetQueryParams = zod.object({
|
|
12104
|
-
"skip": zod.coerce.number().optional(),
|
|
12105
|
-
"take": zod.coerce.number().default(getPartialViewSnippetQueryTakeDefault)
|
|
12163
|
+
"skip": zod.coerce.number().int().optional(),
|
|
12164
|
+
"take": zod.coerce.number().int().default(getPartialViewSnippetQueryTakeDefault)
|
|
12106
12165
|
});
|
|
12107
12166
|
var getPartialViewSnippetResponse = zod.object({
|
|
12108
|
-
"total": zod.
|
|
12167
|
+
"total": zod.int(),
|
|
12109
12168
|
"items": zod.array(zod.object({
|
|
12110
12169
|
"id": zod.string(),
|
|
12111
12170
|
"name": zod.string()
|
|
@@ -12135,11 +12194,11 @@ var getTreePartialViewAncestorsResponse = zod.array(getTreePartialViewAncestorsR
|
|
|
12135
12194
|
var getTreePartialViewChildrenQueryTakeDefault = 100;
|
|
12136
12195
|
var getTreePartialViewChildrenQueryParams = zod.object({
|
|
12137
12196
|
"parentPath": zod.string().optional(),
|
|
12138
|
-
"skip": zod.coerce.number().optional(),
|
|
12139
|
-
"take": zod.coerce.number().default(getTreePartialViewChildrenQueryTakeDefault)
|
|
12197
|
+
"skip": zod.coerce.number().int().optional(),
|
|
12198
|
+
"take": zod.coerce.number().int().default(getTreePartialViewChildrenQueryTakeDefault)
|
|
12140
12199
|
});
|
|
12141
12200
|
var getTreePartialViewChildrenResponse = zod.object({
|
|
12142
|
-
"total": zod.
|
|
12201
|
+
"total": zod.int(),
|
|
12143
12202
|
"items": zod.array(zod.object({
|
|
12144
12203
|
"name": zod.string(),
|
|
12145
12204
|
"path": zod.string(),
|
|
@@ -12152,11 +12211,11 @@ var getTreePartialViewChildrenResponse = zod.object({
|
|
|
12152
12211
|
});
|
|
12153
12212
|
var getTreePartialViewRootQueryTakeDefault = 100;
|
|
12154
12213
|
var getTreePartialViewRootQueryParams = zod.object({
|
|
12155
|
-
"skip": zod.coerce.number().optional(),
|
|
12156
|
-
"take": zod.coerce.number().default(getTreePartialViewRootQueryTakeDefault)
|
|
12214
|
+
"skip": zod.coerce.number().int().optional(),
|
|
12215
|
+
"take": zod.coerce.number().int().default(getTreePartialViewRootQueryTakeDefault)
|
|
12157
12216
|
});
|
|
12158
12217
|
var getTreePartialViewRootResponse = zod.object({
|
|
12159
|
-
"total": zod.
|
|
12218
|
+
"total": zod.int(),
|
|
12160
12219
|
"items": zod.array(zod.object({
|
|
12161
12220
|
"name": zod.string(),
|
|
12162
12221
|
"path": zod.string(),
|
|
@@ -12169,12 +12228,12 @@ var getTreePartialViewRootResponse = zod.object({
|
|
|
12169
12228
|
});
|
|
12170
12229
|
var getTreePartialViewSiblingsQueryParams = zod.object({
|
|
12171
12230
|
"path": zod.string().optional(),
|
|
12172
|
-
"before": zod.coerce.number().optional(),
|
|
12173
|
-
"after": zod.coerce.number().optional()
|
|
12231
|
+
"before": zod.coerce.number().int().optional(),
|
|
12232
|
+
"after": zod.coerce.number().int().optional()
|
|
12174
12233
|
});
|
|
12175
12234
|
var getTreePartialViewSiblingsResponse = zod.object({
|
|
12176
|
-
"totalBefore": zod.
|
|
12177
|
-
"totalAfter": zod.
|
|
12235
|
+
"totalBefore": zod.int(),
|
|
12236
|
+
"totalAfter": zod.int(),
|
|
12178
12237
|
"items": zod.array(zod.object({
|
|
12179
12238
|
"name": zod.string(),
|
|
12180
12239
|
"path": zod.string(),
|
|
@@ -12206,11 +12265,11 @@ var postPublishedCacheReloadResponse = zod.unknown();
|
|
|
12206
12265
|
var getRedirectManagementQueryTakeDefault = 100;
|
|
12207
12266
|
var getRedirectManagementQueryParams = zod.object({
|
|
12208
12267
|
"filter": zod.string().optional(),
|
|
12209
|
-
"skip": zod.coerce.number().optional(),
|
|
12210
|
-
"take": zod.coerce.number().default(getRedirectManagementQueryTakeDefault)
|
|
12268
|
+
"skip": zod.coerce.number().int().optional(),
|
|
12269
|
+
"take": zod.coerce.number().int().default(getRedirectManagementQueryTakeDefault)
|
|
12211
12270
|
});
|
|
12212
12271
|
var getRedirectManagementResponse = zod.object({
|
|
12213
|
-
"total": zod.
|
|
12272
|
+
"total": zod.int(),
|
|
12214
12273
|
"items": zod.array(zod.object({
|
|
12215
12274
|
"id": zod.guid(),
|
|
12216
12275
|
"originalUrl": zod.string(),
|
|
@@ -12227,11 +12286,11 @@ var getRedirectManagementByIdParams = zod.object({
|
|
|
12227
12286
|
});
|
|
12228
12287
|
var getRedirectManagementByIdQueryTakeDefault = 100;
|
|
12229
12288
|
var getRedirectManagementByIdQueryParams = zod.object({
|
|
12230
|
-
"skip": zod.coerce.number().optional(),
|
|
12231
|
-
"take": zod.coerce.number().default(getRedirectManagementByIdQueryTakeDefault)
|
|
12289
|
+
"skip": zod.coerce.number().int().optional(),
|
|
12290
|
+
"take": zod.coerce.number().int().default(getRedirectManagementByIdQueryTakeDefault)
|
|
12232
12291
|
});
|
|
12233
12292
|
var getRedirectManagementByIdResponse = zod.object({
|
|
12234
|
-
"total": zod.
|
|
12293
|
+
"total": zod.int(),
|
|
12235
12294
|
"items": zod.array(zod.object({
|
|
12236
12295
|
"id": zod.guid(),
|
|
12237
12296
|
"originalUrl": zod.string(),
|
|
@@ -12260,11 +12319,11 @@ var getRelationByRelationTypeIdParams = zod.object({
|
|
|
12260
12319
|
});
|
|
12261
12320
|
var getRelationByRelationTypeIdQueryTakeDefault = 100;
|
|
12262
12321
|
var getRelationByRelationTypeIdQueryParams = zod.object({
|
|
12263
|
-
"skip": zod.coerce.number().optional(),
|
|
12264
|
-
"take": zod.coerce.number().default(getRelationByRelationTypeIdQueryTakeDefault)
|
|
12322
|
+
"skip": zod.coerce.number().int().optional(),
|
|
12323
|
+
"take": zod.coerce.number().int().default(getRelationByRelationTypeIdQueryTakeDefault)
|
|
12265
12324
|
});
|
|
12266
12325
|
var getRelationByRelationTypeIdResponse = zod.object({
|
|
12267
|
-
"total": zod.
|
|
12326
|
+
"total": zod.int(),
|
|
12268
12327
|
"items": zod.array(zod.object({
|
|
12269
12328
|
"id": zod.guid(),
|
|
12270
12329
|
"relationType": zod.object({
|
|
@@ -12296,11 +12355,11 @@ var getItemRelationTypeResponseItem = zod.object({
|
|
|
12296
12355
|
var getItemRelationTypeResponse = zod.array(getItemRelationTypeResponseItem);
|
|
12297
12356
|
var getRelationTypeQueryTakeDefault = 100;
|
|
12298
12357
|
var getRelationTypeQueryParams = zod.object({
|
|
12299
|
-
"skip": zod.coerce.number().optional(),
|
|
12300
|
-
"take": zod.coerce.number().default(getRelationTypeQueryTakeDefault)
|
|
12358
|
+
"skip": zod.coerce.number().int().optional(),
|
|
12359
|
+
"take": zod.coerce.number().int().default(getRelationTypeQueryTakeDefault)
|
|
12301
12360
|
});
|
|
12302
12361
|
var getRelationTypeResponse = zod.object({
|
|
12303
|
-
"total": zod.
|
|
12362
|
+
"total": zod.int(),
|
|
12304
12363
|
"items": zod.array(zod.object({
|
|
12305
12364
|
"id": zod.guid(),
|
|
12306
12365
|
"alias": zod.string().nullish(),
|
|
@@ -12421,11 +12480,11 @@ var getTreeScriptAncestorsResponse = zod.array(getTreeScriptAncestorsResponseIte
|
|
|
12421
12480
|
var getTreeScriptChildrenQueryTakeDefault = 100;
|
|
12422
12481
|
var getTreeScriptChildrenQueryParams = zod.object({
|
|
12423
12482
|
"parentPath": zod.string().optional(),
|
|
12424
|
-
"skip": zod.coerce.number().optional(),
|
|
12425
|
-
"take": zod.coerce.number().default(getTreeScriptChildrenQueryTakeDefault)
|
|
12483
|
+
"skip": zod.coerce.number().int().optional(),
|
|
12484
|
+
"take": zod.coerce.number().int().default(getTreeScriptChildrenQueryTakeDefault)
|
|
12426
12485
|
});
|
|
12427
12486
|
var getTreeScriptChildrenResponse = zod.object({
|
|
12428
|
-
"total": zod.
|
|
12487
|
+
"total": zod.int(),
|
|
12429
12488
|
"items": zod.array(zod.object({
|
|
12430
12489
|
"name": zod.string(),
|
|
12431
12490
|
"path": zod.string(),
|
|
@@ -12438,11 +12497,11 @@ var getTreeScriptChildrenResponse = zod.object({
|
|
|
12438
12497
|
});
|
|
12439
12498
|
var getTreeScriptRootQueryTakeDefault = 100;
|
|
12440
12499
|
var getTreeScriptRootQueryParams = zod.object({
|
|
12441
|
-
"skip": zod.coerce.number().optional(),
|
|
12442
|
-
"take": zod.coerce.number().default(getTreeScriptRootQueryTakeDefault)
|
|
12500
|
+
"skip": zod.coerce.number().int().optional(),
|
|
12501
|
+
"take": zod.coerce.number().int().default(getTreeScriptRootQueryTakeDefault)
|
|
12443
12502
|
});
|
|
12444
12503
|
var getTreeScriptRootResponse = zod.object({
|
|
12445
|
-
"total": zod.
|
|
12504
|
+
"total": zod.int(),
|
|
12446
12505
|
"items": zod.array(zod.object({
|
|
12447
12506
|
"name": zod.string(),
|
|
12448
12507
|
"path": zod.string(),
|
|
@@ -12455,12 +12514,12 @@ var getTreeScriptRootResponse = zod.object({
|
|
|
12455
12514
|
});
|
|
12456
12515
|
var getTreeScriptSiblingsQueryParams = zod.object({
|
|
12457
12516
|
"path": zod.string().optional(),
|
|
12458
|
-
"before": zod.coerce.number().optional(),
|
|
12459
|
-
"after": zod.coerce.number().optional()
|
|
12517
|
+
"before": zod.coerce.number().int().optional(),
|
|
12518
|
+
"after": zod.coerce.number().int().optional()
|
|
12460
12519
|
});
|
|
12461
12520
|
var getTreeScriptSiblingsResponse = zod.object({
|
|
12462
|
-
"totalBefore": zod.
|
|
12463
|
-
"totalAfter": zod.
|
|
12521
|
+
"totalBefore": zod.int(),
|
|
12522
|
+
"totalAfter": zod.int(),
|
|
12464
12523
|
"items": zod.array(zod.object({
|
|
12465
12524
|
"name": zod.string(),
|
|
12466
12525
|
"path": zod.string(),
|
|
@@ -12473,11 +12532,11 @@ var getTreeScriptSiblingsResponse = zod.object({
|
|
|
12473
12532
|
});
|
|
12474
12533
|
var getSearcherQueryTakeDefault = 100;
|
|
12475
12534
|
var getSearcherQueryParams = zod.object({
|
|
12476
|
-
"skip": zod.coerce.number().optional(),
|
|
12477
|
-
"take": zod.coerce.number().default(getSearcherQueryTakeDefault)
|
|
12535
|
+
"skip": zod.coerce.number().int().optional(),
|
|
12536
|
+
"take": zod.coerce.number().int().default(getSearcherQueryTakeDefault)
|
|
12478
12537
|
});
|
|
12479
12538
|
var getSearcherResponse = zod.object({
|
|
12480
|
-
"total": zod.
|
|
12539
|
+
"total": zod.int(),
|
|
12481
12540
|
"items": zod.array(zod.object({
|
|
12482
12541
|
"name": zod.string()
|
|
12483
12542
|
}))
|
|
@@ -12488,15 +12547,15 @@ var getSearcherBySearcherNameQueryParams = zod.object({
|
|
|
12488
12547
|
var getSearcherBySearcherNameQueryQueryTakeDefault = 100;
|
|
12489
12548
|
var getSearcherBySearcherNameQueryQueryParams = zod.object({
|
|
12490
12549
|
"term": zod.string().optional(),
|
|
12491
|
-
"skip": zod.coerce.number().optional(),
|
|
12492
|
-
"take": zod.coerce.number().default(getSearcherBySearcherNameQueryQueryTakeDefault)
|
|
12550
|
+
"skip": zod.coerce.number().int().optional(),
|
|
12551
|
+
"take": zod.coerce.number().int().default(getSearcherBySearcherNameQueryQueryTakeDefault)
|
|
12493
12552
|
});
|
|
12494
12553
|
var getSearcherBySearcherNameQueryResponse = zod.object({
|
|
12495
|
-
"total": zod.
|
|
12554
|
+
"total": zod.int(),
|
|
12496
12555
|
"items": zod.array(zod.object({
|
|
12497
12556
|
"id": zod.string(),
|
|
12498
12557
|
"score": zod.number(),
|
|
12499
|
-
"fieldCount": zod.
|
|
12558
|
+
"fieldCount": zod.int(),
|
|
12500
12559
|
"fields": zod.array(zod.object({
|
|
12501
12560
|
"name": zod.string(),
|
|
12502
12561
|
"values": zod.array(zod.string())
|
|
@@ -12505,7 +12564,7 @@ var getSearcherBySearcherNameQueryResponse = zod.object({
|
|
|
12505
12564
|
});
|
|
12506
12565
|
var getSecurityConfigurationResponse = zod.object({
|
|
12507
12566
|
"passwordConfiguration": zod.object({
|
|
12508
|
-
"minimumPasswordLength": zod.
|
|
12567
|
+
"minimumPasswordLength": zod.int(),
|
|
12509
12568
|
"requireNonLetterOrDigit": zod.boolean(),
|
|
12510
12569
|
"requireDigit": zod.boolean(),
|
|
12511
12570
|
"requireLowercase": zod.boolean(),
|
|
@@ -12532,7 +12591,7 @@ var postSecurityForgotPasswordVerifyBody = zod.object({
|
|
|
12532
12591
|
});
|
|
12533
12592
|
var postSecurityForgotPasswordVerifyResponse = zod.object({
|
|
12534
12593
|
"passwordConfiguration": zod.object({
|
|
12535
|
-
"minimumPasswordLength": zod.
|
|
12594
|
+
"minimumPasswordLength": zod.int(),
|
|
12536
12595
|
"requireNonLetterOrDigit": zod.boolean(),
|
|
12537
12596
|
"requireDigit": zod.boolean(),
|
|
12538
12597
|
"requireLowercase": zod.boolean(),
|
|
@@ -12541,11 +12600,11 @@ var postSecurityForgotPasswordVerifyResponse = zod.object({
|
|
|
12541
12600
|
});
|
|
12542
12601
|
var getSegmentQueryTakeDefault = 100;
|
|
12543
12602
|
var getSegmentQueryParams = zod.object({
|
|
12544
|
-
"skip": zod.coerce.number().optional(),
|
|
12545
|
-
"take": zod.coerce.number().default(getSegmentQueryTakeDefault)
|
|
12603
|
+
"skip": zod.coerce.number().int().optional(),
|
|
12604
|
+
"take": zod.coerce.number().int().default(getSegmentQueryTakeDefault)
|
|
12546
12605
|
});
|
|
12547
12606
|
var getSegmentResponse = zod.object({
|
|
12548
|
-
"total": zod.
|
|
12607
|
+
"total": zod.int(),
|
|
12549
12608
|
"items": zod.array(zod.object({
|
|
12550
12609
|
"name": zod.string(),
|
|
12551
12610
|
"alias": zod.string(),
|
|
@@ -12554,7 +12613,7 @@ var getSegmentResponse = zod.object({
|
|
|
12554
12613
|
});
|
|
12555
12614
|
var getServerConfigurationResponse = zod.object({
|
|
12556
12615
|
"allowPasswordReset": zod.boolean(),
|
|
12557
|
-
"versionCheckPeriod": zod.
|
|
12616
|
+
"versionCheckPeriod": zod.int(),
|
|
12558
12617
|
"allowLocalLogin": zod.boolean(),
|
|
12559
12618
|
"umbracoCssPath": zod.string(),
|
|
12560
12619
|
"signalR": zod.object({
|
|
@@ -12609,11 +12668,11 @@ var getTreeStaticFileAncestorsResponse = zod.array(getTreeStaticFileAncestorsRes
|
|
|
12609
12668
|
var getTreeStaticFileChildrenQueryTakeDefault = 100;
|
|
12610
12669
|
var getTreeStaticFileChildrenQueryParams = zod.object({
|
|
12611
12670
|
"parentPath": zod.string().optional(),
|
|
12612
|
-
"skip": zod.coerce.number().optional(),
|
|
12613
|
-
"take": zod.coerce.number().default(getTreeStaticFileChildrenQueryTakeDefault)
|
|
12671
|
+
"skip": zod.coerce.number().int().optional(),
|
|
12672
|
+
"take": zod.coerce.number().int().default(getTreeStaticFileChildrenQueryTakeDefault)
|
|
12614
12673
|
});
|
|
12615
12674
|
var getTreeStaticFileChildrenResponse = zod.object({
|
|
12616
|
-
"total": zod.
|
|
12675
|
+
"total": zod.int(),
|
|
12617
12676
|
"items": zod.array(zod.object({
|
|
12618
12677
|
"name": zod.string(),
|
|
12619
12678
|
"path": zod.string(),
|
|
@@ -12626,11 +12685,11 @@ var getTreeStaticFileChildrenResponse = zod.object({
|
|
|
12626
12685
|
});
|
|
12627
12686
|
var getTreeStaticFileRootQueryTakeDefault = 100;
|
|
12628
12687
|
var getTreeStaticFileRootQueryParams = zod.object({
|
|
12629
|
-
"skip": zod.coerce.number().optional(),
|
|
12630
|
-
"take": zod.coerce.number().default(getTreeStaticFileRootQueryTakeDefault)
|
|
12688
|
+
"skip": zod.coerce.number().int().optional(),
|
|
12689
|
+
"take": zod.coerce.number().int().default(getTreeStaticFileRootQueryTakeDefault)
|
|
12631
12690
|
});
|
|
12632
12691
|
var getTreeStaticFileRootResponse = zod.object({
|
|
12633
|
-
"total": zod.
|
|
12692
|
+
"total": zod.int(),
|
|
12634
12693
|
"items": zod.array(zod.object({
|
|
12635
12694
|
"name": zod.string(),
|
|
12636
12695
|
"path": zod.string(),
|
|
@@ -12727,11 +12786,11 @@ var getTreeStylesheetAncestorsResponse = zod.array(getTreeStylesheetAncestorsRes
|
|
|
12727
12786
|
var getTreeStylesheetChildrenQueryTakeDefault = 100;
|
|
12728
12787
|
var getTreeStylesheetChildrenQueryParams = zod.object({
|
|
12729
12788
|
"parentPath": zod.string().optional(),
|
|
12730
|
-
"skip": zod.coerce.number().optional(),
|
|
12731
|
-
"take": zod.coerce.number().default(getTreeStylesheetChildrenQueryTakeDefault)
|
|
12789
|
+
"skip": zod.coerce.number().int().optional(),
|
|
12790
|
+
"take": zod.coerce.number().int().default(getTreeStylesheetChildrenQueryTakeDefault)
|
|
12732
12791
|
});
|
|
12733
12792
|
var getTreeStylesheetChildrenResponse = zod.object({
|
|
12734
|
-
"total": zod.
|
|
12793
|
+
"total": zod.int(),
|
|
12735
12794
|
"items": zod.array(zod.object({
|
|
12736
12795
|
"name": zod.string(),
|
|
12737
12796
|
"path": zod.string(),
|
|
@@ -12744,11 +12803,11 @@ var getTreeStylesheetChildrenResponse = zod.object({
|
|
|
12744
12803
|
});
|
|
12745
12804
|
var getTreeStylesheetRootQueryTakeDefault = 100;
|
|
12746
12805
|
var getTreeStylesheetRootQueryParams = zod.object({
|
|
12747
|
-
"skip": zod.coerce.number().optional(),
|
|
12748
|
-
"take": zod.coerce.number().default(getTreeStylesheetRootQueryTakeDefault)
|
|
12806
|
+
"skip": zod.coerce.number().int().optional(),
|
|
12807
|
+
"take": zod.coerce.number().int().default(getTreeStylesheetRootQueryTakeDefault)
|
|
12749
12808
|
});
|
|
12750
12809
|
var getTreeStylesheetRootResponse = zod.object({
|
|
12751
|
-
"total": zod.
|
|
12810
|
+
"total": zod.int(),
|
|
12752
12811
|
"items": zod.array(zod.object({
|
|
12753
12812
|
"name": zod.string(),
|
|
12754
12813
|
"path": zod.string(),
|
|
@@ -12761,12 +12820,12 @@ var getTreeStylesheetRootResponse = zod.object({
|
|
|
12761
12820
|
});
|
|
12762
12821
|
var getTreeStylesheetSiblingsQueryParams = zod.object({
|
|
12763
12822
|
"path": zod.string().optional(),
|
|
12764
|
-
"before": zod.coerce.number().optional(),
|
|
12765
|
-
"after": zod.coerce.number().optional()
|
|
12823
|
+
"before": zod.coerce.number().int().optional(),
|
|
12824
|
+
"after": zod.coerce.number().int().optional()
|
|
12766
12825
|
});
|
|
12767
12826
|
var getTreeStylesheetSiblingsResponse = zod.object({
|
|
12768
|
-
"totalBefore": zod.
|
|
12769
|
-
"totalAfter": zod.
|
|
12827
|
+
"totalBefore": zod.int(),
|
|
12828
|
+
"totalAfter": zod.int(),
|
|
12770
12829
|
"items": zod.array(zod.object({
|
|
12771
12830
|
"name": zod.string(),
|
|
12772
12831
|
"path": zod.string(),
|
|
@@ -12782,25 +12841,25 @@ var getTagQueryParams = zod.object({
|
|
|
12782
12841
|
"query": zod.string().optional(),
|
|
12783
12842
|
"tagGroup": zod.string().optional(),
|
|
12784
12843
|
"culture": zod.string().optional(),
|
|
12785
|
-
"skip": zod.coerce.number().optional(),
|
|
12786
|
-
"take": zod.coerce.number().default(getTagQueryTakeDefault)
|
|
12844
|
+
"skip": zod.coerce.number().int().optional(),
|
|
12845
|
+
"take": zod.coerce.number().int().default(getTagQueryTakeDefault)
|
|
12787
12846
|
});
|
|
12788
12847
|
var getTagResponse = zod.object({
|
|
12789
|
-
"total": zod.
|
|
12848
|
+
"total": zod.int(),
|
|
12790
12849
|
"items": zod.array(zod.object({
|
|
12791
12850
|
"id": zod.guid(),
|
|
12792
12851
|
"text": zod.string().nullish(),
|
|
12793
12852
|
"group": zod.string().nullish(),
|
|
12794
|
-
"nodeCount": zod.
|
|
12853
|
+
"nodeCount": zod.int()
|
|
12795
12854
|
}))
|
|
12796
12855
|
});
|
|
12797
12856
|
var getTelemetryQueryTakeDefault = 100;
|
|
12798
12857
|
var getTelemetryQueryParams = zod.object({
|
|
12799
|
-
"skip": zod.coerce.number().optional(),
|
|
12800
|
-
"take": zod.coerce.number().default(getTelemetryQueryTakeDefault)
|
|
12858
|
+
"skip": zod.coerce.number().int().optional(),
|
|
12859
|
+
"take": zod.coerce.number().int().default(getTelemetryQueryTakeDefault)
|
|
12801
12860
|
});
|
|
12802
12861
|
var getTelemetryResponse = zod.object({
|
|
12803
|
-
"total": zod.
|
|
12862
|
+
"total": zod.int(),
|
|
12804
12863
|
"items": zod.array(zod.object({
|
|
12805
12864
|
"telemetryLevel": zod.enum(["Minimal", "Basic", "Detailed"])
|
|
12806
12865
|
}))
|
|
@@ -12842,8 +12901,8 @@ var getItemTemplateAncestorsResponse = zod.array(getItemTemplateAncestorsRespons
|
|
|
12842
12901
|
var getItemTemplateSearchQueryTakeDefault = 100;
|
|
12843
12902
|
var getItemTemplateSearchQueryParams = zod.object({
|
|
12844
12903
|
"query": zod.string().optional(),
|
|
12845
|
-
"skip": zod.coerce.number().optional(),
|
|
12846
|
-
"take": zod.coerce.number().default(getItemTemplateSearchQueryTakeDefault)
|
|
12904
|
+
"skip": zod.coerce.number().int().optional(),
|
|
12905
|
+
"take": zod.coerce.number().int().default(getItemTemplateSearchQueryTakeDefault)
|
|
12847
12906
|
});
|
|
12848
12907
|
var getItemTemplateSearchResponse = zod.object({
|
|
12849
12908
|
"items": zod.array(zod.object({
|
|
@@ -12854,7 +12913,7 @@ var getItemTemplateSearchResponse = zod.object({
|
|
|
12854
12913
|
"alias": zod.string()
|
|
12855
12914
|
}))
|
|
12856
12915
|
})),
|
|
12857
|
-
"total": zod.
|
|
12916
|
+
"total": zod.int()
|
|
12858
12917
|
});
|
|
12859
12918
|
var postTemplateBody = zod.object({
|
|
12860
12919
|
"id": zod.guid().nullish(),
|
|
@@ -12908,7 +12967,7 @@ var postTemplateQueryExecuteBody = zod.object({
|
|
|
12908
12967
|
"propertyAlias": zod.string(),
|
|
12909
12968
|
"direction": zod.string().nullish()
|
|
12910
12969
|
})]).optional(),
|
|
12911
|
-
"take": zod.
|
|
12970
|
+
"take": zod.int()
|
|
12912
12971
|
});
|
|
12913
12972
|
var postTemplateQueryExecuteResponse = zod.object({
|
|
12914
12973
|
"queryExpression": zod.string(),
|
|
@@ -12916,8 +12975,8 @@ var postTemplateQueryExecuteResponse = zod.object({
|
|
|
12916
12975
|
"icon": zod.string(),
|
|
12917
12976
|
"name": zod.string()
|
|
12918
12977
|
})),
|
|
12919
|
-
"resultCount": zod.
|
|
12920
|
-
"executionTime": zod.
|
|
12978
|
+
"resultCount": zod.int(),
|
|
12979
|
+
"executionTime": zod.int()
|
|
12921
12980
|
});
|
|
12922
12981
|
var getTemplateQuerySettingsResponse = zod.object({
|
|
12923
12982
|
"documentTypeAliases": zod.array(zod.string()),
|
|
@@ -12948,11 +13007,11 @@ var getTreeTemplateAncestorsResponse = zod.array(getTreeTemplateAncestorsRespons
|
|
|
12948
13007
|
var getTreeTemplateChildrenQueryTakeDefault = 100;
|
|
12949
13008
|
var getTreeTemplateChildrenQueryParams = zod.object({
|
|
12950
13009
|
"parentId": zod.guid().optional(),
|
|
12951
|
-
"skip": zod.coerce.number().optional(),
|
|
12952
|
-
"take": zod.coerce.number().default(getTreeTemplateChildrenQueryTakeDefault)
|
|
13010
|
+
"skip": zod.coerce.number().int().optional(),
|
|
13011
|
+
"take": zod.coerce.number().int().default(getTreeTemplateChildrenQueryTakeDefault)
|
|
12953
13012
|
});
|
|
12954
13013
|
var getTreeTemplateChildrenResponse = zod.object({
|
|
12955
|
-
"total": zod.
|
|
13014
|
+
"total": zod.int(),
|
|
12956
13015
|
"items": zod.array(zod.object({
|
|
12957
13016
|
"name": zod.string(),
|
|
12958
13017
|
"id": zod.guid(),
|
|
@@ -12967,11 +13026,11 @@ var getTreeTemplateChildrenResponse = zod.object({
|
|
|
12967
13026
|
});
|
|
12968
13027
|
var getTreeTemplateRootQueryTakeDefault = 100;
|
|
12969
13028
|
var getTreeTemplateRootQueryParams = zod.object({
|
|
12970
|
-
"skip": zod.coerce.number().optional(),
|
|
12971
|
-
"take": zod.coerce.number().default(getTreeTemplateRootQueryTakeDefault)
|
|
13029
|
+
"skip": zod.coerce.number().int().optional(),
|
|
13030
|
+
"take": zod.coerce.number().int().default(getTreeTemplateRootQueryTakeDefault)
|
|
12972
13031
|
});
|
|
12973
13032
|
var getTreeTemplateRootResponse = zod.object({
|
|
12974
|
-
"total": zod.
|
|
13033
|
+
"total": zod.int(),
|
|
12975
13034
|
"items": zod.array(zod.object({
|
|
12976
13035
|
"name": zod.string(),
|
|
12977
13036
|
"id": zod.guid(),
|
|
@@ -12986,12 +13045,12 @@ var getTreeTemplateRootResponse = zod.object({
|
|
|
12986
13045
|
});
|
|
12987
13046
|
var getTreeTemplateSiblingsQueryParams = zod.object({
|
|
12988
13047
|
"target": zod.guid().optional(),
|
|
12989
|
-
"before": zod.coerce.number().optional(),
|
|
12990
|
-
"after": zod.coerce.number().optional()
|
|
13048
|
+
"before": zod.coerce.number().int().optional(),
|
|
13049
|
+
"after": zod.coerce.number().int().optional()
|
|
12991
13050
|
});
|
|
12992
13051
|
var getTreeTemplateSiblingsResponse = zod.object({
|
|
12993
|
-
"totalBefore": zod.
|
|
12994
|
-
"totalAfter": zod.
|
|
13052
|
+
"totalBefore": zod.int(),
|
|
13053
|
+
"totalAfter": zod.int(),
|
|
12995
13054
|
"items": zod.array(zod.object({
|
|
12996
13055
|
"name": zod.string(),
|
|
12997
13056
|
"id": zod.guid(),
|
|
@@ -13014,16 +13073,17 @@ var getUpgradeSettingsResponse = zod.object({
|
|
|
13014
13073
|
});
|
|
13015
13074
|
var getFilterUserQueryTakeDefault = 100;
|
|
13016
13075
|
var getFilterUserQueryParams = zod.object({
|
|
13017
|
-
"skip": zod.coerce.number().optional(),
|
|
13018
|
-
"take": zod.coerce.number().default(getFilterUserQueryTakeDefault),
|
|
13076
|
+
"skip": zod.coerce.number().int().optional(),
|
|
13077
|
+
"take": zod.coerce.number().int().default(getFilterUserQueryTakeDefault),
|
|
13019
13078
|
"orderBy": zod.enum(["UserName", "Language", "Name", "Email", "Id", "CreateDate", "UpdateDate", "IsApproved", "IsLockedOut", "LastLoginDate"]).optional(),
|
|
13020
13079
|
"orderDirection": zod.enum(["Ascending", "Descending"]).optional(),
|
|
13021
13080
|
"userGroupIds": zod.array(zod.guid()).optional(),
|
|
13022
13081
|
"userStates": zod.array(zod.enum(["Active", "Disabled", "LockedOut", "Invited", "Inactive", "All"])).optional(),
|
|
13082
|
+
"userKinds": zod.array(zod.enum(["Default", "Api"])).optional(),
|
|
13023
13083
|
"filter": zod.string().optional()
|
|
13024
13084
|
});
|
|
13025
13085
|
var getFilterUserResponse = zod.object({
|
|
13026
|
-
"total": zod.
|
|
13086
|
+
"total": zod.int(),
|
|
13027
13087
|
"items": zod.array(zod.object({
|
|
13028
13088
|
"id": zod.guid(),
|
|
13029
13089
|
"languageIsoCode": zod.string().nullish(),
|
|
@@ -13041,7 +13101,7 @@ var getFilterUserResponse = zod.object({
|
|
|
13041
13101
|
"hasElementRootAccess": zod.boolean(),
|
|
13042
13102
|
"avatarUrls": zod.array(zod.string()),
|
|
13043
13103
|
"state": zod.enum(["Active", "Disabled", "LockedOut", "Invited", "Inactive", "All"]),
|
|
13044
|
-
"failedLoginAttempts": zod.
|
|
13104
|
+
"failedLoginAttempts": zod.int(),
|
|
13045
13105
|
"createDate": zod.iso.datetime({ "local": true, "offset": true }),
|
|
13046
13106
|
"updateDate": zod.iso.datetime({ "local": true, "offset": true }),
|
|
13047
13107
|
"lastLoginDate": zod.iso.datetime({ "local": true, "offset": true }).nullish(),
|
|
@@ -13089,11 +13149,11 @@ var postUserBody = zod.object({
|
|
|
13089
13149
|
var postUserResponse = zod.void();
|
|
13090
13150
|
var getUserQueryTakeDefault = 100;
|
|
13091
13151
|
var getUserQueryParams = zod.object({
|
|
13092
|
-
"skip": zod.coerce.number().optional(),
|
|
13093
|
-
"take": zod.coerce.number().default(getUserQueryTakeDefault)
|
|
13152
|
+
"skip": zod.coerce.number().int().optional(),
|
|
13153
|
+
"take": zod.coerce.number().int().default(getUserQueryTakeDefault)
|
|
13094
13154
|
});
|
|
13095
13155
|
var getUserResponse = zod.object({
|
|
13096
|
-
"total": zod.
|
|
13156
|
+
"total": zod.int(),
|
|
13097
13157
|
"items": zod.array(zod.object({
|
|
13098
13158
|
"id": zod.guid(),
|
|
13099
13159
|
"languageIsoCode": zod.string().nullish(),
|
|
@@ -13111,7 +13171,7 @@ var getUserResponse = zod.object({
|
|
|
13111
13171
|
"hasElementRootAccess": zod.boolean(),
|
|
13112
13172
|
"avatarUrls": zod.array(zod.string()),
|
|
13113
13173
|
"state": zod.enum(["Active", "Disabled", "LockedOut", "Invited", "Inactive", "All"]),
|
|
13114
|
-
"failedLoginAttempts": zod.
|
|
13174
|
+
"failedLoginAttempts": zod.int(),
|
|
13115
13175
|
"createDate": zod.iso.datetime({ "local": true, "offset": true }),
|
|
13116
13176
|
"updateDate": zod.iso.datetime({ "local": true, "offset": true }),
|
|
13117
13177
|
"lastLoginDate": zod.iso.datetime({ "local": true, "offset": true }).nullish(),
|
|
@@ -13147,7 +13207,7 @@ var getUserByIdResponse = zod.object({
|
|
|
13147
13207
|
"hasElementRootAccess": zod.boolean(),
|
|
13148
13208
|
"avatarUrls": zod.array(zod.string()),
|
|
13149
13209
|
"state": zod.enum(["Active", "Disabled", "LockedOut", "Invited", "Inactive", "All"]),
|
|
13150
|
-
"failedLoginAttempts": zod.
|
|
13210
|
+
"failedLoginAttempts": zod.int(),
|
|
13151
13211
|
"createDate": zod.iso.datetime({ "local": true, "offset": true }),
|
|
13152
13212
|
"updateDate": zod.iso.datetime({ "local": true, "offset": true }),
|
|
13153
13213
|
"lastLoginDate": zod.iso.datetime({ "local": true, "offset": true }).nullish(),
|
|
@@ -13270,7 +13330,7 @@ var getUserBatchQueryParams = zod.object({
|
|
|
13270
13330
|
"id": zod.array(zod.guid()).optional()
|
|
13271
13331
|
});
|
|
13272
13332
|
var getUserBatchResponse = zod.object({
|
|
13273
|
-
"total": zod.
|
|
13333
|
+
"total": zod.int(),
|
|
13274
13334
|
"items": zod.array(zod.object({
|
|
13275
13335
|
"id": zod.guid(),
|
|
13276
13336
|
"languageIsoCode": zod.string().nullish(),
|
|
@@ -13288,7 +13348,7 @@ var getUserBatchResponse = zod.object({
|
|
|
13288
13348
|
"hasElementRootAccess": zod.boolean(),
|
|
13289
13349
|
"avatarUrls": zod.array(zod.string()),
|
|
13290
13350
|
"state": zod.enum(["Active", "Disabled", "LockedOut", "Invited", "Inactive", "All"]),
|
|
13291
|
-
"failedLoginAttempts": zod.
|
|
13351
|
+
"failedLoginAttempts": zod.int(),
|
|
13292
13352
|
"createDate": zod.iso.datetime({ "local": true, "offset": true }),
|
|
13293
13353
|
"updateDate": zod.iso.datetime({ "local": true, "offset": true }),
|
|
13294
13354
|
"lastLoginDate": zod.iso.datetime({ "local": true, "offset": true }).nullish(),
|
|
@@ -13308,7 +13368,7 @@ var getUserConfigurationResponse = zod.object({
|
|
|
13308
13368
|
"canInviteUsers": zod.boolean(),
|
|
13309
13369
|
"usernameIsEmail": zod.boolean(),
|
|
13310
13370
|
"passwordConfiguration": zod.object({
|
|
13311
|
-
"minimumPasswordLength": zod.
|
|
13371
|
+
"minimumPasswordLength": zod.int(),
|
|
13312
13372
|
"requireNonLetterOrDigit": zod.boolean(),
|
|
13313
13373
|
"requireDigit": zod.boolean(),
|
|
13314
13374
|
"requireLowercase": zod.boolean(),
|
|
@@ -13415,7 +13475,7 @@ var postUserCurrentChangePasswordResponse = zod.unknown();
|
|
|
13415
13475
|
var getUserCurrentConfigurationResponse = zod.object({
|
|
13416
13476
|
"keepUserLoggedIn": zod.boolean(),
|
|
13417
13477
|
"passwordConfiguration": zod.object({
|
|
13418
|
-
"minimumPasswordLength": zod.
|
|
13478
|
+
"minimumPasswordLength": zod.int(),
|
|
13419
13479
|
"requireNonLetterOrDigit": zod.boolean(),
|
|
13420
13480
|
"requireDigit": zod.boolean(),
|
|
13421
13481
|
"requireLowercase": zod.boolean(),
|
|
@@ -13517,7 +13577,7 @@ var postUserInviteVerifyBody = zod.object({
|
|
|
13517
13577
|
});
|
|
13518
13578
|
var postUserInviteVerifyResponse = zod.object({
|
|
13519
13579
|
"passwordConfiguration": zod.object({
|
|
13520
|
-
"minimumPasswordLength": zod.
|
|
13580
|
+
"minimumPasswordLength": zod.int(),
|
|
13521
13581
|
"requireNonLetterOrDigit": zod.boolean(),
|
|
13522
13582
|
"requireDigit": zod.boolean(),
|
|
13523
13583
|
"requireLowercase": zod.boolean(),
|
|
@@ -13550,11 +13610,11 @@ var getUserDataQueryTakeDefault = 100;
|
|
|
13550
13610
|
var getUserDataQueryParams = zod.object({
|
|
13551
13611
|
"groups": zod.array(zod.string()).optional(),
|
|
13552
13612
|
"identifiers": zod.array(zod.string()).optional(),
|
|
13553
|
-
"skip": zod.coerce.number().optional(),
|
|
13554
|
-
"take": zod.coerce.number().default(getUserDataQueryTakeDefault)
|
|
13613
|
+
"skip": zod.coerce.number().int().optional(),
|
|
13614
|
+
"take": zod.coerce.number().int().default(getUserDataQueryTakeDefault)
|
|
13555
13615
|
});
|
|
13556
13616
|
var getUserDataResponse = zod.object({
|
|
13557
|
-
"total": zod.
|
|
13617
|
+
"total": zod.int(),
|
|
13558
13618
|
"items": zod.array(zod.object({
|
|
13559
13619
|
"key": zod.guid(),
|
|
13560
13620
|
"group": zod.string(),
|
|
@@ -13583,12 +13643,12 @@ var deleteUserDataByIdParams = zod.object({
|
|
|
13583
13643
|
var deleteUserDataByIdResponse = zod.unknown();
|
|
13584
13644
|
var getFilterUserGroupQueryTakeDefault = 100;
|
|
13585
13645
|
var getFilterUserGroupQueryParams = zod.object({
|
|
13586
|
-
"skip": zod.coerce.number().optional(),
|
|
13587
|
-
"take": zod.coerce.number().default(getFilterUserGroupQueryTakeDefault),
|
|
13646
|
+
"skip": zod.coerce.number().int().optional(),
|
|
13647
|
+
"take": zod.coerce.number().int().default(getFilterUserGroupQueryTakeDefault),
|
|
13588
13648
|
"filter": zod.string().optional()
|
|
13589
13649
|
});
|
|
13590
13650
|
var getFilterUserGroupResponse = zod.object({
|
|
13591
|
-
"total": zod.
|
|
13651
|
+
"total": zod.int(),
|
|
13592
13652
|
"items": zod.array(zod.object({
|
|
13593
13653
|
"id": zod.guid(),
|
|
13594
13654
|
"isDeletable": zod.boolean(),
|
|
@@ -13712,11 +13772,11 @@ var postUserGroupBody = zod.object({
|
|
|
13712
13772
|
var postUserGroupResponse = zod.void();
|
|
13713
13773
|
var getUserGroupQueryTakeDefault = 100;
|
|
13714
13774
|
var getUserGroupQueryParams = zod.object({
|
|
13715
|
-
"skip": zod.coerce.number().optional(),
|
|
13716
|
-
"take": zod.coerce.number().default(getUserGroupQueryTakeDefault)
|
|
13775
|
+
"skip": zod.coerce.number().int().optional(),
|
|
13776
|
+
"take": zod.coerce.number().int().default(getUserGroupQueryTakeDefault)
|
|
13717
13777
|
});
|
|
13718
13778
|
var getUserGroupResponse = zod.object({
|
|
13719
|
-
"total": zod.
|
|
13779
|
+
"total": zod.int(),
|
|
13720
13780
|
"items": zod.array(zod.object({
|
|
13721
13781
|
"id": zod.guid(),
|
|
13722
13782
|
"isDeletable": zod.boolean(),
|
|
@@ -13912,11 +13972,11 @@ var getItemWebhookResponseItem = zod.object({
|
|
|
13912
13972
|
var getItemWebhookResponse = zod.array(getItemWebhookResponseItem);
|
|
13913
13973
|
var getWebhookQueryTakeDefault = 100;
|
|
13914
13974
|
var getWebhookQueryParams = zod.object({
|
|
13915
|
-
"skip": zod.coerce.number().optional(),
|
|
13916
|
-
"take": zod.coerce.number().default(getWebhookQueryTakeDefault)
|
|
13975
|
+
"skip": zod.coerce.number().int().optional(),
|
|
13976
|
+
"take": zod.coerce.number().int().default(getWebhookQueryTakeDefault)
|
|
13917
13977
|
});
|
|
13918
13978
|
var getWebhookResponse = zod.object({
|
|
13919
|
-
"total": zod.
|
|
13979
|
+
"total": zod.int(),
|
|
13920
13980
|
"items": zod.array(zod.object({
|
|
13921
13981
|
"id": zod.guid(),
|
|
13922
13982
|
"events": zod.array(zod.object({
|
|
@@ -13982,20 +14042,21 @@ var getWebhookByIdLogsParams = zod.object({
|
|
|
13982
14042
|
});
|
|
13983
14043
|
var getWebhookByIdLogsQueryTakeDefault = 100;
|
|
13984
14044
|
var getWebhookByIdLogsQueryParams = zod.object({
|
|
13985
|
-
"skip": zod.coerce.number().optional(),
|
|
13986
|
-
"take": zod.coerce.number().default(getWebhookByIdLogsQueryTakeDefault)
|
|
14045
|
+
"skip": zod.coerce.number().int().optional(),
|
|
14046
|
+
"take": zod.coerce.number().int().default(getWebhookByIdLogsQueryTakeDefault)
|
|
13987
14047
|
});
|
|
13988
14048
|
var getWebhookByIdLogsResponse = zod.object({
|
|
13989
|
-
"total": zod.
|
|
14049
|
+
"total": zod.int(),
|
|
13990
14050
|
"items": zod.array(zod.object({
|
|
13991
14051
|
"key": zod.guid(),
|
|
13992
14052
|
"webhookKey": zod.guid(),
|
|
13993
14053
|
"statusCode": zod.string(),
|
|
14054
|
+
"httpStatusCode": zod.int().nullish(),
|
|
13994
14055
|
"isSuccessStatusCode": zod.boolean(),
|
|
13995
14056
|
"date": zod.iso.datetime({ "local": true, "offset": true }),
|
|
13996
14057
|
"eventAlias": zod.string(),
|
|
13997
14058
|
"url": zod.string(),
|
|
13998
|
-
"retryCount": zod.
|
|
14059
|
+
"retryCount": zod.int(),
|
|
13999
14060
|
"requestHeaders": zod.string(),
|
|
14000
14061
|
"requestBody": zod.string(),
|
|
14001
14062
|
"responseHeaders": zod.string(),
|
|
@@ -14005,11 +14066,11 @@ var getWebhookByIdLogsResponse = zod.object({
|
|
|
14005
14066
|
});
|
|
14006
14067
|
var getWebhookEventsQueryTakeDefault = 100;
|
|
14007
14068
|
var getWebhookEventsQueryParams = zod.object({
|
|
14008
|
-
"skip": zod.coerce.number().optional(),
|
|
14009
|
-
"take": zod.coerce.number().default(getWebhookEventsQueryTakeDefault)
|
|
14069
|
+
"skip": zod.coerce.number().int().optional(),
|
|
14070
|
+
"take": zod.coerce.number().int().default(getWebhookEventsQueryTakeDefault)
|
|
14010
14071
|
});
|
|
14011
14072
|
var getWebhookEventsResponse = zod.object({
|
|
14012
|
-
"total": zod.
|
|
14073
|
+
"total": zod.int(),
|
|
14013
14074
|
"items": zod.array(zod.object({
|
|
14014
14075
|
"eventName": zod.string(),
|
|
14015
14076
|
"eventType": zod.string(),
|
|
@@ -14018,20 +14079,21 @@ var getWebhookEventsResponse = zod.object({
|
|
|
14018
14079
|
});
|
|
14019
14080
|
var getWebhookLogsQueryTakeDefault = 100;
|
|
14020
14081
|
var getWebhookLogsQueryParams = zod.object({
|
|
14021
|
-
"skip": zod.coerce.number().optional(),
|
|
14022
|
-
"take": zod.coerce.number().default(getWebhookLogsQueryTakeDefault)
|
|
14082
|
+
"skip": zod.coerce.number().int().optional(),
|
|
14083
|
+
"take": zod.coerce.number().int().default(getWebhookLogsQueryTakeDefault)
|
|
14023
14084
|
});
|
|
14024
14085
|
var getWebhookLogsResponse = zod.object({
|
|
14025
|
-
"total": zod.
|
|
14086
|
+
"total": zod.int(),
|
|
14026
14087
|
"items": zod.array(zod.object({
|
|
14027
14088
|
"key": zod.guid(),
|
|
14028
14089
|
"webhookKey": zod.guid(),
|
|
14029
14090
|
"statusCode": zod.string(),
|
|
14091
|
+
"httpStatusCode": zod.int().nullish(),
|
|
14030
14092
|
"isSuccessStatusCode": zod.boolean(),
|
|
14031
14093
|
"date": zod.iso.datetime({ "local": true, "offset": true }),
|
|
14032
14094
|
"eventAlias": zod.string(),
|
|
14033
14095
|
"url": zod.string(),
|
|
14034
|
-
"retryCount": zod.
|
|
14096
|
+
"retryCount": zod.int(),
|
|
14035
14097
|
"requestHeaders": zod.string(),
|
|
14036
14098
|
"requestBody": zod.string(),
|
|
14037
14099
|
"responseHeaders": zod.string(),
|
|
@@ -14439,7 +14501,7 @@ var CopyDataTypeTool = {
|
|
|
14439
14501
|
validateStatus: () => true
|
|
14440
14502
|
});
|
|
14441
14503
|
if (response.status === 201) {
|
|
14442
|
-
const location = _optionalChain([response, 'access',
|
|
14504
|
+
const location = _optionalChain([response, 'access', _3 => _3.headers, 'optionalAccess', _4 => _4.location]) || "";
|
|
14443
14505
|
const newId = location.split("/").pop() || "";
|
|
14444
14506
|
const output = {
|
|
14445
14507
|
message: "Data type copied successfully",
|
|
@@ -15089,7 +15151,7 @@ var CreateDictionaryItemTool = {
|
|
|
15089
15151
|
validateStatus: () => true
|
|
15090
15152
|
});
|
|
15091
15153
|
if (response.status === 201) {
|
|
15092
|
-
const locationHeader = _optionalChain([response, 'access',
|
|
15154
|
+
const locationHeader = _optionalChain([response, 'access', _5 => _5.headers, 'optionalAccess', _6 => _6["location"]]) || _optionalChain([response, 'access', _7 => _7.headers, 'optionalAccess', _8 => _8["Location"]]);
|
|
15093
15155
|
let createdId = model.id || "";
|
|
15094
15156
|
if (locationHeader) {
|
|
15095
15157
|
const idMatch = locationHeader.match(/([0-9a-f-]{36})$/i);
|
|
@@ -16435,7 +16497,7 @@ var CopyDocumentTool = {
|
|
|
16435
16497
|
validateStatus: () => true
|
|
16436
16498
|
});
|
|
16437
16499
|
if (response.status === 201) {
|
|
16438
|
-
const location = _optionalChain([response, 'access',
|
|
16500
|
+
const location = _optionalChain([response, 'access', _9 => _9.headers, 'optionalAccess', _10 => _10.location]) || "";
|
|
16439
16501
|
const newId = location.split("/").pop() || "";
|
|
16440
16502
|
const output = { id: newId };
|
|
16441
16503
|
return _mcpserversdk.createToolResult.call(void 0, output);
|
|
@@ -16579,7 +16641,7 @@ var CreateDocumentTool = {
|
|
|
16579
16641
|
template = { id: model.templateId };
|
|
16580
16642
|
} else {
|
|
16581
16643
|
const docType = await client.getDocumentTypeById(model.documentTypeId);
|
|
16582
|
-
template = _optionalChain([docType, 'access',
|
|
16644
|
+
template = _optionalChain([docType, 'access', _11 => _11.defaultTemplate, 'optionalAccess', _12 => _12.id]) ? { id: docType.defaultTemplate.id } : null;
|
|
16583
16645
|
}
|
|
16584
16646
|
const payload = {
|
|
16585
16647
|
id: documentId,
|
|
@@ -16757,7 +16819,7 @@ var CreateAndPublishDocumentTool = {
|
|
|
16757
16819
|
template = { id: model.templateId };
|
|
16758
16820
|
} else {
|
|
16759
16821
|
const docType = await client.getDocumentTypeById(model.documentTypeId);
|
|
16760
|
-
template = _optionalChain([docType, 'access',
|
|
16822
|
+
template = _optionalChain([docType, 'access', _13 => _13.defaultTemplate, 'optionalAccess', _14 => _14.id]) ? { id: docType.defaultTemplate.id } : null;
|
|
16761
16823
|
}
|
|
16762
16824
|
const payload = {
|
|
16763
16825
|
id: documentId,
|
|
@@ -16938,7 +17000,7 @@ var PublishDocumentWithDescendantsTool = {
|
|
|
16938
17000
|
}
|
|
16939
17001
|
if (statusResponse.status >= 200 && statusResponse.status < 300) {
|
|
16940
17002
|
const data = statusResponse.data;
|
|
16941
|
-
if (_optionalChain([data, 'optionalAccess',
|
|
17003
|
+
if (_optionalChain([data, 'optionalAccess', _15 => _15.isComplete])) {
|
|
16942
17004
|
return {
|
|
16943
17005
|
content: [
|
|
16944
17006
|
{
|
|
@@ -17256,14 +17318,14 @@ var UpdateDocumentTool = {
|
|
|
17256
17318
|
slices: ["update"],
|
|
17257
17319
|
enabled: (user) => user.fallbackPermissions.includes(UmbracoDocumentPermissions.Update),
|
|
17258
17320
|
handler: (async (model) => {
|
|
17259
|
-
const incomingValues = _optionalChain([model, 'access',
|
|
17321
|
+
const incomingValues = _optionalChain([model, 'access', _16 => _16.data, 'optionalAccess', _17 => _17.values]);
|
|
17260
17322
|
if (Array.isArray(incomingValues) && incomingValues.length === 0 && !model.confirmClearValues) {
|
|
17261
17323
|
const client = UmbracoManagementClient3.getClient();
|
|
17262
17324
|
let currentDocument;
|
|
17263
17325
|
try {
|
|
17264
17326
|
currentDocument = await client.getDocumentById(model.id);
|
|
17265
17327
|
} catch (error) {
|
|
17266
|
-
const status = _optionalChain([error, 'optionalAccess',
|
|
17328
|
+
const status = _optionalChain([error, 'optionalAccess', _18 => _18.response, 'optionalAccess', _19 => _19.status]);
|
|
17267
17329
|
if (status !== 404) {
|
|
17268
17330
|
throw error;
|
|
17269
17331
|
}
|
|
@@ -17282,6 +17344,34 @@ var UpdateDocumentTool = {
|
|
|
17282
17344
|
};
|
|
17283
17345
|
var update_document_default = _mcpserversdk.withStandardDecorators.call(void 0, UpdateDocumentTool);
|
|
17284
17346
|
|
|
17347
|
+
// src/umbraco-api/tools/document/put/validate-document-update.ts
|
|
17348
|
+
|
|
17349
|
+
|
|
17350
|
+
|
|
17351
|
+
|
|
17352
|
+
|
|
17353
|
+
|
|
17354
|
+
var validateDocumentUpdateSchema = {
|
|
17355
|
+
id: _zod.z.string().uuid(),
|
|
17356
|
+
data: _zod.z.object(putDocumentByIdValidateBody.shape)
|
|
17357
|
+
};
|
|
17358
|
+
var ValidateDocumentUpdateTool = {
|
|
17359
|
+
name: "validate-document-update",
|
|
17360
|
+
description: "Validates changes to an existing document, using the Umbraco API (PUT, does not persist changes). Use this instead of validate-document when validating an update to a document that already exists - it only requires Update permission on the document, not Create permission on its parent.",
|
|
17361
|
+
inputSchema: validateDocumentUpdateSchema,
|
|
17362
|
+
annotations: {
|
|
17363
|
+
readOnlyHint: true
|
|
17364
|
+
},
|
|
17365
|
+
slices: ["validate"],
|
|
17366
|
+
enabled: (user) => user.fallbackPermissions.includes(UmbracoDocumentPermissions.Update),
|
|
17367
|
+
handler: (async (model) => {
|
|
17368
|
+
return _mcpserversdk.executeVoidApiCall.call(void 0,
|
|
17369
|
+
(client) => client.putDocumentByIdValidate(model.id, model.data, _mcpserversdk.CAPTURE_RAW_HTTP_RESPONSE)
|
|
17370
|
+
);
|
|
17371
|
+
})
|
|
17372
|
+
};
|
|
17373
|
+
var validate_document_update_default = _mcpserversdk.withStandardDecorators.call(void 0, ValidateDocumentUpdateTool);
|
|
17374
|
+
|
|
17285
17375
|
// src/umbraco-api/tools/document/put/update-and-publish-document.ts
|
|
17286
17376
|
|
|
17287
17377
|
|
|
@@ -18233,14 +18323,14 @@ function removeRteBlockElement(markup, contentKey) {
|
|
|
18233
18323
|
return markup.slice(0, start) + markup.slice(end);
|
|
18234
18324
|
}
|
|
18235
18325
|
function getBlockTypeConfigurations(dataTypeValues) {
|
|
18236
|
-
const blocks = _optionalChain([dataTypeValues, 'optionalAccess',
|
|
18326
|
+
const blocks = _optionalChain([dataTypeValues, 'optionalAccess', _20 => _20.find, 'call', _21 => _21((v) => v.alias === "blocks"), 'optionalAccess', _22 => _22.value]);
|
|
18237
18327
|
return Array.isArray(blocks) ? blocks : [];
|
|
18238
18328
|
}
|
|
18239
18329
|
function findBlockTypeConfiguration(configs, contentElementTypeKey) {
|
|
18240
18330
|
return configs.find((c) => c.contentElementTypeKey === contentElementTypeKey);
|
|
18241
18331
|
}
|
|
18242
18332
|
function findAreaConfiguration(configs, parentContentTypeKey, areaKey) {
|
|
18243
|
-
return _optionalChain([findBlockTypeConfiguration, 'call',
|
|
18333
|
+
return _optionalChain([findBlockTypeConfiguration, 'call', _23 => _23(configs, parentContentTypeKey), 'optionalAccess', _24 => _24.areas, 'optionalAccess', _25 => _25.find, 'call', _26 => _26((a) => a.key === areaKey)]);
|
|
18244
18334
|
}
|
|
18245
18335
|
function checkAllowedInArea(blockConfig, area) {
|
|
18246
18336
|
if (blockConfig.allowInAreas === false) {
|
|
@@ -18258,17 +18348,17 @@ function checkAllowedInArea(blockConfig, area) {
|
|
|
18258
18348
|
|
|
18259
18349
|
// src/umbraco-api/tools/document/put/helpers/document-block-context.ts
|
|
18260
18350
|
|
|
18261
|
-
async function
|
|
18351
|
+
async function resolveBlockPropertyContext(owner, model) {
|
|
18262
18352
|
const client = UmbracoManagementClient3.getClient();
|
|
18263
|
-
const
|
|
18264
|
-
const
|
|
18265
|
-
const propertyDefinition =
|
|
18353
|
+
const { values } = owner;
|
|
18354
|
+
const contentTypeProperties = await getAllDocumentTypeProperties(owner.contentTypeId);
|
|
18355
|
+
const propertyDefinition = contentTypeProperties.find((p) => p.alias === model.propertyAlias);
|
|
18266
18356
|
if (!propertyDefinition) {
|
|
18267
18357
|
throw new (0, _mcpserversdk.ToolValidationError)({
|
|
18268
18358
|
title: "Property not found",
|
|
18269
|
-
detail: `Property '${model.propertyAlias}' does not exist on this
|
|
18359
|
+
detail: `Property '${model.propertyAlias}' does not exist on this ${owner.ownerLabel}'s type`,
|
|
18270
18360
|
extensions: {
|
|
18271
|
-
availableProperties:
|
|
18361
|
+
availableProperties: contentTypeProperties.map((p) => p.alias)
|
|
18272
18362
|
}
|
|
18273
18363
|
});
|
|
18274
18364
|
}
|
|
@@ -18287,7 +18377,7 @@ async function loadDocumentBlockContext(model) {
|
|
|
18287
18377
|
detail: `Property '${model.propertyAlias}' uses editor '${dataType.editorAlias}', not a BlockList, BlockGrid, or RichText editor`
|
|
18288
18378
|
});
|
|
18289
18379
|
}
|
|
18290
|
-
let valueEntry =
|
|
18380
|
+
let valueEntry = values.find(
|
|
18291
18381
|
(v) => matchesProperty(v, model.propertyAlias, model.culture, model.segment)
|
|
18292
18382
|
);
|
|
18293
18383
|
if (!valueEntry) {
|
|
@@ -18298,7 +18388,7 @@ async function loadDocumentBlockContext(model) {
|
|
|
18298
18388
|
editorAlias: dataType.editorAlias,
|
|
18299
18389
|
value: null
|
|
18300
18390
|
};
|
|
18301
|
-
|
|
18391
|
+
values.push(valueEntry);
|
|
18302
18392
|
}
|
|
18303
18393
|
if (valueEntry.value === null || valueEntry.value === void 0 || valueEntry.value === "") {
|
|
18304
18394
|
valueEntry.value = createEmptyBlockValue(kind);
|
|
@@ -18315,7 +18405,6 @@ async function loadDocumentBlockContext(model) {
|
|
|
18315
18405
|
});
|
|
18316
18406
|
}
|
|
18317
18407
|
return {
|
|
18318
|
-
document,
|
|
18319
18408
|
propertyDefinition,
|
|
18320
18409
|
kind,
|
|
18321
18410
|
propertyValue,
|
|
@@ -18323,6 +18412,15 @@ async function loadDocumentBlockContext(model) {
|
|
|
18323
18412
|
blockConfigs: getBlockTypeConfigurations(dataType.values)
|
|
18324
18413
|
};
|
|
18325
18414
|
}
|
|
18415
|
+
async function loadDocumentBlockContext(model) {
|
|
18416
|
+
const client = UmbracoManagementClient3.getClient();
|
|
18417
|
+
const document = await client.getDocumentById(model.documentId);
|
|
18418
|
+
const context = await resolveBlockPropertyContext(
|
|
18419
|
+
{ values: document.values, contentTypeId: document.documentType.id, ownerLabel: "document" },
|
|
18420
|
+
model
|
|
18421
|
+
);
|
|
18422
|
+
return { document, ...context };
|
|
18423
|
+
}
|
|
18326
18424
|
async function saveDocumentValues(documentId, document) {
|
|
18327
18425
|
const client = UmbracoManagementClient3.getClient();
|
|
18328
18426
|
const values = document.values.map((v) => ({
|
|
@@ -18443,7 +18541,7 @@ var CreateDocumentBlockTool = {
|
|
|
18443
18541
|
const { kind, container, blockConfigs } = ctx;
|
|
18444
18542
|
const placement = _nullishCoalesce(model.placement, () => ( { position: "append" }));
|
|
18445
18543
|
const contentProperties = _nullishCoalesce(model.properties, () => ( []));
|
|
18446
|
-
const settingsProperties = _nullishCoalesce(_optionalChain([model, 'access',
|
|
18544
|
+
const settingsProperties = _nullishCoalesce(_optionalChain([model, 'access', _27 => _27.settings, 'optionalAccess', _28 => _28.properties]), () => ( []));
|
|
18447
18545
|
if (model.expectedKind && kind !== model.expectedKind) {
|
|
18448
18546
|
throw new (0, _mcpserversdk.ToolValidationError)({
|
|
18449
18547
|
title: "Unexpected block editor",
|
|
@@ -18456,8 +18554,8 @@ var CreateDocumentBlockTool = {
|
|
|
18456
18554
|
detail: `'grid' only applies to BlockGrid properties; '${model.propertyAlias}' is a ${kind} property`
|
|
18457
18555
|
});
|
|
18458
18556
|
}
|
|
18459
|
-
const areaKey = _optionalChain([model, 'access',
|
|
18460
|
-
const parentContentKey = _optionalChain([model, 'access',
|
|
18557
|
+
const areaKey = _optionalChain([model, 'access', _29 => _29.grid, 'optionalAccess', _30 => _30.areaKey]);
|
|
18558
|
+
const parentContentKey = _optionalChain([model, 'access', _31 => _31.grid, 'optionalAccess', _32 => _32.parentContentKey]);
|
|
18461
18559
|
if (!!areaKey !== !!parentContentKey) {
|
|
18462
18560
|
throw new (0, _mcpserversdk.ToolValidationError)({
|
|
18463
18561
|
title: "Incomplete area target",
|
|
@@ -18507,7 +18605,7 @@ var CreateDocumentBlockTool = {
|
|
|
18507
18605
|
title: "Area not found",
|
|
18508
18606
|
detail: `Area '${key}' is not configured for block type '${parentBlock.contentTypeKey}'`,
|
|
18509
18607
|
extensions: {
|
|
18510
|
-
availableAreas: (_nullishCoalesce(_optionalChain([findBlockTypeConfiguration, 'call',
|
|
18608
|
+
availableAreas: (_nullishCoalesce(_optionalChain([findBlockTypeConfiguration, 'call', _33 => _33(blockConfigs, parentBlock.contentTypeKey), 'optionalAccess', _34 => _34.areas]), () => ( []))).map((a) => ({ key: a.key, alias: _nullishCoalesce(a.alias, () => ( null)) }))
|
|
18511
18609
|
}
|
|
18512
18610
|
});
|
|
18513
18611
|
}
|
|
@@ -18529,7 +18627,7 @@ var CreateDocumentBlockTool = {
|
|
|
18529
18627
|
detail: `No block with contentKey '${placement.contentKey}' exists in property '${model.propertyAlias}'`
|
|
18530
18628
|
});
|
|
18531
18629
|
}
|
|
18532
|
-
if (areaKey && (sibling.areaKey !== areaKey || _optionalChain([sibling, 'access',
|
|
18630
|
+
if (areaKey && (sibling.areaKey !== areaKey || _optionalChain([sibling, 'access', _35 => _35.parent, 'optionalAccess', _36 => _36.contentKey]) !== parentContentKey)) {
|
|
18533
18631
|
throw new (0, _mcpserversdk.ToolValidationError)({
|
|
18534
18632
|
title: "Sibling not in target area",
|
|
18535
18633
|
detail: `Block '${placement.contentKey}' is not in area '${areaKey}' of block '${parentContentKey}'`
|
|
@@ -18574,8 +18672,8 @@ var CreateDocumentBlockTool = {
|
|
|
18574
18672
|
const layoutEntry = buildLayoutEntry(kind, {
|
|
18575
18673
|
contentKey,
|
|
18576
18674
|
settingsKey,
|
|
18577
|
-
columnSpan: _optionalChain([model, 'access',
|
|
18578
|
-
rowSpan: _optionalChain([model, 'access',
|
|
18675
|
+
columnSpan: _optionalChain([model, 'access', _37 => _37.grid, 'optionalAccess', _38 => _38.columnSpan]),
|
|
18676
|
+
rowSpan: _optionalChain([model, 'access', _39 => _39.grid, 'optionalAccess', _40 => _40.rowSpan]),
|
|
18579
18677
|
areaKeys: (_nullishCoalesce(blockConfig.areas, () => ( []))).map((a) => a.key)
|
|
18580
18678
|
});
|
|
18581
18679
|
const elementType = await client.getDocumentTypeById(model.contentTypeKey);
|
|
@@ -18725,6 +18823,274 @@ var DeleteDocumentBlockTool = {
|
|
|
18725
18823
|
};
|
|
18726
18824
|
var delete_document_block_default = _mcpserversdk.withStandardDecorators.call(void 0, DeleteDocumentBlockTool);
|
|
18727
18825
|
|
|
18826
|
+
// src/umbraco-api/tools/document/put/move-document-block.ts
|
|
18827
|
+
|
|
18828
|
+
|
|
18829
|
+
// src/umbraco-api/tools/document/put/helpers/block-move.ts
|
|
18830
|
+
|
|
18831
|
+
function describeContainer(location) {
|
|
18832
|
+
return location.parent ? `area '${location.areaKey}' of block '${location.parent.contentKey}'` : "the root of the property";
|
|
18833
|
+
}
|
|
18834
|
+
function blockNotFoundError(contentKey, propertyKey, availableKeys) {
|
|
18835
|
+
return new (0, _mcpserversdk.ToolValidationError)({
|
|
18836
|
+
title: "Block not found",
|
|
18837
|
+
detail: `No block with contentKey '${contentKey}' exists in property '${propertyKey}'`,
|
|
18838
|
+
extensions: { availableContentKeys: availableKeys }
|
|
18839
|
+
});
|
|
18840
|
+
}
|
|
18841
|
+
function collectAllLayoutKeys(items) {
|
|
18842
|
+
const keys = [];
|
|
18843
|
+
for (const item of items) {
|
|
18844
|
+
keys.push(item.contentKey);
|
|
18845
|
+
for (const area of _nullishCoalesce(item.areas, () => ( []))) {
|
|
18846
|
+
keys.push(...collectAllLayoutKeys(_nullishCoalesce(area.items, () => ( []))));
|
|
18847
|
+
}
|
|
18848
|
+
}
|
|
18849
|
+
return keys;
|
|
18850
|
+
}
|
|
18851
|
+
function reorderKeys(order, contentKey, target) {
|
|
18852
|
+
const without = order.filter((k) => k !== contentKey);
|
|
18853
|
+
switch (target.position) {
|
|
18854
|
+
case "first":
|
|
18855
|
+
return [contentKey, ...without];
|
|
18856
|
+
case "last":
|
|
18857
|
+
return [...without, contentKey];
|
|
18858
|
+
case "before":
|
|
18859
|
+
case "after": {
|
|
18860
|
+
if (target.relativeToContentKey === contentKey) {
|
|
18861
|
+
return [...order];
|
|
18862
|
+
}
|
|
18863
|
+
const index = without.indexOf(target.relativeToContentKey);
|
|
18864
|
+
const insertAt = target.position === "before" ? index : index + 1;
|
|
18865
|
+
return [...without.slice(0, insertAt), contentKey, ...without.slice(insertAt)];
|
|
18866
|
+
}
|
|
18867
|
+
}
|
|
18868
|
+
}
|
|
18869
|
+
function sameOrder(a, b) {
|
|
18870
|
+
return a.length === b.length && a.every((k, i) => k === b[i]);
|
|
18871
|
+
}
|
|
18872
|
+
function moveLayoutBlock(layoutItems, contentKey, target, propertyKey) {
|
|
18873
|
+
const location = findLayoutLocation(layoutItems, contentKey);
|
|
18874
|
+
if (!location) {
|
|
18875
|
+
throw blockNotFoundError(contentKey, propertyKey, collectAllLayoutKeys(layoutItems));
|
|
18876
|
+
}
|
|
18877
|
+
const containerItems = location.items;
|
|
18878
|
+
const currentOrder = containerItems.map((i) => i.contentKey);
|
|
18879
|
+
if (target.position === "before" || target.position === "after") {
|
|
18880
|
+
const relativeKey = target.relativeToContentKey;
|
|
18881
|
+
if (!currentOrder.includes(relativeKey)) {
|
|
18882
|
+
const relativeLocation = findLayoutLocation(layoutItems, relativeKey);
|
|
18883
|
+
if (relativeLocation) {
|
|
18884
|
+
throw new (0, _mcpserversdk.ToolValidationError)({
|
|
18885
|
+
title: "Target in a different container",
|
|
18886
|
+
detail: `Block '${relativeKey}' is in ${describeContainer(relativeLocation)}, but block '${contentKey}' is in ${describeContainer(location)}. Blocks can only be moved within their own container; moving between BlockGrid areas, or into or out of an area, is not supported.`,
|
|
18887
|
+
extensions: { blocksInSameContainer: currentOrder }
|
|
18888
|
+
});
|
|
18889
|
+
}
|
|
18890
|
+
throw new (0, _mcpserversdk.ToolValidationError)({
|
|
18891
|
+
title: "Relative block not found",
|
|
18892
|
+
detail: `No block with contentKey '${relativeKey}' exists in property '${propertyKey}'`,
|
|
18893
|
+
extensions: { blocksInSameContainer: currentOrder }
|
|
18894
|
+
});
|
|
18895
|
+
}
|
|
18896
|
+
}
|
|
18897
|
+
const newOrder = reorderKeys(currentOrder, contentKey, target);
|
|
18898
|
+
const moved = !sameOrder(currentOrder, newOrder);
|
|
18899
|
+
if (moved) {
|
|
18900
|
+
const byKey = new Map(containerItems.map((i) => [i.contentKey, i]));
|
|
18901
|
+
containerItems.splice(0, containerItems.length, ...newOrder.map((k) => byKey.get(k)));
|
|
18902
|
+
}
|
|
18903
|
+
return {
|
|
18904
|
+
moved,
|
|
18905
|
+
blockOrder: newOrder,
|
|
18906
|
+
parentContentKey: _nullishCoalesce(_optionalChain([location, 'access', _41 => _41.parent, 'optionalAccess', _42 => _42.contentKey]), () => ( null)),
|
|
18907
|
+
areaKey: _nullishCoalesce(location.areaKey, () => ( null))
|
|
18908
|
+
};
|
|
18909
|
+
}
|
|
18910
|
+
var RTE_BLOCK_KEY_PATTERN = /<umb-rte-block(?:-inline)?\b[^>]*\bdata-content-key=["']([^"']+)["']/gi;
|
|
18911
|
+
function getRteMarkupBlockOrder(markup) {
|
|
18912
|
+
return Array.from((_nullishCoalesce(markup, () => ( ""))).matchAll(RTE_BLOCK_KEY_PATTERN), (m) => m[1]);
|
|
18913
|
+
}
|
|
18914
|
+
function findRteBlockUnit(markup, contentKey) {
|
|
18915
|
+
const found = findRteBlockElement(markup, contentKey);
|
|
18916
|
+
if (!found) {
|
|
18917
|
+
return null;
|
|
18918
|
+
}
|
|
18919
|
+
let { start, end } = found;
|
|
18920
|
+
const element = markup.slice(start, end);
|
|
18921
|
+
const inlineElement = /^<umb-rte-block-inline\b/i.test(element);
|
|
18922
|
+
const openingParagraph = /<p\b[^>]*>\s*$/i.exec(markup.slice(0, start));
|
|
18923
|
+
const closingParagraph = /^\s*<\/p>/i.exec(markup.slice(end));
|
|
18924
|
+
const wrapped = Boolean(openingParagraph && closingParagraph);
|
|
18925
|
+
if (openingParagraph && closingParagraph) {
|
|
18926
|
+
start -= openingParagraph[0].length;
|
|
18927
|
+
end += closingParagraph[0].length;
|
|
18928
|
+
}
|
|
18929
|
+
return { start, end, element, inlineElement, wrapped, level: inlineElement && !wrapped ? "inline" : "block" };
|
|
18930
|
+
}
|
|
18931
|
+
function markupForLevel(unit, blockMarkup, level) {
|
|
18932
|
+
if (level === "block") {
|
|
18933
|
+
return unit.level === "inline" ? `<p>${unit.element}</p>` : blockMarkup;
|
|
18934
|
+
}
|
|
18935
|
+
return unit.inlineElement ? unit.element : null;
|
|
18936
|
+
}
|
|
18937
|
+
function moveRichTextBlock(rteValue, layoutItems, contentKey, target, propertyKey) {
|
|
18938
|
+
const markup = _nullishCoalesce(rteValue.markup, () => ( ""));
|
|
18939
|
+
const currentOrder = getRteMarkupBlockOrder(markup);
|
|
18940
|
+
const unit = findRteBlockUnit(markup, contentKey);
|
|
18941
|
+
if (!unit) {
|
|
18942
|
+
if (layoutItems.some((i) => i.contentKey === contentKey)) {
|
|
18943
|
+
throw new (0, _mcpserversdk.ToolValidationError)({
|
|
18944
|
+
title: "Block markup not found",
|
|
18945
|
+
detail: `Block '${contentKey}' has a layout entry but no <umb-rte-block> element in the markup`
|
|
18946
|
+
});
|
|
18947
|
+
}
|
|
18948
|
+
throw blockNotFoundError(contentKey, propertyKey, currentOrder);
|
|
18949
|
+
}
|
|
18950
|
+
const relativeKey = target.position === "before" || target.position === "after" ? target.relativeToContentKey : null;
|
|
18951
|
+
if (relativeKey && !currentOrder.includes(relativeKey)) {
|
|
18952
|
+
throw new (0, _mcpserversdk.ToolValidationError)({
|
|
18953
|
+
title: "Relative block not found",
|
|
18954
|
+
detail: `No block with contentKey '${relativeKey}' exists in the markup of property '${propertyKey}'`,
|
|
18955
|
+
extensions: { blocksInSameContainer: currentOrder }
|
|
18956
|
+
});
|
|
18957
|
+
}
|
|
18958
|
+
if (relativeKey && relativeKey !== contentKey) {
|
|
18959
|
+
const relativeLevel = findRteBlockUnit(markup, relativeKey).level;
|
|
18960
|
+
if (markupForLevel(unit, markup.slice(unit.start, unit.end), relativeLevel) === null) {
|
|
18961
|
+
throw new (0, _mcpserversdk.ToolValidationError)({
|
|
18962
|
+
title: "Cannot place block inside text",
|
|
18963
|
+
detail: `Block '${relativeKey}' is an inline block inside a paragraph of text, and block '${contentKey}' is a block-level block, which can't be placed inside a paragraph. Move it relative to a block-level block, or to the first/last position, instead.`,
|
|
18964
|
+
extensions: { blocksInSameContainer: currentOrder }
|
|
18965
|
+
});
|
|
18966
|
+
}
|
|
18967
|
+
}
|
|
18968
|
+
let alreadyInPlace;
|
|
18969
|
+
switch (target.position) {
|
|
18970
|
+
case "first":
|
|
18971
|
+
alreadyInPlace = markup.slice(0, unit.start).trim() === "";
|
|
18972
|
+
break;
|
|
18973
|
+
case "last":
|
|
18974
|
+
alreadyInPlace = markup.slice(unit.end).trim() === "";
|
|
18975
|
+
break;
|
|
18976
|
+
default:
|
|
18977
|
+
alreadyInPlace = sameOrder(currentOrder, reorderKeys(currentOrder, contentKey, target));
|
|
18978
|
+
}
|
|
18979
|
+
if (!alreadyInPlace) {
|
|
18980
|
+
const blockMarkup = markup.slice(unit.start, unit.end);
|
|
18981
|
+
const remaining = markup.slice(0, unit.start) + markup.slice(unit.end);
|
|
18982
|
+
let newMarkup;
|
|
18983
|
+
if (target.position === "first" || target.position === "last") {
|
|
18984
|
+
const standalone = markupForLevel(unit, blockMarkup, "block");
|
|
18985
|
+
newMarkup = target.position === "first" ? standalone + remaining : remaining + standalone;
|
|
18986
|
+
} else {
|
|
18987
|
+
const relativeUnit = relativeKey ? findRteBlockUnit(remaining, relativeKey) : null;
|
|
18988
|
+
if (!relativeUnit) {
|
|
18989
|
+
throw new (0, _mcpserversdk.ToolValidationError)({
|
|
18990
|
+
title: "Relative block markup not found",
|
|
18991
|
+
detail: `Relative block '${relativeKey}' markup could not be re-located in property '${propertyKey}' after removing the markup of moved block '${contentKey}'`,
|
|
18992
|
+
extensions: {
|
|
18993
|
+
contentKey,
|
|
18994
|
+
relativeToContentKey: relativeKey,
|
|
18995
|
+
blocksInSameContainer: currentOrder
|
|
18996
|
+
}
|
|
18997
|
+
});
|
|
18998
|
+
}
|
|
18999
|
+
const insert = markupForLevel(unit, blockMarkup, relativeUnit.level);
|
|
19000
|
+
const at = target.position === "before" ? relativeUnit.start : relativeUnit.end;
|
|
19001
|
+
newMarkup = remaining.slice(0, at) + insert + remaining.slice(at);
|
|
19002
|
+
}
|
|
19003
|
+
rteValue.markup = newMarkup;
|
|
19004
|
+
}
|
|
19005
|
+
return {
|
|
19006
|
+
moved: !alreadyInPlace,
|
|
19007
|
+
blockOrder: getRteMarkupBlockOrder(_nullishCoalesce(rteValue.markup, () => ( ""))),
|
|
19008
|
+
parentContentKey: null,
|
|
19009
|
+
areaKey: null
|
|
19010
|
+
};
|
|
19011
|
+
}
|
|
19012
|
+
function moveBlock(context, contentKey, target, propertyKey) {
|
|
19013
|
+
const kind = context.kind;
|
|
19014
|
+
if (kind === "RichText") {
|
|
19015
|
+
return moveRichTextBlock(context.propertyValue, context.container.layoutItems, contentKey, target, propertyKey);
|
|
19016
|
+
}
|
|
19017
|
+
return moveLayoutBlock(context.container.layoutItems, contentKey, target, propertyKey);
|
|
19018
|
+
}
|
|
19019
|
+
|
|
19020
|
+
// src/umbraco-api/tools/document/put/move-document-block.ts
|
|
19021
|
+
|
|
19022
|
+
|
|
19023
|
+
|
|
19024
|
+
|
|
19025
|
+
var blockMoveTargetSchema = _zod.z.discriminatedUnion("position", [
|
|
19026
|
+
_zod.z.object({
|
|
19027
|
+
position: _zod.z.enum(["first", "last"]).describe("Move to the start or end of the block's container")
|
|
19028
|
+
}),
|
|
19029
|
+
_zod.z.object({
|
|
19030
|
+
position: _zod.z.enum(["before", "after"]).describe("Move directly before or after another block"),
|
|
19031
|
+
relativeToContentKey: _zod.z.string().uuid().describe("contentKey of the block to move next to; must be in the same container")
|
|
19032
|
+
})
|
|
19033
|
+
]).describe("Where to move the block");
|
|
19034
|
+
var moveBlockOutputSchema = _zod.z.object({
|
|
19035
|
+
success: _zod.z.boolean(),
|
|
19036
|
+
message: _zod.z.string(),
|
|
19037
|
+
contentKey: _zod.z.string().guid(),
|
|
19038
|
+
moved: _zod.z.boolean().describe("False when the block was already at the requested position and nothing was saved"),
|
|
19039
|
+
blockOrder: _zod.z.array(_zod.z.string().guid()).describe("contentKeys of the block's container, in their new order"),
|
|
19040
|
+
parentContentKey: _zod.z.string().guid().nullable().describe("BlockGrid only: the block owning the area the block was moved within; null for the property root"),
|
|
19041
|
+
areaKey: _zod.z.string().guid().nullable().describe("BlockGrid only: the area the block was moved within; null for the property root")
|
|
19042
|
+
});
|
|
19043
|
+
var moveDocumentBlockSchema = {
|
|
19044
|
+
documentId: _zod.z.string().uuid().describe("The document containing the block"),
|
|
19045
|
+
propertyAlias: _zod.z.string().min(1).describe("Document property alias of the BlockList, BlockGrid, or RichText property"),
|
|
19046
|
+
culture: _zod.z.string().nullish().describe("Culture, only for culture-variant document properties"),
|
|
19047
|
+
segment: _zod.z.string().nullish().describe("Segment, only for segment-variant document properties"),
|
|
19048
|
+
contentKey: _zod.z.string().uuid().describe("contentKey of the block to move"),
|
|
19049
|
+
target: blockMoveTargetSchema
|
|
19050
|
+
};
|
|
19051
|
+
var MoveDocumentBlockTool = {
|
|
19052
|
+
name: "move-document-block",
|
|
19053
|
+
description: `Reorders one block within a document's BlockList, BlockGrid, or RichText property.
|
|
19054
|
+
|
|
19055
|
+
- BlockList: moves the block's layout entry; its settings stay paired with it.
|
|
19056
|
+
- BlockGrid: moves the block within its own container (the root, or one area), keeping its
|
|
19057
|
+
columnSpan/rowSpan and nested areas. Moving between areas, or into or out of an area, is not
|
|
19058
|
+
supported; a relativeToContentKey in another container is refused.
|
|
19059
|
+
- RichText: moves the block's <umb-rte-block> element in the markup (before/after another
|
|
19060
|
+
block's element, or to the start/end of the markup); the markup alone sets the block order.
|
|
19061
|
+
A block-level block can't be placed next to an inline block that sits inside a paragraph of
|
|
19062
|
+
text; an inline block moved to block level gets its own paragraph.
|
|
19063
|
+
|
|
19064
|
+
Moving a block to where it already is changes nothing and succeeds (moved: false).
|
|
19065
|
+
Returns the container's new block order. The document is saved, not published.
|
|
19066
|
+
|
|
19067
|
+
Examples:
|
|
19068
|
+
- { documentId: "...", propertyAlias: "mainContent", contentKey: "...", target: { position: "first" } }
|
|
19069
|
+
- { documentId: "...", propertyAlias: "mainContent", contentKey: "...", target: { position: "before", relativeToContentKey: "..." } }`,
|
|
19070
|
+
inputSchema: moveDocumentBlockSchema,
|
|
19071
|
+
outputSchema: moveBlockOutputSchema.shape,
|
|
19072
|
+
annotations: {
|
|
19073
|
+
idempotentHint: true
|
|
19074
|
+
},
|
|
19075
|
+
slices: ["update"],
|
|
19076
|
+
enabled: (user) => user.fallbackPermissions.includes(UmbracoDocumentPermissions.Update),
|
|
19077
|
+
handler: (async (model) => {
|
|
19078
|
+
const ctx = await loadDocumentBlockContext(model);
|
|
19079
|
+
const propertyKey = getPropertyKey(model.propertyAlias, model.culture, model.segment);
|
|
19080
|
+
const result = moveBlock(ctx, model.contentKey, model.target, propertyKey);
|
|
19081
|
+
if (result.moved) {
|
|
19082
|
+
await saveDocumentValues(model.documentId, ctx.document);
|
|
19083
|
+
}
|
|
19084
|
+
return _mcpserversdk.createToolResult.call(void 0, {
|
|
19085
|
+
success: true,
|
|
19086
|
+
message: result.moved ? `Moved block '${model.contentKey}' in ${ctx.kind} property '${propertyKey}'` : `Block '${model.contentKey}' is already at the requested position in ${ctx.kind} property '${propertyKey}'; nothing changed`,
|
|
19087
|
+
contentKey: model.contentKey,
|
|
19088
|
+
...result
|
|
19089
|
+
});
|
|
19090
|
+
})
|
|
19091
|
+
};
|
|
19092
|
+
var move_document_block_default = _mcpserversdk.withStandardDecorators.call(void 0, MoveDocumentBlockTool);
|
|
19093
|
+
|
|
18728
19094
|
// src/umbraco-api/tools/document/items/get/get-root.ts
|
|
18729
19095
|
|
|
18730
19096
|
|
|
@@ -18927,7 +19293,7 @@ var DocumentCollection = {
|
|
|
18927
19293
|
description: "Document content management and publishing",
|
|
18928
19294
|
dependencies: []
|
|
18929
19295
|
},
|
|
18930
|
-
tools: (user) => {
|
|
19296
|
+
tools: (user, options) => {
|
|
18931
19297
|
const tools = [];
|
|
18932
19298
|
if (AuthorizationPolicies.TreeAccessDocuments(user)) {
|
|
18933
19299
|
tools.push(get_document_by_id_default);
|
|
@@ -18937,7 +19303,9 @@ var DocumentCollection = {
|
|
|
18937
19303
|
tools.push(get_document_type_schema_default);
|
|
18938
19304
|
tools.push(copy_document_default);
|
|
18939
19305
|
tools.push(create_document_default);
|
|
18940
|
-
|
|
19306
|
+
if (isUmbracoAtLeast(18, 1, _optionalChain([options, 'optionalAccess', _43 => _43.umbracoVersion]))) {
|
|
19307
|
+
tools.push(create_and_publish_document_default);
|
|
19308
|
+
}
|
|
18941
19309
|
tools.push(post_document_public_access_default);
|
|
18942
19310
|
tools.push(delete_document_default);
|
|
18943
19311
|
tools.push(delete_document_public_access_default);
|
|
@@ -18952,16 +19320,21 @@ var DocumentCollection = {
|
|
|
18952
19320
|
tools.push(publish_document_default);
|
|
18953
19321
|
tools.push(publish_document_with_descendants_default);
|
|
18954
19322
|
tools.push(sort_document_default);
|
|
18955
|
-
|
|
18956
|
-
|
|
19323
|
+
if (isUmbracoAtLeast(18, 1, _optionalChain([options, 'optionalAccess', _44 => _44.umbracoVersion]))) {
|
|
19324
|
+
tools.push(sort_document_children_default);
|
|
19325
|
+
tools.push(sort_document_root_children_default);
|
|
19326
|
+
}
|
|
18957
19327
|
tools.push(unpublish_document_default);
|
|
18958
19328
|
tools.push(update_document_default);
|
|
18959
|
-
|
|
19329
|
+
if (isUmbracoAtLeast(18, 1, _optionalChain([options, 'optionalAccess', _45 => _45.umbracoVersion]))) {
|
|
19330
|
+
tools.push(update_and_publish_document_default);
|
|
19331
|
+
}
|
|
18960
19332
|
tools.push(update_document_properties_default);
|
|
18961
19333
|
tools.push(update_document_name_default);
|
|
18962
19334
|
tools.push(update_block_property_default);
|
|
18963
19335
|
tools.push(create_document_block_default);
|
|
18964
19336
|
tools.push(delete_document_block_default);
|
|
19337
|
+
tools.push(move_document_block_default);
|
|
18965
19338
|
tools.push(put_document_domains_default);
|
|
18966
19339
|
tools.push(put_document_notifications_default);
|
|
18967
19340
|
tools.push(put_document_public_access_default);
|
|
@@ -18972,6 +19345,7 @@ var DocumentCollection = {
|
|
|
18972
19345
|
tools.push(get_recycle_bin_children_default);
|
|
18973
19346
|
tools.push(search_document_default);
|
|
18974
19347
|
tools.push(validate_document_default);
|
|
19348
|
+
tools.push(validate_document_update_default);
|
|
18975
19349
|
tools.push(get_collection_document_by_id_default);
|
|
18976
19350
|
tools.push(get_item_document_default);
|
|
18977
19351
|
tools.push(get_document_are_referenced_default);
|
|
@@ -19319,7 +19693,7 @@ var CopyDocumentTypeTool = {
|
|
|
19319
19693
|
validateStatus: () => true
|
|
19320
19694
|
});
|
|
19321
19695
|
if (response.status === 201) {
|
|
19322
|
-
const location = _optionalChain([response, 'access',
|
|
19696
|
+
const location = _optionalChain([response, 'access', _46 => _46.headers, 'optionalAccess', _47 => _47.location]) || "";
|
|
19323
19697
|
const newId = location.split("/").pop() || "";
|
|
19324
19698
|
const output = { id: newId };
|
|
19325
19699
|
return _mcpserversdk.createToolResult.call(void 0, output);
|
|
@@ -21568,7 +21942,7 @@ var CopyElementTool = {
|
|
|
21568
21942
|
validateStatus: () => true
|
|
21569
21943
|
});
|
|
21570
21944
|
if (response.status === 201) {
|
|
21571
|
-
const location = _optionalChain([response, 'access',
|
|
21945
|
+
const location = _optionalChain([response, 'access', _48 => _48.headers, 'optionalAccess', _49 => _49.location]) || "";
|
|
21572
21946
|
const newId = location.split("/").pop() || "";
|
|
21573
21947
|
const output = { id: newId };
|
|
21574
21948
|
return _mcpserversdk.createToolResult.call(void 0, output);
|
|
@@ -22132,6 +22506,81 @@ var UpdateElementBlockPropertyTool = {
|
|
|
22132
22506
|
};
|
|
22133
22507
|
var update_element_block_property_default = _mcpserversdk.withStandardDecorators.call(void 0, UpdateElementBlockPropertyTool);
|
|
22134
22508
|
|
|
22509
|
+
// src/umbraco-api/tools/element/put/move-element-block.ts
|
|
22510
|
+
|
|
22511
|
+
|
|
22512
|
+
|
|
22513
|
+
|
|
22514
|
+
|
|
22515
|
+
var moveElementBlockOutputSchema = moveBlockOutputSchema;
|
|
22516
|
+
var moveElementBlockSchema = {
|
|
22517
|
+
elementId: _zod.z.string().uuid().describe("The Library element containing the block"),
|
|
22518
|
+
propertyAlias: _zod.z.string().min(1).describe("Element property alias of the BlockList, BlockGrid, or RichText property"),
|
|
22519
|
+
culture: _zod.z.string().nullish().describe("Culture, only for culture-variant element properties"),
|
|
22520
|
+
segment: _zod.z.string().nullish().describe("Segment, only for segment-variant element properties"),
|
|
22521
|
+
contentKey: _zod.z.string().uuid().describe("contentKey of the block to move"),
|
|
22522
|
+
target: blockMoveTargetSchema
|
|
22523
|
+
};
|
|
22524
|
+
var MoveElementBlockTool = {
|
|
22525
|
+
name: "move-element-block",
|
|
22526
|
+
description: `Reorders one block within a Library element's BlockList, BlockGrid, or RichText property.
|
|
22527
|
+
|
|
22528
|
+
- BlockList: moves the block's layout entry; its settings stay paired with it.
|
|
22529
|
+
- BlockGrid: moves the block within its own container (the root, or one area), keeping its
|
|
22530
|
+
columnSpan/rowSpan and nested areas. Moving between areas, or into or out of an area, is not
|
|
22531
|
+
supported; a relativeToContentKey in another container is refused.
|
|
22532
|
+
- RichText: moves the block's <umb-rte-block> element in the markup (before/after another
|
|
22533
|
+
block's element, or to the start/end of the markup); the markup alone sets the block order.
|
|
22534
|
+
A block-level block can't be placed next to an inline block that sits inside a paragraph of
|
|
22535
|
+
text; an inline block moved to block level gets its own paragraph.
|
|
22536
|
+
|
|
22537
|
+
Moving a block to where it already is changes nothing and succeeds (moved: false).
|
|
22538
|
+
Returns the container's new block order. The element is saved, not published.
|
|
22539
|
+
|
|
22540
|
+
Examples:
|
|
22541
|
+
- { elementId: "...", propertyAlias: "blocks", contentKey: "...", target: { position: "last" } }
|
|
22542
|
+
- { elementId: "...", propertyAlias: "blocks", contentKey: "...", target: { position: "after", relativeToContentKey: "..." } }`,
|
|
22543
|
+
inputSchema: moveElementBlockSchema,
|
|
22544
|
+
outputSchema: moveElementBlockOutputSchema.shape,
|
|
22545
|
+
annotations: {
|
|
22546
|
+
idempotentHint: true
|
|
22547
|
+
},
|
|
22548
|
+
slices: ["update"],
|
|
22549
|
+
enabled: (user) => user.fallbackPermissions.includes(UmbracoElementPermissions.Update),
|
|
22550
|
+
handler: (async (model) => {
|
|
22551
|
+
const client = UmbracoManagementClient3.getClient();
|
|
22552
|
+
const element = await client.getElementById(model.elementId);
|
|
22553
|
+
const ctx = await resolveBlockPropertyContext(
|
|
22554
|
+
{ values: element.values, contentTypeId: element.documentType.id, ownerLabel: "element" },
|
|
22555
|
+
model
|
|
22556
|
+
);
|
|
22557
|
+
const propertyKey = getPropertyKey(model.propertyAlias, model.culture, model.segment);
|
|
22558
|
+
const result = moveBlock(ctx, model.contentKey, model.target, propertyKey);
|
|
22559
|
+
if (result.moved) {
|
|
22560
|
+
const values = element.values.map((v) => ({
|
|
22561
|
+
alias: v.alias,
|
|
22562
|
+
culture: v.culture,
|
|
22563
|
+
segment: v.segment,
|
|
22564
|
+
value: v.value
|
|
22565
|
+
}));
|
|
22566
|
+
const variants = element.variants.map((v) => ({
|
|
22567
|
+
culture: v.culture,
|
|
22568
|
+
segment: v.segment,
|
|
22569
|
+
name: v.name
|
|
22570
|
+
}));
|
|
22571
|
+
const payload = { values, variants };
|
|
22572
|
+
await client.putElementById(model.elementId, payload);
|
|
22573
|
+
}
|
|
22574
|
+
return _mcpserversdk.createToolResult.call(void 0, {
|
|
22575
|
+
success: true,
|
|
22576
|
+
message: result.moved ? `Moved block '${model.contentKey}' in ${ctx.kind} property '${propertyKey}'` : `Block '${model.contentKey}' is already at the requested position in ${ctx.kind} property '${propertyKey}'; nothing changed`,
|
|
22577
|
+
contentKey: model.contentKey,
|
|
22578
|
+
...result
|
|
22579
|
+
});
|
|
22580
|
+
})
|
|
22581
|
+
};
|
|
22582
|
+
var move_element_block_default = _mcpserversdk.withStandardDecorators.call(void 0, MoveElementBlockTool);
|
|
22583
|
+
|
|
22135
22584
|
// src/umbraco-api/tools/element/put/move-element.ts
|
|
22136
22585
|
|
|
22137
22586
|
|
|
@@ -22598,11 +23047,13 @@ var ElementCollection = {
|
|
|
22598
23047
|
description: "Element content management and publishing",
|
|
22599
23048
|
dependencies: []
|
|
22600
23049
|
},
|
|
22601
|
-
tools: (user) => {
|
|
23050
|
+
tools: (user, options) => {
|
|
22602
23051
|
const tools = [];
|
|
22603
23052
|
if (AuthorizationPolicies.TreeAccessElements(user)) {
|
|
22604
23053
|
tools.push(get_element_by_id_default);
|
|
22605
|
-
|
|
23054
|
+
if (isUmbracoAtLeast(18, 1, _optionalChain([options, 'optionalAccess', _50 => _50.umbracoVersion]))) {
|
|
23055
|
+
tools.push(get_element_published_default);
|
|
23056
|
+
}
|
|
22606
23057
|
tools.push(get_element_configuration_default);
|
|
22607
23058
|
tools.push(get_element_audit_log_default);
|
|
22608
23059
|
tools.push(get_element_are_referenced_default);
|
|
@@ -22624,14 +23075,19 @@ var ElementCollection = {
|
|
|
22624
23075
|
tools.push(get_recycle_bin_element_children_default);
|
|
22625
23076
|
tools.push(get_recycle_bin_element_siblings_default);
|
|
22626
23077
|
tools.push(create_element_default);
|
|
22627
|
-
|
|
23078
|
+
if (isUmbracoAtLeast(18, 1, _optionalChain([options, 'optionalAccess', _51 => _51.umbracoVersion]))) {
|
|
23079
|
+
tools.push(create_and_publish_element_default);
|
|
23080
|
+
}
|
|
22628
23081
|
tools.push(copy_element_default);
|
|
22629
23082
|
tools.push(validate_element_default);
|
|
22630
23083
|
tools.push(rollback_element_version_default);
|
|
22631
23084
|
tools.push(update_element_default);
|
|
22632
|
-
|
|
23085
|
+
if (isUmbracoAtLeast(18, 1, _optionalChain([options, 'optionalAccess', _52 => _52.umbracoVersion]))) {
|
|
23086
|
+
tools.push(update_and_publish_element_default);
|
|
23087
|
+
}
|
|
22633
23088
|
tools.push(update_element_properties_default);
|
|
22634
23089
|
tools.push(update_element_block_property_default);
|
|
23090
|
+
tools.push(move_element_block_default);
|
|
22635
23091
|
tools.push(move_element_default);
|
|
22636
23092
|
tools.push(move_element_to_recycle_bin_default);
|
|
22637
23093
|
tools.push(publish_element_default);
|
|
@@ -23529,7 +23985,7 @@ function getExtensionFromMimeType(mimeType) {
|
|
|
23529
23985
|
return extension ? `.${extension}` : void 0;
|
|
23530
23986
|
}
|
|
23531
23987
|
function validateMediaTypeForSvg(filePath, fileUrl, fileName, mediaTypeName) {
|
|
23532
|
-
const isSvg = _optionalChain([filePath, 'optionalAccess',
|
|
23988
|
+
const isSvg = _optionalChain([filePath, 'optionalAccess', _53 => _53.toLowerCase, 'call', _54 => _54(), 'access', _55 => _55.endsWith, 'call', _56 => _56(".svg")]) || _optionalChain([fileUrl, 'optionalAccess', _57 => _57.toLowerCase, 'call', _58 => _58(), 'access', _59 => _59.endsWith, 'call', _60 => _60(".svg")]) || fileName.toLowerCase().endsWith(".svg");
|
|
23533
23989
|
if (isSvg && mediaTypeName.toLowerCase() === _mcpserversdk.MEDIA_TYPE_IMAGE.toLowerCase()) {
|
|
23534
23990
|
console.warn(`SVG detected - using ${_mcpserversdk.MEDIA_TYPE_VECTOR_GRAPHICS} media type instead of ${_mcpserversdk.MEDIA_TYPE_IMAGE}`);
|
|
23535
23991
|
return _mcpserversdk.MEDIA_TYPE_VECTOR_GRAPHICS;
|
|
@@ -23711,8 +24167,8 @@ async function uploadMediaFile(client, params) {
|
|
|
23711
24167
|
});
|
|
23712
24168
|
} catch (error) {
|
|
23713
24169
|
const err = error;
|
|
23714
|
-
const errorData = _optionalChain([err, 'access',
|
|
23715
|
-
throw new Error(`Failed to upload temporary file: ${_optionalChain([err, 'access',
|
|
24170
|
+
const errorData = _optionalChain([err, 'access', _61 => _61.response, 'optionalAccess', _62 => _62.data]) ? typeof err.response.data === "string" ? err.response.data : JSON.stringify(err.response.data) : err.message;
|
|
24171
|
+
throw new Error(`Failed to upload temporary file: ${_optionalChain([err, 'access', _63 => _63.response, 'optionalAccess', _64 => _64.status]) || "Unknown error"} - ${errorData}`);
|
|
23716
24172
|
}
|
|
23717
24173
|
const valueStructure = buildValueStructure(mediaType.name, params.temporaryFileId);
|
|
23718
24174
|
let response;
|
|
@@ -23732,12 +24188,12 @@ async function uploadMediaFile(client, params) {
|
|
|
23732
24188
|
}, _mcpserversdk.CAPTURE_RAW_HTTP_RESPONSE);
|
|
23733
24189
|
} catch (error) {
|
|
23734
24190
|
const err = error;
|
|
23735
|
-
throw new Error(`Failed to create media item: ${_optionalChain([err, 'access',
|
|
24191
|
+
throw new Error(`Failed to create media item: ${_optionalChain([err, 'access', _65 => _65.response, 'optionalAccess', _66 => _66.status]) || "Unknown error"} - ${JSON.stringify(_optionalChain([err, 'access', _67 => _67.response, 'optionalAccess', _68 => _68.data])) || err.message}`);
|
|
23736
24192
|
}
|
|
23737
24193
|
if (response.status < 200 || response.status >= 300) {
|
|
23738
24194
|
throw new Error(`Request failed with status code ${response.status}`);
|
|
23739
24195
|
}
|
|
23740
|
-
const locationHeader = _optionalChain([response, 'access',
|
|
24196
|
+
const locationHeader = _optionalChain([response, 'access', _69 => _69.headers, 'optionalAccess', _70 => _70.location]) || _optionalChain([response, 'access', _71 => _71.headers, 'optionalAccess', _72 => _72.Location]);
|
|
23741
24197
|
if (!locationHeader) {
|
|
23742
24198
|
throw new Error("No Location header in response - cannot determine created media ID");
|
|
23743
24199
|
}
|
|
@@ -23774,7 +24230,7 @@ function buildSourceTypeSection(allowFilePath, otherSources) {
|
|
|
23774
24230
|
|
|
23775
24231
|
|
|
23776
24232
|
function isStreamingUploadAvailable() {
|
|
23777
|
-
return _optionalChain([_mcpserversdk.getActiveRequestContext.call(void 0, ), 'optionalAccess',
|
|
24233
|
+
return _optionalChain([_mcpserversdk.getActiveRequestContext.call(void 0, ), 'optionalAccess', _73 => _73.umbracoAuth]) !== void 0;
|
|
23778
24234
|
}
|
|
23779
24235
|
async function resolveAuth() {
|
|
23780
24236
|
const { accessToken, baseUrl } = await _mcpserversdk.getSessionUmbracoAuth.call(void 0, );
|
|
@@ -23782,7 +24238,7 @@ async function resolveAuth() {
|
|
|
23782
24238
|
}
|
|
23783
24239
|
function ensureExtension(name, contentType, urlPath) {
|
|
23784
24240
|
if (name.includes(".")) return name;
|
|
23785
|
-
const fromUrl = _optionalChain([urlPath, 'access',
|
|
24241
|
+
const fromUrl = _optionalChain([urlPath, 'access', _74 => _74.match, 'call', _75 => _75(/\.([a-z0-9]{1,8})$/i), 'optionalAccess', _76 => _76[0]]);
|
|
23786
24242
|
if (fromUrl) return `${name}${fromUrl}`;
|
|
23787
24243
|
if (contentType) {
|
|
23788
24244
|
const subtype = contentType.split(";")[0].split("/")[1];
|
|
@@ -23888,8 +24344,8 @@ Content-Type: ${sourceContentType}\r
|
|
|
23888
24344
|
if (response.status < 200 || response.status >= 300) {
|
|
23889
24345
|
throw new Error(`postMedia failed with status ${response.status}`);
|
|
23890
24346
|
}
|
|
23891
|
-
const locationHeader = _nullishCoalesce(_optionalChain([response, 'access',
|
|
23892
|
-
const idMatch = _optionalChain([locationHeader, 'optionalAccess',
|
|
24347
|
+
const locationHeader = _nullishCoalesce(_optionalChain([response, 'access', _77 => _77.headers, 'optionalAccess', _78 => _78.location]), () => ( _optionalChain([response, 'access', _79 => _79.headers, 'optionalAccess', _80 => _80.Location])));
|
|
24348
|
+
const idMatch = _optionalChain([locationHeader, 'optionalAccess', _81 => _81.match, 'call', _82 => _82(/\/([a-f0-9-]{36})$/i)]);
|
|
23893
24349
|
if (!idMatch) {
|
|
23894
24350
|
throw new Error(
|
|
23895
24351
|
`Could not extract media id from Location header: ${_nullishCoalesce(locationHeader, () => ( "(missing)"))}`
|
|
@@ -24003,7 +24459,7 @@ ${filePathSection}
|
|
|
24003
24459
|
let effectiveSourceType;
|
|
24004
24460
|
let effectiveFileUrl = model.fileUrl;
|
|
24005
24461
|
if (model.sourceType === "file") {
|
|
24006
|
-
if (!_optionalChain([model, 'access',
|
|
24462
|
+
if (!_optionalChain([model, 'access', _83 => _83.file, 'optionalAccess', _84 => _84.download_url])) {
|
|
24007
24463
|
return _mcpserversdk.createToolResultError.call(void 0, {
|
|
24008
24464
|
detail: "Error creating media: sourceType is 'file' but no file object was provided. ChatGPT's connector should inject this automatically when a file is attached \u2014 if it didn't, the user has nothing attached or your client doesn't support openai/fileParams."
|
|
24009
24465
|
});
|
|
@@ -24160,7 +24616,7 @@ ${filePathSection}
|
|
|
24160
24616
|
let effectiveSourceType;
|
|
24161
24617
|
let effectiveFileUrl = file.fileUrl;
|
|
24162
24618
|
if (model.sourceType === "file") {
|
|
24163
|
-
if (!_optionalChain([file, 'access',
|
|
24619
|
+
if (!_optionalChain([file, 'access', _85 => _85.file, 'optionalAccess', _86 => _86.download_url])) {
|
|
24164
24620
|
return {
|
|
24165
24621
|
success: false,
|
|
24166
24622
|
name: file.name,
|
|
@@ -24266,7 +24722,7 @@ var CreateMediaFolderTool = {
|
|
|
24266
24722
|
if (response.status < 200 || response.status >= 300) {
|
|
24267
24723
|
throw new Error(`Request failed with status code ${response.status}`);
|
|
24268
24724
|
}
|
|
24269
|
-
const locationHeader = _optionalChain([response, 'access',
|
|
24725
|
+
const locationHeader = _optionalChain([response, 'access', _87 => _87.headers, 'optionalAccess', _88 => _88.location]) || _optionalChain([response, 'access', _89 => _89.headers, 'optionalAccess', _90 => _90.Location]);
|
|
24270
24726
|
if (!locationHeader) {
|
|
24271
24727
|
throw new Error("No Location header in response - cannot determine created folder ID");
|
|
24272
24728
|
}
|
|
@@ -25079,7 +25535,7 @@ var MediaCollection = {
|
|
|
25079
25535
|
description: "Media asset management and organization",
|
|
25080
25536
|
dependencies: ["temporary-file"]
|
|
25081
25537
|
},
|
|
25082
|
-
tools: (user) => {
|
|
25538
|
+
tools: (user, options) => {
|
|
25083
25539
|
const tools = [];
|
|
25084
25540
|
tools.push(get_media_by_id_default);
|
|
25085
25541
|
if (AuthorizationPolicies.SectionAccessForMediaTree(user)) {
|
|
@@ -25101,8 +25557,10 @@ var MediaCollection = {
|
|
|
25101
25557
|
tools.push(validate_media_default);
|
|
25102
25558
|
tools.push(validate_media_default2);
|
|
25103
25559
|
tools.push(sort_media_default);
|
|
25104
|
-
|
|
25105
|
-
|
|
25560
|
+
if (isUmbracoAtLeast(18, 1, _optionalChain([options, 'optionalAccess', _91 => _91.umbracoVersion]))) {
|
|
25561
|
+
tools.push(sort_media_children_default);
|
|
25562
|
+
tools.push(sort_media_root_children_default);
|
|
25563
|
+
}
|
|
25106
25564
|
tools.push(get_media_by_id_array_default);
|
|
25107
25565
|
tools.push(move_media_default);
|
|
25108
25566
|
tools.push(get_media_audit_log_default);
|
|
@@ -25552,7 +26010,7 @@ var CreateMediaTypeFolderTool = {
|
|
|
25552
26010
|
validateStatus: () => true
|
|
25553
26011
|
});
|
|
25554
26012
|
if (response.status === 201) {
|
|
25555
|
-
const locationHeader = _optionalChain([response, 'access',
|
|
26013
|
+
const locationHeader = _optionalChain([response, 'access', _92 => _92.headers, 'optionalAccess', _93 => _93["location"]]) || _optionalChain([response, 'access', _94 => _94.headers, 'optionalAccess', _95 => _95["Location"]]);
|
|
25556
26014
|
let createdId = model.id || "";
|
|
25557
26015
|
if (locationHeader) {
|
|
25558
26016
|
const idMatch = locationHeader.match(/([0-9a-f-]{36})$/i);
|
|
@@ -25687,7 +26145,7 @@ var CreateMediaTypeTool = {
|
|
|
25687
26145
|
validateStatus: () => true
|
|
25688
26146
|
});
|
|
25689
26147
|
if (response.status === 201) {
|
|
25690
|
-
const locationHeader = _optionalChain([response, 'access',
|
|
26148
|
+
const locationHeader = _optionalChain([response, 'access', _96 => _96.headers, 'optionalAccess', _97 => _97["location"]]) || _optionalChain([response, 'access', _98 => _98.headers, 'optionalAccess', _99 => _99["Location"]]);
|
|
25691
26149
|
let createdId = model.id || "";
|
|
25692
26150
|
if (locationHeader) {
|
|
25693
26151
|
const idMatch = locationHeader.match(/([0-9a-f-]{36})$/i);
|
|
@@ -25738,7 +26196,7 @@ var CopyMediaTypeTool = {
|
|
|
25738
26196
|
validateStatus: () => true
|
|
25739
26197
|
});
|
|
25740
26198
|
if (response.status === 201) {
|
|
25741
|
-
const locationHeader = _optionalChain([response, 'access',
|
|
26199
|
+
const locationHeader = _optionalChain([response, 'access', _100 => _100.headers, 'optionalAccess', _101 => _101["location"]]) || _optionalChain([response, 'access', _102 => _102.headers, 'optionalAccess', _103 => _103["Location"]]);
|
|
25742
26200
|
let createdId = "";
|
|
25743
26201
|
if (locationHeader) {
|
|
25744
26202
|
const idMatch = locationHeader.match(/([0-9a-f-]{36})$/i);
|
|
@@ -25910,7 +26368,8 @@ var MediaTypeCollection = {
|
|
|
25910
26368
|
|
|
25911
26369
|
var GetMemberTool = {
|
|
25912
26370
|
name: "get-member",
|
|
25913
|
-
description:
|
|
26371
|
+
description: `Gets a member by Id.
|
|
26372
|
+
Account state (isApproved, isLockedOut, isTwoFactorEnabled, failedPasswordAttempts, lastLoginDate, lastLockoutDate, lastPasswordChangeDate) is only returned to users with access to sensitive data; otherwise Umbraco reports default values (false/0/null), which do not reflect the member's actual state.`,
|
|
25914
26373
|
inputSchema: getMemberByIdParams.shape,
|
|
25915
26374
|
outputSchema: getMemberByIdResponse.shape,
|
|
25916
26375
|
annotations: { readOnlyHint: true },
|
|
@@ -25948,7 +26407,7 @@ var CreateMemberTool = {
|
|
|
25948
26407
|
validateStatus: () => true
|
|
25949
26408
|
});
|
|
25950
26409
|
if (response.status === 201) {
|
|
25951
|
-
const locationHeader = _optionalChain([response, 'access',
|
|
26410
|
+
const locationHeader = _optionalChain([response, 'access', _104 => _104.headers, 'optionalAccess', _105 => _105["location"]]) || _optionalChain([response, 'access', _106 => _106.headers, 'optionalAccess', _107 => _107["Location"]]);
|
|
25952
26411
|
let createdId = model.id || "";
|
|
25953
26412
|
if (locationHeader) {
|
|
25954
26413
|
const idMatch = locationHeader.match(/([0-9a-f-]{36})$/i);
|
|
@@ -26073,7 +26532,8 @@ var validate_member_update_default = _mcpserversdk.withStandardDecorators.call(v
|
|
|
26073
26532
|
|
|
26074
26533
|
var FindMemberTool = {
|
|
26075
26534
|
name: "find-member",
|
|
26076
|
-
description: `Finds members by various filter criteria
|
|
26535
|
+
description: `Finds members by various filter criteria.
|
|
26536
|
+
Account state (isApproved, isLockedOut, isTwoFactorEnabled, failedPasswordAttempts, lastLoginDate, lastLockoutDate, lastPasswordChangeDate) is only returned to users with access to sensitive data; otherwise Umbraco reports default values (false/0/null), which do not reflect the member's actual state.`,
|
|
26077
26537
|
inputSchema: getFilterMemberQueryParams.shape,
|
|
26078
26538
|
outputSchema: getFilterMemberResponse.shape,
|
|
26079
26539
|
annotations: { readOnlyHint: true },
|
|
@@ -26497,7 +26957,7 @@ var CreateMemberTypeTool = {
|
|
|
26497
26957
|
validateStatus: () => true
|
|
26498
26958
|
});
|
|
26499
26959
|
if (response.status === 201) {
|
|
26500
|
-
const locationHeader = _optionalChain([response, 'access',
|
|
26960
|
+
const locationHeader = _optionalChain([response, 'access', _108 => _108.headers, 'optionalAccess', _109 => _109["location"]]) || _optionalChain([response, 'access', _110 => _110.headers, 'optionalAccess', _111 => _111["Location"]]);
|
|
26501
26961
|
let createdId = model.id || "";
|
|
26502
26962
|
if (locationHeader) {
|
|
26503
26963
|
const idMatch = locationHeader.match(/([0-9a-f-]{36})$/i);
|
|
@@ -26667,7 +27127,7 @@ var CopyMemberTypeTool = {
|
|
|
26667
27127
|
validateStatus: () => true
|
|
26668
27128
|
});
|
|
26669
27129
|
if (response.status === 201) {
|
|
26670
|
-
const locationHeader = _optionalChain([response, 'access',
|
|
27130
|
+
const locationHeader = _optionalChain([response, 'access', _112 => _112.headers, 'optionalAccess', _113 => _113["location"]]) || _optionalChain([response, 'access', _114 => _114.headers, 'optionalAccess', _115 => _115["Location"]]);
|
|
26671
27131
|
let createdId = "";
|
|
26672
27132
|
if (locationHeader) {
|
|
26673
27133
|
const idMatch = locationHeader.match(/([0-9a-f-]{36})$/i);
|
|
@@ -27027,7 +27487,7 @@ var CreatePartialViewTool = {
|
|
|
27027
27487
|
validateStatus: () => true
|
|
27028
27488
|
});
|
|
27029
27489
|
if (response.status === 201) {
|
|
27030
|
-
const locationHeader = _optionalChain([response, 'access',
|
|
27490
|
+
const locationHeader = _optionalChain([response, 'access', _116 => _116.headers, 'optionalAccess', _117 => _117["location"]]) || _optionalChain([response, 'access', _118 => _118.headers, 'optionalAccess', _119 => _119["Location"]]);
|
|
27031
27491
|
let createdPath = "";
|
|
27032
27492
|
if (locationHeader) {
|
|
27033
27493
|
const pathMatch = locationHeader.match(/partial-view\/(.+)$/);
|
|
@@ -27074,7 +27534,7 @@ var CreatePartialViewFolderTool = {
|
|
|
27074
27534
|
validateStatus: () => true
|
|
27075
27535
|
});
|
|
27076
27536
|
if (response.status === 201) {
|
|
27077
|
-
const locationHeader = _optionalChain([response, 'access',
|
|
27537
|
+
const locationHeader = _optionalChain([response, 'access', _120 => _120.headers, 'optionalAccess', _121 => _121["location"]]) || _optionalChain([response, 'access', _122 => _122.headers, 'optionalAccess', _123 => _123["Location"]]);
|
|
27078
27538
|
let createdPath = "";
|
|
27079
27539
|
if (locationHeader) {
|
|
27080
27540
|
const pathMatch = locationHeader.match(/partial-view\/folder\/(.+)$/);
|
|
@@ -27877,7 +28337,7 @@ var CreateScriptTool = {
|
|
|
27877
28337
|
validateStatus: () => true
|
|
27878
28338
|
});
|
|
27879
28339
|
if (response.status === 201) {
|
|
27880
|
-
const locationHeader = _optionalChain([response, 'access',
|
|
28340
|
+
const locationHeader = _optionalChain([response, 'access', _124 => _124.headers, 'optionalAccess', _125 => _125["location"]]) || _optionalChain([response, 'access', _126 => _126.headers, 'optionalAccess', _127 => _127["Location"]]);
|
|
27881
28341
|
let createdPath = "";
|
|
27882
28342
|
if (locationHeader) {
|
|
27883
28343
|
const pathMatch = locationHeader.match(/script\/(.+)$/);
|
|
@@ -27924,7 +28384,7 @@ var CreateScriptFolderTool = {
|
|
|
27924
28384
|
validateStatus: () => true
|
|
27925
28385
|
});
|
|
27926
28386
|
if (response.status === 201) {
|
|
27927
|
-
const locationHeader = _optionalChain([response, 'access',
|
|
28387
|
+
const locationHeader = _optionalChain([response, 'access', _128 => _128.headers, 'optionalAccess', _129 => _129["location"]]) || _optionalChain([response, 'access', _130 => _130.headers, 'optionalAccess', _131 => _131["Location"]]);
|
|
27928
28388
|
let createdPath = "";
|
|
27929
28389
|
if (locationHeader) {
|
|
27930
28390
|
const pathMatch = locationHeader.match(/script\/folder\/(.+)$/);
|
|
@@ -28521,7 +28981,7 @@ var CreateStylesheetTool = {
|
|
|
28521
28981
|
validateStatus: () => true
|
|
28522
28982
|
});
|
|
28523
28983
|
if (response.status === 201) {
|
|
28524
|
-
const locationHeader = _optionalChain([response, 'access',
|
|
28984
|
+
const locationHeader = _optionalChain([response, 'access', _132 => _132.headers, 'optionalAccess', _133 => _133["location"]]) || _optionalChain([response, 'access', _134 => _134.headers, 'optionalAccess', _135 => _135["Location"]]);
|
|
28525
28985
|
let createdPath = "";
|
|
28526
28986
|
if (locationHeader) {
|
|
28527
28987
|
const pathMatch = locationHeader.match(/stylesheet\/(.+)$/);
|
|
@@ -28568,7 +29028,7 @@ var CreateStylesheetFolderTool = {
|
|
|
28568
29028
|
validateStatus: () => true
|
|
28569
29029
|
});
|
|
28570
29030
|
if (response.status === 201) {
|
|
28571
|
-
const locationHeader = _optionalChain([response, 'access',
|
|
29031
|
+
const locationHeader = _optionalChain([response, 'access', _136 => _136.headers, 'optionalAccess', _137 => _137["location"]]) || _optionalChain([response, 'access', _138 => _138.headers, 'optionalAccess', _139 => _139["Location"]]);
|
|
28572
29032
|
let createdPath = "";
|
|
28573
29033
|
if (locationHeader) {
|
|
28574
29034
|
const pathMatch = locationHeader.match(/stylesheet\/folder\/(.+)$/);
|
|
@@ -28932,7 +29392,7 @@ var CreateTemplateTool = {
|
|
|
28932
29392
|
validateStatus: () => true
|
|
28933
29393
|
});
|
|
28934
29394
|
if (response.status === 201) {
|
|
28935
|
-
const locationHeader = _optionalChain([response, 'access',
|
|
29395
|
+
const locationHeader = _optionalChain([response, 'access', _140 => _140.headers, 'optionalAccess', _141 => _141["location"]]) || _optionalChain([response, 'access', _142 => _142.headers, 'optionalAccess', _143 => _143["Location"]]);
|
|
28936
29396
|
let createdId = "";
|
|
28937
29397
|
if (locationHeader) {
|
|
28938
29398
|
const idMatch = locationHeader.match(/template\/([a-f0-9-]+)$/i);
|
|
@@ -29812,7 +30272,7 @@ var UserCollection = {
|
|
|
29812
30272
|
description: "User account management and administration",
|
|
29813
30273
|
dependencies: ["temporary-file"]
|
|
29814
30274
|
},
|
|
29815
|
-
tools: (user) => {
|
|
30275
|
+
tools: (user, options) => {
|
|
29816
30276
|
const tools = [];
|
|
29817
30277
|
tools.push(get_user_current_default);
|
|
29818
30278
|
tools.push(get_user_current_configuration_default);
|
|
@@ -29828,7 +30288,9 @@ var UserCollection = {
|
|
|
29828
30288
|
tools.push(get_item_user_default);
|
|
29829
30289
|
tools.push(get_user_configuration_default);
|
|
29830
30290
|
tools.push(get_user_by_id_calculate_start_nodes_default);
|
|
29831
|
-
|
|
30291
|
+
if (isUmbracoAtLeast(18, 1, _optionalChain([options, 'optionalAccess', _144 => _144.umbracoVersion]))) {
|
|
30292
|
+
tools.push(get_user_batch_default);
|
|
30293
|
+
}
|
|
29832
30294
|
tools.push(upload_user_avatar_by_id_default);
|
|
29833
30295
|
tools.push(delete_user_avatar_by_id_default);
|
|
29834
30296
|
}
|
|
@@ -29860,7 +30322,7 @@ var CreateUserDataTool = {
|
|
|
29860
30322
|
validateStatus: () => true
|
|
29861
30323
|
});
|
|
29862
30324
|
if (response.status === 201) {
|
|
29863
|
-
const locationHeader = _optionalChain([response, 'access',
|
|
30325
|
+
const locationHeader = _optionalChain([response, 'access', _145 => _145.headers, 'optionalAccess', _146 => _146["location"]]) || _optionalChain([response, 'access', _147 => _147.headers, 'optionalAccess', _148 => _148["Location"]]);
|
|
29864
30326
|
let createdId = "";
|
|
29865
30327
|
if (locationHeader) {
|
|
29866
30328
|
const idMatch = locationHeader.match(/user-data\/([a-f0-9-]+)$/i);
|
|
@@ -30098,7 +30560,7 @@ var CreateUserGroupTool = {
|
|
|
30098
30560
|
validateStatus: () => true
|
|
30099
30561
|
});
|
|
30100
30562
|
if (response.status === 201) {
|
|
30101
|
-
const locationHeader = _optionalChain([response, 'access',
|
|
30563
|
+
const locationHeader = _optionalChain([response, 'access', _149 => _149.headers, 'optionalAccess', _150 => _150["location"]]) || _optionalChain([response, 'access', _151 => _151.headers, 'optionalAccess', _152 => _152["Location"]]);
|
|
30102
30564
|
let createdId = "";
|
|
30103
30565
|
if (locationHeader) {
|
|
30104
30566
|
const idMatch = locationHeader.match(/user-group\/([a-f0-9-]+)$/i);
|
|
@@ -30396,7 +30858,7 @@ var CreateWebhookTool = {
|
|
|
30396
30858
|
validateStatus: () => true
|
|
30397
30859
|
});
|
|
30398
30860
|
if (response.status === 201) {
|
|
30399
|
-
const locationHeader = _optionalChain([response, 'access',
|
|
30861
|
+
const locationHeader = _optionalChain([response, 'access', _153 => _153.headers, 'optionalAccess', _154 => _154["location"]]) || _optionalChain([response, 'access', _155 => _155.headers, 'optionalAccess', _156 => _156["Location"]]);
|
|
30400
30862
|
let createdId = "";
|
|
30401
30863
|
if (locationHeader) {
|
|
30402
30864
|
const idMatch = locationHeader.match(/webhook\/([a-f0-9-]+)$/i);
|
|
@@ -30522,14 +30984,14 @@ var baseModes = [
|
|
|
30522
30984
|
{
|
|
30523
30985
|
name: "content",
|
|
30524
30986
|
displayName: "Content Management",
|
|
30525
|
-
description: "
|
|
30526
|
-
collections: ["document", "document-version", "document-blueprint", "tag"]
|
|
30987
|
+
description: "Documents, Library elements, versioning, and blueprints",
|
|
30988
|
+
collections: ["document", "element", "document-version", "document-blueprint", "tag"]
|
|
30527
30989
|
},
|
|
30528
30990
|
{
|
|
30529
30991
|
name: "content-modeling",
|
|
30530
30992
|
displayName: "Content Modeling",
|
|
30531
30993
|
description: "Document and media structure: types, data types, and content to see the output",
|
|
30532
|
-
collections: ["document-type", "data-type", "media-type"]
|
|
30994
|
+
collections: ["document-type", "data-type", "media-type", "property-type"]
|
|
30533
30995
|
},
|
|
30534
30996
|
{
|
|
30535
30997
|
name: "front-end",
|
|
@@ -30642,4 +31104,4 @@ var allSliceNames = [...toolSliceNames, "other"];
|
|
|
30642
31104
|
|
|
30643
31105
|
|
|
30644
31106
|
exports.__commonJS = __commonJS; exports.__toESM = __toESM; exports.UmbracoManagementClient = UmbracoManagementClient3; exports.setAllowFilePathUploads = setAllowFilePathUploads; exports.setUmbracoVersion = setUmbracoVersion; exports.availableCollections = availableCollections; exports.allModes = allModes; exports.allModeNames = allModeNames; exports.allSliceNames = allSliceNames;
|
|
30645
|
-
//# sourceMappingURL=chunk-
|
|
31107
|
+
//# sourceMappingURL=chunk-5OCJQREU.cjs.map
|