@coscine/api-client 3.17.0 → 3.19.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 (23) hide show
  1. package/dist/index.js +779 -676
  2. package/dist/types/Coscine.Api/@coscine/api/admin-api.d.ts +2 -11
  3. package/dist/types/Coscine.Api/@coscine/api/data-hamster-report-api.d.ts +263 -0
  4. package/dist/types/Coscine.Api/@coscine/api/project-sub-projects-api.d.ts +165 -0
  5. package/dist/types/Coscine.Api/@coscine/api/report-api.d.ts +272 -0
  6. package/dist/types/Coscine.Api/@coscine/model/data-hamster-kpi-dto-ienumerable-response.d.ts +43 -0
  7. package/dist/types/Coscine.Api/@coscine/model/data-hamster-kpi-dto-response.d.ts +43 -0
  8. package/dist/types/Coscine.Api/@coscine/model/data-hamster-kpi-dto.d.ts +56 -0
  9. package/dist/types/Coscine.Api/@coscine/model/data-storage-nrw-s3-resource-type-options-for-manipulation-dto.d.ts +7 -0
  10. package/dist/types/Coscine.Api/@coscine/model/data-storage-nrw-s3-worm-resource-type-options-for-manipulation-dto.d.ts +7 -0
  11. package/dist/types/Coscine.Api/@coscine/model/data-storage-nrw-web-resource-type-options-for-manipulation-dto.d.ts +7 -0
  12. package/dist/types/Coscine.Api/@coscine/model/index.d.ts +6 -0
  13. package/dist/types/Coscine.Api/@coscine/model/lifecycle-options-for-manipulation-dto.d.ts +30 -0
  14. package/dist/types/Coscine.Api/@coscine/model/project-admin-dto.d.ts +1 -0
  15. package/dist/types/Coscine.Api/@coscine/model/project-dto.d.ts +1 -0
  16. package/dist/types/Coscine.Api/@coscine/model/public-user-dto.d.ts +8 -8
  17. package/dist/types/Coscine.Api/@coscine/model/storage-data-hamster-kpi-dto-response.d.ts +43 -0
  18. package/dist/types/Coscine.Api/@coscine/model/storage-data-hamster-kpi-dto.d.ts +31 -0
  19. package/dist/types/Coscine.Api/@coscine/model/user-organization-dto.d.ts +6 -0
  20. package/dist/types/Coscine.Api/api.d.ts +3 -0
  21. package/dist/types/apis.d.ts +4 -0
  22. package/dist/types/index.d.ts +8 -0
  23. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -104,7 +104,7 @@ const Ot = le("string"), N = le("function"), ke = le("number"), ce = (e) => e !=
104
104
  return !1;
105
105
  const s = Re(e);
