@opencloud-eu/web-client 8.0.0 → 8.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.
Files changed (34) hide show
  1. package/dist/{axios-ULsDSF3p.js → axios-DRPhbClr.js} +13 -49
  2. package/dist/{dist-WdVfmT0d.js → dist-CHy-DaIN.js} +1 -1
  3. package/dist/{generated-CkfYRFme.js → generated-4nR8KA38.js} +505 -311
  4. package/dist/{graph-D3q1149Y.js → graph-CwVan2Jp.js} +123 -98
  5. package/dist/{helpers-C_9em2wB.js → helpers-Bh5xR_vg.js} +46 -37
  6. package/dist/{ocs-CGD-4vGl.js → ocs-Dfdjrujs.js} +271 -296
  7. package/dist/{ox-D1FgExd1.js → schemas-rdabTCJb.js} +1366 -1250
  8. package/dist/src/errors.d.ts +2 -1
  9. package/dist/src/graph/generated/api.d.ts +639 -24
  10. package/dist/src/graph/guestLinks/guestLinks.d.ts +3 -0
  11. package/dist/src/graph/guestLinks/index.d.ts +2 -0
  12. package/dist/src/graph/guestLinks/types.d.ts +13 -0
  13. package/dist/src/graph/index.d.ts +3 -0
  14. package/dist/src/graph/types.d.ts +1 -0
  15. package/dist/src/helpers/resource/types.d.ts +3 -2
  16. package/dist/src/helpers/share/types.d.ts +3 -0
  17. package/dist/src/helpers/space/functions.d.ts +2 -2
  18. package/dist/src/ocs/capabilities.d.ts +1 -0
  19. package/dist/src/sse/index.d.ts +12 -0
  20. package/dist/src/webdav/client/dav.d.ts +3 -1
  21. package/dist/src/webdav/client/parsers.d.ts +1 -0
  22. package/dist/src/webdav/constants/dav.d.ts +5 -1
  23. package/dist/src/webdav/index.d.ts +1 -1
  24. package/dist/{toString-DfgrQ1mh.js → toString-uorCN9F3.js} +1 -1
  25. package/dist/web-client/graph/generated.js +1 -2
  26. package/dist/web-client/graph.js +1 -2
  27. package/dist/web-client/ocs.js +1 -2
  28. package/dist/web-client/ox.js +49 -2
  29. package/dist/web-client/sse.js +57 -48
  30. package/dist/web-client/webdav.js +2 -2
  31. package/dist/web-client.js +5 -5
  32. package/dist/webdav-DrQsSfxZ.js +6431 -0
  33. package/package.json +2 -4
  34. package/dist/webdav-BxsiETq0.js +0 -4538
@@ -1,4 +1,4 @@
1
- import { t as e } from "./axios-ULsDSF3p.js";
1
+ import { t as e } from "./axios-DRPhbClr.js";
2
2
  //#region src/graph/generated/base.ts
