@coscine/api-client 3.10.0 → 3.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -98,11 +98,11 @@ const Ot = le("string"), M = le("function"), Ne = le("number"), ce = (e) => e !=
98
98
  return !1;
99
99
  const a = Re(e);
100
100
  return (a === null || a === Object.prototype || Object.getPrototypeOf(a) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
101
- }, ut = Q("Date"), At = Q("File"), mt = Q("Blob"), Pt = Q("FileList"), It = (e) => ce(e) && M(e.pipe), yt = (e) => {
101
+ }, ut = Q("Date"), At = Q("File"), Pt = Q("Blob"), mt = Q("FileList"), It = (e) => ce(e) && M(e.pipe), bt = (e) => {
102
102
  let a;
103
103
  return e && (typeof FormData == "function" && e instanceof FormData || M(e.append) && ((a = ne(e)) === "formdata" || // detect form-data instance
104
104
  a === "object" && M(e.toString) && e.toString() === "[object FormData]"));
105
- }, bt = Q("URLSearchParams"), Rt = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
105
+ }, yt = Q("URLSearchParams"), Rt = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
106
106
  function ee(e, a, { allOwnKeys: o = !1 } = {}) {
107
107
  if (e === null || typeof e > "u")
108
108
  return;
@@ -247,11 +247,11 @@ const Nt = (e) => {
247
247
  return n;
248
248
  };
249
249
  return o(e, 0);
250
- }, $t = Q("AsyncFunction"), Gt = (e) => e && (ce(e) || M(e)) && M(e.then) && M(e.catch), R = {
250
+ }, $t = Q("AsyncFunction"), Gt = (e) => e && (ce(e) || M(e)) && M(e.then) && M(e.catch), j = {
251
251
  isArray: Y,
252
252
  isArrayBuffer: De,
253
253
  isBuffer: dt,
254
- isFormData: yt,
254
+ isFormData: bt,
255
255
  isArrayBufferView: ht,
256
256
  isString: Ot,
257
257
  isNumber: Ne,
@@ -261,13 +261,13 @@ const Nt = (e) => {
261
261
  isUndefined: g,
262
262
  isDate: ut,
263
263
  isFile: At,
264
- isBlob: mt,
264
+ isBlob: Pt,
265
265
  isRegExp: Et,
266
266
  isFunction: M,
267
267
  isStream: It,
268
- isURLSearchParams: bt,
268
+ isURLSearchParams: yt,
269
269
  isTypedArray: xt,
270
- isFileList: Pt,
270
+ isFileList: mt,
271
271
  forEach: ee,
272
272
  merge: ue,
273
273
  extend: jt,
@@ -304,7 +304,7 @@ const Nt = (e) => {
304
304
  function F(e, a, o, n, t) {
305
305
  Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", a && (this.code = a), o && (this.config = o), n && (this.request = n), t && (this.response = t);
306
306
  }
307
- R.inherits(F, Error, {
307
+ j.inherits(F, Error, {
308
308
  toJSON: function() {
309
309
  return {
310
310
  // Standard
@@ -319,7 +319,7 @@ R.inherits(F, Error, {
319
319
  columnNumber: this.columnNumber,
320
320
  stack: this.stack,
321
321
  // Axios
322
- config: R.toJSONObject(this.config),
322
+ config: j.toJSONObject(this.config),
323
323
  code: this.code,
324
324
  status: this.response && this.response.status ? this.response.status : null
325
325
  };
@@ -347,58 +347,58 @@ Object.defineProperties(F, We);
347
347
  Object.defineProperty(Ke, "isAxiosError", { value: !0 });
348
348
  F.from = (e, a, o, n, t, r) => {
349
349
  const s = Object.create(Ke);
350
- return R.toFlatObject(e, s, function(c) {
350
+ return j.toFlatObject(e, s, function(c) {
351
351
  return c !== Error.prototype;
352
352
  }, (l) => l !== "isAxiosError"), F.call(s, e.message, a, o, n, t), s.cause = e, s.name = e.name, r && Object.assign(s, r), s;
353
353
  };
354
354
  const _t = null;
355
355
  function Ae(e) {
356
- return R.isPlainObject(e) || R.isArray(e);
356
+ return j.isPlainObject(e) || j.isArray(e);
357
357
  }
358
- function fe(e) {
359
- return R.endsWith(e, "[]") ? e.slice(0, -2) : e;
358
+ function Xe(e) {
359
+ return j.endsWith(e, "[]") ? e.slice(0, -2) : e;
360
360
  }
361
361
  function Be(e, a, o) {
362
362
  return e ? e.concat(a).map(function(t, r) {
363
- return t = fe(t), !o && r ? "[" + t + "]" : t;
363
+ return t = Xe(t), !o && r ? "[" + t + "]" : t;
364
364
  }).join(o ? "." : "") : a;
365
365
  }
366
366
  function qt(e) {
367
- return R.isArray(e) && !e.some(Ae);
367
+ return j.isArray(e) && !e.some(Ae);
368
368
  }
369
- const Jt = R.toFlatObject(R, {}, null, function(a) {
369
+ const Jt = j.toFlatObject(j, {}, null, function(a) {
370
370
  return /^is[A-Z]/.test(a);
371
371
  });
372
372
  function pe(e, a, o) {
373
- if (!R.isObject(e))
373
+ if (!j.isObject(e))
374
374
  throw new TypeError("target must be an object");
375
- a = a || new FormData(), o = R.toFlatObject(o, {
375
+ a = a || new FormData(), o = j.toFlatObject(o, {
376
376
  metaTokens: !0,
377
377
  dots: !1,
378
378
  indexes: !1
379
379
  }, !1, function(S, w) {
380
- return !R.isUndefined(w[S]);
380
+ return !j.isUndefined(w[S]);
381
381
  });
382
- const n = o.metaTokens, t = o.visitor || i, r = o.dots, s = o.indexes, c = (o.Blob || typeof Blob < "u" && Blob) && R.isSpecCompliantForm(a);
383
- if (!R.isFunction(t))
382
+ const n = o.metaTokens, t = o.visitor || i, r = o.dots, s = o.indexes, c = (o.Blob || typeof Blob < "u" && Blob) && j.isSpecCompliantForm(a);
383
+ if (!j.isFunction(t))
384
384
  throw new TypeError("visitor must be a function");
385
385
  function p(v) {
386
386
  if (v === null)
387
387
  return "";
388
- if (R.isDate(v))
388
+ if (j.isDate(v))
389
389
  return v.toISOString();
390
- if (!c && R.isBlob(v))
390
+ if (!c && j.isBlob(v))
391
391
  throw new F("Blob is not supported. Use a Buffer instead.");
392
- return R.isArrayBuffer(v) || R.isTypedArray(v) ? c && typeof Blob == "function" ? new Blob([v]) : Buffer.from(v) : v;
392
+ return j.isArrayBuffer(v) || j.isTypedArray(v) ? c && typeof Blob == "function" ? new Blob([v]) : Buffer.from(v) : v;
393
393
  }
394
394
  function i(v, S, w) {
395
395
  let C = v;
396
396
  if (v && !w && typeof v == "object") {
397
- if (R.endsWith(S, "{}"))
397
+ if (j.endsWith(S, "{}"))
398
398
  S = n ? S : S.slice(0, -2), v = JSON.stringify(v);
399
- else if (R.isArray(v) && qt(v) || (R.isFileList(v) || R.endsWith(S, "[]")) && (C = R.toArray(v)))
400
- return S = fe(S), C.forEach(function(W, lt) {
401
- !(R.isUndefined(W) || W === null) && a.append(
399
+ else if (j.isArray(v) && qt(v) || (j.isFileList(v) || j.endsWith(S, "[]")) && (C = j.toArray(v)))
400
+ return S = Xe(S), C.forEach(function(W, lt) {
401
+ !(j.isUndefined(W) || W === null) && a.append(
402
402
  // eslint-disable-next-line no-nested-ternary
403
403
  s === !0 ? Be([S], lt, r) : s === null ? S : S + "[]",
404
404
  p(W)
@@ -413,21 +413,21 @@ function pe(e, a, o) {
413
413
  isVisitable: Ae
414
414
  });
415
415
  function V(v, S) {
416
- if (!R.isUndefined(v)) {
416
+ if (!j.isUndefined(v)) {
417
417
  if (d.indexOf(v) !== -1)
418
418
  throw Error("Circular reference detected in " + S.join("."));
419
- d.push(v), R.forEach(v, function(C, z) {
420
- (!(R.isUndefined(C) || C === null) && t.call(
419
+ d.push(v), j.forEach(v, function(C, z) {
420
+ (!(j.isUndefined(C) || C === null) && t.call(
421
421
  a,
422
422
  C,
423
- R.isString(z) ? z.trim() : z,
423
+ j.isString(z) ? z.trim() : z,
424
424
  S,
425
425
  h
426
426
  )) === !0 && V(C, S ? S.concat(z) : [z]);
427
427
  }), d.pop();
428
428
  }
429
429
  }
430
- if (!R.isObject(e))
430
+ if (!j.isObject(e))
431
431
  throw new TypeError("data must be an object");
432
432
  return V(e), a;
433
433
  }
@@ -448,11 +448,11 @@ function Fe(e) {
448
448
  function je(e, a) {
449
449
  this._pairs = [], e && pe(e, this, a);
450
450
  }
451
- const Xe = je.prototype;
452
- Xe.append = function(a, o) {
451
+ const fe = je.prototype;
452
+ fe.append = function(a, o) {
453
453
  this._pairs.push([a, o]);
454
454
  };
455
- Xe.toString = function(a) {
455
+ fe.toString = function(a) {
456
456
  const o = a ? function(n) {
457
457
  return a.call(this, n, Fe);
458
458
  } : Fe;
@@ -468,7 +468,7 @@ function Ye(e, a, o) {
468
468
  return e;
469
469
  const n = o && o.encode || Kt, t = o && o.serialize;
470
470
  let r;
471
- if (t ? r = t(a, o) : r = R.isURLSearchParams(a) ? a.toString() : new je(a, o).toString(n), r) {
471
+ if (t ? r = t(a, o) : r = j.isURLSearchParams(a) ? a.toString() : new je(a, o).toString(n), r) {
472
472
  const s = e.indexOf("#");
473
473
  s !== -1 && (e = e.slice(0, s)), e += (e.indexOf("?") === -1 ? "?" : "&") + r;
474
474
  }
@@ -523,7 +523,7 @@ class Wt {
523
523
  * @returns {void}
524
524
  */
525
525
  forEach(a) {
526
- R.forEach(this.handlers, function(n) {
526
+ j.forEach(this.handlers, function(n) {
527
527
  n !== null && a(n);
528
528
  });
529
529
  }
@@ -532,11 +532,11 @@ const Ce = Wt, Ze = {
532
532
  silentJSONParsing: !0,
533
533
  forcedJSONParsing: !0,
534
534
  clarifyTimeoutError: !1
535
- }, ft = typeof URLSearchParams < "u" ? URLSearchParams : je, Xt = typeof FormData < "u" ? FormData : null, Yt = typeof Blob < "u" ? Blob : null, Zt = {
535
+ }, Xt = typeof URLSearchParams < "u" ? URLSearchParams : je, ft = typeof FormData < "u" ? FormData : null, Yt = typeof Blob < "u" ? Blob : null, Zt = {
536
536
  isBrowser: !0,
537
537
  classes: {
538
- URLSearchParams: ft,
539
- FormData: Xt,
538
+ URLSearchParams: Xt,
539
+ FormData: ft,
540
540
  Blob: Yt
541
541
  },
542
542
  protocols: ["http", "https", "file", "blob", "url", "data"]
@@ -553,12 +553,12 @@ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", tr
553
553
  function rr(e, a) {
554
554
  return pe(e, new H.classes.URLSearchParams(), Object.assign({
555
555
  visitor: function(o, n, t, r) {
556
- return H.isNode && R.isBuffer(o) ? (this.append(n, o.toString("base64")), !1) : r.defaultVisitor.apply(this, arguments);
556
+ return H.isNode && j.isBuffer(o) ? (this.append(n, o.toString("base64")), !1) : r.defaultVisitor.apply(this, arguments);
557
557
  }
558
558
  }, a));
559
559
  }
560
560
  function ar(e) {
561
- return R.matchAll(/\w+|\[(\w*)]/g, e).map((a) => a[0] === "[]" ? "" : a[1] || a[0]);
561
+ return j.matchAll(/\w+|\[(\w*)]/g, e).map((a) => a[0] === "[]" ? "" : a[1] || a[0]);
562
562
  }
563
563
  function sr(e) {
564
564
  const a = {}, o = Object.keys(e);
@@ -573,20 +573,20 @@ function et(e) {
573
573
  function a(o, n, t, r) {
574
574
  let s = o[r++];
575
575
  const l = Number.isFinite(+s), c = r >= o.length;
576
- return s = !s && R.isArray(t) ? t.length : s, c ? (R.hasOwnProp(t, s) ? t[s] = [t[s], n] : t[s] = n, !l) : ((!t[s] || !R.isObject(t[s])) && (t[s] = []), a(o, n, t[s], r) && R.isArray(t[s]) && (t[s] = sr(t[s])), !l);
576
+ return s = !s && j.isArray(t) ? t.length : s, c ? (j.hasOwnProp(t, s) ? t[s] = [t[s], n] : t[s] = n, !l) : ((!t[s] || !j.isObject(t[s])) && (t[s] = []), a(o, n, t[s], r) && j.isArray(t[s]) && (t[s] = sr(t[s])), !l);
577
577
  }
578
- if (R.isFormData(e) && R.isFunction(e.entries)) {
578
+ if (j.isFormData(e) && j.isFunction(e.entries)) {
579
579
  const o = {};
580
- return R.forEachEntry(e, (n, t) => {
580
+ return j.forEachEntry(e, (n, t) => {
581
581
  a(ar(n), t, o, 0);
582
582
  }), o;
583
583
  }
584
584
  return null;
585
585
  }
586
586
  function or(e, a, o) {
587
- if (R.isString(e))
587
+ if (j.isString(e))
588
588
  try {
589
- return (a || JSON.parse)(e), R.trim(e);
589
+ return (a || JSON.parse)(e), j.trim(e);
590
590
  } catch (n) {
591
591
  if (n.name !== "SyntaxError")
592
592
  throw n;
@@ -597,20 +597,20 @@ const ve = {
597
597
  transitional: Ze,
598
598
  adapter: ["xhr", "http"],
599
599
  transformRequest: [function(a, o) {
600
- const n = o.getContentType() || "", t = n.indexOf("application/json") > -1, r = R.isObject(a);
601
- if (r && R.isHTMLForm(a) && (a = new FormData(a)), R.isFormData(a))
600
+ const n = o.getContentType() || "", t = n.indexOf("application/json") > -1, r = j.isObject(a);
601
+ if (r && j.isHTMLForm(a) && (a = new FormData(a)), j.isFormData(a))
602
602
  return t && t ? JSON.stringify(et(a)) : a;
603
- if (R.isArrayBuffer(a) || R.isBuffer(a) || R.isStream(a) || R.isFile(a) || R.isBlob(a))
603
+ if (j.isArrayBuffer(a) || j.isBuffer(a) || j.isStream(a) || j.isFile(a) || j.isBlob(a))
604
604
  return a;
605
- if (R.isArrayBufferView(a))
605
+ if (j.isArrayBufferView(a))
606
606
  return a.buffer;
607
- if (R.isURLSearchParams(a))
607
+ if (j.isURLSearchParams(a))
608
608
  return o.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), a.toString();
609
609
  let l;
610
610
  if (r) {
611
611
  if (n.indexOf("application/x-www-form-urlencoded") > -1)
612
612
  return rr(a, this.formSerializer).toString();
613
- if ((l = R.isFileList(a)) || n.indexOf("multipart/form-data") > -1) {
613
+ if ((l = j.isFileList(a)) || n.indexOf("multipart/form-data") > -1) {
614
614
  const c = this.env && this.env.FormData;
615
615
  return pe(
616
616
  l ? { "files[]": a } : a,
@@ -623,7 +623,7 @@ const ve = {
623
623
  }],
624
624
  transformResponse: [function(a) {
625
625
  const o = this.transitional || ve.transitional, n = o && o.forcedJSONParsing, t = this.responseType === "json";
626
- if (a && R.isString(a) && (n && !this.responseType || t)) {
626
+ if (a && j.isString(a) && (n && !this.responseType || t)) {
627
627
  const s = !(o && o.silentJSONParsing) && t;
628
628
  try {
629
629
  return JSON.parse(a);
@@ -657,10 +657,10 @@ const ve = {
657
657
  }
658
658
  }
659
659
  };
660
- R.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => {
660
+ j.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => {
661
661
  ve.headers[e] = {};
662
662
  });
663
- const Se = ve, nr = R.toObjectSet([
663
+ const Se = ve, nr = j.toObjectSet([
664
664
  "age",
665
665
  "authorization",
666
666
  "content-length",
@@ -690,7 +690,7 @@ function Z(e) {
690
690
  return e && String(e).trim().toLowerCase();
691
691
  }
692
692
  function ae(e) {
693
- return e === !1 || e == null ? e : R.isArray(e) ? e.map(ae) : String(e);
693
+ return e === !1 || e == null ? e : j.isArray(e) ? e.map(ae) : String(e);
694
694
  }
695
695
  function cr(e) {
696
696
  const a = /* @__PURE__ */ Object.create(null), o = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
@@ -701,12 +701,12 @@ function cr(e) {
701
701
  }
702
702
  const pr = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
703
703
  function he(e, a, o, n, t) {
704
- if (R.isFunction(n))
704
+ if (j.isFunction(n))
705
705
  return n.call(this, a, o);
706
- if (t && (a = o), !!R.isString(a)) {
707
- if (R.isString(n))
706
+ if (t && (a = o), !!j.isString(a)) {
707
+ if (j.isString(n))
708
708
  return a.indexOf(n) !== -1;
709
- if (R.isRegExp(n))
709
+ if (j.isRegExp(n))
710
710
  return n.test(a);
711
711
  }
712
712
  }
@@ -714,7 +714,7 @@ function ir(e) {
714
714
  return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (a, o, n) => o.toUpperCase() + n);
715
715
  }
716
716
  function dr(e, a) {
717
- const o = R.toCamelCase(" " + a);
717
+ const o = j.toCamelCase(" " + a);
718
718
  ["get", "set", "has"].forEach((n) => {
719
719
  Object.defineProperty(e, n + o, {
720
720
  value: function(t, r, s) {
@@ -734,24 +734,24 @@ class ie {
734
734
  const i = Z(c);
735
735
  if (!i)
736
736
  throw new Error("header name must be a non-empty string");
737
- const d = R.findKey(t, i);
737
+ const d = j.findKey(t, i);
738
738
  (!d || t[d] === void 0 || p === !0 || p === void 0 && t[d] !== !1) && (t[d || c] = ae(l));
739
739
  }
740
- const s = (l, c) => R.forEach(l, (p, i) => r(p, i, c));
741
- return R.isPlainObject(a) || a instanceof this.constructor ? s(a, o) : R.isString(a) && (a = a.trim()) && !pr(a) ? s(lr(a), o) : a != null && r(o, a, n), this;
740
+ const s = (l, c) => j.forEach(l, (p, i) => r(p, i, c));
741
+ return j.isPlainObject(a) || a instanceof this.constructor ? s(a, o) : j.isString(a) && (a = a.trim()) && !pr(a) ? s(lr(a), o) : a != null && r(o, a, n), this;
742
742
  }
743
743
  get(a, o) {
744
744
  if (a = Z(a), a) {
745
- const n = R.findKey(this, a);
745
+ const n = j.findKey(this, a);
746
746
  if (n) {
747
747
  const t = this[n];
748
748
  if (!o)
749
749
  return t;
750
750
  if (o === !0)
751
751
  return cr(t);
752
- if (R.isFunction(o))
752
+ if (j.isFunction(o))
753
753
  return o.call(this, t, n);
754
- if (R.isRegExp(o))
754
+ if (j.isRegExp(o))
755
755
  return o.exec(t);
756
756
  throw new TypeError("parser must be boolean|regexp|function");
757
757
  }
@@ -759,7 +759,7 @@ class ie {
759
759
  }
760
760
  has(a, o) {
761
761
  if (a = Z(a), a) {
762
- const n = R.findKey(this, a);
762
+ const n = j.findKey(this, a);
763
763
  return !!(n && this[n] !== void 0 && (!o || he(this, this[n], n, o)));
764
764
  }
765
765
  return !1;
@@ -769,11 +769,11 @@ class ie {
769
769
  let t = !1;
770
770
  function r(s) {
771
771
  if (s = Z(s), s) {
772
- const l = R.findKey(n, s);
772
+ const l = j.findKey(n, s);
773
773
  l && (!o || he(n, n[l], l, o)) && (delete n[l], t = !0);
774
774
  }
775
775
  }
776
- return R.isArray(a) ? a.forEach(r) : r(a), t;
776
+ return j.isArray(a) ? a.forEach(r) : r(a), t;
777
777
  }
778
778
  clear(a) {
779
779
  const o = Object.keys(this);
@@ -786,8 +786,8 @@ class ie {
786
786
  }
787
787
  normalize(a) {
788
788
  const o = this, n = {};
789
- return R.forEach(this, (t, r) => {
790
- const s = R.findKey(n, r);
789
+ return j.forEach(this, (t, r) => {
790
+ const s = j.findKey(n, r);
791
791
  if (s) {
792
792
  o[s] = ae(t), delete o[r];
793
793
  return;
@@ -801,8 +801,8 @@ class ie {
801
801
  }
802
802
  toJSON(a) {
803
803
  const o = /* @__PURE__ */ Object.create(null);
804
- return R.forEach(this, (n, t) => {
805
- n != null && n !== !1 && (o[t] = a && R.isArray(n) ? n.join(", ") : n);
804
+ return j.forEach(this, (n, t) => {
805
+ n != null && n !== !1 && (o[t] = a && j.isArray(n) ? n.join(", ") : n);
806
806
  }), o;
807
807
  }
808
808
  [Symbol.iterator]() {
@@ -830,11 +830,11 @@ class ie {
830
830
  const l = Z(s);
831
831
  n[l] || (dr(t, s), n[l] = !0);
832
832
  }
833
- return R.isArray(a) ? a.forEach(r) : r(a), this;
833
+ return j.isArray(a) ? a.forEach(r) : r(a), this;
834
834
  }
835
835
  }
836
836
  ie.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
837
- R.reduceDescriptors(ie.prototype, ({ value: e }, a) => {
837
+ j.reduceDescriptors(ie.prototype, ({ value: e }, a) => {
838
838
  let o = a[0].toUpperCase() + a.slice(1);
839
839
  return {
840
840
  get: () => e,
@@ -843,12 +843,12 @@ R.reduceDescriptors(ie.prototype, ({ value: e }, a) => {
843
843
  }
844
844
  };
845
845
  });
846
- R.freezeMethods(ie);
846
+ j.freezeMethods(ie);
847
847
  const D = ie;
848
848
  function Oe(e, a) {
849
849
  const o = this || Se, n = a || o, t = D.from(n.headers);
850
850
  let r = n.data;
851
- return R.forEach(e, function(l) {
851
+ return j.forEach(e, function(l) {
852
852
  r = l.call(o, r, t.normalize(), a ? a.status : void 0);
853
853
  }), t.normalize(), r;
854
854
  }
@@ -858,7 +858,7 @@ function tt(e) {
858
858
  function te(e, a, o) {
859
859
  F.call(this, e ?? "canceled", F.ERR_CANCELED, a, o), this.name = "CanceledError";
860
860
  }
861
- R.inherits(te, F, {
861
+ j.inherits(te, F, {
862
862
  __CANCEL__: !0
863
863
  });
864
864
  function hr(e, a, o) {
@@ -876,7 +876,7 @@ const Or = H.hasStandardBrowserEnv ? (
876
876
  {
877
877
  write(e, a, o, n, t, r) {
878
878
  const s = [e + "=" + encodeURIComponent(a)];
879
- R.isNumber(o) && s.push("expires=" + new Date(o).toGMTString()), R.isString(n) && s.push("path=" + n), R.isString(t) && s.push("domain=" + t), r === !0 && s.push("secure"), document.cookie = s.join("; ");
879
+ j.isNumber(o) && s.push("expires=" + new Date(o).toGMTString()), j.isString(n) && s.push("path=" + n), j.isString(t) && s.push("domain=" + t), r === !0 && s.push("secure"), document.cookie = s.join("; ");
880
880
  },
881
881
  read(e) {
882
882
  const a = document.cookie.match(new RegExp("(^|;\\s*)(" + e + ")=([^;]*)"));
@@ -927,7 +927,7 @@ const Ar = H.hasStandardBrowserEnv ? (
927
927
  };
928
928
  }
929
929
  return n = t(window.location.href), function(s) {
930
- const l = R.isString(s) ? t(s) : s;
930
+ const l = j.isString(s) ? t(s) : s;
931
931
  return l.protocol === n.protocol && l.host === n.host;
932
932
  };
933
933
  }()
@@ -939,11 +939,11 @@ const Ar = H.hasStandardBrowserEnv ? (
939
939
  };
940
940
  }()
941
941
  );
942
- function mr(e) {
942
+ function Pr(e) {
943
943
  const a = /^([-+\w]{1,25})(:?\/\/|:)/.exec(e);
944
944
  return a && a[1] || "";
945
945
  }
946
- function Pr(e, a) {
946
+ function mr(e, a) {
947
947
  e = e || 10;
948
948
  const o = new Array(e), n = new Array(e);
949
949
  let t = 0, r = 0, s;
@@ -961,7 +961,7 @@ function Pr(e, a) {
961
961
  }
962
962
  function Ee(e, a) {
963
963
  let o = 0;
964
- const n = Pr(50, 250);
964
+ const n = mr(50, 250);
965
965
  return (t) => {
966
966
  const r = t.loaded, s = t.lengthComputable ? t.total : void 0, l = r - o, c = n(l), p = r <= s;
967
967
  o = r;
@@ -977,7 +977,7 @@ function Ee(e, a) {
977
977
  i[a ? "download" : "upload"] = !0, e(i);
978
978
  };
979
979
  }
980
- const Ir = typeof XMLHttpRequest < "u", yr = Ir && function(e) {
980
+ const Ir = typeof XMLHttpRequest < "u", br = Ir && function(e) {
981
981
  return new Promise(function(o, n) {
982
982
  let t = e.data;
983
983
  const r = D.from(e.headers).normalize();
@@ -986,7 +986,7 @@ const Ir = typeof XMLHttpRequest < "u", yr = Ir && function(e) {
986
986
  e.cancelToken && e.cancelToken.unsubscribe(c), e.signal && e.signal.removeEventListener("abort", c);
987
987
  }
988
988
  let i;
989
- if (R.isFormData(t)) {
989
+ if (j.isFormData(t)) {
990
990
  if (H.hasStandardBrowserEnv || H.hasStandardBrowserWebWorkerEnv)
991
991
  r.setContentType(!1);
992
992
  else if ((i = r.getContentType()) !== !1) {
@@ -1035,27 +1035,27 @@ const Ir = typeof XMLHttpRequest < "u", yr = Ir && function(e) {
1035
1035
  e,
1036
1036
  d
1037
1037
  )), d = null;
1038
- }, H.hasStandardBrowserEnv && (l && R.isFunction(l) && (l = l(e)), l || l !== !1 && Ar(h))) {
1038
+ }, H.hasStandardBrowserEnv && (l && j.isFunction(l) && (l = l(e)), l || l !== !1 && Ar(h))) {
1039
1039
  const S = e.xsrfHeaderName && e.xsrfCookieName && Or.read(e.xsrfCookieName);
1040
1040
  S && r.set(e.xsrfHeaderName, S);
1041
1041
  }
1042
- t === void 0 && r.setContentType(null), "setRequestHeader" in d && R.forEach(r.toJSON(), function(w, C) {
1042
+ t === void 0 && r.setContentType(null), "setRequestHeader" in d && j.forEach(r.toJSON(), function(w, C) {
1043
1043
  d.setRequestHeader(C, w);
1044
- }), R.isUndefined(e.withCredentials) || (d.withCredentials = !!e.withCredentials), s && s !== "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) => {
1044
+ }), j.isUndefined(e.withCredentials) || (d.withCredentials = !!e.withCredentials), s && s !== "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) => {
1045
1045
  d && (n(!S || S.type ? new te(null, e, d) : S), d.abort(), d = null);
1046
1046
  }, e.cancelToken && e.cancelToken.subscribe(c), e.signal && (e.signal.aborted ? c() : e.signal.addEventListener("abort", c)));
1047
- const v = mr(h);
1047
+ const v = Pr(h);
1048
1048
  if (v && H.protocols.indexOf(v) === -1) {
1049
1049
  n(new F("Unsupported protocol " + v + ":", F.ERR_BAD_REQUEST, e));
1050
1050
  return;
1051
1051
  }
1052
1052
  d.send(t || null);
1053
1053
  });
1054
- }, me = {
1054
+ }, Pe = {
1055
1055
  http: _t,
1056
- xhr: yr
1056
+ xhr: br
1057
1057
  };
1058
- R.forEach(me, (e, a) => {
1058
+ j.forEach(Pe, (e, a) => {
1059
1059
  if (e) {
1060
1060
  try {
1061
1061
  Object.defineProperty(e, "name", { value: a });
@@ -1064,16 +1064,16 @@ R.forEach(me, (e, a) => {
1064
1064
  Object.defineProperty(e, "adapterName", { value: a });
1065
1065
  }
1066
1066
  });
1067
- const ze = (e) => `- ${e}`, br = (e) => R.isFunction(e) || e === null || e === !1, at = {
1067
+ const ze = (e) => `- ${e}`, yr = (e) => j.isFunction(e) || e === null || e === !1, at = {
1068
1068
  getAdapter: (e) => {
1069
- e = R.isArray(e) ? e : [e];
1069
+ e = j.isArray(e) ? e : [e];
1070
1070
  const { length: a } = e;
1071
1071
  let o, n;
1072
1072
  const t = {};
1073
1073
  for (let r = 0; r < a; r++) {
1074
1074
  o = e[r];
1075
1075
  let s;
1076
- if (n = o, !br(o) && (n = me[(s = String(o)).toLowerCase()], n === void 0))
1076
+ if (n = o, !yr(o) && (n = Pe[(s = String(o)).toLowerCase()], n === void 0))
1077
1077
  throw new F(`Unknown adapter '${s}'`);
1078
1078
  if (n)
1079
1079
  break;
@@ -1093,7 +1093,7 @@ const ze = (e) => `- ${e}`, br = (e) => R.isFunction(e) || e === null || e === !
1093
1093
  }
1094
1094
  return n;
1095
1095
  },
1096
- adapters: me
1096
+ adapters: Pe
1097
1097
  };
1098
1098
  function Ve(e) {
1099
1099
  if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
@@ -1118,26 +1118,26 @@ function Me(e) {
1118
1118
  });
1119
1119
  }
1120
1120
  const He = (e) => e instanceof D ? e.toJSON() : e;
1121
- function X(e, a) {
1121
+ function f(e, a) {
1122
1122
  a = a || {};
1123
1123
  const o = {};
1124
1124
  function n(p, i, d) {
1125
- return R.isPlainObject(p) && R.isPlainObject(i) ? R.merge.call({ caseless: d }, p, i) : R.isPlainObject(i) ? R.merge({}, i) : R.isArray(i) ? i.slice() : i;
1125
+ return j.isPlainObject(p) && j.isPlainObject(i) ? j.merge.call({ caseless: d }, p, i) : j.isPlainObject(i) ? j.merge({}, i) : j.isArray(i) ? i.slice() : i;
1126
1126
  }
1127
1127
  function t(p, i, d) {
1128
- if (R.isUndefined(i)) {
1129
- if (!R.isUndefined(p))
1128
+ if (j.isUndefined(i)) {
1129
+ if (!j.isUndefined(p))
1130
1130
  return n(void 0, p, d);
1131
1131
  } else
1132
1132
  return n(p, i, d);
1133
1133
  }
1134
1134
  function r(p, i) {
1135
- if (!R.isUndefined(i))
1135
+ if (!j.isUndefined(i))
1136
1136
  return n(void 0, i);
1137
1137
  }
1138
1138
  function s(p, i) {
1139
- if (R.isUndefined(i)) {
1140
- if (!R.isUndefined(p))
1139
+ if (j.isUndefined(i)) {
1140
+ if (!j.isUndefined(p))
1141
1141
  return n(void 0, p);
1142
1142
  } else
1143
1143
  return n(void 0, i);
@@ -1179,9 +1179,9 @@ function X(e, a) {
1179
1179
  validateStatus: l,
1180
1180
  headers: (p, i) => t(He(p), He(i), !0)
1181
1181
  };
1182
- return R.forEach(Object.keys(Object.assign({}, e, a)), function(i) {
1182
+ return j.forEach(Object.keys(Object.assign({}, e, a)), function(i) {
1183
1183
  const d = c[i] || t, h = d(e[i], a[i], i);
1184
- R.isUndefined(h) && d !== l || (o[i] = h);
1184
+ j.isUndefined(h) && d !== l || (o[i] = h);
1185
1185
  }), o;
1186
1186
  }
1187
1187
  const st = "1.6.2", we = {};
@@ -1226,10 +1226,10 @@ function Rr(e, a, o) {
1226
1226
  throw new F("Unknown option " + r, F.ERR_BAD_OPTION);
1227
1227
  }
1228
1228
  }
1229
- const Pe = {
1229
+ const me = {
1230
1230
  assertOptions: Rr,
1231
1231
  validators: we
1232
- }, f = Pe.validators;
1232
+ }, X = me.validators;
1233
1233
  class oe {
1234
1234
  constructor(a) {
1235
1235
  this.defaults = a, this.interceptors = {
@@ -1246,23 +1246,23 @@ class oe {
1246
1246
  * @returns {Promise} The Promise to be fulfilled
1247
1247
  */
1248
1248
  request(a, o) {
1249
- typeof a == "string" ? (o = o || {}, o.url = a) : o = a || {}, o = X(this.defaults, o);
1249
+ typeof a == "string" ? (o = o || {}, o.url = a) : o = a || {}, o = f(this.defaults, o);
1250
1250
  const { transitional: n, paramsSerializer: t, headers: r } = o;
1251
- n !== void 0 && Pe.assertOptions(n, {
1252
- silentJSONParsing: f.transitional(f.boolean),
1253
- forcedJSONParsing: f.transitional(f.boolean),
1254
- clarifyTimeoutError: f.transitional(f.boolean)
1255
- }, !1), t != null && (R.isFunction(t) ? o.paramsSerializer = {
1251
+ n !== void 0 && me.assertOptions(n, {
1252
+ silentJSONParsing: X.transitional(X.boolean),
1253
+ forcedJSONParsing: X.transitional(X.boolean),
1254
+ clarifyTimeoutError: X.transitional(X.boolean)
1255
+ }, !1), t != null && (j.isFunction(t) ? o.paramsSerializer = {
1256
1256
  serialize: t
1257
- } : Pe.assertOptions(t, {
1258
- encode: f.function,
1259
- serialize: f.function
1257
+ } : me.assertOptions(t, {
1258
+ encode: X.function,
1259
+ serialize: X.function
1260
1260
  }, !0)), o.method = (o.method || this.defaults.method || "get").toLowerCase();
1261
- let s = r && R.merge(
1261
+ let s = r && j.merge(
1262
1262
  r.common,
1263
1263
  r[o.method]
1264
1264
  );
1265
- r && R.forEach(
1265
+ r && j.forEach(
1266
1266
  ["delete", "get", "head", "post", "put", "patch", "common"],
1267
1267
  (v) => {
1268
1268
  delete r[v];
@@ -1305,24 +1305,24 @@ class oe {
1305
1305
  return i;
1306
1306
  }
1307
1307
  getUri(a) {
1308
- a = X(this.defaults, a);
1308
+ a = f(this.defaults, a);
1309
1309
  const o = rt(a.baseURL, a.url);
1310
1310
  return Ye(o, a.params, a.paramsSerializer);
1311
1311
  }
1312
1312
  }
1313
- R.forEach(["delete", "get", "head", "options"], function(a) {
1313
+ j.forEach(["delete", "get", "head", "options"], function(a) {
1314
1314
  oe.prototype[a] = function(o, n) {
1315
- return this.request(X(n || {}, {
1315
+ return this.request(f(n || {}, {
1316
1316
  method: a,
1317
1317
  url: o,
1318
1318
  data: (n || {}).data
1319
1319
  }));
1320
1320
  };
1321
1321
  });
1322
- R.forEach(["post", "put", "patch"], function(a) {
1322
+ j.forEach(["post", "put", "patch"], function(a) {
1323
1323
  function o(n) {
1324
1324
  return function(r, s, l) {
1325
- return this.request(X(l || {}, {
1325
+ return this.request(f(l || {}, {
1326
1326
  method: a,
1327
1327
  headers: n ? {
1328
1328
  "Content-Type": "multipart/form-data"
@@ -1410,7 +1410,7 @@ function vr(e) {
1410
1410
  };
1411
1411
  }
1412
1412
  function Sr(e) {
1413
- return R.isObject(e) && e.isAxiosError === !0;
1413
+ return j.isObject(e) && e.isAxiosError === !0;
1414
1414
  }
1415
1415
  const Ie = {
1416
1416
  Continue: 100,
@@ -1483,8 +1483,8 @@ Object.entries(Ie).forEach(([e, a]) => {
1483
1483
  const wr = Ie;
1484
1484
  function ot(e) {
1485
1485
  const a = new se(e), o = ke(se.prototype.request, a);
1486
- return R.extend(o, se.prototype, a, { allOwnKeys: !0 }), R.extend(o, a, null, { allOwnKeys: !0 }), o.create = function(t) {
1487
- return ot(X(e, t));
1486
+ return j.extend(o, se.prototype, a, { allOwnKeys: !0 }), j.extend(o, a, null, { allOwnKeys: !0 }), o.create = function(t) {
1487
+ return ot(f(e, t));
1488
1488
  }, o;
1489
1489
  }
1490
1490
  const E = ot(Se);
@@ -1501,9 +1501,9 @@ E.all = function(a) {
1501
1501
  };
1502
1502
  E.spread = vr;
1503
1503
  E.isAxiosError = Sr;
1504
- E.mergeConfig = X;
1504
+ E.mergeConfig = f;
1505
1505
  E.AxiosHeaders = D;
1506
- E.formToJSON = (e) => et(R.isHTMLForm(e) ? new FormData(e) : e);
1506
+ E.formToJSON = (e) => et(j.isHTMLForm(e) ? new FormData(e) : e);
1507
1507
  E.getAdapter = at.getAdapter;
1508
1508
  E.HttpStatusCode = wr;
1509
1509
  E.default = E;
@@ -1513,29 +1513,29 @@ class Tr extends Error {
1513
1513
  super(o), this.field = a, this.name = "RequiredError";
1514
1514
  }
1515
1515
  }
1516
- const A = {}, m = "https://example.com", j = function(e, a, o) {
1516
+ const A = {}, P = "https://example.com", R = function(e, a, o) {
1517
1517
  if (o == null)
1518
1518
  throw new Tr(a, `Required parameter ${a} was null or undefined when calling ${e}.`);
1519
- }, P = async function(e, a, o) {
1519
+ }, m = async function(e, a, o) {
1520
1520
  if (o && o.apiKey) {
1521
1521
  const n = typeof o.apiKey == "function" ? await o.apiKey(a) : await o.apiKey;
1522
1522
  e[a] = n;
1523
1523
  }
1524
1524
  };
1525
- function ye(e, a, o = "") {
1526
- a != null && (typeof a == "object" ? Array.isArray(a) ? a.forEach((n) => ye(e, n, o)) : Object.keys(a).forEach(
1527
- (n) => ye(e, a[n], `${o}${o !== "" ? "." : ""}${n}`)
1525
+ function be(e, a, o = "") {
1526
+ a != null && (typeof a == "object" ? Array.isArray(a) ? a.forEach((n) => be(e, n, o)) : Object.keys(a).forEach(
1527
+ (n) => be(e, a[n], `${o}${o !== "" ? "." : ""}${n}`)
1528
1528
  ) : e.has(o) ? e.append(o, a) : e.set(o, a));
1529
1529
  }
1530
1530
  const I = function(e, ...a) {
1531
1531
  const o = new URLSearchParams(e.search);
1532
- ye(o, a), e.search = o.toString();
1532
+ be(o, a), e.search = o.toString();
1533
1533
  }, L = function(e, a, o) {
1534
1534
  const n = typeof e != "string";
1535
1535
  return (n && o && o.isJsonMime ? o.isJsonMime(a.headers["Content-Type"]) : n) ? JSON.stringify(e !== void 0 ? e : {}) : e || "";
1536
- }, y = function(e) {
1536
+ }, b = function(e) {
1537
1537
  return e.pathname + e.search + e.hash;
1538
- }, b = function(e, a, o, n) {
1538
+ }, y = function(e, a, o, n) {
1539
1539
  return (t = a, r = o) => {
1540
1540
  const s = { ...e.options, url: (t.defaults.baseURL ? "" : (n == null ? void 0 : n.basePath) ?? r) + e.url };
1541
1541
  return t.request(s);
@@ -1549,14 +1549,14 @@ const I = function(e, ...a) {
1549
1549
  * @throws {RequiredError}
1550
1550
  */
1551
1551
  apiV2AdminOptions: async (a = {}) => {
1552
- const o = "/api/v2/admin", n = new URL(o, m);
1552
+ const o = "/api/v2/admin", n = new URL(o, P);
1553
1553
  let t;
1554
1554
  e && (t = e.baseOptions);
1555
1555
  const r = { method: "OPTIONS", ...t, ...a }, s = {}, l = {};
1556
- await P(s, "Authorization", e), I(n, l);
1556
+ await m(s, "Authorization", e), I(n, l);
1557
1557
  let c = t && t.headers ? t.headers : {};
1558
1558
  return r.headers = { ...s, ...c, ...a.headers }, {
1559
- url: y(n),
1559
+ url: b(n),
1560
1560
  options: r
1561
1561
  };
1562
1562
  },
@@ -1576,14 +1576,14 @@ const I = function(e, ...a) {
1576
1576
  * @throws {RequiredError}
1577
1577
  */
1578
1578
  getAllActivityLogs: async (a, o, n, t, r, s, l, c, p, i = {}) => {
1579
- const d = "/api/v2/admin/activity-logs", h = new URL(d, m);
1579
+ const d = "/api/v2/admin/activity-logs", h = new URL(d, P);
1580
1580
  let V;
1581
1581
  e && (V = e.baseOptions);
1582
1582
  const v = { method: "GET", ...V, ...i }, S = {}, w = {};
1583
- await P(S, "Authorization", e), a !== void 0 && (w.ActivityTimestampBefore = a instanceof Date ? a.toISOString() : a), 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), s !== void 0 && (w.HttpMethod = s), l !== void 0 && (w.PageNumber = l), c !== void 0 && (w.PageSize = c), p !== void 0 && (w.OrderBy = p), I(h, w);
1583
+ await m(S, "Authorization", e), a !== void 0 && (w.ActivityTimestampBefore = a instanceof Date ? a.toISOString() : a), 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), s !== void 0 && (w.HttpMethod = s), l !== void 0 && (w.PageNumber = l), c !== void 0 && (w.PageSize = c), p !== void 0 && (w.OrderBy = p), I(h, w);
1584
1584
  let C = V && V.headers ? V.headers : {};
1585
1585
  return v.headers = { ...S, ...C, ...i.headers }, {
1586
- url: y(h),
1586
+ url: b(h),
1587
1587
  options: v
1588
1588
  };
1589
1589
  },
@@ -1600,14 +1600,14 @@ const I = function(e, ...a) {
1600
1600
  * @throws {RequiredError}
1601
1601
  */
1602
1602
  getAllProjects: async (a, o, n, t, r, s, l = {}) => {
1603
- const c = "/api/v2/admin/projects", p = new URL(c, m);
1603
+ const c = "/api/v2/admin/projects", p = new URL(c, P);
1604
1604
  let i;
1605
1605
  e && (i = e.baseOptions);
1606
1606
  const d = { method: "GET", ...i, ...l }, h = {}, V = {};
1607
- await P(h, "Authorization", e), a !== void 0 && (V.TopLevel = a), o !== void 0 && (V.IncludeDeleted = o), n !== void 0 && (V.IncludeQuotas = n), t !== void 0 && (V.PageSize = t), r !== void 0 && (V.PageNumber = r), s !== void 0 && (V.OrderBy = s), I(p, V);
1607
+ await m(h, "Authorization", e), a !== void 0 && (V.TopLevel = a), o !== void 0 && (V.IncludeDeleted = o), n !== void 0 && (V.IncludeQuotas = n), t !== void 0 && (V.PageSize = t), r !== void 0 && (V.PageNumber = r), s !== void 0 && (V.OrderBy = s), I(p, V);
1608
1608
  let v = i && i.headers ? i.headers : {};
1609
1609
  return d.headers = { ...h, ...v, ...l.headers }, {
1610
- url: y(p),
1610
+ url: b(p),
1611
1611
  options: d
1612
1612
  };
1613
1613
  },
@@ -1623,14 +1623,14 @@ const I = function(e, ...a) {
1623
1623
  * @throws {RequiredError}
1624
1624
  */
1625
1625
  getAllResources: async (a, o, n, t, r, s = {}) => {
1626
- const l = "/api/v2/admin/resources", c = new URL(l, m);
1626
+ const l = "/api/v2/admin/resources", c = new URL(l, P);
1627
1627
  let p;
1628
1628
  e && (p = e.baseOptions);
1629
1629
  const i = { method: "GET", ...p, ...s }, d = {}, h = {};
1630
- await P(d, "Authorization", e), a !== void 0 && (h.IncludeDeleted = a), 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);
1630
+ await m(d, "Authorization", e), a !== void 0 && (h.IncludeDeleted = a), 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);
1631
1631
  let V = p && p.headers ? p.headers : {};
1632
1632
  return i.headers = { ...d, ...V, ...s.headers }, {
1633
- url: y(c),
1633
+ url: b(c),
1634
1634
  options: i
1635
1635
  };
1636
1636
  },
@@ -1645,14 +1645,14 @@ const I = function(e, ...a) {
1645
1645
  * @throws {RequiredError}
1646
1646
  */
1647
1647
  getAllUsers: async (a, o, n, t, r = {}) => {
1648
- const s = "/api/v2/admin/users", l = new URL(s, m);
1648
+ const s = "/api/v2/admin/users", l = new URL(s, P);
1649
1649
  let c;
1650
1650
  e && (c = e.baseOptions);
1651
1651
  const p = { method: "GET", ...c, ...r }, i = {}, d = {};
1652
- await P(i, "Authorization", e), a !== void 0 && (d.TosAccepted = a), o !== void 0 && (d.PageSize = o), n !== void 0 && (d.PageNumber = n), t !== void 0 && (d.OrderBy = t), I(l, d);
1652
+ await m(i, "Authorization", e), a !== void 0 && (d.TosAccepted = a), o !== void 0 && (d.PageSize = o), n !== void 0 && (d.PageNumber = n), t !== void 0 && (d.OrderBy = t), I(l, d);
1653
1653
  let h = c && c.headers ? c.headers : {};
1654
1654
  return p.headers = { ...i, ...h, ...r.headers }, {
1655
- url: y(l),
1655
+ url: b(l),
1656
1656
  options: p
1657
1657
  };
1658
1658
  },
@@ -1666,14 +1666,14 @@ const I = function(e, ...a) {
1666
1666
  * @throws {RequiredError}
1667
1667
  */
1668
1668
  getDeployedGraphs: async (a, o, n, t = {}) => {
1669
- const r = "/api/v2/admin/graphs", s = new URL(r, m);
1669
+ const r = "/api/v2/admin/graphs", s = new URL(r, P);
1670
1670
  let l;
1671
1671
  e && (l = e.baseOptions);
1672
1672
  const c = { method: "GET", ...l, ...t }, p = {}, i = {};
1673
- await P(p, "Authorization", e), a !== void 0 && (i.PageNumber = a), o !== void 0 && (i.PageSize = o), n !== void 0 && (i.OrderBy = n), I(s, i);
1673
+ await m(p, "Authorization", e), a !== void 0 && (i.PageNumber = a), o !== void 0 && (i.PageSize = o), n !== void 0 && (i.OrderBy = n), I(s, i);
1674
1674
  let d = l && l.headers ? l.headers : {};
1675
1675
  return c.headers = { ...p, ...d, ...t.headers }, {
1676
- url: y(s),
1676
+ url: b(s),
1677
1677
  options: c
1678
1678
  };
1679
1679
  },
@@ -1686,15 +1686,15 @@ const I = function(e, ...a) {
1686
1686
  * @throws {RequiredError}
1687
1687
  */
1688
1688
  getMetadataGraph: async (a, o, n = {}) => {
1689
- j("getMetadataGraph", "graph", a);
1690
- const t = "/api/v2/admin/metadata/{graph}".replace("{graph}", encodeURIComponent(String(a))), r = new URL(t, m);
1689
+ R("getMetadataGraph", "graph", a);
1690
+ const t = "/api/v2/admin/metadata/{graph}".replace("{graph}", encodeURIComponent(String(a))), r = new URL(t, P);
1691
1691
  let s;
1692
1692
  e && (s = e.baseOptions);
1693
1693
  const l = { method: "GET", ...s, ...n }, c = {}, p = {};
1694
- await P(c, "Authorization", e), o !== void 0 && (p.Format = o), I(r, p);
1694
+ await m(c, "Authorization", e), o !== void 0 && (p.Format = o), I(r, p);
1695
1695
  let i = s && s.headers ? s.headers : {};
1696
1696
  return l.headers = { ...c, ...i, ...n.headers }, {
1697
- url: y(r),
1697
+ url: b(r),
1698
1698
  options: l
1699
1699
  };
1700
1700
  },
@@ -1707,15 +1707,15 @@ const I = function(e, ...a) {
1707
1707
  * @throws {RequiredError}
1708
1708
  */
1709
1709
  patchMetadata: async (a, o, n = {}) => {
1710
- j("patchMetadata", "graph", a);
1711
- const t = "/api/v2/admin/metadata/{graph}".replace("{graph}", encodeURIComponent(String(a))), r = new URL(t, m);
1710
+ R("patchMetadata", "graph", a);
1711
+ const t = "/api/v2/admin/metadata/{graph}".replace("{graph}", encodeURIComponent(String(a))), r = new URL(t, P);
1712
1712
  let s;
1713
1713
  e && (s = e.baseOptions);
1714
1714
  const l = { method: "PATCH", ...s, ...n }, c = {}, p = {};
1715
- await P(c, "Authorization", e), c["Content-Type"] = "application/json", I(r, p);
1715
+ await m(c, "Authorization", e), c["Content-Type"] = "application/json", I(r, p);
1716
1716
  let i = s && s.headers ? s.headers : {};
1717
1717
  return l.headers = { ...c, ...i, ...n.headers }, l.data = L(o, l, e), {
1718
- url: y(r),
1718
+ url: b(r),
1719
1719
  options: l
1720
1720
  };
1721
1721
  },
@@ -1728,15 +1728,15 @@ const I = function(e, ...a) {
1728
1728
  * @throws {RequiredError}
1729
1729
  */
1730
1730
  updateMetadataGraph: async (a, o, n = {}) => {
1731
- j("updateMetadataGraph", "graph", a);
1732
- const t = "/api/v2/admin/metadata/{graph}".replace("{graph}", encodeURIComponent(String(a))), r = new URL(t, m);
1731
+ R("updateMetadataGraph", "graph", a);
1732
+ const t = "/api/v2/admin/metadata/{graph}".replace("{graph}", encodeURIComponent(String(a))), r = new URL(t, P);
1733
1733
  let s;
1734
1734
  e && (s = e.baseOptions);
1735
1735
  const l = { method: "PUT", ...s, ...n }, c = {}, p = {};
1736
- await P(c, "Authorization", e), c["Content-Type"] = "application/json", I(r, p);
1736
+ await m(c, "Authorization", e), c["Content-Type"] = "application/json", I(r, p);
1737
1737
  let i = s && s.headers ? s.headers : {};
1738
1738
  return l.headers = { ...c, ...i, ...n.headers }, l.data = L(o, l, e), {
1739
- url: y(r),
1739
+ url: b(r),
1740
1740
  options: l
1741
1741
  };
1742
1742
  }
@@ -1753,7 +1753,7 @@ const I = function(e, ...a) {
1753
1753
  async apiV2AdminOptions(o) {
1754
1754
  var s, l;
1755
1755
  const n = await a.apiV2AdminOptions(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, r = (l = (s = A["AdminApi.apiV2AdminOptions"]) == null ? void 0 : s[t]) == null ? void 0 : l.url;
1756
- return (c, p) => b(n, O, u, e)(c, r || p);
1756
+ return (c, p) => y(n, O, u, e)(c, r || p);
1757
1757
  },
1758
1758
  /**
1759
1759
  * <p><strong>Required JWT roles for access:</strong> <code>administrator</code>.</p>
@@ -1773,7 +1773,7 @@ const I = function(e, ...a) {
1773
1773
  async getAllActivityLogs(o, n, t, r, s, l, c, p, i, d) {
1774
1774
  var S, w;
1775
1775
  const h = await a.getAllActivityLogs(o, n, t, r, s, l, c, p, i, d), V = (e == null ? void 0 : e.serverIndex) ?? 0, v = (w = (S = A["AdminApi.getAllActivityLogs"]) == null ? void 0 : S[V]) == null ? void 0 : w.url;
1776
- return (C, z) => b(h, O, u, e)(C, v || z);
1776
+ return (C, z) => y(h, O, u, e)(C, v || z);
1777
1777
  },
1778
1778
  /**
1779
1779
  * <p><strong>Required JWT roles for access:</strong> <code>administrator</code>.</p>
@@ -1790,7 +1790,7 @@ const I = function(e, ...a) {
1790
1790
  async getAllProjects(o, n, t, r, s, l, c) {
1791
1791
  var h, V;
1792
1792
  const p = await a.getAllProjects(o, n, t, r, s, l, c), i = (e == null ? void 0 : e.serverIndex) ?? 0, d = (V = (h = A["AdminApi.getAllProjects"]) == null ? void 0 : h[i]) == null ? void 0 : V.url;
1793
- return (v, S) => b(p, O, u, e)(v, d || S);
1793
+ return (v, S) => y(p, O, u, e)(v, d || S);
1794
1794
  },
1795
1795
  /**
1796
1796
  * <p><strong>Required JWT roles for access:</strong> <code>administrator</code>.</p>
@@ -1806,7 +1806,7 @@ const I = function(e, ...a) {
1806
1806
  async getAllResources(o, n, t, r, s, l) {
1807
1807
  var d, h;
1808
1808
  const c = await a.getAllResources(o, n, t, r, s, l), p = (e == null ? void 0 : e.serverIndex) ?? 0, i = (h = (d = A["AdminApi.getAllResources"]) == null ? void 0 : d[p]) == null ? void 0 : h.url;
1809
- return (V, v) => b(c, O, u, e)(V, i || v);
1809
+ return (V, v) => y(c, O, u, e)(V, i || v);
1810
1810
  },
1811
1811
  /**
1812
1812
  * <p><strong>Required JWT roles for access:</strong> <code>administrator</code>.</p>
@@ -1821,7 +1821,7 @@ const I = function(e, ...a) {
1821
1821
  async getAllUsers(o, n, t, r, s) {
1822
1822
  var i, d;
1823
1823
  const l = await a.getAllUsers(o, n, t, r, s), c = (e == null ? void 0 : e.serverIndex) ?? 0, p = (d = (i = A["AdminApi.getAllUsers"]) == null ? void 0 : i[c]) == null ? void 0 : d.url;
1824
- return (h, V) => b(l, O, u, e)(h, p || V);
1824
+ return (h, V) => y(l, O, u, e)(h, p || V);
1825
1825
  },
1826
1826
  /**
1827
1827
  * <p><strong>Required JWT roles for access:</strong> <code>administrator</code>.</p>
@@ -1835,7 +1835,7 @@ const I = function(e, ...a) {
1835
1835
  async getDeployedGraphs(o, n, t, r) {
1836
1836
  var p, i;
1837
1837
  const s = await a.getDeployedGraphs(o, n, t, r), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (i = (p = A["AdminApi.getDeployedGraphs"]) == null ? void 0 : p[l]) == null ? void 0 : i.url;
1838
- return (d, h) => b(s, O, u, e)(d, c || h);
1838
+ return (d, h) => y(s, O, u, e)(d, c || h);
1839
1839
  },
1840
1840
  /**
1841
1841
  * <p><strong>Required JWT roles for access:</strong> <code>administrator</code>.</p>
@@ -1848,7 +1848,7 @@ const I = function(e, ...a) {
1848
1848
  async getMetadataGraph(o, n, t) {
1849
1849
  var c, p;
1850
1850
  const r = await a.getMetadataGraph(o, n, t), s = (e == null ? void 0 : e.serverIndex) ?? 0, l = (p = (c = A["AdminApi.getMetadataGraph"]) == null ? void 0 : c[s]) == null ? void 0 : p.url;
1851
- return (i, d) => b(r, O, u, e)(i, l || d);
1851
+ return (i, d) => y(r, O, u, e)(i, l || d);
1852
1852
  },
1853
1853
  /**
1854
1854
  * <p><strong>Required JWT roles for access:</strong> <code>administrator</code>.</p>
@@ -1861,7 +1861,7 @@ const I = function(e, ...a) {
1861
1861
  async patchMetadata(o, n, t) {
1862
1862
  var c, p;
1863
1863
  const r = await a.patchMetadata(o, n, t), s = (e == null ? void 0 : e.serverIndex) ?? 0, l = (p = (c = A["AdminApi.patchMetadata"]) == null ? void 0 : c[s]) == null ? void 0 : p.url;
1864
- return (i, d) => b(r, O, u, e)(i, l || d);
1864
+ return (i, d) => y(r, O, u, e)(i, l || d);
1865
1865
  },
1866
1866
  /**
1867
1867
  * <p><strong>Required JWT roles for access:</strong> <code>administrator</code>.</p>
@@ -1874,7 +1874,7 @@ const I = function(e, ...a) {
1874
1874
  async updateMetadataGraph(o, n, t) {
1875
1875
  var c, p;
1876
1876
  const r = await a.updateMetadataGraph(o, n, t), s = (e == null ? void 0 : e.serverIndex) ?? 0, l = (p = (c = A["AdminApi.updateMetadataGraph"]) == null ? void 0 : c[s]) == null ? void 0 : p.url;
1877
- return (i, d) => b(r, O, u, e)(i, l || d);
1877
+ return (i, d) => y(r, O, u, e)(i, l || d);
1878
1878
  }
1879
1879
  };
1880
1880
  }, Br = function(e, a, o) {
@@ -1979,14 +1979,14 @@ const I = function(e, ...a) {
1979
1979
  * @throws {RequiredError}
1980
1980
  */
1981
1981
  apiV2ApplicationProfilesOptions: async (a = {}) => {
1982
- const o = "/api/v2/application-profiles", n = new URL(o, m);
1982
+ const o = "/api/v2/application-profiles", n = new URL(o, P);
1983
1983
  let t;
1984
1984
  e && (t = e.baseOptions);
1985
1985
  const r = { method: "OPTIONS", ...t, ...a }, s = {}, l = {};
1986
- await P(s, "Authorization", e), I(n, l);
1986
+ await m(s, "Authorization", e), I(n, l);
1987
1987
  let c = t && t.headers ? t.headers : {};
1988
1988
  return r.headers = { ...s, ...c, ...a.headers }, {
1989
- url: y(n),
1989
+ url: b(n),
1990
1990
  options: r
1991
1991
  };
1992
1992
  },
@@ -1998,14 +1998,14 @@ const I = function(e, ...a) {
1998
1998
  * @throws {RequiredError}
1999
1999
  */
2000
2000
  createApplicationProfileRequest: async (a, o = {}) => {
2001
- const n = "/api/v2/application-profiles/requests", t = new URL(n, m);
2001
+ const n = "/api/v2/application-profiles/requests", t = new URL(n, P);
2002
2002
  let r;
2003
2003
  e && (r = e.baseOptions);
2004
2004
  const s = { method: "POST", ...r, ...o }, l = {}, c = {};
2005
- await P(l, "Authorization", e), l["Content-Type"] = "application/json", I(t, c);
2005
+ await m(l, "Authorization", e), l["Content-Type"] = "application/json", I(t, c);
2006
2006
  let p = r && r.headers ? r.headers : {};
2007
2007
  return s.headers = { ...l, ...p, ...o.headers }, s.data = L(a, s, e), {
2008
- url: y(t),
2008
+ url: b(t),
2009
2009
  options: s
2010
2010
  };
2011
2011
  },
@@ -2019,15 +2019,15 @@ const I = function(e, ...a) {
2019
2019
  * @throws {RequiredError}
2020
2020
  */
2021
2021
  getApplicationProfile: async (a, o, n, t = {}) => {
2022
- j("getApplicationProfile", "profile", a);
2023
- const r = "/api/v2/application-profiles/profiles/{profile}".replace("{profile}", encodeURIComponent(String(a))), s = new URL(r, m);
2022
+ R("getApplicationProfile", "profile", a);
2023
+ const r = "/api/v2/application-profiles/profiles/{profile}".replace("{profile}", encodeURIComponent(String(a))), s = new URL(r, P);
2024
2024
  let l;
2025
2025
  e && (l = e.baseOptions);
2026
2026
  const c = { method: "GET", ...l, ...t }, p = {}, i = {};
2027
- await P(p, "Authorization", e), o !== void 0 && (i.format = o), n != null && (p["Accept-Language"] = typeof n == "string" ? n : JSON.stringify(n)), I(s, i);
2027
+ await m(p, "Authorization", e), o !== void 0 && (i.format = o), n != null && (p["Accept-Language"] = typeof n == "string" ? n : JSON.stringify(n)), I(s, i);
2028
2028
  let d = l && l.headers ? l.headers : {};
2029
2029
  return c.headers = { ...p, ...d, ...t.headers }, {
2030
- url: y(s),
2030
+ url: b(s),
2031
2031
  options: c
2032
2032
  };
2033
2033
  },
@@ -2044,14 +2044,14 @@ const I = function(e, ...a) {
2044
2044
  * @throws {RequiredError}
2045
2045
  */
2046
2046
  getApplicationProfiles: async (a, o, n, t, r, s, l = {}) => {
2047
- const c = "/api/v2/application-profiles/profiles", p = new URL(c, m);
2047
+ const c = "/api/v2/application-profiles/profiles", p = new URL(c, P);
2048
2048
  let i;
2049
2049
  e && (i = e.baseOptions);
2050
2050
  const d = { method: "GET", ...i, ...l }, h = {}, V = {};
2051
- await P(h, "Authorization", e), a !== void 0 && (V.SearchTerm = a), o !== void 0 && (V.Language = o), n !== void 0 && (V.Modules = n), t !== void 0 && (V.PageNumber = t), r !== void 0 && (V.PageSize = r), s !== void 0 && (V.OrderBy = s), I(p, V);
2051
+ await m(h, "Authorization", e), a !== void 0 && (V.SearchTerm = a), o !== void 0 && (V.Language = o), n !== void 0 && (V.Modules = n), t !== void 0 && (V.PageNumber = t), r !== void 0 && (V.PageSize = r), s !== void 0 && (V.OrderBy = s), I(p, V);
2052
2052
  let v = i && i.headers ? i.headers : {};
2053
2053
  return d.headers = { ...h, ...v, ...l.headers }, {
2054
- url: y(p),
2054
+ url: b(p),
2055
2055
  options: d
2056
2056
  };
2057
2057
  },
@@ -2063,15 +2063,15 @@ const I = function(e, ...a) {
2063
2063
  * @throws {RequiredError}
2064
2064
  */
2065
2065
  getRawApplicationProfile: async (a, o = {}) => {
2066
- j("getRawApplicationProfile", "profile", a);
2067
- const n = "/api/v2/application-profiles/profiles/{profile}/raw".replace("{profile}", encodeURIComponent(String(a))), t = new URL(n, m);
2066
+ R("getRawApplicationProfile", "profile", a);
2067
+ const n = "/api/v2/application-profiles/profiles/{profile}/raw".replace("{profile}", encodeURIComponent(String(a))), t = new URL(n, P);
2068
2068
  let r;
2069
2069
  e && (r = e.baseOptions);
2070
2070
  const s = { method: "GET", ...r, ...o }, l = {}, c = {};
2071
- await P(l, "Authorization", e), I(t, c);
2071
+ await m(l, "Authorization", e), I(t, c);
2072
2072
  let p = r && r.headers ? r.headers : {};
2073
2073
  return s.headers = { ...l, ...p, ...o.headers }, {
2074
- url: y(t),
2074
+ url: b(t),
2075
2075
  options: s
2076
2076
  };
2077
2077
  }
@@ -2088,7 +2088,7 @@ const I = function(e, ...a) {
2088
2088
  async apiV2ApplicationProfilesOptions(o) {
2089
2089
  var s, l;
2090
2090
  const n = await a.apiV2ApplicationProfilesOptions(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, r = (l = (s = A["ApplicationProfileApi.apiV2ApplicationProfilesOptions"]) == null ? void 0 : s[t]) == null ? void 0 : l.url;
2091
- return (c, p) => b(n, O, u, e)(c, r || p);
2091
+ return (c, p) => y(n, O, u, e)(c, r || p);
2092
2092
  },
2093
2093
  /**
2094
2094
  *
@@ -2100,7 +2100,7 @@ const I = function(e, ...a) {
2100
2100
  async createApplicationProfileRequest(o, n) {
2101
2101
  var l, c;
2102
2102
  const t = await a.createApplicationProfileRequest(o, n), r = (e == null ? void 0 : e.serverIndex) ?? 0, s = (c = (l = A["ApplicationProfileApi.createApplicationProfileRequest"]) == null ? void 0 : l[r]) == null ? void 0 : c.url;
2103
- return (p, i) => b(t, O, u, e)(p, s || i);
2103
+ return (p, i) => y(t, O, u, e)(p, s || i);
2104
2104
  },
2105
2105
  /**
2106
2106
  *
@@ -2114,7 +2114,7 @@ const I = function(e, ...a) {
2114
2114
  async getApplicationProfile(o, n, t, r) {
2115
2115
  var p, i;
2116
2116
  const s = await a.getApplicationProfile(o, n, t, r), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (i = (p = A["ApplicationProfileApi.getApplicationProfile"]) == null ? void 0 : p[l]) == null ? void 0 : i.url;
2117
- return (d, h) => b(s, O, u, e)(d, c || h);
2117
+ return (d, h) => y(s, O, u, e)(d, c || h);
2118
2118
  },
2119
2119
  /**
2120
2120
  *
@@ -2131,7 +2131,7 @@ const I = function(e, ...a) {
2131
2131
  async getApplicationProfiles(o, n, t, r, s, l, c) {
2132
2132
  var h, V;
2133
2133
  const p = await a.getApplicationProfiles(o, n, t, r, s, l, c), i = (e == null ? void 0 : e.serverIndex) ?? 0, d = (V = (h = A["ApplicationProfileApi.getApplicationProfiles"]) == null ? void 0 : h[i]) == null ? void 0 : V.url;
2134
- return (v, S) => b(p, O, u, e)(v, d || S);
2134
+ return (v, S) => y(p, O, u, e)(v, d || S);
2135
2135
  },
2136
2136
  /**
2137
2137
  *
@@ -2143,7 +2143,7 @@ const I = function(e, ...a) {
2143
2143
  async getRawApplicationProfile(o, n) {
2144
2144
  var l, c;
2145
2145
  const t = await a.getRawApplicationProfile(o, n), r = (e == null ? void 0 : e.serverIndex) ?? 0, s = (c = (l = A["ApplicationProfileApi.getRawApplicationProfile"]) == null ? void 0 : l[r]) == null ? void 0 : c.url;
2146
- return (p, i) => b(t, O, u, e)(p, s || i);
2146
+ return (p, i) => y(t, O, u, e)(p, s || i);
2147
2147
  }
2148
2148
  };
2149
2149
  }, Lr = function(e, a, o) {
@@ -2210,15 +2210,15 @@ const I = function(e, ...a) {
2210
2210
  * @throws {RequiredError}
2211
2211
  */
2212
2212
  apiV2ProjectsProjectIdResourcesResourceIdBlobsOptions: async (a, o, n = {}) => {
2213
- j("apiV2ProjectsProjectIdResourcesResourceIdBlobsOptions", "projectId", a), j("apiV2ProjectsProjectIdResourcesResourceIdBlobsOptions", "resourceId", o);
2214
- const t = "/api/v2/projects/{projectId}/resources/{resourceId}/blobs".replace("{projectId}", encodeURIComponent(String(a))).replace("{resourceId}", encodeURIComponent(String(o))), r = new URL(t, m);
2213
+ R("apiV2ProjectsProjectIdResourcesResourceIdBlobsOptions", "projectId", a), R("apiV2ProjectsProjectIdResourcesResourceIdBlobsOptions", "resourceId", o);
2214
+ const t = "/api/v2/projects/{projectId}/resources/{resourceId}/blobs".replace("{projectId}", encodeURIComponent(String(a))).replace("{resourceId}", encodeURIComponent(String(o))), r = new URL(t, P);
2215
2215
  let s;
2216
2216
  e && (s = e.baseOptions);
2217
2217
  const l = { method: "OPTIONS", ...s, ...n }, c = {}, p = {};
2218
- await P(c, "Authorization", e), I(r, p);
2218
+ await m(c, "Authorization", e), I(r, p);
2219
2219
  let i = s && s.headers ? s.headers : {};
2220
2220
  return l.headers = { ...c, ...i, ...n.headers }, {
2221
- url: y(r),
2221
+ url: b(r),
2222
2222
  options: l
2223
2223
  };
2224
2224
  },
@@ -2233,15 +2233,15 @@ const I = function(e, ...a) {
2233
2233
  * @throws {RequiredError}
2234
2234
  */
2235
2235
  createBlob: async (a, o, n, t, r = {}) => {
2236
- j("createBlob", "projectId", a), j("createBlob", "resourceId", o), j("createBlob", "key", n);
2237
- const s = "/api/v2/projects/{projectId}/resources/{resourceId}/blobs/{key}".replace("{projectId}", encodeURIComponent(String(a))).replace("{resourceId}", encodeURIComponent(String(o))).replace("{key}", encodeURIComponent(String(n))), l = new URL(s, m);
2236
+ R("createBlob", "projectId", a), R("createBlob", "resourceId", o), R("createBlob", "key", n);
2237
+ const s = "/api/v2/projects/{projectId}/resources/{resourceId}/blobs/{key}".replace("{projectId}", encodeURIComponent(String(a))).replace("{resourceId}", encodeURIComponent(String(o))).replace("{key}", encodeURIComponent(String(n))), l = new URL(s, P);
2238
2238
  let c;
2239
2239
  e && (c = e.baseOptions);
2240
2240
  const p = { method: "POST", ...c, ...r }, i = {}, d = {}, h = new (e && e.formDataCtor || FormData)();
2241
- await P(i, "Authorization", e), t !== void 0 && h.append("file", t), i["Content-Type"] = "multipart/form-data", I(l, d);
2241
+ await m(i, "Authorization", e), t !== void 0 && h.append("file", t), i["Content-Type"] = "multipart/form-data", I(l, d);
2242
2242
  let V = c && c.headers ? c.headers : {};
2243
2243
  return p.headers = { ...i, ...V, ...r.headers }, p.data = h, {
2244
- url: y(l),
2244
+ url: b(l),
2245
2245
  options: p
2246
2246
  };
2247
2247
  },
@@ -2255,15 +2255,15 @@ const I = function(e, ...a) {
2255
2255
  * @throws {RequiredError}
2256
2256
  */
2257
2257
  deleteBlob: async (a, o, n, t = {}) => {
2258
- j("deleteBlob", "projectId", a), j("deleteBlob", "resourceId", o), j("deleteBlob", "key", n);
2259
- const r = "/api/v2/projects/{projectId}/resources/{resourceId}/blobs/{key}".replace("{projectId}", encodeURIComponent(String(a))).replace("{resourceId}", encodeURIComponent(String(o))).replace("{key}", encodeURIComponent(String(n))), s = new URL(r, m);
2258
+ R("deleteBlob", "projectId", a), R("deleteBlob", "resourceId", o), R("deleteBlob", "key", n);
2259
+ const r = "/api/v2/projects/{projectId}/resources/{resourceId}/blobs/{key}".replace("{projectId}", encodeURIComponent(String(a))).replace("{resourceId}", encodeURIComponent(String(o))).replace("{key}", encodeURIComponent(String(n))), s = new URL(r, P);
2260
2260
  let l;
2261
2261
  e && (l = e.baseOptions);
2262
2262
  const c = { method: "DELETE", ...l, ...t }, p = {}, i = {};
2263
- await P(p, "Authorization", e), I(s, i);
2263
+ await m(p, "Authorization", e), I(s, i);
2264
2264
  let d = l && l.headers ? l.headers : {};
2265
2265
  return c.headers = { ...p, ...d, ...t.headers }, {
2266
- url: y(s),
2266
+ url: b(s),
2267
2267
  options: c
2268
2268
  };
2269
2269
  },
@@ -2277,15 +2277,15 @@ const I = function(e, ...a) {
2277
2277
  * @throws {RequiredError}
2278
2278
  */
2279
2279
  getBlob: async (a, o, n, t = {}) => {
2280
- j("getBlob", "projectId", a), j("getBlob", "resourceId", o), j("getBlob", "key", n);
2281
- const r = "/api/v2/projects/{projectId}/resources/{resourceId}/blobs/{key}".replace("{projectId}", encodeURIComponent(String(a))).replace("{resourceId}", encodeURIComponent(String(o))).replace("{key}", encodeURIComponent(String(n))), s = new URL(r, m);
2280
+ R("getBlob", "projectId", a), R("getBlob", "resourceId", o), R("getBlob", "key", n);
2281
+ const r = "/api/v2/projects/{projectId}/resources/{resourceId}/blobs/{key}".replace("{projectId}", encodeURIComponent(String(a))).replace("{resourceId}", encodeURIComponent(String(o))).replace("{key}", encodeURIComponent(String(n))), s = new URL(r, P);
2282
2282
  let l;
2283
2283
  e && (l = e.baseOptions);
2284
2284
  const c = { method: "GET", ...l, ...t }, p = {}, i = {};
2285
- await P(p, "Authorization", e), I(s, i);
2285
+ await m(p, "Authorization", e), I(s, i);
2286
2286
  let d = l && l.headers ? l.headers : {};
2287
2287
  return c.headers = { ...p, ...d, ...t.headers }, {
2288
- url: y(s),
2288
+ url: b(s),
2289
2289
  options: c
2290
2290
  };
2291
2291
  },
@@ -2300,15 +2300,15 @@ const I = function(e, ...a) {
2300
2300
  * @throws {RequiredError}
2301
2301
  */
2302
2302
  updateBlob: async (a, o, n, t, r = {}) => {
2303
- j("updateBlob", "projectId", a), j("updateBlob", "resourceId", o), j("updateBlob", "key", n);
2304
- const s = "/api/v2/projects/{projectId}/resources/{resourceId}/blobs/{key}".replace("{projectId}", encodeURIComponent(String(a))).replace("{resourceId}", encodeURIComponent(String(o))).replace("{key}", encodeURIComponent(String(n))), l = new URL(s, m);
2303
+ R("updateBlob", "projectId", a), R("updateBlob", "resourceId", o), R("updateBlob", "key", n);
2304
+ const s = "/api/v2/projects/{projectId}/resources/{resourceId}/blobs/{key}".replace("{projectId}", encodeURIComponent(String(a))).replace("{resourceId}", encodeURIComponent(String(o))).replace("{key}", encodeURIComponent(String(n))), l = new URL(s, P);
2305
2305
  let c;
2306
2306
  e && (c = e.baseOptions);
2307
2307
  const p = { method: "PUT", ...c, ...r }, i = {}, d = {}, h = new (e && e.formDataCtor || FormData)();
2308
- await P(i, "Authorization", e), t !== void 0 && h.append("file", t), i["Content-Type"] = "multipart/form-data", I(l, d);
2308
+ await m(i, "Authorization", e), t !== void 0 && h.append("file", t), i["Content-Type"] = "multipart/form-data", I(l, d);
2309
2309
  let V = c && c.headers ? c.headers : {};
2310
2310
  return p.headers = { ...i, ...V, ...r.headers }, p.data = h, {
2311
- url: y(l),
2311
+ url: b(l),
2312
2312
  options: p
2313
2313
  };
2314
2314
  }
@@ -2327,7 +2327,7 @@ const I = function(e, ...a) {
2327
2327
  async apiV2ProjectsProjectIdResourcesResourceIdBlobsOptions(o, n, t) {
2328
2328
  var c, p;
2329
2329
  const r = await a.apiV2ProjectsProjectIdResourcesResourceIdBlobsOptions(o, n, t), s = (e == null ? void 0 : e.serverIndex) ?? 0, l = (p = (c = A["BlobApi.apiV2ProjectsProjectIdResourcesResourceIdBlobsOptions"]) == null ? void 0 : c[s]) == null ? void 0 : p.url;
2330
- return (i, d) => b(r, O, u, e)(i, l || d);
2330
+ return (i, d) => y(r, O, u, e)(i, l || d);
2331
2331
  },
2332
2332
  /**
2333
2333
  *
@@ -2342,7 +2342,7 @@ const I = function(e, ...a) {
2342
2342
  async createBlob(o, n, t, r, s) {
2343
2343
  var i, d;
2344
2344
  const l = await a.createBlob(o, n, t, r, s), c = (e == null ? void 0 : e.serverIndex) ?? 0, p = (d = (i = A["BlobApi.createBlob"]) == null ? void 0 : i[c]) == null ? void 0 : d.url;
2345
- return (h, V) => b(l, O, u, e)(h, p || V);
2345
+ return (h, V) => y(l, O, u, e)(h, p || V);
2346
2346
  },
2347
2347
  /**
2348
2348
  *
@@ -2356,7 +2356,7 @@ const I = function(e, ...a) {
2356
2356
  async deleteBlob(o, n, t, r) {
2357
2357
  var p, i;
2358
2358
  const s = await a.deleteBlob(o, n, t, r), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (i = (p = A["BlobApi.deleteBlob"]) == null ? void 0 : p[l]) == null ? void 0 : i.url;
2359
- return (d, h) => b(s, O, u, e)(d, c || h);
2359
+ return (d, h) => y(s, O, u, e)(d, c || h);
2360
2360
  },
2361
2361
  /**
2362
2362
  *
@@ -2370,7 +2370,7 @@ const I = function(e, ...a) {
2370
2370
  async getBlob(o, n, t, r) {
2371
2371
  var p, i;
2372
2372
  const s = await a.getBlob(o, n, t, r), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (i = (p = A["BlobApi.getBlob"]) == null ? void 0 : p[l]) == null ? void 0 : i.url;
2373
- return (d, h) => b(s, O, u, e)(d, c || h);
2373
+ return (d, h) => y(s, O, u, e)(d, c || h);
2374
2374
  },
2375
2375
  /**
2376
2376
  *
@@ -2385,7 +2385,7 @@ const I = function(e, ...a) {
2385
2385
  async updateBlob(o, n, t, r, s) {
2386
2386
  var i, d;
2387
2387
  const l = await a.updateBlob(o, n, t, r, s), c = (e == null ? void 0 : e.serverIndex) ?? 0, p = (d = (i = A["BlobApi.updateBlob"]) == null ? void 0 : i[c]) == null ? void 0 : d.url;
2388
- return (h, V) => b(l, O, u, e)(h, p || V);
2388
+ return (h, V) => y(l, O, u, e)(h, p || V);
2389
2389
  }
2390
2390
  };
2391
2391
  }, Mr = function(e, a, o) {
@@ -2451,14 +2451,14 @@ const I = function(e, ...a) {
2451
2451
  * @throws {RequiredError}
2452
2452
  */
2453
2453
  apiV2DisciplinesOptions: async (a = {}) => {
2454
- const o = "/api/v2/disciplines", n = new URL(o, m);
2454
+ const o = "/api/v2/disciplines", n = new URL(o, P);
2455
2455
  let t;
2456
2456
  e && (t = e.baseOptions);
2457
2457
  const r = { method: "OPTIONS", ...t, ...a }, s = {}, l = {};
2458
- await P(s, "Authorization", e), I(n, l);
2458
+ await m(s, "Authorization", e), I(n, l);
2459
2459
  let c = t && t.headers ? t.headers : {};
2460
2460
  return r.headers = { ...s, ...c, ...a.headers }, {
2461
- url: y(n),
2461
+ url: b(n),
2462
2462
  options: r
2463
2463
  };
2464
2464
  },
@@ -2470,15 +2470,15 @@ const I = function(e, ...a) {
2470
2470
  * @throws {RequiredError}
2471
2471
  */
2472
2472
  getDiscipline: async (a, o = {}) => {
2473
- j("getDiscipline", "disciplineId", a);
2474
- const n = "/api/v2/disciplines/{disciplineId}".replace("{disciplineId}", encodeURIComponent(String(a))), t = new URL(n, m);
2473
+ R("getDiscipline", "disciplineId", a);
2474
+ const n = "/api/v2/disciplines/{disciplineId}".replace("{disciplineId}", encodeURIComponent(String(a))), t = new URL(n, P);
2475
2475
  let r;
2476
2476
  e && (r = e.baseOptions);
2477
2477
  const s = { method: "GET", ...r, ...o }, l = {}, c = {};
2478
- await P(l, "Authorization", e), I(t, c);
2478
+ await m(l, "Authorization", e), I(t, c);
2479
2479
  let p = r && r.headers ? r.headers : {};
2480
2480
  return s.headers = { ...l, ...p, ...o.headers }, {
2481
- url: y(t),
2481
+ url: b(t),
2482
2482
  options: s
2483
2483
  };
2484
2484
  },
@@ -2492,14 +2492,14 @@ const I = function(e, ...a) {
2492
2492
  * @throws {RequiredError}
2493
2493
  */
2494
2494
  getDisciplines: async (a, o, n, t = {}) => {
2495
- const r = "/api/v2/disciplines", s = new URL(r, m);
2495
+ const r = "/api/v2/disciplines", s = new URL(r, P);
2496
2496
  let l;
2497
2497
  e && (l = e.baseOptions);
2498
2498
  const c = { method: "GET", ...l, ...t }, p = {}, i = {};
2499
- await P(p, "Authorization", e), a !== void 0 && (i.PageNumber = a), o !== void 0 && (i.PageSize = o), n !== void 0 && (i.OrderBy = n), I(s, i);
2499
+ await m(p, "Authorization", e), a !== void 0 && (i.PageNumber = a), o !== void 0 && (i.PageSize = o), n !== void 0 && (i.OrderBy = n), I(s, i);
2500
2500
  let d = l && l.headers ? l.headers : {};
2501
2501
  return c.headers = { ...p, ...d, ...t.headers }, {
2502
- url: y(s),
2502
+ url: b(s),
2503
2503
  options: c
2504
2504
  };
2505
2505
  }
@@ -2516,7 +2516,7 @@ const I = function(e, ...a) {
2516
2516
  async apiV2DisciplinesOptions(o) {
2517
2517
  var s, l;
2518
2518
  const n = await a.apiV2DisciplinesOptions(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, r = (l = (s = A["DisciplineApi.apiV2DisciplinesOptions"]) == null ? void 0 : s[t]) == null ? void 0 : l.url;
2519
- return (c, p) => b(n, O, u, e)(c, r || p);
2519
+ return (c, p) => y(n, O, u, e)(c, r || p);
2520
2520
  },
2521
2521
  /**
2522
2522
  *
@@ -2528,7 +2528,7 @@ const I = function(e, ...a) {
2528
2528
  async getDiscipline(o, n) {
2529
2529
  var l, c;
2530
2530
  const t = await a.getDiscipline(o, n), r = (e == null ? void 0 : e.serverIndex) ?? 0, s = (c = (l = A["DisciplineApi.getDiscipline"]) == null ? void 0 : l[r]) == null ? void 0 : c.url;
2531
- return (p, i) => b(t, O, u, e)(p, s || i);
2531
+ return (p, i) => y(t, O, u, e)(p, s || i);
2532
2532
  },
2533
2533
  /**
2534
2534
  *
@@ -2542,7 +2542,7 @@ const I = function(e, ...a) {
2542
2542
  async getDisciplines(o, n, t, r) {
2543
2543
  var p, i;
2544
2544
  const s = await a.getDisciplines(o, n, t, r), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (i = (p = A["DisciplineApi.getDisciplines"]) == null ? void 0 : p[l]) == null ? void 0 : i.url;
2545
- return (d, h) => b(s, O, u, e)(d, c || h);
2545
+ return (d, h) => y(s, O, u, e)(d, c || h);
2546
2546
  }
2547
2547
  };
2548
2548
  }, kr = function(e, a, o) {
@@ -2587,14 +2587,14 @@ const I = function(e, ...a) {
2587
2587
  * @throws {RequiredError}
2588
2588
  */
2589
2589
  apiV2HandlesOptions: async (a = {}) => {
2590
- const o = "/api/v2/handles", n = new URL(o, m);
2590
+ const o = "/api/v2/handles", n = new URL(o, P);
2591
2591
  let t;
2592
2592
  e && (t = e.baseOptions);
2593
2593
  const r = { method: "OPTIONS", ...t, ...a }, s = {}, l = {};
2594
- await P(s, "Authorization", e), I(n, l);
2594
+ await m(s, "Authorization", e), I(n, l);
2595
2595
  let c = t && t.headers ? t.headers : {};
2596
2596
  return r.headers = { ...s, ...c, ...a.headers }, {
2597
- url: y(n),
2597
+ url: b(n),
2598
2598
  options: r
2599
2599
  };
2600
2600
  },
@@ -2607,15 +2607,15 @@ const I = function(e, ...a) {
2607
2607
  * @throws {RequiredError}
2608
2608
  */
2609
2609
  getHandle: async (a, o, n = {}) => {
2610
- j("getHandle", "prefix", a), j("getHandle", "suffix", o);
2611
- const t = "/api/v2/handles/{prefix}/{suffix}".replace("{prefix}", encodeURIComponent(String(a))).replace("{suffix}", encodeURIComponent(String(o))), r = new URL(t, m);
2610
+ R("getHandle", "prefix", a), R("getHandle", "suffix", o);
2611
+ const t = "/api/v2/handles/{prefix}/{suffix}".replace("{prefix}", encodeURIComponent(String(a))).replace("{suffix}", encodeURIComponent(String(o))), r = new URL(t, P);
2612
2612
  let s;
2613
2613
  e && (s = e.baseOptions);
2614
2614
  const l = { method: "GET", ...s, ...n }, c = {}, p = {};
2615
- await P(c, "Authorization", e), I(r, p);
2615
+ await m(c, "Authorization", e), I(r, p);
2616
2616
  let i = s && s.headers ? s.headers : {};
2617
2617
  return l.headers = { ...c, ...i, ...n.headers }, {
2618
- url: y(r),
2618
+ url: b(r),
2619
2619
  options: l
2620
2620
  };
2621
2621
  },
@@ -2629,15 +2629,15 @@ const I = function(e, ...a) {
2629
2629
  * @throws {RequiredError}
2630
2630
  */
2631
2631
  updateHandle: async (a, o, n, t = {}) => {
2632
- j("updateHandle", "prefix", a), j("updateHandle", "suffix", o);
2633
- const r = "/api/v2/handles/{prefix}/{suffix}".replace("{prefix}", encodeURIComponent(String(a))).replace("{suffix}", encodeURIComponent(String(o))), s = new URL(r, m);
2632
+ R("updateHandle", "prefix", a), R("updateHandle", "suffix", o);
2633
+ const r = "/api/v2/handles/{prefix}/{suffix}".replace("{prefix}", encodeURIComponent(String(a))).replace("{suffix}", encodeURIComponent(String(o))), s = new URL(r, P);
2634
2634
  let l;
2635
2635
  e && (l = e.baseOptions);
2636
2636
  const c = { method: "PUT", ...l, ...t }, p = {}, i = {};
2637
- await P(p, "Authorization", e), p["Content-Type"] = "application/json", I(s, i);
2637
+ await m(p, "Authorization", e), p["Content-Type"] = "application/json", I(s, i);
2638
2638
  let d = l && l.headers ? l.headers : {};
2639
2639
  return c.headers = { ...p, ...d, ...t.headers }, c.data = L(n, c, e), {
2640
- url: y(s),
2640
+ url: b(s),
2641
2641
  options: c
2642
2642
  };
2643
2643
  }
@@ -2654,7 +2654,7 @@ const I = function(e, ...a) {
2654
2654
  async apiV2HandlesOptions(o) {
2655
2655
  var s, l;
2656
2656
  const n = await a.apiV2HandlesOptions(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, r = (l = (s = A["HandleApi.apiV2HandlesOptions"]) == null ? void 0 : s[t]) == null ? void 0 : l.url;
2657
- return (c, p) => b(n, O, u, e)(c, r || p);
2657
+ return (c, p) => y(n, O, u, e)(c, r || p);
2658
2658
  },
2659
2659
  /**
2660
2660
  *
@@ -2667,7 +2667,7 @@ const I = function(e, ...a) {
2667
2667
  async getHandle(o, n, t) {
2668
2668
  var c, p;
2669
2669
  const r = await a.getHandle(o, n, t), s = (e == null ? void 0 : e.serverIndex) ?? 0, l = (p = (c = A["HandleApi.getHandle"]) == null ? void 0 : c[s]) == null ? void 0 : p.url;
2670
- return (i, d) => b(r, O, u, e)(i, l || d);
2670
+ return (i, d) => y(r, O, u, e)(i, l || d);
2671
2671
  },
2672
2672
  /**
2673
2673
  * <p><strong>Required JWT roles for access:</strong> <code>administrator</code>.</p>
@@ -2681,7 +2681,7 @@ const I = function(e, ...a) {
2681
2681
  async updateHandle(o, n, t, r) {
2682
2682
  var p, i;
2683
2683
  const s = await a.updateHandle(o, n, t, r), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (i = (p = A["HandleApi.updateHandle"]) == null ? void 0 : p[l]) == null ? void 0 : i.url;
2684
- return (d, h) => b(s, O, u, e)(d, c || h);
2684
+ return (d, h) => y(s, O, u, e)(d, c || h);
2685
2685
  }
2686
2686
  };
2687
2687
  }, $r = function(e, a, o) {
@@ -2726,14 +2726,14 @@ const I = function(e, ...a) {
2726
2726
  * @throws {RequiredError}
2727
2727
  */
2728
2728
  apiV2LanguagesOptions: async (a = {}) => {
2729
- const o = "/api/v2/languages", n = new URL(o, m);
2729
+ const o = "/api/v2/languages", n = new URL(o, P);
2730
2730
  let t;
2731
2731
  e && (t = e.baseOptions);
2732
2732
  const r = { method: "OPTIONS", ...t, ...a }, s = {}, l = {};
2733
- await P(s, "Authorization", e), I(n, l);
2733
+ await m(s, "Authorization", e), I(n, l);
2734
2734
  let c = t && t.headers ? t.headers : {};
2735
2735
  return r.headers = { ...s, ...c, ...a.headers }, {
2736
- url: y(n),
2736
+ url: b(n),
2737
2737
  options: r
2738
2738
  };
2739
2739
  },
@@ -2745,15 +2745,15 @@ const I = function(e, ...a) {
2745
2745
  * @throws {RequiredError}
2746
2746
  */
2747
2747
  getLanguage: async (a, o = {}) => {
2748
- j("getLanguage", "languageId", a);
2749
- const n = "/api/v2/languages/{languageId}".replace("{languageId}", encodeURIComponent(String(a))), t = new URL(n, m);
2748
+ R("getLanguage", "languageId", a);
2749
+ const n = "/api/v2/languages/{languageId}".replace("{languageId}", encodeURIComponent(String(a))), t = new URL(n, P);
2750
2750
  let r;
2751
2751
  e && (r = e.baseOptions);
2752
2752
  const s = { method: "GET", ...r, ...o }, l = {}, c = {};
2753
- await P(l, "Authorization", e), I(t, c);
2753
+ await m(l, "Authorization", e), I(t, c);
2754
2754
  let p = r && r.headers ? r.headers : {};
2755
2755
  return s.headers = { ...l, ...p, ...o.headers }, {
2756
- url: y(t),
2756
+ url: b(t),
2757
2757
  options: s
2758
2758
  };
2759
2759
  },
@@ -2767,14 +2767,14 @@ const I = function(e, ...a) {
2767
2767
  * @throws {RequiredError}
2768
2768
  */
2769
2769
  getLanguages: async (a, o, n, t = {}) => {
2770
- const r = "/api/v2/languages", s = new URL(r, m);
2770
+ const r = "/api/v2/languages", s = new URL(r, P);
2771
2771
  let l;
2772
2772
  e && (l = e.baseOptions);
2773
2773
  const c = { method: "GET", ...l, ...t }, p = {}, i = {};
2774
- await P(p, "Authorization", e), a !== void 0 && (i.PageNumber = a), o !== void 0 && (i.PageSize = o), n !== void 0 && (i.OrderBy = n), I(s, i);
2774
+ await m(p, "Authorization", e), a !== void 0 && (i.PageNumber = a), o !== void 0 && (i.PageSize = o), n !== void 0 && (i.OrderBy = n), I(s, i);
2775
2775
  let d = l && l.headers ? l.headers : {};
2776
2776
  return c.headers = { ...p, ...d, ...t.headers }, {
2777
- url: y(s),
2777
+ url: b(s),
2778
2778
  options: c
2779
2779
  };
2780
2780
  }
@@ -2791,7 +2791,7 @@ const I = function(e, ...a) {
2791
2791
  async apiV2LanguagesOptions(o) {
2792
2792
  var s, l;
2793
2793
  const n = await a.apiV2LanguagesOptions(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, r = (l = (s = A["LanguageApi.apiV2LanguagesOptions"]) == null ? void 0 : s[t]) == null ? void 0 : l.url;
2794
- return (c, p) => b(n, O, u, e)(c, r || p);
2794
+ return (c, p) => y(n, O, u, e)(c, r || p);
2795
2795
  },
2796
2796
  /**
2797
2797
  *
@@ -2803,7 +2803,7 @@ const I = function(e, ...a) {
2803
2803
  async getLanguage(o, n) {
2804
2804
  var l, c;
2805
2805
  const t = await a.getLanguage(o, n), r = (e == null ? void 0 : e.serverIndex) ?? 0, s = (c = (l = A["LanguageApi.getLanguage"]) == null ? void 0 : l[r]) == null ? void 0 : c.url;
2806
- return (p, i) => b(t, O, u, e)(p, s || i);
2806
+ return (p, i) => y(t, O, u, e)(p, s || i);
2807
2807
  },
2808
2808
  /**
2809
2809
  *
@@ -2817,7 +2817,7 @@ const I = function(e, ...a) {
2817
2817
  async getLanguages(o, n, t, r) {
2818
2818
  var p, i;
2819
2819
  const s = await a.getLanguages(o, n, t, r), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (i = (p = A["LanguageApi.getLanguages"]) == null ? void 0 : p[l]) == null ? void 0 : i.url;
2820
- return (d, h) => b(s, O, u, e)(d, c || h);
2820
+ return (d, h) => y(s, O, u, e)(d, c || h);
2821
2821
  }
2822
2822
  };
2823
2823
  }, qr = function(e, a, o) {
@@ -2862,14 +2862,14 @@ const I = function(e, ...a) {
2862
2862
  * @throws {RequiredError}
2863
2863
  */
2864
2864
  apiV2LicensesOptions: async (a = {}) => {
2865
- const o = "/api/v2/licenses", n = new URL(o, m);
2865
+ const o = "/api/v2/licenses", n = new URL(o, P);
2866
2866
  let t;
2867
2867
  e && (t = e.baseOptions);
2868
2868
  const r = { method: "OPTIONS", ...t, ...a }, s = {}, l = {};
2869
- await P(s, "Authorization", e), I(n, l);
2869
+ await m(s, "Authorization", e), I(n, l);
2870
2870
  let c = t && t.headers ? t.headers : {};
2871
2871
  return r.headers = { ...s, ...c, ...a.headers }, {
2872
- url: y(n),
2872
+ url: b(n),
2873
2873
  options: r
2874
2874
  };
2875
2875
  },
@@ -2881,15 +2881,15 @@ const I = function(e, ...a) {
2881
2881
  * @throws {RequiredError}
2882
2882
  */
2883
2883
  getLicense: async (a, o = {}) => {
2884
- j("getLicense", "licenseId", a);
2885
- const n = "/api/v2/licenses/{licenseId}".replace("{licenseId}", encodeURIComponent(String(a))), t = new URL(n, m);
2884
+ R("getLicense", "licenseId", a);
2885
+ const n = "/api/v2/licenses/{licenseId}".replace("{licenseId}", encodeURIComponent(String(a))), t = new URL(n, P);
2886
2886
  let r;
2887
2887
  e && (r = e.baseOptions);
2888
2888
  const s = { method: "GET", ...r, ...o }, l = {}, c = {};
2889
- await P(l, "Authorization", e), I(t, c);
2889
+ await m(l, "Authorization", e), I(t, c);
2890
2890
  let p = r && r.headers ? r.headers : {};
2891
2891
  return s.headers = { ...l, ...p, ...o.headers }, {
2892
- url: y(t),
2892
+ url: b(t),
2893
2893
  options: s
2894
2894
  };
2895
2895
  },
@@ -2903,14 +2903,14 @@ const I = function(e, ...a) {
2903
2903
  * @throws {RequiredError}
2904
2904
  */
2905
2905
  getLicenses: async (a, o, n, t = {}) => {
2906
- const r = "/api/v2/licenses", s = new URL(r, m);
2906
+ const r = "/api/v2/licenses", s = new URL(r, P);
2907
2907
  let l;
2908
2908
  e && (l = e.baseOptions);
2909
2909
  const c = { method: "GET", ...l, ...t }, p = {}, i = {};
2910
- await P(p, "Authorization", e), a !== void 0 && (i.PageNumber = a), o !== void 0 && (i.PageSize = o), n !== void 0 && (i.OrderBy = n), I(s, i);
2910
+ await m(p, "Authorization", e), a !== void 0 && (i.PageNumber = a), o !== void 0 && (i.PageSize = o), n !== void 0 && (i.OrderBy = n), I(s, i);
2911
2911
  let d = l && l.headers ? l.headers : {};
2912
2912
  return c.headers = { ...p, ...d, ...t.headers }, {
2913
- url: y(s),
2913
+ url: b(s),
2914
2914
  options: c
2915
2915
  };
2916
2916
  }
@@ -2927,7 +2927,7 @@ const I = function(e, ...a) {
2927
2927
  async apiV2LicensesOptions(o) {
2928
2928
  var s, l;
2929
2929
  const n = await a.apiV2LicensesOptions(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, r = (l = (s = A["LicenseApi.apiV2LicensesOptions"]) == null ? void 0 : s[t]) == null ? void 0 : l.url;
2930
- return (c, p) => b(n, O, u, e)(c, r || p);
2930
+ return (c, p) => y(n, O, u, e)(c, r || p);
2931
2931
  },
2932
2932
  /**
2933
2933
  *
@@ -2939,7 +2939,7 @@ const I = function(e, ...a) {
2939
2939
  async getLicense(o, n) {
2940
2940
  var l, c;
2941
2941
  const t = await a.getLicense(o, n), r = (e == null ? void 0 : e.serverIndex) ?? 0, s = (c = (l = A["LicenseApi.getLicense"]) == null ? void 0 : l[r]) == null ? void 0 : c.url;
2942
- return (p, i) => b(t, O, u, e)(p, s || i);
2942
+ return (p, i) => y(t, O, u, e)(p, s || i);
2943
2943
  },
2944
2944
  /**
2945
2945
  *
@@ -2953,7 +2953,7 @@ const I = function(e, ...a) {
2953
2953
  async getLicenses(o, n, t, r) {
2954
2954
  var p, i;
2955
2955
  const s = await a.getLicenses(o, n, t, r), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (i = (p = A["LicenseApi.getLicenses"]) == null ? void 0 : p[l]) == null ? void 0 : i.url;
2956
- return (d, h) => b(s, O, u, e)(d, c || h);
2956
+ return (d, h) => y(s, O, u, e)(d, c || h);
2957
2957
  }
2958
2958
  };
2959
2959
  }, Wr = function(e, a, o) {
@@ -2989,7 +2989,7 @@ const I = function(e, ...a) {
2989
2989
  return n.getLicenses(t.pageNumber, t.pageSize, t.orderBy, r).then((s) => s(o, a));
2990
2990
  }
2991
2991
  };
2992
- }, fr = function(e) {
2992
+ }, Xr = function(e) {
2993
2993
  return {
2994
2994
  /**
2995
2995
  *
@@ -2998,14 +2998,14 @@ const I = function(e, ...a) {
2998
2998
  * @throws {RequiredError}
2999
2999
  */
3000
3000
  apiV2MaintenancesOptions: async (a = {}) => {
3001
- const o = "/api/v2/maintenances", n = new URL(o, m);
3001
+ const o = "/api/v2/maintenances", n = new URL(o, P);
3002
3002
  let t;
3003
3003
  e && (t = e.baseOptions);
3004
3004
  const r = { method: "OPTIONS", ...t, ...a }, s = {}, l = {};
3005
- await P(s, "Authorization", e), I(n, l);
3005
+ await m(s, "Authorization", e), I(n, l);
3006
3006
  let c = t && t.headers ? t.headers : {};
3007
3007
  return r.headers = { ...s, ...c, ...a.headers }, {
3008
- url: y(n),
3008
+ url: b(n),
3009
3009
  options: r
3010
3010
  };
3011
3011
  },
@@ -3016,20 +3016,20 @@ const I = function(e, ...a) {
3016
3016
  * @throws {RequiredError}
3017
3017
  */
3018
3018
  getCurrentMaintenances: async (a = {}) => {
3019
- const o = "/api/v2/maintenances", n = new URL(o, m);
3019
+ const o = "/api/v2/maintenances", n = new URL(o, P);
3020
3020
  let t;
3021
3021
  e && (t = e.baseOptions);
3022
3022
  const r = { method: "GET", ...t, ...a }, s = {}, l = {};
3023
- await P(s, "Authorization", e), I(n, l);
3023
+ await m(s, "Authorization", e), I(n, l);
3024
3024
  let c = t && t.headers ? t.headers : {};
3025
3025
  return r.headers = { ...s, ...c, ...a.headers }, {
3026
- url: y(n),
3026
+ url: b(n),
3027
3027
  options: r
3028
3028
  };
3029
3029
  }
3030
3030
  };
3031
- }, Xr = function(e) {
3032
- const a = fr(e);
3031
+ }, fr = function(e) {
3032
+ const a = Xr(e);
3033
3033
  return {
3034
3034
  /**
3035
3035
  *
@@ -3040,7 +3040,7 @@ const I = function(e, ...a) {
3040
3040
  async apiV2MaintenancesOptions(o) {
3041
3041
  var s, l;
3042
3042
  const n = await a.apiV2MaintenancesOptions(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, r = (l = (s = A["MaintenanceApi.apiV2MaintenancesOptions"]) == null ? void 0 : s[t]) == null ? void 0 : l.url;
3043
- return (c, p) => b(n, O, u, e)(c, r || p);
3043
+ return (c, p) => y(n, O, u, e)(c, r || p);
3044
3044
  },
3045
3045
  /**
3046
3046
  *
@@ -3051,11 +3051,11 @@ const I = function(e, ...a) {
3051
3051
  async getCurrentMaintenances(o) {
3052
3052
  var s, l;
3053
3053
  const n = await a.getCurrentMaintenances(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, r = (l = (s = A["MaintenanceApi.getCurrentMaintenances"]) == null ? void 0 : s[t]) == null ? void 0 : l.url;
3054
- return (c, p) => b(n, O, u, e)(c, r || p);
3054
+ return (c, p) => y(n, O, u, e)(c, r || p);
3055
3055
  }
3056
3056
  };
3057
3057
  }, Yr = function(e, a, o) {
3058
- const n = Xr(e);
3058
+ const n = fr(e);
3059
3059
  return {
3060
3060
  /**
3061
3061
  *
@@ -3085,14 +3085,14 @@ const I = function(e, ...a) {
3085
3085
  * @throws {RequiredError}
3086
3086
  */
3087
3087
  apiV2OrganizationsOptions: async (a = {}) => {
3088
- const o = "/api/v2/organizations", n = new URL(o, m);
3088
+ const o = "/api/v2/organizations", n = new URL(o, P);
3089
3089
  let t;
3090
3090
  e && (t = e.baseOptions);
3091
3091
  const r = { method: "OPTIONS", ...t, ...a }, s = {}, l = {};
3092
- await P(s, "Authorization", e), I(n, l);
3092
+ await m(s, "Authorization", e), I(n, l);
3093
3093
  let c = t && t.headers ? t.headers : {};
3094
3094
  return r.headers = { ...s, ...c, ...a.headers }, {
3095
- url: y(n),
3095
+ url: b(n),
3096
3096
  options: r
3097
3097
  };
3098
3098
  },
@@ -3104,15 +3104,15 @@ const I = function(e, ...a) {
3104
3104
  * @throws {RequiredError}
3105
3105
  */
3106
3106
  getOrganization: async (a, o = {}) => {
3107
- j("getOrganization", "organizationRorUri", a);
3108
- const n = "/api/v2/organizations/{organizationRorUri}".replace("{organizationRorUri}", encodeURIComponent(String(a))), t = new URL(n, m);
3107
+ R("getOrganization", "organizationRorUri", a);
3108
+ const n = "/api/v2/organizations/{organizationRorUri}".replace("{organizationRorUri}", encodeURIComponent(String(a))), t = new URL(n, P);
3109
3109
  let r;
3110
3110
  e && (r = e.baseOptions);
3111
3111
  const s = { method: "GET", ...r, ...o }, l = {}, c = {};
3112
- await P(l, "Authorization", e), I(t, c);
3112
+ await m(l, "Authorization", e), I(t, c);
3113
3113
  let p = r && r.headers ? r.headers : {};
3114
3114
  return s.headers = { ...l, ...p, ...o.headers }, {
3115
- url: y(t),
3115
+ url: b(t),
3116
3116
  options: s
3117
3117
  };
3118
3118
  },
@@ -3129,14 +3129,14 @@ const I = function(e, ...a) {
3129
3129
  * @throws {RequiredError}
3130
3130
  */
3131
3131
  getOrganizations: async (a, o, n, t, r, s, l = {}) => {
3132
- const c = "/api/v2/organizations", p = new URL(c, m);
3132
+ const c = "/api/v2/organizations", p = new URL(c, P);
3133
3133
  let i;
3134
3134
  e && (i = e.baseOptions);
3135
3135
  const d = { method: "GET", ...i, ...l }, h = {}, V = {};
3136
- await P(h, "Authorization", e), a !== void 0 && (V.SearchTerm = a), o !== void 0 && (V.Language = o), n !== void 0 && (V.FilterByPublicationService = n), t !== void 0 && (V.PageNumber = t), r !== void 0 && (V.PageSize = r), s !== void 0 && (V.OrderBy = s), I(p, V);
3136
+ await m(h, "Authorization", e), a !== void 0 && (V.SearchTerm = a), o !== void 0 && (V.Language = o), n !== void 0 && (V.FilterByPublicationService = n), t !== void 0 && (V.PageNumber = t), r !== void 0 && (V.PageSize = r), s !== void 0 && (V.OrderBy = s), I(p, V);
3137
3137
  let v = i && i.headers ? i.headers : {};
3138
3138
  return d.headers = { ...h, ...v, ...l.headers }, {
3139
- url: y(p),
3139
+ url: b(p),
3140
3140
  options: d
3141
3141
  };
3142
3142
  }
@@ -3153,7 +3153,7 @@ const I = function(e, ...a) {
3153
3153
  async apiV2OrganizationsOptions(o) {
3154
3154
  var s, l;
3155
3155
  const n = await a.apiV2OrganizationsOptions(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, r = (l = (s = A["OrganizationApi.apiV2OrganizationsOptions"]) == null ? void 0 : s[t]) == null ? void 0 : l.url;
3156
- return (c, p) => b(n, O, u, e)(c, r || p);
3156
+ return (c, p) => y(n, O, u, e)(c, r || p);
3157
3157
  },
3158
3158
  /**
3159
3159
  *
@@ -3165,7 +3165,7 @@ const I = function(e, ...a) {
3165
3165
  async getOrganization(o, n) {
3166
3166
  var l, c;
3167
3167
  const t = await a.getOrganization(o, n), r = (e == null ? void 0 : e.serverIndex) ?? 0, s = (c = (l = A["OrganizationApi.getOrganization"]) == null ? void 0 : l[r]) == null ? void 0 : c.url;
3168
- return (p, i) => b(t, O, u, e)(p, s || i);
3168
+ return (p, i) => y(t, O, u, e)(p, s || i);
3169
3169
  },
3170
3170
  /**
3171
3171
  *
@@ -3182,7 +3182,7 @@ const I = function(e, ...a) {
3182
3182
  async getOrganizations(o, n, t, r, s, l, c) {
3183
3183
  var h, V;
3184
3184
  const p = await a.getOrganizations(o, n, t, r, s, l, c), i = (e == null ? void 0 : e.serverIndex) ?? 0, d = (V = (h = A["OrganizationApi.getOrganizations"]) == null ? void 0 : h[i]) == null ? void 0 : V.url;
3185
- return (v, S) => b(p, O, u, e)(v, d || S);
3185
+ return (v, S) => y(p, O, u, e)(v, d || S);
3186
3186
  }
3187
3187
  };
3188
3188
  }, ea = function(e, a, o) {
@@ -3227,14 +3227,14 @@ const I = function(e, ...a) {
3227
3227
  * @throws {RequiredError}
3228
3228
  */
3229
3229
  apiV2PidsOptions: async (a = {}) => {
3230
- const o = "/api/v2/pids", n = new URL(o, m);
3230
+ const o = "/api/v2/pids", n = new URL(o, P);
3231
3231
  let t;
3232
3232
  e && (t = e.baseOptions);
3233
3233
  const r = { method: "OPTIONS", ...t, ...a }, s = {}, l = {};
3234
- await P(s, "Authorization", e), I(n, l);
3234
+ await m(s, "Authorization", e), I(n, l);
3235
3235
  let c = t && t.headers ? t.headers : {};
3236
3236
  return r.headers = { ...s, ...c, ...a.headers }, {
3237
- url: y(n),
3237
+ url: b(n),
3238
3238
  options: r
3239
3239
  };
3240
3240
  },
@@ -3247,15 +3247,15 @@ const I = function(e, ...a) {
3247
3247
  * @throws {RequiredError}
3248
3248
  */
3249
3249
  getPid: async (a, o, n = {}) => {
3250
- j("getPid", "prefix", a), j("getPid", "suffix", o);
3251
- const t = "/api/v2/pids/{prefix}/{suffix}".replace("{prefix}", encodeURIComponent(String(a))).replace("{suffix}", encodeURIComponent(String(o))), r = new URL(t, m);
3250
+ R("getPid", "prefix", a), R("getPid", "suffix", o);
3251
+ const t = "/api/v2/pids/{prefix}/{suffix}".replace("{prefix}", encodeURIComponent(String(a))).replace("{suffix}", encodeURIComponent(String(o))), r = new URL(t, P);
3252
3252
  let s;
3253
3253
  e && (s = e.baseOptions);
3254
3254
  const l = { method: "GET", ...s, ...n }, c = {}, p = {};
3255
- await P(c, "Authorization", e), I(r, p);
3255
+ await m(c, "Authorization", e), I(r, p);
3256
3256
  let i = s && s.headers ? s.headers : {};
3257
3257
  return l.headers = { ...c, ...i, ...n.headers }, {
3258
- url: y(r),
3258
+ url: b(r),
3259
3259
  options: l
3260
3260
  };
3261
3261
  },
@@ -3272,14 +3272,14 @@ const I = function(e, ...a) {
3272
3272
  * @throws {RequiredError}
3273
3273
  */
3274
3274
  getPids: async (a, o, n, t, r, s, l = {}) => {
3275
- const c = "/api/v2/pids", p = new URL(c, m);
3275
+ const c = "/api/v2/pids", p = new URL(c, P);
3276
3276
  let i;
3277
3277
  e && (i = e.baseOptions);
3278
3278
  const d = { method: "GET", ...i, ...l }, h = {}, V = {};
3279
- await P(h, "Authorization", e), a !== void 0 && (V.IncludeProjects = a), o !== void 0 && (V.IncludeResources = o), n !== void 0 && (V.IncludeDeleted = n), t !== void 0 && (V.PageNumber = t), r !== void 0 && (V.PageSize = r), s !== void 0 && (V.OrderBy = s), I(p, V);
3279
+ await m(h, "Authorization", e), a !== void 0 && (V.IncludeProjects = a), o !== void 0 && (V.IncludeResources = o), n !== void 0 && (V.IncludeDeleted = n), t !== void 0 && (V.PageNumber = t), r !== void 0 && (V.PageSize = r), s !== void 0 && (V.OrderBy = s), I(p, V);
3280
3280
  let v = i && i.headers ? i.headers : {};
3281
3281
  return d.headers = { ...h, ...v, ...l.headers }, {
3282
- url: y(p),
3282
+ url: b(p),
3283
3283
  options: d
3284
3284
  };
3285
3285
  },
@@ -3293,15 +3293,15 @@ const I = function(e, ...a) {
3293
3293
  * @throws {RequiredError}
3294
3294
  */
3295
3295
  sendRequestToOwner: async (a, o, n, t = {}) => {
3296
- j("sendRequestToOwner", "prefix", a), j("sendRequestToOwner", "suffix", o);
3297
- const r = "/api/v2/pids/{prefix}/{suffix}/requests".replace("{prefix}", encodeURIComponent(String(a))).replace("{suffix}", encodeURIComponent(String(o))), s = new URL(r, m);
3296
+ R("sendRequestToOwner", "prefix", a), R("sendRequestToOwner", "suffix", o);
3297
+ const r = "/api/v2/pids/{prefix}/{suffix}/requests".replace("{prefix}", encodeURIComponent(String(a))).replace("{suffix}", encodeURIComponent(String(o))), s = new URL(r, P);
3298
3298
  let l;
3299
3299
  e && (l = e.baseOptions);
3300
3300
  const c = { method: "POST", ...l, ...t }, p = {}, i = {};
3301
- await P(p, "Authorization", e), p["Content-Type"] = "application/json", I(s, i);
3301
+ await m(p, "Authorization", e), p["Content-Type"] = "application/json", I(s, i);
3302
3302
  let d = l && l.headers ? l.headers : {};
3303
3303
  return c.headers = { ...p, ...d, ...t.headers }, c.data = L(n, c, e), {
3304
- url: y(s),
3304
+ url: b(s),
3305
3305
  options: c
3306
3306
  };
3307
3307
  }
@@ -3318,7 +3318,7 @@ const I = function(e, ...a) {
3318
3318
  async apiV2PidsOptions(o) {
3319
3319
  var s, l;
3320
3320
  const n = await a.apiV2PidsOptions(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, r = (l = (s = A["PidApi.apiV2PidsOptions"]) == null ? void 0 : s[t]) == null ? void 0 : l.url;
3321
- return (c, p) => b(n, O, u, e)(c, r || p);
3321
+ return (c, p) => y(n, O, u, e)(c, r || p);
3322
3322
  },
3323
3323
  /**
3324
3324
  *
@@ -3331,7 +3331,7 @@ const I = function(e, ...a) {
3331
3331
  async getPid(o, n, t) {
3332
3332
  var c, p;
3333
3333
  const r = await a.getPid(o, n, t), s = (e == null ? void 0 : e.serverIndex) ?? 0, l = (p = (c = A["PidApi.getPid"]) == null ? void 0 : c[s]) == null ? void 0 : p.url;
3334
- return (i, d) => b(r, O, u, e)(i, l || d);
3334
+ return (i, d) => y(r, O, u, e)(i, l || d);
3335
3335
  },
3336
3336
  /**
3337
3337
  * <p><strong>Required JWT roles for access:</strong> <code>administrator</code>.</p>
@@ -3348,7 +3348,7 @@ const I = function(e, ...a) {
3348
3348
  async getPids(o, n, t, r, s, l, c) {
3349
3349
  var h, V;
3350
3350
  const p = await a.getPids(o, n, t, r, s, l, c), i = (e == null ? void 0 : e.serverIndex) ?? 0, d = (V = (h = A["PidApi.getPids"]) == null ? void 0 : h[i]) == null ? void 0 : V.url;
3351
- return (v, S) => b(p, O, u, e)(v, d || S);
3351
+ return (v, S) => y(p, O, u, e)(v, d || S);
3352
3352
  },
3353
3353
  /**
3354
3354
  *
@@ -3362,7 +3362,7 @@ const I = function(e, ...a) {
3362
3362
  async sendRequestToOwner(o, n, t, r) {
3363
3363
  var p, i;
3364
3364
  const s = await a.sendRequestToOwner(o, n, t, r), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (i = (p = A["PidApi.sendRequestToOwner"]) == null ? void 0 : p[l]) == null ? void 0 : i.url;
3365
- return (d, h) => b(s, O, u, e)(d, c || h);
3365
+ return (d, h) => y(s, O, u, e)(d, c || h);
3366
3366
  }
3367
3367
  };
3368
3368
  }, aa = function(e, a, o) {
@@ -3417,14 +3417,14 @@ const I = function(e, ...a) {
3417
3417
  * @throws {RequiredError}
3418
3418
  */
3419
3419
  apiV2ProjectsOptions: async (a = {}) => {
3420
- const o = "/api/v2/projects", n = new URL(o, m);
3420
+ const o = "/api/v2/projects", n = new URL(o, P);
3421
3421
  let t;
3422
3422
  e && (t = e.baseOptions);
3423
3423
  const r = { method: "OPTIONS", ...t, ...a }, s = {}, l = {};
3424
- await P(s, "Authorization", e), I(n, l);
3424
+ await m(s, "Authorization", e), I(n, l);
3425
3425
  let c = t && t.headers ? t.headers : {};
3426
3426
  return r.headers = { ...s, ...c, ...a.headers }, {
3427
- url: y(n),
3427
+ url: b(n),
3428
3428
  options: r
3429
3429
  };
3430
3430
  },
@@ -3436,14 +3436,14 @@ const I = function(e, ...a) {
3436
3436
  * @throws {RequiredError}
3437
3437
  */
3438
3438
  createProject: async (a, o = {}) => {
3439
- const n = "/api/v2/projects", t = new URL(n, m);
3439
+ const n = "/api/v2/projects", t = new URL(n, P);
3440
3440
  let r;
3441
3441
  e && (r = e.baseOptions);
3442
3442
  const s = { method: "POST", ...r, ...o }, l = {}, c = {};
3443
- await P(l, "Authorization", e), l["Content-Type"] = "application/json", I(t, c);
3443
+ await m(l, "Authorization", e), l["Content-Type"] = "application/json", I(t, c);
3444
3444
  let p = r && r.headers ? r.headers : {};
3445
3445
  return s.headers = { ...l, ...p, ...o.headers }, s.data = L(a, s, e), {
3446
- url: y(t),
3446
+ url: b(t),
3447
3447
  options: s
3448
3448
  };
3449
3449
  },
@@ -3455,15 +3455,15 @@ const I = function(e, ...a) {
3455
3455
  * @throws {RequiredError}
3456
3456
  */
3457
3457
  deleteProject: async (a, o = {}) => {
3458
- j("deleteProject", "projectId", a);
3459
- const n = "/api/v2/projects/{projectId}".replace("{projectId}", encodeURIComponent(String(a))), t = new URL(n, m);
3458
+ R("deleteProject", "projectId", a);
3459
+ const n = "/api/v2/projects/{projectId}".replace("{projectId}", encodeURIComponent(String(a))), t = new URL(n, P);
3460
3460
  let r;
3461
3461
  e && (r = e.baseOptions);
3462
3462
  const s = { method: "DELETE", ...r, ...o }, l = {}, c = {};
3463
- await P(l, "Authorization", e), I(t, c);
3463
+ await m(l, "Authorization", e), I(t, c);
3464
3464
  let p = r && r.headers ? r.headers : {};
3465
3465
  return s.headers = { ...l, ...p, ...o.headers }, {
3466
- url: y(t),
3466
+ url: b(t),
3467
3467
  options: s
3468
3468
  };
3469
3469
  },
@@ -3476,15 +3476,15 @@ const I = function(e, ...a) {
3476
3476
  * @throws {RequiredError}
3477
3477
  */
3478
3478
  getProject: async (a, o, n = {}) => {
3479
- j("getProject", "projectId", a);
3480
- const t = "/api/v2/projects/{projectId}".replace("{projectId}", encodeURIComponent(String(a))), r = new URL(t, m);
3479
+ R("getProject", "projectId", a);
3480
+ const t = "/api/v2/projects/{projectId}".replace("{projectId}", encodeURIComponent(String(a))), r = new URL(t, P);
3481
3481
  let s;
3482
3482
  e && (s = e.baseOptions);
3483
3483
  const l = { method: "GET", ...s, ...n }, c = {}, p = {};
3484
- await P(c, "Authorization", e), o !== void 0 && (p.IncludeSubProjects = o), I(r, p);
3484
+ await m(c, "Authorization", e), o !== void 0 && (p.IncludeSubProjects = o), I(r, p);
3485
3485
  let i = s && s.headers ? s.headers : {};
3486
3486
  return l.headers = { ...c, ...i, ...n.headers }, {
3487
- url: y(r),
3487
+ url: b(r),
3488
3488
  options: l
3489
3489
  };
3490
3490
  },
@@ -3500,14 +3500,14 @@ const I = function(e, ...a) {
3500
3500
  * @throws {RequiredError}
3501
3501
  */
3502
3502
  getProjects: async (a, o, n, t, r, s = {}) => {
3503
- const l = "/api/v2/projects", c = new URL(l, m);
3503
+ const l = "/api/v2/projects", c = new URL(l, P);
3504
3504
  let p;
3505
3505
  e && (p = e.baseOptions);
3506
3506
  const i = { method: "GET", ...p, ...s }, d = {}, h = {};
3507
- await P(d, "Authorization", e), a !== void 0 && (h.IncludeOrganizations = a), 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);
3507
+ await m(d, "Authorization", e), a !== void 0 && (h.IncludeOrganizations = a), 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);
3508
3508
  let V = p && p.headers ? p.headers : {};
3509
3509
  return i.headers = { ...d, ...V, ...s.headers }, {
3510
- url: y(c),
3510
+ url: b(c),
3511
3511
  options: i
3512
3512
  };
3513
3513
  },
@@ -3520,15 +3520,15 @@ const I = function(e, ...a) {
3520
3520
  * @throws {RequiredError}
3521
3521
  */
3522
3522
  updateProject: async (a, o, n = {}) => {
3523
- j("updateProject", "projectId", a);
3524
- const t = "/api/v2/projects/{projectId}".replace("{projectId}", encodeURIComponent(String(a))), r = new URL(t, m);
3523
+ R("updateProject", "projectId", a);
3524
+ const t = "/api/v2/projects/{projectId}".replace("{projectId}", encodeURIComponent(String(a))), r = new URL(t, P);
3525
3525
  let s;
3526
3526
  e && (s = e.baseOptions);
3527
3527
  const l = { method: "PUT", ...s, ...n }, c = {}, p = {};
3528
- await P(c, "Authorization", e), c["Content-Type"] = "application/json", I(r, p);
3528
+ await m(c, "Authorization", e), c["Content-Type"] = "application/json", I(r, p);
3529
3529
  let i = s && s.headers ? s.headers : {};
3530
3530
  return l.headers = { ...c, ...i, ...n.headers }, l.data = L(o, l, e), {
3531
- url: y(r),
3531
+ url: b(r),
3532
3532
  options: l
3533
3533
  };
3534
3534
  }
@@ -3545,7 +3545,7 @@ const I = function(e, ...a) {
3545
3545
  async apiV2ProjectsOptions(o) {
3546
3546
  var s, l;
3547
3547
  const n = await a.apiV2ProjectsOptions(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, r = (l = (s = A["ProjectApi.apiV2ProjectsOptions"]) == null ? void 0 : s[t]) == null ? void 0 : l.url;
3548
- return (c, p) => b(n, O, u, e)(c, r || p);
3548
+ return (c, p) => y(n, O, u, e)(c, r || p);
3549
3549
  },
3550
3550
  /**
3551
3551
  *
@@ -3557,7 +3557,7 @@ const I = function(e, ...a) {
3557
3557
  async createProject(o, n) {
3558
3558
  var l, c;
3559
3559
  const t = await a.createProject(o, n), r = (e == null ? void 0 : e.serverIndex) ?? 0, s = (c = (l = A["ProjectApi.createProject"]) == null ? void 0 : l[r]) == null ? void 0 : c.url;
3560
- return (p, i) => b(t, O, u, e)(p, s || i);
3560
+ return (p, i) => y(t, O, u, e)(p, s || i);
3561
3561
  },
3562
3562
  /**
3563
3563
  *
@@ -3569,7 +3569,7 @@ const I = function(e, ...a) {
3569
3569
  async deleteProject(o, n) {
3570
3570
  var l, c;
3571
3571
  const t = await a.deleteProject(o, n), r = (e == null ? void 0 : e.serverIndex) ?? 0, s = (c = (l = A["ProjectApi.deleteProject"]) == null ? void 0 : l[r]) == null ? void 0 : c.url;
3572
- return (p, i) => b(t, O, u, e)(p, s || i);
3572
+ return (p, i) => y(t, O, u, e)(p, s || i);
3573
3573
  },
3574
3574
  /**
3575
3575
  *
@@ -3582,7 +3582,7 @@ const I = function(e, ...a) {
3582
3582
  async getProject(o, n, t) {
3583
3583
  var c, p;
3584
3584
  const r = await a.getProject(o, n, t), s = (e == null ? void 0 : e.serverIndex) ?? 0, l = (p = (c = A["ProjectApi.getProject"]) == null ? void 0 : c[s]) == null ? void 0 : p.url;
3585
- return (i, d) => b(r, O, u, e)(i, l || d);
3585
+ return (i, d) => y(r, O, u, e)(i, l || d);
3586
3586
  },
3587
3587
  /**
3588
3588
  *
@@ -3598,7 +3598,7 @@ const I = function(e, ...a) {
3598
3598
  async getProjects(o, n, t, r, s, l) {
3599
3599
  var d, h;
3600
3600
  const c = await a.getProjects(o, n, t, r, s, l), p = (e == null ? void 0 : e.serverIndex) ?? 0, i = (h = (d = A["ProjectApi.getProjects"]) == null ? void 0 : d[p]) == null ? void 0 : h.url;
3601
- return (V, v) => b(c, O, u, e)(V, i || v);
3601
+ return (V, v) => y(c, O, u, e)(V, i || v);
3602
3602
  },
3603
3603
  /**
3604
3604
  *
@@ -3611,7 +3611,7 @@ const I = function(e, ...a) {
3611
3611
  async updateProject(o, n, t) {
3612
3612
  var c, p;
3613
3613
  const r = await a.updateProject(o, n, t), s = (e == null ? void 0 : e.serverIndex) ?? 0, l = (p = (c = A["ProjectApi.updateProject"]) == null ? void 0 : c[s]) == null ? void 0 : p.url;
3614
- return (i, d) => b(r, O, u, e)(i, l || d);
3614
+ return (i, d) => y(r, O, u, e)(i, l || d);
3615
3615
  }
3616
3616
  };
3617
3617
  }, na = function(e, a, o) {
@@ -3687,15 +3687,15 @@ const I = function(e, ...a) {
3687
3687
  * @throws {RequiredError}
3688
3688
  */
3689
3689
  apiV2ProjectsProjectIdInvitationsOptions: async (a, o = {}) => {
3690
- j("apiV2ProjectsProjectIdInvitationsOptions", "projectId", a);
3691
- const n = "/api/v2/projects/{projectId}/invitations".replace("{projectId}", encodeURIComponent(String(a))), t = new URL(n, m);
3690
+ R("apiV2ProjectsProjectIdInvitationsOptions", "projectId", a);
3691
+ const n = "/api/v2/projects/{projectId}/invitations".replace("{projectId}", encodeURIComponent(String(a))), t = new URL(n, P);
3692
3692
  let r;
3693
3693
  e && (r = e.baseOptions);
3694
3694
  const s = { method: "OPTIONS", ...r, ...o }, l = {}, c = {};
3695
- await P(l, "Authorization", e), I(t, c);
3695
+ await m(l, "Authorization", e), I(t, c);
3696
3696
  let p = r && r.headers ? r.headers : {};
3697
3697
  return s.headers = { ...l, ...p, ...o.headers }, {
3698
- url: y(t),
3698
+ url: b(t),
3699
3699
  options: s
3700
3700
  };
3701
3701
  },
@@ -3708,15 +3708,15 @@ const I = function(e, ...a) {
3708
3708
  * @throws {RequiredError}
3709
3709
  */
3710
3710
  createProjectInvitation: async (a, o, n = {}) => {
3711
- j("createProjectInvitation", "projectId", a);
3712
- const t = "/api/v2/projects/{projectId}/invitations".replace("{projectId}", encodeURIComponent(String(a))), r = new URL(t, m);
3711
+ R("createProjectInvitation", "projectId", a);
3712
+ const t = "/api/v2/projects/{projectId}/invitations".replace("{projectId}", encodeURIComponent(String(a))), r = new URL(t, P);
3713
3713
  let s;
3714
3714
  e && (s = e.baseOptions);
3715
3715
  const l = { method: "POST", ...s, ...n }, c = {}, p = {};
3716
- await P(c, "Authorization", e), c["Content-Type"] = "application/json", I(r, p);
3716
+ await m(c, "Authorization", e), c["Content-Type"] = "application/json", I(r, p);
3717
3717
  let i = s && s.headers ? s.headers : {};
3718
3718
  return l.headers = { ...c, ...i, ...n.headers }, l.data = L(o, l, e), {
3719
- url: y(r),
3719
+ url: b(r),
3720
3720
  options: l
3721
3721
  };
3722
3722
  },
@@ -3729,15 +3729,15 @@ const I = function(e, ...a) {
3729
3729
  * @throws {RequiredError}
3730
3730
  */
3731
3731
  deleteProjectInvitation: async (a, o, n = {}) => {
3732
- j("deleteProjectInvitation", "projectId", a), j("deleteProjectInvitation", "projectInvitationId", o);
3733
- const t = "/api/v2/projects/{projectId}/invitations/{projectInvitationId}".replace("{projectId}", encodeURIComponent(String(a))).replace("{projectInvitationId}", encodeURIComponent(String(o))), r = new URL(t, m);
3732
+ R("deleteProjectInvitation", "projectId", a), R("deleteProjectInvitation", "projectInvitationId", o);
3733
+ const t = "/api/v2/projects/{projectId}/invitations/{projectInvitationId}".replace("{projectId}", encodeURIComponent(String(a))).replace("{projectInvitationId}", encodeURIComponent(String(o))), r = new URL(t, P);
3734
3734
  let s;
3735
3735
  e && (s = e.baseOptions);
3736
3736
  const l = { method: "DELETE", ...s, ...n }, c = {}, p = {};
3737
- await P(c, "Authorization", e), I(r, p);
3737
+ await m(c, "Authorization", e), I(r, p);
3738
3738
  let i = s && s.headers ? s.headers : {};
3739
3739
  return l.headers = { ...c, ...i, ...n.headers }, {
3740
- url: y(r),
3740
+ url: b(r),
3741
3741
  options: l
3742
3742
  };
3743
3743
  },
@@ -3750,15 +3750,15 @@ const I = function(e, ...a) {
3750
3750
  * @throws {RequiredError}
3751
3751
  */
3752
3752
  getProjectInvitation: async (a, o, n = {}) => {
3753
- j("getProjectInvitation", "projectId", a), j("getProjectInvitation", "projectInvitationId", o);
3754
- const t = "/api/v2/projects/{projectId}/invitations/{projectInvitationId}".replace("{projectId}", encodeURIComponent(String(a))).replace("{projectInvitationId}", encodeURIComponent(String(o))), r = new URL(t, m);
3753
+ R("getProjectInvitation", "projectId", a), R("getProjectInvitation", "projectInvitationId", o);
3754
+ const t = "/api/v2/projects/{projectId}/invitations/{projectInvitationId}".replace("{projectId}", encodeURIComponent(String(a))).replace("{projectInvitationId}", encodeURIComponent(String(o))), r = new URL(t, P);
3755
3755
  let s;
3756
3756
  e && (s = e.baseOptions);
3757
3757
  const l = { method: "GET", ...s, ...n }, c = {}, p = {};
3758
- await P(c, "Authorization", e), I(r, p);
3758
+ await m(c, "Authorization", e), I(r, p);
3759
3759
  let i = s && s.headers ? s.headers : {};
3760
3760
  return l.headers = { ...c, ...i, ...n.headers }, {
3761
- url: y(r),
3761
+ url: b(r),
3762
3762
  options: l
3763
3763
  };
3764
3764
  },
@@ -3773,15 +3773,15 @@ const I = function(e, ...a) {
3773
3773
  * @throws {RequiredError}
3774
3774
  */
3775
3775
  getProjectInvitations: async (a, o, n, t, r = {}) => {
3776
- j("getProjectInvitations", "projectId", a);
3777
- const s = "/api/v2/projects/{projectId}/invitations".replace("{projectId}", encodeURIComponent(String(a))), l = new URL(s, m);
3776
+ R("getProjectInvitations", "projectId", a);
3777
+ const s = "/api/v2/projects/{projectId}/invitations".replace("{projectId}", encodeURIComponent(String(a))), l = new URL(s, P);
3778
3778
  let c;
3779
3779
  e && (c = e.baseOptions);
3780
3780
  const p = { method: "GET", ...c, ...r }, i = {}, d = {};
3781
- await P(i, "Authorization", e), o !== void 0 && (d.PageNumber = o), n !== void 0 && (d.PageSize = n), t !== void 0 && (d.OrderBy = t), I(l, d);
3781
+ await m(i, "Authorization", e), o !== void 0 && (d.PageNumber = o), n !== void 0 && (d.PageSize = n), t !== void 0 && (d.OrderBy = t), I(l, d);
3782
3782
  let h = c && c.headers ? c.headers : {};
3783
3783
  return p.headers = { ...i, ...h, ...r.headers }, {
3784
- url: y(l),
3784
+ url: b(l),
3785
3785
  options: p
3786
3786
  };
3787
3787
  }
@@ -3799,7 +3799,7 @@ const I = function(e, ...a) {
3799
3799
  async apiV2ProjectsProjectIdInvitationsOptions(o, n) {
3800
3800
  var l, c;
3801
3801
  const t = await a.apiV2ProjectsProjectIdInvitationsOptions(o, n), r = (e == null ? void 0 : e.serverIndex) ?? 0, s = (c = (l = A["ProjectInvitationApi.apiV2ProjectsProjectIdInvitationsOptions"]) == null ? void 0 : l[r]) == null ? void 0 : c.url;
3802
- return (p, i) => b(t, O, u, e)(p, s || i);
3802
+ return (p, i) => y(t, O, u, e)(p, s || i);
3803
3803
  },
3804
3804
  /**
3805
3805
  *
@@ -3812,7 +3812,7 @@ const I = function(e, ...a) {
3812
3812
  async createProjectInvitation(o, n, t) {
3813
3813
  var c, p;
3814
3814
  const r = await a.createProjectInvitation(o, n, t), s = (e == null ? void 0 : e.serverIndex) ?? 0, l = (p = (c = A["ProjectInvitationApi.createProjectInvitation"]) == null ? void 0 : c[s]) == null ? void 0 : p.url;
3815
- return (i, d) => b(r, O, u, e)(i, l || d);
3815
+ return (i, d) => y(r, O, u, e)(i, l || d);
3816
3816
  },
3817
3817
  /**
3818
3818
  *
@@ -3825,7 +3825,7 @@ const I = function(e, ...a) {
3825
3825
  async deleteProjectInvitation(o, n, t) {
3826
3826
  var c, p;
3827
3827
  const r = await a.deleteProjectInvitation(o, n, t), s = (e == null ? void 0 : e.serverIndex) ?? 0, l = (p = (c = A["ProjectInvitationApi.deleteProjectInvitation"]) == null ? void 0 : c[s]) == null ? void 0 : p.url;
3828
- return (i, d) => b(r, O, u, e)(i, l || d);
3828
+ return (i, d) => y(r, O, u, e)(i, l || d);
3829
3829
  },
3830
3830
  /**
3831
3831
  *
@@ -3838,7 +3838,7 @@ const I = function(e, ...a) {
3838
3838
  async getProjectInvitation(o, n, t) {
3839
3839
  var c, p;
3840
3840
  const r = await a.getProjectInvitation(o, n, t), s = (e == null ? void 0 : e.serverIndex) ?? 0, l = (p = (c = A["ProjectInvitationApi.getProjectInvitation"]) == null ? void 0 : c[s]) == null ? void 0 : p.url;
3841
- return (i, d) => b(r, O, u, e)(i, l || d);
3841
+ return (i, d) => y(r, O, u, e)(i, l || d);
3842
3842
  },
3843
3843
  /**
3844
3844
  *
@@ -3853,7 +3853,7 @@ const I = function(e, ...a) {
3853
3853
  async getProjectInvitations(o, n, t, r, s) {
3854
3854
  var i, d;
3855
3855
  const l = await a.getProjectInvitations(o, n, t, r, s), c = (e == null ? void 0 : e.serverIndex) ?? 0, p = (d = (i = A["ProjectInvitationApi.getProjectInvitations"]) == null ? void 0 : i[c]) == null ? void 0 : d.url;
3856
- return (h, V) => b(l, O, u, e)(h, p || V);
3856
+ return (h, V) => y(l, O, u, e)(h, p || V);
3857
3857
  }
3858
3858
  };
3859
3859
  }, pa = function(e, a, o) {
@@ -3921,15 +3921,15 @@ const I = function(e, ...a) {
3921
3921
  * @throws {RequiredError}
3922
3922
  */
3923
3923
  addMembership: async (a, o, n = {}) => {
3924
- j("addMembership", "projectId", a);
3925
- const t = "/api/v2/projects/{projectId}/members".replace("{projectId}", encodeURIComponent(String(a))), r = new URL(t, m);
3924
+ R("addMembership", "projectId", a);
3925
+ const t = "/api/v2/projects/{projectId}/members".replace("{projectId}", encodeURIComponent(String(a))), r = new URL(t, P);
3926
3926
  let s;
3927
3927
  e && (s = e.baseOptions);
3928
3928
  const l = { method: "POST", ...s, ...n }, c = {}, p = {};
3929
- await P(c, "Authorization", e), c["Content-Type"] = "application/json", I(r, p);
3929
+ await m(c, "Authorization", e), c["Content-Type"] = "application/json", I(r, p);
3930
3930
  let i = s && s.headers ? s.headers : {};
3931
3931
  return l.headers = { ...c, ...i, ...n.headers }, l.data = L(o, l, e), {
3932
- url: y(r),
3932
+ url: b(r),
3933
3933
  options: l
3934
3934
  };
3935
3935
  },
@@ -3941,15 +3941,15 @@ const I = function(e, ...a) {
3941
3941
  * @throws {RequiredError}
3942
3942
  */
3943
3943
  apiV2ProjectsProjectIdMembersOptions: async (a, o = {}) => {
3944
- j("apiV2ProjectsProjectIdMembersOptions", "projectId", a);
3945
- const n = "/api/v2/projects/{projectId}/members".replace("{projectId}", encodeURIComponent(String(a))), t = new URL(n, m);
3944
+ R("apiV2ProjectsProjectIdMembersOptions", "projectId", a);
3945
+ const n = "/api/v2/projects/{projectId}/members".replace("{projectId}", encodeURIComponent(String(a))), t = new URL(n, P);
3946
3946
  let r;
3947
3947
  e && (r = e.baseOptions);
3948
3948
  const s = { method: "OPTIONS", ...r, ...o }, l = {}, c = {};
3949
- await P(l, "Authorization", e), I(t, c);
3949
+ await m(l, "Authorization", e), I(t, c);
3950
3950
  let p = r && r.headers ? r.headers : {};
3951
3951
  return s.headers = { ...l, ...p, ...o.headers }, {
3952
- url: y(t),
3952
+ url: b(t),
3953
3953
  options: s
3954
3954
  };
3955
3955
  },
@@ -3962,15 +3962,15 @@ const I = function(e, ...a) {
3962
3962
  * @throws {RequiredError}
3963
3963
  */
3964
3964
  deleteMembership: async (a, o, n = {}) => {
3965
- j("deleteMembership", "projectId", a), j("deleteMembership", "membershipId", o);
3966
- const t = "/api/v2/projects/{projectId}/members/{membershipId}".replace("{projectId}", encodeURIComponent(String(a))).replace("{membershipId}", encodeURIComponent(String(o))), r = new URL(t, m);
3965
+ R("deleteMembership", "projectId", a), R("deleteMembership", "membershipId", o);
3966
+ const t = "/api/v2/projects/{projectId}/members/{membershipId}".replace("{projectId}", encodeURIComponent(String(a))).replace("{membershipId}", encodeURIComponent(String(o))), r = new URL(t, P);
3967
3967
  let s;
3968
3968
  e && (s = e.baseOptions);
3969
3969
  const l = { method: "DELETE", ...s, ...n }, c = {}, p = {};
3970
- await P(c, "Authorization", e), I(r, p);
3970
+ await m(c, "Authorization", e), I(r, p);
3971
3971
  let i = s && s.headers ? s.headers : {};
3972
3972
  return l.headers = { ...c, ...i, ...n.headers }, {
3973
- url: y(r),
3973
+ url: b(r),
3974
3974
  options: l
3975
3975
  };
3976
3976
  },
@@ -3983,15 +3983,15 @@ const I = function(e, ...a) {
3983
3983
  * @throws {RequiredError}
3984
3984
  */
3985
3985
  getMembership: async (a, o, n = {}) => {
3986
- j("getMembership", "projectId", a), j("getMembership", "membershipId", o);
3987
- const t = "/api/v2/projects/{projectId}/members/{membershipId}".replace("{projectId}", encodeURIComponent(String(a))).replace("{membershipId}", encodeURIComponent(String(o))), r = new URL(t, m);
3986
+ R("getMembership", "projectId", a), R("getMembership", "membershipId", o);
3987
+ const t = "/api/v2/projects/{projectId}/members/{membershipId}".replace("{projectId}", encodeURIComponent(String(a))).replace("{membershipId}", encodeURIComponent(String(o))), r = new URL(t, P);
3988
3988
  let s;
3989
3989
  e && (s = e.baseOptions);
3990
3990
  const l = { method: "GET", ...s, ...n }, c = {}, p = {};
3991
- await P(c, "Authorization", e), I(r, p);
3991
+ await m(c, "Authorization", e), I(r, p);
3992
3992
  let i = s && s.headers ? s.headers : {};
3993
3993
  return l.headers = { ...c, ...i, ...n.headers }, {
3994
- url: y(r),
3994
+ url: b(r),
3995
3995
  options: l
3996
3996
  };
3997
3997
  },
@@ -4006,15 +4006,15 @@ const I = function(e, ...a) {
4006
4006
  * @throws {RequiredError}
4007
4007
  */
4008
4008
  getMemberships: async (a, o, n, t, r = {}) => {
4009
- j("getMemberships", "projectId", a);
4010
- const s = "/api/v2/projects/{projectId}/members".replace("{projectId}", encodeURIComponent(String(a))), l = new URL(s, m);
4009
+ R("getMemberships", "projectId", a);
4010
+ const s = "/api/v2/projects/{projectId}/members".replace("{projectId}", encodeURIComponent(String(a))), l = new URL(s, P);
4011
4011
  let c;
4012
4012
  e && (c = e.baseOptions);
4013
4013
  const p = { method: "GET", ...c, ...r }, i = {}, d = {};
4014
- await P(i, "Authorization", e), o !== void 0 && (d.PageNumber = o), n !== void 0 && (d.PageSize = n), t !== void 0 && (d.OrderBy = t), I(l, d);
4014
+ await m(i, "Authorization", e), o !== void 0 && (d.PageNumber = o), n !== void 0 && (d.PageSize = n), t !== void 0 && (d.OrderBy = t), I(l, d);
4015
4015
  let h = c && c.headers ? c.headers : {};
4016
4016
  return p.headers = { ...i, ...h, ...r.headers }, {
4017
- url: y(l),
4017
+ url: b(l),
4018
4018
  options: p
4019
4019
  };
4020
4020
  },
@@ -4028,15 +4028,15 @@ const I = function(e, ...a) {
4028
4028
  * @throws {RequiredError}
4029
4029
  */
4030
4030
  updateMembership: async (a, o, n, t = {}) => {
4031
- j("updateMembership", "projectId", a), j("updateMembership", "membershipId", o);
4032
- const r = "/api/v2/projects/{projectId}/members/{membershipId}".replace("{projectId}", encodeURIComponent(String(a))).replace("{membershipId}", encodeURIComponent(String(o))), s = new URL(r, m);
4031
+ R("updateMembership", "projectId", a), R("updateMembership", "membershipId", o);
4032
+ const r = "/api/v2/projects/{projectId}/members/{membershipId}".replace("{projectId}", encodeURIComponent(String(a))).replace("{membershipId}", encodeURIComponent(String(o))), s = new URL(r, P);
4033
4033
  let l;
4034
4034
  e && (l = e.baseOptions);
4035
4035
  const c = { method: "PUT", ...l, ...t }, p = {}, i = {};
4036
- await P(p, "Authorization", e), p["Content-Type"] = "application/json", I(s, i);
4036
+ await m(p, "Authorization", e), p["Content-Type"] = "application/json", I(s, i);
4037
4037
  let d = l && l.headers ? l.headers : {};
4038
4038
  return c.headers = { ...p, ...d, ...t.headers }, c.data = L(n, c, e), {
4039
- url: y(s),
4039
+ url: b(s),
4040
4040
  options: c
4041
4041
  };
4042
4042
  }
@@ -4055,7 +4055,7 @@ const I = function(e, ...a) {
4055
4055
  async addMembership(o, n, t) {
4056
4056
  var c, p;
4057
4057
  const r = await a.addMembership(o, n, t), s = (e == null ? void 0 : e.serverIndex) ?? 0, l = (p = (c = A["ProjectMemberApi.addMembership"]) == null ? void 0 : c[s]) == null ? void 0 : p.url;
4058
- return (i, d) => b(r, O, u, e)(i, l || d);
4058
+ return (i, d) => y(r, O, u, e)(i, l || d);
4059
4059
  },
4060
4060
  /**
4061
4061
  *
@@ -4067,7 +4067,7 @@ const I = function(e, ...a) {
4067
4067
  async apiV2ProjectsProjectIdMembersOptions(o, n) {
4068
4068
  var l, c;
4069
4069
  const t = await a.apiV2ProjectsProjectIdMembersOptions(o, n), r = (e == null ? void 0 : e.serverIndex) ?? 0, s = (c = (l = A["ProjectMemberApi.apiV2ProjectsProjectIdMembersOptions"]) == null ? void 0 : l[r]) == null ? void 0 : c.url;
4070
- return (p, i) => b(t, O, u, e)(p, s || i);
4070
+ return (p, i) => y(t, O, u, e)(p, s || i);
4071
4071
  },
4072
4072
  /**
4073
4073
  *
@@ -4080,7 +4080,7 @@ const I = function(e, ...a) {
4080
4080
  async deleteMembership(o, n, t) {
4081
4081
  var c, p;
4082
4082
  const r = await a.deleteMembership(o, n, t), s = (e == null ? void 0 : e.serverIndex) ?? 0, l = (p = (c = A["ProjectMemberApi.deleteMembership"]) == null ? void 0 : c[s]) == null ? void 0 : p.url;
4083
- return (i, d) => b(r, O, u, e)(i, l || d);
4083
+ return (i, d) => y(r, O, u, e)(i, l || d);
4084
4084
  },
4085
4085
  /**
4086
4086
  *
@@ -4093,7 +4093,7 @@ const I = function(e, ...a) {
4093
4093
  async getMembership(o, n, t) {
4094
4094
  var c, p;
4095
4095
  const r = await a.getMembership(o, n, t), s = (e == null ? void 0 : e.serverIndex) ?? 0, l = (p = (c = A["ProjectMemberApi.getMembership"]) == null ? void 0 : c[s]) == null ? void 0 : p.url;
4096
- return (i, d) => b(r, O, u, e)(i, l || d);
4096
+ return (i, d) => y(r, O, u, e)(i, l || d);
4097
4097
  },
4098
4098
  /**
4099
4099
  *
@@ -4108,7 +4108,7 @@ const I = function(e, ...a) {
4108
4108
  async getMemberships(o, n, t, r, s) {
4109
4109
  var i, d;
4110
4110
  const l = await a.getMemberships(o, n, t, r, s), c = (e == null ? void 0 : e.serverIndex) ?? 0, p = (d = (i = A["ProjectMemberApi.getMemberships"]) == null ? void 0 : i[c]) == null ? void 0 : d.url;
4111
- return (h, V) => b(l, O, u, e)(h, p || V);
4111
+ return (h, V) => y(l, O, u, e)(h, p || V);
4112
4112
  },
4113
4113
  /**
4114
4114
  *
@@ -4122,7 +4122,7 @@ const I = function(e, ...a) {
4122
4122
  async updateMembership(o, n, t, r) {
4123
4123
  var p, i;
4124
4124
  const s = await a.updateMembership(o, n, t, r), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (i = (p = A["ProjectMemberApi.updateMembership"]) == null ? void 0 : p[l]) == null ? void 0 : i.url;
4125
- return (d, h) => b(s, O, u, e)(d, c || h);
4125
+ return (d, h) => y(s, O, u, e)(d, c || h);
4126
4126
  }
4127
4127
  };
4128
4128
  }, ha = function(e, a, o) {
@@ -4199,15 +4199,15 @@ const I = function(e, ...a) {
4199
4199
  * @throws {RequiredError}
4200
4200
  */
4201
4201
  apiV2ProjectsProjectIdPublicationsRequestsOptions: async (a, o = {}) => {
4202
- j("apiV2ProjectsProjectIdPublicationsRequestsOptions", "projectId", a);
4203
- const n = "/api/v2/projects/{projectId}/publications/requests".replace("{projectId}", encodeURIComponent(String(a))), t = new URL(n, m);
4202
+ R("apiV2ProjectsProjectIdPublicationsRequestsOptions", "projectId", a);
4203
+ const n = "/api/v2/projects/{projectId}/publications/requests".replace("{projectId}", encodeURIComponent(String(a))), t = new URL(n, P);
4204
4204
  let r;
4205
4205
  e && (r = e.baseOptions);
4206
4206
  const s = { method: "OPTIONS", ...r, ...o }, l = {}, c = {};
4207
- await P(l, "Authorization", e), I(t, c);
4207
+ await m(l, "Authorization", e), I(t, c);
4208
4208
  let p = r && r.headers ? r.headers : {};
4209
4209
  return s.headers = { ...l, ...p, ...o.headers }, {
4210
- url: y(t),
4210
+ url: b(t),
4211
4211
  options: s
4212
4212
  };
4213
4213
  },
@@ -4220,15 +4220,36 @@ const I = function(e, ...a) {
4220
4220
  * @throws {RequiredError}
4221
4221
  */
4222
4222
  createPublicationRequest: async (a, o, n = {}) => {
4223
- j("createPublicationRequest", "projectId", a);
4224
- const t = "/api/v2/projects/{projectId}/publications/requests".replace("{projectId}", encodeURIComponent(String(a))), r = new URL(t, m);
4223
+ R("createPublicationRequest", "projectId", a);
4224
+ const t = "/api/v2/projects/{projectId}/publications/requests".replace("{projectId}", encodeURIComponent(String(a))), r = new URL(t, P);
4225
4225
  let s;
4226
4226
  e && (s = e.baseOptions);
4227
4227
  const l = { method: "POST", ...s, ...n }, c = {}, p = {};
4228
- await P(c, "Authorization", e), c["Content-Type"] = "application/json", I(r, p);
4228
+ await m(c, "Authorization", e), c["Content-Type"] = "application/json", I(r, p);
4229
4229
  let i = s && s.headers ? s.headers : {};
4230
4230
  return l.headers = { ...c, ...i, ...n.headers }, l.data = L(o, l, e), {
4231
- url: y(r),
4231
+ url: b(r),
4232
+ options: l
4233
+ };
4234
+ },
4235
+ /**
4236
+ *
4237
+ * @summary Retrieves a publication request.
4238
+ * @param {string} projectId The ID of the project.
4239
+ * @param {string} publicationRequestId The ID of the publication request.
4240
+ * @param {*} [options] Override http request option.
4241
+ * @throws {RequiredError}
4242
+ */
4243
+ getPublicationRequest: async (a, o, n = {}) => {
4244
+ R("getPublicationRequest", "projectId", a), R("getPublicationRequest", "publicationRequestId", o);
4245
+ const t = "/api/v2/projects/{projectId}/publications/requests/{publicationRequestId}".replace("{projectId}", encodeURIComponent(String(a))).replace("{publicationRequestId}", encodeURIComponent(String(o))), r = new URL(t, P);
4246
+ let s;
4247
+ e && (s = e.baseOptions);
4248
+ const l = { method: "GET", ...s, ...n }, c = {}, p = {};
4249
+ await m(c, "Authorization", e), I(r, p);
4250
+ let i = s && s.headers ? s.headers : {};
4251
+ return l.headers = { ...c, ...i, ...n.headers }, {
4252
+ url: b(r),
4232
4253
  options: l
4233
4254
  };
4234
4255
  }
@@ -4246,7 +4267,7 @@ const I = function(e, ...a) {
4246
4267
  async apiV2ProjectsProjectIdPublicationsRequestsOptions(o, n) {
4247
4268
  var l, c;
4248
4269
  const t = await a.apiV2ProjectsProjectIdPublicationsRequestsOptions(o, n), r = (e == null ? void 0 : e.serverIndex) ?? 0, s = (c = (l = A["ProjectPublicationRequestApi.apiV2ProjectsProjectIdPublicationsRequestsOptions"]) == null ? void 0 : l[r]) == null ? void 0 : c.url;
4249
- return (p, i) => b(t, O, u, e)(p, s || i);
4270
+ return (p, i) => y(t, O, u, e)(p, s || i);
4250
4271
  },
4251
4272
  /**
4252
4273
  *
@@ -4259,7 +4280,20 @@ const I = function(e, ...a) {
4259
4280
  async createPublicationRequest(o, n, t) {
4260
4281
  var c, p;
4261
4282
  const r = await a.createPublicationRequest(o, n, t), s = (e == null ? void 0 : e.serverIndex) ?? 0, l = (p = (c = A["ProjectPublicationRequestApi.createPublicationRequest"]) == null ? void 0 : c[s]) == null ? void 0 : p.url;
4262
- return (i, d) => b(r, O, u, e)(i, l || d);
4283
+ return (i, d) => y(r, O, u, e)(i, l || d);
4284
+ },
4285
+ /**
4286
+ *
4287
+ * @summary Retrieves a publication request.
4288
+ * @param {string} projectId The ID of the project.
4289
+ * @param {string} publicationRequestId The ID of the publication request.
4290
+ * @param {*} [options] Override http request option.
4291
+ * @throws {RequiredError}
4292
+ */
4293
+ async getPublicationRequest(o, n, t) {
4294
+ var c, p;
4295
+ const r = await a.getPublicationRequest(o, n, t), s = (e == null ? void 0 : e.serverIndex) ?? 0, l = (p = (c = A["ProjectPublicationRequestApi.getPublicationRequest"]) == null ? void 0 : c[s]) == null ? void 0 : p.url;
4296
+ return (i, d) => y(r, O, u, e)(i, l || d);
4263
4297
  }
4264
4298
  };
4265
4299
  }, ua = function(e, a, o) {
@@ -4284,6 +4318,16 @@ const I = function(e, ...a) {
4284
4318
  */
4285
4319
  createPublicationRequest(t, r) {
4286
4320
  return n.createPublicationRequest(t.projectId, t.publicationRequestForCreationDto, r).then((s) => s(o, a));
4321
+ },
4322
+ /**
4323
+ *
4324
+ * @summary Retrieves a publication request.
4325
+ * @param {ProjectPublicationRequestApiGetPublicationRequestRequest} requestParameters Request parameters.
4326
+ * @param {*} [options] Override http request option.
4327
+ * @throws {RequiredError}
4328
+ */
4329
+ getPublicationRequest(t, r) {
4330
+ return n.getPublicationRequest(t.projectId, t.publicationRequestId, r).then((s) => s(o, a));
4287
4331
  }
4288
4332
  };
4289
4333
  }, Aa = function(e) {
@@ -4296,15 +4340,15 @@ const I = function(e, ...a) {
4296
4340
  * @throws {RequiredError}
4297
4341
  */
4298
4342
  apiV2ProjectsProjectIdQuotasOptions: async (a, o = {}) => {
4299
- j("apiV2ProjectsProjectIdQuotasOptions", "projectId", a);
4300
- const n = "/api/v2/projects/{projectId}/quotas".replace("{projectId}", encodeURIComponent(String(a))), t = new URL(n, m);
4343
+ R("apiV2ProjectsProjectIdQuotasOptions", "projectId", a);
4344
+ const n = "/api/v2/projects/{projectId}/quotas".replace("{projectId}", encodeURIComponent(String(a))), t = new URL(n, P);
4301
4345
  let r;
4302
4346
  e && (r = e.baseOptions);
4303
4347
  const s = { method: "OPTIONS", ...r, ...o }, l = {}, c = {};
4304
- await P(l, "Authorization", e), I(t, c);
4348
+ await m(l, "Authorization", e), I(t, c);
4305
4349
  let p = r && r.headers ? r.headers : {};
4306
4350
  return s.headers = { ...l, ...p, ...o.headers }, {
4307
- url: y(t),
4351
+ url: b(t),
4308
4352
  options: s
4309
4353
  };
4310
4354
  },
@@ -4317,15 +4361,15 @@ const I = function(e, ...a) {
4317
4361
  * @throws {RequiredError}
4318
4362
  */
4319
4363
  getProjectQuota: async (a, o, n = {}) => {
4320
- j("getProjectQuota", "projectId", a), j("getProjectQuota", "resourceTypeId", o);
4321
- const t = "/api/v2/projects/{projectId}/quotas/{resourceTypeId}".replace("{projectId}", encodeURIComponent(String(a))).replace("{resourceTypeId}", encodeURIComponent(String(o))), r = new URL(t, m);
4364
+ R("getProjectQuota", "projectId", a), R("getProjectQuota", "resourceTypeId", o);
4365
+ const t = "/api/v2/projects/{projectId}/quotas/{resourceTypeId}".replace("{projectId}", encodeURIComponent(String(a))).replace("{resourceTypeId}", encodeURIComponent(String(o))), r = new URL(t, P);
4322
4366
  let s;
4323
4367
  e && (s = e.baseOptions);
4324
4368
  const l = { method: "GET", ...s, ...n }, c = {}, p = {};
4325
- await P(c, "Authorization", e), I(r, p);
4369
+ await m(c, "Authorization", e), I(r, p);
4326
4370
  let i = s && s.headers ? s.headers : {};
4327
4371
  return l.headers = { ...c, ...i, ...n.headers }, {
4328
- url: y(r),
4372
+ url: b(r),
4329
4373
  options: l
4330
4374
  };
4331
4375
  },
@@ -4340,15 +4384,15 @@ const I = function(e, ...a) {
4340
4384
  * @throws {RequiredError}
4341
4385
  */
4342
4386
  getProjectQuotas: async (a, o, n, t, r = {}) => {
4343
- j("getProjectQuotas", "projectId", a);
4344
- const s = "/api/v2/projects/{projectId}/quotas".replace("{projectId}", encodeURIComponent(String(a))), l = new URL(s, m);
4387
+ R("getProjectQuotas", "projectId", a);
4388
+ const s = "/api/v2/projects/{projectId}/quotas".replace("{projectId}", encodeURIComponent(String(a))), l = new URL(s, P);
4345
4389
  let c;
4346
4390
  e && (c = e.baseOptions);
4347
4391
  const p = { method: "GET", ...c, ...r }, i = {}, d = {};
4348
- await P(i, "Authorization", e), o !== void 0 && (d.PageNumber = o), n !== void 0 && (d.PageSize = n), t !== void 0 && (d.OrderBy = t), I(l, d);
4392
+ await m(i, "Authorization", e), o !== void 0 && (d.PageNumber = o), n !== void 0 && (d.PageSize = n), t !== void 0 && (d.OrderBy = t), I(l, d);
4349
4393
  let h = c && c.headers ? c.headers : {};
4350
4394
  return p.headers = { ...i, ...h, ...r.headers }, {
4351
- url: y(l),
4395
+ url: b(l),
4352
4396
  options: p
4353
4397
  };
4354
4398
  },
@@ -4362,20 +4406,20 @@ const I = function(e, ...a) {
4362
4406
  * @throws {RequiredError}
4363
4407
  */
4364
4408
  updateProjectQuota: async (a, o, n, t = {}) => {
4365
- j("updateProjectQuota", "projectId", a), j("updateProjectQuota", "resourceTypeId", o);
4366
- const r = "/api/v2/projects/{projectId}/quotas/{resourceTypeId}".replace("{projectId}", encodeURIComponent(String(a))).replace("{resourceTypeId}", encodeURIComponent(String(o))), s = new URL(r, m);
4409
+ R("updateProjectQuota", "projectId", a), R("updateProjectQuota", "resourceTypeId", o);
4410
+ const r = "/api/v2/projects/{projectId}/quotas/{resourceTypeId}".replace("{projectId}", encodeURIComponent(String(a))).replace("{resourceTypeId}", encodeURIComponent(String(o))), s = new URL(r, P);
4367
4411
  let l;
4368
4412
  e && (l = e.baseOptions);
4369
4413
  const c = { method: "PUT", ...l, ...t }, p = {}, i = {};
4370
- await P(p, "Authorization", e), p["Content-Type"] = "application/json", I(s, i);
4414
+ await m(p, "Authorization", e), p["Content-Type"] = "application/json", I(s, i);
4371
4415
  let d = l && l.headers ? l.headers : {};
4372
4416
  return c.headers = { ...p, ...d, ...t.headers }, c.data = L(n, c, e), {
4373
- url: y(s),
4417
+ url: b(s),
4374
4418
  options: c
4375
4419
  };
4376
4420
  }
4377
4421
  };
4378
- }, ma = function(e) {
4422
+ }, Pa = function(e) {
4379
4423
  const a = Aa(e);
4380
4424
  return {
4381
4425
  /**
@@ -4388,7 +4432,7 @@ const I = function(e, ...a) {
4388
4432
  async apiV2ProjectsProjectIdQuotasOptions(o, n) {
4389
4433
  var l, c;
4390
4434
  const t = await a.apiV2ProjectsProjectIdQuotasOptions(o, n), r = (e == null ? void 0 : e.serverIndex) ?? 0, s = (c = (l = A["ProjectQuotaApi.apiV2ProjectsProjectIdQuotasOptions"]) == null ? void 0 : l[r]) == null ? void 0 : c.url;
4391
- return (p, i) => b(t, O, u, e)(p, s || i);
4435
+ return (p, i) => y(t, O, u, e)(p, s || i);
4392
4436
  },
4393
4437
  /**
4394
4438
  *
@@ -4401,7 +4445,7 @@ const I = function(e, ...a) {
4401
4445
  async getProjectQuota(o, n, t) {
4402
4446
  var c, p;
4403
4447
  const r = await a.getProjectQuota(o, n, t), s = (e == null ? void 0 : e.serverIndex) ?? 0, l = (p = (c = A["ProjectQuotaApi.getProjectQuota"]) == null ? void 0 : c[s]) == null ? void 0 : p.url;
4404
- return (i, d) => b(r, O, u, e)(i, l || d);
4448
+ return (i, d) => y(r, O, u, e)(i, l || d);
4405
4449
  },
4406
4450
  /**
4407
4451
  *
@@ -4416,7 +4460,7 @@ const I = function(e, ...a) {
4416
4460
  async getProjectQuotas(o, n, t, r, s) {
4417
4461
  var i, d;
4418
4462
  const l = await a.getProjectQuotas(o, n, t, r, s), c = (e == null ? void 0 : e.serverIndex) ?? 0, p = (d = (i = A["ProjectQuotaApi.getProjectQuotas"]) == null ? void 0 : i[c]) == null ? void 0 : d.url;
4419
- return (h, V) => b(l, O, u, e)(h, p || V);
4463
+ return (h, V) => y(l, O, u, e)(h, p || V);
4420
4464
  },
4421
4465
  /**
4422
4466
  *
@@ -4430,11 +4474,11 @@ const I = function(e, ...a) {
4430
4474
  async updateProjectQuota(o, n, t, r) {
4431
4475
  var p, i;
4432
4476
  const s = await a.updateProjectQuota(o, n, t, r), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (i = (p = A["ProjectQuotaApi.updateProjectQuota"]) == null ? void 0 : p[l]) == null ? void 0 : i.url;
4433
- return (d, h) => b(s, O, u, e)(d, c || h);
4477
+ return (d, h) => y(s, O, u, e)(d, c || h);
4434
4478
  }
4435
4479
  };
4436
- }, Pa = function(e, a, o) {
4437
- const n = ma(e);
4480
+ }, ma = function(e, a, o) {
4481
+ const n = Pa(e);
4438
4482
  return {
4439
4483
  /**
4440
4484
  *
@@ -4487,15 +4531,15 @@ const I = function(e, ...a) {
4487
4531
  * @throws {RequiredError}
4488
4532
  */
4489
4533
  apiV2ProjectsProjectIdResourcesOptions: async (a, o = {}) => {
4490
- j("apiV2ProjectsProjectIdResourcesOptions", "projectId", a);
4491
- const n = "/api/v2/projects/{projectId}/resources".replace("{projectId}", encodeURIComponent(String(a))), t = new URL(n, m);
4534
+ R("apiV2ProjectsProjectIdResourcesOptions", "projectId", a);
4535
+ const n = "/api/v2/projects/{projectId}/resources".replace("{projectId}", encodeURIComponent(String(a))), t = new URL(n, P);
4492
4536
  let r;
4493
4537
  e && (r = e.baseOptions);
4494
4538
  const s = { method: "OPTIONS", ...r, ...o }, l = {}, c = {};
4495
- await P(l, "Authorization", e), I(t, c);
4539
+ await m(l, "Authorization", e), I(t, c);
4496
4540
  let p = r && r.headers ? r.headers : {};
4497
4541
  return s.headers = { ...l, ...p, ...o.headers }, {
4498
- url: y(t),
4542
+ url: b(t),
4499
4543
  options: s
4500
4544
  };
4501
4545
  },
@@ -4508,15 +4552,15 @@ const I = function(e, ...a) {
4508
4552
  * @throws {RequiredError}
4509
4553
  */
4510
4554
  createResourceForProject: async (a, o, n = {}) => {
4511
- j("createResourceForProject", "projectId", a);
4512
- const t = "/api/v2/projects/{projectId}/resources".replace("{projectId}", encodeURIComponent(String(a))), r = new URL(t, m);
4555
+ R("createResourceForProject", "projectId", a);
4556
+ const t = "/api/v2/projects/{projectId}/resources".replace("{projectId}", encodeURIComponent(String(a))), r = new URL(t, P);
4513
4557
  let s;
4514
4558
  e && (s = e.baseOptions);
4515
4559
  const l = { method: "POST", ...s, ...n }, c = {}, p = {};
4516
- await P(c, "Authorization", e), c["Content-Type"] = "application/json", I(r, p);
4560
+ await m(c, "Authorization", e), c["Content-Type"] = "application/json", I(r, p);
4517
4561
  let i = s && s.headers ? s.headers : {};
4518
4562
  return l.headers = { ...c, ...i, ...n.headers }, l.data = L(o, l, e), {
4519
- url: y(r),
4563
+ url: b(r),
4520
4564
  options: l
4521
4565
  };
4522
4566
  },
@@ -4529,15 +4573,15 @@ const I = function(e, ...a) {
4529
4573
  * @throws {RequiredError}
4530
4574
  */
4531
4575
  deleteResourceForProject: async (a, o, n = {}) => {
4532
- j("deleteResourceForProject", "projectId", a), j("deleteResourceForProject", "resourceId", o);
4533
- const t = "/api/v2/projects/{projectId}/resources/{resourceId}".replace("{projectId}", encodeURIComponent(String(a))).replace("{resourceId}", encodeURIComponent(String(o))), r = new URL(t, m);
4576
+ R("deleteResourceForProject", "projectId", a), R("deleteResourceForProject", "resourceId", o);
4577
+ const t = "/api/v2/projects/{projectId}/resources/{resourceId}".replace("{projectId}", encodeURIComponent(String(a))).replace("{resourceId}", encodeURIComponent(String(o))), r = new URL(t, P);
4534
4578
  let s;
4535
4579
  e && (s = e.baseOptions);
4536
4580
  const l = { method: "DELETE", ...s, ...n }, c = {}, p = {};
4537
- await P(c, "Authorization", e), I(r, p);
4581
+ await m(c, "Authorization", e), I(r, p);
4538
4582
  let i = s && s.headers ? s.headers : {};
4539
4583
  return l.headers = { ...c, ...i, ...n.headers }, {
4540
- url: y(r),
4584
+ url: b(r),
4541
4585
  options: l
4542
4586
  };
4543
4587
  },
@@ -4550,15 +4594,15 @@ const I = function(e, ...a) {
4550
4594
  * @throws {RequiredError}
4551
4595
  */
4552
4596
  getResourceForProject: async (a, o, n = {}) => {
4553
- j("getResourceForProject", "projectId", a), j("getResourceForProject", "resourceId", o);
4554
- const t = "/api/v2/projects/{projectId}/resources/{resourceId}".replace("{projectId}", encodeURIComponent(String(a))).replace("{resourceId}", encodeURIComponent(String(o))), r = new URL(t, m);
4597
+ R("getResourceForProject", "projectId", a), R("getResourceForProject", "resourceId", o);
4598
+ const t = "/api/v2/projects/{projectId}/resources/{resourceId}".replace("{projectId}", encodeURIComponent(String(a))).replace("{resourceId}", encodeURIComponent(String(o))), r = new URL(t, P);
4555
4599
  let s;
4556
4600
  e && (s = e.baseOptions);
4557
4601
  const l = { method: "GET", ...s, ...n }, c = {}, p = {};
4558
- await P(c, "Authorization", e), I(r, p);
4602
+ await m(c, "Authorization", e), I(r, p);
4559
4603
  let i = s && s.headers ? s.headers : {};
4560
4604
  return l.headers = { ...c, ...i, ...n.headers }, {
4561
- url: y(r),
4605
+ url: b(r),
4562
4606
  options: l
4563
4607
  };
4564
4608
  },
@@ -4573,15 +4617,15 @@ const I = function(e, ...a) {
4573
4617
  * @throws {RequiredError}
4574
4618
  */
4575
4619
  getResourcesForProject: async (a, o, n, t, r = {}) => {
4576
- j("getResourcesForProject", "projectId", a);
4577
- const s = "/api/v2/projects/{projectId}/resources".replace("{projectId}", encodeURIComponent(String(a))), l = new URL(s, m);
4620
+ R("getResourcesForProject", "projectId", a);
4621
+ const s = "/api/v2/projects/{projectId}/resources".replace("{projectId}", encodeURIComponent(String(a))), l = new URL(s, P);
4578
4622
  let c;
4579
4623
  e && (c = e.baseOptions);
4580
4624
  const p = { method: "GET", ...c, ...r }, i = {}, d = {};
4581
- await P(i, "Authorization", e), o !== void 0 && (d.PageNumber = o), n !== void 0 && (d.PageSize = n), t !== void 0 && (d.OrderBy = t), I(l, d);
4625
+ await m(i, "Authorization", e), o !== void 0 && (d.PageNumber = o), n !== void 0 && (d.PageSize = n), t !== void 0 && (d.OrderBy = t), I(l, d);
4582
4626
  let h = c && c.headers ? c.headers : {};
4583
4627
  return p.headers = { ...i, ...h, ...r.headers }, {
4584
- url: y(l),
4628
+ url: b(l),
4585
4629
  options: p
4586
4630
  };
4587
4631
  },
@@ -4595,20 +4639,20 @@ const I = function(e, ...a) {
4595
4639
  * @throws {RequiredError}
4596
4640
  */
4597
4641
  updateResourceForProject: async (a, o, n, t = {}) => {
4598
- j("updateResourceForProject", "projectId", a), j("updateResourceForProject", "resourceId", o);
4599
- const r = "/api/v2/projects/{projectId}/resources/{resourceId}".replace("{projectId}", encodeURIComponent(String(a))).replace("{resourceId}", encodeURIComponent(String(o))), s = new URL(r, m);
4642
+ R("updateResourceForProject", "projectId", a), R("updateResourceForProject", "resourceId", o);
4643
+ const r = "/api/v2/projects/{projectId}/resources/{resourceId}".replace("{projectId}", encodeURIComponent(String(a))).replace("{resourceId}", encodeURIComponent(String(o))), s = new URL(r, P);
4600
4644
  let l;
4601
4645
  e && (l = e.baseOptions);
4602
4646
  const c = { method: "PUT", ...l, ...t }, p = {}, i = {};
4603
- await P(p, "Authorization", e), p["Content-Type"] = "application/json", I(s, i);
4647
+ await m(p, "Authorization", e), p["Content-Type"] = "application/json", I(s, i);
4604
4648
  let d = l && l.headers ? l.headers : {};
4605
4649
  return c.headers = { ...p, ...d, ...t.headers }, c.data = L(n, c, e), {
4606
- url: y(s),
4650
+ url: b(s),
4607
4651
  options: c
4608
4652
  };
4609
4653
  }
4610
4654
  };
4611
- }, ya = function(e) {
4655
+ }, ba = function(e) {
4612
4656
  const a = Ia(e);
4613
4657
  return {
4614
4658
  /**
@@ -4621,7 +4665,7 @@ const I = function(e, ...a) {
4621
4665
  async apiV2ProjectsProjectIdResourcesOptions(o, n) {
4622
4666
  var l, c;
4623
4667
  const t = await a.apiV2ProjectsProjectIdResourcesOptions(o, n), r = (e == null ? void 0 : e.serverIndex) ?? 0, s = (c = (l = A["ProjectResourceApi.apiV2ProjectsProjectIdResourcesOptions"]) == null ? void 0 : l[r]) == null ? void 0 : c.url;
4624
- return (p, i) => b(t, O, u, e)(p, s || i);
4668
+ return (p, i) => y(t, O, u, e)(p, s || i);
4625
4669
  },
4626
4670
  /**
4627
4671
  *
@@ -4634,7 +4678,7 @@ const I = function(e, ...a) {
4634
4678
  async createResourceForProject(o, n, t) {
4635
4679
  var c, p;
4636
4680
  const r = await a.createResourceForProject(o, n, t), s = (e == null ? void 0 : e.serverIndex) ?? 0, l = (p = (c = A["ProjectResourceApi.createResourceForProject"]) == null ? void 0 : c[s]) == null ? void 0 : p.url;
4637
- return (i, d) => b(r, O, u, e)(i, l || d);
4681
+ return (i, d) => y(r, O, u, e)(i, l || d);
4638
4682
  },
4639
4683
  /**
4640
4684
  *
@@ -4647,7 +4691,7 @@ const I = function(e, ...a) {
4647
4691
  async deleteResourceForProject(o, n, t) {
4648
4692
  var c, p;
4649
4693
  const r = await a.deleteResourceForProject(o, n, t), s = (e == null ? void 0 : e.serverIndex) ?? 0, l = (p = (c = A["ProjectResourceApi.deleteResourceForProject"]) == null ? void 0 : c[s]) == null ? void 0 : p.url;
4650
- return (i, d) => b(r, O, u, e)(i, l || d);
4694
+ return (i, d) => y(r, O, u, e)(i, l || d);
4651
4695
  },
4652
4696
  /**
4653
4697
  *
@@ -4660,7 +4704,7 @@ const I = function(e, ...a) {
4660
4704
  async getResourceForProject(o, n, t) {
4661
4705
  var c, p;
4662
4706
  const r = await a.getResourceForProject(o, n, t), s = (e == null ? void 0 : e.serverIndex) ?? 0, l = (p = (c = A["ProjectResourceApi.getResourceForProject"]) == null ? void 0 : c[s]) == null ? void 0 : p.url;
4663
- return (i, d) => b(r, O, u, e)(i, l || d);
4707
+ return (i, d) => y(r, O, u, e)(i, l || d);
4664
4708
  },
4665
4709
  /**
4666
4710
  *
@@ -4675,7 +4719,7 @@ const I = function(e, ...a) {
4675
4719
  async getResourcesForProject(o, n, t, r, s) {
4676
4720
  var i, d;
4677
4721
  const l = await a.getResourcesForProject(o, n, t, r, s), c = (e == null ? void 0 : e.serverIndex) ?? 0, p = (d = (i = A["ProjectResourceApi.getResourcesForProject"]) == null ? void 0 : i[c]) == null ? void 0 : d.url;
4678
- return (h, V) => b(l, O, u, e)(h, p || V);
4722
+ return (h, V) => y(l, O, u, e)(h, p || V);
4679
4723
  },
4680
4724
  /**
4681
4725
  *
@@ -4689,11 +4733,11 @@ const I = function(e, ...a) {
4689
4733
  async updateResourceForProject(o, n, t, r) {
4690
4734
  var p, i;
4691
4735
  const s = await a.updateResourceForProject(o, n, t, r), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (i = (p = A["ProjectResourceApi.updateResourceForProject"]) == null ? void 0 : p[l]) == null ? void 0 : i.url;
4692
- return (d, h) => b(s, O, u, e)(d, c || h);
4736
+ return (d, h) => y(s, O, u, e)(d, c || h);
4693
4737
  }
4694
4738
  };
4695
- }, ba = function(e, a, o) {
4696
- const n = ya(e);
4739
+ }, ya = function(e, a, o) {
4740
+ const n = ba(e);
4697
4741
  return {
4698
4742
  /**
4699
4743
  *
@@ -4767,15 +4811,15 @@ const I = function(e, ...a) {
4767
4811
  * @throws {RequiredError}
4768
4812
  */
4769
4813
  apiV2ProjectsProjectIdResourcesResourceIdQuotaOptions: async (a, o, n = {}) => {
4770
- j("apiV2ProjectsProjectIdResourcesResourceIdQuotaOptions", "projectId", a), j("apiV2ProjectsProjectIdResourcesResourceIdQuotaOptions", "resourceId", o);
4771
- const t = "/api/v2/projects/{projectId}/resources/{resourceId}/quota".replace("{projectId}", encodeURIComponent(String(a))).replace("{resourceId}", encodeURIComponent(String(o))), r = new URL(t, m);
4814
+ R("apiV2ProjectsProjectIdResourcesResourceIdQuotaOptions", "projectId", a), R("apiV2ProjectsProjectIdResourcesResourceIdQuotaOptions", "resourceId", o);
4815
+ const t = "/api/v2/projects/{projectId}/resources/{resourceId}/quota".replace("{projectId}", encodeURIComponent(String(a))).replace("{resourceId}", encodeURIComponent(String(o))), r = new URL(t, P);
4772
4816
  let s;
4773
4817
  e && (s = e.baseOptions);
4774
4818
  const l = { method: "OPTIONS", ...s, ...n }, c = {}, p = {};
4775
- await P(c, "Authorization", e), I(r, p);
4819
+ await m(c, "Authorization", e), I(r, p);
4776
4820
  let i = s && s.headers ? s.headers : {};
4777
4821
  return l.headers = { ...c, ...i, ...n.headers }, {
4778
- url: y(r),
4822
+ url: b(r),
4779
4823
  options: l
4780
4824
  };
4781
4825
  },
@@ -4788,15 +4832,15 @@ const I = function(e, ...a) {
4788
4832
  * @throws {RequiredError}
4789
4833
  */
4790
4834
  getQuotaForResourceForProject: async (a, o, n = {}) => {
4791
- j("getQuotaForResourceForProject", "projectId", a), j("getQuotaForResourceForProject", "resourceId", o);
4792
- const t = "/api/v2/projects/{projectId}/resources/{resourceId}/quota".replace("{projectId}", encodeURIComponent(String(a))).replace("{resourceId}", encodeURIComponent(String(o))), r = new URL(t, m);
4835
+ R("getQuotaForResourceForProject", "projectId", a), R("getQuotaForResourceForProject", "resourceId", o);
4836
+ const t = "/api/v2/projects/{projectId}/resources/{resourceId}/quota".replace("{projectId}", encodeURIComponent(String(a))).replace("{resourceId}", encodeURIComponent(String(o))), r = new URL(t, P);
4793
4837
  let s;
4794
4838
  e && (s = e.baseOptions);
4795
4839
  const l = { method: "GET", ...s, ...n }, c = {}, p = {};
4796
- await P(c, "Authorization", e), I(r, p);
4840
+ await m(c, "Authorization", e), I(r, p);
4797
4841
  let i = s && s.headers ? s.headers : {};
4798
4842
  return l.headers = { ...c, ...i, ...n.headers }, {
4799
- url: y(r),
4843
+ url: b(r),
4800
4844
  options: l
4801
4845
  };
4802
4846
  }
@@ -4815,7 +4859,7 @@ const I = function(e, ...a) {
4815
4859
  async apiV2ProjectsProjectIdResourcesResourceIdQuotaOptions(o, n, t) {
4816
4860
  var c, p;
4817
4861
  const r = await a.apiV2ProjectsProjectIdResourcesResourceIdQuotaOptions(o, n, t), s = (e == null ? void 0 : e.serverIndex) ?? 0, l = (p = (c = A["ProjectResourceQuotaApi.apiV2ProjectsProjectIdResourcesResourceIdQuotaOptions"]) == null ? void 0 : c[s]) == null ? void 0 : p.url;
4818
- return (i, d) => b(r, O, u, e)(i, l || d);
4862
+ return (i, d) => y(r, O, u, e)(i, l || d);
4819
4863
  },
4820
4864
  /**
4821
4865
  *
@@ -4828,7 +4872,7 @@ const I = function(e, ...a) {
4828
4872
  async getQuotaForResourceForProject(o, n, t) {
4829
4873
  var c, p;
4830
4874
  const r = await a.getQuotaForResourceForProject(o, n, t), s = (e == null ? void 0 : e.serverIndex) ?? 0, l = (p = (c = A["ProjectResourceQuotaApi.getQuotaForResourceForProject"]) == null ? void 0 : c[s]) == null ? void 0 : p.url;
4831
- return (i, d) => b(r, O, u, e)(i, l || d);
4875
+ return (i, d) => y(r, O, u, e)(i, l || d);
4832
4876
  }
4833
4877
  };
4834
4878
  }, va = function(e, a, o) {
@@ -4865,15 +4909,15 @@ const I = function(e, ...a) {
4865
4909
  * @throws {RequiredError}
4866
4910
  */
4867
4911
  apiV2ProjectsProjectIdResourceTypesOptions: async (a, o = {}) => {
4868
- j("apiV2ProjectsProjectIdResourceTypesOptions", "projectId", a);
4869
- const n = "/api/v2/projects/{projectId}/resource-types".replace("{projectId}", encodeURIComponent(String(a))), t = new URL(n, m);
4912
+ R("apiV2ProjectsProjectIdResourceTypesOptions", "projectId", a);
4913
+ const n = "/api/v2/projects/{projectId}/resource-types".replace("{projectId}", encodeURIComponent(String(a))), t = new URL(n, P);
4870
4914
  let r;
4871
4915
  e && (r = e.baseOptions);
4872
4916
  const s = { method: "OPTIONS", ...r, ...o }, l = {}, c = {};
4873
- await P(l, "Authorization", e), I(t, c);
4917
+ await m(l, "Authorization", e), I(t, c);
4874
4918
  let p = r && r.headers ? r.headers : {};
4875
4919
  return s.headers = { ...l, ...p, ...o.headers }, {
4876
- url: y(t),
4920
+ url: b(t),
4877
4921
  options: s
4878
4922
  };
4879
4923
  },
@@ -4885,15 +4929,15 @@ const I = function(e, ...a) {
4885
4929
  * @throws {RequiredError}
4886
4930
  */
4887
4931
  getAvailableResourceTypesInformationForProject: async (a, o = {}) => {
4888
- j("getAvailableResourceTypesInformationForProject", "projectId", a);
4889
- const n = "/api/v2/projects/{projectId}/resource-types".replace("{projectId}", encodeURIComponent(String(a))), t = new URL(n, m);
4932
+ R("getAvailableResourceTypesInformationForProject", "projectId", a);
4933
+ const n = "/api/v2/projects/{projectId}/resource-types".replace("{projectId}", encodeURIComponent(String(a))), t = new URL(n, P);
4890
4934
  let r;
4891
4935
  e && (r = e.baseOptions);
4892
4936
  const s = { method: "GET", ...r, ...o }, l = {}, c = {};
4893
- await P(l, "Authorization", e), I(t, c);
4937
+ await m(l, "Authorization", e), I(t, c);
4894
4938
  let p = r && r.headers ? r.headers : {};
4895
4939
  return s.headers = { ...l, ...p, ...o.headers }, {
4896
- url: y(t),
4940
+ url: b(t),
4897
4941
  options: s
4898
4942
  };
4899
4943
  }
@@ -4911,7 +4955,7 @@ const I = function(e, ...a) {
4911
4955
  async apiV2ProjectsProjectIdResourceTypesOptions(o, n) {
4912
4956
  var l, c;
4913
4957
  const t = await a.apiV2ProjectsProjectIdResourceTypesOptions(o, n), r = (e == null ? void 0 : e.serverIndex) ?? 0, s = (c = (l = A["ProjectResourceTypeApi.apiV2ProjectsProjectIdResourceTypesOptions"]) == null ? void 0 : l[r]) == null ? void 0 : c.url;
4914
- return (p, i) => b(t, O, u, e)(p, s || i);
4958
+ return (p, i) => y(t, O, u, e)(p, s || i);
4915
4959
  },
4916
4960
  /**
4917
4961
  *
@@ -4923,7 +4967,7 @@ const I = function(e, ...a) {
4923
4967
  async getAvailableResourceTypesInformationForProject(o, n) {
4924
4968
  var l, c;
4925
4969
  const t = await a.getAvailableResourceTypesInformationForProject(o, n), r = (e == null ? void 0 : e.serverIndex) ?? 0, s = (c = (l = A["ProjectResourceTypeApi.getAvailableResourceTypesInformationForProject"]) == null ? void 0 : l[r]) == null ? void 0 : c.url;
4926
- return (p, i) => b(t, O, u, e)(p, s || i);
4970
+ return (p, i) => y(t, O, u, e)(p, s || i);
4927
4971
  }
4928
4972
  };
4929
4973
  }, Ta = function(e, a, o) {
@@ -4959,14 +5003,14 @@ const I = function(e, ...a) {
4959
5003
  * @throws {RequiredError}
4960
5004
  */
4961
5005
  apiV2ResourcesOptions: async (a = {}) => {
4962
- const o = "/api/v2/resources", n = new URL(o, m);
5006
+ const o = "/api/v2/resources", n = new URL(o, P);
4963
5007
  let t;
4964
5008
  e && (t = e.baseOptions);
4965
5009
  const r = { method: "OPTIONS", ...t, ...a }, s = {}, l = {};
4966
- await P(s, "Authorization", e), I(n, l);
5010
+ await m(s, "Authorization", e), I(n, l);
4967
5011
  let c = t && t.headers ? t.headers : {};
4968
5012
  return r.headers = { ...s, ...c, ...a.headers }, {
4969
- url: y(n),
5013
+ url: b(n),
4970
5014
  options: r
4971
5015
  };
4972
5016
  },
@@ -4978,15 +5022,15 @@ const I = function(e, ...a) {
4978
5022
  * @throws {RequiredError}
4979
5023
  */
4980
5024
  getResource: async (a, o = {}) => {
4981
- j("getResource", "resourceId", a);
4982
- const n = "/api/v2/resources/{resourceId}".replace("{resourceId}", encodeURIComponent(String(a))), t = new URL(n, m);
5025
+ R("getResource", "resourceId", a);
5026
+ const n = "/api/v2/resources/{resourceId}".replace("{resourceId}", encodeURIComponent(String(a))), t = new URL(n, P);
4983
5027
  let r;
4984
5028
  e && (r = e.baseOptions);
4985
5029
  const s = { method: "GET", ...r, ...o }, l = {}, c = {};
4986
- await P(l, "Authorization", e), I(t, c);
5030
+ await m(l, "Authorization", e), I(t, c);
4987
5031
  let p = r && r.headers ? r.headers : {};
4988
5032
  return s.headers = { ...l, ...p, ...o.headers }, {
4989
- url: y(t),
5033
+ url: b(t),
4990
5034
  options: s
4991
5035
  };
4992
5036
  }
@@ -5003,7 +5047,7 @@ const I = function(e, ...a) {
5003
5047
  async apiV2ResourcesOptions(o) {
5004
5048
  var s, l;
5005
5049
  const n = await a.apiV2ResourcesOptions(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, r = (l = (s = A["ResourceApi.apiV2ResourcesOptions"]) == null ? void 0 : s[t]) == null ? void 0 : l.url;
5006
- return (c, p) => b(n, O, u, e)(c, r || p);
5050
+ return (c, p) => y(n, O, u, e)(c, r || p);
5007
5051
  },
5008
5052
  /**
5009
5053
  *
@@ -5015,7 +5059,7 @@ const I = function(e, ...a) {
5015
5059
  async getResource(o, n) {
5016
5060
  var l, c;
5017
5061
  const t = await a.getResource(o, n), r = (e == null ? void 0 : e.serverIndex) ?? 0, s = (c = (l = A["ResourceApi.getResource"]) == null ? void 0 : l[r]) == null ? void 0 : c.url;
5018
- return (p, i) => b(t, O, u, e)(p, s || i);
5062
+ return (p, i) => y(t, O, u, e)(p, s || i);
5019
5063
  }
5020
5064
  };
5021
5065
  }, Ba = function(e, a, o) {
@@ -5050,14 +5094,14 @@ const I = function(e, ...a) {
5050
5094
  * @throws {RequiredError}
5051
5095
  */
5052
5096
  apiV2ResourceTypesOptions: async (a = {}) => {
5053
- const o = "/api/v2/resource-types", n = new URL(o, m);
5097
+ const o = "/api/v2/resource-types", n = new URL(o, P);
5054
5098
  let t;
5055
5099
  e && (t = e.baseOptions);
5056
5100
  const r = { method: "OPTIONS", ...t, ...a }, s = {}, l = {};
5057
- await P(s, "Authorization", e), I(n, l);
5101
+ await m(s, "Authorization", e), I(n, l);
5058
5102
  let c = t && t.headers ? t.headers : {};
5059
5103
  return r.headers = { ...s, ...c, ...a.headers }, {
5060
- url: y(n),
5104
+ url: b(n),
5061
5105
  options: r
5062
5106
  };
5063
5107
  },
@@ -5071,15 +5115,15 @@ const I = function(e, ...a) {
5071
5115
  * @throws {RequiredError}
5072
5116
  */
5073
5117
  getAllGitlabBranchesForProject: async (a, o, n, t = {}) => {
5074
- j("getAllGitlabBranchesForProject", "gitlabProjectId", a), j("getAllGitlabBranchesForProject", "domain", o), j("getAllGitlabBranchesForProject", "accessToken", n);
5075
- const r = "/api/v2/resource-types/gitlab/projects/{gitlabProjectId}/branches".replace("{gitlabProjectId}", encodeURIComponent(String(a))), s = new URL(r, m);
5118
+ R("getAllGitlabBranchesForProject", "gitlabProjectId", a), R("getAllGitlabBranchesForProject", "domain", o), R("getAllGitlabBranchesForProject", "accessToken", n);
5119
+ const r = "/api/v2/resource-types/gitlab/projects/{gitlabProjectId}/branches".replace("{gitlabProjectId}", encodeURIComponent(String(a))), s = new URL(r, P);
5076
5120
  let l;
5077
5121
  e && (l = e.baseOptions);
5078
5122
  const c = { method: "GET", ...l, ...t }, p = {}, i = {};
5079
- await P(p, "Authorization", e), o !== void 0 && (i.Domain = o), n !== void 0 && (i.AccessToken = n), I(s, i);
5123
+ await m(p, "Authorization", e), o !== void 0 && (i.Domain = o), n !== void 0 && (i.AccessToken = n), I(s, i);
5080
5124
  let d = l && l.headers ? l.headers : {};
5081
5125
  return c.headers = { ...p, ...d, ...t.headers }, {
5082
- url: y(s),
5126
+ url: b(s),
5083
5127
  options: c
5084
5128
  };
5085
5129
  },
@@ -5092,15 +5136,15 @@ const I = function(e, ...a) {
5092
5136
  * @throws {RequiredError}
5093
5137
  */
5094
5138
  getAllGitlabProjects: async (a, o, n = {}) => {
5095
- j("getAllGitlabProjects", "domain", a), j("getAllGitlabProjects", "accessToken", o);
5096
- const t = "/api/v2/resource-types/gitlab/projects", r = new URL(t, m);
5139
+ R("getAllGitlabProjects", "domain", a), R("getAllGitlabProjects", "accessToken", o);
5140
+ const t = "/api/v2/resource-types/gitlab/projects", r = new URL(t, P);
5097
5141
  let s;
5098
5142
  e && (s = e.baseOptions);
5099
5143
  const l = { method: "GET", ...s, ...n }, c = {}, p = {};
5100
- await P(c, "Authorization", e), a !== void 0 && (p.Domain = a), o !== void 0 && (p.AccessToken = o), I(r, p);
5144
+ await m(c, "Authorization", e), a !== void 0 && (p.Domain = a), o !== void 0 && (p.AccessToken = o), I(r, p);
5101
5145
  let i = s && s.headers ? s.headers : {};
5102
5146
  return l.headers = { ...c, ...i, ...n.headers }, {
5103
- url: y(r),
5147
+ url: b(r),
5104
5148
  options: l
5105
5149
  };
5106
5150
  },
@@ -5111,14 +5155,14 @@ const I = function(e, ...a) {
5111
5155
  * @throws {RequiredError}
5112
5156
  */
5113
5157
  getAllResourceTypesInformation: async (a = {}) => {
5114
- const o = "/api/v2/resource-types/types", n = new URL(o, m);
5158
+ const o = "/api/v2/resource-types/types", n = new URL(o, P);
5115
5159
  let t;
5116
5160
  e && (t = e.baseOptions);
5117
5161
  const r = { method: "GET", ...t, ...a }, s = {}, l = {};
5118
- await P(s, "Authorization", e), I(n, l);
5162
+ await m(s, "Authorization", e), I(n, l);
5119
5163
  let c = t && t.headers ? t.headers : {};
5120
5164
  return r.headers = { ...s, ...c, ...a.headers }, {
5121
- url: y(n),
5165
+ url: b(n),
5122
5166
  options: r
5123
5167
  };
5124
5168
  },
@@ -5132,15 +5176,15 @@ const I = function(e, ...a) {
5132
5176
  * @throws {RequiredError}
5133
5177
  */
5134
5178
  getGitlabProject: async (a, o, n, t = {}) => {
5135
- j("getGitlabProject", "gitlabProjectId", a), j("getGitlabProject", "domain", o), j("getGitlabProject", "accessToken", n);
5136
- const r = "/api/v2/resource-types/gitlab/projects/{gitlabProjectId}".replace("{gitlabProjectId}", encodeURIComponent(String(a))), s = new URL(r, m);
5179
+ R("getGitlabProject", "gitlabProjectId", a), R("getGitlabProject", "domain", o), R("getGitlabProject", "accessToken", n);
5180
+ const r = "/api/v2/resource-types/gitlab/projects/{gitlabProjectId}".replace("{gitlabProjectId}", encodeURIComponent(String(a))), s = new URL(r, P);
5137
5181
  let l;
5138
5182
  e && (l = e.baseOptions);
5139
5183
  const c = { method: "GET", ...l, ...t }, p = {}, i = {};
5140
- await P(p, "Authorization", e), o !== void 0 && (i.Domain = o), n !== void 0 && (i.AccessToken = n), I(s, i);
5184
+ await m(p, "Authorization", e), o !== void 0 && (i.Domain = o), n !== void 0 && (i.AccessToken = n), I(s, i);
5141
5185
  let d = l && l.headers ? l.headers : {};
5142
5186
  return c.headers = { ...p, ...d, ...t.headers }, {
5143
- url: y(s),
5187
+ url: b(s),
5144
5188
  options: c
5145
5189
  };
5146
5190
  },
@@ -5152,15 +5196,15 @@ const I = function(e, ...a) {
5152
5196
  * @throws {RequiredError}
5153
5197
  */
5154
5198
  getResourceTypeInformation: async (a, o = {}) => {
5155
- j("getResourceTypeInformation", "resourceTypeId", a);
5156
- const n = "/api/v2/resource-types/types/{resourceTypeId}".replace("{resourceTypeId}", encodeURIComponent(String(a))), t = new URL(n, m);
5199
+ R("getResourceTypeInformation", "resourceTypeId", a);
5200
+ const n = "/api/v2/resource-types/types/{resourceTypeId}".replace("{resourceTypeId}", encodeURIComponent(String(a))), t = new URL(n, P);
5157
5201
  let r;
5158
5202
  e && (r = e.baseOptions);
5159
5203
  const s = { method: "GET", ...r, ...o }, l = {}, c = {};
5160
- await P(l, "Authorization", e), I(t, c);
5204
+ await m(l, "Authorization", e), I(t, c);
5161
5205
  let p = r && r.headers ? r.headers : {};
5162
5206
  return s.headers = { ...l, ...p, ...o.headers }, {
5163
- url: y(t),
5207
+ url: b(t),
5164
5208
  options: s
5165
5209
  };
5166
5210
  }
@@ -5177,7 +5221,7 @@ const I = function(e, ...a) {
5177
5221
  async apiV2ResourceTypesOptions(o) {
5178
5222
  var s, l;
5179
5223
  const n = await a.apiV2ResourceTypesOptions(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, r = (l = (s = A["ResourceTypeApi.apiV2ResourceTypesOptions"]) == null ? void 0 : s[t]) == null ? void 0 : l.url;
5180
- return (c, p) => b(n, O, u, e)(c, r || p);
5224
+ return (c, p) => y(n, O, u, e)(c, r || p);
5181
5225
  },
5182
5226
  /**
5183
5227
  *
@@ -5191,7 +5235,7 @@ const I = function(e, ...a) {
5191
5235
  async getAllGitlabBranchesForProject(o, n, t, r) {
5192
5236
  var p, i;
5193
5237
  const s = await a.getAllGitlabBranchesForProject(o, n, t, r), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (i = (p = A["ResourceTypeApi.getAllGitlabBranchesForProject"]) == null ? void 0 : p[l]) == null ? void 0 : i.url;
5194
- return (d, h) => b(s, O, u, e)(d, c || h);
5238
+ return (d, h) => y(s, O, u, e)(d, c || h);
5195
5239
  },
5196
5240
  /**
5197
5241
  *
@@ -5204,7 +5248,7 @@ const I = function(e, ...a) {
5204
5248
  async getAllGitlabProjects(o, n, t) {
5205
5249
  var c, p;
5206
5250
  const r = await a.getAllGitlabProjects(o, n, t), s = (e == null ? void 0 : e.serverIndex) ?? 0, l = (p = (c = A["ResourceTypeApi.getAllGitlabProjects"]) == null ? void 0 : c[s]) == null ? void 0 : p.url;
5207
- return (i, d) => b(r, O, u, e)(i, l || d);
5251
+ return (i, d) => y(r, O, u, e)(i, l || d);
5208
5252
  },
5209
5253
  /**
5210
5254
  *
@@ -5215,7 +5259,7 @@ const I = function(e, ...a) {
5215
5259
  async getAllResourceTypesInformation(o) {
5216
5260
  var s, l;
5217
5261
  const n = await a.getAllResourceTypesInformation(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, r = (l = (s = A["ResourceTypeApi.getAllResourceTypesInformation"]) == null ? void 0 : s[t]) == null ? void 0 : l.url;
5218
- return (c, p) => b(n, O, u, e)(c, r || p);
5262
+ return (c, p) => y(n, O, u, e)(c, r || p);
5219
5263
  },
5220
5264
  /**
5221
5265
  *
@@ -5229,7 +5273,7 @@ const I = function(e, ...a) {
5229
5273
  async getGitlabProject(o, n, t, r) {
5230
5274
  var p, i;
5231
5275
  const s = await a.getGitlabProject(o, n, t, r), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (i = (p = A["ResourceTypeApi.getGitlabProject"]) == null ? void 0 : p[l]) == null ? void 0 : i.url;
5232
- return (d, h) => b(s, O, u, e)(d, c || h);
5276
+ return (d, h) => y(s, O, u, e)(d, c || h);
5233
5277
  },
5234
5278
  /**
5235
5279
  *
@@ -5241,7 +5285,7 @@ const I = function(e, ...a) {
5241
5285
  async getResourceTypeInformation(o, n) {
5242
5286
  var l, c;
5243
5287
  const t = await a.getResourceTypeInformation(o, n), r = (e == null ? void 0 : e.serverIndex) ?? 0, s = (c = (l = A["ResourceTypeApi.getResourceTypeInformation"]) == null ? void 0 : l[r]) == null ? void 0 : c.url;
5244
- return (p, i) => b(t, O, u, e)(p, s || i);
5288
+ return (p, i) => y(t, O, u, e)(p, s || i);
5245
5289
  }
5246
5290
  };
5247
5291
  }, La = function(e, a, o) {
@@ -5315,14 +5359,14 @@ const I = function(e, ...a) {
5315
5359
  * @throws {RequiredError}
5316
5360
  */
5317
5361
  apiV2RolesOptions: async (a = {}) => {
5318
- const o = "/api/v2/roles", n = new URL(o, m);
5362
+ const o = "/api/v2/roles", n = new URL(o, P);
5319
5363
  let t;
5320
5364
  e && (t = e.baseOptions);
5321
5365
  const r = { method: "OPTIONS", ...t, ...a }, s = {}, l = {};
5322
- await P(s, "Authorization", e), I(n, l);
5366
+ await m(s, "Authorization", e), I(n, l);
5323
5367
  let c = t && t.headers ? t.headers : {};
5324
5368
  return r.headers = { ...s, ...c, ...a.headers }, {
5325
- url: y(n),
5369
+ url: b(n),
5326
5370
  options: r
5327
5371
  };
5328
5372
  },
@@ -5334,15 +5378,15 @@ const I = function(e, ...a) {
5334
5378
  * @throws {RequiredError}
5335
5379
  */
5336
5380
  getRole: async (a, o = {}) => {
5337
- j("getRole", "roleId", a);
5338
- const n = "/api/v2/roles/{roleId}".replace("{roleId}", encodeURIComponent(String(a))), t = new URL(n, m);
5381
+ R("getRole", "roleId", a);
5382
+ const n = "/api/v2/roles/{roleId}".replace("{roleId}", encodeURIComponent(String(a))), t = new URL(n, P);
5339
5383
  let r;
5340
5384
  e && (r = e.baseOptions);
5341
5385
  const s = { method: "GET", ...r, ...o }, l = {}, c = {};
5342
- await P(l, "Authorization", e), I(t, c);
5386
+ await m(l, "Authorization", e), I(t, c);
5343
5387
  let p = r && r.headers ? r.headers : {};
5344
5388
  return s.headers = { ...l, ...p, ...o.headers }, {
5345
- url: y(t),
5389
+ url: b(t),
5346
5390
  options: s
5347
5391
  };
5348
5392
  },
@@ -5356,14 +5400,14 @@ const I = function(e, ...a) {
5356
5400
  * @throws {RequiredError}
5357
5401
  */
5358
5402
  getRoles: async (a, o, n, t = {}) => {
5359
- const r = "/api/v2/roles", s = new URL(r, m);
5403
+ const r = "/api/v2/roles", s = new URL(r, P);
5360
5404
  let l;
5361
5405
  e && (l = e.baseOptions);
5362
5406
  const c = { method: "GET", ...l, ...t }, p = {}, i = {};
5363
- await P(p, "Authorization", e), a !== void 0 && (i.PageNumber = a), o !== void 0 && (i.PageSize = o), n !== void 0 && (i.OrderBy = n), I(s, i);
5407
+ await m(p, "Authorization", e), a !== void 0 && (i.PageNumber = a), o !== void 0 && (i.PageSize = o), n !== void 0 && (i.OrderBy = n), I(s, i);
5364
5408
  let d = l && l.headers ? l.headers : {};
5365
5409
  return c.headers = { ...p, ...d, ...t.headers }, {
5366
- url: y(s),
5410
+ url: b(s),
5367
5411
  options: c
5368
5412
  };
5369
5413
  }
@@ -5380,7 +5424,7 @@ const I = function(e, ...a) {
5380
5424
  async apiV2RolesOptions(o) {
5381
5425
  var s, l;
5382
5426
  const n = await a.apiV2RolesOptions(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, r = (l = (s = A["RoleApi.apiV2RolesOptions"]) == null ? void 0 : s[t]) == null ? void 0 : l.url;
5383
- return (c, p) => b(n, O, u, e)(c, r || p);
5427
+ return (c, p) => y(n, O, u, e)(c, r || p);
5384
5428
  },
5385
5429
  /**
5386
5430
  *
@@ -5392,7 +5436,7 @@ const I = function(e, ...a) {
5392
5436
  async getRole(o, n) {
5393
5437
  var l, c;
5394
5438
  const t = await a.getRole(o, n), r = (e == null ? void 0 : e.serverIndex) ?? 0, s = (c = (l = A["RoleApi.getRole"]) == null ? void 0 : l[r]) == null ? void 0 : c.url;
5395
- return (p, i) => b(t, O, u, e)(p, s || i);
5439
+ return (p, i) => y(t, O, u, e)(p, s || i);
5396
5440
  },
5397
5441
  /**
5398
5442
  *
@@ -5406,7 +5450,7 @@ const I = function(e, ...a) {
5406
5450
  async getRoles(o, n, t, r) {
5407
5451
  var p, i;
5408
5452
  const s = await a.getRoles(o, n, t, r), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (i = (p = A["RoleApi.getRoles"]) == null ? void 0 : p[l]) == null ? void 0 : i.url;
5409
- return (d, h) => b(s, O, u, e)(d, c || h);
5453
+ return (d, h) => y(s, O, u, e)(d, c || h);
5410
5454
  }
5411
5455
  };
5412
5456
  }, Ma = function(e, a, o) {
@@ -5451,14 +5495,14 @@ const I = function(e, ...a) {
5451
5495
  * @throws {RequiredError}
5452
5496
  */
5453
5497
  apiV2SearchOptions: async (a = {}) => {
5454
- const o = "/api/v2/search", n = new URL(o, m);
5498
+ const o = "/api/v2/search", n = new URL(o, P);
5455
5499
  let t;
5456
5500
  e && (t = e.baseOptions);
5457
5501
  const r = { method: "OPTIONS", ...t, ...a }, s = {}, l = {};
5458
- await P(s, "Authorization", e), I(n, l);
5502
+ await m(s, "Authorization", e), I(n, l);
5459
5503
  let c = t && t.headers ? t.headers : {};
5460
5504
  return r.headers = { ...s, ...c, ...a.headers }, {
5461
- url: y(n),
5505
+ url: b(n),
5462
5506
  options: r
5463
5507
  };
5464
5508
  },
@@ -5476,14 +5520,14 @@ const I = function(e, ...a) {
5476
5520
  * @throws {RequiredError}
5477
5521
  */
5478
5522
  getSearchResults: async (a, o, n, t, r, s, l, c = {}) => {
5479
- const p = "/api/v2/search", i = new URL(p, m);
5523
+ const p = "/api/v2/search", i = new URL(p, P);
5480
5524
  let d;
5481
5525
  e && (d = e.baseOptions);
5482
5526
  const h = { method: "GET", ...d, ...c }, V = {}, v = {};
5483
- await P(V, "Authorization", e), a !== void 0 && (v.Query = a), o !== void 0 && (v.UseAdvancedSyntax = o), n && (v.Languages = n), t !== void 0 && (v.Category = t), r !== void 0 && (v.PageNumber = r), s !== void 0 && (v.PageSize = s), l !== void 0 && (v.OrderBy = l), I(i, v);
5527
+ await m(V, "Authorization", e), a !== void 0 && (v.Query = a), o !== void 0 && (v.UseAdvancedSyntax = o), n && (v.Languages = n), t !== void 0 && (v.Category = t), r !== void 0 && (v.PageNumber = r), s !== void 0 && (v.PageSize = s), l !== void 0 && (v.OrderBy = l), I(i, v);
5484
5528
  let S = d && d.headers ? d.headers : {};
5485
5529
  return h.headers = { ...V, ...S, ...c.headers }, {
5486
- url: y(i),
5530
+ url: b(i),
5487
5531
  options: h
5488
5532
  };
5489
5533
  }
@@ -5500,7 +5544,7 @@ const I = function(e, ...a) {
5500
5544
  async apiV2SearchOptions(o) {
5501
5545
  var s, l;
5502
5546
  const n = await a.apiV2SearchOptions(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, r = (l = (s = A["SearchApi.apiV2SearchOptions"]) == null ? void 0 : s[t]) == null ? void 0 : l.url;
5503
- return (c, p) => b(n, O, u, e)(c, r || p);
5547
+ return (c, p) => y(n, O, u, e)(c, r || p);
5504
5548
  },
5505
5549
  /**
5506
5550
  *
@@ -5518,7 +5562,7 @@ const I = function(e, ...a) {
5518
5562
  async getSearchResults(o, n, t, r, s, l, c, p) {
5519
5563
  var V, v;
5520
5564
  const i = await a.getSearchResults(o, n, t, r, s, l, c, p), d = (e == null ? void 0 : e.serverIndex) ?? 0, h = (v = (V = A["SearchApi.getSearchResults"]) == null ? void 0 : V[d]) == null ? void 0 : v.url;
5521
- return (S, w) => b(i, O, u, e)(S, h || w);
5565
+ return (S, w) => y(i, O, u, e)(S, h || w);
5522
5566
  }
5523
5567
  };
5524
5568
  }, ka = function(e, a, o) {
@@ -5554,14 +5598,14 @@ const I = function(e, ...a) {
5554
5598
  * @throws {RequiredError}
5555
5599
  */
5556
5600
  acceptCurrentTos: async (a, o = {}) => {
5557
- const n = "/api/v2/self/tos", t = new URL(n, m);
5601
+ const n = "/api/v2/self/tos", t = new URL(n, P);
5558
5602
  let r;
5559
5603
  e && (r = e.baseOptions);
5560
5604
  const s = { method: "POST", ...r, ...o }, l = {}, c = {};
5561
- await P(l, "Authorization", e), l["Content-Type"] = "application/json", I(t, c);
5605
+ await m(l, "Authorization", e), l["Content-Type"] = "application/json", I(t, c);
5562
5606
  let p = r && r.headers ? r.headers : {};
5563
5607
  return s.headers = { ...l, ...p, ...o.headers }, s.data = L(a, s, e), {
5564
- url: y(t),
5608
+ url: b(t),
5565
5609
  options: s
5566
5610
  };
5567
5611
  },
@@ -5572,14 +5616,14 @@ const I = function(e, ...a) {
5572
5616
  * @throws {RequiredError}
5573
5617
  */
5574
5618
  apiV2SelfOptions: async (a = {}) => {
5575
- const o = "/api/v2/self", n = new URL(o, m);
5619
+ const o = "/api/v2/self", n = new URL(o, P);
5576
5620
  let t;
5577
5621
  e && (t = e.baseOptions);
5578
5622
  const r = { method: "OPTIONS", ...t, ...a }, s = {}, l = {};
5579
- await P(s, "Authorization", e), I(n, l);
5623
+ await m(s, "Authorization", e), I(n, l);
5580
5624
  let c = t && t.headers ? t.headers : {};
5581
5625
  return r.headers = { ...s, ...c, ...a.headers }, {
5582
- url: y(n),
5626
+ url: b(n),
5583
5627
  options: r
5584
5628
  };
5585
5629
  },
@@ -5591,15 +5635,15 @@ const I = function(e, ...a) {
5591
5635
  * @throws {RequiredError}
5592
5636
  */
5593
5637
  confirmUserEmail: async (a, o = {}) => {
5594
- j("confirmUserEmail", "confirmationToken", a);
5595
- const n = "/api/v2/self/emails", t = new URL(n, m);
5638
+ R("confirmUserEmail", "confirmationToken", a);
5639
+ const n = "/api/v2/self/emails", t = new URL(n, P);
5596
5640
  let r;
5597
5641
  e && (r = e.baseOptions);
5598
5642
  const s = { method: "POST", ...r, ...o }, l = {}, c = {};
5599
- await P(l, "Authorization", e), a !== void 0 && (c.ConfirmationToken = a), I(t, c);
5643
+ await m(l, "Authorization", e), a !== void 0 && (c.ConfirmationToken = a), I(t, c);
5600
5644
  let p = r && r.headers ? r.headers : {};
5601
5645
  return s.headers = { ...l, ...p, ...o.headers }, {
5602
- url: y(t),
5646
+ url: b(t),
5603
5647
  options: s
5604
5648
  };
5605
5649
  },
@@ -5610,14 +5654,14 @@ const I = function(e, ...a) {
5610
5654
  * @throws {RequiredError}
5611
5655
  */
5612
5656
  getCurrentUser: async (a = {}) => {
5613
- const o = "/api/v2/self", n = new URL(o, m);
5657
+ const o = "/api/v2/self", n = new URL(o, P);
5614
5658
  let t;
5615
5659
  e && (t = e.baseOptions);
5616
5660
  const r = { method: "GET", ...t, ...a }, s = {}, l = {};
5617
- await P(s, "Authorization", e), I(n, l);
5661
+ await m(s, "Authorization", e), I(n, l);
5618
5662
  let c = t && t.headers ? t.headers : {};
5619
5663
  return r.headers = { ...s, ...c, ...a.headers }, {
5620
- url: y(n),
5664
+ url: b(n),
5621
5665
  options: r
5622
5666
  };
5623
5667
  },
@@ -5629,15 +5673,15 @@ const I = function(e, ...a) {
5629
5673
  * @throws {RequiredError}
5630
5674
  */
5631
5675
  initiateUserMerge: async (a, o = {}) => {
5632
- j("initiateUserMerge", "identityProvider", a);
5633
- const n = "/api/v2/self/identities", t = new URL(n, m);
5676
+ R("initiateUserMerge", "identityProvider", a);
5677
+ const n = "/api/v2/self/identities", t = new URL(n, P);
5634
5678
  let r;
5635
5679
  e && (r = e.baseOptions);
5636
5680
  const s = { method: "POST", ...r, ...o }, l = {}, c = {};
5637
- await P(l, "Authorization", e), a !== void 0 && (c.IdentityProvider = a), I(t, c);
5681
+ await m(l, "Authorization", e), a !== void 0 && (c.IdentityProvider = a), I(t, c);
5638
5682
  let p = r && r.headers ? r.headers : {};
5639
5683
  return s.headers = { ...l, ...p, ...o.headers }, {
5640
- url: y(t),
5684
+ url: b(t),
5641
5685
  options: s
5642
5686
  };
5643
5687
  },
@@ -5649,14 +5693,14 @@ const I = function(e, ...a) {
5649
5693
  * @throws {RequiredError}
5650
5694
  */
5651
5695
  resolveProjectInvitation: async (a, o = {}) => {
5652
- const n = "/api/v2/self/project-invitations", t = new URL(n, m);
5696
+ const n = "/api/v2/self/project-invitations", t = new URL(n, P);
5653
5697
  let r;
5654
5698
  e && (r = e.baseOptions);
5655
5699
  const s = { method: "POST", ...r, ...o }, l = {}, c = {};
5656
- await P(l, "Authorization", e), l["Content-Type"] = "application/json", I(t, c);
5700
+ await m(l, "Authorization", e), l["Content-Type"] = "application/json", I(t, c);
5657
5701
  let p = r && r.headers ? r.headers : {};
5658
5702
  return s.headers = { ...l, ...p, ...o.headers }, s.data = L(a, s, e), {
5659
- url: y(t),
5703
+ url: b(t),
5660
5704
  options: s
5661
5705
  };
5662
5706
  },
@@ -5668,14 +5712,14 @@ const I = function(e, ...a) {
5668
5712
  * @throws {RequiredError}
5669
5713
  */
5670
5714
  updateCurrentUser: async (a, o = {}) => {
5671
- const n = "/api/v2/self", t = new URL(n, m);
5715
+ const n = "/api/v2/self", t = new URL(n, P);
5672
5716
  let r;
5673
5717
  e && (r = e.baseOptions);
5674
5718
  const s = { method: "PUT", ...r, ...o }, l = {}, c = {};
5675
- await P(l, "Authorization", e), l["Content-Type"] = "application/json", I(t, c);
5719
+ await m(l, "Authorization", e), l["Content-Type"] = "application/json", I(t, c);
5676
5720
  let p = r && r.headers ? r.headers : {};
5677
5721
  return s.headers = { ...l, ...p, ...o.headers }, s.data = L(a, s, e), {
5678
- url: y(t),
5722
+ url: b(t),
5679
5723
  options: s
5680
5724
  };
5681
5725
  }
@@ -5693,7 +5737,7 @@ const I = function(e, ...a) {
5693
5737
  async acceptCurrentTos(o, n) {
5694
5738
  var l, c;
5695
5739
  const t = await a.acceptCurrentTos(o, n), r = (e == null ? void 0 : e.serverIndex) ?? 0, s = (c = (l = A["SelfApi.acceptCurrentTos"]) == null ? void 0 : l[r]) == null ? void 0 : c.url;
5696
- return (p, i) => b(t, O, u, e)(p, s || i);
5740
+ return (p, i) => y(t, O, u, e)(p, s || i);
5697
5741
  },
5698
5742
  /**
5699
5743
  *
@@ -5704,7 +5748,7 @@ const I = function(e, ...a) {
5704
5748
  async apiV2SelfOptions(o) {
5705
5749
  var s, l;
5706
5750
  const n = await a.apiV2SelfOptions(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, r = (l = (s = A["SelfApi.apiV2SelfOptions"]) == null ? void 0 : s[t]) == null ? void 0 : l.url;
5707
- return (c, p) => b(n, O, u, e)(c, r || p);
5751
+ return (c, p) => y(n, O, u, e)(c, r || p);
5708
5752
  },
5709
5753
  /**
5710
5754
  *
@@ -5716,7 +5760,7 @@ const I = function(e, ...a) {
5716
5760
  async confirmUserEmail(o, n) {
5717
5761
  var l, c;
5718
5762
  const t = await a.confirmUserEmail(o, n), r = (e == null ? void 0 : e.serverIndex) ?? 0, s = (c = (l = A["SelfApi.confirmUserEmail"]) == null ? void 0 : l[r]) == null ? void 0 : c.url;
5719
- return (p, i) => b(t, O, u, e)(p, s || i);
5763
+ return (p, i) => y(t, O, u, e)(p, s || i);
5720
5764
  },
5721
5765
  /**
5722
5766
  *
@@ -5727,7 +5771,7 @@ const I = function(e, ...a) {
5727
5771
  async getCurrentUser(o) {
5728
5772
  var s, l;
5729
5773
  const n = await a.getCurrentUser(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, r = (l = (s = A["SelfApi.getCurrentUser"]) == null ? void 0 : s[t]) == null ? void 0 : l.url;
5730
- return (c, p) => b(n, O, u, e)(c, r || p);
5774
+ return (c, p) => y(n, O, u, e)(c, r || p);
5731
5775
  },
5732
5776
  /**
5733
5777
  *
@@ -5739,7 +5783,7 @@ const I = function(e, ...a) {
5739
5783
  async initiateUserMerge(o, n) {
5740
5784
  var l, c;
5741
5785
  const t = await a.initiateUserMerge(o, n), r = (e == null ? void 0 : e.serverIndex) ?? 0, s = (c = (l = A["SelfApi.initiateUserMerge"]) == null ? void 0 : l[r]) == null ? void 0 : c.url;
5742
- return (p, i) => b(t, O, u, e)(p, s || i);
5786
+ return (p, i) => y(t, O, u, e)(p, s || i);
5743
5787
  },
5744
5788
  /**
5745
5789
  *
@@ -5751,7 +5795,7 @@ const I = function(e, ...a) {
5751
5795
  async resolveProjectInvitation(o, n) {
5752
5796
  var l, c;
5753
5797
  const t = await a.resolveProjectInvitation(o, n), r = (e == null ? void 0 : e.serverIndex) ?? 0, s = (c = (l = A["SelfApi.resolveProjectInvitation"]) == null ? void 0 : l[r]) == null ? void 0 : c.url;
5754
- return (p, i) => b(t, O, u, e)(p, s || i);
5798
+ return (p, i) => y(t, O, u, e)(p, s || i);
5755
5799
  },
5756
5800
  /**
5757
5801
  *
@@ -5763,7 +5807,7 @@ const I = function(e, ...a) {
5763
5807
  async updateCurrentUser(o, n) {
5764
5808
  var l, c;
5765
5809
  const t = await a.updateCurrentUser(o, n), r = (e == null ? void 0 : e.serverIndex) ?? 0, s = (c = (l = A["SelfApi.updateCurrentUser"]) == null ? void 0 : l[r]) == null ? void 0 : c.url;
5766
- return (p, i) => b(t, O, u, e)(p, s || i);
5810
+ return (p, i) => y(t, O, u, e)(p, s || i);
5767
5811
  }
5768
5812
  };
5769
5813
  }, $a = function(e, a, o) {
@@ -5847,14 +5891,14 @@ const I = function(e, ...a) {
5847
5891
  * @throws {RequiredError}
5848
5892
  */
5849
5893
  apiV2SelfApiTokensOptions: async (a = {}) => {
5850
- const o = "/api/v2/self/api-tokens", n = new URL(o, m);
5894
+ const o = "/api/v2/self/api-tokens", n = new URL(o, P);
5851
5895
  let t;
5852
5896
  e && (t = e.baseOptions);
5853
5897
  const r = { method: "OPTIONS", ...t, ...a }, s = {}, l = {};
5854
- await P(s, "Authorization", e), I(n, l);
5898
+ await m(s, "Authorization", e), I(n, l);
5855
5899
  let c = t && t.headers ? t.headers : {};
5856
5900
  return r.headers = { ...s, ...c, ...a.headers }, {
5857
- url: y(n),
5901
+ url: b(n),
5858
5902
  options: r
5859
5903
  };
5860
5904
  },
@@ -5866,14 +5910,14 @@ const I = function(e, ...a) {
5866
5910
  * @throws {RequiredError}
5867
5911
  */
5868
5912
  createApiToken: async (a, o = {}) => {
5869
- const n = "/api/v2/self/api-tokens", t = new URL(n, m);
5913
+ const n = "/api/v2/self/api-tokens", t = new URL(n, P);
5870
5914
  let r;
5871
5915
  e && (r = e.baseOptions);
5872
5916
  const s = { method: "POST", ...r, ...o }, l = {}, c = {};
5873
- await P(l, "Authorization", e), l["Content-Type"] = "application/json", I(t, c);
5917
+ await m(l, "Authorization", e), l["Content-Type"] = "application/json", I(t, c);
5874
5918
  let p = r && r.headers ? r.headers : {};
5875
5919
  return s.headers = { ...l, ...p, ...o.headers }, s.data = L(a, s, e), {
5876
- url: y(t),
5920
+ url: b(t),
5877
5921
  options: s
5878
5922
  };
5879
5923
  },
@@ -5887,14 +5931,14 @@ const I = function(e, ...a) {
5887
5931
  * @throws {RequiredError}
5888
5932
  */
5889
5933
  getAllApiTokens: async (a, o, n, t = {}) => {
5890
- const r = "/api/v2/self/api-tokens", s = new URL(r, m);
5934
+ const r = "/api/v2/self/api-tokens", s = new URL(r, P);
5891
5935
  let l;
5892
5936
  e && (l = e.baseOptions);
5893
5937
  const c = { method: "GET", ...l, ...t }, p = {}, i = {};
5894
- await P(p, "Authorization", e), a !== void 0 && (i.PageNumber = a), o !== void 0 && (i.PageSize = o), n !== void 0 && (i.OrderBy = n), I(s, i);
5938
+ await m(p, "Authorization", e), a !== void 0 && (i.PageNumber = a), o !== void 0 && (i.PageSize = o), n !== void 0 && (i.OrderBy = n), I(s, i);
5895
5939
  let d = l && l.headers ? l.headers : {};
5896
5940
  return c.headers = { ...p, ...d, ...t.headers }, {
5897
- url: y(s),
5941
+ url: b(s),
5898
5942
  options: c
5899
5943
  };
5900
5944
  },
@@ -5906,15 +5950,15 @@ const I = function(e, ...a) {
5906
5950
  * @throws {RequiredError}
5907
5951
  */
5908
5952
  getApiToken: async (a, o = {}) => {
5909
- j("getApiToken", "apiTokenId", a);
5910
- const n = "/api/v2/self/api-tokens/{apiTokenId}".replace("{apiTokenId}", encodeURIComponent(String(a))), t = new URL(n, m);
5953
+ R("getApiToken", "apiTokenId", a);
5954
+ const n = "/api/v2/self/api-tokens/{apiTokenId}".replace("{apiTokenId}", encodeURIComponent(String(a))), t = new URL(n, P);
5911
5955
  let r;
5912
5956
  e && (r = e.baseOptions);
5913
5957
  const s = { method: "GET", ...r, ...o }, l = {}, c = {};
5914
- await P(l, "Authorization", e), I(t, c);
5958
+ await m(l, "Authorization", e), I(t, c);
5915
5959
  let p = r && r.headers ? r.headers : {};
5916
5960
  return s.headers = { ...l, ...p, ...o.headers }, {
5917
- url: y(t),
5961
+ url: b(t),
5918
5962
  options: s
5919
5963
  };
5920
5964
  },
@@ -5926,15 +5970,15 @@ const I = function(e, ...a) {
5926
5970
  * @throws {RequiredError}
5927
5971
  */
5928
5972
  revokeToken: async (a, o = {}) => {
5929
- j("revokeToken", "apiTokenId", a);
5930
- const n = "/api/v2/self/api-tokens/{apiTokenId}".replace("{apiTokenId}", encodeURIComponent(String(a))), t = new URL(n, m);
5973
+ R("revokeToken", "apiTokenId", a);
5974
+ const n = "/api/v2/self/api-tokens/{apiTokenId}".replace("{apiTokenId}", encodeURIComponent(String(a))), t = new URL(n, P);
5931
5975
  let r;
5932
5976
  e && (r = e.baseOptions);
5933
5977
  const s = { method: "DELETE", ...r, ...o }, l = {}, c = {};
5934
- await P(l, "Authorization", e), I(t, c);
5978
+ await m(l, "Authorization", e), I(t, c);
5935
5979
  let p = r && r.headers ? r.headers : {};
5936
5980
  return s.headers = { ...l, ...p, ...o.headers }, {
5937
- url: y(t),
5981
+ url: b(t),
5938
5982
  options: s
5939
5983
  };
5940
5984
  }
@@ -5951,7 +5995,7 @@ const I = function(e, ...a) {
5951
5995
  async apiV2SelfApiTokensOptions(o) {
5952
5996
  var s, l;
5953
5997
  const n = await a.apiV2SelfApiTokensOptions(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, r = (l = (s = A["SelfApiTokenApi.apiV2SelfApiTokensOptions"]) == null ? void 0 : s[t]) == null ? void 0 : l.url;
5954
- return (c, p) => b(n, O, u, e)(c, r || p);
5998
+ return (c, p) => y(n, O, u, e)(c, r || p);
5955
5999
  },
5956
6000
  /**
5957
6001
  *
@@ -5963,7 +6007,7 @@ const I = function(e, ...a) {
5963
6007
  async createApiToken(o, n) {
5964
6008
  var l, c;
5965
6009
  const t = await a.createApiToken(o, n), r = (e == null ? void 0 : e.serverIndex) ?? 0, s = (c = (l = A["SelfApiTokenApi.createApiToken"]) == null ? void 0 : l[r]) == null ? void 0 : c.url;
5966
- return (p, i) => b(t, O, u, e)(p, s || i);
6010
+ return (p, i) => y(t, O, u, e)(p, s || i);
5967
6011
  },
5968
6012
  /**
5969
6013
  *
@@ -5977,7 +6021,7 @@ const I = function(e, ...a) {
5977
6021
  async getAllApiTokens(o, n, t, r) {
5978
6022
  var p, i;
5979
6023
  const s = await a.getAllApiTokens(o, n, t, r), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (i = (p = A["SelfApiTokenApi.getAllApiTokens"]) == null ? void 0 : p[l]) == null ? void 0 : i.url;
5980
- return (d, h) => b(s, O, u, e)(d, c || h);
6024
+ return (d, h) => y(s, O, u, e)(d, c || h);
5981
6025
  },
5982
6026
  /**
5983
6027
  *
@@ -5989,7 +6033,7 @@ const I = function(e, ...a) {
5989
6033
  async getApiToken(o, n) {
5990
6034
  var l, c;
5991
6035
  const t = await a.getApiToken(o, n), r = (e == null ? void 0 : e.serverIndex) ?? 0, s = (c = (l = A["SelfApiTokenApi.getApiToken"]) == null ? void 0 : l[r]) == null ? void 0 : c.url;
5992
- return (p, i) => b(t, O, u, e)(p, s || i);
6036
+ return (p, i) => y(t, O, u, e)(p, s || i);
5993
6037
  },
5994
6038
  /**
5995
6039
  *
@@ -6001,7 +6045,7 @@ const I = function(e, ...a) {
6001
6045
  async revokeToken(o, n) {
6002
6046
  var l, c;
6003
6047
  const t = await a.revokeToken(o, n), r = (e == null ? void 0 : e.serverIndex) ?? 0, s = (c = (l = A["SelfApiTokenApi.revokeToken"]) == null ? void 0 : l[r]) == null ? void 0 : c.url;
6004
- return (p, i) => b(t, O, u, e)(p, s || i);
6048
+ return (p, i) => y(t, O, u, e)(p, s || i);
6005
6049
  }
6006
6050
  };
6007
6051
  }, qa = function(e, a, o) {
@@ -6066,14 +6110,14 @@ const I = function(e, ...a) {
6066
6110
  * @throws {RequiredError}
6067
6111
  */
6068
6112
  apiV2SelfSessionLogoutPost: async (a = {}) => {
6069
- const o = "/api/v2/self/session/logout", n = new URL(o, m);
6113
+ const o = "/api/v2/self/session/logout", n = new URL(o, P);
6070
6114
  let t;
6071
6115
  e && (t = e.baseOptions);
6072
6116
  const r = { method: "POST", ...t, ...a }, s = {}, l = {};
6073
- await P(s, "Authorization", e), I(n, l);
6117
+ await m(s, "Authorization", e), I(n, l);
6074
6118
  let c = t && t.headers ? t.headers : {};
6075
6119
  return r.headers = { ...s, ...c, ...a.headers }, {
6076
- url: y(n),
6120
+ url: b(n),
6077
6121
  options: r
6078
6122
  };
6079
6123
  },
@@ -6084,14 +6128,14 @@ const I = function(e, ...a) {
6084
6128
  * @throws {RequiredError}
6085
6129
  */
6086
6130
  apiV2SelfSessionOptions: async (a = {}) => {
6087
- const o = "/api/v2/self/session", n = new URL(o, m);
6131
+ const o = "/api/v2/self/session", n = new URL(o, P);
6088
6132
  let t;
6089
6133
  e && (t = e.baseOptions);
6090
6134
  const r = { method: "OPTIONS", ...t, ...a }, s = {}, l = {};
6091
- await P(s, "Authorization", e), I(n, l);
6135
+ await m(s, "Authorization", e), I(n, l);
6092
6136
  let c = t && t.headers ? t.headers : {};
6093
6137
  return r.headers = { ...s, ...c, ...a.headers }, {
6094
- url: y(n),
6138
+ url: b(n),
6095
6139
  options: r
6096
6140
  };
6097
6141
  },
@@ -6102,14 +6146,14 @@ const I = function(e, ...a) {
6102
6146
  * @throws {RequiredError}
6103
6147
  */
6104
6148
  login: async (a = {}) => {
6105
- const o = "/api/v2/self/session", n = new URL(o, m);
6149
+ const o = "/api/v2/self/session", n = new URL(o, P);
6106
6150
  let t;
6107
6151
  e && (t = e.baseOptions);
6108
6152
  const r = { method: "GET", ...t, ...a }, s = {}, l = {};
6109
- await P(s, "Authorization", e), I(n, l);
6153
+ await m(s, "Authorization", e), I(n, l);
6110
6154
  let c = t && t.headers ? t.headers : {};
6111
6155
  return r.headers = { ...s, ...c, ...a.headers }, {
6112
- url: y(n),
6156
+ url: b(n),
6113
6157
  options: r
6114
6158
  };
6115
6159
  },
@@ -6121,15 +6165,15 @@ const I = function(e, ...a) {
6121
6165
  * @throws {RequiredError}
6122
6166
  */
6123
6167
  loginWithProvider: async (a, o = {}) => {
6124
- j("loginWithProvider", "externalAuthenticatorId", a);
6125
- const n = "/api/v2/self/session/{externalAuthenticatorId}".replace("{externalAuthenticatorId}", encodeURIComponent(String(a))), t = new URL(n, m);
6168
+ R("loginWithProvider", "externalAuthenticatorId", a);
6169
+ const n = "/api/v2/self/session/{externalAuthenticatorId}".replace("{externalAuthenticatorId}", encodeURIComponent(String(a))), t = new URL(n, P);
6126
6170
  let r;
6127
6171
  e && (r = e.baseOptions);
6128
6172
  const s = { method: "GET", ...r, ...o }, l = {}, c = {};
6129
- await P(l, "Authorization", e), I(t, c);
6173
+ await m(l, "Authorization", e), I(t, c);
6130
6174
  let p = r && r.headers ? r.headers : {};
6131
6175
  return s.headers = { ...l, ...p, ...o.headers }, {
6132
- url: y(t),
6176
+ url: b(t),
6133
6177
  options: s
6134
6178
  };
6135
6179
  },
@@ -6141,15 +6185,15 @@ const I = function(e, ...a) {
6141
6185
  * @throws {RequiredError}
6142
6186
  */
6143
6187
  merge: async (a, o = {}) => {
6144
- j("merge", "externalAuthenticatorId", a);
6145
- const n = "/api/v2/self/session/merge/{externalAuthenticatorId}".replace("{externalAuthenticatorId}", encodeURIComponent(String(a))), t = new URL(n, m);
6188
+ R("merge", "externalAuthenticatorId", a);
6189
+ const n = "/api/v2/self/session/merge/{externalAuthenticatorId}".replace("{externalAuthenticatorId}", encodeURIComponent(String(a))), t = new URL(n, P);
6146
6190
  let r;
6147
6191
  e && (r = e.baseOptions);
6148
6192
  const s = { method: "GET", ...r, ...o }, l = {}, c = {};
6149
- await P(l, "Authorization", e), I(t, c);
6193
+ await m(l, "Authorization", e), I(t, c);
6150
6194
  let p = r && r.headers ? r.headers : {};
6151
6195
  return s.headers = { ...l, ...p, ...o.headers }, {
6152
- url: y(t),
6196
+ url: b(t),
6153
6197
  options: s
6154
6198
  };
6155
6199
  }
@@ -6166,7 +6210,7 @@ const I = function(e, ...a) {
6166
6210
  async apiV2SelfSessionLogoutPost(o) {
6167
6211
  var s, l;
6168
6212
  const n = await a.apiV2SelfSessionLogoutPost(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, r = (l = (s = A["SelfSessionApi.apiV2SelfSessionLogoutPost"]) == null ? void 0 : s[t]) == null ? void 0 : l.url;
6169
- return (c, p) => b(n, O, u, e)(c, r || p);
6213
+ return (c, p) => y(n, O, u, e)(c, r || p);
6170
6214
  },
6171
6215
  /**
6172
6216
  *
@@ -6177,7 +6221,7 @@ const I = function(e, ...a) {
6177
6221
  async apiV2SelfSessionOptions(o) {
6178
6222
  var s, l;
6179
6223
  const n = await a.apiV2SelfSessionOptions(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, r = (l = (s = A["SelfSessionApi.apiV2SelfSessionOptions"]) == null ? void 0 : s[t]) == null ? void 0 : l.url;
6180
- return (c, p) => b(n, O, u, e)(c, r || p);
6224
+ return (c, p) => y(n, O, u, e)(c, r || p);
6181
6225
  },
6182
6226
  /**
6183
6227
  *
@@ -6188,7 +6232,7 @@ const I = function(e, ...a) {
6188
6232
  async login(o) {
6189
6233
  var s, l;
6190
6234
  const n = await a.login(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, r = (l = (s = A["SelfSessionApi.login"]) == null ? void 0 : s[t]) == null ? void 0 : l.url;
6191
- return (c, p) => b(n, O, u, e)(c, r || p);
6235
+ return (c, p) => y(n, O, u, e)(c, r || p);
6192
6236
  },
6193
6237
  /**
6194
6238
  *
@@ -6200,7 +6244,7 @@ const I = function(e, ...a) {
6200
6244
  async loginWithProvider(o, n) {
6201
6245
  var l, c;
6202
6246
  const t = await a.loginWithProvider(o, n), r = (e == null ? void 0 : e.serverIndex) ?? 0, s = (c = (l = A["SelfSessionApi.loginWithProvider"]) == null ? void 0 : l[r]) == null ? void 0 : c.url;
6203
- return (p, i) => b(t, O, u, e)(p, s || i);
6247
+ return (p, i) => y(t, O, u, e)(p, s || i);
6204
6248
  },
6205
6249
  /**
6206
6250
  *
@@ -6212,7 +6256,7 @@ const I = function(e, ...a) {
6212
6256
  async merge(o, n) {
6213
6257
  var l, c;
6214
6258
  const t = await a.merge(o, n), r = (e == null ? void 0 : e.serverIndex) ?? 0, s = (c = (l = A["SelfSessionApi.merge"]) == null ? void 0 : l[r]) == null ? void 0 : c.url;
6215
- return (p, i) => b(t, O, u, e)(p, s || i);
6259
+ return (p, i) => y(t, O, u, e)(p, s || i);
6216
6260
  }
6217
6261
  };
6218
6262
  }, Wa = function(e, a, o) {
@@ -6266,7 +6310,7 @@ const I = function(e, ...a) {
6266
6310
  return n.merge(t.externalAuthenticatorId, r).then((s) => s(o, a));
6267
6311
  }
6268
6312
  };
6269
- }, fa = function(e) {
6313
+ }, Xa = function(e) {
6270
6314
  return {
6271
6315
  /**
6272
6316
  *
@@ -6275,14 +6319,14 @@ const I = function(e, ...a) {
6275
6319
  * @throws {RequiredError}
6276
6320
  */
6277
6321
  apiV2TitlesOptions: async (a = {}) => {
6278
- const o = "/api/v2/titles", n = new URL(o, m);
6322
+ const o = "/api/v2/titles", n = new URL(o, P);
6279
6323
  let t;
6280
6324
  e && (t = e.baseOptions);
6281
6325
  const r = { method: "OPTIONS", ...t, ...a }, s = {}, l = {};
6282
- await P(s, "Authorization", e), I(n, l);
6326
+ await m(s, "Authorization", e), I(n, l);
6283
6327
  let c = t && t.headers ? t.headers : {};
6284
6328
  return r.headers = { ...s, ...c, ...a.headers }, {
6285
- url: y(n),
6329
+ url: b(n),
6286
6330
  options: r
6287
6331
  };
6288
6332
  },
@@ -6294,15 +6338,15 @@ const I = function(e, ...a) {
6294
6338
  * @throws {RequiredError}
6295
6339
  */
6296
6340
  getTitle: async (a, o = {}) => {
6297
- j("getTitle", "titleId", a);
6298
- const n = "/api/v2/titles/{titleId}".replace("{titleId}", encodeURIComponent(String(a))), t = new URL(n, m);
6341
+ R("getTitle", "titleId", a);
6342
+ const n = "/api/v2/titles/{titleId}".replace("{titleId}", encodeURIComponent(String(a))), t = new URL(n, P);
6299
6343
  let r;
6300
6344
  e && (r = e.baseOptions);
6301
6345
  const s = { method: "GET", ...r, ...o }, l = {}, c = {};
6302
- await P(l, "Authorization", e), I(t, c);
6346
+ await m(l, "Authorization", e), I(t, c);
6303
6347
  let p = r && r.headers ? r.headers : {};
6304
6348
  return s.headers = { ...l, ...p, ...o.headers }, {
6305
- url: y(t),
6349
+ url: b(t),
6306
6350
  options: s
6307
6351
  };
6308
6352
  },
@@ -6316,20 +6360,20 @@ const I = function(e, ...a) {
6316
6360
  * @throws {RequiredError}
6317
6361
  */
6318
6362
  getTitles: async (a, o, n, t = {}) => {
6319
- const r = "/api/v2/titles", s = new URL(r, m);
6363
+ const r = "/api/v2/titles", s = new URL(r, P);
6320
6364
  let l;
6321
6365
  e && (l = e.baseOptions);
6322
6366
  const c = { method: "GET", ...l, ...t }, p = {}, i = {};
6323
- await P(p, "Authorization", e), a !== void 0 && (i.PageNumber = a), o !== void 0 && (i.PageSize = o), n !== void 0 && (i.OrderBy = n), I(s, i);
6367
+ await m(p, "Authorization", e), a !== void 0 && (i.PageNumber = a), o !== void 0 && (i.PageSize = o), n !== void 0 && (i.OrderBy = n), I(s, i);
6324
6368
  let d = l && l.headers ? l.headers : {};
6325
6369
  return c.headers = { ...p, ...d, ...t.headers }, {
6326
- url: y(s),
6370
+ url: b(s),
6327
6371
  options: c
6328
6372
  };
6329
6373
  }
6330
6374
  };
6331
- }, Xa = function(e) {
6332
- const a = fa(e);
6375
+ }, fa = function(e) {
6376
+ const a = Xa(e);
6333
6377
  return {
6334
6378
  /**
6335
6379
  *
@@ -6340,7 +6384,7 @@ const I = function(e, ...a) {
6340
6384
  async apiV2TitlesOptions(o) {
6341
6385
  var s, l;
6342
6386
  const n = await a.apiV2TitlesOptions(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, r = (l = (s = A["TitleApi.apiV2TitlesOptions"]) == null ? void 0 : s[t]) == null ? void 0 : l.url;
6343
- return (c, p) => b(n, O, u, e)(c, r || p);
6387
+ return (c, p) => y(n, O, u, e)(c, r || p);
6344
6388
  },
6345
6389
  /**
6346
6390
  *
@@ -6352,7 +6396,7 @@ const I = function(e, ...a) {
6352
6396
  async getTitle(o, n) {
6353
6397
  var l, c;
6354
6398
  const t = await a.getTitle(o, n), r = (e == null ? void 0 : e.serverIndex) ?? 0, s = (c = (l = A["TitleApi.getTitle"]) == null ? void 0 : l[r]) == null ? void 0 : c.url;
6355
- return (p, i) => b(t, O, u, e)(p, s || i);
6399
+ return (p, i) => y(t, O, u, e)(p, s || i);
6356
6400
  },
6357
6401
  /**
6358
6402
  *
@@ -6366,11 +6410,11 @@ const I = function(e, ...a) {
6366
6410
  async getTitles(o, n, t, r) {
6367
6411
  var p, i;
6368
6412
  const s = await a.getTitles(o, n, t, r), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (i = (p = A["TitleApi.getTitles"]) == null ? void 0 : p[l]) == null ? void 0 : i.url;
6369
- return (d, h) => b(s, O, u, e)(d, c || h);
6413
+ return (d, h) => y(s, O, u, e)(d, c || h);
6370
6414
  }
6371
6415
  };
6372
6416
  }, Ya = function(e, a, o) {
6373
- const n = Xa(e);
6417
+ const n = fa(e);
6374
6418
  return {
6375
6419
  /**
6376
6420
  *
@@ -6411,14 +6455,14 @@ const I = function(e, ...a) {
6411
6455
  * @throws {RequiredError}
6412
6456
  */
6413
6457
  apiV2TosOptions: async (a = {}) => {
6414
- const o = "/api/v2/tos", n = new URL(o, m);
6458
+ const o = "/api/v2/tos", n = new URL(o, P);
6415
6459
  let t;
6416
6460
  e && (t = e.baseOptions);
6417
6461
  const r = { method: "OPTIONS", ...t, ...a }, s = {}, l = {};
6418
- await P(s, "Authorization", e), I(n, l);
6462
+ await m(s, "Authorization", e), I(n, l);
6419
6463
  let c = t && t.headers ? t.headers : {};
6420
6464
  return r.headers = { ...s, ...c, ...a.headers }, {
6421
- url: y(n),
6465
+ url: b(n),
6422
6466
  options: r
6423
6467
  };
6424
6468
  },
@@ -6429,14 +6473,14 @@ const I = function(e, ...a) {
6429
6473
  * @throws {RequiredError}
6430
6474
  */
6431
6475
  getTos: async (a = {}) => {
6432
- const o = "/api/v2/tos", n = new URL(o, m);
6476
+ const o = "/api/v2/tos", n = new URL(o, P);
6433
6477
  let t;
6434
6478
  e && (t = e.baseOptions);
6435
6479
  const r = { method: "GET", ...t, ...a }, s = {}, l = {};
6436
- await P(s, "Authorization", e), I(n, l);
6480
+ await m(s, "Authorization", e), I(n, l);
6437
6481
  let c = t && t.headers ? t.headers : {};
6438
6482
  return r.headers = { ...s, ...c, ...a.headers }, {
6439
- url: y(n),
6483
+ url: b(n),
6440
6484
  options: r
6441
6485
  };
6442
6486
  }
@@ -6453,7 +6497,7 @@ const I = function(e, ...a) {
6453
6497
  async apiV2TosOptions(o) {
6454
6498
  var s, l;
6455
6499
  const n = await a.apiV2TosOptions(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, r = (l = (s = A["TosApi.apiV2TosOptions"]) == null ? void 0 : s[t]) == null ? void 0 : l.url;
6456
- return (c, p) => b(n, O, u, e)(c, r || p);
6500
+ return (c, p) => y(n, O, u, e)(c, r || p);
6457
6501
  },
6458
6502
  /**
6459
6503
  *
@@ -6464,7 +6508,7 @@ const I = function(e, ...a) {
6464
6508
  async getTos(o) {
6465
6509
  var s, l;
6466
6510
  const n = await a.getTos(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, r = (l = (s = A["TosApi.getTos"]) == null ? void 0 : s[t]) == null ? void 0 : l.url;
6467
- return (c, p) => b(n, O, u, e)(c, r || p);
6511
+ return (c, p) => y(n, O, u, e)(c, r || p);
6468
6512
  }
6469
6513
  };
6470
6514
  }, es = function(e, a, o) {
@@ -6500,15 +6544,15 @@ const I = function(e, ...a) {
6500
6544
  * @throws {RequiredError}
6501
6545
  */
6502
6546
  apiV2ProjectsProjectIdResourcesResourceIdTreesOptions: async (a, o, n = {}) => {
6503
- j("apiV2ProjectsProjectIdResourcesResourceIdTreesOptions", "projectId", a), j("apiV2ProjectsProjectIdResourcesResourceIdTreesOptions", "resourceId", o);
6504
- const t = "/api/v2/projects/{projectId}/resources/{resourceId}/trees".replace("{projectId}", encodeURIComponent(String(a))).replace("{resourceId}", encodeURIComponent(String(o))), r = new URL(t, m);
6547
+ R("apiV2ProjectsProjectIdResourcesResourceIdTreesOptions", "projectId", a), R("apiV2ProjectsProjectIdResourcesResourceIdTreesOptions", "resourceId", o);
6548
+ const t = "/api/v2/projects/{projectId}/resources/{resourceId}/trees".replace("{projectId}", encodeURIComponent(String(a))).replace("{resourceId}", encodeURIComponent(String(o))), r = new URL(t, P);
6505
6549
  let s;
6506
6550
  e && (s = e.baseOptions);
6507
6551
  const l = { method: "OPTIONS", ...s, ...n }, c = {}, p = {};
6508
- await P(c, "Authorization", e), I(r, p);
6552
+ await m(c, "Authorization", e), I(r, p);
6509
6553
  let i = s && s.headers ? s.headers : {};
6510
6554
  return l.headers = { ...c, ...i, ...n.headers }, {
6511
- url: y(r),
6555
+ url: b(r),
6512
6556
  options: l
6513
6557
  };
6514
6558
  },
@@ -6522,15 +6566,15 @@ const I = function(e, ...a) {
6522
6566
  * @throws {RequiredError}
6523
6567
  */
6524
6568
  createExtractedMetadataTree: async (a, o, n, t = {}) => {
6525
- j("createExtractedMetadataTree", "projectId", a), j("createExtractedMetadataTree", "resourceId", o);
6526
- const r = "/api/v2/projects/{projectId}/resources/{resourceId}/trees/metadata/extracted".replace("{projectId}", encodeURIComponent(String(a))).replace("{resourceId}", encodeURIComponent(String(o))), s = new URL(r, m);
6569
+ R("createExtractedMetadataTree", "projectId", a), R("createExtractedMetadataTree", "resourceId", o);
6570
+ const r = "/api/v2/projects/{projectId}/resources/{resourceId}/trees/metadata/extracted".replace("{projectId}", encodeURIComponent(String(a))).replace("{resourceId}", encodeURIComponent(String(o))), s = new URL(r, P);
6527
6571
  let l;
6528
6572
  e && (l = e.baseOptions);
6529
6573
  const c = { method: "POST", ...l, ...t }, p = {}, i = {};
6530
- await P(p, "Authorization", e), p["Content-Type"] = "application/json", I(s, i);
6574
+ await m(p, "Authorization", e), p["Content-Type"] = "application/json", I(s, i);
6531
6575
  let d = l && l.headers ? l.headers : {};
6532
6576
  return c.headers = { ...p, ...d, ...t.headers }, c.data = L(n, c, e), {
6533
- url: y(s),
6577
+ url: b(s),
6534
6578
  options: c
6535
6579
  };
6536
6580
  },
@@ -6544,15 +6588,15 @@ const I = function(e, ...a) {
6544
6588
  * @throws {RequiredError}
6545
6589
  */
6546
6590
  createMetadataTree: async (a, o, n, t = {}) => {
6547
- j("createMetadataTree", "projectId", a), j("createMetadataTree", "resourceId", o);
6548
- const r = "/api/v2/projects/{projectId}/resources/{resourceId}/trees/metadata".replace("{projectId}", encodeURIComponent(String(a))).replace("{resourceId}", encodeURIComponent(String(o))), s = new URL(r, m);
6591
+ R("createMetadataTree", "projectId", a), R("createMetadataTree", "resourceId", o);
6592
+ const r = "/api/v2/projects/{projectId}/resources/{resourceId}/trees/metadata".replace("{projectId}", encodeURIComponent(String(a))).replace("{resourceId}", encodeURIComponent(String(o))), s = new URL(r, P);
6549
6593
  let l;
6550
6594
  e && (l = e.baseOptions);
6551
6595
  const c = { method: "POST", ...l, ...t }, p = {}, i = {};
6552
- await P(p, "Authorization", e), p["Content-Type"] = "application/json", I(s, i);
6596
+ await m(p, "Authorization", e), p["Content-Type"] = "application/json", I(s, i);
6553
6597
  let d = l && l.headers ? l.headers : {};
6554
6598
  return c.headers = { ...p, ...d, ...t.headers }, c.data = L(n, c, e), {
6555
- url: y(s),
6599
+ url: b(s),
6556
6600
  options: c
6557
6601
  };
6558
6602
  },
@@ -6566,15 +6610,15 @@ const I = function(e, ...a) {
6566
6610
  * @throws {RequiredError}
6567
6611
  */
6568
6612
  deleteMetadataTree: async (a, o, n, t = {}) => {
6569
- j("deleteMetadataTree", "projectId", a), j("deleteMetadataTree", "resourceId", o);
6570
- const r = "/api/v2/projects/{projectId}/resources/{resourceId}/trees/metadata".replace("{projectId}", encodeURIComponent(String(a))).replace("{resourceId}", encodeURIComponent(String(o))), s = new URL(r, m);
6613
+ R("deleteMetadataTree", "projectId", a), R("deleteMetadataTree", "resourceId", o);
6614
+ const r = "/api/v2/projects/{projectId}/resources/{resourceId}/trees/metadata".replace("{projectId}", encodeURIComponent(String(a))).replace("{resourceId}", encodeURIComponent(String(o))), s = new URL(r, P);
6571
6615
  let l;
6572
6616
  e && (l = e.baseOptions);
6573
6617
  const c = { method: "DELETE", ...l, ...t }, p = {}, i = {};
6574
- await P(p, "Authorization", e), p["Content-Type"] = "application/json", I(s, i);
6618
+ await m(p, "Authorization", e), p["Content-Type"] = "application/json", I(s, i);
6575
6619
  let d = l && l.headers ? l.headers : {};
6576
6620
  return c.headers = { ...p, ...d, ...t.headers }, c.data = L(n, c, e), {
6577
- url: y(s),
6621
+ url: b(s),
6578
6622
  options: c
6579
6623
  };
6580
6624
  },
@@ -6591,15 +6635,15 @@ const I = function(e, ...a) {
6591
6635
  * @throws {RequiredError}
6592
6636
  */
6593
6637
  getFileTree: async (a, o, n, t, r, s, l = {}) => {
6594
- j("getFileTree", "projectId", a), j("getFileTree", "resourceId", o);
6595
- const c = "/api/v2/projects/{projectId}/resources/{resourceId}/trees/files".replace("{projectId}", encodeURIComponent(String(a))).replace("{resourceId}", encodeURIComponent(String(o))), p = new URL(c, m);
6638
+ R("getFileTree", "projectId", a), R("getFileTree", "resourceId", o);
6639
+ const c = "/api/v2/projects/{projectId}/resources/{resourceId}/trees/files".replace("{projectId}", encodeURIComponent(String(a))).replace("{resourceId}", encodeURIComponent(String(o))), p = new URL(c, P);
6596
6640
  let i;
6597
6641
  e && (i = e.baseOptions);
6598
6642
  const d = { method: "GET", ...i, ...l }, h = {}, V = {};
6599
- await P(h, "Authorization", e), n !== void 0 && (V.Path = n), t !== void 0 && (V.PageNumber = t), r !== void 0 && (V.PageSize = r), s !== void 0 && (V.OrderBy = s), I(p, V);
6643
+ await m(h, "Authorization", e), n !== void 0 && (V.Path = n), t !== void 0 && (V.PageNumber = t), r !== void 0 && (V.PageSize = r), s !== void 0 && (V.OrderBy = s), I(p, V);
6600
6644
  let v = i && i.headers ? i.headers : {};
6601
6645
  return d.headers = { ...h, ...v, ...l.headers }, {
6602
- url: y(p),
6646
+ url: b(p),
6603
6647
  options: d
6604
6648
  };
6605
6649
  },
@@ -6619,15 +6663,15 @@ const I = function(e, ...a) {
6619
6663
  * @throws {RequiredError}
6620
6664
  */
6621
6665
  getMetadataTree: async (a, o, n, t, r, s, l, c, p, i = {}) => {
6622
- j("getMetadataTree", "projectId", a), j("getMetadataTree", "resourceId", o);
6623
- const d = "/api/v2/projects/{projectId}/resources/{resourceId}/trees/metadata".replace("{projectId}", encodeURIComponent(String(a))).replace("{resourceId}", encodeURIComponent(String(o))), h = new URL(d, m);
6666
+ R("getMetadataTree", "projectId", a), R("getMetadataTree", "resourceId", o);
6667
+ const d = "/api/v2/projects/{projectId}/resources/{resourceId}/trees/metadata".replace("{projectId}", encodeURIComponent(String(a))).replace("{resourceId}", encodeURIComponent(String(o))), h = new URL(d, P);
6624
6668
  let V;
6625
6669
  e && (V = e.baseOptions);
6626
6670
  const v = { method: "GET", ...V, ...i }, S = {}, w = {};
6627
- await P(S, "Authorization", e), n !== void 0 && (w.Path = n), t !== void 0 && (w.Format = t), r !== void 0 && (w.IncludeExtractedMetadata = r), s !== void 0 && (w.IncludeProvenance = s), l !== void 0 && (w.PageNumber = l), c !== void 0 && (w.PageSize = c), p !== void 0 && (w.OrderBy = p), I(h, w);
6671
+ await m(S, "Authorization", e), n !== void 0 && (w.Path = n), t !== void 0 && (w.Format = t), r !== void 0 && (w.IncludeExtractedMetadata = r), s !== void 0 && (w.IncludeProvenance = s), l !== void 0 && (w.PageNumber = l), c !== void 0 && (w.PageSize = c), p !== void 0 && (w.OrderBy = p), I(h, w);
6628
6672
  let C = V && V.headers ? V.headers : {};
6629
6673
  return v.headers = { ...S, ...C, ...i.headers }, {
6630
- url: y(h),
6674
+ url: b(h),
6631
6675
  options: v
6632
6676
  };
6633
6677
  },
@@ -6645,15 +6689,15 @@ const I = function(e, ...a) {
6645
6689
  * @throws {RequiredError}
6646
6690
  */
6647
6691
  getSpecificMetadataTree: async (a, o, n, t, r, s, l, c = {}) => {
6648
- j("getSpecificMetadataTree", "projectId", a), j("getSpecificMetadataTree", "resourceId", o), j("getSpecificMetadataTree", "path", n);
6649
- const p = "/api/v2/projects/{projectId}/resources/{resourceId}/trees/metadata/specific".replace("{projectId}", encodeURIComponent(String(a))).replace("{resourceId}", encodeURIComponent(String(o))), i = new URL(p, m);
6692
+ R("getSpecificMetadataTree", "projectId", a), R("getSpecificMetadataTree", "resourceId", o), R("getSpecificMetadataTree", "path", n);
6693
+ const p = "/api/v2/projects/{projectId}/resources/{resourceId}/trees/metadata/specific".replace("{projectId}", encodeURIComponent(String(a))).replace("{resourceId}", encodeURIComponent(String(o))), i = new URL(p, P);
6650
6694
  let d;
6651
6695
  e && (d = e.baseOptions);
6652
6696
  const h = { method: "GET", ...d, ...c }, V = {}, v = {};
6653
- await P(V, "Authorization", e), n !== void 0 && (v.Path = n), t !== void 0 && (v.Format = t), r !== void 0 && (v.IncludeExtractedMetadata = r), s !== void 0 && (v.IncludeProvenance = s), l !== void 0 && (v.Version = l), I(i, v);
6697
+ await m(V, "Authorization", e), n !== void 0 && (v.Path = n), t !== void 0 && (v.Format = t), r !== void 0 && (v.IncludeExtractedMetadata = r), s !== void 0 && (v.IncludeProvenance = s), l !== void 0 && (v.Version = l), I(i, v);
6654
6698
  let S = d && d.headers ? d.headers : {};
6655
6699
  return h.headers = { ...V, ...S, ...c.headers }, {
6656
- url: y(i),
6700
+ url: b(i),
6657
6701
  options: h
6658
6702
  };
6659
6703
  },
@@ -6667,15 +6711,15 @@ const I = function(e, ...a) {
6667
6711
  * @throws {RequiredError}
6668
6712
  */
6669
6713
  updateExtractedMetadataTree: async (a, o, n, t = {}) => {
6670
- j("updateExtractedMetadataTree", "projectId", a), j("updateExtractedMetadataTree", "resourceId", o);
6671
- const r = "/api/v2/projects/{projectId}/resources/{resourceId}/trees/metadata/extracted".replace("{projectId}", encodeURIComponent(String(a))).replace("{resourceId}", encodeURIComponent(String(o))), s = new URL(r, m);
6714
+ R("updateExtractedMetadataTree", "projectId", a), R("updateExtractedMetadataTree", "resourceId", o);
6715
+ const r = "/api/v2/projects/{projectId}/resources/{resourceId}/trees/metadata/extracted".replace("{projectId}", encodeURIComponent(String(a))).replace("{resourceId}", encodeURIComponent(String(o))), s = new URL(r, P);
6672
6716
  let l;
6673
6717
  e && (l = e.baseOptions);
6674
6718
  const c = { method: "PUT", ...l, ...t }, p = {}, i = {};
6675
- await P(p, "Authorization", e), p["Content-Type"] = "application/json", I(s, i);
6719
+ await m(p, "Authorization", e), p["Content-Type"] = "application/json", I(s, i);
6676
6720
  let d = l && l.headers ? l.headers : {};
6677
6721
  return c.headers = { ...p, ...d, ...t.headers }, c.data = L(n, c, e), {
6678
- url: y(s),
6722
+ url: b(s),
6679
6723
  options: c
6680
6724
  };
6681
6725
  },
@@ -6689,15 +6733,15 @@ const I = function(e, ...a) {
6689
6733
  * @throws {RequiredError}
6690
6734
  */
6691
6735
  updateMetadataTree: async (a, o, n, t = {}) => {
6692
- j("updateMetadataTree", "projectId", a), j("updateMetadataTree", "resourceId", o);
6693
- const r = "/api/v2/projects/{projectId}/resources/{resourceId}/trees/metadata".replace("{projectId}", encodeURIComponent(String(a))).replace("{resourceId}", encodeURIComponent(String(o))), s = new URL(r, m);
6736
+ R("updateMetadataTree", "projectId", a), R("updateMetadataTree", "resourceId", o);
6737
+ const r = "/api/v2/projects/{projectId}/resources/{resourceId}/trees/metadata".replace("{projectId}", encodeURIComponent(String(a))).replace("{resourceId}", encodeURIComponent(String(o))), s = new URL(r, P);
6694
6738
  let l;
6695
6739
  e && (l = e.baseOptions);
6696
6740
  const c = { method: "PUT", ...l, ...t }, p = {}, i = {};
6697
- await P(p, "Authorization", e), p["Content-Type"] = "application/json", I(s, i);
6741
+ await m(p, "Authorization", e), p["Content-Type"] = "application/json", I(s, i);
6698
6742
  let d = l && l.headers ? l.headers : {};
6699
6743
  return c.headers = { ...p, ...d, ...t.headers }, c.data = L(n, c, e), {
6700
- url: y(s),
6744
+ url: b(s),
6701
6745
  options: c
6702
6746
  };
6703
6747
  }
@@ -6716,7 +6760,7 @@ const I = function(e, ...a) {
6716
6760
  async apiV2ProjectsProjectIdResourcesResourceIdTreesOptions(o, n, t) {
6717
6761
  var c, p;
6718
6762
  const r = await a.apiV2ProjectsProjectIdResourcesResourceIdTreesOptions(o, n, t), s = (e == null ? void 0 : e.serverIndex) ?? 0, l = (p = (c = A["TreeApi.apiV2ProjectsProjectIdResourcesResourceIdTreesOptions"]) == null ? void 0 : c[s]) == null ? void 0 : p.url;
6719
- return (i, d) => b(r, O, u, e)(i, l || d);
6763
+ return (i, d) => y(r, O, u, e)(i, l || d);
6720
6764
  },
6721
6765
  /**
6722
6766
  * <p><strong>Required JWT roles for access:</strong> <code>administrator</code>.</p>
@@ -6730,7 +6774,7 @@ const I = function(e, ...a) {
6730
6774
  async createExtractedMetadataTree(o, n, t, r) {
6731
6775
  var p, i;
6732
6776
  const s = await a.createExtractedMetadataTree(o, n, t, r), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (i = (p = A["TreeApi.createExtractedMetadataTree"]) == null ? void 0 : p[l]) == null ? void 0 : i.url;
6733
- return (d, h) => b(s, O, u, e)(d, c || h);
6777
+ return (d, h) => y(s, O, u, e)(d, c || h);
6734
6778
  },
6735
6779
  /**
6736
6780
  *
@@ -6744,7 +6788,7 @@ const I = function(e, ...a) {
6744
6788
  async createMetadataTree(o, n, t, r) {
6745
6789
  var p, i;
6746
6790
  const s = await a.createMetadataTree(o, n, t, r), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (i = (p = A["TreeApi.createMetadataTree"]) == null ? void 0 : p[l]) == null ? void 0 : i.url;
6747
- return (d, h) => b(s, O, u, e)(d, c || h);
6791
+ return (d, h) => y(s, O, u, e)(d, c || h);
6748
6792
  },
6749
6793
  /**
6750
6794
  * <p><strong>Required JWT roles for access:</strong> <code>administrator</code>.</p>
@@ -6758,7 +6802,7 @@ const I = function(e, ...a) {
6758
6802
  async deleteMetadataTree(o, n, t, r) {
6759
6803
  var p, i;
6760
6804
  const s = await a.deleteMetadataTree(o, n, t, r), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (i = (p = A["TreeApi.deleteMetadataTree"]) == null ? void 0 : p[l]) == null ? void 0 : i.url;
6761
- return (d, h) => b(s, O, u, e)(d, c || h);
6805
+ return (d, h) => y(s, O, u, e)(d, c || h);
6762
6806
  },
6763
6807
  /**
6764
6808
  * The `OrderBy` query is currently not supported.
@@ -6775,7 +6819,7 @@ const I = function(e, ...a) {
6775
6819
  async getFileTree(o, n, t, r, s, l, c) {
6776
6820
  var h, V;
6777
6821
  const p = await a.getFileTree(o, n, t, r, s, l, c), i = (e == null ? void 0 : e.serverIndex) ?? 0, d = (V = (h = A["TreeApi.getFileTree"]) == null ? void 0 : h[i]) == null ? void 0 : V.url;
6778
- return (v, S) => b(p, O, u, e)(v, d || S);
6822
+ return (v, S) => y(p, O, u, e)(v, d || S);
6779
6823
  },
6780
6824
  /**
6781
6825
  *
@@ -6795,7 +6839,7 @@ const I = function(e, ...a) {
6795
6839
  async getMetadataTree(o, n, t, r, s, l, c, p, i, d) {
6796
6840
  var S, w;
6797
6841
  const h = await a.getMetadataTree(o, n, t, r, s, l, c, p, i, d), V = (e == null ? void 0 : e.serverIndex) ?? 0, v = (w = (S = A["TreeApi.getMetadataTree"]) == null ? void 0 : S[V]) == null ? void 0 : w.url;
6798
- return (C, z) => b(h, O, u, e)(C, v || z);
6842
+ return (C, z) => y(h, O, u, e)(C, v || z);
6799
6843
  },
6800
6844
  /**
6801
6845
  *
@@ -6813,7 +6857,7 @@ const I = function(e, ...a) {
6813
6857
  async getSpecificMetadataTree(o, n, t, r, s, l, c, p) {
6814
6858
  var V, v;
6815
6859
  const i = await a.getSpecificMetadataTree(o, n, t, r, s, l, c, p), d = (e == null ? void 0 : e.serverIndex) ?? 0, h = (v = (V = A["TreeApi.getSpecificMetadataTree"]) == null ? void 0 : V[d]) == null ? void 0 : v.url;
6816
- return (S, w) => b(i, O, u, e)(S, h || w);
6860
+ return (S, w) => y(i, O, u, e)(S, h || w);
6817
6861
  },
6818
6862
  /**
6819
6863
  * <p><strong>Required JWT roles for access:</strong> <code>administrator</code>.</p>
@@ -6827,7 +6871,7 @@ const I = function(e, ...a) {
6827
6871
  async updateExtractedMetadataTree(o, n, t, r) {
6828
6872
  var p, i;
6829
6873
  const s = await a.updateExtractedMetadataTree(o, n, t, r), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (i = (p = A["TreeApi.updateExtractedMetadataTree"]) == null ? void 0 : p[l]) == null ? void 0 : i.url;
6830
- return (d, h) => b(s, O, u, e)(d, c || h);
6874
+ return (d, h) => y(s, O, u, e)(d, c || h);
6831
6875
  },
6832
6876
  /**
6833
6877
  *
@@ -6841,7 +6885,7 @@ const I = function(e, ...a) {
6841
6885
  async updateMetadataTree(o, n, t, r) {
6842
6886
  var p, i;
6843
6887
  const s = await a.updateMetadataTree(o, n, t, r), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (i = (p = A["TreeApi.updateMetadataTree"]) == null ? void 0 : p[l]) == null ? void 0 : i.url;
6844
- return (d, h) => b(s, O, u, e)(d, c || h);
6888
+ return (d, h) => y(s, O, u, e)(d, c || h);
6845
6889
  }
6846
6890
  };
6847
6891
  }, as = function(e, a, o) {
@@ -6947,14 +6991,14 @@ const I = function(e, ...a) {
6947
6991
  * @throws {RequiredError}
6948
6992
  */
6949
6993
  apiV2UsersOptions: async (a = {}) => {
6950
- const o = "/api/v2/users", n = new URL(o, m);
6994
+ const o = "/api/v2/users", n = new URL(o, P);
6951
6995
  let t;
6952
6996
  e && (t = e.baseOptions);
6953
6997
  const r = { method: "OPTIONS", ...t, ...a }, s = {}, l = {};
6954
- await P(s, "Authorization", e), I(n, l);
6998
+ await m(s, "Authorization", e), I(n, l);
6955
6999
  let c = t && t.headers ? t.headers : {};
6956
7000
  return r.headers = { ...s, ...c, ...a.headers }, {
6957
- url: y(n),
7001
+ url: b(n),
6958
7002
  options: r
6959
7003
  };
6960
7004
  },
@@ -6967,15 +7011,15 @@ const I = function(e, ...a) {
6967
7011
  * @throws {RequiredError}
6968
7012
  */
6969
7013
  getUsers: async (a, o, n = {}) => {
6970
- j("getUsers", "searchTerm", a);
6971
- const t = "/api/v2/users", r = new URL(t, m);
7014
+ R("getUsers", "searchTerm", a);
7015
+ const t = "/api/v2/users", r = new URL(t, P);
6972
7016
  let s;
6973
7017
  e && (s = e.baseOptions);
6974
7018
  const l = { method: "GET", ...s, ...n }, c = {}, p = {};
6975
- await P(c, "Authorization", e), o !== void 0 && (p.OrderBy = o), a !== void 0 && (p.SearchTerm = a), I(r, p);
7019
+ await m(c, "Authorization", e), o !== void 0 && (p.OrderBy = o), a !== void 0 && (p.SearchTerm = a), I(r, p);
6976
7020
  let i = s && s.headers ? s.headers : {};
6977
7021
  return l.headers = { ...c, ...i, ...n.headers }, {
6978
- url: y(r),
7022
+ url: b(r),
6979
7023
  options: l
6980
7024
  };
6981
7025
  }
@@ -6992,7 +7036,7 @@ const I = function(e, ...a) {
6992
7036
  async apiV2UsersOptions(o) {
6993
7037
  var s, l;
6994
7038
  const n = await a.apiV2UsersOptions(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, r = (l = (s = A["UserApi.apiV2UsersOptions"]) == null ? void 0 : s[t]) == null ? void 0 : l.url;
6995
- return (c, p) => b(n, O, u, e)(c, r || p);
7039
+ return (c, p) => y(n, O, u, e)(c, r || p);
6996
7040
  },
6997
7041
  /**
6998
7042
  *
@@ -7005,7 +7049,7 @@ const I = function(e, ...a) {
7005
7049
  async getUsers(o, n, t) {
7006
7050
  var c, p;
7007
7051
  const r = await a.getUsers(o, n, t), s = (e == null ? void 0 : e.serverIndex) ?? 0, l = (p = (c = A["UserApi.getUsers"]) == null ? void 0 : c[s]) == null ? void 0 : p.url;
7008
- return (i, d) => b(r, O, u, e)(i, l || d);
7052
+ return (i, d) => y(r, O, u, e)(i, l || d);
7009
7053
  }
7010
7054
  };
7011
7055
  }, ns = function(e, a, o) {
@@ -7040,14 +7084,14 @@ const I = function(e, ...a) {
7040
7084
  * @throws {RequiredError}
7041
7085
  */
7042
7086
  apiV2VisibilitiesOptions: async (a = {}) => {
7043
- const o = "/api/v2/visibilities", n = new URL(o, m);
7087
+ const o = "/api/v2/visibilities", n = new URL(o, P);
7044
7088
  let t;
7045
7089
  e && (t = e.baseOptions);
7046
7090
  const r = { method: "OPTIONS", ...t, ...a }, s = {}, l = {};
7047
- await P(s, "Authorization", e), I(n, l);
7091
+ await m(s, "Authorization", e), I(n, l);
7048
7092
  let c = t && t.headers ? t.headers : {};
7049
7093
  return r.headers = { ...s, ...c, ...a.headers }, {
7050
- url: y(n),
7094
+ url: b(n),
7051
7095
  options: r
7052
7096
  };
7053
7097
  },
@@ -7061,14 +7105,14 @@ const I = function(e, ...a) {
7061
7105
  * @throws {RequiredError}
7062
7106
  */
7063
7107
  getVisibilities: async (a, o, n, t = {}) => {
7064
- const r = "/api/v2/visibilities", s = new URL(r, m);
7108
+ const r = "/api/v2/visibilities", s = new URL(r, P);
7065
7109
  let l;
7066
7110
  e && (l = e.baseOptions);
7067
7111
  const c = { method: "GET", ...l, ...t }, p = {}, i = {};
7068
- await P(p, "Authorization", e), a !== void 0 && (i.PageNumber = a), o !== void 0 && (i.PageSize = o), n !== void 0 && (i.OrderBy = n), I(s, i);
7112
+ await m(p, "Authorization", e), a !== void 0 && (i.PageNumber = a), o !== void 0 && (i.PageSize = o), n !== void 0 && (i.OrderBy = n), I(s, i);
7069
7113
  let d = l && l.headers ? l.headers : {};
7070
7114
  return c.headers = { ...p, ...d, ...t.headers }, {
7071
- url: y(s),
7115
+ url: b(s),
7072
7116
  options: c
7073
7117
  };
7074
7118
  },
@@ -7080,15 +7124,15 @@ const I = function(e, ...a) {
7080
7124
  * @throws {RequiredError}
7081
7125
  */
7082
7126
  getVisibility: async (a, o = {}) => {
7083
- j("getVisibility", "visibilityId", a);
7084
- const n = "/api/v2/visibilities/{visibilityId}".replace("{visibilityId}", encodeURIComponent(String(a))), t = new URL(n, m);
7127
+ R("getVisibility", "visibilityId", a);
7128
+ const n = "/api/v2/visibilities/{visibilityId}".replace("{visibilityId}", encodeURIComponent(String(a))), t = new URL(n, P);
7085
7129
  let r;
7086
7130
  e && (r = e.baseOptions);
7087
7131
  const s = { method: "GET", ...r, ...o }, l = {}, c = {};
7088
- await P(l, "Authorization", e), I(t, c);
7132
+ await m(l, "Authorization", e), I(t, c);
7089
7133
  let p = r && r.headers ? r.headers : {};
7090
7134
  return s.headers = { ...l, ...p, ...o.headers }, {
7091
- url: y(t),
7135
+ url: b(t),
7092
7136
  options: s
7093
7137
  };
7094
7138
  }
@@ -7105,7 +7149,7 @@ const I = function(e, ...a) {
7105
7149
  async apiV2VisibilitiesOptions(o) {
7106
7150
  var s, l;
7107
7151
  const n = await a.apiV2VisibilitiesOptions(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, r = (l = (s = A["VisibilityApi.apiV2VisibilitiesOptions"]) == null ? void 0 : s[t]) == null ? void 0 : l.url;
7108
- return (c, p) => b(n, O, u, e)(c, r || p);
7152
+ return (c, p) => y(n, O, u, e)(c, r || p);
7109
7153
  },
7110
7154
  /**
7111
7155
  *
@@ -7119,7 +7163,7 @@ const I = function(e, ...a) {
7119
7163
  async getVisibilities(o, n, t, r) {
7120
7164
  var p, i;
7121
7165
  const s = await a.getVisibilities(o, n, t, r), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (i = (p = A["VisibilityApi.getVisibilities"]) == null ? void 0 : p[l]) == null ? void 0 : i.url;
7122
- return (d, h) => b(s, O, u, e)(d, c || h);
7166
+ return (d, h) => y(s, O, u, e)(d, c || h);
7123
7167
  },
7124
7168
  /**
7125
7169
  *
@@ -7131,7 +7175,7 @@ const I = function(e, ...a) {
7131
7175
  async getVisibility(o, n) {
7132
7176
  var l, c;
7133
7177
  const t = await a.getVisibility(o, n), r = (e == null ? void 0 : e.serverIndex) ?? 0, s = (c = (l = A["VisibilityApi.getVisibility"]) == null ? void 0 : l[r]) == null ? void 0 : c.url;
7134
- return (p, i) => b(t, O, u, e)(p, s || i);
7178
+ return (p, i) => y(t, O, u, e)(p, s || i);
7135
7179
  }
7136
7180
  };
7137
7181
  }, ps = function(e, a, o) {
@@ -7176,14 +7220,14 @@ const I = function(e, ...a) {
7176
7220
  * @throws {RequiredError}
7177
7221
  */
7178
7222
  apiV2VocabulariesOptions: async (a = {}) => {
7179
- const o = "/api/v2/vocabularies", n = new URL(o, m);
7223
+ const o = "/api/v2/vocabularies", n = new URL(o, P);
7180
7224
  let t;
7181
7225
  e && (t = e.baseOptions);
7182
7226
  const r = { method: "OPTIONS", ...t, ...a }, s = {}, l = {};
7183
- await P(s, "Authorization", e), I(n, l);
7227
+ await m(s, "Authorization", e), I(n, l);
7184
7228
  let c = t && t.headers ? t.headers : {};
7185
7229
  return r.headers = { ...s, ...c, ...a.headers }, {
7186
- url: y(n),
7230
+ url: b(n),
7187
7231
  options: r
7188
7232
  };
7189
7233
  },
@@ -7199,14 +7243,14 @@ const I = function(e, ...a) {
7199
7243
  * @throws {RequiredError}
7200
7244
  */
7201
7245
  getVocabularies: async (a, o, n, t, r, s = {}) => {
7202
- const l = "/api/v2/vocabularies", c = new URL(l, m);
7246
+ const l = "/api/v2/vocabularies", c = new URL(l, P);
7203
7247
  let p;
7204
7248
  e && (p = e.baseOptions);
7205
7249
  const i = { method: "GET", ...p, ...s }, d = {}, h = {};
7206
- await P(d, "Authorization", e), a !== void 0 && (h.SearchTerm = a), 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);
7250
+ await m(d, "Authorization", e), a !== void 0 && (h.SearchTerm = a), 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);
7207
7251
  let V = p && p.headers ? p.headers : {};
7208
7252
  return i.headers = { ...d, ...V, ...s.headers }, {
7209
- url: y(c),
7253
+ url: b(c),
7210
7254
  options: i
7211
7255
  };
7212
7256
  },
@@ -7219,15 +7263,15 @@ const I = function(e, ...a) {
7219
7263
  * @throws {RequiredError}
7220
7264
  */
7221
7265
  getVocabularyInstance: async (a, o, n = {}) => {
7222
- j("getVocabularyInstance", "instance", a);
7223
- const t = "/api/v2/vocabularies/instances/{instance}".replace("{instance}", encodeURIComponent(String(a))), r = new URL(t, m);
7266
+ R("getVocabularyInstance", "instance", a);
7267
+ const t = "/api/v2/vocabularies/instances/{instance}".replace("{instance}", encodeURIComponent(String(a))), r = new URL(t, P);
7224
7268
  let s;
7225
7269
  e && (s = e.baseOptions);
7226
7270
  const l = { method: "GET", ...s, ...n }, c = {}, p = {};
7227
- await P(c, "Authorization", e), o != null && (c["Accept-Language"] = typeof o == "string" ? o : JSON.stringify(o)), I(r, p);
7271
+ await m(c, "Authorization", e), o != null && (c["Accept-Language"] = typeof o == "string" ? o : JSON.stringify(o)), I(r, p);
7228
7272
  let i = s && s.headers ? s.headers : {};
7229
7273
  return l.headers = { ...c, ...i, ...n.headers }, {
7230
- url: y(r),
7274
+ url: b(r),
7231
7275
  options: l
7232
7276
  };
7233
7277
  },
@@ -7244,15 +7288,15 @@ const I = function(e, ...a) {
7244
7288
  * @throws {RequiredError}
7245
7289
  */
7246
7290
  getVocabularyInstances: async (a, o, n, t, r, s, l = {}) => {
7247
- j("getVocabularyInstances", "_class", a);
7248
- const c = "/api/v2/vocabularies/instances", p = new URL(c, m);
7291
+ R("getVocabularyInstances", "_class", a);
7292
+ const c = "/api/v2/vocabularies/instances", p = new URL(c, P);
7249
7293
  let i;
7250
7294
  e && (i = e.baseOptions);
7251
7295
  const d = { method: "GET", ...i, ...l }, h = {}, V = {};
7252
- await P(h, "Authorization", e), a !== void 0 && (V.Class = a), o !== void 0 && (V.SearchTerm = o), n !== void 0 && (V.Language = n), t !== void 0 && (V.PageSize = t), r !== void 0 && (V.PageNumber = r), s !== void 0 && (V.OrderBy = s), I(p, V);
7296
+ await m(h, "Authorization", e), a !== void 0 && (V.Class = a), o !== void 0 && (V.SearchTerm = o), n !== void 0 && (V.Language = n), t !== void 0 && (V.PageSize = t), r !== void 0 && (V.PageNumber = r), s !== void 0 && (V.OrderBy = s), I(p, V);
7253
7297
  let v = i && i.headers ? i.headers : {};
7254
7298
  return d.headers = { ...h, ...v, ...l.headers }, {
7255
- url: y(p),
7299
+ url: b(p),
7256
7300
  options: d
7257
7301
  };
7258
7302
  }
@@ -7269,7 +7313,7 @@ const I = function(e, ...a) {
7269
7313
  async apiV2VocabulariesOptions(o) {
7270
7314
  var s, l;
7271
7315
  const n = await a.apiV2VocabulariesOptions(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, r = (l = (s = A["VocabularyApi.apiV2VocabulariesOptions"]) == null ? void 0 : s[t]) == null ? void 0 : l.url;
7272
- return (c, p) => b(n, O, u, e)(c, r || p);
7316
+ return (c, p) => y(n, O, u, e)(c, r || p);
7273
7317
  },
7274
7318
  /**
7275
7319
  *
@@ -7285,7 +7329,7 @@ const I = function(e, ...a) {
7285
7329
  async getVocabularies(o, n, t, r, s, l) {
7286
7330
  var d, h;
7287
7331
  const c = await a.getVocabularies(o, n, t, r, s, l), p = (e == null ? void 0 : e.serverIndex) ?? 0, i = (h = (d = A["VocabularyApi.getVocabularies"]) == null ? void 0 : d[p]) == null ? void 0 : h.url;
7288
- return (V, v) => b(c, O, u, e)(V, i || v);
7332
+ return (V, v) => y(c, O, u, e)(V, i || v);
7289
7333
  },
7290
7334
  /**
7291
7335
  * Could be a top-level instance, or an intermediate-level instance from a vocabulary.
@@ -7298,7 +7342,7 @@ const I = function(e, ...a) {
7298
7342
  async getVocabularyInstance(o, n, t) {
7299
7343
  var c, p;
7300
7344
  const r = await a.getVocabularyInstance(o, n, t), s = (e == null ? void 0 : e.serverIndex) ?? 0, l = (p = (c = A["VocabularyApi.getVocabularyInstance"]) == null ? void 0 : c[s]) == null ? void 0 : p.url;
7301
- return (i, d) => b(r, O, u, e)(i, l || d);
7345
+ return (i, d) => y(r, O, u, e)(i, l || d);
7302
7346
  },
7303
7347
  /**
7304
7348
  *
@@ -7315,7 +7359,7 @@ const I = function(e, ...a) {
7315
7359
  async getVocabularyInstances(o, n, t, r, s, l, c) {
7316
7360
  var h, V;
7317
7361
  const p = await a.getVocabularyInstances(o, n, t, r, s, l, c), i = (e == null ? void 0 : e.serverIndex) ?? 0, d = (V = (h = A["VocabularyApi.getVocabularyInstances"]) == null ? void 0 : h[i]) == null ? void 0 : V.url;
7318
- return (v, S) => b(p, O, u, e)(v, d || S);
7362
+ return (v, S) => y(p, O, u, e)(v, d || S);
7319
7363
  }
7320
7364
  };
7321
7365
  }, hs = function(e, a, o) {
@@ -7367,14 +7411,14 @@ const I = function(e, ...a) {
7367
7411
  e[a] = n;
7368
7412
  }
7369
7413
  };
7370
- function be(e, a, o = "") {
7371
- a != null && (typeof a == "object" ? Array.isArray(a) ? a.forEach((n) => be(e, n, o)) : Object.keys(a).forEach(
7372
- (n) => be(e, a[n], `${o}${o !== "" ? "." : ""}${n}`)
7414
+ function ye(e, a, o = "") {
7415
+ a != null && (typeof a == "object" ? Array.isArray(a) ? a.forEach((n) => ye(e, n, o)) : Object.keys(a).forEach(
7416
+ (n) => ye(e, a[n], `${o}${o !== "" ? "." : ""}${n}`)
7373
7417
  ) : e.has(o) ? e.append(o, a) : e.set(o, a));
7374
7418
  }
7375
7419
  const q = function(e, ...a) {
7376
7420
  const o = new URLSearchParams(e.search);
7377
- be(o, a), e.search = o.toString();
7421
+ ye(o, a), e.search = o.toString();
7378
7422
  }, J = function(e) {
7379
7423
  return e.pathname + e.search + e.hash;
7380
7424
  }, K = function(e, a, o, n) {
@@ -7490,7 +7534,7 @@ const q = function(e, ...a) {
7490
7534
  };
7491
7535
  }
7492
7536
  };
7493
- }, ms = function(e) {
7537
+ }, Ps = function(e) {
7494
7538
  const a = As(e);
7495
7539
  return {
7496
7540
  /**
@@ -7505,8 +7549,8 @@ const q = function(e, ...a) {
7505
7549
  return (c, p) => K(n, O, N, e)(c, r || p);
7506
7550
  }
7507
7551
  };
7508
- }, Ps = function(e, a, o) {
7509
- const n = ms(e);
7552
+ }, ms = function(e, a, o) {
7553
+ const n = Ps(e);
7510
7554
  return {
7511
7555
  /**
7512
7556
  *
@@ -7557,7 +7601,7 @@ const q = function(e, ...a) {
7557
7601
  };
7558
7602
  }
7559
7603
  };
7560
- }, ys = function(e) {
7604
+ }, bs = function(e) {
7561
7605
  const a = Is(e);
7562
7606
  return {
7563
7607
  /**
@@ -7583,8 +7627,8 @@ const q = function(e, ...a) {
7583
7627
  return (p, i) => K(t, O, N, e)(p, s || i);
7584
7628
  }
7585
7629
  };
7586
- }, bs = function(e, a, o) {
7587
- const n = ys(e);
7630
+ }, ys = function(e, a, o) {
7631
+ const n = bs(e);
7588
7632
  return {
7589
7633
  /**
7590
7634
  *
@@ -7819,11 +7863,11 @@ function Us(e) {
7819
7863
  BlobApi: Mr(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
7820
7864
  DisciplineApi: kr(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
7821
7865
  HandleApi: $r(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
7822
- HomeApi: Ps(new U({ accessToken: T }), "https://" + x() + "/coscine/api/Coscine.Api.STS", e),
7866
+ HomeApi: ms(new U({ accessToken: T }), "https://" + x() + "/coscine/api/Coscine.Api.STS", e),
7823
7867
  LanguageApi: qr(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
7824
7868
  LicenseApi: Wr(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
7825
7869
  MaintenanceApi: Yr(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
7826
- MergeApi: bs(new U({ accessToken: T }), "https://" + x() + "/coscine/api/Coscine.Api.STS", e),
7870
+ MergeApi: ys(new U({ accessToken: T }), "https://" + x() + "/coscine/api/Coscine.Api.STS", e),
7827
7871
  ORCiDApi: vs(new U({ accessToken: T }), "https://" + x() + "/coscine/api/Coscine.Api.STS", e),
7828
7872
  OrganizationApi: ea(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
7829
7873
  PidApi: aa(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
@@ -7831,8 +7875,8 @@ function Us(e) {
7831
7875
  ProjectInvitationApi: pa(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
7832
7876
  ProjectMemberApi: ha(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
7833
7877
  ProjectPublicationRequestApi: ua(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
7834
- ProjectQuotaApi: Pa(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
7835
- ProjectResourceApi: ba(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
7878
+ ProjectQuotaApi: ma(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
7879
+ ProjectResourceApi: ya(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
7836
7880
  ProjectResourceQuotaApi: va(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
7837
7881
  ProjectResourceTypeApi: Ta(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
7838
7882
  ResourceApi: Ba(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
@@ -7863,7 +7907,7 @@ function Bs(e) {
7863
7907
  }
7864
7908
  }
7865
7909
  nt.interceptors.request.use((e) => (Bs(e), e), (e) => Promise.reject(e), { synchronous: !0 });
7866
- const B = Us(nt), Cs = B.AccountApi, Ls = B.AdminApi, Es = B.ApplicationProfileApi, zs = B.BlobApi, Ms = B.DisciplineApi, Hs = B.HandleApi, Qs = B.HomeApi, ks = B.LanguageApi, Ds = B.LicenseApi, Ns = B.MaintenanceApi, $s = B.MergeApi, Gs = B.ORCiDApi, _s = B.OrganizationApi, qs = B.PidApi, Js = B.ProjectApi, Ks = B.ProjectInvitationApi, Ws = B.ProjectMemberApi, fs = B.ProjectPublicationRequestApi, Xs = B.ProjectQuotaApi, Ys = B.ProjectResourceApi, Zs = B.ProjectResourceQuotaApi, gs = B.ProjectResourceTypeApi, eo = B.ResourceApi, to = B.ResourceTypeApi, ro = B.RoleApi, ao = B.SearchApi, so = B.SelfApi, oo = B.SelfApiTokenApi, no = B.ShibbolethApi, lo = B.TitleApi, co = B.TosApi, po = B.TreeApi, io = B.UserApi, ho = B.VisibilityApi, Oo = B.VocabularyApi;
7910
+ const B = Us(nt), Cs = B.AccountApi, Ls = B.AdminApi, Es = B.ApplicationProfileApi, zs = B.BlobApi, Ms = B.DisciplineApi, Hs = B.HandleApi, Qs = B.HomeApi, ks = B.LanguageApi, Ds = B.LicenseApi, Ns = B.MaintenanceApi, $s = B.MergeApi, Gs = B.ORCiDApi, _s = B.OrganizationApi, qs = B.PidApi, Js = B.ProjectApi, Ks = B.ProjectInvitationApi, Ws = B.ProjectMemberApi, Xs = B.ProjectPublicationRequestApi, fs = B.ProjectQuotaApi, Ys = B.ProjectResourceApi, Zs = B.ProjectResourceQuotaApi, gs = B.ProjectResourceTypeApi, eo = B.ResourceApi, to = B.ResourceTypeApi, ro = B.RoleApi, ao = B.SearchApi, so = B.SelfApi, oo = B.SelfApiTokenApi, no = B.ShibbolethApi, lo = B.TitleApi, co = B.TosApi, po = B.TreeApi, io = B.UserApi, ho = B.VisibilityApi, Oo = B.VocabularyApi;
7867
7911
  export {
7868
7912
  Cs as AccountApi,
7869
7913
  Ls as AdminApi,
@@ -7882,8 +7926,8 @@ export {
7882
7926
  Js as ProjectApi,
7883
7927
  Ks as ProjectInvitationApi,
7884
7928
  Ws as ProjectMemberApi,
7885
- fs as ProjectPublicationRequestApi,
7886
- Xs as ProjectQuotaApi,
7929
+ Xs as ProjectPublicationRequestApi,
7930
+ fs as ProjectQuotaApi,
7887
7931
  Ys as ProjectResourceApi,
7888
7932
  Zs as ProjectResourceQuotaApi,
7889
7933
  gs as ProjectResourceTypeApi,