@umbraco-cms/backoffice 14.0.0-631d8769 → 14.0.0-709b3cbf
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cms/assets/lang/en-us.js +18 -18
- package/dist-cms/assets/lang/en-us.ts +18 -18
- package/dist-cms/custom-elements.json +11 -11
- package/dist-cms/external/backend-api/index.js +1 -1
- package/dist-cms/external/backend-api/src/index.d.ts +17 -1
- package/dist-cms/external/backend-api/src/models/CreateContentRequestModelBaseDocumentValueModelDocumentVariantRequestModel.d.ts +1 -0
- package/dist-cms/external/backend-api/src/models/CreateContentRequestModelBaseMediaValueModelMediaVariantRequestModel.d.ts +1 -0
- package/dist-cms/external/backend-api/src/models/CreateContentTypeRequestModelBaseCreateDocumentTypePropertyTypeRequestModelCreateDocumentTypePropertyTypeContainerRequestModel.d.ts +2 -0
- package/dist-cms/external/backend-api/src/models/CreateContentTypeRequestModelBaseCreateMediaTypePropertyTypeRequestModelCreateMediaTypePropertyTypeContainerRequestModel.d.ts +20 -0
- package/dist-cms/external/backend-api/src/models/CreateMediaTypePropertyTypeContainerRequestModel.d.ts +2 -0
- package/dist-cms/external/backend-api/src/models/CreateMediaTypePropertyTypeRequestModel.d.ts +2 -0
- package/dist-cms/external/backend-api/src/models/CreateMediaTypeRequestModel.d.ts +2 -0
- package/dist-cms/external/backend-api/src/models/DeleteUserGroupsRequestModel.d.ts +3 -0
- package/dist-cms/external/backend-api/src/models/DeleteUsersRequestModel.d.ts +3 -0
- package/dist-cms/external/backend-api/src/models/ItemSortingRequestModel.d.ts +4 -0
- package/dist-cms/external/backend-api/src/models/ProblemDetailsBuilderModel.d.ts +1 -0
- package/dist-cms/external/backend-api/src/models/RelationResponseModel.d.ts +2 -2
- package/dist-cms/external/backend-api/src/models/ResetPasswordRequestModel.d.ts +3 -0
- package/dist-cms/external/backend-api/src/models/ResetPasswordTokenRequestModel.d.ts +4 -0
- package/dist-cms/external/backend-api/src/models/SortingRequestModel.d.ts +5 -0
- package/dist-cms/external/backend-api/src/models/UpdateContentTypeRequestModelBaseUpdateMediaTypePropertyTypeRequestModelUpdateMediaTypePropertyTypeContainerRequestModel.d.ts +18 -0
- package/dist-cms/external/backend-api/src/models/{UpdateFolderReponseModel.d.ts → UpdateFolderResponseModel.d.ts} +1 -1
- package/dist-cms/external/backend-api/src/models/UpdateMediaTypePropertyTypeContainerRequestModel.d.ts +2 -0
- package/dist-cms/external/backend-api/src/models/UpdateMediaTypePropertyTypeRequestModel.d.ts +2 -0
- package/dist-cms/external/backend-api/src/models/UpdateMediaTypeRequestModel.d.ts +2 -0
- package/dist-cms/external/backend-api/src/models/VerifyResetPasswordTokenRequestModel.d.ts +4 -0
- package/dist-cms/external/backend-api/src/services/DataTypeResource.d.ts +2 -2
- package/dist-cms/external/backend-api/src/services/DocumentResource.d.ts +21 -21
- package/dist-cms/external/backend-api/src/services/DocumentTypeResource.d.ts +35 -3
- package/dist-cms/external/backend-api/src/services/MediaResource.d.ts +13 -5
- package/dist-cms/external/backend-api/src/services/MediaTypeResource.d.ts +56 -0
- package/dist-cms/external/backend-api/src/services/RelationResource.d.ts +1 -9
- package/dist-cms/external/backend-api/src/services/SecurityResource.d.ts +24 -0
- package/dist-cms/external/backend-api/src/services/UserGroupResource.d.ts +8 -0
- package/dist-cms/external/backend-api/src/services/UserResource.d.ts +8 -0
- package/dist-cms/external/router-slot/config.d.ts +8 -0
- package/dist-cms/external/router-slot/index.d.ts +4 -3
- package/dist-cms/external/router-slot/index.js +1 -1
- package/dist-cms/external/router-slot/model.d.ts +123 -0
- package/dist-cms/external/router-slot/router-slot.d.ts +111 -0
- package/dist-cms/external/router-slot/util/anchor.d.ts +5 -0
- package/dist-cms/external/router-slot/util/events.d.ts +26 -0
- package/dist-cms/external/router-slot/util/history.d.ts +32 -0
- package/dist-cms/external/router-slot/util/index.d.ts +6 -0
- package/dist-cms/external/router-slot/util/router.d.ts +72 -0
- package/dist-cms/external/router-slot/util/shadow.d.ts +15 -0
- package/dist-cms/external/router-slot/util/url.d.ts +78 -0
- package/dist-cms/external/router-slot/util.d.ts +1 -0
- package/dist-cms/libs/observable-api/observer.js +2 -1
- package/dist-cms/mocks/browser-handlers.js +1 -1
- package/dist-cms/mocks/data/document.data.d.ts +6 -2
- package/dist-cms/mocks/data/document.data.js +54 -4
- package/dist-cms/mocks/data/entity.data.js +0 -2
- package/dist-cms/mocks/handlers/{document.handlers.js → document/document.handlers.js} +28 -40
- package/dist-cms/mocks/handlers/document/index.d.ts +1 -0
- package/dist-cms/mocks/handlers/document/index.js +5 -0
- package/dist-cms/mocks/handlers/document/item.handlers.d.ts +1 -0
- package/dist-cms/mocks/handlers/document/item.handlers.js +13 -0
- package/dist-cms/mocks/handlers/document/recycle-bin.handlers.d.ts +1 -0
- package/dist-cms/mocks/handlers/document/recycle-bin.handlers.js +16 -0
- package/dist-cms/mocks/handlers/document/slug.d.ts +1 -0
- package/dist-cms/mocks/handlers/document/slug.js +1 -0
- package/dist-cms/mocks/handlers/document/tree.handlers.d.ts +1 -0
- package/dist-cms/mocks/handlers/document/tree.handlers.js +16 -0
- package/dist-cms/packages/core/components/input-list-base/input-list-base.js +1 -1
- package/dist-cms/packages/core/content-type/content-type-container-structure-helper.class.js +2 -2
- package/dist-cms/packages/core/content-type/content-type-property-structure-helper.class.js +1 -1
- package/dist-cms/packages/core/content-type/content-type-structure-manager.class.d.ts +15 -15
- package/dist-cms/packages/core/content-type/content-type-structure-manager.class.js +79 -103
- package/dist-cms/packages/core/entity-action/common/trash/trash.action.d.ts +1 -1
- package/dist-cms/packages/core/entity-action/common/trash/trash.action.js +1 -1
- package/dist-cms/packages/core/modal/token/create-document-modal.token.d.ts +8 -0
- package/dist-cms/packages/core/modal/token/create-document-modal.token.js +5 -0
- package/dist-cms/packages/core/modal/token/index.d.ts +1 -1
- package/dist-cms/packages/core/modal/token/index.js +1 -1
- package/dist-cms/packages/core/store/store-base.d.ts +18 -6
- package/dist-cms/packages/core/store/store-base.js +22 -6
- package/dist-cms/packages/documents/document-types/manifests.js +0 -2
- package/dist-cms/packages/documents/document-types/repository/document-type.repository.d.ts +0 -21
- package/dist-cms/packages/documents/document-types/repository/document-type.repository.js +6 -18
- package/dist-cms/packages/documents/document-types/repository/sources/document-type.server.data.d.ts +1 -1
- package/dist-cms/packages/documents/document-types/repository/sources/document-type.server.data.js +1 -12
- package/dist-cms/packages/documents/document-types/workspace/document-type-workspace.context.js +27 -27
- package/dist-cms/packages/documents/document-types/workspace/views/design/document-type-workspace-view-edit.element.js +8 -4
- package/dist-cms/packages/documents/documents/entity-actions/create/create-document-modal.element.d.ts +17 -0
- package/dist-cms/packages/documents/{document-types/modals/allowed-document-types/allowed-document-types-modal.element.js → documents/entity-actions/create/create-document-modal.element.js} +29 -38
- package/dist-cms/packages/documents/documents/entity-actions/create/create.action.d.ts +0 -2
- package/dist-cms/packages/documents/documents/entity-actions/create/create.action.js +7 -23
- package/dist-cms/packages/documents/documents/entity-actions/create/manifests.d.ts +2 -0
- package/dist-cms/packages/documents/documents/entity-actions/create/manifests.js +27 -0
- package/dist-cms/packages/documents/documents/entity-actions/manifests.d.ts +2 -2
- package/dist-cms/packages/documents/documents/entity-actions/manifests.js +15 -48
- package/dist-cms/packages/documents/documents/index.d.ts +1 -0
- package/dist-cms/packages/documents/documents/index.js +1 -0
- package/dist-cms/packages/documents/documents/manifests.d.ts +13 -1
- package/dist-cms/packages/documents/documents/manifests.js +2 -0
- package/dist-cms/packages/documents/documents/menu-item/manifests.js +1 -1
- package/dist-cms/packages/documents/documents/recycle-bin/entity-action/manifests.d.ts +14 -0
- package/dist-cms/packages/documents/documents/recycle-bin/entity-action/manifests.js +18 -0
- package/dist-cms/packages/documents/documents/recycle-bin/index.d.ts +1 -0
- package/dist-cms/packages/documents/documents/recycle-bin/index.js +1 -0
- package/dist-cms/packages/documents/documents/recycle-bin/manifests.d.ts +13 -0
- package/dist-cms/packages/documents/documents/recycle-bin/manifests.js +5 -0
- package/dist-cms/packages/documents/documents/recycle-bin/menu-item/manifests.d.ts +1 -0
- package/dist-cms/packages/documents/documents/recycle-bin/menu-item/manifests.js +14 -0
- package/dist-cms/packages/documents/documents/recycle-bin/repository/document-recycle-bin.repository.d.ts +28 -0
- package/dist-cms/packages/documents/documents/recycle-bin/repository/document-recycle-bin.repository.js +56 -0
- package/dist-cms/packages/documents/documents/recycle-bin/repository/document-recycle.bin.tree.store.d.ts +18 -0
- package/dist-cms/packages/documents/documents/recycle-bin/repository/document-recycle.bin.tree.store.js +19 -0
- package/dist-cms/packages/documents/documents/recycle-bin/repository/index.d.ts +1 -0
- package/dist-cms/packages/documents/documents/recycle-bin/repository/index.js +1 -0
- package/dist-cms/packages/documents/documents/recycle-bin/repository/manifests.d.ts +4 -0
- package/dist-cms/packages/documents/documents/recycle-bin/repository/manifests.js +17 -0
- package/dist-cms/packages/documents/documents/recycle-bin/repository/sources/document-recycle-bin.tree.server.data.d.ts +29 -0
- package/dist-cms/packages/documents/documents/recycle-bin/repository/sources/document-recycle-bin.tree.server.data.js +49 -0
- package/dist-cms/packages/documents/documents/recycle-bin/tree/manifests.d.ts +2 -0
- package/dist-cms/packages/documents/documents/recycle-bin/tree/manifests.js +19 -0
- package/dist-cms/packages/documents/documents/repository/document-item.store.d.ts +20 -0
- package/dist-cms/packages/documents/documents/repository/document-item.store.js +23 -0
- package/dist-cms/packages/documents/documents/repository/document.repository.d.ts +10 -9
- package/dist-cms/packages/documents/documents/repository/document.repository.js +47 -25
- package/dist-cms/packages/documents/documents/repository/document.store.d.ts +0 -12
- package/dist-cms/packages/documents/documents/repository/document.store.js +0 -16
- package/dist-cms/packages/documents/documents/repository/sources/document-item.server.data.d.ts +24 -0
- package/dist-cms/packages/documents/documents/repository/sources/document-item.server.data.js +31 -0
- package/dist-cms/packages/documents/documents/repository/sources/document.server.data.d.ts +9 -21
- package/dist-cms/packages/documents/documents/repository/sources/document.server.data.js +33 -62
- package/dist-cms/packages/documents/documents/workspace/manifests.js +6 -4
- package/dist-cms/packages/documents/manifests.d.ts +13 -1
- package/dist-cms/packages/settings/dashboards/performance-profiling/dashboard-performance-profiling.element.d.ts +3 -1
- package/dist-cms/packages/settings/dashboards/performance-profiling/dashboard-performance-profiling.element.js +26 -40
- package/dist-cms/packages/settings/relation-types/workspace/views/relation/workspace-view-relation-type-relation.element.js +17 -17
- package/dist-cms/packages/templating/templates/modals/query-builder/query-builder.element.d.ts +1 -1
- package/dist-cms/packages/templating/templates/modals/query-builder/query-builder.element.js +1 -1
- package/dist-cms/packages/users/user-groups/collection/user-group-collection-header.element.js +2 -2
- package/dist-cms/packages/users/user-groups/collection/user-group-collection-view.element.js +6 -6
- package/dist-cms/packages/users/user-groups/workspace/user-group-workspace-editor.element.js +15 -12
- package/dist-cms/packages/users/users/collection/user-collection-header.element.js +18 -11
- package/dist-cms/packages/users/users/collection/views/grid/user-collection-grid-view.element.js +6 -6
- package/dist-cms/packages/users/users/collection/views/table/column-layouts/status/user-table-status-column-layout.element.js +3 -3
- package/dist-cms/packages/users/users/index.d.ts +1 -0
- package/dist-cms/packages/users/users/index.js +1 -0
- package/dist-cms/packages/users/users/repository/index.d.ts +1 -0
- package/dist-cms/packages/users/users/repository/index.js +1 -0
- package/dist-cms/packages/users/users/workspace/user-workspace-editor.element.js +36 -35
- package/dist-cms/packages/users/utils.d.ts +5 -2
- package/dist-cms/packages/users/utils.js +14 -14
- package/dist-cms/shared/repository/data-source/folder-data-source.interface.d.ts +2 -2
- package/dist-cms/shared/repository/folder-repository.interface.d.ts +2 -2
- package/dist-cms/shared/router/index.d.ts +1 -1
- package/dist-cms/shared/router/index.js +1 -1
- package/dist-cms/tsconfig.build.tsbuildinfo +1 -1
- package/dist-cms/vscode-html-custom-data.json +7 -7
- package/package.json +2 -3
- package/dist-cms/packages/core/modal/token/allowed-document-types-modal.token.d.ts +0 -9
- package/dist-cms/packages/core/modal/token/allowed-document-types-modal.token.js +0 -5
- package/dist-cms/packages/documents/document-types/modals/allowed-document-types/allowed-document-types-modal.element.d.ts +0 -19
- package/dist-cms/packages/documents/document-types/modals/manifests.d.ts +0 -2
- package/dist-cms/packages/documents/document-types/modals/manifests.js +0 -9
- package/router-slot-2.3.0.tgz +0 -0
- /package/dist-cms/mocks/handlers/{document.handlers.d.ts → document/document.handlers.d.ts} +0 -0
|
@@ -50,7 +50,7 @@ export default {
|
|
|
50
50
|
update: 'Update',
|
|
51
51
|
setPermissions: 'Set permissions',
|
|
52
52
|
unlock: 'Unlock',
|
|
53
|
-
createblueprint: 'Create
|
|
53
|
+
createblueprint: 'Create Document Blueprint',
|
|
54
54
|
resendInvite: 'Resend Invitation',
|
|
55
55
|
deployQueueForTransfer: 'Queue for transfer',
|
|
56
56
|
deployRestore: 'Workspace restore',
|
|
@@ -84,7 +84,7 @@ export default {
|
|
|
84
84
|
sort: 'Allow access to change the sort order for nodes',
|
|
85
85
|
translate: 'Allow access to translate a node',
|
|
86
86
|
update: 'Allow access to save a node',
|
|
87
|
-
createblueprint: 'Allow access to create a
|
|
87
|
+
createblueprint: 'Allow access to create a Document Blueprint',
|
|
88
88
|
notify: 'Allow access to setup notifications for content nodes',
|
|
89
89
|
deployQueueForTransfer: 'Allow the user to queue item(s)',
|
|
90
90
|
deployRestore: 'Allow the user to restore items for the whole workspace',
|
|
@@ -313,13 +313,13 @@ export default {
|
|
|
313
313
|
variantUnpublishNotAllowed: 'Unpublish is not allowed',
|
|
314
314
|
},
|
|
315
315
|
blueprints: {
|
|
316
|
-
createBlueprintFrom: 'Create a new
|
|
316
|
+
createBlueprintFrom: 'Create a new Document Blueprint from <em>%0%</em>',
|
|
317
317
|
blankBlueprint: 'Blank',
|
|
318
|
-
selectBlueprint: 'Select a
|
|
319
|
-
createdBlueprintHeading: '
|
|
320
|
-
createdBlueprintMessage: "A
|
|
321
|
-
duplicateBlueprintMessage: 'Another
|
|
322
|
-
blueprintDescription: 'A
|
|
318
|
+
selectBlueprint: 'Select a Document Blueprint',
|
|
319
|
+
createdBlueprintHeading: 'Document Blueprint created',
|
|
320
|
+
createdBlueprintMessage: "A Document Blueprint was created from '%0%'",
|
|
321
|
+
duplicateBlueprintMessage: 'Another Document Blueprint with the same name already exists',
|
|
322
|
+
blueprintDescription: 'A Document Blueprint is predefined content that an editor can select to use as the\n basis for creating new content\n ',
|
|
323
323
|
},
|
|
324
324
|
media: {
|
|
325
325
|
clickToUpload: 'Click to upload',
|
|
@@ -361,7 +361,7 @@ export default {
|
|
|
361
361
|
create: {
|
|
362
362
|
chooseNode: 'Where do you want to create the new %0%',
|
|
363
363
|
createUnder: 'Create an item under',
|
|
364
|
-
createContentBlueprint: 'Select the Document Type you want to make a content
|
|
364
|
+
createContentBlueprint: 'Select the Document Type you want to make a content blueprint for',
|
|
365
365
|
enterFolderName: 'Enter a folder name',
|
|
366
366
|
updateData: 'Choose a type and a title',
|
|
367
367
|
noDocumentTypes: 'There are no allowed Document Types available for creating content here. You must enable these in <strong>Document Types</strong> within the <strong>Settings</strong> section, by editing the <strong>Allowed child node types</strong> under <strong>Permissions</strong>.',
|
|
@@ -1198,7 +1198,7 @@ export default {
|
|
|
1198
1198
|
editMultiContentPublishedText: '%0% documents published and visible on the website',
|
|
1199
1199
|
editVariantPublishedText: '%0% published and visible on the website',
|
|
1200
1200
|
editMultiVariantPublishedText: '%0% documents published for languages %1% and visible on the website',
|
|
1201
|
-
editBlueprintSavedHeader: 'Content
|
|
1201
|
+
editBlueprintSavedHeader: 'Content Blueprint saved',
|
|
1202
1202
|
editBlueprintSavedText: 'Changes have been successfully saved',
|
|
1203
1203
|
editContentSavedHeader: 'Content saved',
|
|
1204
1204
|
editContentSavedText: 'Remember to publish to make changes visible',
|
|
@@ -1572,7 +1572,7 @@ export default {
|
|
|
1572
1572
|
},
|
|
1573
1573
|
treeHeaders: {
|
|
1574
1574
|
content: 'Content',
|
|
1575
|
-
contentBlueprints: 'Content
|
|
1575
|
+
contentBlueprints: 'Content Blueprints',
|
|
1576
1576
|
media: 'Media',
|
|
1577
1577
|
cacheBrowser: 'Cache Browser',
|
|
1578
1578
|
contentRecycleBin: 'Recycle Bin',
|
|
@@ -1908,7 +1908,7 @@ export default {
|
|
|
1908
1908
|
protectDescription: 'Setup access restrictions on %0%',
|
|
1909
1909
|
rightsDescription: 'Setup Permissions on %0%',
|
|
1910
1910
|
sortDescription: 'Change sort order for %0%',
|
|
1911
|
-
createblueprintDescription: 'Create Content
|
|
1911
|
+
createblueprintDescription: 'Create Content Blueprint based on %0%',
|
|
1912
1912
|
openContextMenu: 'Open context menu for',
|
|
1913
1913
|
currentLanguage: 'Current language',
|
|
1914
1914
|
switchLanguage: 'Switch language to',
|
|
@@ -2215,12 +2215,12 @@ export default {
|
|
|
2215
2215
|
addColumnSpanOption: 'Add spanning %0% columns option',
|
|
2216
2216
|
},
|
|
2217
2217
|
contentTemplatesDashboard: {
|
|
2218
|
-
whatHeadline: 'What are Content
|
|
2219
|
-
whatDescription: 'Content
|
|
2220
|
-
createHeadline: 'How do I create a Content
|
|
2221
|
-
createDescription: '\n <p>There are two ways to create a Content
|
|
2222
|
-
manageHeadline: 'How do I manage Content
|
|
2223
|
-
manageDescription: 'You can edit and delete Content
|
|
2218
|
+
whatHeadline: 'What are Content Blueprints?',
|
|
2219
|
+
whatDescription: 'Content Blueprinta are pre-defined content that can be selected when creating a new\n content node.\n ',
|
|
2220
|
+
createHeadline: 'How do I create a Content Blueprint?',
|
|
2221
|
+
createDescription: '\n <p>There are two ways to create a Content Blueprint:</p>\n <ul>\n <li>Right-click a content node and select "Create Content Blueprint" to create a new Content Blueprint.</li>\n <li>Right-click the Content Blueprints tree in the Settings section and select the Document Type you want to create a Content Blueprint for.</li>\n </ul>\n <p>Once given a name, editors can start using the Content Blueprint as a foundation for their new page.</p>\n ',
|
|
2222
|
+
manageHeadline: 'How do I manage Content Blueprints?',
|
|
2223
|
+
manageDescription: 'You can edit and delete Content Blueprints from the "Content Blueprints" tree in the\n Settings section. Expand the Document Type which the Content Blueprint is based on and click it to edit or delete\n it.\n ',
|
|
2224
2224
|
},
|
|
2225
2225
|
preview: {
|
|
2226
2226
|
endLabel: 'End',
|
|
@@ -52,7 +52,7 @@ export default {
|
|
|
52
52
|
update: 'Update',
|
|
53
53
|
setPermissions: 'Set permissions',
|
|
54
54
|
unlock: 'Unlock',
|
|
55
|
-
createblueprint: 'Create
|
|
55
|
+
createblueprint: 'Create Document Blueprint',
|
|
56
56
|
resendInvite: 'Resend Invitation',
|
|
57
57
|
deployQueueForTransfer: 'Queue for transfer',
|
|
58
58
|
deployRestore: 'Workspace restore',
|
|
@@ -86,7 +86,7 @@ export default {
|
|
|
86
86
|
sort: 'Allow access to change the sort order for nodes',
|
|
87
87
|
translate: 'Allow access to translate a node',
|
|
88
88
|
update: 'Allow access to save a node',
|
|
89
|
-
createblueprint: 'Allow access to create a
|
|
89
|
+
createblueprint: 'Allow access to create a Document Blueprint',
|
|
90
90
|
notify: 'Allow access to setup notifications for content nodes',
|
|
91
91
|
deployQueueForTransfer: 'Allow the user to queue item(s)',
|
|
92
92
|
deployRestore: 'Allow the user to restore items for the whole workspace',
|
|
@@ -329,14 +329,14 @@ export default {
|
|
|
329
329
|
variantUnpublishNotAllowed: 'Unpublish is not allowed',
|
|
330
330
|
},
|
|
331
331
|
blueprints: {
|
|
332
|
-
createBlueprintFrom: 'Create a new
|
|
332
|
+
createBlueprintFrom: 'Create a new Document Blueprint from <em>%0%</em>',
|
|
333
333
|
blankBlueprint: 'Blank',
|
|
334
|
-
selectBlueprint: 'Select a
|
|
335
|
-
createdBlueprintHeading: '
|
|
336
|
-
createdBlueprintMessage: "A
|
|
337
|
-
duplicateBlueprintMessage: 'Another
|
|
334
|
+
selectBlueprint: 'Select a Document Blueprint',
|
|
335
|
+
createdBlueprintHeading: 'Document Blueprint created',
|
|
336
|
+
createdBlueprintMessage: "A Document Blueprint was created from '%0%'",
|
|
337
|
+
duplicateBlueprintMessage: 'Another Document Blueprint with the same name already exists',
|
|
338
338
|
blueprintDescription:
|
|
339
|
-
'A
|
|
339
|
+
'A Document Blueprint is predefined content that an editor can select to use as the\n basis for creating new content\n ',
|
|
340
340
|
},
|
|
341
341
|
media: {
|
|
342
342
|
clickToUpload: 'Click to upload',
|
|
@@ -378,7 +378,7 @@ export default {
|
|
|
378
378
|
create: {
|
|
379
379
|
chooseNode: 'Where do you want to create the new %0%',
|
|
380
380
|
createUnder: 'Create an item under',
|
|
381
|
-
createContentBlueprint: 'Select the Document Type you want to make a content
|
|
381
|
+
createContentBlueprint: 'Select the Document Type you want to make a content blueprint for',
|
|
382
382
|
enterFolderName: 'Enter a folder name',
|
|
383
383
|
updateData: 'Choose a type and a title',
|
|
384
384
|
noDocumentTypes:
|
|
@@ -1294,7 +1294,7 @@ export default {
|
|
|
1294
1294
|
editMultiContentPublishedText: '%0% documents published and visible on the website',
|
|
1295
1295
|
editVariantPublishedText: '%0% published and visible on the website',
|
|
1296
1296
|
editMultiVariantPublishedText: '%0% documents published for languages %1% and visible on the website',
|
|
1297
|
-
editBlueprintSavedHeader: 'Content
|
|
1297
|
+
editBlueprintSavedHeader: 'Content Blueprint saved',
|
|
1298
1298
|
editBlueprintSavedText: 'Changes have been successfully saved',
|
|
1299
1299
|
editContentSavedHeader: 'Content saved',
|
|
1300
1300
|
editContentSavedText: 'Remember to publish to make changes visible',
|
|
@@ -1705,7 +1705,7 @@ export default {
|
|
|
1705
1705
|
},
|
|
1706
1706
|
treeHeaders: {
|
|
1707
1707
|
content: 'Content',
|
|
1708
|
-
contentBlueprints: 'Content
|
|
1708
|
+
contentBlueprints: 'Content Blueprints',
|
|
1709
1709
|
media: 'Media',
|
|
1710
1710
|
cacheBrowser: 'Cache Browser',
|
|
1711
1711
|
contentRecycleBin: 'Recycle Bin',
|
|
@@ -2073,7 +2073,7 @@ export default {
|
|
|
2073
2073
|
protectDescription: 'Setup access restrictions on %0%',
|
|
2074
2074
|
rightsDescription: 'Setup Permissions on %0%',
|
|
2075
2075
|
sortDescription: 'Change sort order for %0%',
|
|
2076
|
-
createblueprintDescription: 'Create Content
|
|
2076
|
+
createblueprintDescription: 'Create Content Blueprint based on %0%',
|
|
2077
2077
|
openContextMenu: 'Open context menu for',
|
|
2078
2078
|
currentLanguage: 'Current language',
|
|
2079
2079
|
switchLanguage: 'Switch language to',
|
|
@@ -2417,15 +2417,15 @@ export default {
|
|
|
2417
2417
|
addColumnSpanOption: 'Add spanning %0% columns option',
|
|
2418
2418
|
},
|
|
2419
2419
|
contentTemplatesDashboard: {
|
|
2420
|
-
whatHeadline: 'What are Content
|
|
2420
|
+
whatHeadline: 'What are Content Blueprints?',
|
|
2421
2421
|
whatDescription:
|
|
2422
|
-
'Content
|
|
2423
|
-
createHeadline: 'How do I create a Content
|
|
2422
|
+
'Content Blueprinta are pre-defined content that can be selected when creating a new\n content node.\n ',
|
|
2423
|
+
createHeadline: 'How do I create a Content Blueprint?',
|
|
2424
2424
|
createDescription:
|
|
2425
|
-
'\n <p>There are two ways to create a Content
|
|
2426
|
-
manageHeadline: 'How do I manage Content
|
|
2425
|
+
'\n <p>There are two ways to create a Content Blueprint:</p>\n <ul>\n <li>Right-click a content node and select "Create Content Blueprint" to create a new Content Blueprint.</li>\n <li>Right-click the Content Blueprints tree in the Settings section and select the Document Type you want to create a Content Blueprint for.</li>\n </ul>\n <p>Once given a name, editors can start using the Content Blueprint as a foundation for their new page.</p>\n ',
|
|
2426
|
+
manageHeadline: 'How do I manage Content Blueprints?',
|
|
2427
2427
|
manageDescription:
|
|
2428
|
-
'You can edit and delete Content
|
|
2428
|
+
'You can edit and delete Content Blueprints from the "Content Blueprints" tree in the\n Settings section. Expand the Document Type which the Content Blueprint is based on and click it to edit or delete\n it.\n ',
|
|
2429
2429
|
},
|
|
2430
2430
|
preview: {
|
|
2431
2431
|
endLabel: 'End',
|
|
@@ -4703,17 +4703,6 @@
|
|
|
4703
4703
|
}
|
|
4704
4704
|
]
|
|
4705
4705
|
},
|
|
4706
|
-
{
|
|
4707
|
-
"name": "umb-allowed-document-types-modal",
|
|
4708
|
-
"path": "./../src/packages/documents/document-types/modals/allowed-document-types/allowed-document-types-modal.element.ts",
|
|
4709
|
-
"properties": [
|
|
4710
|
-
{
|
|
4711
|
-
"name": "styles",
|
|
4712
|
-
"type": "array",
|
|
4713
|
-
"default": "[\"UmbTextStyles\"]"
|
|
4714
|
-
}
|
|
4715
|
-
]
|
|
4716
|
-
},
|
|
4717
4706
|
{
|
|
4718
4707
|
"name": "umb-document-type-workspace-editor",
|
|
4719
4708
|
"path": "./../src/packages/documents/document-types/workspace/document-type-workspace-editor.element.ts",
|
|
@@ -5063,6 +5052,17 @@
|
|
|
5063
5052
|
}
|
|
5064
5053
|
]
|
|
5065
5054
|
},
|
|
5055
|
+
{
|
|
5056
|
+
"name": "umb-create-document-modal",
|
|
5057
|
+
"path": "./../src/packages/documents/documents/entity-actions/create/create-document-modal.element.ts",
|
|
5058
|
+
"properties": [
|
|
5059
|
+
{
|
|
5060
|
+
"name": "styles",
|
|
5061
|
+
"type": "array",
|
|
5062
|
+
"default": "[\"UmbTextStyles\"]"
|
|
5063
|
+
}
|
|
5064
|
+
]
|
|
5065
|
+
},
|
|
5066
5066
|
{
|
|
5067
5067
|
"name": "umb-document-menu-item",
|
|
5068
5068
|
"path": "./../src/packages/documents/documents/menu-item/document-menu-item.element.ts"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
class y extends Error{url;status;statusText;body;request;constructor(e,o,i){super(i),this.name="ApiError",this.url=o.url,this.status=o.status,this.statusText=o.statusText,this.body=o.body,this.request=e}}class E extends Error{constructor(e){super(e),this.name="CancelError"}get isCancelled(){return!0}}class v{#t;#a;#e;#r;#o;#n;#i;constructor(e){this.#t=!1,this.#a=!1,this.#e=!1,this.#r=[],this.#o=new Promise((o,i)=>{this.#n=o,this.#i=i;const n=d=>{this.#t||this.#a||this.#e||(this.#t=!0,this.#n?.(d))},s=d=>{this.#t||this.#a||this.#e||(this.#a=!0,this.#i?.(d))},u=d=>{this.#t||this.#a||this.#e||this.#r.push(d)};return Object.defineProperty(u,"isResolved",{get:()=>this.#t}),Object.defineProperty(u,"isRejected",{get:()=>this.#a}),Object.defineProperty(u,"isCancelled",{get:()=>this.#e}),e(n,s,u)})}get[Symbol.toStringTag](){return"Cancellable Promise"}then(e,o){return this.#o.then(e,o)}catch(e){return this.#o.catch(e)}finally(e){return this.#o.finally(e)}cancel(){if(!(this.#t||this.#a||this.#e)){if(this.#e=!0,this.#r.length)try{for(const e of this.#r)e()}catch(e){console.warn("Cancellation threw an error",e);return}this.#r.length=0,this.#i?.(new E("Request aborted"))}}get isCancelled(){return this.#e}}const t={BASE:"",VERSION:"Latest",WITH_CREDENTIALS:!1,CREDENTIALS:"include",TOKEN:void 0,USERNAME:void 0,PASSWORD:void 0,HEADERS:void 0,ENCODE_PATH:void 0};var k=(r=>(r.NEW="New",r.SAVE="Save",r.SAVE_VARIANT="SaveVariant",r.OPEN="Open",r.DELETE="Delete",r.PUBLISH="Publish",r.PUBLISH_VARIANT="PublishVariant",r.SEND_TO_PUBLISH="SendToPublish",r.SEND_TO_PUBLISH_VARIANT="SendToPublishVariant",r.UNPUBLISH="Unpublish",r.UNPUBLISH_VARIANT="UnpublishVariant",r.MOVE="Move",r.COPY="Copy",r.ASSIGN_DOMAIN="AssignDomain",r.PUBLIC_ACCESS="PublicAccess",r.SORT="Sort",r.NOTIFY="Notify",r.SYSTEM="System",r.ROLL_BACK="RollBack",r.PACKAGER_INSTALL="PackagerInstall",r.PACKAGER_UNINSTALL="PackagerUninstall",r.CUSTOM="Custom",r.CONTENT_VERSION_PREVENT_CLEANUP="ContentVersionPreventCleanup",r.CONTENT_VERSION_ENABLE_CLEANUP="ContentVersionEnableCleanup",r))(k||{}),B=(r=>(r.NOT_CREATED="NotCreated",r.DRAFT="Draft",r.PUBLISHED="Published",r.PUBLISHED_PENDING_CHANGES="PublishedPendingChanges",r))(B||{}),I=(r=>(r.COMPOSITION="Composition",r.INHERITANCE="Inheritance",r))(I||{}),q=(r=>(r.ASCENDING="Ascending",r.DESCENDING="Descending",r))(q||{}),S=(r=>(r.HEALTHY="Healthy",r.UNHEALTHY="Unhealthy",r.REBUILDING="Rebuilding",r))(S||{}),R=(r=>(r.VERBOSE="Verbose",r.DEBUG="Debug",r.INFORMATION="Information",r.WARNING="Warning",r.ERROR="Error",r.FATAL="Fatal",r))(R||{}),D=(r=>(r.NOTHING="Nothing",r.IN_MEMORY_AUTO="InMemoryAuto",r.SOURCE_CODE_MANUAL="SourceCodeManual",r.SOURCE_CODE_AUTO="SourceCodeAuto",r))(D||{}),G=(r=>(r.EQUALS="Equals",r.NOT_EQUALS="NotEquals",r.CONTAINS="Contains",r.NOT_CONTAINS="NotContains",r.LESS_THAN="LessThan",r.LESS_THAN_EQUAL_TO="LessThanEqualTo",r.GREATER_THAN="GreaterThan",r.GREATER_THAN_EQUAL_TO="GreaterThanEqualTo",r))(G||{}),N=(r=>(r.OUT_OF_DATE="OutOfDate",r.CURRENT="Current",r.UNKNOWN="Unknown",r))(N||{}),P=(r=>(r.PUBLISHED="Published",r.UNPUBLISHED="Unpublished",r.PUBLISHING="Publishing",r.UNPUBLISHING="Unpublishing",r))(P||{}),C=(r=>(r.ENABLED="Enabled",r.DISABLED="Disabled",r))(C||{}),O=(r=>(r.UNKNOWN="Unknown",r.BOOT="Boot",r.INSTALL="Install",r.UPGRADE="Upgrade",r.RUN="Run",r.BOOT_FAILED="BootFailed",r))(O||{}),f=(r=>(r.SUCCESS="Success",r.WARNING="Warning",r.ERROR="Error",r.INFO="Info",r))(f||{}),L=(r=>(r.MINIMAL="Minimal",r.BASIC="Basic",r.DETAILED="Detailed",r))(L||{}),A=(r=>(r.STRING="String",r.DATE_TIME="DateTime",r.INTEGER="Integer",r))(A||{}),U=(r=>(r.USER_NAME="UserName",r.LANGUAGE="Language",r.NAME="Name",r.EMAIL="Email",r.ID="Id",r.CREATE_DATE="CreateDate",r.UPDATE_DATE="UpdateDate",r.IS_APPROVED="IsApproved",r.IS_LOCKED_OUT="IsLockedOut",r.LAST_LOGIN_DATE="LastLoginDate",r))(U||{}),F=(r=>(r.ACTIVE="Active",r.DISABLED="Disabled",r.LOCKED_OUT="LockedOut",r.INVITED="Invited",r.INACTIVE="Inactive",r.ALL="All",r))(F||{});const h=r=>r!=null,c=r=>typeof r=="string",g=r=>c(r)&&r!=="",T=r=>typeof r=="object"&&typeof r.type=="string"&&typeof r.stream=="function"&&typeof r.arrayBuffer=="function"&&typeof r.constructor=="function"&&typeof r.constructor.name=="string"&&/^(Blob|File)$/.test(r.constructor.name)&&/^(Blob|File)$/.test(r[Symbol.toStringTag]),M=r=>r instanceof FormData,H=r=>{try{return btoa(r)}catch{return Buffer.from(r).toString("base64")}},_=r=>{const e=[],o=(n,s)=>{e.push(`${encodeURIComponent(n)}=${encodeURIComponent(String(s))}`)},i=(n,s)=>{h(s)&&(Array.isArray(s)?s.forEach(u=>{i(n,u)}):typeof s=="object"?Object.entries(s).forEach(([u,d])=>{i(`${n}[${u}]`,d)}):o(n,s))};return Object.entries(r).forEach(([n,s])=>{i(n,s)}),e.length>0?`?${e.join("&")}`:""},V=(r,e)=>{const o=r.ENCODE_PATH||encodeURI,i=e.url.replace("{api-version}",r.VERSION).replace(/{(.*?)}/g,(s,u)=>e.path?.hasOwnProperty(u)?o(String(e.path[u])):s),n=`${r.BASE}${i}`;return e.query?`${n}${_(e.query)}`:n},x=r=>{if(r.formData){const e=new FormData,o=(i,n)=>{c(n)||T(n)?e.append(i,n):e.append(i,JSON.stringify(n))};return Object.entries(r.formData).filter(([i,n])=>h(n)).forEach(([i,n])=>{Array.isArray(n)?n.forEach(s=>o(i,s)):o(i,n)}),e}},l=async(r,e)=>typeof e=="function"?e(r):e,$=async(r,e)=>{const o=await l(e,r.TOKEN),i=await l(e,r.USERNAME),n=await l(e,r.PASSWORD),s=await l(e,r.HEADERS),u=Object.entries({Accept:"application/json",...s,...e.headers}).filter(([d,m])=>h(m)).reduce((d,[m,p])=>({...d,[m]:String(p)}),{});if(g(o)&&(u.Authorization=`Bearer ${o}`),g(i)&&g(n)){const d=H(`${i}:${n}`);u.Authorization=`Basic ${d}`}return e.body&&(e.mediaType?u["Content-Type"]=e.mediaType:T(e.body)?u["Content-Type"]=e.body.type||"application/octet-stream":c(e.body)?u["Content-Type"]="text/plain":M(e.body)||(u["Content-Type"]="application/json")),new Headers(u)},z=r=>{if(r.body!==void 0)return r.mediaType?.includes("/json")?JSON.stringify(r.body):c(r.body)||T(r.body)||M(r.body)?r.body:JSON.stringify(r.body)},W=async(r,e,o,i,n,s,u)=>{const d=new AbortController,m={headers:s,body:i??n,method:e.method,signal:d.signal};return r.WITH_CREDENTIALS&&(m.credentials=r.CREDENTIALS),u(()=>d.abort()),await fetch(o,m)},K=(r,e)=>{if(e){const o=r.headers.get(e);if(c(o))return o}},Q=async r=>{if(r.status!==204)try{const e=r.headers.get("Content-Type");if(e)return["application/json","application/problem+json"].some(o=>e.toLowerCase().startsWith(o))?await r.json():await r.text()}catch(e){console.error(e)}},Y=(r,e)=>{const o={400:"Bad Request",401:"Unauthorized",403:"Forbidden",404:"Not Found",500:"Internal Server Error",502:"Bad Gateway",503:"Service Unavailable",...r.errors}[e.status];if(o)throw new y(r,e,o);if(!e.ok){const i=e.status??"unknown",n=e.statusText??"unknown",s=(()=>{try{return JSON.stringify(e.body,null,2)}catch{return}})();throw new y(r,e,`Generic Error: status: ${i}; status text: ${n}; body: ${s}`)}},a=(r,e)=>new v(async(o,i,n)=>{try{const s=V(r,e),u=x(e),d=z(e),m=await $(r,e);if(!n.isCancelled){const p=await W(r,e,s,d,u,m,n),j=await Q(p),w=K(p,e.responseHeader),b={url:s,ok:p.ok,status:p.status,statusText:p.statusText,body:w??j};Y(e,b),o(b.body)}}catch(s){i(s)}});class J{static getAuditLog({orderDirection:e,sinceDate:o,skip:i,take:n=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/audit-log",query:{orderDirection:e,sinceDate:o,skip:i,take:n}})}static getAuditLogById({id:e,orderDirection:o,sinceDate:i,skip:n,take:s=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/audit-log/{id}",path:{id:e},query:{orderDirection:o,sinceDate:i,skip:n,take:s}})}static getAuditLogTypeByLogType({logType:e,sinceDate:o,skip:i,take:n=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/audit-log/type/{logType}",path:{logType:e},query:{sinceDate:o,skip:i,take:n}})}}class X{static getCulture({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/culture",query:{skip:e,take:o}})}}class Z{static postDataType({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/data-type",body:e,mediaType:"application/json",responseHeader:"Location",errors:{400:"Bad Request",404:"Not Found"}})}static getDataTypeById({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/data-type/{id}",path:{id:e},errors:{404:"Not Found"}})}static deleteDataTypeById({id:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/data-type/{id}",path:{id:e},errors:{400:"Bad Request",404:"Not Found"}})}static putDataTypeById({id:e,requestBody:o}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/data-type/{id}",path:{id:e},body:o,mediaType:"application/json",errors:{400:"Bad Request",404:"Not Found"}})}static postDataTypeByIdCopy({id:e,requestBody:o}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/data-type/{id}/copy",path:{id:e},body:o,mediaType:"application/json",responseHeader:"Location",errors:{404:"Not Found"}})}static getDataTypeByIdIsUsed({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/data-type/{id}/is-used",path:{id:e},errors:{404:"Not Found"}})}static postDataTypeByIdMove({id:e,requestBody:o}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/data-type/{id}/move",path:{id:e},body:o,mediaType:"application/json",errors:{404:"Not Found"}})}static getDataTypeByIdReferences({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/data-type/{id}/references",path:{id:e},errors:{404:"Not Found"}})}static postDataTypeFolder({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/data-type/folder",body:e,mediaType:"application/json",responseHeader:"Location"})}static getDataTypeFolderById({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/data-type/folder/{id}",path:{id:e},errors:{404:"Not Found"}})}static deleteDataTypeFolderById({id:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/data-type/folder/{id}",path:{id:e},errors:{404:"Not Found"}})}static putDataTypeFolderById({id:e,requestBody:o}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/data-type/folder/{id}",path:{id:e},body:o,mediaType:"application/json",errors:{404:"Not Found"}})}static getDataTypeItem({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/data-type/item",query:{id:e}})}static getDataTypeItemByAlias({alias:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/data-type/item/{alias}",path:{alias:e}})}static getTreeDataTypeChildren({parentId:e,skip:o,take:i=100,foldersOnly:n=!1}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/data-type/children",query:{parentId:e,skip:o,take:i,foldersOnly:n}})}static getTreeDataTypeRoot({skip:e,take:o=100,foldersOnly:i=!1}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/data-type/root",query:{skip:e,take:o,foldersOnly:i}})}}class ee{static getDictionary({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/dictionary",query:{skip:e,take:o}})}static postDictionary({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/dictionary",body:e,mediaType:"application/json",responseHeader:"Location",errors:{400:"Bad Request",404:"Not Found",409:"Conflict"}})}static getDictionaryById({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/dictionary/{id}",path:{id:e},errors:{404:"Not Found"}})}static deleteDictionaryById({id:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/dictionary/{id}",path:{id:e},errors:{400:"Bad Request",404:"Not Found"}})}static putDictionaryById({id:e,requestBody:o}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/dictionary/{id}",path:{id:e},body:o,mediaType:"application/json",errors:{400:"Bad Request",404:"Not Found"}})}static getDictionaryByIdExport({id:e,includeChildren:o=!1}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/dictionary/{id}/export",path:{id:e},query:{includeChildren:o},errors:{404:"Not Found"}})}static postDictionaryByIdMove({id:e,requestBody:o}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/dictionary/{id}/move",path:{id:e},body:o,mediaType:"application/json",errors:{400:"Bad Request",404:"Not Found"}})}static postDictionaryImport({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/dictionary/import",body:e,mediaType:"application/json",responseHeader:"Location",errors:{400:"Bad Request",404:"Not Found"}})}static getDictionaryItem({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/dictionary/item",query:{id:e}})}static getTreeDictionaryChildren({parentId:e,skip:o,take:i=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/dictionary/children",query:{parentId:e,skip:o,take:i}})}static getTreeDictionaryRoot({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/dictionary/root",query:{skip:e,take:o}})}}class te{static postDocument({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/document",body:e,mediaType:"application/json",responseHeader:"Location",errors:{404:"Not Found"}})}static getDocumentById({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/document/{id}",path:{id:e},errors:{404:"Not Found"}})}static deleteDocumentById({id:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/document/{id}",path:{id:e},errors:{404:"Not Found"}})}static putDocumentById({id:e,requestBody:o}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/document/{id}",path:{id:e},body:o,mediaType:"application/json",errors:{404:"Not Found"}})}static getDocumentByIdAllowedDocumentTypes({id:e,skip:o,take:i=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/document/{id}/allowed-document-types",path:{id:e},query:{skip:o,take:i},errors:{404:"Not Found"}})}static postDocumentByIdCopy({id:e,requestBody:o}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/document/{id}/copy",path:{id:e},body:o,mediaType:"application/json",responseHeader:"Location",errors:{404:"Not Found"}})}static getDocumentByIdDomains({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/document/{id}/domains",path:{id:e},errors:{404:"Not Found"}})}static putDocumentByIdDomains({id:e,requestBody:o}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/document/{id}/domains",path:{id:e},body:o,mediaType:"application/json"})}static putDocumentByIdMove({id:e,requestBody:o}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/document/{id}/move",path:{id:e},body:o,mediaType:"application/json",errors:{404:"Not Found"}})}static getDocumentByIdNotifications({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/document/{id}/notifications",path:{id:e},errors:{404:"Not Found"}})}static putDocumentByIdNotifications({id:e,requestBody:o}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/document/{id}/notifications",path:{id:e},body:o,mediaType:"application/json",errors:{404:"Not Found"}})}static postDocumentByIdPublicAccess({id:e,requestBody:o}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/document/{id}/public-access",path:{id:e},body:o,mediaType:"application/json",responseHeader:"Location",errors:{404:"Not Found"}})}static deleteDocumentByIdPublicAccess({id:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/document/{id}/public-access",path:{id:e},errors:{404:"Not Found"}})}static getDocumentByIdPublicAccess({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/document/{id}/public-access",path:{id:e},errors:{404:"Not Found"}})}static putDocumentByIdPublicAccess({id:e,requestBody:o}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/document/{id}/public-access",path:{id:e},body:o,mediaType:"application/json",errors:{404:"Not Found"}})}static getDocumentItem({id:e,dataTypeId:o,culture:i}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/document/item",query:{id:e,dataTypeId:o,culture:i}})}static getDocumentRootAllowedDocumentTypes({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/document/root/allowed-document-types",query:{skip:e,take:o},errors:{404:"Not Found"}})}static getRecycleBinDocumentChildren({parentId:e,skip:o,take:i=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/recycle-bin/document/children",query:{parentId:e,skip:o,take:i},errors:{401:"Unauthorized"}})}static getRecycleBinDocumentRoot({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/recycle-bin/document/root",query:{skip:e,take:o},errors:{401:"Unauthorized"}})}static getTreeDocumentChildren({parentId:e,skip:o,take:i=100,dataTypeId:n,culture:s}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/document/children",query:{parentId:e,skip:o,take:i,dataTypeId:n,culture:s}})}static getTreeDocumentRoot({skip:e,take:o=100,dataTypeId:i,culture:n}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/document/root",query:{skip:e,take:o,dataTypeId:i,culture:n}})}}class ae{static getDocumentBlueprintItem({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/document-blueprint/item",query:{id:e}})}static getTreeDocumentBlueprintRoot({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/document-blueprint/root",query:{skip:e,take:o}})}}class re{static postDocumentType({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/document-type",body:e,mediaType:"application/json",errors:{404:"Not Found"}})}static getDocumentTypeById({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/document-type/{id}",path:{id:e},errors:{404:"Not Found"}})}static deleteDocumentTypeById({id:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/document-type/{id}",path:{id:e},errors:{404:"Not Found"}})}static putDocumentTypeById({id:e,requestBody:o}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/document-type/{id}",path:{id:e},body:o,mediaType:"application/json",errors:{404:"Not Found"}})}static getDocumentTypeItem({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/document-type/item",query:{id:e}})}static getTreeDocumentTypeChildren({parentId:e,skip:o,take:i=100,foldersOnly:n=!1}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/document-type/children",query:{parentId:e,skip:o,take:i,foldersOnly:n}})}static getTreeDocumentTypeRoot({skip:e,take:o=100,foldersOnly:i=!1}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/document-type/root",query:{skip:e,take:o,foldersOnly:i}})}}class oe{static getHealthCheckGroup({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/health-check-group",query:{skip:e,take:o}})}static getHealthCheckGroupByName({name:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/health-check-group/{name}",path:{name:e},errors:{404:"Not Found"}})}static postHealthCheckGroupByNameCheck({name:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/health-check-group/{name}/check",path:{name:e},errors:{404:"Not Found"}})}static postHealthCheckExecuteAction({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/health-check/execute-action",body:e,mediaType:"application/json",errors:{400:"Bad Request"}})}}class ie{static getHelp({section:e,tree:o,skip:i,take:n=100,baseUrl:s="https://our.umbraco.com"}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/help",query:{section:e,tree:o,skip:i,take:n,baseUrl:s},errors:{400:"Bad Request"}})}}class ne{static getIndexer({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/indexer",query:{skip:e,take:o}})}static getIndexerByIndexName({indexName:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/indexer/{indexName}",path:{indexName:e},errors:{400:"Bad Request"}})}static postIndexerByIndexNameRebuild({indexName:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/indexer/{indexName}/rebuild",path:{indexName:e},errors:{400:"Bad Request",404:"Not Found",409:"Conflict"}})}}class se{static getInstallSettings(){return a(t,{method:"GET",url:"/umbraco/management/api/v1/install/settings",errors:{400:"Bad Request",428:"Client Error"}})}static postInstallSetup({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/install/setup",body:e,mediaType:"application/json",errors:{400:"Bad Request",428:"Client Error"}})}static postInstallValidateDatabase({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/install/validate-database",body:e,mediaType:"application/json",errors:{400:"Bad Request"}})}}class ue{static getLanguage({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/language",query:{skip:e,take:o}})}static postLanguage({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/language",body:e,mediaType:"application/json",responseHeader:"Location",errors:{400:"Bad Request",404:"Not Found"}})}static getLanguageByIsoCode({isoCode:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/language/{isoCode}",path:{isoCode:e},errors:{404:"Not Found"}})}static deleteLanguageByIsoCode({isoCode:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/language/{isoCode}",path:{isoCode:e},errors:{400:"Bad Request",404:"Not Found"}})}static putLanguageByIsoCode({isoCode:e,requestBody:o}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/language/{isoCode}",path:{isoCode:e},body:o,mediaType:"application/json",errors:{400:"Bad Request",404:"Not Found"}})}static getLanguageItem({isoCode:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/language/item",query:{isoCode:e}})}}class de{static getLogViewerLevel({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/log-viewer/level",query:{skip:e,take:o}})}static getLogViewerLevelCount({startDate:e,endDate:o}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/log-viewer/level-count",query:{startDate:e,endDate:o},errors:{400:"Bad Request"}})}static getLogViewerLog({skip:e,take:o=100,orderDirection:i,filterExpression:n,logLevel:s,startDate:u,endDate:d}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/log-viewer/log",query:{skip:e,take:o,orderDirection:i,filterExpression:n,logLevel:s,startDate:u,endDate:d}})}static getLogViewerMessageTemplate({skip:e,take:o=100,startDate:i,endDate:n}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/log-viewer/message-template",query:{skip:e,take:o,startDate:i,endDate:n},errors:{400:"Bad Request"}})}static getLogViewerSavedSearch({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/log-viewer/saved-search",query:{skip:e,take:o}})}static postLogViewerSavedSearch({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/log-viewer/saved-search",body:e,mediaType:"application/json",responseHeader:"Location",errors:{400:"Bad Request"}})}static getLogViewerSavedSearchByName({name:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/log-viewer/saved-search/{name}",path:{name:e},errors:{404:"Not Found"}})}static deleteLogViewerSavedSearchByName({name:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/log-viewer/saved-search/{name}",path:{name:e},errors:{404:"Not Found"}})}static getLogViewerValidateLogsSize({startDate:e,endDate:o}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/log-viewer/validate-logs-size",query:{startDate:e,endDate:o},errors:{400:"Bad Request"}})}}class me{static postMedia({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/media",body:e,mediaType:"application/json",responseHeader:"Location",errors:{404:"Not Found"}})}static getMediaById({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/media/{id}",path:{id:e},errors:{404:"Not Found"}})}static deleteMediaById({id:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/media/{id}",path:{id:e},errors:{404:"Not Found"}})}static putMediaById({id:e,requestBody:o}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/media/{id}",path:{id:e},body:o,mediaType:"application/json",errors:{404:"Not Found"}})}static putMediaByIdMove({id:e,requestBody:o}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/media/{id}/move",path:{id:e},body:o,mediaType:"application/json",errors:{404:"Not Found"}})}static getMediaItem({id:e,dataTypeId:o}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/media/item",query:{id:e,dataTypeId:o}})}static getRecycleBinMediaChildren({parentId:e,skip:o,take:i=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/recycle-bin/media/children",query:{parentId:e,skip:o,take:i},errors:{401:"Unauthorized"}})}static getRecycleBinMediaRoot({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/recycle-bin/media/root",query:{skip:e,take:o},errors:{401:"Unauthorized"}})}static getTreeMediaChildren({parentId:e,skip:o,take:i=100,dataTypeId:n}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/media/children",query:{parentId:e,skip:o,take:i,dataTypeId:n}})}static getTreeMediaItem({id:e,dataTypeId:o}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/media/item",query:{id:e,dataTypeId:o}})}static getTreeMediaRoot({skip:e,take:o=100,dataTypeId:i}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/media/root",query:{skip:e,take:o,dataTypeId:i}})}}class pe{static getMediaTypeById({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/media-type/{id}",path:{id:e},errors:{404:"Not Found"}})}static getMediaTypeItem({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/media-type/item",query:{id:e}})}static getTreeMediaTypeChildren({parentId:e,skip:o,take:i=100,foldersOnly:n=!1}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/media-type/children",query:{parentId:e,skip:o,take:i,foldersOnly:n}})}static getTreeMediaTypeRoot({skip:e,take:o=100,foldersOnly:i=!1}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/media-type/root",query:{skip:e,take:o,foldersOnly:i}})}}class ce{static getMemberItem({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/member/item",query:{id:e}})}}class le{static getMemberGroupItem({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/member-group/item",query:{id:e}})}static getTreeMemberGroupRoot({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/member-group/root",query:{skip:e,take:o}})}}class ye{static getMemberTypeItem({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/member-type/item",query:{id:e}})}static getTreeMemberTypeRoot({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/member-type/root",query:{skip:e,take:o}})}}class he{static postModelsBuilderBuild(){return a(t,{method:"POST",url:"/umbraco/management/api/v1/models-builder/build",errors:{428:"Client Error"}})}static getModelsBuilderDashboard(){return a(t,{method:"GET",url:"/umbraco/management/api/v1/models-builder/dashboard"})}static getModelsBuilderStatus(){return a(t,{method:"GET",url:"/umbraco/management/api/v1/models-builder/status"})}}class ge{static getObjectTypes({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/object-types",query:{skip:e,take:o}})}}class Te{static postPackageByNameRunMigration({name:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/package/{name}/run-migration",path:{name:e},errors:{404:"Not Found",409:"Conflict"}})}static getPackageCreated({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/package/created",query:{skip:e,take:o}})}static postPackageCreated({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/package/created",body:e,mediaType:"application/json",responseHeader:"Location",errors:{400:"Bad Request",404:"Not Found"}})}static getPackageCreatedById({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/package/created/{id}",path:{id:e},errors:{404:"Not Found"}})}static deletePackageCreatedById({id:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/package/created/{id}",path:{id:e},errors:{404:"Not Found"}})}static putPackageCreatedById({id:e,requestBody:o}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/package/created/{id}",path:{id:e},body:o,mediaType:"application/json",errors:{404:"Not Found"}})}static getPackageCreatedByIdDownload({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/package/created/{id}/download",path:{id:e},errors:{404:"Not Found"}})}static getPackageManifest(){return a(t,{method:"GET",url:"/umbraco/management/api/v1/package/manifest"})}static getPackageMigrationStatus({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/package/migration-status",query:{skip:e,take:o}})}}class be{static getPartialView({path:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/partial-view",query:{path:e}})}static postPartialView({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/partial-view",body:e,mediaType:"application/json",responseHeader:"Location"})}static deletePartialView({path:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/partial-view",query:{path:e}})}static putPartialView({requestBody:e}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/partial-view",body:e,mediaType:"application/json"})}static getPartialViewFolder({path:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/partial-view/folder",query:{path:e}})}static postPartialViewFolder({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/partial-view/folder",body:e,mediaType:"application/json"})}static deletePartialViewFolder({path:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/partial-view/folder",query:{path:e}})}static getPartialViewItem({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/partial-view/item",query:{id:e}})}static getPartialViewSnippet({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/partial-view/snippet",query:{skip:e,take:o}})}static getPartialViewSnippetByName({name:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/partial-view/snippet/{name}",path:{name:e},errors:{404:"Not Found"}})}static getTreePartialViewChildren({path:e,skip:o,take:i=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/partial-view/children",query:{path:e,skip:o,take:i}})}static getTreePartialViewRoot({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/partial-view/root",query:{skip:e,take:o}})}}class Ee{static getProfilingStatus(){return a(t,{method:"GET",url:"/umbraco/management/api/v1/profiling/status"})}static putProfilingStatus({requestBody:e}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/profiling/status",body:e,mediaType:"application/json"})}}class ve{static getPropertyTypeIsUsed({contentTypeId:e,propertyAlias:o}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/property-type/is-used",query:{contentTypeId:e,propertyAlias:o},errors:{400:"Bad Request"}})}}class ke{static postPublishedCacheCollect(){return a(t,{method:"POST",url:"/umbraco/management/api/v1/published-cache/collect"})}static postPublishedCacheRebuild(){return a(t,{method:"POST",url:"/umbraco/management/api/v1/published-cache/rebuild"})}static postPublishedCacheReload(){return a(t,{method:"POST",url:"/umbraco/management/api/v1/published-cache/reload"})}static getPublishedCacheStatus(){return a(t,{method:"GET",url:"/umbraco/management/api/v1/published-cache/status"})}}class Be{static getRedirectManagement({filter:e,skip:o,take:i=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/redirect-management",query:{filter:e,skip:o,take:i},errors:{400:"Bad Request"}})}static getRedirectManagementById({id:e,skip:o,take:i=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/redirect-management/{id}",path:{id:e},query:{skip:o,take:i}})}static deleteRedirectManagementById({id:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/redirect-management/{id}",path:{id:e}})}static getRedirectManagementStatus(){return a(t,{method:"GET",url:"/umbraco/management/api/v1/redirect-management/status"})}static postRedirectManagementStatus({status:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/redirect-management/status",query:{status:e}})}}class Ie{static getRelationById({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/relation/{id}",path:{id:e},errors:{404:"Not Found"}})}static getRelationChildRelationByChildId({childId:e,skip:o,take:i=100,relationTypeAlias:n=""}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/relation/child-relation/{childId}",path:{childId:e},query:{skip:o,take:i,relationTypeAlias:n}})}static getRelationTypeById({id:e,skip:o,take:i=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/relation/type/{id}",path:{id:e},query:{skip:o,take:i},errors:{404:"Not Found"}})}}class qe{static postRelationType({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/relation-type",body:e,mediaType:"application/json",responseHeader:"Location",errors:{400:"Bad Request"}})}static getRelationTypeById({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/relation-type/{id}",path:{id:e},errors:{404:"Not Found"}})}static deleteRelationTypeById({id:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/relation-type/{id}",path:{id:e},errors:{404:"Not Found"}})}static putRelationTypeById({id:e,requestBody:o}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/relation-type/{id}",path:{id:e},body:o,mediaType:"application/json",errors:{400:"Bad Request",404:"Not Found"}})}static getRelationTypeItem({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/relation-type/item",query:{id:e}})}static getTreeRelationTypeRoot({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/relation-type/root",query:{skip:e,take:o}})}}class Se{static getScript({path:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/script",query:{path:e}})}static postScript({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/script",body:e,mediaType:"application/json",responseHeader:"Location"})}static deleteScript({path:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/script",query:{path:e}})}static putScript({requestBody:e}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/script",body:e,mediaType:"application/json"})}static getScriptFolder({path:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/script/folder",query:{path:e}})}static postScriptFolder({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/script/folder",body:e,mediaType:"application/json"})}static deleteScriptFolder({path:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/script/folder",query:{path:e}})}static getScriptItem({path:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/script/item",query:{path:e}})}static getTreeScriptChildren({path:e,skip:o,take:i=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/script/children",query:{path:e,skip:o,take:i}})}static getTreeScriptRoot({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/script/root",query:{skip:e,take:o}})}}class Re{static getSearcher({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/searcher",query:{skip:e,take:o}})}static getSearcherBySearcherNameQuery({searcherName:e,term:o,skip:i,take:n=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/searcher/{searcherName}/query",path:{searcherName:e},query:{term:o,skip:i,take:n},errors:{404:"Not Found"}})}}class De{static getSecurityBackOfficeAuthorize(){return a(t,{method:"GET",url:"/umbraco/management/api/v1/security/back-office/authorize"})}static postSecurityBackOfficeLogin({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/security/back-office/login",body:e,mediaType:"application/json"})}}class Ge{static getServerStatus(){return a(t,{method:"GET",url:"/umbraco/management/api/v1/server/status",errors:{400:"Bad Request"}})}static getServerVersion(){return a(t,{method:"GET",url:"/umbraco/management/api/v1/server/version",errors:{400:"Bad Request"}})}}class Ne{static getStaticFileItem({path:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/static-file/item",query:{path:e}})}static getTreeStaticFileChildren({path:e,skip:o,take:i=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/static-file/children",query:{path:e,skip:o,take:i}})}static getTreeStaticFileRoot({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/static-file/root",query:{skip:e,take:o}})}}class Pe{static getStylesheet({path:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/stylesheet",query:{path:e}})}static postStylesheet({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/stylesheet",body:e,mediaType:"application/json",responseHeader:"Location"})}static deleteStylesheet({path:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/stylesheet",query:{path:e}})}static putStylesheet({requestBody:e}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/stylesheet",body:e,mediaType:"application/json"})}static getStylesheetAll({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/stylesheet/all",query:{skip:e,take:o}})}static getStylesheetFolder({path:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/stylesheet/folder",query:{path:e}})}static postStylesheetFolder({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/stylesheet/folder",body:e,mediaType:"application/json"})}static deleteStylesheetFolder({path:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/stylesheet/folder",query:{path:e}})}static getStylesheetItem({path:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/stylesheet/item",query:{path:e}})}static postStylesheetRichTextExtractRules({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/stylesheet/rich-text/extract-rules",body:e,mediaType:"application/json"})}static postStylesheetRichTextInterpolateRules({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/stylesheet/rich-text/interpolate-rules",body:e,mediaType:"application/json"})}static getStylesheetRichTextRules({path:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/stylesheet/rich-text/rules",query:{path:e}})}static getTreeStylesheetChildren({path:e,skip:o,take:i=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/stylesheet/children",query:{path:e,skip:o,take:i}})}static getTreeStylesheetRoot({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/stylesheet/root",query:{skip:e,take:o}})}}class Ce{static getTag({query:e,tagGroup:o,culture:i,skip:n,take:s=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tag",query:{query:e,tagGroup:o,culture:i,skip:n,take:s}})}}class Oe{static getTelemetry({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/telemetry",query:{skip:e,take:o}})}static getTelemetryLevel(){return a(t,{method:"GET",url:"/umbraco/management/api/v1/telemetry/level"})}static postTelemetryLevel({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/telemetry/level",body:e,mediaType:"application/json",errors:{400:"Bad Request"}})}}class fe{static postTemplate({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/template",body:e,mediaType:"application/json",responseHeader:"Location",errors:{400:"Bad Request",404:"Not Found"}})}static getTemplateById({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/template/{id}",path:{id:e},errors:{404:"Not Found"}})}static deleteTemplateById({id:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/template/{id}",path:{id:e},errors:{400:"Bad Request",404:"Not Found"}})}static putTemplateById({id:e,requestBody:o}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/template/{id}",path:{id:e},body:o,mediaType:"application/json",errors:{400:"Bad Request",404:"Not Found"}})}static getTemplateItem({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/template/item",query:{id:e}})}static postTemplateQueryExecute({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/template/query/execute",body:e,mediaType:"application/json"})}static getTemplateQuerySettings(){return a(t,{method:"GET",url:"/umbraco/management/api/v1/template/query/settings"})}static getTemplateScaffold({masterTemplateId:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/template/scaffold",query:{masterTemplateId:e},errors:{404:"Not Found"}})}static getTreeTemplateChildren({parentId:e,skip:o,take:i=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/template/children",query:{parentId:e,skip:o,take:i}})}static getTreeTemplateRoot({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/template/root",query:{skip:e,take:o}})}}class Le{static postTemporaryfile({formData:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/temporaryfile",formData:e,mediaType:"multipart/form-data",responseHeader:"Location",errors:{400:"Bad Request"}})}static getTemporaryfileById({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/temporaryfile/{id}",path:{id:e},errors:{400:"Bad Request",404:"Not Found"}})}static deleteTemporaryfileById({id:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/temporaryfile/{id}",path:{id:e},errors:{400:"Bad Request",404:"Not Found"}})}}class Ae{static getTour(){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tour"})}static postTour({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/tour",body:e,mediaType:"application/json"})}}class Ue{static getTrackedReferenceById({id:e,skip:o,take:i=20,filterMustBeIsDependency:n=!1}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tracked-reference/{id}",path:{id:e},query:{skip:o,take:i,filterMustBeIsDependency:n}})}static getTrackedReferenceDescendantsByParentId({parentId:e,skip:o,take:i=20,filterMustBeIsDependency:n=!0}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tracked-reference/descendants/{parentId}",path:{parentId:e},query:{skip:o,take:i,filterMustBeIsDependency:n}})}static getTrackedReferenceItem({id:e,skip:o,take:i=20,filterMustBeIsDependency:n=!0}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tracked-reference/item",query:{id:e,skip:o,take:i,filterMustBeIsDependency:n}})}}class Fe{static postUpgradeAuthorize(){return a(t,{method:"POST",url:"/umbraco/management/api/v1/upgrade/authorize",errors:{428:"Client Error",500:"Server Error"}})}static getUpgradeSettings(){return a(t,{method:"GET",url:"/umbraco/management/api/v1/upgrade/settings",errors:{428:"Client Error"}})}}class Me{static postUser({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/user",body:e,mediaType:"application/json",errors:{400:"Bad Request"}})}static getUser({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/user",query:{skip:e,take:o}})}static getUserById({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/user/{id}",path:{id:e},errors:{404:"Not Found"}})}static deleteUserById({id:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/user/{id}",path:{id:e}})}static putUserById({id:e,requestBody:o}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/user/{id}",path:{id:e},body:o,mediaType:"application/json"})}static deleteUserAvatarById({id:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/user/avatar/{id}",path:{id:e}})}static postUserAvatarById({id:e,requestBody:o}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/user/avatar/{id}",path:{id:e},body:o,mediaType:"application/json",errors:{400:"Bad Request"}})}static postUserChangePasswordById({id:e,requestBody:o}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/user/change-password/{id}",path:{id:e},body:o,mediaType:"application/json"})}static getUserCurrent(){return a(t,{method:"GET",url:"/umbraco/management/api/v1/user/current"})}static postUserCurrentAvatar({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/user/current/avatar",body:e,mediaType:"application/json"})}static postUserCurrentChangePassword({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/user/current/change-password",body:e,mediaType:"application/json"})}static getUserCurrentData(){return a(t,{method:"GET",url:"/umbraco/management/api/v1/user/current/data"})}static getUserCurrentLogins(){return a(t,{method:"GET",url:"/umbraco/management/api/v1/user/current/logins"})}static getUserCurrentPermissions({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/user/current/permissions",query:{id:e}})}static getUserCurrentPermissionsDocument({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/user/current/permissions/document",query:{id:e}})}static getUserCurrentPermissionsMedia({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/user/current/permissions/media",query:{id:e}})}static postUserDisable({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/user/disable",body:e,mediaType:"application/json",errors:{400:"Bad Request"}})}static postUserEnable({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/user/enable",body:e,mediaType:"application/json",errors:{400:"Bad Request"}})}static getUserFilter({skip:e,take:o=100,orderBy:i,orderDirection:n,userGroupIds:s,userStates:u,filter:d=""}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/user/filter",query:{skip:e,take:o,orderBy:i,orderDirection:n,userGroupIds:s,userStates:u,filter:d}})}static postUserInvite({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/user/invite",body:e,mediaType:"application/json",responseHeader:"Location"})}static postUserInviteCreatePassword({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/user/invite/create-password",body:e,mediaType:"application/json",errors:{404:"Not Found"}})}static postUserInviteVerify({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/user/invite/verify",body:e,mediaType:"application/json",errors:{404:"Not Found"}})}static getUserItem({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/user/item",query:{id:e}})}static postUserSetUserGroups({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/user/set-user-groups",body:e,mediaType:"application/json"})}static postUserUnlock({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/user/unlock",body:e,mediaType:"application/json",errors:{400:"Bad Request"}})}}class je{static postUserGroup({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/user-group",body:e,mediaType:"application/json",responseHeader:"Location",errors:{400:"Bad Request"}})}static getUserGroup({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/user-group",query:{skip:e,take:o}})}static getUserGroupById({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/user-group/{id}",path:{id:e},errors:{404:"Not Found"}})}static deleteUserGroupById({id:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/user-group/{id}",path:{id:e},errors:{404:"Not Found"}})}static putUserGroupById({id:e,requestBody:o}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/user-group/{id}",path:{id:e},body:o,mediaType:"application/json",errors:{404:"Not Found"}})}static getUserGroupItem({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/user-group/item",query:{id:e}})}}export{y as ApiError,J as AuditLogResource,k as AuditTypeModel,E as CancelError,v as CancelablePromise,B as ContentStateModel,I as ContentTypeCompositionTypeModel,X as CultureResource,Z as DataTypeResource,ee as DictionaryResource,q as DirectionModel,ae as DocumentBlueprintResource,te as DocumentResource,re as DocumentTypeResource,oe as HealthCheckResource,S as HealthStatusModel,ie as HelpResource,ne as IndexerResource,se as InstallResource,ue as LanguageResource,R as LogLevelModel,de as LogViewerResource,me as MediaResource,pe as MediaTypeResource,le as MemberGroupResource,ce as MemberResource,ye as MemberTypeResource,he as ModelsBuilderResource,D as ModelsModeModel,ge as ObjectTypesResource,t as OpenAPI,G as OperatorModel,N as OutOfDateTypeModel,Te as PackageResource,be as PartialViewResource,Ee as ProfilingResource,ve as PropertyTypeResource,ke as PublishedCacheResource,P as PublishedStateModel,Be as RedirectManagementResource,C as RedirectStatusModel,Ie as RelationResource,qe as RelationTypeResource,O as RuntimeLevelModel,Se as ScriptResource,Re as SearcherResource,De as SecurityResource,Ge as ServerResource,Ne as StaticFileResource,f as StatusResultTypeModel,Pe as StylesheetResource,Ce as TagResource,L as TelemetryLevelModel,Oe as TelemetryResource,A as TemplateQueryPropertyTypeModel,fe as TemplateResource,Le as TemporaryFileResource,Ae as TourResource,Ue as TrackedReferenceResource,Fe as UpgradeResource,je as UserGroupResource,U as UserOrderModel,Me as UserResource,F as UserStateModel};
|
|
1
|
+
class y extends Error{url;status;statusText;body;request;constructor(e,o,i){super(i),this.name="ApiError",this.url=o.url,this.status=o.status,this.statusText=o.statusText,this.body=o.body,this.request=e}}class v extends Error{constructor(e){super(e),this.name="CancelError"}get isCancelled(){return!0}}class E{#t;#a;#e;#r;#o;#n;#i;constructor(e){this.#t=!1,this.#a=!1,this.#e=!1,this.#r=[],this.#o=new Promise((o,i)=>{this.#n=o,this.#i=i;const n=d=>{this.#t||this.#a||this.#e||(this.#t=!0,this.#n?.(d))},s=d=>{this.#t||this.#a||this.#e||(this.#a=!0,this.#i?.(d))},u=d=>{this.#t||this.#a||this.#e||this.#r.push(d)};return Object.defineProperty(u,"isResolved",{get:()=>this.#t}),Object.defineProperty(u,"isRejected",{get:()=>this.#a}),Object.defineProperty(u,"isCancelled",{get:()=>this.#e}),e(n,s,u)})}get[Symbol.toStringTag](){return"Cancellable Promise"}then(e,o){return this.#o.then(e,o)}catch(e){return this.#o.catch(e)}finally(e){return this.#o.finally(e)}cancel(){if(!(this.#t||this.#a||this.#e)){if(this.#e=!0,this.#r.length)try{for(const e of this.#r)e()}catch(e){console.warn("Cancellation threw an error",e);return}this.#r.length=0,this.#i?.(new v("Request aborted"))}}get isCancelled(){return this.#e}}const t={BASE:"",VERSION:"Latest",WITH_CREDENTIALS:!1,CREDENTIALS:"include",TOKEN:void 0,USERNAME:void 0,PASSWORD:void 0,HEADERS:void 0,ENCODE_PATH:void 0};var k=(r=>(r.NEW="New",r.SAVE="Save",r.SAVE_VARIANT="SaveVariant",r.OPEN="Open",r.DELETE="Delete",r.PUBLISH="Publish",r.PUBLISH_VARIANT="PublishVariant",r.SEND_TO_PUBLISH="SendToPublish",r.SEND_TO_PUBLISH_VARIANT="SendToPublishVariant",r.UNPUBLISH="Unpublish",r.UNPUBLISH_VARIANT="UnpublishVariant",r.MOVE="Move",r.COPY="Copy",r.ASSIGN_DOMAIN="AssignDomain",r.PUBLIC_ACCESS="PublicAccess",r.SORT="Sort",r.NOTIFY="Notify",r.SYSTEM="System",r.ROLL_BACK="RollBack",r.PACKAGER_INSTALL="PackagerInstall",r.PACKAGER_UNINSTALL="PackagerUninstall",r.CUSTOM="Custom",r.CONTENT_VERSION_PREVENT_CLEANUP="ContentVersionPreventCleanup",r.CONTENT_VERSION_ENABLE_CLEANUP="ContentVersionEnableCleanup",r))(k||{}),B=(r=>(r.NOT_CREATED="NotCreated",r.DRAFT="Draft",r.PUBLISHED="Published",r.PUBLISHED_PENDING_CHANGES="PublishedPendingChanges",r))(B||{}),q=(r=>(r.COMPOSITION="Composition",r.INHERITANCE="Inheritance",r))(q||{}),I=(r=>(r.ASCENDING="Ascending",r.DESCENDING="Descending",r))(I||{}),S=(r=>(r.HEALTHY="Healthy",r.UNHEALTHY="Unhealthy",r.REBUILDING="Rebuilding",r))(S||{}),R=(r=>(r.VERBOSE="Verbose",r.DEBUG="Debug",r.INFORMATION="Information",r.WARNING="Warning",r.ERROR="Error",r.FATAL="Fatal",r))(R||{}),D=(r=>(r.NOTHING="Nothing",r.IN_MEMORY_AUTO="InMemoryAuto",r.SOURCE_CODE_MANUAL="SourceCodeManual",r.SOURCE_CODE_AUTO="SourceCodeAuto",r))(D||{}),N=(r=>(r.EQUALS="Equals",r.NOT_EQUALS="NotEquals",r.CONTAINS="Contains",r.NOT_CONTAINS="NotContains",r.LESS_THAN="LessThan",r.LESS_THAN_EQUAL_TO="LessThanEqualTo",r.GREATER_THAN="GreaterThan",r.GREATER_THAN_EQUAL_TO="GreaterThanEqualTo",r))(N||{}),P=(r=>(r.OUT_OF_DATE="OutOfDate",r.CURRENT="Current",r.UNKNOWN="Unknown",r))(P||{}),G=(r=>(r.PUBLISHED="Published",r.UNPUBLISHED="Unpublished",r.PUBLISHING="Publishing",r.UNPUBLISHING="Unpublishing",r))(G||{}),f=(r=>(r.ENABLED="Enabled",r.DISABLED="Disabled",r))(f||{}),O=(r=>(r.UNKNOWN="Unknown",r.BOOT="Boot",r.INSTALL="Install",r.UPGRADE="Upgrade",r.RUN="Run",r.BOOT_FAILED="BootFailed",r))(O||{}),C=(r=>(r.SUCCESS="Success",r.WARNING="Warning",r.ERROR="Error",r.INFO="Info",r))(C||{}),L=(r=>(r.MINIMAL="Minimal",r.BASIC="Basic",r.DETAILED="Detailed",r))(L||{}),F=(r=>(r.STRING="String",r.DATE_TIME="DateTime",r.INTEGER="Integer",r))(F||{}),U=(r=>(r.USER_NAME="UserName",r.LANGUAGE="Language",r.NAME="Name",r.EMAIL="Email",r.ID="Id",r.CREATE_DATE="CreateDate",r.UPDATE_DATE="UpdateDate",r.IS_APPROVED="IsApproved",r.IS_LOCKED_OUT="IsLockedOut",r.LAST_LOGIN_DATE="LastLoginDate",r))(U||{}),A=(r=>(r.ACTIVE="Active",r.DISABLED="Disabled",r.LOCKED_OUT="LockedOut",r.INVITED="Invited",r.INACTIVE="Inactive",r.ALL="All",r))(A||{});const h=r=>r!=null,c=r=>typeof r=="string",g=r=>c(r)&&r!=="",T=r=>typeof r=="object"&&typeof r.type=="string"&&typeof r.stream=="function"&&typeof r.arrayBuffer=="function"&&typeof r.constructor=="function"&&typeof r.constructor.name=="string"&&/^(Blob|File)$/.test(r.constructor.name)&&/^(Blob|File)$/.test(r[Symbol.toStringTag]),M=r=>r instanceof FormData,H=r=>{try{return btoa(r)}catch{return Buffer.from(r).toString("base64")}},_=r=>{const e=[],o=(n,s)=>{e.push(`${encodeURIComponent(n)}=${encodeURIComponent(String(s))}`)},i=(n,s)=>{h(s)&&(Array.isArray(s)?s.forEach(u=>{i(n,u)}):typeof s=="object"?Object.entries(s).forEach(([u,d])=>{i(`${n}[${u}]`,d)}):o(n,s))};return Object.entries(r).forEach(([n,s])=>{i(n,s)}),e.length>0?`?${e.join("&")}`:""},V=(r,e)=>{const o=r.ENCODE_PATH||encodeURI,i=e.url.replace("{api-version}",r.VERSION).replace(/{(.*?)}/g,(s,u)=>e.path?.hasOwnProperty(u)?o(String(e.path[u])):s),n=`${r.BASE}${i}`;return e.query?`${n}${_(e.query)}`:n},x=r=>{if(r.formData){const e=new FormData,o=(i,n)=>{c(n)||T(n)?e.append(i,n):e.append(i,JSON.stringify(n))};return Object.entries(r.formData).filter(([i,n])=>h(n)).forEach(([i,n])=>{Array.isArray(n)?n.forEach(s=>o(i,s)):o(i,n)}),e}},l=async(r,e)=>typeof e=="function"?e(r):e,$=async(r,e)=>{const o=await l(e,r.TOKEN),i=await l(e,r.USERNAME),n=await l(e,r.PASSWORD),s=await l(e,r.HEADERS),u=Object.entries({Accept:"application/json",...s,...e.headers}).filter(([d,m])=>h(m)).reduce((d,[m,p])=>({...d,[m]:String(p)}),{});if(g(o)&&(u.Authorization=`Bearer ${o}`),g(i)&&g(n)){const d=H(`${i}:${n}`);u.Authorization=`Basic ${d}`}return e.body&&(e.mediaType?u["Content-Type"]=e.mediaType:T(e.body)?u["Content-Type"]=e.body.type||"application/octet-stream":c(e.body)?u["Content-Type"]="text/plain":M(e.body)||(u["Content-Type"]="application/json")),new Headers(u)},z=r=>{if(r.body!==void 0)return r.mediaType?.includes("/json")?JSON.stringify(r.body):c(r.body)||T(r.body)||M(r.body)?r.body:JSON.stringify(r.body)},W=async(r,e,o,i,n,s,u)=>{const d=new AbortController,m={headers:s,body:i??n,method:e.method,signal:d.signal};return r.WITH_CREDENTIALS&&(m.credentials=r.CREDENTIALS),u(()=>d.abort()),await fetch(o,m)},K=(r,e)=>{if(e){const o=r.headers.get(e);if(c(o))return o}},Q=async r=>{if(r.status!==204)try{const e=r.headers.get("Content-Type");if(e)return["application/json","application/problem+json"].some(o=>e.toLowerCase().startsWith(o))?await r.json():await r.text()}catch(e){console.error(e)}},Y=(r,e)=>{const o={400:"Bad Request",401:"Unauthorized",403:"Forbidden",404:"Not Found",500:"Internal Server Error",502:"Bad Gateway",503:"Service Unavailable",...r.errors}[e.status];if(o)throw new y(r,e,o);if(!e.ok){const i=e.status??"unknown",n=e.statusText??"unknown",s=(()=>{try{return JSON.stringify(e.body,null,2)}catch{return}})();throw new y(r,e,`Generic Error: status: ${i}; status text: ${n}; body: ${s}`)}},a=(r,e)=>new E(async(o,i,n)=>{try{const s=V(r,e),u=x(e),d=z(e),m=await $(r,e);if(!n.isCancelled){const p=await W(r,e,s,d,u,m,n),j=await Q(p),w=K(p,e.responseHeader),b={url:s,ok:p.ok,status:p.status,statusText:p.statusText,body:w??j};Y(e,b),o(b.body)}}catch(s){i(s)}});class J{static getAuditLog({orderDirection:e,sinceDate:o,skip:i,take:n=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/audit-log",query:{orderDirection:e,sinceDate:o,skip:i,take:n}})}static getAuditLogById({id:e,orderDirection:o,sinceDate:i,skip:n,take:s=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/audit-log/{id}",path:{id:e},query:{orderDirection:o,sinceDate:i,skip:n,take:s}})}static getAuditLogTypeByLogType({logType:e,sinceDate:o,skip:i,take:n=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/audit-log/type/{logType}",path:{logType:e},query:{sinceDate:o,skip:i,take:n}})}}class X{static getCulture({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/culture",query:{skip:e,take:o}})}}class Z{static postDataType({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/data-type",body:e,mediaType:"application/json",responseHeader:"Location",errors:{400:"Bad Request",404:"Not Found"}})}static getDataTypeById({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/data-type/{id}",path:{id:e},errors:{404:"Not Found"}})}static deleteDataTypeById({id:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/data-type/{id}",path:{id:e},errors:{400:"Bad Request",404:"Not Found"}})}static putDataTypeById({id:e,requestBody:o}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/data-type/{id}",path:{id:e},body:o,mediaType:"application/json",errors:{400:"Bad Request",404:"Not Found"}})}static postDataTypeByIdCopy({id:e,requestBody:o}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/data-type/{id}/copy",path:{id:e},body:o,mediaType:"application/json",responseHeader:"Location",errors:{404:"Not Found"}})}static getDataTypeByIdIsUsed({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/data-type/{id}/is-used",path:{id:e},errors:{404:"Not Found"}})}static postDataTypeByIdMove({id:e,requestBody:o}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/data-type/{id}/move",path:{id:e},body:o,mediaType:"application/json",errors:{404:"Not Found"}})}static getDataTypeByIdReferences({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/data-type/{id}/references",path:{id:e},errors:{404:"Not Found"}})}static postDataTypeFolder({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/data-type/folder",body:e,mediaType:"application/json",responseHeader:"Location",errors:{400:"Bad Request",404:"Not Found"}})}static getDataTypeFolderById({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/data-type/folder/{id}",path:{id:e},errors:{404:"Not Found"}})}static deleteDataTypeFolderById({id:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/data-type/folder/{id}",path:{id:e},errors:{400:"Bad Request",404:"Not Found"}})}static putDataTypeFolderById({id:e,requestBody:o}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/data-type/folder/{id}",path:{id:e},body:o,mediaType:"application/json",errors:{400:"Bad Request",404:"Not Found"}})}static getDataTypeItem({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/data-type/item",query:{id:e}})}static getDataTypeItemByAlias({alias:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/data-type/item/{alias}",path:{alias:e}})}static getTreeDataTypeChildren({parentId:e,skip:o,take:i=100,foldersOnly:n=!1}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/data-type/children",query:{parentId:e,skip:o,take:i,foldersOnly:n}})}static getTreeDataTypeRoot({skip:e,take:o=100,foldersOnly:i=!1}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/data-type/root",query:{skip:e,take:o,foldersOnly:i}})}}class ee{static getDictionary({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/dictionary",query:{skip:e,take:o}})}static postDictionary({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/dictionary",body:e,mediaType:"application/json",responseHeader:"Location",errors:{400:"Bad Request",404:"Not Found",409:"Conflict"}})}static getDictionaryById({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/dictionary/{id}",path:{id:e},errors:{404:"Not Found"}})}static deleteDictionaryById({id:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/dictionary/{id}",path:{id:e},errors:{400:"Bad Request",404:"Not Found"}})}static putDictionaryById({id:e,requestBody:o}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/dictionary/{id}",path:{id:e},body:o,mediaType:"application/json",errors:{400:"Bad Request",404:"Not Found"}})}static getDictionaryByIdExport({id:e,includeChildren:o=!1}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/dictionary/{id}/export",path:{id:e},query:{includeChildren:o},errors:{404:"Not Found"}})}static postDictionaryByIdMove({id:e,requestBody:o}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/dictionary/{id}/move",path:{id:e},body:o,mediaType:"application/json",errors:{400:"Bad Request",404:"Not Found"}})}static postDictionaryImport({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/dictionary/import",body:e,mediaType:"application/json",responseHeader:"Location",errors:{400:"Bad Request",404:"Not Found"}})}static getDictionaryItem({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/dictionary/item",query:{id:e}})}static getTreeDictionaryChildren({parentId:e,skip:o,take:i=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/dictionary/children",query:{parentId:e,skip:o,take:i}})}static getTreeDictionaryRoot({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/dictionary/root",query:{skip:e,take:o}})}}class te{static postDocument({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/document",body:e,mediaType:"application/json",responseHeader:"Location",errors:{404:"Not Found"}})}static getDocumentById({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/document/{id}",path:{id:e},errors:{404:"Not Found"}})}static putDocumentById({id:e,requestBody:o}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/document/{id}",path:{id:e},body:o,mediaType:"application/json",errors:{404:"Not Found"}})}static postDocumentByIdCopy({id:e,requestBody:o}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/document/{id}/copy",path:{id:e},body:o,mediaType:"application/json",responseHeader:"Location",errors:{404:"Not Found"}})}static getDocumentByIdDomains({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/document/{id}/domains",path:{id:e},errors:{404:"Not Found"}})}static putDocumentByIdDomains({id:e,requestBody:o}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/document/{id}/domains",path:{id:e},body:o,mediaType:"application/json"})}static putDocumentByIdMove({id:e,requestBody:o}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/document/{id}/move",path:{id:e},body:o,mediaType:"application/json",errors:{404:"Not Found"}})}static putDocumentByIdMoveToRecycleBin({id:e}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/document/{id}/move-to-recycle-bin",path:{id:e},errors:{400:"Bad Request",404:"Not Found"}})}static getDocumentByIdNotifications({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/document/{id}/notifications",path:{id:e},errors:{404:"Not Found"}})}static putDocumentByIdNotifications({id:e,requestBody:o}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/document/{id}/notifications",path:{id:e},body:o,mediaType:"application/json",errors:{404:"Not Found"}})}static postDocumentByIdPublicAccess({id:e,requestBody:o}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/document/{id}/public-access",path:{id:e},body:o,mediaType:"application/json",responseHeader:"Location",errors:{404:"Not Found"}})}static deleteDocumentByIdPublicAccess({id:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/document/{id}/public-access",path:{id:e},errors:{404:"Not Found"}})}static getDocumentByIdPublicAccess({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/document/{id}/public-access",path:{id:e},errors:{404:"Not Found"}})}static putDocumentByIdPublicAccess({id:e,requestBody:o}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/document/{id}/public-access",path:{id:e},body:o,mediaType:"application/json",errors:{404:"Not Found"}})}static getDocumentAllowedDocumentTypes({parentId:e,skip:o,take:i=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/document/allowed-document-types",query:{parentId:e,skip:o,take:i},errors:{404:"Not Found"}})}static getDocumentItem({id:e,dataTypeId:o,culture:i}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/document/item",query:{id:e,dataTypeId:o,culture:i}})}static putDocumentSort({requestBody:e}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/document/sort",body:e,mediaType:"application/json",errors:{400:"Bad Request",404:"Not Found"}})}static getRecycleBinDocumentChildren({parentId:e,skip:o,take:i=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/recycle-bin/document/children",query:{parentId:e,skip:o,take:i},errors:{401:"Unauthorized"}})}static getRecycleBinDocumentRoot({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/recycle-bin/document/root",query:{skip:e,take:o},errors:{401:"Unauthorized"}})}static getTreeDocumentChildren({parentId:e,skip:o,take:i=100,dataTypeId:n,culture:s}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/document/children",query:{parentId:e,skip:o,take:i,dataTypeId:n,culture:s}})}static getTreeDocumentRoot({skip:e,take:o=100,dataTypeId:i,culture:n}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/document/root",query:{skip:e,take:o,dataTypeId:i,culture:n}})}}class ae{static getDocumentBlueprintItem({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/document-blueprint/item",query:{id:e}})}static getTreeDocumentBlueprintRoot({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/document-blueprint/root",query:{skip:e,take:o}})}}class re{static postDocumentType({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/document-type",body:e,mediaType:"application/json",responseHeader:"Location",errors:{400:"Bad Request",404:"Not Found"}})}static getDocumentTypeById({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/document-type/{id}",path:{id:e},errors:{404:"Not Found"}})}static deleteDocumentTypeById({id:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/document-type/{id}",path:{id:e},errors:{404:"Not Found"}})}static putDocumentTypeById({id:e,requestBody:o}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/document-type/{id}",path:{id:e},body:o,mediaType:"application/json",errors:{400:"Bad Request",404:"Not Found"}})}static postDocumentTypeFolder({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/document-type/folder",body:e,mediaType:"application/json",responseHeader:"Location",errors:{400:"Bad Request",404:"Not Found"}})}static getDocumentTypeFolderById({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/document-type/folder/{id}",path:{id:e},errors:{404:"Not Found"}})}static deleteDocumentTypeFolderById({id:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/document-type/folder/{id}",path:{id:e},errors:{400:"Bad Request",404:"Not Found"}})}static putDocumentTypeFolderById({id:e,requestBody:o}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/document-type/folder/{id}",path:{id:e},body:o,mediaType:"application/json",errors:{400:"Bad Request",404:"Not Found"}})}static getDocumentTypeItem({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/document-type/item",query:{id:e}})}static getTreeDocumentTypeChildren({parentId:e,skip:o,take:i=100,foldersOnly:n=!1}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/document-type/children",query:{parentId:e,skip:o,take:i,foldersOnly:n}})}static getTreeDocumentTypeRoot({skip:e,take:o=100,foldersOnly:i=!1}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/document-type/root",query:{skip:e,take:o,foldersOnly:i}})}}class oe{static getHealthCheckGroup({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/health-check-group",query:{skip:e,take:o}})}static getHealthCheckGroupByName({name:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/health-check-group/{name}",path:{name:e},errors:{404:"Not Found"}})}static postHealthCheckGroupByNameCheck({name:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/health-check-group/{name}/check",path:{name:e},errors:{404:"Not Found"}})}static postHealthCheckExecuteAction({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/health-check/execute-action",body:e,mediaType:"application/json",errors:{400:"Bad Request"}})}}class ie{static getHelp({section:e,tree:o,skip:i,take:n=100,baseUrl:s="https://our.umbraco.com"}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/help",query:{section:e,tree:o,skip:i,take:n,baseUrl:s},errors:{400:"Bad Request"}})}}class ne{static getIndexer({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/indexer",query:{skip:e,take:o}})}static getIndexerByIndexName({indexName:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/indexer/{indexName}",path:{indexName:e},errors:{400:"Bad Request"}})}static postIndexerByIndexNameRebuild({indexName:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/indexer/{indexName}/rebuild",path:{indexName:e},errors:{400:"Bad Request",404:"Not Found",409:"Conflict"}})}}class se{static getInstallSettings(){return a(t,{method:"GET",url:"/umbraco/management/api/v1/install/settings",errors:{400:"Bad Request",428:"Client Error"}})}static postInstallSetup({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/install/setup",body:e,mediaType:"application/json",errors:{400:"Bad Request",428:"Client Error"}})}static postInstallValidateDatabase({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/install/validate-database",body:e,mediaType:"application/json",errors:{400:"Bad Request"}})}}class ue{static getLanguage({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/language",query:{skip:e,take:o}})}static postLanguage({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/language",body:e,mediaType:"application/json",responseHeader:"Location",errors:{400:"Bad Request",404:"Not Found"}})}static getLanguageByIsoCode({isoCode:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/language/{isoCode}",path:{isoCode:e},errors:{404:"Not Found"}})}static deleteLanguageByIsoCode({isoCode:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/language/{isoCode}",path:{isoCode:e},errors:{400:"Bad Request",404:"Not Found"}})}static putLanguageByIsoCode({isoCode:e,requestBody:o}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/language/{isoCode}",path:{isoCode:e},body:o,mediaType:"application/json",errors:{400:"Bad Request",404:"Not Found"}})}static getLanguageItem({isoCode:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/language/item",query:{isoCode:e}})}}class de{static getLogViewerLevel({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/log-viewer/level",query:{skip:e,take:o}})}static getLogViewerLevelCount({startDate:e,endDate:o}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/log-viewer/level-count",query:{startDate:e,endDate:o},errors:{400:"Bad Request"}})}static getLogViewerLog({skip:e,take:o=100,orderDirection:i,filterExpression:n,logLevel:s,startDate:u,endDate:d}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/log-viewer/log",query:{skip:e,take:o,orderDirection:i,filterExpression:n,logLevel:s,startDate:u,endDate:d}})}static getLogViewerMessageTemplate({skip:e,take:o=100,startDate:i,endDate:n}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/log-viewer/message-template",query:{skip:e,take:o,startDate:i,endDate:n},errors:{400:"Bad Request"}})}static getLogViewerSavedSearch({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/log-viewer/saved-search",query:{skip:e,take:o}})}static postLogViewerSavedSearch({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/log-viewer/saved-search",body:e,mediaType:"application/json",responseHeader:"Location",errors:{400:"Bad Request"}})}static getLogViewerSavedSearchByName({name:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/log-viewer/saved-search/{name}",path:{name:e},errors:{404:"Not Found"}})}static deleteLogViewerSavedSearchByName({name:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/log-viewer/saved-search/{name}",path:{name:e},errors:{404:"Not Found"}})}static getLogViewerValidateLogsSize({startDate:e,endDate:o}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/log-viewer/validate-logs-size",query:{startDate:e,endDate:o},errors:{400:"Bad Request"}})}}class me{static postMedia({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/media",body:e,mediaType:"application/json",responseHeader:"Location",errors:{404:"Not Found"}})}static getMediaById({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/media/{id}",path:{id:e},errors:{404:"Not Found"}})}static putMediaById({id:e,requestBody:o}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/media/{id}",path:{id:e},body:o,mediaType:"application/json",errors:{404:"Not Found"}})}static putMediaByIdMove({id:e,requestBody:o}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/media/{id}/move",path:{id:e},body:o,mediaType:"application/json",errors:{404:"Not Found"}})}static putMediaByIdMoveToRecycleBin({id:e}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/media/{id}/move-to-recycle-bin",path:{id:e},errors:{400:"Bad Request",404:"Not Found"}})}static getMediaItem({id:e,dataTypeId:o}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/media/item",query:{id:e,dataTypeId:o}})}static putMediaSort({requestBody:e}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/media/sort",body:e,mediaType:"application/json",errors:{400:"Bad Request",404:"Not Found"}})}static getRecycleBinMediaChildren({parentId:e,skip:o,take:i=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/recycle-bin/media/children",query:{parentId:e,skip:o,take:i},errors:{401:"Unauthorized"}})}static getRecycleBinMediaRoot({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/recycle-bin/media/root",query:{skip:e,take:o},errors:{401:"Unauthorized"}})}static getTreeMediaChildren({parentId:e,skip:o,take:i=100,dataTypeId:n}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/media/children",query:{parentId:e,skip:o,take:i,dataTypeId:n}})}static getTreeMediaItem({id:e,dataTypeId:o}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/media/item",query:{id:e,dataTypeId:o}})}static getTreeMediaRoot({skip:e,take:o=100,dataTypeId:i}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/media/root",query:{skip:e,take:o,dataTypeId:i}})}}class pe{static postMediaType({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/media-type",body:e,mediaType:"application/json",responseHeader:"Location",errors:{400:"Bad Request",404:"Not Found"}})}static getMediaTypeById({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/media-type/{id}",path:{id:e},errors:{404:"Not Found"}})}static deleteMediaTypeById({id:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/media-type/{id}",path:{id:e},errors:{404:"Not Found"}})}static putMediaTypeById({id:e,requestBody:o}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/media-type/{id}",path:{id:e},body:o,mediaType:"application/json",errors:{400:"Bad Request",404:"Not Found"}})}static postMediaTypeFolder({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/media-type/folder",body:e,mediaType:"application/json",responseHeader:"Location",errors:{400:"Bad Request",404:"Not Found"}})}static getMediaTypeFolderById({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/media-type/folder/{id}",path:{id:e},errors:{404:"Not Found"}})}static deleteMediaTypeFolderById({id:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/media-type/folder/{id}",path:{id:e},errors:{400:"Bad Request",404:"Not Found"}})}static putMediaTypeFolderById({id:e,requestBody:o}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/media-type/folder/{id}",path:{id:e},body:o,mediaType:"application/json",errors:{400:"Bad Request",404:"Not Found"}})}static getMediaTypeItem({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/media-type/item",query:{id:e}})}static getTreeMediaTypeChildren({parentId:e,skip:o,take:i=100,foldersOnly:n=!1}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/media-type/children",query:{parentId:e,skip:o,take:i,foldersOnly:n}})}static getTreeMediaTypeRoot({skip:e,take:o=100,foldersOnly:i=!1}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/media-type/root",query:{skip:e,take:o,foldersOnly:i}})}}class ce{static getMemberItem({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/member/item",query:{id:e}})}}class le{static getMemberGroupItem({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/member-group/item",query:{id:e}})}static getTreeMemberGroupRoot({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/member-group/root",query:{skip:e,take:o}})}}class ye{static getMemberTypeItem({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/member-type/item",query:{id:e}})}static getTreeMemberTypeRoot({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/member-type/root",query:{skip:e,take:o}})}}class he{static postModelsBuilderBuild(){return a(t,{method:"POST",url:"/umbraco/management/api/v1/models-builder/build",errors:{428:"Client Error"}})}static getModelsBuilderDashboard(){return a(t,{method:"GET",url:"/umbraco/management/api/v1/models-builder/dashboard"})}static getModelsBuilderStatus(){return a(t,{method:"GET",url:"/umbraco/management/api/v1/models-builder/status"})}}class ge{static getObjectTypes({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/object-types",query:{skip:e,take:o}})}}class Te{static postPackageByNameRunMigration({name:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/package/{name}/run-migration",path:{name:e},errors:{404:"Not Found",409:"Conflict"}})}static getPackageCreated({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/package/created",query:{skip:e,take:o}})}static postPackageCreated({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/package/created",body:e,mediaType:"application/json",responseHeader:"Location",errors:{400:"Bad Request",404:"Not Found"}})}static getPackageCreatedById({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/package/created/{id}",path:{id:e},errors:{404:"Not Found"}})}static deletePackageCreatedById({id:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/package/created/{id}",path:{id:e},errors:{404:"Not Found"}})}static putPackageCreatedById({id:e,requestBody:o}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/package/created/{id}",path:{id:e},body:o,mediaType:"application/json",errors:{404:"Not Found"}})}static getPackageCreatedByIdDownload({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/package/created/{id}/download",path:{id:e},errors:{404:"Not Found"}})}static getPackageManifest(){return a(t,{method:"GET",url:"/umbraco/management/api/v1/package/manifest"})}static getPackageMigrationStatus({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/package/migration-status",query:{skip:e,take:o}})}}class be{static getPartialView({path:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/partial-view",query:{path:e}})}static postPartialView({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/partial-view",body:e,mediaType:"application/json",responseHeader:"Location"})}static deletePartialView({path:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/partial-view",query:{path:e}})}static putPartialView({requestBody:e}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/partial-view",body:e,mediaType:"application/json"})}static getPartialViewFolder({path:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/partial-view/folder",query:{path:e}})}static postPartialViewFolder({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/partial-view/folder",body:e,mediaType:"application/json"})}static deletePartialViewFolder({path:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/partial-view/folder",query:{path:e}})}static getPartialViewItem({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/partial-view/item",query:{id:e}})}static getPartialViewSnippet({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/partial-view/snippet",query:{skip:e,take:o}})}static getPartialViewSnippetByName({name:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/partial-view/snippet/{name}",path:{name:e},errors:{404:"Not Found"}})}static getTreePartialViewChildren({path:e,skip:o,take:i=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/partial-view/children",query:{path:e,skip:o,take:i}})}static getTreePartialViewRoot({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/partial-view/root",query:{skip:e,take:o}})}}class ve{static getProfilingStatus(){return a(t,{method:"GET",url:"/umbraco/management/api/v1/profiling/status"})}static putProfilingStatus({requestBody:e}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/profiling/status",body:e,mediaType:"application/json"})}}class Ee{static getPropertyTypeIsUsed({contentTypeId:e,propertyAlias:o}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/property-type/is-used",query:{contentTypeId:e,propertyAlias:o},errors:{400:"Bad Request"}})}}class ke{static postPublishedCacheCollect(){return a(t,{method:"POST",url:"/umbraco/management/api/v1/published-cache/collect"})}static postPublishedCacheRebuild(){return a(t,{method:"POST",url:"/umbraco/management/api/v1/published-cache/rebuild"})}static postPublishedCacheReload(){return a(t,{method:"POST",url:"/umbraco/management/api/v1/published-cache/reload"})}static getPublishedCacheStatus(){return a(t,{method:"GET",url:"/umbraco/management/api/v1/published-cache/status"})}}class Be{static getRedirectManagement({filter:e,skip:o,take:i=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/redirect-management",query:{filter:e,skip:o,take:i},errors:{400:"Bad Request"}})}static getRedirectManagementById({id:e,skip:o,take:i=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/redirect-management/{id}",path:{id:e},query:{skip:o,take:i}})}static deleteRedirectManagementById({id:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/redirect-management/{id}",path:{id:e}})}static getRedirectManagementStatus(){return a(t,{method:"GET",url:"/umbraco/management/api/v1/redirect-management/status"})}static postRedirectManagementStatus({status:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/redirect-management/status",query:{status:e}})}}class qe{static getRelationChildRelationByChildId({childId:e,skip:o,take:i=100,relationTypeAlias:n=""}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/relation/child-relation/{childId}",path:{childId:e},query:{skip:o,take:i,relationTypeAlias:n}})}static getRelationTypeById({id:e,skip:o,take:i=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/relation/type/{id}",path:{id:e},query:{skip:o,take:i},errors:{404:"Not Found"}})}}class Ie{static postRelationType({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/relation-type",body:e,mediaType:"application/json",responseHeader:"Location",errors:{400:"Bad Request"}})}static getRelationTypeById({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/relation-type/{id}",path:{id:e},errors:{404:"Not Found"}})}static deleteRelationTypeById({id:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/relation-type/{id}",path:{id:e},errors:{404:"Not Found"}})}static putRelationTypeById({id:e,requestBody:o}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/relation-type/{id}",path:{id:e},body:o,mediaType:"application/json",errors:{400:"Bad Request",404:"Not Found"}})}static getRelationTypeItem({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/relation-type/item",query:{id:e}})}static getTreeRelationTypeRoot({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/relation-type/root",query:{skip:e,take:o}})}}class Se{static getScript({path:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/script",query:{path:e}})}static postScript({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/script",body:e,mediaType:"application/json",responseHeader:"Location"})}static deleteScript({path:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/script",query:{path:e}})}static putScript({requestBody:e}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/script",body:e,mediaType:"application/json"})}static getScriptFolder({path:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/script/folder",query:{path:e}})}static postScriptFolder({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/script/folder",body:e,mediaType:"application/json"})}static deleteScriptFolder({path:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/script/folder",query:{path:e}})}static getScriptItem({path:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/script/item",query:{path:e}})}static getTreeScriptChildren({path:e,skip:o,take:i=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/script/children",query:{path:e,skip:o,take:i}})}static getTreeScriptRoot({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/script/root",query:{skip:e,take:o}})}}class Re{static getSearcher({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/searcher",query:{skip:e,take:o}})}static getSearcherBySearcherNameQuery({searcherName:e,term:o,skip:i,take:n=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/searcher/{searcherName}/query",path:{searcherName:e},query:{term:o,skip:i,take:n},errors:{404:"Not Found"}})}}class De{static getSecurityBackOfficeAuthorize(){return a(t,{method:"GET",url:"/umbraco/management/api/v1/security/back-office/authorize"})}static postSecurityBackOfficeLogin({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/security/back-office/login",body:e,mediaType:"application/json"})}static postSecurityForgotPassword({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/security/forgot-password",body:e,mediaType:"application/json",errors:{400:"Bad Request"}})}static postSecurityForgotPasswordReset({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/security/forgot-password/reset",body:e,mediaType:"application/json",errors:{400:"Bad Request",404:"Not Found"}})}static postSecurityForgotPasswordVerify({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/security/forgot-password/verify",body:e,mediaType:"application/json",errors:{400:"Bad Request",404:"Not Found"}})}}class Ne{static getServerStatus(){return a(t,{method:"GET",url:"/umbraco/management/api/v1/server/status",errors:{400:"Bad Request"}})}static getServerVersion(){return a(t,{method:"GET",url:"/umbraco/management/api/v1/server/version",errors:{400:"Bad Request"}})}}class Pe{static getStaticFileItem({path:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/static-file/item",query:{path:e}})}static getTreeStaticFileChildren({path:e,skip:o,take:i=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/static-file/children",query:{path:e,skip:o,take:i}})}static getTreeStaticFileRoot({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/static-file/root",query:{skip:e,take:o}})}}class Ge{static getStylesheet({path:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/stylesheet",query:{path:e}})}static postStylesheet({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/stylesheet",body:e,mediaType:"application/json",responseHeader:"Location"})}static deleteStylesheet({path:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/stylesheet",query:{path:e}})}static putStylesheet({requestBody:e}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/stylesheet",body:e,mediaType:"application/json"})}static getStylesheetAll({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/stylesheet/all",query:{skip:e,take:o}})}static getStylesheetFolder({path:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/stylesheet/folder",query:{path:e}})}static postStylesheetFolder({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/stylesheet/folder",body:e,mediaType:"application/json"})}static deleteStylesheetFolder({path:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/stylesheet/folder",query:{path:e}})}static getStylesheetItem({path:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/stylesheet/item",query:{path:e}})}static postStylesheetRichTextExtractRules({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/stylesheet/rich-text/extract-rules",body:e,mediaType:"application/json"})}static postStylesheetRichTextInterpolateRules({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/stylesheet/rich-text/interpolate-rules",body:e,mediaType:"application/json"})}static getStylesheetRichTextRules({path:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/stylesheet/rich-text/rules",query:{path:e}})}static getTreeStylesheetChildren({path:e,skip:o,take:i=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/stylesheet/children",query:{path:e,skip:o,take:i}})}static getTreeStylesheetRoot({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/stylesheet/root",query:{skip:e,take:o}})}}class fe{static getTag({query:e,tagGroup:o,culture:i,skip:n,take:s=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tag",query:{query:e,tagGroup:o,culture:i,skip:n,take:s}})}}class Oe{static getTelemetry({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/telemetry",query:{skip:e,take:o}})}static getTelemetryLevel(){return a(t,{method:"GET",url:"/umbraco/management/api/v1/telemetry/level"})}static postTelemetryLevel({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/telemetry/level",body:e,mediaType:"application/json",errors:{400:"Bad Request"}})}}class Ce{static postTemplate({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/template",body:e,mediaType:"application/json",responseHeader:"Location",errors:{400:"Bad Request",404:"Not Found"}})}static getTemplateById({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/template/{id}",path:{id:e},errors:{404:"Not Found"}})}static deleteTemplateById({id:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/template/{id}",path:{id:e},errors:{400:"Bad Request",404:"Not Found"}})}static putTemplateById({id:e,requestBody:o}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/template/{id}",path:{id:e},body:o,mediaType:"application/json",errors:{400:"Bad Request",404:"Not Found"}})}static getTemplateItem({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/template/item",query:{id:e}})}static postTemplateQueryExecute({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/template/query/execute",body:e,mediaType:"application/json"})}static getTemplateQuerySettings(){return a(t,{method:"GET",url:"/umbraco/management/api/v1/template/query/settings"})}static getTemplateScaffold({masterTemplateId:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/template/scaffold",query:{masterTemplateId:e},errors:{404:"Not Found"}})}static getTreeTemplateChildren({parentId:e,skip:o,take:i=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/template/children",query:{parentId:e,skip:o,take:i}})}static getTreeTemplateRoot({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/template/root",query:{skip:e,take:o}})}}class Le{static postTemporaryfile({formData:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/temporaryfile",formData:e,mediaType:"multipart/form-data",responseHeader:"Location",errors:{400:"Bad Request"}})}static getTemporaryfileById({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/temporaryfile/{id}",path:{id:e},errors:{400:"Bad Request",404:"Not Found"}})}static deleteTemporaryfileById({id:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/temporaryfile/{id}",path:{id:e},errors:{400:"Bad Request",404:"Not Found"}})}}class Fe{static getTour(){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tour"})}static postTour({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/tour",body:e,mediaType:"application/json"})}}class Ue{static getTrackedReferenceById({id:e,skip:o,take:i=20,filterMustBeIsDependency:n=!1}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tracked-reference/{id}",path:{id:e},query:{skip:o,take:i,filterMustBeIsDependency:n}})}static getTrackedReferenceDescendantsByParentId({parentId:e,skip:o,take:i=20,filterMustBeIsDependency:n=!0}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tracked-reference/descendants/{parentId}",path:{parentId:e},query:{skip:o,take:i,filterMustBeIsDependency:n}})}static getTrackedReferenceItem({id:e,skip:o,take:i=20,filterMustBeIsDependency:n=!0}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tracked-reference/item",query:{id:e,skip:o,take:i,filterMustBeIsDependency:n}})}}class Ae{static postUpgradeAuthorize(){return a(t,{method:"POST",url:"/umbraco/management/api/v1/upgrade/authorize",errors:{428:"Client Error",500:"Server Error"}})}static getUpgradeSettings(){return a(t,{method:"GET",url:"/umbraco/management/api/v1/upgrade/settings",errors:{428:"Client Error"}})}}class Me{static postUser({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/user",body:e,mediaType:"application/json",errors:{400:"Bad Request"}})}static deleteUser({requestBody:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/user",body:e,mediaType:"application/json",errors:{400:"Bad Request"}})}static getUser({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/user",query:{skip:e,take:o}})}static getUserById({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/user/{id}",path:{id:e},errors:{404:"Not Found"}})}static deleteUserById({id:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/user/{id}",path:{id:e}})}static putUserById({id:e,requestBody:o}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/user/{id}",path:{id:e},body:o,mediaType:"application/json"})}static deleteUserAvatarById({id:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/user/avatar/{id}",path:{id:e}})}static postUserAvatarById({id:e,requestBody:o}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/user/avatar/{id}",path:{id:e},body:o,mediaType:"application/json",errors:{400:"Bad Request"}})}static postUserChangePasswordById({id:e,requestBody:o}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/user/change-password/{id}",path:{id:e},body:o,mediaType:"application/json"})}static getUserCurrent(){return a(t,{method:"GET",url:"/umbraco/management/api/v1/user/current"})}static postUserCurrentAvatar({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/user/current/avatar",body:e,mediaType:"application/json"})}static postUserCurrentChangePassword({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/user/current/change-password",body:e,mediaType:"application/json"})}static getUserCurrentData(){return a(t,{method:"GET",url:"/umbraco/management/api/v1/user/current/data"})}static getUserCurrentLogins(){return a(t,{method:"GET",url:"/umbraco/management/api/v1/user/current/logins"})}static getUserCurrentPermissions({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/user/current/permissions",query:{id:e}})}static getUserCurrentPermissionsDocument({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/user/current/permissions/document",query:{id:e}})}static getUserCurrentPermissionsMedia({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/user/current/permissions/media",query:{id:e}})}static postUserDisable({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/user/disable",body:e,mediaType:"application/json",errors:{400:"Bad Request"}})}static postUserEnable({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/user/enable",body:e,mediaType:"application/json",errors:{400:"Bad Request"}})}static getUserFilter({skip:e,take:o=100,orderBy:i,orderDirection:n,userGroupIds:s,userStates:u,filter:d=""}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/user/filter",query:{skip:e,take:o,orderBy:i,orderDirection:n,userGroupIds:s,userStates:u,filter:d}})}static postUserInvite({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/user/invite",body:e,mediaType:"application/json",responseHeader:"Location"})}static postUserInviteCreatePassword({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/user/invite/create-password",body:e,mediaType:"application/json",errors:{404:"Not Found"}})}static postUserInviteVerify({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/user/invite/verify",body:e,mediaType:"application/json",errors:{404:"Not Found"}})}static getUserItem({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/user/item",query:{id:e}})}static postUserSetUserGroups({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/user/set-user-groups",body:e,mediaType:"application/json"})}static postUserUnlock({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/user/unlock",body:e,mediaType:"application/json",errors:{400:"Bad Request"}})}}class je{static deleteUserGroup({requestBody:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/user-group",body:e,mediaType:"application/json",errors:{404:"Not Found"}})}static postUserGroup({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/user-group",body:e,mediaType:"application/json",responseHeader:"Location",errors:{400:"Bad Request"}})}static getUserGroup({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/user-group",query:{skip:e,take:o}})}static getUserGroupById({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/user-group/{id}",path:{id:e},errors:{404:"Not Found"}})}static deleteUserGroupById({id:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/user-group/{id}",path:{id:e},errors:{404:"Not Found"}})}static putUserGroupById({id:e,requestBody:o}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/user-group/{id}",path:{id:e},body:o,mediaType:"application/json",errors:{404:"Not Found"}})}static getUserGroupItem({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/user-group/item",query:{id:e}})}}export{y as ApiError,J as AuditLogResource,k as AuditTypeModel,v as CancelError,E as CancelablePromise,B as ContentStateModel,q as ContentTypeCompositionTypeModel,X as CultureResource,Z as DataTypeResource,ee as DictionaryResource,I as DirectionModel,ae as DocumentBlueprintResource,te as DocumentResource,re as DocumentTypeResource,oe as HealthCheckResource,S as HealthStatusModel,ie as HelpResource,ne as IndexerResource,se as InstallResource,ue as LanguageResource,R as LogLevelModel,de as LogViewerResource,me as MediaResource,pe as MediaTypeResource,le as MemberGroupResource,ce as MemberResource,ye as MemberTypeResource,he as ModelsBuilderResource,D as ModelsModeModel,ge as ObjectTypesResource,t as OpenAPI,N as OperatorModel,P as OutOfDateTypeModel,Te as PackageResource,be as PartialViewResource,ve as ProfilingResource,Ee as PropertyTypeResource,ke as PublishedCacheResource,G as PublishedStateModel,Be as RedirectManagementResource,f as RedirectStatusModel,qe as RelationResource,Ie as RelationTypeResource,O as RuntimeLevelModel,Se as ScriptResource,Re as SearcherResource,De as SecurityResource,Ne as ServerResource,Pe as StaticFileResource,C as StatusResultTypeModel,Ge as StylesheetResource,fe as TagResource,L as TelemetryLevelModel,Oe as TelemetryResource,F as TemplateQueryPropertyTypeModel,Ce as TemplateResource,Le as TemporaryFileResource,Fe as TourResource,Ue as TrackedReferenceResource,Ae as UpgradeResource,je as UserGroupResource,U as UserOrderModel,Me as UserResource,A as UserStateModel};
|