@coscine/api-client 3.4.1 → 3.4.3

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/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  var ct = Object.defineProperty;
2
2
  var it = (e, r, a) => r in e ? ct(e, r, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[r] = a;
3
3
  var k = (e, r, a) => (it(e, typeof r != "symbol" ? r + "" : r, a), a);
4
- function De(e, r) {
4
+ function He(e, r) {
5
5
  return function() {
6
6
  return e.apply(r, arguments);
7
7
  };
@@ -9,25 +9,25 @@ function De(e, r) {
9
9
  const { toString: pt } = Object.prototype, { getPrototypeOf: je } = Object, ne = /* @__PURE__ */ ((e) => (r) => {
10
10
  const a = pt.call(r);
11
11
  return e[a] || (e[a] = a.slice(8, -1).toLowerCase());
12
- })(/* @__PURE__ */ Object.create(null)), M = (e) => (e = e.toLowerCase(), (r) => ne(r) === e), le = (e) => (r) => typeof r === e, { isArray: Y } = Array, g = le("undefined");
12
+ })(/* @__PURE__ */ Object.create(null)), Q = (e) => (e = e.toLowerCase(), (r) => ne(r) === e), le = (e) => (r) => typeof r === e, { isArray: Y } = Array, g = le("undefined");
13
13
  function dt(e) {
14
14
  return e !== null && !g(e) && e.constructor !== null && !g(e.constructor) && z(e.constructor.isBuffer) && e.constructor.isBuffer(e);
15
15
  }
16
- const Ne = M("ArrayBuffer");
16
+ const De = Q("ArrayBuffer");
17
17
  function ht(e) {
18
18
  let r;
19
- return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? r = ArrayBuffer.isView(e) : r = e && e.buffer && Ne(e.buffer), r;
19
+ return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? r = ArrayBuffer.isView(e) : r = e && e.buffer && De(e.buffer), r;
20
20
  }
21
- const ut = le("string"), z = le("function"), $e = le("number"), ce = (e) => e !== null && typeof e == "object", Ot = (e) => e === !0 || e === !1, re = (e) => {
21
+ const ut = le("string"), z = le("function"), Ne = le("number"), ce = (e) => e !== null && typeof e == "object", Ot = (e) => e === !0 || e === !1, re = (e) => {
22
22
  if (ne(e) !== "object")
23
23
  return !1;
24
24
  const r = je(e);
25
25
  return (r === null || r === Object.prototype || Object.getPrototypeOf(r) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
26
- }, At = M("Date"), Vt = M("File"), mt = M("Blob"), Pt = M("FileList"), bt = (e) => ce(e) && z(e.pipe), yt = (e) => {
26
+ }, At = Q("Date"), Vt = Q("File"), mt = Q("Blob"), Pt = Q("FileList"), bt = (e) => ce(e) && z(e.pipe), yt = (e) => {
27
27
  let r;
28
28
  return e && (typeof FormData == "function" && e instanceof FormData || z(e.append) && ((r = ne(e)) === "formdata" || // detect form-data instance
29
29
  r === "object" && z(e.toString) && e.toString() === "[object FormData]"));
30
- }, Rt = M("URLSearchParams"), jt = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
30
+ }, Rt = Q("URLSearchParams"), jt = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
31
31
  function ee(e, r, { allOwnKeys: a = !1 } = {}) {
32
32
  if (e === null || typeof e > "u")
33
33
  return;
@@ -42,7 +42,7 @@ function ee(e, r, { allOwnKeys: a = !1 } = {}) {
42
42
  l = s[n], r.call(null, e[l], l, e);
43
43
  }
44
44
  }
45
- function Ge(e, r) {
45
+ function $e(e, r) {
46
46
  r = r.toLowerCase();
47
47
  const a = Object.keys(e);
48
48
  let n = a.length, t;
@@ -51,10 +51,10 @@ function Ge(e, r) {
51
51
  return t;
52
52
  return null;
53
53
  }
54
- const _e = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, qe = (e) => !g(e) && e !== _e;
54
+ const Ge = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, _e = (e) => !g(e) && e !== Ge;
55
55
  function Ae() {
56
- const { caseless: e } = qe(this) && this || {}, r = {}, a = (n, t) => {
57
- const s = e && Ge(r, t) || t;
56
+ const { caseless: e } = _e(this) && this || {}, r = {}, a = (n, t) => {
57
+ const s = e && $e(r, t) || t;
58
58
  re(r[s]) && re(n) ? r[s] = Ae(r[s], n) : re(n) ? r[s] = Ae({}, n) : Y(n) ? r[s] = n.slice() : r[s] = n;
59
59
  };
60
60
  for (let n = 0, t = arguments.length; n < t; n++)
@@ -62,7 +62,7 @@ function Ae() {
62
62
  return r;
63
63
  }
64
64
  const It = (e, r, a, { allOwnKeys: n } = {}) => (ee(r, (t, s) => {
65
- a && z(t) ? e[s] = De(t, a) : e[s] = t;
65
+ a && z(t) ? e[s] = He(t, a) : e[s] = t;
66
66
  }, { allOwnKeys: n }), e), wt = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Tt = (e, r, a, n) => {
67
67
  e.prototype = Object.create(r.prototype, n), e.prototype.constructor = e, Object.defineProperty(e, "super", {
68
68
  value: r.prototype
@@ -88,7 +88,7 @@ const It = (e, r, a, { allOwnKeys: n } = {}) => (ee(r, (t, s) => {
88
88
  if (Y(e))
89
89
  return e;
90
90
  let r = e.length;
91
- if (!$e(r))
91
+ if (!Ne(r))
92
92
  return null;
93
93
  const a = new Array(r);
94
94
  for (; r-- > 0; )
@@ -107,19 +107,19 @@ const It = (e, r, a, { allOwnKeys: n } = {}) => (ee(r, (t, s) => {
107
107
  for (; (a = e.exec(r)) !== null; )
108
108
  n.push(a);
109
109
  return n;
110
- }, Ct = M("HTMLFormElement"), Lt = (e) => e.toLowerCase().replace(
110
+ }, Ct = Q("HTMLFormElement"), Lt = (e) => e.toLowerCase().replace(
111
111
  /[-_\s]([a-z\d])(\w*)/g,
112
112
  function(a, n, t) {
113
113
  return n.toUpperCase() + t;
114
114
  }
115
- ), Se = (({ hasOwnProperty: e }) => (r, a) => e.call(r, a))(Object.prototype), Et = M("RegExp"), fe = (e, r) => {
115
+ ), xe = (({ hasOwnProperty: e }) => (r, a) => e.call(r, a))(Object.prototype), Et = Q("RegExp"), qe = (e, r) => {
116
116
  const a = Object.getOwnPropertyDescriptors(e), n = {};
117
117
  ee(a, (t, s) => {
118
118
  let o;
119
119
  (o = r(t, s, e)) !== !1 && (n[s] = o || t);
120
120
  }), Object.defineProperties(e, n);
121
121
  }, zt = (e) => {
122
- fe(e, (r, a) => {
122
+ qe(e, (r, a) => {
123
123
  if (z(e) && ["arguments", "caller", "callee"].indexOf(a) !== -1)
124
124
  return !1;
125
125
  const n = e[a];
@@ -133,19 +133,19 @@ const It = (e, r, a, { allOwnKeys: n } = {}) => (ee(r, (t, s) => {
133
133
  });
134
134
  }
135
135
  });
136
- }, Qt = (e, r) => {
136
+ }, Mt = (e, r) => {
137
137
  const a = {}, n = (t) => {
138
138
  t.forEach((s) => {
139
139
  a[s] = !0;
140
140
  });
141
141
  };
142
142
  return Y(e) ? n(e) : n(String(e).split(r)), a;
143
- }, Mt = () => {
144
- }, kt = (e, r) => (e = +e, Number.isFinite(e) ? e : r), de = "abcdefghijklmnopqrstuvwxyz", Be = "0123456789", Je = {
145
- DIGIT: Be,
143
+ }, Qt = () => {
144
+ }, kt = (e, r) => (e = +e, Number.isFinite(e) ? e : r), de = "abcdefghijklmnopqrstuvwxyz", Se = "0123456789", fe = {
145
+ DIGIT: Se,
146
146
  ALPHA: de,
147
- ALPHA_DIGIT: de + de.toUpperCase() + Be
148
- }, Ht = (e = 16, r = Je.ALPHA_DIGIT) => {
147
+ ALPHA_DIGIT: de + de.toUpperCase() + Se
148
+ }, Ht = (e = 16, r = fe.ALPHA_DIGIT) => {
149
149
  let a = "";
150
150
  const { length: n } = r;
151
151
  for (; e--; )
@@ -172,14 +172,14 @@ const Nt = (e) => {
172
172
  return n;
173
173
  };
174
174
  return a(e, 0);
175
- }, $t = M("AsyncFunction"), Gt = (e) => e && (ce(e) || z(e)) && z(e.then) && z(e.catch), O = {
175
+ }, $t = Q("AsyncFunction"), Gt = (e) => e && (ce(e) || z(e)) && z(e.then) && z(e.catch), O = {
176
176
  isArray: Y,
177
- isArrayBuffer: Ne,
177
+ isArrayBuffer: De,
178
178
  isBuffer: dt,
179
179
  isFormData: yt,
180
180
  isArrayBufferView: ht,
181
181
  isString: ut,
182
- isNumber: $e,
182
+ isNumber: Ne,
183
183
  isBoolean: Ot,
184
184
  isObject: ce,
185
185
  isPlainObject: re,
@@ -201,25 +201,25 @@ const Nt = (e) => {
201
201
  inherits: Tt,
202
202
  toFlatObject: Ut,
203
203
  kindOf: ne,
204
- kindOfTest: M,
204
+ kindOfTest: Q,
205
205
  endsWith: vt,
206
206
  toArray: xt,
207
207
  forEachEntry: Bt,
208
208
  matchAll: Ft,
209
209
  isHTMLForm: Ct,
210
- hasOwnProperty: Se,
211
- hasOwnProp: Se,
210
+ hasOwnProperty: xe,
211
+ hasOwnProp: xe,
212
212
  // an alias to avoid ESLint no-prototype-builtins detection
213
- reduceDescriptors: fe,
213
+ reduceDescriptors: qe,
214
214
  freezeMethods: zt,
215
- toObjectSet: Qt,
215
+ toObjectSet: Mt,
216
216
  toCamelCase: Lt,
217
- noop: Mt,
217
+ noop: Qt,
218
218
  toFiniteNumber: kt,
219
- findKey: Ge,
220
- global: _e,
221
- isContextDefined: qe,
222
- ALPHABET: Je,
219
+ findKey: $e,
220
+ global: Ge,
221
+ isContextDefined: _e,
222
+ ALPHABET: fe,
223
223
  generateString: Ht,
224
224
  isSpecCompliantForm: Dt,
225
225
  toJSONObject: Nt,
@@ -250,7 +250,7 @@ O.inherits(v, Error, {
250
250
  };
251
251
  }
252
252
  });
253
- const Ke = v.prototype, We = {};
253
+ const Je = v.prototype, Ke = {};
254
254
  [
255
255
  "ERR_BAD_OPTION_VALUE",
256
256
  "ERR_BAD_OPTION",
@@ -266,12 +266,12 @@ const Ke = v.prototype, We = {};
266
266
  "ERR_INVALID_URL"
267
267
  // eslint-disable-next-line func-names
268
268
  ].forEach((e) => {
269
- We[e] = { value: e };
269
+ Ke[e] = { value: e };
270
270
  });
271
- Object.defineProperties(v, We);
272
- Object.defineProperty(Ke, "isAxiosError", { value: !0 });
271
+ Object.defineProperties(v, Ke);
272
+ Object.defineProperty(Je, "isAxiosError", { value: !0 });
273
273
  v.from = (e, r, a, n, t, s) => {
274
- const o = Object.create(Ke);
274
+ const o = Object.create(Je);
275
275
  return O.toFlatObject(e, o, function(c) {
276
276
  return c !== Error.prototype;
277
277
  }, (l) => l !== "isAxiosError"), v.call(o, e.message, r, a, n, t), o.cause = e, o.name = e.name, s && Object.assign(o, s), o;
@@ -280,12 +280,12 @@ const _t = null;
280
280
  function Ve(e) {
281
281
  return O.isPlainObject(e) || O.isArray(e);
282
282
  }
283
- function Xe(e) {
283
+ function We(e) {
284
284
  return O.endsWith(e, "[]") ? e.slice(0, -2) : e;
285
285
  }
286
- function Fe(e, r, a) {
286
+ function Be(e, r, a) {
287
287
  return e ? e.concat(r).map(function(t, s) {
288
- return t = Xe(t), !a && s ? "[" + t + "]" : t;
288
+ return t = We(t), !a && s ? "[" + t + "]" : t;
289
289
  }).join(a ? "." : "") : r;
290
290
  }
291
291
  function qt(e) {
@@ -322,15 +322,15 @@ function ie(e, r, a) {
322
322
  if (O.endsWith(T, "{}"))
323
323
  T = n ? T : T.slice(0, -2), w = JSON.stringify(w);
324
324
  else if (O.isArray(w) && qt(w) || (O.isFileList(w) || O.endsWith(T, "[]")) && (E = O.toArray(w)))
325
- return T = Xe(T), E.forEach(function(K, lt) {
325
+ return T = We(T), E.forEach(function(K, lt) {
326
326
  !(O.isUndefined(K) || K === null) && r.append(
327
327
  // eslint-disable-next-line no-nested-ternary
328
- o === !0 ? Fe([T], lt, s) : o === null ? T : T + "[]",
328
+ o === !0 ? Be([T], lt, s) : o === null ? T : T + "[]",
329
329
  i(K)
330
330
  );
331
331
  }), !1;
332
332
  }
333
- return Ve(w) ? !0 : (r.append(Fe(F, T, s), i(w)), !1);
333
+ return Ve(w) ? !0 : (r.append(Be(F, T, s), i(w)), !1);
334
334
  }
335
335
  const d = [], h = Object.assign(ft, {
336
336
  defaultVisitor: p,
@@ -356,7 +356,7 @@ function ie(e, r, a) {
356
356
  throw new TypeError("data must be an object");
357
357
  return I(e), r;
358
358
  }
359
- function Ce(e) {
359
+ function Fe(e) {
360
360
  const r = {
361
361
  "!": "%21",
362
362
  "'": "%27",
@@ -373,14 +373,14 @@ function Ce(e) {
373
373
  function Ie(e, r) {
374
374
  this._pairs = [], e && ie(e, this, r);
375
375
  }
376
- const Ye = Ie.prototype;
377
- Ye.append = function(r, a) {
376
+ const Xe = Ie.prototype;
377
+ Xe.append = function(r, a) {
378
378
  this._pairs.push([r, a]);
379
379
  };
380
- Ye.toString = function(r) {
380
+ Xe.toString = function(r) {
381
381
  const a = r ? function(n) {
382
- return r.call(this, n, Ce);
383
- } : Ce;
382
+ return r.call(this, n, Fe);
383
+ } : Fe;
384
384
  return this._pairs.map(function(t) {
385
385
  return a(t[0]) + "=" + a(t[1]);
386
386
  }, "").join("&");
@@ -388,7 +388,7 @@ Ye.toString = function(r) {
388
388
  function Jt(e) {
389
389
  return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
390
390
  }
391
- function Ze(e, r, a) {
391
+ function Ye(e, r, a) {
392
392
  if (!r)
393
393
  return e;
394
394
  const n = a && a.encode || Jt, t = a && a.serialize;
@@ -453,7 +453,7 @@ class Kt {
453
453
  });
454
454
  }
455
455
  }
456
- const Le = Kt, ge = {
456
+ const Ce = Kt, Ze = {
457
457
  silentJSONParsing: !0,
458
458
  forcedJSONParsing: !0,
459
459
  clarifyTimeoutError: !1
@@ -465,20 +465,20 @@ const Le = Kt, ge = {
465
465
  Blob: Yt
466
466
  },
467
467
  protocols: ["http", "https", "file", "blob", "url", "data"]
468
- }, et = typeof window < "u" && typeof document < "u", gt = ((e) => et && ["ReactNative", "NativeScript", "NS"].indexOf(e) < 0)(typeof navigator < "u" && navigator.product), er = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
468
+ }, ge = typeof window < "u" && typeof document < "u", gt = ((e) => ge && ["ReactNative", "NativeScript", "NS"].indexOf(e) < 0)(typeof navigator < "u" && navigator.product), er = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
469
469
  self instanceof WorkerGlobalScope && typeof self.importScripts == "function", tr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
470
470
  __proto__: null,
471
- hasBrowserEnv: et,
471
+ hasBrowserEnv: ge,
472
472
  hasStandardBrowserEnv: gt,
473
473
  hasStandardBrowserWebWorkerEnv: er
474
- }, Symbol.toStringTag, { value: "Module" })), Q = {
474
+ }, Symbol.toStringTag, { value: "Module" })), M = {
475
475
  ...tr,
476
476
  ...Zt
477
477
  };
478
478
  function rr(e, r) {
479
- return ie(e, new Q.classes.URLSearchParams(), Object.assign({
479
+ return ie(e, new M.classes.URLSearchParams(), Object.assign({
480
480
  visitor: function(a, n, t, s) {
481
- return Q.isNode && O.isBuffer(a) ? (this.append(n, a.toString("base64")), !1) : s.defaultVisitor.apply(this, arguments);
481
+ return M.isNode && O.isBuffer(a) ? (this.append(n, a.toString("base64")), !1) : s.defaultVisitor.apply(this, arguments);
482
482
  }
483
483
  }, r));
484
484
  }
@@ -494,7 +494,7 @@ function ar(e) {
494
494
  s = a[n], r[s] = e[s];
495
495
  return r;
496
496
  }
497
- function tt(e) {
497
+ function et(e) {
498
498
  function r(a, n, t, s) {
499
499
  let o = a[s++];
500
500
  const l = Number.isFinite(+o), c = s >= a.length;
@@ -519,12 +519,12 @@ function or(e, r, a) {
519
519
  return (a || JSON.stringify)(e);
520
520
  }
521
521
  const we = {
522
- transitional: ge,
522
+ transitional: Ze,
523
523
  adapter: ["xhr", "http"],
524
524
  transformRequest: [function(r, a) {
525
525
  const n = a.getContentType() || "", t = n.indexOf("application/json") > -1, s = O.isObject(r);
526
526
  if (s && O.isHTMLForm(r) && (r = new FormData(r)), O.isFormData(r))
527
- return t && t ? JSON.stringify(tt(r)) : r;
527
+ return t && t ? JSON.stringify(et(r)) : r;
528
528
  if (O.isArrayBuffer(r) || O.isBuffer(r) || O.isStream(r) || O.isFile(r) || O.isBlob(r))
529
529
  return r;
530
530
  if (O.isArrayBufferView(r))
@@ -569,8 +569,8 @@ const we = {
569
569
  maxContentLength: -1,
570
570
  maxBodyLength: -1,
571
571
  env: {
572
- FormData: Q.classes.FormData,
573
- Blob: Q.classes.Blob
572
+ FormData: M.classes.FormData,
573
+ Blob: M.classes.Blob
574
574
  },
575
575
  validateStatus: function(r) {
576
576
  return r >= 200 && r < 300;
@@ -610,7 +610,7 @@ const Te = we, nr = O.toObjectSet([
610
610
  `).forEach(function(o) {
611
611
  t = o.indexOf(":"), a = o.substring(0, t).trim().toLowerCase(), n = o.substring(t + 1).trim(), !(!a || r[a] && nr[a]) && (a === "set-cookie" ? r[a] ? r[a].push(n) : r[a] = [n] : r[a] = r[a] ? r[a] + ", " + n : n);
612
612
  }), r;
613
- }, Ee = Symbol("internals");
613
+ }, Le = Symbol("internals");
614
614
  function Z(e) {
615
615
  return e && String(e).trim().toLowerCase();
616
616
  }
@@ -748,7 +748,7 @@ class pe {
748
748
  return a.forEach((t) => n.set(t)), n;
749
749
  }
750
750
  static accessor(r) {
751
- const n = (this[Ee] = this[Ee] = {
751
+ const n = (this[Le] = this[Le] = {
752
752
  accessors: {}
753
753
  }).accessors, t = this.prototype;
754
754
  function s(o) {
@@ -777,7 +777,7 @@ function ue(e, r) {
777
777
  s = l.call(a, s, t.normalize(), r ? r.status : void 0);
778
778
  }), t.normalize(), s;
779
779
  }
780
- function rt(e) {
780
+ function tt(e) {
781
781
  return !!(e && e.__CANCEL__);
782
782
  }
783
783
  function te(e, r, a) {
@@ -796,7 +796,7 @@ function hr(e, r, a) {
796
796
  a
797
797
  ));
798
798
  }
799
- const ur = Q.hasStandardBrowserEnv ? (
799
+ const ur = M.hasStandardBrowserEnv ? (
800
800
  // Standard browser envs support document.cookie
801
801
  {
802
802
  write(e, r, a, n, t, s) {
@@ -829,10 +829,10 @@ function Or(e) {
829
829
  function Ar(e, r) {
830
830
  return r ? e.replace(/\/+$/, "") + "/" + r.replace(/^\/+/, "") : e;
831
831
  }
832
- function st(e, r) {
832
+ function rt(e, r) {
833
833
  return e && !Or(r) ? Ar(e, r) : r;
834
834
  }
835
- const Vr = Q.hasStandardBrowserEnv ? (
835
+ const Vr = M.hasStandardBrowserEnv ? (
836
836
  // Standard browser envs have full support of the APIs needed to test
837
837
  // whether the request URL is of the same origin as current location.
838
838
  function() {
@@ -884,7 +884,7 @@ function Pr(e, r) {
884
884
  return I ? Math.round(h * 1e3 / I) : void 0;
885
885
  };
886
886
  }
887
- function ze(e, r) {
887
+ function Ee(e, r) {
888
888
  let a = 0;
889
889
  const n = Pr(50, 250);
890
890
  return (t) => {
@@ -912,7 +912,7 @@ const br = typeof XMLHttpRequest < "u", yr = br && function(e) {
912
912
  }
913
913
  let p;
914
914
  if (O.isFormData(t)) {
915
- if (Q.hasStandardBrowserEnv || Q.hasStandardBrowserWebWorkerEnv)
915
+ if (M.hasStandardBrowserEnv || M.hasStandardBrowserWebWorkerEnv)
916
916
  s.setContentType(!1);
917
917
  else if ((p = s.getContentType()) !== !1) {
918
918
  const [T, ...F] = p ? p.split(";").map((E) => E.trim()).filter(Boolean) : [];
@@ -924,8 +924,8 @@ const br = typeof XMLHttpRequest < "u", yr = br && function(e) {
924
924
  const T = e.auth.username || "", F = e.auth.password ? unescape(encodeURIComponent(e.auth.password)) : "";
925
925
  s.set("Authorization", "Basic " + btoa(T + ":" + F));
926
926
  }
927
- const h = st(e.baseURL, e.url);
928
- d.open(e.method.toUpperCase(), Ze(h, e.params, e.paramsSerializer), !0), d.timeout = e.timeout;
927
+ const h = rt(e.baseURL, e.url);
928
+ d.open(e.method.toUpperCase(), Ye(h, e.params, e.paramsSerializer), !0), d.timeout = e.timeout;
929
929
  function I() {
930
930
  if (!d)
931
931
  return;
@@ -953,24 +953,24 @@ const br = typeof XMLHttpRequest < "u", yr = br && function(e) {
953
953
  n(new v("Network Error", v.ERR_NETWORK, e, d)), d = null;
954
954
  }, d.ontimeout = function() {
955
955
  let F = e.timeout ? "timeout of " + e.timeout + "ms exceeded" : "timeout exceeded";
956
- const E = e.transitional || ge;
956
+ const E = e.transitional || Ze;
957
957
  e.timeoutErrorMessage && (F = e.timeoutErrorMessage), n(new v(
958
958
  F,
959
959
  E.clarifyTimeoutError ? v.ETIMEDOUT : v.ECONNABORTED,
960
960
  e,
961
961
  d
962
962
  )), d = null;
963
- }, Q.hasStandardBrowserEnv && (l && O.isFunction(l) && (l = l(e)), l || l !== !1 && Vr(h))) {
963
+ }, M.hasStandardBrowserEnv && (l && O.isFunction(l) && (l = l(e)), l || l !== !1 && Vr(h))) {
964
964
  const T = e.xsrfHeaderName && e.xsrfCookieName && ur.read(e.xsrfCookieName);
965
965
  T && s.set(e.xsrfHeaderName, T);
966
966
  }
967
967
  t === void 0 && s.setContentType(null), "setRequestHeader" in d && O.forEach(s.toJSON(), function(F, E) {
968
968
  d.setRequestHeader(E, F);
969
- }), O.isUndefined(e.withCredentials) || (d.withCredentials = !!e.withCredentials), o && o !== "json" && (d.responseType = e.responseType), typeof e.onDownloadProgress == "function" && d.addEventListener("progress", ze(e.onDownloadProgress, !0)), typeof e.onUploadProgress == "function" && d.upload && d.upload.addEventListener("progress", ze(e.onUploadProgress)), (e.cancelToken || e.signal) && (c = (T) => {
969
+ }), O.isUndefined(e.withCredentials) || (d.withCredentials = !!e.withCredentials), o && o !== "json" && (d.responseType = e.responseType), typeof e.onDownloadProgress == "function" && d.addEventListener("progress", Ee(e.onDownloadProgress, !0)), typeof e.onUploadProgress == "function" && d.upload && d.upload.addEventListener("progress", Ee(e.onUploadProgress)), (e.cancelToken || e.signal) && (c = (T) => {
970
970
  d && (n(!T || T.type ? new te(null, e, d) : T), d.abort(), d = null);
971
971
  }, e.cancelToken && e.cancelToken.subscribe(c), e.signal && (e.signal.aborted ? c() : e.signal.addEventListener("abort", c)));
972
972
  const w = mr(h);
973
- if (w && Q.protocols.indexOf(w) === -1) {
973
+ if (w && M.protocols.indexOf(w) === -1) {
974
974
  n(new v("Unsupported protocol " + w + ":", v.ERR_BAD_REQUEST, e));
975
975
  return;
976
976
  }
@@ -989,7 +989,7 @@ O.forEach(me, (e, r) => {
989
989
  Object.defineProperty(e, "adapterName", { value: r });
990
990
  }
991
991
  });
992
- const Qe = (e) => `- ${e}`, Rr = (e) => O.isFunction(e) || e === null || e === !1, at = {
992
+ const ze = (e) => `- ${e}`, Rr = (e) => O.isFunction(e) || e === null || e === !1, st = {
993
993
  getAdapter: (e) => {
994
994
  e = O.isArray(e) ? e : [e];
995
995
  const { length: r } = e;
@@ -1009,8 +1009,8 @@ const Qe = (e) => `- ${e}`, Rr = (e) => O.isFunction(e) || e === null || e === !
1009
1009
  ([l, c]) => `adapter ${l} ` + (c === !1 ? "is not supported by the environment" : "is not available in the build")
1010
1010
  );
1011
1011
  let o = r ? s.length > 1 ? `since :
1012
- ` + s.map(Qe).join(`
1013
- `) : " " + Qe(s[0]) : "as no adapter specified";
1012
+ ` + s.map(ze).join(`
1013
+ `) : " " + ze(s[0]) : "as no adapter specified";
1014
1014
  throw new v(
1015
1015
  "There is no suitable adapter to dispatch the request " + o,
1016
1016
  "ERR_NOT_SUPPORT"
@@ -1028,21 +1028,21 @@ function Me(e) {
1028
1028
  return Oe(e), e.headers = H.from(e.headers), e.data = ue.call(
1029
1029
  e,
1030
1030
  e.transformRequest
1031
- ), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), at.getAdapter(e.adapter || Te.adapter)(e).then(function(n) {
1031
+ ), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), st.getAdapter(e.adapter || Te.adapter)(e).then(function(n) {
1032
1032
  return Oe(e), n.data = ue.call(
1033
1033
  e,
1034
1034
  e.transformResponse,
1035
1035
  n
1036
1036
  ), n.headers = H.from(n.headers), n;
1037
1037
  }, function(n) {
1038
- return rt(n) || (Oe(e), n && n.response && (n.response.data = ue.call(
1038
+ return tt(n) || (Oe(e), n && n.response && (n.response.data = ue.call(
1039
1039
  e,
1040
1040
  e.transformResponse,
1041
1041
  n.response
1042
1042
  ), n.response.headers = H.from(n.response.headers))), Promise.reject(n);
1043
1043
  });
1044
1044
  }
1045
- const ke = (e) => e instanceof H ? e.toJSON() : e;
1045
+ const Qe = (e) => e instanceof H ? e.toJSON() : e;
1046
1046
  function X(e, r) {
1047
1047
  r = r || {};
1048
1048
  const a = {};
@@ -1102,23 +1102,23 @@ function X(e, r) {
1102
1102
  socketPath: o,
1103
1103
  responseEncoding: o,
1104
1104
  validateStatus: l,
1105
- headers: (i, p) => t(ke(i), ke(p), !0)
1105
+ headers: (i, p) => t(Qe(i), Qe(p), !0)
1106
1106
  };
1107
1107
  return O.forEach(Object.keys(Object.assign({}, e, r)), function(p) {
1108
1108
  const d = c[p] || t, h = d(e[p], r[p], p);
1109
1109
  O.isUndefined(h) && d !== l || (a[p] = h);
1110
1110
  }), a;
1111
1111
  }
1112
- const ot = "1.6.2", Ue = {};
1112
+ const at = "1.6.2", Ue = {};
1113
1113
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((e, r) => {
1114
1114
  Ue[e] = function(n) {
1115
1115
  return typeof n === e || "a" + (r < 1 ? "n " : " ") + e;
1116
1116
  };
1117
1117
  });
1118
- const He = {};
1118
+ const ke = {};
1119
1119
  Ue.transitional = function(r, a, n) {
1120
1120
  function t(s, o) {
1121
- return "[Axios v" + ot + "] Transitional option '" + s + "'" + o + (n ? ". " + n : "");
1121
+ return "[Axios v" + at + "] Transitional option '" + s + "'" + o + (n ? ". " + n : "");
1122
1122
  }
1123
1123
  return (s, o, l) => {
1124
1124
  if (r === !1)
@@ -1126,7 +1126,7 @@ Ue.transitional = function(r, a, n) {
1126
1126
  t(o, " has been removed" + (a ? " in " + a : "")),
1127
1127
  v.ERR_DEPRECATED
1128
1128
  );
1129
- return a && !He[o] && (He[o] = !0, console.warn(
1129
+ return a && !ke[o] && (ke[o] = !0, console.warn(
1130
1130
  t(
1131
1131
  o,
1132
1132
  " has been deprecated since v" + a + " and will be removed in the near future"
@@ -1158,8 +1158,8 @@ const Pe = {
1158
1158
  class oe {
1159
1159
  constructor(r) {
1160
1160
  this.defaults = r, this.interceptors = {
1161
- request: new Le(),
1162
- response: new Le()
1161
+ request: new Ce(),
1162
+ response: new Ce()
1163
1163
  };
1164
1164
  }
1165
1165
  /**
@@ -1231,8 +1231,8 @@ class oe {
1231
1231
  }
1232
1232
  getUri(r) {
1233
1233
  r = X(this.defaults, r);
1234
- const a = st(r.baseURL, r.url);
1235
- return Ze(a, r.params, r.paramsSerializer);
1234
+ const a = rt(r.baseURL, r.url);
1235
+ return Ye(a, r.params, r.paramsSerializer);
1236
1236
  }
1237
1237
  }
1238
1238
  O.forEach(["delete", "get", "head", "options"], function(r) {
@@ -1406,18 +1406,18 @@ Object.entries(be).forEach(([e, r]) => {
1406
1406
  be[r] = e;
1407
1407
  });
1408
1408
  const Ur = be;
1409
- function nt(e) {
1410
- const r = new ae(e), a = De(ae.prototype.request, r);
1409
+ function ot(e) {
1410
+ const r = new ae(e), a = He(ae.prototype.request, r);
1411
1411
  return O.extend(a, ae.prototype, r, { allOwnKeys: !0 }), O.extend(a, r, null, { allOwnKeys: !0 }), a.create = function(t) {
1412
- return nt(X(e, t));
1412
+ return ot(X(e, t));
1413
1413
  }, a;
1414
1414
  }
1415
- const C = nt(Te);
1415
+ const C = ot(Te);
1416
1416
  C.Axios = ae;
1417
1417
  C.CanceledError = te;
1418
1418
  C.CancelToken = Ir;
1419
- C.isCancel = rt;
1420
- C.VERSION = ot;
1419
+ C.isCancel = tt;
1420
+ C.VERSION = at;
1421
1421
  C.toFormData = ie;
1422
1422
  C.AxiosError = v;
1423
1423
  C.Cancel = C.CanceledError;
@@ -1428,8 +1428,8 @@ C.spread = wr;
1428
1428
  C.isAxiosError = Tr;
1429
1429
  C.mergeConfig = X;
1430
1430
  C.AxiosHeaders = H;
1431
- C.formToJSON = (e) => tt(O.isHTMLForm(e) ? new FormData(e) : e);
1432
- C.getAdapter = at.getAdapter;
1431
+ C.formToJSON = (e) => et(O.isHTMLForm(e) ? new FormData(e) : e);
1432
+ C.getAdapter = st.getAdapter;
1433
1433
  C.HttpStatusCode = Ur;
1434
1434
  C.default = C;
1435
1435
  const u = C, A = "https://d-sp23.devlef.campus.rwth-aachen.de/coscine".replace(/\/+$/, "");
@@ -1490,52 +1490,54 @@ const b = function(e, ...r) {
1490
1490
  * @summary Retrieves all projects.
1491
1491
  * @param {boolean} [topLevel] Gets or sets a value indicating whether to filter top-level projects.
1492
1492
  * @param {boolean} [includeDeleted] Gets or sets a value indicating whether to include deleted projects in the results.
1493
+ * @param {boolean} [includeQuotas] Gets or sets a value indicating whether to include quotas in the results.
1494
+ * @param {number} [pageSize] Number of items per page. The maximum number of items per page is &#x60;250&#x60;.
1493
1495
  * @param {number} [pageNumber] The desired page number. Should be greater than or equal to 1. Default is 1.
1494
- * @param {number} [pageSize] The desired page size. Should be between 1 and the maximum allowed page size (50). Default is 10.
1495
1496
  * @param {string} [orderBy] Gets or sets the field name used for ordering the results. The order is constructed by a order string. Use the property followed by \&quot;asc\&quot; or \&quot;desc\&quot; and separate properties by commas. Default is asc.
1496
1497
  * @param {*} [options] Override http request option.
1497
1498
  * @throws {RequiredError}
1498
1499
  */
1499
- getAllProjects: async (r, a, n, t, s, o = {}) => {
1500
- const l = "/api/v2/admin/projects", c = new URL(l, m);
1501
- let i;
1502
- e && (i = e.baseOptions);
1503
- const p = { method: "GET", ...i, ...o }, d = {}, h = {};
1504
- await P(d, "Authorization", e), r !== void 0 && (h.TopLevel = r), a !== void 0 && (h.IncludeDeleted = a), n !== void 0 && (h.PageNumber = n), t !== void 0 && (h.PageSize = t), s !== void 0 && (h.OrderBy = s), b(c, h);
1505
- let I = i && i.headers ? i.headers : {};
1506
- return p.headers = { ...d, ...I, ...o.headers }, {
1507
- url: y(c),
1508
- options: p
1500
+ getAllProjects: async (r, a, n, t, s, o, l = {}) => {
1501
+ const c = "/api/v2/admin/projects", i = new URL(c, m);
1502
+ let p;
1503
+ e && (p = e.baseOptions);
1504
+ const d = { method: "GET", ...p, ...l }, h = {}, I = {};
1505
+ await P(h, "Authorization", e), r !== void 0 && (I.TopLevel = r), a !== void 0 && (I.IncludeDeleted = a), n !== void 0 && (I.IncludeQuotas = n), t !== void 0 && (I.PageSize = t), s !== void 0 && (I.PageNumber = s), o !== void 0 && (I.OrderBy = o), b(i, I);
1506
+ let w = p && p.headers ? p.headers : {};
1507
+ return d.headers = { ...h, ...w, ...l.headers }, {
1508
+ url: y(i),
1509
+ options: d
1509
1510
  };
1510
1511
  },
1511
1512
  /**
1512
1513
  *
1513
1514
  * @summary Retrieves all resources.
1514
- * @param {boolean} [includeDeleted] Gets or sets a value indicating whether to include deleted resources.
1515
+ * @param {boolean} [includeDeleted] Value indicating whether to include deleted resources.
1516
+ * @param {boolean} [includeQuotas] Value indicating whether to include individual resource quotas.
1517
+ * @param {number} [pageSize] Number of items per page. The maximum number of items per page is &#x60;250&#x60;.
1515
1518
  * @param {number} [pageNumber] The desired page number. Should be greater than or equal to 1. Default is 1.
1516
- * @param {number} [pageSize] The desired page size. Should be between 1 and the maximum allowed page size (50). Default is 10.
1517
1519
  * @param {string} [orderBy] Gets or sets the field name used for ordering the results. The order is constructed by a order string. Use the property followed by \&quot;asc\&quot; or \&quot;desc\&quot; and separate properties by commas. Default is asc.
1518
1520
  * @param {*} [options] Override http request option.
1519
1521
  * @throws {RequiredError}
1520
1522
  */
1521
- getAllResources: async (r, a, n, t, s = {}) => {
1522
- const o = "/api/v2/admin/resources", l = new URL(o, m);
1523
- let c;
1524
- e && (c = e.baseOptions);
1525
- const i = { method: "GET", ...c, ...s }, p = {}, d = {};
1526
- await P(p, "Authorization", e), r !== void 0 && (d.IncludeDeleted = r), a !== void 0 && (d.PageNumber = a), n !== void 0 && (d.PageSize = n), t !== void 0 && (d.OrderBy = t), b(l, d);
1527
- let h = c && c.headers ? c.headers : {};
1528
- return i.headers = { ...p, ...h, ...s.headers }, {
1529
- url: y(l),
1530
- options: i
1523
+ getAllResources: async (r, a, n, t, s, o = {}) => {
1524
+ const l = "/api/v2/admin/resources", c = new URL(l, m);
1525
+ let i;
1526
+ e && (i = e.baseOptions);
1527
+ const p = { method: "GET", ...i, ...o }, d = {}, h = {};
1528
+ await P(d, "Authorization", e), r !== void 0 && (h.IncludeDeleted = r), a !== void 0 && (h.IncludeQuotas = a), n !== void 0 && (h.PageSize = n), t !== void 0 && (h.PageNumber = t), s !== void 0 && (h.OrderBy = s), b(c, h);
1529
+ let I = i && i.headers ? i.headers : {};
1530
+ return p.headers = { ...d, ...I, ...o.headers }, {
1531
+ url: y(c),
1532
+ options: p
1531
1533
  };
1532
1534
  },
1533
1535
  /**
1534
1536
  *
1535
1537
  * @summary Retrieves all users.
1536
1538
  * @param {boolean} [tosAccepted] Gets or sets a value indicating whether the terms of service have been accepted by the user.
1539
+ * @param {number} [pageSize] Number of items per page. The maximum number of items per page is &#x60;250&#x60;.
1537
1540
  * @param {number} [pageNumber] The desired page number. Should be greater than or equal to 1. Default is 1.
1538
- * @param {number} [pageSize] The desired page size. Should be between 1 and the maximum allowed page size (50). Default is 10.
1539
1541
  * @param {string} [orderBy] Gets or sets the field name used for ordering the results. The order is constructed by a order string. Use the property followed by \&quot;asc\&quot; or \&quot;desc\&quot; and separate properties by commas. Default is asc.
1540
1542
  * @param {*} [options] Override http request option.
1541
1543
  * @throws {RequiredError}
@@ -1545,7 +1547,7 @@ const b = function(e, ...r) {
1545
1547
  let c;
1546
1548
  e && (c = e.baseOptions);
1547
1549
  const i = { method: "GET", ...c, ...s }, p = {}, d = {};
1548
- await P(p, "Authorization", e), r !== void 0 && (d.TosAccepted = r), a !== void 0 && (d.PageNumber = a), n !== void 0 && (d.PageSize = n), t !== void 0 && (d.OrderBy = t), b(l, d);
1550
+ await P(p, "Authorization", e), r !== void 0 && (d.TosAccepted = r), a !== void 0 && (d.PageSize = a), n !== void 0 && (d.PageNumber = n), t !== void 0 && (d.OrderBy = t), b(l, d);
1549
1551
  let h = c && c.headers ? c.headers : {};
1550
1552
  return i.headers = { ...p, ...h, ...s.headers }, {
1551
1553
  url: y(l),
@@ -1555,41 +1557,64 @@ const b = function(e, ...r) {
1555
1557
  /**
1556
1558
  *
1557
1559
  * @summary Gets a metadata graph.
1558
- * @param {string} graphUri Gets or initializes the URI of the graph.
1560
+ * @param {string} graph The absolute URI of the graph to get.
1559
1561
  * @param {RdfFormat} [format] Gets or sets the RDF format.
1560
1562
  * @param {*} [options] Override http request option.
1561
1563
  * @throws {RequiredError}
1562
1564
  */
1563
1565
  getMetadataGraph: async (r, a, n = {}) => {
1564
- j("getMetadataGraph", "graphUri", r);
1565
- const t = "/api/v2/admin/metadata", s = new URL(t, m);
1566
+ j("getMetadataGraph", "graph", r);
1567
+ const t = "/api/v2/admin/metadata/{graph}".replace("{graph}", encodeURIComponent(String(r))), s = new URL(t, m);
1566
1568
  let o;
1567
1569
  e && (o = e.baseOptions);
1568
1570
  const l = { method: "GET", ...o, ...n }, c = {}, i = {};
1569
- await P(c, "Authorization", e), r !== void 0 && (i.GraphUri = r), a !== void 0 && (i.Format = a), b(s, i);
1571
+ await P(c, "Authorization", e), a !== void 0 && (i.Format = a), b(s, i);
1570
1572
  let p = o && o.headers ? o.headers : {};
1571
1573
  return l.headers = { ...c, ...p, ...n.headers }, {
1572
1574
  url: y(s),
1573
1575
  options: l
1574
1576
  };
1575
1577
  },
1578
+ /**
1579
+ *
1580
+ * @summary Patches a metadata graph.
1581
+ * @param {string} graph The absolute URI of the graph to patch.
1582
+ * @param {RdfPatchDocumentDto} [rdfPatchDocumentDto] The well-formed RDF patch document containing the changes as operations to be applied to the graph.
1583
+ * @param {*} [options] Override http request option.
1584
+ * @throws {RequiredError}
1585
+ */
1586
+ patchMetadata: async (r, a, n = {}) => {
1587
+ j("patchMetadata", "graph", r);
1588
+ const t = "/api/v2/admin/metadata/{graph}".replace("{graph}", encodeURIComponent(String(r))), s = new URL(t, m);
1589
+ let o;
1590
+ e && (o = e.baseOptions);
1591
+ const l = { method: "PATCH", ...o, ...n }, c = {}, i = {};
1592
+ await P(c, "Authorization", e), c["Content-Type"] = "application/json", b(s, i);
1593
+ let p = o && o.headers ? o.headers : {};
1594
+ return l.headers = { ...c, ...p, ...n.headers }, l.data = L(a, l, e), {
1595
+ url: y(s),
1596
+ options: l
1597
+ };
1598
+ },
1576
1599
  /**
1577
1600
  *
1578
1601
  * @summary Updates a metadata graph.
1602
+ * @param {string} graph The absolute URI of the graph to update.
1579
1603
  * @param {MetadataUpdateAdminParameters} [metadataUpdateAdminParameters] The metadata update admin parameters.
1580
1604
  * @param {*} [options] Override http request option.
1581
1605
  * @throws {RequiredError}
1582
1606
  */
1583
- updateMetadataGraph: async (r, a = {}) => {
1584
- const n = "/api/v2/admin/metadata", t = new URL(n, m);
1585
- let s;
1586
- e && (s = e.baseOptions);
1587
- const o = { method: "PUT", ...s, ...a }, l = {}, c = {};
1588
- await P(l, "Authorization", e), l["Content-Type"] = "application/json", b(t, c);
1589
- let i = s && s.headers ? s.headers : {};
1590
- return o.headers = { ...l, ...i, ...a.headers }, o.data = L(r, o, e), {
1591
- url: y(t),
1592
- options: o
1607
+ updateMetadataGraph: async (r, a, n = {}) => {
1608
+ j("updateMetadataGraph", "graph", r);
1609
+ const t = "/api/v2/admin/metadata/{graph}".replace("{graph}", encodeURIComponent(String(r))), s = new URL(t, m);
1610
+ let o;
1611
+ e && (o = e.baseOptions);
1612
+ const l = { method: "PUT", ...o, ...n }, c = {}, i = {};
1613
+ await P(c, "Authorization", e), c["Content-Type"] = "application/json", b(s, i);
1614
+ let p = o && o.headers ? o.headers : {};
1615
+ return l.headers = { ...c, ...p, ...n.headers }, l.data = L(a, l, e), {
1616
+ url: y(s),
1617
+ options: l
1593
1618
  };
1594
1619
  }
1595
1620
  };
@@ -1612,38 +1637,40 @@ const b = function(e, ...r) {
1612
1637
  * @summary Retrieves all projects.
1613
1638
  * @param {boolean} [topLevel] Gets or sets a value indicating whether to filter top-level projects.
1614
1639
  * @param {boolean} [includeDeleted] Gets or sets a value indicating whether to include deleted projects in the results.
1640
+ * @param {boolean} [includeQuotas] Gets or sets a value indicating whether to include quotas in the results.
1641
+ * @param {number} [pageSize] Number of items per page. The maximum number of items per page is &#x60;250&#x60;.
1615
1642
  * @param {number} [pageNumber] The desired page number. Should be greater than or equal to 1. Default is 1.
1616
- * @param {number} [pageSize] The desired page size. Should be between 1 and the maximum allowed page size (50). Default is 10.
1617
1643
  * @param {string} [orderBy] Gets or sets the field name used for ordering the results. The order is constructed by a order string. Use the property followed by \&quot;asc\&quot; or \&quot;desc\&quot; and separate properties by commas. Default is asc.
1618
1644
  * @param {*} [options] Override http request option.
1619
1645
  * @throws {RequiredError}
1620
1646
  */
1621
- async getAllProjects(a, n, t, s, o, l) {
1622
- var d, h;
1623
- const c = await r.getAllProjects(a, n, t, s, o, l), i = (e == null ? void 0 : e.serverIndex) ?? 0, p = (h = (d = V["AdminApi.getAllProjects"]) == null ? void 0 : d[i]) == null ? void 0 : h.url;
1624
- return (I, w) => R(c, u, A, e)(I, p || w);
1647
+ async getAllProjects(a, n, t, s, o, l, c) {
1648
+ var h, I;
1649
+ const i = await r.getAllProjects(a, n, t, s, o, l, c), p = (e == null ? void 0 : e.serverIndex) ?? 0, d = (I = (h = V["AdminApi.getAllProjects"]) == null ? void 0 : h[p]) == null ? void 0 : I.url;
1650
+ return (w, T) => R(i, u, A, e)(w, d || T);
1625
1651
  },
1626
1652
  /**
1627
1653
  *
1628
1654
  * @summary Retrieves all resources.
1629
- * @param {boolean} [includeDeleted] Gets or sets a value indicating whether to include deleted resources.
1655
+ * @param {boolean} [includeDeleted] Value indicating whether to include deleted resources.
1656
+ * @param {boolean} [includeQuotas] Value indicating whether to include individual resource quotas.
1657
+ * @param {number} [pageSize] Number of items per page. The maximum number of items per page is &#x60;250&#x60;.
1630
1658
  * @param {number} [pageNumber] The desired page number. Should be greater than or equal to 1. Default is 1.
1631
- * @param {number} [pageSize] The desired page size. Should be between 1 and the maximum allowed page size (50). Default is 10.
1632
1659
  * @param {string} [orderBy] Gets or sets the field name used for ordering the results. The order is constructed by a order string. Use the property followed by \&quot;asc\&quot; or \&quot;desc\&quot; and separate properties by commas. Default is asc.
1633
1660
  * @param {*} [options] Override http request option.
1634
1661
  * @throws {RequiredError}
1635
1662
  */
1636
- async getAllResources(a, n, t, s, o) {
1637
- var p, d;
1638
- const l = await r.getAllResources(a, n, t, s, o), c = (e == null ? void 0 : e.serverIndex) ?? 0, i = (d = (p = V["AdminApi.getAllResources"]) == null ? void 0 : p[c]) == null ? void 0 : d.url;
1639
- return (h, I) => R(l, u, A, e)(h, i || I);
1663
+ async getAllResources(a, n, t, s, o, l) {
1664
+ var d, h;
1665
+ const c = await r.getAllResources(a, n, t, s, o, l), i = (e == null ? void 0 : e.serverIndex) ?? 0, p = (h = (d = V["AdminApi.getAllResources"]) == null ? void 0 : d[i]) == null ? void 0 : h.url;
1666
+ return (I, w) => R(c, u, A, e)(I, p || w);
1640
1667
  },
1641
1668
  /**
1642
1669
  *
1643
1670
  * @summary Retrieves all users.
1644
1671
  * @param {boolean} [tosAccepted] Gets or sets a value indicating whether the terms of service have been accepted by the user.
1672
+ * @param {number} [pageSize] Number of items per page. The maximum number of items per page is &#x60;250&#x60;.
1645
1673
  * @param {number} [pageNumber] The desired page number. Should be greater than or equal to 1. Default is 1.
1646
- * @param {number} [pageSize] The desired page size. Should be between 1 and the maximum allowed page size (50). Default is 10.
1647
1674
  * @param {string} [orderBy] Gets or sets the field name used for ordering the results. The order is constructed by a order string. Use the property followed by \&quot;asc\&quot; or \&quot;desc\&quot; and separate properties by commas. Default is asc.
1648
1675
  * @param {*} [options] Override http request option.
1649
1676
  * @throws {RequiredError}
@@ -1656,7 +1683,7 @@ const b = function(e, ...r) {
1656
1683
  /**
1657
1684
  *
1658
1685
  * @summary Gets a metadata graph.
1659
- * @param {string} graphUri Gets or initializes the URI of the graph.
1686
+ * @param {string} graph The absolute URI of the graph to get.
1660
1687
  * @param {RdfFormat} [format] Gets or sets the RDF format.
1661
1688
  * @param {*} [options] Override http request option.
1662
1689
  * @throws {RequiredError}
@@ -1666,17 +1693,31 @@ const b = function(e, ...r) {
1666
1693
  const s = await r.getMetadataGraph(a, n, t), o = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["AdminApi.getMetadataGraph"]) == null ? void 0 : c[o]) == null ? void 0 : i.url;
1667
1694
  return (p, d) => R(s, u, A, e)(p, l || d);
1668
1695
  },
1696
+ /**
1697
+ *
1698
+ * @summary Patches a metadata graph.
1699
+ * @param {string} graph The absolute URI of the graph to patch.
1700
+ * @param {RdfPatchDocumentDto} [rdfPatchDocumentDto] The well-formed RDF patch document containing the changes as operations to be applied to the graph.
1701
+ * @param {*} [options] Override http request option.
1702
+ * @throws {RequiredError}
1703
+ */
1704
+ async patchMetadata(a, n, t) {
1705
+ var c, i;
1706
+ const s = await r.patchMetadata(a, n, t), o = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["AdminApi.patchMetadata"]) == null ? void 0 : c[o]) == null ? void 0 : i.url;
1707
+ return (p, d) => R(s, u, A, e)(p, l || d);
1708
+ },
1669
1709
  /**
1670
1710
  *
1671
1711
  * @summary Updates a metadata graph.
1712
+ * @param {string} graph The absolute URI of the graph to update.
1672
1713
  * @param {MetadataUpdateAdminParameters} [metadataUpdateAdminParameters] The metadata update admin parameters.
1673
1714
  * @param {*} [options] Override http request option.
1674
1715
  * @throws {RequiredError}
1675
1716
  */
1676
- async updateMetadataGraph(a, n) {
1677
- var l, c;
1678
- const t = await r.updateMetadataGraph(a, n), s = (e == null ? void 0 : e.serverIndex) ?? 0, o = (c = (l = V["AdminApi.updateMetadataGraph"]) == null ? void 0 : l[s]) == null ? void 0 : c.url;
1679
- return (i, p) => R(t, u, A, e)(i, o || p);
1717
+ async updateMetadataGraph(a, n, t) {
1718
+ var c, i;
1719
+ const s = await r.updateMetadataGraph(a, n, t), o = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["AdminApi.updateMetadataGraph"]) == null ? void 0 : c[o]) == null ? void 0 : i.url;
1720
+ return (p, d) => R(s, u, A, e)(p, l || d);
1680
1721
  }
1681
1722
  };
1682
1723
  }, Br = function(e, r, a) {
@@ -1699,7 +1740,7 @@ const b = function(e, ...r) {
1699
1740
  * @throws {RequiredError}
1700
1741
  */
1701
1742
  getAllProjects(t = {}, s) {
1702
- return n.getAllProjects(t.topLevel, t.includeDeleted, t.pageNumber, t.pageSize, t.orderBy, s).then((o) => o(a, r));
1743
+ return n.getAllProjects(t.topLevel, t.includeDeleted, t.includeQuotas, t.pageSize, t.pageNumber, t.orderBy, s).then((o) => o(a, r));
1703
1744
  },
1704
1745
  /**
1705
1746
  *
@@ -1709,7 +1750,7 @@ const b = function(e, ...r) {
1709
1750
  * @throws {RequiredError}
1710
1751
  */
1711
1752
  getAllResources(t = {}, s) {
1712
- return n.getAllResources(t.includeDeleted, t.pageNumber, t.pageSize, t.orderBy, s).then((o) => o(a, r));
1753
+ return n.getAllResources(t.includeDeleted, t.includeQuotas, t.pageSize, t.pageNumber, t.orderBy, s).then((o) => o(a, r));
1713
1754
  },
1714
1755
  /**
1715
1756
  *
@@ -1719,7 +1760,7 @@ const b = function(e, ...r) {
1719
1760
  * @throws {RequiredError}
1720
1761
  */
1721
1762
  getAllUsers(t = {}, s) {
1722
- return n.getAllUsers(t.tosAccepted, t.pageNumber, t.pageSize, t.orderBy, s).then((o) => o(a, r));
1763
+ return n.getAllUsers(t.tosAccepted, t.pageSize, t.pageNumber, t.orderBy, s).then((o) => o(a, r));
1723
1764
  },
1724
1765
  /**
1725
1766
  *
@@ -1729,7 +1770,17 @@ const b = function(e, ...r) {
1729
1770
  * @throws {RequiredError}
1730
1771
  */
1731
1772
  getMetadataGraph(t, s) {
1732
- return n.getMetadataGraph(t.graphUri, t.format, s).then((o) => o(a, r));
1773
+ return n.getMetadataGraph(t.graph, t.format, s).then((o) => o(a, r));
1774
+ },
1775
+ /**
1776
+ *
1777
+ * @summary Patches a metadata graph.
1778
+ * @param {AdminApiPatchMetadataRequest} requestParameters Request parameters.
1779
+ * @param {*} [options] Override http request option.
1780
+ * @throws {RequiredError}
1781
+ */
1782
+ patchMetadata(t, s) {
1783
+ return n.patchMetadata(t.graph, t.rdfPatchDocumentDto, s).then((o) => o(a, r));
1733
1784
  },
1734
1785
  /**
1735
1786
  *
@@ -1738,8 +1789,8 @@ const b = function(e, ...r) {
1738
1789
  * @param {*} [options] Override http request option.
1739
1790
  * @throws {RequiredError}
1740
1791
  */
1741
- updateMetadataGraph(t = {}, s) {
1742
- return n.updateMetadataGraph(t.metadataUpdateAdminParameters, s).then((o) => o(a, r));
1792
+ updateMetadataGraph(t, s) {
1793
+ return n.updateMetadataGraph(t.graph, t.metadataUpdateAdminParameters, s).then((o) => o(a, r));
1743
1794
  }
1744
1795
  };
1745
1796
  }, Fr = function(e) {
@@ -2160,7 +2211,7 @@ const b = function(e, ...r) {
2160
2211
  return (h, I) => R(l, u, A, e)(h, i || I);
2161
2212
  }
2162
2213
  };
2163
- }, Qr = function(e, r, a) {
2214
+ }, Mr = function(e, r, a) {
2164
2215
  const n = zr(e);
2165
2216
  return {
2166
2217
  /**
@@ -2214,7 +2265,7 @@ const b = function(e, ...r) {
2214
2265
  return n.updateBlob(t.projectId, t.resourceId, t.key, t.file, s).then((o) => o(a, r));
2215
2266
  }
2216
2267
  };
2217
- }, Mr = function(e) {
2268
+ }, Qr = function(e) {
2218
2269
  return {
2219
2270
  /**
2220
2271
  *
@@ -2277,7 +2328,7 @@ const b = function(e, ...r) {
2277
2328
  }
2278
2329
  };
2279
2330
  }, kr = function(e) {
2280
- const r = Mr(e);
2331
+ const r = Qr(e);
2281
2332
  return {
2282
2333
  /**
2283
2334
  *
@@ -5245,7 +5296,7 @@ const b = function(e, ...r) {
5245
5296
  return (i, p) => R(t, u, A, e)(i, o || p);
5246
5297
  }
5247
5298
  };
5248
- }, Qs = function(e, r, a) {
5299
+ }, Ms = function(e, r, a) {
5249
5300
  const n = zs(e);
5250
5301
  return {
5251
5302
  /**
@@ -5317,7 +5368,7 @@ const b = function(e, ...r) {
5317
5368
  return n.updateCurrentUser(t.userForUpdateDto, s).then((o) => o(a, r));
5318
5369
  }
5319
5370
  };
5320
- }, Ms = function(e) {
5371
+ }, Qs = function(e) {
5321
5372
  return {
5322
5373
  /**
5323
5374
  *
@@ -5419,7 +5470,7 @@ const b = function(e, ...r) {
5419
5470
  }
5420
5471
  };
5421
5472
  }, ks = function(e) {
5422
- const r = Ms(e);
5473
+ const r = Qs(e);
5423
5474
  return {
5424
5475
  /**
5425
5476
  *
@@ -6962,7 +7013,7 @@ function ba(e) {
6962
7013
  AccountApi: na(new x({ accessToken: U }), "https://" + S() + "/coscine/api/Coscine.Api.STS", e),
6963
7014
  AdminApi: Br(new x({ accessToken: U }), "https://" + S() + "/coscine", e),
6964
7015
  ApplicationProfileApi: Lr(new x({ accessToken: U }), "https://" + S() + "/coscine", e),
6965
- BlobApi: Qr(new x({ accessToken: U }), "https://" + S() + "/coscine", e),
7016
+ BlobApi: Mr(new x({ accessToken: U }), "https://" + S() + "/coscine", e),
6966
7017
  DisciplineApi: Hr(new x({ accessToken: U }), "https://" + S() + "/coscine", e),
6967
7018
  HomeApi: ia(new x({ accessToken: U }), "https://" + S() + "/coscine/api/Coscine.Api.STS", e),
6968
7019
  LanguageApi: $r(new x({ accessToken: U }), "https://" + S() + "/coscine", e),
@@ -6983,7 +7034,7 @@ function ba(e) {
6983
7034
  ResourceTypeApi: vs(new x({ accessToken: U }), "https://" + S() + "/coscine", e),
6984
7035
  RoleApi: Bs(new x({ accessToken: U }), "https://" + S() + "/coscine", e),
6985
7036
  SearchApi: Ls(new x({ accessToken: U }), "https://" + S() + "/coscine", e),
6986
- SelfApi: Qs(new x({ accessToken: U }), "https://" + S() + "/coscine", e),
7037
+ SelfApi: Ms(new x({ accessToken: U }), "https://" + S() + "/coscine", e),
6987
7038
  SelfApiTokenApi: Hs(new x({ accessToken: U }), "https://" + S() + "/coscine", e),
6988
7039
  ShibbolethApi: Pa(new x({ accessToken: U }), "https://" + S() + "/coscine/api/Coscine.Api.STS", e),
6989
7040
  TitleApi: $s(new x({ accessToken: U }), "https://" + S() + "/coscine", e),
@@ -6994,7 +7045,7 @@ function ba(e) {
6994
7045
  VocabularyApi: sa(new x({ accessToken: U }), "https://" + S() + "/coscine", e)
6995
7046
  };
6996
7047
  }
6997
- const xe = u.create(), ya = "X-Coscine-Logging-CorrelationId";
7048
+ const nt = u.create(), ya = "X-Coscine-Logging-CorrelationId";
6998
7049
  function Ra(e) {
6999
7050
  if (typeof window < "u") {
7000
7051
  const r = localStorage.getItem("coscine.authorization.bearer");
@@ -7003,9 +7054,8 @@ function Ra(e) {
7003
7054
  a && e.headers.set(ya, a);
7004
7055
  }
7005
7056
  }
7006
- xe.interceptors.request.use((e) => (Ra(e), e), (e) => Promise.reject(e));
7007
- xe.interceptors.response.use((e) => e, (e) => Promise.reject(e));
7008
- const B = ba(xe), Ia = B.AccountApi, wa = B.AdminApi, Ta = B.ApplicationProfileApi, Ua = B.BlobApi, va = B.DisciplineApi, xa = B.HomeApi, Sa = B.LanguageApi, Ba = B.LicenseApi, Fa = B.MaintenanceApi, Ca = B.MergeApi, La = B.ORCiDApi, Ea = B.OrganizationApi, za = B.PidApi, Qa = B.ProjectApi, Ma = B.ProjectInvitationApi, ka = B.ProjectMemberApi, Ha = B.ProjectQuotaApi, Da = B.ProjectResourceApi, Na = B.ProjectResourceQuotaApi, $a = B.ProjectResourceTypeApi, Ga = B.ResourceApi, _a = B.ResourceTypeApi, qa = B.RoleApi, fa = B.SearchApi, Ja = B.SelfApi, Ka = B.SelfApiTokenApi, Wa = B.ShibbolethApi, Xa = B.TitleApi, Ya = B.TosApi, Za = B.TreeApi, ga = B.UserApi, eo = B.VisibilityApi, to = B.VocabularyApi;
7057
+ nt.interceptors.request.use((e) => (Ra(e), e), (e) => Promise.reject(e), { synchronous: !0 });
7058
+ const B = ba(nt), Ia = B.AccountApi, wa = B.AdminApi, Ta = B.ApplicationProfileApi, Ua = B.BlobApi, va = B.DisciplineApi, xa = B.HomeApi, Sa = B.LanguageApi, Ba = B.LicenseApi, Fa = B.MaintenanceApi, Ca = B.MergeApi, La = B.ORCiDApi, Ea = B.OrganizationApi, za = B.PidApi, Ma = B.ProjectApi, Qa = B.ProjectInvitationApi, ka = B.ProjectMemberApi, Ha = B.ProjectQuotaApi, Da = B.ProjectResourceApi, Na = B.ProjectResourceQuotaApi, $a = B.ProjectResourceTypeApi, Ga = B.ResourceApi, _a = B.ResourceTypeApi, qa = B.RoleApi, fa = B.SearchApi, Ja = B.SelfApi, Ka = B.SelfApiTokenApi, Wa = B.ShibbolethApi, Xa = B.TitleApi, Ya = B.TosApi, Za = B.TreeApi, ga = B.UserApi, eo = B.VisibilityApi, to = B.VocabularyApi;
7009
7059
  export {
7010
7060
  Ia as AccountApi,
7011
7061
  wa as AdminApi,
@@ -7020,8 +7070,8 @@ export {
7020
7070
  La as ORCiDApi,
7021
7071
  Ea as OrganizationApi,
7022
7072
  za as PidApi,
7023
- Qa as ProjectApi,
7024
- Ma as ProjectInvitationApi,
7073
+ Ma as ProjectApi,
7074
+ Qa as ProjectInvitationApi,
7025
7075
  ka as ProjectMemberApi,
7026
7076
  Ha as ProjectQuotaApi,
7027
7077
  Da as ProjectResourceApi,