@umbraco-cms/backoffice 14.0.0--preview004-15ed40b3 → 14.0.0--preview004-e6d96d04

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.
Files changed (42) hide show
  1. package/dist-cms/external/backend-api/index.js +1 -1
  2. package/dist-cms/external/backend-api/src/index.d.ts +2 -2
  3. package/dist-cms/external/backend-api/src/models/DataTypeModelBaseModel.d.ts +2 -2
  4. package/dist-cms/external/backend-api/src/models/ServerInformationItemResponseModel.d.ts +4 -0
  5. package/dist-cms/external/backend-api/src/models/ServerInformationResponseModel.d.ts +4 -0
  6. package/dist-cms/external/backend-api/src/models/UserGroupBaseModel.d.ts +2 -0
  7. package/dist-cms/external/backend-api/src/models/UserGroupResponseModel.d.ts +1 -0
  8. package/dist-cms/external/backend-api/src/services/ServerResource.d.ts +6 -0
  9. package/dist-cms/external/backend-api/src/services/UserResource.d.ts +0 -6
  10. package/dist-cms/mocks/data/data-type.data.js +73 -73
  11. package/dist-cms/mocks/data/user-group/user-group.data.js +15 -0
  12. package/dist-cms/packages/core/data-type/modals/data-type-picker-flow/data-type-picker-flow-modal.element.js +1 -1
  13. package/dist-cms/packages/core/data-type/repository/detail/data-type-detail.server.data-source.d.ts +4 -28
  14. package/dist-cms/packages/core/data-type/repository/detail/data-type-detail.server.data-source.js +6 -6
  15. package/dist-cms/packages/core/data-type/workspace/data-type-workspace.element.d.ts +0 -1
  16. package/dist-cms/packages/core/data-type/workspace/data-type-workspace.element.js +5 -5
  17. package/dist-cms/packages/dictionary/dictionary/workspace/dictionary-workspace.element.js +4 -4
  18. package/dist-cms/packages/documents/document-types/workspace/document-type-workspace.element.js +5 -2
  19. package/dist-cms/packages/documents/documents/workspace/document-workspace.element.d.ts +0 -1
  20. package/dist-cms/packages/documents/documents/workspace/document-workspace.element.js +5 -3
  21. package/dist-cms/packages/media/media/workspace/media-workspace.element.js +5 -2
  22. package/dist-cms/packages/media/media-types/workspace/media-type-workspace.element.js +4 -4
  23. package/dist-cms/packages/members/member-groups/workspace/member-group-workspace.element.js +3 -3
  24. package/dist-cms/packages/members/member-types/workspace/member-type-workspace.element.js +3 -3
  25. package/dist-cms/packages/members/members/workspace/member-workspace.element.js +3 -3
  26. package/dist-cms/packages/settings/languages/workspace/language/language-workspace.element.js +5 -14
  27. package/dist-cms/packages/settings/relation-types/workspace/relation-type-workspace.element.d.ts +0 -1
  28. package/dist-cms/packages/settings/relation-types/workspace/relation-type-workspace.element.js +5 -5
  29. package/dist-cms/packages/templating/partial-views/workspace/partial-view-workspace.element.d.ts +0 -1
  30. package/dist-cms/packages/templating/partial-views/workspace/partial-view-workspace.element.js +5 -5
  31. package/dist-cms/packages/templating/scripts/workspace/script-workspace.element.js +5 -2
  32. package/dist-cms/packages/templating/stylesheets/workspace/stylesheet-workspace.element.js +5 -2
  33. package/dist-cms/packages/templating/templates/workspace/template-workspace.element.d.ts +0 -1
  34. package/dist-cms/packages/templating/templates/workspace/template-workspace.element.js +5 -5
  35. package/dist-cms/packages/user/user/workspace/user-workspace.element.js +3 -3
  36. package/dist-cms/packages/user/user-group/repository/sources/user-group.server.data-source.d.ts +1 -1
  37. package/dist-cms/packages/user/user-group/repository/sources/user-group.server.data-source.js +3 -1
  38. package/dist-cms/packages/user/user-group/workspace/user-group-workspace.element.js +4 -4
  39. package/dist-cms/tsconfig.build.tsbuildinfo +1 -1
  40. package/package.json +1 -1
  41. package/dist-cms/external/backend-api/src/models/UserDataModel.d.ts +0 -4
  42. package/dist-cms/external/backend-api/src/models/UserDataResponseModel.d.ts +0 -4