106
106
  return (s === null || s === Object.prototype || Object.getPrototypeOf(s) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
107
- }, ut = M("Date"), At = M("File"), mt = M("Blob"), Pt = M("FileList"), It = (e) => ce(e) && N(e.pipe), yt = (e) => {
107
+ }, ut = M("Date"), At = M("File"), Pt = M("Blob"), mt = M("FileList"), It = (e) => ce(e) && N(e.pipe), yt = (e) => {
108
108
  let s;
109
109
  return e && (typeof FormData == "function" && e instanceof FormData || N(e.append) && ((s = ne(e)) === "formdata" || // detect form-data instance
110
110
  s === "object" && N(e.toString) && e.toString() === "[object FormData]"));
@@ -142,9 +142,9 @@ function ue() {
142
142
  arguments[n] && ee(arguments[n], o);
143
143
  return s;
144
144
  }
145
- const vt = (e, s, o, { allOwnKeys: n } = {}) => (ee(s, (t, r) => {
145
+ const jt = (e, s, o, { allOwnKeys: n } = {}) => (ee(s, (t, r) => {
146
146
  o && N(t) ? e[r] = Qe(t, o) : e[r] = t;
147
- }, { allOwnKeys: n }), e), jt = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), St = (e, s, o, n) => {
147
+ }, { allOwnKeys: n }), e), vt = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), St = (e, s, o, n) => {
148
148
  e.prototype = Object.create(s.prototype, n), e.prototype.constructor = e, Object.defineProperty(e, "super", {
149
149
  value: s.prototype
150
150
  }), o && Object.assign(e.prototype, o);
@@ -253,7 +253,7 @@ const kt = (e) => {
253
253
  return n;
254
254
  };
255
255
  return o(e, 0);
256
- }, Gt = M("AsyncFunction"), $t = (e) => e && (ce(e) || N(e)) && N(e.then) && N(e.catch), j = {
256
+ }, Gt = M("AsyncFunction"), $t = (e) => e && (ce(e) || N(e)) && N(e.then) && N(e.catch), v = {
257
257
  isArray: Y,
258
258
  isArrayBuffer: De,
259
259
  isBuffer: dt,
@@ -267,18 +267,18 @@ const kt = (e) => {
267
267
  isUndefined: g,
268
268
  isDate: ut,
269
269
  isFile: At,
270
- isBlob: mt,
270
+ isBlob: Pt,
271
271
  isRegExp: Et,
272
272
  isFunction: N,
273
273
  isStream: It,
274
274
  isURLSearchParams: bt,
275
275
  isTypedArray: xt,
276
- isFileList: Pt,
276
+ isFileList: mt,
277
277
  forEach: ee,
278
278
  merge: ue,
279
- extend: vt,
279
+ extend: jt,
280
280
  trim: Rt,
281
- stripBOM: jt,
281
+ stripBOM: vt,
282
282
  inherits: St,
283
283
  toFlatObject: wt,
284
284
  kindOf: ne,
@@ -310,7 +310,7 @@ const kt = (e) => {
310
310
  function F(e, s, o, n, t) {
311
311
  Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", s && (this.code = s), o && (this.config = o), n && (this.request = n), t && (this.response = t);
312
312
  }
313
- j.inherits(F, Error, {
313
+ v.inherits(F, Error, {
314
314
  toJSON: function() {
315
315
  return {
316
316
  // Standard
@@ -325,7 +325,7 @@ j.inherits(F, Error, {
325
325
  columnNumber: this.columnNumber,
326
326
  stack: this.stack,
327
327
  // Axios
328
- config: j.toJSONObject(this.config),
328
+ config: v.toJSONObject(this.config),
329
329
  code: this.code,
330
330
  status: this.response && this.response.status ? this.response.status : null
331
331
  };
@@ -353,16 +353,16 @@ Object.defineProperties(F, We);
353
353
  Object.defineProperty(Ke, "isAxiosError", { value: !0 });
354
354
  F.from = (e, s, o, n, t, r) => {
355
355
  const a = Object.create(Ke);
356
- return j.toFlatObject(e, a, function(c) {
356
+ return v.toFlatObject(e, a, function(c) {
357
357
  return c !== Error.prototype;
358
358
  }, (l) => l !== "isAxiosError"), F.call(a, e.message, s, o, n, t), a.cause = e, a.name = e.name, r && Object.assign(a, r), a;
359
359
  };
360
360
  const _t = null;
361
361
  function Ae(e) {
362
- return j.isPlainObject(e) || j.isArray(e);
362
+ return v.isPlainObject(e) || v.isArray(e);
363
363
  }
364
364
  function fe(e) {
365
- return j.endsWith(e, "[]") ? e.slice(0, -2) : e;
365
+ return v.endsWith(e, "[]") ? e.slice(0, -2) : e;
366
366
  }
367
367
  function Be(e, s, o) {
368
368
  return e ? e.concat(s).map(function(t, r) {
@@ -370,41 +370,41 @@ function Be(e, s, o) {
370
370
  }).join(o ? "." : "") : s;
371
371
  }
372
372
  function qt(e) {
373
- return j.isArray(e) && !e.some(Ae);
373
+ return v.isArray(e) && !e.some(Ae);
374
374
  }
375
- const Jt = j.toFlatObject(j, {}, null, function(s) {
375
+ const Jt = v.toFlatObject(v, {}, null, function(s) {
376
376
  return /^is[A-Z]/.test(s);
377
377
  });
378
378
  function ie(e, s, o) {
379
- if (!j.isObject(e))
379
+ if (!v.isObject(e))
380
380
  throw new TypeError("target must be an object");
381
- s = s || new FormData(), o = j.toFlatObject(o, {
381
+ s = s || new FormData(), o = v.toFlatObject(o, {
382
382
  metaTokens: !0,
383
383
  dots: !1,
384
384
  indexes: !1
385
385
  }, !1, function(S, w) {
386
- return !j.isUndefined(w[S]);
386
+ return !v.isUndefined(w[S]);
387
387
  });
388
- const n = o.metaTokens, t = o.visitor || p, r = o.dots, a = o.indexes, c = (o.Blob || typeof Blob < "u" && Blob) && j.isSpecCompliantForm(s);
389
- if (!j.isFunction(t))
388
+ const n = o.metaTokens, t = o.visitor || p, r = o.dots, a = o.indexes, c = (o.Blob || typeof Blob < "u" && Blob) && v.isSpecCompliantForm(s);
389
+ if (!v.isFunction(t))
390
390
  throw new TypeError("visitor must be a function");
391
391
  function i(R) {
392
392
  if (R === null)
393
393
  return "";
394
- if (j.isDate(R))
394
+ if (v.isDate(R))
395
395
  return R.toISOString();
396
- if (!c && j.isBlob(R))
396
+ if (!c && v.isBlob(R))
397
397
  throw new F("Blob is not supported. Use a Buffer instead.");
398
- return j.isArrayBuffer(R) || j.isTypedArray(R) ? c && typeof Blob == "function" ? new Blob([R]) : Buffer.from(R) : R;
398
+ return v.isArrayBuffer(R) || v.isTypedArray(R) ? c && typeof Blob == "function" ? new Blob([R]) : Buffer.from(R) : R;
399
399
  }
400
400
  function p(R, S, w) {
401
401
  let C = R;
402
402
  if (R && !w && typeof R == "object") {
403
- if (j.endsWith(S, "{}"))
403
+ if (v.endsWith(S, "{}"))
404
404
  S = n ? S : S.slice(0, -2), R = JSON.stringify(R);
405
- else if (j.isArray(R) && qt(R) || (j.isFileList(R) || j.endsWith(S, "[]")) && (C = j.toArray(R)))
405
+ else if (v.isArray(R) && qt(R) || (v.isFileList(R) || v.endsWith(S, "[]")) && (C = v.toArray(R)))
406
406
  return S = fe(S), C.forEach(function(W, lt) {
407
- !(j.isUndefined(W) || W === null) && s.append(
407
+ !(v.isUndefined(W) || W === null) && s.append(
408
408
  // eslint-disable-next-line no-nested-ternary
409
409
  a === !0 ? Be([S], lt, r) : a === null ? S : S + "[]",
410
410
  i(W)
@@ -419,21 +419,21 @@ function ie(e, s, o) {
419
419
  isVisitable: Ae
420
420
  });
421
421
  function V(R, S) {
422
- if (!j.isUndefined(R)) {
422
+ if (!v.isUndefined(R)) {
423
423
  if (d.indexOf(R) !== -1)
424
424
  throw Error("Circular reference detected in " + S.join("."));
425
- d.push(R), j.forEach(R, function(C, z) {
426
- (!(j.isUndefined(C) || C === null) && t.call(
425
+ d.push(R), v.forEach(R, function(C, z) {
426
+ (!(v.isUndefined(C) || C === null) && t.call(
427
427
  s,
428
428
  C,
429
- j.isString(z) ? z.trim() : z,
429
+ v.isString(z) ? z.trim() : z,
430
430
  S,
431
431
  h
432
432
  )) === !0 && V(C, S ? S.concat(z) : [z]);
433
433
  }), d.pop();
434
434
  }
435
435
  }
436
- if (!j.isObject(e))
436
+ if (!v.isObject(e))
437
437
  throw new TypeError("data must be an object");
438
438
  return V(e), s;
439
439
  }
@@ -451,10 +451,10 @@ function Fe(e) {
451
451
  return s[n];
452
452
  });
453
453
  }
454
- function ve(e, s) {
454
+ function je(e, s) {
455
455
  this._pairs = [], e && ie(e, this, s);
456
456
  }
457
- const Xe = ve.prototype;
457
+ const Xe = je.prototype;
458
458
  Xe.append = function(s, o) {
459
459
  this._pairs.push([s, o]);
460
460
  };
@@ -474,7 +474,7 @@ function Ye(e, s, o) {
474
474
  return e;
475
475
  const n = o && o.encode || Kt, t = o && o.serialize;
476
476
  let r;
477
- if (t ? r = t(s, o) : r = j.isURLSearchParams(s) ? s.toString() : new ve(s, o).toString(n), r) {
477
+ if (t ? r = t(s, o) : r = v.isURLSearchParams(s) ? s.toString() : new je(s, o).toString(n), r) {
478
478
  const a = e.indexOf("#");
479
479
  a !== -1 && (e = e.slice(0, a)), e += (e.indexOf("?") === -1 ? "?" : "&") + r;
480
480
  }
@@ -529,7 +529,7 @@ class Wt {
529
529
  * @returns {void}
530
530
  */
531
531
  forEach(s) {
532
- j.forEach(this.handlers, function(n) {
532
+ v.forEach(this.handlers, function(n) {
533
533
  n !== null && s(n);
534
534
  });
535
535
  }
@@ -538,7 +538,7 @@ const Ce = Wt, Ze = {
538
538
  silentJSONParsing: !0,
539
539
  forcedJSONParsing: !0,
540
540
  clarifyTimeoutError: !1
541
- }, ft = typeof URLSearchParams < "u" ? URLSearchParams : ve, Xt = typeof FormData < "u" ? FormData : null, Yt = typeof Blob < "u" ? Blob : null, Zt = {
541
+ }, ft = typeof URLSearchParams < "u" ? URLSearchParams : je, Xt = typeof FormData < "u" ? FormData : null, Yt = typeof Blob < "u" ? Blob : null, Zt = {
542
542
  isBrowser: !0,
543
543
  classes: {
544
544
  URLSearchParams: ft,
@@ -559,12 +559,12 @@ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", tr
559
559
  function rr(e, s) {
560
560
  return ie(e, new H.classes.URLSearchParams(), Object.assign({
561
561
  visitor: function(o, n, t, r) {
562
- return H.isNode && j.isBuffer(o) ? (this.append(n, o.toString("base64")), !1) : r.defaultVisitor.apply(this, arguments);
562
+ return H.isNode && v.isBuffer(o) ? (this.append(n, o.toString("base64")), !1) : r.defaultVisitor.apply(this, arguments);
563
563
  }
564
564
  }, s));
565
565
  }
566
566
  function ar(e) {
567
- return j.matchAll(/\w+|\[(\w*)]/g, e).map((s) => s[0] === "[]" ? "" : s[1] || s[0]);
567
+ return v.matchAll(/\w+|\[(\w*)]/g, e).map((s) => s[0] === "[]" ? "" : s[1] || s[0]);
568
568
  }
569
569
  function sr(e) {
570
570
  const s = {}, o = Object.keys(e);
@@ -579,44 +579,44 @@ function et(e) {
579
579
  function s(o, n, t, r) {
580
580
  let a = o[r++];
581
581
  const l = Number.isFinite(+a), c = r >= o.length;
582
- return a = !a && j.isArray(t) ? t.length : a, c ? (j.hasOwnProp(t, a) ? t[a] = [t[a], n] : t[a] = n, !l) : ((!t[a] || !j.isObject(t[a])) && (t[a] = []), s(o, n, t[a], r) && j.isArray(t[a]) && (t[a] = sr(t[a])), !l);
582
+ return a = !a && v.isArray(t) ? t.length : a, c ? (v.hasOwnProp(t, a) ? t[a] = [t[a], n] : t[a] = n, !l) : ((!t[a] || !v.isObject(t[a])) && (t[a] = []), s(o, n, t[a], r) && v.isArray(t[a]) && (t[a] = sr(t[a])), !l);
583
583
  }
584
- if (j.isFormData(e) && j.isFunction(e.entries)) {
584
+ if (v.isFormData(e) && v.isFunction(e.entries)) {
585
585
  const o = {};
586
- return j.forEachEntry(e, (n, t) => {
586
+ return v.forEachEntry(e, (n, t) => {
587
587
  s(ar(n), t, o, 0);
588
588
  }), o;
589
589
  }
590
590
  return null;
591
591
  }
592
592
  function or(e, s, o) {
593
- if (j.isString(e))
593
+ if (v.isString(e))
594
594
  try {
595
- return (s || JSON.parse)(e), j.trim(e);
595
+ return (s || JSON.parse)(e), v.trim(e);
596
596
  } catch (n) {
597
597
  if (n.name !== "SyntaxError")
598
598
  throw n;
599
599
  }
600
600
  return (o || JSON.stringify)(e);
601
601
  }
602
- const je = {
602
+ const ve = {
603
603
  transitional: Ze,
604
604
  adapter: ["xhr", "http"],
605
605
  transformRequest: [function(s, o) {
606
- const n = o.getContentType() || "", t = n.indexOf("application/json") > -1, r = j.isObject(s);
607
- if (r && j.isHTMLForm(s) && (s = new FormData(s)), j.isFormData(s))
606
+ const n = o.getContentType() || "", t = n.indexOf("application/json") > -1, r = v.isObject(s);
607
+ if (r && v.isHTMLForm(s) && (s = new FormData(s)), v.isFormData(s))
608
608
  return t && t ? JSON.stringify(et(s)) : s;
609
- if (j.isArrayBuffer(s) || j.isBuffer(s) || j.isStream(s) || j.isFile(s) || j.isBlob(s))
609
+ if (v.isArrayBuffer(s) || v.isBuffer(s) || v.isStream(s) || v.isFile(s) || v.isBlob(s))
610
610
  return s;
611
- if (j.isArrayBufferView(s))
611
+ if (v.isArrayBufferView(s))
612
612
  return s.buffer;
613
- if (j.isURLSearchParams(s))
613
+ if (v.isURLSearchParams(s))
614
614
  return o.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), s.toString();
615
615
  let l;
616
616
  if (r) {
617
617
  if (n.indexOf("application/x-www-form-urlencoded") > -1)
618
618
  return rr(s, this.formSerializer).toString();
619
- if ((l = j.isFileList(s)) || n.indexOf("multipart/form-data") > -1) {
619
+ if ((l = v.isFileList(s)) || n.indexOf("multipart/form-data") > -1) {
620
620
  const c = this.env && this.env.FormData;
621
621
  return ie(
622
622
  l ? { "files[]": s } : s,
@@ -628,8 +628,8 @@ const je = {
628
628
  return r || t ? (o.setContentType("application/json", !1), or(s)) : s;
629
629
  }],
630
630
  transformResponse: [function(s) {
631
- const o = this.transitional || je.transitional, n = o && o.forcedJSONParsing, t = this.responseType === "json";
632
- if (s && j.isString(s) && (n && !this.responseType || t)) {
631
+ const o = this.transitional || ve.transitional, n = o && o.forcedJSONParsing, t = this.responseType === "json";
632
+ if (s && v.isString(s) && (n && !this.responseType || t)) {
633
633
  const a = !(o && o.silentJSONParsing) && t;
634
634
  try {
635
635
  return JSON.parse(s);
@@ -663,10 +663,10 @@ const je = {
663
663
  }
664
664
  }
665
665
  };
666
- j.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => {
667
- je.headers[e] = {};
666
+ v.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => {
667
+ ve.headers[e] = {};
668
668
  });
669
- const Se = je, nr = j.toObjectSet([
669
+ const Se = ve, nr = v.toObjectSet([
670
670
  "age",
671
671
  "authorization",
672
672
  "content-length",
@@ -696,7 +696,7 @@ function Z(e) {
696
696
  return e && String(e).trim().toLowerCase();
697
697
  }
698
698
  function ae(e) {
699
- return e === !1 || e == null ? e : j.isArray(e) ? e.map(ae) : String(e);
699
+ return e === !1 || e == null ? e : v.isArray(e) ? e.map(ae) : String(e);
700
700
  }
701
701
  function cr(e) {
702
702
  const s = /* @__PURE__ */ Object.create(null), o = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
@@ -707,12 +707,12 @@ function cr(e) {
707
707
  }
708
708
  const ir = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
709
709
  function he(e, s, o, n, t) {
710
- if (j.isFunction(n))
710
+ if (v.isFunction(n))
711
711
  return n.call(this, s, o);
712
- if (t && (s = o), !!j.isString(s)) {
713
- if (j.isString(n))
712
+ if (t && (s = o), !!v.isString(s)) {
713
+ if (v.isString(n))
714
714
  return s.indexOf(n) !== -1;
715
- if (j.isRegExp(n))
715
+ if (v.isRegExp(n))
716
716
  return n.test(s);
717
717
  }
718
718
  }
@@ -720,7 +720,7 @@ function pr(e) {
720
720
  return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (s, o, n) => o.toUpperCase() + n);
721
721
  }
722
722
  function dr(e, s) {
723
- const o = j.toCamelCase(" " + s);
723
+ const o = v.toCamelCase(" " + s);
724
724
  ["get", "set", "has"].forEach((n) => {
725
725
  Object.defineProperty(e, n + o, {
726
726
  value: function(t, r, a) {
@@ -740,24 +740,24 @@ class pe {
740
740
  const p = Z(c);
741
741
  if (!p)
742
742
  throw new Error("header name must be a non-empty string");
743
- const d = j.findKey(t, p);
743
+ const d = v.findKey(t, p);
744
744
  (!d || t[d] === void 0 || i === !0 || i === void 0 && t[d] !== !1) && (t[d || c] = ae(l));
745
745
  }
746
- const a = (l, c) => j.forEach(l, (i, p) => r(i, p, c));
747
- return j.isPlainObject(s) || s instanceof this.constructor ? a(s, o) : j.isString(s) && (s = s.trim()) && !ir(s) ? a(lr(s), o) : s != null && r(o, s, n), this;
746
+ const a = (l, c) => v.forEach(l, (i, p) => r(i, p, c));
747
+ return v.isPlainObject(s) || s instanceof this.constructor ? a(s, o) : v.isString(s) && (s = s.trim()) && !ir(s) ? a(lr(s), o) : s != null && r(o, s, n), this;
748
748
  }
749
749
  get(s, o) {
750
750
  if (s = Z(s), s) {
751
- const n = j.findKey(this, s);
751
+ const n = v.findKey(this, s);
752
752
  if (n) {
753
753
  const t = this[n];
754
754
  if (!o)
755
755
  return t;
756
756
  if (o === !0)
757
757
  return cr(t);
758
- if (j.isFunction(o))
758
+ if (v.isFunction(o))
759
759
  return o.call(this, t, n);
760
- if (j.isRegExp(o))
760
+ if (v.isRegExp(o))
761
761
  return o.exec(t);
762
762
  throw new TypeError("parser must be boolean|regexp|function");
763
763
  }
@@ -765,7 +765,7 @@ class pe {
765
765
  }
766
766
  has(s, o) {
767
767
  if (s = Z(s), s) {
768
- const n = j.findKey(this, s);
768
+ const n = v.findKey(this, s);
769
769
  return !!(n && this[n] !== void 0 && (!o || he(this, this[n], n, o)));
770
770
  }
771
771
  return !1;
@@ -775,11 +775,11 @@ class pe {
775
775
  let t = !1;
776
776
  function r(a) {
777
777
  if (a = Z(a), a) {
778
- const l = j.findKey(n, a);
778
+ const l = v.findKey(n, a);
779
779
  l && (!o || he(n, n[l], l, o)) && (delete n[l], t = !0);
780
780
  }
781
781
  }
782
- return j.isArray(s) ? s.forEach(r) : r(s), t;
782
+ return v.isArray(s) ? s.forEach(r) : r(s), t;
783
783
  }
784
784
  clear(s) {
785
785
  const o = Object.keys(this);
@@ -792,8 +792,8 @@ class pe {
792
792
  }
793
793
  normalize(s) {
794
794
  const o = this, n = {};
795
- return j.forEach(this, (t, r) => {
796
- const a = j.findKey(n, r);
795
+ return v.forEach(this, (t, r) => {
796
+ const a = v.findKey(n, r);
797
797
  if (a) {
798
798
  o[a] = ae(t), delete o[r];
799
799
  return;
@@ -807,8 +807,8 @@ class pe {
807
807
  }
808
808
  toJSON(s) {
809
809
  const o = /* @__PURE__ */ Object.create(null);
810
- return j.forEach(this, (n, t) => {
811
- n != null && n !== !1 && (o[t] = s && j.isArray(n) ? n.join(", ") : n);
810
+ return v.forEach(this, (n, t) => {
811
+ n != null && n !== !1 && (o[t] = s && v.isArray(n) ? n.join(", ") : n);
812
812
  }), o;
813
813
  }
814
814
  [Symbol.iterator]() {
@@ -836,11 +836,11 @@ class pe {
836
836
  const l = Z(a);
837
837
  n[l] || (dr(t, a), n[l] = !0);
838
838
  }
839
- return j.isArray(s) ? s.forEach(r) : r(s), this;
839
+ return v.isArray(s) ? s.forEach(r) : r(s), this;
840
840
  }
841
841
  }
842
842
  pe.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
843
- j.reduceDescriptors(pe.prototype, ({ value: e }, s) => {
843
+ v.reduceDescriptors(pe.prototype, ({ value: e }, s) => {
844
844
  let o = s[0].toUpperCase() + s.slice(1);
845
845
  return {
846
846
  get: () => e,
@@ -849,12 +849,12 @@ j.reduceDescriptors(pe.prototype, ({ value: e }, s) => {
849
849
  }
850
850
  };
851
851
  });
852
- j.freezeMethods(pe);
852
+ v.freezeMethods(pe);
853
853
  const D = pe;
854
854
  function Oe(e, s) {
855
855
  const o = this || Se, n = s || o, t = D.from(n.headers);
856
856
  let r = n.data;
857
- return j.forEach(e, function(l) {
857
+ return v.forEach(e, function(l) {
858
858
  r = l.call(o, r, t.normalize(), s ? s.status : void 0);
859
859
  }), t.normalize(), r;
860
860
  }
@@ -864,7 +864,7 @@ function tt(e) {
864
864
  function te(e, s, o) {
865
865
  F.call(this, e ?? "canceled", F.ERR_CANCELED, s, o), this.name = "CanceledError";
866
866
  }
867
- j.inherits(te, F, {
867
+ v.inherits(te, F, {
868
868
  __CANCEL__: !0
869
869
  });
870
870
  function hr(e, s, o) {
@@ -882,7 +882,7 @@ const Or = H.hasStandardBrowserEnv ? (
882
882
  {
883
883
  write(e, s, o, n, t, r) {
884
884
  const a = [e + "=" + encodeURIComponent(s)];
885
- j.isNumber(o) && a.push("expires=" + new Date(o).toGMTString()), j.isString(n) && a.push("path=" + n), j.isString(t) && a.push("domain=" + t), r === !0 && a.push("secure"), document.cookie = a.join("; ");
885
+ v.isNumber(o) && a.push("expires=" + new Date(o).toGMTString()), v.isString(n) && a.push("path=" + n), v.isString(t) && a.push("domain=" + t), r === !0 && a.push("secure"), document.cookie = a.join("; ");
886
886
  },
887
887
  read(e) {
888
888
  const s = document.cookie.match(new RegExp("(^|;\\s*)(" + e + ")=([^;]*)"));
@@ -933,7 +933,7 @@ const Ar = H.hasStandardBrowserEnv ? (
933
933
  };
934
934
  }
935
935
  return n = t(window.location.href), function(a) {
936
- const l = j.isString(a) ? t(a) : a;
936
+ const l = v.isString(a) ? t(a) : a;
937
937
  return l.protocol === n.protocol && l.host === n.host;
938
938
  };
939
939
  }()
@@ -945,11 +945,11 @@ const Ar = H.hasStandardBrowserEnv ? (
945
945
  };
946
946
  }()
947
947
  );
948
- function mr(e) {
948
+ function Pr(e) {
949
949
  const s = /^([-+\w]{1,25})(:?\/\/|:)/.exec(e);
950
950
  return s && s[1] || "";
951
951
  }
952
- function Pr(e, s) {
952
+ function mr(e, s) {
953
953
  e = e || 10;
954
954
  const o = new Array(e), n = new Array(e);
955
955
  let t = 0, r = 0, a;
@@ -967,7 +967,7 @@ function Pr(e, s) {
967
967
  }
968
968
  function Ee(e, s) {
969
969
  let o = 0;
970
- const n = Pr(50, 250);
970
+ const n = mr(50, 250);
971
971
  return (t) => {
972
972
  const r = t.loaded, a = t.lengthComputable ? t.total : void 0, l = r - o, c = n(l), i = r <= a;
973
973
  o = r;
@@ -992,7 +992,7 @@ const Ir = typeof XMLHttpRequest < "u", yr = Ir && function(e) {
992
992
  e.cancelToken && e.cancelToken.unsubscribe(c), e.signal && e.signal.removeEventListener("abort", c);
993
993
  }
994
994
  let p;
995
- if (j.isFormData(t)) {
995
+ if (v.isFormData(t)) {
996
996
  if (H.hasStandardBrowserEnv || H.hasStandardBrowserWebWorkerEnv)
997
997
  r.setContentType(!1);
998
998
  else if ((p = r.getContentType()) !== !1) {
@@ -1041,27 +1041,27 @@ const Ir = typeof XMLHttpRequest < "u", yr = Ir && function(e) {
1041
1041
  e,
1042
1042
  d
1043
1043
  )), d = null;
1044
- }, H.hasStandardBrowserEnv && (l && j.isFunction(l) && (l = l(e)), l || l !== !1 && Ar(h))) {
1044
+ }, H.hasStandardBrowserEnv && (l && v.isFunction(l) && (l = l(e)), l || l !== !1 && Ar(h))) {
1045
1045
  const S = e.xsrfHeaderName && e.xsrfCookieName && Or.read(e.xsrfCookieName);
1046
1046
  S && r.set(e.xsrfHeaderName, S);
1047
1047
  }
1048
- t === void 0 && r.setContentType(null), "setRequestHeader" in d && j.forEach(r.toJSON(), function(w, C) {
1048
+ t === void 0 && r.setContentType(null), "setRequestHeader" in d && v.forEach(r.toJSON(), function(w, C) {
1049
1049
  d.setRequestHeader(C, w);
1050
- }), j.isUndefined(e.withCredentials) || (d.withCredentials = !!e.withCredentials), a && a !== "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 = (S) => {
1050
+ }), v.isUndefined(e.withCredentials) || (d.withCredentials = !!e.withCredentials), a && a !== "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 = (S) => {
1051
1051
  d && (n(!S || S.type ? new te(null, e, d) : S), d.abort(), d = null);
1052
1052
  }, e.cancelToken && e.cancelToken.subscribe(c), e.signal && (e.signal.aborted ? c() : e.signal.addEventListener("abort", c)));
1053
- const R = mr(h);
1053
+ const R = Pr(h);
1054
1054
  if (R && H.protocols.indexOf(R) === -1) {
1055
1055
  n(new F("Unsupported protocol " + R + ":", F.ERR_BAD_REQUEST, e));
1056
1056
  return;
1057
1057
  }
1058
1058
  d.send(t || null);
1059
1059
  });
1060
- }, me = {
1060
+ }, Pe = {
1061
1061
  http: _t,
1062
1062
  xhr: yr
1063
1063
  };
1064
- j.forEach(me, (e, s) => {
1064
+ v.forEach(Pe, (e, s) => {
1065
1065
  if (e) {
1066
1066
  try {
1067
1067
  Object.defineProperty(e, "name", { value: s });
@@ -1070,16 +1070,16 @@ j.forEach(me, (e, s) => {
1070
1070
  Object.defineProperty(e, "adapterName", { value: s });
1071
1071
  }
1072
1072
  });
1073
- const ze = (e) => `- ${e}`, br = (e) => j.isFunction(e) || e === null || e === !1, at = {
1073
+ const ze = (e) => `- ${e}`, br = (e) => v.isFunction(e) || e === null || e === !1, at = {
1074
1074
  getAdapter: (e) => {
1075
- e = j.isArray(e) ? e : [e];
1075
+ e = v.isArray(e) ? e : [e];
1076
1076
  const { length: s } = e;
1077
1077
  let o, n;
1078
1078
  const t = {};
1079
1079
  for (let r = 0; r < s; r++) {
1080
1080
  o = e[r];
1081
1081
  let a;
1082
- if (n = o, !br(o) && (n = me[(a = String(o)).toLowerCase()], n === void 0))
1082
+ if (n = o, !br(o) && (n = Pe[(a = String(o)).toLowerCase()], n === void 0))
1083
1083
  throw new F(`Unknown adapter '${a}'`);
1084
1084
  if (n)
1085
1085
  break;
@@ -1099,7 +1099,7 @@ const ze = (e) => `- ${e}`, br = (e) => j.isFunction(e) || e === null || e === !
1099
1099
  }
1100
1100
  return n;
1101
1101
  },
1102
- adapters: me
1102
+ adapters: Pe
1103
1103
  };
1104
1104
  function Ve(e) {
1105
1105
  if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
@@ -1128,22 +1128,22 @@ function X(e, s) {
1128
1128
  s = s || {};
1129
1129
  const o = {};
1130
1130
  function n(i, p, d) {
1131
- return j.isPlainObject(i) && j.isPlainObject(p) ? j.merge.call({ caseless: d }, i, p) : j.isPlainObject(p) ? j.merge({}, p) : j.isArray(p) ? p.slice() : p;
1131
+ return v.isPlainObject(i) && v.isPlainObject(p) ? v.merge.call({ caseless: d }, i, p) : v.isPlainObject(p) ? v.merge({}, p) : v.isArray(p) ? p.slice() : p;
1132
1132
  }
1133
1133
  function t(i, p, d) {
1134
- if (j.isUndefined(p)) {
1135
- if (!j.isUndefined(i))
1134
+ if (v.isUndefined(p)) {
1135
+ if (!v.isUndefined(i))
1136
1136
  return n(void 0, i, d);
1137
1137
  } else
1138
1138
  return n(i, p, d);
1139
1139
  }
1140
1140
  function r(i, p) {
1141
- if (!j.isUndefined(p))
1141
+ if (!v.isUndefined(p))
1142
1142
  return n(void 0, p);
1143
1143
  }
1144
1144
  function a(i, p) {
1145
- if (j.isUndefined(p)) {
1146
- if (!j.isUndefined(i))
1145
+ if (v.isUndefined(p)) {
1146
+ if (!v.isUndefined(i))
1147
1147
  return n(void 0, i);
1148
1148
  } else
1149
1149
  return n(void 0, p);
@@ -1185,9 +1185,9 @@ function X(e, s) {
1185
1185
  validateStatus: l,
1186
1186
  headers: (i, p) => t(He(i), He(p), !0)
1187
1187
  };
1188
- return j.forEach(Object.keys(Object.assign({}, e, s)), function(p) {
1188
+ return v.forEach(Object.keys(Object.assign({}, e, s)), function(p) {
1189
1189
  const d = c[p] || t, h = d(e[p], s[p], p);
1190
- j.isUndefined(h) && d !== l || (o[p] = h);
1190
+ v.isUndefined(h) && d !== l || (o[p] = h);
1191
1191
  }), o;
1192
1192
  }
1193
1193
  const st = "1.6.2", we = {};
@@ -1232,10 +1232,10 @@ function Rr(e, s, o) {
1232
1232
  throw new F("Unknown option " + r, F.ERR_BAD_OPTION);
1233
1233
  }
1234
1234
  }
1235
- const Pe = {
1235
+ const me = {
1236
1236
  assertOptions: Rr,
1237
1237
  validators: we
1238
- }, f = Pe.validators;
1238
+ }, f = me.validators;
1239
1239
  class oe {
1240
1240
  constructor(s) {
1241
1241
  this.defaults = s, this.interceptors = {
@@ -1254,21 +1254,21 @@ class oe {
1254
1254
  request(s, o) {
1255
1255
  typeof s == "string" ? (o = o || {}, o.url = s) : o = s || {}, o = X(this.defaults, o);
1256
1256
  const { transitional: n, paramsSerializer: t, headers: r } = o;
1257
- n !== void 0 && Pe.assertOptions(n, {
1257
+ n !== void 0 && me.assertOptions(n, {
1258
1258
  silentJSONParsing: f.transitional(f.boolean),
1259
1259
  forcedJSONParsing: f.transitional(f.boolean),
1260
1260
  clarifyTimeoutError: f.transitional(f.boolean)
1261
- }, !1), t != null && (j.isFunction(t) ? o.paramsSerializer = {
1261
+ }, !1), t != null && (v.isFunction(t) ? o.paramsSerializer = {
1262
1262
  serialize: t
1263
- } : Pe.assertOptions(t, {
1263
+ } : me.assertOptions(t, {
1264
1264
  encode: f.function,
1265
1265
  serialize: f.function
1266
1266
  }, !0)), o.method = (o.method || this.defaults.method || "get").toLowerCase();
1267
- let a = r && j.merge(
1267
+ let a = r && v.merge(
1268
1268
  r.common,
1269
1269
  r[o.method]
1270
1270
  );
1271
- r && j.forEach(
1271
+ r && v.forEach(
1272
1272
  ["delete", "get", "head", "post", "put", "patch", "common"],
1273
1273
  (R) => {
1274
1274
  delete r[R];
@@ -1316,7 +1316,7 @@ class oe {
1316
1316
  return Ye(o, s.params, s.paramsSerializer);
1317
1317
  }
1318
1318
  }
1319
- j.forEach(["delete", "get", "head", "options"], function(s) {
1319
+ v.forEach(["delete", "get", "head", "options"], function(s) {
1320
1320
  oe.prototype[s] = function(o, n) {
1321
1321
  return this.request(X(n || {}, {
1322
1322
  method: s,
@@ -1325,7 +1325,7 @@ j.forEach(["delete", "get", "head", "options"], function(s) {
1325
1325
  }));
1326
1326
  };
1327
1327
  });
1328
- j.forEach(["post", "put", "patch"], function(s) {
1328
+ v.forEach(["post", "put", "patch"], function(s) {
1329
1329
  function o(n) {
1330
1330
  return function(r, a, l) {
1331
1331
  return this.request(X(l || {}, {
@@ -1409,14 +1409,14 @@ class Te {
1409
1409
  };
1410
1410
  }
1411
1411
  }
1412
- const vr = Te;
1413
- function jr(e) {
1412
+ const jr = Te;
1413
+ function vr(e) {
1414
1414
  return function(o) {
1415
1415
  return e.apply(null, o);
1416
1416
  };
1417
1417
  }
1418
1418
  function Sr(e) {
1419
- return j.isObject(e) && e.isAxiosError === !0;
1419
+ return v.isObject(e) && e.isAxiosError === !0;
1420
1420
  }
1421
1421
  const Ie = {
1422
1422
  Continue: 100,
@@ -1489,14 +1489,14 @@ Object.entries(Ie).forEach(([e, s]) => {
1489
1489
  const wr = Ie;
1490
1490
  function ot(e) {
1491
1491
  const s = new se(e), o = Qe(se.prototype.request, s);
1492
- return j.extend(o, se.prototype, s, { allOwnKeys: !0 }), j.extend(o, s, null, { allOwnKeys: !0 }), o.create = function(t) {
1492
+ return v.extend(o, se.prototype, s, { allOwnKeys: !0 }), v.extend(o, s, null, { allOwnKeys: !0 }), o.create = function(t) {
1493
1493
  return ot(X(e, t));
1494
1494
  }, o;
1495
1495
  }
1496
1496
  const E = ot(Se);
1497
1497
  E.Axios = se;
1498
1498
  E.CanceledError = te;
1499
- E.CancelToken = vr;
1499
+ E.CancelToken = jr;
1500
1500
  E.isCancel = tt;
1501
1501
  E.VERSION = st;
1502
1502
  E.toFormData = ie;
@@ -1505,11 +1505,11 @@ E.Cancel = E.CanceledError;
1505
1505
  E.all = function(s) {
1506
1506
  return Promise.all(s);
1507
1507
  };
1508
- E.spread = jr;
1508
+ E.spread = vr;
1509
1509
  E.isAxiosError = Sr;
1510
1510
  E.mergeConfig = X;
1511
1511
  E.AxiosHeaders = D;
1512
- E.formToJSON = (e) => et(j.isHTMLForm(e) ? new FormData(e) : e);
1512
+ E.formToJSON = (e) => et(v.isHTMLForm(e) ? new FormData(e) : e);
1513
1513
  E.getAdapter = at.getAdapter;
1514
1514
  E.HttpStatusCode = wr;
1515
1515
  E.default = E;
@@ -1519,10 +1519,10 @@ class Tr extends Error {
1519
1519
  super(o), this.field = s, this.name = "RequiredError";
1520
1520
  }
1521
1521
  }
1522
- const A = {}, m = "https://example.com", v = function(e, s, o) {
1522
+ const A = {}, P = "https://example.com", j = function(e, s, o) {
1523
1523
  if (o == null)
1524
1524
  throw new Tr(s, `Required parameter ${s} was null or undefined when calling ${e}.`);
1525
- }, P = async function(e, s, o) {
1525
+ }, m = async function(e, s, o) {
1526
1526
  if (o && o.apiKey) {
1527
1527
  const n = typeof o.apiKey == "function" ? await o.apiKey(s) : await o.apiKey;
1528
1528
  e[s] = n;
@@ -1555,11 +1555,11 @@ const I = function(e, ...s) {
1555
1555
  * @throws {RequiredError}
1556
1556
  */
1557
1557
  apiV2AdminOptions: async (s = {}) => {
1558
- const o = "/api/v2/admin", n = new URL(o, m);
1558
+ const o = "/api/v2/admin", n = new URL(o, P);
1559
1559
  let t;
1560
1560
  e && (t = e.baseOptions);
1561
1561
  const r = { method: "OPTIONS", ...t, ...s }, a = {}, l = {};
1562
- await P(a, "Authorization", e), I(n, l);
1562
+ await m(a, "Authorization", e), I(n, l);
1563
1563
  let c = t && t.headers ? t.headers : {};
1564
1564
  return r.headers = { ...a, ...c, ...s.headers }, {
1565
1565
  url: y(n),
@@ -1572,21 +1572,20 @@ const I = function(e, ...s) {
1572
1572
  * @param {string} resourceId The unique identifier of the resource.
1573
1573
  * @param {string} typeId The unique identifier of the datasource type.
1574
1574
  * @param {number} [quota] The allocated quota for the datasource.
1575
- * @param {DsNrwReplicationGroupDto} [replicationGroup] The replication group for the bucket.
1576
1575
  * @param {*} [options] Override http request option.
1577
1576
  * @throws {RequiredError}
1578
1577
  */
1579
- createDatasource: async (s, o, n, t, r = {}) => {
1580
- v("createDatasource", "resourceId", s), v("createDatasource", "typeId", o);
1581
- const a = "/api/v2/admin/resource/{resourceId}/type/{typeId}".replace("{resourceId}", encodeURIComponent(String(s))).replace("{typeId}", encodeURIComponent(String(o))), l = new URL(a, m);
1582
- let c;
1583
- e && (c = e.baseOptions);
1584
- const i = { method: "POST", ...c, ...r }, p = {}, d = {};
1585
- await P(p, "Authorization", e), n !== void 0 && (d.quota = n), t !== void 0 && (d.replicationGroup = t), I(l, d);
1586
- let h = c && c.headers ? c.headers : {};
1587
- return i.headers = { ...p, ...h, ...r.headers }, {
1588
- url: y(l),
1589
- options: i
1578
+ createDatasource: async (s, o, n, t = {}) => {
1579
+ j("createDatasource", "resourceId", s), j("createDatasource", "typeId", o);
1580
+ const r = "/api/v2/admin/resource/{resourceId}/type/{typeId}".replace("{resourceId}", encodeURIComponent(String(s))).replace("{typeId}", encodeURIComponent(String(o))), a = new URL(r, P);
1581
+ let l;
1582
+ e && (l = e.baseOptions);
1583
+ const c = { method: "POST", ...l, ...t }, i = {}, p = {};
1584
+ await m(i, "Authorization", e), n !== void 0 && (p.quota = n), I(a, p);
1585
+ let d = l && l.headers ? l.headers : {};
1586
+ return c.headers = { ...i, ...d, ...t.headers }, {
1587
+ url: y(a),
1588
+ options: c
1590
1589
  };
1591
1590
  },
1592
1591
  /**
@@ -1605,11 +1604,11 @@ const I = function(e, ...s) {
1605
1604
  * @throws {RequiredError}
1606
1605
  */
1607
1606
  getAllActivityLogs: async (s, o, n, t, r, a, l, c, i, p = {}) => {
1608
- const d = "/api/v2/admin/activity-logs", h = new URL(d, m);
1607
+ const d = "/api/v2/admin/activity-logs", h = new URL(d, P);
1609
1608
  let V;
1610
1609
  e && (V = e.baseOptions);
1611
1610
  const R = { method: "GET", ...V, ...p }, S = {}, w = {};
1612
- await P(S, "Authorization", e), s !== void 0 && (w.ActivityTimestampBefore = s instanceof Date ? s.toISOString() : s), o !== void 0 && (w.ActivityTimestampAfter = o instanceof Date ? o.toISOString() : o), n !== void 0 && (w.Guid = n), t !== void 0 && (w.UserId = t), r !== void 0 && (w.RegularExpression = r), a !== void 0 && (w.HttpMethod = a), l !== void 0 && (w.PageNumber = l), c !== void 0 && (w.PageSize = c), i !== void 0 && (w.OrderBy = i), I(h, w);
1611
+ await m(S, "Authorization", e), s !== void 0 && (w.ActivityTimestampBefore = s instanceof Date ? s.toISOString() : s), o !== void 0 && (w.ActivityTimestampAfter = o instanceof Date ? o.toISOString() : o), n !== void 0 && (w.Guid = n), t !== void 0 && (w.UserId = t), r !== void 0 && (w.RegularExpression = r), a !== void 0 && (w.HttpMethod = a), l !== void 0 && (w.PageNumber = l), c !== void 0 && (w.PageSize = c), i !== void 0 && (w.OrderBy = i), I(h, w);
1613
1612
  let C = V && V.headers ? V.headers : {};
1614
1613
  return R.headers = { ...S, ...C, ...p.headers }, {
1615
1614
  url: y(h),
@@ -1630,11 +1629,11 @@ const I = function(e, ...s) {
1630
1629
  * @throws {RequiredError}
1631
1630
  */
1632
1631
  getAllProjects: async (s, o, n, t, r, a, l, c = {}) => {
1633
- const i = "/api/v2/admin/projects", p = new URL(i, m);
1632
+ const i = "/api/v2/admin/projects", p = new URL(i, P);
1634
1633
  let d;
1635
1634
  e && (d = e.baseOptions);
1636
1635
  const h = { method: "GET", ...d, ...c }, V = {}, R = {};
1637
- await P(V, "Authorization", e), s !== void 0 && (R.TopLevel = s), o !== void 0 && (R.IncludeDeleted = o), n !== void 0 && (R.IncludeQuotas = n), t !== void 0 && (R.IncludePublicationRequests = t), r !== void 0 && (R.PageSize = r), a !== void 0 && (R.PageNumber = a), l !== void 0 && (R.OrderBy = l), I(p, R);
1636
+ await m(V, "Authorization", e), s !== void 0 && (R.TopLevel = s), o !== void 0 && (R.IncludeDeleted = o), n !== void 0 && (R.IncludeQuotas = n), t !== void 0 && (R.IncludePublicationRequests = t), r !== void 0 && (R.PageSize = r), a !== void 0 && (R.PageNumber = a), l !== void 0 && (R.OrderBy = l), I(p, R);
1638
1637
  let S = d && d.headers ? d.headers : {};
1639
1638
  return h.headers = { ...V, ...S, ...c.headers }, {
1640
1639
  url: y(p),
@@ -1653,11 +1652,11 @@ const I = function(e, ...s) {
1653
1652
  * @throws {RequiredError}
1654
1653
  */
1655
1654
  getAllResources: async (s, o, n, t, r, a = {}) => {
1656
- const l = "/api/v2/admin/resources", c = new URL(l, m);
1655
+ const l = "/api/v2/admin/resources", c = new URL(l, P);
1657
1656
  let i;
1658
1657
  e && (i = e.baseOptions);
1659
1658
  const p = { method: "GET", ...i, ...a }, d = {}, h = {};
1660
- await P(d, "Authorization", e), s !== void 0 && (h.IncludeDeleted = s), o !== void 0 && (h.IncludeQuotas = o), n !== void 0 && (h.PageSize = n), t !== void 0 && (h.PageNumber = t), r !== void 0 && (h.OrderBy = r), I(c, h);
1659
+ await m(d, "Authorization", e), s !== void 0 && (h.IncludeDeleted = s), o !== void 0 && (h.IncludeQuotas = o), n !== void 0 && (h.PageSize = n), t !== void 0 && (h.PageNumber = t), r !== void 0 && (h.OrderBy = r), I(c, h);
1661
1660
  let V = i && i.headers ? i.headers : {};
1662
1661
  return p.headers = { ...d, ...V, ...a.headers }, {
1663
1662
  url: y(c),
@@ -1675,11 +1674,11 @@ const I = function(e, ...s) {
1675
1674
  * @throws {RequiredError}
1676
1675
  */
1677
1676
  getAllUsers: async (s, o, n, t, r = {}) => {
1678
- const a = "/api/v2/admin/users", l = new URL(a, m);
1677
+ const a = "/api/v2/admin/users", l = new URL(a, P);
1679
1678
  let c;
1680
1679
  e && (c = e.baseOptions);
1681
1680
  const i = { method: "GET", ...c, ...r }, p = {}, d = {};
1682
- await P(p, "Authorization", e), s !== void 0 && (d.TosAccepted = s), o !== void 0 && (d.PageSize = o), n !== void 0 && (d.PageNumber = n), t !== void 0 && (d.OrderBy = t), I(l, d);
1681
+ await m(p, "Authorization", e), s !== void 0 && (d.TosAccepted = s), o !== void 0 && (d.PageSize = o), n !== void 0 && (d.PageNumber = n), t !== void 0 && (d.OrderBy = t), I(l, d);
1683
1682
  let h = c && c.headers ? c.headers : {};
1684
1683
  return i.headers = { ...p, ...h, ...r.headers }, {
1685
1684
  url: y(l),
@@ -1696,11 +1695,11 @@ const I = function(e, ...s) {
1696
1695
  * @throws {RequiredError}
1697
1696
  */
1698
1697
  getDeployedGraphs: async (s, o, n, t = {}) => {
1699
- const r = "/api/v2/admin/graphs", a = new URL(r, m);
1698
+ const r = "/api/v2/admin/graphs", a = new URL(r, P);
1700
1699
  let l;
1701
1700
  e && (l = e.baseOptions);
1702
1701
  const c = { method: "GET", ...l, ...t }, i = {}, p = {};
1703
- await P(i, "Authorization", e), s !== void 0 && (p.PageNumber = s), o !== void 0 && (p.PageSize = o), n !== void 0 && (p.OrderBy = n), I(a, p);
1702
+ await m(i, "Authorization", e), s !== void 0 && (p.PageNumber = s), o !== void 0 && (p.PageSize = o), n !== void 0 && (p.OrderBy = n), I(a, p);
1704
1703
  let d = l && l.headers ? l.headers : {};
1705
1704
  return c.headers = { ...i, ...d, ...t.headers }, {
1706
1705
  url: y(a),
@@ -1716,12 +1715,12 @@ const I = function(e, ...s) {
1716
1715
  * @throws {RequiredError}
1717
1716
  */
1718
1717
  getMetadataGraph: async (s, o, n = {}) => {
1719
- v("getMetadataGraph", "graph", s);
1720
- const t = "/api/v2/admin/metadata/{graph}".replace("{graph}", encodeURIComponent(String(s))), r = new URL(t, m);
1718
+ j("getMetadataGraph", "graph", s);
1719
+ const t = "/api/v2/admin/metadata/{graph}".replace("{graph}", encodeURIComponent(String(s))), r = new URL(t, P);
1721
1720
  let a;
1722
1721
  e && (a = e.baseOptions);
1723
1722
  const l = { method: "GET", ...a, ...n }, c = {}, i = {};
1724
- await P(c, "Authorization", e), o !== void 0 && (i.Format = o), I(r, i);
1723
+ await m(c, "Authorization", e), o !== void 0 && (i.Format = o), I(r, i);
1725
1724
  let p = a && a.headers ? a.headers : {};
1726
1725
  return l.headers = { ...c, ...p, ...n.headers }, {
1727
1726
  url: y(r),
@@ -1737,12 +1736,12 @@ const I = function(e, ...s) {
1737
1736
  * @throws {RequiredError}
1738
1737
  */
1739
1738
  patchMetadata: async (s, o, n = {}) => {
1740
- v("patchMetadata", "graph", s);
1741
- const t = "/api/v2/admin/metadata/{graph}".replace("{graph}", encodeURIComponent(String(s))), r = new URL(t, m);
1739
+ j("patchMetadata", "graph", s);
1740
+ const t = "/api/v2/admin/metadata/{graph}".replace("{graph}", encodeURIComponent(String(s))), r = new URL(t, P);
1742
1741
  let a;
1743
1742
  e && (a = e.baseOptions);
1744
1743
  const l = { method: "PATCH", ...a, ...n }, c = {}, i = {};
1745
- await P(c, "Authorization", e), c["Content-Type"] = "application/json", I(r, i);
1744
+ await m(c, "Authorization", e), c["Content-Type"] = "application/json", I(r, i);
1746
1745
  let p = a && a.headers ? a.headers : {};
1747
1746
  return l.headers = { ...c, ...p, ...n.headers }, l.data = L(o, l, e), {
1748
1747
  url: y(r),
@@ -1758,12 +1757,12 @@ const I = function(e, ...s) {
1758
1757
  * @throws {RequiredError}
1759
1758
  */
1760
1759
  updateMetadataGraph: async (s, o, n = {}) => {
1761
- v("updateMetadataGraph", "graph", s);
1762
- const t = "/api/v2/admin/metadata/{graph}".replace("{graph}", encodeURIComponent(String(s))), r = new URL(t, m);
1760
+ j("updateMetadataGraph", "graph", s);
1761
+ const t = "/api/v2/admin/metadata/{graph}".replace("{graph}", encodeURIComponent(String(s))), r = new URL(t, P);
1763
1762
  let a;
1764
1763
  e && (a = e.baseOptions);
1765
1764
  const l = { method: "PUT", ...a, ...n }, c = {}, i = {};
1766
- await P(c, "Authorization", e), c["Content-Type"] = "application/json", I(r, i);
1765
+ await m(c, "Authorization", e), c["Content-Type"] = "application/json", I(r, i);
1767
1766
  let p = a && a.headers ? a.headers : {};
1768
1767
  return l.headers = { ...c, ...p, ...n.headers }, l.data = L(o, l, e), {
1769
1768
  url: y(r),
@@ -1780,12 +1779,12 @@ const I = function(e, ...s) {
1780
1779
  * @throws {RequiredError}
1781
1780
  */
1782
1781
  updateResourceType: async (s, o, n, t = {}) => {
1783
- v("updateResourceType", "resourceId", s), v("updateResourceType", "typeId", o);
1784
- const r = "/api/v2/admin/resource/{resourceId}/type/{typeId}".replace("{resourceId}", encodeURIComponent(String(s))).replace("{typeId}", encodeURIComponent(String(o))), a = new URL(r, m);
1782
+ j("updateResourceType", "resourceId", s), j("updateResourceType", "typeId", o);
1783
+ const r = "/api/v2/admin/resource/{resourceId}/type/{typeId}".replace("{resourceId}", encodeURIComponent(String(s))).replace("{typeId}", encodeURIComponent(String(o))), a = new URL(r, P);
1785
1784
  let l;
1786
1785
  e && (l = e.baseOptions);
1787
1786
  const c = { method: "PUT", ...l, ...t }, i = {}, p = {};
1788
- await P(i, "Authorization", e), n !== void 0 && (p.optionId = n), I(a, p);
1787
+ await m(i, "Authorization", e), n !== void 0 && (p.optionId = n), I(a, p);
1789
1788
  let d = l && l.headers ? l.headers : {};
1790
1789
  return c.headers = { ...i, ...d, ...t.headers }, {
1791
1790
  url: y(a),
@@ -1813,14 +1812,13 @@ const I = function(e, ...s) {
1813
1812
  * @param {string} resourceId The unique identifier of the resource.
1814
1813
  * @param {string} typeId The unique identifier of the datasource type.
1815
1814
  * @param {number} [quota] The allocated quota for the datasource.
1816
- * @param {DsNrwReplicationGroupDto} [replicationGroup] The replication group for the bucket.
1817
1815
  * @param {*} [options] Override http request option.
1818
1816
  * @throws {RequiredError}
1819
1817
  */
1820
- async createDatasource(o, n, t, r, a) {
1821
- var p, d;
1822
- const l = await s.createDatasource(o, n, t, r, a), c = (e == null ? void 0 : e.serverIndex) ?? 0, i = (d = (p = A["AdminApi.createDatasource"]) == null ? void 0 : p[c]) == null ? void 0 : d.url;
1823
- return (h, V) => b(l, O, u, e)(h, i || V);
1818
+ async createDatasource(o, n, t, r) {
1819
+ var i, p;
1820
+ const a = await s.createDatasource(o, n, t, r), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (p = (i = A["AdminApi.createDatasource"]) == null ? void 0 : i[l]) == null ? void 0 : p.url;
1821
+ return (d, h) => b(a, O, u, e)(d, c || h);
1824
1822
  },
1825
1823
  /**
1826
1824
  * <p><strong>Required JWT roles for access:</strong> <code>administrator</code>.</p>
@@ -1979,7 +1977,7 @@ const I = function(e, ...s) {
1979
1977
  * @throws {RequiredError}
1980
1978
  */
1981
1979
  createDatasource(t, r) {
1982
- return n.createDatasource(t.resourceId, t.typeId, t.quota, t.replicationGroup, r).then((a) => a(o, s));
1980
+ return n.createDatasource(t.resourceId, t.typeId, t.quota, r).then((a) => a(o, s));
1983
1981
  },
1984
1982
  /**
1985
1983
  * <p><strong>Required JWT roles for access:</strong> <code>administrator</code>.</p>
@@ -2081,11 +2079,11 @@ const I = function(e, ...s) {
2081
2079
  * @throws {RequiredError}
2082
2080
  */
2083
2081
  apiV2ApplicationProfilesOptions: async (s = {}) => {
2084
- const o = "/api/v2/application-profiles", n = new URL(o, m);
2082
+ const o = "/api/v2/application-profiles", n = new URL(o, P);
2085
2083
  let t;
2086
2084
  e && (t = e.baseOptions);
2087
2085
  const r = { method: "OPTIONS", ...t, ...s }, a = {}, l = {};
2088
- await P(a, "Authorization", e), I(n, l);
2086
+ await m(a, "Authorization", e), I(n, l);
2089
2087
  let c = t && t.headers ? t.headers : {};
2090
2088
  return r.headers = { ...a, ...c, ...s.headers }, {
2091
2089
  url: y(n),
@@ -2100,11 +2098,11 @@ const I = function(e, ...s) {
2100
2098
  * @throws {RequiredError}
2101
2099
  */
2102
2100
  createApplicationProfileRequest: async (s, o = {}) => {
2103
- const n = "/api/v2/application-profiles/requests", t = new URL(n, m);
2101
+ const n = "/api/v2/application-profiles/requests", t = new URL(n, P);
2104
2102
  let r;
2105
2103
  e && (r = e.baseOptions);
2106
2104
  const a = { method: "POST", ...r, ...o }, l = {}, c = {};
2107
- await P(l, "Authorization", e), l["Content-Type"] = "application/json", I(t, c);
2105
+ await m(l, "Authorization", e), l["Content-Type"] = "application/json", I(t, c);
2108
2106
  let i = r && r.headers ? r.headers : {};
2109
2107
  return a.headers = { ...l, ...i, ...o.headers }, a.data = L(s, a, e), {
2110
2108
  url: y(t),
@@ -2121,12 +2119,12 @@ const I = function(e, ...s) {
2121
2119
  * @throws {RequiredError}
2122
2120
  */
2123
2121
  getApplicationProfile: async (s, o, n, t = {}) => {
2124
- v("getApplicationProfile", "profile", s);
2125
- const r = "/api/v2/application-profiles/profiles/{profile}".replace("{profile}", encodeURIComponent(String(s))), a = new URL(r, m);
2122
+ j("getApplicationProfile", "profile", s);
2123
+ const r = "/api/v2/application-profiles/profiles/{profile}".replace("{profile}", encodeURIComponent(String(s))), a = new URL(r, P);
2126
2124
  let l;
2127
2125
  e && (l = e.baseOptions);
2128
2126
  const c = { method: "GET", ...l, ...t }, i = {}, p = {};
2129
- await P(i, "Authorization", e), o !== void 0 && (p.format = o), n != null && (i["Accept-Language"] = typeof n == "string" ? n : JSON.stringify(n)), I(a, p);
2127
+ await m(i, "Authorization", e), o !== void 0 && (p.format = o), n != null && (i["Accept-Language"] = typeof n == "string" ? n : JSON.stringify(n)), I(a, p);
2130
2128
  let d = l && l.headers ? l.headers : {};
2131
2129
  return c.headers = { ...i, ...d, ...t.headers }, {
2132
2130
  url: y(a),
@@ -2146,11 +2144,11 @@ const I = function(e, ...s) {
2146
2144
  * @throws {RequiredError}
2147
2145
  */
2148
2146
  getApplicationProfiles: async (s, o, n, t, r, a, l = {}) => {
2149
- const c = "/api/v2/application-profiles/profiles", i = new URL(c, m);
2147
+ const c = "/api/v2/application-profiles/profiles", i = new URL(c, P);
2150
2148
  let p;
2151
2149
  e && (p = e.baseOptions);
2152
2150
  const d = { method: "GET", ...p, ...l }, h = {}, V = {};
2153
- await P(h, "Authorization", e), s !== void 0 && (V.SearchTerm = s), o !== void 0 && (V.Language = o), n !== void 0 && (V.Modules = n), t !== void 0 && (V.PageNumber = t), r !== void 0 && (V.PageSize = r), a !== void 0 && (V.OrderBy = a), I(i, V);
2151
+ await m(h, "Authorization", e), s !== void 0 && (V.SearchTerm = s), o !== void 0 && (V.Language = o), n !== void 0 && (V.Modules = n), t !== void 0 && (V.PageNumber = t), r !== void 0 && (V.PageSize = r), a !== void 0 && (V.OrderBy = a), I(i, V);
2154
2152
  let R = p && p.headers ? p.headers : {};
2155
2153
  return d.headers = { ...h, ...R, ...l.headers }, {
2156
2154
  url: y(i),
@@ -2165,12 +2163,12 @@ const I = function(e, ...s) {
2165
2163
  * @throws {RequiredError}
2166
2164
  */
2167
2165
  getRawApplicationProfile: async (s, o = {}) => {
2168
- v("getRawApplicationProfile", "profile", s);
2169
- const n = "/api/v2/application-profiles/profiles/{profile}/raw".replace("{profile}", encodeURIComponent(String(s))), t = new URL(n, m);
2166
+ j("getRawApplicationProfile", "profile", s);
2167
+ const n = "/api/v2/application-profiles/profiles/{profile}/raw".replace("{profile}", encodeURIComponent(String(s))), t = new URL(n, P);
2170
2168
  let r;
2171
2169
  e && (r = e.baseOptions);
2172
2170
  const a = { method: "GET", ...r, ...o }, l = {}, c = {};
2173
- await P(l, "Authorization", e), I(t, c);
2171
+ await m(l, "Authorization", e), I(t, c);
2174
2172
  let i = r && r.headers ? r.headers : {};
2175
2173
  return a.headers = { ...l, ...i, ...o.headers }, {
2176
2174
  url: y(t),
@@ -2312,12 +2310,12 @@ const I = function(e, ...s) {
2312
2310
  * @throws {RequiredError}
2313
2311
  */
2314
2312
  apiV2ProjectsProjectIdResourcesResourceIdBlobsOptions: async (s, o, n = {}) => {
2315
- v("apiV2ProjectsProjectIdResourcesResourceIdBlobsOptions", "projectId", s), v("apiV2ProjectsProjectIdResourcesResourceIdBlobsOptions", "resourceId", o);
2316
- const t = "/api/v2/projects/{projectId}/resources/{resourceId}/blobs".replace("{projectId}", encodeURIComponent(String(s))).replace("{resourceId}", encodeURIComponent(String(o))), r = new URL(t, m);
2313
+ j("apiV2ProjectsProjectIdResourcesResourceIdBlobsOptions", "projectId", s), j("apiV2ProjectsProjectIdResourcesResourceIdBlobsOptions", "resourceId", o);
2314
+ const t = "/api/v2/projects/{projectId}/resources/{resourceId}/blobs".replace("{projectId}", encodeURIComponent(String(s))).replace("{resourceId}", encodeURIComponent(String(o))), r = new URL(t, P);
2317
2315
  let a;
2318
2316
  e && (a = e.baseOptions);
2319
2317
  const l = { method: "OPTIONS", ...a, ...n }, c = {}, i = {};
2320
- await P(c, "Authorization", e), I(r, i);
2318
+ await m(c, "Authorization", e), I(r, i);
2321
2319
  let p = a && a.headers ? a.headers : {};
2322
2320
  return l.headers = { ...c, ...p, ...n.headers }, {
2323
2321
  url: y(r),
@@ -2335,12 +2333,12 @@ const I = function(e, ...s) {
2335
2333
  * @throws {RequiredError}
2336
2334
  */
2337
2335
  createBlob: async (s, o, n, t, r = {}) => {
2338
- v("createBlob", "projectId", s), v("createBlob", "resourceId", o), v("createBlob", "key", n);
2339
- const a = "/api/v2/projects/{projectId}/resources/{resourceId}/blobs/{key}".replace("{projectId}", encodeURIComponent(String(s))).replace("{resourceId}", encodeURIComponent(String(o))).replace("{key}", encodeURIComponent(String(n))), l = new URL(a, m);
2336
+ j("createBlob", "projectId", s), j("createBlob", "resourceId", o), j("createBlob", "key", n);
2337
+ const a = "/api/v2/projects/{projectId}/resources/{resourceId}/blobs/{key}".replace("{projectId}", encodeURIComponent(String(s))).replace("{resourceId}", encodeURIComponent(String(o))).replace("{key}", encodeURIComponent(String(n))), l = new URL(a, P);
2340
2338
  let c;
2341
2339
  e && (c = e.baseOptions);
2342
2340
  const i = { method: "POST", ...c, ...r }, p = {}, d = {}, h = new (e && e.formDataCtor || FormData)();
2343
- await P(p, "Authorization", e), t !== void 0 && h.append("file", t), p["Content-Type"] = "multipart/form-data", I(l, d);
2341
+ await m(p, "Authorization", e), t !== void 0 && h.append("file", t), p["Content-Type"] = "multipart/form-data", I(l, d);
2344
2342
  let V = c && c.headers ? c.headers : {};
2345
2343
  return i.headers = { ...p, ...V, ...r.headers }, i.data = h, {
2346
2344
  url: y(l),
@@ -2357,12 +2355,12 @@ const I = function(e, ...s) {
2357
2355
  * @throws {RequiredError}
2358
2356
  */
2359
2357
  deleteBlob: async (s, o, n, t = {}) => {
2360
- v("deleteBlob", "projectId", s), v("deleteBlob", "resourceId", o), v("deleteBlob", "key", n);
2361
- const r = "/api/v2/projects/{projectId}/resources/{resourceId}/blobs/{key}".replace("{projectId}", encodeURIComponent(String(s))).replace("{resourceId}", encodeURIComponent(String(o))).replace("{key}", encodeURIComponent(String(n))), a = new URL(r, m);
2358
+ j("deleteBlob", "projectId", s), j("deleteBlob", "resourceId", o), j("deleteBlob", "key", n);
2359
+ const r = "/api/v2/projects/{projectId}/resources/{resourceId}/blobs/{key}".replace("{projectId}", encodeURIComponent(String(s))).replace("{resourceId}", encodeURIComponent(String(o))).replace("{key}", encodeURIComponent(String(n))), a = new URL(r, P);
2362
2360
  let l;
2363
2361
  e && (l = e.baseOptions);
2364
2362
  const c = { method: "DELETE", ...l, ...t }, i = {}, p = {};
2365
- await P(i, "Authorization", e), I(a, p);
2363
+ await m(i, "Authorization", e), I(a, p);
2366
2364
  let d = l && l.headers ? l.headers : {};
2367
2365
  return c.headers = { ...i, ...d, ...t.headers }, {
2368
2366
  url: y(a),
@@ -2379,12 +2377,12 @@ const I = function(e, ...s) {
2379
2377
  * @throws {RequiredError}
2380
2378
  */
2381
2379
  getBlob: async (s, o, n, t = {}) => {
2382
- v("getBlob", "projectId", s), v("getBlob", "resourceId", o), v("getBlob", "key", n);
2383
- const r = "/api/v2/projects/{projectId}/resources/{resourceId}/blobs/{key}".replace("{projectId}", encodeURIComponent(String(s))).replace("{resourceId}", encodeURIComponent(String(o))).replace("{key}", encodeURIComponent(String(n))), a = new URL(r, m);
2380
+ j("getBlob", "projectId", s), j("getBlob", "resourceId", o), j("getBlob", "key", n);
2381
+ const r = "/api/v2/projects/{projectId}/resources/{resourceId}/blobs/{key}".replace("{projectId}", encodeURIComponent(String(s))).replace("{resourceId}", encodeURIComponent(String(o))).replace("{key}", encodeURIComponent(String(n))), a = new URL(r, P);
2384
2382
  let l;
2385
2383
  e && (l = e.baseOptions);
2386
2384
  const c = { method: "GET", ...l, ...t }, i = {}, p = {};
2387
- await P(i, "Authorization", e), I(a, p);
2385
+ await m(i, "Authorization", e), I(a, p);
2388
2386
  let d = l && l.headers ? l.headers : {};
2389
2387
  return c.headers = { ...i, ...d, ...t.headers }, {
2390
2388
  url: y(a),
@@ -2402,12 +2400,12 @@ const I = function(e, ...s) {
2402
2400
  * @throws {RequiredError}
2403
2401
  */
2404
2402
  updateBlob: async (s, o, n, t, r = {}) => {
2405
- v("updateBlob", "projectId", s), v("updateBlob", "resourceId", o), v("updateBlob", "key", n);
2406
- const a = "/api/v2/projects/{projectId}/resources/{resourceId}/blobs/{key}".replace("{projectId}", encodeURIComponent(String(s))).replace("{resourceId}", encodeURIComponent(String(o))).replace("{key}", encodeURIComponent(String(n))), l = new URL(a, m);
2403
+ j("updateBlob", "projectId", s), j("updateBlob", "resourceId", o), j("updateBlob", "key", n);
2404
+ const a = "/api/v2/projects/{projectId}/resources/{resourceId}/blobs/{key}".replace("{projectId}", encodeURIComponent(String(s))).replace("{resourceId}", encodeURIComponent(String(o))).replace("{key}", encodeURIComponent(String(n))), l = new URL(a, P);
2407
2405
  let c;
2408
2406
  e && (c = e.baseOptions);
2409
2407
  const i = { method: "PUT", ...c, ...r }, p = {}, d = {}, h = new (e && e.formDataCtor || FormData)();
2410
- await P(p, "Authorization", e), t !== void 0 && h.append("file", t), p["Content-Type"] = "multipart/form-data", I(l, d);
2408
+ await m(p, "Authorization", e), t !== void 0 && h.append("file", t), p["Content-Type"] = "multipart/form-data", I(l, d);
2411
2409
  let V = c && c.headers ? c.headers : {};
2412
2410
  return i.headers = { ...p, ...V, ...r.headers }, i.data = h, {
2413
2411
  url: y(l),
@@ -2553,11 +2551,11 @@ const I = function(e, ...s) {
2553
2551
  * @throws {RequiredError}
2554
2552
  */
2555
2553
  apiV2DisciplinesOptions: async (s = {}) => {
2556
- const o = "/api/v2/disciplines", n = new URL(o, m);
2554
+ const o = "/api/v2/disciplines", n = new URL(o, P);
2557
2555
  let t;
2558
2556
  e && (t = e.baseOptions);
2559
2557
  const r = { method: "OPTIONS", ...t, ...s }, a = {}, l = {};
2560
- await P(a, "Authorization", e), I(n, l);
2558
+ await m(a, "Authorization", e), I(n, l);
2561
2559
  let c = t && t.headers ? t.headers : {};
2562
2560
  return r.headers = { ...a, ...c, ...s.headers }, {
2563
2561
  url: y(n),
@@ -2572,12 +2570,12 @@ const I = function(e, ...s) {
2572
2570
  * @throws {RequiredError}
2573
2571
  */
2574
2572
  getDiscipline: async (s, o = {}) => {
2575
- v("getDiscipline", "disciplineId", s);
2576
- const n = "/api/v2/disciplines/{disciplineId}".replace("{disciplineId}", encodeURIComponent(String(s))), t = new URL(n, m);
2573
+ j("getDiscipline", "disciplineId", s);
2574
+ const n = "/api/v2/disciplines/{disciplineId}".replace("{disciplineId}", encodeURIComponent(String(s))), t = new URL(n, P);
2577
2575
  let r;
2578
2576
  e && (r = e.baseOptions);
2579
2577
  const a = { method: "GET", ...r, ...o }, l = {}, c = {};
2580
- await P(l, "Authorization", e), I(t, c);
2578
+ await m(l, "Authorization", e), I(t, c);
2581
2579
  let i = r && r.headers ? r.headers : {};
2582
2580
  return a.headers = { ...l, ...i, ...o.headers }, {
2583
2581
  url: y(t),
@@ -2594,11 +2592,11 @@ const I = function(e, ...s) {
2594
2592
  * @throws {RequiredError}
2595
2593
  */
2596
2594
  getDisciplines: async (s, o, n, t = {}) => {
2597
- const r = "/api/v2/disciplines", a = new URL(r, m);
2595
+ const r = "/api/v2/disciplines", a = new URL(r, P);
2598
2596
  let l;
2599
2597
  e && (l = e.baseOptions);
2600
2598
  const c = { method: "GET", ...l, ...t }, i = {}, p = {};
2601
- await P(i, "Authorization", e), s !== void 0 && (p.PageNumber = s), o !== void 0 && (p.PageSize = o), n !== void 0 && (p.OrderBy = n), I(a, p);
2599
+ await m(i, "Authorization", e), s !== void 0 && (p.PageNumber = s), o !== void 0 && (p.PageSize = o), n !== void 0 && (p.OrderBy = n), I(a, p);
2602
2600
  let d = l && l.headers ? l.headers : {};
2603
2601
  return c.headers = { ...i, ...d, ...t.headers }, {
2604
2602
  url: y(a),
@@ -2689,11 +2687,11 @@ const I = function(e, ...s) {
2689
2687
  * @throws {RequiredError}
2690
2688
  */
2691
2689
  apiV2HandlesOptions: async (s = {}) => {
2692
- const o = "/api/v2/handles", n = new URL(o, m);
2690
+ const o = "/api/v2/handles", n = new URL(o, P);
2693
2691
  let t;
2694
2692
  e && (t = e.baseOptions);
2695
2693
  const r = { method: "OPTIONS", ...t, ...s }, a = {}, l = {};
2696
- await P(a, "Authorization", e), I(n, l);
2694
+ await m(a, "Authorization", e), I(n, l);
2697
2695
  let c = t && t.headers ? t.headers : {};
2698
2696
  return r.headers = { ...a, ...c, ...s.headers }, {
2699
2697
  url: y(n),
@@ -2709,12 +2707,12 @@ const I = function(e, ...s) {
2709
2707
  * @throws {RequiredError}
2710
2708
  */
2711
2709
  getHandle: async (s, o, n = {}) => {
2712
- v("getHandle", "prefix", s), v("getHandle", "suffix", o);
2713
- const t = "/api/v2/handles/{prefix}/{suffix}".replace("{prefix}", encodeURIComponent(String(s))).replace("{suffix}", encodeURIComponent(String(o))), r = new URL(t, m);
2710
+ j("getHandle", "prefix", s), j("getHandle", "suffix", o);
2711
+ const t = "/api/v2/handles/{prefix}/{suffix}".replace("{prefix}", encodeURIComponent(String(s))).replace("{suffix}", encodeURIComponent(String(o))), r = new URL(t, P);
2714
2712
  let a;
2715
2713
  e && (a = e.baseOptions);
2716
2714
  const l = { method: "GET", ...a, ...n }, c = {}, i = {};
2717
- await P(c, "Authorization", e), I(r, i);
2715
+ await m(c, "Authorization", e), I(r, i);
2718
2716
  let p = a && a.headers ? a.headers : {};
2719
2717
  return l.headers = { ...c, ...p, ...n.headers }, {
2720
2718
  url: y(r),
@@ -2731,12 +2729,12 @@ const I = function(e, ...s) {
2731
2729
  * @throws {RequiredError}
2732
2730
  */
2733
2731
  updateHandle: async (s, o, n, t = {}) => {
2734
- v("updateHandle", "prefix", s), v("updateHandle", "suffix", o);
2735
- const r = "/api/v2/handles/{prefix}/{suffix}".replace("{prefix}", encodeURIComponent(String(s))).replace("{suffix}", encodeURIComponent(String(o))), a = new URL(r, m);
2732
+ j("updateHandle", "prefix", s), j("updateHandle", "suffix", o);
2733
+ const r = "/api/v2/handles/{prefix}/{suffix}".replace("{prefix}", encodeURIComponent(String(s))).replace("{suffix}", encodeURIComponent(String(o))), a = new URL(r, P);
2736
2734
  let l;
2737
2735
  e && (l = e.baseOptions);
2738
2736
  const c = { method: "PUT", ...l, ...t }, i = {}, p = {};
2739
- await P(i, "Authorization", e), i["Content-Type"] = "application/json", I(a, p);
2737
+ await m(i, "Authorization", e), i["Content-Type"] = "application/json", I(a, p);
2740
2738
  let d = l && l.headers ? l.headers : {};
2741
2739
  return c.headers = { ...i, ...d, ...t.headers }, c.data = L(n, c, e), {
2742
2740
  url: y(a),
@@ -2828,11 +2826,11 @@ const I = function(e, ...s) {
2828
2826
  * @throws {RequiredError}
2829
2827
  */
2830
2828
  apiV2LanguagesOptions: async (s = {}) => {
2831
- const o = "/api/v2/languages", n = new URL(o, m);
2829
+ const o = "/api/v2/languages", n = new URL(o, P);
2832
2830
  let t;
2833
2831
  e && (t = e.baseOptions);
2834
2832
  const r = { method: "OPTIONS", ...t, ...s }, a = {}, l = {};
2835
- await P(a, "Authorization", e), I(n, l);
2833
+ await m(a, "Authorization", e), I(n, l);
2836
2834
  let c = t && t.headers ? t.headers : {};
2837
2835
  return r.headers = { ...a, ...c, ...s.headers }, {
2838
2836
  url: y(n),
@@ -2847,12 +2845,12 @@ const I = function(e, ...s) {
2847
2845
  * @throws {RequiredError}
2848
2846
  */
2849
2847
  getLanguage: async (s, o = {}) => {
2850
- v("getLanguage", "languageId", s);
2851
- const n = "/api/v2/languages/{languageId}".replace("{languageId}", encodeURIComponent(String(s))), t = new URL(n, m);
2848
+ j("getLanguage", "languageId", s);
2849
+ const n = "/api/v2/languages/{languageId}".replace("{languageId}", encodeURIComponent(String(s))), t = new URL(n, P);
2852
2850
  let r;
2853
2851
  e && (r = e.baseOptions);
2854
2852
  const a = { method: "GET", ...r, ...o }, l = {}, c = {};
2855
- await P(l, "Authorization", e), I(t, c);
2853
+ await m(l, "Authorization", e), I(t, c);
2856
2854
  let i = r && r.headers ? r.headers : {};
2857
2855
  return a.headers = { ...l, ...i, ...o.headers }, {
2858
2856
  url: y(t),
@@ -2869,11 +2867,11 @@ const I = function(e, ...s) {
2869
2867
  * @throws {RequiredError}
2870
2868
  */
2871
2869
  getLanguages: async (s, o, n, t = {}) => {
2872
- const r = "/api/v2/languages", a = new URL(r, m);
2870
+ const r = "/api/v2/languages", a = new URL(r, P);
2873
2871
  let l;
2874
2872
  e && (l = e.baseOptions);
2875
2873
  const c = { method: "GET", ...l, ...t }, i = {}, p = {};
2876
- await P(i, "Authorization", e), s !== void 0 && (p.PageNumber = s), o !== void 0 && (p.PageSize = o), n !== void 0 && (p.OrderBy = n), I(a, p);
2874
+ await m(i, "Authorization", e), s !== void 0 && (p.PageNumber = s), o !== void 0 && (p.PageSize = o), n !== void 0 && (p.OrderBy = n), I(a, p);
2877
2875
  let d = l && l.headers ? l.headers : {};
2878
2876
  return c.headers = { ...i, ...d, ...t.headers }, {
2879
2877
  url: y(a),
@@ -2964,11 +2962,11 @@ const I = function(e, ...s) {
2964
2962
  * @throws {RequiredError}
2965
2963
  */
2966
2964
  apiV2LicensesOptions: async (s = {}) => {
2967
- const o = "/api/v2/licenses", n = new URL(o, m);
2965
+ const o = "/api/v2/licenses", n = new URL(o, P);
2968
2966
  let t;
2969
2967
  e && (t = e.baseOptions);
2970
2968
  const r = { method: "OPTIONS", ...t, ...s }, a = {}, l = {};
2971
- await P(a, "Authorization", e), I(n, l);
2969
+ await m(a, "Authorization", e), I(n, l);
2972
2970
  let c = t && t.headers ? t.headers : {};
2973
2971
  return r.headers = { ...a, ...c, ...s.headers }, {
2974
2972
  url: y(n),
@@ -2983,12 +2981,12 @@ const I = function(e, ...s) {
2983
2981
  * @throws {RequiredError}
2984
2982
  */
2985
2983
  getLicense: async (s, o = {}) => {
2986
- v("getLicense", "licenseId", s);
2987
- const n = "/api/v2/licenses/{licenseId}".replace("{licenseId}", encodeURIComponent(String(s))), t = new URL(n, m);
2984
+ j("getLicense", "licenseId", s);
2985
+ const n = "/api/v2/licenses/{licenseId}".replace("{licenseId}", encodeURIComponent(String(s))), t = new URL(n, P);
2988
2986
  let r;
2989
2987
  e && (r = e.baseOptions);
2990
2988
  const a = { method: "GET", ...r, ...o }, l = {}, c = {};
2991
- await P(l, "Authorization", e), I(t, c);
2989
+ await m(l, "Authorization", e), I(t, c);
2992
2990
  let i = r && r.headers ? r.headers : {};
2993
2991
  return a.headers = { ...l, ...i, ...o.headers }, {
2994
2992
  url: y(t),
@@ -3005,11 +3003,11 @@ const I = function(e, ...s) {
3005
3003
  * @throws {RequiredError}
3006
3004
  */
3007
3005
  getLicenses: async (s, o, n, t = {}) => {
3008
- const r = "/api/v2/licenses", a = new URL(r, m);
3006
+ const r = "/api/v2/licenses", a = new URL(r, P);
3009
3007
  let l;
3010
3008
  e && (l = e.baseOptions);
3011
3009
  const c = { method: "GET", ...l, ...t }, i = {}, p = {};
3012
- await P(i, "Authorization", e), s !== void 0 && (p.PageNumber = s), o !== void 0 && (p.PageSize = o), n !== void 0 && (p.OrderBy = n), I(a, p);
3010
+ await m(i, "Authorization", e), s !== void 0 && (p.PageNumber = s), o !== void 0 && (p.PageSize = o), n !== void 0 && (p.OrderBy = n), I(a, p);
3013
3011
  let d = l && l.headers ? l.headers : {};
3014
3012
  return c.headers = { ...i, ...d, ...t.headers }, {
3015
3013
  url: y(a),
@@ -3100,11 +3098,11 @@ const I = function(e, ...s) {
3100
3098
  * @throws {RequiredError}
3101
3099
  */
3102
3100
  apiV2MaintenancesOptions: async (s = {}) => {
3103
- const o = "/api/v2/maintenances", n = new URL(o, m);
3101
+ const o = "/api/v2/maintenances", n = new URL(o, P);
3104
3102
  let t;
3105
3103
  e && (t = e.baseOptions);
3106
3104
  const r = { method: "OPTIONS", ...t, ...s }, a = {}, l = {};
3107
- await P(a, "Authorization", e), I(n, l);
3105
+ await m(a, "Authorization", e), I(n, l);
3108
3106
  let c = t && t.headers ? t.headers : {};
3109
3107
  return r.headers = { ...a, ...c, ...s.headers }, {
3110
3108
  url: y(n),
@@ -3119,11 +3117,11 @@ const I = function(e, ...s) {
3119
3117
  * @throws {RequiredError}
3120
3118
  */
3121
3119
  getCurrentMaintenances: async (s = {}) => {
3122
- const o = "/api/v2/maintenances", n = new URL(o, m);
3120
+ const o = "/api/v2/maintenances", n = new URL(o, P);
3123
3121
  let t;
3124
3122
  e && (t = e.baseOptions);
3125
3123
  const r = { method: "GET", ...t, ...s }, a = {}, l = {};
3126
- await P(a, "Authorization", e), I(n, l);
3124
+ await m(a, "Authorization", e), I(n, l);
3127
3125
  let c = t && t.headers ? t.headers : {};
3128
3126
  return r.headers = { ...a, ...c, ...s.headers }, {
3129
3127
  url: y(n),
@@ -3190,11 +3188,11 @@ const I = function(e, ...s) {
3190
3188
  * @throws {RequiredError}
3191
3189
  */
3192
3190
  apiV2NotificationsOptions: async (s = {}) => {
3193
- const o = "/api/v2/notifications", n = new URL(o, m);
3191
+ const o = "/api/v2/notifications", n = new URL(o, P);
3194
3192
  let t;
3195
3193
  e && (t = e.baseOptions);
3196
3194
  const r = { method: "OPTIONS", ...t, ...s }, a = {}, l = {};
3197
- await P(a, "Authorization", e), I(n, l);
3195
+ await m(a, "Authorization", e), I(n, l);
3198
3196
  let c = t && t.headers ? t.headers : {};
3199
3197
  return r.headers = { ...a, ...c, ...s.headers }, {
3200
3198
  url: y(n),
@@ -3209,12 +3207,12 @@ const I = function(e, ...s) {
3209
3207
  * @throws {RequiredError}
3210
3208
  */
3211
3209
  getNotification: async (s, o = {}) => {
3212
- v("getNotification", "notificationId", s);
3213
- const n = "/api/v2/notifications/{notificationId}".replace("{notificationId}", encodeURIComponent(String(s))), t = new URL(n, m);
3210
+ j("getNotification", "notificationId", s);
3211
+ const n = "/api/v2/notifications/{notificationId}".replace("{notificationId}", encodeURIComponent(String(s))), t = new URL(n, P);
3214
3212
  let r;
3215
3213
  e && (r = e.baseOptions);
3216
3214
  const a = { method: "GET", ...r, ...o }, l = {}, c = {};
3217
- await P(l, "Authorization", e), I(t, c);
3215
+ await m(l, "Authorization", e), I(t, c);
3218
3216
  let i = r && r.headers ? r.headers : {};
3219
3217
  return a.headers = { ...l, ...i, ...o.headers }, {
3220
3218
  url: y(t),
@@ -3231,11 +3229,11 @@ const I = function(e, ...s) {
3231
3229
  * @throws {RequiredError}
3232
3230
  */
3233
3231
  getNotifications: async (s, o, n, t = {}) => {
3234
- const r = "/api/v2/notifications", a = new URL(r, m);
3232
+ const r = "/api/v2/notifications", a = new URL(r, P);
3235
3233
  let l;
3236
3234
  e && (l = e.baseOptions);
3237
3235
  const c = { method: "GET", ...l, ...t }, i = {}, p = {};
3238
- await P(i, "Authorization", e), s !== void 0 && (p.PageNumber = s), o !== void 0 && (p.PageSize = o), n !== void 0 && (p.OrderBy = n), I(a, p);
3236
+ await m(i, "Authorization", e), s !== void 0 && (p.PageNumber = s), o !== void 0 && (p.PageSize = o), n !== void 0 && (p.OrderBy = n), I(a, p);
3239
3237
  let d = l && l.headers ? l.headers : {};
3240
3238
  return c.headers = { ...i, ...d, ...t.headers }, {
3241
3239
  url: y(a),
@@ -3326,11 +3324,11 @@ const I = function(e, ...s) {
3326
3324
  * @throws {RequiredError}
3327
3325
  */
3328
3326
  apiV2OrganizationsOptions: async (s = {}) => {
3329
- const o = "/api/v2/organizations", n = new URL(o, m);
3327
+ const o = "/api/v2/organizations", n = new URL(o, P);
3330
3328
  let t;
3331
3329
  e && (t = e.baseOptions);
3332
3330
  const r = { method: "OPTIONS", ...t, ...s }, a = {}, l = {};
3333
- await P(a, "Authorization", e), I(n, l);
3331
+ await m(a, "Authorization", e), I(n, l);
3334
3332
  let c = t && t.headers ? t.headers : {};
3335
3333
  return r.headers = { ...a, ...c, ...s.headers }, {
3336
3334
  url: y(n),
@@ -3345,12 +3343,12 @@ const I = function(e, ...s) {
3345
3343
  * @throws {RequiredError}
3346
3344
  */
3347
3345
  getOrganization: async (s, o = {}) => {
3348
- v("getOrganization", "organizationRorUri", s);
3349
- const n = "/api/v2/organizations/{organizationRorUri}".replace("{organizationRorUri}", encodeURIComponent(String(s))), t = new URL(n, m);
3346
+ j("getOrganization", "organizationRorUri", s);
3347
+ const n = "/api/v2/organizations/{organizationRorUri}".replace("{organizationRorUri}", encodeURIComponent(String(s))), t = new URL(n, P);
3350
3348
  let r;
3351
3349
  e && (r = e.baseOptions);
3352
3350
  const a = { method: "GET", ...r, ...o }, l = {}, c = {};
3353
- await P(l, "Authorization", e), I(t, c);
3351
+ await m(l, "Authorization", e), I(t, c);
3354
3352
  let i = r && r.headers ? r.headers : {};
3355
3353
  return a.headers = { ...l, ...i, ...o.headers }, {
3356
3354
  url: y(t),
@@ -3370,11 +3368,11 @@ const I = function(e, ...s) {
3370
3368
  * @throws {RequiredError}
3371
3369
  */
3372
3370
  getOrganizations: async (s, o, n, t, r, a, l = {}) => {
3373
- const c = "/api/v2/organizations", i = new URL(c, m);
3371
+ const c = "/api/v2/organizations", i = new URL(c, P);
3374
3372
  let p;
3375
3373
  e && (p = e.baseOptions);
3376
3374
  const d = { method: "GET", ...p, ...l }, h = {}, V = {};
3377
- await P(h, "Authorization", e), s !== void 0 && (V.SearchTerm = s), o !== void 0 && (V.Language = o), n !== void 0 && (V.FilterByPublicationService = n), t !== void 0 && (V.PageNumber = t), r !== void 0 && (V.PageSize = r), a !== void 0 && (V.OrderBy = a), I(i, V);
3375
+ await m(h, "Authorization", e), s !== void 0 && (V.SearchTerm = s), o !== void 0 && (V.Language = o), n !== void 0 && (V.FilterByPublicationService = n), t !== void 0 && (V.PageNumber = t), r !== void 0 && (V.PageSize = r), a !== void 0 && (V.OrderBy = a), I(i, V);
3378
3376
  let R = p && p.headers ? p.headers : {};
3379
3377
  return d.headers = { ...h, ...R, ...l.headers }, {
3380
3378
  url: y(i),
@@ -3468,11 +3466,11 @@ const I = function(e, ...s) {
3468
3466
  * @throws {RequiredError}
3469
3467
  */
3470
3468
  apiV2PidsOptions: async (s = {}) => {
3471
- const o = "/api/v2/pids", n = new URL(o, m);
3469
+ const o = "/api/v2/pids", n = new URL(o, P);
3472
3470
  let t;
3473
3471
  e && (t = e.baseOptions);
3474
3472
  const r = { method: "OPTIONS", ...t, ...s }, a = {}, l = {};
3475
- await P(a, "Authorization", e), I(n, l);
3473
+ await m(a, "Authorization", e), I(n, l);
3476
3474
  let c = t && t.headers ? t.headers : {};
3477
3475
  return r.headers = { ...a, ...c, ...s.headers }, {
3478
3476
  url: y(n),
@@ -3488,12 +3486,12 @@ const I = function(e, ...s) {
3488
3486
  * @throws {RequiredError}
3489
3487
  */
3490
3488
  getPid: async (s, o, n = {}) => {
3491
- v("getPid", "prefix", s), v("getPid", "suffix", o);
3492
- const t = "/api/v2/pids/{prefix}/{suffix}".replace("{prefix}", encodeURIComponent(String(s))).replace("{suffix}", encodeURIComponent(String(o))), r = new URL(t, m);
3489
+ j("getPid", "prefix", s), j("getPid", "suffix", o);
3490
+ const t = "/api/v2/pids/{prefix}/{suffix}".replace("{prefix}", encodeURIComponent(String(s))).replace("{suffix}", encodeURIComponent(String(o))), r = new URL(t, P);
3493
3491
  let a;
3494
3492
  e && (a = e.baseOptions);
3495
3493
  const l = { method: "GET", ...a, ...n }, c = {}, i = {};
3496
- await P(c, "Authorization", e), I(r, i);
3494
+ await m(c, "Authorization", e), I(r, i);
3497
3495
  let p = a && a.headers ? a.headers : {};
3498
3496
  return l.headers = { ...c, ...p, ...n.headers }, {
3499
3497
  url: y(r),
@@ -3513,11 +3511,11 @@ const I = function(e, ...s) {
3513
3511
  * @throws {RequiredError}
3514
3512
  */
3515
3513
  getPids: async (s, o, n, t, r, a, l = {}) => {
3516
- const c = "/api/v2/pids", i = new URL(c, m);
3514
+ const c = "/api/v2/pids", i = new URL(c, P);
3517
3515
  let p;
3518
3516
  e && (p = e.baseOptions);
3519
3517
  const d = { method: "GET", ...p, ...l }, h = {}, V = {};
3520
- await P(h, "Authorization", e), s !== void 0 && (V.IncludeProjects = s), o !== void 0 && (V.IncludeResources = o), n !== void 0 && (V.IncludeDeleted = n), t !== void 0 && (V.PageNumber = t), r !== void 0 && (V.PageSize = r), a !== void 0 && (V.OrderBy = a), I(i, V);
3518
+ await m(h, "Authorization", e), s !== void 0 && (V.IncludeProjects = s), o !== void 0 && (V.IncludeResources = o), n !== void 0 && (V.IncludeDeleted = n), t !== void 0 && (V.PageNumber = t), r !== void 0 && (V.PageSize = r), a !== void 0 && (V.OrderBy = a), I(i, V);
3521
3519
  let R = p && p.headers ? p.headers : {};
3522
3520
  return d.headers = { ...h, ...R, ...l.headers }, {
3523
3521
  url: y(i),
@@ -3534,12 +3532,12 @@ const I = function(e, ...s) {
3534
3532
  * @throws {RequiredError}
3535
3533
  */
3536
3534
  sendRequestToOwner: async (s, o, n, t = {}) => {
3537
- v("sendRequestToOwner", "prefix", s), v("sendRequestToOwner", "suffix", o);
3538
- const r = "/api/v2/pids/{prefix}/{suffix}/requests".replace("{prefix}", encodeURIComponent(String(s))).replace("{suffix}", encodeURIComponent(String(o))), a = new URL(r, m);
3535
+ j("sendRequestToOwner", "prefix", s), j("sendRequestToOwner", "suffix", o);
3536
+ const r = "/api/v2/pids/{prefix}/{suffix}/requests".replace("{prefix}", encodeURIComponent(String(s))).replace("{suffix}", encodeURIComponent(String(o))), a = new URL(r, P);
3539
3537
  let l;
3540
3538
  e && (l = e.baseOptions);
3541
3539
  const c = { method: "POST", ...l, ...t }, i = {}, p = {};
3542
- await P(i, "Authorization", e), i["Content-Type"] = "application/json", I(a, p);
3540
+ await m(i, "Authorization", e), i["Content-Type"] = "application/json", I(a, p);
3543
3541
  let d = l && l.headers ? l.headers : {};
3544
3542
  return c.headers = { ...i, ...d, ...t.headers }, c.data = L(n, c, e), {
3545
3543
  url: y(a),
@@ -3658,11 +3656,11 @@ const I = function(e, ...s) {
3658
3656
  * @throws {RequiredError}
3659
3657
  */
3660
3658
  apiV2ProjectsOptions: async (s = {}) => {
3661
- const o = "/api/v2/projects", n = new URL(o, m);
3659
+ const o = "/api/v2/projects", n = new URL(o, P);
3662
3660
  let t;
3663
3661
  e && (t = e.baseOptions);
3664
3662
  const r = { method: "OPTIONS", ...t, ...s }, a = {}, l = {};
3665
- await P(a, "Authorization", e), I(n, l);
3663
+ await m(a, "Authorization", e), I(n, l);
3666
3664
  let c = t && t.headers ? t.headers : {};
3667
3665
  return r.headers = { ...a, ...c, ...s.headers }, {
3668
3666
  url: y(n),
@@ -3677,11 +3675,11 @@ const I = function(e, ...s) {
3677
3675
  * @throws {RequiredError}
3678
3676
  */
3679
3677
  createProject: async (s, o = {}) => {
3680
- const n = "/api/v2/projects", t = new URL(n, m);
3678
+ const n = "/api/v2/projects", t = new URL(n, P);
3681
3679
  let r;
3682
3680
  e && (r = e.baseOptions);
3683
3681
  const a = { method: "POST", ...r, ...o }, l = {}, c = {};
3684
- await P(l, "Authorization", e), l["Content-Type"] = "application/json", I(t, c);
3682
+ await m(l, "Authorization", e), l["Content-Type"] = "application/json", I(t, c);
3685
3683
  let i = r && r.headers ? r.headers : {};
3686
3684
  return a.headers = { ...l, ...i, ...o.headers }, a.data = L(s, a, e), {
3687
3685
  url: y(t),
@@ -3696,12 +3694,12 @@ const I = function(e, ...s) {
3696
3694
  * @throws {RequiredError}
3697
3695
  */
3698
3696
  deleteProject: async (s, o = {}) => {
3699
- v("deleteProject", "projectId", s);
3700
- const n = "/api/v2/projects/{projectId}".replace("{projectId}", encodeURIComponent(String(s))), t = new URL(n, m);
3697
+ j("deleteProject", "projectId", s);
3698
+ const n = "/api/v2/projects/{projectId}".replace("{projectId}", encodeURIComponent(String(s))), t = new URL(n, P);
3701
3699
  let r;
3702
3700
  e && (r = e.baseOptions);
3703
3701
  const a = { method: "DELETE", ...r, ...o }, l = {}, c = {};
3704
- await P(l, "Authorization", e), I(t, c);
3702
+ await m(l, "Authorization", e), I(t, c);
3705
3703
  let i = r && r.headers ? r.headers : {};
3706
3704
  return a.headers = { ...l, ...i, ...o.headers }, {
3707
3705
  url: y(t),
@@ -3717,12 +3715,12 @@ const I = function(e, ...s) {
3717
3715
  * @throws {RequiredError}
3718
3716
  */
3719
3717
  getProject: async (s, o, n = {}) => {
3720
- v("getProject", "projectId", s);
3721
- const t = "/api/v2/projects/{projectId}".replace("{projectId}", encodeURIComponent(String(s))), r = new URL(t, m);
3718
+ j("getProject", "projectId", s);
3719
+ const t = "/api/v2/projects/{projectId}".replace("{projectId}", encodeURIComponent(String(s))), r = new URL(t, P);
3722
3720
  let a;
3723
3721
  e && (a = e.baseOptions);
3724
3722
  const l = { method: "GET", ...a, ...n }, c = {}, i = {};
3725
- await P(c, "Authorization", e), o !== void 0 && (i.IncludeSubProjects = o), I(r, i);
3723
+ await m(c, "Authorization", e), o !== void 0 && (i.IncludeSubProjects = o), I(r, i);
3726
3724
  let p = a && a.headers ? a.headers : {};
3727
3725
  return l.headers = { ...c, ...p, ...n.headers }, {
3728
3726
  url: y(r),
@@ -3741,11 +3739,11 @@ const I = function(e, ...s) {
3741
3739
  * @throws {RequiredError}
3742
3740
  */
3743
3741
  getProjects: async (s, o, n, t, r, a = {}) => {
3744
- const l = "/api/v2/projects", c = new URL(l, m);
3742
+ const l = "/api/v2/projects", c = new URL(l, P);
3745
3743
  let i;
3746
3744
  e && (i = e.baseOptions);
3747
3745
  const p = { method: "GET", ...i, ...a }, d = {}, h = {};
3748
- await P(d, "Authorization", e), s !== void 0 && (h.IncludeOrganizations = s), o !== void 0 && (h.TopLevel = o), n !== void 0 && (h.PageNumber = n), t !== void 0 && (h.PageSize = t), r !== void 0 && (h.OrderBy = r), I(c, h);
3746
+ await m(d, "Authorization", e), s !== void 0 && (h.IncludeOrganizations = s), o !== void 0 && (h.TopLevel = o), n !== void 0 && (h.PageNumber = n), t !== void 0 && (h.PageSize = t), r !== void 0 && (h.OrderBy = r), I(c, h);
3749
3747
  let V = i && i.headers ? i.headers : {};
3750
3748
  return p.headers = { ...d, ...V, ...a.headers }, {
3751
3749
  url: y(c),
@@ -3761,12 +3759,12 @@ const I = function(e, ...s) {
3761
3759
  * @throws {RequiredError}
3762
3760
  */
3763
3761
  updateProject: async (s, o, n = {}) => {
3764
- v("updateProject", "projectId", s);
3765
- const t = "/api/v2/projects/{projectId}".replace("{projectId}", encodeURIComponent(String(s))), r = new URL(t, m);
3762
+ j("updateProject", "projectId", s);
3763
+ const t = "/api/v2/projects/{projectId}".replace("{projectId}", encodeURIComponent(String(s))), r = new URL(t, P);
3766
3764
  let a;
3767
3765
  e && (a = e.baseOptions);
3768
3766
  const l = { method: "PUT", ...a, ...n }, c = {}, i = {};
3769
- await P(c, "Authorization", e), c["Content-Type"] = "application/json", I(r, i);
3767
+ await m(c, "Authorization", e), c["Content-Type"] = "application/json", I(r, i);
3770
3768
  let p = a && a.headers ? a.headers : {};
3771
3769
  return l.headers = { ...c, ...p, ...n.headers }, l.data = L(o, l, e), {
3772
3770
  url: y(r),
@@ -3928,12 +3926,12 @@ const I = function(e, ...s) {
3928
3926
  * @throws {RequiredError}
3929
3927
  */
3930
3928
  apiV2ProjectsProjectIdInvitationsOptions: async (s, o = {}) => {
3931
- v("apiV2ProjectsProjectIdInvitationsOptions", "projectId", s);
3932
- const n = "/api/v2/projects/{projectId}/invitations".replace("{projectId}", encodeURIComponent(String(s))), t = new URL(n, m);
3929
+ j("apiV2ProjectsProjectIdInvitationsOptions", "projectId", s);
3930
+ const n = "/api/v2/projects/{projectId}/invitations".replace("{projectId}", encodeURIComponent(String(s))), t = new URL(n, P);
3933
3931
  let r;
3934
3932
  e && (r = e.baseOptions);
3935
3933
  const a = { method: "OPTIONS", ...r, ...o }, l = {}, c = {};
3936
- await P(l, "Authorization", e), I(t, c);
3934
+ await m(l, "Authorization", e), I(t, c);
3937
3935
  let i = r && r.headers ? r.headers : {};
3938
3936
  return a.headers = { ...l, ...i, ...o.headers }, {
3939
3937
  url: y(t),
@@ -3949,12 +3947,12 @@ const I = function(e, ...s) {
3949
3947
  * @throws {RequiredError}
3950
3948
  */
3951
3949
  createProjectInvitation: async (s, o, n = {}) => {
3952
- v("createProjectInvitation", "projectId", s);
3953
- const t = "/api/v2/projects/{projectId}/invitations".replace("{projectId}", encodeURIComponent(String(s))), r = new URL(t, m);
3950
+ j("createProjectInvitation", "projectId", s);
3951
+ const t = "/api/v2/projects/{projectId}/invitations".replace("{projectId}", encodeURIComponent(String(s))), r = new URL(t, P);
3954
3952
  let a;
3955
3953
  e && (a = e.baseOptions);
3956
3954
  const l = { method: "POST", ...a, ...n }, c = {}, i = {};
3957
- await P(c, "Authorization", e), c["Content-Type"] = "application/json", I(r, i);
3955
+ await m(c, "Authorization", e), c["Content-Type"] = "application/json", I(r, i);
3958
3956
  let p = a && a.headers ? a.headers : {};
3959
3957
  return l.headers = { ...c, ...p, ...n.headers }, l.data = L(o, l, e), {
3960
3958
  url: y(r),
@@ -3970,12 +3968,12 @@ const I = function(e, ...s) {
3970
3968
  * @throws {RequiredError}
3971
3969
  */
3972
3970
  deleteProjectInvitation: async (s, o, n = {}) => {
3973
- v("deleteProjectInvitation", "projectId", s), v("deleteProjectInvitation", "projectInvitationId", o);
3974
- const t = "/api/v2/projects/{projectId}/invitations/{projectInvitationId}".replace("{projectId}", encodeURIComponent(String(s))).replace("{projectInvitationId}", encodeURIComponent(String(o))), r = new URL(t, m);
3971
+ j("deleteProjectInvitation", "projectId", s), j("deleteProjectInvitation", "projectInvitationId", o);
3972
+ const t = "/api/v2/projects/{projectId}/invitations/{projectInvitationId}".replace("{projectId}", encodeURIComponent(String(s))).replace("{projectInvitationId}", encodeURIComponent(String(o))), r = new URL(t, P);
3975
3973
  let a;
3976
3974
  e && (a = e.baseOptions);
3977
3975
  const l = { method: "DELETE", ...a, ...n }, c = {}, i = {};
3978
- await P(c, "Authorization", e), I(r, i);
3976
+ await m(c, "Authorization", e), I(r, i);
3979
3977
  let p = a && a.headers ? a.headers : {};
3980
3978
  return l.headers = { ...c, ...p, ...n.headers }, {
3981
3979
  url: y(r),
@@ -3991,12 +3989,12 @@ const I = function(e, ...s) {
3991
3989
  * @throws {RequiredError}
3992
3990
  */
3993
3991
  getProjectInvitation: async (s, o, n = {}) => {
3994
- v("getProjectInvitation", "projectId", s), v("getProjectInvitation", "projectInvitationId", o);
3995
- const t = "/api/v2/projects/{projectId}/invitations/{projectInvitationId}".replace("{projectId}", encodeURIComponent(String(s))).replace("{projectInvitationId}", encodeURIComponent(String(o))), r = new URL(t, m);
3992
+ j("getProjectInvitation", "projectId", s), j("getProjectInvitation", "projectInvitationId", o);
3993
+ const t = "/api/v2/projects/{projectId}/invitations/{projectInvitationId}".replace("{projectId}", encodeURIComponent(String(s))).replace("{projectInvitationId}", encodeURIComponent(String(o))), r = new URL(t, P);
3996
3994
  let a;
3997
3995
  e && (a = e.baseOptions);
3998
3996
  const l = { method: "GET", ...a, ...n }, c = {}, i = {};
3999
- await P(c, "Authorization", e), I(r, i);
3997
+ await m(c, "Authorization", e), I(r, i);
4000
3998
  let p = a && a.headers ? a.headers : {};
4001
3999
  return l.headers = { ...c, ...p, ...n.headers }, {
4002
4000
  url: y(r),
@@ -4014,12 +4012,12 @@ const I = function(e, ...s) {
4014
4012
  * @throws {RequiredError}
4015
4013
  */
4016
4014
  getProjectInvitations: async (s, o, n, t, r = {}) => {
4017
- v("getProjectInvitations", "projectId", s);
4018
- const a = "/api/v2/projects/{projectId}/invitations".replace("{projectId}", encodeURIComponent(String(s))), l = new URL(a, m);
4015
+ j("getProjectInvitations", "projectId", s);
4016
+ const a = "/api/v2/projects/{projectId}/invitations".replace("{projectId}", encodeURIComponent(String(s))), l = new URL(a, P);
4019
4017
  let c;
4020
4018
  e && (c = e.baseOptions);
4021
4019
  const i = { method: "GET", ...c, ...r }, p = {}, d = {};
4022
- await P(p, "Authorization", e), o !== void 0 && (d.PageNumber = o), n !== void 0 && (d.PageSize = n), t !== void 0 && (d.OrderBy = t), I(l, d);
4020
+ await m(p, "Authorization", e), o !== void 0 && (d.PageNumber = o), n !== void 0 && (d.PageSize = n), t !== void 0 && (d.OrderBy = t), I(l, d);
4023
4021
  let h = c && c.headers ? c.headers : {};
4024
4022
  return i.headers = { ...p, ...h, ...r.headers }, {
4025
4023
  url: y(l),
@@ -4162,12 +4160,12 @@ const I = function(e, ...s) {
4162
4160
  * @throws {RequiredError}
4163
4161
  */
4164
4162
  addMembership: async (s, o, n = {}) => {
4165
- v("addMembership", "projectId", s);
4166
- const t = "/api/v2/projects/{projectId}/members".replace("{projectId}", encodeURIComponent(String(s))), r = new URL(t, m);
4163
+ j("addMembership", "projectId", s);
4164
+ const t = "/api/v2/projects/{projectId}/members".replace("{projectId}", encodeURIComponent(String(s))), r = new URL(t, P);
4167
4165
  let a;
4168
4166
  e && (a = e.baseOptions);
4169
4167
  const l = { method: "POST", ...a, ...n }, c = {}, i = {};
4170
- await P(c, "Authorization", e), c["Content-Type"] = "application/json", I(r, i);
4168
+ await m(c, "Authorization", e), c["Content-Type"] = "application/json", I(r, i);
4171
4169
  let p = a && a.headers ? a.headers : {};
4172
4170
  return l.headers = { ...c, ...p, ...n.headers }, l.data = L(o, l, e), {
4173
4171
  url: y(r),
@@ -4182,12 +4180,12 @@ const I = function(e, ...s) {
4182
4180
  * @throws {RequiredError}
4183
4181
  */
4184
4182
  apiV2ProjectsProjectIdMembersOptions: async (s, o = {}) => {
4185
- v("apiV2ProjectsProjectIdMembersOptions", "projectId", s);
4186
- const n = "/api/v2/projects/{projectId}/members".replace("{projectId}", encodeURIComponent(String(s))), t = new URL(n, m);
4183
+ j("apiV2ProjectsProjectIdMembersOptions", "projectId", s);
4184
+ const n = "/api/v2/projects/{projectId}/members".replace("{projectId}", encodeURIComponent(String(s))), t = new URL(n, P);
4187
4185
  let r;
4188
4186
  e && (r = e.baseOptions);
4189
4187
  const a = { method: "OPTIONS", ...r, ...o }, l = {}, c = {};
4190
- await P(l, "Authorization", e), I(t, c);
4188
+ await m(l, "Authorization", e), I(t, c);
4191
4189
  let i = r && r.headers ? r.headers : {};
4192
4190
  return a.headers = { ...l, ...i, ...o.headers }, {
4193
4191
  url: y(t),
@@ -4203,12 +4201,12 @@ const I = function(e, ...s) {
4203
4201
  * @throws {RequiredError}
4204
4202
  */
4205
4203
  deleteMembership: async (s, o, n = {}) => {
4206
- v("deleteMembership", "projectId", s), v("deleteMembership", "membershipId", o);
4207
- const t = "/api/v2/projects/{projectId}/members/{membershipId}".replace("{projectId}", encodeURIComponent(String(s))).replace("{membershipId}", encodeURIComponent(String(o))), r = new URL(t, m);
4204
+ j("deleteMembership", "projectId", s), j("deleteMembership", "membershipId", o);
4205
+ const t = "/api/v2/projects/{projectId}/members/{membershipId}".replace("{projectId}", encodeURIComponent(String(s))).replace("{membershipId}", encodeURIComponent(String(o))), r = new URL(t, P);
4208
4206
  let a;
4209
4207
  e && (a = e.baseOptions);
4210
4208
  const l = { method: "DELETE", ...a, ...n }, c = {}, i = {};
4211
- await P(c, "Authorization", e), I(r, i);
4209
+ await m(c, "Authorization", e), I(r, i);
4212
4210
  let p = a && a.headers ? a.headers : {};
4213
4211
  return l.headers = { ...c, ...p, ...n.headers }, {
4214
4212
  url: y(r),
@@ -4224,12 +4222,12 @@ const I = function(e, ...s) {
4224
4222
  * @throws {RequiredError}
4225
4223
  */
4226
4224
  getMembership: async (s, o, n = {}) => {
4227
- v("getMembership", "projectId", s), v("getMembership", "membershipId", o);
4228
- const t = "/api/v2/projects/{projectId}/members/{membershipId}".replace("{projectId}", encodeURIComponent(String(s))).replace("{membershipId}", encodeURIComponent(String(o))), r = new URL(t, m);
4225
+ j("getMembership", "projectId", s), j("getMembership", "membershipId", o);
4226
+ const t = "/api/v2/projects/{projectId}/members/{membershipId}".replace("{projectId}", encodeURIComponent(String(s))).replace("{membershipId}", encodeURIComponent(String(o))), r = new URL(t, P);
4229
4227
  let a;
4230
4228
  e && (a = e.baseOptions);
4231
4229
  const l = { method: "GET", ...a, ...n }, c = {}, i = {};
4232
- await P(c, "Authorization", e), I(r, i);
4230
+ await m(c, "Authorization", e), I(r, i);
4233
4231
  let p = a && a.headers ? a.headers : {};
4234
4232
  return l.headers = { ...c, ...p, ...n.headers }, {
4235
4233
  url: y(r),
@@ -4247,12 +4245,12 @@ const I = function(e, ...s) {
4247
4245
  * @throws {RequiredError}
4248
4246
  */
4249
4247
  getMemberships: async (s, o, n, t, r = {}) => {
4250
- v("getMemberships", "projectId", s);
4251
- const a = "/api/v2/projects/{projectId}/members".replace("{projectId}", encodeURIComponent(String(s))), l = new URL(a, m);
4248
+ j("getMemberships", "projectId", s);
4249
+ const a = "/api/v2/projects/{projectId}/members".replace("{projectId}", encodeURIComponent(String(s))), l = new URL(a, P);
4252
4250
  let c;
4253
4251
  e && (c = e.baseOptions);
4254
4252
  const i = { method: "GET", ...c, ...r }, p = {}, d = {};
4255
- await P(p, "Authorization", e), o !== void 0 && (d.PageNumber = o), n !== void 0 && (d.PageSize = n), t !== void 0 && (d.OrderBy = t), I(l, d);
4253
+ await m(p, "Authorization", e), o !== void 0 && (d.PageNumber = o), n !== void 0 && (d.PageSize = n), t !== void 0 && (d.OrderBy = t), I(l, d);
4256
4254
  let h = c && c.headers ? c.headers : {};
4257
4255
  return i.headers = { ...p, ...h, ...r.headers }, {
4258
4256
  url: y(l),
@@ -4269,12 +4267,12 @@ const I = function(e, ...s) {
4269
4267
  * @throws {RequiredError}
4270
4268
  */
4271
4269
  updateMembership: async (s, o, n, t = {}) => {
4272
- v("updateMembership", "projectId", s), v("updateMembership", "membershipId", o);
4273
- const r = "/api/v2/projects/{projectId}/members/{membershipId}".replace("{projectId}", encodeURIComponent(String(s))).replace("{membershipId}", encodeURIComponent(String(o))), a = new URL(r, m);
4270
+ j("updateMembership", "projectId", s), j("updateMembership", "membershipId", o);
4271
+ const r = "/api/v2/projects/{projectId}/members/{membershipId}".replace("{projectId}", encodeURIComponent(String(s))).replace("{membershipId}", encodeURIComponent(String(o))), a = new URL(r, P);
4274
4272
  let l;
4275
4273
  e && (l = e.baseOptions);
4276
4274
  const c = { method: "PUT", ...l, ...t }, i = {}, p = {};
4277
- await P(i, "Authorization", e), i["Content-Type"] = "application/json", I(a, p);
4275
+ await m(i, "Authorization", e), i["Content-Type"] = "application/json", I(a, p);
4278
4276
  let d = l && l.headers ? l.headers : {};
4279
4277
  return c.headers = { ...i, ...d, ...t.headers }, c.data = L(n, c, e), {
4280
4278
  url: y(a),
@@ -4440,12 +4438,12 @@ const I = function(e, ...s) {
4440
4438
  * @throws {RequiredError}
4441
4439
  */
4442
4440
  apiV2ProjectsProjectIdPublicationsRequestsOptions: async (s, o = {}) => {
4443
- v("apiV2ProjectsProjectIdPublicationsRequestsOptions", "projectId", s);
4444
- const n = "/api/v2/projects/{projectId}/publications/requests".replace("{projectId}", encodeURIComponent(String(s))), t = new URL(n, m);
4441
+ j("apiV2ProjectsProjectIdPublicationsRequestsOptions", "projectId", s);
4442
+ const n = "/api/v2/projects/{projectId}/publications/requests".replace("{projectId}", encodeURIComponent(String(s))), t = new URL(n, P);
4445
4443
  let r;
4446
4444
  e && (r = e.baseOptions);
4447
4445
  const a = { method: "OPTIONS", ...r, ...o }, l = {}, c = {};
4448
- await P(l, "Authorization", e), I(t, c);
4446
+ await m(l, "Authorization", e), I(t, c);
4449
4447
  let i = r && r.headers ? r.headers : {};
4450
4448
  return a.headers = { ...l, ...i, ...o.headers }, {
4451
4449
  url: y(t),
@@ -4461,12 +4459,12 @@ const I = function(e, ...s) {
4461
4459
  * @throws {RequiredError}
4462
4460
  */
4463
4461
  createPublicationRequest: async (s, o, n = {}) => {
4464
- v("createPublicationRequest", "projectId", s);
4465
- const t = "/api/v2/projects/{projectId}/publications/requests".replace("{projectId}", encodeURIComponent(String(s))), r = new URL(t, m);
4462
+ j("createPublicationRequest", "projectId", s);
4463
+ const t = "/api/v2/projects/{projectId}/publications/requests".replace("{projectId}", encodeURIComponent(String(s))), r = new URL(t, P);
4466
4464
  let a;
4467
4465
  e && (a = e.baseOptions);
4468
4466
  const l = { method: "POST", ...a, ...n }, c = {}, i = {};
4469
- await P(c, "Authorization", e), c["Content-Type"] = "application/json", I(r, i);
4467
+ await m(c, "Authorization", e), c["Content-Type"] = "application/json", I(r, i);
4470
4468
  let p = a && a.headers ? a.headers : {};
4471
4469
  return l.headers = { ...c, ...p, ...n.headers }, l.data = L(o, l, e), {
4472
4470
  url: y(r),
@@ -4482,12 +4480,12 @@ const I = function(e, ...s) {
4482
4480
  * @throws {RequiredError}
4483
4481
  */
4484
4482
  getPublicationRequest: async (s, o, n = {}) => {
4485
- v("getPublicationRequest", "projectId", s), v("getPublicationRequest", "publicationRequestId", o);
4486
- const t = "/api/v2/projects/{projectId}/publications/requests/{publicationRequestId}".replace("{projectId}", encodeURIComponent(String(s))).replace("{publicationRequestId}", encodeURIComponent(String(o))), r = new URL(t, m);
4483
+ j("getPublicationRequest", "projectId", s), j("getPublicationRequest", "publicationRequestId", o);
4484
+ const t = "/api/v2/projects/{projectId}/publications/requests/{publicationRequestId}".replace("{projectId}", encodeURIComponent(String(s))).replace("{publicationRequestId}", encodeURIComponent(String(o))), r = new URL(t, P);
4487
4485
  let a;
4488
4486
  e && (a = e.baseOptions);
4489
4487
  const l = { method: "GET", ...a, ...n }, c = {}, i = {};
4490
- await P(c, "Authorization", e), I(r, i);
4488
+ await m(c, "Authorization", e), I(r, i);
4491
4489
  let p = a && a.headers ? a.headers : {};
4492
4490
  return l.headers = { ...c, ...p, ...n.headers }, {
4493
4491
  url: y(r),
@@ -4495,7 +4493,7 @@ const I = function(e, ...s) {
4495
4493
  };
4496
4494
  }
4497
4495
  };
4498
- }, ma = function(e) {
4496
+ }, Pa = function(e) {
4499
4497
  const s = Aa(e);
4500
4498
  return {
4501
4499
  /**
@@ -4537,8 +4535,8 @@ const I = function(e, ...s) {
4537
4535
  return (p, d) => b(r, O, u, e)(p, l || d);
4538
4536
  }
4539
4537
  };
4540
- }, Pa = function(e, s, o) {
4541
- const n = ma(e);
4538
+ }, ma = function(e, s, o) {
4539
+ const n = Pa(e);
4542
4540
  return {
4543
4541
  /**
4544
4542
  *
@@ -4581,12 +4579,12 @@ const I = function(e, ...s) {
4581
4579
  * @throws {RequiredError}
4582
4580
  */
4583
4581
  apiV2ProjectsProjectIdQuotasOptions: async (s, o = {}) => {
4584
- v("apiV2ProjectsProjectIdQuotasOptions", "projectId", s);
4585
- const n = "/api/v2/projects/{projectId}/quotas".replace("{projectId}", encodeURIComponent(String(s))), t = new URL(n, m);
4582
+ j("apiV2ProjectsProjectIdQuotasOptions", "projectId", s);
4583
+ const n = "/api/v2/projects/{projectId}/quotas".replace("{projectId}", encodeURIComponent(String(s))), t = new URL(n, P);
4586
4584
  let r;
4587
4585
  e && (r = e.baseOptions);
4588
4586
  const a = { method: "OPTIONS", ...r, ...o }, l = {}, c = {};
4589
- await P(l, "Authorization", e), I(t, c);
4587
+ await m(l, "Authorization", e), I(t, c);
4590
4588
  let i = r && r.headers ? r.headers : {};
4591
4589
  return a.headers = { ...l, ...i, ...o.headers }, {
4592
4590
  url: y(t),
@@ -4602,12 +4600,12 @@ const I = function(e, ...s) {
4602
4600
  * @throws {RequiredError}
4603
4601
  */
4604
4602
  getProjectQuota: async (s, o, n = {}) => {
4605
- v("getProjectQuota", "projectId", s), v("getProjectQuota", "resourceTypeId", o);
4606
- const t = "/api/v2/projects/{projectId}/quotas/{resourceTypeId}".replace("{projectId}", encodeURIComponent(String(s))).replace("{resourceTypeId}", encodeURIComponent(String(o))), r = new URL(t, m);
4603
+ j("getProjectQuota", "projectId", s), j("getProjectQuota", "resourceTypeId", o);
4604
+ const t = "/api/v2/projects/{projectId}/quotas/{resourceTypeId}".replace("{projectId}", encodeURIComponent(String(s))).replace("{resourceTypeId}", encodeURIComponent(String(o))), r = new URL(t, P);
4607
4605
  let a;
4608
4606
  e && (a = e.baseOptions);
4609
4607
  const l = { method: "GET", ...a, ...n }, c = {}, i = {};
4610
- await P(c, "Authorization", e), I(r, i);
4608
+ await m(c, "Authorization", e), I(r, i);
4611
4609
  let p = a && a.headers ? a.headers : {};
4612
4610
  return l.headers = { ...c, ...p, ...n.headers }, {
4613
4611
  url: y(r),
@@ -4625,12 +4623,12 @@ const I = function(e, ...s) {
4625
4623
  * @throws {RequiredError}
4626
4624
  */
4627
4625
  getProjectQuotas: async (s, o, n, t, r = {}) => {
4628
- v("getProjectQuotas", "projectId", s);
4629
- const a = "/api/v2/projects/{projectId}/quotas".replace("{projectId}", encodeURIComponent(String(s))), l = new URL(a, m);
4626
+ j("getProjectQuotas", "projectId", s);
4627
+ const a = "/api/v2/projects/{projectId}/quotas".replace("{projectId}", encodeURIComponent(String(s))), l = new URL(a, P);
4630
4628
  let c;
4631
4629
  e && (c = e.baseOptions);
4632
4630
  const i = { method: "GET", ...c, ...r }, p = {}, d = {};
4633
- await P(p, "Authorization", e), o !== void 0 && (d.PageNumber = o), n !== void 0 && (d.PageSize = n), t !== void 0 && (d.OrderBy = t), I(l, d);
4631
+ await m(p, "Authorization", e), o !== void 0 && (d.PageNumber = o), n !== void 0 && (d.PageSize = n), t !== void 0 && (d.OrderBy = t), I(l, d);
4634
4632
  let h = c && c.headers ? c.headers : {};
4635
4633
  return i.headers = { ...p, ...h, ...r.headers }, {
4636
4634
  url: y(l),
@@ -4647,12 +4645,12 @@ const I = function(e, ...s) {
4647
4645
  * @throws {RequiredError}
4648
4646
  */
4649
4647
  updateProjectQuota: async (s, o, n, t = {}) => {
4650
- v("updateProjectQuota", "projectId", s), v("updateProjectQuota", "resourceTypeId", o);
4651
- const r = "/api/v2/projects/{projectId}/quotas/{resourceTypeId}".replace("{projectId}", encodeURIComponent(String(s))).replace("{resourceTypeId}", encodeURIComponent(String(o))), a = new URL(r, m);
4648
+ j("updateProjectQuota", "projectId", s), j("updateProjectQuota", "resourceTypeId", o);
4649
+ const r = "/api/v2/projects/{projectId}/quotas/{resourceTypeId}".replace("{projectId}", encodeURIComponent(String(s))).replace("{resourceTypeId}", encodeURIComponent(String(o))), a = new URL(r, P);
4652
4650
  let l;
4653
4651
  e && (l = e.baseOptions);
4654
4652
  const c = { method: "PUT", ...l, ...t }, i = {}, p = {};
4655
- await P(i, "Authorization", e), i["Content-Type"] = "application/json", I(a, p);
4653
+ await m(i, "Authorization", e), i["Content-Type"] = "application/json", I(a, p);
4656
4654
  let d = l && l.headers ? l.headers : {};
4657
4655
  return c.headers = { ...i, ...d, ...t.headers }, c.data = L(n, c, e), {
4658
4656
  url: y(a),
@@ -4772,12 +4770,12 @@ const I = function(e, ...s) {
4772
4770
  * @throws {RequiredError}
4773
4771
  */
4774
4772
  apiV2ProjectsProjectIdResourcesOptions: async (s, o = {}) => {
4775
- v("apiV2ProjectsProjectIdResourcesOptions", "projectId", s);
4776
- const n = "/api/v2/projects/{projectId}/resources".replace("{projectId}", encodeURIComponent(String(s))), t = new URL(n, m);
4773
+ j("apiV2ProjectsProjectIdResourcesOptions", "projectId", s);
4774
+ const n = "/api/v2/projects/{projectId}/resources".replace("{projectId}", encodeURIComponent(String(s))), t = new URL(n, P);
4777
4775
  let r;
4778
4776
  e && (r = e.baseOptions);
4779
4777
  const a = { method: "OPTIONS", ...r, ...o }, l = {}, c = {};
4780
- await P(l, "Authorization", e), I(t, c);
4778
+ await m(l, "Authorization", e), I(t, c);
4781
4779
  let i = r && r.headers ? r.headers : {};
4782
4780
  return a.headers = { ...l, ...i, ...o.headers }, {
4783
4781
  url: y(t),
@@ -4793,12 +4791,12 @@ const I = function(e, ...s) {
4793
4791
  * @throws {RequiredError}
4794
4792
  */
4795
4793
  createResourceForProject: async (s, o, n = {}) => {
4796
- v("createResourceForProject", "projectId", s);
4797
- const t = "/api/v2/projects/{projectId}/resources".replace("{projectId}", encodeURIComponent(String(s))), r = new URL(t, m);
4794
+ j("createResourceForProject", "projectId", s);
4795
+ const t = "/api/v2/projects/{projectId}/resources".replace("{projectId}", encodeURIComponent(String(s))), r = new URL(t, P);
4798
4796
  let a;
4799
4797
  e && (a = e.baseOptions);
4800
4798
  const l = { method: "POST", ...a, ...n }, c = {}, i = {};
4801
- await P(c, "Authorization", e), c["Content-Type"] = "application/json", I(r, i);
4799
+ await m(c, "Authorization", e), c["Content-Type"] = "application/json", I(r, i);
4802
4800
  let p = a && a.headers ? a.headers : {};
4803
4801
  return l.headers = { ...c, ...p, ...n.headers }, l.data = L(o, l, e), {
4804
4802
  url: y(r),
@@ -4814,12 +4812,12 @@ const I = function(e, ...s) {
4814
4812
  * @throws {RequiredError}
4815
4813
  */
4816
4814
  deleteResourceForProject: async (s, o, n = {}) => {
4817
- v("deleteResourceForProject", "projectId", s), v("deleteResourceForProject", "resourceId", o);
4818
- const t = "/api/v2/projects/{projectId}/resources/{resourceId}".replace("{projectId}", encodeURIComponent(String(s))).replace("{resourceId}", encodeURIComponent(String(o))), r = new URL(t, m);
4815
+ j("deleteResourceForProject", "projectId", s), j("deleteResourceForProject", "resourceId", o);
4816
+ const t = "/api/v2/projects/{projectId}/resources/{resourceId}".replace("{projectId}", encodeURIComponent(String(s))).replace("{resourceId}", encodeURIComponent(String(o))), r = new URL(t, P);
4819
4817
  let a;
4820
4818
  e && (a = e.baseOptions);
4821
4819
  const l = { method: "DELETE", ...a, ...n }, c = {}, i = {};
4822
- await P(c, "Authorization", e), I(r, i);
4820
+ await m(c, "Authorization", e), I(r, i);
4823
4821
  let p = a && a.headers ? a.headers : {};
4824
4822
  return l.headers = { ...c, ...p, ...n.headers }, {
4825
4823
  url: y(r),
@@ -4835,12 +4833,12 @@ const I = function(e, ...s) {
4835
4833
  * @throws {RequiredError}
4836
4834
  */
4837
4835
  getResourceForProject: async (s, o, n = {}) => {
4838
- v("getResourceForProject", "projectId", s), v("getResourceForProject", "resourceId", o);
4839
- const t = "/api/v2/projects/{projectId}/resources/{resourceId}".replace("{projectId}", encodeURIComponent(String(s))).replace("{resourceId}", encodeURIComponent(String(o))), r = new URL(t, m);
4836
+ j("getResourceForProject", "projectId", s), j("getResourceForProject", "resourceId", o);
4837
+ const t = "/api/v2/projects/{projectId}/resources/{resourceId}".replace("{projectId}", encodeURIComponent(String(s))).replace("{resourceId}", encodeURIComponent(String(o))), r = new URL(t, P);
4840
4838
  let a;
4841
4839
  e && (a = e.baseOptions);
4842
4840
  const l = { method: "GET", ...a, ...n }, c = {}, i = {};
4843
- await P(c, "Authorization", e), I(r, i);
4841
+ await m(c, "Authorization", e), I(r, i);
4844
4842
  let p = a && a.headers ? a.headers : {};
4845
4843
  return l.headers = { ...c, ...p, ...n.headers }, {
4846
4844
  url: y(r),
@@ -4858,12 +4856,12 @@ const I = function(e, ...s) {
4858
4856
  * @throws {RequiredError}
4859
4857
  */
4860
4858
  getResourcesForProject: async (s, o, n, t, r = {}) => {
4861
- v("getResourcesForProject", "projectId", s);
4862
- const a = "/api/v2/projects/{projectId}/resources".replace("{projectId}", encodeURIComponent(String(s))), l = new URL(a, m);
4859
+ j("getResourcesForProject", "projectId", s);
4860
+ const a = "/api/v2/projects/{projectId}/resources".replace("{projectId}", encodeURIComponent(String(s))), l = new URL(a, P);
4863
4861
  let c;
4864
4862
  e && (c = e.baseOptions);
4865
4863
  const i = { method: "GET", ...c, ...r }, p = {}, d = {};
4866
- await P(p, "Authorization", e), o !== void 0 && (d.PageNumber = o), n !== void 0 && (d.PageSize = n), t !== void 0 && (d.OrderBy = t), I(l, d);
4864
+ await m(p, "Authorization", e), o !== void 0 && (d.PageNumber = o), n !== void 0 && (d.PageSize = n), t !== void 0 && (d.OrderBy = t), I(l, d);
4867
4865
  let h = c && c.headers ? c.headers : {};
4868
4866
  return i.headers = { ...p, ...h, ...r.headers }, {
4869
4867
  url: y(l),
@@ -4880,12 +4878,12 @@ const I = function(e, ...s) {
4880
4878
  * @throws {RequiredError}
4881
4879
  */
4882
4880
  updateResourceForProject: async (s, o, n, t = {}) => {
4883
- v("updateResourceForProject", "projectId", s), v("updateResourceForProject", "resourceId", o);
4884
- const r = "/api/v2/projects/{projectId}/resources/{resourceId}".replace("{projectId}", encodeURIComponent(String(s))).replace("{resourceId}", encodeURIComponent(String(o))), a = new URL(r, m);
4881
+ j("updateResourceForProject", "projectId", s), j("updateResourceForProject", "resourceId", o);
4882
+ const r = "/api/v2/projects/{projectId}/resources/{resourceId}".replace("{projectId}", encodeURIComponent(String(s))).replace("{resourceId}", encodeURIComponent(String(o))), a = new URL(r, P);
4885
4883
  let l;
4886
4884
  e && (l = e.baseOptions);
4887
4885
  const c = { method: "PUT", ...l, ...t }, i = {}, p = {};
4888
- await P(i, "Authorization", e), i["Content-Type"] = "application/json", I(a, p);
4886
+ await m(i, "Authorization", e), i["Content-Type"] = "application/json", I(a, p);
4889
4887
  let d = l && l.headers ? l.headers : {};
4890
4888
  return c.headers = { ...i, ...d, ...t.headers }, c.data = L(n, c, e), {
4891
4889
  url: y(a),
@@ -4893,7 +4891,7 @@ const I = function(e, ...s) {
4893
4891
  };
4894
4892
  }
4895
4893
  };
4896
- }, va = function(e) {
4894
+ }, ja = function(e) {
4897
4895
  const s = Ra(e);
4898
4896
  return {
4899
4897
  /**
@@ -4977,8 +4975,8 @@ const I = function(e, ...s) {
4977
4975
  return (d, h) => b(a, O, u, e)(d, c || h);
4978
4976
  }
4979
4977
  };
4980
- }, ja = function(e, s, o) {
4981
- const n = va(e);
4978
+ }, va = function(e, s, o) {
4979
+ const n = ja(e);
4982
4980
  return {
4983
4981
  /**
4984
4982
  *
@@ -5052,12 +5050,12 @@ const I = function(e, ...s) {
5052
5050
  * @throws {RequiredError}
5053
5051
  */
5054
5052
  apiV2ProjectsProjectIdResourcesResourceIdQuotaOptions: async (s, o, n = {}) => {
5055
- v("apiV2ProjectsProjectIdResourcesResourceIdQuotaOptions", "projectId", s), v("apiV2ProjectsProjectIdResourcesResourceIdQuotaOptions", "resourceId", o);
5056
- const t = "/api/v2/projects/{projectId}/resources/{resourceId}/quota".replace("{projectId}", encodeURIComponent(String(s))).replace("{resourceId}", encodeURIComponent(String(o))), r = new URL(t, m);
5053
+ j("apiV2ProjectsProjectIdResourcesResourceIdQuotaOptions", "projectId", s), j("apiV2ProjectsProjectIdResourcesResourceIdQuotaOptions", "resourceId", o);
5054
+ const t = "/api/v2/projects/{projectId}/resources/{resourceId}/quota".replace("{projectId}", encodeURIComponent(String(s))).replace("{resourceId}", encodeURIComponent(String(o))), r = new URL(t, P);
5057
5055
  let a;
5058
5056
  e && (a = e.baseOptions);
5059
5057
  const l = { method: "OPTIONS", ...a, ...n }, c = {}, i = {};
5060
- await P(c, "Authorization", e), I(r, i);
5058
+ await m(c, "Authorization", e), I(r, i);
5061
5059
  let p = a && a.headers ? a.headers : {};
5062
5060
  return l.headers = { ...c, ...p, ...n.headers }, {
5063
5061
  url: y(r),
@@ -5073,12 +5071,12 @@ const I = function(e, ...s) {
5073
5071
  * @throws {RequiredError}
5074
5072
  */
5075
5073
  getQuotaForResourceForProject: async (s, o, n = {}) => {
5076
- v("getQuotaForResourceForProject", "projectId", s), v("getQuotaForResourceForProject", "resourceId", o);
5077
- const t = "/api/v2/projects/{projectId}/resources/{resourceId}/quota".replace("{projectId}", encodeURIComponent(String(s))).replace("{resourceId}", encodeURIComponent(String(o))), r = new URL(t, m);
5074
+ j("getQuotaForResourceForProject", "projectId", s), j("getQuotaForResourceForProject", "resourceId", o);
5075
+ const t = "/api/v2/projects/{projectId}/resources/{resourceId}/quota".replace("{projectId}", encodeURIComponent(String(s))).replace("{resourceId}", encodeURIComponent(String(o))), r = new URL(t, P);
5078
5076
  let a;
5079
5077
  e && (a = e.baseOptions);
5080
5078
  const l = { method: "GET", ...a, ...n }, c = {}, i = {};
5081
- await P(c, "Authorization", e), I(r, i);
5079
+ await m(c, "Authorization", e), I(r, i);
5082
5080
  let p = a && a.headers ? a.headers : {};
5083
5081
  return l.headers = { ...c, ...p, ...n.headers }, {
5084
5082
  url: y(r),
@@ -5150,12 +5148,12 @@ const I = function(e, ...s) {
5150
5148
  * @throws {RequiredError}
5151
5149
  */
5152
5150
  apiV2ProjectsProjectIdResourceTypesOptions: async (s, o = {}) => {
5153
- v("apiV2ProjectsProjectIdResourceTypesOptions", "projectId", s);
5154
- const n = "/api/v2/projects/{projectId}/resource-types".replace("{projectId}", encodeURIComponent(String(s))), t = new URL(n, m);
5151
+ j("apiV2ProjectsProjectIdResourceTypesOptions", "projectId", s);
5152
+ const n = "/api/v2/projects/{projectId}/resource-types".replace("{projectId}", encodeURIComponent(String(s))), t = new URL(n, P);
5155
5153
  let r;
5156
5154
  e && (r = e.baseOptions);
5157
5155
  const a = { method: "OPTIONS", ...r, ...o }, l = {}, c = {};
5158
- await P(l, "Authorization", e), I(t, c);
5156
+ await m(l, "Authorization", e), I(t, c);
5159
5157
  let i = r && r.headers ? r.headers : {};
5160
5158
  return a.headers = { ...l, ...i, ...o.headers }, {
5161
5159
  url: y(t),
@@ -5170,12 +5168,12 @@ const I = function(e, ...s) {
5170
5168
  * @throws {RequiredError}
5171
5169
  */
5172
5170
  getAvailableResourceTypesInformationForProject: async (s, o = {}) => {
5173
- v("getAvailableResourceTypesInformationForProject", "projectId", s);
5174
- const n = "/api/v2/projects/{projectId}/resource-types".replace("{projectId}", encodeURIComponent(String(s))), t = new URL(n, m);
5171
+ j("getAvailableResourceTypesInformationForProject", "projectId", s);
5172
+ const n = "/api/v2/projects/{projectId}/resource-types".replace("{projectId}", encodeURIComponent(String(s))), t = new URL(n, P);
5175
5173
  let r;
5176
5174
  e && (r = e.baseOptions);
5177
5175
  const a = { method: "GET", ...r, ...o }, l = {}, c = {};
5178
- await P(l, "Authorization", e), I(t, c);
5176
+ await m(l, "Authorization", e), I(t, c);
5179
5177
  let i = r && r.headers ? r.headers : {};
5180
5178
  return a.headers = { ...l, ...i, ...o.headers }, {
5181
5179
  url: y(t),
@@ -5236,6 +5234,109 @@ const I = function(e, ...s) {
5236
5234
  }
5237
5235
  };
5238
5236
  }, Fa = function(e) {
5237
+ return {
5238
+ /**
5239
+ *
5240
+ * @summary Responds with the HTTP methods allowed for the endpoint.
5241
+ * @param {string} projectId
5242
+ * @param {*} [options] Override http request option.
5243
+ * @throws {RequiredError}
5244
+ */
5245
+ apiV2ProjectsProjectIdSubprojectsOptions: async (s, o = {}) => {
5246
+ j("apiV2ProjectsProjectIdSubprojectsOptions", "projectId", s);
5247
+ const n = "/api/v2/projects/{projectId}/subprojects".replace("{projectId}", encodeURIComponent(String(s))), t = new URL(n, P);
5248
+ let r;
5249
+ e && (r = e.baseOptions);
5250
+ const a = { method: "OPTIONS", ...r, ...o }, l = {}, c = {};
5251
+ await m(l, "Authorization", e), I(t, c);
5252
+ let i = r && r.headers ? r.headers : {};
5253
+ return a.headers = { ...l, ...i, ...o.headers }, {
5254
+ url: y(t),
5255
+ options: a
5256
+ };
5257
+ },
5258
+ /**
5259
+ *
5260
+ * @summary Retrieves all subprojects for a specified project.
5261
+ * @param {string} projectId The Id or slug of the project.
5262
+ * @param {boolean} [includeOrganizations] Gets or sets a value indicating whether to retrieve the organizations.
5263
+ * @param {number} [pageNumber] The desired page number. Should be greater than or equal to 1. Default is 1.
5264
+ * @param {number} [pageSize] The desired page size. Should be between 1 and the maximum allowed page size (50). Default is 10.
5265
+ * @param {string} [orderBy] Gets or sets the field name used for ordering the results. The order is constructed by an order string. Use the property followed by \&quot;asc\&quot; or \&quot;desc\&quot; and separate properties by commas. Default is asc.
5266
+ * @param {*} [options] Override http request option.
5267
+ * @throws {RequiredError}
5268
+ */
5269
+ getSubProjectsForProject: async (s, o, n, t, r, a = {}) => {
5270
+ j("getSubProjectsForProject", "projectId", s);
5271
+ const l = "/api/v2/projects/{projectId}/subprojects".replace("{projectId}", encodeURIComponent(String(s))), c = new URL(l, P);
5272
+ let i;
5273
+ e && (i = e.baseOptions);
5274
+ const p = { method: "GET", ...i, ...a }, d = {}, h = {};
5275
+ await m(d, "Authorization", e), o !== void 0 && (h.IncludeOrganizations = o), n !== void 0 && (h.PageNumber = n), t !== void 0 && (h.PageSize = t), r !== void 0 && (h.OrderBy = r), I(c, h);
5276
+ let V = i && i.headers ? i.headers : {};
5277
+ return p.headers = { ...d, ...V, ...a.headers }, {
5278
+ url: y(c),
5279
+ options: p
5280
+ };
5281
+ }
5282
+ };
5283
+ }, Ca = function(e) {
5284
+ const s = Fa(e);
5285
+ return {
5286
+ /**
5287
+ *
5288
+ * @summary Responds with the HTTP methods allowed for the endpoint.
5289
+ * @param {string} projectId
5290
+ * @param {*} [options] Override http request option.
5291
+ * @throws {RequiredError}
5292
+ */
5293
+ async apiV2ProjectsProjectIdSubprojectsOptions(o, n) {
5294
+ var l, c;
5295
+ const t = await s.apiV2ProjectsProjectIdSubprojectsOptions(o, n), r = (e == null ? void 0 : e.serverIndex) ?? 0, a = (c = (l = A["ProjectSubProjectsApi.apiV2ProjectsProjectIdSubprojectsOptions"]) == null ? void 0 : l[r]) == null ? void 0 : c.url;
5296
+ return (i, p) => b(t, O, u, e)(i, a || p);
5297
+ },
5298
+ /**
5299
+ *
5300
+ * @summary Retrieves all subprojects for a specified project.
5301
+ * @param {string} projectId The Id or slug of the project.
5302
+ * @param {boolean} [includeOrganizations] Gets or sets a value indicating whether to retrieve the organizations.
5303
+ * @param {number} [pageNumber] The desired page number. Should be greater than or equal to 1. Default is 1.
5304
+ * @param {number} [pageSize] The desired page size. Should be between 1 and the maximum allowed page size (50). Default is 10.
5305
+ * @param {string} [orderBy] Gets or sets the field name used for ordering the results. The order is constructed by an order string. Use the property followed by \&quot;asc\&quot; or \&quot;desc\&quot; and separate properties by commas. Default is asc.
5306
+ * @param {*} [options] Override http request option.
5307
+ * @throws {RequiredError}
5308
+ */
5309
+ async getSubProjectsForProject(o, n, t, r, a, l) {
5310
+ var d, h;
5311
+ const c = await s.getSubProjectsForProject(o, n, t, r, a, l), i = (e == null ? void 0 : e.serverIndex) ?? 0, p = (h = (d = A["ProjectSubProjectsApi.getSubProjectsForProject"]) == null ? void 0 : d[i]) == null ? void 0 : h.url;
5312
+ return (V, R) => b(c, O, u, e)(V, p || R);
5313
+ }
5314
+ };
5315
+ }, La = function(e, s, o) {
5316
+ const n = Ca(e);
5317
+ return {
5318
+ /**
5319
+ *
5320
+ * @summary Responds with the HTTP methods allowed for the endpoint.
5321
+ * @param {ProjectSubProjectsApiApiV2ProjectsProjectIdSubprojectsOptionsRequest} requestParameters Request parameters.
5322
+ * @param {*} [options] Override http request option.
5323
+ * @throws {RequiredError}
5324
+ */
5325
+ apiV2ProjectsProjectIdSubprojectsOptions(t, r) {
5326
+ return n.apiV2ProjectsProjectIdSubprojectsOptions(t.projectId, r).then((a) => a(o, s));
5327
+ },
5328
+ /**
5329
+ *
5330
+ * @summary Retrieves all subprojects for a specified project.
5331
+ * @param {ProjectSubProjectsApiGetSubProjectsForProjectRequest} requestParameters Request parameters.
5332
+ * @param {*} [options] Override http request option.
5333
+ * @throws {RequiredError}
5334
+ */
5335
+ getSubProjectsForProject(t, r) {
5336
+ return n.getSubProjectsForProject(t.projectId, t.includeOrganizations, t.pageNumber, t.pageSize, t.orderBy, r).then((a) => a(o, s));
5337
+ }
5338
+ };
5339
+ }, Ea = function(e) {
5239
5340
  return {
5240
5341
  /**
5241
5342
  *
@@ -5244,11 +5345,11 @@ const I = function(e, ...s) {
5244
5345
  * @throws {RequiredError}
5245
5346
  */
5246
5347
  apiV2ResourcesOptions: async (s = {}) => {
5247
- const o = "/api/v2/resources", n = new URL(o, m);
5348
+ const o = "/api/v2/resources", n = new URL(o, P);
5248
5349
  let t;
5249
5350
  e && (t = e.baseOptions);
5250
5351
  const r = { method: "OPTIONS", ...t, ...s }, a = {}, l = {};
5251
- await P(a, "Authorization", e), I(n, l);
5352
+ await m(a, "Authorization", e), I(n, l);
5252
5353
  let c = t && t.headers ? t.headers : {};
5253
5354
  return r.headers = { ...a, ...c, ...s.headers }, {
5254
5355
  url: y(n),
@@ -5263,12 +5364,12 @@ const I = function(e, ...s) {
5263
5364
  * @throws {RequiredError}
5264
5365
  */
5265
5366
  getResource: async (s, o = {}) => {
5266
- v("getResource", "resourceId", s);
5267
- const n = "/api/v2/resources/{resourceId}".replace("{resourceId}", encodeURIComponent(String(s))), t = new URL(n, m);
5367
+ j("getResource", "resourceId", s);
5368
+ const n = "/api/v2/resources/{resourceId}".replace("{resourceId}", encodeURIComponent(String(s))), t = new URL(n, P);
5268
5369
  let r;
5269
5370
  e && (r = e.baseOptions);
5270
5371
  const a = { method: "GET", ...r, ...o }, l = {}, c = {};
5271
- await P(l, "Authorization", e), I(t, c);
5372
+ await m(l, "Authorization", e), I(t, c);
5272
5373
  let i = r && r.headers ? r.headers : {};
5273
5374
  return a.headers = { ...l, ...i, ...o.headers }, {
5274
5375
  url: y(t),
@@ -5276,8 +5377,8 @@ const I = function(e, ...s) {
5276
5377
  };
5277
5378
  }
5278
5379
  };
5279
- }, Ca = function(e) {
5280
- const s = Fa(e);
5380
+ }, za = function(e) {
5381
+ const s = Ea(e);
5281
5382
  return {
5282
5383
  /**
5283
5384
  *
@@ -5303,8 +5404,8 @@ const I = function(e, ...s) {
5303
5404
  return (i, p) => b(t, O, u, e)(i, a || p);
5304
5405
  }
5305
5406
  };
5306
- }, La = function(e, s, o) {
5307
- const n = Ca(e);
5407
+ }, Na = function(e, s, o) {
5408
+ const n = za(e);
5308
5409
  return {
5309
5410
  /**
5310
5411
  *
@@ -5326,7 +5427,7 @@ const I = function(e, ...s) {
5326
5427
  return n.getResource(t.resourceId, r).then((a) => a(o, s));
5327
5428
  }
5328
5429
  };
5329
- }, Ea = function(e) {
5430
+ }, Ha = function(e) {
5330
5431
  return {
5331
5432
  /**
5332
5433
  *
@@ -5335,11 +5436,11 @@ const I = function(e, ...s) {
5335
5436
  * @throws {RequiredError}
5336
5437
  */
5337
5438
  apiV2ResourceTypesOptions: async (s = {}) => {
5338
- const o = "/api/v2/resource-types", n = new URL(o, m);
5439
+ const o = "/api/v2/resource-types", n = new URL(o, P);
5339
5440
  let t;
5340
5441
  e && (t = e.baseOptions);
5341
5442
  const r = { method: "OPTIONS", ...t, ...s }, a = {}, l = {};
5342
- await P(a, "Authorization", e), I(n, l);
5443
+ await m(a, "Authorization", e), I(n, l);
5343
5444
  let c = t && t.headers ? t.headers : {};
5344
5445
  return r.headers = { ...a, ...c, ...s.headers }, {
5345
5446
  url: y(n),
@@ -5353,11 +5454,11 @@ const I = function(e, ...s) {
5353
5454
  * @throws {RequiredError}
5354
5455
  */
5355
5456
  getAllResourceTypesInformation: async (s = {}) => {
5356
- const o = "/api/v2/resource-types/types", n = new URL(o, m);
5457
+ const o = "/api/v2/resource-types/types", n = new URL(o, P);
5357
5458
  let t;
5358
5459
  e && (t = e.baseOptions);
5359
5460
  const r = { method: "GET", ...t, ...s }, a = {}, l = {};
5360
- await P(a, "Authorization", e), I(n, l);
5461
+ await m(a, "Authorization", e), I(n, l);
5361
5462
  let c = t && t.headers ? t.headers : {};
5362
5463
  return r.headers = { ...a, ...c, ...s.headers }, {
5363
5464
  url: y(n),
@@ -5372,12 +5473,12 @@ const I = function(e, ...s) {
5372
5473
  * @throws {RequiredError}
5373
5474
  */
5374
5475
  getResourceTypeInformation: async (s, o = {}) => {
5375
- v("getResourceTypeInformation", "resourceTypeId", s);
5376
- const n = "/api/v2/resource-types/types/{resourceTypeId}".replace("{resourceTypeId}", encodeURIComponent(String(s))), t = new URL(n, m);
5476
+ j("getResourceTypeInformation", "resourceTypeId", s);
5477
+ const n = "/api/v2/resource-types/types/{resourceTypeId}".replace("{resourceTypeId}", encodeURIComponent(String(s))), t = new URL(n, P);
5377
5478
  let r;
5378
5479
  e && (r = e.baseOptions);
5379
5480
  const a = { method: "GET", ...r, ...o }, l = {}, c = {};
5380
- await P(l, "Authorization", e), I(t, c);
5481
+ await m(l, "Authorization", e), I(t, c);
5381
5482
  let i = r && r.headers ? r.headers : {};
5382
5483
  return a.headers = { ...l, ...i, ...o.headers }, {
5383
5484
  url: y(t),
@@ -5385,8 +5486,8 @@ const I = function(e, ...s) {
5385
5486
  };
5386
5487
  }
5387
5488
  };
5388
- }, za = function(e) {
5389
- const s = Ea(e);
5489
+ }, Ma = function(e) {
5490
+ const s = Ha(e);
5390
5491
  return {
5391
5492
  /**
5392
5493
  *
@@ -5423,8 +5524,8 @@ const I = function(e, ...s) {
5423
5524
  return (i, p) => b(t, O, u, e)(i, a || p);
5424
5525
  }
5425
5526
  };
5426
- }, Na = function(e, s, o) {
5427
- const n = za(e);
5527
+ }, Qa = function(e, s, o) {
5528
+ const n = Ma(e);
5428
5529
  return {
5429
5530
  /**
5430
5531
  *
@@ -5455,7 +5556,7 @@ const I = function(e, ...s) {
5455
5556
  return n.getResourceTypeInformation(t.resourceTypeId, r).then((a) => a(o, s));
5456
5557
  }
5457
5558
  };
5458
- }, Ha = function(e) {
5559
+ }, Da = function(e) {
5459
5560
  return {
5460
5561
  /**
5461
5562
  *
@@ -5464,11 +5565,11 @@ const I = function(e, ...s) {
5464
5565
  * @throws {RequiredError}
5465
5566
  */
5466
5567
  apiV2ResourceTypesGitlabOptions: async (s = {}) => {
5467
- const o = "/api/v2/resource-types/gitlab", n = new URL(o, m);
5568
+ const o = "/api/v2/resource-types/gitlab", n = new URL(o, P);
5468
5569
  let t;
5469
5570
  e && (t = e.baseOptions);
5470
5571
  const r = { method: "OPTIONS", ...t, ...s }, a = {}, l = {};
5471
- await P(a, "Authorization", e), I(n, l);
5572
+ await m(a, "Authorization", e), I(n, l);
5472
5573
  let c = t && t.headers ? t.headers : {};
5473
5574
  return r.headers = { ...a, ...c, ...s.headers }, {
5474
5575
  url: y(n),
@@ -5485,12 +5586,12 @@ const I = function(e, ...s) {
5485
5586
  * @throws {RequiredError}
5486
5587
  */
5487
5588
  getAllGitlabBranchesForProject: async (s, o, n, t = {}) => {
5488
- v("getAllGitlabBranchesForProject", "gitlabProjectId", s), v("getAllGitlabBranchesForProject", "domain", o), v("getAllGitlabBranchesForProject", "accessToken", n);
5489
- const r = "/api/v2/resource-types/gitlab/projects/{gitlabProjectId}/branches".replace("{gitlabProjectId}", encodeURIComponent(String(s))), a = new URL(r, m);
5589
+ j("getAllGitlabBranchesForProject", "gitlabProjectId", s), j("getAllGitlabBranchesForProject", "domain", o), j("getAllGitlabBranchesForProject", "accessToken", n);
5590
+ const r = "/api/v2/resource-types/gitlab/projects/{gitlabProjectId}/branches".replace("{gitlabProjectId}", encodeURIComponent(String(s))), a = new URL(r, P);
5490
5591
  let l;
5491
5592
  e && (l = e.baseOptions);
5492
5593
  const c = { method: "GET", ...l, ...t }, i = {}, p = {};
5493
- await P(i, "Authorization", e), o !== void 0 && (p.Domain = o), n !== void 0 && (p.AccessToken = n), I(a, p);
5594
+ await m(i, "Authorization", e), o !== void 0 && (p.Domain = o), n !== void 0 && (p.AccessToken = n), I(a, p);
5494
5595
  let d = l && l.headers ? l.headers : {};
5495
5596
  return c.headers = { ...i, ...d, ...t.headers }, {
5496
5597
  url: y(a),
@@ -5506,12 +5607,12 @@ const I = function(e, ...s) {
5506
5607
  * @throws {RequiredError}
5507
5608
  */
5508
5609
  getAllGitlabProjects: async (s, o, n = {}) => {
5509
- v("getAllGitlabProjects", "domain", s), v("getAllGitlabProjects", "accessToken", o);
5510
- const t = "/api/v2/resource-types/gitlab/projects", r = new URL(t, m);
5610
+ j("getAllGitlabProjects", "domain", s), j("getAllGitlabProjects", "accessToken", o);
5611
+ const t = "/api/v2/resource-types/gitlab/projects", r = new URL(t, P);
5511
5612
  let a;
5512
5613
  e && (a = e.baseOptions);
5513
5614
  const l = { method: "GET", ...a, ...n }, c = {}, i = {};
5514
- await P(c, "Authorization", e), s !== void 0 && (i.Domain = s), o !== void 0 && (i.AccessToken = o), I(r, i);
5615
+ await m(c, "Authorization", e), s !== void 0 && (i.Domain = s), o !== void 0 && (i.AccessToken = o), I(r, i);
5515
5616
  let p = a && a.headers ? a.headers : {};
5516
5617
  return l.headers = { ...c, ...p, ...n.headers }, {
5517
5618
  url: y(r),
@@ -5528,12 +5629,12 @@ const I = function(e, ...s) {
5528
5629
  * @throws {RequiredError}
5529
5630
  */
5530
5631
  getGitlabProject: async (s, o, n, t = {}) => {
5531
- v("getGitlabProject", "gitlabProjectId", s), v("getGitlabProject", "domain", o), v("getGitlabProject", "accessToken", n);
5532
- const r = "/api/v2/resource-types/gitlab/projects/{gitlabProjectId}".replace("{gitlabProjectId}", encodeURIComponent(String(s))), a = new URL(r, m);
5632
+ j("getGitlabProject", "gitlabProjectId", s), j("getGitlabProject", "domain", o), j("getGitlabProject", "accessToken", n);
5633
+ const r = "/api/v2/resource-types/gitlab/projects/{gitlabProjectId}".replace("{gitlabProjectId}", encodeURIComponent(String(s))), a = new URL(r, P);
5533
5634
  let l;
5534
5635
  e && (l = e.baseOptions);
5535
5636
  const c = { method: "GET", ...l, ...t }, i = {}, p = {};
5536
- await P(i, "Authorization", e), o !== void 0 && (p.Domain = o), n !== void 0 && (p.AccessToken = n), I(a, p);
5637
+ await m(i, "Authorization", e), o !== void 0 && (p.Domain = o), n !== void 0 && (p.AccessToken = n), I(a, p);
5537
5638
  let d = l && l.headers ? l.headers : {};
5538
5639
  return c.headers = { ...i, ...d, ...t.headers }, {
5539
5640
  url: y(a),
@@ -5541,8 +5642,8 @@ const I = function(e, ...s) {
5541
5642
  };
5542
5643
  }
5543
5644
  };
5544
- }, Ma = function(e) {
5545
- const s = Ha(e);
5645
+ }, ka = function(e) {
5646
+ const s = Da(e);
5546
5647
  return {
5547
5648
  /**
5548
5649
  *
@@ -5597,8 +5698,8 @@ const I = function(e, ...s) {
5597
5698
  return (d, h) => b(a, O, u, e)(d, c || h);
5598
5699
  }
5599
5700
  };
5600
- }, Qa = function(e, s, o) {
5601
- const n = Ma(e);
5701
+ }, Ga = function(e, s, o) {
5702
+ const n = ka(e);
5602
5703
  return {
5603
5704
  /**
5604
5705
  *
@@ -5640,7 +5741,7 @@ const I = function(e, ...s) {
5640
5741
  return n.getGitlabProject(t.gitlabProjectId, t.domain, t.accessToken, r).then((a) => a(o, s));
5641
5742
  }
5642
5743
  };
5643
- }, Da = function(e) {
5744
+ }, $a = function(e) {
5644
5745
  return {
5645
5746
  /**
5646
5747
  *
@@ -5649,11 +5750,11 @@ const I = function(e, ...s) {
5649
5750
  * @throws {RequiredError}
5650
5751
  */
5651
5752
  apiV2RolesOptions: async (s = {}) => {
5652
- const o = "/api/v2/roles", n = new URL(o, m);
5753
+ const o = "/api/v2/roles", n = new URL(o, P);
5653
5754
  let t;
5654
5755
  e && (t = e.baseOptions);
5655
5756
  const r = { method: "OPTIONS", ...t, ...s }, a = {}, l = {};
5656
- await P(a, "Authorization", e), I(n, l);
5757
+ await m(a, "Authorization", e), I(n, l);
5657
5758
  let c = t && t.headers ? t.headers : {};
5658
5759
  return r.headers = { ...a, ...c, ...s.headers }, {
5659
5760
  url: y(n),
@@ -5668,12 +5769,12 @@ const I = function(e, ...s) {
5668
5769
  * @throws {RequiredError}
5669
5770
  */
5670
5771
  getRole: async (s, o = {}) => {
5671
- v("getRole", "roleId", s);
5672
- const n = "/api/v2/roles/{roleId}".replace("{roleId}", encodeURIComponent(String(s))), t = new URL(n, m);
5772
+ j("getRole", "roleId", s);
5773
+ const n = "/api/v2/roles/{roleId}".replace("{roleId}", encodeURIComponent(String(s))), t = new URL(n, P);
5673
5774
  let r;
5674
5775
  e && (r = e.baseOptions);
5675
5776
  const a = { method: "GET", ...r, ...o }, l = {}, c = {};
5676
- await P(l, "Authorization", e), I(t, c);
5777
+ await m(l, "Authorization", e), I(t, c);
5677
5778
  let i = r && r.headers ? r.headers : {};
5678
5779
  return a.headers = { ...l, ...i, ...o.headers }, {
5679
5780
  url: y(t),
@@ -5690,11 +5791,11 @@ const I = function(e, ...s) {
5690
5791
  * @throws {RequiredError}
5691
5792
  */
5692
5793
  getRoles: async (s, o, n, t = {}) => {
5693
- const r = "/api/v2/roles", a = new URL(r, m);
5794
+ const r = "/api/v2/roles", a = new URL(r, P);
5694
5795
  let l;
5695
5796
  e && (l = e.baseOptions);
5696
5797
  const c = { method: "GET", ...l, ...t }, i = {}, p = {};
5697
- await P(i, "Authorization", e), s !== void 0 && (p.PageNumber = s), o !== void 0 && (p.PageSize = o), n !== void 0 && (p.OrderBy = n), I(a, p);
5798
+ await m(i, "Authorization", e), s !== void 0 && (p.PageNumber = s), o !== void 0 && (p.PageSize = o), n !== void 0 && (p.OrderBy = n), I(a, p);
5698
5799
  let d = l && l.headers ? l.headers : {};
5699
5800
  return c.headers = { ...i, ...d, ...t.headers }, {
5700
5801
  url: y(a),
@@ -5702,8 +5803,8 @@ const I = function(e, ...s) {
5702
5803
  };
5703
5804
  }
5704
5805
  };
5705
- }, ka = function(e) {
5706
- const s = Da(e);
5806
+ }, _a = function(e) {
5807
+ const s = $a(e);
5707
5808
  return {
5708
5809
  /**
5709
5810
  *
@@ -5743,8 +5844,8 @@ const I = function(e, ...s) {
5743
5844
  return (d, h) => b(a, O, u, e)(d, c || h);
5744
5845
  }
5745
5846
  };
5746
- }, Ga = function(e, s, o) {
5747
- const n = ka(e);
5847
+ }, qa = function(e, s, o) {
5848
+ const n = _a(e);
5748
5849
  return {
5749
5850
  /**
5750
5851
  *
@@ -5776,7 +5877,7 @@ const I = function(e, ...s) {
5776
5877
  return n.getRoles(t.pageNumber, t.pageSize, t.orderBy, r).then((a) => a(o, s));
5777
5878
  }
5778
5879
  };
5779
- }, $a = function(e) {
5880
+ }, Ja = function(e) {
5780
5881
  return {
5781
5882
  /**
5782
5883
  *
@@ -5785,11 +5886,11 @@ const I = function(e, ...s) {
5785
5886
  * @throws {RequiredError}
5786
5887
  */
5787
5888
  apiV2SearchOptions: async (s = {}) => {
5788
- const o = "/api/v2/search", n = new URL(o, m);
5889
+ const o = "/api/v2/search", n = new URL(o, P);
5789
5890
  let t;
5790
5891
  e && (t = e.baseOptions);
5791
5892
  const r = { method: "OPTIONS", ...t, ...s }, a = {}, l = {};
5792
- await P(a, "Authorization", e), I(n, l);
5893
+ await m(a, "Authorization", e), I(n, l);
5793
5894
  let c = t && t.headers ? t.headers : {};
5794
5895
  return r.headers = { ...a, ...c, ...s.headers }, {
5795
5896
  url: y(n),
@@ -5810,11 +5911,11 @@ const I = function(e, ...s) {
5810
5911
  * @throws {RequiredError}
5811
5912
  */
5812
5913
  getSearchResults: async (s, o, n, t, r, a, l, c = {}) => {
5813
- const i = "/api/v2/search", p = new URL(i, m);
5914
+ const i = "/api/v2/search", p = new URL(i, P);
5814
5915
  let d;
5815
5916
  e && (d = e.baseOptions);
5816
5917
  const h = { method: "GET", ...d, ...c }, V = {}, R = {};
5817
- await P(V, "Authorization", e), s !== void 0 && (R.Query = s), o !== void 0 && (R.UseAdvancedSyntax = o), n && (R.Languages = n), t !== void 0 && (R.Category = t), r !== void 0 && (R.PageNumber = r), a !== void 0 && (R.PageSize = a), l !== void 0 && (R.OrderBy = l), I(p, R);
5918
+ await m(V, "Authorization", e), s !== void 0 && (R.Query = s), o !== void 0 && (R.UseAdvancedSyntax = o), n && (R.Languages = n), t !== void 0 && (R.Category = t), r !== void 0 && (R.PageNumber = r), a !== void 0 && (R.PageSize = a), l !== void 0 && (R.OrderBy = l), I(p, R);
5818
5919
  let S = d && d.headers ? d.headers : {};
5819
5920
  return h.headers = { ...V, ...S, ...c.headers }, {
5820
5921
  url: y(p),
@@ -5822,8 +5923,8 @@ const I = function(e, ...s) {
5822
5923
  };
5823
5924
  }
5824
5925
  };
5825
- }, _a = function(e) {
5826
- const s = $a(e);
5926
+ }, Ka = function(e) {
5927
+ const s = Ja(e);
5827
5928
  return {
5828
5929
  /**
5829
5930
  *
@@ -5855,8 +5956,8 @@ const I = function(e, ...s) {
5855
5956
  return (S, w) => b(p, O, u, e)(S, h || w);
5856
5957
  }
5857
5958
  };
5858
- }, qa = function(e, s, o) {
5859
- const n = _a(e);
5959
+ }, Wa = function(e, s, o) {
5960
+ const n = Ka(e);
5860
5961
  return {
5861
5962
  /**
5862
5963
  *
@@ -5878,7 +5979,7 @@ const I = function(e, ...s) {
5878
5979
  return n.getSearchResults(t.query, t.useAdvancedSyntax, t.languages, t.category, t.pageNumber, t.pageSize, t.orderBy, r).then((a) => a(o, s));
5879
5980
  }
5880
5981
  };
5881
- }, Ja = function(e) {
5982
+ }, fa = function(e) {
5882
5983
  return {
5883
5984
  /**
5884
5985
  *
@@ -5888,11 +5989,11 @@ const I = function(e, ...s) {
5888
5989
  * @throws {RequiredError}
5889
5990
  */
5890
5991
  acceptCurrentTos: async (s, o = {}) => {
5891
- const n = "/api/v2/self/tos", t = new URL(n, m);
5992
+ const n = "/api/v2/self/tos", t = new URL(n, P);
5892
5993
  let r;
5893
5994
  e && (r = e.baseOptions);
5894
5995
  const a = { method: "POST", ...r, ...o }, l = {}, c = {};
5895
- await P(l, "Authorization", e), l["Content-Type"] = "application/json", I(t, c);
5996
+ await m(l, "Authorization", e), l["Content-Type"] = "application/json", I(t, c);
5896
5997
  let i = r && r.headers ? r.headers : {};
5897
5998
  return a.headers = { ...l, ...i, ...o.headers }, a.data = L(s, a, e), {
5898
5999
  url: y(t),
@@ -5906,11 +6007,11 @@ const I = function(e, ...s) {
5906
6007
  * @throws {RequiredError}
5907
6008
  */
5908
6009
  apiV2SelfOptions: async (s = {}) => {
5909
- const o = "/api/v2/self", n = new URL(o, m);
6010
+ const o = "/api/v2/self", n = new URL(o, P);
5910
6011
  let t;
5911
6012
  e && (t = e.baseOptions);
5912
6013
  const r = { method: "OPTIONS", ...t, ...s }, a = {}, l = {};
5913
- await P(a, "Authorization", e), I(n, l);
6014
+ await m(a, "Authorization", e), I(n, l);
5914
6015
  let c = t && t.headers ? t.headers : {};
5915
6016
  return r.headers = { ...a, ...c, ...s.headers }, {
5916
6017
  url: y(n),
@@ -5925,12 +6026,12 @@ const I = function(e, ...s) {
5925
6026
  * @throws {RequiredError}
5926
6027
  */
5927
6028
  confirmUserEmail: async (s, o = {}) => {
5928
- v("confirmUserEmail", "confirmationToken", s);
5929
- const n = "/api/v2/self/emails", t = new URL(n, m);
6029
+ j("confirmUserEmail", "confirmationToken", s);
6030
+ const n = "/api/v2/self/emails", t = new URL(n, P);
5930
6031
  let r;
5931
6032
  e && (r = e.baseOptions);
5932
6033
  const a = { method: "POST", ...r, ...o }, l = {}, c = {};
5933
- await P(l, "Authorization", e), s !== void 0 && (c.ConfirmationToken = s), I(t, c);
6034
+ await m(l, "Authorization", e), s !== void 0 && (c.ConfirmationToken = s), I(t, c);
5934
6035
  let i = r && r.headers ? r.headers : {};
5935
6036
  return a.headers = { ...l, ...i, ...o.headers }, {
5936
6037
  url: y(t),
@@ -5944,11 +6045,11 @@ const I = function(e, ...s) {
5944
6045
  * @throws {RequiredError}
5945
6046
  */
5946
6047
  getCurrentUser: async (s = {}) => {
5947
- const o = "/api/v2/self", n = new URL(o, m);
6048
+ const o = "/api/v2/self", n = new URL(o, P);
5948
6049
  let t;
5949
6050
  e && (t = e.baseOptions);
5950
6051
  const r = { method: "GET", ...t, ...s }, a = {}, l = {};
5951
- await P(a, "Authorization", e), I(n, l);
6052
+ await m(a, "Authorization", e), I(n, l);
5952
6053
  let c = t && t.headers ? t.headers : {};
5953
6054
  return r.headers = { ...a, ...c, ...s.headers }, {
5954
6055
  url: y(n),
@@ -5963,12 +6064,12 @@ const I = function(e, ...s) {
5963
6064
  * @throws {RequiredError}
5964
6065
  */
5965
6066
  initiateUserMerge: async (s, o = {}) => {
5966
- v("initiateUserMerge", "identityProvider", s);
5967
- const n = "/api/v2/self/identities", t = new URL(n, m);
6067
+ j("initiateUserMerge", "identityProvider", s);
6068
+ const n = "/api/v2/self/identities", t = new URL(n, P);
5968
6069
  let r;
5969
6070
  e && (r = e.baseOptions);
5970
6071
  const a = { method: "POST", ...r, ...o }, l = {}, c = {};
5971
- await P(l, "Authorization", e), s !== void 0 && (c.IdentityProvider = s), I(t, c);
6072
+ await m(l, "Authorization", e), s !== void 0 && (c.IdentityProvider = s), I(t, c);
5972
6073
  let i = r && r.headers ? r.headers : {};
5973
6074
  return a.headers = { ...l, ...i, ...o.headers }, {
5974
6075
  url: y(t),
@@ -5983,11 +6084,11 @@ const I = function(e, ...s) {
5983
6084
  * @throws {RequiredError}
5984
6085
  */
5985
6086
  resolveProjectInvitation: async (s, o = {}) => {
5986
- const n = "/api/v2/self/project-invitations", t = new URL(n, m);
6087
+ const n = "/api/v2/self/project-invitations", t = new URL(n, P);
5987
6088
  let r;
5988
6089
  e && (r = e.baseOptions);
5989
6090
  const a = { method: "POST", ...r, ...o }, l = {}, c = {};
5990
- await P(l, "Authorization", e), l["Content-Type"] = "application/json", I(t, c);
6091
+ await m(l, "Authorization", e), l["Content-Type"] = "application/json", I(t, c);
5991
6092
  let i = r && r.headers ? r.headers : {};
5992
6093
  return a.headers = { ...l, ...i, ...o.headers }, a.data = L(s, a, e), {
5993
6094
  url: y(t),
@@ -6002,11 +6103,11 @@ const I = function(e, ...s) {
6002
6103
  * @throws {RequiredError}
6003
6104
  */
6004
6105
  updateCurrentUser: async (s, o = {}) => {
6005
- const n = "/api/v2/self", t = new URL(n, m);
6106
+ const n = "/api/v2/self", t = new URL(n, P);
6006
6107
  let r;
6007
6108
  e && (r = e.baseOptions);
6008
6109
  const a = { method: "PUT", ...r, ...o }, l = {}, c = {};
6009
- await P(l, "Authorization", e), l["Content-Type"] = "application/json", I(t, c);
6110
+ await m(l, "Authorization", e), l["Content-Type"] = "application/json", I(t, c);
6010
6111
  let i = r && r.headers ? r.headers : {};
6011
6112
  return a.headers = { ...l, ...i, ...o.headers }, a.data = L(s, a, e), {
6012
6113
  url: y(t),
@@ -6014,8 +6115,8 @@ const I = function(e, ...s) {
6014
6115
  };
6015
6116
  }
6016
6117
  };
6017
- }, Ka = function(e) {
6018
- const s = Ja(e);
6118
+ }, Xa = function(e) {
6119
+ const s = fa(e);
6019
6120
  return {
6020
6121
  /**
6021
6122
  *
@@ -6100,8 +6201,8 @@ const I = function(e, ...s) {
6100
6201
  return (i, p) => b(t, O, u, e)(i, a || p);
6101
6202
  }
6102
6203
  };
6103
- }, Wa = function(e, s, o) {
6104
- const n = Ka(e);
6204
+ }, Ya = function(e, s, o) {
6205
+ const n = Xa(e);
6105
6206
  return {
6106
6207
  /**
6107
6208
  *
@@ -6172,7 +6273,7 @@ const I = function(e, ...s) {
6172
6273
  return n.updateCurrentUser(t.userForUpdateDto, r).then((a) => a(o, s));
6173
6274
  }
6174
6275
  };
6175
- }, fa = function(e) {
6276
+ }, Za = function(e) {
6176
6277
  return {
6177
6278
  /**
6178
6279
  *
@@ -6181,11 +6282,11 @@ const I = function(e, ...s) {
6181
6282
  * @throws {RequiredError}
6182
6283
  */
6183
6284
  apiV2SelfApiTokensOptions: async (s = {}) => {
6184
- const o = "/api/v2/self/api-tokens", n = new URL(o, m);
6285
+ const o = "/api/v2/self/api-tokens", n = new URL(o, P);
6185
6286
  let t;
6186
6287
  e && (t = e.baseOptions);
6187
6288
  const r = { method: "OPTIONS", ...t, ...s }, a = {}, l = {};
6188
- await P(a, "Authorization", e), I(n, l);
6289
+ await m(a, "Authorization", e), I(n, l);
6189
6290
  let c = t && t.headers ? t.headers : {};
6190
6291
  return r.headers = { ...a, ...c, ...s.headers }, {
6191
6292
  url: y(n),
@@ -6200,11 +6301,11 @@ const I = function(e, ...s) {
6200
6301
  * @throws {RequiredError}
6201
6302
  */
6202
6303
  createApiToken: async (s, o = {}) => {
6203
- const n = "/api/v2/self/api-tokens", t = new URL(n, m);
6304
+ const n = "/api/v2/self/api-tokens", t = new URL(n, P);
6204
6305
  let r;
6205
6306
  e && (r = e.baseOptions);
6206
6307
  const a = { method: "POST", ...r, ...o }, l = {}, c = {};
6207
- await P(l, "Authorization", e), l["Content-Type"] = "application/json", I(t, c);
6308
+ await m(l, "Authorization", e), l["Content-Type"] = "application/json", I(t, c);
6208
6309
  let i = r && r.headers ? r.headers : {};
6209
6310
  return a.headers = { ...l, ...i, ...o.headers }, a.data = L(s, a, e), {
6210
6311
  url: y(t),
@@ -6221,11 +6322,11 @@ const I = function(e, ...s) {
6221
6322
  * @throws {RequiredError}
6222
6323
  */
6223
6324
  getAllApiTokens: async (s, o, n, t = {}) => {
6224
- const r = "/api/v2/self/api-tokens", a = new URL(r, m);
6325
+ const r = "/api/v2/self/api-tokens", a = new URL(r, P);
6225
6326
  let l;
6226
6327
  e && (l = e.baseOptions);
6227
6328
  const c = { method: "GET", ...l, ...t }, i = {}, p = {};
6228
- await P(i, "Authorization", e), s !== void 0 && (p.PageNumber = s), o !== void 0 && (p.PageSize = o), n !== void 0 && (p.OrderBy = n), I(a, p);
6329
+ await m(i, "Authorization", e), s !== void 0 && (p.PageNumber = s), o !== void 0 && (p.PageSize = o), n !== void 0 && (p.OrderBy = n), I(a, p);
6229
6330
  let d = l && l.headers ? l.headers : {};
6230
6331
  return c.headers = { ...i, ...d, ...t.headers }, {
6231
6332
  url: y(a),
@@ -6240,12 +6341,12 @@ const I = function(e, ...s) {
6240
6341
  * @throws {RequiredError}
6241
6342
  */
6242
6343
  getApiToken: async (s, o = {}) => {
6243
- v("getApiToken", "apiTokenId", s);
6244
- const n = "/api/v2/self/api-tokens/{apiTokenId}".replace("{apiTokenId}", encodeURIComponent(String(s))), t = new URL(n, m);
6344
+ j("getApiToken", "apiTokenId", s);
6345
+ const n = "/api/v2/self/api-tokens/{apiTokenId}".replace("{apiTokenId}", encodeURIComponent(String(s))), t = new URL(n, P);
6245
6346
  let r;
6246
6347
  e && (r = e.baseOptions);
6247
6348
  const a = { method: "GET", ...r, ...o }, l = {}, c = {};
6248
- await P(l, "Authorization", e), I(t, c);
6349
+ await m(l, "Authorization", e), I(t, c);
6249
6350
  let i = r && r.headers ? r.headers : {};
6250
6351
  return a.headers = { ...l, ...i, ...o.headers }, {
6251
6352
  url: y(t),
@@ -6260,12 +6361,12 @@ const I = function(e, ...s) {
6260
6361
  * @throws {RequiredError}
6261
6362
  */
6262
6363
  revokeToken: async (s, o = {}) => {
6263
- v("revokeToken", "apiTokenId", s);
6264
- const n = "/api/v2/self/api-tokens/{apiTokenId}".replace("{apiTokenId}", encodeURIComponent(String(s))), t = new URL(n, m);
6364
+ j("revokeToken", "apiTokenId", s);
6365
+ const n = "/api/v2/self/api-tokens/{apiTokenId}".replace("{apiTokenId}", encodeURIComponent(String(s))), t = new URL(n, P);
6265
6366
  let r;
6266
6367
  e && (r = e.baseOptions);
6267
6368
  const a = { method: "DELETE", ...r, ...o }, l = {}, c = {};
6268
- await P(l, "Authorization", e), I(t, c);
6369
+ await m(l, "Authorization", e), I(t, c);
6269
6370
  let i = r && r.headers ? r.headers : {};
6270
6371
  return a.headers = { ...l, ...i, ...o.headers }, {
6271
6372
  url: y(t),
@@ -6273,8 +6374,8 @@ const I = function(e, ...s) {
6273
6374
  };
6274
6375
  }
6275
6376
  };
6276
- }, Xa = function(e) {
6277
- const s = fa(e);
6377
+ }, ga = function(e) {
6378
+ const s = Za(e);
6278
6379
  return {
6279
6380
  /**
6280
6381
  *
@@ -6338,8 +6439,8 @@ const I = function(e, ...s) {
6338
6439
  return (i, p) => b(t, O, u, e)(i, a || p);
6339
6440
  }
6340
6441
  };
6341
- }, Ya = function(e, s, o) {
6342
- const n = Xa(e);
6442
+ }, es = function(e, s, o) {
6443
+ const n = ga(e);
6343
6444
  return {
6344
6445
  /**
6345
6446
  *
@@ -6391,7 +6492,7 @@ const I = function(e, ...s) {
6391
6492
  return n.revokeToken(t.apiTokenId, r).then((a) => a(o, s));
6392
6493
  }
6393
6494
  };
6394
- }, Za = function(e) {
6495
+ }, ts = function(e) {
6395
6496
  return {
6396
6497
  /**
6397
6498
  *
@@ -6400,11 +6501,11 @@ const I = function(e, ...s) {
6400
6501
  * @throws {RequiredError}
6401
6502
  */
6402
6503
  apiV2SelfSessionLogoutPost: async (s = {}) => {
6403
- const o = "/api/v2/self/session/logout", n = new URL(o, m);
6504
+ const o = "/api/v2/self/session/logout", n = new URL(o, P);
6404
6505
  let t;
6405
6506
  e && (t = e.baseOptions);
6406
6507
  const r = { method: "POST", ...t, ...s }, a = {}, l = {};
6407
- await P(a, "Authorization", e), I(n, l);
6508
+ await m(a, "Authorization", e), I(n, l);
6408
6509
  let c = t && t.headers ? t.headers : {};
6409
6510
  return r.headers = { ...a, ...c, ...s.headers }, {
6410
6511
  url: y(n),
@@ -6418,11 +6519,11 @@ const I = function(e, ...s) {
6418
6519
  * @throws {RequiredError}
6419
6520
  */
6420
6521
  apiV2SelfSessionOptions: async (s = {}) => {
6421
- const o = "/api/v2/self/session", n = new URL(o, m);
6522
+ const o = "/api/v2/self/session", n = new URL(o, P);
6422
6523
  let t;
6423
6524
  e && (t = e.baseOptions);
6424
6525
  const r = { method: "OPTIONS", ...t, ...s }, a = {}, l = {};
6425
- await P(a, "Authorization", e), I(n, l);
6526
+ await m(a, "Authorization", e), I(n, l);
6426
6527
  let c = t && t.headers ? t.headers : {};
6427
6528
  return r.headers = { ...a, ...c, ...s.headers }, {
6428
6529
  url: y(n),
@@ -6436,11 +6537,11 @@ const I = function(e, ...s) {
6436
6537
  * @throws {RequiredError}
6437
6538
  */
6438
6539
  login: async (s = {}) => {
6439
- const o = "/api/v2/self/session", n = new URL(o, m);
6540
+ const o = "/api/v2/self/session", n = new URL(o, P);
6440
6541
  let t;
6441
6542
  e && (t = e.baseOptions);
6442
6543
  const r = { method: "GET", ...t, ...s }, a = {}, l = {};
6443
- await P(a, "Authorization", e), I(n, l);
6544
+ await m(a, "Authorization", e), I(n, l);
6444
6545
  let c = t && t.headers ? t.headers : {};
6445
6546
  return r.headers = { ...a, ...c, ...s.headers }, {
6446
6547
  url: y(n),
@@ -6455,12 +6556,12 @@ const I = function(e, ...s) {
6455
6556
  * @throws {RequiredError}
6456
6557
  */
6457
6558
  loginWithProvider: async (s, o = {}) => {
6458
- v("loginWithProvider", "externalAuthenticatorId", s);
6459
- const n = "/api/v2/self/session/{externalAuthenticatorId}".replace("{externalAuthenticatorId}", encodeURIComponent(String(s))), t = new URL(n, m);
6559
+ j("loginWithProvider", "externalAuthenticatorId", s);
6560
+ const n = "/api/v2/self/session/{externalAuthenticatorId}".replace("{externalAuthenticatorId}", encodeURIComponent(String(s))), t = new URL(n, P);
6460
6561
  let r;
6461
6562
  e && (r = e.baseOptions);
6462
6563
  const a = { method: "GET", ...r, ...o }, l = {}, c = {};
6463
- await P(l, "Authorization", e), I(t, c);
6564
+ await m(l, "Authorization", e), I(t, c);
6464
6565
  let i = r && r.headers ? r.headers : {};
6465
6566
  return a.headers = { ...l, ...i, ...o.headers }, {
6466
6567
  url: y(t),
@@ -6475,12 +6576,12 @@ const I = function(e, ...s) {
6475
6576
  * @throws {RequiredError}
6476
6577
  */
6477
6578
  merge: async (s, o = {}) => {
6478
- v("merge", "externalAuthenticatorId", s);
6479
- const n = "/api/v2/self/session/merge/{externalAuthenticatorId}".replace("{externalAuthenticatorId}", encodeURIComponent(String(s))), t = new URL(n, m);
6579
+ j("merge", "externalAuthenticatorId", s);
6580
+ const n = "/api/v2/self/session/merge/{externalAuthenticatorId}".replace("{externalAuthenticatorId}", encodeURIComponent(String(s))), t = new URL(n, P);
6480
6581
  let r;
6481
6582
  e && (r = e.baseOptions);
6482
6583
  const a = { method: "GET", ...r, ...o }, l = {}, c = {};
6483
- await P(l, "Authorization", e), I(t, c);
6584
+ await m(l, "Authorization", e), I(t, c);
6484
6585
  let i = r && r.headers ? r.headers : {};
6485
6586
  return a.headers = { ...l, ...i, ...o.headers }, {
6486
6587
  url: y(t),
@@ -6488,8 +6589,8 @@ const I = function(e, ...s) {
6488
6589
  };
6489
6590
  }
6490
6591
  };
6491
- }, ga = function(e) {
6492
- const s = Za(e);
6592
+ }, rs = function(e) {
6593
+ const s = ts(e);
6493
6594
  return {
6494
6595
  /**
6495
6596
  *
@@ -6549,8 +6650,8 @@ const I = function(e, ...s) {
6549
6650
  return (i, p) => b(t, O, u, e)(i, a || p);
6550
6651
  }
6551
6652
  };
6552
- }, es = function(e, s, o) {
6553
- const n = ga(e);
6653
+ }, as = function(e, s, o) {
6654
+ const n = rs(e);
6554
6655
  return {
6555
6656
  /**
6556
6657
  *
@@ -6600,7 +6701,7 @@ const I = function(e, ...s) {
6600
6701
  return n.merge(t.externalAuthenticatorId, r).then((a) => a(o, s));
6601
6702
  }
6602
6703
  };
6603
- }, ts = function(e) {
6704
+ }, ss = function(e) {
6604
6705
  return {
6605
6706
  /**
6606
6707
  *
@@ -6609,11 +6710,11 @@ const I = function(e, ...s) {
6609
6710
  * @throws {RequiredError}
6610
6711
  */
6611
6712
  apiV2SystemStatusOptions: async (s = {}) => {
6612
- const o = "/api/v2/system/status", n = new URL(o, m);
6713
+ const o = "/api/v2/system/status", n = new URL(o, P);
6613
6714
  let t;
6614
6715
  e && (t = e.baseOptions);
6615
6716
  const r = { method: "OPTIONS", ...t, ...s }, a = {}, l = {};
6616
- await P(a, "Authorization", e), I(n, l);
6717
+ await m(a, "Authorization", e), I(n, l);
6617
6718
  let c = t && t.headers ? t.headers : {};
6618
6719
  return r.headers = { ...a, ...c, ...s.headers }, {
6619
6720
  url: y(n),
@@ -6636,11 +6737,11 @@ const I = function(e, ...s) {
6636
6737
  * @throws {RequiredError}
6637
6738
  */
6638
6739
  getInternalMessages: async (s, o, n, t, r, a, l, c, i, p = {}) => {
6639
- const d = "/api/v2/system/status/internal", h = new URL(d, m);
6740
+ const d = "/api/v2/system/status/internal", h = new URL(d, P);
6640
6741
  let V;
6641
6742
  e && (V = e.baseOptions);
6642
6743
  const R = { method: "GET", ...V, ...p }, S = {}, w = {};
6643
- await P(S, "Authorization", e), s !== void 0 && (w.StartDateAfter = s instanceof Date ? s.toISOString() : s), o !== void 0 && (w.StartDateBefore = o instanceof Date ? o.toISOString() : o), n !== void 0 && (w.EndDateAfter = n instanceof Date ? n.toISOString() : n), t !== void 0 && (w.EndDateBefore = t instanceof Date ? t.toISOString() : t), r !== void 0 && (w.Type = r), a !== void 0 && (w.SearchTerm = a), l !== void 0 && (w.PageNumber = l), c !== void 0 && (w.PageSize = c), i !== void 0 && (w.OrderBy = i), I(h, w);
6744
+ await m(S, "Authorization", e), s !== void 0 && (w.StartDateAfter = s instanceof Date ? s.toISOString() : s), o !== void 0 && (w.StartDateBefore = o instanceof Date ? o.toISOString() : o), n !== void 0 && (w.EndDateAfter = n instanceof Date ? n.toISOString() : n), t !== void 0 && (w.EndDateBefore = t instanceof Date ? t.toISOString() : t), r !== void 0 && (w.Type = r), a !== void 0 && (w.SearchTerm = a), l !== void 0 && (w.PageNumber = l), c !== void 0 && (w.PageSize = c), i !== void 0 && (w.OrderBy = i), I(h, w);
6644
6745
  let C = V && V.headers ? V.headers : {};
6645
6746
  return R.headers = { ...S, ...C, ...p.headers }, {
6646
6747
  url: y(h),
@@ -6663,11 +6764,11 @@ const I = function(e, ...s) {
6663
6764
  * @throws {RequiredError}
6664
6765
  */
6665
6766
  getNocMessages: async (s, o, n, t, r, a, l, c, i, p = {}) => {
6666
- const d = "/api/v2/system/status/noc", h = new URL(d, m);
6767
+ const d = "/api/v2/system/status/noc", h = new URL(d, P);
6667
6768
  let V;
6668
6769
  e && (V = e.baseOptions);
6669
6770
  const R = { method: "GET", ...V, ...p }, S = {}, w = {};
6670
- await P(S, "Authorization", e), s !== void 0 && (w.StartDateAfter = s instanceof Date ? s.toISOString() : s), o !== void 0 && (w.StartDateBefore = o instanceof Date ? o.toISOString() : o), n !== void 0 && (w.EndDateAfter = n instanceof Date ? n.toISOString() : n), t !== void 0 && (w.EndDateBefore = t instanceof Date ? t.toISOString() : t), r !== void 0 && (w.Type = r), a !== void 0 && (w.SearchTerm = a), l !== void 0 && (w.PageNumber = l), c !== void 0 && (w.PageSize = c), i !== void 0 && (w.OrderBy = i), I(h, w);
6771
+ await m(S, "Authorization", e), s !== void 0 && (w.StartDateAfter = s instanceof Date ? s.toISOString() : s), o !== void 0 && (w.StartDateBefore = o instanceof Date ? o.toISOString() : o), n !== void 0 && (w.EndDateAfter = n instanceof Date ? n.toISOString() : n), t !== void 0 && (w.EndDateBefore = t instanceof Date ? t.toISOString() : t), r !== void 0 && (w.Type = r), a !== void 0 && (w.SearchTerm = a), l !== void 0 && (w.PageNumber = l), c !== void 0 && (w.PageSize = c), i !== void 0 && (w.OrderBy = i), I(h, w);
6671
6772
  let C = V && V.headers ? V.headers : {};
6672
6773
  return R.headers = { ...S, ...C, ...p.headers }, {
6673
6774
  url: y(h),
@@ -6675,8 +6776,8 @@ const I = function(e, ...s) {
6675
6776
  };
6676
6777
  }
6677
6778
  };
6678
- }, rs = function(e) {
6679
- const s = ts(e);
6779
+ }, os = function(e) {
6780
+ const s = ss(e);
6680
6781
  return {
6681
6782
  /**
6682
6783
  *
@@ -6730,8 +6831,8 @@ const I = function(e, ...s) {
6730
6831
  return (C, z) => b(h, O, u, e)(C, R || z);
6731
6832
  }
6732
6833
  };
6733
- }, as = function(e, s, o) {
6734
- const n = rs(e);
6834
+ }, ns = function(e, s, o) {
6835
+ const n = os(e);
6735
6836
  return {
6736
6837
  /**
6737
6838
  *
@@ -6763,7 +6864,7 @@ const I = function(e, ...s) {
6763
6864
  return n.getNocMessages(t.startDateAfter, t.startDateBefore, t.endDateAfter, t.endDateBefore, t.type, t.searchTerm, t.pageNumber, t.pageSize, t.orderBy, r).then((a) => a(o, s));
6764
6865
  }
6765
6866
  };
6766
- }, ss = function(e) {
6867
+ }, ls = function(e) {
6767
6868
  return {
6768
6869
  /**
6769
6870
  *
@@ -6772,11 +6873,11 @@ const I = function(e, ...s) {
6772
6873
  * @throws {RequiredError}
6773
6874
  */
6774
6875
  apiV2TitlesOptions: async (s = {}) => {
6775
- const o = "/api/v2/titles", n = new URL(o, m);
6876
+ const o = "/api/v2/titles", n = new URL(o, P);
6776
6877
  let t;
6777
6878
  e && (t = e.baseOptions);
6778
6879
  const r = { method: "OPTIONS", ...t, ...s }, a = {}, l = {};
6779
- await P(a, "Authorization", e), I(n, l);
6880
+ await m(a, "Authorization", e), I(n, l);
6780
6881
  let c = t && t.headers ? t.headers : {};
6781
6882
  return r.headers = { ...a, ...c, ...s.headers }, {
6782
6883
  url: y(n),
@@ -6791,12 +6892,12 @@ const I = function(e, ...s) {
6791
6892
  * @throws {RequiredError}
6792
6893
  */
6793
6894
  getTitle: async (s, o = {}) => {
6794
- v("getTitle", "titleId", s);
6795
- const n = "/api/v2/titles/{titleId}".replace("{titleId}", encodeURIComponent(String(s))), t = new URL(n, m);
6895
+ j("getTitle", "titleId", s);
6896
+ const n = "/api/v2/titles/{titleId}".replace("{titleId}", encodeURIComponent(String(s))), t = new URL(n, P);
6796
6897
  let r;
6797
6898
  e && (r = e.baseOptions);
6798
6899
  const a = { method: "GET", ...r, ...o }, l = {}, c = {};
6799
- await P(l, "Authorization", e), I(t, c);
6900
+ await m(l, "Authorization", e), I(t, c);
6800
6901
  let i = r && r.headers ? r.headers : {};
6801
6902
  return a.headers = { ...l, ...i, ...o.headers }, {
6802
6903
  url: y(t),
@@ -6813,11 +6914,11 @@ const I = function(e, ...s) {
6813
6914
  * @throws {RequiredError}
6814
6915
  */
6815
6916
  getTitles: async (s, o, n, t = {}) => {
6816
- const r = "/api/v2/titles", a = new URL(r, m);
6917
+ const r = "/api/v2/titles", a = new URL(r, P);
6817
6918
  let l;
6818
6919
  e && (l = e.baseOptions);
6819
6920
  const c = { method: "GET", ...l, ...t }, i = {}, p = {};
6820
- await P(i, "Authorization", e), s !== void 0 && (p.PageNumber = s), o !== void 0 && (p.PageSize = o), n !== void 0 && (p.OrderBy = n), I(a, p);
6921
+ await m(i, "Authorization", e), s !== void 0 && (p.PageNumber = s), o !== void 0 && (p.PageSize = o), n !== void 0 && (p.OrderBy = n), I(a, p);
6821
6922
  let d = l && l.headers ? l.headers : {};
6822
6923
  return c.headers = { ...i, ...d, ...t.headers }, {
6823
6924
  url: y(a),
@@ -6825,8 +6926,8 @@ const I = function(e, ...s) {
6825
6926
  };
6826
6927
  }
6827
6928
  };
6828
- }, os = function(e) {
6829
- const s = ss(e);
6929
+ }, cs = function(e) {
6930
+ const s = ls(e);
6830
6931
  return {
6831
6932
  /**
6832
6933
  *
@@ -6866,8 +6967,8 @@ const I = function(e, ...s) {
6866
6967
  return (d, h) => b(a, O, u, e)(d, c || h);
6867
6968
  }
6868
6969
  };
6869
- }, ns = function(e, s, o) {
6870
- const n = os(e);
6970
+ }, is = function(e, s, o) {
6971
+ const n = cs(e);
6871
6972
  return {
6872
6973
  /**
6873
6974
  *
@@ -6899,7 +7000,7 @@ const I = function(e, ...s) {
6899
7000
  return n.getTitles(t.pageNumber, t.pageSize, t.orderBy, r).then((a) => a(o, s));
6900
7001
  }
6901
7002
  };
6902
- }, ls = function(e) {
7003
+ }, ps = function(e) {
6903
7004
  return {
6904
7005
  /**
6905
7006
  *
@@ -6908,11 +7009,11 @@ const I = function(e, ...s) {
6908
7009
  * @throws {RequiredError}
6909
7010
  */
6910
7011
  apiV2TosOptions: async (s = {}) => {
6911
- const o = "/api/v2/tos", n = new URL(o, m);
7012
+ const o = "/api/v2/tos", n = new URL(o, P);
6912
7013
  let t;
6913
7014
  e && (t = e.baseOptions);
6914
7015
  const r = { method: "OPTIONS", ...t, ...s }, a = {}, l = {};
6915
- await P(a, "Authorization", e), I(n, l);
7016
+ await m(a, "Authorization", e), I(n, l);
6916
7017
  let c = t && t.headers ? t.headers : {};
6917
7018
  return r.headers = { ...a, ...c, ...s.headers }, {
6918
7019
  url: y(n),
@@ -6926,11 +7027,11 @@ const I = function(e, ...s) {
6926
7027
  * @throws {RequiredError}
6927
7028
  */
6928
7029
  getTos: async (s = {}) => {
6929
- const o = "/api/v2/tos", n = new URL(o, m);
7030
+ const o = "/api/v2/tos", n = new URL(o, P);
6930
7031
  let t;
6931
7032
  e && (t = e.baseOptions);
6932
7033
  const r = { method: "GET", ...t, ...s }, a = {}, l = {};
6933
- await P(a, "Authorization", e), I(n, l);
7034
+ await m(a, "Authorization", e), I(n, l);
6934
7035
  let c = t && t.headers ? t.headers : {};
6935
7036
  return r.headers = { ...a, ...c, ...s.headers }, {
6936
7037
  url: y(n),
@@ -6938,8 +7039,8 @@ const I = function(e, ...s) {
6938
7039
  };
6939
7040
  }
6940
7041
  };
6941
- }, cs = function(e) {
6942
- const s = ls(e);
7042
+ }, ds = function(e) {
7043
+ const s = ps(e);
6943
7044
  return {
6944
7045
  /**
6945
7046
  *
@@ -6964,8 +7065,8 @@ const I = function(e, ...s) {
6964
7065
  return (c, i) => b(n, O, u, e)(c, r || i);
6965
7066
  }
6966
7067
  };
6967
- }, is = function(e, s, o) {
6968
- const n = cs(e);
7068
+ }, hs = function(e, s, o) {
7069
+ const n = ds(e);
6969
7070
  return {
6970
7071
  /**
6971
7072
  *
@@ -6986,7 +7087,7 @@ const I = function(e, ...s) {
6986
7087
  return n.getTos(t).then((r) => r(o, s));
6987
7088
  }
6988
7089
  };
6989
- }, ps = function(e) {
7090
+ }, Os = function(e) {
6990
7091
  return {
6991
7092
  /**
6992
7093
  *
@@ -6997,12 +7098,12 @@ const I = function(e, ...s) {
6997
7098
  * @throws {RequiredError}
6998
7099
  */
6999
7100
  apiV2ProjectsProjectIdResourcesResourceIdTreesOptions: async (s, o, n = {}) => {
7000
- v("apiV2ProjectsProjectIdResourcesResourceIdTreesOptions", "projectId", s), v("apiV2ProjectsProjectIdResourcesResourceIdTreesOptions", "resourceId", o);
7001
- const t = "/api/v2/projects/{projectId}/resources/{resourceId}/trees".replace("{projectId}", encodeURIComponent(String(s))).replace("{resourceId}", encodeURIComponent(String(o))), r = new URL(t, m);
7101
+ j("apiV2ProjectsProjectIdResourcesResourceIdTreesOptions", "projectId", s), j("apiV2ProjectsProjectIdResourcesResourceIdTreesOptions", "resourceId", o);
7102
+ const t = "/api/v2/projects/{projectId}/resources/{resourceId}/trees".replace("{projectId}", encodeURIComponent(String(s))).replace("{resourceId}", encodeURIComponent(String(o))), r = new URL(t, P);
7002
7103
  let a;
7003
7104
  e && (a = e.baseOptions);
7004
7105
  const l = { method: "OPTIONS", ...a, ...n }, c = {}, i = {};
7005
- await P(c, "Authorization", e), I(r, i);
7106
+ await m(c, "Authorization", e), I(r, i);
7006
7107
  let p = a && a.headers ? a.headers : {};
7007
7108
  return l.headers = { ...c, ...p, ...n.headers }, {
7008
7109
  url: y(r),
@@ -7019,12 +7120,12 @@ const I = function(e, ...s) {
7019
7120
  * @throws {RequiredError}
7020
7121
  */
7021
7122
  createExtractedMetadataTree: async (s, o, n, t = {}) => {
7022
- v("createExtractedMetadataTree", "projectId", s), v("createExtractedMetadataTree", "resourceId", o);
7023
- const r = "/api/v2/projects/{projectId}/resources/{resourceId}/trees/metadata/extracted".replace("{projectId}", encodeURIComponent(String(s))).replace("{resourceId}", encodeURIComponent(String(o))), a = new URL(r, m);
7123
+ j("createExtractedMetadataTree", "projectId", s), j("createExtractedMetadataTree", "resourceId", o);
7124
+ const r = "/api/v2/projects/{projectId}/resources/{resourceId}/trees/metadata/extracted".replace("{projectId}", encodeURIComponent(String(s))).replace("{resourceId}", encodeURIComponent(String(o))), a = new URL(r, P);
7024
7125
  let l;
7025
7126
  e && (l = e.baseOptions);
7026
7127
  const c = { method: "POST", ...l, ...t }, i = {}, p = {};
7027
- await P(i, "Authorization", e), i["Content-Type"] = "application/json", I(a, p);
7128
+ await m(i, "Authorization", e), i["Content-Type"] = "application/json", I(a, p);
7028
7129
  let d = l && l.headers ? l.headers : {};
7029
7130
  return c.headers = { ...i, ...d, ...t.headers }, c.data = L(n, c, e), {
7030
7131
  url: y(a),
@@ -7041,12 +7142,12 @@ const I = function(e, ...s) {
7041
7142
  * @throws {RequiredError}
7042
7143
  */
7043
7144
  createMetadataTree: async (s, o, n, t = {}) => {
7044
- v("createMetadataTree", "projectId", s), v("createMetadataTree", "resourceId", o);
7045
- const r = "/api/v2/projects/{projectId}/resources/{resourceId}/trees/metadata".replace("{projectId}", encodeURIComponent(String(s))).replace("{resourceId}", encodeURIComponent(String(o))), a = new URL(r, m);
7145
+ j("createMetadataTree", "projectId", s), j("createMetadataTree", "resourceId", o);
7146
+ const r = "/api/v2/projects/{projectId}/resources/{resourceId}/trees/metadata".replace("{projectId}", encodeURIComponent(String(s))).replace("{resourceId}", encodeURIComponent(String(o))), a = new URL(r, P);
7046
7147
  let l;
7047
7148
  e && (l = e.baseOptions);
7048
7149
  const c = { method: "POST", ...l, ...t }, i = {}, p = {};
7049
- await P(i, "Authorization", e), i["Content-Type"] = "application/json", I(a, p);
7150
+ await m(i, "Authorization", e), i["Content-Type"] = "application/json", I(a, p);
7050
7151
  let d = l && l.headers ? l.headers : {};
7051
7152
  return c.headers = { ...i, ...d, ...t.headers }, c.data = L(n, c, e), {
7052
7153
  url: y(a),
@@ -7063,12 +7164,12 @@ const I = function(e, ...s) {
7063
7164
  * @throws {RequiredError}
7064
7165
  */
7065
7166
  deleteMetadataTree: async (s, o, n, t = {}) => {
7066
- v("deleteMetadataTree", "projectId", s), v("deleteMetadataTree", "resourceId", o);
7067
- const r = "/api/v2/projects/{projectId}/resources/{resourceId}/trees/metadata".replace("{projectId}", encodeURIComponent(String(s))).replace("{resourceId}", encodeURIComponent(String(o))), a = new URL(r, m);
7167
+ j("deleteMetadataTree", "projectId", s), j("deleteMetadataTree", "resourceId", o);
7168
+ const r = "/api/v2/projects/{projectId}/resources/{resourceId}/trees/metadata".replace("{projectId}", encodeURIComponent(String(s))).replace("{resourceId}", encodeURIComponent(String(o))), a = new URL(r, P);
7068
7169
  let l;
7069
7170
  e && (l = e.baseOptions);
7070
7171
  const c = { method: "DELETE", ...l, ...t }, i = {}, p = {};
7071
- await P(i, "Authorization", e), i["Content-Type"] = "application/json", I(a, p);
7172
+ await m(i, "Authorization", e), i["Content-Type"] = "application/json", I(a, p);
7072
7173
  let d = l && l.headers ? l.headers : {};
7073
7174
  return c.headers = { ...i, ...d, ...t.headers }, c.data = L(n, c, e), {
7074
7175
  url: y(a),
@@ -7088,12 +7189,12 @@ const I = function(e, ...s) {
7088
7189
  * @throws {RequiredError}
7089
7190
  */
7090
7191
  getFileTree: async (s, o, n, t, r, a, l = {}) => {
7091
- v("getFileTree", "projectId", s), v("getFileTree", "resourceId", o);
7092
- const c = "/api/v2/projects/{projectId}/resources/{resourceId}/trees/files".replace("{projectId}", encodeURIComponent(String(s))).replace("{resourceId}", encodeURIComponent(String(o))), i = new URL(c, m);
7192
+ j("getFileTree", "projectId", s), j("getFileTree", "resourceId", o);
7193
+ const c = "/api/v2/projects/{projectId}/resources/{resourceId}/trees/files".replace("{projectId}", encodeURIComponent(String(s))).replace("{resourceId}", encodeURIComponent(String(o))), i = new URL(c, P);
7093
7194
  let p;
7094
7195
  e && (p = e.baseOptions);
7095
7196
  const d = { method: "GET", ...p, ...l }, h = {}, V = {};
7096
- await P(h, "Authorization", e), n !== void 0 && (V.Path = n), t !== void 0 && (V.PageNumber = t), r !== void 0 && (V.PageSize = r), a !== void 0 && (V.OrderBy = a), I(i, V);
7197
+ await m(h, "Authorization", e), n !== void 0 && (V.Path = n), t !== void 0 && (V.PageNumber = t), r !== void 0 && (V.PageSize = r), a !== void 0 && (V.OrderBy = a), I(i, V);
7097
7198
  let R = p && p.headers ? p.headers : {};
7098
7199
  return d.headers = { ...h, ...R, ...l.headers }, {
7099
7200
  url: y(i),
@@ -7116,12 +7217,12 @@ const I = function(e, ...s) {
7116
7217
  * @throws {RequiredError}
7117
7218
  */
7118
7219
  getMetadataTree: async (s, o, n, t, r, a, l, c, i, p = {}) => {
7119
- v("getMetadataTree", "projectId", s), v("getMetadataTree", "resourceId", o);
7120
- const d = "/api/v2/projects/{projectId}/resources/{resourceId}/trees/metadata".replace("{projectId}", encodeURIComponent(String(s))).replace("{resourceId}", encodeURIComponent(String(o))), h = new URL(d, m);
7220
+ j("getMetadataTree", "projectId", s), j("getMetadataTree", "resourceId", o);
7221
+ const d = "/api/v2/projects/{projectId}/resources/{resourceId}/trees/metadata".replace("{projectId}", encodeURIComponent(String(s))).replace("{resourceId}", encodeURIComponent(String(o))), h = new URL(d, P);
7121
7222
  let V;
7122
7223
  e && (V = e.baseOptions);
7123
7224
  const R = { method: "GET", ...V, ...p }, S = {}, w = {};
7124
- await P(S, "Authorization", e), n !== void 0 && (w.Path = n), t !== void 0 && (w.Format = t), r !== void 0 && (w.IncludeExtractedMetadata = r), a !== void 0 && (w.IncludeProvenance = a), l !== void 0 && (w.PageNumber = l), c !== void 0 && (w.PageSize = c), i !== void 0 && (w.OrderBy = i), I(h, w);
7225
+ await m(S, "Authorization", e), n !== void 0 && (w.Path = n), t !== void 0 && (w.Format = t), r !== void 0 && (w.IncludeExtractedMetadata = r), a !== void 0 && (w.IncludeProvenance = a), l !== void 0 && (w.PageNumber = l), c !== void 0 && (w.PageSize = c), i !== void 0 && (w.OrderBy = i), I(h, w);
7125
7226
  let C = V && V.headers ? V.headers : {};
7126
7227
  return R.headers = { ...S, ...C, ...p.headers }, {
7127
7228
  url: y(h),
@@ -7142,12 +7243,12 @@ const I = function(e, ...s) {
7142
7243
  * @throws {RequiredError}
7143
7244
  */
7144
7245
  getSpecificMetadataTree: async (s, o, n, t, r, a, l, c = {}) => {
7145
- v("getSpecificMetadataTree", "projectId", s), v("getSpecificMetadataTree", "resourceId", o), v("getSpecificMetadataTree", "path", n);
7146
- const i = "/api/v2/projects/{projectId}/resources/{resourceId}/trees/metadata/specific".replace("{projectId}", encodeURIComponent(String(s))).replace("{resourceId}", encodeURIComponent(String(o))), p = new URL(i, m);
7246
+ j("getSpecificMetadataTree", "projectId", s), j("getSpecificMetadataTree", "resourceId", o), j("getSpecificMetadataTree", "path", n);
7247
+ const i = "/api/v2/projects/{projectId}/resources/{resourceId}/trees/metadata/specific".replace("{projectId}", encodeURIComponent(String(s))).replace("{resourceId}", encodeURIComponent(String(o))), p = new URL(i, P);
7147
7248
  let d;
7148
7249
  e && (d = e.baseOptions);
7149
7250
  const h = { method: "GET", ...d, ...c }, V = {}, R = {};
7150
- await P(V, "Authorization", e), n !== void 0 && (R.Path = n), t !== void 0 && (R.Format = t), r !== void 0 && (R.IncludeExtractedMetadata = r), a !== void 0 && (R.IncludeProvenance = a), l !== void 0 && (R.Version = l), I(p, R);
7251
+ await m(V, "Authorization", e), n !== void 0 && (R.Path = n), t !== void 0 && (R.Format = t), r !== void 0 && (R.IncludeExtractedMetadata = r), a !== void 0 && (R.IncludeProvenance = a), l !== void 0 && (R.Version = l), I(p, R);
7151
7252
  let S = d && d.headers ? d.headers : {};
7152
7253
  return h.headers = { ...V, ...S, ...c.headers }, {
7153
7254
  url: y(p),
@@ -7164,12 +7265,12 @@ const I = function(e, ...s) {
7164
7265
  * @throws {RequiredError}
7165
7266
  */
7166
7267
  updateExtractedMetadataTree: async (s, o, n, t = {}) => {
7167
- v("updateExtractedMetadataTree", "projectId", s), v("updateExtractedMetadataTree", "resourceId", o);
7168
- const r = "/api/v2/projects/{projectId}/resources/{resourceId}/trees/metadata/extracted".replace("{projectId}", encodeURIComponent(String(s))).replace("{resourceId}", encodeURIComponent(String(o))), a = new URL(r, m);
7268
+ j("updateExtractedMetadataTree", "projectId", s), j("updateExtractedMetadataTree", "resourceId", o);
7269
+ const r = "/api/v2/projects/{projectId}/resources/{resourceId}/trees/metadata/extracted".replace("{projectId}", encodeURIComponent(String(s))).replace("{resourceId}", encodeURIComponent(String(o))), a = new URL(r, P);
7169
7270
  let l;
7170
7271
  e && (l = e.baseOptions);
7171
7272
  const c = { method: "PUT", ...l, ...t }, i = {}, p = {};
7172
- await P(i, "Authorization", e), i["Content-Type"] = "application/json", I(a, p);
7273
+ await m(i, "Authorization", e), i["Content-Type"] = "application/json", I(a, p);
7173
7274
  let d = l && l.headers ? l.headers : {};
7174
7275
  return c.headers = { ...i, ...d, ...t.headers }, c.data = L(n, c, e), {
7175
7276
  url: y(a),
@@ -7186,12 +7287,12 @@ const I = function(e, ...s) {
7186
7287
  * @throws {RequiredError}
7187
7288
  */
7188
7289
  updateMetadataTree: async (s, o, n, t = {}) => {
7189
- v("updateMetadataTree", "projectId", s), v("updateMetadataTree", "resourceId", o);
7190
- const r = "/api/v2/projects/{projectId}/resources/{resourceId}/trees/metadata".replace("{projectId}", encodeURIComponent(String(s))).replace("{resourceId}", encodeURIComponent(String(o))), a = new URL(r, m);
7290
+ j("updateMetadataTree", "projectId", s), j("updateMetadataTree", "resourceId", o);
7291
+ const r = "/api/v2/projects/{projectId}/resources/{resourceId}/trees/metadata".replace("{projectId}", encodeURIComponent(String(s))).replace("{resourceId}", encodeURIComponent(String(o))), a = new URL(r, P);
7191
7292
  let l;
7192
7293
  e && (l = e.baseOptions);
7193
7294
  const c = { method: "PUT", ...l, ...t }, i = {}, p = {};
7194
- await P(i, "Authorization", e), i["Content-Type"] = "application/json", I(a, p);
7295
+ await m(i, "Authorization", e), i["Content-Type"] = "application/json", I(a, p);
7195
7296
  let d = l && l.headers ? l.headers : {};
7196
7297
  return c.headers = { ...i, ...d, ...t.headers }, c.data = L(n, c, e), {
7197
7298
  url: y(a),
@@ -7199,8 +7300,8 @@ const I = function(e, ...s) {
7199
7300
  };
7200
7301
  }
7201
7302
  };
7202
- }, ds = function(e) {
7203
- const s = ps(e);
7303
+ }, Vs = function(e) {
7304
+ const s = Os(e);
7204
7305
  return {
7205
7306
  /**
7206
7307
  *
@@ -7341,8 +7442,8 @@ const I = function(e, ...s) {
7341
7442
  return (d, h) => b(a, O, u, e)(d, c || h);
7342
7443
  }
7343
7444
  };
7344
- }, hs = function(e, s, o) {
7345
- const n = ds(e);
7445
+ }, us = function(e, s, o) {
7446
+ const n = Vs(e);
7346
7447
  return {
7347
7448
  /**
7348
7449
  *
@@ -7435,7 +7536,7 @@ const I = function(e, ...s) {
7435
7536
  return n.updateMetadataTree(t.projectId, t.resourceId, t.metadataTreeForUpdateDto, r).then((a) => a(o, s));
7436
7537
  }
7437
7538
  };
7438
- }, Os = function(e) {
7539
+ }, As = function(e) {
7439
7540
  return {
7440
7541
  /**
7441
7542
  *
@@ -7444,11 +7545,11 @@ const I = function(e, ...s) {
7444
7545
  * @throws {RequiredError}
7445
7546
  */
7446
7547
  apiV2UsersOptions: async (s = {}) => {
7447
- const o = "/api/v2/users", n = new URL(o, m);
7548
+ const o = "/api/v2/users", n = new URL(o, P);
7448
7549
  let t;
7449
7550
  e && (t = e.baseOptions);
7450
7551
  const r = { method: "OPTIONS", ...t, ...s }, a = {}, l = {};
7451
- await P(a, "Authorization", e), I(n, l);
7552
+ await m(a, "Authorization", e), I(n, l);
7452
7553
  let c = t && t.headers ? t.headers : {};
7453
7554
  return r.headers = { ...a, ...c, ...s.headers }, {
7454
7555
  url: y(n),
@@ -7464,12 +7565,12 @@ const I = function(e, ...s) {
7464
7565
  * @throws {RequiredError}
7465
7566
  */
7466
7567
  getUsers: async (s, o, n = {}) => {
7467
- v("getUsers", "searchTerm", s);
7468
- const t = "/api/v2/users", r = new URL(t, m);
7568
+ j("getUsers", "searchTerm", s);
7569
+ const t = "/api/v2/users", r = new URL(t, P);
7469
7570
  let a;
7470
7571
  e && (a = e.baseOptions);
7471
7572
  const l = { method: "GET", ...a, ...n }, c = {}, i = {};
7472
- await P(c, "Authorization", e), o !== void 0 && (i.OrderBy = o), s !== void 0 && (i.SearchTerm = s), I(r, i);
7573
+ await m(c, "Authorization", e), o !== void 0 && (i.OrderBy = o), s !== void 0 && (i.SearchTerm = s), I(r, i);
7473
7574
  let p = a && a.headers ? a.headers : {};
7474
7575
  return l.headers = { ...c, ...p, ...n.headers }, {
7475
7576
  url: y(r),
@@ -7477,8 +7578,8 @@ const I = function(e, ...s) {
7477
7578
  };
7478
7579
  }
7479
7580
  };
7480
- }, Vs = function(e) {
7481
- const s = Os(e);
7581
+ }, Ps = function(e) {
7582
+ const s = As(e);
7482
7583
  return {
7483
7584
  /**
7484
7585
  *
@@ -7505,8 +7606,8 @@ const I = function(e, ...s) {
7505
7606
  return (p, d) => b(r, O, u, e)(p, l || d);
7506
7607
  }
7507
7608
  };
7508
- }, us = function(e, s, o) {
7509
- const n = Vs(e);
7609
+ }, ms = function(e, s, o) {
7610
+ const n = Ps(e);
7510
7611
  return {
7511
7612
  /**
7512
7613
  *
@@ -7528,7 +7629,7 @@ const I = function(e, ...s) {
7528
7629
  return n.getUsers(t.searchTerm, t.orderBy, r).then((a) => a(o, s));
7529
7630
  }
7530
7631
  };
7531
- }, As = function(e) {
7632
+ }, Is = function(e) {
7532
7633
  return {
7533
7634
  /**
7534
7635
  *
@@ -7537,11 +7638,11 @@ const I = function(e, ...s) {
7537
7638
  * @throws {RequiredError}
7538
7639
  */
7539
7640
  apiV2UserNotificationsOptions: async (s = {}) => {
7540
- const o = "/api/v2/user-notifications", n = new URL(o, m);
7641
+ const o = "/api/v2/user-notifications", n = new URL(o, P);
7541
7642
  let t;
7542
7643
  e && (t = e.baseOptions);
7543
7644
  const r = { method: "OPTIONS", ...t, ...s }, a = {}, l = {};
7544
- await P(a, "Authorization", e), I(n, l);
7645
+ await m(a, "Authorization", e), I(n, l);
7545
7646
  let c = t && t.headers ? t.headers : {};
7546
7647
  return r.headers = { ...a, ...c, ...s.headers }, {
7547
7648
  url: y(n),
@@ -7556,11 +7657,11 @@ const I = function(e, ...s) {
7556
7657
  * @throws {RequiredError}
7557
7658
  */
7558
7659
  createUserNotification: async (s, o = {}) => {
7559
- const n = "/api/v2/user-notifications", t = new URL(n, m);
7660
+ const n = "/api/v2/user-notifications", t = new URL(n, P);
7560
7661
  let r;
7561
7662
  e && (r = e.baseOptions);
7562
7663
  const a = { method: "POST", ...r, ...o }, l = {}, c = {};
7563
- await P(l, "Authorization", e), l["Content-Type"] = "application/json", I(t, c);
7664
+ await m(l, "Authorization", e), l["Content-Type"] = "application/json", I(t, c);
7564
7665
  let i = r && r.headers ? r.headers : {};
7565
7666
  return a.headers = { ...l, ...i, ...o.headers }, a.data = L(s, a, e), {
7566
7667
  url: y(t),
@@ -7575,12 +7676,12 @@ const I = function(e, ...s) {
7575
7676
  * @throws {RequiredError}
7576
7677
  */
7577
7678
  deleteUserNotification: async (s, o = {}) => {
7578
- v("deleteUserNotification", "id", s);
7579
- const n = "/api/v2/user-notifications/{id}".replace("{id}", encodeURIComponent(String(s))), t = new URL(n, m);
7679
+ j("deleteUserNotification", "id", s);
7680
+ const n = "/api/v2/user-notifications/{id}".replace("{id}", encodeURIComponent(String(s))), t = new URL(n, P);
7580
7681
  let r;
7581
7682
  e && (r = e.baseOptions);
7582
7683
  const a = { method: "DELETE", ...r, ...o }, l = {}, c = {};
7583
- await P(l, "Authorization", e), I(t, c);
7684
+ await m(l, "Authorization", e), I(t, c);
7584
7685
  let i = r && r.headers ? r.headers : {};
7585
7686
  return a.headers = { ...l, ...i, ...o.headers }, {
7586
7687
  url: y(t),
@@ -7595,12 +7696,12 @@ const I = function(e, ...s) {
7595
7696
  * @throws {RequiredError}
7596
7697
  */
7597
7698
  getUserNotification: async (s, o = {}) => {
7598
- v("getUserNotification", "notificationId", s);
7599
- const n = "/api/v2/user-notifications/{notificationId}".replace("{notificationId}", encodeURIComponent(String(s))), t = new URL(n, m);
7699
+ j("getUserNotification", "notificationId", s);
7700
+ const n = "/api/v2/user-notifications/{notificationId}".replace("{notificationId}", encodeURIComponent(String(s))), t = new URL(n, P);
7600
7701
  let r;
7601
7702
  e && (r = e.baseOptions);
7602
7703
  const a = { method: "GET", ...r, ...o }, l = {}, c = {};
7603
- await P(l, "Authorization", e), I(t, c);
7704
+ await m(l, "Authorization", e), I(t, c);
7604
7705
  let i = r && r.headers ? r.headers : {};
7605
7706
  return a.headers = { ...l, ...i, ...o.headers }, {
7606
7707
  url: y(t),
@@ -7617,11 +7718,11 @@ const I = function(e, ...s) {
7617
7718
  * @throws {RequiredError}
7618
7719
  */
7619
7720
  getUserNotifications: async (s, o, n, t = {}) => {
7620
- const r = "/api/v2/user-notifications", a = new URL(r, m);
7721
+ const r = "/api/v2/user-notifications", a = new URL(r, P);
7621
7722
  let l;
7622
7723
  e && (l = e.baseOptions);
7623
7724
  const c = { method: "GET", ...l, ...t }, i = {}, p = {};
7624
- await P(i, "Authorization", e), s !== void 0 && (p.PageNumber = s), o !== void 0 && (p.PageSize = o), n !== void 0 && (p.OrderBy = n), I(a, p);
7725
+ await m(i, "Authorization", e), s !== void 0 && (p.PageNumber = s), o !== void 0 && (p.PageSize = o), n !== void 0 && (p.OrderBy = n), I(a, p);
7625
7726
  let d = l && l.headers ? l.headers : {};
7626
7727
  return c.headers = { ...i, ...d, ...t.headers }, {
7627
7728
  url: y(a),
@@ -7629,8 +7730,8 @@ const I = function(e, ...s) {
7629
7730
  };
7630
7731
  }
7631
7732
  };
7632
- }, ms = function(e) {
7633
- const s = As(e);
7733
+ }, ys = function(e) {
7734
+ const s = Is(e);
7634
7735
  return {
7635
7736
  /**
7636
7737
  *
@@ -7694,8 +7795,8 @@ const I = function(e, ...s) {
7694
7795
  return (d, h) => b(a, O, u, e)(d, c || h);
7695
7796
  }
7696
7797
  };
7697
- }, Ps = function(e, s, o) {
7698
- const n = ms(e);
7798
+ }, bs = function(e, s, o) {
7799
+ const n = ys(e);
7699
7800
  return {
7700
7801
  /**
7701
7802
  *
@@ -7747,7 +7848,7 @@ const I = function(e, ...s) {
7747
7848
  return n.getUserNotifications(t.pageNumber, t.pageSize, t.orderBy, r).then((a) => a(o, s));
7748
7849
  }
7749
7850
  };
7750
- }, Is = function(e) {
7851
+ }, Rs = function(e) {
7751
7852
  return {
7752
7853
  /**
7753
7854
  *
@@ -7756,11 +7857,11 @@ const I = function(e, ...s) {
7756
7857
  * @throws {RequiredError}
7757
7858
  */
7758
7859
  apiV2VisibilitiesOptions: async (s = {}) => {
7759
- const o = "/api/v2/visibilities", n = new URL(o, m);
7860
+ const o = "/api/v2/visibilities", n = new URL(o, P);
7760
7861
  let t;
7761
7862
  e && (t = e.baseOptions);
7762
7863
  const r = { method: "OPTIONS", ...t, ...s }, a = {}, l = {};
7763
- await P(a, "Authorization", e), I(n, l);
7864
+ await m(a, "Authorization", e), I(n, l);
7764
7865
  let c = t && t.headers ? t.headers : {};
7765
7866
  return r.headers = { ...a, ...c, ...s.headers }, {
7766
7867
  url: y(n),
@@ -7777,11 +7878,11 @@ const I = function(e, ...s) {
7777
7878
  * @throws {RequiredError}
7778
7879
  */
7779
7880
  getVisibilities: async (s, o, n, t = {}) => {
7780
- const r = "/api/v2/visibilities", a = new URL(r, m);
7881
+ const r = "/api/v2/visibilities", a = new URL(r, P);
7781
7882
  let l;
7782
7883
  e && (l = e.baseOptions);
7783
7884
  const c = { method: "GET", ...l, ...t }, i = {}, p = {};
7784
- await P(i, "Authorization", e), s !== void 0 && (p.PageNumber = s), o !== void 0 && (p.PageSize = o), n !== void 0 && (p.OrderBy = n), I(a, p);
7885
+ await m(i, "Authorization", e), s !== void 0 && (p.PageNumber = s), o !== void 0 && (p.PageSize = o), n !== void 0 && (p.OrderBy = n), I(a, p);
7785
7886
  let d = l && l.headers ? l.headers : {};
7786
7887
  return c.headers = { ...i, ...d, ...t.headers }, {
7787
7888
  url: y(a),
@@ -7796,12 +7897,12 @@ const I = function(e, ...s) {
7796
7897
  * @throws {RequiredError}
7797
7898
  */
7798
7899
  getVisibility: async (s, o = {}) => {
7799
- v("getVisibility", "visibilityId", s);
7800
- const n = "/api/v2/visibilities/{visibilityId}".replace("{visibilityId}", encodeURIComponent(String(s))), t = new URL(n, m);
7900
+ j("getVisibility", "visibilityId", s);
7901
+ const n = "/api/v2/visibilities/{visibilityId}".replace("{visibilityId}", encodeURIComponent(String(s))), t = new URL(n, P);
7801
7902
  let r;
7802
7903
  e && (r = e.baseOptions);
7803
7904
  const a = { method: "GET", ...r, ...o }, l = {}, c = {};
7804
- await P(l, "Authorization", e), I(t, c);
7905
+ await m(l, "Authorization", e), I(t, c);
7805
7906
  let i = r && r.headers ? r.headers : {};
7806
7907
  return a.headers = { ...l, ...i, ...o.headers }, {
7807
7908
  url: y(t),
@@ -7809,8 +7910,8 @@ const I = function(e, ...s) {
7809
7910
  };
7810
7911
  }
7811
7912
  };
7812
- }, ys = function(e) {
7813
- const s = Is(e);
7913
+ }, js = function(e) {
7914
+ const s = Rs(e);
7814
7915
  return {
7815
7916
  /**
7816
7917
  *
@@ -7850,8 +7951,8 @@ const I = function(e, ...s) {
7850
7951
  return (i, p) => b(t, O, u, e)(i, a || p);
7851
7952
  }
7852
7953
  };
7853
- }, bs = function(e, s, o) {
7854
- const n = ys(e);
7954
+ }, vs = function(e, s, o) {
7955
+ const n = js(e);
7855
7956
  return {
7856
7957
  /**
7857
7958
  *
@@ -7883,7 +7984,7 @@ const I = function(e, ...s) {
7883
7984
  return n.getVisibility(t.visibilityId, r).then((a) => a(o, s));
7884
7985
  }
7885
7986
  };
7886
- }, Rs = function(e) {
7987
+ }, Ss = function(e) {
7887
7988
  return {
7888
7989
  /**
7889
7990
  *
@@ -7892,11 +7993,11 @@ const I = function(e, ...s) {
7892
7993
  * @throws {RequiredError}
7893
7994
  */
7894
7995
  apiV2VocabulariesOptions: async (s = {}) => {
7895
- const o = "/api/v2/vocabularies", n = new URL(o, m);
7996
+ const o = "/api/v2/vocabularies", n = new URL(o, P);
7896
7997
  let t;
7897
7998
  e && (t = e.baseOptions);
7898
7999
  const r = { method: "OPTIONS", ...t, ...s }, a = {}, l = {};
7899
- await P(a, "Authorization", e), I(n, l);
8000
+ await m(a, "Authorization", e), I(n, l);
7900
8001
  let c = t && t.headers ? t.headers : {};
7901
8002
  return r.headers = { ...a, ...c, ...s.headers }, {
7902
8003
  url: y(n),
@@ -7915,11 +8016,11 @@ const I = function(e, ...s) {
7915
8016
  * @throws {RequiredError}
7916
8017
  */
7917
8018
  getVocabularies: async (s, o, n, t, r, a = {}) => {
7918
- const l = "/api/v2/vocabularies", c = new URL(l, m);
8019
+ const l = "/api/v2/vocabularies", c = new URL(l, P);
7919
8020
  let i;
7920
8021
  e && (i = e.baseOptions);
7921
8022
  const p = { method: "GET", ...i, ...a }, d = {}, h = {};
7922
- await P(d, "Authorization", e), s !== void 0 && (h.SearchTerm = s), o !== void 0 && (h.Language = o), n !== void 0 && (h.PageNumber = n), t !== void 0 && (h.PageSize = t), r !== void 0 && (h.OrderBy = r), I(c, h);
8023
+ await m(d, "Authorization", e), s !== void 0 && (h.SearchTerm = s), o !== void 0 && (h.Language = o), n !== void 0 && (h.PageNumber = n), t !== void 0 && (h.PageSize = t), r !== void 0 && (h.OrderBy = r), I(c, h);
7923
8024
  let V = i && i.headers ? i.headers : {};
7924
8025
  return p.headers = { ...d, ...V, ...a.headers }, {
7925
8026
  url: y(c),
@@ -7935,12 +8036,12 @@ const I = function(e, ...s) {
7935
8036
  * @throws {RequiredError}
7936
8037
  */
7937
8038
  getVocabularyInstance: async (s, o, n = {}) => {
7938
- v("getVocabularyInstance", "instance", s);
7939
- const t = "/api/v2/vocabularies/instances/{instance}".replace("{instance}", encodeURIComponent(String(s))), r = new URL(t, m);
8039
+ j("getVocabularyInstance", "instance", s);
8040
+ const t = "/api/v2/vocabularies/instances/{instance}".replace("{instance}", encodeURIComponent(String(s))), r = new URL(t, P);
7940
8041
  let a;
7941
8042
  e && (a = e.baseOptions);
7942
8043
  const l = { method: "GET", ...a, ...n }, c = {}, i = {};
7943
- await P(c, "Authorization", e), o != null && (c["Accept-Language"] = typeof o == "string" ? o : JSON.stringify(o)), I(r, i);
8044
+ await m(c, "Authorization", e), o != null && (c["Accept-Language"] = typeof o == "string" ? o : JSON.stringify(o)), I(r, i);
7944
8045
  let p = a && a.headers ? a.headers : {};
7945
8046
  return l.headers = { ...c, ...p, ...n.headers }, {
7946
8047
  url: y(r),
@@ -7960,12 +8061,12 @@ const I = function(e, ...s) {
7960
8061
  * @throws {RequiredError}
7961
8062
  */
7962
8063
  getVocabularyInstances: async (s, o, n, t, r, a, l = {}) => {
7963
- v("getVocabularyInstances", "_class", s);
7964
- const c = "/api/v2/vocabularies/instances", i = new URL(c, m);
8064
+ j("getVocabularyInstances", "_class", s);
8065
+ const c = "/api/v2/vocabularies/instances", i = new URL(c, P);
7965
8066
  let p;
7966
8067
  e && (p = e.baseOptions);
7967
8068
  const d = { method: "GET", ...p, ...l }, h = {}, V = {};
7968
- await P(h, "Authorization", e), s !== void 0 && (V.Class = s), o !== void 0 && (V.SearchTerm = o), n !== void 0 && (V.Language = n), t !== void 0 && (V.PageSize = t), r !== void 0 && (V.PageNumber = r), a !== void 0 && (V.OrderBy = a), I(i, V);
8069
+ await m(h, "Authorization", e), s !== void 0 && (V.Class = s), o !== void 0 && (V.SearchTerm = o), n !== void 0 && (V.Language = n), t !== void 0 && (V.PageSize = t), r !== void 0 && (V.PageNumber = r), a !== void 0 && (V.OrderBy = a), I(i, V);
7969
8070
  let R = p && p.headers ? p.headers : {};
7970
8071
  return d.headers = { ...h, ...R, ...l.headers }, {
7971
8072
  url: y(i),
@@ -7973,8 +8074,8 @@ const I = function(e, ...s) {
7973
8074
  };
7974
8075
  }
7975
8076
  };
7976
- }, vs = function(e) {
7977
- const s = Rs(e);
8077
+ }, ws = function(e) {
8078
+ const s = Ss(e);
7978
8079
  return {
7979
8080
  /**
7980
8081
  *
@@ -8034,8 +8135,8 @@ const I = function(e, ...s) {
8034
8135
  return (R, S) => b(i, O, u, e)(R, d || S);
8035
8136
  }
8036
8137
  };
8037
- }, js = function(e, s, o) {
8038
- const n = vs(e);
8138
+ }, Ts = function(e, s, o) {
8139
+ const n = ws(e);
8039
8140
  return {
8040
8141
  /**
8041
8142
  *
@@ -8098,7 +8199,7 @@ const q = function(e, ...s) {
8098
8199
  const a = { ...e.options, url: ((n == null ? void 0 : n.basePath) || t.defaults.baseURL || r) + e.url };
8099
8200
  return t.request(a);
8100
8201
  };
8101
- }, Ss = function(e) {
8202
+ }, Us = function(e) {
8102
8203
  return {
8103
8204
  /**
8104
8205
  *
@@ -8137,8 +8238,8 @@ const q = function(e, ...s) {
8137
8238
  };
8138
8239
  }
8139
8240
  };
8140
- }, ws = function(e) {
8141
- const s = Ss(e);
8241
+ }, xs = function(e) {
8242
+ const s = Us(e);
8142
8243
  return {
8143
8244
  /**
8144
8245
  *
@@ -8163,8 +8264,8 @@ const q = function(e, ...s) {
8163
8264
  return (c, i) => K(n, O, k, e)(c, r || i);
8164
8265
  }
8165
8266
  };
8166
- }, Ts = function(e, s, o) {
8167
- const n = ws(e);
8267
+ }, Bs = function(e, s, o) {
8268
+ const n = xs(e);
8168
8269
  return {
8169
8270
  /**
8170
8271
  *
@@ -8185,7 +8286,7 @@ const q = function(e, ...s) {
8185
8286
  return n.accountLogout(t).then((r) => r(o, s));
8186
8287
  }
8187
8288
  };
8188
- }, Us = function(e) {
8289
+ }, Fs = function(e) {
8189
8290
  return {
8190
8291
  /**
8191
8292
  *
@@ -8206,8 +8307,8 @@ const q = function(e, ...s) {
8206
8307
  };
8207
8308
  }
8208
8309
  };
8209
- }, xs = function(e) {
8210
- const s = Us(e);
8310
+ }, Cs = function(e) {
8311
+ const s = Fs(e);
8211
8312
  return {
8212
8313
  /**
8213
8314
  *
@@ -8221,8 +8322,8 @@ const q = function(e, ...s) {
8221
8322
  return (c, i) => K(n, O, k, e)(c, r || i);
8222
8323
  }
8223
8324
  };
8224
- }, Bs = function(e, s, o) {
8225
- const n = xs(e);
8325
+ }, Ls = function(e, s, o) {
8326
+ const n = Cs(e);
8226
8327
  return {
8227
8328
  /**
8228
8329
  *
@@ -8234,7 +8335,7 @@ const q = function(e, ...s) {
8234
8335
  return n.homeIndex(t).then((r) => r(o, s));
8235
8336
  }
8236
8337
  };
8237
- }, Fs = function(e) {
8338
+ }, Es = function(e) {
8238
8339
  return {
8239
8340
  /**
8240
8341
  *
@@ -8273,8 +8374,8 @@ const q = function(e, ...s) {
8273
8374
  };
8274
8375
  }
8275
8376
  };
8276
- }, Cs = function(e) {
8277
- const s = Fs(e);
8377
+ }, zs = function(e) {
8378
+ const s = Es(e);
8278
8379
  return {
8279
8380
  /**
8280
8381
  *
@@ -8299,8 +8400,8 @@ const q = function(e, ...s) {
8299
8400
  return (i, p) => K(t, O, k, e)(i, a || p);
8300
8401
  }
8301
8402
  };
8302
- }, Ls = function(e, s, o) {
8303
- const n = Cs(e);
8403
+ }, Ns = function(e, s, o) {
8404
+ const n = zs(e);
8304
8405
  return {
8305
8406
  /**
8306
8407
  *
@@ -8321,7 +8422,7 @@ const q = function(e, ...s) {
8321
8422
  return n.mergeLogin(t.returnUrl, r).then((a) => a(o, s));
8322
8423
  }
8323
8424
  };
8324
- }, Es = function(e) {
8425
+ }, Hs = function(e) {
8325
8426
  return {
8326
8427
  /**
8327
8428
  *
@@ -8363,8 +8464,8 @@ const q = function(e, ...s) {
8363
8464
  };
8364
8465
  }
8365
8466
  };
8366
- }, zs = function(e) {
8367
- const s = Es(e);
8467
+ }, Ms = function(e) {
8468
+ const s = Hs(e);
8368
8469
  return {
8369
8470
  /**
8370
8471
  *
@@ -8392,8 +8493,8 @@ const q = function(e, ...s) {
8392
8493
  return (p, d) => K(r, O, k, e)(p, l || d);
8393
8494
  }
8394
8495
  };
8395
- }, Ns = function(e, s, o) {
8396
- const n = zs(e);
8496
+ }, Qs = function(e, s, o) {
8497
+ const n = Ms(e);
8397
8498
  return {
8398
8499
  /**
8399
8500
  *
@@ -8416,7 +8517,7 @@ const q = function(e, ...s) {
8416
8517
  return n.oRCiDLoginPOST(t.oRCiDJWT, t.returnUrl, r).then((a) => a(o, s));
8417
8518
  }
8418
8519
  };
8419
- }, Hs = function(e) {
8520
+ }, Ds = function(e) {
8420
8521
  return {
8421
8522
  /**
8422
8523
  *
@@ -8459,8 +8560,8 @@ const q = function(e, ...s) {
8459
8560
  };
8460
8561
  }
8461
8562
  };
8462
- }, Ms = function(e) {
8463
- const s = Hs(e);
8563
+ }, ks = function(e) {
8564
+ const s = Ds(e);
8464
8565
  return {
8465
8566
  /**
8466
8567
  *
@@ -8489,8 +8590,8 @@ const q = function(e, ...s) {
8489
8590
  return (p, d) => K(r, O, k, e)(p, l || d);
8490
8591
  }
8491
8592
  };
8492
- }, Qs = function(e, s, o) {
8493
- const n = Ms(e);
8593
+ }, Gs = function(e, s, o) {
8594
+ const n = ks(e);
8494
8595
  return {
8495
8596
  /**
8496
8597
  *
@@ -8526,103 +8627,105 @@ const x = () => {
8526
8627
  let s = typeof window < "u" ? window.location.hostname : "coscine.rwth-aachen.de";
8527
8628
  return s.indexOf(":") !== -1 && (s.indexOf("https://") !== -1 && (s = s.replace("https://", "")), s = s.substr(0, s.indexOf(":"))), s;
8528
8629
  };
8529
- function Ds(e) {
8630
+ function $s(e) {
8530
8631
  return {
8531
8632
  // Upon adding or removing any API endpoints, the list of entries below may have to be manually updated:
8532
- AccountApi: Ts(new U({ accessToken: T }), "https://" + x() + "/coscine/api/Coscine.Api.STS", e),
8633
+ AccountApi: Bs(new U({ accessToken: T }), "https://" + x() + "/coscine/api/Coscine.Api.STS", e),
8533
8634
  AdminApi: Br(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
8534
8635
  ApplicationProfileApi: Lr(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
8535
8636
  BlobApi: Nr(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
8536
8637
  DisciplineApi: Qr(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
8537
8638
  HandleApi: Gr(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
8538
- HomeApi: Bs(new U({ accessToken: T }), "https://" + x() + "/coscine/api/Coscine.Api.STS", e),
8639
+ HomeApi: Ls(new U({ accessToken: T }), "https://" + x() + "/coscine/api/Coscine.Api.STS", e),
8539
8640
  LanguageApi: qr(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
8540
8641
  LicenseApi: Wr(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
8541
8642
  MaintenanceApi: Yr(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
8542
- MergeApi: Ls(new U({ accessToken: T }), "https://" + x() + "/coscine/api/Coscine.Api.STS", e),
8643
+ MergeApi: Ns(new U({ accessToken: T }), "https://" + x() + "/coscine/api/Coscine.Api.STS", e),
8543
8644
  NotificationApi: ea(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
8544
- ORCiDApi: Ns(new U({ accessToken: T }), "https://" + x() + "/coscine/api/Coscine.Api.STS", e),
8645
+ ORCiDApi: Qs(new U({ accessToken: T }), "https://" + x() + "/coscine/api/Coscine.Api.STS", e),
8545
8646
  OrganizationApi: aa(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
8546
8647
  PidApi: na(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
8547
8648
  ProjectApi: ia(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
8548
8649
  ProjectInvitationApi: ha(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
8549
8650
  ProjectMemberApi: ua(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
8550
- ProjectPublicationRequestApi: Pa(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
8651
+ ProjectPublicationRequestApi: ma(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
8551
8652
  ProjectQuotaApi: ba(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
8552
- ProjectResourceApi: ja(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
8653
+ ProjectResourceApi: va(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
8553
8654
  ProjectResourceQuotaApi: Ta(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
8554
8655
  ProjectResourceTypeApi: Ba(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
8555
- ResourceApi: La(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
8556
- ResourceTypeApi: Na(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
8557
- ResourceTypeGitLabApi: Qa(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
8558
- RoleApi: Ga(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
8559
- SearchApi: qa(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
8560
- SelfApi: Wa(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
8561
- SelfApiTokenApi: Ya(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
8562
- SelfSessionApi: es(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
8563
- ShibbolethApi: Qs(new U({ accessToken: T }), "https://" + x() + "/coscine/api/Coscine.Api.STS", e),
8564
- SystemStatusApi: as(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
8565
- TitleApi: ns(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
8566
- TosApi: is(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
8567
- TreeApi: hs(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
8568
- UserApi: us(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
8569
- UserNotificationOptOutApi: Ps(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
8570
- VisibilityApi: bs(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
8571
- VocabularyApi: js(new U({ accessToken: T }), "https://" + x() + "/coscine", e)
8656
+ ProjectSubProjectsApi: La(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
8657
+ ResourceApi: Na(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
8658
+ ResourceTypeApi: Qa(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
8659
+ ResourceTypeGitLabApi: Ga(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
8660
+ RoleApi: qa(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
8661
+ SearchApi: Wa(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
8662
+ SelfApi: Ya(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
8663
+ SelfApiTokenApi: es(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
8664
+ SelfSessionApi: as(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
8665
+ ShibbolethApi: Gs(new U({ accessToken: T }), "https://" + x() + "/coscine/api/Coscine.Api.STS", e),
8666
+ SystemStatusApi: ns(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
8667
+ TitleApi: is(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
8668
+ TosApi: hs(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
8669
+ TreeApi: us(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
8670
+ UserApi: ms(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
8671
+ UserNotificationOptOutApi: bs(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
8672
+ VisibilityApi: vs(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
8673
+ VocabularyApi: Ts(new U({ accessToken: T }), "https://" + x() + "/coscine", e)
8572
8674
  };
8573
8675
  }
8574
8676
  const nt = O.create({
8575
8677
  withCredentials: !0
8576
- }), ks = "X-Coscine-Logging-CorrelationId";
8577
- function Gs(e) {
8678
+ }), _s = "X-Coscine-Logging-CorrelationId";
8679
+ function qs(e) {
8578
8680
  if (typeof window < "u") {
8579
8681
  const s = localStorage.getItem("coscine.authorization.bearer");
8580
8682
  s && e.headers.setAuthorization("Bearer " + s);
8581
8683
  const o = localStorage.getItem("coscine.clientcorrelation.id");
8582
- o && e.headers.set(ks, o);
8684
+ o && e.headers.set(_s, o);
8583
8685
  }
8584
8686
  }
8585
- nt.interceptors.request.use((e) => (Gs(e), e), (e) => Promise.reject(e), { synchronous: !0 });
8586
- const B = Ds(nt), _s = B.AccountApi, qs = B.AdminApi, Js = B.ApplicationProfileApi, Ks = B.BlobApi, Ws = B.DisciplineApi, fs = B.HandleApi, Xs = B.HomeApi, Ys = B.LanguageApi, Zs = B.LicenseApi, gs = B.MaintenanceApi, eo = B.MergeApi, to = B.NotificationApi, ro = B.ORCiDApi, ao = B.OrganizationApi, so = B.PidApi, oo = B.ProjectApi, no = B.ProjectInvitationApi, lo = B.ProjectMemberApi, co = B.ProjectPublicationRequestApi, io = B.ProjectQuotaApi, po = B.ProjectResourceApi, ho = B.ProjectResourceQuotaApi, Oo = B.ProjectResourceTypeApi, Vo = B.ResourceApi, uo = B.ResourceTypeApi, Ao = B.ResourceTypeGitLabApi, mo = B.RoleApi, Po = B.SearchApi, Io = B.SelfApi, yo = B.SelfApiTokenApi, bo = B.ShibbolethApi, Ro = B.SystemStatusApi, vo = B.TitleApi, jo = B.TosApi, So = B.TreeApi, wo = B.UserApi, To = B.UserNotificationOptOutApi, Uo = B.VisibilityApi, xo = B.VocabularyApi;
8687
+ nt.interceptors.request.use((e) => (qs(e), e), (e) => Promise.reject(e), { synchronous: !0 });
8688
+ const B = $s(nt), Ks = B.AccountApi, Ws = B.AdminApi, fs = B.ApplicationProfileApi, Xs = B.BlobApi, Ys = B.DisciplineApi, Zs = B.HandleApi, gs = B.HomeApi, eo = B.LanguageApi, to = B.LicenseApi, ro = B.MaintenanceApi, ao = B.MergeApi, so = B.NotificationApi, oo = B.ORCiDApi, no = B.OrganizationApi, lo = B.PidApi, co = B.ProjectApi, io = B.ProjectInvitationApi, po = B.ProjectMemberApi, ho = B.ProjectPublicationRequestApi, Oo = B.ProjectQuotaApi, Vo = B.ProjectResourceApi, uo = B.ProjectResourceQuotaApi, Ao = B.ProjectResourceTypeApi, Po = B.ProjectSubProjectsApi, mo = B.ResourceApi, Io = B.ResourceTypeApi, yo = B.ResourceTypeGitLabApi, bo = B.RoleApi, Ro = B.SearchApi, jo = B.SelfApi, vo = B.SelfApiTokenApi, So = B.ShibbolethApi, wo = B.SystemStatusApi, To = B.TitleApi, Uo = B.TosApi, xo = B.TreeApi, Bo = B.UserApi, Fo = B.UserNotificationOptOutApi, Co = B.VisibilityApi, Lo = B.VocabularyApi;
8587
8689
  export {
8588
- _s as AccountApi,
8589
- qs as AdminApi,
8590
- Js as ApplicationProfileApi,
8591
- Ks as BlobApi,
8592
- Ws as DisciplineApi,
8593
- fs as HandleApi,
8594
- Xs as HomeApi,
8595
- Ys as LanguageApi,
8596
- Zs as LicenseApi,
8597
- gs as MaintenanceApi,
8598
- eo as MergeApi,
8599
- to as NotificationApi,
8600
- ro as ORCiDApi,
8601
- ao as OrganizationApi,
8602
- so as PidApi,
8603
- oo as ProjectApi,
8604
- no as ProjectInvitationApi,
8605
- lo as ProjectMemberApi,
8606
- co as ProjectPublicationRequestApi,
8607
- io as ProjectQuotaApi,
8608
- po as ProjectResourceApi,
8609
- ho as ProjectResourceQuotaApi,
8610
- Oo as ProjectResourceTypeApi,
8611
- Vo as ResourceApi,
8612
- uo as ResourceTypeApi,
8613
- Ao as ResourceTypeGitLabApi,
8614
- mo as RoleApi,
8615
- Po as SearchApi,
8616
- Io as SelfApi,
8617
- yo as SelfApiTokenApi,
8618
- bo as ShibbolethApi,
8619
- Ro as SystemStatusApi,
8620
- vo as TitleApi,
8621
- jo as TosApi,
8622
- So as TreeApi,
8623
- wo as UserApi,
8624
- To as UserNotificationOptOutApi,
8625
- Uo as VisibilityApi,
8626
- xo as VocabularyApi,
8690
+ Ks as AccountApi,
8691
+ Ws as AdminApi,
8692
+ fs as ApplicationProfileApi,
8693
+ Xs as BlobApi,
8694
+ Ys as DisciplineApi,
8695
+ Zs as HandleApi,
8696
+ gs as HomeApi,
8697
+ eo as LanguageApi,
8698
+ to as LicenseApi,
8699
+ ro as MaintenanceApi,
8700
+ ao as MergeApi,
8701
+ so as NotificationApi,
8702
+ oo as ORCiDApi,
8703
+ no as OrganizationApi,
8704
+ lo as PidApi,
8705
+ co as ProjectApi,
8706
+ io as ProjectInvitationApi,
8707
+ po as ProjectMemberApi,
8708
+ ho as ProjectPublicationRequestApi,
8709
+ Oo as ProjectQuotaApi,
8710
+ Vo as ProjectResourceApi,
8711
+ uo as ProjectResourceQuotaApi,
8712
+ Ao as ProjectResourceTypeApi,
8713
+ Po as ProjectSubProjectsApi,
8714
+ mo as ResourceApi,
8715
+ Io as ResourceTypeApi,
8716
+ yo as ResourceTypeGitLabApi,
8717
+ bo as RoleApi,
8718
+ Ro as SearchApi,
8719
+ jo as SelfApi,
8720
+ vo as SelfApiTokenApi,
8721
+ So as ShibbolethApi,
8722
+ wo as SystemStatusApi,
8723
+ To as TitleApi,
8724
+ Uo as TosApi,
8725
+ xo as TreeApi,
8726
+ Bo as UserApi,
8727
+ Fo as UserNotificationOptOutApi,
8728
+ Co as VisibilityApi,
8729
+ Lo as VocabularyApi,
8627
8730
  B as default
8628
8731
  };