@opencloud-eu/web-client 7.3.0 → 7.4.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.
- package/dist/{axios-DvF8YTlk.js → axios-CAceQWl5.js} +7 -5
- package/dist/{dist-CeGfU4rJ.js → dist-Ciqaw6jy.js} +11 -9
- package/dist/{generated-FCm3SbzB.js → generated-CSkivkhn.js} +395 -239
- package/dist/{graph-CppzmKYd.js → graph-BDtqSczU.js} +93 -90
- package/dist/{helpers-MRfkPTnV.js → helpers-hr58GB0t.js} +230 -224
- package/dist/{ocs-gQyxMolJ.js → ocs-BupRjiCI.js} +504 -466
- package/dist/src/graph/generated/api.d.ts +351 -28
- package/dist/src/graph/users/types.d.ts +2 -1
- package/dist/src/helpers/space/types.d.ts +6 -0
- package/dist/src/sse/index.d.ts +2 -0
- package/dist/src/webdav/client/builders.d.ts +3 -2
- package/dist/src/webdav/client/dav.d.ts +8 -2
- package/dist/src/webdav/constants/dav.d.ts +12 -0
- package/dist/src/webdav/listFiles.d.ts +10 -1
- package/dist/src/webdav/restoreFileVersion.d.ts +2 -1
- package/dist/src/webdav/setProperties.d.ts +19 -0
- package/dist/src/webdav/types.d.ts +2 -0
- package/dist/{toString-B4UEwRgf.js → toString-Y_fh2BSJ.js} +2 -2
- package/dist/web-client/graph/generated.js +2 -2
- package/dist/web-client/graph.js +1 -1
- package/dist/web-client/ocs.js +1 -1
- package/dist/web-client/sse.js +1 -1
- package/dist/web-client/webdav.js +3 -3
- package/dist/web-client.js +5 -5
- package/dist/{webdav-BMoGCm4T.js → webdav-BE0Z-EcD.js} +997 -963
- package/package.json +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./axios-
|
|
1
|
+
import { t as e } from "./axios-CAceQWl5.js";
|
|
2
2
|
//#region src/graph/generated/base.ts
|
|
3
3
|
var t = "https://localhost:9200/graph".replace(/\/+$/, ""), n = {
|
|
4
4
|
csv: ",",
|
|
@@ -166,6 +166,26 @@ var d = function(e, ...t) {
|
|
|
166
166
|
}
|
|
167
167
|
}, re = function(e) {
|
|
168
168
|
return {
|
|
169
|
+
createChildDriveItem: async (t, n, r, i, a, l = {}) => {
|
|
170
|
+
s("createChildDriveItem", "driveId", t), s("createChildDriveItem", "itemId", n), s("createChildDriveItem", "driveItem", r);
|
|
171
|
+
let u = "/v1beta1/drives/{drive-id}/items/{item-id}/children".replace("{drive-id}", encodeURIComponent(String(t))).replace("{item-id}", encodeURIComponent(String(n))), f = new URL(u, o), h;
|
|
172
|
+
e && (h = e.baseOptions);
|
|
173
|
+
let g = {
|
|
174
|
+
method: "POST",
|
|
175
|
+
...h,
|
|
176
|
+
...l
|
|
177
|
+
}, _ = {}, v = {};
|
|
178
|
+
c(g, e), i !== void 0 && (v["@libre.graph.conflictBehavior"] = i), a !== void 0 && (v["@libre.graph.missingParentsBehavior"] = a), _["Content-Type"] = "application/json", _.Accept = "application/json", d(f, v);
|
|
179
|
+
let y = h && h.headers ? h.headers : {};
|
|
180
|
+
return g.headers = {
|
|
181
|
+
..._,
|
|
182
|
+
...y,
|
|
183
|
+
...l.headers
|
|
184
|
+
}, g.data = p(r, g, e), {
|
|
185
|
+
url: m(f),
|
|
186
|
+
options: g
|
|
187
|
+
};
|
|
188
|
+
},
|
|
169
189
|
deleteDriveItem: async (t, n, r = {}) => {
|
|
170
190
|
s("deleteDriveItem", "driveId", t), s("deleteDriveItem", "itemId", n);
|
|
171
191
|
let i = "/v1beta1/drives/{drive-id}/items/{item-id}".replace("{drive-id}", encodeURIComponent(String(t))).replace("{item-id}", encodeURIComponent(String(n))), a = new URL(i, o), l;
|
|
@@ -206,6 +226,26 @@ var d = function(e, ...t) {
|
|
|
206
226
|
options: p
|
|
207
227
|
};
|
|
208
228
|
},
|
|
229
|
+
getDriveItemChildren: async (t, r, i, a = {}) => {
|
|
230
|
+
s("getDriveItemChildren", "driveId", t), s("getDriveItemChildren", "itemId", r);
|
|
231
|
+
let l = "/v1.0/drives/{drive-id}/items/{item-id}/children".replace("{drive-id}", encodeURIComponent(String(t))).replace("{item-id}", encodeURIComponent(String(r))), u = new URL(l, o), f;
|
|
232
|
+
e && (f = e.baseOptions);
|
|
233
|
+
let p = {
|
|
234
|
+
method: "GET",
|
|
235
|
+
...f,
|
|
236
|
+
...a
|
|
237
|
+
}, h = {}, g = {};
|
|
238
|
+
c(p, e), i && (g.$select = Array.from(i).join(n.csv)), h.Accept = "application/json", d(u, g);
|
|
239
|
+
let _ = f && f.headers ? f.headers : {};
|
|
240
|
+
return p.headers = {
|
|
241
|
+
...h,
|
|
242
|
+
..._,
|
|
243
|
+
...a.headers
|
|
244
|
+
}, {
|
|
245
|
+
url: m(u),
|
|
246
|
+
options: p
|
|
247
|
+
};
|
|
248
|
+
},
|
|
209
249
|
getDriveItemContent: async (t, n, r = {}) => {
|
|
210
250
|
s("getDriveItemContent", "driveId", t), s("getDriveItemContent", "itemId", n);
|
|
211
251
|
let i = "/v1beta1/drives/{drive-id}/items/{item-id}/content".replace("{drive-id}", encodeURIComponent(String(t))).replace("{item-id}", encodeURIComponent(String(n))), a = new URL(i, o), l;
|
|
@@ -226,6 +266,26 @@ var d = function(e, ...t) {
|
|
|
226
266
|
options: u
|
|
227
267
|
};
|
|
228
268
|
},
|
|
269
|
+
getDriveItemV1: async (t, r, i, a = {}) => {
|
|
270
|
+
s("getDriveItemV1", "driveId", t), s("getDriveItemV1", "itemId", r);
|
|
271
|
+
let l = "/v1.0/drives/{drive-id}/items/{item-id}".replace("{drive-id}", encodeURIComponent(String(t))).replace("{item-id}", encodeURIComponent(String(r))), u = new URL(l, o), f;
|
|
272
|
+
e && (f = e.baseOptions);
|
|
273
|
+
let p = {
|
|
274
|
+
method: "GET",
|
|
275
|
+
...f,
|
|
276
|
+
...a
|
|
277
|
+
}, h = {}, g = {};
|
|
278
|
+
c(p, e), i && (g.$select = Array.from(i).join(n.csv)), h.Accept = "application/json", d(u, g);
|
|
279
|
+
let _ = f && f.headers ? f.headers : {};
|
|
280
|
+
return p.headers = {
|
|
281
|
+
...h,
|
|
282
|
+
..._,
|
|
283
|
+
...a.headers
|
|
284
|
+
}, {
|
|
285
|
+
url: m(u),
|
|
286
|
+
options: p
|
|
287
|
+
};
|
|
288
|
+
},
|
|
229
289
|
updateDriveItem: async (t, n, r, i = {}) => {
|
|
230
290
|
s("updateDriveItem", "driveId", t), s("updateDriveItem", "itemId", n), s("updateDriveItem", "driveItem", r);
|
|
231
291
|
let a = "/v1beta1/drives/{drive-id}/items/{item-id}".replace("{drive-id}", encodeURIComponent(String(t))).replace("{item-id}", encodeURIComponent(String(n))), l = new URL(a, o), u;
|
|
@@ -250,6 +310,10 @@ var d = function(e, ...t) {
|
|
|
250
310
|
}, C = function(n) {
|
|
251
311
|
let r = re(n);
|
|
252
312
|
return {
|
|
313
|
+
async createChildDriveItem(i, o, s, c, l, u) {
|
|
314
|
+
let d = await r.createChildDriveItem(i, o, s, c, l, u), f = n?.serverIndex ?? 0, p = a["DriveItemApi.createChildDriveItem"]?.[f]?.url;
|
|
315
|
+
return (r, i) => h(d, e, t, n)(r, p || i);
|
|
316
|
+
},
|
|
253
317
|
async deleteDriveItem(i, o, s) {
|
|
254
318
|
let c = await r.deleteDriveItem(i, o, s), l = n?.serverIndex ?? 0, u = a["DriveItemApi.deleteDriveItem"]?.[l]?.url;
|
|
255
319
|
return (r, i) => h(c, e, t, n)(r, u || i);
|
|
@@ -258,10 +322,18 @@ var d = function(e, ...t) {
|
|
|
258
322
|
let l = await r.getDriveItem(i, o, s, c), u = n?.serverIndex ?? 0, d = a["DriveItemApi.getDriveItem"]?.[u]?.url;
|
|
259
323
|
return (r, i) => h(l, e, t, n)(r, d || i);
|
|
260
324
|
},
|
|
325
|
+
async getDriveItemChildren(i, o, s, c) {
|
|
326
|
+
let l = await r.getDriveItemChildren(i, o, s, c), u = n?.serverIndex ?? 0, d = a["DriveItemApi.getDriveItemChildren"]?.[u]?.url;
|
|
327
|
+
return (r, i) => h(l, e, t, n)(r, d || i);
|
|
328
|
+
},
|
|
261
329
|
async getDriveItemContent(i, o, s) {
|
|
262
330
|
let c = await r.getDriveItemContent(i, o, s), l = n?.serverIndex ?? 0, u = a["DriveItemApi.getDriveItemContent"]?.[l]?.url;
|
|
263
331
|
return (r, i) => h(c, e, t, n)(r, u || i);
|
|
264
332
|
},
|
|
333
|
+
async getDriveItemV1(i, o, s, c) {
|
|
334
|
+
let l = await r.getDriveItemV1(i, o, s, c), u = n?.serverIndex ?? 0, d = a["DriveItemApi.getDriveItemV1"]?.[u]?.url;
|
|
335
|
+
return (r, i) => h(l, e, t, n)(r, d || i);
|
|
336
|
+
},
|
|
265
337
|
async updateDriveItem(i, o, s, c) {
|
|
266
338
|
let l = await r.updateDriveItem(i, o, s, c), u = n?.serverIndex ?? 0, d = a["DriveItemApi.updateDriveItem"]?.[u]?.url;
|
|
267
339
|
return (r, i) => h(l, e, t, n)(r, d || i);
|
|
@@ -270,33 +342,66 @@ var d = function(e, ...t) {
|
|
|
270
342
|
}, ie = function(e, t, n) {
|
|
271
343
|
let r = C(e);
|
|
272
344
|
return {
|
|
345
|
+
createChildDriveItem(e, i, a, o, s, c) {
|
|
346
|
+
return r.createChildDriveItem(e, i, a, o, s, c).then((e) => e(n, t));
|
|
347
|
+
},
|
|
273
348
|
deleteDriveItem(e, i, a) {
|
|
274
349
|
return r.deleteDriveItem(e, i, a).then((e) => e(n, t));
|
|
275
350
|
},
|
|
276
351
|
getDriveItem(e, i, a, o) {
|
|
277
352
|
return r.getDriveItem(e, i, a, o).then((e) => e(n, t));
|
|
278
353
|
},
|
|
354
|
+
getDriveItemChildren(e, i, a, o) {
|
|
355
|
+
return r.getDriveItemChildren(e, i, a, o).then((e) => e(n, t));
|
|
356
|
+
},
|
|
279
357
|
getDriveItemContent(e, i, a) {
|
|
280
358
|
return r.getDriveItemContent(e, i, a).then((e) => e(n, t));
|
|
281
359
|
},
|
|
360
|
+
getDriveItemV1(e, i, a, o) {
|
|
361
|
+
return r.getDriveItemV1(e, i, a, o).then((e) => e(n, t));
|
|
362
|
+
},
|
|
282
363
|
updateDriveItem(e, i, a, o) {
|
|
283
364
|
return r.updateDriveItem(e, i, a, o).then((e) => e(n, t));
|
|
284
365
|
}
|
|
285
366
|
};
|
|
286
367
|
}, ae = class extends r {
|
|
368
|
+
createChildDriveItem(e, t, n, r, i, a) {
|
|
369
|
+
return C(this.configuration).createChildDriveItem(e, t, n, r, i, a).then((e) => e(this.axios, this.basePath));
|
|
370
|
+
}
|
|
287
371
|
deleteDriveItem(e, t, n) {
|
|
288
372
|
return C(this.configuration).deleteDriveItem(e, t, n).then((e) => e(this.axios, this.basePath));
|
|
289
373
|
}
|
|
290
374
|
getDriveItem(e, t, n, r) {
|
|
291
375
|
return C(this.configuration).getDriveItem(e, t, n, r).then((e) => e(this.axios, this.basePath));
|
|
292
376
|
}
|
|
377
|
+
getDriveItemChildren(e, t, n, r) {
|
|
378
|
+
return C(this.configuration).getDriveItemChildren(e, t, n, r).then((e) => e(this.axios, this.basePath));
|
|
379
|
+
}
|
|
293
380
|
getDriveItemContent(e, t, n) {
|
|
294
381
|
return C(this.configuration).getDriveItemContent(e, t, n).then((e) => e(this.axios, this.basePath));
|
|
295
382
|
}
|
|
383
|
+
getDriveItemV1(e, t, n, r) {
|
|
384
|
+
return C(this.configuration).getDriveItemV1(e, t, n, r).then((e) => e(this.axios, this.basePath));
|
|
385
|
+
}
|
|
296
386
|
updateDriveItem(e, t, n, r) {
|
|
297
387
|
return C(this.configuration).updateDriveItem(e, t, n, r).then((e) => e(this.axios, this.basePath));
|
|
298
388
|
}
|
|
299
|
-
}, oe = {
|
|
389
|
+
}, oe = {
|
|
390
|
+
Fail: "fail",
|
|
391
|
+
Replace: "replace"
|
|
392
|
+
}, se = {
|
|
393
|
+
Fail: "fail",
|
|
394
|
+
Create: "create"
|
|
395
|
+
}, ce = {
|
|
396
|
+
MicrosoftGraphDownloadUrl: "@microsoft.graph.downloadUrl",
|
|
397
|
+
LibreGraphPermissionsActionsAllowedValues: "@libre.graph.permissions.actions.allowedValues"
|
|
398
|
+
}, le = {
|
|
399
|
+
MicrosoftGraphDownloadUrl: "@microsoft.graph.downloadUrl",
|
|
400
|
+
LibreGraphPermissionsActionsAllowedValues: "@libre.graph.permissions.actions.allowedValues"
|
|
401
|
+
}, ue = {
|
|
402
|
+
MicrosoftGraphDownloadUrl: "@microsoft.graph.downloadUrl",
|
|
403
|
+
LibreGraphPermissionsActionsAllowedValues: "@libre.graph.permissions.actions.allowedValues"
|
|
404
|
+
}, de = function(e) {
|
|
300
405
|
return {
|
|
301
406
|
createDrive: async (t, n = {}) => {
|
|
302
407
|
s("createDrive", "drive", t);
|
|
@@ -380,7 +485,7 @@ var d = function(e, ...t) {
|
|
|
380
485
|
}
|
|
381
486
|
};
|
|
382
487
|
}, w = function(n) {
|
|
383
|
-
let r =
|
|
488
|
+
let r = de(n);
|
|
384
489
|
return {
|
|
385
490
|
async createDrive(i, o) {
|
|
386
491
|
let s = await r.createDrive(i, o), c = n?.serverIndex ?? 0, l = a["DrivesApi.createDrive"]?.[c]?.url;
|
|
@@ -399,7 +504,7 @@ var d = function(e, ...t) {
|
|
|
399
504
|
return (r, i) => h(c, e, t, n)(r, u || i);
|
|
400
505
|
}
|
|
401
506
|
};
|
|
402
|
-
},
|
|
507
|
+
}, fe = function(e, t, n) {
|
|
403
508
|
let r = w(e);
|
|
404
509
|
return {
|
|
405
510
|
createDrive(e, i) {
|
|
@@ -415,7 +520,7 @@ var d = function(e, ...t) {
|
|
|
415
520
|
return r.updateDrive(e, i, a).then((e) => e(n, t));
|
|
416
521
|
}
|
|
417
522
|
};
|
|
418
|
-
},
|
|
523
|
+
}, pe = class extends r {
|
|
419
524
|
createDrive(e, t) {
|
|
420
525
|
return w(this.configuration).createDrive(e, t).then((e) => e(this.axios, this.basePath));
|
|
421
526
|
}
|
|
@@ -428,7 +533,7 @@ var d = function(e, ...t) {
|
|
|
428
533
|
updateDrive(e, t, n) {
|
|
429
534
|
return w(this.configuration).updateDrive(e, t, n).then((e) => e(this.axios, this.basePath));
|
|
430
535
|
}
|
|
431
|
-
},
|
|
536
|
+
}, me = { LibreGraphHasTrashedItems: "@libre.graph.hasTrashedItems" }, he = function(e) {
|
|
432
537
|
return {
|
|
433
538
|
listAllDrives: async (t, n, r = {}) => {
|
|
434
539
|
let i = new URL("/v1.0/drives", o), a;
|
|
@@ -470,7 +575,7 @@ var d = function(e, ...t) {
|
|
|
470
575
|
}
|
|
471
576
|
};
|
|
472
577
|
}, T = function(n) {
|
|
473
|
-
let r =
|
|
578
|
+
let r = he(n);
|
|
474
579
|
return {
|
|
475
580
|
async listAllDrives(i, o, s) {
|
|
476
581
|
let c = await r.listAllDrives(i, o, s), l = n?.serverIndex ?? 0, u = a["DrivesGetDrivesApi.listAllDrives"]?.[l]?.url;
|
|
@@ -481,7 +586,7 @@ var d = function(e, ...t) {
|
|
|
481
586
|
return (r, i) => h(u, e, t, n)(r, f || i);
|
|
482
587
|
}
|
|
483
588
|
};
|
|
484
|
-
},
|
|
589
|
+
}, ge = function(e, t, n) {
|
|
485
590
|
let r = T(e);
|
|
486
591
|
return {
|
|
487
592
|
listAllDrives(e, i, a) {
|
|
@@ -491,14 +596,14 @@ var d = function(e, ...t) {
|
|
|
491
596
|
return r.listAllDrivesBeta(e, i, a, o, s).then((e) => e(n, t));
|
|
492
597
|
}
|
|
493
598
|
};
|
|
494
|
-
},
|
|
599
|
+
}, _e = class extends r {
|
|
495
600
|
listAllDrives(e, t, n) {
|
|
496
601
|
return T(this.configuration).listAllDrives(e, t, n).then((e) => e(this.axios, this.basePath));
|
|
497
602
|
}
|
|
498
603
|
listAllDrivesBeta(e, t, n, r, i) {
|
|
499
604
|
return T(this.configuration).listAllDrivesBeta(e, t, n, r, i).then((e) => e(this.axios, this.basePath));
|
|
500
605
|
}
|
|
501
|
-
},
|
|
606
|
+
}, ve = { LibreGraphHasTrashedItems: "@libre.graph.hasTrashedItems" }, ye = function(e) {
|
|
502
607
|
return {
|
|
503
608
|
createLink: async (t, n, r, i = {}) => {
|
|
504
609
|
s("createLink", "driveId", t), s("createLink", "itemId", n);
|
|
@@ -642,7 +747,7 @@ var d = function(e, ...t) {
|
|
|
642
747
|
}
|
|
643
748
|
};
|
|
644
749
|
}, E = function(n) {
|
|
645
|
-
let r =
|
|
750
|
+
let r = ye(n);
|
|
646
751
|
return {
|
|
647
752
|
async createLink(i, o, s, c) {
|
|
648
753
|
let l = await r.createLink(i, o, s, c), u = n?.serverIndex ?? 0, d = a["DrivesPermissionsApi.createLink"]?.[u]?.url;
|
|
@@ -673,7 +778,7 @@ var d = function(e, ...t) {
|
|
|
673
778
|
return (r, i) => h(u, e, t, n)(r, f || i);
|
|
674
779
|
}
|
|
675
780
|
};
|
|
676
|
-
},
|
|
781
|
+
}, be = function(e, t, n) {
|
|
677
782
|
let r = E(e);
|
|
678
783
|
return {
|
|
679
784
|
createLink(e, i, a, o) {
|
|
@@ -698,7 +803,7 @@ var d = function(e, ...t) {
|
|
|
698
803
|
return r.updatePermission(e, i, a, o, s).then((e) => e(n, t));
|
|
699
804
|
}
|
|
700
805
|
};
|
|
701
|
-
},
|
|
806
|
+
}, xe = class extends r {
|
|
702
807
|
createLink(e, t, n, r) {
|
|
703
808
|
return E(this.configuration).createLink(e, t, n, r).then((e) => e(this.axios, this.basePath));
|
|
704
809
|
}
|
|
@@ -720,30 +825,30 @@ var d = function(e, ...t) {
|
|
|
720
825
|
updatePermission(e, t, n, r, i) {
|
|
721
826
|
return E(this.configuration).updatePermission(e, t, n, r, i).then((e) => e(this.axios, this.basePath));
|
|
722
827
|
}
|
|
723
|
-
},
|
|
828
|
+
}, Se = {
|
|
724
829
|
LibreGraphPermissionsActionsAllowedValues: "@libre.graph.permissions.actions.allowedValues",
|
|
725
830
|
LibreGraphPermissionsRolesAllowedValues: "@libre.graph.permissions.roles.allowedValues",
|
|
726
831
|
Value: "value"
|
|
727
|
-
},
|
|
832
|
+
}, Ce = function(e) {
|
|
728
833
|
return {
|
|
729
|
-
createDriveItem: async (t, n, r = {}) => {
|
|
834
|
+
createDriveItem: async (t, n, r, i, a = {}) => {
|
|
730
835
|
s("createDriveItem", "driveId", t);
|
|
731
|
-
let
|
|
732
|
-
e && (
|
|
733
|
-
let
|
|
836
|
+
let l = "/v1beta1/drives/{drive-id}/root/children".replace("{drive-id}", encodeURIComponent(String(t))), u = new URL(l, o), f;
|
|
837
|
+
e && (f = e.baseOptions);
|
|
838
|
+
let h = {
|
|
734
839
|
method: "POST",
|
|
735
|
-
...l,
|
|
736
|
-
...r
|
|
737
|
-
}, f = {};
|
|
738
|
-
c(u, e), f["Content-Type"] = "application/json", f.Accept = "application/json", d(a, {});
|
|
739
|
-
let h = l && l.headers ? l.headers : {};
|
|
740
|
-
return u.headers = {
|
|
741
840
|
...f,
|
|
742
|
-
...
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
841
|
+
...a
|
|
842
|
+
}, g = {}, _ = {};
|
|
843
|
+
c(h, e), n !== void 0 && (_["@libre.graph.conflictBehavior"] = n), r !== void 0 && (_["@libre.graph.missingParentsBehavior"] = r), g["Content-Type"] = "application/json", g.Accept = "application/json", d(u, _);
|
|
844
|
+
let v = f && f.headers ? f.headers : {};
|
|
845
|
+
return h.headers = {
|
|
846
|
+
...g,
|
|
847
|
+
...v,
|
|
848
|
+
...a.headers
|
|
849
|
+
}, h.data = p(i, h, e), {
|
|
850
|
+
url: m(u),
|
|
851
|
+
options: h
|
|
747
852
|
};
|
|
748
853
|
},
|
|
749
854
|
createLinkSpaceRoot: async (t, n, r = {}) => {
|
|
@@ -806,24 +911,24 @@ var d = function(e, ...t) {
|
|
|
806
911
|
options: u
|
|
807
912
|
};
|
|
808
913
|
},
|
|
809
|
-
getRoot: async (t,
|
|
914
|
+
getRoot: async (t, r, i = {}) => {
|
|
810
915
|
s("getRoot", "driveId", t);
|
|
811
|
-
let
|
|
812
|
-
e && (
|
|
813
|
-
let
|
|
916
|
+
let a = "/v1.0/drives/{drive-id}/root".replace("{drive-id}", encodeURIComponent(String(t))), l = new URL(a, o), u;
|
|
917
|
+
e && (u = e.baseOptions);
|
|
918
|
+
let f = {
|
|
814
919
|
method: "GET",
|
|
815
|
-
...a,
|
|
816
|
-
...n
|
|
817
|
-
}, u = {};
|
|
818
|
-
c(l, e), u.Accept = "application/json", d(i, {});
|
|
819
|
-
let f = a && a.headers ? a.headers : {};
|
|
820
|
-
return l.headers = {
|
|
821
920
|
...u,
|
|
822
|
-
...
|
|
823
|
-
|
|
921
|
+
...i
|
|
922
|
+
}, p = {}, h = {};
|
|
923
|
+
c(f, e), r && (h.$select = Array.from(r).join(n.csv)), p.Accept = "application/json", d(l, h);
|
|
924
|
+
let g = u && u.headers ? u.headers : {};
|
|
925
|
+
return f.headers = {
|
|
926
|
+
...p,
|
|
927
|
+
...g,
|
|
928
|
+
...i.headers
|
|
824
929
|
}, {
|
|
825
|
-
url: m(
|
|
826
|
-
options:
|
|
930
|
+
url: m(l),
|
|
931
|
+
options: f
|
|
827
932
|
};
|
|
828
933
|
},
|
|
829
934
|
inviteSpaceRoot: async (t, n, r = {}) => {
|
|
@@ -908,11 +1013,11 @@ var d = function(e, ...t) {
|
|
|
908
1013
|
}
|
|
909
1014
|
};
|
|
910
1015
|
}, D = function(n) {
|
|
911
|
-
let r =
|
|
1016
|
+
let r = Ce(n);
|
|
912
1017
|
return {
|
|
913
|
-
async createDriveItem(i, o, s) {
|
|
914
|
-
let
|
|
915
|
-
return (r, i) => h(
|
|
1018
|
+
async createDriveItem(i, o, s, c, l) {
|
|
1019
|
+
let u = await r.createDriveItem(i, o, s, c, l), d = n?.serverIndex ?? 0, f = a["DrivesRootApi.createDriveItem"]?.[d]?.url;
|
|
1020
|
+
return (r, i) => h(u, e, t, n)(r, f || i);
|
|
916
1021
|
},
|
|
917
1022
|
async createLinkSpaceRoot(i, o, s) {
|
|
918
1023
|
let c = await r.createLinkSpaceRoot(i, o, s), l = n?.serverIndex ?? 0, u = a["DrivesRootApi.createLinkSpaceRoot"]?.[l]?.url;
|
|
@@ -926,9 +1031,9 @@ var d = function(e, ...t) {
|
|
|
926
1031
|
let c = await r.getPermissionSpaceRoot(i, o, s), l = n?.serverIndex ?? 0, u = a["DrivesRootApi.getPermissionSpaceRoot"]?.[l]?.url;
|
|
927
1032
|
return (r, i) => h(c, e, t, n)(r, u || i);
|
|
928
1033
|
},
|
|
929
|
-
async getRoot(i, o) {
|
|
930
|
-
let
|
|
931
|
-
return (r, i) => h(
|
|
1034
|
+
async getRoot(i, o, s) {
|
|
1035
|
+
let c = await r.getRoot(i, o, s), l = n?.serverIndex ?? 0, u = a["DrivesRootApi.getRoot"]?.[l]?.url;
|
|
1036
|
+
return (r, i) => h(c, e, t, n)(r, u || i);
|
|
932
1037
|
},
|
|
933
1038
|
async inviteSpaceRoot(i, o, s) {
|
|
934
1039
|
let c = await r.inviteSpaceRoot(i, o, s), l = n?.serverIndex ?? 0, u = a["DrivesRootApi.inviteSpaceRoot"]?.[l]?.url;
|
|
@@ -947,11 +1052,11 @@ var d = function(e, ...t) {
|
|
|
947
1052
|
return (r, i) => h(l, e, t, n)(r, d || i);
|
|
948
1053
|
}
|
|
949
1054
|
};
|
|
950
|
-
},
|
|
1055
|
+
}, we = function(e, t, n) {
|
|
951
1056
|
let r = D(e);
|
|
952
1057
|
return {
|
|
953
|
-
createDriveItem(e, i, a) {
|
|
954
|
-
return r.createDriveItem(e, i, a).then((e) => e(n, t));
|
|
1058
|
+
createDriveItem(e, i, a, o, s) {
|
|
1059
|
+
return r.createDriveItem(e, i, a, o, s).then((e) => e(n, t));
|
|
955
1060
|
},
|
|
956
1061
|
createLinkSpaceRoot(e, i, a) {
|
|
957
1062
|
return r.createLinkSpaceRoot(e, i, a).then((e) => e(n, t));
|
|
@@ -962,8 +1067,8 @@ var d = function(e, ...t) {
|
|
|
962
1067
|
getPermissionSpaceRoot(e, i, a) {
|
|
963
1068
|
return r.getPermissionSpaceRoot(e, i, a).then((e) => e(n, t));
|
|
964
1069
|
},
|
|
965
|
-
getRoot(e, i) {
|
|
966
|
-
return r.getRoot(e, i).then((e) => e(n, t));
|
|
1070
|
+
getRoot(e, i, a) {
|
|
1071
|
+
return r.getRoot(e, i, a).then((e) => e(n, t));
|
|
967
1072
|
},
|
|
968
1073
|
inviteSpaceRoot(e, i, a) {
|
|
969
1074
|
return r.inviteSpaceRoot(e, i, a).then((e) => e(n, t));
|
|
@@ -978,9 +1083,9 @@ var d = function(e, ...t) {
|
|
|
978
1083
|
return r.updatePermissionSpaceRoot(e, i, a, o).then((e) => e(n, t));
|
|
979
1084
|
}
|
|
980
1085
|
};
|
|
981
|
-
},
|
|
982
|
-
createDriveItem(e, t, n) {
|
|
983
|
-
return D(this.configuration).createDriveItem(e, t, n).then((e) => e(this.axios, this.basePath));
|
|
1086
|
+
}, Te = class extends r {
|
|
1087
|
+
createDriveItem(e, t, n, r, i) {
|
|
1088
|
+
return D(this.configuration).createDriveItem(e, t, n, r, i).then((e) => e(this.axios, this.basePath));
|
|
984
1089
|
}
|
|
985
1090
|
createLinkSpaceRoot(e, t, n) {
|
|
986
1091
|
return D(this.configuration).createLinkSpaceRoot(e, t, n).then((e) => e(this.axios, this.basePath));
|
|
@@ -991,8 +1096,8 @@ var d = function(e, ...t) {
|
|
|
991
1096
|
getPermissionSpaceRoot(e, t, n) {
|
|
992
1097
|
return D(this.configuration).getPermissionSpaceRoot(e, t, n).then((e) => e(this.axios, this.basePath));
|
|
993
1098
|
}
|
|
994
|
-
getRoot(e, t) {
|
|
995
|
-
return D(this.configuration).getRoot(e, t).then((e) => e(this.axios, this.basePath));
|
|
1099
|
+
getRoot(e, t, n) {
|
|
1100
|
+
return D(this.configuration).getRoot(e, t, n).then((e) => e(this.axios, this.basePath));
|
|
996
1101
|
}
|
|
997
1102
|
inviteSpaceRoot(e, t, n) {
|
|
998
1103
|
return D(this.configuration).inviteSpaceRoot(e, t, n).then((e) => e(this.axios, this.basePath));
|
|
@@ -1006,7 +1111,16 @@ var d = function(e, ...t) {
|
|
|
1006
1111
|
updatePermissionSpaceRoot(e, t, n, r) {
|
|
1007
1112
|
return D(this.configuration).updatePermissionSpaceRoot(e, t, n, r).then((e) => e(this.axios, this.basePath));
|
|
1008
1113
|
}
|
|
1009
|
-
},
|
|
1114
|
+
}, Ee = {
|
|
1115
|
+
Fail: "fail",
|
|
1116
|
+
Replace: "replace"
|
|
1117
|
+
}, De = {
|
|
1118
|
+
Fail: "fail",
|
|
1119
|
+
Create: "create"
|
|
1120
|
+
}, Oe = {
|
|
1121
|
+
MicrosoftGraphDownloadUrl: "@microsoft.graph.downloadUrl",
|
|
1122
|
+
LibreGraphPermissionsActionsAllowedValues: "@libre.graph.permissions.actions.allowedValues"
|
|
1123
|
+
}, ke = {
|
|
1010
1124
|
LibreGraphPermissionsActionsAllowedValues: "@libre.graph.permissions.actions.allowedValues",
|
|
1011
1125
|
LibreGraphPermissionsRolesAllowedValues: "@libre.graph.permissions.roles.allowedValues",
|
|
1012
1126
|
Value: "value"
|
|
@@ -1208,7 +1322,7 @@ var d = function(e, ...t) {
|
|
|
1208
1322
|
return (r, i) => h(c, e, t, n)(r, u || i);
|
|
1209
1323
|
}
|
|
1210
1324
|
};
|
|
1211
|
-
},
|
|
1325
|
+
}, Ae = function(e, t, n) {
|
|
1212
1326
|
let r = k(e);
|
|
1213
1327
|
return {
|
|
1214
1328
|
addUserToClass(e, i, a) {
|
|
@@ -1236,7 +1350,7 @@ var d = function(e, ...t) {
|
|
|
1236
1350
|
return r.updateClass(e, i, a).then((e) => e(n, t));
|
|
1237
1351
|
}
|
|
1238
1352
|
};
|
|
1239
|
-
},
|
|
1353
|
+
}, je = class extends r {
|
|
1240
1354
|
addUserToClass(e, t, n) {
|
|
1241
1355
|
return k(this.configuration).addUserToClass(e, t, n).then((e) => e(this.axios, this.basePath));
|
|
1242
1356
|
}
|
|
@@ -1261,7 +1375,7 @@ var d = function(e, ...t) {
|
|
|
1261
1375
|
updateClass(e, t, n) {
|
|
1262
1376
|
return k(this.configuration).updateClass(e, t, n).then((e) => e(this.axios, this.basePath));
|
|
1263
1377
|
}
|
|
1264
|
-
},
|
|
1378
|
+
}, Me = function(e) {
|
|
1265
1379
|
return {
|
|
1266
1380
|
addTeacherToClass: async (t, n, r = {}) => {
|
|
1267
1381
|
s("addTeacherToClass", "classId", t), s("addTeacherToClass", "classTeacherReference", n);
|
|
@@ -1325,7 +1439,7 @@ var d = function(e, ...t) {
|
|
|
1325
1439
|
}
|
|
1326
1440
|
};
|
|
1327
1441
|
}, A = function(n) {
|
|
1328
|
-
let r =
|
|
1442
|
+
let r = Me(n);
|
|
1329
1443
|
return {
|
|
1330
1444
|
async addTeacherToClass(i, o, s) {
|
|
1331
1445
|
let c = await r.addTeacherToClass(i, o, s), l = n?.serverIndex ?? 0, u = a["EducationClassTeachersApi.addTeacherToClass"]?.[l]?.url;
|
|
@@ -1340,7 +1454,7 @@ var d = function(e, ...t) {
|
|
|
1340
1454
|
return (r, i) => h(s, e, t, n)(r, l || i);
|
|
1341
1455
|
}
|
|
1342
1456
|
};
|
|
1343
|
-
},
|
|
1457
|
+
}, Ne = function(e, t, n) {
|
|
1344
1458
|
let r = A(e);
|
|
1345
1459
|
return {
|
|
1346
1460
|
addTeacherToClass(e, i, a) {
|
|
@@ -1353,7 +1467,7 @@ var d = function(e, ...t) {
|
|
|
1353
1467
|
return r.getTeachers(e, i).then((e) => e(n, t));
|
|
1354
1468
|
}
|
|
1355
1469
|
};
|
|
1356
|
-
},
|
|
1470
|
+
}, Pe = class extends r {
|
|
1357
1471
|
addTeacherToClass(e, t, n) {
|
|
1358
1472
|
return A(this.configuration).addTeacherToClass(e, t, n).then((e) => e(this.axios, this.basePath));
|
|
1359
1473
|
}
|
|
@@ -1363,7 +1477,7 @@ var d = function(e, ...t) {
|
|
|
1363
1477
|
getTeachers(e, t) {
|
|
1364
1478
|
return A(this.configuration).getTeachers(e, t).then((e) => e(this.axios, this.basePath));
|
|
1365
1479
|
}
|
|
1366
|
-
},
|
|
1480
|
+
}, Fe = function(e) {
|
|
1367
1481
|
return {
|
|
1368
1482
|
addClassToSchool: async (t, n, r = {}) => {
|
|
1369
1483
|
s("addClassToSchool", "schoolId", t), s("addClassToSchool", "classReference", n);
|
|
@@ -1586,7 +1700,7 @@ var d = function(e, ...t) {
|
|
|
1586
1700
|
}
|
|
1587
1701
|
};
|
|
1588
1702
|
}, j = function(n) {
|
|
1589
|
-
let r =
|
|
1703
|
+
let r = Fe(n);
|
|
1590
1704
|
return {
|
|
1591
1705
|
async addClassToSchool(i, o, s) {
|
|
1592
1706
|
let c = await r.addClassToSchool(i, o, s), l = n?.serverIndex ?? 0, u = a["EducationSchoolApi.addClassToSchool"]?.[l]?.url;
|
|
@@ -1633,7 +1747,7 @@ var d = function(e, ...t) {
|
|
|
1633
1747
|
return (r, i) => h(c, e, t, n)(r, u || i);
|
|
1634
1748
|
}
|
|
1635
1749
|
};
|
|
1636
|
-
},
|
|
1750
|
+
}, Ie = function(e, t, n) {
|
|
1637
1751
|
let r = j(e);
|
|
1638
1752
|
return {
|
|
1639
1753
|
addClassToSchool(e, i, a) {
|
|
@@ -1670,7 +1784,7 @@ var d = function(e, ...t) {
|
|
|
1670
1784
|
return r.updateSchool(e, i, a).then((e) => e(n, t));
|
|
1671
1785
|
}
|
|
1672
1786
|
};
|
|
1673
|
-
},
|
|
1787
|
+
}, Le = class extends r {
|
|
1674
1788
|
addClassToSchool(e, t, n) {
|
|
1675
1789
|
return j(this.configuration).addClassToSchool(e, t, n).then((e) => e(this.axios, this.basePath));
|
|
1676
1790
|
}
|
|
@@ -1830,7 +1944,7 @@ var d = function(e, ...t) {
|
|
|
1830
1944
|
return (r, i) => h(c, e, t, n)(r, u || i);
|
|
1831
1945
|
}
|
|
1832
1946
|
};
|
|
1833
|
-
},
|
|
1947
|
+
}, Re = function(e, t, n) {
|
|
1834
1948
|
let r = N(e);
|
|
1835
1949
|
return {
|
|
1836
1950
|
createEducationUser(e, i) {
|
|
@@ -1849,7 +1963,7 @@ var d = function(e, ...t) {
|
|
|
1849
1963
|
return r.updateEducationUser(e, i, a).then((e) => e(n, t));
|
|
1850
1964
|
}
|
|
1851
1965
|
};
|
|
1852
|
-
},
|
|
1966
|
+
}, ze = class extends r {
|
|
1853
1967
|
createEducationUser(e, t) {
|
|
1854
1968
|
return N(this.configuration).createEducationUser(e, t).then((e) => e(this.axios, this.basePath));
|
|
1855
1969
|
}
|
|
@@ -1865,14 +1979,14 @@ var d = function(e, ...t) {
|
|
|
1865
1979
|
updateEducationUser(e, t, n) {
|
|
1866
1980
|
return N(this.configuration).updateEducationUser(e, t, n).then((e) => e(this.axios, this.basePath));
|
|
1867
1981
|
}
|
|
1868
|
-
},
|
|
1982
|
+
}, Be = { MemberOf: "memberOf" }, Ve = {
|
|
1869
1983
|
DisplayName: "displayName",
|
|
1870
1984
|
DisplayNameDesc: "displayName desc",
|
|
1871
1985
|
Mail: "mail",
|
|
1872
1986
|
MailDesc: "mail desc",
|
|
1873
1987
|
OnPremisesSamAccountName: "onPremisesSamAccountName",
|
|
1874
1988
|
OnPremisesSamAccountNameDesc: "onPremisesSamAccountName desc"
|
|
1875
|
-
},
|
|
1989
|
+
}, He = { MemberOf: "memberOf" }, P = function(e) {
|
|
1876
1990
|
return {
|
|
1877
1991
|
addMember: async (t, n, r = {}) => {
|
|
1878
1992
|
s("addMember", "groupId", t), s("addMember", "memberReference", n);
|
|
@@ -2023,7 +2137,7 @@ var d = function(e, ...t) {
|
|
|
2023
2137
|
return (r, i) => h(c, e, t, n)(r, u || i);
|
|
2024
2138
|
}
|
|
2025
2139
|
};
|
|
2026
|
-
},
|
|
2140
|
+
}, Ue = function(e, t, n) {
|
|
2027
2141
|
let r = F(e);
|
|
2028
2142
|
return {
|
|
2029
2143
|
addMember(e, i, a) {
|
|
@@ -2045,7 +2159,7 @@ var d = function(e, ...t) {
|
|
|
2045
2159
|
return r.updateGroup(e, i, a).then((e) => e(n, t));
|
|
2046
2160
|
}
|
|
2047
2161
|
};
|
|
2048
|
-
},
|
|
2162
|
+
}, We = class extends r {
|
|
2049
2163
|
addMember(e, t, n) {
|
|
2050
2164
|
return F(this.configuration).addMember(e, t, n).then((e) => e(this.axios, this.basePath));
|
|
2051
2165
|
}
|
|
@@ -2064,12 +2178,12 @@ var d = function(e, ...t) {
|
|
|
2064
2178
|
updateGroup(e, t, n) {
|
|
2065
2179
|
return F(this.configuration).updateGroup(e, t, n).then((e) => e(this.axios, this.basePath));
|
|
2066
2180
|
}
|
|
2067
|
-
},
|
|
2181
|
+
}, Ge = {
|
|
2068
2182
|
Id: "id",
|
|
2069
2183
|
Description: "description",
|
|
2070
2184
|
DisplayName: "displayName",
|
|
2071
2185
|
Members: "members"
|
|
2072
|
-
},
|
|
2186
|
+
}, Ke = { Members: "members" }, qe = function(e) {
|
|
2073
2187
|
return {
|
|
2074
2188
|
createGroup: async (t, n = {}) => {
|
|
2075
2189
|
s("createGroup", "group", t);
|
|
@@ -2112,7 +2226,7 @@ var d = function(e, ...t) {
|
|
|
2112
2226
|
}
|
|
2113
2227
|
};
|
|
2114
2228
|
}, I = function(n) {
|
|
2115
|
-
let r =
|
|
2229
|
+
let r = qe(n);
|
|
2116
2230
|
return {
|
|
2117
2231
|
async createGroup(i, o) {
|
|
2118
2232
|
let s = await r.createGroup(i, o), c = n?.serverIndex ?? 0, l = a["GroupsApi.createGroup"]?.[c]?.url;
|
|
@@ -2123,7 +2237,7 @@ var d = function(e, ...t) {
|
|
|
2123
2237
|
return (r, i) => h(u, e, t, n)(r, f || i);
|
|
2124
2238
|
}
|
|
2125
2239
|
};
|
|
2126
|
-
},
|
|
2240
|
+
}, Je = function(e, t, n) {
|
|
2127
2241
|
let r = I(e);
|
|
2128
2242
|
return {
|
|
2129
2243
|
createGroup(e, i) {
|
|
@@ -2133,23 +2247,23 @@ var d = function(e, ...t) {
|
|
|
2133
2247
|
return r.listGroups(e, i, a, o, s).then((e) => e(n, t));
|
|
2134
2248
|
}
|
|
2135
2249
|
};
|
|
2136
|
-
},
|
|
2250
|
+
}, Ye = class extends r {
|
|
2137
2251
|
createGroup(e, t) {
|
|
2138
2252
|
return I(this.configuration).createGroup(e, t).then((e) => e(this.axios, this.basePath));
|
|
2139
2253
|
}
|
|
2140
2254
|
listGroups(e, t, n, r, i) {
|
|
2141
2255
|
return I(this.configuration).listGroups(e, t, n, r, i).then((e) => e(this.axios, this.basePath));
|
|
2142
2256
|
}
|
|
2143
|
-
},
|
|
2257
|
+
}, Xe = {
|
|
2144
2258
|
DisplayName: "displayName",
|
|
2145
2259
|
DisplayNameDesc: "displayName desc"
|
|
2146
|
-
},
|
|
2260
|
+
}, Ze = {
|
|
2147
2261
|
Id: "id",
|
|
2148
2262
|
Description: "description",
|
|
2149
2263
|
DisplayName: "displayName",
|
|
2150
2264
|
Mail: "mail",
|
|
2151
2265
|
Members: "members"
|
|
2152
|
-
},
|
|
2266
|
+
}, Qe = { Members: "members" }, $e = function(e) {
|
|
2153
2267
|
return {
|
|
2154
2268
|
createInvitation: async (t, n = {}) => {
|
|
2155
2269
|
let r = new URL("/v1.0/invitations", o), i;
|
|
@@ -2211,7 +2325,7 @@ var d = function(e, ...t) {
|
|
|
2211
2325
|
}
|
|
2212
2326
|
};
|
|
2213
2327
|
}, L = function(n) {
|
|
2214
|
-
let r =
|
|
2328
|
+
let r = $e(n);
|
|
2215
2329
|
return {
|
|
2216
2330
|
async createInvitation(i, o) {
|
|
2217
2331
|
let s = await r.createInvitation(i, o), c = n?.serverIndex ?? 0, l = a["InvitationsApi.createInvitation"]?.[c]?.url;
|
|
@@ -2226,7 +2340,7 @@ var d = function(e, ...t) {
|
|
|
2226
2340
|
return (r, i) => h(o, e, t, n)(r, c || i);
|
|
2227
2341
|
}
|
|
2228
2342
|
};
|
|
2229
|
-
},
|
|
2343
|
+
}, et = function(e, t, n) {
|
|
2230
2344
|
let r = L(e);
|
|
2231
2345
|
return {
|
|
2232
2346
|
createInvitation(e, i) {
|
|
@@ -2239,7 +2353,7 @@ var d = function(e, ...t) {
|
|
|
2239
2353
|
return r.listInvitations(e).then((e) => e(n, t));
|
|
2240
2354
|
}
|
|
2241
2355
|
};
|
|
2242
|
-
},
|
|
2356
|
+
}, tt = class extends r {
|
|
2243
2357
|
createInvitation(e, t) {
|
|
2244
2358
|
return L(this.configuration).createInvitation(e, t).then((e) => e(this.axios, this.basePath));
|
|
2245
2359
|
}
|
|
@@ -2249,7 +2363,7 @@ var d = function(e, ...t) {
|
|
|
2249
2363
|
listInvitations(e) {
|
|
2250
2364
|
return L(this.configuration).listInvitations(e).then((e) => e(this.axios, this.basePath));
|
|
2251
2365
|
}
|
|
2252
|
-
},
|
|
2366
|
+
}, nt = function(e) {
|
|
2253
2367
|
return { changeOwnPassword: async (t, n = {}) => {
|
|
2254
2368
|
s("changeOwnPassword", "passwordChange", t);
|
|
2255
2369
|
let r = new URL("/v1.0/me/changePassword", o), i;
|
|
@@ -2271,21 +2385,21 @@ var d = function(e, ...t) {
|
|
|
2271
2385
|
};
|
|
2272
2386
|
} };
|
|
2273
2387
|
}, R = function(n) {
|
|
2274
|
-
let r =
|
|
2388
|
+
let r = nt(n);
|
|
2275
2389
|
return { async changeOwnPassword(i, o) {
|
|
2276
2390
|
let s = await r.changeOwnPassword(i, o), c = n?.serverIndex ?? 0, l = a["MeChangepasswordApi.changeOwnPassword"]?.[c]?.url;
|
|
2277
2391
|
return (r, i) => h(s, e, t, n)(r, l || i);
|
|
2278
2392
|
} };
|
|
2279
|
-
},
|
|
2393
|
+
}, rt = function(e, t, n) {
|
|
2280
2394
|
let r = R(e);
|
|
2281
2395
|
return { changeOwnPassword(e, i) {
|
|
2282
2396
|
return r.changeOwnPassword(e, i).then((e) => e(n, t));
|
|
2283
2397
|
} };
|
|
2284
|
-
},
|
|
2398
|
+
}, it = class extends r {
|
|
2285
2399
|
changeOwnPassword(e, t) {
|
|
2286
2400
|
return R(this.configuration).changeOwnPassword(e, t).then((e) => e(this.axios, this.basePath));
|
|
2287
2401
|
}
|
|
2288
|
-
},
|
|
2402
|
+
}, at = function(e) {
|
|
2289
2403
|
return {
|
|
2290
2404
|
followDriveItem: async (t, n = {}) => {
|
|
2291
2405
|
s("followDriveItem", "itemId", t);
|
|
@@ -2385,8 +2499,8 @@ var d = function(e, ...t) {
|
|
|
2385
2499
|
};
|
|
2386
2500
|
}
|
|
2387
2501
|
};
|
|
2388
|
-
},
|
|
2389
|
-
let r =
|
|
2502
|
+
}, z = function(n) {
|
|
2503
|
+
let r = at(n);
|
|
2390
2504
|
return {
|
|
2391
2505
|
async followDriveItem(i, o) {
|
|
2392
2506
|
let s = await r.followDriveItem(i, o), c = n?.serverIndex ?? 0, l = a["MeDriveApi.followDriveItem"]?.[c]?.url;
|
|
@@ -2409,8 +2523,8 @@ var d = function(e, ...t) {
|
|
|
2409
2523
|
return (r, i) => h(s, e, t, n)(r, l || i);
|
|
2410
2524
|
}
|
|
2411
2525
|
};
|
|
2412
|
-
},
|
|
2413
|
-
let r =
|
|
2526
|
+
}, ot = function(e, t, n) {
|
|
2527
|
+
let r = z(e);
|
|
2414
2528
|
return {
|
|
2415
2529
|
followDriveItem(e, i) {
|
|
2416
2530
|
return r.followDriveItem(e, i).then((e) => e(n, t));
|
|
@@ -2428,93 +2542,99 @@ var d = function(e, ...t) {
|
|
|
2428
2542
|
return r.unfollowDriveItem(e, i).then((e) => e(n, t));
|
|
2429
2543
|
}
|
|
2430
2544
|
};
|
|
2431
|
-
},
|
|
2545
|
+
}, st = class extends r {
|
|
2432
2546
|
followDriveItem(e, t) {
|
|
2433
|
-
return
|
|
2547
|
+
return z(this.configuration).followDriveItem(e, t).then((e) => e(this.axios, this.basePath));
|
|
2434
2548
|
}
|
|
2435
2549
|
getHome(e) {
|
|
2436
|
-
return
|
|
2550
|
+
return z(this.configuration).getHome(e).then((e) => e(this.axios, this.basePath));
|
|
2437
2551
|
}
|
|
2438
2552
|
listSharedByMe(e, t) {
|
|
2439
|
-
return
|
|
2553
|
+
return z(this.configuration).listSharedByMe(e, t).then((e) => e(this.axios, this.basePath));
|
|
2440
2554
|
}
|
|
2441
2555
|
listSharedWithMe(e, t) {
|
|
2442
|
-
return
|
|
2556
|
+
return z(this.configuration).listSharedWithMe(e, t).then((e) => e(this.axios, this.basePath));
|
|
2443
2557
|
}
|
|
2444
2558
|
unfollowDriveItem(e, t) {
|
|
2445
|
-
return
|
|
2559
|
+
return z(this.configuration).unfollowDriveItem(e, t).then((e) => e(this.axios, this.basePath));
|
|
2446
2560
|
}
|
|
2447
|
-
},
|
|
2448
|
-
return { homeGetRoot: async (t = {}) => {
|
|
2449
|
-
let
|
|
2450
|
-
e && (
|
|
2451
|
-
let
|
|
2561
|
+
}, ct = { Thumbnails: "thumbnails" }, lt = { Thumbnails: "thumbnails" }, B = function(e) {
|
|
2562
|
+
return { homeGetRoot: async (t, r = {}) => {
|
|
2563
|
+
let i = new URL("/v1.0/me/drive/root", o), a;
|
|
2564
|
+
e && (a = e.baseOptions);
|
|
2565
|
+
let s = {
|
|
2452
2566
|
method: "GET",
|
|
2453
|
-
...r,
|
|
2454
|
-
...t
|
|
2455
|
-
}, a = {};
|
|
2456
|
-
c(i, e), a.Accept = "application/json", d(n, {});
|
|
2457
|
-
let s = r && r.headers ? r.headers : {};
|
|
2458
|
-
return i.headers = {
|
|
2459
2567
|
...a,
|
|
2460
|
-
...
|
|
2461
|
-
|
|
2568
|
+
...r
|
|
2569
|
+
}, l = {}, u = {};
|
|
2570
|
+
c(s, e), t && (u.$select = Array.from(t).join(n.csv)), l.Accept = "application/json", d(i, u);
|
|
2571
|
+
let f = a && a.headers ? a.headers : {};
|
|
2572
|
+
return s.headers = {
|
|
2573
|
+
...l,
|
|
2574
|
+
...f,
|
|
2575
|
+
...r.headers
|
|
2462
2576
|
}, {
|
|
2463
|
-
url: m(
|
|
2464
|
-
options:
|
|
2577
|
+
url: m(i),
|
|
2578
|
+
options: s
|
|
2465
2579
|
};
|
|
2466
2580
|
} };
|
|
2467
|
-
},
|
|
2468
|
-
let r =
|
|
2469
|
-
return { async homeGetRoot(i) {
|
|
2470
|
-
let
|
|
2471
|
-
return (r, i) => h(
|
|
2581
|
+
}, V = function(n) {
|
|
2582
|
+
let r = B(n);
|
|
2583
|
+
return { async homeGetRoot(i, o) {
|
|
2584
|
+
let s = await r.homeGetRoot(i, o), c = n?.serverIndex ?? 0, l = a["MeDriveRootApi.homeGetRoot"]?.[c]?.url;
|
|
2585
|
+
return (r, i) => h(s, e, t, n)(r, l || i);
|
|
2472
2586
|
} };
|
|
2473
|
-
},
|
|
2474
|
-
let r =
|
|
2475
|
-
return { homeGetRoot(e) {
|
|
2476
|
-
return r.homeGetRoot(e).then((e) => e(n, t));
|
|
2587
|
+
}, ut = function(e, t, n) {
|
|
2588
|
+
let r = V(e);
|
|
2589
|
+
return { homeGetRoot(e, i) {
|
|
2590
|
+
return r.homeGetRoot(e, i).then((e) => e(n, t));
|
|
2477
2591
|
} };
|
|
2478
|
-
},
|
|
2479
|
-
homeGetRoot(e) {
|
|
2480
|
-
return
|
|
2481
|
-
}
|
|
2482
|
-
},
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
|
|
2486
|
-
|
|
2592
|
+
}, dt = class extends r {
|
|
2593
|
+
homeGetRoot(e, t) {
|
|
2594
|
+
return V(this.configuration).homeGetRoot(e, t).then((e) => e(this.axios, this.basePath));
|
|
2595
|
+
}
|
|
2596
|
+
}, ft = {
|
|
2597
|
+
MicrosoftGraphDownloadUrl: "@microsoft.graph.downloadUrl",
|
|
2598
|
+
LibreGraphPermissionsActionsAllowedValues: "@libre.graph.permissions.actions.allowedValues"
|
|
2599
|
+
}, H = function(e) {
|
|
2600
|
+
return { homeGetChildren: async (t, r = {}) => {
|
|
2601
|
+
let i = new URL("/v1.0/me/drive/root/children", o), a;
|
|
2602
|
+
e && (a = e.baseOptions);
|
|
2603
|
+
let s = {
|
|
2487
2604
|
method: "GET",
|
|
2488
|
-
...r,
|
|
2489
|
-
...t
|
|
2490
|
-
}, a = {};
|
|
2491
|
-
c(i, e), a.Accept = "application/json", d(n, {});
|
|
2492
|
-
let s = r && r.headers ? r.headers : {};
|
|
2493
|
-
return i.headers = {
|
|
2494
2605
|
...a,
|
|
2495
|
-
...
|
|
2496
|
-
|
|
2606
|
+
...r
|
|
2607
|
+
}, l = {}, u = {};
|
|
2608
|
+
c(s, e), t && (u.$select = Array.from(t).join(n.csv)), l.Accept = "application/json", d(i, u);
|
|
2609
|
+
let f = a && a.headers ? a.headers : {};
|
|
2610
|
+
return s.headers = {
|
|
2611
|
+
...l,
|
|
2612
|
+
...f,
|
|
2613
|
+
...r.headers
|
|
2497
2614
|
}, {
|
|
2498
|
-
url: m(
|
|
2499
|
-
options:
|
|
2615
|
+
url: m(i),
|
|
2616
|
+
options: s
|
|
2500
2617
|
};
|
|
2501
2618
|
} };
|
|
2502
|
-
},
|
|
2503
|
-
let r =
|
|
2504
|
-
return { async homeGetChildren(i) {
|
|
2505
|
-
let
|
|
2506
|
-
return (r, i) => h(
|
|
2619
|
+
}, U = function(n) {
|
|
2620
|
+
let r = H(n);
|
|
2621
|
+
return { async homeGetChildren(i, o) {
|
|
2622
|
+
let s = await r.homeGetChildren(i, o), c = n?.serverIndex ?? 0, l = a["MeDriveRootChildrenApi.homeGetChildren"]?.[c]?.url;
|
|
2623
|
+
return (r, i) => h(s, e, t, n)(r, l || i);
|
|
2507
2624
|
} };
|
|
2508
|
-
},
|
|
2509
|
-
let r =
|
|
2510
|
-
return { homeGetChildren(e) {
|
|
2511
|
-
return r.homeGetChildren(e).then((e) => e(n, t));
|
|
2625
|
+
}, pt = function(e, t, n) {
|
|
2626
|
+
let r = U(e);
|
|
2627
|
+
return { homeGetChildren(e, i) {
|
|
2628
|
+
return r.homeGetChildren(e, i).then((e) => e(n, t));
|
|
2512
2629
|
} };
|
|
2513
|
-
},
|
|
2514
|
-
homeGetChildren(e) {
|
|
2515
|
-
return
|
|
2630
|
+
}, mt = class extends r {
|
|
2631
|
+
homeGetChildren(e, t) {
|
|
2632
|
+
return U(this.configuration).homeGetChildren(e, t).then((e) => e(this.axios, this.basePath));
|
|
2516
2633
|
}
|
|
2517
|
-
},
|
|
2634
|
+
}, ht = {
|
|
2635
|
+
MicrosoftGraphDownloadUrl: "@microsoft.graph.downloadUrl",
|
|
2636
|
+
LibreGraphPermissionsActionsAllowedValues: "@libre.graph.permissions.actions.allowedValues"
|
|
2637
|
+
}, gt = function(e) {
|
|
2518
2638
|
return {
|
|
2519
2639
|
listMyDrives: async (t, n, r = {}) => {
|
|
2520
2640
|
let i = new URL("/v1.0/me/drives", o), a;
|
|
@@ -2555,8 +2675,8 @@ var d = function(e, ...t) {
|
|
|
2555
2675
|
};
|
|
2556
2676
|
}
|
|
2557
2677
|
};
|
|
2558
|
-
},
|
|
2559
|
-
let r =
|
|
2678
|
+
}, W = function(n) {
|
|
2679
|
+
let r = gt(n);
|
|
2560
2680
|
return {
|
|
2561
2681
|
async listMyDrives(i, o, s) {
|
|
2562
2682
|
let c = await r.listMyDrives(i, o, s), l = n?.serverIndex ?? 0, u = a["MeDrivesApi.listMyDrives"]?.[l]?.url;
|
|
@@ -2567,8 +2687,8 @@ var d = function(e, ...t) {
|
|
|
2567
2687
|
return (r, i) => h(u, e, t, n)(r, f || i);
|
|
2568
2688
|
}
|
|
2569
2689
|
};
|
|
2570
|
-
},
|
|
2571
|
-
let r =
|
|
2690
|
+
}, _t = function(e, t, n) {
|
|
2691
|
+
let r = W(e);
|
|
2572
2692
|
return {
|
|
2573
2693
|
listMyDrives(e, i, a) {
|
|
2574
2694
|
return r.listMyDrives(e, i, a).then((e) => e(n, t));
|
|
@@ -2577,14 +2697,14 @@ var d = function(e, ...t) {
|
|
|
2577
2697
|
return r.listMyDrivesBeta(e, i, a, o, s).then((e) => e(n, t));
|
|
2578
2698
|
}
|
|
2579
2699
|
};
|
|
2580
|
-
},
|
|
2700
|
+
}, vt = class extends r {
|
|
2581
2701
|
listMyDrives(e, t, n) {
|
|
2582
|
-
return
|
|
2702
|
+
return W(this.configuration).listMyDrives(e, t, n).then((e) => e(this.axios, this.basePath));
|
|
2583
2703
|
}
|
|
2584
2704
|
listMyDrivesBeta(e, t, n, r, i) {
|
|
2585
|
-
return
|
|
2705
|
+
return W(this.configuration).listMyDrivesBeta(e, t, n, r, i).then((e) => e(this.axios, this.basePath));
|
|
2586
2706
|
}
|
|
2587
|
-
},
|
|
2707
|
+
}, yt = { LibreGraphHasTrashedItems: "@libre.graph.hasTrashedItems" }, bt = function(e) {
|
|
2588
2708
|
return {
|
|
2589
2709
|
deleteOwnUserPhoto: async (t = {}) => {
|
|
2590
2710
|
let n = new URL("/v1.0/me/photo/$value", o), r;
|
|
@@ -2663,8 +2783,8 @@ var d = function(e, ...t) {
|
|
|
2663
2783
|
};
|
|
2664
2784
|
}
|
|
2665
2785
|
};
|
|
2666
|
-
},
|
|
2667
|
-
let r =
|
|
2786
|
+
}, G = function(n) {
|
|
2787
|
+
let r = bt(n);
|
|
2668
2788
|
return {
|
|
2669
2789
|
async deleteOwnUserPhoto(i) {
|
|
2670
2790
|
let o = await r.deleteOwnUserPhoto(i), s = n?.serverIndex ?? 0, c = a["MePhotoApi.deleteOwnUserPhoto"]?.[s]?.url;
|
|
@@ -2683,8 +2803,8 @@ var d = function(e, ...t) {
|
|
|
2683
2803
|
return (r, i) => h(s, e, t, n)(r, l || i);
|
|
2684
2804
|
}
|
|
2685
2805
|
};
|
|
2686
|
-
},
|
|
2687
|
-
let r =
|
|
2806
|
+
}, xt = function(e, t, n) {
|
|
2807
|
+
let r = G(e);
|
|
2688
2808
|
return {
|
|
2689
2809
|
deleteOwnUserPhoto(e) {
|
|
2690
2810
|
return r.deleteOwnUserPhoto(e).then((e) => e(n, t));
|
|
@@ -2699,20 +2819,20 @@ var d = function(e, ...t) {
|
|
|
2699
2819
|
return r.updateOwnUserPhotoPut(e, i).then((e) => e(n, t));
|
|
2700
2820
|
}
|
|
2701
2821
|
};
|
|
2702
|
-
},
|
|
2822
|
+
}, St = class extends r {
|
|
2703
2823
|
deleteOwnUserPhoto(e) {
|
|
2704
|
-
return
|
|
2824
|
+
return G(this.configuration).deleteOwnUserPhoto(e).then((e) => e(this.axios, this.basePath));
|
|
2705
2825
|
}
|
|
2706
2826
|
getOwnUserPhoto(e) {
|
|
2707
|
-
return
|
|
2827
|
+
return G(this.configuration).getOwnUserPhoto(e).then((e) => e(this.axios, this.basePath));
|
|
2708
2828
|
}
|
|
2709
2829
|
updateOwnUserPhotoPatch(e, t) {
|
|
2710
|
-
return
|
|
2830
|
+
return G(this.configuration).updateOwnUserPhotoPatch(e, t).then((e) => e(this.axios, this.basePath));
|
|
2711
2831
|
}
|
|
2712
2832
|
updateOwnUserPhotoPut(e, t) {
|
|
2713
|
-
return
|
|
2833
|
+
return G(this.configuration).updateOwnUserPhotoPut(e, t).then((e) => e(this.axios, this.basePath));
|
|
2714
2834
|
}
|
|
2715
|
-
},
|
|
2835
|
+
}, Ct = function(e) {
|
|
2716
2836
|
return {
|
|
2717
2837
|
getOwnUser: async (t, r = {}) => {
|
|
2718
2838
|
let i = new URL("/v1.0/me", o), a;
|
|
@@ -2753,8 +2873,8 @@ var d = function(e, ...t) {
|
|
|
2753
2873
|
};
|
|
2754
2874
|
}
|
|
2755
2875
|
};
|
|
2756
|
-
},
|
|
2757
|
-
let r =
|
|
2876
|
+
}, K = function(n) {
|
|
2877
|
+
let r = Ct(n);
|
|
2758
2878
|
return {
|
|
2759
2879
|
async getOwnUser(i, o) {
|
|
2760
2880
|
let s = await r.getOwnUser(i, o), c = n?.serverIndex ?? 0, l = a["MeUserApi.getOwnUser"]?.[c]?.url;
|
|
@@ -2765,8 +2885,8 @@ var d = function(e, ...t) {
|
|
|
2765
2885
|
return (r, i) => h(s, e, t, n)(r, l || i);
|
|
2766
2886
|
}
|
|
2767
2887
|
};
|
|
2768
|
-
},
|
|
2769
|
-
let r =
|
|
2888
|
+
}, wt = function(e, t, n) {
|
|
2889
|
+
let r = K(e);
|
|
2770
2890
|
return {
|
|
2771
2891
|
getOwnUser(e, i) {
|
|
2772
2892
|
return r.getOwnUser(e, i).then((e) => e(n, t));
|
|
@@ -2775,14 +2895,14 @@ var d = function(e, ...t) {
|
|
|
2775
2895
|
return r.updateOwnUser(e, i).then((e) => e(n, t));
|
|
2776
2896
|
}
|
|
2777
2897
|
};
|
|
2778
|
-
},
|
|
2898
|
+
}, Tt = class extends r {
|
|
2779
2899
|
getOwnUser(e, t) {
|
|
2780
|
-
return
|
|
2900
|
+
return K(this.configuration).getOwnUser(e, t).then((e) => e(this.axios, this.basePath));
|
|
2781
2901
|
}
|
|
2782
2902
|
updateOwnUser(e, t) {
|
|
2783
|
-
return
|
|
2903
|
+
return K(this.configuration).updateOwnUser(e, t).then((e) => e(this.axios, this.basePath));
|
|
2784
2904
|
}
|
|
2785
|
-
},
|
|
2905
|
+
}, Et = { MemberOf: "memberOf" }, Dt = function(e) {
|
|
2786
2906
|
return {
|
|
2787
2907
|
getPermissionRoleDefinition: async (t, n = {}) => {
|
|
2788
2908
|
s("getPermissionRoleDefinition", "roleId", t);
|
|
@@ -2824,8 +2944,8 @@ var d = function(e, ...t) {
|
|
|
2824
2944
|
};
|
|
2825
2945
|
}
|
|
2826
2946
|
};
|
|
2827
|
-
},
|
|
2828
|
-
let r =
|
|
2947
|
+
}, q = function(n) {
|
|
2948
|
+
let r = Dt(n);
|
|
2829
2949
|
return {
|
|
2830
2950
|
async getPermissionRoleDefinition(i, o) {
|
|
2831
2951
|
let s = await r.getPermissionRoleDefinition(i, o), c = n?.serverIndex ?? 0, l = a["RoleManagementApi.getPermissionRoleDefinition"]?.[c]?.url;
|
|
@@ -2836,8 +2956,8 @@ var d = function(e, ...t) {
|
|
|
2836
2956
|
return (r, i) => h(o, e, t, n)(r, c || i);
|
|
2837
2957
|
}
|
|
2838
2958
|
};
|
|
2839
|
-
},
|
|
2840
|
-
let r =
|
|
2959
|
+
}, Ot = function(e, t, n) {
|
|
2960
|
+
let r = q(e);
|
|
2841
2961
|
return {
|
|
2842
2962
|
getPermissionRoleDefinition(e, i) {
|
|
2843
2963
|
return r.getPermissionRoleDefinition(e, i).then((e) => e(n, t));
|
|
@@ -2846,14 +2966,14 @@ var d = function(e, ...t) {
|
|
|
2846
2966
|
return r.listPermissionRoleDefinitions(e).then((e) => e(n, t));
|
|
2847
2967
|
}
|
|
2848
2968
|
};
|
|
2849
|
-
},
|
|
2969
|
+
}, kt = class extends r {
|
|
2850
2970
|
getPermissionRoleDefinition(e, t) {
|
|
2851
|
-
return
|
|
2971
|
+
return q(this.configuration).getPermissionRoleDefinition(e, t).then((e) => e(this.axios, this.basePath));
|
|
2852
2972
|
}
|
|
2853
2973
|
listPermissionRoleDefinitions(e) {
|
|
2854
|
-
return
|
|
2974
|
+
return q(this.configuration).listPermissionRoleDefinitions(e).then((e) => e(this.axios, this.basePath));
|
|
2855
2975
|
}
|
|
2856
|
-
},
|
|
2976
|
+
}, At = function(e) {
|
|
2857
2977
|
return {
|
|
2858
2978
|
assignTags: async (t, n = {}) => {
|
|
2859
2979
|
let r = new URL("/v1.0/extensions/org.libregraph/tags", o), i;
|
|
@@ -2913,8 +3033,8 @@ var d = function(e, ...t) {
|
|
|
2913
3033
|
};
|
|
2914
3034
|
}
|
|
2915
3035
|
};
|
|
2916
|
-
},
|
|
2917
|
-
let r =
|
|
3036
|
+
}, J = function(n) {
|
|
3037
|
+
let r = At(n);
|
|
2918
3038
|
return {
|
|
2919
3039
|
async assignTags(i, o) {
|
|
2920
3040
|
let s = await r.assignTags(i, o), c = n?.serverIndex ?? 0, l = a["TagsApi.assignTags"]?.[c]?.url;
|
|
@@ -2929,8 +3049,8 @@ var d = function(e, ...t) {
|
|
|
2929
3049
|
return (r, i) => h(s, e, t, n)(r, l || i);
|
|
2930
3050
|
}
|
|
2931
3051
|
};
|
|
2932
|
-
},
|
|
2933
|
-
let r =
|
|
3052
|
+
}, jt = function(e, t, n) {
|
|
3053
|
+
let r = J(e);
|
|
2934
3054
|
return {
|
|
2935
3055
|
assignTags(e, i) {
|
|
2936
3056
|
return r.assignTags(e, i).then((e) => e(n, t));
|
|
@@ -2942,17 +3062,17 @@ var d = function(e, ...t) {
|
|
|
2942
3062
|
return r.unassignTags(e, i).then((e) => e(n, t));
|
|
2943
3063
|
}
|
|
2944
3064
|
};
|
|
2945
|
-
},
|
|
3065
|
+
}, Mt = class extends r {
|
|
2946
3066
|
assignTags(e, t) {
|
|
2947
|
-
return
|
|
3067
|
+
return J(this.configuration).assignTags(e, t).then((e) => e(this.axios, this.basePath));
|
|
2948
3068
|
}
|
|
2949
3069
|
getTags(e) {
|
|
2950
|
-
return
|
|
3070
|
+
return J(this.configuration).getTags(e).then((e) => e(this.axios, this.basePath));
|
|
2951
3071
|
}
|
|
2952
3072
|
unassignTags(e, t) {
|
|
2953
|
-
return
|
|
3073
|
+
return J(this.configuration).unassignTags(e, t).then((e) => e(this.axios, this.basePath));
|
|
2954
3074
|
}
|
|
2955
|
-
},
|
|
3075
|
+
}, Nt = function(e) {
|
|
2956
3076
|
return {
|
|
2957
3077
|
deleteUser: async (t, n, r = {}) => {
|
|
2958
3078
|
s("deleteUser", "userId", t);
|
|
@@ -3035,8 +3155,8 @@ var d = function(e, ...t) {
|
|
|
3035
3155
|
};
|
|
3036
3156
|
}
|
|
3037
3157
|
};
|
|
3038
|
-
},
|
|
3039
|
-
let r =
|
|
3158
|
+
}, Y = function(n) {
|
|
3159
|
+
let r = Nt(n);
|
|
3040
3160
|
return {
|
|
3041
3161
|
async deleteUser(i, o, s) {
|
|
3042
3162
|
let c = await r.deleteUser(i, o, s), l = n?.serverIndex ?? 0, u = a["UserApi.deleteUser"]?.[l]?.url;
|
|
@@ -3055,8 +3175,8 @@ var d = function(e, ...t) {
|
|
|
3055
3175
|
return (r, i) => h(c, e, t, n)(r, u || i);
|
|
3056
3176
|
}
|
|
3057
3177
|
};
|
|
3058
|
-
},
|
|
3059
|
-
let r =
|
|
3178
|
+
}, Pt = function(e, t, n) {
|
|
3179
|
+
let r = Y(e);
|
|
3060
3180
|
return {
|
|
3061
3181
|
deleteUser(e, i, a) {
|
|
3062
3182
|
return r.deleteUser(e, i, a).then((e) => e(n, t));
|
|
@@ -3071,20 +3191,20 @@ var d = function(e, ...t) {
|
|
|
3071
3191
|
return r.updateUser(e, i, a).then((e) => e(n, t));
|
|
3072
3192
|
}
|
|
3073
3193
|
};
|
|
3074
|
-
},
|
|
3194
|
+
}, Ft = class extends r {
|
|
3075
3195
|
deleteUser(e, t, n) {
|
|
3076
|
-
return
|
|
3196
|
+
return Y(this.configuration).deleteUser(e, t, n).then((e) => e(this.axios, this.basePath));
|
|
3077
3197
|
}
|
|
3078
3198
|
exportPersonalData(e, t, n) {
|
|
3079
|
-
return
|
|
3199
|
+
return Y(this.configuration).exportPersonalData(e, t, n).then((e) => e(this.axios, this.basePath));
|
|
3080
3200
|
}
|
|
3081
3201
|
getUser(e, t, n, r) {
|
|
3082
|
-
return
|
|
3202
|
+
return Y(this.configuration).getUser(e, t, n, r).then((e) => e(this.axios, this.basePath));
|
|
3083
3203
|
}
|
|
3084
3204
|
updateUser(e, t, n) {
|
|
3085
|
-
return
|
|
3205
|
+
return Y(this.configuration).updateUser(e, t, n).then((e) => e(this.axios, this.basePath));
|
|
3086
3206
|
}
|
|
3087
|
-
},
|
|
3207
|
+
}, It = {
|
|
3088
3208
|
Id: "id",
|
|
3089
3209
|
DisplayName: "displayName",
|
|
3090
3210
|
Drive: "drive",
|
|
@@ -3093,12 +3213,12 @@ var d = function(e, ...t) {
|
|
|
3093
3213
|
MemberOf: "memberOf",
|
|
3094
3214
|
OnPremisesSamAccountName: "onPremisesSamAccountName",
|
|
3095
3215
|
Surname: "surname"
|
|
3096
|
-
},
|
|
3216
|
+
}, Lt = {
|
|
3097
3217
|
Drive: "drive",
|
|
3098
3218
|
Drives: "drives",
|
|
3099
3219
|
MemberOf: "memberOf",
|
|
3100
3220
|
AppRoleAssignments: "appRoleAssignments"
|
|
3101
|
-
},
|
|
3221
|
+
}, Rt = function(e) {
|
|
3102
3222
|
return {
|
|
3103
3223
|
userCreateAppRoleAssignments: async (t, n, r = {}) => {
|
|
3104
3224
|
s("userCreateAppRoleAssignments", "userId", t), s("userCreateAppRoleAssignments", "appRoleAssignment", n);
|
|
@@ -3161,8 +3281,8 @@ var d = function(e, ...t) {
|
|
|
3161
3281
|
};
|
|
3162
3282
|
}
|
|
3163
3283
|
};
|
|
3164
|
-
},
|
|
3165
|
-
let r =
|
|
3284
|
+
}, X = function(n) {
|
|
3285
|
+
let r = Rt(n);
|
|
3166
3286
|
return {
|
|
3167
3287
|
async userCreateAppRoleAssignments(i, o, s) {
|
|
3168
3288
|
let c = await r.userCreateAppRoleAssignments(i, o, s), l = n?.serverIndex ?? 0, u = a["UserAppRoleAssignmentApi.userCreateAppRoleAssignments"]?.[l]?.url;
|
|
@@ -3177,8 +3297,8 @@ var d = function(e, ...t) {
|
|
|
3177
3297
|
return (r, i) => h(s, e, t, n)(r, l || i);
|
|
3178
3298
|
}
|
|
3179
3299
|
};
|
|
3180
|
-
},
|
|
3181
|
-
let r =
|
|
3300
|
+
}, zt = function(e, t, n) {
|
|
3301
|
+
let r = X(e);
|
|
3182
3302
|
return {
|
|
3183
3303
|
userCreateAppRoleAssignments(e, i, a) {
|
|
3184
3304
|
return r.userCreateAppRoleAssignments(e, i, a).then((e) => e(n, t));
|
|
@@ -3190,17 +3310,17 @@ var d = function(e, ...t) {
|
|
|
3190
3310
|
return r.userListAppRoleAssignments(e, i).then((e) => e(n, t));
|
|
3191
3311
|
}
|
|
3192
3312
|
};
|
|
3193
|
-
},
|
|
3313
|
+
}, Bt = class extends r {
|
|
3194
3314
|
userCreateAppRoleAssignments(e, t, n) {
|
|
3195
|
-
return
|
|
3315
|
+
return X(this.configuration).userCreateAppRoleAssignments(e, t, n).then((e) => e(this.axios, this.basePath));
|
|
3196
3316
|
}
|
|
3197
3317
|
userDeleteAppRoleAssignments(e, t, n, r) {
|
|
3198
|
-
return
|
|
3318
|
+
return X(this.configuration).userDeleteAppRoleAssignments(e, t, n, r).then((e) => e(this.axios, this.basePath));
|
|
3199
3319
|
}
|
|
3200
3320
|
userListAppRoleAssignments(e, t) {
|
|
3201
|
-
return
|
|
3321
|
+
return X(this.configuration).userListAppRoleAssignments(e, t).then((e) => e(this.axios, this.basePath));
|
|
3202
3322
|
}
|
|
3203
|
-
},
|
|
3323
|
+
}, Vt = function(e) {
|
|
3204
3324
|
return { getUserPhoto: async (t, n = {}) => {
|
|
3205
3325
|
s("getUserPhoto", "userId", t);
|
|
3206
3326
|
let r = "/v1.0/users/{user-id}/photo/$value".replace("{user-id}", encodeURIComponent(String(t))), i = new URL(r, o), a;
|
|
@@ -3221,22 +3341,58 @@ var d = function(e, ...t) {
|
|
|
3221
3341
|
options: l
|
|
3222
3342
|
};
|
|
3223
3343
|
} };
|
|
3224
|
-
},
|
|
3225
|
-
let r =
|
|
3344
|
+
}, Z = function(n) {
|
|
3345
|
+
let r = Vt(n);
|
|
3226
3346
|
return { async getUserPhoto(i, o) {
|
|
3227
3347
|
let s = await r.getUserPhoto(i, o), c = n?.serverIndex ?? 0, l = a["UserPhotoApi.getUserPhoto"]?.[c]?.url;
|
|
3228
3348
|
return (r, i) => h(s, e, t, n)(r, l || i);
|
|
3229
3349
|
} };
|
|
3230
|
-
},
|
|
3231
|
-
let r =
|
|
3350
|
+
}, Ht = function(e, t, n) {
|
|
3351
|
+
let r = Z(e);
|
|
3232
3352
|
return { getUserPhoto(e, i) {
|
|
3233
3353
|
return r.getUserPhoto(e, i).then((e) => e(n, t));
|
|
3234
3354
|
} };
|
|
3235
|
-
},
|
|
3355
|
+
}, Ut = class extends r {
|
|
3236
3356
|
getUserPhoto(e, t) {
|
|
3237
|
-
return
|
|
3357
|
+
return Z(this.configuration).getUserPhoto(e, t).then((e) => e(this.axios, this.basePath));
|
|
3358
|
+
}
|
|
3359
|
+
}, Wt = function(e) {
|
|
3360
|
+
return { sendActivityNotification: async (t, n, r = {}) => {
|
|
3361
|
+
s("sendActivityNotification", "userId", t), s("sendActivityNotification", "activityNotification", n);
|
|
3362
|
+
let i = "/v1.0/users/{user-id}/teamwork/sendActivityNotification".replace("{user-id}", encodeURIComponent(String(t))), a = new URL(i, o), l;
|
|
3363
|
+
e && (l = e.baseOptions);
|
|
3364
|
+
let u = {
|
|
3365
|
+
method: "POST",
|
|
3366
|
+
...l,
|
|
3367
|
+
...r
|
|
3368
|
+
}, f = {};
|
|
3369
|
+
c(u, e), f["Content-Type"] = "application/json", f.Accept = "application/json", d(a, {});
|
|
3370
|
+
let h = l && l.headers ? l.headers : {};
|
|
3371
|
+
return u.headers = {
|
|
3372
|
+
...f,
|
|
3373
|
+
...h,
|
|
3374
|
+
...r.headers
|
|
3375
|
+
}, u.data = p(n, u, e), {
|
|
3376
|
+
url: m(a),
|
|
3377
|
+
options: u
|
|
3378
|
+
};
|
|
3379
|
+
} };
|
|
3380
|
+
}, Q = function(n) {
|
|
3381
|
+
let r = Wt(n);
|
|
3382
|
+
return { async sendActivityNotification(i, o, s) {
|
|
3383
|
+
let c = await r.sendActivityNotification(i, o, s), l = n?.serverIndex ?? 0, u = a["UserTeamworkApi.sendActivityNotification"]?.[l]?.url;
|
|
3384
|
+
return (r, i) => h(c, e, t, n)(r, u || i);
|
|
3385
|
+
} };
|
|
3386
|
+
}, Gt = function(e, t, n) {
|
|
3387
|
+
let r = Q(e);
|
|
3388
|
+
return { sendActivityNotification(e, i, a) {
|
|
3389
|
+
return r.sendActivityNotification(e, i, a).then((e) => e(n, t));
|
|
3390
|
+
} };
|
|
3391
|
+
}, Kt = class extends r {
|
|
3392
|
+
sendActivityNotification(e, t, n) {
|
|
3393
|
+
return Q(this.configuration).sendActivityNotification(e, t, n).then((e) => e(this.axios, this.basePath));
|
|
3238
3394
|
}
|
|
3239
|
-
},
|
|
3395
|
+
}, qt = function(e) {
|
|
3240
3396
|
return {
|
|
3241
3397
|
createUser: async (t, n = {}) => {
|
|
3242
3398
|
s("createUser", "user", t);
|
|
@@ -3279,7 +3435,7 @@ var d = function(e, ...t) {
|
|
|
3279
3435
|
}
|
|
3280
3436
|
};
|
|
3281
3437
|
}, $ = function(n) {
|
|
3282
|
-
let r =
|
|
3438
|
+
let r = qt(n);
|
|
3283
3439
|
return {
|
|
3284
3440
|
async createUser(i, o) {
|
|
3285
3441
|
let s = await r.createUser(i, o), c = n?.serverIndex ?? 0, l = a["UsersApi.createUser"]?.[c]?.url;
|
|
@@ -3290,7 +3446,7 @@ var d = function(e, ...t) {
|
|
|
3290
3446
|
return (r, i) => h(d, e, t, n)(r, p || i);
|
|
3291
3447
|
}
|
|
3292
3448
|
};
|
|
3293
|
-
},
|
|
3449
|
+
}, Jt = function(e, t, n) {
|
|
3294
3450
|
let r = $(e);
|
|
3295
3451
|
return {
|
|
3296
3452
|
createUser(e, i) {
|
|
@@ -3300,33 +3456,33 @@ var d = function(e, ...t) {
|
|
|
3300
3456
|
return r.listUsers(e, i, a, o, s, c).then((e) => e(n, t));
|
|
3301
3457
|
}
|
|
3302
3458
|
};
|
|
3303
|
-
},
|
|
3459
|
+
}, Yt = class extends r {
|
|
3304
3460
|
createUser(e, t) {
|
|
3305
3461
|
return $(this.configuration).createUser(e, t).then((e) => e(this.axios, this.basePath));
|
|
3306
3462
|
}
|
|
3307
3463
|
listUsers(e, t, n, r, i, a) {
|
|
3308
3464
|
return $(this.configuration).listUsers(e, t, n, r, i, a).then((e) => e(this.axios, this.basePath));
|
|
3309
3465
|
}
|
|
3310
|
-
},
|
|
3466
|
+
}, Xt = {
|
|
3311
3467
|
DisplayName: "displayName",
|
|
3312
3468
|
DisplayNameDesc: "displayName desc",
|
|
3313
3469
|
Mail: "mail",
|
|
3314
3470
|
MailDesc: "mail desc",
|
|
3315
3471
|
OnPremisesSamAccountName: "onPremisesSamAccountName",
|
|
3316
3472
|
OnPremisesSamAccountNameDesc: "onPremisesSamAccountName desc"
|
|
3317
|
-
},
|
|
3473
|
+
}, Zt = {
|
|
3318
3474
|
Id: "id",
|
|
3319
3475
|
DisplayName: "displayName",
|
|
3320
3476
|
Mail: "mail",
|
|
3321
3477
|
MemberOf: "memberOf",
|
|
3322
3478
|
OnPremisesSamAccountName: "onPremisesSamAccountName",
|
|
3323
3479
|
Surname: "surname"
|
|
3324
|
-
},
|
|
3480
|
+
}, Qt = {
|
|
3325
3481
|
Drive: "drive",
|
|
3326
3482
|
Drives: "drives",
|
|
3327
3483
|
MemberOf: "memberOf",
|
|
3328
3484
|
AppRoleAssignments: "appRoleAssignments"
|
|
3329
|
-
},
|
|
3485
|
+
}, $t = class {
|
|
3330
3486
|
apiKey;
|
|
3331
3487
|
username;
|
|
3332
3488
|
password;
|
|
@@ -3347,4 +3503,4 @@ var d = function(e, ...t) {
|
|
|
3347
3503
|
}
|
|
3348
3504
|
};
|
|
3349
3505
|
//#endregion
|
|
3350
|
-
export {
|
|
3506
|
+
export { ue as $, gt as $t, Te as A, Z as An, ke as At, Me as B, st as Bt, he as C, Bt as Cn, He as Ct, ye as D, Ut as Dn, Ze as Dt, xe as E, X as En, Xe as Et, O as F, Yt as Fn, Zt as Ft, Ie as G, B as Gt, A as H, ot as Ht, Ae as I, qt as In, it as It, M as J, mt as Jt, j as K, ut as Kt, k as L, Jt as Ln, nt as Lt, we as M, Wt as Mn, lt as Mt, D as N, Gt as Nn, Qt as Nt, be as O, Vt as On, yt as Ot, je as P, Q as Pn, Xt as Pt, ce as Q, vt as Qt, g as R, $ as Rn, rt as Rt, _e as S, Y as Sn, ve as St, T, zt as Tn, Qe as Tt, Le as U, z as Ut, Ne as V, at as Vt, Fe as W, dt as Wt, N as X, pt as Xt, Re as Y, H as Yt, le as Z, U as Zt, C as _, jt as _n, ft as _t, y as a, G as an, Oe as at, fe as b, Nt as bn, et as bt, te as c, wt as cn, We as ct, se as d, Dt as dn, F as dt, _t as en, me as et, Ee as f, Ot as fn, Ye as ft, ie as g, At as gn, ht as gt, re as h, Mt as hn, I as ht, b as i, xt as in, Et as it, Ce as j, Kt as jn, ct as jt, E as k, Ht as kn, Se as kt, S as l, K as ln, P as lt, ae as m, _ as mn, Je as mt, ee as n, St as nn, Ke as nt, ne as o, Tt as on, Lt as ot, De as p, q as pn, qe as pt, ze as q, V as qt, v as r, bt as rn, Ge as rt, x as s, Ct as sn, It as st, $t as t, W as tn, Be as tt, oe as u, kt as un, Ue as ut, pe as v, J as vn, tt as vt, ge as w, Rt as wn, Ve as wt, w as x, Pt as xn, L as xt, de as y, Ft as yn, $e as yt, Pe as z, R as zt };
|