@@ -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 v extends Error{constructor(e){super(e),this.name="CancelError"}get isCancelled(){return!0}}class E{#t;#a;#e;#r;#o;#n;#i;constructor(e){this.#t=!1,this.#a=!1,this.#e=!1,this.#r=[],this.#o=new Promise((o,i)=>{this.#n=o,this.#i=i;const n=d=>{this.#t||this.#a||this.#e||(this.#t=!0,this.#n?.(d))},s=d=>{this.#t||this.#a||this.#e||(this.#a=!0,this.#i?.(d))},u=d=>{this.#t||this.#a||this.#e||this.#r.push(d)};return Object.defineProperty(u,"isResolved",{get:()=>this.#t}),Object.defineProperty(u,"isRejected",{get:()=>this.#a}),Object.defineProperty(u,"isCancelled",{get:()=>this.#e}),e(n,s,u)})}get[Symbol.toStringTag](){return"Cancellable Promise"}then(e,o){return this.#o.then(e,o)}catch(e){return this.#o.catch(e)}finally(e){return this.#o.finally(e)}cancel(){if(!(this.#t||this.#a||this.#e)){if(this.#e=!0,this.#r.length)try{for(const e of this.#r)e()}catch(e){console.warn("Cancellation threw an error",e);return}this.#r.length=0,this.#i?.(new v("Request aborted"))}}get isCancelled(){return this.#e}}const t={BASE:"",VERSION:"Latest",WITH_CREDENTIALS:!1,CREDENTIALS:"include",TOKEN:void 0,USERNAME:void 0,PASSWORD:void 0,HEADERS:void 0,ENCODE_PATH:void 0};var k=(r=>(r.NEW="New",r.SAVE="Save",r.SAVE_VARIANT="SaveVariant",r.OPEN="Open",r.DELETE="Delete",r.PUBLISH="Publish",r.PUBLISH_VARIANT="PublishVariant",r.SEND_TO_PUBLISH="SendToPublish",r.SEND_TO_PUBLISH_VARIANT="SendToPublishVariant",r.UNPUBLISH="Unpublish",r.UNPUBLISH_VARIANT="UnpublishVariant",r.MOVE="Move",r.COPY="Copy",r.ASSIGN_DOMAIN="AssignDomain",r.PUBLIC_ACCESS="PublicAccess",r.SORT="Sort",r.NOTIFY="Notify",r.SYSTEM="System",r.ROLL_BACK="RollBack",r.PACKAGER_INSTALL="PackagerInstall",r.PACKAGER_UNINSTALL="PackagerUninstall",r.CUSTOM="Custom",r.CONTENT_VERSION_PREVENT_CLEANUP="ContentVersionPreventCleanup",r.CONTENT_VERSION_ENABLE_CLEANUP="ContentVersionEnableCleanup",r))(k||{}),B=(r=>(r.NOT_CREATED="NotCreated",r.DRAFT="Draft",r.PUBLISHED="Published",r.PUBLISHED_PENDING_CHANGES="PublishedPendingChanges",r))(B||{}),q=(r=>(r.COMPOSITION="Composition",r.INHERITANCE="Inheritance",r))(q||{}),I=(r=>(r.ASCENDING="Ascending",r.DESCENDING="Descending",r))(I||{}),R=(r=>(r.HEALTHY="Healthy",r.UNHEALTHY="Unhealthy",r.REBUILDING="Rebuilding",r))(R||{}),S=(r=>(r.VERBOSE="Verbose",r.DEBUG="Debug",r.INFORMATION="Information",r.WARNING="Warning",r.ERROR="Error",r.FATAL="Fatal",r))(S||{}),D=(r=>(r.NOTHING="Nothing",r.IN_MEMORY_AUTO="InMemoryAuto",r.SOURCE_CODE_MANUAL="SourceCodeManual",r.SOURCE_CODE_AUTO="SourceCodeAuto",r))(D||{}),P=(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))(P||{}),N=(r=>(r.OUT_OF_DATE="OutOfDate",r.CURRENT="Current",r.UNKNOWN="Unknown",r))(N||{}),G=(r=>(r.PUBLISHED="Published",r.UNPUBLISHED="Unpublished",r.PUBLISHING="Publishing",r.UNPUBLISHING="Unpublishing",r))(G||{}),O=(r=>(r.ENABLED="Enabled",r.DISABLED="Disabled",r))(O||{}),f=(r=>(r.UNKNOWN="Unknown",r.BOOT="Boot",r.INSTALL="Install",r.UPGRADE="Upgrade",r.RUN="Run",r.BOOT_FAILED="BootFailed",r))(f||{}),C=(r=>(r.SUCCESS="Success",r.WARNING="Warning",r.ERROR="Error",r.INFO="Info",r))(C||{}),L=(r=>(r.MINIMAL="Minimal",r.BASIC="Basic",r.DETAILED="Detailed",r))(L||{}),F=(r=>(r.STRING="String",r.DATE_TIME="DateTime",r.INTEGER="Integer",r))(F||{}),U=(r=>(r.USER_NAME="UserName",r.LANGUAGE="Language",r.NAME="Name",r.EMAIL="Email",r.ID="Id",r.CREATE_DATE="CreateDate",r.UPDATE_DATE="UpdateDate",r.IS_APPROVED="IsApproved",r.IS_LOCKED_OUT="IsLockedOut",r.LAST_LOGIN_DATE="LastLoginDate",r))(U||{}),A=(r=>(r.ACTIVE="Active",r.DISABLED="Disabled",r.LOCKED_OUT="LockedOut",r.INVITED="Invited",r.INACTIVE="Inactive",r.ALL="All",r))(A||{});const h=r=>r!=null,c=r=>typeof r=="string",g=r=>c(r)&&r!=="",T=r=>typeof r=="object"&&typeof r.type=="string"&&typeof r.stream=="function"&&typeof r.arrayBuffer=="function"&&typeof r.constructor=="function"&&typeof r.constructor.name=="string"&&/^(Blob|File)$/.test(r.constructor.name)&&/^(Blob|File)$/.test(r[Symbol.toStringTag]),j=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":j(e.body)||(u["Content-Type"]="application/json")),new Headers(u)},W=r=>{if(r.body!==void 0)return r.mediaType?.includes("/json")?JSON.stringify(r.body):c(r.body)||T(r.body)||j(r.body)?r.body:JSON.stringify(r.body)},z=async(r,e,o,i,n,s,u)=>{const d=new AbortController,m={headers:s,body:i??n,method:e.method,signal:d.signal};return r.WITH_CREDENTIALS&&(m.credentials=r.CREDENTIALS),u(()=>d.abort()),await fetch(o,m)},K=(r,e)=>{if(e){const o=r.headers.get(e);if(c(o))return o}},Q=async r=>{if(r.status!==204)try{const e=r.headers.get("Content-Type");if(e)return["application/json","application/problem+json"].some(o=>e.toLowerCase().startsWith(o))?await r.json():await r.text()}catch(e){console.error(e)}},Y=(r,e)=>{const o={400:"Bad Request",401:"Unauthorized",403:"Forbidden",404:"Not Found",500:"Internal Server Error",502:"Bad Gateway",503:"Service Unavailable",...r.errors}[e.status];if(o)throw new y(r,e,o);if(!e.ok){const i=e.status??"unknown",n=e.statusText??"unknown",s=(()=>{try{return JSON.stringify(e.body,null,2)}catch{return}})();throw new y(r,e,`Generic Error: status: ${i}; status text: ${n}; body: ${s}`)}},a=(r,e)=>new E(async(o,i,n)=>{try{const s=V(r,e),u=x(e),d=W(e),m=await $(r,e);if(!n.isCancelled){const p=await z(r,e,s,d,u,m,n),M=await Q(p),w=K(p,e.responseHeader),b={url:s,ok:p.ok,status:p.status,statusText:p.statusText,body:w??M};Y(e,b),o(b.body)}}catch(s){i(s)}});class J{static getAuditLog({orderDirection:e,sinceDate:o,skip:i,take:n=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/audit-log",query:{orderDirection:e,sinceDate:o,skip:i,take:n}})}static getAuditLogById({id:e,orderDirection:o,sinceDate:i,skip:n,take:s=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/audit-log/{id}",path:{id:e},query:{orderDirection:o,sinceDate:i,skip:n,take:s}})}static getAuditLogTypeByLogType({logType:e,sinceDate:o,skip:i,take:n=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/audit-log/type/{logType}",path:{logType:e},query:{sinceDate:o,skip:i,take:n}})}}class X{static getCulture({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/culture",query:{skip:e,take:o}})}}class Z{static postDataType({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/data-type",body:e,mediaType:"application/json",responseHeader:"Location",errors:{400:"Bad Request",404:"Not Found"}})}static getDataTypeById({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/data-type/{id}",path:{id:e},errors:{404:"Not Found"}})}static deleteDataTypeById({id:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/data-type/{id}",path:{id:e},errors:{400:"Bad Request",404:"Not Found"}})}static putDataTypeById({id:e,requestBody:o}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/data-type/{id}",path:{id:e},body:o,mediaType:"application/json",errors:{400:"Bad Request",404:"Not Found"}})}static postDataTypeByIdCopy({id:e,requestBody:o}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/data-type/{id}/copy",path:{id:e},body:o,mediaType:"application/json",responseHeader:"Location",errors:{404:"Not Found"}})}static getDataTypeByIdIsUsed({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/data-type/{id}/is-used",path:{id:e},errors:{404:"Not Found"}})}static postDataTypeByIdMove({id:e,requestBody:o}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/data-type/{id}/move",path:{id:e},body:o,mediaType:"application/json",errors:{404:"Not Found"}})}static getDataTypeByIdReferences({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/data-type/{id}/references",path:{id:e},errors:{404:"Not Found"}})}static postDataTypeFolder({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/data-type/folder",body:e,mediaType:"application/json",responseHeader:"Location",errors:{400:"Bad Request",404:"Not Found"}})}static getDataTypeFolderById({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/data-type/folder/{id}",path:{id:e},errors:{404:"Not Found"}})}static deleteDataTypeFolderById({id:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/data-type/folder/{id}",path:{id:e},errors:{400:"Bad Request",404:"Not Found"}})}static putDataTypeFolderById({id:e,requestBody:o}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/data-type/folder/{id}",path:{id:e},body:o,mediaType:"application/json",errors:{400:"Bad Request",404:"Not Found"}})}static getDataTypeItem({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/data-type/item",query:{id:e}})}static getDataTypeItemByAlias({alias:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/data-type/item/{alias}",path:{alias:e}})}static getTreeDataTypeChildren({parentId:e,skip:o,take:i=100,foldersOnly:n=!1}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/data-type/children",query:{parentId:e,skip:o,take:i,foldersOnly:n}})}static getTreeDataTypeRoot({skip:e,take:o=100,foldersOnly:i=!1}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/data-type/root",query:{skip:e,take:o,foldersOnly:i}})}}class ee{static getDictionary({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/dictionary",query:{skip:e,take:o}})}static postDictionary({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/dictionary",body:e,mediaType:"application/json",responseHeader:"Location",errors:{400:"Bad Request",404:"Not Found",409:"Conflict"}})}static getDictionaryById({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/dictionary/{id}",path:{id:e},errors:{404:"Not Found"}})}static deleteDictionaryById({id:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/dictionary/{id}",path:{id:e},errors:{400:"Bad Request",404:"Not Found"}})}static putDictionaryById({id:e,requestBody:o}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/dictionary/{id}",path:{id:e},body:o,mediaType:"application/json",errors:{400:"Bad Request",404:"Not Found"}})}static getDictionaryByIdExport({id:e,includeChildren:o=!1}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/dictionary/{id}/export",path:{id:e},query:{includeChildren:o},errors:{404:"Not Found"}})}static postDictionaryByIdMove({id:e,requestBody:o}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/dictionary/{id}/move",path:{id:e},body:o,mediaType:"application/json",errors:{400:"Bad Request",404:"Not Found"}})}static postDictionaryImport({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/dictionary/import",body:e,mediaType:"application/json",responseHeader:"Location",errors:{400:"Bad Request",404:"Not Found"}})}static getDictionaryItem({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/dictionary/item",query:{id:e}})}static getTreeDictionaryChildren({parentId:e,skip:o,take:i=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/dictionary/children",query:{parentId:e,skip:o,take:i}})}static getTreeDictionaryRoot({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/dictionary/root",query:{skip:e,take:o}})}}class te{static postDocument({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/document",body:e,mediaType:"application/json",responseHeader:"Location",errors:{404:"Not Found"}})}static getDocumentById({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/document/{id}",path:{id:e},errors:{404:"Not Found"}})}static putDocumentById({id:e,requestBody:o}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/document/{id}",path:{id:e},body:o,mediaType:"application/json",errors:{404:"Not Found"}})}static postDocumentByIdCopy({id:e,requestBody:o}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/document/{id}/copy",path:{id:e},body:o,mediaType:"application/json",responseHeader:"Location",errors:{404:"Not Found"}})}static getDocumentByIdDomains({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/document/{id}/domains",path:{id:e},errors:{404:"Not Found"}})}static putDocumentByIdDomains({id:e,requestBody:o}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/document/{id}/domains",path:{id:e},body:o,mediaType:"application/json"})}static putDocumentByIdMove({id:e,requestBody:o}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/document/{id}/move",path:{id:e},body:o,mediaType:"application/json",errors:{404:"Not Found"}})}static putDocumentByIdMoveToRecycleBin({id:e}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/document/{id}/move-to-recycle-bin",path:{id:e},errors:{400:"Bad Request",404:"Not Found"}})}static getDocumentByIdNotifications({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/document/{id}/notifications",path:{id:e},errors:{404:"Not Found"}})}static putDocumentByIdNotifications({id:e,requestBody:o}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/document/{id}/notifications",path:{id:e},body:o,mediaType:"application/json",errors:{404:"Not Found"}})}static postDocumentByIdPublicAccess({id:e,requestBody:o}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/document/{id}/public-access",path:{id:e},body:o,mediaType:"application/json",responseHeader:"Location",errors:{404:"Not Found"}})}static deleteDocumentByIdPublicAccess({id:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/document/{id}/public-access",path:{id:e},errors:{404:"Not Found"}})}static getDocumentByIdPublicAccess({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/document/{id}/public-access",path:{id:e},errors:{404:"Not Found"}})}static putDocumentByIdPublicAccess({id:e,requestBody:o}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/document/{id}/public-access",path:{id:e},body:o,mediaType:"application/json",errors:{404:"Not Found"}})}static putDocumentByIdPublish({id:e,requestBody:o}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/document/{id}/publish",path:{id:e},body:o,mediaType:"application/json",errors:{400:"Bad Request",404:"Not Found"}})}static putDocumentByIdPublishWithDescendants({id:e,requestBody:o}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/document/{id}/publish-with-descendants",path:{id:e},body:o,mediaType:"application/json",errors:{400:"Bad Request",404:"Not Found"}})}static putDocumentByIdUnpublish({id:e,requestBody:o}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/document/{id}/unpublish",path:{id:e},body:o,mediaType:"application/json",errors:{400:"Bad Request",404:"Not Found"}})}static getDocumentAllowedDocumentTypes({parentId:e,skip:o,take:i=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/document/allowed-document-types",query:{parentId:e,skip:o,take:i},errors:{404:"Not Found"}})}static getDocumentItem({id:e,dataTypeId:o,culture:i}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/document/item",query:{id:e,dataTypeId:o,culture:i}})}static putDocumentSort({requestBody:e}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/document/sort",body:e,mediaType:"application/json",errors:{400:"Bad Request",404:"Not Found"}})}static getRecycleBinDocumentChildren({parentId:e,skip:o,take:i=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/recycle-bin/document/children",query:{parentId:e,skip:o,take:i},errors:{401:"Unauthorized"}})}static getRecycleBinDocumentRoot({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/recycle-bin/document/root",query:{skip:e,take:o},errors:{401:"Unauthorized"}})}static getTreeDocumentChildren({parentId:e,skip:o,take:i=100,dataTypeId:n,culture:s}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/document/children",query:{parentId:e,skip:o,take:i,dataTypeId:n,culture:s}})}static getTreeDocumentRoot({skip:e,take:o=100,dataTypeId:i,culture:n}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/document/root",query:{skip:e,take:o,dataTypeId:i,culture:n}})}}class ae{static getDocumentBlueprintItem({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/document-blueprint/item",query:{id:e}})}static getTreeDocumentBlueprintRoot({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/document-blueprint/root",query:{skip:e,take:o}})}}class re{static postDocumentType({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/document-type",body:e,mediaType:"application/json",responseHeader:"Location",errors:{400:"Bad Request",404:"Not Found"}})}static getDocumentTypeById({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/document-type/{id}",path:{id:e},errors:{404:"Not Found"}})}static deleteDocumentTypeById({id:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/document-type/{id}",path:{id:e},errors:{404:"Not Found"}})}static putDocumentTypeById({id:e,requestBody:o}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/document-type/{id}",path:{id:e},body:o,mediaType:"application/json",errors:{400:"Bad Request",404:"Not Found"}})}static postDocumentTypeFolder({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/document-type/folder",body:e,mediaType:"application/json",responseHeader:"Location",errors:{400:"Bad Request",404:"Not Found"}})}static getDocumentTypeFolderById({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/document-type/folder/{id}",path:{id:e},errors:{404:"Not Found"}})}static deleteDocumentTypeFolderById({id:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/document-type/folder/{id}",path:{id:e},errors:{400:"Bad Request",404:"Not Found"}})}static putDocumentTypeFolderById({id:e,requestBody:o}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/document-type/folder/{id}",path:{id:e},body:o,mediaType:"application/json",errors:{400:"Bad Request",404:"Not Found"}})}static getDocumentTypeItem({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/document-type/item",query:{id:e}})}static getTreeDocumentTypeChildren({parentId:e,skip:o,take:i=100,foldersOnly:n=!1}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/document-type/children",query:{parentId:e,skip:o,take:i,foldersOnly:n}})}static getTreeDocumentTypeRoot({skip:e,take:o=100,foldersOnly:i=!1}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/document-type/root",query:{skip:e,take:o,foldersOnly:i}})}}class oe{static getHealthCheckGroup({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/health-check-group",query:{skip:e,take:o}})}static getHealthCheckGroupByName({name:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/health-check-group/{name}",path:{name:e},errors:{404:"Not Found"}})}static postHealthCheckGroupByNameCheck({name:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/health-check-group/{name}/check",path:{name:e},errors:{404:"Not Found"}})}static postHealthCheckExecuteAction({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/health-check/execute-action",body:e,mediaType:"application/json",errors:{400:"Bad Request"}})}}class ie{static getHelp({section:e,tree:o,skip:i,take:n=100,baseUrl:s="https://our.umbraco.com"}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/help",query:{section:e,tree:o,skip:i,take:n,baseUrl:s},errors:{400:"Bad Request"}})}}class ne{static getIndexer({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/indexer",query:{skip:e,take:o}})}static getIndexerByIndexName({indexName:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/indexer/{indexName}",path:{indexName:e},errors:{400:"Bad Request"}})}static postIndexerByIndexNameRebuild({indexName:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/indexer/{indexName}/rebuild",path:{indexName:e},errors:{400:"Bad Request",404:"Not Found",409:"Conflict"}})}}class se{static getInstallSettings(){return a(t,{method:"GET",url:"/umbraco/management/api/v1/install/settings",errors:{400:"Bad Request",428:"Client Error"}})}static postInstallSetup({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/install/setup",body:e,mediaType:"application/json",errors:{400:"Bad Request",428:"Client Error"}})}static postInstallValidateDatabase({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/install/validate-database",body:e,mediaType:"application/json",errors:{400:"Bad Request"}})}}class ue{static getLanguage({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/language",query:{skip:e,take:o}})}static postLanguage({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/language",body:e,mediaType:"application/json",responseHeader:"Location",errors:{400:"Bad Request",404:"Not Found"}})}static getLanguageByIsoCode({isoCode:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/language/{isoCode}",path:{isoCode:e},errors:{404:"Not Found"}})}static deleteLanguageByIsoCode({isoCode:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/language/{isoCode}",path:{isoCode:e},errors:{400:"Bad Request",404:"Not Found"}})}static putLanguageByIsoCode({isoCode:e,requestBody:o}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/language/{isoCode}",path:{isoCode:e},body:o,mediaType:"application/json",errors:{400:"Bad Request",404:"Not Found"}})}static getLanguageItem({isoCode:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/language/item",query:{isoCode:e}})}}class de{static getLogViewerLevel({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/log-viewer/level",query:{skip:e,take:o}})}static getLogViewerLevelCount({startDate:e,endDate:o}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/log-viewer/level-count",query:{startDate:e,endDate:o},errors:{400:"Bad Request"}})}static getLogViewerLog({skip:e,take:o=100,orderDirection:i,filterExpression:n,logLevel:s,startDate:u,endDate:d}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/log-viewer/log",query:{skip:e,take:o,orderDirection:i,filterExpression:n,logLevel:s,startDate:u,endDate:d}})}static getLogViewerMessageTemplate({skip:e,take:o=100,startDate:i,endDate:n}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/log-viewer/message-template",query:{skip:e,take:o,startDate:i,endDate:n},errors:{400:"Bad Request"}})}static getLogViewerSavedSearch({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/log-viewer/saved-search",query:{skip:e,take:o}})}static postLogViewerSavedSearch({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/log-viewer/saved-search",body:e,mediaType:"application/json",responseHeader:"Location",errors:{400:"Bad Request"}})}static getLogViewerSavedSearchByName({name:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/log-viewer/saved-search/{name}",path:{name:e},errors:{404:"Not Found"}})}static deleteLogViewerSavedSearchByName({name:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/log-viewer/saved-search/{name}",path:{name:e},errors:{404:"Not Found"}})}static getLogViewerValidateLogsSize({startDate:e,endDate:o}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/log-viewer/validate-logs-size",query:{startDate:e,endDate:o},errors:{400:"Bad Request"}})}}class me{static postMedia({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/media",body:e,mediaType:"application/json",responseHeader:"Location",errors:{404:"Not Found"}})}static getMediaById({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/media/{id}",path:{id:e},errors:{404:"Not Found"}})}static putMediaById({id:e,requestBody:o}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/media/{id}",path:{id:e},body:o,mediaType:"application/json",errors:{404:"Not Found"}})}static putMediaByIdMove({id:e,requestBody:o}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/media/{id}/move",path:{id:e},body:o,mediaType:"application/json",errors:{404:"Not Found"}})}static putMediaByIdMoveToRecycleBin({id:e}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/media/{id}/move-to-recycle-bin",path:{id:e},errors:{400:"Bad Request",404:"Not Found"}})}static getMediaItem({id:e,dataTypeId:o}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/media/item",query:{id:e,dataTypeId:o}})}static putMediaSort({requestBody:e}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/media/sort",body:e,mediaType:"application/json",errors:{400:"Bad Request",404:"Not Found"}})}static getRecycleBinMediaChildren({parentId:e,skip:o,take:i=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/recycle-bin/media/children",query:{parentId:e,skip:o,take:i},errors:{401:"Unauthorized"}})}static getRecycleBinMediaRoot({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/recycle-bin/media/root",query:{skip:e,take:o},errors:{401:"Unauthorized"}})}static getTreeMediaChildren({parentId:e,skip:o,take:i=100,dataTypeId:n}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/media/children",query:{parentId:e,skip:o,take:i,dataTypeId:n}})}static getTreeMediaItem({id:e,dataTypeId:o}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/media/item",query:{id:e,dataTypeId:o}})}static getTreeMediaRoot({skip:e,take:o=100,dataTypeId:i}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/media/root",query:{skip:e,take:o,dataTypeId:i}})}}class pe{static postMediaType({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/media-type",body:e,mediaType:"application/json",responseHeader:"Location",errors:{400:"Bad Request",404:"Not Found"}})}static getMediaTypeById({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/media-type/{id}",path:{id:e},errors:{404:"Not Found"}})}static deleteMediaTypeById({id:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/media-type/{id}",path:{id:e},errors:{404:"Not Found"}})}static putMediaTypeById({id:e,requestBody:o}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/media-type/{id}",path:{id:e},body:o,mediaType:"application/json",errors:{400:"Bad Request",404:"Not Found"}})}static postMediaTypeFolder({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/media-type/folder",body:e,mediaType:"application/json",responseHeader:"Location",errors:{400:"Bad Request",404:"Not Found"}})}static getMediaTypeFolderById({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/media-type/folder/{id}",path:{id:e},errors:{404:"Not Found"}})}static deleteMediaTypeFolderById({id:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/media-type/folder/{id}",path:{id:e},errors:{400:"Bad Request",404:"Not Found"}})}static putMediaTypeFolderById({id:e,requestBody:o}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/media-type/folder/{id}",path:{id:e},body:o,mediaType:"application/json",errors:{400:"Bad Request",404:"Not Found"}})}static getMediaTypeItem({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/media-type/item",query:{id:e}})}static getTreeMediaTypeChildren({parentId:e,skip:o,take:i=100,foldersOnly:n=!1}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/media-type/children",query:{parentId:e,skip:o,take:i,foldersOnly:n}})}static getTreeMediaTypeRoot({skip:e,take:o=100,foldersOnly:i=!1}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/media-type/root",query:{skip:e,take:o,foldersOnly:i}})}}class ce{static getMemberItem({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/member/item",query:{id:e}})}}class le{static getMemberGroupItem({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/member-group/item",query:{id:e}})}static getTreeMemberGroupRoot({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/member-group/root",query:{skip:e,take:o}})}}class ye{static getMemberTypeItem({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/member-type/item",query:{id:e}})}static getTreeMemberTypeRoot({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/member-type/root",query:{skip:e,take:o}})}}class he{static postModelsBuilderBuild(){return a(t,{method:"POST",url:"/umbraco/management/api/v1/models-builder/build",errors:{428:"Client Error"}})}static getModelsBuilderDashboard(){return a(t,{method:"GET",url:"/umbraco/management/api/v1/models-builder/dashboard"})}static getModelsBuilderStatus(){return a(t,{method:"GET",url:"/umbraco/management/api/v1/models-builder/status"})}}class ge{static getObjectTypes({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/object-types",query:{skip:e,take:o}})}}class Te{static postPackageByNameRunMigration({name:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/package/{name}/run-migration",path:{name:e},errors:{404:"Not Found",409:"Conflict"}})}static getPackageCreated({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/package/created",query:{skip:e,take:o}})}static postPackageCreated({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/package/created",body:e,mediaType:"application/json",responseHeader:"Location",errors:{400:"Bad Request",404:"Not Found"}})}static getPackageCreatedById({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/package/created/{id}",path:{id:e},errors:{404:"Not Found"}})}static deletePackageCreatedById({id:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/package/created/{id}",path:{id:e},errors:{404:"Not Found"}})}static putPackageCreatedById({id:e,requestBody:o}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/package/created/{id}",path:{id:e},body:o,mediaType:"application/json",errors:{404:"Not Found"}})}static getPackageCreatedByIdDownload({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/package/created/{id}/download",path:{id:e},errors:{404:"Not Found"}})}static getPackageManifest(){return a(t,{method:"GET",url:"/umbraco/management/api/v1/package/manifest"})}static getPackageMigrationStatus({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/package/migration-status",query:{skip:e,take:o}})}}class be{static getPartialView({path:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/partial-view",query:{path:e}})}static postPartialView({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/partial-view",body:e,mediaType:"application/json",responseHeader:"Location"})}static deletePartialView({path:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/partial-view",query:{path:e}})}static putPartialView({requestBody:e}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/partial-view",body:e,mediaType:"application/json"})}static getPartialViewFolder({path:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/partial-view/folder",query:{path:e}})}static postPartialViewFolder({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/partial-view/folder",body:e,mediaType:"application/json"})}static deletePartialViewFolder({path:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/partial-view/folder",query:{path:e}})}static getPartialViewItem({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/partial-view/item",query:{id:e}})}static getPartialViewSnippet({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/partial-view/snippet",query:{skip:e,take:o}})}static getPartialViewSnippetByName({name:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/partial-view/snippet/{name}",path:{name:e},errors:{404:"Not Found"}})}static getTreePartialViewChildren({path:e,skip:o,take:i=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/partial-view/children",query:{path:e,skip:o,take:i}})}static getTreePartialViewRoot({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/partial-view/root",query:{skip:e,take:o}})}}class ve{static getProfilingStatus(){return a(t,{method:"GET",url:"/umbraco/management/api/v1/profiling/status"})}static putProfilingStatus({requestBody:e}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/profiling/status",body:e,mediaType:"application/json"})}}class Ee{static getPropertyTypeIsUsed({contentTypeId:e,propertyAlias:o}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/property-type/is-used",query:{contentTypeId:e,propertyAlias:o},errors:{400:"Bad Request"}})}}class ke{static postPublishedCacheCollect(){return a(t,{method:"POST",url:"/umbraco/management/api/v1/published-cache/collect"})}static postPublishedCacheRebuild(){return a(t,{method:"POST",url:"/umbraco/management/api/v1/published-cache/rebuild"})}static postPublishedCacheReload(){return a(t,{method:"POST",url:"/umbraco/management/api/v1/published-cache/reload"})}static getPublishedCacheStatus(){return a(t,{method:"GET",url:"/umbraco/management/api/v1/published-cache/status"})}}class Be{static getRedirectManagement({filter:e,skip:o,take:i=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/redirect-management",query:{filter:e,skip:o,take:i},errors:{400:"Bad Request"}})}static getRedirectManagementById({id:e,skip:o,take:i=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/redirect-management/{id}",path:{id:e},query:{skip:o,take:i}})}static deleteRedirectManagementById({id:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/redirect-management/{id}",path:{id:e}})}static getRedirectManagementStatus(){return a(t,{method:"GET",url:"/umbraco/management/api/v1/redirect-management/status"})}static postRedirectManagementStatus({status:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/redirect-management/status",query:{status:e}})}}class qe{static getRelationChildRelationByChildId({childId:e,skip:o,take:i=100,relationTypeAlias:n=""}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/relation/child-relation/{childId}",path:{childId:e},query:{skip:o,take:i,relationTypeAlias:n}})}static getRelationTypeById({id:e,skip:o,take:i=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/relation/type/{id}",path:{id:e},query:{skip:o,take:i},errors:{404:"Not Found"}})}}class Ie{static postRelationType({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/relation-type",body:e,mediaType:"application/json",responseHeader:"Location",errors:{400:"Bad Request"}})}static getRelationTypeById({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/relation-type/{id}",path:{id:e},errors:{404:"Not Found"}})}static deleteRelationTypeById({id:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/relation-type/{id}",path:{id:e},errors:{404:"Not Found"}})}static putRelationTypeById({id:e,requestBody:o}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/relation-type/{id}",path:{id:e},body:o,mediaType:"application/json",errors:{400:"Bad Request",404:"Not Found"}})}static getRelationTypeItem({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/relation-type/item",query:{id:e}})}static getTreeRelationTypeRoot({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/relation-type/root",query:{skip:e,take:o}})}}class Re{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 Se{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 postSecurityForgotPassword({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/security/forgot-password",body:e,mediaType:"application/json",errors:{400:"Bad Request"}})}static postSecurityForgotPasswordReset({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/security/forgot-password/reset",body:e,mediaType:"application/json",errors:{400:"Bad Request",404:"Not Found"}})}static postSecurityForgotPasswordVerify({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/security/forgot-password/verify",body:e,mediaType:"application/json",errors:{400:"Bad Request",404:"Not Found"}})}}class Pe{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 Ge{static getStylesheet({path:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/stylesheet",query:{path:e}})}static postStylesheet({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/stylesheet",body:e,mediaType:"application/json",responseHeader:"Location"})}static deleteStylesheet({path:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/stylesheet",query:{path:e}})}static putStylesheet({requestBody:e}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/stylesheet",body:e,mediaType:"application/json"})}static getStylesheetAll({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/stylesheet/all",query:{skip:e,take:o}})}static getStylesheetFolder({path:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/stylesheet/folder",query:{path:e}})}static postStylesheetFolder({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/stylesheet/folder",body:e,mediaType:"application/json"})}static deleteStylesheetFolder({path:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/stylesheet/folder",query:{path:e}})}static getStylesheetItem({path:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/stylesheet/item",query:{path:e}})}static postStylesheetRichTextExtractRules({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/stylesheet/rich-text/extract-rules",body:e,mediaType:"application/json"})}static postStylesheetRichTextInterpolateRules({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/stylesheet/rich-text/interpolate-rules",body:e,mediaType:"application/json"})}static getStylesheetRichTextRules({path:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/stylesheet/rich-text/rules",query:{path:e}})}static getTreeStylesheetChildren({path:e,skip:o,take:i=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/stylesheet/children",query:{path:e,skip:o,take:i}})}static getTreeStylesheetRoot({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/stylesheet/root",query:{skip:e,take:o}})}}class 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 fe{static getTelemetry({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/telemetry",query:{skip:e,take:o}})}static getTelemetryLevel(){return a(t,{method:"GET",url:"/umbraco/management/api/v1/telemetry/level"})}static postTelemetryLevel({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/telemetry/level",body:e,mediaType:"application/json",errors:{400:"Bad Request"}})}}class Ce{static postTemplate({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/template",body:e,mediaType:"application/json",responseHeader:"Location",errors:{400:"Bad Request",404:"Not Found"}})}static getTemplateById({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/template/{id}",path:{id:e},errors:{404:"Not Found"}})}static deleteTemplateById({id:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/template/{id}",path:{id:e},errors:{400:"Bad Request",404:"Not Found"}})}static putTemplateById({id:e,requestBody:o}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/template/{id}",path:{id:e},body:o,mediaType:"application/json",errors:{400:"Bad Request",404:"Not Found"}})}static getTemplateItem({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/template/item",query:{id:e}})}static postTemplateQueryExecute({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/template/query/execute",body:e,mediaType:"application/json"})}static getTemplateQuerySettings(){return a(t,{method:"GET",url:"/umbraco/management/api/v1/template/query/settings"})}static getTemplateScaffold({masterTemplateId:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/template/scaffold",query:{masterTemplateId:e},errors:{404:"Not Found"}})}static getTreeTemplateChildren({parentId:e,skip:o,take:i=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/template/children",query:{parentId:e,skip:o,take:i}})}static getTreeTemplateRoot({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tree/template/root",query:{skip:e,take:o}})}}class Le{static postTemporaryfile({formData:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/temporaryfile",formData:e,mediaType:"multipart/form-data",responseHeader:"Location",errors:{400:"Bad Request"}})}static getTemporaryfileById({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/temporaryfile/{id}",path:{id:e},errors:{400:"Bad Request",404:"Not Found"}})}static deleteTemporaryfileById({id:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/temporaryfile/{id}",path:{id:e},errors:{400:"Bad Request",404:"Not Found"}})}}class Fe{static getTour(){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tour"})}static postTour({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/tour",body:e,mediaType:"application/json"})}}class Ue{static getTrackedReferenceById({id:e,skip:o,take:i=20,filterMustBeIsDependency:n=!1}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tracked-reference/{id}",path:{id:e},query:{skip:o,take:i,filterMustBeIsDependency:n}})}static getTrackedReferenceDescendantsByParentId({parentId:e,skip:o,take:i=20,filterMustBeIsDependency:n=!0}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tracked-reference/descendants/{parentId}",path:{parentId:e},query:{skip:o,take:i,filterMustBeIsDependency:n}})}static getTrackedReferenceItem({id:e,skip:o,take:i=20,filterMustBeIsDependency:n=!0}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/tracked-reference/item",query:{id:e,skip:o,take:i,filterMustBeIsDependency:n}})}}class Ae{static postUpgradeAuthorize(){return a(t,{method:"POST",url:"/umbraco/management/api/v1/upgrade/authorize",errors:{428:"Client Error",500:"Server Error"}})}static getUpgradeSettings(){return a(t,{method:"GET",url:"/umbraco/management/api/v1/upgrade/settings",errors:{428:"Client Error"}})}}class je{static postUser({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/user",body:e,mediaType:"application/json",errors:{400:"Bad Request"}})}static deleteUser({requestBody:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/user",body:e,mediaType:"application/json",errors:{400:"Bad Request"}})}static getUser({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/user",query:{skip:e,take:o}})}static getUserById({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/user/{id}",path:{id:e},errors:{404:"Not Found"}})}static deleteUserById({id:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/user/{id}",path:{id:e}})}static putUserById({id:e,requestBody:o}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/user/{id}",path:{id:e},body:o,mediaType:"application/json"})}static deleteUserAvatarById({id:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/user/avatar/{id}",path:{id:e}})}static postUserAvatarById({id:e,requestBody:o}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/user/avatar/{id}",path:{id:e},body:o,mediaType:"application/json",errors:{400:"Bad Request"}})}static postUserChangePasswordById({id:e,requestBody:o}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/user/change-password/{id}",path:{id:e},body:o,mediaType:"application/json"})}static getUserCurrent(){return a(t,{method:"GET",url:"/umbraco/management/api/v1/user/current"})}static postUserCurrentAvatar({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/user/current/avatar",body:e,mediaType:"application/json"})}static postUserCurrentChangePassword({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/user/current/change-password",body:e,mediaType:"application/json"})}static getUserCurrentData(){return a(t,{method:"GET",url:"/umbraco/management/api/v1/user/current/data"})}static getUserCurrentLogins(){return a(t,{method:"GET",url:"/umbraco/management/api/v1/user/current/logins"})}static getUserCurrentPermissions({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/user/current/permissions",query:{id:e}})}static getUserCurrentPermissionsDocument({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/user/current/permissions/document",query:{id:e}})}static getUserCurrentPermissionsMedia({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/user/current/permissions/media",query:{id:e}})}static postUserDisable({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/user/disable",body:e,mediaType:"application/json",errors:{400:"Bad Request"}})}static postUserEnable({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/user/enable",body:e,mediaType:"application/json",errors:{400:"Bad Request"}})}static getUserFilter({skip:e,take:o=100,orderBy:i,orderDirection:n,userGroupIds:s,userStates:u,filter:d=""}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/user/filter",query:{skip:e,take:o,orderBy:i,orderDirection:n,userGroupIds:s,userStates:u,filter:d}})}static postUserInvite({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/user/invite",body:e,mediaType:"application/json",responseHeader:"Location"})}static postUserInviteCreatePassword({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/user/invite/create-password",body:e,mediaType:"application/json",errors:{404:"Not Found"}})}static postUserInviteResend({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/user/invite/resend",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:{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 Me{static deleteUserGroup({requestBody:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/user-group",body:e,mediaType:"application/json",errors:{404:"Not Found"}})}static postUserGroup({requestBody:e}){return a(t,{method:"POST",url:"/umbraco/management/api/v1/user-group",body:e,mediaType:"application/json",responseHeader:"Location",errors:{400:"Bad Request"}})}static getUserGroup({skip:e,take:o=100}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/user-group",query:{skip:e,take:o}})}static getUserGroupById({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/user-group/{id}",path:{id:e},errors:{404:"Not Found"}})}static deleteUserGroupById({id:e}){return a(t,{method:"DELETE",url:"/umbraco/management/api/v1/user-group/{id}",path:{id:e},errors:{404:"Not Found"}})}static putUserGroupById({id:e,requestBody:o}){return a(t,{method:"PUT",url:"/umbraco/management/api/v1/user-group/{id}",path:{id:e},body:o,mediaType:"application/json",errors:{404:"Not Found"}})}static getUserGroupItem({id:e}){return a(t,{method:"GET",url:"/umbraco/management/api/v1/user-group/item",query:{id:e}})}}export{y as ApiError,J as AuditLogResource,k as AuditTypeModel,v as CancelError,E as CancelablePromise,B as ContentStateModel,q as ContentTypeCompositionTypeModel,X as CultureResource,Z as DataTypeResource,ee as DictionaryResource,I as DirectionModel,ae as DocumentBlueprintResource,te as DocumentResource,re as DocumentTypeResource,oe as HealthCheckResource,R as HealthStatusModel,ie as HelpResource,ne as IndexerResource,se as InstallResource,ue as LanguageResource,S 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,P as OperatorModel,N as OutOfDateTypeModel,Te as PackageResource,be as PartialViewResource,ve as ProfilingResource,Ee as PropertyTypeResource,ke as PublishedCacheResource,G as PublishedStateModel,Be as RedirectManagementResource,O as RedirectStatusModel,qe as RelationResource,Ie as RelationTypeResource,f as RuntimeLevelModel,Re as ScriptResource,Se as SearcherResource,De as SecurityResource,Pe as ServerResource,Ne as StaticFileResource,C as StatusResultTypeModel,Ge as StylesheetResource,Oe as TagResource,L as TelemetryLevelModel,fe as TelemetryResource,F as TemplateQueryPropertyTypeModel,Ce as TemplateResource,Le as TemporaryFileResource,Fe as TourResource,Ue as TrackedReferenceResource,Ae as UpgradeResource,Me as UserGroupResource,U as UserOrderModel,je as UserResource,A as UserStateModel};
1
+ class l extends Error{url;status;statusText;body;request;constructor(e,o,n){super(n),this.name="ApiError",this.url=o.url,this.status=o.status,this.statusText=o.statusText,this.body=o.body,this.request=e}}class q extends Error{constructor(e){super(e),this.name="CancelError"}get isCancelled(){return!0}}class b{#t;#r;#e;#a;#o;#i;#n;constructor(e){this.#t=!1,this.#r=!1,this.#e=!1,this.#a=[],this.#o=new Promise((o,n)=>{this.#i=o,this.#n=n;const i=d=>{this.#t||this.#r||this.#e||(this.#t=!0,this.#i?.(d))},s=d=>{this.#t||this.#r||this.#e||(this.#r=!0,this.#n?.(d))},u=d=>{this.#t||this.#r||this.#e||this.#a.push(d)};return Object.defineProperty(u,"isResolved",{get:()=>this.#t}),Object.defineProperty(u,"isRejected",{get:()=>this.#r}),Object.defineProperty(u,"isCancelled",{get:()=>this.#e}),e(i,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.#r||this.#e)){if(this.#e=!0,this.#a.length)try{for(const e of this.#a)e()}catch(e){console.warn("Cancellation threw an error",e);return}this.#a.length=0,this.#n?.(new q("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 v=(a=>(a.NEW="New",a.SAVE="Save",a.SAVE_VARIANT="SaveVariant",a.OPEN="Open",a.DELETE="Delete",a.PUBLISH="Publish",a.PUBLISH_VARIANT="PublishVariant",a.SEND_TO_PUBLISH="SendToPublish",a.SEND_TO_PUBLISH_VARIANT="SendToPublishVariant",a.UNPUBLISH="Unpublish",a.UNPUBLISH_VARIANT="UnpublishVariant",a.MOVE="Move",a.COPY="Copy",a.ASSIGN_DOMAIN="AssignDomain",a.PUBLIC_ACCESS="PublicAccess",a.SORT="Sort",a.NOTIFY="Notify",a.SYSTEM="System",a.ROLL_BACK="RollBack",a.PACKAGER_INSTALL="PackagerInstall",a.PACKAGER_UNINSTALL="PackagerUninstall",a.CUSTOM="Custom",a.CONTENT_VERSION_PREVENT_CLEANUP="ContentVersionPreventCleanup",a.CONTENT_VERSION_ENABLE_CLEANUP="ContentVersionEnableCleanup",a))(v||{}),E=(a=>(a.NOT_CREATED="NotCreated",a.DRAFT="Draft",a.PUBLISHED="Published",a.PUBLISHED_PENDING_CHANGES="PublishedPendingChanges",a))(E||{}),B=(a=>(a.COMPOSITION="Composition",a.INHERITANCE="Inheritance",a))(B||{}),I=(a=>(a.ASCENDING="Ascending",a.DESCENDING="Descending",a))(I||{}),R=(a=>(a.HEALTHY="Healthy",a.UNHEALTHY="Unhealthy",a.REBUILDING="Rebuilding",a))(R||{}),S=(a=>(a.VERBOSE="Verbose",a.DEBUG="Debug",a.INFORMATION="Information",a.WARNING="Warning",a.ERROR="Error",a.FATAL="Fatal",a))(S||{}),D=(a=>(a.NOTHING="Nothing",a.IN_MEMORY_AUTO="InMemoryAuto",a.SOURCE_CODE_MANUAL="SourceCodeManual",a.SOURCE_CODE_AUTO="SourceCodeAuto",a))(D||{}),P=(a=>(a.EQUALS="Equals",a.NOT_EQUALS="NotEquals",a.CONTAINS="Contains",a.NOT_CONTAINS="NotContains",a.LESS_THAN="LessThan",a.LESS_THAN_EQUAL_TO="LessThanEqualTo",a.GREATER_THAN="GreaterThan",a.GREATER_THAN_EQUAL_TO="GreaterThanEqualTo",a))(P||{}),N=(a=>(a.OUT_OF_DATE="OutOfDate",a.CURRENT="Current",a.UNKNOWN="Unknown",a))(N||{}),G=(a=>(a.PUBLISHED="Published",a.UNPUBLISHED="Unpublished",a.PUBLISHING="Publishing",a.UNPUBLISHING="Unpublishing",a))(G||{}),f=(a=>(a.ENABLED="Enabled",a.DISABLED="Disabled",a))(f||{}),O=(a=>(a.UNKNOWN="Unknown",a.BOOT="Boot",a.INSTALL="Install",a.UPGRADE="Upgrade",a.RUN="Run",a.BOOT_FAILED="BootFailed",a))(O||{}),C=(a=>(a.SUCCESS="Success",a.WARNING="Warning",a.ERROR="Error",a.INFO="Info",a))(C||{}),L=(a=>(a.MINIMAL="Minimal",a.BASIC="Basic",a.DETAILED="Detailed",a))(L||{}),F=(a=>(a.STRING="String",a.DATE_TIME="DateTime",a.INTEGER="Integer",a))(F||{}),U=(a=>(a.USER_NAME="UserName",a.LANGUAGE="Language",a.NAME="Name",a.EMAIL="Email",a.ID="Id",a.CREATE_DATE="CreateDate",a.UPDATE_DATE="UpdateDate",a.IS_APPROVED="IsApproved",a.IS_LOCKED_OUT="IsLockedOut",a.LAST_LOGIN_DATE="LastLoginDate",a))(U||{}),A=(a=>(a.ACTIVE="Active",a.DISABLED="Disabled",a.LOCKED_OUT="LockedOut",a.INVITED="Invited",a.INACTIVE="Inactive",a.ALL="All",a))(A||{});const T=a=>a!=null,m=a=>typeof a=="string",y=a=>m(a)&&a!=="",g=a=>typeof a=="object"&&typeof a.type=="string"&&typeof a.stream=="function"&&typeof a.arrayBuffer=="function"&&typeof a.constructor=="function"&&typeof a.constructor.name=="string"&&/^(Blob|File)$/.test(a.constructor.name)&&/^(Blob|File)$/.test(a[Symbol.toStringTag]),j=a=>a instanceof FormData,H=a=>{try{return btoa(a)}catch{return Buffer.from(a).toString("base64")}},_=a=>{const e=[],o=(i,s)=>{e.push(`${encodeURIComponent(i)}=${encodeURIComponent(String(s))}`)},n=(i,s)=>{T(s)&&(Array.isArray(s)?s.forEach(u=>{n(i,u)}):typeof s=="object"?Object.entries(s).forEach(([u,d])=>{n(`${i}[${u}]`,d)}):o(i,s))};return Object.entries(a).forEach(([i,s])=>{n(i,s)}),e.length>0?`?${e.join("&")}`:""},V=(a,e)=>{const o=a.ENCODE_PATH||encodeURI,n=e.url.replace("{api-version}",a.VERSION).replace(/{(.*?)}/g,(s,u)=>e.path?.hasOwnProperty(u)?o(String(e.path[u])):s),i=`${a.BASE}${n}`;return e.query?`${i}${_(e.query)}`:i},x=a=>{if(a.formData){const e=new FormData,o=(n,i)=>{m(i)||g(i)?e.append(n,i):e.append(n,JSON.stringify(i))};return Object.entries(a.formData).filter(([n,i])=>T(i)).forEach(([n,i])=>{Array.isArray(i)?i.forEach(s=>o(n,s)):o(n,i)}),e}},h=async(a,e)=>typeof e=="function"?e(a):e,$=async(a,e)=>{const o=await h(e,a.TOKEN),n=await h(e,a.USERNAME),i=await h(e,a.PASSWORD),s=await h(e,a.HEADERS),u=Object.entries({Accept:"application/json",...s,...e.headers}).filter(([d,c])=>T(c)).reduce((d,[c,p])=>({...d,[c]:String(p)}),{});if(y(o)&&(u.Authorization=`Bearer ${o}`),y(n)&&y(i)){const d=H(`${n}:${i}`);u.Authorization=`Basic ${d}`}return e.body&&(e.mediaType?u["Content-Type"]=e.mediaType:g(e.body)?u["Content-Type"]=e.body.type||"application/octet-stream":m(e.body)?u["Content-Type"]="text/plain":j(e.body)||(u["Content-Type"]="application/json")),new Headers(u)},W=a=>{if(a.body!==void 0)return a.mediaType?.includes("/json")?JSON.stringify(a.body):m(a.body)||g(a.body)||j(a.body)?a.body:JSON.stringify(a.body)},K=async(a,e,o,n,i,s,u)=>{const d=new AbortController,c={headers:s,body:n??i,method:e.method,signal:d.signal};return a.WITH_CREDENTIALS&&(c.credentials=a.CREDENTIALS),u(()=>d.abort()),await fetch(o,c)},Q=(a,e)=>{if(e){const o=a.headers.get(e);if(m(o))return o}},z=async a=>{if(a.status!==204)try{const e=a.headers.get("Content-Type");if(e)return["application/json","application/problem+json"].some(o=>e.toLowerCase().startsWith(o))?await a.json():await a.text()}catch(e){console.error(e)}},Y=(a,e)=>{const o={400:"Bad Request",401:"Unauthorized",403:"Forbidden",404:"Not Found",500:"Internal Server Error",502:"Bad Gateway",503:"Service Unavailable",...a.errors}[e.status];if(o)throw new l(a,e,o);if(!e.ok){const n=e.status??"unknown",i=e.statusText??"unknown",s=(()=>{try{return JSON.stringify(e.body,null,2)}catch{return}})();throw new l(a,e,`Generic Error: status: ${n}; status text: ${i}; body: ${s}`)}},r=(a,e)=>new b(async(o,n,i)=>{try{const s=V(a,e),u=x(e),d=W(e),c=await $(a,e);if(!i.isCancelled){const p=await K(a,e,s,d,u,c,i),M=await z(p),w=Q(p,e.responseHeader),k={url:s,ok:p.ok,status:p.status,statusText:p.statusText,body:w??M};Y(e,k),o(k.body)}}catch(s){n(s)}});class J{static getAuditLog({orderDirection:e,sinceDate:o,skip:n,take:i=100}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/audit-log",query:{orderDirection:e,sinceDate:o,skip:n,take:i},errors:{401:"The resource is protected and requires an authentication token"}})}static getAuditLogById({id:e,orderDirection:o,sinceDate:n,skip:i,take:s=100}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/audit-log/{id}",path:{id:e},query:{orderDirection:o,sinceDate:n,skip:i,take:s},errors:{401:"The resource is protected and requires an authentication token"}})}static getAuditLogTypeByLogType({logType:e,sinceDate:o,skip:n,take:i=100}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/audit-log/type/{logType}",path:{logType:e},query:{sinceDate:o,skip:n,take:i},errors:{401:"The resource is protected and requires an authentication token"}})}}class X{static getCulture({skip:e,take:o=100}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/culture",query:{skip:e,take:o},errors:{401:"The resource is protected and requires an authentication token"}})}}class Z{static postDataType({requestBody:e}){return r(t,{method:"POST",url:"/umbraco/management/api/v1/data-type",body:e,mediaType:"application/json",responseHeader:"Location",errors:{400:"Bad Request",401:"The resource is protected and requires an authentication token",404:"Not Found"}})}static getDataTypeById({id:e}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/data-type/{id}",path:{id:e},errors:{401:"The resource is protected and requires an authentication token",404:"Not Found"}})}static deleteDataTypeById({id:e}){return r(t,{method:"DELETE",url:"/umbraco/management/api/v1/data-type/{id}",path:{id:e},errors:{400:"Bad Request",401:"The resource is protected and requires an authentication token",404:"Not Found"}})}static putDataTypeById({id:e,requestBody:o}){return r(t,{method:"PUT",url:"/umbraco/management/api/v1/data-type/{id}",path:{id:e},body:o,mediaType:"application/json",errors:{400:"Bad Request",401:"The resource is protected and requires an authentication token",404:"Not Found"}})}static postDataTypeByIdCopy({id:e,requestBody:o}){return r(t,{method:"POST",url:"/umbraco/management/api/v1/data-type/{id}/copy",path:{id:e},body:o,mediaType:"application/json",responseHeader:"Location",errors:{401:"The resource is protected and requires an authentication token",404:"Not Found"}})}static getDataTypeByIdIsUsed({id:e}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/data-type/{id}/is-used",path:{id:e},errors:{401:"The resource is protected and requires an authentication token",404:"Not Found"}})}static postDataTypeByIdMove({id:e,requestBody:o}){return r(t,{method:"POST",url:"/umbraco/management/api/v1/data-type/{id}/move",path:{id:e},body:o,mediaType:"application/json",errors:{401:"The resource is protected and requires an authentication token",404:"Not Found"}})}static getDataTypeByIdReferences({id:e}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/data-type/{id}/references",path:{id:e},errors:{401:"The resource is protected and requires an authentication token",404:"Not Found"}})}static postDataTypeFolder({requestBody:e}){return r(t,{method:"POST",url:"/umbraco/management/api/v1/data-type/folder",body:e,mediaType:"application/json",responseHeader:"Location",errors:{400:"Bad Request",401:"The resource is protected and requires an authentication token",404:"Not Found"}})}static getDataTypeFolderById({id:e}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/data-type/folder/{id}",path:{id:e},errors:{401:"The resource is protected and requires an authentication token",404:"Not Found"}})}static deleteDataTypeFolderById({id:e}){return r(t,{method:"DELETE",url:"/umbraco/management/api/v1/data-type/folder/{id}",path:{id:e},errors:{400:"Bad Request",401:"The resource is protected and requires an authentication token",404:"Not Found"}})}static putDataTypeFolderById({id:e,requestBody:o}){return r(t,{method:"PUT",url:"/umbraco/management/api/v1/data-type/folder/{id}",path:{id:e},body:o,mediaType:"application/json",errors:{400:"Bad Request",401:"The resource is protected and requires an authentication token",404:"Not Found"}})}static getDataTypeItem({id:e}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/data-type/item",query:{id:e},errors:{401:"The resource is protected and requires an authentication token"}})}static getDataTypeItemByAlias({alias:e}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/data-type/item/{alias}",path:{alias:e},errors:{401:"The resource is protected and requires an authentication token"}})}static getTreeDataTypeChildren({parentId:e,skip:o,take:n=100,foldersOnly:i=!1}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/tree/data-type/children",query:{parentId:e,skip:o,take:n,foldersOnly:i},errors:{401:"The resource is protected and requires an authentication token"}})}static getTreeDataTypeRoot({skip:e,take:o=100,foldersOnly:n=!1}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/tree/data-type/root",query:{skip:e,take:o,foldersOnly:n},errors:{401:"The resource is protected and requires an authentication token"}})}}class ee{static getDictionary({skip:e,take:o=100}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/dictionary",query:{skip:e,take:o},errors:{401:"The resource is protected and requires an authentication token"}})}static postDictionary({requestBody:e}){return r(t,{method:"POST",url:"/umbraco/management/api/v1/dictionary",body:e,mediaType:"application/json",responseHeader:"Location",errors:{400:"Bad Request",401:"The resource is protected and requires an authentication token",404:"Not Found",409:"Conflict"}})}static getDictionaryById({id:e}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/dictionary/{id}",path:{id:e},errors:{401:"The resource is protected and requires an authentication token",404:"Not Found"}})}static deleteDictionaryById({id:e}){return r(t,{method:"DELETE",url:"/umbraco/management/api/v1/dictionary/{id}",path:{id:e},errors:{400:"Bad Request",401:"The resource is protected and requires an authentication token",404:"Not Found"}})}static putDictionaryById({id:e,requestBody:o}){return r(t,{method:"PUT",url:"/umbraco/management/api/v1/dictionary/{id}",path:{id:e},body:o,mediaType:"application/json",errors:{400:"Bad Request",401:"The resource is protected and requires an authentication token",404:"Not Found"}})}static getDictionaryByIdExport({id:e,includeChildren:o=!1}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/dictionary/{id}/export",path:{id:e},query:{includeChildren:o},errors:{401:"The resource is protected and requires an authentication token",404:"Not Found"}})}static postDictionaryByIdMove({id:e,requestBody:o}){return r(t,{method:"POST",url:"/umbraco/management/api/v1/dictionary/{id}/move",path:{id:e},body:o,mediaType:"application/json",errors:{400:"Bad Request",401:"The resource is protected and requires an authentication token",404:"Not Found"}})}static postDictionaryImport({requestBody:e}){return r(t,{method:"POST",url:"/umbraco/management/api/v1/dictionary/import",body:e,mediaType:"application/json",responseHeader:"Location",errors:{400:"Bad Request",401:"The resource is protected and requires an authentication token",404:"Not Found"}})}static getDictionaryItem({id:e}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/dictionary/item",query:{id:e},errors:{401:"The resource is protected and requires an authentication token"}})}static getTreeDictionaryChildren({parentId:e,skip:o,take:n=100}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/tree/dictionary/children",query:{parentId:e,skip:o,take:n},errors:{401:"The resource is protected and requires an authentication token"}})}static getTreeDictionaryRoot({skip:e,take:o=100}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/tree/dictionary/root",query:{skip:e,take:o},errors:{401:"The resource is protected and requires an authentication token"}})}}class te{static postDocument({requestBody:e}){return r(t,{method:"POST",url:"/umbraco/management/api/v1/document",body:e,mediaType:"application/json",responseHeader:"Location",errors:{401:"The resource is protected and requires an authentication token",403:"The authenticated user do not have access to this resource",404:"Not Found"}})}static getDocumentById({id:e}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/document/{id}",path:{id:e},errors:{401:"The resource is protected and requires an authentication token",403:"The authenticated user do not have access to this resource",404:"Not Found"}})}static putDocumentById({id:e,requestBody:o}){return r(t,{method:"PUT",url:"/umbraco/management/api/v1/document/{id}",path:{id:e},body:o,mediaType:"application/json",errors:{401:"The resource is protected and requires an authentication token",403:"The authenticated user do not have access to this resource",404:"Not Found"}})}static postDocumentByIdCopy({id:e,requestBody:o}){return r(t,{method:"POST",url:"/umbraco/management/api/v1/document/{id}/copy",path:{id:e},body:o,mediaType:"application/json",responseHeader:"Location",errors:{401:"The resource is protected and requires an authentication token",403:"The authenticated user do not have access to this resource",404:"Not Found"}})}static getDocumentByIdDomains({id:e}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/document/{id}/domains",path:{id:e},errors:{401:"The resource is protected and requires an authentication token",404:"Not Found"}})}static putDocumentByIdDomains({id:e,requestBody:o}){return r(t,{method:"PUT",url:"/umbraco/management/api/v1/document/{id}/domains",path:{id:e},body:o,mediaType:"application/json",errors:{401:"The resource is protected and requires an authentication token"}})}static putDocumentByIdMove({id:e,requestBody:o}){return r(t,{method:"PUT",url:"/umbraco/management/api/v1/document/{id}/move",path:{id:e},body:o,mediaType:"application/json",errors:{401:"The resource is protected and requires an authentication token",403:"The authenticated user do not have access to this resource",404:"Not Found"}})}static putDocumentByIdMoveToRecycleBin({id:e}){return r(t,{method:"PUT",url:"/umbraco/management/api/v1/document/{id}/move-to-recycle-bin",path:{id:e},errors:{400:"Bad Request",401:"The resource is protected and requires an authentication token",403:"The authenticated user do not have access to this resource",404:"Not Found"}})}static getDocumentByIdNotifications({id:e}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/document/{id}/notifications",path:{id:e},errors:{401:"The resource is protected and requires an authentication token",403:"The authenticated user do not have access to this resource",404:"Not Found"}})}static putDocumentByIdNotifications({id:e,requestBody:o}){return r(t,{method:"PUT",url:"/umbraco/management/api/v1/document/{id}/notifications",path:{id:e},body:o,mediaType:"application/json",errors:{401:"The resource is protected and requires an authentication token",404:"Not Found"}})}static postDocumentByIdPublicAccess({id:e,requestBody:o}){return r(t,{method:"POST",url:"/umbraco/management/api/v1/document/{id}/public-access",path:{id:e},body:o,mediaType:"application/json",responseHeader:"Location",errors:{401:"The resource is protected and requires an authentication token",403:"The authenticated user do not have access to this resource",404:"Not Found"}})}static deleteDocumentByIdPublicAccess({id:e}){return r(t,{method:"DELETE",url:"/umbraco/management/api/v1/document/{id}/public-access",path:{id:e},errors:{401:"The resource is protected and requires an authentication token",403:"The authenticated user do not have access to this resource",404:"Not Found"}})}static getDocumentByIdPublicAccess({id:e}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/document/{id}/public-access",path:{id:e},errors:{401:"The resource is protected and requires an authentication token",403:"The authenticated user do not have access to this resource",404:"Not Found"}})}static putDocumentByIdPublicAccess({id:e,requestBody:o}){return r(t,{method:"PUT",url:"/umbraco/management/api/v1/document/{id}/public-access",path:{id:e},body:o,mediaType:"application/json",errors:{401:"The resource is protected and requires an authentication token",403:"The authenticated user do not have access to this resource",404:"Not Found"}})}static putDocumentByIdPublish({id:e,requestBody:o}){return r(t,{method:"PUT",url:"/umbraco/management/api/v1/document/{id}/publish",path:{id:e},body:o,mediaType:"application/json",errors:{400:"Bad Request",401:"The resource is protected and requires an authentication token",403:"The authenticated user do not have access to this resource",404:"Not Found"}})}static putDocumentByIdPublishWithDescendants({id:e,requestBody:o}){return r(t,{method:"PUT",url:"/umbraco/management/api/v1/document/{id}/publish-with-descendants",path:{id:e},body:o,mediaType:"application/json",errors:{400:"Bad Request",401:"The resource is protected and requires an authentication token",403:"The authenticated user do not have access to this resource",404:"Not Found"}})}static putDocumentByIdUnpublish({id:e,requestBody:o}){return r(t,{method:"PUT",url:"/umbraco/management/api/v1/document/{id}/unpublish",path:{id:e},body:o,mediaType:"application/json",errors:{400:"Bad Request",401:"The resource is protected and requires an authentication token",403:"The authenticated user do not have access to this resource",404:"Not Found"}})}static getDocumentAllowedDocumentTypes({parentId:e,skip:o,take:n=100}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/document/allowed-document-types",query:{parentId:e,skip:o,take:n},errors:{401:"The resource is protected and requires an authentication token",404:"Not Found"}})}static getDocumentItem({id:e,dataTypeId:o,culture:n}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/document/item",query:{id:e,dataTypeId:o,culture:n},errors:{401:"The resource is protected and requires an authentication token"}})}static putDocumentSort({requestBody:e}){return r(t,{method:"PUT",url:"/umbraco/management/api/v1/document/sort",body:e,mediaType:"application/json",errors:{400:"Bad Request",401:"The resource is protected and requires an authentication token",403:"The authenticated user do not have access to this resource",404:"Not Found"}})}static getRecycleBinDocumentChildren({parentId:e,skip:o,take:n=100}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/recycle-bin/document/children",query:{parentId:e,skip:o,take:n},errors:{401:"The resource is protected and requires an authentication token"}})}static getRecycleBinDocumentRoot({skip:e,take:o=100}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/recycle-bin/document/root",query:{skip:e,take:o},errors:{401:"The resource is protected and requires an authentication token"}})}static getTreeDocumentChildren({parentId:e,skip:o,take:n=100,dataTypeId:i,culture:s}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/tree/document/children",query:{parentId:e,skip:o,take:n,dataTypeId:i,culture:s},errors:{401:"The resource is protected and requires an authentication token"}})}static getTreeDocumentRoot({skip:e,take:o=100,dataTypeId:n,culture:i}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/tree/document/root",query:{skip:e,take:o,dataTypeId:n,culture:i},errors:{401:"The resource is protected and requires an authentication token"}})}}class re{static getDocumentBlueprintItem({id:e}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/document-blueprint/item",query:{id:e},errors:{401:"The resource is protected and requires an authentication token"}})}static getTreeDocumentBlueprintRoot({skip:e,take:o=100}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/tree/document-blueprint/root",query:{skip:e,take:o},errors:{401:"The resource is protected and requires an authentication token"}})}}class ae{static postDocumentType({requestBody:e}){return r(t,{method:"POST",url:"/umbraco/management/api/v1/document-type",body:e,mediaType:"application/json",responseHeader:"Location",errors:{400:"Bad Request",401:"The resource is protected and requires an authentication token",404:"Not Found"}})}static getDocumentTypeById({id:e}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/document-type/{id}",path:{id:e},errors:{401:"The resource is protected and requires an authentication token",404:"Not Found"}})}static deleteDocumentTypeById({id:e}){return r(t,{method:"DELETE",url:"/umbraco/management/api/v1/document-type/{id}",path:{id:e},errors:{401:"The resource is protected and requires an authentication token",404:"Not Found"}})}static putDocumentTypeById({id:e,requestBody:o}){return r(t,{method:"PUT",url:"/umbraco/management/api/v1/document-type/{id}",path:{id:e},body:o,mediaType:"application/json",errors:{400:"Bad Request",401:"The resource is protected and requires an authentication token",404:"Not Found"}})}static postDocumentTypeFolder({requestBody:e}){return r(t,{method:"POST",url:"/umbraco/management/api/v1/document-type/folder",body:e,mediaType:"application/json",responseHeader:"Location",errors:{400:"Bad Request",401:"The resource is protected and requires an authentication token",404:"Not Found"}})}static getDocumentTypeFolderById({id:e}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/document-type/folder/{id}",path:{id:e},errors:{401:"The resource is protected and requires an authentication token",404:"Not Found"}})}static deleteDocumentTypeFolderById({id:e}){return r(t,{method:"DELETE",url:"/umbraco/management/api/v1/document-type/folder/{id}",path:{id:e},errors:{400:"Bad Request",401:"The resource is protected and requires an authentication token",404:"Not Found"}})}static putDocumentTypeFolderById({id:e,requestBody:o}){return r(t,{method:"PUT",url:"/umbraco/management/api/v1/document-type/folder/{id}",path:{id:e},body:o,mediaType:"application/json",errors:{400:"Bad Request",401:"The resource is protected and requires an authentication token",404:"Not Found"}})}static getDocumentTypeItem({id:e}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/document-type/item",query:{id:e},errors:{401:"The resource is protected and requires an authentication token"}})}static getTreeDocumentTypeChildren({parentId:e,skip:o,take:n=100,foldersOnly:i=!1}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/tree/document-type/children",query:{parentId:e,skip:o,take:n,foldersOnly:i},errors:{401:"The resource is protected and requires an authentication token"}})}static getTreeDocumentTypeRoot({skip:e,take:o=100,foldersOnly:n=!1}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/tree/document-type/root",query:{skip:e,take:o,foldersOnly:n},errors:{401:"The resource is protected and requires an authentication token"}})}}class oe{static getHealthCheckGroup({skip:e,take:o=100}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/health-check-group",query:{skip:e,take:o},errors:{401:"The resource is protected and requires an authentication token"}})}static getHealthCheckGroupByName({name:e}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/health-check-group/{name}",path:{name:e},errors:{401:"The resource is protected and requires an authentication token",404:"Not Found"}})}static postHealthCheckGroupByNameCheck({name:e}){return r(t,{method:"POST",url:"/umbraco/management/api/v1/health-check-group/{name}/check",path:{name:e},errors:{401:"The resource is protected and requires an authentication token",404:"Not Found"}})}static postHealthCheckExecuteAction({requestBody:e}){return r(t,{method:"POST",url:"/umbraco/management/api/v1/health-check/execute-action",body:e,mediaType:"application/json",errors:{400:"Bad Request",401:"The resource is protected and requires an authentication token"}})}}class ne{static getHelp({section:e,tree:o,skip:n,take:i=100,baseUrl:s="https://our.umbraco.com"}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/help",query:{section:e,tree:o,skip:n,take:i,baseUrl:s},errors:{400:"Bad Request",401:"The resource is protected and requires an authentication token"}})}}class ie{static getIndexer({skip:e,take:o=100}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/indexer",query:{skip:e,take:o},errors:{401:"The resource is protected and requires an authentication token"}})}static getIndexerByIndexName({indexName:e}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/indexer/{indexName}",path:{indexName:e},errors:{400:"Bad Request",401:"The resource is protected and requires an authentication token"}})}static postIndexerByIndexNameRebuild({indexName:e}){return r(t,{method:"POST",url:"/umbraco/management/api/v1/indexer/{indexName}/rebuild",path:{indexName:e},errors:{400:"Bad Request",401:"The resource is protected and requires an authentication token",404:"Not Found",409:"Conflict"}})}}class se{static getInstallSettings(){return r(t,{method:"GET",url:"/umbraco/management/api/v1/install/settings",errors:{400:"Bad Request",428:"Client Error"}})}static postInstallSetup({requestBody:e}){return r(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 r(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 r(t,{method:"GET",url:"/umbraco/management/api/v1/language",query:{skip:e,take:o},errors:{401:"The resource is protected and requires an authentication token"}})}static postLanguage({requestBody:e}){return r(t,{method:"POST",url:"/umbraco/management/api/v1/language",body:e,mediaType:"application/json",responseHeader:"Location",errors:{400:"Bad Request",401:"The resource is protected and requires an authentication token",404:"Not Found"}})}static getLanguageByIsoCode({isoCode:e}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/language/{isoCode}",path:{isoCode:e},errors:{401:"The resource is protected and requires an authentication token",404:"Not Found"}})}static deleteLanguageByIsoCode({isoCode:e}){return r(t,{method:"DELETE",url:"/umbraco/management/api/v1/language/{isoCode}",path:{isoCode:e},errors:{400:"Bad Request",401:"The resource is protected and requires an authentication token",404:"Not Found"}})}static putLanguageByIsoCode({isoCode:e,requestBody:o}){return r(t,{method:"PUT",url:"/umbraco/management/api/v1/language/{isoCode}",path:{isoCode:e},body:o,mediaType:"application/json",errors:{400:"Bad Request",401:"The resource is protected and requires an authentication token",404:"Not Found"}})}static getLanguageItem({isoCode:e}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/language/item",query:{isoCode:e},errors:{401:"The resource is protected and requires an authentication token"}})}}class de{static getLogViewerLevel({skip:e,take:o=100}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/log-viewer/level",query:{skip:e,take:o},errors:{401:"The resource is protected and requires an authentication token"}})}static getLogViewerLevelCount({startDate:e,endDate:o}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/log-viewer/level-count",query:{startDate:e,endDate:o},errors:{400:"Bad Request",401:"The resource is protected and requires an authentication token"}})}static getLogViewerLog({skip:e,take:o=100,orderDirection:n,filterExpression:i,logLevel:s,startDate:u,endDate:d}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/log-viewer/log",query:{skip:e,take:o,orderDirection:n,filterExpression:i,logLevel:s,startDate:u,endDate:d},errors:{401:"The resource is protected and requires an authentication token"}})}static getLogViewerMessageTemplate({skip:e,take:o=100,startDate:n,endDate:i}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/log-viewer/message-template",query:{skip:e,take:o,startDate:n,endDate:i},errors:{400:"Bad Request",401:"The resource is protected and requires an authentication token"}})}static getLogViewerSavedSearch({skip:e,take:o=100}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/log-viewer/saved-search",query:{skip:e,take:o},errors:{401:"The resource is protected and requires an authentication token"}})}static postLogViewerSavedSearch({requestBody:e}){return r(t,{method:"POST",url:"/umbraco/management/api/v1/log-viewer/saved-search",body:e,mediaType:"application/json",responseHeader:"Location",errors:{400:"Bad Request",401:"The resource is protected and requires an authentication token"}})}static getLogViewerSavedSearchByName({name:e}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/log-viewer/saved-search/{name}",path:{name:e},errors:{401:"The resource is protected and requires an authentication token",404:"Not Found"}})}static deleteLogViewerSavedSearchByName({name:e}){return r(t,{method:"DELETE",url:"/umbraco/management/api/v1/log-viewer/saved-search/{name}",path:{name:e},errors:{401:"The resource is protected and requires an authentication token",404:"Not Found"}})}static getLogViewerValidateLogsSize({startDate:e,endDate:o}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/log-viewer/validate-logs-size",query:{startDate:e,endDate:o},errors:{400:"Bad Request",401:"The resource is protected and requires an authentication token"}})}}class ce{static postMedia({requestBody:e}){return r(t,{method:"POST",url:"/umbraco/management/api/v1/media",body:e,mediaType:"application/json",responseHeader:"Location",errors:{401:"The resource is protected and requires an authentication token",403:"The authenticated user do not have access to this resource",404:"Not Found"}})}static getMediaById({id:e}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/media/{id}",path:{id:e},errors:{401:"The resource is protected and requires an authentication token",403:"The authenticated user do not have access to this resource",404:"Not Found"}})}static putMediaById({id:e,requestBody:o}){return r(t,{method:"PUT",url:"/umbraco/management/api/v1/media/{id}",path:{id:e},body:o,mediaType:"application/json",errors:{401:"The resource is protected and requires an authentication token",403:"The authenticated user do not have access to this resource",404:"Not Found"}})}static putMediaByIdMove({id:e,requestBody:o}){return r(t,{method:"PUT",url:"/umbraco/management/api/v1/media/{id}/move",path:{id:e},body:o,mediaType:"application/json",errors:{401:"The resource is protected and requires an authentication token",403:"The authenticated user do not have access to this resource",404:"Not Found"}})}static putMediaByIdMoveToRecycleBin({id:e}){return r(t,{method:"PUT",url:"/umbraco/management/api/v1/media/{id}/move-to-recycle-bin",path:{id:e},errors:{400:"Bad Request",401:"The resource is protected and requires an authentication token",403:"The authenticated user do not have access to this resource",404:"Not Found"}})}static getMediaItem({id:e,dataTypeId:o}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/media/item",query:{id:e,dataTypeId:o},errors:{401:"The resource is protected and requires an authentication token"}})}static putMediaSort({requestBody:e}){return r(t,{method:"PUT",url:"/umbraco/management/api/v1/media/sort",body:e,mediaType:"application/json",errors:{400:"Bad Request",401:"The resource is protected and requires an authentication token",403:"The authenticated user do not have access to this resource",404:"Not Found"}})}static getRecycleBinMediaChildren({parentId:e,skip:o,take:n=100}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/recycle-bin/media/children",query:{parentId:e,skip:o,take:n},errors:{401:"The resource is protected and requires an authentication token"}})}static getRecycleBinMediaRoot({skip:e,take:o=100}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/recycle-bin/media/root",query:{skip:e,take:o},errors:{401:"The resource is protected and requires an authentication token"}})}static getTreeMediaChildren({parentId:e,skip:o,take:n=100,dataTypeId:i}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/tree/media/children",query:{parentId:e,skip:o,take:n,dataTypeId:i},errors:{401:"The resource is protected and requires an authentication token"}})}static getTreeMediaItem({id:e,dataTypeId:o}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/tree/media/item",query:{id:e,dataTypeId:o},errors:{401:"The resource is protected and requires an authentication token"}})}static getTreeMediaRoot({skip:e,take:o=100,dataTypeId:n}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/tree/media/root",query:{skip:e,take:o,dataTypeId:n},errors:{401:"The resource is protected and requires an authentication token"}})}}class pe{static postMediaType({requestBody:e}){return r(t,{method:"POST",url:"/umbraco/management/api/v1/media-type",body:e,mediaType:"application/json",responseHeader:"Location",errors:{400:"Bad Request",401:"The resource is protected and requires an authentication token",404:"Not Found"}})}static getMediaTypeById({id:e}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/media-type/{id}",path:{id:e},errors:{401:"The resource is protected and requires an authentication token",404:"Not Found"}})}static deleteMediaTypeById({id:e}){return r(t,{method:"DELETE",url:"/umbraco/management/api/v1/media-type/{id}",path:{id:e},errors:{401:"The resource is protected and requires an authentication token",404:"Not Found"}})}static putMediaTypeById({id:e,requestBody:o}){return r(t,{method:"PUT",url:"/umbraco/management/api/v1/media-type/{id}",path:{id:e},body:o,mediaType:"application/json",errors:{400:"Bad Request",401:"The resource is protected and requires an authentication token",404:"Not Found"}})}static postMediaTypeFolder({requestBody:e}){return r(t,{method:"POST",url:"/umbraco/management/api/v1/media-type/folder",body:e,mediaType:"application/json",responseHeader:"Location",errors:{400:"Bad Request",401:"The resource is protected and requires an authentication token",404:"Not Found"}})}static getMediaTypeFolderById({id:e}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/media-type/folder/{id}",path:{id:e},errors:{401:"The resource is protected and requires an authentication token",404:"Not Found"}})}static deleteMediaTypeFolderById({id:e}){return r(t,{method:"DELETE",url:"/umbraco/management/api/v1/media-type/folder/{id}",path:{id:e},errors:{400:"Bad Request",401:"The resource is protected and requires an authentication token",404:"Not Found"}})}static putMediaTypeFolderById({id:e,requestBody:o}){return r(t,{method:"PUT",url:"/umbraco/management/api/v1/media-type/folder/{id}",path:{id:e},body:o,mediaType:"application/json",errors:{400:"Bad Request",401:"The resource is protected and requires an authentication token",404:"Not Found"}})}static getMediaTypeItem({id:e}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/media-type/item",query:{id:e},errors:{401:"The resource is protected and requires an authentication token"}})}static getTreeMediaTypeChildren({parentId:e,skip:o,take:n=100,foldersOnly:i=!1}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/tree/media-type/children",query:{parentId:e,skip:o,take:n,foldersOnly:i},errors:{401:"The resource is protected and requires an authentication token"}})}static getTreeMediaTypeRoot({skip:e,take:o=100,foldersOnly:n=!1}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/tree/media-type/root",query:{skip:e,take:o,foldersOnly:n},errors:{401:"The resource is protected and requires an authentication token"}})}}class me{static getMemberItem({id:e}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/member/item",query:{id:e},errors:{401:"The resource is protected and requires an authentication token"}})}}class he{static getMemberGroupItem({id:e}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/member-group/item",query:{id:e},errors:{401:"The resource is protected and requires an authentication token"}})}static getTreeMemberGroupRoot({skip:e,take:o=100}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/tree/member-group/root",query:{skip:e,take:o},errors:{401:"The resource is protected and requires an authentication token"}})}}class le{static getMemberTypeItem({id:e}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/member-type/item",query:{id:e},errors:{401:"The resource is protected and requires an authentication token"}})}static getTreeMemberTypeRoot({skip:e,take:o=100}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/tree/member-type/root",query:{skip:e,take:o},errors:{401:"The resource is protected and requires an authentication token"}})}}class Te{static postModelsBuilderBuild(){return r(t,{method:"POST",url:"/umbraco/management/api/v1/models-builder/build",errors:{401:"The resource is protected and requires an authentication token",428:"Client Error"}})}static getModelsBuilderDashboard(){return r(t,{method:"GET",url:"/umbraco/management/api/v1/models-builder/dashboard",errors:{401:"The resource is protected and requires an authentication token"}})}static getModelsBuilderStatus(){return r(t,{method:"GET",url:"/umbraco/management/api/v1/models-builder/status",errors:{401:"The resource is protected and requires an authentication token"}})}}class ye{static getObjectTypes({skip:e,take:o=100}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/object-types",query:{skip:e,take:o},errors:{401:"The resource is protected and requires an authentication token"}})}}class ge{static postPackageByNameRunMigration({name:e}){return r(t,{method:"POST",url:"/umbraco/management/api/v1/package/{name}/run-migration",path:{name:e},errors:{401:"The resource is protected and requires an authentication token",404:"Not Found",409:"Conflict"}})}static getPackageCreated({skip:e,take:o=100}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/package/created",query:{skip:e,take:o},errors:{401:"The resource is protected and requires an authentication token"}})}static postPackageCreated({requestBody:e}){return r(t,{method:"POST",url:"/umbraco/management/api/v1/package/created",body:e,mediaType:"application/json",responseHeader:"Location",errors:{400:"Bad Request",401:"The resource is protected and requires an authentication token",404:"Not Found"}})}static getPackageCreatedById({id:e}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/package/created/{id}",path:{id:e},errors:{401:"The resource is protected and requires an authentication token",404:"Not Found"}})}static deletePackageCreatedById({id:e}){return r(t,{method:"DELETE",url:"/umbraco/management/api/v1/package/created/{id}",path:{id:e},errors:{401:"The resource is protected and requires an authentication token",404:"Not Found"}})}static putPackageCreatedById({id:e,requestBody:o}){return r(t,{method:"PUT",url:"/umbraco/management/api/v1/package/created/{id}",path:{id:e},body:o,mediaType:"application/json",errors:{401:"The resource is protected and requires an authentication token",404:"Not Found"}})}static getPackageCreatedByIdDownload({id:e}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/package/created/{id}/download",path:{id:e},errors:{401:"The resource is protected and requires an authentication token",404:"Not Found"}})}static getPackageManifest(){return r(t,{method:"GET",url:"/umbraco/management/api/v1/package/manifest",errors:{401:"The resource is protected and requires an authentication token"}})}static getPackageMigrationStatus({skip:e,take:o=100}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/package/migration-status",query:{skip:e,take:o},errors:{401:"The resource is protected and requires an authentication token"}})}}class ke{static getPartialView({path:e}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/partial-view",query:{path:e},errors:{401:"The resource is protected and requires an authentication token"}})}static postPartialView({requestBody:e}){return r(t,{method:"POST",url:"/umbraco/management/api/v1/partial-view",body:e,mediaType:"application/json",responseHeader:"Location",errors:{401:"The resource is protected and requires an authentication token"}})}static deletePartialView({path:e}){return r(t,{method:"DELETE",url:"/umbraco/management/api/v1/partial-view",query:{path:e},errors:{401:"The resource is protected and requires an authentication token"}})}static putPartialView({requestBody:e}){return r(t,{method:"PUT",url:"/umbraco/management/api/v1/partial-view",body:e,mediaType:"application/json",errors:{401:"The resource is protected and requires an authentication token"}})}static getPartialViewFolder({path:e}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/partial-view/folder",query:{path:e},errors:{401:"The resource is protected and requires an authentication token"}})}static postPartialViewFolder({requestBody:e}){return r(t,{method:"POST",url:"/umbraco/management/api/v1/partial-view/folder",body:e,mediaType:"application/json",errors:{401:"The resource is protected and requires an authentication token"}})}static deletePartialViewFolder({path:e}){return r(t,{method:"DELETE",url:"/umbraco/management/api/v1/partial-view/folder",query:{path:e},errors:{401:"The resource is protected and requires an authentication token"}})}static getPartialViewItem({id:e}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/partial-view/item",query:{id:e},errors:{401:"The resource is protected and requires an authentication token"}})}static getPartialViewSnippet({skip:e,take:o=100}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/partial-view/snippet",query:{skip:e,take:o},errors:{401:"The resource is protected and requires an authentication token"}})}static getPartialViewSnippetByName({name:e}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/partial-view/snippet/{name}",path:{name:e},errors:{401:"The resource is protected and requires an authentication token",404:"Not Found"}})}static getTreePartialViewChildren({path:e,skip:o,take:n=100}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/tree/partial-view/children",query:{path:e,skip:o,take:n},errors:{401:"The resource is protected and requires an authentication token"}})}static getTreePartialViewRoot({skip:e,take:o=100}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/tree/partial-view/root",query:{skip:e,take:o},errors:{401:"The resource is protected and requires an authentication token"}})}}class qe{static getProfilingStatus(){return r(t,{method:"GET",url:"/umbraco/management/api/v1/profiling/status",errors:{401:"The resource is protected and requires an authentication token"}})}static putProfilingStatus({requestBody:e}){return r(t,{method:"PUT",url:"/umbraco/management/api/v1/profiling/status",body:e,mediaType:"application/json",errors:{401:"The resource is protected and requires an authentication token"}})}}class be{static getPropertyTypeIsUsed({contentTypeId:e,propertyAlias:o}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/property-type/is-used",query:{contentTypeId:e,propertyAlias:o},errors:{400:"Bad Request",401:"The resource is protected and requires an authentication token"}})}}class ve{static postPublishedCacheCollect(){return r(t,{method:"POST",url:"/umbraco/management/api/v1/published-cache/collect",errors:{401:"The resource is protected and requires an authentication token"}})}static postPublishedCacheRebuild(){return r(t,{method:"POST",url:"/umbraco/management/api/v1/published-cache/rebuild",errors:{401:"The resource is protected and requires an authentication token"}})}static postPublishedCacheReload(){return r(t,{method:"POST",url:"/umbraco/management/api/v1/published-cache/reload",errors:{401:"The resource is protected and requires an authentication token"}})}static getPublishedCacheStatus(){return r(t,{method:"GET",url:"/umbraco/management/api/v1/published-cache/status",errors:{401:"The resource is protected and requires an authentication token"}})}}class Ee{static getRedirectManagement({filter:e,skip:o,take:n=100}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/redirect-management",query:{filter:e,skip:o,take:n},errors:{400:"Bad Request",401:"The resource is protected and requires an authentication token"}})}static getRedirectManagementById({id:e,skip:o,take:n=100}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/redirect-management/{id}",path:{id:e},query:{skip:o,take:n},errors:{401:"The resource is protected and requires an authentication token"}})}static deleteRedirectManagementById({id:e}){return r(t,{method:"DELETE",url:"/umbraco/management/api/v1/redirect-management/{id}",path:{id:e},errors:{401:"The resource is protected and requires an authentication token"}})}static getRedirectManagementStatus(){return r(t,{method:"GET",url:"/umbraco/management/api/v1/redirect-management/status",errors:{401:"The resource is protected and requires an authentication token"}})}static postRedirectManagementStatus({status:e}){return r(t,{method:"POST",url:"/umbraco/management/api/v1/redirect-management/status",query:{status:e},errors:{401:"The resource is protected and requires an authentication token"}})}}class Be{static getRelationChildRelationByChildId({childId:e,skip:o,take:n=100,relationTypeAlias:i=""}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/relation/child-relation/{childId}",path:{childId:e},query:{skip:o,take:n,relationTypeAlias:i},errors:{401:"The resource is protected and requires an authentication token"}})}static getRelationTypeById({id:e,skip:o,take:n=100}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/relation/type/{id}",path:{id:e},query:{skip:o,take:n},errors:{401:"The resource is protected and requires an authentication token",404:"Not Found"}})}}class Ie{static postRelationType({requestBody:e}){return r(t,{method:"POST",url:"/umbraco/management/api/v1/relation-type",body:e,mediaType:"application/json",responseHeader:"Location",errors:{400:"Bad Request",401:"The resource is protected and requires an authentication token"}})}static getRelationTypeById({id:e}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/relation-type/{id}",path:{id:e},errors:{401:"The resource is protected and requires an authentication token",404:"Not Found"}})}static deleteRelationTypeById({id:e}){return r(t,{method:"DELETE",url:"/umbraco/management/api/v1/relation-type/{id}",path:{id:e},errors:{401:"The resource is protected and requires an authentication token",404:"Not Found"}})}static putRelationTypeById({id:e,requestBody:o}){return r(t,{method:"PUT",url:"/umbraco/management/api/v1/relation-type/{id}",path:{id:e},body:o,mediaType:"application/json",errors:{400:"Bad Request",401:"The resource is protected and requires an authentication token",404:"Not Found"}})}static getRelationTypeItem({id:e}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/relation-type/item",query:{id:e},errors:{401:"The resource is protected and requires an authentication token"}})}static getTreeRelationTypeRoot({skip:e,take:o=100}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/tree/relation-type/root",query:{skip:e,take:o},errors:{401:"The resource is protected and requires an authentication token"}})}}class Re{static getScript({path:e}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/script",query:{path:e},errors:{401:"The resource is protected and requires an authentication token"}})}static postScript({requestBody:e}){return r(t,{method:"POST",url:"/umbraco/management/api/v1/script",body:e,mediaType:"application/json",responseHeader:"Location",errors:{401:"The resource is protected and requires an authentication token"}})}static deleteScript({path:e}){return r(t,{method:"DELETE",url:"/umbraco/management/api/v1/script",query:{path:e},errors:{401:"The resource is protected and requires an authentication token"}})}static putScript({requestBody:e}){return r(t,{method:"PUT",url:"/umbraco/management/api/v1/script",body:e,mediaType:"application/json",errors:{401:"The resource is protected and requires an authentication token"}})}static getScriptFolder({path:e}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/script/folder",query:{path:e},errors:{401:"The resource is protected and requires an authentication token"}})}static postScriptFolder({requestBody:e}){return r(t,{method:"POST",url:"/umbraco/management/api/v1/script/folder",body:e,mediaType:"application/json",errors:{401:"The resource is protected and requires an authentication token"}})}static deleteScriptFolder({path:e}){return r(t,{method:"DELETE",url:"/umbraco/management/api/v1/script/folder",query:{path:e},errors:{401:"The resource is protected and requires an authentication token"}})}static getScriptItem({path:e}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/script/item",query:{path:e},errors:{401:"The resource is protected and requires an authentication token"}})}static getTreeScriptChildren({path:e,skip:o,take:n=100}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/tree/script/children",query:{path:e,skip:o,take:n},errors:{401:"The resource is protected and requires an authentication token"}})}static getTreeScriptRoot({skip:e,take:o=100}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/tree/script/root",query:{skip:e,take:o},errors:{401:"The resource is protected and requires an authentication token"}})}}class Se{static getSearcher({skip:e,take:o=100}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/searcher",query:{skip:e,take:o},errors:{401:"The resource is protected and requires an authentication token"}})}static getSearcherBySearcherNameQuery({searcherName:e,term:o,skip:n,take:i=100}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/searcher/{searcherName}/query",path:{searcherName:e},query:{term:o,skip:n,take:i},errors:{401:"The resource is protected and requires an authentication token",404:"Not Found"}})}}class De{static postSecurityForgotPassword({requestBody:e}){return r(t,{method:"POST",url:"/umbraco/management/api/v1/security/forgot-password",body:e,mediaType:"application/json",errors:{400:"Bad Request"}})}static postSecurityForgotPasswordReset({requestBody:e}){return r(t,{method:"POST",url:"/umbraco/management/api/v1/security/forgot-password/reset",body:e,mediaType:"application/json",errors:{400:"Bad Request",401:"The resource is protected and requires an authentication token",404:"Not Found"}})}static postSecurityForgotPasswordVerify({requestBody:e}){return r(t,{method:"POST",url:"/umbraco/management/api/v1/security/forgot-password/verify",body:e,mediaType:"application/json",errors:{400:"Bad Request",401:"The resource is protected and requires an authentication token",404:"Not Found"}})}}class Pe{static getServerInformation(){return r(t,{method:"GET",url:"/umbraco/management/api/v1/server/information",errors:{401:"The resource is protected and requires an authentication token"}})}static getServerStatus(){return r(t,{method:"GET",url:"/umbraco/management/api/v1/server/status",errors:{400:"Bad Request"}})}static getServerVersion(){return r(t,{method:"GET",url:"/umbraco/management/api/v1/server/version",errors:{400:"Bad Request",401:"The resource is protected and requires an authentication token"}})}}class Ne{static getStaticFileItem({path:e}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/static-file/item",query:{path:e},errors:{401:"The resource is protected and requires an authentication token"}})}static getTreeStaticFileChildren({path:e,skip:o,take:n=100}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/tree/static-file/children",query:{path:e,skip:o,take:n},errors:{401:"The resource is protected and requires an authentication token"}})}static getTreeStaticFileRoot({skip:e,take:o=100}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/tree/static-file/root",query:{skip:e,take:o},errors:{401:"The resource is protected and requires an authentication token"}})}}class Ge{static getStylesheet({path:e}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/stylesheet",query:{path:e},errors:{401:"The resource is protected and requires an authentication token"}})}static postStylesheet({requestBody:e}){return r(t,{method:"POST",url:"/umbraco/management/api/v1/stylesheet",body:e,mediaType:"application/json",responseHeader:"Location",errors:{401:"The resource is protected and requires an authentication token"}})}static deleteStylesheet({path:e}){return r(t,{method:"DELETE",url:"/umbraco/management/api/v1/stylesheet",query:{path:e},errors:{401:"The resource is protected and requires an authentication token"}})}static putStylesheet({requestBody:e}){return r(t,{method:"PUT",url:"/umbraco/management/api/v1/stylesheet",body:e,mediaType:"application/json",errors:{401:"The resource is protected and requires an authentication token"}})}static getStylesheetAll({skip:e,take:o=100}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/stylesheet/all",query:{skip:e,take:o},errors:{401:"The resource is protected and requires an authentication token"}})}static getStylesheetFolder({path:e}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/stylesheet/folder",query:{path:e},errors:{401:"The resource is protected and requires an authentication token"}})}static postStylesheetFolder({requestBody:e}){return r(t,{method:"POST",url:"/umbraco/management/api/v1/stylesheet/folder",body:e,mediaType:"application/json",errors:{401:"The resource is protected and requires an authentication token"}})}static deleteStylesheetFolder({path:e}){return r(t,{method:"DELETE",url:"/umbraco/management/api/v1/stylesheet/folder",query:{path:e},errors:{401:"The resource is protected and requires an authentication token"}})}static getStylesheetItem({path:e}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/stylesheet/item",query:{path:e},errors:{401:"The resource is protected and requires an authentication token"}})}static postStylesheetRichTextExtractRules({requestBody:e}){return r(t,{method:"POST",url:"/umbraco/management/api/v1/stylesheet/rich-text/extract-rules",body:e,mediaType:"application/json",errors:{401:"The resource is protected and requires an authentication token"}})}static postStylesheetRichTextInterpolateRules({requestBody:e}){return r(t,{method:"POST",url:"/umbraco/management/api/v1/stylesheet/rich-text/interpolate-rules",body:e,mediaType:"application/json",errors:{401:"The resource is protected and requires an authentication token"}})}static getStylesheetRichTextRules({path:e}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/stylesheet/rich-text/rules",query:{path:e},errors:{401:"The resource is protected and requires an authentication token"}})}static getTreeStylesheetChildren({path:e,skip:o,take:n=100}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/tree/stylesheet/children",query:{path:e,skip:o,take:n},errors:{401:"The resource is protected and requires an authentication token"}})}static getTreeStylesheetRoot({skip:e,take:o=100}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/tree/stylesheet/root",query:{skip:e,take:o},errors:{401:"The resource is protected and requires an authentication token"}})}}class fe{static getTag({query:e,tagGroup:o,culture:n,skip:i,take:s=100}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/tag",query:{query:e,tagGroup:o,culture:n,skip:i,take:s},errors:{401:"The resource is protected and requires an authentication token"}})}}class Oe{static getTelemetry({skip:e,take:o=100}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/telemetry",query:{skip:e,take:o},errors:{401:"The resource is protected and requires an authentication token"}})}static getTelemetryLevel(){return r(t,{method:"GET",url:"/umbraco/management/api/v1/telemetry/level",errors:{401:"The resource is protected and requires an authentication token"}})}static postTelemetryLevel({requestBody:e}){return r(t,{method:"POST",url:"/umbraco/management/api/v1/telemetry/level",body:e,mediaType:"application/json",errors:{400:"Bad Request",401:"The resource is protected and requires an authentication token"}})}}class Ce{static postTemplate({requestBody:e}){return r(t,{method:"POST",url:"/umbraco/management/api/v1/template",body:e,mediaType:"application/json",responseHeader:"Location",errors:{400:"Bad Request",401:"The resource is protected and requires an authentication token",404:"Not Found"}})}static getTemplateById({id:e}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/template/{id}",path:{id:e},errors:{401:"The resource is protected and requires an authentication token",404:"Not Found"}})}static deleteTemplateById({id:e}){return r(t,{method:"DELETE",url:"/umbraco/management/api/v1/template/{id}",path:{id:e},errors:{400:"Bad Request",401:"The resource is protected and requires an authentication token",404:"Not Found"}})}static putTemplateById({id:e,requestBody:o}){return r(t,{method:"PUT",url:"/umbraco/management/api/v1/template/{id}",path:{id:e},body:o,mediaType:"application/json",errors:{400:"Bad Request",401:"The resource is protected and requires an authentication token",404:"Not Found"}})}static getTemplateItem({id:e}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/template/item",query:{id:e},errors:{401:"The resource is protected and requires an authentication token"}})}static postTemplateQueryExecute({requestBody:e}){return r(t,{method:"POST",url:"/umbraco/management/api/v1/template/query/execute",body:e,mediaType:"application/json",errors:{401:"The resource is protected and requires an authentication token"}})}static getTemplateQuerySettings(){return r(t,{method:"GET",url:"/umbraco/management/api/v1/template/query/settings",errors:{401:"The resource is protected and requires an authentication token"}})}static getTemplateScaffold({masterTemplateId:e}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/template/scaffold",query:{masterTemplateId:e},errors:{401:"The resource is protected and requires an authentication token",404:"Not Found"}})}static getTreeTemplateChildren({parentId:e,skip:o,take:n=100}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/tree/template/children",query:{parentId:e,skip:o,take:n},errors:{401:"The resource is protected and requires an authentication token"}})}static getTreeTemplateRoot({skip:e,take:o=100}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/tree/template/root",query:{skip:e,take:o},errors:{401:"The resource is protected and requires an authentication token"}})}}class Le{static postTemporaryfile({formData:e}){return r(t,{method:"POST",url:"/umbraco/management/api/v1/temporaryfile",formData:e,mediaType:"multipart/form-data",responseHeader:"Location",errors:{400:"Bad Request",401:"The resource is protected and requires an authentication token"}})}static getTemporaryfileById({id:e}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/temporaryfile/{id}",path:{id:e},errors:{400:"Bad Request",401:"The resource is protected and requires an authentication token",404:"Not Found"}})}static deleteTemporaryfileById({id:e}){return r(t,{method:"DELETE",url:"/umbraco/management/api/v1/temporaryfile/{id}",path:{id:e},errors:{400:"Bad Request",401:"The resource is protected and requires an authentication token",404:"Not Found"}})}}class Fe{static getTour(){return r(t,{method:"GET",url:"/umbraco/management/api/v1/tour",errors:{401:"The resource is protected and requires an authentication token"}})}static postTour({requestBody:e}){return r(t,{method:"POST",url:"/umbraco/management/api/v1/tour",body:e,mediaType:"application/json",errors:{401:"The resource is protected and requires an authentication token"}})}}class Ue{static getTrackedReferenceById({id:e,skip:o,take:n=20,filterMustBeIsDependency:i=!1}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/tracked-reference/{id}",path:{id:e},query:{skip:o,take:n,filterMustBeIsDependency:i},errors:{401:"The resource is protected and requires an authentication token"}})}static getTrackedReferenceDescendantsByParentId({parentId:e,skip:o,take:n=20,filterMustBeIsDependency:i=!0}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/tracked-reference/descendants/{parentId}",path:{parentId:e},query:{skip:o,take:n,filterMustBeIsDependency:i},errors:{401:"The resource is protected and requires an authentication token"}})}static getTrackedReferenceItem({id:e,skip:o,take:n=20,filterMustBeIsDependency:i=!0}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/tracked-reference/item",query:{id:e,skip:o,take:n,filterMustBeIsDependency:i},errors:{401:"The resource is protected and requires an authentication token"}})}}class Ae{static postUpgradeAuthorize(){return r(t,{method:"POST",url:"/umbraco/management/api/v1/upgrade/authorize",errors:{401:"The resource is protected and requires an authentication token",428:"Client Error",500:"Server Error"}})}static getUpgradeSettings(){return r(t,{method:"GET",url:"/umbraco/management/api/v1/upgrade/settings",errors:{401:"The resource is protected and requires an authentication token",428:"Client Error"}})}}class je{static postUser({requestBody:e}){return r(t,{method:"POST",url:"/umbraco/management/api/v1/user",body:e,mediaType:"application/json",errors:{400:"Bad Request",401:"The resource is protected and requires an authentication token"}})}static deleteUser({requestBody:e}){return r(t,{method:"DELETE",url:"/umbraco/management/api/v1/user",body:e,mediaType:"application/json",errors:{400:"Bad Request",401:"The resource is protected and requires an authentication token",403:"The authenticated user do not have access to this resource"}})}static getUser({skip:e,take:o=100}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/user",query:{skip:e,take:o},errors:{401:"The resource is protected and requires an authentication token"}})}static getUserById({id:e}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/user/{id}",path:{id:e},errors:{401:"The resource is protected and requires an authentication token",403:"The authenticated user do not have access to this resource",404:"Not Found"}})}static deleteUserById({id:e}){return r(t,{method:"DELETE",url:"/umbraco/management/api/v1/user/{id}",path:{id:e},errors:{401:"The resource is protected and requires an authentication token",403:"The authenticated user do not have access to this resource"}})}static putUserById({id:e,requestBody:o}){return r(t,{method:"PUT",url:"/umbraco/management/api/v1/user/{id}",path:{id:e},body:o,mediaType:"application/json",errors:{401:"The resource is protected and requires an authentication token"}})}static deleteUserAvatarById({id:e}){return r(t,{method:"DELETE",url:"/umbraco/management/api/v1/user/avatar/{id}",path:{id:e},errors:{401:"The resource is protected and requires an authentication token",403:"The authenticated user do not have access to this resource"}})}static postUserAvatarById({id:e,requestBody:o}){return r(t,{method:"POST",url:"/umbraco/management/api/v1/user/avatar/{id}",path:{id:e},body:o,mediaType:"application/json",errors:{400:"Bad Request",401:"The resource is protected and requires an authentication token",403:"The authenticated user do not have access to this resource"}})}static postUserChangePasswordById({id:e,requestBody:o}){return r(t,{method:"POST",url:"/umbraco/management/api/v1/user/change-password/{id}",path:{id:e},body:o,mediaType:"application/json",errors:{401:"The resource is protected and requires an authentication token"}})}static getUserCurrent(){return r(t,{method:"GET",url:"/umbraco/management/api/v1/user/current",errors:{401:"The resource is protected and requires an authentication token",403:"The authenticated user do not have access to this resource"}})}static postUserCurrentAvatar({requestBody:e}){return r(t,{method:"POST",url:"/umbraco/management/api/v1/user/current/avatar",body:e,mediaType:"application/json",errors:{401:"The resource is protected and requires an authentication token",403:"The authenticated user do not have access to this resource"}})}static postUserCurrentChangePassword({requestBody:e}){return r(t,{method:"POST",url:"/umbraco/management/api/v1/user/current/change-password",body:e,mediaType:"application/json",errors:{401:"The resource is protected and requires an authentication token"}})}static getUserCurrentLogins(){return r(t,{method:"GET",url:"/umbraco/management/api/v1/user/current/logins",errors:{401:"The resource is protected and requires an authentication token"}})}static getUserCurrentPermissions({id:e}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/user/current/permissions",query:{id:e},errors:{401:"The resource is protected and requires an authentication token"}})}static getUserCurrentPermissionsDocument({id:e}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/user/current/permissions/document",query:{id:e},errors:{401:"The resource is protected and requires an authentication token"}})}static getUserCurrentPermissionsMedia({id:e}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/user/current/permissions/media",query:{id:e},errors:{401:"The resource is protected and requires an authentication token"}})}static postUserDisable({requestBody:e}){return r(t,{method:"POST",url:"/umbraco/management/api/v1/user/disable",body:e,mediaType:"application/json",errors:{400:"Bad Request",401:"The resource is protected and requires an authentication token",403:"The authenticated user do not have access to this resource"}})}static postUserEnable({requestBody:e}){return r(t,{method:"POST",url:"/umbraco/management/api/v1/user/enable",body:e,mediaType:"application/json",errors:{400:"Bad Request",401:"The resource is protected and requires an authentication token",403:"The authenticated user do not have access to this resource"}})}static getUserFilter({skip:e,take:o=100,orderBy:n,orderDirection:i,userGroupIds:s,userStates:u,filter:d=""}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/user/filter",query:{skip:e,take:o,orderBy:n,orderDirection:i,userGroupIds:s,userStates:u,filter:d},errors:{401:"The resource is protected and requires an authentication token"}})}static postUserInvite({requestBody:e}){return r(t,{method:"POST",url:"/umbraco/management/api/v1/user/invite",body:e,mediaType:"application/json",responseHeader:"Location",errors:{401:"The resource is protected and requires an authentication token"}})}static postUserInviteCreatePassword({requestBody:e}){return r(t,{method:"POST",url:"/umbraco/management/api/v1/user/invite/create-password",body:e,mediaType:"application/json",errors:{401:"The resource is protected and requires an authentication token",404:"Not Found"}})}static postUserInviteResend({requestBody:e}){return r(t,{method:"POST",url:"/umbraco/management/api/v1/user/invite/resend",body:e,mediaType:"application/json",errors:{400:"Bad Request",401:"The resource is protected and requires an authentication token"}})}static postUserInviteVerify({requestBody:e}){return r(t,{method:"POST",url:"/umbraco/management/api/v1/user/invite/verify",body:e,mediaType:"application/json",errors:{401:"The resource is protected and requires an authentication token",404:"Not Found"}})}static getUserItem({id:e}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/user/item",query:{id:e},errors:{401:"The resource is protected and requires an authentication token"}})}static postUserSetUserGroups({requestBody:e}){return r(t,{method:"POST",url:"/umbraco/management/api/v1/user/set-user-groups",body:e,mediaType:"application/json",errors:{401:"The resource is protected and requires an authentication token",403:"The authenticated user do not have access to this resource"}})}static postUserUnlock({requestBody:e}){return r(t,{method:"POST",url:"/umbraco/management/api/v1/user/unlock",body:e,mediaType:"application/json",errors:{400:"Bad Request",401:"The resource is protected and requires an authentication token",403:"The authenticated user do not have access to this resource"}})}}class Me{static deleteUserGroup({requestBody:e}){return r(t,{method:"DELETE",url:"/umbraco/management/api/v1/user-group",body:e,mediaType:"application/json",errors:{401:"The resource is protected and requires an authentication token",403:"The authenticated user do not have access to this resource",404:"Not Found"}})}static postUserGroup({requestBody:e}){return r(t,{method:"POST",url:"/umbraco/management/api/v1/user-group",body:e,mediaType:"application/json",responseHeader:"Location",errors:{400:"Bad Request",401:"The resource is protected and requires an authentication token"}})}static getUserGroup({skip:e,take:o=100}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/user-group",query:{skip:e,take:o},errors:{401:"The resource is protected and requires an authentication token"}})}static getUserGroupById({id:e}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/user-group/{id}",path:{id:e},errors:{401:"The resource is protected and requires an authentication token",403:"The authenticated user do not have access to this resource",404:"Not Found"}})}static deleteUserGroupById({id:e}){return r(t,{method:"DELETE",url:"/umbraco/management/api/v1/user-group/{id}",path:{id:e},errors:{401:"The resource is protected and requires an authentication token",403:"The authenticated user do not have access to this resource",404:"Not Found"}})}static putUserGroupById({id:e,requestBody:o}){return r(t,{method:"PUT",url:"/umbraco/management/api/v1/user-group/{id}",path:{id:e},body:o,mediaType:"application/json",errors:{401:"The resource is protected and requires an authentication token",404:"Not Found"}})}static getUserGroupItem({id:e}){return r(t,{method:"GET",url:"/umbraco/management/api/v1/user-group/item",query:{id:e},errors:{401:"The resource is protected and requires an authentication token"}})}}export{l as ApiError,J as AuditLogResource,v as AuditTypeModel,q as CancelError,b as CancelablePromise,E as ContentStateModel,B as ContentTypeCompositionTypeModel,X as CultureResource,Z as DataTypeResource,ee as DictionaryResource,I as DirectionModel,re as DocumentBlueprintResource,te as DocumentResource,ae as DocumentTypeResource,oe as HealthCheckResource,R as HealthStatusModel,ne as HelpResource,ie as IndexerResource,se as InstallResource,ue as LanguageResource,S as LogLevelModel,de as LogViewerResource,ce as MediaResource,pe as MediaTypeResource,he as MemberGroupResource,me as MemberResource,le as MemberTypeResource,Te as ModelsBuilderResource,D as ModelsModeModel,ye as ObjectTypesResource,t as OpenAPI,P as OperatorModel,N as OutOfDateTypeModel,ge as PackageResource,ke as PartialViewResource,qe as ProfilingResource,be as PropertyTypeResource,ve as PublishedCacheResource,G as PublishedStateModel,Ee as RedirectManagementResource,f as RedirectStatusModel,Be as RelationResource,Ie as RelationTypeResource,O as RuntimeLevelModel,Re as ScriptResource,Se as SearcherResource,De as SecurityResource,Pe as ServerResource,Ne as StaticFileResource,C as StatusResultTypeModel,Ge as StylesheetResource,fe as TagResource,L as TelemetryLevelModel,Oe as TelemetryResource,F as TemplateQueryPropertyTypeModel,Ce as TemplateResource,Le as TemporaryFileResource,Fe as TourResource,Ue as TrackedReferenceResource,Ae as UpgradeResource,Me as UserGroupResource,U as UserOrderModel,je as UserResource,A as UserStateModel};
@@ -235,6 +235,8 @@ export type { ScriptUpdateModel } from './models/ScriptUpdateModel';
235
235
  export type { ScriptViewModelBaseModel } from './models/ScriptViewModelBaseModel';
236
236
  export type { SearcherResponseModel } from './models/SearcherResponseModel';
237
237
  export type { SearchResultResponseModel } from './models/SearchResultResponseModel';
238
+ export type { ServerInformationItemResponseModel } from './models/ServerInformationItemResponseModel';
239
+ export type { ServerInformationResponseModel } from './models/ServerInformationResponseModel';
238
240
  export type { ServerStatusResponseModel } from './models/ServerStatusResponseModel';
239
241
  export type { SetAvatarRequestModel } from './models/SetAvatarRequestModel';
240
242
  export type { SetTourStatusRequestModel } from './models/SetTourStatusRequestModel';
@@ -301,8 +303,6 @@ export type { UpdateUserGroupRequestModel } from './models/UpdateUserGroupReques
301
303
  export type { UpdateUserGroupsOnUserRequestModel } from './models/UpdateUserGroupsOnUserRequestModel';
302
304
  export type { UpdateUserRequestModel } from './models/UpdateUserRequestModel';
303
305
  export type { UpgradeSettingsResponseModel } from './models/UpgradeSettingsResponseModel';
304
- export type { UserDataModel } from './models/UserDataModel';
305
- export type { UserDataResponseModel } from './models/UserDataResponseModel';
306
306
  export type { UserGroupBaseModel } from './models/UserGroupBaseModel';
307
307
  export type { UserGroupItemResponseModel } from './models/UserGroupItemResponseModel';
308
308
  export type { UserGroupResponseModel } from './models/UserGroupResponseModel';
@@ -1,7 +1,7 @@
1
1
  import type { DataTypePropertyPresentationModel } from './DataTypePropertyPresentationModel';
2
2
  export type DataTypeModelBaseModel = {
3
3
  name: string;
4
- propertyEditorAlias: string;
5
- propertyEditorUiAlias?: string | null;
4
+ editorAlias: string;
5
+ editorUiAlias?: string | null;
6
6
  values: Array<DataTypePropertyPresentationModel>;
7
7
  };
@@ -0,0 +1,4 @@
1
+ export type ServerInformationItemResponseModel = {
2
+ name: string;
3
+ data: string;
4
+ };
@@ -0,0 +1,4 @@
1
+ import type { ServerInformationItemResponseModel } from './ServerInformationItemResponseModel';
2
+ export type ServerInformationResponseModel = {
3
+ items: Array<ServerInformationItemResponseModel>;
4
+ };
@@ -5,6 +5,8 @@ export type UserGroupBaseModel = {
5
5
  languages: Array<string>;
6
6
  hasAccessToAllLanguages: boolean;
7
7
  documentStartNodeId?: string | null;
8
+ documentRootAccess: boolean;
8
9
  mediaStartNodeId?: string | null;
10
+ mediaRootAccess: boolean;
9
11
  permissions: Array<string>;
10
12
  };
@@ -1,4 +1,5 @@
1
1
  import type { UserGroupBaseModel } from './UserGroupBaseModel';
2
2
  export type UserGroupResponseModel = (UserGroupBaseModel & {
3
3
  id: string;
4
+ isSystemGroup: boolean;
4
5
  });
@@ -1,7 +1,13 @@
1
+ import type { ServerInformationResponseModel } from '../models/ServerInformationResponseModel';
1
2
  import type { ServerStatusResponseModel } from '../models/ServerStatusResponseModel';
2
3
  import type { VersionResponseModel } from '../models/VersionResponseModel';
3
4
  import type { CancelablePromise } from '../core/CancelablePromise';
4
5
  export declare class ServerResource {
6
+ /**
7
+ * @returns any Success
8
+ * @throws ApiError
9
+ */
10
+ static getServerInformation(): CancelablePromise<ServerInformationResponseModel>;
5
11
  /**
6
12
  * @returns any Success
7
13
  * @throws ApiError
@@ -15,7 +15,6 @@ import type { SetAvatarRequestModel } from '../models/SetAvatarRequestModel';
15
15
  import type { UnlockUsersRequestModel } from '../models/UnlockUsersRequestModel';
16
16
  import type { UpdateUserGroupsOnUserRequestModel } from '../models/UpdateUserGroupsOnUserRequestModel';
17
17
  import type { UpdateUserRequestModel } from '../models/UpdateUserRequestModel';
18
- import type { UserDataResponseModel } from '../models/UserDataResponseModel';
19
18
  import type { UserItemResponseModel } from '../models/UserItemResponseModel';
20
19
  import type { UserOrderModel } from '../models/UserOrderModel';
21
20
  import type { UserPermissionsResponseModel } from '../models/UserPermissionsResponseModel';
@@ -110,11 +109,6 @@ export declare class UserResource {
110
109
  static postUserCurrentChangePassword({ requestBody, }: {
111
110
  requestBody?: ChangePasswordUserRequestModel;
112
111
  }): CancelablePromise<any>;
113
- /**
114
- * @returns any Success
115
- * @throws ApiError
116
- */
117
- static getUserCurrentData(): CancelablePromise<UserDataResponseModel>;
118
112
  /**
119
113
  * @returns any Success
120
114
  * @throws ApiError