3
3
  var t = "https://localhost:9200/graph".replace(/\/+$/, ""), n = {
4
4
  csv: ",",
@@ -49,16 +49,54 @@ var d = function(e, ...t) {
49
49
  return i.request(o);
50
50
  };
51
51
  }, g = {
52
+ Count: "count",
53
+ KeyAsString: "keyAsString",
54
+ KeyAsNumber: "keyAsNumber"
55
+ }, _ = {
56
+ User: "user",
57
+ Group: "group",
58
+ Link: "link",
59
+ Remote: "remote"
60
+ }, v = {
52
61
  Class: "class",
53
62
  Course: "course"
54
- }, _ = {
63
+ }, y = {
64
+ TokenInvalid: "tokenInvalid",
65
+ TokenNotFound: "tokenNotFound",
66
+ TokenExpired: "tokenExpired",
67
+ TokenAlreadyRedeemed: "tokenAlreadyRedeemed",
68
+ ShareNotFound: "shareNotFound",
69
+ ShareExpired: "shareExpired",
70
+ PinInvalid: "pinInvalid",
71
+ PinExpired: "pinExpired",
72
+ NonceInvalid: "nonceInvalid",
73
+ NonceExpired: "nonceExpired",
74
+ Conflict: "conflict",
75
+ TooManyRequests: "tooManyRequests",
76
+ ServiceUnavailable: "serviceUnavailable",
77
+ InvalidRequest: "invalidRequest",
78
+ InternalError: "internalError"
79
+ }, ee = {
80
+ None: "none",
81
+ Exclusive: "exclusive"
82
+ }, te = {
83
+ Sum: "sum",
84
+ Min: "min",
85
+ Max: "max",
86
+ Avg: "avg"
87
+ }, ne = {
88
+ Sum: "sum",
89
+ Min: "min",
90
+ Max: "max",
91
+ Avg: "avg"
92
+ }, re = { DriveItem: "driveItem" }, ie = {
55
93
  Internal: "internal",
56
94
  View: "view",
57
95
  Upload: "upload",
58
96
  Edit: "edit",
59
97
  CreateOnly: "createOnly",
60
98
  BlocksDownload: "blocksDownload"
61
- }, v = function(e) {
99
+ }, ae = function(e) {
62
100
  return { getActivities: async (t, n = {}) => {
63
101
  let r = new URL("/v1beta1/extensions/org.libregraph/activities", o), i;
64
102
  e && (i = e.baseOptions);
@@ -78,22 +116,22 @@ var d = function(e, ...t) {
78
116
  options: a
79
117
  };
80
118
  } };
81
- }, y = function(n) {
82
- let r = v(n);
119
+ }, b = function(n) {
120
+ let r = ae(n);
83
121
  return { async getActivities(i, o) {
84
122
  let s = await r.getActivities(i, o), c = n?.serverIndex ?? 0, l = a["ActivitiesApi.getActivities"]?.[c]?.url;
85
123
  return (r, i) => h(s, e, t, n)(r, l || i);
86
124
  } };
87
- }, b = function(e, t, n) {
88
- let r = y(e);
125
+ }, oe = function(e, t, n) {
126
+ let r = b(e);
89
127
  return { getActivities(e, i) {
90
128
  return r.getActivities(e, i).then((e) => e(n, t));
91
129
  } };
92
- }, ee = class extends r {
130
+ }, se = class extends r {
93
131
  getActivities(e, t) {
94
- return y(this.configuration).getActivities(e, t).then((e) => e(this.axios, this.basePath));
132
+ return b(this.configuration).getActivities(e, t).then((e) => e(this.axios, this.basePath));
95
133
  }
96
- }, x = function(e) {
134
+ }, ce = function(e) {
97
135
  return {
98
136
  getApplication: async (t, n = {}) => {
99
137
  s("getApplication", "applicationId", t);
@@ -135,8 +173,8 @@ var d = function(e, ...t) {
135
173
  };
136
174
  }
137
175
  };
138
- }, S = function(n) {
139
- let r = x(n);
176
+ }, x = function(n) {
177
+ let r = ce(n);
140
178
  return {
141
179
  async getApplication(i, o) {
142
180
  let s = await r.getApplication(i, o), c = n?.serverIndex ?? 0, l = a["ApplicationsApi.getApplication"]?.[c]?.url;
@@ -147,8 +185,8 @@ var d = function(e, ...t) {
147
185
  return (r, i) => h(o, e, t, n)(r, c || i);
148
186
  }
149
187
  };
150
- }, te = function(e, t, n) {
151
- let r = S(e);
188
+ }, le = function(e, t, n) {
189
+ let r = x(e);
152
190
  return {
153
191
  getApplication(e, i) {
154
192
  return r.getApplication(e, i).then((e) => e(n, t));
@@ -157,14 +195,14 @@ var d = function(e, ...t) {
157
195
  return r.listApplications(e).then((e) => e(n, t));
158
196
  }
159
197
  };
160
- }, ne = class extends r {
198
+ }, ue = class extends r {
161
199
  getApplication(e, t) {
162
- return S(this.configuration).getApplication(e, t).then((e) => e(this.axios, this.basePath));
200
+ return x(this.configuration).getApplication(e, t).then((e) => e(this.axios, this.basePath));
163
201
  }
164
202
  listApplications(e) {
165
- return S(this.configuration).listApplications(e).then((e) => e(this.axios, this.basePath));
203
+ return x(this.configuration).listApplications(e).then((e) => e(this.axios, this.basePath));
166
204
  }
167
- }, re = function(e) {
205
+ }, de = function(e) {
168
206
  return {
169
207
  createChildDriveItem: async (t, n, r, i, a, l = {}) => {
170
208
  s("createChildDriveItem", "driveId", t), s("createChildDriveItem", "itemId", n), s("createChildDriveItem", "driveItem", r);
@@ -206,24 +244,24 @@ var d = function(e, ...t) {
206
244
  options: u
207
245
  };
208
246
  },
209
- getDriveItem: async (t, r, i, a = {}) => {
247
+ getDriveItem: async (t, r, i, a, l = {}) => {
210
248
  s("getDriveItem", "driveId", t), s("getDriveItem", "itemId", r);
211
- let l = "/v1beta1/drives/{drive-id}/items/{item-id}".replace("{drive-id}", encodeURIComponent(String(t))).replace("{item-id}", encodeURIComponent(String(r))), u = new URL(l, o), f;
212
- e && (f = e.baseOptions);
213
- let p = {
249
+ let u = "/v1beta1/drives/{drive-id}/items/{item-id}".replace("{drive-id}", encodeURIComponent(String(t))).replace("{item-id}", encodeURIComponent(String(r))), f = new URL(u, o), p;
250
+ e && (p = e.baseOptions);
251
+ let h = {
214
252
  method: "GET",
215
- ...f,
216
- ...a
217
- }, h = {}, g = {};
218
- c(p, e), i && (g.$select = Array.from(i).join(n.csv)), h.Accept = "application/json", d(u, g);
219
- let _ = f && f.headers ? f.headers : {};
220
- return p.headers = {
221
- ...h,
222
- ..._,
223
- ...a.headers
253
+ ...p,
254
+ ...l
255
+ }, g = {}, _ = {};
256
+ c(h, e), i && (_.$select = Array.from(i).join(n.csv)), a && (_.$expand = Array.from(a).join(n.csv)), g.Accept = "application/json", d(f, _);
257
+ let v = p && p.headers ? p.headers : {};
258
+ return h.headers = {
259
+ ...g,
260
+ ...v,
261
+ ...l.headers
224
262
  }, {
225
- url: m(u),
226
- options: p
263
+ url: m(f),
264
+ options: h
227
265
  };
228
266
  },
229
267
  getDriveItemChildren: async (t, r, i, a = {}) => {
@@ -266,24 +304,24 @@ var d = function(e, ...t) {
266
304
  options: u
267
305
  };
268
306
  },
269
- getDriveItemV1: async (t, r, i, a = {}) => {
307
+ getDriveItemV1: async (t, r, i, a, l = {}) => {
270
308
  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 = {
309
+ let u = "/v1.0/drives/{drive-id}/items/{item-id}".replace("{drive-id}", encodeURIComponent(String(t))).replace("{item-id}", encodeURIComponent(String(r))), f = new URL(u, o), p;
310
+ e && (p = e.baseOptions);
311
+ let h = {
274
312
  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
313
+ ...p,
314
+ ...l
315
+ }, g = {}, _ = {};
316
+ c(h, e), i && (_.$select = Array.from(i).join(n.csv)), a && (_.$expand = Array.from(a).join(n.csv)), g.Accept = "application/json", d(f, _);
317
+ let v = p && p.headers ? p.headers : {};
318
+ return h.headers = {
319
+ ...g,
320
+ ...v,
321
+ ...l.headers
284
322
  }, {
285
- url: m(u),
286
- options: p
323
+ url: m(f),
324
+ options: h
287
325
  };
288
326
  },
289
327
  updateDriveItem: async (t, n, r, i = {}) => {
@@ -307,8 +345,8 @@ var d = function(e, ...t) {
307
345
  };
308
346
  }
309
347
  };
310
- }, C = function(n) {
311
- let r = re(n);
348
+ }, S = function(n) {
349
+ let r = de(n);
312
350
  return {
313
351
  async createChildDriveItem(i, o, s, c, l, u) {
314
352
  let d = await r.createChildDriveItem(i, o, s, c, l, u), f = n?.serverIndex ?? 0, p = a["DriveItemApi.createChildDriveItem"]?.[f]?.url;
@@ -318,9 +356,9 @@ var d = function(e, ...t) {
318
356
  let c = await r.deleteDriveItem(i, o, s), l = n?.serverIndex ?? 0, u = a["DriveItemApi.deleteDriveItem"]?.[l]?.url;
319
357
  return (r, i) => h(c, e, t, n)(r, u || i);
320
358
  },
321
- async getDriveItem(i, o, s, c) {
322
- let l = await r.getDriveItem(i, o, s, c), u = n?.serverIndex ?? 0, d = a["DriveItemApi.getDriveItem"]?.[u]?.url;
323
- return (r, i) => h(l, e, t, n)(r, d || i);
359
+ async getDriveItem(i, o, s, c, l) {
360
+ let u = await r.getDriveItem(i, o, s, c, l), d = n?.serverIndex ?? 0, f = a["DriveItemApi.getDriveItem"]?.[d]?.url;
361
+ return (r, i) => h(u, e, t, n)(r, f || i);
324
362
  },
325
363
  async getDriveItemChildren(i, o, s, c) {
326
364
  let l = await r.getDriveItemChildren(i, o, s, c), u = n?.serverIndex ?? 0, d = a["DriveItemApi.getDriveItemChildren"]?.[u]?.url;
@@ -330,17 +368,17 @@ var d = function(e, ...t) {
330
368
  let c = await r.getDriveItemContent(i, o, s), l = n?.serverIndex ?? 0, u = a["DriveItemApi.getDriveItemContent"]?.[l]?.url;
331
369
  return (r, i) => h(c, e, t, n)(r, u || i);
332
370
  },
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);
371
+ async getDriveItemV1(i, o, s, c, l) {
372
+ let u = await r.getDriveItemV1(i, o, s, c, l), d = n?.serverIndex ?? 0, f = a["DriveItemApi.getDriveItemV1"]?.[d]?.url;
373
+ return (r, i) => h(u, e, t, n)(r, f || i);
336
374
  },
337
375
  async updateDriveItem(i, o, s, c) {
338
376
  let l = await r.updateDriveItem(i, o, s, c), u = n?.serverIndex ?? 0, d = a["DriveItemApi.updateDriveItem"]?.[u]?.url;
339
377
  return (r, i) => h(l, e, t, n)(r, d || i);
340
378
  }
341
379
  };
342
- }, ie = function(e, t, n) {
343
- let r = C(e);
380
+ }, fe = function(e, t, n) {
381
+ let r = S(e);
344
382
  return {
345
383
  createChildDriveItem(e, i, a, o, s, c) {
346
384
  return r.createChildDriveItem(e, i, a, o, s, c).then((e) => e(n, t));
@@ -348,8 +386,8 @@ var d = function(e, ...t) {
348
386
  deleteDriveItem(e, i, a) {
349
387
  return r.deleteDriveItem(e, i, a).then((e) => e(n, t));
350
388
  },
351
- getDriveItem(e, i, a, o) {
352
- return r.getDriveItem(e, i, a, o).then((e) => e(n, t));
389
+ getDriveItem(e, i, a, o, s) {
390
+ return r.getDriveItem(e, i, a, o, s).then((e) => e(n, t));
353
391
  },
354
392
  getDriveItemChildren(e, i, a, o) {
355
393
  return r.getDriveItemChildren(e, i, a, o).then((e) => e(n, t));
@@ -357,51 +395,60 @@ var d = function(e, ...t) {
357
395
  getDriveItemContent(e, i, a) {
358
396
  return r.getDriveItemContent(e, i, a).then((e) => e(n, t));
359
397
  },
360
- getDriveItemV1(e, i, a, o) {
361
- return r.getDriveItemV1(e, i, a, o).then((e) => e(n, t));
398
+ getDriveItemV1(e, i, a, o, s) {
399
+ return r.getDriveItemV1(e, i, a, o, s).then((e) => e(n, t));
362
400
  },
363
401
  updateDriveItem(e, i, a, o) {
364
402
  return r.updateDriveItem(e, i, a, o).then((e) => e(n, t));
365
403
  }
366
404
  };
367
- }, ae = class extends r {
405
+ }, pe = class extends r {
368
406
  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));
407
+ return S(this.configuration).createChildDriveItem(e, t, n, r, i, a).then((e) => e(this.axios, this.basePath));
370
408
  }
371
409
  deleteDriveItem(e, t, n) {
372
- return C(this.configuration).deleteDriveItem(e, t, n).then((e) => e(this.axios, this.basePath));
410
+ return S(this.configuration).deleteDriveItem(e, t, n).then((e) => e(this.axios, this.basePath));
373
411
  }
374
- getDriveItem(e, t, n, r) {
375
- return C(this.configuration).getDriveItem(e, t, n, r).then((e) => e(this.axios, this.basePath));
412
+ getDriveItem(e, t, n, r, i) {
413
+ return S(this.configuration).getDriveItem(e, t, n, r, i).then((e) => e(this.axios, this.basePath));
376
414
  }
377
415
  getDriveItemChildren(e, t, n, r) {
378
- return C(this.configuration).getDriveItemChildren(e, t, n, r).then((e) => e(this.axios, this.basePath));
416
+ return S(this.configuration).getDriveItemChildren(e, t, n, r).then((e) => e(this.axios, this.basePath));
379
417
  }
380
418
  getDriveItemContent(e, t, n) {
381
- return C(this.configuration).getDriveItemContent(e, t, n).then((e) => e(this.axios, this.basePath));
419
+ return S(this.configuration).getDriveItemContent(e, t, n).then((e) => e(this.axios, this.basePath));
382
420
  }
383
- getDriveItemV1(e, t, n, r) {
384
- return C(this.configuration).getDriveItemV1(e, t, n, r).then((e) => e(this.axios, this.basePath));
421
+ getDriveItemV1(e, t, n, r, i) {
422
+ return S(this.configuration).getDriveItemV1(e, t, n, r, i).then((e) => e(this.axios, this.basePath));
385
423
  }
386
424
  updateDriveItem(e, t, n, r) {
387
- return C(this.configuration).updateDriveItem(e, t, n, r).then((e) => e(this.axios, this.basePath));
425
+ return S(this.configuration).updateDriveItem(e, t, n, r).then((e) => e(this.axios, this.basePath));
388
426
  }
389
- }, oe = {
427
+ }, me = {
390
428
  Fail: "fail",
391
429
  Replace: "replace"
392
- }, se = {
430
+ }, he = {
393
431
  Fail: "fail",
394
432
  Create: "create"
395
- }, ce = {
433
+ }, ge = {
396
434
  MicrosoftGraphDownloadUrl: "@microsoft.graph.downloadUrl",
397
- LibreGraphPermissionsActionsAllowedValues: "@libre.graph.permissions.actions.allowedValues"
398
- }, le = {
435
+ LibreGraphPermissionsActionsAllowedValues: "@libre.graph.permissions.actions.allowedValues",
436
+ LibreGraphShareTypes: "@libre.graph.shareTypes"
437
+ }, _e = {
438
+ Children: "children",
439
+ Thumbnails: "thumbnails"
440
+ }, ve = {
399
441
  MicrosoftGraphDownloadUrl: "@microsoft.graph.downloadUrl",
400
- LibreGraphPermissionsActionsAllowedValues: "@libre.graph.permissions.actions.allowedValues"
401
- }, ue = {
442
+ LibreGraphPermissionsActionsAllowedValues: "@libre.graph.permissions.actions.allowedValues",
443
+ LibreGraphShareTypes: "@libre.graph.shareTypes"
444
+ }, ye = {
402
445
  MicrosoftGraphDownloadUrl: "@microsoft.graph.downloadUrl",
403
- LibreGraphPermissionsActionsAllowedValues: "@libre.graph.permissions.actions.allowedValues"
404
- }, de = function(e) {
446
+ LibreGraphPermissionsActionsAllowedValues: "@libre.graph.permissions.actions.allowedValues",
447
+ LibreGraphShareTypes: "@libre.graph.shareTypes"
448
+ }, be = {
449
+ Children: "children",
450
+ Thumbnails: "thumbnails"
451
+ }, C = function(e) {
405
452
  return {
406
453
  createDrive: async (t, n = {}) => {
407
454
  s("createDrive", "drive", t);
@@ -485,7 +532,7 @@ var d = function(e, ...t) {
485
532
  }
486
533
  };
487
534
  }, w = function(n) {
488
- let r = de(n);
535
+ let r = C(n);
489
536
  return {
490
537
  async createDrive(i, o) {
491
538
  let s = await r.createDrive(i, o), c = n?.serverIndex ?? 0, l = a["DrivesApi.createDrive"]?.[c]?.url;
@@ -504,7 +551,7 @@ var d = function(e, ...t) {
504
551
  return (r, i) => h(c, e, t, n)(r, u || i);
505
552
  }
506
553
  };
507
- }, fe = function(e, t, n) {
554
+ }, xe = function(e, t, n) {
508
555
  let r = w(e);
509
556
  return {
510
557
  createDrive(e, i) {
@@ -520,7 +567,7 @@ var d = function(e, ...t) {
520
567
  return r.updateDrive(e, i, a).then((e) => e(n, t));
521
568
  }
522
569
  };
523
- }, pe = class extends r {
570
+ }, Se = class extends r {
524
571
  createDrive(e, t) {
525
572
  return w(this.configuration).createDrive(e, t).then((e) => e(this.axios, this.basePath));
526
573
  }
@@ -533,7 +580,7 @@ var d = function(e, ...t) {
533
580
  updateDrive(e, t, n) {
534
581
  return w(this.configuration).updateDrive(e, t, n).then((e) => e(this.axios, this.basePath));
535
582
  }
536
- }, me = { LibreGraphHasTrashedItems: "@libre.graph.hasTrashedItems" }, he = function(e) {
583
+ }, Ce = { LibreGraphHasTrashedItems: "@libre.graph.hasTrashedItems" }, we = function(e) {
537
584
  return {
538
585
  listAllDrives: async (t, n, r = {}) => {
539
586
  let i = new URL("/v1.0/drives", o), a;
@@ -575,7 +622,7 @@ var d = function(e, ...t) {
575
622
  }
576
623
  };
577
624
  }, T = function(n) {
578
- let r = he(n);
625
+ let r = we(n);
579
626
  return {
580
627
  async listAllDrives(i, o, s) {
581
628
  let c = await r.listAllDrives(i, o, s), l = n?.serverIndex ?? 0, u = a["DrivesGetDrivesApi.listAllDrives"]?.[l]?.url;
@@ -586,7 +633,7 @@ var d = function(e, ...t) {
586
633
  return (r, i) => h(u, e, t, n)(r, f || i);
587
634
  }
588
635
  };
589
- }, ge = function(e, t, n) {
636
+ }, Te = function(e, t, n) {
590
637
  let r = T(e);
591
638
  return {
592
639
  listAllDrives(e, i, a) {
@@ -596,14 +643,14 @@ var d = function(e, ...t) {
596
643
  return r.listAllDrivesBeta(e, i, a, o, s).then((e) => e(n, t));
597
644
  }
598
645
  };
599
- }, _e = class extends r {
646
+ }, Ee = class extends r {
600
647
  listAllDrives(e, t, n) {
601
648
  return T(this.configuration).listAllDrives(e, t, n).then((e) => e(this.axios, this.basePath));
602
649
  }
603
650
  listAllDrivesBeta(e, t, n, r, i) {
604
651
  return T(this.configuration).listAllDrivesBeta(e, t, n, r, i).then((e) => e(this.axios, this.basePath));
605
652
  }
606
- }, ve = { LibreGraphHasTrashedItems: "@libre.graph.hasTrashedItems" }, ye = function(e) {
653
+ }, De = { LibreGraphHasTrashedItems: "@libre.graph.hasTrashedItems" }, Oe = function(e) {
607
654
  return {
608
655
  createLink: async (t, n, r, i = {}) => {
609
656
  s("createLink", "driveId", t), s("createLink", "itemId", n);
@@ -695,10 +742,10 @@ var d = function(e, ...t) {
695
742
  ...f
696
743
  }, v = {}, y = {};
697
744
  c(_, e), i !== void 0 && (y.$filter = i), a && (y.$select = Array.from(a).join(n.csv)), l !== void 0 && (y.$count = l), u !== void 0 && (y.$top = u), v.Accept = "application/json", d(h, y);
698
- let b = g && g.headers ? g.headers : {};
745
+ let ee = g && g.headers ? g.headers : {};
699
746
  return _.headers = {
700
747
  ...v,
701
- ...b,
748
+ ...ee,
702
749
  ...f.headers
703
750
  }, {
704
751
  url: m(h),
@@ -747,7 +794,7 @@ var d = function(e, ...t) {
747
794
  }
748
795
  };
749
796
  }, E = function(n) {
750
- let r = ye(n);
797
+ let r = Oe(n);
751
798
  return {
752
799
  async createLink(i, o, s, c) {
753
800
  let l = await r.createLink(i, o, s, c), u = n?.serverIndex ?? 0, d = a["DrivesPermissionsApi.createLink"]?.[u]?.url;
@@ -778,7 +825,7 @@ var d = function(e, ...t) {
778
825
  return (r, i) => h(u, e, t, n)(r, f || i);
779
826
  }
780
827
  };
781
- }, be = function(e, t, n) {
828
+ }, ke = function(e, t, n) {
782
829
  let r = E(e);
783
830
  return {
784
831
  createLink(e, i, a, o) {
@@ -803,7 +850,7 @@ var d = function(e, ...t) {
803
850
  return r.updatePermission(e, i, a, o, s).then((e) => e(n, t));
804
851
  }
805
852
  };
806
- }, xe = class extends r {
853
+ }, Ae = class extends r {
807
854
  createLink(e, t, n, r) {
808
855
  return E(this.configuration).createLink(e, t, n, r).then((e) => e(this.axios, this.basePath));
809
856
  }
@@ -825,11 +872,11 @@ var d = function(e, ...t) {
825
872
  updatePermission(e, t, n, r, i) {
826
873
  return E(this.configuration).updatePermission(e, t, n, r, i).then((e) => e(this.axios, this.basePath));
827
874
  }
828
- }, Se = {
875
+ }, je = {
829
876
  LibreGraphPermissionsActionsAllowedValues: "@libre.graph.permissions.actions.allowedValues",
830
877
  LibreGraphPermissionsRolesAllowedValues: "@libre.graph.permissions.roles.allowedValues",
831
878
  Value: "value"
832
- }, Ce = function(e) {
879
+ }, Me = function(e) {
833
880
  return {
834
881
  createDriveItem: async (t, n, r, i, a = {}) => {
835
882
  s("createDriveItem", "driveId", t);
@@ -911,24 +958,24 @@ var d = function(e, ...t) {
911
958
  options: u
912
959
  };
913
960
  },
914
- getRoot: async (t, r, i = {}) => {
961
+ getRoot: async (t, r, i, a = {}) => {
915
962
  s("getRoot", "driveId", t);
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 = {
963
+ let l = "/v1.0/drives/{drive-id}/root".replace("{drive-id}", encodeURIComponent(String(t))), u = new URL(l, o), f;
964
+ e && (f = e.baseOptions);
965
+ let p = {
919
966
  method: "GET",
920
- ...u,
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
967
+ ...f,
968
+ ...a
969
+ }, h = {}, g = {};
970
+ c(p, e), r && (g.$select = Array.from(r).join(n.csv)), i && (g.$expand = Array.from(i).join(n.csv)), h.Accept = "application/json", d(u, g);
971
+ let _ = f && f.headers ? f.headers : {};
972
+ return p.headers = {
973
+ ...h,
974
+ ..._,
975
+ ...a.headers
929
976
  }, {
930
- url: m(l),
931
- options: f
977
+ url: m(u),
978
+ options: p
932
979
  };
933
980
  },
934
981
  inviteSpaceRoot: async (t, n, r = {}) => {
@@ -1013,7 +1060,7 @@ var d = function(e, ...t) {
1013
1060
  }
1014
1061
  };
1015
1062
  }, D = function(n) {
1016
- let r = Ce(n);
1063
+ let r = Me(n);
1017
1064
  return {
1018
1065
  async createDriveItem(i, o, s, c, l) {
1019
1066
  let u = await r.createDriveItem(i, o, s, c, l), d = n?.serverIndex ?? 0, f = a["DrivesRootApi.createDriveItem"]?.[d]?.url;
@@ -1031,9 +1078,9 @@ var d = function(e, ...t) {
1031
1078
  let c = await r.getPermissionSpaceRoot(i, o, s), l = n?.serverIndex ?? 0, u = a["DrivesRootApi.getPermissionSpaceRoot"]?.[l]?.url;
1032
1079
  return (r, i) => h(c, e, t, n)(r, u || i);
1033
1080
  },
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);
1081
+ async getRoot(i, o, s, c) {
1082
+ let l = await r.getRoot(i, o, s, c), u = n?.serverIndex ?? 0, d = a["DrivesRootApi.getRoot"]?.[u]?.url;
1083
+ return (r, i) => h(l, e, t, n)(r, d || i);
1037
1084
  },
1038
1085
  async inviteSpaceRoot(i, o, s) {
1039
1086
  let c = await r.inviteSpaceRoot(i, o, s), l = n?.serverIndex ?? 0, u = a["DrivesRootApi.inviteSpaceRoot"]?.[l]?.url;
@@ -1052,7 +1099,7 @@ var d = function(e, ...t) {
1052
1099
  return (r, i) => h(l, e, t, n)(r, d || i);
1053
1100
  }
1054
1101
  };
1055
- }, we = function(e, t, n) {
1102
+ }, Ne = function(e, t, n) {
1056
1103
  let r = D(e);
1057
1104
  return {
1058
1105
  createDriveItem(e, i, a, o, s) {
@@ -1067,8 +1114,8 @@ var d = function(e, ...t) {
1067
1114
  getPermissionSpaceRoot(e, i, a) {
1068
1115
  return r.getPermissionSpaceRoot(e, i, a).then((e) => e(n, t));
1069
1116
  },
1070
- getRoot(e, i, a) {
1071
- return r.getRoot(e, i, a).then((e) => e(n, t));
1117
+ getRoot(e, i, a, o) {
1118
+ return r.getRoot(e, i, a, o).then((e) => e(n, t));
1072
1119
  },
1073
1120
  inviteSpaceRoot(e, i, a) {
1074
1121
  return r.inviteSpaceRoot(e, i, a).then((e) => e(n, t));
@@ -1083,7 +1130,7 @@ var d = function(e, ...t) {
1083
1130
  return r.updatePermissionSpaceRoot(e, i, a, o).then((e) => e(n, t));
1084
1131
  }
1085
1132
  };
1086
- }, Te = class extends r {
1133
+ }, Pe = class extends r {
1087
1134
  createDriveItem(e, t, n, r, i) {
1088
1135
  return D(this.configuration).createDriveItem(e, t, n, r, i).then((e) => e(this.axios, this.basePath));
1089
1136
  }
@@ -1096,8 +1143,8 @@ var d = function(e, ...t) {
1096
1143
  getPermissionSpaceRoot(e, t, n) {
1097
1144
  return D(this.configuration).getPermissionSpaceRoot(e, t, n).then((e) => e(this.axios, this.basePath));
1098
1145
  }
1099
- getRoot(e, t, n) {
1100
- return D(this.configuration).getRoot(e, t, n).then((e) => e(this.axios, this.basePath));
1146
+ getRoot(e, t, n, r) {
1147
+ return D(this.configuration).getRoot(e, t, n, r).then((e) => e(this.axios, this.basePath));
1101
1148
  }
1102
1149
  inviteSpaceRoot(e, t, n) {
1103
1150
  return D(this.configuration).inviteSpaceRoot(e, t, n).then((e) => e(this.axios, this.basePath));
@@ -1111,16 +1158,20 @@ var d = function(e, ...t) {
1111
1158
  updatePermissionSpaceRoot(e, t, n, r) {
1112
1159
  return D(this.configuration).updatePermissionSpaceRoot(e, t, n, r).then((e) => e(this.axios, this.basePath));
1113
1160
  }
1114
- }, Ee = {
1161
+ }, Fe = {
1115
1162
  Fail: "fail",
1116
1163
  Replace: "replace"
1117
- }, De = {
1164
+ }, Ie = {
1118
1165
  Fail: "fail",
1119
1166
  Create: "create"
1120
- }, Oe = {
1167
+ }, Le = {
1121
1168
  MicrosoftGraphDownloadUrl: "@microsoft.graph.downloadUrl",
1122
- LibreGraphPermissionsActionsAllowedValues: "@libre.graph.permissions.actions.allowedValues"
1123
- }, ke = {
1169
+ LibreGraphPermissionsActionsAllowedValues: "@libre.graph.permissions.actions.allowedValues",
1170
+ LibreGraphShareTypes: "@libre.graph.shareTypes"
1171
+ }, Re = {
1172
+ Children: "children",
1173
+ Thumbnails: "thumbnails"
1174
+ }, ze = {
1124
1175
  LibreGraphPermissionsActionsAllowedValues: "@libre.graph.permissions.actions.allowedValues",
1125
1176
  LibreGraphPermissionsRolesAllowedValues: "@libre.graph.permissions.roles.allowedValues",
1126
1177
  Value: "value"
@@ -1322,7 +1373,7 @@ var d = function(e, ...t) {
1322
1373
  return (r, i) => h(c, e, t, n)(r, u || i);
1323
1374
  }
1324
1375
  };
1325
- }, Ae = function(e, t, n) {
1376
+ }, Be = function(e, t, n) {
1326
1377
  let r = k(e);
1327
1378
  return {
1328
1379
  addUserToClass(e, i, a) {
@@ -1350,7 +1401,7 @@ var d = function(e, ...t) {
1350
1401
  return r.updateClass(e, i, a).then((e) => e(n, t));
1351
1402
  }
1352
1403
  };
1353
- }, je = class extends r {
1404
+ }, Ve = class extends r {
1354
1405
  addUserToClass(e, t, n) {
1355
1406
  return k(this.configuration).addUserToClass(e, t, n).then((e) => e(this.axios, this.basePath));
1356
1407
  }
@@ -1375,7 +1426,7 @@ var d = function(e, ...t) {
1375
1426
  updateClass(e, t, n) {
1376
1427
  return k(this.configuration).updateClass(e, t, n).then((e) => e(this.axios, this.basePath));
1377
1428
  }
1378
- }, Me = function(e) {
1429
+ }, He = function(e) {
1379
1430
  return {
1380
1431
  addTeacherToClass: async (t, n, r = {}) => {
1381
1432
  s("addTeacherToClass", "classId", t), s("addTeacherToClass", "classTeacherReference", n);
@@ -1439,7 +1490,7 @@ var d = function(e, ...t) {
1439
1490
  }
1440
1491
  };
1441
1492
  }, A = function(n) {
1442
- let r = Me(n);
1493
+ let r = He(n);
1443
1494
  return {
1444
1495
  async addTeacherToClass(i, o, s) {
1445
1496
  let c = await r.addTeacherToClass(i, o, s), l = n?.serverIndex ?? 0, u = a["EducationClassTeachersApi.addTeacherToClass"]?.[l]?.url;
@@ -1454,7 +1505,7 @@ var d = function(e, ...t) {
1454
1505
  return (r, i) => h(s, e, t, n)(r, l || i);
1455
1506
  }
1456
1507
  };
1457
- }, Ne = function(e, t, n) {
1508
+ }, Ue = function(e, t, n) {
1458
1509
  let r = A(e);
1459
1510
  return {
1460
1511
  addTeacherToClass(e, i, a) {
@@ -1467,7 +1518,7 @@ var d = function(e, ...t) {
1467
1518
  return r.getTeachers(e, i).then((e) => e(n, t));
1468
1519
  }
1469
1520
  };
1470
- }, Pe = class extends r {
1521
+ }, We = class extends r {
1471
1522
  addTeacherToClass(e, t, n) {
1472
1523
  return A(this.configuration).addTeacherToClass(e, t, n).then((e) => e(this.axios, this.basePath));
1473
1524
  }
@@ -1477,7 +1528,7 @@ var d = function(e, ...t) {
1477
1528
  getTeachers(e, t) {
1478
1529
  return A(this.configuration).getTeachers(e, t).then((e) => e(this.axios, this.basePath));
1479
1530
  }
1480
- }, Fe = function(e) {
1531
+ }, Ge = function(e) {
1481
1532
  return {
1482
1533
  addClassToSchool: async (t, n, r = {}) => {
1483
1534
  s("addClassToSchool", "schoolId", t), s("addClassToSchool", "classReference", n);
@@ -1700,7 +1751,7 @@ var d = function(e, ...t) {
1700
1751
  }
1701
1752
  };
1702
1753
  }, j = function(n) {
1703
- let r = Fe(n);
1754
+ let r = Ge(n);
1704
1755
  return {
1705
1756
  async addClassToSchool(i, o, s) {
1706
1757
  let c = await r.addClassToSchool(i, o, s), l = n?.serverIndex ?? 0, u = a["EducationSchoolApi.addClassToSchool"]?.[l]?.url;
@@ -1747,7 +1798,7 @@ var d = function(e, ...t) {
1747
1798
  return (r, i) => h(c, e, t, n)(r, u || i);
1748
1799
  }
1749
1800
  };
1750
- }, Ie = function(e, t, n) {
1801
+ }, Ke = function(e, t, n) {
1751
1802
  let r = j(e);
1752
1803
  return {
1753
1804
  addClassToSchool(e, i, a) {
@@ -1784,7 +1835,7 @@ var d = function(e, ...t) {
1784
1835
  return r.updateSchool(e, i, a).then((e) => e(n, t));
1785
1836
  }
1786
1837
  };
1787
- }, Le = class extends r {
1838
+ }, qe = class extends r {
1788
1839
  addClassToSchool(e, t, n) {
1789
1840
  return j(this.configuration).addClassToSchool(e, t, n).then((e) => e(this.axios, this.basePath));
1790
1841
  }
@@ -1818,7 +1869,7 @@ var d = function(e, ...t) {
1818
1869
  updateSchool(e, t, n) {
1819
1870
  return j(this.configuration).updateSchool(e, t, n).then((e) => e(this.axios, this.basePath));
1820
1871
  }
1821
- }, M = function(e) {
1872
+ }, Je = function(e) {
1822
1873
  return {
1823
1874
  createEducationUser: async (t, n = {}) => {
1824
1875
  s("createEducationUser", "educationUser", t);
@@ -1920,8 +1971,8 @@ var d = function(e, ...t) {
1920
1971
  };
1921
1972
  }
1922
1973
  };
1923
- }, N = function(n) {
1924
- let r = M(n);
1974
+ }, M = function(n) {
1975
+ let r = Je(n);
1925
1976
  return {
1926
1977
  async createEducationUser(i, o) {
1927
1978
  let s = await r.createEducationUser(i, o), c = n?.serverIndex ?? 0, l = a["EducationUserApi.createEducationUser"]?.[c]?.url;
@@ -1944,8 +1995,8 @@ var d = function(e, ...t) {
1944
1995
  return (r, i) => h(c, e, t, n)(r, u || i);
1945
1996
  }
1946
1997
  };
1947
- }, Re = function(e, t, n) {
1948
- let r = N(e);
1998
+ }, Ye = function(e, t, n) {
1999
+ let r = M(e);
1949
2000
  return {
1950
2001
  createEducationUser(e, i) {
1951
2002
  return r.createEducationUser(e, i).then((e) => e(n, t));
@@ -1963,30 +2014,30 @@ var d = function(e, ...t) {
1963
2014
  return r.updateEducationUser(e, i, a).then((e) => e(n, t));
1964
2015
  }
1965
2016
  };
1966
- }, ze = class extends r {
2017
+ }, Xe = class extends r {
1967
2018
  createEducationUser(e, t) {
1968
- return N(this.configuration).createEducationUser(e, t).then((e) => e(this.axios, this.basePath));
2019
+ return M(this.configuration).createEducationUser(e, t).then((e) => e(this.axios, this.basePath));
1969
2020
  }
1970
2021
  deleteEducationUser(e, t) {
1971
- return N(this.configuration).deleteEducationUser(e, t).then((e) => e(this.axios, this.basePath));
2022
+ return M(this.configuration).deleteEducationUser(e, t).then((e) => e(this.axios, this.basePath));
1972
2023
  }
1973
2024
  getEducationUser(e, t, n) {
1974
- return N(this.configuration).getEducationUser(e, t, n).then((e) => e(this.axios, this.basePath));
2025
+ return M(this.configuration).getEducationUser(e, t, n).then((e) => e(this.axios, this.basePath));
1975
2026
  }
1976
2027
  listEducationUsers(e, t, n, r) {
1977
- return N(this.configuration).listEducationUsers(e, t, n, r).then((e) => e(this.axios, this.basePath));
2028
+ return M(this.configuration).listEducationUsers(e, t, n, r).then((e) => e(this.axios, this.basePath));
1978
2029
  }
1979
2030
  updateEducationUser(e, t, n) {
1980
- return N(this.configuration).updateEducationUser(e, t, n).then((e) => e(this.axios, this.basePath));
2031
+ return M(this.configuration).updateEducationUser(e, t, n).then((e) => e(this.axios, this.basePath));
1981
2032
  }
1982
- }, Be = { MemberOf: "memberOf" }, Ve = {
2033
+ }, Ze = { MemberOf: "memberOf" }, Qe = {
1983
2034
  DisplayName: "displayName",
1984
2035
  DisplayNameDesc: "displayName desc",
1985
2036
  Mail: "mail",
1986
2037
  MailDesc: "mail desc",
1987
2038
  OnPremisesSamAccountName: "onPremisesSamAccountName",
1988
2039
  OnPremisesSamAccountNameDesc: "onPremisesSamAccountName desc"
1989
- }, He = { MemberOf: "memberOf" }, P = function(e) {
2040
+ }, $e = { MemberOf: "memberOf" }, et = function(e) {
1990
2041
  return {
1991
2042
  addMember: async (t, n, r = {}) => {
1992
2043
  s("addMember", "groupId", t), s("addMember", "memberReference", n);
@@ -2109,8 +2160,8 @@ var d = function(e, ...t) {
2109
2160
  };
2110
2161
  }
2111
2162
  };
2112
- }, F = function(n) {
2113
- let r = P(n);
2163
+ }, N = function(n) {
2164
+ let r = et(n);
2114
2165
  return {
2115
2166
  async addMember(i, o, s) {
2116
2167
  let c = await r.addMember(i, o, s), l = n?.serverIndex ?? 0, u = a["GroupApi.addMember"]?.[l]?.url;
@@ -2137,8 +2188,8 @@ var d = function(e, ...t) {
2137
2188
  return (r, i) => h(c, e, t, n)(r, u || i);
2138
2189
  }
2139
2190
  };
2140
- }, Ue = function(e, t, n) {
2141
- let r = F(e);
2191
+ }, tt = function(e, t, n) {
2192
+ let r = N(e);
2142
2193
  return {
2143
2194
  addMember(e, i, a) {
2144
2195
  return r.addMember(e, i, a).then((e) => e(n, t));
@@ -2159,31 +2210,31 @@ var d = function(e, ...t) {
2159
2210
  return r.updateGroup(e, i, a).then((e) => e(n, t));
2160
2211
  }
2161
2212
  };
2162
- }, We = class extends r {
2213
+ }, nt = class extends r {
2163
2214
  addMember(e, t, n) {
2164
- return F(this.configuration).addMember(e, t, n).then((e) => e(this.axios, this.basePath));
2215
+ return N(this.configuration).addMember(e, t, n).then((e) => e(this.axios, this.basePath));
2165
2216
  }
2166
2217
  deleteGroup(e, t, n) {
2167
- return F(this.configuration).deleteGroup(e, t, n).then((e) => e(this.axios, this.basePath));
2218
+ return N(this.configuration).deleteGroup(e, t, n).then((e) => e(this.axios, this.basePath));
2168
2219
  }
2169
2220
  deleteMember(e, t, n, r) {
2170
- return F(this.configuration).deleteMember(e, t, n, r).then((e) => e(this.axios, this.basePath));
2221
+ return N(this.configuration).deleteMember(e, t, n, r).then((e) => e(this.axios, this.basePath));
2171
2222
  }
2172
2223
  getGroup(e, t, n, r) {
2173
- return F(this.configuration).getGroup(e, t, n, r).then((e) => e(this.axios, this.basePath));
2224
+ return N(this.configuration).getGroup(e, t, n, r).then((e) => e(this.axios, this.basePath));
2174
2225
  }
2175
2226
  listMembers(e, t) {
2176
- return F(this.configuration).listMembers(e, t).then((e) => e(this.axios, this.basePath));
2227
+ return N(this.configuration).listMembers(e, t).then((e) => e(this.axios, this.basePath));
2177
2228
  }
2178
2229
  updateGroup(e, t, n) {
2179
- return F(this.configuration).updateGroup(e, t, n).then((e) => e(this.axios, this.basePath));
2230
+ return N(this.configuration).updateGroup(e, t, n).then((e) => e(this.axios, this.basePath));
2180
2231
  }
2181
- }, Ge = {
2232
+ }, rt = {
2182
2233
  Id: "id",
2183
2234
  Description: "description",
2184
2235
  DisplayName: "displayName",
2185
2236
  Members: "members"
2186
- }, Ke = { Members: "members" }, qe = function(e) {
2237
+ }, it = { Members: "members" }, at = function(e) {
2187
2238
  return {
2188
2239
  createGroup: async (t, n = {}) => {
2189
2240
  s("createGroup", "group", t);
@@ -2225,8 +2276,8 @@ var d = function(e, ...t) {
2225
2276
  };
2226
2277
  }
2227
2278
  };
2228
- }, I = function(n) {
2229
- let r = qe(n);
2279
+ }, P = function(n) {
2280
+ let r = at(n);
2230
2281
  return {
2231
2282
  async createGroup(i, o) {
2232
2283
  let s = await r.createGroup(i, o), c = n?.serverIndex ?? 0, l = a["GroupsApi.createGroup"]?.[c]?.url;
@@ -2237,8 +2288,8 @@ var d = function(e, ...t) {
2237
2288
  return (r, i) => h(u, e, t, n)(r, f || i);
2238
2289
  }
2239
2290
  };
2240
- }, Je = function(e, t, n) {
2241
- let r = I(e);
2291
+ }, ot = function(e, t, n) {
2292
+ let r = P(e);
2242
2293
  return {
2243
2294
  createGroup(e, i) {
2244
2295
  return r.createGroup(e, i).then((e) => e(n, t));
@@ -2247,23 +2298,125 @@ var d = function(e, ...t) {
2247
2298
  return r.listGroups(e, i, a, o, s).then((e) => e(n, t));
2248
2299
  }
2249
2300
  };
2250
- }, Ye = class extends r {
2301
+ }, st = class extends r {
2251
2302
  createGroup(e, t) {
2252
- return I(this.configuration).createGroup(e, t).then((e) => e(this.axios, this.basePath));
2303
+ return P(this.configuration).createGroup(e, t).then((e) => e(this.axios, this.basePath));
2253
2304
  }
2254
2305
  listGroups(e, t, n, r, i) {
2255
- return I(this.configuration).listGroups(e, t, n, r, i).then((e) => e(this.axios, this.basePath));
2306
+ return P(this.configuration).listGroups(e, t, n, r, i).then((e) => e(this.axios, this.basePath));
2256
2307
  }
2257
- }, Xe = {
2308
+ }, ct = {
2258
2309
  DisplayName: "displayName",
2259
2310
  DisplayNameDesc: "displayName desc"
2260
- }, Ze = {
2311
+ }, lt = {
2261
2312
  Id: "id",
2262
2313
  Description: "description",
2263
2314
  DisplayName: "displayName",
2264
2315
  Mail: "mail",
2265
2316
  Members: "members"
2266
- }, Qe = { Members: "members" }, $e = function(e) {
2317
+ }, ut = { Members: "members" }, dt = function(e) {
2318
+ return {
2319
+ renewGuestLink: async (t, n = {}) => {
2320
+ s("renewGuestLink", "guestLinkRenewRequest", t);
2321
+ let r = new URL("/v1beta1/extensions/org.libregraph/guestLinks/renew", o), i;
2322
+ e && (i = e.baseOptions);
2323
+ let a = {
2324
+ method: "POST",
2325
+ ...i,
2326
+ ...n
2327
+ }, l = {};
2328
+ c(a, e), l["Content-Type"] = "application/json", l.Accept = "application/json", d(r, {});
2329
+ let u = i && i.headers ? i.headers : {};
2330
+ return a.headers = {
2331
+ ...l,
2332
+ ...u,
2333
+ ...n.headers
2334
+ }, a.data = p(t, a, e), {
2335
+ url: m(r),
2336
+ options: a
2337
+ };
2338
+ },
2339
+ verifyGuestLinkPin: async (t, n, r = {}) => {
2340
+ s("verifyGuestLinkPin", "hostOcGuestNonce", t), s("verifyGuestLinkPin", "guestLinkVerifyPinRequest", n);
2341
+ let i = new URL("/v1beta1/extensions/org.libregraph/guestLinks/verify/pin", o), a;
2342
+ e && (a = e.baseOptions);
2343
+ let l = {
2344
+ method: "POST",
2345
+ ...a,
2346
+ ...r
2347
+ }, u = {};
2348
+ c(l, e), u["Content-Type"] = "application/json", u.Accept = "application/json", d(i, {});
2349
+ let f = a && a.headers ? a.headers : {};
2350
+ return l.headers = {
2351
+ ...u,
2352
+ ...f,
2353
+ ...r.headers
2354
+ }, l.data = p(n, l, e), {
2355
+ url: m(i),
2356
+ options: l
2357
+ };
2358
+ },
2359
+ verifyGuestLinkToken: async (t, n = {}) => {
2360
+ s("verifyGuestLinkToken", "guestLinkVerifyTokenRequest", t);
2361
+ let r = new URL("/v1beta1/extensions/org.libregraph/guestLinks/verify/token", o), i;
2362
+ e && (i = e.baseOptions);
2363
+ let a = {
2364
+ method: "POST",
2365
+ ...i,
2366
+ ...n
2367
+ }, l = {};
2368
+ c(a, e), l["Content-Type"] = "application/json", l.Accept = "application/json", d(r, {});
2369
+ let u = i && i.headers ? i.headers : {};
2370
+ return a.headers = {
2371
+ ...l,
2372
+ ...u,
2373
+ ...n.headers
2374
+ }, a.data = p(t, a, e), {
2375
+ url: m(r),
2376
+ options: a
2377
+ };
2378
+ }
2379
+ };
2380
+ }, F = function(n) {
2381
+ let r = dt(n);
2382
+ return {
2383
+ async renewGuestLink(i, o) {
2384
+ let s = await r.renewGuestLink(i, o), c = n?.serverIndex ?? 0, l = a["GuestLinksApi.renewGuestLink"]?.[c]?.url;
2385
+ return (r, i) => h(s, e, t, n)(r, l || i);
2386
+ },
2387
+ async verifyGuestLinkPin(i, o, s) {
2388
+ let c = await r.verifyGuestLinkPin(i, o, s), l = n?.serverIndex ?? 0, u = a["GuestLinksApi.verifyGuestLinkPin"]?.[l]?.url;
2389
+ return (r, i) => h(c, e, t, n)(r, u || i);
2390
+ },
2391
+ async verifyGuestLinkToken(i, o) {
2392
+ let s = await r.verifyGuestLinkToken(i, o), c = n?.serverIndex ?? 0, l = a["GuestLinksApi.verifyGuestLinkToken"]?.[c]?.url;
2393
+ return (r, i) => h(s, e, t, n)(r, l || i);
2394
+ }
2395
+ };
2396
+ }, ft = function(e, t, n) {
2397
+ let r = F(e);
2398
+ return {
2399
+ renewGuestLink(e, i) {
2400
+ return r.renewGuestLink(e, i).then((e) => e(n, t));
2401
+ },
2402
+ verifyGuestLinkPin(e, i, a) {
2403
+ return r.verifyGuestLinkPin(e, i, a).then((e) => e(n, t));
2404
+ },
2405
+ verifyGuestLinkToken(e, i) {
2406
+ return r.verifyGuestLinkToken(e, i).then((e) => e(n, t));
2407
+ }
2408
+ };
2409
+ }, pt = class extends r {
2410
+ renewGuestLink(e, t) {
2411
+ return F(this.configuration).renewGuestLink(e, t).then((e) => e(this.axios, this.basePath));
2412
+ }
2413
+ verifyGuestLinkPin(e, t, n) {
2414
+ return F(this.configuration).verifyGuestLinkPin(e, t, n).then((e) => e(this.axios, this.basePath));
2415
+ }
2416
+ verifyGuestLinkToken(e, t) {
2417
+ return F(this.configuration).verifyGuestLinkToken(e, t).then((e) => e(this.axios, this.basePath));
2418
+ }
2419
+ }, mt = function(e) {
2267
2420
  return {
2268
2421
  createInvitation: async (t, n = {}) => {
2269
2422
  let r = new URL("/v1.0/invitations", o), i;
@@ -2324,8 +2477,8 @@ var d = function(e, ...t) {
2324
2477
  };
2325
2478
  }
2326
2479
  };
2327
- }, L = function(n) {
2328
- let r = $e(n);
2480
+ }, I = function(n) {
2481
+ let r = mt(n);
2329
2482
  return {
2330
2483
  async createInvitation(i, o) {
2331
2484
  let s = await r.createInvitation(i, o), c = n?.serverIndex ?? 0, l = a["InvitationsApi.createInvitation"]?.[c]?.url;
@@ -2340,8 +2493,8 @@ var d = function(e, ...t) {
2340
2493
  return (r, i) => h(o, e, t, n)(r, c || i);
2341
2494
  }
2342
2495
  };
2343
- }, et = function(e, t, n) {
2344
- let r = L(e);
2496
+ }, ht = function(e, t, n) {
2497
+ let r = I(e);
2345
2498
  return {
2346
2499
  createInvitation(e, i) {
2347
2500
  return r.createInvitation(e, i).then((e) => e(n, t));
@@ -2353,17 +2506,17 @@ var d = function(e, ...t) {
2353
2506
  return r.listInvitations(e).then((e) => e(n, t));
2354
2507
  }
2355
2508
  };
2356
- }, tt = class extends r {
2509
+ }, gt = class extends r {
2357
2510
  createInvitation(e, t) {
2358
- return L(this.configuration).createInvitation(e, t).then((e) => e(this.axios, this.basePath));
2511
+ return I(this.configuration).createInvitation(e, t).then((e) => e(this.axios, this.basePath));
2359
2512
  }
2360
2513
  getInvitation(e, t) {
2361
- return L(this.configuration).getInvitation(e, t).then((e) => e(this.axios, this.basePath));
2514
+ return I(this.configuration).getInvitation(e, t).then((e) => e(this.axios, this.basePath));
2362
2515
  }
2363
2516
  listInvitations(e) {
2364
- return L(this.configuration).listInvitations(e).then((e) => e(this.axios, this.basePath));
2517
+ return I(this.configuration).listInvitations(e).then((e) => e(this.axios, this.basePath));
2365
2518
  }
2366
- }, nt = function(e) {
2519
+ }, _t = function(e) {
2367
2520
  return { changeOwnPassword: async (t, n = {}) => {
2368
2521
  s("changeOwnPassword", "passwordChange", t);
2369
2522
  let r = new URL("/v1.0/me/changePassword", o), i;
@@ -2384,22 +2537,22 @@ var d = function(e, ...t) {
2384
2537
  options: a
2385
2538
  };
2386
2539
  } };
2387
- }, R = function(n) {
2388
- let r = nt(n);
2540
+ }, L = function(n) {
2541
+ let r = _t(n);
2389
2542
  return { async changeOwnPassword(i, o) {
2390
2543
  let s = await r.changeOwnPassword(i, o), c = n?.serverIndex ?? 0, l = a["MeChangepasswordApi.changeOwnPassword"]?.[c]?.url;
2391
2544
  return (r, i) => h(s, e, t, n)(r, l || i);
2392
2545
  } };
2393
- }, rt = function(e, t, n) {
2394
- let r = R(e);
2546
+ }, vt = function(e, t, n) {
2547
+ let r = L(e);
2395
2548
  return { changeOwnPassword(e, i) {
2396
2549
  return r.changeOwnPassword(e, i).then((e) => e(n, t));
2397
2550
  } };
2398
- }, it = class extends r {
2551
+ }, yt = class extends r {
2399
2552
  changeOwnPassword(e, t) {
2400
- return R(this.configuration).changeOwnPassword(e, t).then((e) => e(this.axios, this.basePath));
2553
+ return L(this.configuration).changeOwnPassword(e, t).then((e) => e(this.axios, this.basePath));
2401
2554
  }
2402
- }, at = function(e) {
2555
+ }, R = function(e) {
2403
2556
  return {
2404
2557
  followDriveItem: async (t, n = {}) => {
2405
2558
  s("followDriveItem", "itemId", t);
@@ -2500,7 +2653,7 @@ var d = function(e, ...t) {
2500
2653
  }
2501
2654
  };
2502
2655
  }, z = function(n) {
2503
- let r = at(n);
2656
+ let r = R(n);
2504
2657
  return {
2505
2658
  async followDriveItem(i, o) {
2506
2659
  let s = await r.followDriveItem(i, o), c = n?.serverIndex ?? 0, l = a["MeDriveApi.followDriveItem"]?.[c]?.url;
@@ -2523,7 +2676,7 @@ var d = function(e, ...t) {
2523
2676
  return (r, i) => h(s, e, t, n)(r, l || i);
2524
2677
  }
2525
2678
  };
2526
- }, ot = function(e, t, n) {
2679
+ }, bt = function(e, t, n) {
2527
2680
  let r = z(e);
2528
2681
  return {
2529
2682
  followDriveItem(e, i) {
@@ -2542,7 +2695,7 @@ var d = function(e, ...t) {
2542
2695
  return r.unfollowDriveItem(e, i).then((e) => e(n, t));
2543
2696
  }
2544
2697
  };
2545
- }, st = class extends r {
2698
+ }, xt = class extends r {
2546
2699
  followDriveItem(e, t) {
2547
2700
  return z(this.configuration).followDriveItem(e, t).then((e) => e(this.axios, this.basePath));
2548
2701
  }
@@ -2558,45 +2711,49 @@ var d = function(e, ...t) {
2558
2711
  unfollowDriveItem(e, t) {
2559
2712
  return z(this.configuration).unfollowDriveItem(e, t).then((e) => e(this.axios, this.basePath));
2560
2713
  }
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 = {
2714
+ }, St = { Thumbnails: "thumbnails" }, Ct = { Thumbnails: "thumbnails" }, wt = function(e) {
2715
+ return { homeGetRoot: async (t, r, i = {}) => {
2716
+ let a = new URL("/v1.0/me/drive/root", o), s;
2717
+ e && (s = e.baseOptions);
2718
+ let l = {
2566
2719
  method: "GET",
2567
- ...a,
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
2720
+ ...s,
2721
+ ...i
2722
+ }, u = {}, f = {};
2723
+ c(l, e), t && (f.$select = Array.from(t).join(n.csv)), r && (f.$expand = Array.from(r).join(n.csv)), u.Accept = "application/json", d(a, f);
2724
+ let p = s && s.headers ? s.headers : {};
2725
+ return l.headers = {
2726
+ ...u,
2727
+ ...p,
2728
+ ...i.headers
2576
2729
  }, {
2577
- url: m(i),
2578
- options: s
2730
+ url: m(a),
2731
+ options: l
2579
2732
  };
2580
2733
  } };
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);
2734
+ }, B = function(n) {
2735
+ let r = wt(n);
2736
+ return { async homeGetRoot(i, o, s) {
2737
+ let c = await r.homeGetRoot(i, o, s), l = n?.serverIndex ?? 0, u = a["MeDriveRootApi.homeGetRoot"]?.[l]?.url;
2738
+ return (r, i) => h(c, e, t, n)(r, u || i);
2586
2739
  } };
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));
2740
+ }, Tt = function(e, t, n) {
2741
+ let r = B(e);
2742
+ return { homeGetRoot(e, i, a) {
2743
+ return r.homeGetRoot(e, i, a).then((e) => e(n, t));
2591
2744
  } };
2592
- }, dt = class extends r {
2593
- homeGetRoot(e, t) {
2594
- return V(this.configuration).homeGetRoot(e, t).then((e) => e(this.axios, this.basePath));
2745
+ }, Et = class extends r {
2746
+ homeGetRoot(e, t, n) {
2747
+ return B(this.configuration).homeGetRoot(e, t, n).then((e) => e(this.axios, this.basePath));
2595
2748
  }
2596
- }, ft = {
2749
+ }, Dt = {
2597
2750
  MicrosoftGraphDownloadUrl: "@microsoft.graph.downloadUrl",
2598
- LibreGraphPermissionsActionsAllowedValues: "@libre.graph.permissions.actions.allowedValues"
2599
- }, H = function(e) {
2751
+ LibreGraphPermissionsActionsAllowedValues: "@libre.graph.permissions.actions.allowedValues",
2752
+ LibreGraphShareTypes: "@libre.graph.shareTypes"
2753
+ }, Ot = {
2754
+ Children: "children",
2755
+ Thumbnails: "thumbnails"
2756
+ }, kt = function(e) {
2600
2757
  return { homeGetChildren: async (t, r = {}) => {
2601
2758
  let i = new URL("/v1.0/me/drive/root/children", o), a;
2602
2759
  e && (a = e.baseOptions);
@@ -2616,25 +2773,26 @@ var d = function(e, ...t) {
2616
2773
  options: s
2617
2774
  };
2618
2775
  } };
2619
- }, U = function(n) {
2620
- let r = H(n);
2776
+ }, V = function(n) {
2777
+ let r = kt(n);
2621
2778
  return { async homeGetChildren(i, o) {
2622
2779
  let s = await r.homeGetChildren(i, o), c = n?.serverIndex ?? 0, l = a["MeDriveRootChildrenApi.homeGetChildren"]?.[c]?.url;
2623
2780
  return (r, i) => h(s, e, t, n)(r, l || i);
2624
2781
  } };
2625
- }, pt = function(e, t, n) {
2626
- let r = U(e);
2782
+ }, At = function(e, t, n) {
2783
+ let r = V(e);
2627
2784
  return { homeGetChildren(e, i) {
2628
2785
  return r.homeGetChildren(e, i).then((e) => e(n, t));
2629
2786
  } };
2630
- }, mt = class extends r {
2787
+ }, jt = class extends r {
2631
2788
  homeGetChildren(e, t) {
2632
- return U(this.configuration).homeGetChildren(e, t).then((e) => e(this.axios, this.basePath));
2789
+ return V(this.configuration).homeGetChildren(e, t).then((e) => e(this.axios, this.basePath));
2633
2790
  }
2634
- }, ht = {
2791
+ }, Mt = {
2635
2792
  MicrosoftGraphDownloadUrl: "@microsoft.graph.downloadUrl",
2636
- LibreGraphPermissionsActionsAllowedValues: "@libre.graph.permissions.actions.allowedValues"
2637
- }, gt = function(e) {
2793
+ LibreGraphPermissionsActionsAllowedValues: "@libre.graph.permissions.actions.allowedValues",
2794
+ LibreGraphShareTypes: "@libre.graph.shareTypes"
2795
+ }, Nt = function(e) {
2638
2796
  return {
2639
2797
  listMyDrives: async (t, n, r = {}) => {
2640
2798
  let i = new URL("/v1.0/me/drives", o), a;
@@ -2675,8 +2833,8 @@ var d = function(e, ...t) {
2675
2833
  };
2676
2834
  }
2677
2835
  };
2678
- }, W = function(n) {
2679
- let r = gt(n);
2836
+ }, H = function(n) {
2837
+ let r = Nt(n);
2680
2838
  return {
2681
2839
  async listMyDrives(i, o, s) {
2682
2840
  let c = await r.listMyDrives(i, o, s), l = n?.serverIndex ?? 0, u = a["MeDrivesApi.listMyDrives"]?.[l]?.url;
@@ -2687,8 +2845,8 @@ var d = function(e, ...t) {
2687
2845
  return (r, i) => h(u, e, t, n)(r, f || i);
2688
2846
  }
2689
2847
  };
2690
- }, _t = function(e, t, n) {
2691
- let r = W(e);
2848
+ }, Pt = function(e, t, n) {
2849
+ let r = H(e);
2692
2850
  return {
2693
2851
  listMyDrives(e, i, a) {
2694
2852
  return r.listMyDrives(e, i, a).then((e) => e(n, t));
@@ -2697,14 +2855,14 @@ var d = function(e, ...t) {
2697
2855
  return r.listMyDrivesBeta(e, i, a, o, s).then((e) => e(n, t));
2698
2856
  }
2699
2857
  };
2700
- }, vt = class extends r {
2858
+ }, Ft = class extends r {
2701
2859
  listMyDrives(e, t, n) {
2702
- return W(this.configuration).listMyDrives(e, t, n).then((e) => e(this.axios, this.basePath));
2860
+ return H(this.configuration).listMyDrives(e, t, n).then((e) => e(this.axios, this.basePath));
2703
2861
  }
2704
2862
  listMyDrivesBeta(e, t, n, r, i) {
2705
- return W(this.configuration).listMyDrivesBeta(e, t, n, r, i).then((e) => e(this.axios, this.basePath));
2863
+ return H(this.configuration).listMyDrivesBeta(e, t, n, r, i).then((e) => e(this.axios, this.basePath));
2706
2864
  }
2707
- }, yt = { LibreGraphHasTrashedItems: "@libre.graph.hasTrashedItems" }, bt = function(e) {
2865
+ }, It = { LibreGraphHasTrashedItems: "@libre.graph.hasTrashedItems" }, Lt = function(e) {
2708
2866
  return {
2709
2867
  deleteOwnUserPhoto: async (t = {}) => {
2710
2868
  let n = new URL("/v1.0/me/photo/$value", o), r;
@@ -2783,8 +2941,8 @@ var d = function(e, ...t) {
2783
2941
  };
2784
2942
  }
2785
2943
  };
2786
- }, G = function(n) {
2787
- let r = bt(n);
2944
+ }, U = function(n) {
2945
+ let r = Lt(n);
2788
2946
  return {
2789
2947
  async deleteOwnUserPhoto(i) {
2790
2948
  let o = await r.deleteOwnUserPhoto(i), s = n?.serverIndex ?? 0, c = a["MePhotoApi.deleteOwnUserPhoto"]?.[s]?.url;
@@ -2803,8 +2961,8 @@ var d = function(e, ...t) {
2803
2961
  return (r, i) => h(s, e, t, n)(r, l || i);
2804
2962
  }
2805
2963
  };
2806
- }, xt = function(e, t, n) {
2807
- let r = G(e);
2964
+ }, Rt = function(e, t, n) {
2965
+ let r = U(e);
2808
2966
  return {
2809
2967
  deleteOwnUserPhoto(e) {
2810
2968
  return r.deleteOwnUserPhoto(e).then((e) => e(n, t));
@@ -2819,20 +2977,20 @@ var d = function(e, ...t) {
2819
2977
  return r.updateOwnUserPhotoPut(e, i).then((e) => e(n, t));
2820
2978
  }
2821
2979
  };
2822
- }, St = class extends r {
2980
+ }, zt = class extends r {
2823
2981
  deleteOwnUserPhoto(e) {
2824
- return G(this.configuration).deleteOwnUserPhoto(e).then((e) => e(this.axios, this.basePath));
2982
+ return U(this.configuration).deleteOwnUserPhoto(e).then((e) => e(this.axios, this.basePath));
2825
2983
  }
2826
2984
  getOwnUserPhoto(e) {
2827
- return G(this.configuration).getOwnUserPhoto(e).then((e) => e(this.axios, this.basePath));
2985
+ return U(this.configuration).getOwnUserPhoto(e).then((e) => e(this.axios, this.basePath));
2828
2986
  }
2829
2987
  updateOwnUserPhotoPatch(e, t) {
2830
- return G(this.configuration).updateOwnUserPhotoPatch(e, t).then((e) => e(this.axios, this.basePath));
2988
+ return U(this.configuration).updateOwnUserPhotoPatch(e, t).then((e) => e(this.axios, this.basePath));
2831
2989
  }
2832
2990
  updateOwnUserPhotoPut(e, t) {
2833
- return G(this.configuration).updateOwnUserPhotoPut(e, t).then((e) => e(this.axios, this.basePath));
2991
+ return U(this.configuration).updateOwnUserPhotoPut(e, t).then((e) => e(this.axios, this.basePath));
2834
2992
  }
2835
- }, Ct = function(e) {
2993
+ }, Bt = function(e) {
2836
2994
  return {
2837
2995
  getOwnUser: async (t, r = {}) => {
2838
2996
  let i = new URL("/v1.0/me", o), a;
@@ -2873,8 +3031,8 @@ var d = function(e, ...t) {
2873
3031
  };
2874
3032
  }
2875
3033
  };
2876
- }, K = function(n) {
2877
- let r = Ct(n);
3034
+ }, W = function(n) {
3035
+ let r = Bt(n);
2878
3036
  return {
2879
3037
  async getOwnUser(i, o) {
2880
3038
  let s = await r.getOwnUser(i, o), c = n?.serverIndex ?? 0, l = a["MeUserApi.getOwnUser"]?.[c]?.url;
@@ -2885,8 +3043,8 @@ var d = function(e, ...t) {
2885
3043
  return (r, i) => h(s, e, t, n)(r, l || i);
2886
3044
  }
2887
3045
  };
2888
- }, wt = function(e, t, n) {
2889
- let r = K(e);
3046
+ }, Vt = function(e, t, n) {
3047
+ let r = W(e);
2890
3048
  return {
2891
3049
  getOwnUser(e, i) {
2892
3050
  return r.getOwnUser(e, i).then((e) => e(n, t));
@@ -2895,14 +3053,14 @@ var d = function(e, ...t) {
2895
3053
  return r.updateOwnUser(e, i).then((e) => e(n, t));
2896
3054
  }
2897
3055
  };
2898
- }, Tt = class extends r {
3056
+ }, Ht = class extends r {
2899
3057
  getOwnUser(e, t) {
2900
- return K(this.configuration).getOwnUser(e, t).then((e) => e(this.axios, this.basePath));
3058
+ return W(this.configuration).getOwnUser(e, t).then((e) => e(this.axios, this.basePath));
2901
3059
  }
2902
3060
  updateOwnUser(e, t) {
2903
- return K(this.configuration).updateOwnUser(e, t).then((e) => e(this.axios, this.basePath));
3061
+ return W(this.configuration).updateOwnUser(e, t).then((e) => e(this.axios, this.basePath));
2904
3062
  }
2905
- }, Et = { MemberOf: "memberOf" }, Dt = function(e) {
3063
+ }, Ut = { MemberOf: "memberOf" }, Wt = function(e) {
2906
3064
  return {
2907
3065
  getPermissionRoleDefinition: async (t, n = {}) => {
2908
3066
  s("getPermissionRoleDefinition", "roleId", t);
@@ -2944,8 +3102,8 @@ var d = function(e, ...t) {
2944
3102
  };
2945
3103
  }
2946
3104
  };
2947
- }, q = function(n) {
2948
- let r = Dt(n);
3105
+ }, G = function(n) {
3106
+ let r = Wt(n);
2949
3107
  return {
2950
3108
  async getPermissionRoleDefinition(i, o) {
2951
3109
  let s = await r.getPermissionRoleDefinition(i, o), c = n?.serverIndex ?? 0, l = a["RoleManagementApi.getPermissionRoleDefinition"]?.[c]?.url;
@@ -2956,8 +3114,8 @@ var d = function(e, ...t) {
2956
3114
  return (r, i) => h(o, e, t, n)(r, c || i);
2957
3115
  }
2958
3116
  };
2959
- }, Ot = function(e, t, n) {
2960
- let r = q(e);
3117
+ }, Gt = function(e, t, n) {
3118
+ let r = G(e);
2961
3119
  return {
2962
3120
  getPermissionRoleDefinition(e, i) {
2963
3121
  return r.getPermissionRoleDefinition(e, i).then((e) => e(n, t));
@@ -2966,14 +3124,50 @@ var d = function(e, ...t) {
2966
3124
  return r.listPermissionRoleDefinitions(e).then((e) => e(n, t));
2967
3125
  }
2968
3126
  };
2969
- }, kt = class extends r {
3127
+ }, Kt = class extends r {
2970
3128
  getPermissionRoleDefinition(e, t) {
2971
- return q(this.configuration).getPermissionRoleDefinition(e, t).then((e) => e(this.axios, this.basePath));
3129
+ return G(this.configuration).getPermissionRoleDefinition(e, t).then((e) => e(this.axios, this.basePath));
2972
3130
  }
2973
3131
  listPermissionRoleDefinitions(e) {
2974
- return q(this.configuration).listPermissionRoleDefinitions(e).then((e) => e(this.axios, this.basePath));
3132
+ return G(this.configuration).listPermissionRoleDefinitions(e).then((e) => e(this.axios, this.basePath));
3133
+ }
3134
+ }, qt = function(e) {
3135
+ return { searchQuery: async (t, r, i = {}) => {
3136
+ s("searchQuery", "searchQueryRequest", t);
3137
+ let a = new URL("/v1beta1/search/query", o), l;
3138
+ e && (l = e.baseOptions);
3139
+ let u = {
3140
+ method: "POST",
3141
+ ...l,
3142
+ ...i
3143
+ }, f = {}, h = {};
3144
+ c(u, e), r && (h.$expand = Array.from(r).join(n.csv)), f["Content-Type"] = "application/json", f.Accept = "application/json", d(a, h);
3145
+ let g = l && l.headers ? l.headers : {};
3146
+ return u.headers = {
3147
+ ...f,
3148
+ ...g,
3149
+ ...i.headers
3150
+ }, u.data = p(t, u, e), {
3151
+ url: m(a),
3152
+ options: u
3153
+ };
3154
+ } };
3155
+ }, K = function(n) {
3156
+ let r = qt(n);
3157
+ return { async searchQuery(i, o, s) {
3158
+ let c = await r.searchQuery(i, o, s), l = n?.serverIndex ?? 0, u = a["SearchApi.searchQuery"]?.[l]?.url;
3159
+ return (r, i) => h(c, e, t, n)(r, u || i);
3160
+ } };
3161
+ }, Jt = function(e, t, n) {
3162
+ let r = K(e);
3163
+ return { searchQuery(e, i, a) {
3164
+ return r.searchQuery(e, i, a).then((e) => e(n, t));
3165
+ } };
3166
+ }, Yt = class extends r {
3167
+ searchQuery(e, t, n) {
3168
+ return K(this.configuration).searchQuery(e, t, n).then((e) => e(this.axios, this.basePath));
2975
3169
  }
2976
- }, At = function(e) {
3170
+ }, Xt = { Thumbnails: "thumbnails" }, Zt = function(e) {
2977
3171
  return {
2978
3172
  assignTags: async (t, n = {}) => {
2979
3173
  let r = new URL("/v1.0/extensions/org.libregraph/tags", o), i;
@@ -3033,8 +3227,8 @@ var d = function(e, ...t) {
3033
3227
  };
3034
3228
  }
3035
3229
  };
3036
- }, J = function(n) {
3037
- let r = At(n);
3230
+ }, q = function(n) {
3231
+ let r = Zt(n);
3038
3232
  return {
3039
3233
  async assignTags(i, o) {
3040
3234
  let s = await r.assignTags(i, o), c = n?.serverIndex ?? 0, l = a["TagsApi.assignTags"]?.[c]?.url;
@@ -3049,8 +3243,8 @@ var d = function(e, ...t) {
3049
3243
  return (r, i) => h(s, e, t, n)(r, l || i);
3050
3244
  }
3051
3245
  };
3052
- }, jt = function(e, t, n) {
3053
- let r = J(e);
3246
+ }, Qt = function(e, t, n) {
3247
+ let r = q(e);
3054
3248
  return {
3055
3249
  assignTags(e, i) {
3056
3250
  return r.assignTags(e, i).then((e) => e(n, t));
@@ -3062,17 +3256,17 @@ var d = function(e, ...t) {
3062
3256
  return r.unassignTags(e, i).then((e) => e(n, t));
3063
3257
  }
3064
3258
  };
3065
- }, Mt = class extends r {
3259
+ }, $t = class extends r {
3066
3260
  assignTags(e, t) {
3067
- return J(this.configuration).assignTags(e, t).then((e) => e(this.axios, this.basePath));
3261
+ return q(this.configuration).assignTags(e, t).then((e) => e(this.axios, this.basePath));
3068
3262
  }
3069
3263
  getTags(e) {
3070
- return J(this.configuration).getTags(e).then((e) => e(this.axios, this.basePath));
3264
+ return q(this.configuration).getTags(e).then((e) => e(this.axios, this.basePath));
3071
3265
  }
3072
3266
  unassignTags(e, t) {
3073
- return J(this.configuration).unassignTags(e, t).then((e) => e(this.axios, this.basePath));
3267
+ return q(this.configuration).unassignTags(e, t).then((e) => e(this.axios, this.basePath));
3074
3268
  }
3075
- }, Nt = function(e) {
3269
+ }, en = function(e) {
3076
3270
  return {
3077
3271
  deleteUser: async (t, n, r = {}) => {
3078
3272
  s("deleteUser", "userId", t);
@@ -3155,8 +3349,8 @@ var d = function(e, ...t) {
3155
3349
  };
3156
3350
  }
3157
3351
  };
3158
- }, Y = function(n) {
3159
- let r = Nt(n);
3352
+ }, J = function(n) {
3353
+ let r = en(n);
3160
3354
  return {
3161
3355
  async deleteUser(i, o, s) {
3162
3356
  let c = await r.deleteUser(i, o, s), l = n?.serverIndex ?? 0, u = a["UserApi.deleteUser"]?.[l]?.url;
@@ -3175,8 +3369,8 @@ var d = function(e, ...t) {
3175
3369
  return (r, i) => h(c, e, t, n)(r, u || i);
3176
3370
  }
3177
3371
  };
3178
- }, Pt = function(e, t, n) {
3179
- let r = Y(e);
3372
+ }, tn = function(e, t, n) {
3373
+ let r = J(e);
3180
3374
  return {
3181
3375
  deleteUser(e, i, a) {
3182
3376
  return r.deleteUser(e, i, a).then((e) => e(n, t));
@@ -3191,20 +3385,20 @@ var d = function(e, ...t) {
3191
3385
  return r.updateUser(e, i, a).then((e) => e(n, t));
3192
3386
  }
3193
3387
  };
3194
- }, Ft = class extends r {
3388
+ }, nn = class extends r {
3195
3389
  deleteUser(e, t, n) {
3196
- return Y(this.configuration).deleteUser(e, t, n).then((e) => e(this.axios, this.basePath));
3390
+ return J(this.configuration).deleteUser(e, t, n).then((e) => e(this.axios, this.basePath));
3197
3391
  }
3198
3392
  exportPersonalData(e, t, n) {
3199
- return Y(this.configuration).exportPersonalData(e, t, n).then((e) => e(this.axios, this.basePath));
3393
+ return J(this.configuration).exportPersonalData(e, t, n).then((e) => e(this.axios, this.basePath));
3200
3394
  }
3201
3395
  getUser(e, t, n, r) {
3202
- return Y(this.configuration).getUser(e, t, n, r).then((e) => e(this.axios, this.basePath));
3396
+ return J(this.configuration).getUser(e, t, n, r).then((e) => e(this.axios, this.basePath));
3203
3397
  }
3204
3398
  updateUser(e, t, n) {
3205
- return Y(this.configuration).updateUser(e, t, n).then((e) => e(this.axios, this.basePath));
3399
+ return J(this.configuration).updateUser(e, t, n).then((e) => e(this.axios, this.basePath));
3206
3400
  }
3207
- }, It = {
3401
+ }, rn = {
3208
3402
  Id: "id",
3209
3403
  DisplayName: "displayName",
3210
3404
  Drive: "drive",
@@ -3213,12 +3407,12 @@ var d = function(e, ...t) {
3213
3407
  MemberOf: "memberOf",
3214
3408
  OnPremisesSamAccountName: "onPremisesSamAccountName",
3215
3409
  Surname: "surname"
3216
- }, Lt = {
3410
+ }, an = {
3217
3411
  Drive: "drive",
3218
3412
  Drives: "drives",
3219
3413
  MemberOf: "memberOf",
3220
3414
  AppRoleAssignments: "appRoleAssignments"
3221
- }, Rt = function(e) {
3415
+ }, on = function(e) {
3222
3416
  return {
3223
3417
  userCreateAppRoleAssignments: async (t, n, r = {}) => {
3224
3418
  s("userCreateAppRoleAssignments", "userId", t), s("userCreateAppRoleAssignments", "appRoleAssignment", n);
@@ -3281,8 +3475,8 @@ var d = function(e, ...t) {
3281
3475
  };
3282
3476
  }
3283
3477
  };
3284
- }, X = function(n) {
3285
- let r = Rt(n);
3478
+ }, Y = function(n) {
3479
+ let r = on(n);
3286
3480
  return {
3287
3481
  async userCreateAppRoleAssignments(i, o, s) {
3288
3482
  let c = await r.userCreateAppRoleAssignments(i, o, s), l = n?.serverIndex ?? 0, u = a["UserAppRoleAssignmentApi.userCreateAppRoleAssignments"]?.[l]?.url;
@@ -3297,8 +3491,8 @@ var d = function(e, ...t) {
3297
3491
  return (r, i) => h(s, e, t, n)(r, l || i);
3298
3492
  }
3299
3493
  };
3300
- }, zt = function(e, t, n) {
3301
- let r = X(e);
3494
+ }, sn = function(e, t, n) {
3495
+ let r = Y(e);
3302
3496
  return {
3303
3497
  userCreateAppRoleAssignments(e, i, a) {
3304
3498
  return r.userCreateAppRoleAssignments(e, i, a).then((e) => e(n, t));
@@ -3310,17 +3504,17 @@ var d = function(e, ...t) {
3310
3504
  return r.userListAppRoleAssignments(e, i).then((e) => e(n, t));
3311
3505
  }
3312
3506
  };
3313
- }, Bt = class extends r {
3507
+ }, cn = class extends r {
3314
3508
  userCreateAppRoleAssignments(e, t, n) {
3315
- return X(this.configuration).userCreateAppRoleAssignments(e, t, n).then((e) => e(this.axios, this.basePath));
3509
+ return Y(this.configuration).userCreateAppRoleAssignments(e, t, n).then((e) => e(this.axios, this.basePath));
3316
3510
  }
3317
3511
  userDeleteAppRoleAssignments(e, t, n, r) {
3318
- return X(this.configuration).userDeleteAppRoleAssignments(e, t, n, r).then((e) => e(this.axios, this.basePath));
3512
+ return Y(this.configuration).userDeleteAppRoleAssignments(e, t, n, r).then((e) => e(this.axios, this.basePath));
3319
3513
  }
3320
3514
  userListAppRoleAssignments(e, t) {
3321
- return X(this.configuration).userListAppRoleAssignments(e, t).then((e) => e(this.axios, this.basePath));
3515
+ return Y(this.configuration).userListAppRoleAssignments(e, t).then((e) => e(this.axios, this.basePath));
3322
3516
  }
3323
- }, Vt = function(e) {
3517
+ }, X = function(e) {
3324
3518
  return { getUserPhoto: async (t, n = {}) => {
3325
3519
  s("getUserPhoto", "userId", t);
3326
3520
  let r = "/v1.0/users/{user-id}/photo/$value".replace("{user-id}", encodeURIComponent(String(t))), i = new URL(r, o), a;
@@ -3342,21 +3536,21 @@ var d = function(e, ...t) {
3342
3536
  };
3343
3537
  } };
3344
3538
  }, Z = function(n) {
3345
- let r = Vt(n);
3539
+ let r = X(n);
3346
3540
  return { async getUserPhoto(i, o) {
3347
3541
  let s = await r.getUserPhoto(i, o), c = n?.serverIndex ?? 0, l = a["UserPhotoApi.getUserPhoto"]?.[c]?.url;
3348
3542
  return (r, i) => h(s, e, t, n)(r, l || i);
3349
3543
  } };
3350
- }, Ht = function(e, t, n) {
3544
+ }, ln = function(e, t, n) {
3351
3545
  let r = Z(e);
3352
3546
  return { getUserPhoto(e, i) {
3353
3547
  return r.getUserPhoto(e, i).then((e) => e(n, t));
3354
3548
  } };
3355
- }, Ut = class extends r {
3549
+ }, un = class extends r {
3356
3550
  getUserPhoto(e, t) {
3357
3551
  return Z(this.configuration).getUserPhoto(e, t).then((e) => e(this.axios, this.basePath));
3358
3552
  }
3359
- }, Wt = function(e) {
3553
+ }, dn = function(e) {
3360
3554
  return { sendActivityNotification: async (t, n, r = {}) => {
3361
3555
  s("sendActivityNotification", "userId", t), s("sendActivityNotification", "activityNotification", n);
3362
3556
  let i = "/v1.0/users/{user-id}/teamwork/sendActivityNotification".replace("{user-id}", encodeURIComponent(String(t))), a = new URL(i, o), l;
@@ -3378,21 +3572,21 @@ var d = function(e, ...t) {
3378
3572
  };
3379
3573
  } };
3380
3574
  }, Q = function(n) {
3381
- let r = Wt(n);
3575
+ let r = dn(n);
3382
3576
  return { async sendActivityNotification(i, o, s) {
3383
3577
  let c = await r.sendActivityNotification(i, o, s), l = n?.serverIndex ?? 0, u = a["UserTeamworkApi.sendActivityNotification"]?.[l]?.url;
3384
3578
  return (r, i) => h(c, e, t, n)(r, u || i);
3385
3579
  } };
3386
- }, Gt = function(e, t, n) {
3580
+ }, fn = function(e, t, n) {
3387
3581
  let r = Q(e);
3388
3582
  return { sendActivityNotification(e, i, a) {
3389
3583
  return r.sendActivityNotification(e, i, a).then((e) => e(n, t));
3390
3584
  } };
3391
- }, Kt = class extends r {
3585
+ }, pn = class extends r {
3392
3586
  sendActivityNotification(e, t, n) {
3393
3587
  return Q(this.configuration).sendActivityNotification(e, t, n).then((e) => e(this.axios, this.basePath));
3394
3588
  }
3395
- }, qt = function(e) {
3589
+ }, mn = function(e) {
3396
3590
  return {
3397
3591
  createUser: async (t, n = {}) => {
3398
3592
  s("createUser", "user", t);
@@ -3435,7 +3629,7 @@ var d = function(e, ...t) {
3435
3629
  }
3436
3630
  };
3437
3631
  }, $ = function(n) {
3438
- let r = qt(n);
3632
+ let r = mn(n);
3439
3633
  return {
3440
3634
  async createUser(i, o) {
3441
3635
  let s = await r.createUser(i, o), c = n?.serverIndex ?? 0, l = a["UsersApi.createUser"]?.[c]?.url;
@@ -3446,7 +3640,7 @@ var d = function(e, ...t) {
3446
3640
  return (r, i) => h(d, e, t, n)(r, p || i);
3447
3641
  }
3448
3642
  };
3449
- }, Jt = function(e, t, n) {
3643
+ }, hn = function(e, t, n) {
3450
3644
  let r = $(e);
3451
3645
  return {
3452
3646
  createUser(e, i) {
@@ -3456,33 +3650,33 @@ var d = function(e, ...t) {
3456
3650
  return r.listUsers(e, i, a, o, s, c).then((e) => e(n, t));
3457
3651
  }
3458
3652
  };
3459
- }, Yt = class extends r {
3653
+ }, gn = class extends r {
3460
3654
  createUser(e, t) {
3461
3655
  return $(this.configuration).createUser(e, t).then((e) => e(this.axios, this.basePath));
3462
3656
  }
3463
3657
  listUsers(e, t, n, r, i, a) {
3464
3658
  return $(this.configuration).listUsers(e, t, n, r, i, a).then((e) => e(this.axios, this.basePath));
3465
3659
  }
3466
- }, Xt = {
3660
+ }, _n = {
3467
3661
  DisplayName: "displayName",
3468
3662
  DisplayNameDesc: "displayName desc",
3469
3663
  Mail: "mail",
3470
3664
  MailDesc: "mail desc",
3471
3665
  OnPremisesSamAccountName: "onPremisesSamAccountName",
3472
3666
  OnPremisesSamAccountNameDesc: "onPremisesSamAccountName desc"
3473
- }, Zt = {
3667
+ }, vn = {
3474
3668
  Id: "id",
3475
3669
  DisplayName: "displayName",
3476
3670
  Mail: "mail",
3477
3671
  MemberOf: "memberOf",
3478
3672
  OnPremisesSamAccountName: "onPremisesSamAccountName",
3479
3673
  Surname: "surname"
3480
- }, Qt = {
3674
+ }, yn = {
3481
3675
  Drive: "drive",
3482
3676
  Drives: "drives",
3483
3677
  MemberOf: "memberOf",
3484
3678
  AppRoleAssignments: "appRoleAssignments"
3485
- }, $t = class {
3679
+ }, bn = class {
3486
3680
  apiKey;
3487
3681
  username;
3488
3682
  password;
@@ -3503,4 +3697,4 @@ var d = function(e, ...t) {
3503
3697
  }
3504
3698
  };
3505
3699
  //#endregion
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 };
3700
+ export { ve as $, fn as $n, R as $t, ke as A, K as An, mt as At, v as B, en as Bn, je as Bt, w as C, Kt as Cn, dt as Ct, T as D, Yt as Dn, Ot as Dt, Te as E, G as En, Mt as Et, D as F, $t as Fn, Qe as Ft, qe as G, sn as Gn, _n as Gt, He as H, J as Hn, St as Ht, Ve as I, Zt as In, ut as It, j as J, X as Jn, yt as Jt, Ge as K, Y as Kn, vn as Kt, O as L, Qt as Ln, ct as Lt, Pe as M, Xt as Mn, I as Mt, Me as N, re as Nn, De as Nt, Ae as O, qt as On, Dt as Ot, Ne as P, ie as Pn, $e as Pt, M as Q, dn as Qn, xt as Qt, Be as R, q as Rn, lt as Rt, xe as S, te as Sn, pt as St, we as T, Gt as Tn, F as Tt, Ue as U, cn as Un, Ct as Ut, We as V, tn as Vn, ze as Vt, A as W, on as Wn, yn as Wt, Je as X, Z as Xn, vt as Xt, Xe as Y, ln as Yn, _t as Yt, Ye as Z, pn as Zn, L as Zt, fe as _, U as _n, st as _t, b as a, B as an, Ze as at, Se as b, Vt as bn, P as bt, le as c, At as cn, Ut as ct, me as d, Nt as dn, an as dt, bt as en, Q as er, _e as et, he as f, Pt as fn, rn as ft, de as g, Rt as gn, N as gt, pe as h, Lt as hn, tt as ht, oe as i, Tt as in, $ as ir, Ce as it, E as j, ne as jn, ht as jt, Oe as k, Jt as kn, gt as kt, x as l, V as ln, Re as lt, Ie as m, zt as mn, et as mt, se as n, Et as nn, mn as nr, be as nt, ue as o, jt as on, it as ot, Fe as p, H as pn, nt as pt, Ke as q, un as qn, ee as qt, ae as r, wt as rn, hn as rr, ye as rt, ce as s, kt as sn, rt as st, bn as t, z as tn, gn as tr, ge as tt, g as u, Ft as un, Le as ut, S as v, Ht as vn, at as vt, Ee as w, Wt as wn, ft as wt, C as x, W as xn, y as xt, _ as y, Bt as yn, ot as yt, k as z, nn as zn, It as zt };