@opencloud-eu/web-client 3.1.0 → 3.2.0

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.
@@ -1 +1 @@
1
- "use strict";var De=Object.defineProperty;var Fe=(e,o,s)=>o in e?De(e,o,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[o]=s;var D=(e,o,s)=>Fe(e,typeof o!="symbol"?o+"":o,s);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("../../index-C-U4KVPG.cjs"),P="https://localhost:9200/graph".replace(/\/+$/,""),C={csv:","};class y{constructor(o,s=P,l=m.axios){D(this,"configuration");this.basePath=s,this.axios=l,o&&(this.configuration=o,this.basePath=o.basePath??s)}}class Ee extends Error{constructor(o,s){super(s),this.field=o,this.name="RequiredError"}}const V={},A="https://example.com",h=function(e,o,s){if(s==null)throw new Ee(o,`Required parameter ${o} was null or undefined when calling ${e}.`)},U=function(e,o){o&&(o.username||o.password)&&(e.auth={username:o.username,password:o.password})},R=async function(e,o){if(o&&o.accessToken){const s=typeof o.accessToken=="function"?await o.accessToken():await o.accessToken;e.Authorization="Bearer "+s}};function X(e,o,s=""){o!=null&&(typeof o=="object"?Array.isArray(o)?o.forEach(l=>X(e,l,s)):Object.keys(o).forEach(l=>X(e,o[l],`${s}${s!==""?".":""}${l}`)):e.has(s)?e.append(s,o):e.set(s,o))}const v=function(e,...o){const s=new URLSearchParams(e.search);X(s,o),e.search=s.toString()},x=function(e,o,s){const l=typeof e!="string";return(l&&s&&s.isJsonMime?s.isJsonMime(o.headers["Content-Type"]):l)?JSON.stringify(e!==void 0?e:{}):e||""},O=function(e){return e.pathname+e.search+e.hash},u=function(e,o,s,l){return(t=o,r=s)=>{const a={...e.options,url:(t.defaults.baseURL?"":(l==null?void 0:l.basePath)??r)+e.url};return t.request(a)}},Te={Class:"class",Course:"course"},Be={Internal:"internal",View:"view",Upload:"upload",Edit:"edit",CreateOnly:"createOnly",BlocksDownload:"blocksDownload"},re=function(e){return{getActivities:async(o,s={})=>{const l="/v1beta1/extensions/org.libregraph/activities",t=new URL(l,A);let r;e&&(r=e.baseOptions);const a={method:"GET",...r,...s},n={},c={};U(a,e),o!==void 0&&(c.kql=o),v(t,c);let i=r&&r.headers?r.headers:{};return a.headers={...n,...i,...s.headers},{url:O(t),options:a}}}},Z=function(e){const o=re(e);return{async getActivities(s,l){var n,c;const t=await o.getActivities(s,l),r=(e==null?void 0:e.serverIndex)??0,a=(c=(n=V["ActivitiesApi.getActivities"])==null?void 0:n[r])==null?void 0:c.url;return(i,d)=>u(t,m.axios,P,e)(i,a||d)}}},Me=function(e,o,s){const l=Z(e);return{getActivities(t,r){return l.getActivities(t,r).then(a=>a(s,o))}}};class Le extends y{getActivities(o,s){return Z(this.configuration).getActivities(o,s).then(l=>l(this.axios,this.basePath))}}const ae=function(e){return{getApplication:async(o,s={})=>{h("getApplication","applicationId",o);const l="/v1.0/applications/{application-id}".replace("{application-id}",encodeURIComponent(String(o))),t=new URL(l,A);let r;e&&(r=e.baseOptions);const a={method:"GET",...r,...s},n={},c={};U(a,e),v(t,c);let i=r&&r.headers?r.headers:{};return a.headers={...n,...i,...s.headers},{url:O(t),options:a}},listApplications:async(o={})=>{const s="/v1.0/applications",l=new URL(s,A);let t;e&&(t=e.baseOptions);const r={method:"GET",...t,...o},a={},n={};U(r,e),v(l,n);let c=t&&t.headers?t.headers:{};return r.headers={...a,...c,...o.headers},{url:O(l),options:r}}}},k=function(e){const o=ae(e);return{async getApplication(s,l){var n,c;const t=await o.getApplication(s,l),r=(e==null?void 0:e.serverIndex)??0,a=(c=(n=V["ApplicationsApi.getApplication"])==null?void 0:n[r])==null?void 0:c.url;return(i,d)=>u(t,m.axios,P,e)(i,a||d)},async listApplications(s){var a,n;const l=await o.listApplications(s),t=(e==null?void 0:e.serverIndex)??0,r=(n=(a=V["ApplicationsApi.listApplications"])==null?void 0:a[t])==null?void 0:n.url;return(c,i)=>u(l,m.axios,P,e)(c,r||i)}}},Ge=function(e,o,s){const l=k(e);return{getApplication(t,r){return l.getApplication(t,r).then(a=>a(s,o))},listApplications(t){return l.listApplications(t).then(r=>r(s,o))}}};class je extends y{getApplication(o,s){return k(this.configuration).getApplication(o,s).then(l=>l(this.axios,this.basePath))}listApplications(o){return k(this.configuration).listApplications(o).then(s=>s(this.axios,this.basePath))}}const te=function(e){return{deleteDriveItem:async(o,s,l={})=>{h("deleteDriveItem","driveId",o),h("deleteDriveItem","itemId",s);const t="/v1beta1/drives/{drive-id}/items/{item-id}".replace("{drive-id}",encodeURIComponent(String(o))).replace("{item-id}",encodeURIComponent(String(s))),r=new URL(t,A);let a;e&&(a=e.baseOptions);const n={method:"DELETE",...a,...l},c={},i={};U(n,e),v(r,i);let d=a&&a.headers?a.headers:{};return n.headers={...c,...d,...l.headers},{url:O(r),options:n}},getDriveItem:async(o,s,l={})=>{h("getDriveItem","driveId",o),h("getDriveItem","itemId",s);const t="/v1beta1/drives/{drive-id}/items/{item-id}".replace("{drive-id}",encodeURIComponent(String(o))).replace("{item-id}",encodeURIComponent(String(s))),r=new URL(t,A);let a;e&&(a=e.baseOptions);const n={method:"GET",...a,...l},c={},i={};U(n,e),v(r,i);let d=a&&a.headers?a.headers:{};return n.headers={...c,...d,...l.headers},{url:O(r),options:n}},updateDriveItem:async(o,s,l,t={})=>{h("updateDriveItem","driveId",o),h("updateDriveItem","itemId",s),h("updateDriveItem","driveItem",l);const r="/v1beta1/drives/{drive-id}/items/{item-id}".replace("{drive-id}",encodeURIComponent(String(o))).replace("{item-id}",encodeURIComponent(String(s))),a=new URL(r,A);let n;e&&(n=e.baseOptions);const c={method:"PATCH",...n,...t},i={},d={};U(c,e),i["Content-Type"]="application/json",v(a,d);let p=n&&n.headers?n.headers:{};return c.headers={...i,...p,...t.headers},c.data=x(l,c,e),{url:O(a),options:c}}}},H=function(e){const o=te(e);return{async deleteDriveItem(s,l,t){var c,i;const r=await o.deleteDriveItem(s,l,t),a=(e==null?void 0:e.serverIndex)??0,n=(i=(c=V["DriveItemApi.deleteDriveItem"])==null?void 0:c[a])==null?void 0:i.url;return(d,p)=>u(r,m.axios,P,e)(d,n||p)},async getDriveItem(s,l,t){var c,i;const r=await o.getDriveItem(s,l,t),a=(e==null?void 0:e.serverIndex)??0,n=(i=(c=V["DriveItemApi.getDriveItem"])==null?void 0:c[a])==null?void 0:i.url;return(d,p)=>u(r,m.axios,P,e)(d,n||p)},async updateDriveItem(s,l,t,r){var i,d;const a=await o.updateDriveItem(s,l,t,r),n=(e==null?void 0:e.serverIndex)??0,c=(d=(i=V["DriveItemApi.updateDriveItem"])==null?void 0:i[n])==null?void 0:d.url;return(p,S)=>u(a,m.axios,P,e)(p,c||S)}}},He=function(e,o,s){const l=H(e);return{deleteDriveItem(t,r,a){return l.deleteDriveItem(t,r,a).then(n=>n(s,o))},getDriveItem(t,r,a){return l.getDriveItem(t,r,a).then(n=>n(s,o))},updateDriveItem(t,r,a,n){return l.updateDriveItem(t,r,a,n).then(c=>c(s,o))}}};class $e extends y{deleteDriveItem(o,s,l){return H(this.configuration).deleteDriveItem(o,s,l).then(t=>t(this.axios,this.basePath))}getDriveItem(o,s,l){return H(this.configuration).getDriveItem(o,s,l).then(t=>t(this.axios,this.basePath))}updateDriveItem(o,s,l,t){return H(this.configuration).updateDriveItem(o,s,l,t).then(r=>r(this.axios,this.basePath))}}const oe=function(e){return{createDrive:async(o,s={})=>{h("createDrive","drive",o);const l="/v1.0/drives",t=new URL(l,A);let r;e&&(r=e.baseOptions);const a={method:"POST",...r,...s},n={},c={};U(a,e),n["Content-Type"]="application/json",v(t,c);let i=r&&r.headers?r.headers:{};return a.headers={...n,...i,...s.headers},a.data=x(o,a,e),{url:O(t),options:a}},deleteDrive:async(o,s,l={})=>{h("deleteDrive","driveId",o);const t="/v1.0/drives/{drive-id}".replace("{drive-id}",encodeURIComponent(String(o))),r=new URL(t,A);let a;e&&(a=e.baseOptions);const n={method:"DELETE",...a,...l},c={},i={};U(n,e),s!=null&&(c["If-Match"]=String(s)),v(r,i);let d=a&&a.headers?a.headers:{};return n.headers={...c,...d,...l.headers},{url:O(r),options:n}},getDrive:async(o,s={})=>{h("getDrive","driveId",o);const l="/v1.0/drives/{drive-id}".replace("{drive-id}",encodeURIComponent(String(o))),t=new URL(l,A);let r;e&&(r=e.baseOptions);const a={method:"GET",...r,...s},n={},c={};U(a,e),v(t,c);let i=r&&r.headers?r.headers:{};return a.headers={...n,...i,...s.headers},{url:O(t),options:a}},updateDrive:async(o,s,l={})=>{h("updateDrive","driveId",o),h("updateDrive","driveUpdate",s);const t="/v1.0/drives/{drive-id}".replace("{drive-id}",encodeURIComponent(String(o))),r=new URL(t,A);let a;e&&(a=e.baseOptions);const n={method:"PATCH",...a,...l},c={},i={};U(n,e),c["Content-Type"]="application/json",v(r,i);let d=a&&a.headers?a.headers:{};return n.headers={...c,...d,...l.headers},n.data=x(s,n,e),{url:O(r),options:n}}}},L=function(e){const o=oe(e);return{async createDrive(s,l){var n,c;const t=await o.createDrive(s,l),r=(e==null?void 0:e.serverIndex)??0,a=(c=(n=V["DrivesApi.createDrive"])==null?void 0:n[r])==null?void 0:c.url;return(i,d)=>u(t,m.axios,P,e)(i,a||d)},async deleteDrive(s,l,t){var c,i;const r=await o.deleteDrive(s,l,t),a=(e==null?void 0:e.serverIndex)??0,n=(i=(c=V["DrivesApi.deleteDrive"])==null?void 0:c[a])==null?void 0:i.url;return(d,p)=>u(r,m.axios,P,e)(d,n||p)},async getDrive(s,l){var n,c;const t=await o.getDrive(s,l),r=(e==null?void 0:e.serverIndex)??0,a=(c=(n=V["DrivesApi.getDrive"])==null?void 0:n[r])==null?void 0:c.url;return(i,d)=>u(t,m.axios,P,e)(i,a||d)},async updateDrive(s,l,t){var c,i;const r=await o.updateDrive(s,l,t),a=(e==null?void 0:e.serverIndex)??0,n=(i=(c=V["DrivesApi.updateDrive"])==null?void 0:c[a])==null?void 0:i.url;return(d,p)=>u(r,m.axios,P,e)(d,n||p)}}},qe=function(e,o,s){const l=L(e);return{createDrive(t,r){return l.createDrive(t,r).then(a=>a(s,o))},deleteDrive(t,r,a){return l.deleteDrive(t,r,a).then(n=>n(s,o))},getDrive(t,r){return l.getDrive(t,r).then(a=>a(s,o))},updateDrive(t,r,a){return l.updateDrive(t,r,a).then(n=>n(s,o))}}};class Qe extends y{createDrive(o,s){return L(this.configuration).createDrive(o,s).then(l=>l(this.axios,this.basePath))}deleteDrive(o,s,l){return L(this.configuration).deleteDrive(o,s,l).then(t=>t(this.axios,this.basePath))}getDrive(o,s){return L(this.configuration).getDrive(o,s).then(l=>l(this.axios,this.basePath))}updateDrive(o,s,l){return L(this.configuration).updateDrive(o,s,l).then(t=>t(this.axios,this.basePath))}}const le=function(e){return{listAllDrives:async(o,s,l={})=>{const t="/v1.0/drives",r=new URL(t,A);let a;e&&(a=e.baseOptions);const n={method:"GET",...a,...l},c={},i={};U(n,e),o!==void 0&&(i.$orderby=o),s!==void 0&&(i.$filter=s),v(r,i);let d=a&&a.headers?a.headers:{};return n.headers={...c,...d,...l.headers},{url:O(r),options:n}},listAllDrivesBeta:async(o,s,l,t={})=>{const r="/v1beta1/drives",a=new URL(r,A);let n;e&&(n=e.baseOptions);const c={method:"GET",...n,...t},i={},d={};U(c,e),o!==void 0&&(d.$orderby=o),s!==void 0&&(d.$filter=s),l!==void 0&&(d.$expand=l),v(a,d);let p=n&&n.headers?n.headers:{};return c.headers={...i,...p,...t.headers},{url:O(a),options:c}}}},W=function(e){const o=le(e);return{async listAllDrives(s,l,t){var c,i;const r=await o.listAllDrives(s,l,t),a=(e==null?void 0:e.serverIndex)??0,n=(i=(c=V["DrivesGetDrivesApi.listAllDrives"])==null?void 0:c[a])==null?void 0:i.url;return(d,p)=>u(r,m.axios,P,e)(d,n||p)},async listAllDrivesBeta(s,l,t,r){var i,d;const a=await o.listAllDrivesBeta(s,l,t,r),n=(e==null?void 0:e.serverIndex)??0,c=(d=(i=V["DrivesGetDrivesApi.listAllDrivesBeta"])==null?void 0:i[n])==null?void 0:d.url;return(p,S)=>u(a,m.axios,P,e)(p,c||S)}}},Ne=function(e,o,s){const l=W(e);return{listAllDrives(t,r,a){return l.listAllDrives(t,r,a).then(n=>n(s,o))},listAllDrivesBeta(t,r,a,n){return l.listAllDrivesBeta(t,r,a,n).then(c=>c(s,o))}}};class ke extends y{listAllDrives(o,s,l){return W(this.configuration).listAllDrives(o,s,l).then(t=>t(this.axios,this.basePath))}listAllDrivesBeta(o,s,l,t){return W(this.configuration).listAllDrivesBeta(o,s,l,t).then(r=>r(this.axios,this.basePath))}}const ne=function(e){return{createLink:async(o,s,l,t={})=>{h("createLink","driveId",o),h("createLink","itemId",s);const r="/v1beta1/drives/{drive-id}/items/{item-id}/createLink".replace("{drive-id}",encodeURIComponent(String(o))).replace("{item-id}",encodeURIComponent(String(s))),a=new URL(r,A);let n;e&&(n=e.baseOptions);const c={method:"POST",...n,...t},i={},d={};U(c,e),i["Content-Type"]="application/json",v(a,d);let p=n&&n.headers?n.headers:{};return c.headers={...i,...p,...t.headers},c.data=x(l,c,e),{url:O(a),options:c}},deletePermission:async(o,s,l,t={})=>{h("deletePermission","driveId",o),h("deletePermission","itemId",s),h("deletePermission","permId",l);const r="/v1beta1/drives/{drive-id}/items/{item-id}/permissions/{perm-id}".replace("{drive-id}",encodeURIComponent(String(o))).replace("{item-id}",encodeURIComponent(String(s))).replace("{perm-id}",encodeURIComponent(String(l))),a=new URL(r,A);let n;e&&(n=e.baseOptions);const c={method:"DELETE",...n,...t},i={},d={};U(c,e),v(a,d);let p=n&&n.headers?n.headers:{};return c.headers={...i,...p,...t.headers},{url:O(a),options:c}},getPermission:async(o,s,l,t={})=>{h("getPermission","driveId",o),h("getPermission","itemId",s),h("getPermission","permId",l);const r="/v1beta1/drives/{drive-id}/items/{item-id}/permissions/{perm-id}".replace("{drive-id}",encodeURIComponent(String(o))).replace("{item-id}",encodeURIComponent(String(s))).replace("{perm-id}",encodeURIComponent(String(l))),a=new URL(r,A);let n;e&&(n=e.baseOptions);const c={method:"GET",...n,...t},i={},d={};U(c,e),v(a,d);let p=n&&n.headers?n.headers:{};return c.headers={...i,...p,...t.headers},{url:O(a),options:c}},invite:async(o,s,l,t={})=>{h("invite","driveId",o),h("invite","itemId",s);const r="/v1beta1/drives/{drive-id}/items/{item-id}/invite".replace("{drive-id}",encodeURIComponent(String(o))).replace("{item-id}",encodeURIComponent(String(s))),a=new URL(r,A);let n;e&&(n=e.baseOptions);const c={method:"POST",...n,...t},i={},d={};U(c,e),i["Content-Type"]="application/json",v(a,d);let p=n&&n.headers?n.headers:{};return c.headers={...i,...p,...t.headers},c.data=x(l,c,e),{url:O(a),options:c}},listPermissions:async(o,s,l,t,r,a,n={})=>{h("listPermissions","driveId",o),h("listPermissions","itemId",s);const c="/v1beta1/drives/{drive-id}/items/{item-id}/permissions".replace("{drive-id}",encodeURIComponent(String(o))).replace("{item-id}",encodeURIComponent(String(s))),i=new URL(c,A);let d;e&&(d=e.baseOptions);const p={method:"GET",...d,...n},S={},b={};U(p,e),l!==void 0&&(b.$filter=l),t&&(b.$select=Array.from(t).join(C.csv)),r!==void 0&&(b.$count=r),a!==void 0&&(b.$top=a),v(i,b);let B=d&&d.headers?d.headers:{};return p.headers={...S,...B,...n.headers},{url:O(i),options:p}},setPermissionPassword:async(o,s,l,t,r={})=>{h("setPermissionPassword","driveId",o),h("setPermissionPassword","itemId",s),h("setPermissionPassword","permId",l),h("setPermissionPassword","sharingLinkPassword",t);const a="/v1beta1/drives/{drive-id}/items/{item-id}/permissions/{perm-id}/setPassword".replace("{drive-id}",encodeURIComponent(String(o))).replace("{item-id}",encodeURIComponent(String(s))).replace("{perm-id}",encodeURIComponent(String(l))),n=new URL(a,A);let c;e&&(c=e.baseOptions);const i={method:"POST",...c,...r},d={},p={};U(i,e),d["Content-Type"]="application/json",v(n,p);let S=c&&c.headers?c.headers:{};return i.headers={...d,...S,...r.headers},i.data=x(t,i,e),{url:O(n),options:i}},updatePermission:async(o,s,l,t,r={})=>{h("updatePermission","driveId",o),h("updatePermission","itemId",s),h("updatePermission","permId",l),h("updatePermission","permission",t);const a="/v1beta1/drives/{drive-id}/items/{item-id}/permissions/{perm-id}".replace("{drive-id}",encodeURIComponent(String(o))).replace("{item-id}",encodeURIComponent(String(s))).replace("{perm-id}",encodeURIComponent(String(l))),n=new URL(a,A);let c;e&&(c=e.baseOptions);const i={method:"PATCH",...c,...r},d={},p={};U(i,e),d["Content-Type"]="application/json",v(n,p);let S=c&&c.headers?c.headers:{};return i.headers={...d,...S,...r.headers},i.data=x(t,i,e),{url:O(n),options:i}}}},E=function(e){const o=ne(e);return{async createLink(s,l,t,r){var i,d;const a=await o.createLink(s,l,t,r),n=(e==null?void 0:e.serverIndex)??0,c=(d=(i=V["DrivesPermissionsApi.createLink"])==null?void 0:i[n])==null?void 0:d.url;return(p,S)=>u(a,m.axios,P,e)(p,c||S)},async deletePermission(s,l,t,r){var i,d;const a=await o.deletePermission(s,l,t,r),n=(e==null?void 0:e.serverIndex)??0,c=(d=(i=V["DrivesPermissionsApi.deletePermission"])==null?void 0:i[n])==null?void 0:d.url;return(p,S)=>u(a,m.axios,P,e)(p,c||S)},async getPermission(s,l,t,r){var i,d;const a=await o.getPermission(s,l,t,r),n=(e==null?void 0:e.serverIndex)??0,c=(d=(i=V["DrivesPermissionsApi.getPermission"])==null?void 0:i[n])==null?void 0:d.url;return(p,S)=>u(a,m.axios,P,e)(p,c||S)},async invite(s,l,t,r){var i,d;const a=await o.invite(s,l,t,r),n=(e==null?void 0:e.serverIndex)??0,c=(d=(i=V["DrivesPermissionsApi.invite"])==null?void 0:i[n])==null?void 0:d.url;return(p,S)=>u(a,m.axios,P,e)(p,c||S)},async listPermissions(s,l,t,r,a,n,c){var S,b;const i=await o.listPermissions(s,l,t,r,a,n,c),d=(e==null?void 0:e.serverIndex)??0,p=(b=(S=V["DrivesPermissionsApi.listPermissions"])==null?void 0:S[d])==null?void 0:b.url;return(B,Ie)=>u(i,m.axios,P,e)(B,p||Ie)},async setPermissionPassword(s,l,t,r,a){var d,p;const n=await o.setPermissionPassword(s,l,t,r,a),c=(e==null?void 0:e.serverIndex)??0,i=(p=(d=V["DrivesPermissionsApi.setPermissionPassword"])==null?void 0:d[c])==null?void 0:p.url;return(S,b)=>u(n,m.axios,P,e)(S,i||b)},async updatePermission(s,l,t,r,a){var d,p;const n=await o.updatePermission(s,l,t,r,a),c=(e==null?void 0:e.serverIndex)??0,i=(p=(d=V["DrivesPermissionsApi.updatePermission"])==null?void 0:d[c])==null?void 0:p.url;return(S,b)=>u(n,m.axios,P,e)(S,i||b)}}},We=function(e,o,s){const l=E(e);return{createLink(t,r,a,n){return l.createLink(t,r,a,n).then(c=>c(s,o))},deletePermission(t,r,a,n){return l.deletePermission(t,r,a,n).then(c=>c(s,o))},getPermission(t,r,a,n){return l.getPermission(t,r,a,n).then(c=>c(s,o))},invite(t,r,a,n){return l.invite(t,r,a,n).then(c=>c(s,o))},listPermissions(t,r,a,n,c,i,d){return l.listPermissions(t,r,a,n,c,i,d).then(p=>p(s,o))},setPermissionPassword(t,r,a,n,c){return l.setPermissionPassword(t,r,a,n,c).then(i=>i(s,o))},updatePermission(t,r,a,n,c){return l.updatePermission(t,r,a,n,c).then(i=>i(s,o))}}};class ze extends y{createLink(o,s,l,t){return E(this.configuration).createLink(o,s,l,t).then(r=>r(this.axios,this.basePath))}deletePermission(o,s,l,t){return E(this.configuration).deletePermission(o,s,l,t).then(r=>r(this.axios,this.basePath))}getPermission(o,s,l,t){return E(this.configuration).getPermission(o,s,l,t).then(r=>r(this.axios,this.basePath))}invite(o,s,l,t){return E(this.configuration).invite(o,s,l,t).then(r=>r(this.axios,this.basePath))}listPermissions(o,s,l,t,r,a,n){return E(this.configuration).listPermissions(o,s,l,t,r,a,n).then(c=>c(this.axios,this.basePath))}setPermissionPassword(o,s,l,t,r){return E(this.configuration).setPermissionPassword(o,s,l,t,r).then(a=>a(this.axios,this.basePath))}updatePermission(o,s,l,t,r){return E(this.configuration).updatePermission(o,s,l,t,r).then(a=>a(this.axios,this.basePath))}}const Je={LibreGraphPermissionsActionsAllowedValues:"@libre.graph.permissions.actions.allowedValues",LibreGraphPermissionsRolesAllowedValues:"@libre.graph.permissions.roles.allowedValues",Value:"value"},ce=function(e){return{createDriveItem:async(o,s,l={})=>{h("createDriveItem","driveId",o);const t="/v1beta1/drives/{drive-id}/root/children".replace("{drive-id}",encodeURIComponent(String(o))),r=new URL(t,A);let a;e&&(a=e.baseOptions);const n={method:"POST",...a,...l},c={},i={};U(n,e),c["Content-Type"]="application/json",v(r,i);let d=a&&a.headers?a.headers:{};return n.headers={...c,...d,...l.headers},n.data=x(s,n,e),{url:O(r),options:n}},createLinkSpaceRoot:async(o,s,l={})=>{h("createLinkSpaceRoot","driveId",o);const t="/v1beta1/drives/{drive-id}/root/createLink".replace("{drive-id}",encodeURIComponent(String(o))),r=new URL(t,A);let a;e&&(a=e.baseOptions);const n={method:"POST",...a,...l},c={},i={};U(n,e),c["Content-Type"]="application/json",v(r,i);let d=a&&a.headers?a.headers:{};return n.headers={...c,...d,...l.headers},n.data=x(s,n,e),{url:O(r),options:n}},deletePermissionSpaceRoot:async(o,s,l={})=>{h("deletePermissionSpaceRoot","driveId",o),h("deletePermissionSpaceRoot","permId",s);const t="/v1beta1/drives/{drive-id}/root/permissions/{perm-id}".replace("{drive-id}",encodeURIComponent(String(o))).replace("{perm-id}",encodeURIComponent(String(s))),r=new URL(t,A);let a;e&&(a=e.baseOptions);const n={method:"DELETE",...a,...l},c={},i={};U(n,e),v(r,i);let d=a&&a.headers?a.headers:{};return n.headers={...c,...d,...l.headers},{url:O(r),options:n}},getPermissionSpaceRoot:async(o,s,l={})=>{h("getPermissionSpaceRoot","driveId",o),h("getPermissionSpaceRoot","permId",s);const t="/v1beta1/drives/{drive-id}/root/permissions/{perm-id}".replace("{drive-id}",encodeURIComponent(String(o))).replace("{perm-id}",encodeURIComponent(String(s))),r=new URL(t,A);let a;e&&(a=e.baseOptions);const n={method:"GET",...a,...l},c={},i={};U(n,e),v(r,i);let d=a&&a.headers?a.headers:{};return n.headers={...c,...d,...l.headers},{url:O(r),options:n}},getRoot:async(o,s={})=>{h("getRoot","driveId",o);const l="/v1.0/drives/{drive-id}/root".replace("{drive-id}",encodeURIComponent(String(o))),t=new URL(l,A);let r;e&&(r=e.baseOptions);const a={method:"GET",...r,...s},n={},c={};U(a,e),v(t,c);let i=r&&r.headers?r.headers:{};return a.headers={...n,...i,...s.headers},{url:O(t),options:a}},inviteSpaceRoot:async(o,s,l={})=>{h("inviteSpaceRoot","driveId",o);const t="/v1beta1/drives/{drive-id}/root/invite".replace("{drive-id}",encodeURIComponent(String(o))),r=new URL(t,A);let a;e&&(a=e.baseOptions);const n={method:"POST",...a,...l},c={},i={};U(n,e),c["Content-Type"]="application/json",v(r,i);let d=a&&a.headers?a.headers:{};return n.headers={...c,...d,...l.headers},n.data=x(s,n,e),{url:O(r),options:n}},listPermissionsSpaceRoot:async(o,s,l,t,r,a={})=>{h("listPermissionsSpaceRoot","driveId",o);const n="/v1beta1/drives/{drive-id}/root/permissions".replace("{drive-id}",encodeURIComponent(String(o))),c=new URL(n,A);let i;e&&(i=e.baseOptions);const d={method:"GET",...i,...a},p={},S={};U(d,e),s!==void 0&&(S.$filter=s),l&&(S.$select=Array.from(l).join(C.csv)),t!==void 0&&(S.$count=t),r!==void 0&&(S.$top=r),v(c,S);let b=i&&i.headers?i.headers:{};return d.headers={...p,...b,...a.headers},{url:O(c),options:d}},setPermissionPasswordSpaceRoot:async(o,s,l,t={})=>{h("setPermissionPasswordSpaceRoot","driveId",o),h("setPermissionPasswordSpaceRoot","permId",s),h("setPermissionPasswordSpaceRoot","sharingLinkPassword",l);const r="/v1beta1/drives/{drive-id}/root/permissions/{perm-id}/setPassword".replace("{drive-id}",encodeURIComponent(String(o))).replace("{perm-id}",encodeURIComponent(String(s))),a=new URL(r,A);let n;e&&(n=e.baseOptions);const c={method:"POST",...n,...t},i={},d={};U(c,e),i["Content-Type"]="application/json",v(a,d);let p=n&&n.headers?n.headers:{};return c.headers={...i,...p,...t.headers},c.data=x(l,c,e),{url:O(a),options:c}},updatePermissionSpaceRoot:async(o,s,l,t={})=>{h("updatePermissionSpaceRoot","driveId",o),h("updatePermissionSpaceRoot","permId",s),h("updatePermissionSpaceRoot","permission",l);const r="/v1beta1/drives/{drive-id}/root/permissions/{perm-id}".replace("{drive-id}",encodeURIComponent(String(o))).replace("{perm-id}",encodeURIComponent(String(s))),a=new URL(r,A);let n;e&&(n=e.baseOptions);const c={method:"PATCH",...n,...t},i={},d={};U(c,e),i["Content-Type"]="application/json",v(a,d);let p=n&&n.headers?n.headers:{};return c.headers={...i,...p,...t.headers},c.data=x(l,c,e),{url:O(a),options:c}}}},I=function(e){const o=ce(e);return{async createDriveItem(s,l,t){var c,i;const r=await o.createDriveItem(s,l,t),a=(e==null?void 0:e.serverIndex)??0,n=(i=(c=V["DrivesRootApi.createDriveItem"])==null?void 0:c[a])==null?void 0:i.url;return(d,p)=>u(r,m.axios,P,e)(d,n||p)},async createLinkSpaceRoot(s,l,t){var c,i;const r=await o.createLinkSpaceRoot(s,l,t),a=(e==null?void 0:e.serverIndex)??0,n=(i=(c=V["DrivesRootApi.createLinkSpaceRoot"])==null?void 0:c[a])==null?void 0:i.url;return(d,p)=>u(r,m.axios,P,e)(d,n||p)},async deletePermissionSpaceRoot(s,l,t){var c,i;const r=await o.deletePermissionSpaceRoot(s,l,t),a=(e==null?void 0:e.serverIndex)??0,n=(i=(c=V["DrivesRootApi.deletePermissionSpaceRoot"])==null?void 0:c[a])==null?void 0:i.url;return(d,p)=>u(r,m.axios,P,e)(d,n||p)},async getPermissionSpaceRoot(s,l,t){var c,i;const r=await o.getPermissionSpaceRoot(s,l,t),a=(e==null?void 0:e.serverIndex)??0,n=(i=(c=V["DrivesRootApi.getPermissionSpaceRoot"])==null?void 0:c[a])==null?void 0:i.url;return(d,p)=>u(r,m.axios,P,e)(d,n||p)},async getRoot(s,l){var n,c;const t=await o.getRoot(s,l),r=(e==null?void 0:e.serverIndex)??0,a=(c=(n=V["DrivesRootApi.getRoot"])==null?void 0:n[r])==null?void 0:c.url;return(i,d)=>u(t,m.axios,P,e)(i,a||d)},async inviteSpaceRoot(s,l,t){var c,i;const r=await o.inviteSpaceRoot(s,l,t),a=(e==null?void 0:e.serverIndex)??0,n=(i=(c=V["DrivesRootApi.inviteSpaceRoot"])==null?void 0:c[a])==null?void 0:i.url;return(d,p)=>u(r,m.axios,P,e)(d,n||p)},async listPermissionsSpaceRoot(s,l,t,r,a,n){var p,S;const c=await o.listPermissionsSpaceRoot(s,l,t,r,a,n),i=(e==null?void 0:e.serverIndex)??0,d=(S=(p=V["DrivesRootApi.listPermissionsSpaceRoot"])==null?void 0:p[i])==null?void 0:S.url;return(b,B)=>u(c,m.axios,P,e)(b,d||B)},async setPermissionPasswordSpaceRoot(s,l,t,r){var i,d;const a=await o.setPermissionPasswordSpaceRoot(s,l,t,r),n=(e==null?void 0:e.serverIndex)??0,c=(d=(i=V["DrivesRootApi.setPermissionPasswordSpaceRoot"])==null?void 0:i[n])==null?void 0:d.url;return(p,S)=>u(a,m.axios,P,e)(p,c||S)},async updatePermissionSpaceRoot(s,l,t,r){var i,d;const a=await o.updatePermissionSpaceRoot(s,l,t,r),n=(e==null?void 0:e.serverIndex)??0,c=(d=(i=V["DrivesRootApi.updatePermissionSpaceRoot"])==null?void 0:i[n])==null?void 0:d.url;return(p,S)=>u(a,m.axios,P,e)(p,c||S)}}},_e=function(e,o,s){const l=I(e);return{createDriveItem(t,r,a){return l.createDriveItem(t,r,a).then(n=>n(s,o))},createLinkSpaceRoot(t,r,a){return l.createLinkSpaceRoot(t,r,a).then(n=>n(s,o))},deletePermissionSpaceRoot(t,r,a){return l.deletePermissionSpaceRoot(t,r,a).then(n=>n(s,o))},getPermissionSpaceRoot(t,r,a){return l.getPermissionSpaceRoot(t,r,a).then(n=>n(s,o))},getRoot(t,r){return l.getRoot(t,r).then(a=>a(s,o))},inviteSpaceRoot(t,r,a){return l.inviteSpaceRoot(t,r,a).then(n=>n(s,o))},listPermissionsSpaceRoot(t,r,a,n,c,i){return l.listPermissionsSpaceRoot(t,r,a,n,c,i).then(d=>d(s,o))},setPermissionPasswordSpaceRoot(t,r,a,n){return l.setPermissionPasswordSpaceRoot(t,r,a,n).then(c=>c(s,o))},updatePermissionSpaceRoot(t,r,a,n){return l.updatePermissionSpaceRoot(t,r,a,n).then(c=>c(s,o))}}};class Ke extends y{createDriveItem(o,s,l){return I(this.configuration).createDriveItem(o,s,l).then(t=>t(this.axios,this.basePath))}createLinkSpaceRoot(o,s,l){return I(this.configuration).createLinkSpaceRoot(o,s,l).then(t=>t(this.axios,this.basePath))}deletePermissionSpaceRoot(o,s,l){return I(this.configuration).deletePermissionSpaceRoot(o,s,l).then(t=>t(this.axios,this.basePath))}getPermissionSpaceRoot(o,s,l){return I(this.configuration).getPermissionSpaceRoot(o,s,l).then(t=>t(this.axios,this.basePath))}getRoot(o,s){return I(this.configuration).getRoot(o,s).then(l=>l(this.axios,this.basePath))}inviteSpaceRoot(o,s,l){return I(this.configuration).inviteSpaceRoot(o,s,l).then(t=>t(this.axios,this.basePath))}listPermissionsSpaceRoot(o,s,l,t,r,a){return I(this.configuration).listPermissionsSpaceRoot(o,s,l,t,r,a).then(n=>n(this.axios,this.basePath))}setPermissionPasswordSpaceRoot(o,s,l,t){return I(this.configuration).setPermissionPasswordSpaceRoot(o,s,l,t).then(r=>r(this.axios,this.basePath))}updatePermissionSpaceRoot(o,s,l,t){return I(this.configuration).updatePermissionSpaceRoot(o,s,l,t).then(r=>r(this.axios,this.basePath))}}const Ye={LibreGraphPermissionsActionsAllowedValues:"@libre.graph.permissions.actions.allowedValues",LibreGraphPermissionsRolesAllowedValues:"@libre.graph.permissions.roles.allowedValues",Value:"value"},ie=function(e){return{addUserToClass:async(o,s,l={})=>{h("addUserToClass","classId",o),h("addUserToClass","classMemberReference",s);const t="/v1.0/education/classes/{class-id}/members/$ref".replace("{class-id}",encodeURIComponent(String(o))),r=new URL(t,A);let a;e&&(a=e.baseOptions);const n={method:"POST",...a,...l},c={},i={};await R(c,e),c["Content-Type"]="application/json",v(r,i);let d=a&&a.headers?a.headers:{};return n.headers={...c,...d,...l.headers},n.data=x(s,n,e),{url:O(r),options:n}},createClass:async(o,s={})=>{h("createClass","educationClass",o);const l="/v1.0/education/classes",t=new URL(l,A);let r;e&&(r=e.baseOptions);const a={method:"POST",...r,...s},n={},c={};await R(n,e),n["Content-Type"]="application/json",v(t,c);let i=r&&r.headers?r.headers:{};return a.headers={...n,...i,...s.headers},a.data=x(o,a,e),{url:O(t),options:a}},deleteClass:async(o,s={})=>{h("deleteClass","classId",o);const l="/v1.0/education/classes/{class-id}".replace("{class-id}",encodeURIComponent(String(o))),t=new URL(l,A);let r;e&&(r=e.baseOptions);const a={method:"DELETE",...r,...s},n={},c={};await R(n,e),v(t,c);let i=r&&r.headers?r.headers:{};return a.headers={...n,...i,...s.headers},{url:O(t),options:a}},deleteUserFromClass:async(o,s,l={})=>{h("deleteUserFromClass","classId",o),h("deleteUserFromClass","userId",s);const t="/v1.0/education/classes/{class-id}/members/{user-id}/$ref".replace("{class-id}",encodeURIComponent(String(o))).replace("{user-id}",encodeURIComponent(String(s))),r=new URL(t,A);let a;e&&(a=e.baseOptions);const n={method:"DELETE",...a,...l},c={},i={};await R(c,e),v(r,i);let d=a&&a.headers?a.headers:{};return n.headers={...c,...d,...l.headers},{url:O(r),options:n}},getClass:async(o,s={})=>{h("getClass","classId",o);const l="/v1.0/education/classes/{class-id}".replace("{class-id}",encodeURIComponent(String(o))),t=new URL(l,A);let r;e&&(r=e.baseOptions);const a={method:"GET",...r,...s},n={},c={};await R(n,e),v(t,c);let i=r&&r.headers?r.headers:{};return a.headers={...n,...i,...s.headers},{url:O(t),options:a}},listClassMembers:async(o,s={})=>{h("listClassMembers","classId",o);const l="/v1.0/education/classes/{class-id}/members".replace("{class-id}",encodeURIComponent(String(o))),t=new URL(l,A);let r;e&&(r=e.baseOptions);const a={method:"GET",...r,...s},n={},c={};await R(n,e),v(t,c);let i=r&&r.headers?r.headers:{};return a.headers={...n,...i,...s.headers},{url:O(t),options:a}},listClasses:async(o={})=>{const s="/v1.0/education/classes",l=new URL(s,A);let t;e&&(t=e.baseOptions);const r={method:"GET",...t,...o},a={},n={};await R(a,e),v(l,n);let c=t&&t.headers?t.headers:{};return r.headers={...a,...c,...o.headers},{url:O(l),options:r}},updateClass:async(o,s,l={})=>{h("updateClass","classId",o),h("updateClass","educationClass",s);const t="/v1.0/education/classes/{class-id}".replace("{class-id}",encodeURIComponent(String(o))),r=new URL(t,A);let a;e&&(a=e.baseOptions);const n={method:"PATCH",...a,...l},c={},i={};await R(c,e),c["Content-Type"]="application/json",v(r,i);let d=a&&a.headers?a.headers:{};return n.headers={...c,...d,...l.headers},n.data=x(s,n,e),{url:O(r),options:n}}}},F=function(e){const o=ie(e);return{async addUserToClass(s,l,t){var c,i;const r=await o.addUserToClass(s,l,t),a=(e==null?void 0:e.serverIndex)??0,n=(i=(c=V["EducationClassApi.addUserToClass"])==null?void 0:c[a])==null?void 0:i.url;return(d,p)=>u(r,m.axios,P,e)(d,n||p)},async createClass(s,l){var n,c;const t=await o.createClass(s,l),r=(e==null?void 0:e.serverIndex)??0,a=(c=(n=V["EducationClassApi.createClass"])==null?void 0:n[r])==null?void 0:c.url;return(i,d)=>u(t,m.axios,P,e)(i,a||d)},async deleteClass(s,l){var n,c;const t=await o.deleteClass(s,l),r=(e==null?void 0:e.serverIndex)??0,a=(c=(n=V["EducationClassApi.deleteClass"])==null?void 0:n[r])==null?void 0:c.url;return(i,d)=>u(t,m.axios,P,e)(i,a||d)},async deleteUserFromClass(s,l,t){var c,i;const r=await o.deleteUserFromClass(s,l,t),a=(e==null?void 0:e.serverIndex)??0,n=(i=(c=V["EducationClassApi.deleteUserFromClass"])==null?void 0:c[a])==null?void 0:i.url;return(d,p)=>u(r,m.axios,P,e)(d,n||p)},async getClass(s,l){var n,c;const t=await o.getClass(s,l),r=(e==null?void 0:e.serverIndex)??0,a=(c=(n=V["EducationClassApi.getClass"])==null?void 0:n[r])==null?void 0:c.url;return(i,d)=>u(t,m.axios,P,e)(i,a||d)},async listClassMembers(s,l){var n,c;const t=await o.listClassMembers(s,l),r=(e==null?void 0:e.serverIndex)??0,a=(c=(n=V["EducationClassApi.listClassMembers"])==null?void 0:n[r])==null?void 0:c.url;return(i,d)=>u(t,m.axios,P,e)(i,a||d)},async listClasses(s){var a,n;const l=await o.listClasses(s),t=(e==null?void 0:e.serverIndex)??0,r=(n=(a=V["EducationClassApi.listClasses"])==null?void 0:a[t])==null?void 0:n.url;return(c,i)=>u(l,m.axios,P,e)(c,r||i)},async updateClass(s,l,t){var c,i;const r=await o.updateClass(s,l,t),a=(e==null?void 0:e.serverIndex)??0,n=(i=(c=V["EducationClassApi.updateClass"])==null?void 0:c[a])==null?void 0:i.url;return(d,p)=>u(r,m.axios,P,e)(d,n||p)}}},Xe=function(e,o,s){const l=F(e);return{addUserToClass(t,r,a){return l.addUserToClass(t,r,a).then(n=>n(s,o))},createClass(t,r){return l.createClass(t,r).then(a=>a(s,o))},deleteClass(t,r){return l.deleteClass(t,r).then(a=>a(s,o))},deleteUserFromClass(t,r,a){return l.deleteUserFromClass(t,r,a).then(n=>n(s,o))},getClass(t,r){return l.getClass(t,r).then(a=>a(s,o))},listClassMembers(t,r){return l.listClassMembers(t,r).then(a=>a(s,o))},listClasses(t){return l.listClasses(t).then(r=>r(s,o))},updateClass(t,r,a){return l.updateClass(t,r,a).then(n=>n(s,o))}}};class Ze extends y{addUserToClass(o,s,l){return F(this.configuration).addUserToClass(o,s,l).then(t=>t(this.axios,this.basePath))}createClass(o,s){return F(this.configuration).createClass(o,s).then(l=>l(this.axios,this.basePath))}deleteClass(o,s){return F(this.configuration).deleteClass(o,s).then(l=>l(this.axios,this.basePath))}deleteUserFromClass(o,s,l){return F(this.configuration).deleteUserFromClass(o,s,l).then(t=>t(this.axios,this.basePath))}getClass(o,s){return F(this.configuration).getClass(o,s).then(l=>l(this.axios,this.basePath))}listClassMembers(o,s){return F(this.configuration).listClassMembers(o,s).then(l=>l(this.axios,this.basePath))}listClasses(o){return F(this.configuration).listClasses(o).then(s=>s(this.axios,this.basePath))}updateClass(o,s,l){return F(this.configuration).updateClass(o,s,l).then(t=>t(this.axios,this.basePath))}}const de=function(e){return{addTeacherToClass:async(o,s,l={})=>{h("addTeacherToClass","classId",o),h("addTeacherToClass","classTeacherReference",s);const t="/v1.0/education/classes/{class-id}/teachers/$ref".replace("{class-id}",encodeURIComponent(String(o))),r=new URL(t,A);let a;e&&(a=e.baseOptions);const n={method:"POST",...a,...l},c={},i={};await R(c,e),c["Content-Type"]="application/json",v(r,i);let d=a&&a.headers?a.headers:{};return n.headers={...c,...d,...l.headers},n.data=x(s,n,e),{url:O(r),options:n}},deleteTeacherFromClass:async(o,s,l={})=>{h("deleteTeacherFromClass","classId",o),h("deleteTeacherFromClass","userId",s);const t="/v1.0/education/classes/{class-id}/teachers/{user-id}/$ref".replace("{class-id}",encodeURIComponent(String(o))).replace("{user-id}",encodeURIComponent(String(s))),r=new URL(t,A);let a;e&&(a=e.baseOptions);const n={method:"DELETE",...a,...l},c={},i={};await R(c,e),v(r,i);let d=a&&a.headers?a.headers:{};return n.headers={...c,...d,...l.headers},{url:O(r),options:n}},getTeachers:async(o,s={})=>{h("getTeachers","classId",o);const l="/v1.0/education/classes/{class-id}/teachers".replace("{class-id}",encodeURIComponent(String(o))),t=new URL(l,A);let r;e&&(r=e.baseOptions);const a={method:"GET",...r,...s},n={},c={};await R(n,e),v(t,c);let i=r&&r.headers?r.headers:{};return a.headers={...n,...i,...s.headers},{url:O(t),options:a}}}},$=function(e){const o=de(e);return{async addTeacherToClass(s,l,t){var c,i;const r=await o.addTeacherToClass(s,l,t),a=(e==null?void 0:e.serverIndex)??0,n=(i=(c=V["EducationClassTeachersApi.addTeacherToClass"])==null?void 0:c[a])==null?void 0:i.url;return(d,p)=>u(r,m.axios,P,e)(d,n||p)},async deleteTeacherFromClass(s,l,t){var c,i;const r=await o.deleteTeacherFromClass(s,l,t),a=(e==null?void 0:e.serverIndex)??0,n=(i=(c=V["EducationClassTeachersApi.deleteTeacherFromClass"])==null?void 0:c[a])==null?void 0:i.url;return(d,p)=>u(r,m.axios,P,e)(d,n||p)},async getTeachers(s,l){var n,c;const t=await o.getTeachers(s,l),r=(e==null?void 0:e.serverIndex)??0,a=(c=(n=V["EducationClassTeachersApi.getTeachers"])==null?void 0:n[r])==null?void 0:c.url;return(i,d)=>u(t,m.axios,P,e)(i,a||d)}}},ge=function(e,o,s){const l=$(e);return{addTeacherToClass(t,r,a){return l.addTeacherToClass(t,r,a).then(n=>n(s,o))},deleteTeacherFromClass(t,r,a){return l.deleteTeacherFromClass(t,r,a).then(n=>n(s,o))},getTeachers(t,r){return l.getTeachers(t,r).then(a=>a(s,o))}}};class fe extends y{addTeacherToClass(o,s,l){return $(this.configuration).addTeacherToClass(o,s,l).then(t=>t(this.axios,this.basePath))}deleteTeacherFromClass(o,s,l){return $(this.configuration).deleteTeacherFromClass(o,s,l).then(t=>t(this.axios,this.basePath))}getTeachers(o,s){return $(this.configuration).getTeachers(o,s).then(l=>l(this.axios,this.basePath))}}const pe=function(e){return{addClassToSchool:async(o,s,l={})=>{h("addClassToSchool","schoolId",o),h("addClassToSchool","classReference",s);const t="/v1.0/education/schools/{school-id}/classes/$ref".replace("{school-id}",encodeURIComponent(String(o))),r=new URL(t,A);let a;e&&(a=e.baseOptions);const n={method:"POST",...a,...l},c={},i={};await R(c,e),c["Content-Type"]="application/json",v(r,i);let d=a&&a.headers?a.headers:{};return n.headers={...c,...d,...l.headers},n.data=x(s,n,e),{url:O(r),options:n}},addUserToSchool:async(o,s,l={})=>{h("addUserToSchool","schoolId",o),h("addUserToSchool","educationUserReference",s);const t="/v1.0/education/schools/{school-id}/users/$ref".replace("{school-id}",encodeURIComponent(String(o))),r=new URL(t,A);let a;e&&(a=e.baseOptions);const n={method:"POST",...a,...l},c={},i={};await R(c,e),c["Content-Type"]="application/json",v(r,i);let d=a&&a.headers?a.headers:{};return n.headers={...c,...d,...l.headers},n.data=x(s,n,e),{url:O(r),options:n}},createSchool:async(o,s={})=>{h("createSchool","educationSchool",o);const l="/v1.0/education/schools",t=new URL(l,A);let r;e&&(r=e.baseOptions);const a={method:"POST",...r,...s},n={},c={};await R(n,e),n["Content-Type"]="application/json",v(t,c);let i=r&&r.headers?r.headers:{};return a.headers={...n,...i,...s.headers},a.data=x(o,a,e),{url:O(t),options:a}},deleteClassFromSchool:async(o,s,l={})=>{h("deleteClassFromSchool","schoolId",o),h("deleteClassFromSchool","classId",s);const t="/v1.0/education/schools/{school-id}/classes/{class-id}/$ref".replace("{school-id}",encodeURIComponent(String(o))).replace("{class-id}",encodeURIComponent(String(s))),r=new URL(t,A);let a;e&&(a=e.baseOptions);const n={method:"DELETE",...a,...l},c={},i={};await R(c,e),v(r,i);let d=a&&a.headers?a.headers:{};return n.headers={...c,...d,...l.headers},{url:O(r),options:n}},deleteSchool:async(o,s={})=>{h("deleteSchool","schoolId",o);const l="/v1.0/education/schools/{school-id}".replace("{school-id}",encodeURIComponent(String(o))),t=new URL(l,A);let r;e&&(r=e.baseOptions);const a={method:"DELETE",...r,...s},n={},c={};await R(n,e),v(t,c);let i=r&&r.headers?r.headers:{};return a.headers={...n,...i,...s.headers},{url:O(t),options:a}},deleteUserFromSchool:async(o,s,l={})=>{h("deleteUserFromSchool","schoolId",o),h("deleteUserFromSchool","userId",s);const t="/v1.0/education/schools/{school-id}/users/{user-id}/$ref".replace("{school-id}",encodeURIComponent(String(o))).replace("{user-id}",encodeURIComponent(String(s))),r=new URL(t,A);let a;e&&(a=e.baseOptions);const n={method:"DELETE",...a,...l},c={},i={};await R(c,e),v(r,i);let d=a&&a.headers?a.headers:{};return n.headers={...c,...d,...l.headers},{url:O(r),options:n}},getSchool:async(o,s={})=>{h("getSchool","schoolId",o);const l="/v1.0/education/schools/{school-id}".replace("{school-id}",encodeURIComponent(String(o))),t=new URL(l,A);let r;e&&(r=e.baseOptions);const a={method:"GET",...r,...s},n={},c={};await R(n,e),v(t,c);let i=r&&r.headers?r.headers:{};return a.headers={...n,...i,...s.headers},{url:O(t),options:a}},listSchoolClasses:async(o,s={})=>{h("listSchoolClasses","schoolId",o);const l="/v1.0/education/schools/{school-id}/classes".replace("{school-id}",encodeURIComponent(String(o))),t=new URL(l,A);let r;e&&(r=e.baseOptions);const a={method:"GET",...r,...s},n={},c={};await R(n,e),v(t,c);let i=r&&r.headers?r.headers:{};return a.headers={...n,...i,...s.headers},{url:O(t),options:a}},listSchoolUsers:async(o,s={})=>{h("listSchoolUsers","schoolId",o);const l="/v1.0/education/schools/{school-id}/users".replace("{school-id}",encodeURIComponent(String(o))),t=new URL(l,A);let r;e&&(r=e.baseOptions);const a={method:"GET",...r,...s},n={},c={};await R(n,e),v(t,c);let i=r&&r.headers?r.headers:{};return a.headers={...n,...i,...s.headers},{url:O(t),options:a}},listSchools:async(o={})=>{const s="/v1.0/education/schools",l=new URL(s,A);let t;e&&(t=e.baseOptions);const r={method:"GET",...t,...o},a={},n={};await R(a,e),v(l,n);let c=t&&t.headers?t.headers:{};return r.headers={...a,...c,...o.headers},{url:O(l),options:r}},updateSchool:async(o,s,l={})=>{h("updateSchool","schoolId",o),h("updateSchool","educationSchool",s);const t="/v1.0/education/schools/{school-id}".replace("{school-id}",encodeURIComponent(String(o))),r=new URL(t,A);let a;e&&(a=e.baseOptions);const n={method:"PATCH",...a,...l},c={},i={};await R(c,e),c["Content-Type"]="application/json",v(r,i);let d=a&&a.headers?a.headers:{};return n.headers={...c,...d,...l.headers},n.data=x(s,n,e),{url:O(r),options:n}}}},w=function(e){const o=pe(e);return{async addClassToSchool(s,l,t){var c,i;const r=await o.addClassToSchool(s,l,t),a=(e==null?void 0:e.serverIndex)??0,n=(i=(c=V["EducationSchoolApi.addClassToSchool"])==null?void 0:c[a])==null?void 0:i.url;return(d,p)=>u(r,m.axios,P,e)(d,n||p)},async addUserToSchool(s,l,t){var c,i;const r=await o.addUserToSchool(s,l,t),a=(e==null?void 0:e.serverIndex)??0,n=(i=(c=V["EducationSchoolApi.addUserToSchool"])==null?void 0:c[a])==null?void 0:i.url;return(d,p)=>u(r,m.axios,P,e)(d,n||p)},async createSchool(s,l){var n,c;const t=await o.createSchool(s,l),r=(e==null?void 0:e.serverIndex)??0,a=(c=(n=V["EducationSchoolApi.createSchool"])==null?void 0:n[r])==null?void 0:c.url;return(i,d)=>u(t,m.axios,P,e)(i,a||d)},async deleteClassFromSchool(s,l,t){var c,i;const r=await o.deleteClassFromSchool(s,l,t),a=(e==null?void 0:e.serverIndex)??0,n=(i=(c=V["EducationSchoolApi.deleteClassFromSchool"])==null?void 0:c[a])==null?void 0:i.url;return(d,p)=>u(r,m.axios,P,e)(d,n||p)},async deleteSchool(s,l){var n,c;const t=await o.deleteSchool(s,l),r=(e==null?void 0:e.serverIndex)??0,a=(c=(n=V["EducationSchoolApi.deleteSchool"])==null?void 0:n[r])==null?void 0:c.url;return(i,d)=>u(t,m.axios,P,e)(i,a||d)},async deleteUserFromSchool(s,l,t){var c,i;const r=await o.deleteUserFromSchool(s,l,t),a=(e==null?void 0:e.serverIndex)??0,n=(i=(c=V["EducationSchoolApi.deleteUserFromSchool"])==null?void 0:c[a])==null?void 0:i.url;return(d,p)=>u(r,m.axios,P,e)(d,n||p)},async getSchool(s,l){var n,c;const t=await o.getSchool(s,l),r=(e==null?void 0:e.serverIndex)??0,a=(c=(n=V["EducationSchoolApi.getSchool"])==null?void 0:n[r])==null?void 0:c.url;return(i,d)=>u(t,m.axios,P,e)(i,a||d)},async listSchoolClasses(s,l){var n,c;const t=await o.listSchoolClasses(s,l),r=(e==null?void 0:e.serverIndex)??0,a=(c=(n=V["EducationSchoolApi.listSchoolClasses"])==null?void 0:n[r])==null?void 0:c.url;return(i,d)=>u(t,m.axios,P,e)(i,a||d)},async listSchoolUsers(s,l){var n,c;const t=await o.listSchoolUsers(s,l),r=(e==null?void 0:e.serverIndex)??0,a=(c=(n=V["EducationSchoolApi.listSchoolUsers"])==null?void 0:n[r])==null?void 0:c.url;return(i,d)=>u(t,m.axios,P,e)(i,a||d)},async listSchools(s){var a,n;const l=await o.listSchools(s),t=(e==null?void 0:e.serverIndex)??0,r=(n=(a=V["EducationSchoolApi.listSchools"])==null?void 0:a[t])==null?void 0:n.url;return(c,i)=>u(l,m.axios,P,e)(c,r||i)},async updateSchool(s,l,t){var c,i;const r=await o.updateSchool(s,l,t),a=(e==null?void 0:e.serverIndex)??0,n=(i=(c=V["EducationSchoolApi.updateSchool"])==null?void 0:c[a])==null?void 0:i.url;return(d,p)=>u(r,m.axios,P,e)(d,n||p)}}},es=function(e,o,s){const l=w(e);return{addClassToSchool(t,r,a){return l.addClassToSchool(t,r,a).then(n=>n(s,o))},addUserToSchool(t,r,a){return l.addUserToSchool(t,r,a).then(n=>n(s,o))},createSchool(t,r){return l.createSchool(t,r).then(a=>a(s,o))},deleteClassFromSchool(t,r,a){return l.deleteClassFromSchool(t,r,a).then(n=>n(s,o))},deleteSchool(t,r){return l.deleteSchool(t,r).then(a=>a(s,o))},deleteUserFromSchool(t,r,a){return l.deleteUserFromSchool(t,r,a).then(n=>n(s,o))},getSchool(t,r){return l.getSchool(t,r).then(a=>a(s,o))},listSchoolClasses(t,r){return l.listSchoolClasses(t,r).then(a=>a(s,o))},listSchoolUsers(t,r){return l.listSchoolUsers(t,r).then(a=>a(s,o))},listSchools(t){return l.listSchools(t).then(r=>r(s,o))},updateSchool(t,r,a){return l.updateSchool(t,r,a).then(n=>n(s,o))}}};class ss extends y{addClassToSchool(o,s,l){return w(this.configuration).addClassToSchool(o,s,l).then(t=>t(this.axios,this.basePath))}addUserToSchool(o,s,l){return w(this.configuration).addUserToSchool(o,s,l).then(t=>t(this.axios,this.basePath))}createSchool(o,s){return w(this.configuration).createSchool(o,s).then(l=>l(this.axios,this.basePath))}deleteClassFromSchool(o,s,l){return w(this.configuration).deleteClassFromSchool(o,s,l).then(t=>t(this.axios,this.basePath))}deleteSchool(o,s){return w(this.configuration).deleteSchool(o,s).then(l=>l(this.axios,this.basePath))}deleteUserFromSchool(o,s,l){return w(this.configuration).deleteUserFromSchool(o,s,l).then(t=>t(this.axios,this.basePath))}getSchool(o,s){return w(this.configuration).getSchool(o,s).then(l=>l(this.axios,this.basePath))}listSchoolClasses(o,s){return w(this.configuration).listSchoolClasses(o,s).then(l=>l(this.axios,this.basePath))}listSchoolUsers(o,s){return w(this.configuration).listSchoolUsers(o,s).then(l=>l(this.axios,this.basePath))}listSchools(o){return w(this.configuration).listSchools(o).then(s=>s(this.axios,this.basePath))}updateSchool(o,s,l){return w(this.configuration).updateSchool(o,s,l).then(t=>t(this.axios,this.basePath))}}const he=function(e){return{createEducationUser:async(o,s={})=>{h("createEducationUser","educationUser",o);const l="/v1.0/education/users",t=new URL(l,A);let r;e&&(r=e.baseOptions);const a={method:"POST",...r,...s},n={},c={};await R(n,e),n["Content-Type"]="application/json",v(t,c);let i=r&&r.headers?r.headers:{};return a.headers={...n,...i,...s.headers},a.data=x(o,a,e),{url:O(t),options:a}},deleteEducationUser:async(o,s={})=>{h("deleteEducationUser","userId",o);const l="/v1.0/education/users/{user-id}".replace("{user-id}",encodeURIComponent(String(o))),t=new URL(l,A);let r;e&&(r=e.baseOptions);const a={method:"DELETE",...r,...s},n={},c={};await R(n,e),v(t,c);let i=r&&r.headers?r.headers:{};return a.headers={...n,...i,...s.headers},{url:O(t),options:a}},getEducationUser:async(o,s,l={})=>{h("getEducationUser","userId",o);const t="/v1.0/education/users/{user-id}".replace("{user-id}",encodeURIComponent(String(o))),r=new URL(t,A);let a;e&&(a=e.baseOptions);const n={method:"GET",...a,...l},c={},i={};await R(c,e),s&&(i.$expand=Array.from(s).join(C.csv)),v(r,i);let d=a&&a.headers?a.headers:{};return n.headers={...c,...d,...l.headers},{url:O(r),options:n}},listEducationUsers:async(o,s,l={})=>{const t="/v1.0/education/users",r=new URL(t,A);let a;e&&(a=e.baseOptions);const n={method:"GET",...a,...l},c={},i={};await R(c,e),o&&(i.$orderby=Array.from(o).join(C.csv)),s&&(i.$expand=Array.from(s).join(C.csv)),v(r,i);let d=a&&a.headers?a.headers:{};return n.headers={...c,...d,...l.headers},{url:O(r),options:n}},updateEducationUser:async(o,s,l={})=>{h("updateEducationUser","userId",o),h("updateEducationUser","educationUser",s);const t="/v1.0/education/users/{user-id}".replace("{user-id}",encodeURIComponent(String(o))),r=new URL(t,A);let a;e&&(a=e.baseOptions);const n={method:"PATCH",...a,...l},c={},i={};await R(c,e),c["Content-Type"]="application/json",v(r,i);let d=a&&a.headers?a.headers:{};return n.headers={...c,...d,...l.headers},n.data=x(s,n,e),{url:O(r),options:n}}}},M=function(e){const o=he(e);return{async createEducationUser(s,l){var n,c;const t=await o.createEducationUser(s,l),r=(e==null?void 0:e.serverIndex)??0,a=(c=(n=V["EducationUserApi.createEducationUser"])==null?void 0:n[r])==null?void 0:c.url;return(i,d)=>u(t,m.axios,P,e)(i,a||d)},async deleteEducationUser(s,l){var n,c;const t=await o.deleteEducationUser(s,l),r=(e==null?void 0:e.serverIndex)??0,a=(c=(n=V["EducationUserApi.deleteEducationUser"])==null?void 0:n[r])==null?void 0:c.url;return(i,d)=>u(t,m.axios,P,e)(i,a||d)},async getEducationUser(s,l,t){var c,i;const r=await o.getEducationUser(s,l,t),a=(e==null?void 0:e.serverIndex)??0,n=(i=(c=V["EducationUserApi.getEducationUser"])==null?void 0:c[a])==null?void 0:i.url;return(d,p)=>u(r,m.axios,P,e)(d,n||p)},async listEducationUsers(s,l,t){var c,i;const r=await o.listEducationUsers(s,l,t),a=(e==null?void 0:e.serverIndex)??0,n=(i=(c=V["EducationUserApi.listEducationUsers"])==null?void 0:c[a])==null?void 0:i.url;return(d,p)=>u(r,m.axios,P,e)(d,n||p)},async updateEducationUser(s,l,t){var c,i;const r=await o.updateEducationUser(s,l,t),a=(e==null?void 0:e.serverIndex)??0,n=(i=(c=V["EducationUserApi.updateEducationUser"])==null?void 0:c[a])==null?void 0:i.url;return(d,p)=>u(r,m.axios,P,e)(d,n||p)}}},rs=function(e,o,s){const l=M(e);return{createEducationUser(t,r){return l.createEducationUser(t,r).then(a=>a(s,o))},deleteEducationUser(t,r){return l.deleteEducationUser(t,r).then(a=>a(s,o))},getEducationUser(t,r,a){return l.getEducationUser(t,r,a).then(n=>n(s,o))},listEducationUsers(t,r,a){return l.listEducationUsers(t,r,a).then(n=>n(s,o))},updateEducationUser(t,r,a){return l.updateEducationUser(t,r,a).then(n=>n(s,o))}}};class as extends y{createEducationUser(o,s){return M(this.configuration).createEducationUser(o,s).then(l=>l(this.axios,this.basePath))}deleteEducationUser(o,s){return M(this.configuration).deleteEducationUser(o,s).then(l=>l(this.axios,this.basePath))}getEducationUser(o,s,l){return M(this.configuration).getEducationUser(o,s,l).then(t=>t(this.axios,this.basePath))}listEducationUsers(o,s,l){return M(this.configuration).listEducationUsers(o,s,l).then(t=>t(this.axios,this.basePath))}updateEducationUser(o,s,l){return M(this.configuration).updateEducationUser(o,s,l).then(t=>t(this.axios,this.basePath))}}const ts={MemberOf:"memberOf"},os={DisplayName:"displayName",DisplayNameDesc:"displayName desc",Mail:"mail",MailDesc:"mail desc",OnPremisesSamAccountName:"onPremisesSamAccountName",OnPremisesSamAccountNameDesc:"onPremisesSamAccountName desc"},ls={MemberOf:"memberOf"},me=function(e){return{addMember:async(o,s,l={})=>{h("addMember","groupId",o),h("addMember","memberReference",s);const t="/v1.0/groups/{group-id}/members/$ref".replace("{group-id}",encodeURIComponent(String(o))),r=new URL(t,A);let a;e&&(a=e.baseOptions);const n={method:"POST",...a,...l},c={},i={};U(n,e),c["Content-Type"]="application/json",v(r,i);let d=a&&a.headers?a.headers:{};return n.headers={...c,...d,...l.headers},n.data=x(s,n,e),{url:O(r),options:n}},deleteGroup:async(o,s,l={})=>{h("deleteGroup","groupId",o);const t="/v1.0/groups/{group-id}".replace("{group-id}",encodeURIComponent(String(o))),r=new URL(t,A);let a;e&&(a=e.baseOptions);const n={method:"DELETE",...a,...l},c={},i={};U(n,e),s!=null&&(c["If-Match"]=String(s)),v(r,i);let d=a&&a.headers?a.headers:{};return n.headers={...c,...d,...l.headers},{url:O(r),options:n}},deleteMember:async(o,s,l,t={})=>{h("deleteMember","groupId",o),h("deleteMember","directoryObjectId",s);const r="/v1.0/groups/{group-id}/members/{directory-object-id}/$ref".replace("{group-id}",encodeURIComponent(String(o))).replace("{directory-object-id}",encodeURIComponent(String(s))),a=new URL(r,A);let n;e&&(n=e.baseOptions);const c={method:"DELETE",...n,...t},i={},d={};U(c,e),l!=null&&(i["If-Match"]=String(l)),v(a,d);let p=n&&n.headers?n.headers:{};return c.headers={...i,...p,...t.headers},{url:O(a),options:c}},getGroup:async(o,s,l,t={})=>{h("getGroup","groupId",o);const r="/v1.0/groups/{group-id}".replace("{group-id}",encodeURIComponent(String(o))),a=new URL(r,A);let n;e&&(n=e.baseOptions);const c={method:"GET",...n,...t},i={},d={};U(c,e),s&&(d.$select=Array.from(s).join(C.csv)),l&&(d.$expand=Array.from(l).join(C.csv)),v(a,d);let p=n&&n.headers?n.headers:{};return c.headers={...i,...p,...t.headers},{url:O(a),options:c}},listMembers:async(o,s={})=>{h("listMembers","groupId",o);const l="/v1.0/groups/{group-id}/members".replace("{group-id}",encodeURIComponent(String(o))),t=new URL(l,A);let r;e&&(r=e.baseOptions);const a={method:"GET",...r,...s},n={},c={};U(a,e),v(t,c);let i=r&&r.headers?r.headers:{};return a.headers={...n,...i,...s.headers},{url:O(t),options:a}},updateGroup:async(o,s,l={})=>{h("updateGroup","groupId",o),h("updateGroup","group",s);const t="/v1.0/groups/{group-id}".replace("{group-id}",encodeURIComponent(String(o))),r=new URL(t,A);let a;e&&(a=e.baseOptions);const n={method:"PATCH",...a,...l},c={},i={};U(n,e),c["Content-Type"]="application/json",v(r,i);let d=a&&a.headers?a.headers:{};return n.headers={...c,...d,...l.headers},n.data=x(s,n,e),{url:O(r),options:n}}}},T=function(e){const o=me(e);return{async addMember(s,l,t){var c,i;const r=await o.addMember(s,l,t),a=(e==null?void 0:e.serverIndex)??0,n=(i=(c=V["GroupApi.addMember"])==null?void 0:c[a])==null?void 0:i.url;return(d,p)=>u(r,m.axios,P,e)(d,n||p)},async deleteGroup(s,l,t){var c,i;const r=await o.deleteGroup(s,l,t),a=(e==null?void 0:e.serverIndex)??0,n=(i=(c=V["GroupApi.deleteGroup"])==null?void 0:c[a])==null?void 0:i.url;return(d,p)=>u(r,m.axios,P,e)(d,n||p)},async deleteMember(s,l,t,r){var i,d;const a=await o.deleteMember(s,l,t,r),n=(e==null?void 0:e.serverIndex)??0,c=(d=(i=V["GroupApi.deleteMember"])==null?void 0:i[n])==null?void 0:d.url;return(p,S)=>u(a,m.axios,P,e)(p,c||S)},async getGroup(s,l,t,r){var i,d;const a=await o.getGroup(s,l,t,r),n=(e==null?void 0:e.serverIndex)??0,c=(d=(i=V["GroupApi.getGroup"])==null?void 0:i[n])==null?void 0:d.url;return(p,S)=>u(a,m.axios,P,e)(p,c||S)},async listMembers(s,l){var n,c;const t=await o.listMembers(s,l),r=(e==null?void 0:e.serverIndex)??0,a=(c=(n=V["GroupApi.listMembers"])==null?void 0:n[r])==null?void 0:c.url;return(i,d)=>u(t,m.axios,P,e)(i,a||d)},async updateGroup(s,l,t){var c,i;const r=await o.updateGroup(s,l,t),a=(e==null?void 0:e.serverIndex)??0,n=(i=(c=V["GroupApi.updateGroup"])==null?void 0:c[a])==null?void 0:i.url;return(d,p)=>u(r,m.axios,P,e)(d,n||p)}}},ns=function(e,o,s){const l=T(e);return{addMember(t,r,a){return l.addMember(t,r,a).then(n=>n(s,o))},deleteGroup(t,r,a){return l.deleteGroup(t,r,a).then(n=>n(s,o))},deleteMember(t,r,a,n){return l.deleteMember(t,r,a,n).then(c=>c(s,o))},getGroup(t,r,a,n){return l.getGroup(t,r,a,n).then(c=>c(s,o))},listMembers(t,r){return l.listMembers(t,r).then(a=>a(s,o))},updateGroup(t,r,a){return l.updateGroup(t,r,a).then(n=>n(s,o))}}};class cs extends y{addMember(o,s,l){return T(this.configuration).addMember(o,s,l).then(t=>t(this.axios,this.basePath))}deleteGroup(o,s,l){return T(this.configuration).deleteGroup(o,s,l).then(t=>t(this.axios,this.basePath))}deleteMember(o,s,l,t){return T(this.configuration).deleteMember(o,s,l,t).then(r=>r(this.axios,this.basePath))}getGroup(o,s,l,t){return T(this.configuration).getGroup(o,s,l,t).then(r=>r(this.axios,this.basePath))}listMembers(o,s){return T(this.configuration).listMembers(o,s).then(l=>l(this.axios,this.basePath))}updateGroup(o,s,l){return T(this.configuration).updateGroup(o,s,l).then(t=>t(this.axios,this.basePath))}}const is={Id:"id",Description:"description",DisplayName:"displayName",Members:"members"},ds={Members:"members"},Pe=function(e){return{createGroup:async(o,s={})=>{h("createGroup","group",o);const l="/v1.0/groups",t=new URL(l,A);let r;e&&(r=e.baseOptions);const a={method:"POST",...r,...s},n={},c={};U(a,e),n["Content-Type"]="application/json",v(t,c);let i=r&&r.headers?r.headers:{};return a.headers={...n,...i,...s.headers},a.data=x(o,a,e),{url:O(t),options:a}},listGroups:async(o,s,l,t,r={})=>{const a="/v1.0/groups",n=new URL(a,A);let c;e&&(c=e.baseOptions);const i={method:"GET",...c,...r},d={},p={};U(i,e),o!==void 0&&(p.$search=o),s&&(p.$orderby=Array.from(s).join(C.csv)),l&&(p.$select=Array.from(l).join(C.csv)),t&&(p.$expand=Array.from(t).join(C.csv)),v(n,p);let S=c&&c.headers?c.headers:{};return i.headers={...d,...S,...r.headers},{url:O(n),options:i}}}},z=function(e){const o=Pe(e);return{async createGroup(s,l){var n,c;const t=await o.createGroup(s,l),r=(e==null?void 0:e.serverIndex)??0,a=(c=(n=V["GroupsApi.createGroup"])==null?void 0:n[r])==null?void 0:c.url;return(i,d)=>u(t,m.axios,P,e)(i,a||d)},async listGroups(s,l,t,r,a){var d,p;const n=await o.listGroups(s,l,t,r,a),c=(e==null?void 0:e.serverIndex)??0,i=(p=(d=V["GroupsApi.listGroups"])==null?void 0:d[c])==null?void 0:p.url;return(S,b)=>u(n,m.axios,P,e)(S,i||b)}}},ps=function(e,o,s){const l=z(e);return{createGroup(t,r){return l.createGroup(t,r).then(a=>a(s,o))},listGroups(t,r,a,n,c){return l.listGroups(t,r,a,n,c).then(i=>i(s,o))}}};class hs extends y{createGroup(o,s){return z(this.configuration).createGroup(o,s).then(l=>l(this.axios,this.basePath))}listGroups(o,s,l,t,r){return z(this.configuration).listGroups(o,s,l,t,r).then(a=>a(this.axios,this.basePath))}}const ms={DisplayName:"displayName",DisplayNameDesc:"displayName desc"},Ps={Id:"id",Description:"description",DisplayName:"displayName",Mail:"mail",Members:"members"},Vs={Members:"members"},Ve=function(e){return{changeOwnPassword:async(o,s={})=>{h("changeOwnPassword","passwordChange",o);const l="/v1.0/me/changePassword",t=new URL(l,A);let r;e&&(r=e.baseOptions);const a={method:"POST",...r,...s},n={},c={};U(a,e),n["Content-Type"]="application/json",v(t,c);let i=r&&r.headers?r.headers:{};return a.headers={...n,...i,...s.headers},a.data=x(o,a,e),{url:O(t),options:a}}}},g=function(e){const o=Ve(e);return{async changeOwnPassword(s,l){var n,c;const t=await o.changeOwnPassword(s,l),r=(e==null?void 0:e.serverIndex)??0,a=(c=(n=V["MeChangepasswordApi.changeOwnPassword"])==null?void 0:n[r])==null?void 0:c.url;return(i,d)=>u(t,m.axios,P,e)(i,a||d)}}},As=function(e,o,s){const l=g(e);return{changeOwnPassword(t,r){return l.changeOwnPassword(t,r).then(a=>a(s,o))}}};class vs extends y{changeOwnPassword(o,s){return g(this.configuration).changeOwnPassword(o,s).then(l=>l(this.axios,this.basePath))}}const Ae=function(e){return{getHome:async(o={})=>{const s="/v1.0/me/drive",l=new URL(s,A);let t;e&&(t=e.baseOptions);const r={method:"GET",...t,...o},a={},n={};U(r,e),v(l,n);let c=t&&t.headers?t.headers:{};return r.headers={...a,...c,...o.headers},{url:O(l),options:r}},listSharedByMe:async(o={})=>{const s="/v1beta1/me/drive/sharedByMe",l=new URL(s,A);let t;e&&(t=e.baseOptions);const r={method:"GET",...t,...o},a={},n={};U(r,e),v(l,n);let c=t&&t.headers?t.headers:{};return r.headers={...a,...c,...o.headers},{url:O(l),options:r}},listSharedWithMe:async(o={})=>{const s="/v1beta1/me/drive/sharedWithMe",l=new URL(s,A);let t;e&&(t=e.baseOptions);const r={method:"GET",...t,...o},a={},n={};U(r,e),v(l,n);let c=t&&t.headers?t.headers:{};return r.headers={...a,...c,...o.headers},{url:O(l),options:r}}}},q=function(e){const o=Ae(e);return{async getHome(s){var a,n;const l=await o.getHome(s),t=(e==null?void 0:e.serverIndex)??0,r=(n=(a=V["MeDriveApi.getHome"])==null?void 0:a[t])==null?void 0:n.url;return(c,i)=>u(l,m.axios,P,e)(c,r||i)},async listSharedByMe(s){var a,n;const l=await o.listSharedByMe(s),t=(e==null?void 0:e.serverIndex)??0,r=(n=(a=V["MeDriveApi.listSharedByMe"])==null?void 0:a[t])==null?void 0:n.url;return(c,i)=>u(l,m.axios,P,e)(c,r||i)},async listSharedWithMe(s){var a,n;const l=await o.listSharedWithMe(s),t=(e==null?void 0:e.serverIndex)??0,r=(n=(a=V["MeDriveApi.listSharedWithMe"])==null?void 0:a[t])==null?void 0:n.url;return(c,i)=>u(l,m.axios,P,e)(c,r||i)}}},Os=function(e,o,s){const l=q(e);return{getHome(t){return l.getHome(t).then(r=>r(s,o))},listSharedByMe(t){return l.listSharedByMe(t).then(r=>r(s,o))},listSharedWithMe(t){return l.listSharedWithMe(t).then(r=>r(s,o))}}};class us extends y{getHome(o){return q(this.configuration).getHome(o).then(s=>s(this.axios,this.basePath))}listSharedByMe(o){return q(this.configuration).listSharedByMe(o).then(s=>s(this.axios,this.basePath))}listSharedWithMe(o){return q(this.configuration).listSharedWithMe(o).then(s=>s(this.axios,this.basePath))}}const ve=function(e){return{homeGetRoot:async(o={})=>{const s="/v1.0/me/drive/root",l=new URL(s,A);let t;e&&(t=e.baseOptions);const r={method:"GET",...t,...o},a={},n={};U(r,e),v(l,n);let c=t&&t.headers?t.headers:{};return r.headers={...a,...c,...o.headers},{url:O(l),options:r}}}},f=function(e){const o=ve(e);return{async homeGetRoot(s){var a,n;const l=await o.homeGetRoot(s),t=(e==null?void 0:e.serverIndex)??0,r=(n=(a=V["MeDriveRootApi.homeGetRoot"])==null?void 0:a[t])==null?void 0:n.url;return(c,i)=>u(l,m.axios,P,e)(c,r||i)}}},Us=function(e,o,s){const l=f(e);return{homeGetRoot(t){return l.homeGetRoot(t).then(r=>r(s,o))}}};class Ss extends y{homeGetRoot(o){return f(this.configuration).homeGetRoot(o).then(s=>s(this.axios,this.basePath))}}const Oe=function(e){return{homeGetChildren:async(o={})=>{const s="/v1.0/me/drive/root/children",l=new URL(s,A);let t;e&&(t=e.baseOptions);const r={method:"GET",...t,...o},a={},n={};U(r,e),v(l,n);let c=t&&t.headers?t.headers:{};return r.headers={...a,...c,...o.headers},{url:O(l),options:r}}}},ee=function(e){const o=Oe(e);return{async homeGetChildren(s){var a,n;const l=await o.homeGetChildren(s),t=(e==null?void 0:e.serverIndex)??0,r=(n=(a=V["MeDriveRootChildrenApi.homeGetChildren"])==null?void 0:a[t])==null?void 0:n.url;return(c,i)=>u(l,m.axios,P,e)(c,r||i)}}},xs=function(e,o,s){const l=ee(e);return{homeGetChildren(t){return l.homeGetChildren(t).then(r=>r(s,o))}}};class Rs extends y{homeGetChildren(o){return ee(this.configuration).homeGetChildren(o).then(s=>s(this.axios,this.basePath))}}const ue=function(e){return{listMyDrives:async(o,s,l={})=>{const t="/v1.0/me/drives",r=new URL(t,A);let a;e&&(a=e.baseOptions);const n={method:"GET",...a,...l},c={},i={};U(n,e),o!==void 0&&(i.$orderby=o),s!==void 0&&(i.$filter=s),v(r,i);let d=a&&a.headers?a.headers:{};return n.headers={...c,...d,...l.headers},{url:O(r),options:n}},listMyDrivesBeta:async(o,s,l,t={})=>{const r="/v1beta1/me/drives",a=new URL(r,A);let n;e&&(n=e.baseOptions);const c={method:"GET",...n,...t},i={},d={};U(c,e),o!==void 0&&(d.$orderby=o),s!==void 0&&(d.$filter=s),l!==void 0&&(d.$expand=l),v(a,d);let p=n&&n.headers?n.headers:{};return c.headers={...i,...p,...t.headers},{url:O(a),options:c}}}},J=function(e){const o=ue(e);return{async listMyDrives(s,l,t){var c,i;const r=await o.listMyDrives(s,l,t),a=(e==null?void 0:e.serverIndex)??0,n=(i=(c=V["MeDrivesApi.listMyDrives"])==null?void 0:c[a])==null?void 0:i.url;return(d,p)=>u(r,m.axios,P,e)(d,n||p)},async listMyDrivesBeta(s,l,t,r){var i,d;const a=await o.listMyDrivesBeta(s,l,t,r),n=(e==null?void 0:e.serverIndex)??0,c=(d=(i=V["MeDrivesApi.listMyDrivesBeta"])==null?void 0:i[n])==null?void 0:d.url;return(p,S)=>u(a,m.axios,P,e)(p,c||S)}}},ys=function(e,o,s){const l=J(e);return{listMyDrives(t,r,a){return l.listMyDrives(t,r,a).then(n=>n(s,o))},listMyDrivesBeta(t,r,a,n){return l.listMyDrivesBeta(t,r,a,n).then(c=>c(s,o))}}};class bs extends y{listMyDrives(o,s,l){return J(this.configuration).listMyDrives(o,s,l).then(t=>t(this.axios,this.basePath))}listMyDrivesBeta(o,s,l,t){return J(this.configuration).listMyDrivesBeta(o,s,l,t).then(r=>r(this.axios,this.basePath))}}const Ue=function(e){return{deleteOwnUserPhoto:async(o={})=>{const s="/v1.0/me/photo/$value",l=new URL(s,A);let t;e&&(t=e.baseOptions);const r={method:"DELETE",...t,...o},a={},n={};U(r,e),v(l,n);let c=t&&t.headers?t.headers:{};return r.headers={...a,...c,...o.headers},{url:O(l),options:r}},getOwnUserPhoto:async(o={})=>{const s="/v1.0/me/photo/$value",l=new URL(s,A);let t;e&&(t=e.baseOptions);const r={method:"GET",...t,...o},a={},n={};U(r,e),v(l,n);let c=t&&t.headers?t.headers:{};return r.headers={...a,...c,...o.headers},{url:O(l),options:r}},updateOwnUserPhotoPatch:async(o,s={})=>{const l="/v1.0/me/photo/$value",t=new URL(l,A);let r;e&&(r=e.baseOptions);const a={method:"PATCH",...r,...s},n={},c={};U(a,e),n["Content-Type"]="image/jpeg",v(t,c);let i=r&&r.headers?r.headers:{};return a.headers={...n,...i,...s.headers},a.data=x(o,a,e),{url:O(t),options:a}},updateOwnUserPhotoPut:async(o,s={})=>{const l="/v1.0/me/photo/$value",t=new URL(l,A);let r;e&&(r=e.baseOptions);const a={method:"PUT",...r,...s},n={},c={};U(a,e),n["Content-Type"]="image/jpeg",v(t,c);let i=r&&r.headers?r.headers:{};return a.headers={...n,...i,...s.headers},a.data=x(o,a,e),{url:O(t),options:a}}}},G=function(e){const o=Ue(e);return{async deleteOwnUserPhoto(s){var a,n;const l=await o.deleteOwnUserPhoto(s),t=(e==null?void 0:e.serverIndex)??0,r=(n=(a=V["MePhotoApi.deleteOwnUserPhoto"])==null?void 0:a[t])==null?void 0:n.url;return(c,i)=>u(l,m.axios,P,e)(c,r||i)},async getOwnUserPhoto(s){var a,n;const l=await o.getOwnUserPhoto(s),t=(e==null?void 0:e.serverIndex)??0,r=(n=(a=V["MePhotoApi.getOwnUserPhoto"])==null?void 0:a[t])==null?void 0:n.url;return(c,i)=>u(l,m.axios,P,e)(c,r||i)},async updateOwnUserPhotoPatch(s,l){var n,c;const t=await o.updateOwnUserPhotoPatch(s,l),r=(e==null?void 0:e.serverIndex)??0,a=(c=(n=V["MePhotoApi.updateOwnUserPhotoPatch"])==null?void 0:n[r])==null?void 0:c.url;return(i,d)=>u(t,m.axios,P,e)(i,a||d)},async updateOwnUserPhotoPut(s,l){var n,c;const t=await o.updateOwnUserPhotoPut(s,l),r=(e==null?void 0:e.serverIndex)??0,a=(c=(n=V["MePhotoApi.updateOwnUserPhotoPut"])==null?void 0:n[r])==null?void 0:c.url;return(i,d)=>u(t,m.axios,P,e)(i,a||d)}}},Cs=function(e,o,s){const l=G(e);return{deleteOwnUserPhoto(t){return l.deleteOwnUserPhoto(t).then(r=>r(s,o))},getOwnUserPhoto(t){return l.getOwnUserPhoto(t).then(r=>r(s,o))},updateOwnUserPhotoPatch(t,r){return l.updateOwnUserPhotoPatch(t,r).then(a=>a(s,o))},updateOwnUserPhotoPut(t,r){return l.updateOwnUserPhotoPut(t,r).then(a=>a(s,o))}}};class ws extends y{deleteOwnUserPhoto(o){return G(this.configuration).deleteOwnUserPhoto(o).then(s=>s(this.axios,this.basePath))}getOwnUserPhoto(o){return G(this.configuration).getOwnUserPhoto(o).then(s=>s(this.axios,this.basePath))}updateOwnUserPhotoPatch(o,s){return G(this.configuration).updateOwnUserPhotoPatch(o,s).then(l=>l(this.axios,this.basePath))}updateOwnUserPhotoPut(o,s){return G(this.configuration).updateOwnUserPhotoPut(o,s).then(l=>l(this.axios,this.basePath))}}const Se=function(e){return{getOwnUser:async(o,s={})=>{const l="/v1.0/me",t=new URL(l,A);let r;e&&(r=e.baseOptions);const a={method:"GET",...r,...s},n={},c={};U(a,e),o&&(c.$expand=Array.from(o).join(C.csv)),v(t,c);let i=r&&r.headers?r.headers:{};return a.headers={...n,...i,...s.headers},{url:O(t),options:a}},updateOwnUser:async(o,s={})=>{const l="/v1.0/me",t=new URL(l,A);let r;e&&(r=e.baseOptions);const a={method:"PATCH",...r,...s},n={},c={};U(a,e),n["Content-Type"]="application/json",v(t,c);let i=r&&r.headers?r.headers:{};return a.headers={...n,...i,...s.headers},a.data=x(o,a,e),{url:O(t),options:a}}}},_=function(e){const o=Se(e);return{async getOwnUser(s,l){var n,c;const t=await o.getOwnUser(s,l),r=(e==null?void 0:e.serverIndex)??0,a=(c=(n=V["MeUserApi.getOwnUser"])==null?void 0:n[r])==null?void 0:c.url;return(i,d)=>u(t,m.axios,P,e)(i,a||d)},async updateOwnUser(s,l){var n,c;const t=await o.updateOwnUser(s,l),r=(e==null?void 0:e.serverIndex)??0,a=(c=(n=V["MeUserApi.updateOwnUser"])==null?void 0:n[r])==null?void 0:c.url;return(i,d)=>u(t,m.axios,P,e)(i,a||d)}}},Is=function(e,o,s){const l=_(e);return{getOwnUser(t,r){return l.getOwnUser(t,r).then(a=>a(s,o))},updateOwnUser(t,r){return l.updateOwnUser(t,r).then(a=>a(s,o))}}};class Ds extends y{getOwnUser(o,s){return _(this.configuration).getOwnUser(o,s).then(l=>l(this.axios,this.basePath))}updateOwnUser(o,s){return _(this.configuration).updateOwnUser(o,s).then(l=>l(this.axios,this.basePath))}}const Fs={MemberOf:"memberOf"},xe=function(e){return{getPermissionRoleDefinition:async(o,s={})=>{h("getPermissionRoleDefinition","roleId",o);const l="/v1beta1/roleManagement/permissions/roleDefinitions/{role-id}".replace("{role-id}",encodeURIComponent(String(o))),t=new URL(l,A);let r;e&&(r=e.baseOptions);const a={method:"GET",...r,...s},n={},c={};U(a,e),v(t,c);let i=r&&r.headers?r.headers:{};return a.headers={...n,...i,...s.headers},{url:O(t),options:a}},listPermissionRoleDefinitions:async(o={})=>{const s="/v1beta1/roleManagement/permissions/roleDefinitions",l=new URL(s,A);let t;e&&(t=e.baseOptions);const r={method:"GET",...t,...o},a={},n={};U(r,e),v(l,n);let c=t&&t.headers?t.headers:{};return r.headers={...a,...c,...o.headers},{url:O(l),options:r}}}},K=function(e){const o=xe(e);return{async getPermissionRoleDefinition(s,l){var n,c;const t=await o.getPermissionRoleDefinition(s,l),r=(e==null?void 0:e.serverIndex)??0,a=(c=(n=V["RoleManagementApi.getPermissionRoleDefinition"])==null?void 0:n[r])==null?void 0:c.url;return(i,d)=>u(t,m.axios,P,e)(i,a||d)},async listPermissionRoleDefinitions(s){var a,n;const l=await o.listPermissionRoleDefinitions(s),t=(e==null?void 0:e.serverIndex)??0,r=(n=(a=V["RoleManagementApi.listPermissionRoleDefinitions"])==null?void 0:a[t])==null?void 0:n.url;return(c,i)=>u(l,m.axios,P,e)(c,r||i)}}},Es=function(e,o,s){const l=K(e);return{getPermissionRoleDefinition(t,r){return l.getPermissionRoleDefinition(t,r).then(a=>a(s,o))},listPermissionRoleDefinitions(t){return l.listPermissionRoleDefinitions(t).then(r=>r(s,o))}}};class Ts extends y{getPermissionRoleDefinition(o,s){return K(this.configuration).getPermissionRoleDefinition(o,s).then(l=>l(this.axios,this.basePath))}listPermissionRoleDefinitions(o){return K(this.configuration).listPermissionRoleDefinitions(o).then(s=>s(this.axios,this.basePath))}}const Re=function(e){return{assignTags:async(o,s={})=>{const l="/v1.0/extensions/org.libregraph/tags",t=new URL(l,A);let r;e&&(r=e.baseOptions);const a={method:"PUT",...r,...s},n={},c={};U(a,e),n["Content-Type"]="application/json",v(t,c);let i=r&&r.headers?r.headers:{};return a.headers={...n,...i,...s.headers},a.data=x(o,a,e),{url:O(t),options:a}},getTags:async(o={})=>{const s="/v1.0/extensions/org.libregraph/tags",l=new URL(s,A);let t;e&&(t=e.baseOptions);const r={method:"GET",...t,...o},a={},n={};U(r,e),v(l,n);let c=t&&t.headers?t.headers:{};return r.headers={...a,...c,...o.headers},{url:O(l),options:r}},unassignTags:async(o,s={})=>{const l="/v1.0/extensions/org.libregraph/tags",t=new URL(l,A);let r;e&&(r=e.baseOptions);const a={method:"DELETE",...r,...s},n={},c={};U(a,e),n["Content-Type"]="application/json",v(t,c);let i=r&&r.headers?r.headers:{};return a.headers={...n,...i,...s.headers},a.data=x(o,a,e),{url:O(t),options:a}}}},Q=function(e){const o=Re(e);return{async assignTags(s,l){var n,c;const t=await o.assignTags(s,l),r=(e==null?void 0:e.serverIndex)??0,a=(c=(n=V["TagsApi.assignTags"])==null?void 0:n[r])==null?void 0:c.url;return(i,d)=>u(t,m.axios,P,e)(i,a||d)},async getTags(s){var a,n;const l=await o.getTags(s),t=(e==null?void 0:e.serverIndex)??0,r=(n=(a=V["TagsApi.getTags"])==null?void 0:a[t])==null?void 0:n.url;return(c,i)=>u(l,m.axios,P,e)(c,r||i)},async unassignTags(s,l){var n,c;const t=await o.unassignTags(s,l),r=(e==null?void 0:e.serverIndex)??0,a=(c=(n=V["TagsApi.unassignTags"])==null?void 0:n[r])==null?void 0:c.url;return(i,d)=>u(t,m.axios,P,e)(i,a||d)}}},Bs=function(e,o,s){const l=Q(e);return{assignTags(t,r){return l.assignTags(t,r).then(a=>a(s,o))},getTags(t){return l.getTags(t).then(r=>r(s,o))},unassignTags(t,r){return l.unassignTags(t,r).then(a=>a(s,o))}}};class Ms extends y{assignTags(o,s){return Q(this.configuration).assignTags(o,s).then(l=>l(this.axios,this.basePath))}getTags(o){return Q(this.configuration).getTags(o).then(s=>s(this.axios,this.basePath))}unassignTags(o,s){return Q(this.configuration).unassignTags(o,s).then(l=>l(this.axios,this.basePath))}}const ye=function(e){return{deleteUser:async(o,s,l={})=>{h("deleteUser","userId",o);const t="/v1.0/users/{user-id}".replace("{user-id}",encodeURIComponent(String(o))),r=new URL(t,A);let a;e&&(a=e.baseOptions);const n={method:"DELETE",...a,...l},c={},i={};U(n,e),s!=null&&(c["If-Match"]=String(s)),v(r,i);let d=a&&a.headers?a.headers:{};return n.headers={...c,...d,...l.headers},{url:O(r),options:n}},exportPersonalData:async(o,s,l={})=>{h("exportPersonalData","userId",o);const t="/v1.0/users/{user-id}/exportPersonalData".replace("{user-id}",encodeURIComponent(String(o))),r=new URL(t,A);let a;e&&(a=e.baseOptions);const n={method:"POST",...a,...l},c={},i={};U(n,e),c["Content-Type"]="application/json",v(r,i);let d=a&&a.headers?a.headers:{};return n.headers={...c,...d,...l.headers},n.data=x(s,n,e),{url:O(r),options:n}},getUser:async(o,s,l,t={})=>{h("getUser","userId",o);const r="/v1.0/users/{user-id}".replace("{user-id}",encodeURIComponent(String(o))),a=new URL(r,A);let n;e&&(n=e.baseOptions);const c={method:"GET",...n,...t},i={},d={};U(c,e),s&&(d.$select=Array.from(s).join(C.csv)),l&&(d.$expand=Array.from(l).join(C.csv)),v(a,d);let p=n&&n.headers?n.headers:{};return c.headers={...i,...p,...t.headers},{url:O(a),options:c}},updateUser:async(o,s,l={})=>{h("updateUser","userId",o),h("updateUser","userUpdate",s);const t="/v1.0/users/{user-id}".replace("{user-id}",encodeURIComponent(String(o))),r=new URL(t,A);let a;e&&(a=e.baseOptions);const n={method:"PATCH",...a,...l},c={},i={};U(n,e),c["Content-Type"]="application/json",v(r,i);let d=a&&a.headers?a.headers:{};return n.headers={...c,...d,...l.headers},n.data=x(s,n,e),{url:O(r),options:n}}}},j=function(e){const o=ye(e);return{async deleteUser(s,l,t){var c,i;const r=await o.deleteUser(s,l,t),a=(e==null?void 0:e.serverIndex)??0,n=(i=(c=V["UserApi.deleteUser"])==null?void 0:c[a])==null?void 0:i.url;return(d,p)=>u(r,m.axios,P,e)(d,n||p)},async exportPersonalData(s,l,t){var c,i;const r=await o.exportPersonalData(s,l,t),a=(e==null?void 0:e.serverIndex)??0,n=(i=(c=V["UserApi.exportPersonalData"])==null?void 0:c[a])==null?void 0:i.url;return(d,p)=>u(r,m.axios,P,e)(d,n||p)},async getUser(s,l,t,r){var i,d;const a=await o.getUser(s,l,t,r),n=(e==null?void 0:e.serverIndex)??0,c=(d=(i=V["UserApi.getUser"])==null?void 0:i[n])==null?void 0:d.url;return(p,S)=>u(a,m.axios,P,e)(p,c||S)},async updateUser(s,l,t){var c,i;const r=await o.updateUser(s,l,t),a=(e==null?void 0:e.serverIndex)??0,n=(i=(c=V["UserApi.updateUser"])==null?void 0:c[a])==null?void 0:i.url;return(d,p)=>u(r,m.axios,P,e)(d,n||p)}}},Ls=function(e,o,s){const l=j(e);return{deleteUser(t,r,a){return l.deleteUser(t,r,a).then(n=>n(s,o))},exportPersonalData(t,r,a){return l.exportPersonalData(t,r,a).then(n=>n(s,o))},getUser(t,r,a,n){return l.getUser(t,r,a,n).then(c=>c(s,o))},updateUser(t,r,a){return l.updateUser(t,r,a).then(n=>n(s,o))}}};class Gs extends y{deleteUser(o,s,l){return j(this.configuration).deleteUser(o,s,l).then(t=>t(this.axios,this.basePath))}exportPersonalData(o,s,l){return j(this.configuration).exportPersonalData(o,s,l).then(t=>t(this.axios,this.basePath))}getUser(o,s,l,t){return j(this.configuration).getUser(o,s,l,t).then(r=>r(this.axios,this.basePath))}updateUser(o,s,l){return j(this.configuration).updateUser(o,s,l).then(t=>t(this.axios,this.basePath))}}const js={Id:"id",DisplayName:"displayName",Drive:"drive",Drives:"drives",Mail:"mail",MemberOf:"memberOf",OnPremisesSamAccountName:"onPremisesSamAccountName",Surname:"surname"},Hs={Drive:"drive",Drives:"drives",MemberOf:"memberOf",AppRoleAssignments:"appRoleAssignments"},be=function(e){return{userCreateAppRoleAssignments:async(o,s,l={})=>{h("userCreateAppRoleAssignments","userId",o),h("userCreateAppRoleAssignments","appRoleAssignment",s);const t="/v1.0/users/{user-id}/appRoleAssignments".replace("{user-id}",encodeURIComponent(String(o))),r=new URL(t,A);let a;e&&(a=e.baseOptions);const n={method:"POST",...a,...l},c={},i={};U(n,e),c["Content-Type"]="application/json",v(r,i);let d=a&&a.headers?a.headers:{};return n.headers={...c,...d,...l.headers},n.data=x(s,n,e),{url:O(r),options:n}},userDeleteAppRoleAssignments:async(o,s,l,t={})=>{h("userDeleteAppRoleAssignments","userId",o),h("userDeleteAppRoleAssignments","appRoleAssignmentId",s);const r="/v1.0/users/{user-id}/appRoleAssignments/{appRoleAssignment-id}".replace("{user-id}",encodeURIComponent(String(o))).replace("{appRoleAssignment-id}",encodeURIComponent(String(s))),a=new URL(r,A);let n;e&&(n=e.baseOptions);const c={method:"DELETE",...n,...t},i={},d={};U(c,e),l!=null&&(i["If-Match"]=String(l)),v(a,d);let p=n&&n.headers?n.headers:{};return c.headers={...i,...p,...t.headers},{url:O(a),options:c}},userListAppRoleAssignments:async(o,s={})=>{h("userListAppRoleAssignments","userId",o);const l="/v1.0/users/{user-id}/appRoleAssignments".replace("{user-id}",encodeURIComponent(String(o))),t=new URL(l,A);let r;e&&(r=e.baseOptions);const a={method:"GET",...r,...s},n={},c={};U(a,e),v(t,c);let i=r&&r.headers?r.headers:{};return a.headers={...n,...i,...s.headers},{url:O(t),options:a}}}},N=function(e){const o=be(e);return{async userCreateAppRoleAssignments(s,l,t){var c,i;const r=await o.userCreateAppRoleAssignments(s,l,t),a=(e==null?void 0:e.serverIndex)??0,n=(i=(c=V["UserAppRoleAssignmentApi.userCreateAppRoleAssignments"])==null?void 0:c[a])==null?void 0:i.url;return(d,p)=>u(r,m.axios,P,e)(d,n||p)},async userDeleteAppRoleAssignments(s,l,t,r){var i,d;const a=await o.userDeleteAppRoleAssignments(s,l,t,r),n=(e==null?void 0:e.serverIndex)??0,c=(d=(i=V["UserAppRoleAssignmentApi.userDeleteAppRoleAssignments"])==null?void 0:i[n])==null?void 0:d.url;return(p,S)=>u(a,m.axios,P,e)(p,c||S)},async userListAppRoleAssignments(s,l){var n,c;const t=await o.userListAppRoleAssignments(s,l),r=(e==null?void 0:e.serverIndex)??0,a=(c=(n=V["UserAppRoleAssignmentApi.userListAppRoleAssignments"])==null?void 0:n[r])==null?void 0:c.url;return(i,d)=>u(t,m.axios,P,e)(i,a||d)}}},$s=function(e,o,s){const l=N(e);return{userCreateAppRoleAssignments(t,r,a){return l.userCreateAppRoleAssignments(t,r,a).then(n=>n(s,o))},userDeleteAppRoleAssignments(t,r,a,n){return l.userDeleteAppRoleAssignments(t,r,a,n).then(c=>c(s,o))},userListAppRoleAssignments(t,r){return l.userListAppRoleAssignments(t,r).then(a=>a(s,o))}}};class qs extends y{userCreateAppRoleAssignments(o,s,l){return N(this.configuration).userCreateAppRoleAssignments(o,s,l).then(t=>t(this.axios,this.basePath))}userDeleteAppRoleAssignments(o,s,l,t){return N(this.configuration).userDeleteAppRoleAssignments(o,s,l,t).then(r=>r(this.axios,this.basePath))}userListAppRoleAssignments(o,s){return N(this.configuration).userListAppRoleAssignments(o,s).then(l=>l(this.axios,this.basePath))}}const Ce=function(e){return{getUserPhoto:async(o,s={})=>{h("getUserPhoto","userId",o);const l="/v1.0/users/{user-id}/photo/$value".replace("{user-id}",encodeURIComponent(String(o))),t=new URL(l,A);let r;e&&(r=e.baseOptions);const a={method:"GET",...r,...s},n={},c={};U(a,e),v(t,c);let i=r&&r.headers?r.headers:{};return a.headers={...n,...i,...s.headers},{url:O(t),options:a}}}},se=function(e){const o=Ce(e);return{async getUserPhoto(s,l){var n,c;const t=await o.getUserPhoto(s,l),r=(e==null?void 0:e.serverIndex)??0,a=(c=(n=V["UserPhotoApi.getUserPhoto"])==null?void 0:n[r])==null?void 0:c.url;return(i,d)=>u(t,m.axios,P,e)(i,a||d)}}},Qs=function(e,o,s){const l=se(e);return{getUserPhoto(t,r){return l.getUserPhoto(t,r).then(a=>a(s,o))}}};class Ns extends y{getUserPhoto(o,s){return se(this.configuration).getUserPhoto(o,s).then(l=>l(this.axios,this.basePath))}}const we=function(e){return{createUser:async(o,s={})=>{h("createUser","user",o);const l="/v1.0/users",t=new URL(l,A);let r;e&&(r=e.baseOptions);const a={method:"POST",...r,...s},n={},c={};U(a,e),n["Content-Type"]="application/json",v(t,c);let i=r&&r.headers?r.headers:{};return a.headers={...n,...i,...s.headers},a.data=x(o,a,e),{url:O(t),options:a}},listUsers:async(o,s,l,t,r,a={})=>{const n="/v1.0/users",c=new URL(n,A);let i;e&&(i=e.baseOptions);const d={method:"GET",...i,...a},p={},S={};U(d,e),o!==void 0&&(S.$search=o),s!==void 0&&(S.$filter=s),l&&(S.$orderby=Array.from(l).join(C.csv)),t&&(S.$select=Array.from(t).join(C.csv)),r&&(S.$expand=Array.from(r).join(C.csv)),v(c,S);let b=i&&i.headers?i.headers:{};return d.headers={...p,...b,...a.headers},{url:O(c),options:d}}}},Y=function(e){const o=we(e);return{async createUser(s,l){var n,c;const t=await o.createUser(s,l),r=(e==null?void 0:e.serverIndex)??0,a=(c=(n=V["UsersApi.createUser"])==null?void 0:n[r])==null?void 0:c.url;return(i,d)=>u(t,m.axios,P,e)(i,a||d)},async listUsers(s,l,t,r,a,n){var p,S;const c=await o.listUsers(s,l,t,r,a,n),i=(e==null?void 0:e.serverIndex)??0,d=(S=(p=V["UsersApi.listUsers"])==null?void 0:p[i])==null?void 0:S.url;return(b,B)=>u(c,m.axios,P,e)(b,d||B)}}},ks=function(e,o,s){const l=Y(e);return{createUser(t,r){return l.createUser(t,r).then(a=>a(s,o))},listUsers(t,r,a,n,c,i){return l.listUsers(t,r,a,n,c,i).then(d=>d(s,o))}}};class Ws extends y{createUser(o,s){return Y(this.configuration).createUser(o,s).then(l=>l(this.axios,this.basePath))}listUsers(o,s,l,t,r,a){return Y(this.configuration).listUsers(o,s,l,t,r,a).then(n=>n(this.axios,this.basePath))}}const zs={DisplayName:"displayName",DisplayNameDesc:"displayName desc",Mail:"mail",MailDesc:"mail desc",OnPremisesSamAccountName:"onPremisesSamAccountName",OnPremisesSamAccountNameDesc:"onPremisesSamAccountName desc"},Js={Id:"id",DisplayName:"displayName",Mail:"mail",MemberOf:"memberOf",OnPremisesSamAccountName:"onPremisesSamAccountName",Surname:"surname"},_s={Drive:"drive",Drives:"drives",MemberOf:"memberOf",AppRoleAssignments:"appRoleAssignments"};class Ks{constructor(o={}){D(this,"apiKey");D(this,"username");D(this,"password");D(this,"accessToken");D(this,"basePath");D(this,"serverIndex");D(this,"baseOptions");D(this,"formDataCtor");var s;this.apiKey=o.apiKey,this.username=o.username,this.password=o.password,this.accessToken=o.accessToken,this.basePath=o.basePath,this.serverIndex=o.serverIndex,this.baseOptions={...o.baseOptions,headers:{...(s=o.baseOptions)==null?void 0:s.headers}},this.formDataCtor=o.formDataCtor}isJsonMime(o){const s=new RegExp("^(application/json|[^;/ ]+/[^;/ ]+[+]json)[ ]*(;.*)?$","i");return o!==null&&(s.test(o)||o.toLowerCase()==="application/json-patch+json")}}exports.ActivitiesApi=Le;exports.ActivitiesApiAxiosParamCreator=re;exports.ActivitiesApiFactory=Me;exports.ActivitiesApiFp=Z;exports.ApplicationsApi=je;exports.ApplicationsApiAxiosParamCreator=ae;exports.ApplicationsApiFactory=Ge;exports.ApplicationsApiFp=k;exports.Configuration=Ks;exports.DriveItemApi=$e;exports.DriveItemApiAxiosParamCreator=te;exports.DriveItemApiFactory=He;exports.DriveItemApiFp=H;exports.DrivesApi=Qe;exports.DrivesApiAxiosParamCreator=oe;exports.DrivesApiFactory=qe;exports.DrivesApiFp=L;exports.DrivesGetDrivesApi=ke;exports.DrivesGetDrivesApiAxiosParamCreator=le;exports.DrivesGetDrivesApiFactory=Ne;exports.DrivesGetDrivesApiFp=W;exports.DrivesPermissionsApi=ze;exports.DrivesPermissionsApiAxiosParamCreator=ne;exports.DrivesPermissionsApiFactory=We;exports.DrivesPermissionsApiFp=E;exports.DrivesRootApi=Ke;exports.DrivesRootApiAxiosParamCreator=ce;exports.DrivesRootApiFactory=_e;exports.DrivesRootApiFp=I;exports.EducationClassApi=Ze;exports.EducationClassApiAxiosParamCreator=ie;exports.EducationClassApiFactory=Xe;exports.EducationClassApiFp=F;exports.EducationClassClassificationEnum=Te;exports.EducationClassTeachersApi=fe;exports.EducationClassTeachersApiAxiosParamCreator=de;exports.EducationClassTeachersApiFactory=ge;exports.EducationClassTeachersApiFp=$;exports.EducationSchoolApi=ss;exports.EducationSchoolApiAxiosParamCreator=pe;exports.EducationSchoolApiFactory=es;exports.EducationSchoolApiFp=w;exports.EducationUserApi=as;exports.EducationUserApiAxiosParamCreator=he;exports.EducationUserApiFactory=rs;exports.EducationUserApiFp=M;exports.GetEducationUserExpandEnum=ts;exports.GetGroupExpandEnum=ds;exports.GetGroupSelectEnum=is;exports.GetOwnUserExpandEnum=Fs;exports.GetUserExpandEnum=Hs;exports.GetUserSelectEnum=js;exports.GroupApi=cs;exports.GroupApiAxiosParamCreator=me;exports.GroupApiFactory=ns;exports.GroupApiFp=T;exports.GroupsApi=hs;exports.GroupsApiAxiosParamCreator=Pe;exports.GroupsApiFactory=ps;exports.GroupsApiFp=z;exports.ListEducationUsersExpandEnum=ls;exports.ListEducationUsersOrderbyEnum=os;exports.ListGroupsExpandEnum=Vs;exports.ListGroupsOrderbyEnum=ms;exports.ListGroupsSelectEnum=Ps;exports.ListPermissionsSelectEnum=Je;exports.ListPermissionsSpaceRootSelectEnum=Ye;exports.ListUsersExpandEnum=_s;exports.ListUsersOrderbyEnum=zs;exports.ListUsersSelectEnum=Js;exports.MeChangepasswordApi=vs;exports.MeChangepasswordApiAxiosParamCreator=Ve;exports.MeChangepasswordApiFactory=As;exports.MeChangepasswordApiFp=g;exports.MeDriveApi=us;exports.MeDriveApiAxiosParamCreator=Ae;exports.MeDriveApiFactory=Os;exports.MeDriveApiFp=q;exports.MeDriveRootApi=Ss;exports.MeDriveRootApiAxiosParamCreator=ve;exports.MeDriveRootApiFactory=Us;exports.MeDriveRootApiFp=f;exports.MeDriveRootChildrenApi=Rs;exports.MeDriveRootChildrenApiAxiosParamCreator=Oe;exports.MeDriveRootChildrenApiFactory=xs;exports.MeDriveRootChildrenApiFp=ee;exports.MeDrivesApi=bs;exports.MeDrivesApiAxiosParamCreator=ue;exports.MeDrivesApiFactory=ys;exports.MeDrivesApiFp=J;exports.MePhotoApi=ws;exports.MePhotoApiAxiosParamCreator=Ue;exports.MePhotoApiFactory=Cs;exports.MePhotoApiFp=G;exports.MeUserApi=Ds;exports.MeUserApiAxiosParamCreator=Se;exports.MeUserApiFactory=Is;exports.MeUserApiFp=_;exports.RoleManagementApi=Ts;exports.RoleManagementApiAxiosParamCreator=xe;exports.RoleManagementApiFactory=Es;exports.RoleManagementApiFp=K;exports.SharingLinkType=Be;exports.TagsApi=Ms;exports.TagsApiAxiosParamCreator=Re;exports.TagsApiFactory=Bs;exports.TagsApiFp=Q;exports.UserApi=Gs;exports.UserApiAxiosParamCreator=ye;exports.UserApiFactory=Ls;exports.UserApiFp=j;exports.UserAppRoleAssignmentApi=qs;exports.UserAppRoleAssignmentApiAxiosParamCreator=be;exports.UserAppRoleAssignmentApiFactory=$s;exports.UserAppRoleAssignmentApiFp=N;exports.UserPhotoApi=Ns;exports.UserPhotoApiAxiosParamCreator=Ce;exports.UserPhotoApiFactory=Qs;exports.UserPhotoApiFp=se;exports.UsersApi=Ws;exports.UsersApiAxiosParamCreator=we;exports.UsersApiFactory=ks;exports.UsersApiFp=Y;
1
+ "use strict";var De=Object.defineProperty;var Ee=(e,o,s)=>o in e?De(e,o,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[o]=s;var D=(e,o,s)=>Ee(e,typeof o!="symbol"?o+"":o,s);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("../../index-C-U4KVPG.cjs"),P="https://localhost:9200/graph".replace(/\/+$/,""),C={csv:","};class b{constructor(o,s=P,l=m.axios){D(this,"configuration");this.basePath=s,this.axios=l,o&&(this.configuration=o,this.basePath=o.basePath??s)}}class Fe extends Error{constructor(o,s){super(s),this.field=o,this.name="RequiredError"}}const V={},v="https://example.com",h=function(e,o,s){if(s==null)throw new Fe(o,`Required parameter ${o} was null or undefined when calling ${e}.`)},S=function(e,o){o&&(o.username||o.password)&&(e.auth={username:o.username,password:o.password})},R=async function(e,o){if(o&&o.accessToken){const s=typeof o.accessToken=="function"?await o.accessToken():await o.accessToken;e.Authorization="Bearer "+s}};function X(e,o,s=""){o!=null&&(typeof o=="object"?Array.isArray(o)?o.forEach(l=>X(e,l,s)):Object.keys(o).forEach(l=>X(e,o[l],`${s}${s!==""?".":""}${l}`)):e.has(s)?e.append(s,o):e.set(s,o))}const A=function(e,...o){const s=new URLSearchParams(e.search);X(s,o),e.search=s.toString()},x=function(e,o,s){const l=typeof e!="string";return(l&&s&&s.isJsonMime?s.isJsonMime(o.headers["Content-Type"]):l)?JSON.stringify(e!==void 0?e:{}):e||""},O=function(e){return e.pathname+e.search+e.hash},u=function(e,o,s,l){return(t=o,a=s)=>{const r={...e.options,url:(t.defaults.baseURL?"":(l==null?void 0:l.basePath)??a)+e.url};return t.request(r)}},Te={Class:"class",Course:"course"},Be={Internal:"internal",View:"view",Upload:"upload",Edit:"edit",CreateOnly:"createOnly",BlocksDownload:"blocksDownload"},re=function(e){return{getActivities:async(o,s={})=>{const l="/v1beta1/extensions/org.libregraph/activities",t=new URL(l,v);let a;e&&(a=e.baseOptions);const r={method:"GET",...a,...s},n={},c={};S(r,e),o!==void 0&&(c.kql=o),A(t,c);let i=a&&a.headers?a.headers:{};return r.headers={...n,...i,...s.headers},{url:O(t),options:r}}}},Z=function(e){const o=re(e);return{async getActivities(s,l){var n,c;const t=await o.getActivities(s,l),a=(e==null?void 0:e.serverIndex)??0,r=(c=(n=V["ActivitiesApi.getActivities"])==null?void 0:n[a])==null?void 0:c.url;return(i,d)=>u(t,m.axios,P,e)(i,r||d)}}},Me=function(e,o,s){const l=Z(e);return{getActivities(t,a){return l.getActivities(t,a).then(r=>r(s,o))}}};class Le extends b{getActivities(o,s){return Z(this.configuration).getActivities(o,s).then(l=>l(this.axios,this.basePath))}}const ae=function(e){return{getApplication:async(o,s={})=>{h("getApplication","applicationId",o);const l="/v1.0/applications/{application-id}".replace("{application-id}",encodeURIComponent(String(o))),t=new URL(l,v);let a;e&&(a=e.baseOptions);const r={method:"GET",...a,...s},n={},c={};S(r,e),A(t,c);let i=a&&a.headers?a.headers:{};return r.headers={...n,...i,...s.headers},{url:O(t),options:r}},listApplications:async(o={})=>{const s="/v1.0/applications",l=new URL(s,v);let t;e&&(t=e.baseOptions);const a={method:"GET",...t,...o},r={},n={};S(a,e),A(l,n);let c=t&&t.headers?t.headers:{};return a.headers={...r,...c,...o.headers},{url:O(l),options:a}}}},k=function(e){const o=ae(e);return{async getApplication(s,l){var n,c;const t=await o.getApplication(s,l),a=(e==null?void 0:e.serverIndex)??0,r=(c=(n=V["ApplicationsApi.getApplication"])==null?void 0:n[a])==null?void 0:c.url;return(i,d)=>u(t,m.axios,P,e)(i,r||d)},async listApplications(s){var r,n;const l=await o.listApplications(s),t=(e==null?void 0:e.serverIndex)??0,a=(n=(r=V["ApplicationsApi.listApplications"])==null?void 0:r[t])==null?void 0:n.url;return(c,i)=>u(l,m.axios,P,e)(c,a||i)}}},Ge=function(e,o,s){const l=k(e);return{getApplication(t,a){return l.getApplication(t,a).then(r=>r(s,o))},listApplications(t){return l.listApplications(t).then(a=>a(s,o))}}};class je extends b{getApplication(o,s){return k(this.configuration).getApplication(o,s).then(l=>l(this.axios,this.basePath))}listApplications(o){return k(this.configuration).listApplications(o).then(s=>s(this.axios,this.basePath))}}const te=function(e){return{deleteDriveItem:async(o,s,l={})=>{h("deleteDriveItem","driveId",o),h("deleteDriveItem","itemId",s);const t="/v1beta1/drives/{drive-id}/items/{item-id}".replace("{drive-id}",encodeURIComponent(String(o))).replace("{item-id}",encodeURIComponent(String(s))),a=new URL(t,v);let r;e&&(r=e.baseOptions);const n={method:"DELETE",...r,...l},c={},i={};S(n,e),A(a,i);let d=r&&r.headers?r.headers:{};return n.headers={...c,...d,...l.headers},{url:O(a),options:n}},getDriveItem:async(o,s,l={})=>{h("getDriveItem","driveId",o),h("getDriveItem","itemId",s);const t="/v1beta1/drives/{drive-id}/items/{item-id}".replace("{drive-id}",encodeURIComponent(String(o))).replace("{item-id}",encodeURIComponent(String(s))),a=new URL(t,v);let r;e&&(r=e.baseOptions);const n={method:"GET",...r,...l},c={},i={};S(n,e),A(a,i);let d=r&&r.headers?r.headers:{};return n.headers={...c,...d,...l.headers},{url:O(a),options:n}},updateDriveItem:async(o,s,l,t={})=>{h("updateDriveItem","driveId",o),h("updateDriveItem","itemId",s),h("updateDriveItem","driveItem",l);const a="/v1beta1/drives/{drive-id}/items/{item-id}".replace("{drive-id}",encodeURIComponent(String(o))).replace("{item-id}",encodeURIComponent(String(s))),r=new URL(a,v);let n;e&&(n=e.baseOptions);const c={method:"PATCH",...n,...t},i={},d={};S(c,e),i["Content-Type"]="application/json",A(r,d);let p=n&&n.headers?n.headers:{};return c.headers={...i,...p,...t.headers},c.data=x(l,c,e),{url:O(r),options:c}}}},H=function(e){const o=te(e);return{async deleteDriveItem(s,l,t){var c,i;const a=await o.deleteDriveItem(s,l,t),r=(e==null?void 0:e.serverIndex)??0,n=(i=(c=V["DriveItemApi.deleteDriveItem"])==null?void 0:c[r])==null?void 0:i.url;return(d,p)=>u(a,m.axios,P,e)(d,n||p)},async getDriveItem(s,l,t){var c,i;const a=await o.getDriveItem(s,l,t),r=(e==null?void 0:e.serverIndex)??0,n=(i=(c=V["DriveItemApi.getDriveItem"])==null?void 0:c[r])==null?void 0:i.url;return(d,p)=>u(a,m.axios,P,e)(d,n||p)},async updateDriveItem(s,l,t,a){var i,d;const r=await o.updateDriveItem(s,l,t,a),n=(e==null?void 0:e.serverIndex)??0,c=(d=(i=V["DriveItemApi.updateDriveItem"])==null?void 0:i[n])==null?void 0:d.url;return(p,U)=>u(r,m.axios,P,e)(p,c||U)}}},He=function(e,o,s){const l=H(e);return{deleteDriveItem(t,a,r){return l.deleteDriveItem(t,a,r).then(n=>n(s,o))},getDriveItem(t,a,r){return l.getDriveItem(t,a,r).then(n=>n(s,o))},updateDriveItem(t,a,r,n){return l.updateDriveItem(t,a,r,n).then(c=>c(s,o))}}};class $e extends b{deleteDriveItem(o,s,l){return H(this.configuration).deleteDriveItem(o,s,l).then(t=>t(this.axios,this.basePath))}getDriveItem(o,s,l){return H(this.configuration).getDriveItem(o,s,l).then(t=>t(this.axios,this.basePath))}updateDriveItem(o,s,l,t){return H(this.configuration).updateDriveItem(o,s,l,t).then(a=>a(this.axios,this.basePath))}}const oe=function(e){return{createDrive:async(o,s={})=>{h("createDrive","drive",o);const l="/v1.0/drives",t=new URL(l,v);let a;e&&(a=e.baseOptions);const r={method:"POST",...a,...s},n={},c={};S(r,e),n["Content-Type"]="application/json",A(t,c);let i=a&&a.headers?a.headers:{};return r.headers={...n,...i,...s.headers},r.data=x(o,r,e),{url:O(t),options:r}},deleteDrive:async(o,s,l={})=>{h("deleteDrive","driveId",o);const t="/v1.0/drives/{drive-id}".replace("{drive-id}",encodeURIComponent(String(o))),a=new URL(t,v);let r;e&&(r=e.baseOptions);const n={method:"DELETE",...r,...l},c={},i={};S(n,e),s!=null&&(c["If-Match"]=String(s)),A(a,i);let d=r&&r.headers?r.headers:{};return n.headers={...c,...d,...l.headers},{url:O(a),options:n}},getDrive:async(o,s,l={})=>{h("getDrive","driveId",o);const t="/v1.0/drives/{drive-id}".replace("{drive-id}",encodeURIComponent(String(o))),a=new URL(t,v);let r;e&&(r=e.baseOptions);const n={method:"GET",...r,...l},c={},i={};S(n,e),s&&(i.$select=Array.from(s).join(C.csv)),A(a,i);let d=r&&r.headers?r.headers:{};return n.headers={...c,...d,...l.headers},{url:O(a),options:n}},updateDrive:async(o,s,l={})=>{h("updateDrive","driveId",o),h("updateDrive","driveUpdate",s);const t="/v1.0/drives/{drive-id}".replace("{drive-id}",encodeURIComponent(String(o))),a=new URL(t,v);let r;e&&(r=e.baseOptions);const n={method:"PATCH",...r,...l},c={},i={};S(n,e),c["Content-Type"]="application/json",A(a,i);let d=r&&r.headers?r.headers:{};return n.headers={...c,...d,...l.headers},n.data=x(s,n,e),{url:O(a),options:n}}}},L=function(e){const o=oe(e);return{async createDrive(s,l){var n,c;const t=await o.createDrive(s,l),a=(e==null?void 0:e.serverIndex)??0,r=(c=(n=V["DrivesApi.createDrive"])==null?void 0:n[a])==null?void 0:c.url;return(i,d)=>u(t,m.axios,P,e)(i,r||d)},async deleteDrive(s,l,t){var c,i;const a=await o.deleteDrive(s,l,t),r=(e==null?void 0:e.serverIndex)??0,n=(i=(c=V["DrivesApi.deleteDrive"])==null?void 0:c[r])==null?void 0:i.url;return(d,p)=>u(a,m.axios,P,e)(d,n||p)},async getDrive(s,l,t){var c,i;const a=await o.getDrive(s,l,t),r=(e==null?void 0:e.serverIndex)??0,n=(i=(c=V["DrivesApi.getDrive"])==null?void 0:c[r])==null?void 0:i.url;return(d,p)=>u(a,m.axios,P,e)(d,n||p)},async updateDrive(s,l,t){var c,i;const a=await o.updateDrive(s,l,t),r=(e==null?void 0:e.serverIndex)??0,n=(i=(c=V["DrivesApi.updateDrive"])==null?void 0:c[r])==null?void 0:i.url;return(d,p)=>u(a,m.axios,P,e)(d,n||p)}}},qe=function(e,o,s){const l=L(e);return{createDrive(t,a){return l.createDrive(t,a).then(r=>r(s,o))},deleteDrive(t,a,r){return l.deleteDrive(t,a,r).then(n=>n(s,o))},getDrive(t,a,r){return l.getDrive(t,a,r).then(n=>n(s,o))},updateDrive(t,a,r){return l.updateDrive(t,a,r).then(n=>n(s,o))}}};class Qe extends b{createDrive(o,s){return L(this.configuration).createDrive(o,s).then(l=>l(this.axios,this.basePath))}deleteDrive(o,s,l){return L(this.configuration).deleteDrive(o,s,l).then(t=>t(this.axios,this.basePath))}getDrive(o,s,l){return L(this.configuration).getDrive(o,s,l).then(t=>t(this.axios,this.basePath))}updateDrive(o,s,l){return L(this.configuration).updateDrive(o,s,l).then(t=>t(this.axios,this.basePath))}}const Ne={LibreGraphHasTrashedItems:"@libre.graph.hasTrashedItems"},le=function(e){return{listAllDrives:async(o,s,l={})=>{const t="/v1.0/drives",a=new URL(t,v);let r;e&&(r=e.baseOptions);const n={method:"GET",...r,...l},c={},i={};S(n,e),o!==void 0&&(i.$orderby=o),s!==void 0&&(i.$filter=s),A(a,i);let d=r&&r.headers?r.headers:{};return n.headers={...c,...d,...l.headers},{url:O(a),options:n}},listAllDrivesBeta:async(o,s,l,t,a={})=>{const r="/v1beta1/drives",n=new URL(r,v);let c;e&&(c=e.baseOptions);const i={method:"GET",...c,...a},d={},p={};S(i,e),o!==void 0&&(p.$orderby=o),s!==void 0&&(p.$filter=s),l!==void 0&&(p.$expand=l),t&&(p.$select=Array.from(t).join(C.csv)),A(n,p);let U=c&&c.headers?c.headers:{};return i.headers={...d,...U,...a.headers},{url:O(n),options:i}}}},W=function(e){const o=le(e);return{async listAllDrives(s,l,t){var c,i;const a=await o.listAllDrives(s,l,t),r=(e==null?void 0:e.serverIndex)??0,n=(i=(c=V["DrivesGetDrivesApi.listAllDrives"])==null?void 0:c[r])==null?void 0:i.url;return(d,p)=>u(a,m.axios,P,e)(d,n||p)},async listAllDrivesBeta(s,l,t,a,r){var d,p;const n=await o.listAllDrivesBeta(s,l,t,a,r),c=(e==null?void 0:e.serverIndex)??0,i=(p=(d=V["DrivesGetDrivesApi.listAllDrivesBeta"])==null?void 0:d[c])==null?void 0:p.url;return(U,y)=>u(n,m.axios,P,e)(U,i||y)}}},ke=function(e,o,s){const l=W(e);return{listAllDrives(t,a,r){return l.listAllDrives(t,a,r).then(n=>n(s,o))},listAllDrivesBeta(t,a,r,n,c){return l.listAllDrivesBeta(t,a,r,n,c).then(i=>i(s,o))}}};class We extends b{listAllDrives(o,s,l){return W(this.configuration).listAllDrives(o,s,l).then(t=>t(this.axios,this.basePath))}listAllDrivesBeta(o,s,l,t,a){return W(this.configuration).listAllDrivesBeta(o,s,l,t,a).then(r=>r(this.axios,this.basePath))}}const ze={LibreGraphHasTrashedItems:"@libre.graph.hasTrashedItems"},ne=function(e){return{createLink:async(o,s,l,t={})=>{h("createLink","driveId",o),h("createLink","itemId",s);const a="/v1beta1/drives/{drive-id}/items/{item-id}/createLink".replace("{drive-id}",encodeURIComponent(String(o))).replace("{item-id}",encodeURIComponent(String(s))),r=new URL(a,v);let n;e&&(n=e.baseOptions);const c={method:"POST",...n,...t},i={},d={};S(c,e),i["Content-Type"]="application/json",A(r,d);let p=n&&n.headers?n.headers:{};return c.headers={...i,...p,...t.headers},c.data=x(l,c,e),{url:O(r),options:c}},deletePermission:async(o,s,l,t={})=>{h("deletePermission","driveId",o),h("deletePermission","itemId",s),h("deletePermission","permId",l);const a="/v1beta1/drives/{drive-id}/items/{item-id}/permissions/{perm-id}".replace("{drive-id}",encodeURIComponent(String(o))).replace("{item-id}",encodeURIComponent(String(s))).replace("{perm-id}",encodeURIComponent(String(l))),r=new URL(a,v);let n;e&&(n=e.baseOptions);const c={method:"DELETE",...n,...t},i={},d={};S(c,e),A(r,d);let p=n&&n.headers?n.headers:{};return c.headers={...i,...p,...t.headers},{url:O(r),options:c}},getPermission:async(o,s,l,t={})=>{h("getPermission","driveId",o),h("getPermission","itemId",s),h("getPermission","permId",l);const a="/v1beta1/drives/{drive-id}/items/{item-id}/permissions/{perm-id}".replace("{drive-id}",encodeURIComponent(String(o))).replace("{item-id}",encodeURIComponent(String(s))).replace("{perm-id}",encodeURIComponent(String(l))),r=new URL(a,v);let n;e&&(n=e.baseOptions);const c={method:"GET",...n,...t},i={},d={};S(c,e),A(r,d);let p=n&&n.headers?n.headers:{};return c.headers={...i,...p,...t.headers},{url:O(r),options:c}},invite:async(o,s,l,t={})=>{h("invite","driveId",o),h("invite","itemId",s);const a="/v1beta1/drives/{drive-id}/items/{item-id}/invite".replace("{drive-id}",encodeURIComponent(String(o))).replace("{item-id}",encodeURIComponent(String(s))),r=new URL(a,v);let n;e&&(n=e.baseOptions);const c={method:"POST",...n,...t},i={},d={};S(c,e),i["Content-Type"]="application/json",A(r,d);let p=n&&n.headers?n.headers:{};return c.headers={...i,...p,...t.headers},c.data=x(l,c,e),{url:O(r),options:c}},listPermissions:async(o,s,l,t,a,r,n={})=>{h("listPermissions","driveId",o),h("listPermissions","itemId",s);const c="/v1beta1/drives/{drive-id}/items/{item-id}/permissions".replace("{drive-id}",encodeURIComponent(String(o))).replace("{item-id}",encodeURIComponent(String(s))),i=new URL(c,v);let d;e&&(d=e.baseOptions);const p={method:"GET",...d,...n},U={},y={};S(p,e),l!==void 0&&(y.$filter=l),t&&(y.$select=Array.from(t).join(C.csv)),a!==void 0&&(y.$count=a),r!==void 0&&(y.$top=r),A(i,y);let B=d&&d.headers?d.headers:{};return p.headers={...U,...B,...n.headers},{url:O(i),options:p}},setPermissionPassword:async(o,s,l,t,a={})=>{h("setPermissionPassword","driveId",o),h("setPermissionPassword","itemId",s),h("setPermissionPassword","permId",l),h("setPermissionPassword","sharingLinkPassword",t);const r="/v1beta1/drives/{drive-id}/items/{item-id}/permissions/{perm-id}/setPassword".replace("{drive-id}",encodeURIComponent(String(o))).replace("{item-id}",encodeURIComponent(String(s))).replace("{perm-id}",encodeURIComponent(String(l))),n=new URL(r,v);let c;e&&(c=e.baseOptions);const i={method:"POST",...c,...a},d={},p={};S(i,e),d["Content-Type"]="application/json",A(n,p);let U=c&&c.headers?c.headers:{};return i.headers={...d,...U,...a.headers},i.data=x(t,i,e),{url:O(n),options:i}},updatePermission:async(o,s,l,t,a={})=>{h("updatePermission","driveId",o),h("updatePermission","itemId",s),h("updatePermission","permId",l),h("updatePermission","permission",t);const r="/v1beta1/drives/{drive-id}/items/{item-id}/permissions/{perm-id}".replace("{drive-id}",encodeURIComponent(String(o))).replace("{item-id}",encodeURIComponent(String(s))).replace("{perm-id}",encodeURIComponent(String(l))),n=new URL(r,v);let c;e&&(c=e.baseOptions);const i={method:"PATCH",...c,...a},d={},p={};S(i,e),d["Content-Type"]="application/json",A(n,p);let U=c&&c.headers?c.headers:{};return i.headers={...d,...U,...a.headers},i.data=x(t,i,e),{url:O(n),options:i}}}},F=function(e){const o=ne(e);return{async createLink(s,l,t,a){var i,d;const r=await o.createLink(s,l,t,a),n=(e==null?void 0:e.serverIndex)??0,c=(d=(i=V["DrivesPermissionsApi.createLink"])==null?void 0:i[n])==null?void 0:d.url;return(p,U)=>u(r,m.axios,P,e)(p,c||U)},async deletePermission(s,l,t,a){var i,d;const r=await o.deletePermission(s,l,t,a),n=(e==null?void 0:e.serverIndex)??0,c=(d=(i=V["DrivesPermissionsApi.deletePermission"])==null?void 0:i[n])==null?void 0:d.url;return(p,U)=>u(r,m.axios,P,e)(p,c||U)},async getPermission(s,l,t,a){var i,d;const r=await o.getPermission(s,l,t,a),n=(e==null?void 0:e.serverIndex)??0,c=(d=(i=V["DrivesPermissionsApi.getPermission"])==null?void 0:i[n])==null?void 0:d.url;return(p,U)=>u(r,m.axios,P,e)(p,c||U)},async invite(s,l,t,a){var i,d;const r=await o.invite(s,l,t,a),n=(e==null?void 0:e.serverIndex)??0,c=(d=(i=V["DrivesPermissionsApi.invite"])==null?void 0:i[n])==null?void 0:d.url;return(p,U)=>u(r,m.axios,P,e)(p,c||U)},async listPermissions(s,l,t,a,r,n,c){var U,y;const i=await o.listPermissions(s,l,t,a,r,n,c),d=(e==null?void 0:e.serverIndex)??0,p=(y=(U=V["DrivesPermissionsApi.listPermissions"])==null?void 0:U[d])==null?void 0:y.url;return(B,Ie)=>u(i,m.axios,P,e)(B,p||Ie)},async setPermissionPassword(s,l,t,a,r){var d,p;const n=await o.setPermissionPassword(s,l,t,a,r),c=(e==null?void 0:e.serverIndex)??0,i=(p=(d=V["DrivesPermissionsApi.setPermissionPassword"])==null?void 0:d[c])==null?void 0:p.url;return(U,y)=>u(n,m.axios,P,e)(U,i||y)},async updatePermission(s,l,t,a,r){var d,p;const n=await o.updatePermission(s,l,t,a,r),c=(e==null?void 0:e.serverIndex)??0,i=(p=(d=V["DrivesPermissionsApi.updatePermission"])==null?void 0:d[c])==null?void 0:p.url;return(U,y)=>u(n,m.axios,P,e)(U,i||y)}}},Je=function(e,o,s){const l=F(e);return{createLink(t,a,r,n){return l.createLink(t,a,r,n).then(c=>c(s,o))},deletePermission(t,a,r,n){return l.deletePermission(t,a,r,n).then(c=>c(s,o))},getPermission(t,a,r,n){return l.getPermission(t,a,r,n).then(c=>c(s,o))},invite(t,a,r,n){return l.invite(t,a,r,n).then(c=>c(s,o))},listPermissions(t,a,r,n,c,i,d){return l.listPermissions(t,a,r,n,c,i,d).then(p=>p(s,o))},setPermissionPassword(t,a,r,n,c){return l.setPermissionPassword(t,a,r,n,c).then(i=>i(s,o))},updatePermission(t,a,r,n,c){return l.updatePermission(t,a,r,n,c).then(i=>i(s,o))}}};class _e extends b{createLink(o,s,l,t){return F(this.configuration).createLink(o,s,l,t).then(a=>a(this.axios,this.basePath))}deletePermission(o,s,l,t){return F(this.configuration).deletePermission(o,s,l,t).then(a=>a(this.axios,this.basePath))}getPermission(o,s,l,t){return F(this.configuration).getPermission(o,s,l,t).then(a=>a(this.axios,this.basePath))}invite(o,s,l,t){return F(this.configuration).invite(o,s,l,t).then(a=>a(this.axios,this.basePath))}listPermissions(o,s,l,t,a,r,n){return F(this.configuration).listPermissions(o,s,l,t,a,r,n).then(c=>c(this.axios,this.basePath))}setPermissionPassword(o,s,l,t,a){return F(this.configuration).setPermissionPassword(o,s,l,t,a).then(r=>r(this.axios,this.basePath))}updatePermission(o,s,l,t,a){return F(this.configuration).updatePermission(o,s,l,t,a).then(r=>r(this.axios,this.basePath))}}const Ke={LibreGraphPermissionsActionsAllowedValues:"@libre.graph.permissions.actions.allowedValues",LibreGraphPermissionsRolesAllowedValues:"@libre.graph.permissions.roles.allowedValues",Value:"value"},ce=function(e){return{createDriveItem:async(o,s,l={})=>{h("createDriveItem","driveId",o);const t="/v1beta1/drives/{drive-id}/root/children".replace("{drive-id}",encodeURIComponent(String(o))),a=new URL(t,v);let r;e&&(r=e.baseOptions);const n={method:"POST",...r,...l},c={},i={};S(n,e),c["Content-Type"]="application/json",A(a,i);let d=r&&r.headers?r.headers:{};return n.headers={...c,...d,...l.headers},n.data=x(s,n,e),{url:O(a),options:n}},createLinkSpaceRoot:async(o,s,l={})=>{h("createLinkSpaceRoot","driveId",o);const t="/v1beta1/drives/{drive-id}/root/createLink".replace("{drive-id}",encodeURIComponent(String(o))),a=new URL(t,v);let r;e&&(r=e.baseOptions);const n={method:"POST",...r,...l},c={},i={};S(n,e),c["Content-Type"]="application/json",A(a,i);let d=r&&r.headers?r.headers:{};return n.headers={...c,...d,...l.headers},n.data=x(s,n,e),{url:O(a),options:n}},deletePermissionSpaceRoot:async(o,s,l={})=>{h("deletePermissionSpaceRoot","driveId",o),h("deletePermissionSpaceRoot","permId",s);const t="/v1beta1/drives/{drive-id}/root/permissions/{perm-id}".replace("{drive-id}",encodeURIComponent(String(o))).replace("{perm-id}",encodeURIComponent(String(s))),a=new URL(t,v);let r;e&&(r=e.baseOptions);const n={method:"DELETE",...r,...l},c={},i={};S(n,e),A(a,i);let d=r&&r.headers?r.headers:{};return n.headers={...c,...d,...l.headers},{url:O(a),options:n}},getPermissionSpaceRoot:async(o,s,l={})=>{h("getPermissionSpaceRoot","driveId",o),h("getPermissionSpaceRoot","permId",s);const t="/v1beta1/drives/{drive-id}/root/permissions/{perm-id}".replace("{drive-id}",encodeURIComponent(String(o))).replace("{perm-id}",encodeURIComponent(String(s))),a=new URL(t,v);let r;e&&(r=e.baseOptions);const n={method:"GET",...r,...l},c={},i={};S(n,e),A(a,i);let d=r&&r.headers?r.headers:{};return n.headers={...c,...d,...l.headers},{url:O(a),options:n}},getRoot:async(o,s={})=>{h("getRoot","driveId",o);const l="/v1.0/drives/{drive-id}/root".replace("{drive-id}",encodeURIComponent(String(o))),t=new URL(l,v);let a;e&&(a=e.baseOptions);const r={method:"GET",...a,...s},n={},c={};S(r,e),A(t,c);let i=a&&a.headers?a.headers:{};return r.headers={...n,...i,...s.headers},{url:O(t),options:r}},inviteSpaceRoot:async(o,s,l={})=>{h("inviteSpaceRoot","driveId",o);const t="/v1beta1/drives/{drive-id}/root/invite".replace("{drive-id}",encodeURIComponent(String(o))),a=new URL(t,v);let r;e&&(r=e.baseOptions);const n={method:"POST",...r,...l},c={},i={};S(n,e),c["Content-Type"]="application/json",A(a,i);let d=r&&r.headers?r.headers:{};return n.headers={...c,...d,...l.headers},n.data=x(s,n,e),{url:O(a),options:n}},listPermissionsSpaceRoot:async(o,s,l,t,a,r={})=>{h("listPermissionsSpaceRoot","driveId",o);const n="/v1beta1/drives/{drive-id}/root/permissions".replace("{drive-id}",encodeURIComponent(String(o))),c=new URL(n,v);let i;e&&(i=e.baseOptions);const d={method:"GET",...i,...r},p={},U={};S(d,e),s!==void 0&&(U.$filter=s),l&&(U.$select=Array.from(l).join(C.csv)),t!==void 0&&(U.$count=t),a!==void 0&&(U.$top=a),A(c,U);let y=i&&i.headers?i.headers:{};return d.headers={...p,...y,...r.headers},{url:O(c),options:d}},setPermissionPasswordSpaceRoot:async(o,s,l,t={})=>{h("setPermissionPasswordSpaceRoot","driveId",o),h("setPermissionPasswordSpaceRoot","permId",s),h("setPermissionPasswordSpaceRoot","sharingLinkPassword",l);const a="/v1beta1/drives/{drive-id}/root/permissions/{perm-id}/setPassword".replace("{drive-id}",encodeURIComponent(String(o))).replace("{perm-id}",encodeURIComponent(String(s))),r=new URL(a,v);let n;e&&(n=e.baseOptions);const c={method:"POST",...n,...t},i={},d={};S(c,e),i["Content-Type"]="application/json",A(r,d);let p=n&&n.headers?n.headers:{};return c.headers={...i,...p,...t.headers},c.data=x(l,c,e),{url:O(r),options:c}},updatePermissionSpaceRoot:async(o,s,l,t={})=>{h("updatePermissionSpaceRoot","driveId",o),h("updatePermissionSpaceRoot","permId",s),h("updatePermissionSpaceRoot","permission",l);const a="/v1beta1/drives/{drive-id}/root/permissions/{perm-id}".replace("{drive-id}",encodeURIComponent(String(o))).replace("{perm-id}",encodeURIComponent(String(s))),r=new URL(a,v);let n;e&&(n=e.baseOptions);const c={method:"PATCH",...n,...t},i={},d={};S(c,e),i["Content-Type"]="application/json",A(r,d);let p=n&&n.headers?n.headers:{};return c.headers={...i,...p,...t.headers},c.data=x(l,c,e),{url:O(r),options:c}}}},I=function(e){const o=ce(e);return{async createDriveItem(s,l,t){var c,i;const a=await o.createDriveItem(s,l,t),r=(e==null?void 0:e.serverIndex)??0,n=(i=(c=V["DrivesRootApi.createDriveItem"])==null?void 0:c[r])==null?void 0:i.url;return(d,p)=>u(a,m.axios,P,e)(d,n||p)},async createLinkSpaceRoot(s,l,t){var c,i;const a=await o.createLinkSpaceRoot(s,l,t),r=(e==null?void 0:e.serverIndex)??0,n=(i=(c=V["DrivesRootApi.createLinkSpaceRoot"])==null?void 0:c[r])==null?void 0:i.url;return(d,p)=>u(a,m.axios,P,e)(d,n||p)},async deletePermissionSpaceRoot(s,l,t){var c,i;const a=await o.deletePermissionSpaceRoot(s,l,t),r=(e==null?void 0:e.serverIndex)??0,n=(i=(c=V["DrivesRootApi.deletePermissionSpaceRoot"])==null?void 0:c[r])==null?void 0:i.url;return(d,p)=>u(a,m.axios,P,e)(d,n||p)},async getPermissionSpaceRoot(s,l,t){var c,i;const a=await o.getPermissionSpaceRoot(s,l,t),r=(e==null?void 0:e.serverIndex)??0,n=(i=(c=V["DrivesRootApi.getPermissionSpaceRoot"])==null?void 0:c[r])==null?void 0:i.url;return(d,p)=>u(a,m.axios,P,e)(d,n||p)},async getRoot(s,l){var n,c;const t=await o.getRoot(s,l),a=(e==null?void 0:e.serverIndex)??0,r=(c=(n=V["DrivesRootApi.getRoot"])==null?void 0:n[a])==null?void 0:c.url;return(i,d)=>u(t,m.axios,P,e)(i,r||d)},async inviteSpaceRoot(s,l,t){var c,i;const a=await o.inviteSpaceRoot(s,l,t),r=(e==null?void 0:e.serverIndex)??0,n=(i=(c=V["DrivesRootApi.inviteSpaceRoot"])==null?void 0:c[r])==null?void 0:i.url;return(d,p)=>u(a,m.axios,P,e)(d,n||p)},async listPermissionsSpaceRoot(s,l,t,a,r,n){var p,U;const c=await o.listPermissionsSpaceRoot(s,l,t,a,r,n),i=(e==null?void 0:e.serverIndex)??0,d=(U=(p=V["DrivesRootApi.listPermissionsSpaceRoot"])==null?void 0:p[i])==null?void 0:U.url;return(y,B)=>u(c,m.axios,P,e)(y,d||B)},async setPermissionPasswordSpaceRoot(s,l,t,a){var i,d;const r=await o.setPermissionPasswordSpaceRoot(s,l,t,a),n=(e==null?void 0:e.serverIndex)??0,c=(d=(i=V["DrivesRootApi.setPermissionPasswordSpaceRoot"])==null?void 0:i[n])==null?void 0:d.url;return(p,U)=>u(r,m.axios,P,e)(p,c||U)},async updatePermissionSpaceRoot(s,l,t,a){var i,d;const r=await o.updatePermissionSpaceRoot(s,l,t,a),n=(e==null?void 0:e.serverIndex)??0,c=(d=(i=V["DrivesRootApi.updatePermissionSpaceRoot"])==null?void 0:i[n])==null?void 0:d.url;return(p,U)=>u(r,m.axios,P,e)(p,c||U)}}},Ye=function(e,o,s){const l=I(e);return{createDriveItem(t,a,r){return l.createDriveItem(t,a,r).then(n=>n(s,o))},createLinkSpaceRoot(t,a,r){return l.createLinkSpaceRoot(t,a,r).then(n=>n(s,o))},deletePermissionSpaceRoot(t,a,r){return l.deletePermissionSpaceRoot(t,a,r).then(n=>n(s,o))},getPermissionSpaceRoot(t,a,r){return l.getPermissionSpaceRoot(t,a,r).then(n=>n(s,o))},getRoot(t,a){return l.getRoot(t,a).then(r=>r(s,o))},inviteSpaceRoot(t,a,r){return l.inviteSpaceRoot(t,a,r).then(n=>n(s,o))},listPermissionsSpaceRoot(t,a,r,n,c,i){return l.listPermissionsSpaceRoot(t,a,r,n,c,i).then(d=>d(s,o))},setPermissionPasswordSpaceRoot(t,a,r,n){return l.setPermissionPasswordSpaceRoot(t,a,r,n).then(c=>c(s,o))},updatePermissionSpaceRoot(t,a,r,n){return l.updatePermissionSpaceRoot(t,a,r,n).then(c=>c(s,o))}}};class Xe extends b{createDriveItem(o,s,l){return I(this.configuration).createDriveItem(o,s,l).then(t=>t(this.axios,this.basePath))}createLinkSpaceRoot(o,s,l){return I(this.configuration).createLinkSpaceRoot(o,s,l).then(t=>t(this.axios,this.basePath))}deletePermissionSpaceRoot(o,s,l){return I(this.configuration).deletePermissionSpaceRoot(o,s,l).then(t=>t(this.axios,this.basePath))}getPermissionSpaceRoot(o,s,l){return I(this.configuration).getPermissionSpaceRoot(o,s,l).then(t=>t(this.axios,this.basePath))}getRoot(o,s){return I(this.configuration).getRoot(o,s).then(l=>l(this.axios,this.basePath))}inviteSpaceRoot(o,s,l){return I(this.configuration).inviteSpaceRoot(o,s,l).then(t=>t(this.axios,this.basePath))}listPermissionsSpaceRoot(o,s,l,t,a,r){return I(this.configuration).listPermissionsSpaceRoot(o,s,l,t,a,r).then(n=>n(this.axios,this.basePath))}setPermissionPasswordSpaceRoot(o,s,l,t){return I(this.configuration).setPermissionPasswordSpaceRoot(o,s,l,t).then(a=>a(this.axios,this.basePath))}updatePermissionSpaceRoot(o,s,l,t){return I(this.configuration).updatePermissionSpaceRoot(o,s,l,t).then(a=>a(this.axios,this.basePath))}}const Ze={LibreGraphPermissionsActionsAllowedValues:"@libre.graph.permissions.actions.allowedValues",LibreGraphPermissionsRolesAllowedValues:"@libre.graph.permissions.roles.allowedValues",Value:"value"},ie=function(e){return{addUserToClass:async(o,s,l={})=>{h("addUserToClass","classId",o),h("addUserToClass","classMemberReference",s);const t="/v1.0/education/classes/{class-id}/members/$ref".replace("{class-id}",encodeURIComponent(String(o))),a=new URL(t,v);let r;e&&(r=e.baseOptions);const n={method:"POST",...r,...l},c={},i={};await R(c,e),c["Content-Type"]="application/json",A(a,i);let d=r&&r.headers?r.headers:{};return n.headers={...c,...d,...l.headers},n.data=x(s,n,e),{url:O(a),options:n}},createClass:async(o,s={})=>{h("createClass","educationClass",o);const l="/v1.0/education/classes",t=new URL(l,v);let a;e&&(a=e.baseOptions);const r={method:"POST",...a,...s},n={},c={};await R(n,e),n["Content-Type"]="application/json",A(t,c);let i=a&&a.headers?a.headers:{};return r.headers={...n,...i,...s.headers},r.data=x(o,r,e),{url:O(t),options:r}},deleteClass:async(o,s={})=>{h("deleteClass","classId",o);const l="/v1.0/education/classes/{class-id}".replace("{class-id}",encodeURIComponent(String(o))),t=new URL(l,v);let a;e&&(a=e.baseOptions);const r={method:"DELETE",...a,...s},n={},c={};await R(n,e),A(t,c);let i=a&&a.headers?a.headers:{};return r.headers={...n,...i,...s.headers},{url:O(t),options:r}},deleteUserFromClass:async(o,s,l={})=>{h("deleteUserFromClass","classId",o),h("deleteUserFromClass","userId",s);const t="/v1.0/education/classes/{class-id}/members/{user-id}/$ref".replace("{class-id}",encodeURIComponent(String(o))).replace("{user-id}",encodeURIComponent(String(s))),a=new URL(t,v);let r;e&&(r=e.baseOptions);const n={method:"DELETE",...r,...l},c={},i={};await R(c,e),A(a,i);let d=r&&r.headers?r.headers:{};return n.headers={...c,...d,...l.headers},{url:O(a),options:n}},getClass:async(o,s={})=>{h("getClass","classId",o);const l="/v1.0/education/classes/{class-id}".replace("{class-id}",encodeURIComponent(String(o))),t=new URL(l,v);let a;e&&(a=e.baseOptions);const r={method:"GET",...a,...s},n={},c={};await R(n,e),A(t,c);let i=a&&a.headers?a.headers:{};return r.headers={...n,...i,...s.headers},{url:O(t),options:r}},listClassMembers:async(o,s={})=>{h("listClassMembers","classId",o);const l="/v1.0/education/classes/{class-id}/members".replace("{class-id}",encodeURIComponent(String(o))),t=new URL(l,v);let a;e&&(a=e.baseOptions);const r={method:"GET",...a,...s},n={},c={};await R(n,e),A(t,c);let i=a&&a.headers?a.headers:{};return r.headers={...n,...i,...s.headers},{url:O(t),options:r}},listClasses:async(o={})=>{const s="/v1.0/education/classes",l=new URL(s,v);let t;e&&(t=e.baseOptions);const a={method:"GET",...t,...o},r={},n={};await R(r,e),A(l,n);let c=t&&t.headers?t.headers:{};return a.headers={...r,...c,...o.headers},{url:O(l),options:a}},updateClass:async(o,s,l={})=>{h("updateClass","classId",o),h("updateClass","educationClass",s);const t="/v1.0/education/classes/{class-id}".replace("{class-id}",encodeURIComponent(String(o))),a=new URL(t,v);let r;e&&(r=e.baseOptions);const n={method:"PATCH",...r,...l},c={},i={};await R(c,e),c["Content-Type"]="application/json",A(a,i);let d=r&&r.headers?r.headers:{};return n.headers={...c,...d,...l.headers},n.data=x(s,n,e),{url:O(a),options:n}}}},E=function(e){const o=ie(e);return{async addUserToClass(s,l,t){var c,i;const a=await o.addUserToClass(s,l,t),r=(e==null?void 0:e.serverIndex)??0,n=(i=(c=V["EducationClassApi.addUserToClass"])==null?void 0:c[r])==null?void 0:i.url;return(d,p)=>u(a,m.axios,P,e)(d,n||p)},async createClass(s,l){var n,c;const t=await o.createClass(s,l),a=(e==null?void 0:e.serverIndex)??0,r=(c=(n=V["EducationClassApi.createClass"])==null?void 0:n[a])==null?void 0:c.url;return(i,d)=>u(t,m.axios,P,e)(i,r||d)},async deleteClass(s,l){var n,c;const t=await o.deleteClass(s,l),a=(e==null?void 0:e.serverIndex)??0,r=(c=(n=V["EducationClassApi.deleteClass"])==null?void 0:n[a])==null?void 0:c.url;return(i,d)=>u(t,m.axios,P,e)(i,r||d)},async deleteUserFromClass(s,l,t){var c,i;const a=await o.deleteUserFromClass(s,l,t),r=(e==null?void 0:e.serverIndex)??0,n=(i=(c=V["EducationClassApi.deleteUserFromClass"])==null?void 0:c[r])==null?void 0:i.url;return(d,p)=>u(a,m.axios,P,e)(d,n||p)},async getClass(s,l){var n,c;const t=await o.getClass(s,l),a=(e==null?void 0:e.serverIndex)??0,r=(c=(n=V["EducationClassApi.getClass"])==null?void 0:n[a])==null?void 0:c.url;return(i,d)=>u(t,m.axios,P,e)(i,r||d)},async listClassMembers(s,l){var n,c;const t=await o.listClassMembers(s,l),a=(e==null?void 0:e.serverIndex)??0,r=(c=(n=V["EducationClassApi.listClassMembers"])==null?void 0:n[a])==null?void 0:c.url;return(i,d)=>u(t,m.axios,P,e)(i,r||d)},async listClasses(s){var r,n;const l=await o.listClasses(s),t=(e==null?void 0:e.serverIndex)??0,a=(n=(r=V["EducationClassApi.listClasses"])==null?void 0:r[t])==null?void 0:n.url;return(c,i)=>u(l,m.axios,P,e)(c,a||i)},async updateClass(s,l,t){var c,i;const a=await o.updateClass(s,l,t),r=(e==null?void 0:e.serverIndex)??0,n=(i=(c=V["EducationClassApi.updateClass"])==null?void 0:c[r])==null?void 0:i.url;return(d,p)=>u(a,m.axios,P,e)(d,n||p)}}},ge=function(e,o,s){const l=E(e);return{addUserToClass(t,a,r){return l.addUserToClass(t,a,r).then(n=>n(s,o))},createClass(t,a){return l.createClass(t,a).then(r=>r(s,o))},deleteClass(t,a){return l.deleteClass(t,a).then(r=>r(s,o))},deleteUserFromClass(t,a,r){return l.deleteUserFromClass(t,a,r).then(n=>n(s,o))},getClass(t,a){return l.getClass(t,a).then(r=>r(s,o))},listClassMembers(t,a){return l.listClassMembers(t,a).then(r=>r(s,o))},listClasses(t){return l.listClasses(t).then(a=>a(s,o))},updateClass(t,a,r){return l.updateClass(t,a,r).then(n=>n(s,o))}}};class fe extends b{addUserToClass(o,s,l){return E(this.configuration).addUserToClass(o,s,l).then(t=>t(this.axios,this.basePath))}createClass(o,s){return E(this.configuration).createClass(o,s).then(l=>l(this.axios,this.basePath))}deleteClass(o,s){return E(this.configuration).deleteClass(o,s).then(l=>l(this.axios,this.basePath))}deleteUserFromClass(o,s,l){return E(this.configuration).deleteUserFromClass(o,s,l).then(t=>t(this.axios,this.basePath))}getClass(o,s){return E(this.configuration).getClass(o,s).then(l=>l(this.axios,this.basePath))}listClassMembers(o,s){return E(this.configuration).listClassMembers(o,s).then(l=>l(this.axios,this.basePath))}listClasses(o){return E(this.configuration).listClasses(o).then(s=>s(this.axios,this.basePath))}updateClass(o,s,l){return E(this.configuration).updateClass(o,s,l).then(t=>t(this.axios,this.basePath))}}const de=function(e){return{addTeacherToClass:async(o,s,l={})=>{h("addTeacherToClass","classId",o),h("addTeacherToClass","classTeacherReference",s);const t="/v1.0/education/classes/{class-id}/teachers/$ref".replace("{class-id}",encodeURIComponent(String(o))),a=new URL(t,v);let r;e&&(r=e.baseOptions);const n={method:"POST",...r,...l},c={},i={};await R(c,e),c["Content-Type"]="application/json",A(a,i);let d=r&&r.headers?r.headers:{};return n.headers={...c,...d,...l.headers},n.data=x(s,n,e),{url:O(a),options:n}},deleteTeacherFromClass:async(o,s,l={})=>{h("deleteTeacherFromClass","classId",o),h("deleteTeacherFromClass","userId",s);const t="/v1.0/education/classes/{class-id}/teachers/{user-id}/$ref".replace("{class-id}",encodeURIComponent(String(o))).replace("{user-id}",encodeURIComponent(String(s))),a=new URL(t,v);let r;e&&(r=e.baseOptions);const n={method:"DELETE",...r,...l},c={},i={};await R(c,e),A(a,i);let d=r&&r.headers?r.headers:{};return n.headers={...c,...d,...l.headers},{url:O(a),options:n}},getTeachers:async(o,s={})=>{h("getTeachers","classId",o);const l="/v1.0/education/classes/{class-id}/teachers".replace("{class-id}",encodeURIComponent(String(o))),t=new URL(l,v);let a;e&&(a=e.baseOptions);const r={method:"GET",...a,...s},n={},c={};await R(n,e),A(t,c);let i=a&&a.headers?a.headers:{};return r.headers={...n,...i,...s.headers},{url:O(t),options:r}}}},$=function(e){const o=de(e);return{async addTeacherToClass(s,l,t){var c,i;const a=await o.addTeacherToClass(s,l,t),r=(e==null?void 0:e.serverIndex)??0,n=(i=(c=V["EducationClassTeachersApi.addTeacherToClass"])==null?void 0:c[r])==null?void 0:i.url;return(d,p)=>u(a,m.axios,P,e)(d,n||p)},async deleteTeacherFromClass(s,l,t){var c,i;const a=await o.deleteTeacherFromClass(s,l,t),r=(e==null?void 0:e.serverIndex)??0,n=(i=(c=V["EducationClassTeachersApi.deleteTeacherFromClass"])==null?void 0:c[r])==null?void 0:i.url;return(d,p)=>u(a,m.axios,P,e)(d,n||p)},async getTeachers(s,l){var n,c;const t=await o.getTeachers(s,l),a=(e==null?void 0:e.serverIndex)??0,r=(c=(n=V["EducationClassTeachersApi.getTeachers"])==null?void 0:n[a])==null?void 0:c.url;return(i,d)=>u(t,m.axios,P,e)(i,r||d)}}},es=function(e,o,s){const l=$(e);return{addTeacherToClass(t,a,r){return l.addTeacherToClass(t,a,r).then(n=>n(s,o))},deleteTeacherFromClass(t,a,r){return l.deleteTeacherFromClass(t,a,r).then(n=>n(s,o))},getTeachers(t,a){return l.getTeachers(t,a).then(r=>r(s,o))}}};class ss extends b{addTeacherToClass(o,s,l){return $(this.configuration).addTeacherToClass(o,s,l).then(t=>t(this.axios,this.basePath))}deleteTeacherFromClass(o,s,l){return $(this.configuration).deleteTeacherFromClass(o,s,l).then(t=>t(this.axios,this.basePath))}getTeachers(o,s){return $(this.configuration).getTeachers(o,s).then(l=>l(this.axios,this.basePath))}}const pe=function(e){return{addClassToSchool:async(o,s,l={})=>{h("addClassToSchool","schoolId",o),h("addClassToSchool","classReference",s);const t="/v1.0/education/schools/{school-id}/classes/$ref".replace("{school-id}",encodeURIComponent(String(o))),a=new URL(t,v);let r;e&&(r=e.baseOptions);const n={method:"POST",...r,...l},c={},i={};await R(c,e),c["Content-Type"]="application/json",A(a,i);let d=r&&r.headers?r.headers:{};return n.headers={...c,...d,...l.headers},n.data=x(s,n,e),{url:O(a),options:n}},addUserToSchool:async(o,s,l={})=>{h("addUserToSchool","schoolId",o),h("addUserToSchool","educationUserReference",s);const t="/v1.0/education/schools/{school-id}/users/$ref".replace("{school-id}",encodeURIComponent(String(o))),a=new URL(t,v);let r;e&&(r=e.baseOptions);const n={method:"POST",...r,...l},c={},i={};await R(c,e),c["Content-Type"]="application/json",A(a,i);let d=r&&r.headers?r.headers:{};return n.headers={...c,...d,...l.headers},n.data=x(s,n,e),{url:O(a),options:n}},createSchool:async(o,s={})=>{h("createSchool","educationSchool",o);const l="/v1.0/education/schools",t=new URL(l,v);let a;e&&(a=e.baseOptions);const r={method:"POST",...a,...s},n={},c={};await R(n,e),n["Content-Type"]="application/json",A(t,c);let i=a&&a.headers?a.headers:{};return r.headers={...n,...i,...s.headers},r.data=x(o,r,e),{url:O(t),options:r}},deleteClassFromSchool:async(o,s,l={})=>{h("deleteClassFromSchool","schoolId",o),h("deleteClassFromSchool","classId",s);const t="/v1.0/education/schools/{school-id}/classes/{class-id}/$ref".replace("{school-id}",encodeURIComponent(String(o))).replace("{class-id}",encodeURIComponent(String(s))),a=new URL(t,v);let r;e&&(r=e.baseOptions);const n={method:"DELETE",...r,...l},c={},i={};await R(c,e),A(a,i);let d=r&&r.headers?r.headers:{};return n.headers={...c,...d,...l.headers},{url:O(a),options:n}},deleteSchool:async(o,s={})=>{h("deleteSchool","schoolId",o);const l="/v1.0/education/schools/{school-id}".replace("{school-id}",encodeURIComponent(String(o))),t=new URL(l,v);let a;e&&(a=e.baseOptions);const r={method:"DELETE",...a,...s},n={},c={};await R(n,e),A(t,c);let i=a&&a.headers?a.headers:{};return r.headers={...n,...i,...s.headers},{url:O(t),options:r}},deleteUserFromSchool:async(o,s,l={})=>{h("deleteUserFromSchool","schoolId",o),h("deleteUserFromSchool","userId",s);const t="/v1.0/education/schools/{school-id}/users/{user-id}/$ref".replace("{school-id}",encodeURIComponent(String(o))).replace("{user-id}",encodeURIComponent(String(s))),a=new URL(t,v);let r;e&&(r=e.baseOptions);const n={method:"DELETE",...r,...l},c={},i={};await R(c,e),A(a,i);let d=r&&r.headers?r.headers:{};return n.headers={...c,...d,...l.headers},{url:O(a),options:n}},getSchool:async(o,s={})=>{h("getSchool","schoolId",o);const l="/v1.0/education/schools/{school-id}".replace("{school-id}",encodeURIComponent(String(o))),t=new URL(l,v);let a;e&&(a=e.baseOptions);const r={method:"GET",...a,...s},n={},c={};await R(n,e),A(t,c);let i=a&&a.headers?a.headers:{};return r.headers={...n,...i,...s.headers},{url:O(t),options:r}},listSchoolClasses:async(o,s={})=>{h("listSchoolClasses","schoolId",o);const l="/v1.0/education/schools/{school-id}/classes".replace("{school-id}",encodeURIComponent(String(o))),t=new URL(l,v);let a;e&&(a=e.baseOptions);const r={method:"GET",...a,...s},n={},c={};await R(n,e),A(t,c);let i=a&&a.headers?a.headers:{};return r.headers={...n,...i,...s.headers},{url:O(t),options:r}},listSchoolUsers:async(o,s={})=>{h("listSchoolUsers","schoolId",o);const l="/v1.0/education/schools/{school-id}/users".replace("{school-id}",encodeURIComponent(String(o))),t=new URL(l,v);let a;e&&(a=e.baseOptions);const r={method:"GET",...a,...s},n={},c={};await R(n,e),A(t,c);let i=a&&a.headers?a.headers:{};return r.headers={...n,...i,...s.headers},{url:O(t),options:r}},listSchools:async(o={})=>{const s="/v1.0/education/schools",l=new URL(s,v);let t;e&&(t=e.baseOptions);const a={method:"GET",...t,...o},r={},n={};await R(r,e),A(l,n);let c=t&&t.headers?t.headers:{};return a.headers={...r,...c,...o.headers},{url:O(l),options:a}},updateSchool:async(o,s,l={})=>{h("updateSchool","schoolId",o),h("updateSchool","educationSchool",s);const t="/v1.0/education/schools/{school-id}".replace("{school-id}",encodeURIComponent(String(o))),a=new URL(t,v);let r;e&&(r=e.baseOptions);const n={method:"PATCH",...r,...l},c={},i={};await R(c,e),c["Content-Type"]="application/json",A(a,i);let d=r&&r.headers?r.headers:{};return n.headers={...c,...d,...l.headers},n.data=x(s,n,e),{url:O(a),options:n}}}},w=function(e){const o=pe(e);return{async addClassToSchool(s,l,t){var c,i;const a=await o.addClassToSchool(s,l,t),r=(e==null?void 0:e.serverIndex)??0,n=(i=(c=V["EducationSchoolApi.addClassToSchool"])==null?void 0:c[r])==null?void 0:i.url;return(d,p)=>u(a,m.axios,P,e)(d,n||p)},async addUserToSchool(s,l,t){var c,i;const a=await o.addUserToSchool(s,l,t),r=(e==null?void 0:e.serverIndex)??0,n=(i=(c=V["EducationSchoolApi.addUserToSchool"])==null?void 0:c[r])==null?void 0:i.url;return(d,p)=>u(a,m.axios,P,e)(d,n||p)},async createSchool(s,l){var n,c;const t=await o.createSchool(s,l),a=(e==null?void 0:e.serverIndex)??0,r=(c=(n=V["EducationSchoolApi.createSchool"])==null?void 0:n[a])==null?void 0:c.url;return(i,d)=>u(t,m.axios,P,e)(i,r||d)},async deleteClassFromSchool(s,l,t){var c,i;const a=await o.deleteClassFromSchool(s,l,t),r=(e==null?void 0:e.serverIndex)??0,n=(i=(c=V["EducationSchoolApi.deleteClassFromSchool"])==null?void 0:c[r])==null?void 0:i.url;return(d,p)=>u(a,m.axios,P,e)(d,n||p)},async deleteSchool(s,l){var n,c;const t=await o.deleteSchool(s,l),a=(e==null?void 0:e.serverIndex)??0,r=(c=(n=V["EducationSchoolApi.deleteSchool"])==null?void 0:n[a])==null?void 0:c.url;return(i,d)=>u(t,m.axios,P,e)(i,r||d)},async deleteUserFromSchool(s,l,t){var c,i;const a=await o.deleteUserFromSchool(s,l,t),r=(e==null?void 0:e.serverIndex)??0,n=(i=(c=V["EducationSchoolApi.deleteUserFromSchool"])==null?void 0:c[r])==null?void 0:i.url;return(d,p)=>u(a,m.axios,P,e)(d,n||p)},async getSchool(s,l){var n,c;const t=await o.getSchool(s,l),a=(e==null?void 0:e.serverIndex)??0,r=(c=(n=V["EducationSchoolApi.getSchool"])==null?void 0:n[a])==null?void 0:c.url;return(i,d)=>u(t,m.axios,P,e)(i,r||d)},async listSchoolClasses(s,l){var n,c;const t=await o.listSchoolClasses(s,l),a=(e==null?void 0:e.serverIndex)??0,r=(c=(n=V["EducationSchoolApi.listSchoolClasses"])==null?void 0:n[a])==null?void 0:c.url;return(i,d)=>u(t,m.axios,P,e)(i,r||d)},async listSchoolUsers(s,l){var n,c;const t=await o.listSchoolUsers(s,l),a=(e==null?void 0:e.serverIndex)??0,r=(c=(n=V["EducationSchoolApi.listSchoolUsers"])==null?void 0:n[a])==null?void 0:c.url;return(i,d)=>u(t,m.axios,P,e)(i,r||d)},async listSchools(s){var r,n;const l=await o.listSchools(s),t=(e==null?void 0:e.serverIndex)??0,a=(n=(r=V["EducationSchoolApi.listSchools"])==null?void 0:r[t])==null?void 0:n.url;return(c,i)=>u(l,m.axios,P,e)(c,a||i)},async updateSchool(s,l,t){var c,i;const a=await o.updateSchool(s,l,t),r=(e==null?void 0:e.serverIndex)??0,n=(i=(c=V["EducationSchoolApi.updateSchool"])==null?void 0:c[r])==null?void 0:i.url;return(d,p)=>u(a,m.axios,P,e)(d,n||p)}}},rs=function(e,o,s){const l=w(e);return{addClassToSchool(t,a,r){return l.addClassToSchool(t,a,r).then(n=>n(s,o))},addUserToSchool(t,a,r){return l.addUserToSchool(t,a,r).then(n=>n(s,o))},createSchool(t,a){return l.createSchool(t,a).then(r=>r(s,o))},deleteClassFromSchool(t,a,r){return l.deleteClassFromSchool(t,a,r).then(n=>n(s,o))},deleteSchool(t,a){return l.deleteSchool(t,a).then(r=>r(s,o))},deleteUserFromSchool(t,a,r){return l.deleteUserFromSchool(t,a,r).then(n=>n(s,o))},getSchool(t,a){return l.getSchool(t,a).then(r=>r(s,o))},listSchoolClasses(t,a){return l.listSchoolClasses(t,a).then(r=>r(s,o))},listSchoolUsers(t,a){return l.listSchoolUsers(t,a).then(r=>r(s,o))},listSchools(t){return l.listSchools(t).then(a=>a(s,o))},updateSchool(t,a,r){return l.updateSchool(t,a,r).then(n=>n(s,o))}}};class as extends b{addClassToSchool(o,s,l){return w(this.configuration).addClassToSchool(o,s,l).then(t=>t(this.axios,this.basePath))}addUserToSchool(o,s,l){return w(this.configuration).addUserToSchool(o,s,l).then(t=>t(this.axios,this.basePath))}createSchool(o,s){return w(this.configuration).createSchool(o,s).then(l=>l(this.axios,this.basePath))}deleteClassFromSchool(o,s,l){return w(this.configuration).deleteClassFromSchool(o,s,l).then(t=>t(this.axios,this.basePath))}deleteSchool(o,s){return w(this.configuration).deleteSchool(o,s).then(l=>l(this.axios,this.basePath))}deleteUserFromSchool(o,s,l){return w(this.configuration).deleteUserFromSchool(o,s,l).then(t=>t(this.axios,this.basePath))}getSchool(o,s){return w(this.configuration).getSchool(o,s).then(l=>l(this.axios,this.basePath))}listSchoolClasses(o,s){return w(this.configuration).listSchoolClasses(o,s).then(l=>l(this.axios,this.basePath))}listSchoolUsers(o,s){return w(this.configuration).listSchoolUsers(o,s).then(l=>l(this.axios,this.basePath))}listSchools(o){return w(this.configuration).listSchools(o).then(s=>s(this.axios,this.basePath))}updateSchool(o,s,l){return w(this.configuration).updateSchool(o,s,l).then(t=>t(this.axios,this.basePath))}}const he=function(e){return{createEducationUser:async(o,s={})=>{h("createEducationUser","educationUser",o);const l="/v1.0/education/users",t=new URL(l,v);let a;e&&(a=e.baseOptions);const r={method:"POST",...a,...s},n={},c={};await R(n,e),n["Content-Type"]="application/json",A(t,c);let i=a&&a.headers?a.headers:{};return r.headers={...n,...i,...s.headers},r.data=x(o,r,e),{url:O(t),options:r}},deleteEducationUser:async(o,s={})=>{h("deleteEducationUser","userId",o);const l="/v1.0/education/users/{user-id}".replace("{user-id}",encodeURIComponent(String(o))),t=new URL(l,v);let a;e&&(a=e.baseOptions);const r={method:"DELETE",...a,...s},n={},c={};await R(n,e),A(t,c);let i=a&&a.headers?a.headers:{};return r.headers={...n,...i,...s.headers},{url:O(t),options:r}},getEducationUser:async(o,s,l={})=>{h("getEducationUser","userId",o);const t="/v1.0/education/users/{user-id}".replace("{user-id}",encodeURIComponent(String(o))),a=new URL(t,v);let r;e&&(r=e.baseOptions);const n={method:"GET",...r,...l},c={},i={};await R(c,e),s&&(i.$expand=Array.from(s).join(C.csv)),A(a,i);let d=r&&r.headers?r.headers:{};return n.headers={...c,...d,...l.headers},{url:O(a),options:n}},listEducationUsers:async(o,s,l={})=>{const t="/v1.0/education/users",a=new URL(t,v);let r;e&&(r=e.baseOptions);const n={method:"GET",...r,...l},c={},i={};await R(c,e),o&&(i.$orderby=Array.from(o).join(C.csv)),s&&(i.$expand=Array.from(s).join(C.csv)),A(a,i);let d=r&&r.headers?r.headers:{};return n.headers={...c,...d,...l.headers},{url:O(a),options:n}},updateEducationUser:async(o,s,l={})=>{h("updateEducationUser","userId",o),h("updateEducationUser","educationUser",s);const t="/v1.0/education/users/{user-id}".replace("{user-id}",encodeURIComponent(String(o))),a=new URL(t,v);let r;e&&(r=e.baseOptions);const n={method:"PATCH",...r,...l},c={},i={};await R(c,e),c["Content-Type"]="application/json",A(a,i);let d=r&&r.headers?r.headers:{};return n.headers={...c,...d,...l.headers},n.data=x(s,n,e),{url:O(a),options:n}}}},M=function(e){const o=he(e);return{async createEducationUser(s,l){var n,c;const t=await o.createEducationUser(s,l),a=(e==null?void 0:e.serverIndex)??0,r=(c=(n=V["EducationUserApi.createEducationUser"])==null?void 0:n[a])==null?void 0:c.url;return(i,d)=>u(t,m.axios,P,e)(i,r||d)},async deleteEducationUser(s,l){var n,c;const t=await o.deleteEducationUser(s,l),a=(e==null?void 0:e.serverIndex)??0,r=(c=(n=V["EducationUserApi.deleteEducationUser"])==null?void 0:n[a])==null?void 0:c.url;return(i,d)=>u(t,m.axios,P,e)(i,r||d)},async getEducationUser(s,l,t){var c,i;const a=await o.getEducationUser(s,l,t),r=(e==null?void 0:e.serverIndex)??0,n=(i=(c=V["EducationUserApi.getEducationUser"])==null?void 0:c[r])==null?void 0:i.url;return(d,p)=>u(a,m.axios,P,e)(d,n||p)},async listEducationUsers(s,l,t){var c,i;const a=await o.listEducationUsers(s,l,t),r=(e==null?void 0:e.serverIndex)??0,n=(i=(c=V["EducationUserApi.listEducationUsers"])==null?void 0:c[r])==null?void 0:i.url;return(d,p)=>u(a,m.axios,P,e)(d,n||p)},async updateEducationUser(s,l,t){var c,i;const a=await o.updateEducationUser(s,l,t),r=(e==null?void 0:e.serverIndex)??0,n=(i=(c=V["EducationUserApi.updateEducationUser"])==null?void 0:c[r])==null?void 0:i.url;return(d,p)=>u(a,m.axios,P,e)(d,n||p)}}},ts=function(e,o,s){const l=M(e);return{createEducationUser(t,a){return l.createEducationUser(t,a).then(r=>r(s,o))},deleteEducationUser(t,a){return l.deleteEducationUser(t,a).then(r=>r(s,o))},getEducationUser(t,a,r){return l.getEducationUser(t,a,r).then(n=>n(s,o))},listEducationUsers(t,a,r){return l.listEducationUsers(t,a,r).then(n=>n(s,o))},updateEducationUser(t,a,r){return l.updateEducationUser(t,a,r).then(n=>n(s,o))}}};class os extends b{createEducationUser(o,s){return M(this.configuration).createEducationUser(o,s).then(l=>l(this.axios,this.basePath))}deleteEducationUser(o,s){return M(this.configuration).deleteEducationUser(o,s).then(l=>l(this.axios,this.basePath))}getEducationUser(o,s,l){return M(this.configuration).getEducationUser(o,s,l).then(t=>t(this.axios,this.basePath))}listEducationUsers(o,s,l){return M(this.configuration).listEducationUsers(o,s,l).then(t=>t(this.axios,this.basePath))}updateEducationUser(o,s,l){return M(this.configuration).updateEducationUser(o,s,l).then(t=>t(this.axios,this.basePath))}}const ls={MemberOf:"memberOf"},ns={DisplayName:"displayName",DisplayNameDesc:"displayName desc",Mail:"mail",MailDesc:"mail desc",OnPremisesSamAccountName:"onPremisesSamAccountName",OnPremisesSamAccountNameDesc:"onPremisesSamAccountName desc"},cs={MemberOf:"memberOf"},me=function(e){return{addMember:async(o,s,l={})=>{h("addMember","groupId",o),h("addMember","memberReference",s);const t="/v1.0/groups/{group-id}/members/$ref".replace("{group-id}",encodeURIComponent(String(o))),a=new URL(t,v);let r;e&&(r=e.baseOptions);const n={method:"POST",...r,...l},c={},i={};S(n,e),c["Content-Type"]="application/json",A(a,i);let d=r&&r.headers?r.headers:{};return n.headers={...c,...d,...l.headers},n.data=x(s,n,e),{url:O(a),options:n}},deleteGroup:async(o,s,l={})=>{h("deleteGroup","groupId",o);const t="/v1.0/groups/{group-id}".replace("{group-id}",encodeURIComponent(String(o))),a=new URL(t,v);let r;e&&(r=e.baseOptions);const n={method:"DELETE",...r,...l},c={},i={};S(n,e),s!=null&&(c["If-Match"]=String(s)),A(a,i);let d=r&&r.headers?r.headers:{};return n.headers={...c,...d,...l.headers},{url:O(a),options:n}},deleteMember:async(o,s,l,t={})=>{h("deleteMember","groupId",o),h("deleteMember","directoryObjectId",s);const a="/v1.0/groups/{group-id}/members/{directory-object-id}/$ref".replace("{group-id}",encodeURIComponent(String(o))).replace("{directory-object-id}",encodeURIComponent(String(s))),r=new URL(a,v);let n;e&&(n=e.baseOptions);const c={method:"DELETE",...n,...t},i={},d={};S(c,e),l!=null&&(i["If-Match"]=String(l)),A(r,d);let p=n&&n.headers?n.headers:{};return c.headers={...i,...p,...t.headers},{url:O(r),options:c}},getGroup:async(o,s,l,t={})=>{h("getGroup","groupId",o);const a="/v1.0/groups/{group-id}".replace("{group-id}",encodeURIComponent(String(o))),r=new URL(a,v);let n;e&&(n=e.baseOptions);const c={method:"GET",...n,...t},i={},d={};S(c,e),s&&(d.$select=Array.from(s).join(C.csv)),l&&(d.$expand=Array.from(l).join(C.csv)),A(r,d);let p=n&&n.headers?n.headers:{};return c.headers={...i,...p,...t.headers},{url:O(r),options:c}},listMembers:async(o,s={})=>{h("listMembers","groupId",o);const l="/v1.0/groups/{group-id}/members".replace("{group-id}",encodeURIComponent(String(o))),t=new URL(l,v);let a;e&&(a=e.baseOptions);const r={method:"GET",...a,...s},n={},c={};S(r,e),A(t,c);let i=a&&a.headers?a.headers:{};return r.headers={...n,...i,...s.headers},{url:O(t),options:r}},updateGroup:async(o,s,l={})=>{h("updateGroup","groupId",o),h("updateGroup","group",s);const t="/v1.0/groups/{group-id}".replace("{group-id}",encodeURIComponent(String(o))),a=new URL(t,v);let r;e&&(r=e.baseOptions);const n={method:"PATCH",...r,...l},c={},i={};S(n,e),c["Content-Type"]="application/json",A(a,i);let d=r&&r.headers?r.headers:{};return n.headers={...c,...d,...l.headers},n.data=x(s,n,e),{url:O(a),options:n}}}},T=function(e){const o=me(e);return{async addMember(s,l,t){var c,i;const a=await o.addMember(s,l,t),r=(e==null?void 0:e.serverIndex)??0,n=(i=(c=V["GroupApi.addMember"])==null?void 0:c[r])==null?void 0:i.url;return(d,p)=>u(a,m.axios,P,e)(d,n||p)},async deleteGroup(s,l,t){var c,i;const a=await o.deleteGroup(s,l,t),r=(e==null?void 0:e.serverIndex)??0,n=(i=(c=V["GroupApi.deleteGroup"])==null?void 0:c[r])==null?void 0:i.url;return(d,p)=>u(a,m.axios,P,e)(d,n||p)},async deleteMember(s,l,t,a){var i,d;const r=await o.deleteMember(s,l,t,a),n=(e==null?void 0:e.serverIndex)??0,c=(d=(i=V["GroupApi.deleteMember"])==null?void 0:i[n])==null?void 0:d.url;return(p,U)=>u(r,m.axios,P,e)(p,c||U)},async getGroup(s,l,t,a){var i,d;const r=await o.getGroup(s,l,t,a),n=(e==null?void 0:e.serverIndex)??0,c=(d=(i=V["GroupApi.getGroup"])==null?void 0:i[n])==null?void 0:d.url;return(p,U)=>u(r,m.axios,P,e)(p,c||U)},async listMembers(s,l){var n,c;const t=await o.listMembers(s,l),a=(e==null?void 0:e.serverIndex)??0,r=(c=(n=V["GroupApi.listMembers"])==null?void 0:n[a])==null?void 0:c.url;return(i,d)=>u(t,m.axios,P,e)(i,r||d)},async updateGroup(s,l,t){var c,i;const a=await o.updateGroup(s,l,t),r=(e==null?void 0:e.serverIndex)??0,n=(i=(c=V["GroupApi.updateGroup"])==null?void 0:c[r])==null?void 0:i.url;return(d,p)=>u(a,m.axios,P,e)(d,n||p)}}},is=function(e,o,s){const l=T(e);return{addMember(t,a,r){return l.addMember(t,a,r).then(n=>n(s,o))},deleteGroup(t,a,r){return l.deleteGroup(t,a,r).then(n=>n(s,o))},deleteMember(t,a,r,n){return l.deleteMember(t,a,r,n).then(c=>c(s,o))},getGroup(t,a,r,n){return l.getGroup(t,a,r,n).then(c=>c(s,o))},listMembers(t,a){return l.listMembers(t,a).then(r=>r(s,o))},updateGroup(t,a,r){return l.updateGroup(t,a,r).then(n=>n(s,o))}}};class ds extends b{addMember(o,s,l){return T(this.configuration).addMember(o,s,l).then(t=>t(this.axios,this.basePath))}deleteGroup(o,s,l){return T(this.configuration).deleteGroup(o,s,l).then(t=>t(this.axios,this.basePath))}deleteMember(o,s,l,t){return T(this.configuration).deleteMember(o,s,l,t).then(a=>a(this.axios,this.basePath))}getGroup(o,s,l,t){return T(this.configuration).getGroup(o,s,l,t).then(a=>a(this.axios,this.basePath))}listMembers(o,s){return T(this.configuration).listMembers(o,s).then(l=>l(this.axios,this.basePath))}updateGroup(o,s,l){return T(this.configuration).updateGroup(o,s,l).then(t=>t(this.axios,this.basePath))}}const ps={Id:"id",Description:"description",DisplayName:"displayName",Members:"members"},hs={Members:"members"},Pe=function(e){return{createGroup:async(o,s={})=>{h("createGroup","group",o);const l="/v1.0/groups",t=new URL(l,v);let a;e&&(a=e.baseOptions);const r={method:"POST",...a,...s},n={},c={};S(r,e),n["Content-Type"]="application/json",A(t,c);let i=a&&a.headers?a.headers:{};return r.headers={...n,...i,...s.headers},r.data=x(o,r,e),{url:O(t),options:r}},listGroups:async(o,s,l,t,a={})=>{const r="/v1.0/groups",n=new URL(r,v);let c;e&&(c=e.baseOptions);const i={method:"GET",...c,...a},d={},p={};S(i,e),o!==void 0&&(p.$search=o),s&&(p.$orderby=Array.from(s).join(C.csv)),l&&(p.$select=Array.from(l).join(C.csv)),t&&(p.$expand=Array.from(t).join(C.csv)),A(n,p);let U=c&&c.headers?c.headers:{};return i.headers={...d,...U,...a.headers},{url:O(n),options:i}}}},z=function(e){const o=Pe(e);return{async createGroup(s,l){var n,c;const t=await o.createGroup(s,l),a=(e==null?void 0:e.serverIndex)??0,r=(c=(n=V["GroupsApi.createGroup"])==null?void 0:n[a])==null?void 0:c.url;return(i,d)=>u(t,m.axios,P,e)(i,r||d)},async listGroups(s,l,t,a,r){var d,p;const n=await o.listGroups(s,l,t,a,r),c=(e==null?void 0:e.serverIndex)??0,i=(p=(d=V["GroupsApi.listGroups"])==null?void 0:d[c])==null?void 0:p.url;return(U,y)=>u(n,m.axios,P,e)(U,i||y)}}},ms=function(e,o,s){const l=z(e);return{createGroup(t,a){return l.createGroup(t,a).then(r=>r(s,o))},listGroups(t,a,r,n,c){return l.listGroups(t,a,r,n,c).then(i=>i(s,o))}}};class Ps extends b{createGroup(o,s){return z(this.configuration).createGroup(o,s).then(l=>l(this.axios,this.basePath))}listGroups(o,s,l,t,a){return z(this.configuration).listGroups(o,s,l,t,a).then(r=>r(this.axios,this.basePath))}}const Vs={DisplayName:"displayName",DisplayNameDesc:"displayName desc"},vs={Id:"id",Description:"description",DisplayName:"displayName",Mail:"mail",Members:"members"},As={Members:"members"},Ve=function(e){return{changeOwnPassword:async(o,s={})=>{h("changeOwnPassword","passwordChange",o);const l="/v1.0/me/changePassword",t=new URL(l,v);let a;e&&(a=e.baseOptions);const r={method:"POST",...a,...s},n={},c={};S(r,e),n["Content-Type"]="application/json",A(t,c);let i=a&&a.headers?a.headers:{};return r.headers={...n,...i,...s.headers},r.data=x(o,r,e),{url:O(t),options:r}}}},g=function(e){const o=Ve(e);return{async changeOwnPassword(s,l){var n,c;const t=await o.changeOwnPassword(s,l),a=(e==null?void 0:e.serverIndex)??0,r=(c=(n=V["MeChangepasswordApi.changeOwnPassword"])==null?void 0:n[a])==null?void 0:c.url;return(i,d)=>u(t,m.axios,P,e)(i,r||d)}}},Os=function(e,o,s){const l=g(e);return{changeOwnPassword(t,a){return l.changeOwnPassword(t,a).then(r=>r(s,o))}}};class us extends b{changeOwnPassword(o,s){return g(this.configuration).changeOwnPassword(o,s).then(l=>l(this.axios,this.basePath))}}const ve=function(e){return{getHome:async(o={})=>{const s="/v1.0/me/drive",l=new URL(s,v);let t;e&&(t=e.baseOptions);const a={method:"GET",...t,...o},r={},n={};S(a,e),A(l,n);let c=t&&t.headers?t.headers:{};return a.headers={...r,...c,...o.headers},{url:O(l),options:a}},listSharedByMe:async(o={})=>{const s="/v1beta1/me/drive/sharedByMe",l=new URL(s,v);let t;e&&(t=e.baseOptions);const a={method:"GET",...t,...o},r={},n={};S(a,e),A(l,n);let c=t&&t.headers?t.headers:{};return a.headers={...r,...c,...o.headers},{url:O(l),options:a}},listSharedWithMe:async(o={})=>{const s="/v1beta1/me/drive/sharedWithMe",l=new URL(s,v);let t;e&&(t=e.baseOptions);const a={method:"GET",...t,...o},r={},n={};S(a,e),A(l,n);let c=t&&t.headers?t.headers:{};return a.headers={...r,...c,...o.headers},{url:O(l),options:a}}}},q=function(e){const o=ve(e);return{async getHome(s){var r,n;const l=await o.getHome(s),t=(e==null?void 0:e.serverIndex)??0,a=(n=(r=V["MeDriveApi.getHome"])==null?void 0:r[t])==null?void 0:n.url;return(c,i)=>u(l,m.axios,P,e)(c,a||i)},async listSharedByMe(s){var r,n;const l=await o.listSharedByMe(s),t=(e==null?void 0:e.serverIndex)??0,a=(n=(r=V["MeDriveApi.listSharedByMe"])==null?void 0:r[t])==null?void 0:n.url;return(c,i)=>u(l,m.axios,P,e)(c,a||i)},async listSharedWithMe(s){var r,n;const l=await o.listSharedWithMe(s),t=(e==null?void 0:e.serverIndex)??0,a=(n=(r=V["MeDriveApi.listSharedWithMe"])==null?void 0:r[t])==null?void 0:n.url;return(c,i)=>u(l,m.axios,P,e)(c,a||i)}}},Us=function(e,o,s){const l=q(e);return{getHome(t){return l.getHome(t).then(a=>a(s,o))},listSharedByMe(t){return l.listSharedByMe(t).then(a=>a(s,o))},listSharedWithMe(t){return l.listSharedWithMe(t).then(a=>a(s,o))}}};class Ss extends b{getHome(o){return q(this.configuration).getHome(o).then(s=>s(this.axios,this.basePath))}listSharedByMe(o){return q(this.configuration).listSharedByMe(o).then(s=>s(this.axios,this.basePath))}listSharedWithMe(o){return q(this.configuration).listSharedWithMe(o).then(s=>s(this.axios,this.basePath))}}const Ae=function(e){return{homeGetRoot:async(o={})=>{const s="/v1.0/me/drive/root",l=new URL(s,v);let t;e&&(t=e.baseOptions);const a={method:"GET",...t,...o},r={},n={};S(a,e),A(l,n);let c=t&&t.headers?t.headers:{};return a.headers={...r,...c,...o.headers},{url:O(l),options:a}}}},f=function(e){const o=Ae(e);return{async homeGetRoot(s){var r,n;const l=await o.homeGetRoot(s),t=(e==null?void 0:e.serverIndex)??0,a=(n=(r=V["MeDriveRootApi.homeGetRoot"])==null?void 0:r[t])==null?void 0:n.url;return(c,i)=>u(l,m.axios,P,e)(c,a||i)}}},xs=function(e,o,s){const l=f(e);return{homeGetRoot(t){return l.homeGetRoot(t).then(a=>a(s,o))}}};class Rs extends b{homeGetRoot(o){return f(this.configuration).homeGetRoot(o).then(s=>s(this.axios,this.basePath))}}const Oe=function(e){return{homeGetChildren:async(o={})=>{const s="/v1.0/me/drive/root/children",l=new URL(s,v);let t;e&&(t=e.baseOptions);const a={method:"GET",...t,...o},r={},n={};S(a,e),A(l,n);let c=t&&t.headers?t.headers:{};return a.headers={...r,...c,...o.headers},{url:O(l),options:a}}}},ee=function(e){const o=Oe(e);return{async homeGetChildren(s){var r,n;const l=await o.homeGetChildren(s),t=(e==null?void 0:e.serverIndex)??0,a=(n=(r=V["MeDriveRootChildrenApi.homeGetChildren"])==null?void 0:r[t])==null?void 0:n.url;return(c,i)=>u(l,m.axios,P,e)(c,a||i)}}},ys=function(e,o,s){const l=ee(e);return{homeGetChildren(t){return l.homeGetChildren(t).then(a=>a(s,o))}}};class bs extends b{homeGetChildren(o){return ee(this.configuration).homeGetChildren(o).then(s=>s(this.axios,this.basePath))}}const ue=function(e){return{listMyDrives:async(o,s,l={})=>{const t="/v1.0/me/drives",a=new URL(t,v);let r;e&&(r=e.baseOptions);const n={method:"GET",...r,...l},c={},i={};S(n,e),o!==void 0&&(i.$orderby=o),s!==void 0&&(i.$filter=s),A(a,i);let d=r&&r.headers?r.headers:{};return n.headers={...c,...d,...l.headers},{url:O(a),options:n}},listMyDrivesBeta:async(o,s,l,t,a={})=>{const r="/v1beta1/me/drives",n=new URL(r,v);let c;e&&(c=e.baseOptions);const i={method:"GET",...c,...a},d={},p={};S(i,e),o!==void 0&&(p.$orderby=o),s!==void 0&&(p.$filter=s),l!==void 0&&(p.$expand=l),t&&(p.$select=Array.from(t).join(C.csv)),A(n,p);let U=c&&c.headers?c.headers:{};return i.headers={...d,...U,...a.headers},{url:O(n),options:i}}}},J=function(e){const o=ue(e);return{async listMyDrives(s,l,t){var c,i;const a=await o.listMyDrives(s,l,t),r=(e==null?void 0:e.serverIndex)??0,n=(i=(c=V["MeDrivesApi.listMyDrives"])==null?void 0:c[r])==null?void 0:i.url;return(d,p)=>u(a,m.axios,P,e)(d,n||p)},async listMyDrivesBeta(s,l,t,a,r){var d,p;const n=await o.listMyDrivesBeta(s,l,t,a,r),c=(e==null?void 0:e.serverIndex)??0,i=(p=(d=V["MeDrivesApi.listMyDrivesBeta"])==null?void 0:d[c])==null?void 0:p.url;return(U,y)=>u(n,m.axios,P,e)(U,i||y)}}},Cs=function(e,o,s){const l=J(e);return{listMyDrives(t,a,r){return l.listMyDrives(t,a,r).then(n=>n(s,o))},listMyDrivesBeta(t,a,r,n,c){return l.listMyDrivesBeta(t,a,r,n,c).then(i=>i(s,o))}}};class ws extends b{listMyDrives(o,s,l){return J(this.configuration).listMyDrives(o,s,l).then(t=>t(this.axios,this.basePath))}listMyDrivesBeta(o,s,l,t,a){return J(this.configuration).listMyDrivesBeta(o,s,l,t,a).then(r=>r(this.axios,this.basePath))}}const Is={LibreGraphHasTrashedItems:"@libre.graph.hasTrashedItems"},Ue=function(e){return{deleteOwnUserPhoto:async(o={})=>{const s="/v1.0/me/photo/$value",l=new URL(s,v);let t;e&&(t=e.baseOptions);const a={method:"DELETE",...t,...o},r={},n={};S(a,e),A(l,n);let c=t&&t.headers?t.headers:{};return a.headers={...r,...c,...o.headers},{url:O(l),options:a}},getOwnUserPhoto:async(o={})=>{const s="/v1.0/me/photo/$value",l=new URL(s,v);let t;e&&(t=e.baseOptions);const a={method:"GET",...t,...o},r={},n={};S(a,e),A(l,n);let c=t&&t.headers?t.headers:{};return a.headers={...r,...c,...o.headers},{url:O(l),options:a}},updateOwnUserPhotoPatch:async(o,s={})=>{const l="/v1.0/me/photo/$value",t=new URL(l,v);let a;e&&(a=e.baseOptions);const r={method:"PATCH",...a,...s},n={},c={};S(r,e),n["Content-Type"]="image/jpeg",A(t,c);let i=a&&a.headers?a.headers:{};return r.headers={...n,...i,...s.headers},r.data=x(o,r,e),{url:O(t),options:r}},updateOwnUserPhotoPut:async(o,s={})=>{const l="/v1.0/me/photo/$value",t=new URL(l,v);let a;e&&(a=e.baseOptions);const r={method:"PUT",...a,...s},n={},c={};S(r,e),n["Content-Type"]="image/jpeg",A(t,c);let i=a&&a.headers?a.headers:{};return r.headers={...n,...i,...s.headers},r.data=x(o,r,e),{url:O(t),options:r}}}},G=function(e){const o=Ue(e);return{async deleteOwnUserPhoto(s){var r,n;const l=await o.deleteOwnUserPhoto(s),t=(e==null?void 0:e.serverIndex)??0,a=(n=(r=V["MePhotoApi.deleteOwnUserPhoto"])==null?void 0:r[t])==null?void 0:n.url;return(c,i)=>u(l,m.axios,P,e)(c,a||i)},async getOwnUserPhoto(s){var r,n;const l=await o.getOwnUserPhoto(s),t=(e==null?void 0:e.serverIndex)??0,a=(n=(r=V["MePhotoApi.getOwnUserPhoto"])==null?void 0:r[t])==null?void 0:n.url;return(c,i)=>u(l,m.axios,P,e)(c,a||i)},async updateOwnUserPhotoPatch(s,l){var n,c;const t=await o.updateOwnUserPhotoPatch(s,l),a=(e==null?void 0:e.serverIndex)??0,r=(c=(n=V["MePhotoApi.updateOwnUserPhotoPatch"])==null?void 0:n[a])==null?void 0:c.url;return(i,d)=>u(t,m.axios,P,e)(i,r||d)},async updateOwnUserPhotoPut(s,l){var n,c;const t=await o.updateOwnUserPhotoPut(s,l),a=(e==null?void 0:e.serverIndex)??0,r=(c=(n=V["MePhotoApi.updateOwnUserPhotoPut"])==null?void 0:n[a])==null?void 0:c.url;return(i,d)=>u(t,m.axios,P,e)(i,r||d)}}},Ds=function(e,o,s){const l=G(e);return{deleteOwnUserPhoto(t){return l.deleteOwnUserPhoto(t).then(a=>a(s,o))},getOwnUserPhoto(t){return l.getOwnUserPhoto(t).then(a=>a(s,o))},updateOwnUserPhotoPatch(t,a){return l.updateOwnUserPhotoPatch(t,a).then(r=>r(s,o))},updateOwnUserPhotoPut(t,a){return l.updateOwnUserPhotoPut(t,a).then(r=>r(s,o))}}};class Es extends b{deleteOwnUserPhoto(o){return G(this.configuration).deleteOwnUserPhoto(o).then(s=>s(this.axios,this.basePath))}getOwnUserPhoto(o){return G(this.configuration).getOwnUserPhoto(o).then(s=>s(this.axios,this.basePath))}updateOwnUserPhotoPatch(o,s){return G(this.configuration).updateOwnUserPhotoPatch(o,s).then(l=>l(this.axios,this.basePath))}updateOwnUserPhotoPut(o,s){return G(this.configuration).updateOwnUserPhotoPut(o,s).then(l=>l(this.axios,this.basePath))}}const Se=function(e){return{getOwnUser:async(o,s={})=>{const l="/v1.0/me",t=new URL(l,v);let a;e&&(a=e.baseOptions);const r={method:"GET",...a,...s},n={},c={};S(r,e),o&&(c.$expand=Array.from(o).join(C.csv)),A(t,c);let i=a&&a.headers?a.headers:{};return r.headers={...n,...i,...s.headers},{url:O(t),options:r}},updateOwnUser:async(o,s={})=>{const l="/v1.0/me",t=new URL(l,v);let a;e&&(a=e.baseOptions);const r={method:"PATCH",...a,...s},n={},c={};S(r,e),n["Content-Type"]="application/json",A(t,c);let i=a&&a.headers?a.headers:{};return r.headers={...n,...i,...s.headers},r.data=x(o,r,e),{url:O(t),options:r}}}},_=function(e){const o=Se(e);return{async getOwnUser(s,l){var n,c;const t=await o.getOwnUser(s,l),a=(e==null?void 0:e.serverIndex)??0,r=(c=(n=V["MeUserApi.getOwnUser"])==null?void 0:n[a])==null?void 0:c.url;return(i,d)=>u(t,m.axios,P,e)(i,r||d)},async updateOwnUser(s,l){var n,c;const t=await o.updateOwnUser(s,l),a=(e==null?void 0:e.serverIndex)??0,r=(c=(n=V["MeUserApi.updateOwnUser"])==null?void 0:n[a])==null?void 0:c.url;return(i,d)=>u(t,m.axios,P,e)(i,r||d)}}},Fs=function(e,o,s){const l=_(e);return{getOwnUser(t,a){return l.getOwnUser(t,a).then(r=>r(s,o))},updateOwnUser(t,a){return l.updateOwnUser(t,a).then(r=>r(s,o))}}};class Ts extends b{getOwnUser(o,s){return _(this.configuration).getOwnUser(o,s).then(l=>l(this.axios,this.basePath))}updateOwnUser(o,s){return _(this.configuration).updateOwnUser(o,s).then(l=>l(this.axios,this.basePath))}}const Bs={MemberOf:"memberOf"},xe=function(e){return{getPermissionRoleDefinition:async(o,s={})=>{h("getPermissionRoleDefinition","roleId",o);const l="/v1beta1/roleManagement/permissions/roleDefinitions/{role-id}".replace("{role-id}",encodeURIComponent(String(o))),t=new URL(l,v);let a;e&&(a=e.baseOptions);const r={method:"GET",...a,...s},n={},c={};S(r,e),A(t,c);let i=a&&a.headers?a.headers:{};return r.headers={...n,...i,...s.headers},{url:O(t),options:r}},listPermissionRoleDefinitions:async(o={})=>{const s="/v1beta1/roleManagement/permissions/roleDefinitions",l=new URL(s,v);let t;e&&(t=e.baseOptions);const a={method:"GET",...t,...o},r={},n={};S(a,e),A(l,n);let c=t&&t.headers?t.headers:{};return a.headers={...r,...c,...o.headers},{url:O(l),options:a}}}},K=function(e){const o=xe(e);return{async getPermissionRoleDefinition(s,l){var n,c;const t=await o.getPermissionRoleDefinition(s,l),a=(e==null?void 0:e.serverIndex)??0,r=(c=(n=V["RoleManagementApi.getPermissionRoleDefinition"])==null?void 0:n[a])==null?void 0:c.url;return(i,d)=>u(t,m.axios,P,e)(i,r||d)},async listPermissionRoleDefinitions(s){var r,n;const l=await o.listPermissionRoleDefinitions(s),t=(e==null?void 0:e.serverIndex)??0,a=(n=(r=V["RoleManagementApi.listPermissionRoleDefinitions"])==null?void 0:r[t])==null?void 0:n.url;return(c,i)=>u(l,m.axios,P,e)(c,a||i)}}},Ms=function(e,o,s){const l=K(e);return{getPermissionRoleDefinition(t,a){return l.getPermissionRoleDefinition(t,a).then(r=>r(s,o))},listPermissionRoleDefinitions(t){return l.listPermissionRoleDefinitions(t).then(a=>a(s,o))}}};class Ls extends b{getPermissionRoleDefinition(o,s){return K(this.configuration).getPermissionRoleDefinition(o,s).then(l=>l(this.axios,this.basePath))}listPermissionRoleDefinitions(o){return K(this.configuration).listPermissionRoleDefinitions(o).then(s=>s(this.axios,this.basePath))}}const Re=function(e){return{assignTags:async(o,s={})=>{const l="/v1.0/extensions/org.libregraph/tags",t=new URL(l,v);let a;e&&(a=e.baseOptions);const r={method:"PUT",...a,...s},n={},c={};S(r,e),n["Content-Type"]="application/json",A(t,c);let i=a&&a.headers?a.headers:{};return r.headers={...n,...i,...s.headers},r.data=x(o,r,e),{url:O(t),options:r}},getTags:async(o={})=>{const s="/v1.0/extensions/org.libregraph/tags",l=new URL(s,v);let t;e&&(t=e.baseOptions);const a={method:"GET",...t,...o},r={},n={};S(a,e),A(l,n);let c=t&&t.headers?t.headers:{};return a.headers={...r,...c,...o.headers},{url:O(l),options:a}},unassignTags:async(o,s={})=>{const l="/v1.0/extensions/org.libregraph/tags",t=new URL(l,v);let a;e&&(a=e.baseOptions);const r={method:"DELETE",...a,...s},n={},c={};S(r,e),n["Content-Type"]="application/json",A(t,c);let i=a&&a.headers?a.headers:{};return r.headers={...n,...i,...s.headers},r.data=x(o,r,e),{url:O(t),options:r}}}},Q=function(e){const o=Re(e);return{async assignTags(s,l){var n,c;const t=await o.assignTags(s,l),a=(e==null?void 0:e.serverIndex)??0,r=(c=(n=V["TagsApi.assignTags"])==null?void 0:n[a])==null?void 0:c.url;return(i,d)=>u(t,m.axios,P,e)(i,r||d)},async getTags(s){var r,n;const l=await o.getTags(s),t=(e==null?void 0:e.serverIndex)??0,a=(n=(r=V["TagsApi.getTags"])==null?void 0:r[t])==null?void 0:n.url;return(c,i)=>u(l,m.axios,P,e)(c,a||i)},async unassignTags(s,l){var n,c;const t=await o.unassignTags(s,l),a=(e==null?void 0:e.serverIndex)??0,r=(c=(n=V["TagsApi.unassignTags"])==null?void 0:n[a])==null?void 0:c.url;return(i,d)=>u(t,m.axios,P,e)(i,r||d)}}},Gs=function(e,o,s){const l=Q(e);return{assignTags(t,a){return l.assignTags(t,a).then(r=>r(s,o))},getTags(t){return l.getTags(t).then(a=>a(s,o))},unassignTags(t,a){return l.unassignTags(t,a).then(r=>r(s,o))}}};class js extends b{assignTags(o,s){return Q(this.configuration).assignTags(o,s).then(l=>l(this.axios,this.basePath))}getTags(o){return Q(this.configuration).getTags(o).then(s=>s(this.axios,this.basePath))}unassignTags(o,s){return Q(this.configuration).unassignTags(o,s).then(l=>l(this.axios,this.basePath))}}const ye=function(e){return{deleteUser:async(o,s,l={})=>{h("deleteUser","userId",o);const t="/v1.0/users/{user-id}".replace("{user-id}",encodeURIComponent(String(o))),a=new URL(t,v);let r;e&&(r=e.baseOptions);const n={method:"DELETE",...r,...l},c={},i={};S(n,e),s!=null&&(c["If-Match"]=String(s)),A(a,i);let d=r&&r.headers?r.headers:{};return n.headers={...c,...d,...l.headers},{url:O(a),options:n}},exportPersonalData:async(o,s,l={})=>{h("exportPersonalData","userId",o);const t="/v1.0/users/{user-id}/exportPersonalData".replace("{user-id}",encodeURIComponent(String(o))),a=new URL(t,v);let r;e&&(r=e.baseOptions);const n={method:"POST",...r,...l},c={},i={};S(n,e),c["Content-Type"]="application/json",A(a,i);let d=r&&r.headers?r.headers:{};return n.headers={...c,...d,...l.headers},n.data=x(s,n,e),{url:O(a),options:n}},getUser:async(o,s,l,t={})=>{h("getUser","userId",o);const a="/v1.0/users/{user-id}".replace("{user-id}",encodeURIComponent(String(o))),r=new URL(a,v);let n;e&&(n=e.baseOptions);const c={method:"GET",...n,...t},i={},d={};S(c,e),s&&(d.$select=Array.from(s).join(C.csv)),l&&(d.$expand=Array.from(l).join(C.csv)),A(r,d);let p=n&&n.headers?n.headers:{};return c.headers={...i,...p,...t.headers},{url:O(r),options:c}},updateUser:async(o,s,l={})=>{h("updateUser","userId",o),h("updateUser","userUpdate",s);const t="/v1.0/users/{user-id}".replace("{user-id}",encodeURIComponent(String(o))),a=new URL(t,v);let r;e&&(r=e.baseOptions);const n={method:"PATCH",...r,...l},c={},i={};S(n,e),c["Content-Type"]="application/json",A(a,i);let d=r&&r.headers?r.headers:{};return n.headers={...c,...d,...l.headers},n.data=x(s,n,e),{url:O(a),options:n}}}},j=function(e){const o=ye(e);return{async deleteUser(s,l,t){var c,i;const a=await o.deleteUser(s,l,t),r=(e==null?void 0:e.serverIndex)??0,n=(i=(c=V["UserApi.deleteUser"])==null?void 0:c[r])==null?void 0:i.url;return(d,p)=>u(a,m.axios,P,e)(d,n||p)},async exportPersonalData(s,l,t){var c,i;const a=await o.exportPersonalData(s,l,t),r=(e==null?void 0:e.serverIndex)??0,n=(i=(c=V["UserApi.exportPersonalData"])==null?void 0:c[r])==null?void 0:i.url;return(d,p)=>u(a,m.axios,P,e)(d,n||p)},async getUser(s,l,t,a){var i,d;const r=await o.getUser(s,l,t,a),n=(e==null?void 0:e.serverIndex)??0,c=(d=(i=V["UserApi.getUser"])==null?void 0:i[n])==null?void 0:d.url;return(p,U)=>u(r,m.axios,P,e)(p,c||U)},async updateUser(s,l,t){var c,i;const a=await o.updateUser(s,l,t),r=(e==null?void 0:e.serverIndex)??0,n=(i=(c=V["UserApi.updateUser"])==null?void 0:c[r])==null?void 0:i.url;return(d,p)=>u(a,m.axios,P,e)(d,n||p)}}},Hs=function(e,o,s){const l=j(e);return{deleteUser(t,a,r){return l.deleteUser(t,a,r).then(n=>n(s,o))},exportPersonalData(t,a,r){return l.exportPersonalData(t,a,r).then(n=>n(s,o))},getUser(t,a,r,n){return l.getUser(t,a,r,n).then(c=>c(s,o))},updateUser(t,a,r){return l.updateUser(t,a,r).then(n=>n(s,o))}}};class $s extends b{deleteUser(o,s,l){return j(this.configuration).deleteUser(o,s,l).then(t=>t(this.axios,this.basePath))}exportPersonalData(o,s,l){return j(this.configuration).exportPersonalData(o,s,l).then(t=>t(this.axios,this.basePath))}getUser(o,s,l,t){return j(this.configuration).getUser(o,s,l,t).then(a=>a(this.axios,this.basePath))}updateUser(o,s,l){return j(this.configuration).updateUser(o,s,l).then(t=>t(this.axios,this.basePath))}}const qs={Id:"id",DisplayName:"displayName",Drive:"drive",Drives:"drives",Mail:"mail",MemberOf:"memberOf",OnPremisesSamAccountName:"onPremisesSamAccountName",Surname:"surname"},Qs={Drive:"drive",Drives:"drives",MemberOf:"memberOf",AppRoleAssignments:"appRoleAssignments"},be=function(e){return{userCreateAppRoleAssignments:async(o,s,l={})=>{h("userCreateAppRoleAssignments","userId",o),h("userCreateAppRoleAssignments","appRoleAssignment",s);const t="/v1.0/users/{user-id}/appRoleAssignments".replace("{user-id}",encodeURIComponent(String(o))),a=new URL(t,v);let r;e&&(r=e.baseOptions);const n={method:"POST",...r,...l},c={},i={};S(n,e),c["Content-Type"]="application/json",A(a,i);let d=r&&r.headers?r.headers:{};return n.headers={...c,...d,...l.headers},n.data=x(s,n,e),{url:O(a),options:n}},userDeleteAppRoleAssignments:async(o,s,l,t={})=>{h("userDeleteAppRoleAssignments","userId",o),h("userDeleteAppRoleAssignments","appRoleAssignmentId",s);const a="/v1.0/users/{user-id}/appRoleAssignments/{appRoleAssignment-id}".replace("{user-id}",encodeURIComponent(String(o))).replace("{appRoleAssignment-id}",encodeURIComponent(String(s))),r=new URL(a,v);let n;e&&(n=e.baseOptions);const c={method:"DELETE",...n,...t},i={},d={};S(c,e),l!=null&&(i["If-Match"]=String(l)),A(r,d);let p=n&&n.headers?n.headers:{};return c.headers={...i,...p,...t.headers},{url:O(r),options:c}},userListAppRoleAssignments:async(o,s={})=>{h("userListAppRoleAssignments","userId",o);const l="/v1.0/users/{user-id}/appRoleAssignments".replace("{user-id}",encodeURIComponent(String(o))),t=new URL(l,v);let a;e&&(a=e.baseOptions);const r={method:"GET",...a,...s},n={},c={};S(r,e),A(t,c);let i=a&&a.headers?a.headers:{};return r.headers={...n,...i,...s.headers},{url:O(t),options:r}}}},N=function(e){const o=be(e);return{async userCreateAppRoleAssignments(s,l,t){var c,i;const a=await o.userCreateAppRoleAssignments(s,l,t),r=(e==null?void 0:e.serverIndex)??0,n=(i=(c=V["UserAppRoleAssignmentApi.userCreateAppRoleAssignments"])==null?void 0:c[r])==null?void 0:i.url;return(d,p)=>u(a,m.axios,P,e)(d,n||p)},async userDeleteAppRoleAssignments(s,l,t,a){var i,d;const r=await o.userDeleteAppRoleAssignments(s,l,t,a),n=(e==null?void 0:e.serverIndex)??0,c=(d=(i=V["UserAppRoleAssignmentApi.userDeleteAppRoleAssignments"])==null?void 0:i[n])==null?void 0:d.url;return(p,U)=>u(r,m.axios,P,e)(p,c||U)},async userListAppRoleAssignments(s,l){var n,c;const t=await o.userListAppRoleAssignments(s,l),a=(e==null?void 0:e.serverIndex)??0,r=(c=(n=V["UserAppRoleAssignmentApi.userListAppRoleAssignments"])==null?void 0:n[a])==null?void 0:c.url;return(i,d)=>u(t,m.axios,P,e)(i,r||d)}}},Ns=function(e,o,s){const l=N(e);return{userCreateAppRoleAssignments(t,a,r){return l.userCreateAppRoleAssignments(t,a,r).then(n=>n(s,o))},userDeleteAppRoleAssignments(t,a,r,n){return l.userDeleteAppRoleAssignments(t,a,r,n).then(c=>c(s,o))},userListAppRoleAssignments(t,a){return l.userListAppRoleAssignments(t,a).then(r=>r(s,o))}}};class ks extends b{userCreateAppRoleAssignments(o,s,l){return N(this.configuration).userCreateAppRoleAssignments(o,s,l).then(t=>t(this.axios,this.basePath))}userDeleteAppRoleAssignments(o,s,l,t){return N(this.configuration).userDeleteAppRoleAssignments(o,s,l,t).then(a=>a(this.axios,this.basePath))}userListAppRoleAssignments(o,s){return N(this.configuration).userListAppRoleAssignments(o,s).then(l=>l(this.axios,this.basePath))}}const Ce=function(e){return{getUserPhoto:async(o,s={})=>{h("getUserPhoto","userId",o);const l="/v1.0/users/{user-id}/photo/$value".replace("{user-id}",encodeURIComponent(String(o))),t=new URL(l,v);let a;e&&(a=e.baseOptions);const r={method:"GET",...a,...s},n={},c={};S(r,e),A(t,c);let i=a&&a.headers?a.headers:{};return r.headers={...n,...i,...s.headers},{url:O(t),options:r}}}},se=function(e){const o=Ce(e);return{async getUserPhoto(s,l){var n,c;const t=await o.getUserPhoto(s,l),a=(e==null?void 0:e.serverIndex)??0,r=(c=(n=V["UserPhotoApi.getUserPhoto"])==null?void 0:n[a])==null?void 0:c.url;return(i,d)=>u(t,m.axios,P,e)(i,r||d)}}},Ws=function(e,o,s){const l=se(e);return{getUserPhoto(t,a){return l.getUserPhoto(t,a).then(r=>r(s,o))}}};class zs extends b{getUserPhoto(o,s){return se(this.configuration).getUserPhoto(o,s).then(l=>l(this.axios,this.basePath))}}const we=function(e){return{createUser:async(o,s={})=>{h("createUser","user",o);const l="/v1.0/users",t=new URL(l,v);let a;e&&(a=e.baseOptions);const r={method:"POST",...a,...s},n={},c={};S(r,e),n["Content-Type"]="application/json",A(t,c);let i=a&&a.headers?a.headers:{};return r.headers={...n,...i,...s.headers},r.data=x(o,r,e),{url:O(t),options:r}},listUsers:async(o,s,l,t,a,r={})=>{const n="/v1.0/users",c=new URL(n,v);let i;e&&(i=e.baseOptions);const d={method:"GET",...i,...r},p={},U={};S(d,e),o!==void 0&&(U.$search=o),s!==void 0&&(U.$filter=s),l&&(U.$orderby=Array.from(l).join(C.csv)),t&&(U.$select=Array.from(t).join(C.csv)),a&&(U.$expand=Array.from(a).join(C.csv)),A(c,U);let y=i&&i.headers?i.headers:{};return d.headers={...p,...y,...r.headers},{url:O(c),options:d}}}},Y=function(e){const o=we(e);return{async createUser(s,l){var n,c;const t=await o.createUser(s,l),a=(e==null?void 0:e.serverIndex)??0,r=(c=(n=V["UsersApi.createUser"])==null?void 0:n[a])==null?void 0:c.url;return(i,d)=>u(t,m.axios,P,e)(i,r||d)},async listUsers(s,l,t,a,r,n){var p,U;const c=await o.listUsers(s,l,t,a,r,n),i=(e==null?void 0:e.serverIndex)??0,d=(U=(p=V["UsersApi.listUsers"])==null?void 0:p[i])==null?void 0:U.url;return(y,B)=>u(c,m.axios,P,e)(y,d||B)}}},Js=function(e,o,s){const l=Y(e);return{createUser(t,a){return l.createUser(t,a).then(r=>r(s,o))},listUsers(t,a,r,n,c,i){return l.listUsers(t,a,r,n,c,i).then(d=>d(s,o))}}};class _s extends b{createUser(o,s){return Y(this.configuration).createUser(o,s).then(l=>l(this.axios,this.basePath))}listUsers(o,s,l,t,a,r){return Y(this.configuration).listUsers(o,s,l,t,a,r).then(n=>n(this.axios,this.basePath))}}const Ks={DisplayName:"displayName",DisplayNameDesc:"displayName desc",Mail:"mail",MailDesc:"mail desc",OnPremisesSamAccountName:"onPremisesSamAccountName",OnPremisesSamAccountNameDesc:"onPremisesSamAccountName desc"},Ys={Id:"id",DisplayName:"displayName",Mail:"mail",MemberOf:"memberOf",OnPremisesSamAccountName:"onPremisesSamAccountName",Surname:"surname"},Xs={Drive:"drive",Drives:"drives",MemberOf:"memberOf",AppRoleAssignments:"appRoleAssignments"};class Zs{constructor(o={}){D(this,"apiKey");D(this,"username");D(this,"password");D(this,"accessToken");D(this,"basePath");D(this,"serverIndex");D(this,"baseOptions");D(this,"formDataCtor");var s;this.apiKey=o.apiKey,this.username=o.username,this.password=o.password,this.accessToken=o.accessToken,this.basePath=o.basePath,this.serverIndex=o.serverIndex,this.baseOptions={...o.baseOptions,headers:{...(s=o.baseOptions)==null?void 0:s.headers}},this.formDataCtor=o.formDataCtor}isJsonMime(o){const s=new RegExp("^(application/json|[^;/ ]+/[^;/ ]+[+]json)[ ]*(;.*)?$","i");return o!==null&&(s.test(o)||o.toLowerCase()==="application/json-patch+json")}}exports.ActivitiesApi=Le;exports.ActivitiesApiAxiosParamCreator=re;exports.ActivitiesApiFactory=Me;exports.ActivitiesApiFp=Z;exports.ApplicationsApi=je;exports.ApplicationsApiAxiosParamCreator=ae;exports.ApplicationsApiFactory=Ge;exports.ApplicationsApiFp=k;exports.Configuration=Zs;exports.DriveItemApi=$e;exports.DriveItemApiAxiosParamCreator=te;exports.DriveItemApiFactory=He;exports.DriveItemApiFp=H;exports.DrivesApi=Qe;exports.DrivesApiAxiosParamCreator=oe;exports.DrivesApiFactory=qe;exports.DrivesApiFp=L;exports.DrivesGetDrivesApi=We;exports.DrivesGetDrivesApiAxiosParamCreator=le;exports.DrivesGetDrivesApiFactory=ke;exports.DrivesGetDrivesApiFp=W;exports.DrivesPermissionsApi=_e;exports.DrivesPermissionsApiAxiosParamCreator=ne;exports.DrivesPermissionsApiFactory=Je;exports.DrivesPermissionsApiFp=F;exports.DrivesRootApi=Xe;exports.DrivesRootApiAxiosParamCreator=ce;exports.DrivesRootApiFactory=Ye;exports.DrivesRootApiFp=I;exports.EducationClassApi=fe;exports.EducationClassApiAxiosParamCreator=ie;exports.EducationClassApiFactory=ge;exports.EducationClassApiFp=E;exports.EducationClassClassificationEnum=Te;exports.EducationClassTeachersApi=ss;exports.EducationClassTeachersApiAxiosParamCreator=de;exports.EducationClassTeachersApiFactory=es;exports.EducationClassTeachersApiFp=$;exports.EducationSchoolApi=as;exports.EducationSchoolApiAxiosParamCreator=pe;exports.EducationSchoolApiFactory=rs;exports.EducationSchoolApiFp=w;exports.EducationUserApi=os;exports.EducationUserApiAxiosParamCreator=he;exports.EducationUserApiFactory=ts;exports.EducationUserApiFp=M;exports.GetDriveSelectEnum=Ne;exports.GetEducationUserExpandEnum=ls;exports.GetGroupExpandEnum=hs;exports.GetGroupSelectEnum=ps;exports.GetOwnUserExpandEnum=Bs;exports.GetUserExpandEnum=Qs;exports.GetUserSelectEnum=qs;exports.GroupApi=ds;exports.GroupApiAxiosParamCreator=me;exports.GroupApiFactory=is;exports.GroupApiFp=T;exports.GroupsApi=Ps;exports.GroupsApiAxiosParamCreator=Pe;exports.GroupsApiFactory=ms;exports.GroupsApiFp=z;exports.ListAllDrivesBetaSelectEnum=ze;exports.ListEducationUsersExpandEnum=cs;exports.ListEducationUsersOrderbyEnum=ns;exports.ListGroupsExpandEnum=As;exports.ListGroupsOrderbyEnum=Vs;exports.ListGroupsSelectEnum=vs;exports.ListMyDrivesBetaSelectEnum=Is;exports.ListPermissionsSelectEnum=Ke;exports.ListPermissionsSpaceRootSelectEnum=Ze;exports.ListUsersExpandEnum=Xs;exports.ListUsersOrderbyEnum=Ks;exports.ListUsersSelectEnum=Ys;exports.MeChangepasswordApi=us;exports.MeChangepasswordApiAxiosParamCreator=Ve;exports.MeChangepasswordApiFactory=Os;exports.MeChangepasswordApiFp=g;exports.MeDriveApi=Ss;exports.MeDriveApiAxiosParamCreator=ve;exports.MeDriveApiFactory=Us;exports.MeDriveApiFp=q;exports.MeDriveRootApi=Rs;exports.MeDriveRootApiAxiosParamCreator=Ae;exports.MeDriveRootApiFactory=xs;exports.MeDriveRootApiFp=f;exports.MeDriveRootChildrenApi=bs;exports.MeDriveRootChildrenApiAxiosParamCreator=Oe;exports.MeDriveRootChildrenApiFactory=ys;exports.MeDriveRootChildrenApiFp=ee;exports.MeDrivesApi=ws;exports.MeDrivesApiAxiosParamCreator=ue;exports.MeDrivesApiFactory=Cs;exports.MeDrivesApiFp=J;exports.MePhotoApi=Es;exports.MePhotoApiAxiosParamCreator=Ue;exports.MePhotoApiFactory=Ds;exports.MePhotoApiFp=G;exports.MeUserApi=Ts;exports.MeUserApiAxiosParamCreator=Se;exports.MeUserApiFactory=Fs;exports.MeUserApiFp=_;exports.RoleManagementApi=Ls;exports.RoleManagementApiAxiosParamCreator=xe;exports.RoleManagementApiFactory=Ms;exports.RoleManagementApiFp=K;exports.SharingLinkType=Be;exports.TagsApi=js;exports.TagsApiAxiosParamCreator=Re;exports.TagsApiFactory=Gs;exports.TagsApiFp=Q;exports.UserApi=$s;exports.UserApiAxiosParamCreator=ye;exports.UserApiFactory=Hs;exports.UserApiFp=j;exports.UserAppRoleAssignmentApi=ks;exports.UserAppRoleAssignmentApiAxiosParamCreator=be;exports.UserAppRoleAssignmentApiFactory=Ns;exports.UserAppRoleAssignmentApiFp=N;exports.UserPhotoApi=zs;exports.UserPhotoApiAxiosParamCreator=Ce;exports.UserPhotoApiFactory=Ws;exports.UserPhotoApiFp=se;exports.UsersApi=_s;exports.UsersApiAxiosParamCreator=we;exports.UsersApiFactory=Js;exports.UsersApiFp=Y;