@umbraco-cms/backoffice 14.0.0-c26a40c4 → 14.0.0-c5787966
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/apps/app/app.element.d.ts +0 -11
- package/dist-cms/apps/app/app.element.js +3 -16
- package/dist-cms/assets/lang/da-dk.d.ts +1 -1
- package/dist-cms/assets/lang/da-dk.ts +1 -1
- package/dist-cms/assets/lang/en-us.d.ts +1 -1
- package/dist-cms/assets/lang/en-us.ts +1 -1
- package/dist-cms/css/uui-css.css +13 -5
- package/dist-cms/custom-elements.json +14 -13
- package/dist-cms/external/backend-api/index.js +1 -1
- package/dist-cms/external/lit/index.js +27 -27
- package/dist-cms/external/monaco-editor/{abap-7ad4f8f0.js → abap-b029dff1.js} +1 -1
- package/dist-cms/external/monaco-editor/{apex-30597c49.js → apex-039bfc5f.js} +1 -1
- package/dist-cms/external/monaco-editor/assets/{bundle-a4f90d1d.css → bundle-b9e43664.css} +25 -13
- package/dist-cms/external/monaco-editor/{azcli-67c34a04.js → azcli-f1f7c576.js} +1 -1
- package/dist-cms/external/monaco-editor/{bat-b8f4738b.js → bat-86aea46a.js} +1 -1
- package/dist-cms/external/monaco-editor/{bicep-b104b38b.js → bicep-75c0c4d5.js} +1 -1
- package/dist-cms/external/monaco-editor/{cameligo-001d1ded.js → cameligo-8043f913.js} +1 -1
- package/dist-cms/external/monaco-editor/{clojure-fa9652a1.js → clojure-73642b02.js} +1 -1
- package/dist-cms/external/monaco-editor/{coffee-b69a8315.js → coffee-a18badcf.js} +1 -1
- package/dist-cms/external/monaco-editor/{cpp-8053752f.js → cpp-4034161e.js} +1 -1
- package/dist-cms/external/monaco-editor/{csharp-886041a3.js → csharp-49cbf0d2.js} +1 -1
- package/dist-cms/external/monaco-editor/{csp-e846bce6.js → csp-d207cac4.js} +1 -1
- package/dist-cms/external/monaco-editor/{css-50032e5e.js → css-74326df0.js} +1 -1
- package/dist-cms/external/monaco-editor/{cssMode-c0406684.js → cssMode-57ec49ea.js} +2 -2
- package/dist-cms/external/monaco-editor/{cypher-6f93a845.js → cypher-49f5f839.js} +1 -1
- package/dist-cms/external/monaco-editor/{dart-14284236.js → dart-84b7c6b4.js} +1 -1
- package/dist-cms/external/monaco-editor/{dockerfile-e9935eb4.js → dockerfile-bbf114b2.js} +1 -1
- package/dist-cms/external/monaco-editor/{ecl-9c89f204.js → ecl-15840f49.js} +1 -1
- package/dist-cms/external/monaco-editor/{elixir-ca8bf661.js → elixir-e479e18e.js} +2 -2
- package/dist-cms/external/monaco-editor/{flow9-ac147227.js → flow9-42a61225.js} +1 -1
- package/dist-cms/external/monaco-editor/{freemarker2-793b7402.js → freemarker2-a72b9c0e.js} +2 -2
- package/dist-cms/external/monaco-editor/{fsharp-8eaad024.js → fsharp-8abe6da0.js} +1 -1
- package/dist-cms/external/monaco-editor/{go-05529e2e.js → go-8759e9f7.js} +1 -1
- package/dist-cms/external/monaco-editor/{graphql-8f5b3fdd.js → graphql-387d549c.js} +1 -1
- package/dist-cms/external/monaco-editor/{handlebars-aaa2fd96.js → handlebars-8fc61d07.js} +2 -2
- package/dist-cms/external/monaco-editor/{hcl-9e201a51.js → hcl-a88f331a.js} +1 -1
- package/dist-cms/external/monaco-editor/{html-1194c0aa.js → html-4320ed19.js} +2 -2
- package/dist-cms/external/monaco-editor/{htmlMode-36df69c6.js → htmlMode-95c2e58e.js} +2 -2
- package/dist-cms/external/monaco-editor/{index-7368f3e3.js → index-e4ee5993.js} +359 -354
- package/dist-cms/external/monaco-editor/index.js +1 -1
- package/dist-cms/external/monaco-editor/{ini-31a5619d.js → ini-18bf1153.js} +1 -1
- package/dist-cms/external/monaco-editor/{java-8c6e1ae8.js → java-000a6283.js} +1 -1
- package/dist-cms/external/monaco-editor/{javascript-86205709.js → javascript-13505434.js} +2 -2
- package/dist-cms/external/monaco-editor/{jsonMode-f663e935.js → jsonMode-1d541b8e.js} +2 -2
- package/dist-cms/external/monaco-editor/{julia-fbb2af47.js → julia-9a5df632.js} +1 -1
- package/dist-cms/external/monaco-editor/{kotlin-bfa96180.js → kotlin-06ee8898.js} +1 -1
- package/dist-cms/external/monaco-editor/{less-0b6a8ff1.js → less-dd86a68c.js} +1 -1
- package/dist-cms/external/monaco-editor/{lexon-585e5248.js → lexon-8d4b0444.js} +1 -1
- package/dist-cms/external/monaco-editor/{liquid-37adc07a.js → liquid-7aa20dd8.js} +2 -2
- package/dist-cms/external/monaco-editor/{lua-f6c17885.js → lua-9adddcd9.js} +1 -1
- package/dist-cms/external/monaco-editor/{m3-1b6456c5.js → m3-aa2dcf72.js} +1 -1
- package/dist-cms/external/monaco-editor/{markdown-7bc251f9.js → markdown-0f073a3a.js} +1 -1
- package/dist-cms/external/monaco-editor/mdx-8a1e4ae9.js +6 -0
- package/dist-cms/external/monaco-editor/{mips-2df76781.js → mips-bdd96c5a.js} +1 -1
- package/dist-cms/external/monaco-editor/{msdax-8c38e8b4.js → msdax-1ac55115.js} +1 -1
- package/dist-cms/external/monaco-editor/{mysql-abbb9ca3.js → mysql-b530c105.js} +1 -1
- package/dist-cms/external/monaco-editor/{objective-c-efbfd08b.js → objective-c-951ded7b.js} +1 -1
- package/dist-cms/external/monaco-editor/{pascal-08abee72.js → pascal-7442fd46.js} +1 -1
- package/dist-cms/external/monaco-editor/{pascaligo-200db0cf.js → pascaligo-385edc0e.js} +1 -1
- package/dist-cms/external/monaco-editor/{perl-079789ee.js → perl-d5fb326c.js} +1 -1
- package/dist-cms/external/monaco-editor/{pgsql-efd093d4.js → pgsql-2d7db25a.js} +1 -1
- package/dist-cms/external/monaco-editor/{php-75c530f2.js → php-1daff147.js} +1 -1
- package/dist-cms/external/monaco-editor/{pla-a55a2765.js → pla-1b3e1614.js} +1 -1
- package/dist-cms/external/monaco-editor/{postiats-6098f37b.js → postiats-9db13649.js} +1 -1
- package/dist-cms/external/monaco-editor/{powerquery-949bb7fe.js → powerquery-4c428232.js} +1 -1
- package/dist-cms/external/monaco-editor/{powershell-7e550b21.js → powershell-d3380668.js} +1 -1
- package/dist-cms/external/monaco-editor/{protobuf-25a4d695.js → protobuf-941cf3e8.js} +1 -1
- package/dist-cms/external/monaco-editor/{pug-f8c9f493.js → pug-cfe384ef.js} +1 -1
- package/dist-cms/external/monaco-editor/{python-78a47148.js → python-b84d078b.js} +2 -2
- package/dist-cms/external/monaco-editor/{qsharp-c4b94317.js → qsharp-e125d03f.js} +1 -1
- package/dist-cms/external/monaco-editor/{r-614353db.js → r-e0a01d4f.js} +1 -1
- package/dist-cms/external/monaco-editor/{razor-5de9ce12.js → razor-96e08c0a.js} +2 -2
- package/dist-cms/external/monaco-editor/{redis-fb089f4d.js → redis-d0a12fea.js} +1 -1
- package/dist-cms/external/monaco-editor/{redshift-a620fcb0.js → redshift-a163b94a.js} +1 -1
- package/dist-cms/external/monaco-editor/{restructuredtext-7ab09fcf.js → restructuredtext-5a906e1a.js} +1 -1
- package/dist-cms/external/monaco-editor/{ruby-922be722.js → ruby-05b021bf.js} +1 -1
- package/dist-cms/external/monaco-editor/{rust-23e08578.js → rust-3d80982c.js} +1 -1
- package/dist-cms/external/monaco-editor/{sb-ccceec0f.js → sb-2020a5af.js} +1 -1
- package/dist-cms/external/monaco-editor/{scala-0535664d.js → scala-54469b4b.js} +1 -1
- package/dist-cms/external/monaco-editor/{scheme-dba621eb.js → scheme-ff6e5671.js} +1 -1
- package/dist-cms/external/monaco-editor/{scss-28539a11.js → scss-77902feb.js} +1 -1
- package/dist-cms/external/monaco-editor/{shell-5b92a834.js → shell-3c06def6.js} +1 -1
- package/dist-cms/external/monaco-editor/{solidity-f63d6049.js → solidity-3d59d6a7.js} +1 -1
- package/dist-cms/external/monaco-editor/{sophia-12e9ad90.js → sophia-12eb7ba8.js} +1 -1
- package/dist-cms/external/monaco-editor/{sparql-dedb74aa.js → sparql-e42fb28a.js} +1 -1
- package/dist-cms/external/monaco-editor/{sql-975a69d7.js → sql-d30fd9fd.js} +1 -1
- package/dist-cms/external/monaco-editor/{st-1904ae33.js → st-ba2e774a.js} +2 -2
- package/dist-cms/external/monaco-editor/{swift-e180a143.js → swift-f0a706dd.js} +1 -1
- package/dist-cms/external/monaco-editor/{systemverilog-c5592fac.js → systemverilog-0cfd4211.js} +1 -1
- package/dist-cms/external/monaco-editor/{tcl-996f4ac7.js → tcl-7df3c0c5.js} +1 -1
- package/dist-cms/external/monaco-editor/{tsMode-f4618e87.js → tsMode-4e2b13b8.js} +2 -2
- package/dist-cms/external/monaco-editor/twig-f894aab2.js +6 -0
- package/dist-cms/external/monaco-editor/{typescript-efea739f.js → typescript-6571f86d.js} +2 -2
- package/dist-cms/external/monaco-editor/{vb-ad68fa9a.js → vb-39a025f4.js} +1 -1
- package/dist-cms/external/monaco-editor/{wgsl-5ee7b1ca.js → wgsl-ea93d538.js} +1 -1
- package/dist-cms/external/monaco-editor/{xml-12b9ace3.js → xml-265c28d1.js} +2 -2
- package/dist-cms/external/monaco-editor/{yaml-65e08cff.js → yaml-cbd1aab5.js} +2 -2
- package/dist-cms/external/rxjs/index.js +2 -2
- package/dist-cms/external/tinymce/index.js +20 -20
- package/dist-cms/external/uui/index.js +455 -279
- package/dist-cms/libs/element-api/element.mixin.js +0 -16
- package/dist-cms/libs/extension-api/registry/extension.registry.d.ts +1 -0
- package/dist-cms/libs/extension-api/registry/extension.registry.js +26 -18
- package/dist-cms/libs/localization-api/index.d.ts +2 -2
- package/dist-cms/libs/localization-api/index.js +2 -2
- package/dist-cms/libs/localization-api/localize.controller.js +0 -2
- package/dist-cms/libs/localization-api/manager.d.ts +1 -1
- package/dist-cms/libs/localization-api/types/translation.d.ts +3 -0
- package/dist-cms/libs/localization-api/types/translation.js +1 -0
- package/dist-cms/mocks/data/data-type.data.js +1 -28
- package/dist-cms/mocks/data/document-type.data.js +0 -57
- package/dist-cms/mocks/handlers/manifests.handlers.js +1 -1
- package/dist-cms/packages/core/extension-registry/models/property-editor.model.d.ts +21 -2
- package/dist-cms/packages/core/extension-registry/models/translations.model.d.ts +1 -2
- package/dist-cms/packages/core/localization/index.d.ts +1 -0
- package/dist-cms/packages/core/localization/index.js +1 -0
- package/dist-cms/packages/core/localization/localize.element.js +2 -2
- package/dist-cms/{libs/localization-api → packages/core/localization}/registry/translation.registry.d.ts +6 -2
- package/dist-cms/{libs/localization-api → packages/core/localization}/registry/translation.registry.js +22 -9
- package/dist-cms/packages/core/modal/common/folder/folder-modal.element.d.ts +2 -2
- package/dist-cms/packages/core/modal/token/folder-modal.token.d.ts +2 -2
- package/dist-cms/packages/core/property-editor/index.d.ts +1 -1
- package/dist-cms/packages/core/property-editor/index.js +1 -1
- package/dist-cms/packages/core/property-editor/schemas/manifests.js +0 -2
- package/dist-cms/packages/core/property-editor/uis/icon-picker/manifests.js +1 -1
- package/dist-cms/packages/core/property-editor/uis/value-type/manifests.js +0 -1
- package/dist-cms/packages/core/sorter/sorter.controller.js +6 -6
- package/dist-cms/packages/core/sorter/stories/test-sorter-controller.element.d.ts +13 -0
- package/dist-cms/packages/core/sorter/stories/test-sorter-controller.element.js +92 -0
- package/dist-cms/packages/search/examine-management-dashboard/views/section-view-examine-indexers.d.ts +1 -0
- package/dist-cms/packages/search/examine-management-dashboard/views/section-view-examine-indexers.js +3 -0
- package/dist-cms/packages/settings/data-types/modals/data-type-picker-flow/data-type-picker-flow-modal.element.js +2 -1
- package/dist-cms/packages/settings/data-types/modals/property-editor-ui-picker/property-editor-ui-picker-modal.element.js +3 -2
- package/dist-cms/packages/settings/data-types/repository/data-type.repository.d.ts +2 -2
- package/dist-cms/packages/settings/data-types/repository/sources/data-type-folder.server.data.d.ts +3 -3
- package/dist-cms/packages/templating/partial-views/repository/partial-views.repository.d.ts +2 -2
- package/dist-cms/packages/templating/partial-views/repository/sources/partial-views.folder.server.data.d.ts +2 -2
- package/dist-cms/shared/lit-element/lit-element.element.d.ts +25 -0
- package/dist-cms/shared/lit-element/lit-element.element.js +42 -1
- package/dist-cms/shared/repository/data-source/folder-data-source.interface.d.ts +3 -3
- package/dist-cms/shared/repository/folder-repository.interface.d.ts +3 -3
- package/dist-cms/shared/resources/resource.controller.js +2 -2
- package/dist-cms/tinymce/CHANGELOG.md +23 -0
- package/dist-cms/tinymce/composer.json +1 -1
- package/dist-cms/tinymce/langs/hy.js +2 -2
- package/dist-cms/tinymce/langs/id.js +19 -19
- package/dist-cms/tinymce/langs/it.js +2 -2
- package/dist-cms/tinymce/langs/ka_GE.js +132 -132
- package/dist-cms/tinymce/langs/ru.js +4 -4
- package/dist-cms/tinymce/langs/sk.js +7 -7
- package/dist-cms/tinymce/models/dom/model.js +1 -1
- package/dist-cms/tinymce/models/dom/model.min.js +1 -1
- package/dist-cms/tinymce/package.json +1 -1
- package/dist-cms/tinymce/plugins/accordion/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/accordion/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/advlist/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/advlist/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/anchor/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/anchor/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/autolink/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/autolink/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/autoresize/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/autoresize/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/autosave/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/autosave/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/charmap/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/charmap/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/code/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/code/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/codesample/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/codesample/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/directionality/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/directionality/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/emoticons/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/emoticons/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/fullscreen/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/fullscreen/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/help/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/help/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/image/plugin.js +2 -2
- package/dist-cms/tinymce/plugins/image/plugin.min.js +2 -2
- package/dist-cms/tinymce/plugins/importcss/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/importcss/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/insertdatetime/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/insertdatetime/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/link/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/link/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/lists/plugin.js +2 -2
- package/dist-cms/tinymce/plugins/lists/plugin.min.js +2 -2
- package/dist-cms/tinymce/plugins/media/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/media/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/nonbreaking/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/nonbreaking/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/pagebreak/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/pagebreak/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/preview/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/preview/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/quickbars/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/quickbars/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/save/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/save/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/searchreplace/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/searchreplace/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/table/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/table/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/template/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/template/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/visualblocks/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/visualblocks/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/visualchars/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/visualchars/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/wordcount/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/wordcount/plugin.min.js +1 -1
- package/dist-cms/tinymce/skins/ui/oxide/skin.css +15 -2
- package/dist-cms/tinymce/skins/ui/oxide/skin.min.css +1 -1
- package/dist-cms/tinymce/skins/ui/oxide-dark/skin.css +15 -2
- package/dist-cms/tinymce/skins/ui/oxide-dark/skin.min.css +1 -1
- package/dist-cms/tinymce/skins/ui/tinymce-5/skin.css +15 -2
- package/dist-cms/tinymce/skins/ui/tinymce-5/skin.min.css +1 -1
- package/dist-cms/tinymce/skins/ui/tinymce-5-dark/skin.css +15 -2
- package/dist-cms/tinymce/skins/ui/tinymce-5-dark/skin.min.css +1 -1
- package/dist-cms/tinymce/themes/silver/theme.js +181 -108
- package/dist-cms/tinymce/themes/silver/theme.min.js +2 -2
- package/dist-cms/tinymce/tinymce.d.ts +3 -0
- package/dist-cms/tinymce/tinymce.js +23 -15
- package/dist-cms/tinymce/tinymce.min.js +2 -2
- package/dist-cms/tsconfig.build.tsbuildinfo +1 -1
- package/dist-cms/umbraco-package-schema.json +21 -13
- package/dist-cms/vscode-html-custom-data.json +6 -5
- package/package.json +10 -9
- package/dist-cms/external/monaco-editor/twig-4859b551.js +0 -6
- package/dist-cms/packages/core/property-editor/schemas/Umbraco.JSON.d.ts +0 -2
- package/dist-cms/packages/core/property-editor/schemas/Umbraco.JSON.js +0 -8
|
@@ -8,17 +8,6 @@ export declare class UmbAppElement extends UmbLitElement {
|
|
|
8
8
|
* @remarks This is the base URL of the Umbraco server, not the base URL of the backoffice.
|
|
9
9
|
*/
|
|
10
10
|
serverUrl: string;
|
|
11
|
-
/**
|
|
12
|
-
* The default culture to use for localization.
|
|
13
|
-
*
|
|
14
|
-
* When the current user is resolved, the culture will be set to the user's culture.
|
|
15
|
-
*
|
|
16
|
-
* @attr
|
|
17
|
-
* @remarks This is the default culture to use for localization, not the current culture.
|
|
18
|
-
* @example "en-us"
|
|
19
|
-
* @example "en"
|
|
20
|
-
*/
|
|
21
|
-
culture: string;
|
|
22
11
|
/**
|
|
23
12
|
* The base path of the backoffice.
|
|
24
13
|
*
|
|
@@ -4,6 +4,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
4
4
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
6
|
};
|
|
7
|
+
import { umbTranslationRegistry } from '../../packages/core/localization/index.js';
|
|
7
8
|
import { UMB_AUTH, UmbAuthFlow, UmbAuthContext } from '../../shared/auth/index.js';
|
|
8
9
|
import { UMB_APP, UmbAppContext } from '../../shared/context/index.js';
|
|
9
10
|
import { css, html, customElement, property } from '../../external/lit/index.js';
|
|
@@ -14,7 +15,6 @@ import { pathWithoutBasePath } from '../../shared/router/index.js';
|
|
|
14
15
|
import { tryExecute } from '../../shared/resources/index.js';
|
|
15
16
|
import { OpenAPI, RuntimeLevelModel, ServerResource } from '../../external/backend-api/index.js';
|
|
16
17
|
import { contextData, umbDebugContextEventType } from '../../libs/context-api/index.js';
|
|
17
|
-
import { umbTranslationRegistry } from '../../libs/localization-api/index.js';
|
|
18
18
|
export let UmbAppElement = class UmbAppElement extends UmbLitElement {
|
|
19
19
|
#authFlow;
|
|
20
20
|
#umbIconRegistry;
|
|
@@ -29,17 +29,6 @@ export let UmbAppElement = class UmbAppElement extends UmbLitElement {
|
|
|
29
29
|
* @remarks This is the base URL of the Umbraco server, not the base URL of the backoffice.
|
|
30
30
|
*/
|
|
31
31
|
this.serverUrl = window.location.origin;
|
|
32
|
-
/**
|
|
33
|
-
* The default culture to use for localization.
|
|
34
|
-
*
|
|
35
|
-
* When the current user is resolved, the culture will be set to the user's culture.
|
|
36
|
-
*
|
|
37
|
-
* @attr
|
|
38
|
-
* @remarks This is the default culture to use for localization, not the current culture.
|
|
39
|
-
* @example "en-us"
|
|
40
|
-
* @example "en"
|
|
41
|
-
*/
|
|
42
|
-
this.culture = 'en-us';
|
|
43
32
|
/**
|
|
44
33
|
* The base path of the backoffice.
|
|
45
34
|
*
|
|
@@ -79,7 +68,8 @@ export let UmbAppElement = class UmbAppElement extends UmbLitElement {
|
|
|
79
68
|
this.#setup();
|
|
80
69
|
}
|
|
81
70
|
#setLanguage() {
|
|
82
|
-
|
|
71
|
+
const initialLanguage = this.lang || document.documentElement.lang || 'en-us';
|
|
72
|
+
umbTranslationRegistry.loadLanguage(initialLanguage);
|
|
83
73
|
}
|
|
84
74
|
#listenForLanguageChange(authContext) {
|
|
85
75
|
this.observe(authContext.languageIsoCode, (currentLanguageIsoCode) => {
|
|
@@ -247,9 +237,6 @@ export let UmbAppElement = class UmbAppElement extends UmbLitElement {
|
|
|
247
237
|
__decorate([
|
|
248
238
|
property({ type: String })
|
|
249
239
|
], UmbAppElement.prototype, "serverUrl", void 0);
|
|
250
|
-
__decorate([
|
|
251
|
-
property({ type: String, attribute: 'default-culture' })
|
|
252
|
-
], UmbAppElement.prototype, "culture", void 0);
|
|
253
240
|
__decorate([
|
|
254
241
|
property({ type: String })
|
|
255
242
|
// TODO: get from server config
|
package/dist-cms/css/uui-css.css
CHANGED
|
@@ -243,20 +243,25 @@ UUI - Mapping-level or specific component name - State - Name - Part - Overwrite
|
|
|
243
243
|
--uui-color-default-standalone: var(--uui-palette-space-cadet-dark,rgb(28, 35, 59));
|
|
244
244
|
--uui-color-default-contrast: #fff;
|
|
245
245
|
|
|
246
|
-
--uui-color-warning:
|
|
246
|
+
--uui-color-warning: #fbd142;
|
|
247
247
|
--uui-color-warning-emphasis: var(--uui-palette-sunglow-light,rgb(251, 224, 101));
|
|
248
|
-
--uui-color-warning-standalone:
|
|
248
|
+
--uui-color-warning-standalone: #a17700;
|
|
249
249
|
--uui-color-warning-contrast: #000;
|
|
250
|
+
/* --uui-color-warning: var(--uui-palette-sunglow); Contrast not high enough */
|
|
251
|
+
/* --uui-color-warning-standalone: var(--uui-palette-sunglow-dark); Contrast not high enough */
|
|
250
252
|
|
|
251
253
|
--uui-color-danger: var(--uui-palette-maroon-flush,#d42054);
|
|
252
254
|
--uui-color-danger-emphasis: var(--uui-palette-maroon-flush-light,rgb(226, 60, 107));
|
|
253
255
|
--uui-color-danger-standalone: var(--uui-palette-maroon-flush-dark,rgb(191, 33, 78));
|
|
254
256
|
--uui-color-danger-contrast: white;
|
|
255
257
|
|
|
256
|
-
--uui-color-positive:
|
|
257
|
-
--uui-color-positive-emphasis:
|
|
258
|
-
--uui-color-positive-standalone:
|
|
258
|
+
--uui-color-positive: #1f9554;
|
|
259
|
+
--uui-color-positive-emphasis: #2ca964;
|
|
260
|
+
--uui-color-positive-standalone: #19864a;
|
|
259
261
|
--uui-color-positive-contrast: #fff;
|
|
262
|
+
/* --uui-color-positive: var(--uui-palette-jungle-green); Contrast not high enough */
|
|
263
|
+
/* --uui-color-positive-emphasis: var(--uui-palette-jungle-green-light); Contrast not high enough */
|
|
264
|
+
/* --uui-color-positive-standalone: var(--uui-palette-jungle-green-dark); Contrast not high enough */
|
|
260
265
|
}
|
|
261
266
|
:root[data-theme='dark'] {
|
|
262
267
|
/* ----- STATES ----- */
|
|
@@ -510,6 +515,9 @@ UUI - Mapping-level or specific component name - State - Name - Part - Overwrite
|
|
|
510
515
|
.uui-text p.uui-lead {
|
|
511
516
|
font-size: var(--uui-size-6,18px);
|
|
512
517
|
}
|
|
518
|
+
.uui-text a {
|
|
519
|
+
color: var(--uui-color-interactive,#1b264f);
|
|
520
|
+
}
|
|
513
521
|
.uui-text a:link,
|
|
514
522
|
.uui-text a:active {
|
|
515
523
|
color: var(--uui-color-interactive,#1b264f);
|
|
@@ -119,12 +119,6 @@
|
|
|
119
119
|
"type": "string",
|
|
120
120
|
"default": "\"origin\""
|
|
121
121
|
},
|
|
122
|
-
{
|
|
123
|
-
"name": "default-culture",
|
|
124
|
-
"description": "The default culture to use for localization.\n\nWhen the current user is resolved, the culture will be set to the user's culture.",
|
|
125
|
-
"type": "string",
|
|
126
|
-
"default": "\"en-us\""
|
|
127
|
-
},
|
|
128
122
|
{
|
|
129
123
|
"name": "backofficePath",
|
|
130
124
|
"description": "The base path of the backoffice.",
|
|
@@ -146,13 +140,6 @@
|
|
|
146
140
|
"type": "string",
|
|
147
141
|
"default": "\"origin\""
|
|
148
142
|
},
|
|
149
|
-
{
|
|
150
|
-
"name": "culture",
|
|
151
|
-
"attribute": "default-culture",
|
|
152
|
-
"description": "The default culture to use for localization.\n\nWhen the current user is resolved, the culture will be set to the user's culture.",
|
|
153
|
-
"type": "string",
|
|
154
|
-
"default": "\"en-us\""
|
|
155
|
-
},
|
|
156
143
|
{
|
|
157
144
|
"name": "backofficePath",
|
|
158
145
|
"attribute": "backofficePath",
|
|
@@ -4020,6 +4007,20 @@
|
|
|
4020
4007
|
}
|
|
4021
4008
|
]
|
|
4022
4009
|
},
|
|
4010
|
+
{
|
|
4011
|
+
"name": "test-my-sorter-controller",
|
|
4012
|
+
"path": "./../src/packages/core/sorter/stories/test-sorter-controller.element.ts",
|
|
4013
|
+
"properties": [
|
|
4014
|
+
{
|
|
4015
|
+
"name": "styles",
|
|
4016
|
+
"type": "array",
|
|
4017
|
+
"default": "[null]"
|
|
4018
|
+
},
|
|
4019
|
+
{
|
|
4020
|
+
"name": "sorter"
|
|
4021
|
+
}
|
|
4022
|
+
]
|
|
4023
|
+
},
|
|
4023
4024
|
{
|
|
4024
4025
|
"name": "umb-entity-tree-item",
|
|
4025
4026
|
"path": "./../src/packages/core/tree/entity-tree-item/entity-tree-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||{}),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||{}),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||{}),P=(r=>(r.OUT_OF_DATE="OutOfDate",r.CURRENT="Current",r.UNKNOWN="Unknown",r))(P||{}),N=(r=>(r.PUBLISHED="Published",r.UNPUBLISHED="Unpublished",r.PUBLISHING="Publishing",r.UNPUBLISHING="Unpublishing",r))(N||{}),O=(r=>(r.ENABLED="Enabled",r.DISABLED="Disabled",r))(O||{}),C=(r=>(r.UNKNOWN="Unknown",r.BOOT="Boot",r.INSTALL="Install",r.UPGRADE="Upgrade",r.RUN="Run",r.BOOT_FAILED="BootFailed",r))(C||{}),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:{400:"Bad Request",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:{400:"Bad Request",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:{400:"Bad Request",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:{400:"Bad Request",404:"Not Found"}})}static getDocumentByIdDomains({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/document/{id}/domains",path:{id:e}})}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:{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:{400:"Bad Request",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}})}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:{400:"Bad Request",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:{400:"Bad Request"}})}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 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"}})}}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:{400:"Bad Request",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:{400:"Bad Request",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:{400:"Bad Request",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:{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 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}})}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 qe{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}})}}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"})}}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 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 Ne{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 Oe{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 Ce{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:{400:"Bad Request"}})}static postUserInviteVerify({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/user/invite/verify",body:e,mediaType:"application/json",errors:{400:"Bad Request"}})}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,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,G as OperatorModel,P as OutOfDateTypeModel,Te as PackageResource,be as PartialViewResource,Ee as ProfilingResource,ve as PropertyTypeResource,ke as PublishedCacheResource,N as PublishedStateModel,Be as RedirectManagementResource,O as RedirectStatusModel,qe as RelationResource,Ie as RelationTypeResource,C as RuntimeLevelModel,Se as ScriptResource,Re as SearcherResource,De as SecurityResource,Ge as ServerResource,Pe as StaticFileResource,f as StatusResultTypeModel,Ne as StylesheetResource,Oe as TagResource,L as TelemetryLevelModel,Ce 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 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};
|