@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 +792 -748
- package/dist/types/Coscine.Api/@coscine/api/project-publication-request-api.d.ts +58 -4
- package/dist/types/Coscine.Api/@coscine/model/index.d.ts +2 -1
- package/dist/types/Coscine.Api/@coscine/model/{publication-request-for-creation-dto-response.d.ts → project-publication-request-dto-response.d.ts} +9 -9
- package/dist/types/Coscine.Api/@coscine/model/project-publication-request-dto.d.ts +63 -0
- package/dist/types/Coscine.Api/@coscine/model/publication-advisory-service-dto.d.ts +2 -2
- package/dist/types/Coscine.Api/@coscine/model/publication-request-for-creation-dto.d.ts +1 -1
- package/dist/types/apis.d.ts +2 -1
- package/dist/types/index.d.ts +4 -2
- package/package.json +1 -1
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"),
|
|
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
|
-
},
|
|
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),
|
|
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:
|
|
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:
|
|
264
|
+
isBlob: Pt,
|
|
265
265
|
isRegExp: Et,
|
|
266
266
|
isFunction: M,
|
|
267
267
|
isStream: It,
|
|
268
|
-
isURLSearchParams:
|
|
268
|
+
isURLSearchParams: yt,
|
|
269
269
|
isTypedArray: xt,
|
|
270
|
-
isFileList:
|
|
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
|
-
|
|
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:
|
|
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
|
|
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
|
|
356
|
+
return j.isPlainObject(e) || j.isArray(e);
|
|
357
357
|
}
|
|
358
|
-
function
|
|
359
|
-
return
|
|
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 =
|
|
363
|
+
return t = Xe(t), !o && r ? "[" + t + "]" : t;
|
|
364
364
|
}).join(o ? "." : "") : a;
|
|
365
365
|
}
|
|
366
366
|
function qt(e) {
|
|
367
|
-
return
|
|
367
|
+
return j.isArray(e) && !e.some(Ae);
|
|
368
368
|
}
|
|
369
|
-
const Jt =
|
|
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 (!
|
|
373
|
+
if (!j.isObject(e))
|
|
374
374
|
throw new TypeError("target must be an object");
|
|
375
|
-
a = a || new FormData(), 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 !
|
|
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) &&
|
|
383
|
-
if (!
|
|
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 (
|
|
388
|
+
if (j.isDate(v))
|
|
389
389
|
return v.toISOString();
|
|
390
|
-
if (!c &&
|
|
390
|
+
if (!c && j.isBlob(v))
|
|
391
391
|
throw new F("Blob is not supported. Use a Buffer instead.");
|
|
392
|
-
return
|
|
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 (
|
|
397
|
+
if (j.endsWith(S, "{}"))
|
|
398
398
|
S = n ? S : S.slice(0, -2), v = JSON.stringify(v);
|
|
399
|
-
else if (
|
|
400
|
-
return S =
|
|
401
|
-
!(
|
|
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 (!
|
|
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),
|
|
420
|
-
(!(
|
|
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
|
-
|
|
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 (!
|
|
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
|
|
452
|
-
|
|
451
|
+
const fe = je.prototype;
|
|
452
|
+
fe.append = function(a, o) {
|
|
453
453
|
this._pairs.push([a, o]);
|
|
454
454
|
};
|
|
455
|
-
|
|
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 =
|
|
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
|
-
|
|
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
|
-
},
|
|
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:
|
|
539
|
-
FormData:
|
|
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 &&
|
|
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
|
|
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 &&
|
|
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 (
|
|
578
|
+
if (j.isFormData(e) && j.isFunction(e.entries)) {
|
|
579
579
|
const o = {};
|
|
580
|
-
return
|
|
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 (
|
|
587
|
+
if (j.isString(e))
|
|
588
588
|
try {
|
|
589
|
-
return (a || JSON.parse)(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 =
|
|
601
|
-
if (r &&
|
|
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 (
|
|
603
|
+
if (j.isArrayBuffer(a) || j.isBuffer(a) || j.isStream(a) || j.isFile(a) || j.isBlob(a))
|
|
604
604
|
return a;
|
|
605
|
-
if (
|
|
605
|
+
if (j.isArrayBufferView(a))
|
|
606
606
|
return a.buffer;
|
|
607
|
-
if (
|
|
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 =
|
|
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 &&
|
|
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
|
-
|
|
660
|
+
j.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => {
|
|
661
661
|
ve.headers[e] = {};
|
|
662
662
|
});
|
|
663
|
-
const Se = ve, nr =
|
|
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 :
|
|
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 (
|
|
704
|
+
if (j.isFunction(n))
|
|
705
705
|
return n.call(this, a, o);
|
|
706
|
-
if (t && (a = o), !!
|
|
707
|
-
if (
|
|
706
|
+
if (t && (a = o), !!j.isString(a)) {
|
|
707
|
+
if (j.isString(n))
|
|
708
708
|
return a.indexOf(n) !== -1;
|
|
709
|
-
if (
|
|
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 =
|
|
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 =
|
|
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) =>
|
|
741
|
-
return
|
|
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 =
|
|
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 (
|
|
752
|
+
if (j.isFunction(o))
|
|
753
753
|
return o.call(this, t, n);
|
|
754
|
-
if (
|
|
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 =
|
|
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 =
|
|
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
|
|
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
|
|
790
|
-
const s =
|
|
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
|
|
805
|
-
n != null && n !== !1 && (o[t] = a &&
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
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 =
|
|
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
|
|
942
|
+
function Pr(e) {
|
|
943
943
|
const a = /^([-+\w]{1,25})(:?\/\/|:)/.exec(e);
|
|
944
944
|
return a && a[1] || "";
|
|
945
945
|
}
|
|
946
|
-
function
|
|
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 =
|
|
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",
|
|
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 (
|
|
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 &&
|
|
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 &&
|
|
1042
|
+
t === void 0 && r.setContentType(null), "setRequestHeader" in d && j.forEach(r.toJSON(), function(w, C) {
|
|
1043
1043
|
d.setRequestHeader(C, w);
|
|
1044
|
-
}),
|
|
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 =
|
|
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
|
-
},
|
|
1054
|
+
}, Pe = {
|
|
1055
1055
|
http: _t,
|
|
1056
|
-
xhr:
|
|
1056
|
+
xhr: br
|
|
1057
1057
|
};
|
|
1058
|
-
|
|
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}`,
|
|
1067
|
+
const ze = (e) => `- ${e}`, yr = (e) => j.isFunction(e) || e === null || e === !1, at = {
|
|
1068
1068
|
getAdapter: (e) => {
|
|
1069
|
-
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, !
|
|
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:
|
|
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
|
|
1121
|
+
function f(e, a) {
|
|
1122
1122
|
a = a || {};
|
|
1123
1123
|
const o = {};
|
|
1124
1124
|
function n(p, i, d) {
|
|
1125
|
-
return
|
|
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 (
|
|
1129
|
-
if (!
|
|
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 (!
|
|
1135
|
+
if (!j.isUndefined(i))
|
|
1136
1136
|
return n(void 0, i);
|
|
1137
1137
|
}
|
|
1138
1138
|
function s(p, i) {
|
|
1139
|
-
if (
|
|
1140
|
-
if (!
|
|
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
|
|
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
|
-
|
|
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
|
|
1229
|
+
const me = {
|
|
1230
1230
|
assertOptions: Rr,
|
|
1231
1231
|
validators: we
|
|
1232
|
-
},
|
|
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 =
|
|
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 &&
|
|
1252
|
-
silentJSONParsing:
|
|
1253
|
-
forcedJSONParsing:
|
|
1254
|
-
clarifyTimeoutError:
|
|
1255
|
-
}, !1), t != null && (
|
|
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
|
-
} :
|
|
1258
|
-
encode:
|
|
1259
|
-
serialize:
|
|
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 &&
|
|
1261
|
+
let s = r && j.merge(
|
|
1262
1262
|
r.common,
|
|
1263
1263
|
r[o.method]
|
|
1264
1264
|
);
|
|
1265
|
-
r &&
|
|
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 =
|
|
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
|
-
|
|
1313
|
+
j.forEach(["delete", "get", "head", "options"], function(a) {
|
|
1314
1314
|
oe.prototype[a] = function(o, n) {
|
|
1315
|
-
return this.request(
|
|
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
|
-
|
|
1322
|
+
j.forEach(["post", "put", "patch"], function(a) {
|
|
1323
1323
|
function o(n) {
|
|
1324
1324
|
return function(r, s, l) {
|
|
1325
|
-
return this.request(
|
|
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
|
|
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
|
|
1487
|
-
return ot(
|
|
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 =
|
|
1504
|
+
E.mergeConfig = f;
|
|
1505
1505
|
E.AxiosHeaders = D;
|
|
1506
|
-
E.formToJSON = (e) => et(
|
|
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 = {},
|
|
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
|
-
},
|
|
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
|
|
1526
|
-
a != null && (typeof a == "object" ? Array.isArray(a) ? a.forEach((n) =>
|
|
1527
|
-
(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
|
-
|
|
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
|
-
},
|
|
1536
|
+
}, b = function(e) {
|
|
1537
1537
|
return e.pathname + e.search + e.hash;
|
|
1538
|
-
},
|
|
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,
|
|
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
|
|
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:
|
|
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,
|
|
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
|
|
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:
|
|
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,
|
|
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
|
|
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:
|
|
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,
|
|
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
|
|
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:
|
|
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,
|
|
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
|
|
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:
|
|
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,
|
|
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
|
|
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:
|
|
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
|
-
|
|
1690
|
-
const t = "/api/v2/admin/metadata/{graph}".replace("{graph}", encodeURIComponent(String(a))), r = new URL(t,
|
|
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
|
|
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:
|
|
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
|
-
|
|
1711
|
-
const t = "/api/v2/admin/metadata/{graph}".replace("{graph}", encodeURIComponent(String(a))), r = new URL(t,
|
|
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
|
|
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:
|
|
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
|
-
|
|
1732
|
-
const t = "/api/v2/admin/metadata/{graph}".replace("{graph}", encodeURIComponent(String(a))), r = new URL(t,
|
|
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
|
|
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:
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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,
|
|
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
|
|
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:
|
|
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,
|
|
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
|
|
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:
|
|
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
|
-
|
|
2023
|
-
const r = "/api/v2/application-profiles/profiles/{profile}".replace("{profile}", encodeURIComponent(String(a))), s = new URL(r,
|
|
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
|
|
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:
|
|
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,
|
|
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
|
|
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:
|
|
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
|
-
|
|
2067
|
-
const n = "/api/v2/application-profiles/profiles/{profile}/raw".replace("{profile}", encodeURIComponent(String(a))), t = new URL(n,
|
|
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
|
|
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:
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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
|
-
|
|
2214
|
-
const t = "/api/v2/projects/{projectId}/resources/{resourceId}/blobs".replace("{projectId}", encodeURIComponent(String(a))).replace("{resourceId}", encodeURIComponent(String(o))), r = new URL(t,
|
|
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
|
|
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:
|
|
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
|
-
|
|
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,
|
|
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
|
|
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:
|
|
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
|
-
|
|
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,
|
|
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
|
|
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:
|
|
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
|
-
|
|
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,
|
|
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
|
|
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:
|
|
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
|
-
|
|
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,
|
|
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
|
|
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:
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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,
|
|
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
|
|
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:
|
|
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
|
-
|
|
2474
|
-
const n = "/api/v2/disciplines/{disciplineId}".replace("{disciplineId}", encodeURIComponent(String(a))), t = new URL(n,
|
|
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
|
|
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:
|
|
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,
|
|
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
|
|
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:
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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,
|
|
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
|
|
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:
|
|
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
|
-
|
|
2611
|
-
const t = "/api/v2/handles/{prefix}/{suffix}".replace("{prefix}", encodeURIComponent(String(a))).replace("{suffix}", encodeURIComponent(String(o))), r = new URL(t,
|
|
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
|
|
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:
|
|
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
|
-
|
|
2633
|
-
const r = "/api/v2/handles/{prefix}/{suffix}".replace("{prefix}", encodeURIComponent(String(a))).replace("{suffix}", encodeURIComponent(String(o))), s = new URL(r,
|
|
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
|
|
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:
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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,
|
|
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
|
|
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:
|
|
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
|
-
|
|
2749
|
-
const n = "/api/v2/languages/{languageId}".replace("{languageId}", encodeURIComponent(String(a))), t = new URL(n,
|
|
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
|
|
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:
|
|
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,
|
|
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
|
|
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:
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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,
|
|
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
|
|
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:
|
|
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
|
-
|
|
2885
|
-
const n = "/api/v2/licenses/{licenseId}".replace("{licenseId}", encodeURIComponent(String(a))), t = new URL(n,
|
|
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
|
|
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:
|
|
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,
|
|
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
|
|
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:
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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
|
-
},
|
|
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,
|
|
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
|
|
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:
|
|
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,
|
|
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
|
|
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:
|
|
3026
|
+
url: b(n),
|
|
3027
3027
|
options: r
|
|
3028
3028
|
};
|
|
3029
3029
|
}
|
|
3030
3030
|
};
|
|
3031
|
-
},
|
|
3032
|
-
const a =
|
|
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) =>
|
|
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) =>
|
|
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 =
|
|
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,
|
|
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
|
|
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:
|
|
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
|
-
|
|
3108
|
-
const n = "/api/v2/organizations/{organizationRorUri}".replace("{organizationRorUri}", encodeURIComponent(String(a))), t = new URL(n,
|
|
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
|
|
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:
|
|
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,
|
|
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
|
|
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:
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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,
|
|
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
|
|
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:
|
|
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
|
-
|
|
3251
|
-
const t = "/api/v2/pids/{prefix}/{suffix}".replace("{prefix}", encodeURIComponent(String(a))).replace("{suffix}", encodeURIComponent(String(o))), r = new URL(t,
|
|
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
|
|
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:
|
|
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,
|
|
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
|
|
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:
|
|
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
|
-
|
|
3297
|
-
const r = "/api/v2/pids/{prefix}/{suffix}/requests".replace("{prefix}", encodeURIComponent(String(a))).replace("{suffix}", encodeURIComponent(String(o))), s = new URL(r,
|
|
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
|
|
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:
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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,
|
|
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
|
|
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:
|
|
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,
|
|
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
|
|
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:
|
|
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
|
-
|
|
3459
|
-
const n = "/api/v2/projects/{projectId}".replace("{projectId}", encodeURIComponent(String(a))), t = new URL(n,
|
|
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
|
|
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:
|
|
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
|
-
|
|
3480
|
-
const t = "/api/v2/projects/{projectId}".replace("{projectId}", encodeURIComponent(String(a))), r = new URL(t,
|
|
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
|
|
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:
|
|
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,
|
|
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
|
|
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:
|
|
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
|
-
|
|
3524
|
-
const t = "/api/v2/projects/{projectId}".replace("{projectId}", encodeURIComponent(String(a))), r = new URL(t,
|
|
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
|
|
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:
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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
|
-
|
|
3691
|
-
const n = "/api/v2/projects/{projectId}/invitations".replace("{projectId}", encodeURIComponent(String(a))), t = new URL(n,
|
|
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
|
|
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:
|
|
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
|
-
|
|
3712
|
-
const t = "/api/v2/projects/{projectId}/invitations".replace("{projectId}", encodeURIComponent(String(a))), r = new URL(t,
|
|
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
|
|
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:
|
|
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
|
-
|
|
3733
|
-
const t = "/api/v2/projects/{projectId}/invitations/{projectInvitationId}".replace("{projectId}", encodeURIComponent(String(a))).replace("{projectInvitationId}", encodeURIComponent(String(o))), r = new URL(t,
|
|
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
|
|
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:
|
|
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
|
-
|
|
3754
|
-
const t = "/api/v2/projects/{projectId}/invitations/{projectInvitationId}".replace("{projectId}", encodeURIComponent(String(a))).replace("{projectInvitationId}", encodeURIComponent(String(o))), r = new URL(t,
|
|
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
|
|
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:
|
|
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
|
-
|
|
3777
|
-
const s = "/api/v2/projects/{projectId}/invitations".replace("{projectId}", encodeURIComponent(String(a))), l = new URL(s,
|
|
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
|
|
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:
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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
|
-
|
|
3925
|
-
const t = "/api/v2/projects/{projectId}/members".replace("{projectId}", encodeURIComponent(String(a))), r = new URL(t,
|
|
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
|
|
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:
|
|
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
|
-
|
|
3945
|
-
const n = "/api/v2/projects/{projectId}/members".replace("{projectId}", encodeURIComponent(String(a))), t = new URL(n,
|
|
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
|
|
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:
|
|
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
|
-
|
|
3966
|
-
const t = "/api/v2/projects/{projectId}/members/{membershipId}".replace("{projectId}", encodeURIComponent(String(a))).replace("{membershipId}", encodeURIComponent(String(o))), r = new URL(t,
|
|
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
|
|
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:
|
|
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
|
-
|
|
3987
|
-
const t = "/api/v2/projects/{projectId}/members/{membershipId}".replace("{projectId}", encodeURIComponent(String(a))).replace("{membershipId}", encodeURIComponent(String(o))), r = new URL(t,
|
|
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
|
|
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:
|
|
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
|
-
|
|
4010
|
-
const s = "/api/v2/projects/{projectId}/members".replace("{projectId}", encodeURIComponent(String(a))), l = new URL(s,
|
|
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
|
|
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:
|
|
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
|
-
|
|
4032
|
-
const r = "/api/v2/projects/{projectId}/members/{membershipId}".replace("{projectId}", encodeURIComponent(String(a))).replace("{membershipId}", encodeURIComponent(String(o))), s = new URL(r,
|
|
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
|
|
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:
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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
|
-
|
|
4203
|
-
const n = "/api/v2/projects/{projectId}/publications/requests".replace("{projectId}", encodeURIComponent(String(a))), t = new URL(n,
|
|
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
|
|
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:
|
|
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
|
-
|
|
4224
|
-
const t = "/api/v2/projects/{projectId}/publications/requests".replace("{projectId}", encodeURIComponent(String(a))), r = new URL(t,
|
|
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
|
|
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:
|
|
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) =>
|
|
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) =>
|
|
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
|
-
|
|
4300
|
-
const n = "/api/v2/projects/{projectId}/quotas".replace("{projectId}", encodeURIComponent(String(a))), t = new URL(n,
|
|
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
|
|
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:
|
|
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
|
-
|
|
4321
|
-
const t = "/api/v2/projects/{projectId}/quotas/{resourceTypeId}".replace("{projectId}", encodeURIComponent(String(a))).replace("{resourceTypeId}", encodeURIComponent(String(o))), r = new URL(t,
|
|
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
|
|
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:
|
|
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
|
-
|
|
4344
|
-
const s = "/api/v2/projects/{projectId}/quotas".replace("{projectId}", encodeURIComponent(String(a))), l = new URL(s,
|
|
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
|
|
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:
|
|
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
|
-
|
|
4366
|
-
const r = "/api/v2/projects/{projectId}/quotas/{resourceTypeId}".replace("{projectId}", encodeURIComponent(String(a))).replace("{resourceTypeId}", encodeURIComponent(String(o))), s = new URL(r,
|
|
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
|
|
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:
|
|
4417
|
+
url: b(s),
|
|
4374
4418
|
options: c
|
|
4375
4419
|
};
|
|
4376
4420
|
}
|
|
4377
4421
|
};
|
|
4378
|
-
},
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
4477
|
+
return (d, h) => y(s, O, u, e)(d, c || h);
|
|
4434
4478
|
}
|
|
4435
4479
|
};
|
|
4436
|
-
},
|
|
4437
|
-
const n =
|
|
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
|
-
|
|
4491
|
-
const n = "/api/v2/projects/{projectId}/resources".replace("{projectId}", encodeURIComponent(String(a))), t = new URL(n,
|
|
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
|
|
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:
|
|
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
|
-
|
|
4512
|
-
const t = "/api/v2/projects/{projectId}/resources".replace("{projectId}", encodeURIComponent(String(a))), r = new URL(t,
|
|
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
|
|
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:
|
|
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
|
-
|
|
4533
|
-
const t = "/api/v2/projects/{projectId}/resources/{resourceId}".replace("{projectId}", encodeURIComponent(String(a))).replace("{resourceId}", encodeURIComponent(String(o))), r = new URL(t,
|
|
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
|
|
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:
|
|
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
|
-
|
|
4554
|
-
const t = "/api/v2/projects/{projectId}/resources/{resourceId}".replace("{projectId}", encodeURIComponent(String(a))).replace("{resourceId}", encodeURIComponent(String(o))), r = new URL(t,
|
|
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
|
|
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:
|
|
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
|
-
|
|
4577
|
-
const s = "/api/v2/projects/{projectId}/resources".replace("{projectId}", encodeURIComponent(String(a))), l = new URL(s,
|
|
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
|
|
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:
|
|
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
|
-
|
|
4599
|
-
const r = "/api/v2/projects/{projectId}/resources/{resourceId}".replace("{projectId}", encodeURIComponent(String(a))).replace("{resourceId}", encodeURIComponent(String(o))), s = new URL(r,
|
|
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
|
|
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:
|
|
4650
|
+
url: b(s),
|
|
4607
4651
|
options: c
|
|
4608
4652
|
};
|
|
4609
4653
|
}
|
|
4610
4654
|
};
|
|
4611
|
-
},
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
4736
|
+
return (d, h) => y(s, O, u, e)(d, c || h);
|
|
4693
4737
|
}
|
|
4694
4738
|
};
|
|
4695
|
-
},
|
|
4696
|
-
const n =
|
|
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
|
-
|
|
4771
|
-
const t = "/api/v2/projects/{projectId}/resources/{resourceId}/quota".replace("{projectId}", encodeURIComponent(String(a))).replace("{resourceId}", encodeURIComponent(String(o))), r = new URL(t,
|
|
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
|
|
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:
|
|
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
|
-
|
|
4792
|
-
const t = "/api/v2/projects/{projectId}/resources/{resourceId}/quota".replace("{projectId}", encodeURIComponent(String(a))).replace("{resourceId}", encodeURIComponent(String(o))), r = new URL(t,
|
|
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
|
|
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:
|
|
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) =>
|
|
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) =>
|
|
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
|
-
|
|
4869
|
-
const n = "/api/v2/projects/{projectId}/resource-types".replace("{projectId}", encodeURIComponent(String(a))), t = new URL(n,
|
|
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
|
|
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:
|
|
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
|
-
|
|
4889
|
-
const n = "/api/v2/projects/{projectId}/resource-types".replace("{projectId}", encodeURIComponent(String(a))), t = new URL(n,
|
|
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
|
|
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:
|
|
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) =>
|
|
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) =>
|
|
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,
|
|
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
|
|
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:
|
|
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
|
-
|
|
4982
|
-
const n = "/api/v2/resources/{resourceId}".replace("{resourceId}", encodeURIComponent(String(a))), t = new URL(n,
|
|
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
|
|
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:
|
|
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) =>
|
|
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) =>
|
|
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,
|
|
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
|
|
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:
|
|
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
|
-
|
|
5075
|
-
const r = "/api/v2/resource-types/gitlab/projects/{gitlabProjectId}/branches".replace("{gitlabProjectId}", encodeURIComponent(String(a))), s = new URL(r,
|
|
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
|
|
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:
|
|
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
|
-
|
|
5096
|
-
const t = "/api/v2/resource-types/gitlab/projects", r = new URL(t,
|
|
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
|
|
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:
|
|
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,
|
|
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
|
|
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:
|
|
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
|
-
|
|
5136
|
-
const r = "/api/v2/resource-types/gitlab/projects/{gitlabProjectId}".replace("{gitlabProjectId}", encodeURIComponent(String(a))), s = new URL(r,
|
|
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
|
|
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:
|
|
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
|
-
|
|
5156
|
-
const n = "/api/v2/resource-types/types/{resourceTypeId}".replace("{resourceTypeId}", encodeURIComponent(String(a))), t = new URL(n,
|
|
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
|
|
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:
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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,
|
|
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
|
|
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:
|
|
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
|
-
|
|
5338
|
-
const n = "/api/v2/roles/{roleId}".replace("{roleId}", encodeURIComponent(String(a))), t = new URL(n,
|
|
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
|
|
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:
|
|
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,
|
|
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
|
|
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:
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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,
|
|
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
|
|
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:
|
|
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,
|
|
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
|
|
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:
|
|
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) =>
|
|
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) =>
|
|
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,
|
|
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
|
|
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:
|
|
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,
|
|
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
|
|
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:
|
|
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
|
-
|
|
5595
|
-
const n = "/api/v2/self/emails", t = new URL(n,
|
|
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
|
|
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:
|
|
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,
|
|
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
|
|
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:
|
|
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
|
-
|
|
5633
|
-
const n = "/api/v2/self/identities", t = new URL(n,
|
|
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
|
|
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:
|
|
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,
|
|
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
|
|
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:
|
|
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,
|
|
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
|
|
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:
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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,
|
|
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
|
|
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:
|
|
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,
|
|
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
|
|
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:
|
|
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,
|
|
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
|
|
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:
|
|
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
|
-
|
|
5910
|
-
const n = "/api/v2/self/api-tokens/{apiTokenId}".replace("{apiTokenId}", encodeURIComponent(String(a))), t = new URL(n,
|
|
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
|
|
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:
|
|
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
|
-
|
|
5930
|
-
const n = "/api/v2/self/api-tokens/{apiTokenId}".replace("{apiTokenId}", encodeURIComponent(String(a))), t = new URL(n,
|
|
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
|
|
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:
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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,
|
|
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
|
|
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:
|
|
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,
|
|
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
|
|
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:
|
|
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,
|
|
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
|
|
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:
|
|
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
|
-
|
|
6125
|
-
const n = "/api/v2/self/session/{externalAuthenticatorId}".replace("{externalAuthenticatorId}", encodeURIComponent(String(a))), t = new URL(n,
|
|
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
|
|
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:
|
|
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
|
-
|
|
6145
|
-
const n = "/api/v2/self/session/merge/{externalAuthenticatorId}".replace("{externalAuthenticatorId}", encodeURIComponent(String(a))), t = new URL(n,
|
|
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
|
|
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:
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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
|
-
},
|
|
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,
|
|
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
|
|
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:
|
|
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
|
-
|
|
6298
|
-
const n = "/api/v2/titles/{titleId}".replace("{titleId}", encodeURIComponent(String(a))), t = new URL(n,
|
|
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
|
|
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:
|
|
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,
|
|
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
|
|
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:
|
|
6370
|
+
url: b(s),
|
|
6327
6371
|
options: c
|
|
6328
6372
|
};
|
|
6329
6373
|
}
|
|
6330
6374
|
};
|
|
6331
|
-
},
|
|
6332
|
-
const a =
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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 =
|
|
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,
|
|
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
|
|
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:
|
|
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,
|
|
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
|
|
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:
|
|
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) =>
|
|
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) =>
|
|
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
|
-
|
|
6504
|
-
const t = "/api/v2/projects/{projectId}/resources/{resourceId}/trees".replace("{projectId}", encodeURIComponent(String(a))).replace("{resourceId}", encodeURIComponent(String(o))), r = new URL(t,
|
|
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
|
|
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:
|
|
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
|
-
|
|
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,
|
|
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
|
|
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:
|
|
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
|
-
|
|
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,
|
|
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
|
|
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:
|
|
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
|
-
|
|
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,
|
|
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
|
|
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:
|
|
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
|
-
|
|
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,
|
|
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
|
|
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:
|
|
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
|
-
|
|
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,
|
|
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
|
|
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:
|
|
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
|
-
|
|
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,
|
|
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
|
|
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:
|
|
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
|
-
|
|
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,
|
|
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
|
|
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:
|
|
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
|
-
|
|
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,
|
|
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
|
|
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:
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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,
|
|
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
|
|
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:
|
|
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
|
-
|
|
6971
|
-
const t = "/api/v2/users", r = new URL(t,
|
|
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
|
|
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:
|
|
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) =>
|
|
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) =>
|
|
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,
|
|
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
|
|
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:
|
|
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,
|
|
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
|
|
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:
|
|
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
|
-
|
|
7084
|
-
const n = "/api/v2/visibilities/{visibilityId}".replace("{visibilityId}", encodeURIComponent(String(a))), t = new URL(n,
|
|
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
|
|
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:
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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,
|
|
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
|
|
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:
|
|
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,
|
|
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
|
|
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:
|
|
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
|
-
|
|
7223
|
-
const t = "/api/v2/vocabularies/instances/{instance}".replace("{instance}", encodeURIComponent(String(a))), r = new URL(t,
|
|
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
|
|
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:
|
|
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
|
-
|
|
7248
|
-
const c = "/api/v2/vocabularies/instances", p = new URL(c,
|
|
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
|
|
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:
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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
|
|
7371
|
-
a != null && (typeof a == "object" ? Array.isArray(a) ? a.forEach((n) =>
|
|
7372
|
-
(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
|
-
|
|
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
|
-
},
|
|
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
|
-
},
|
|
7509
|
-
const n =
|
|
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
|
-
},
|
|
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
|
-
},
|
|
7587
|
-
const n =
|
|
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:
|
|
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:
|
|
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:
|
|
7835
|
-
ProjectResourceApi:
|
|
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,
|
|
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
|
-
|
|
7886
|
-
|
|
7929
|
+
Xs as ProjectPublicationRequestApi,
|
|
7930
|
+
fs as ProjectQuotaApi,
|
|
7887
7931
|
Ys as ProjectResourceApi,
|
|
7888
7932
|
Zs as ProjectResourceQuotaApi,
|
|
7889
7933
|
gs as ProjectResourceTypeApi,
|