@coscine/api-client 3.10.0 → 3.12.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 +698 -486
- package/dist/types/Coscine.Api/@coscine/api/maintenance-api.d.ts +4 -0
- package/dist/types/Coscine.Api/@coscine/api/project-publication-request-api.d.ts +58 -4
- package/dist/types/Coscine.Api/@coscine/api/system-status-api.d.ts +291 -0
- package/dist/types/Coscine.Api/@coscine/model/index.d.ts +5 -1
- package/dist/types/Coscine.Api/@coscine/model/{publication-request-for-creation-dto-response.d.ts → message-dto-paged-response.d.ts} +16 -9
- package/dist/types/Coscine.Api/@coscine/model/message-dto.d.ts +63 -0
- package/dist/types/Coscine.Api/@coscine/model/message-type.d.ts +29 -0
- package/dist/types/Coscine.Api/@coscine/model/project-publication-request-dto-response.d.ts +43 -0
- 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/Coscine.Api/api.d.ts +1 -0
- package/dist/types/apis.d.ts +7 -1
- package/dist/types/index.d.ts +14 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -86,22 +86,22 @@ const { toString: it } = Object.prototype, { getPrototypeOf: Re } = Object, ne =
|
|
|
86
86
|
return e[o] || (e[o] = o.slice(8, -1).toLowerCase());
|
|
87
87
|
})(/* @__PURE__ */ Object.create(null)), Q = (e) => (e = e.toLowerCase(), (a) => ne(a) === e), le = (e) => (a) => typeof a === e, { isArray: Y } = Array, g = le("undefined");
|
|
88
88
|
function dt(e) {
|
|
89
|
-
return e !== null && !g(e) && e.constructor !== null && !g(e.constructor) &&
|
|
89
|
+
return e !== null && !g(e) && e.constructor !== null && !g(e.constructor) && z(e.constructor.isBuffer) && e.constructor.isBuffer(e);
|
|
90
90
|
}
|
|
91
91
|
const De = Q("ArrayBuffer");
|
|
92
92
|
function ht(e) {
|
|
93
93
|
let a;
|
|
94
94
|
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? a = ArrayBuffer.isView(e) : a = e && e.buffer && De(e.buffer), a;
|
|
95
95
|
}
|
|
96
|
-
const Ot = le("string"),
|
|
96
|
+
const Ot = le("string"), z = le("function"), Ne = le("number"), ce = (e) => e !== null && typeof e == "object", Vt = (e) => e === !0 || e === !1, re = (e) => {
|
|
97
97
|
if (ne(e) !== "object")
|
|
98
98
|
return !1;
|
|
99
99
|
const a = Re(e);
|
|
100
100
|
return (a === null || a === Object.prototype || Object.getPrototypeOf(a) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
|
|
101
|
-
}, ut = Q("Date"), At = Q("File"), mt = Q("Blob"), Pt = Q("FileList"), It = (e) => ce(e) &&
|
|
101
|
+
}, ut = Q("Date"), At = Q("File"), mt = Q("Blob"), Pt = Q("FileList"), It = (e) => ce(e) && z(e.pipe), yt = (e) => {
|
|
102
102
|
let a;
|
|
103
|
-
return e && (typeof FormData == "function" && e instanceof FormData ||
|
|
104
|
-
a === "object" &&
|
|
103
|
+
return e && (typeof FormData == "function" && e instanceof FormData || z(e.append) && ((a = ne(e)) === "formdata" || // detect form-data instance
|
|
104
|
+
a === "object" && z(e.toString) && e.toString() === "[object FormData]"));
|
|
105
105
|
}, bt = 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")
|
|
@@ -137,7 +137,7 @@ function ue() {
|
|
|
137
137
|
return a;
|
|
138
138
|
}
|
|
139
139
|
const jt = (e, a, o, { allOwnKeys: n } = {}) => (ee(a, (t, r) => {
|
|
140
|
-
o &&
|
|
140
|
+
o && z(t) ? e[r] = ke(t, o) : e[r] = t;
|
|
141
141
|
}, { allOwnKeys: n }), e), vt = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), St = (e, a, o, n) => {
|
|
142
142
|
e.prototype = Object.create(a.prototype, n), e.prototype.constructor = e, Object.defineProperty(e, "super", {
|
|
143
143
|
value: a.prototype
|
|
@@ -193,12 +193,12 @@ const jt = (e, a, o, { allOwnKeys: n } = {}) => (ee(a, (t, r) => {
|
|
|
193
193
|
let s;
|
|
194
194
|
(s = a(t, r, e)) !== !1 && (n[r] = s || t);
|
|
195
195
|
}), Object.defineProperties(e, n);
|
|
196
|
-
},
|
|
196
|
+
}, Mt = (e) => {
|
|
197
197
|
qe(e, (a, o) => {
|
|
198
|
-
if (
|
|
198
|
+
if (z(e) && ["arguments", "caller", "callee"].indexOf(o) !== -1)
|
|
199
199
|
return !1;
|
|
200
200
|
const n = e[o];
|
|
201
|
-
if (
|
|
201
|
+
if (z(n)) {
|
|
202
202
|
if (a.enumerable = !1, "writable" in a) {
|
|
203
203
|
a.writable = !1;
|
|
204
204
|
return;
|
|
@@ -208,7 +208,7 @@ const jt = (e, a, o, { allOwnKeys: n } = {}) => (ee(a, (t, r) => {
|
|
|
208
208
|
});
|
|
209
209
|
}
|
|
210
210
|
});
|
|
211
|
-
},
|
|
211
|
+
}, zt = (e, a) => {
|
|
212
212
|
const o = {}, n = (t) => {
|
|
213
213
|
t.forEach((r) => {
|
|
214
214
|
o[r] = !0;
|
|
@@ -228,7 +228,7 @@ const jt = (e, a, o, { allOwnKeys: n } = {}) => (ee(a, (t, r) => {
|
|
|
228
228
|
return o;
|
|
229
229
|
};
|
|
230
230
|
function Dt(e) {
|
|
231
|
-
return !!(e &&
|
|
231
|
+
return !!(e && z(e.append) && e[Symbol.toStringTag] === "FormData" && e[Symbol.iterator]);
|
|
232
232
|
}
|
|
233
233
|
const Nt = (e) => {
|
|
234
234
|
const a = new Array(10), o = (n, t) => {
|
|
@@ -247,7 +247,7 @@ const Nt = (e) => {
|
|
|
247
247
|
return n;
|
|
248
248
|
};
|
|
249
249
|
return o(e, 0);
|
|
250
|
-
}, $t = Q("AsyncFunction"), Gt = (e) => e && (ce(e) ||
|
|
250
|
+
}, $t = Q("AsyncFunction"), Gt = (e) => e && (ce(e) || z(e)) && z(e.then) && z(e.catch), v = {
|
|
251
251
|
isArray: Y,
|
|
252
252
|
isArrayBuffer: De,
|
|
253
253
|
isBuffer: dt,
|
|
@@ -263,7 +263,7 @@ const Nt = (e) => {
|
|
|
263
263
|
isFile: At,
|
|
264
264
|
isBlob: mt,
|
|
265
265
|
isRegExp: Et,
|
|
266
|
-
isFunction:
|
|
266
|
+
isFunction: z,
|
|
267
267
|
isStream: It,
|
|
268
268
|
isURLSearchParams: bt,
|
|
269
269
|
isTypedArray: xt,
|
|
@@ -286,8 +286,8 @@ const Nt = (e) => {
|
|
|
286
286
|
hasOwnProp: Ue,
|
|
287
287
|
// an alias to avoid ESLint no-prototype-builtins detection
|
|
288
288
|
reduceDescriptors: qe,
|
|
289
|
-
freezeMethods:
|
|
290
|
-
toObjectSet:
|
|
289
|
+
freezeMethods: Mt,
|
|
290
|
+
toObjectSet: zt,
|
|
291
291
|
toCamelCase: Lt,
|
|
292
292
|
noop: Ht,
|
|
293
293
|
toFiniteNumber: Qt,
|
|
@@ -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
|
+
v.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: v.toJSONObject(this.config),
|
|
323
323
|
code: this.code,
|
|
324
324
|
status: this.response && this.response.status ? this.response.status : null
|
|
325
325
|
};
|
|
@@ -347,89 +347,89 @@ 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 v.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 v.isPlainObject(e) || v.isArray(e);
|
|
357
357
|
}
|
|
358
|
-
function
|
|
359
|
-
return
|
|
358
|
+
function Xe(e) {
|
|
359
|
+
return v.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 v.isArray(e) && !e.some(Ae);
|
|
368
368
|
}
|
|
369
|
-
const Jt =
|
|
369
|
+
const Jt = v.toFlatObject(v, {}, null, function(a) {
|
|
370
370
|
return /^is[A-Z]/.test(a);
|
|
371
371
|
});
|
|
372
372
|
function pe(e, a, o) {
|
|
373
|
-
if (!
|
|
373
|
+
if (!v.isObject(e))
|
|
374
374
|
throw new TypeError("target must be an object");
|
|
375
|
-
a = a || new FormData(), o =
|
|
375
|
+
a = a || new FormData(), o = v.toFlatObject(o, {
|
|
376
376
|
metaTokens: !0,
|
|
377
377
|
dots: !1,
|
|
378
378
|
indexes: !1
|
|
379
379
|
}, !1, function(S, w) {
|
|
380
|
-
return !
|
|
380
|
+
return !v.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) && v.isSpecCompliantForm(a);
|
|
383
|
+
if (!v.isFunction(t))
|
|
384
384
|
throw new TypeError("visitor must be a function");
|
|
385
|
-
function p(
|
|
386
|
-
if (
|
|
385
|
+
function p(R) {
|
|
386
|
+
if (R === null)
|
|
387
387
|
return "";
|
|
388
|
-
if (
|
|
389
|
-
return
|
|
390
|
-
if (!c &&
|
|
388
|
+
if (v.isDate(R))
|
|
389
|
+
return R.toISOString();
|
|
390
|
+
if (!c && v.isBlob(R))
|
|
391
391
|
throw new F("Blob is not supported. Use a Buffer instead.");
|
|
392
|
-
return
|
|
392
|
+
return v.isArrayBuffer(R) || v.isTypedArray(R) ? c && typeof Blob == "function" ? new Blob([R]) : Buffer.from(R) : R;
|
|
393
393
|
}
|
|
394
|
-
function i(
|
|
395
|
-
let C =
|
|
396
|
-
if (
|
|
397
|
-
if (
|
|
398
|
-
S = n ? S : S.slice(0, -2),
|
|
399
|
-
else if (
|
|
400
|
-
return S =
|
|
401
|
-
!(
|
|
394
|
+
function i(R, S, w) {
|
|
395
|
+
let C = R;
|
|
396
|
+
if (R && !w && typeof R == "object") {
|
|
397
|
+
if (v.endsWith(S, "{}"))
|
|
398
|
+
S = n ? S : S.slice(0, -2), R = JSON.stringify(R);
|
|
399
|
+
else if (v.isArray(R) && qt(R) || (v.isFileList(R) || v.endsWith(S, "[]")) && (C = v.toArray(R)))
|
|
400
|
+
return S = Xe(S), C.forEach(function(W, lt) {
|
|
401
|
+
!(v.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)
|
|
405
405
|
);
|
|
406
406
|
}), !1;
|
|
407
407
|
}
|
|
408
|
-
return Ae(
|
|
408
|
+
return Ae(R) ? !0 : (a.append(Be(w, S, r), p(R)), !1);
|
|
409
409
|
}
|
|
410
410
|
const d = [], h = Object.assign(Jt, {
|
|
411
411
|
defaultVisitor: i,
|
|
412
412
|
convertValue: p,
|
|
413
413
|
isVisitable: Ae
|
|
414
414
|
});
|
|
415
|
-
function
|
|
416
|
-
if (!
|
|
417
|
-
if (d.indexOf(
|
|
415
|
+
function O(R, S) {
|
|
416
|
+
if (!v.isUndefined(R)) {
|
|
417
|
+
if (d.indexOf(R) !== -1)
|
|
418
418
|
throw Error("Circular reference detected in " + S.join("."));
|
|
419
|
-
d.push(
|
|
420
|
-
(!(
|
|
419
|
+
d.push(R), v.forEach(R, function(C, M) {
|
|
420
|
+
(!(v.isUndefined(C) || C === null) && t.call(
|
|
421
421
|
a,
|
|
422
422
|
C,
|
|
423
|
-
|
|
423
|
+
v.isString(M) ? M.trim() : M,
|
|
424
424
|
S,
|
|
425
425
|
h
|
|
426
|
-
)) === !0 &&
|
|
426
|
+
)) === !0 && O(C, S ? S.concat(M) : [M]);
|
|
427
427
|
}), d.pop();
|
|
428
428
|
}
|
|
429
429
|
}
|
|
430
|
-
if (!
|
|
430
|
+
if (!v.isObject(e))
|
|
431
431
|
throw new TypeError("data must be an object");
|
|
432
|
-
return
|
|
432
|
+
return O(e), a;
|
|
433
433
|
}
|
|
434
434
|
function Fe(e) {
|
|
435
435
|
const a = {
|
|
@@ -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 = v.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
|
+
v.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 && v.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 v.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 && v.isArray(t) ? t.length : s, c ? (v.hasOwnProp(t, s) ? t[s] = [t[s], n] : t[s] = n, !l) : ((!t[s] || !v.isObject(t[s])) && (t[s] = []), a(o, n, t[s], r) && v.isArray(t[s]) && (t[s] = sr(t[s])), !l);
|
|
577
577
|
}
|
|
578
|
-
if (
|
|
578
|
+
if (v.isFormData(e) && v.isFunction(e.entries)) {
|
|
579
579
|
const o = {};
|
|
580
|
-
return
|
|
580
|
+
return v.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 (v.isString(e))
|
|
588
588
|
try {
|
|
589
|
-
return (a || JSON.parse)(e),
|
|
589
|
+
return (a || JSON.parse)(e), v.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 = v.isObject(a);
|
|
601
|
+
if (r && v.isHTMLForm(a) && (a = new FormData(a)), v.isFormData(a))
|
|
602
602
|
return t && t ? JSON.stringify(et(a)) : a;
|
|
603
|
-
if (
|
|
603
|
+
if (v.isArrayBuffer(a) || v.isBuffer(a) || v.isStream(a) || v.isFile(a) || v.isBlob(a))
|
|
604
604
|
return a;
|
|
605
|
-
if (
|
|
605
|
+
if (v.isArrayBufferView(a))
|
|
606
606
|
return a.buffer;
|
|
607
|
-
if (
|
|
607
|
+
if (v.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 = v.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 && v.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
|
+
v.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 = v.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 : v.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 (v.isFunction(n))
|
|
705
705
|
return n.call(this, a, o);
|
|
706
|
-
if (t && (a = o), !!
|
|
707
|
-
if (
|
|
706
|
+
if (t && (a = o), !!v.isString(a)) {
|
|
707
|
+
if (v.isString(n))
|
|
708
708
|
return a.indexOf(n) !== -1;
|
|
709
|
-
if (
|
|
709
|
+
if (v.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 = v.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 = v.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) => v.forEach(l, (p, i) => r(p, i, c));
|
|
741
|
+
return v.isPlainObject(a) || a instanceof this.constructor ? s(a, o) : v.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 = v.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 (v.isFunction(o))
|
|
753
753
|
return o.call(this, t, n);
|
|
754
|
-
if (
|
|
754
|
+
if (v.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 = v.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 = v.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 v.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 v.forEach(this, (t, r) => {
|
|
790
|
+
const s = v.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 v.forEach(this, (n, t) => {
|
|
805
|
+
n != null && n !== !1 && (o[t] = a && v.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 v.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
|
+
v.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
|
+
v.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 v.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
|
+
v.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
|
+
v.isNumber(o) && s.push("expires=" + new Date(o).toGMTString()), v.isString(n) && s.push("path=" + n), v.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 = v.isString(s) ? t(s) : s;
|
|
931
931
|
return l.protocol === n.protocol && l.host === n.host;
|
|
932
932
|
};
|
|
933
933
|
}()
|
|
@@ -955,8 +955,8 @@ function Pr(e, a) {
|
|
|
955
955
|
h += o[d++], d = d % e;
|
|
956
956
|
if (t = (t + 1) % e, t === r && (r = (r + 1) % e), p - s < a)
|
|
957
957
|
return;
|
|
958
|
-
const
|
|
959
|
-
return
|
|
958
|
+
const O = i && p - i;
|
|
959
|
+
return O ? Math.round(h * 1e3 / O) : void 0;
|
|
960
960
|
};
|
|
961
961
|
}
|
|
962
962
|
function Ee(e, a) {
|
|
@@ -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 (v.isFormData(t)) {
|
|
990
990
|
if (H.hasStandardBrowserEnv || H.hasStandardBrowserWebWorkerEnv)
|
|
991
991
|
r.setContentType(!1);
|
|
992
992
|
else if ((i = r.getContentType()) !== !1) {
|
|
@@ -1001,7 +1001,7 @@ const Ir = typeof XMLHttpRequest < "u", yr = Ir && function(e) {
|
|
|
1001
1001
|
}
|
|
1002
1002
|
const h = rt(e.baseURL, e.url);
|
|
1003
1003
|
d.open(e.method.toUpperCase(), Ye(h, e.params, e.paramsSerializer), !0), d.timeout = e.timeout;
|
|
1004
|
-
function
|
|
1004
|
+
function O() {
|
|
1005
1005
|
if (!d)
|
|
1006
1006
|
return;
|
|
1007
1007
|
const S = D.from(
|
|
@@ -1020,8 +1020,8 @@ const Ir = typeof XMLHttpRequest < "u", yr = Ir && function(e) {
|
|
|
1020
1020
|
n(W), p();
|
|
1021
1021
|
}, C), d = null;
|
|
1022
1022
|
}
|
|
1023
|
-
if ("onloadend" in d ? d.onloadend =
|
|
1024
|
-
!d || d.readyState !== 4 || d.status === 0 && !(d.responseURL && d.responseURL.indexOf("file:") === 0) || setTimeout(
|
|
1023
|
+
if ("onloadend" in d ? d.onloadend = O : d.onreadystatechange = function() {
|
|
1024
|
+
!d || d.readyState !== 4 || d.status === 0 && !(d.responseURL && d.responseURL.indexOf("file:") === 0) || setTimeout(O);
|
|
1025
1025
|
}, d.onabort = function() {
|
|
1026
1026
|
d && (n(new F("Request aborted", F.ECONNABORTED, e, d)), d = null);
|
|
1027
1027
|
}, d.onerror = function() {
|
|
@@ -1035,18 +1035,18 @@ 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 && v.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 && v.forEach(r.toJSON(), function(w, C) {
|
|
1043
1043
|
d.setRequestHeader(C, w);
|
|
1044
|
-
}),
|
|
1044
|
+
}), v.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
|
|
1048
|
-
if (
|
|
1049
|
-
n(new F("Unsupported protocol " +
|
|
1047
|
+
const R = mr(h);
|
|
1048
|
+
if (R && H.protocols.indexOf(R) === -1) {
|
|
1049
|
+
n(new F("Unsupported protocol " + R + ":", F.ERR_BAD_REQUEST, e));
|
|
1050
1050
|
return;
|
|
1051
1051
|
}
|
|
1052
1052
|
d.send(t || null);
|
|
@@ -1055,7 +1055,7 @@ const Ir = typeof XMLHttpRequest < "u", yr = Ir && function(e) {
|
|
|
1055
1055
|
http: _t,
|
|
1056
1056
|
xhr: yr
|
|
1057
1057
|
};
|
|
1058
|
-
|
|
1058
|
+
v.forEach(me, (e, a) => {
|
|
1059
1059
|
if (e) {
|
|
1060
1060
|
try {
|
|
1061
1061
|
Object.defineProperty(e, "name", { value: a });
|
|
@@ -1064,9 +1064,9 @@ R.forEach(me, (e, a) => {
|
|
|
1064
1064
|
Object.defineProperty(e, "adapterName", { value: a });
|
|
1065
1065
|
}
|
|
1066
1066
|
});
|
|
1067
|
-
const
|
|
1067
|
+
const Me = (e) => `- ${e}`, br = (e) => v.isFunction(e) || e === null || e === !1, at = {
|
|
1068
1068
|
getAdapter: (e) => {
|
|
1069
|
-
e =
|
|
1069
|
+
e = v.isArray(e) ? e : [e];
|
|
1070
1070
|
const { length: a } = e;
|
|
1071
1071
|
let o, n;
|
|
1072
1072
|
const t = {};
|
|
@@ -1084,8 +1084,8 @@ const ze = (e) => `- ${e}`, br = (e) => R.isFunction(e) || e === null || e === !
|
|
|
1084
1084
|
([l, c]) => `adapter ${l} ` + (c === !1 ? "is not supported by the environment" : "is not available in the build")
|
|
1085
1085
|
);
|
|
1086
1086
|
let s = a ? r.length > 1 ? `since :
|
|
1087
|
-
` + r.map(
|
|
1088
|
-
`) : " " +
|
|
1087
|
+
` + r.map(Me).join(`
|
|
1088
|
+
`) : " " + Me(r[0]) : "as no adapter specified";
|
|
1089
1089
|
throw new F(
|
|
1090
1090
|
"There is no suitable adapter to dispatch the request " + s,
|
|
1091
1091
|
"ERR_NOT_SUPPORT"
|
|
@@ -1099,7 +1099,7 @@ function Ve(e) {
|
|
|
1099
1099
|
if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
|
|
1100
1100
|
throw new te(null, e);
|
|
1101
1101
|
}
|
|
1102
|
-
function
|
|
1102
|
+
function ze(e) {
|
|
1103
1103
|
return Ve(e), e.headers = D.from(e.headers), e.data = Oe.call(
|
|
1104
1104
|
e,
|
|
1105
1105
|
e.transformRequest
|
|
@@ -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 v.isPlainObject(p) && v.isPlainObject(i) ? v.merge.call({ caseless: d }, p, i) : v.isPlainObject(i) ? v.merge({}, i) : v.isArray(i) ? i.slice() : i;
|
|
1126
1126
|
}
|
|
1127
1127
|
function t(p, i, d) {
|
|
1128
|
-
if (
|
|
1129
|
-
if (!
|
|
1128
|
+
if (v.isUndefined(i)) {
|
|
1129
|
+
if (!v.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 (!v.isUndefined(i))
|
|
1136
1136
|
return n(void 0, i);
|
|
1137
1137
|
}
|
|
1138
1138
|
function s(p, i) {
|
|
1139
|
-
if (
|
|
1140
|
-
if (!
|
|
1139
|
+
if (v.isUndefined(i)) {
|
|
1140
|
+
if (!v.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 v.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
|
+
v.isUndefined(h) && d !== l || (o[i] = h);
|
|
1185
1185
|
}), o;
|
|
1186
1186
|
}
|
|
1187
1187
|
const st = "1.6.2", we = {};
|
|
@@ -1229,7 +1229,7 @@ function Rr(e, a, o) {
|
|
|
1229
1229
|
const Pe = {
|
|
1230
1230
|
assertOptions: Rr,
|
|
1231
1231
|
validators: we
|
|
1232
|
-
},
|
|
1232
|
+
}, X = Pe.validators;
|
|
1233
1233
|
class oe {
|
|
1234
1234
|
constructor(a) {
|
|
1235
1235
|
this.defaults = a, this.interceptors = {
|
|
@@ -1246,26 +1246,26 @@ 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
1251
|
n !== void 0 && Pe.assertOptions(n, {
|
|
1252
|
-
silentJSONParsing:
|
|
1253
|
-
forcedJSONParsing:
|
|
1254
|
-
clarifyTimeoutError:
|
|
1255
|
-
}, !1), t != null && (
|
|
1252
|
+
silentJSONParsing: X.transitional(X.boolean),
|
|
1253
|
+
forcedJSONParsing: X.transitional(X.boolean),
|
|
1254
|
+
clarifyTimeoutError: X.transitional(X.boolean)
|
|
1255
|
+
}, !1), t != null && (v.isFunction(t) ? o.paramsSerializer = {
|
|
1256
1256
|
serialize: t
|
|
1257
1257
|
} : Pe.assertOptions(t, {
|
|
1258
|
-
encode:
|
|
1259
|
-
serialize:
|
|
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 && v.merge(
|
|
1262
1262
|
r.common,
|
|
1263
1263
|
r[o.method]
|
|
1264
1264
|
);
|
|
1265
|
-
r &&
|
|
1265
|
+
r && v.forEach(
|
|
1266
1266
|
["delete", "get", "head", "post", "put", "patch", "common"],
|
|
1267
|
-
(
|
|
1268
|
-
delete r[
|
|
1267
|
+
(R) => {
|
|
1268
|
+
delete r[R];
|
|
1269
1269
|
}
|
|
1270
1270
|
), o.headers = D.concat(s, r);
|
|
1271
1271
|
const l = [];
|
|
@@ -1279,50 +1279,50 @@ class oe {
|
|
|
1279
1279
|
});
|
|
1280
1280
|
let i, d = 0, h;
|
|
1281
1281
|
if (!c) {
|
|
1282
|
-
const
|
|
1283
|
-
for (
|
|
1284
|
-
i = i.then(
|
|
1282
|
+
const R = [ze.bind(this), void 0];
|
|
1283
|
+
for (R.unshift.apply(R, l), R.push.apply(R, p), h = R.length, i = Promise.resolve(o); d < h; )
|
|
1284
|
+
i = i.then(R[d++], R[d++]);
|
|
1285
1285
|
return i;
|
|
1286
1286
|
}
|
|
1287
1287
|
h = l.length;
|
|
1288
|
-
let
|
|
1288
|
+
let O = o;
|
|
1289
1289
|
for (d = 0; d < h; ) {
|
|
1290
|
-
const
|
|
1290
|
+
const R = l[d++], S = l[d++];
|
|
1291
1291
|
try {
|
|
1292
|
-
|
|
1292
|
+
O = R(O);
|
|
1293
1293
|
} catch (w) {
|
|
1294
1294
|
S.call(this, w);
|
|
1295
1295
|
break;
|
|
1296
1296
|
}
|
|
1297
1297
|
}
|
|
1298
1298
|
try {
|
|
1299
|
-
i =
|
|
1300
|
-
} catch (
|
|
1301
|
-
return Promise.reject(
|
|
1299
|
+
i = ze.call(this, O);
|
|
1300
|
+
} catch (R) {
|
|
1301
|
+
return Promise.reject(R);
|
|
1302
1302
|
}
|
|
1303
1303
|
for (d = 0, h = p.length; d < h; )
|
|
1304
1304
|
i = i.then(p[d++], p[d++]);
|
|
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
|
+
v.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
|
+
v.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 v.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 v.extend(o, se.prototype, a, { allOwnKeys: !0 }), v.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,13 +1501,13 @@ 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(v.isHTMLForm(e) ? new FormData(e) : e);
|
|
1507
1507
|
E.getAdapter = at.getAdapter;
|
|
1508
1508
|
E.HttpStatusCode = wr;
|
|
1509
1509
|
E.default = E;
|
|
1510
|
-
const
|
|
1510
|
+
const V = E, u = "https://coscine-hristov.web.vulcanus.otc.coscine.dev/coscine".replace(/\/+$/, "");
|
|
1511
1511
|
class Tr extends Error {
|
|
1512
1512
|
constructor(a, o) {
|
|
1513
1513
|
super(o), this.field = a, this.name = "RequiredError";
|
|
@@ -1577,14 +1577,14 @@ const I = function(e, ...a) {
|
|
|
1577
1577
|
*/
|
|
1578
1578
|
getAllActivityLogs: async (a, o, n, t, r, s, l, c, p, i = {}) => {
|
|
1579
1579
|
const d = "/api/v2/admin/activity-logs", h = new URL(d, m);
|
|
1580
|
-
let
|
|
1581
|
-
e && (
|
|
1582
|
-
const
|
|
1580
|
+
let O;
|
|
1581
|
+
e && (O = e.baseOptions);
|
|
1582
|
+
const R = { method: "GET", ...O, ...i }, S = {}, w = {};
|
|
1583
1583
|
await P(S, "Authorization", e), a !== void 0 && (w.ActivityTimestampBefore = a instanceof Date ? a.toISOString() : a), o !== void 0 && (w.ActivityTimestampAfter = o instanceof Date ? o.toISOString() : o), n !== void 0 && (w.Guid = n), t !== void 0 && (w.UserId = t), r !== void 0 && (w.RegularExpression = r), s !== void 0 && (w.HttpMethod = s), l !== void 0 && (w.PageNumber = l), c !== void 0 && (w.PageSize = c), p !== void 0 && (w.OrderBy = p), I(h, w);
|
|
1584
|
-
let C =
|
|
1585
|
-
return
|
|
1584
|
+
let C = O && O.headers ? O.headers : {};
|
|
1585
|
+
return R.headers = { ...S, ...C, ...i.headers }, {
|
|
1586
1586
|
url: y(h),
|
|
1587
|
-
options:
|
|
1587
|
+
options: R
|
|
1588
1588
|
};
|
|
1589
1589
|
},
|
|
1590
1590
|
/**
|
|
@@ -1603,10 +1603,10 @@ const I = function(e, ...a) {
|
|
|
1603
1603
|
const c = "/api/v2/admin/projects", p = new URL(c, m);
|
|
1604
1604
|
let i;
|
|
1605
1605
|
e && (i = e.baseOptions);
|
|
1606
|
-
const d = { method: "GET", ...i, ...l }, h = {},
|
|
1607
|
-
await P(h, "Authorization", e), a !== void 0 && (
|
|
1608
|
-
let
|
|
1609
|
-
return d.headers = { ...h, ...
|
|
1606
|
+
const d = { method: "GET", ...i, ...l }, h = {}, O = {};
|
|
1607
|
+
await P(h, "Authorization", e), a !== void 0 && (O.TopLevel = a), o !== void 0 && (O.IncludeDeleted = o), n !== void 0 && (O.IncludeQuotas = n), t !== void 0 && (O.PageSize = t), r !== void 0 && (O.PageNumber = r), s !== void 0 && (O.OrderBy = s), I(p, O);
|
|
1608
|
+
let R = i && i.headers ? i.headers : {};
|
|
1609
|
+
return d.headers = { ...h, ...R, ...l.headers }, {
|
|
1610
1610
|
url: y(p),
|
|
1611
1611
|
options: d
|
|
1612
1612
|
};
|
|
@@ -1628,8 +1628,8 @@ const I = function(e, ...a) {
|
|
|
1628
1628
|
e && (p = e.baseOptions);
|
|
1629
1629
|
const i = { method: "GET", ...p, ...s }, d = {}, h = {};
|
|
1630
1630
|
await P(d, "Authorization", e), a !== void 0 && (h.IncludeDeleted = a), o !== void 0 && (h.IncludeQuotas = o), n !== void 0 && (h.PageSize = n), t !== void 0 && (h.PageNumber = t), r !== void 0 && (h.OrderBy = r), I(c, h);
|
|
1631
|
-
let
|
|
1632
|
-
return i.headers = { ...d, ...
|
|
1631
|
+
let O = p && p.headers ? p.headers : {};
|
|
1632
|
+
return i.headers = { ...d, ...O, ...s.headers }, {
|
|
1633
1633
|
url: y(c),
|
|
1634
1634
|
options: i
|
|
1635
1635
|
};
|
|
@@ -1753,7 +1753,7 @@ const I = function(e, ...a) {
|
|
|
1753
1753
|
async apiV2AdminOptions(o) {
|
|
1754
1754
|
var s, l;
|
|
1755
1755
|
const n = await a.apiV2AdminOptions(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, r = (l = (s = A["AdminApi.apiV2AdminOptions"]) == null ? void 0 : s[t]) == null ? void 0 : l.url;
|
|
1756
|
-
return (c, p) => b(n,
|
|
1756
|
+
return (c, p) => b(n, V, u, e)(c, r || p);
|
|
1757
1757
|
},
|
|
1758
1758
|
/**
|
|
1759
1759
|
* <p><strong>Required JWT roles for access:</strong> <code>administrator</code>.</p>
|
|
@@ -1772,8 +1772,8 @@ const I = function(e, ...a) {
|
|
|
1772
1772
|
*/
|
|
1773
1773
|
async getAllActivityLogs(o, n, t, r, s, l, c, p, i, d) {
|
|
1774
1774
|
var S, w;
|
|
1775
|
-
const h = await a.getAllActivityLogs(o, n, t, r, s, l, c, p, i, d),
|
|
1776
|
-
return (C,
|
|
1775
|
+
const h = await a.getAllActivityLogs(o, n, t, r, s, l, c, p, i, d), O = (e == null ? void 0 : e.serverIndex) ?? 0, R = (w = (S = A["AdminApi.getAllActivityLogs"]) == null ? void 0 : S[O]) == null ? void 0 : w.url;
|
|
1776
|
+
return (C, M) => b(h, V, u, e)(C, R || M);
|
|
1777
1777
|
},
|
|
1778
1778
|
/**
|
|
1779
1779
|
* <p><strong>Required JWT roles for access:</strong> <code>administrator</code>.</p>
|
|
@@ -1788,9 +1788,9 @@ const I = function(e, ...a) {
|
|
|
1788
1788
|
* @throws {RequiredError}
|
|
1789
1789
|
*/
|
|
1790
1790
|
async getAllProjects(o, n, t, r, s, l, c) {
|
|
1791
|
-
var h,
|
|
1792
|
-
const p = await a.getAllProjects(o, n, t, r, s, l, c), i = (e == null ? void 0 : e.serverIndex) ?? 0, d = (
|
|
1793
|
-
return (
|
|
1791
|
+
var h, O;
|
|
1792
|
+
const p = await a.getAllProjects(o, n, t, r, s, l, c), i = (e == null ? void 0 : e.serverIndex) ?? 0, d = (O = (h = A["AdminApi.getAllProjects"]) == null ? void 0 : h[i]) == null ? void 0 : O.url;
|
|
1793
|
+
return (R, S) => b(p, V, u, e)(R, 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 (
|
|
1809
|
+
return (O, R) => b(c, V, u, e)(O, i || R);
|
|
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,
|
|
1824
|
+
return (h, O) => b(l, V, u, e)(h, p || O);
|
|
1825
1825
|
},
|
|
1826
1826
|
/**
|
|
1827
1827
|
* <p><strong>Required JWT roles for access:</strong> <code>administrator</code>.</p>
|
|
@@ -1835,7 +1835,7 @@ const I = function(e, ...a) {
|
|
|
1835
1835
|
async getDeployedGraphs(o, n, t, r) {
|
|
1836
1836
|
var p, i;
|
|
1837
1837
|
const s = await a.getDeployedGraphs(o, n, t, r), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (i = (p = A["AdminApi.getDeployedGraphs"]) == null ? void 0 : p[l]) == null ? void 0 : i.url;
|
|
1838
|
-
return (d, h) => b(s,
|
|
1838
|
+
return (d, h) => b(s, V, u, e)(d, c || h);
|
|
1839
1839
|
},
|
|
1840
1840
|
/**
|
|
1841
1841
|
* <p><strong>Required JWT roles for access:</strong> <code>administrator</code>.</p>
|
|
@@ -1848,7 +1848,7 @@ const I = function(e, ...a) {
|
|
|
1848
1848
|
async getMetadataGraph(o, n, t) {
|
|
1849
1849
|
var c, p;
|
|
1850
1850
|
const r = await a.getMetadataGraph(o, n, t), s = (e == null ? void 0 : e.serverIndex) ?? 0, l = (p = (c = A["AdminApi.getMetadataGraph"]) == null ? void 0 : c[s]) == null ? void 0 : p.url;
|
|
1851
|
-
return (i, d) => b(r,
|
|
1851
|
+
return (i, d) => b(r, V, u, e)(i, l || d);
|
|
1852
1852
|
},
|
|
1853
1853
|
/**
|
|
1854
1854
|
* <p><strong>Required JWT roles for access:</strong> <code>administrator</code>.</p>
|
|
@@ -1861,7 +1861,7 @@ const I = function(e, ...a) {
|
|
|
1861
1861
|
async patchMetadata(o, n, t) {
|
|
1862
1862
|
var c, p;
|
|
1863
1863
|
const r = await a.patchMetadata(o, n, t), s = (e == null ? void 0 : e.serverIndex) ?? 0, l = (p = (c = A["AdminApi.patchMetadata"]) == null ? void 0 : c[s]) == null ? void 0 : p.url;
|
|
1864
|
-
return (i, d) => b(r,
|
|
1864
|
+
return (i, d) => b(r, V, u, e)(i, l || d);
|
|
1865
1865
|
},
|
|
1866
1866
|
/**
|
|
1867
1867
|
* <p><strong>Required JWT roles for access:</strong> <code>administrator</code>.</p>
|
|
@@ -1874,7 +1874,7 @@ const I = function(e, ...a) {
|
|
|
1874
1874
|
async updateMetadataGraph(o, n, t) {
|
|
1875
1875
|
var c, p;
|
|
1876
1876
|
const r = await a.updateMetadataGraph(o, n, t), s = (e == null ? void 0 : e.serverIndex) ?? 0, l = (p = (c = A["AdminApi.updateMetadataGraph"]) == null ? void 0 : c[s]) == null ? void 0 : p.url;
|
|
1877
|
-
return (i, d) => b(r,
|
|
1877
|
+
return (i, d) => b(r, V, u, e)(i, l || d);
|
|
1878
1878
|
}
|
|
1879
1879
|
};
|
|
1880
1880
|
}, Br = function(e, a, o) {
|
|
@@ -2047,10 +2047,10 @@ const I = function(e, ...a) {
|
|
|
2047
2047
|
const c = "/api/v2/application-profiles/profiles", p = new URL(c, m);
|
|
2048
2048
|
let i;
|
|
2049
2049
|
e && (i = e.baseOptions);
|
|
2050
|
-
const d = { method: "GET", ...i, ...l }, h = {},
|
|
2051
|
-
await P(h, "Authorization", e), a !== void 0 && (
|
|
2052
|
-
let
|
|
2053
|
-
return d.headers = { ...h, ...
|
|
2050
|
+
const d = { method: "GET", ...i, ...l }, h = {}, O = {};
|
|
2051
|
+
await P(h, "Authorization", e), a !== void 0 && (O.SearchTerm = a), o !== void 0 && (O.Language = o), n !== void 0 && (O.Modules = n), t !== void 0 && (O.PageNumber = t), r !== void 0 && (O.PageSize = r), s !== void 0 && (O.OrderBy = s), I(p, O);
|
|
2052
|
+
let R = i && i.headers ? i.headers : {};
|
|
2053
|
+
return d.headers = { ...h, ...R, ...l.headers }, {
|
|
2054
2054
|
url: y(p),
|
|
2055
2055
|
options: d
|
|
2056
2056
|
};
|
|
@@ -2088,7 +2088,7 @@ const I = function(e, ...a) {
|
|
|
2088
2088
|
async apiV2ApplicationProfilesOptions(o) {
|
|
2089
2089
|
var s, l;
|
|
2090
2090
|
const n = await a.apiV2ApplicationProfilesOptions(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, r = (l = (s = A["ApplicationProfileApi.apiV2ApplicationProfilesOptions"]) == null ? void 0 : s[t]) == null ? void 0 : l.url;
|
|
2091
|
-
return (c, p) => b(n,
|
|
2091
|
+
return (c, p) => b(n, V, u, e)(c, r || p);
|
|
2092
2092
|
},
|
|
2093
2093
|
/**
|
|
2094
2094
|
*
|
|
@@ -2100,7 +2100,7 @@ const I = function(e, ...a) {
|
|
|
2100
2100
|
async createApplicationProfileRequest(o, n) {
|
|
2101
2101
|
var l, c;
|
|
2102
2102
|
const t = await a.createApplicationProfileRequest(o, n), r = (e == null ? void 0 : e.serverIndex) ?? 0, s = (c = (l = A["ApplicationProfileApi.createApplicationProfileRequest"]) == null ? void 0 : l[r]) == null ? void 0 : c.url;
|
|
2103
|
-
return (p, i) => b(t,
|
|
2103
|
+
return (p, i) => b(t, V, u, e)(p, s || i);
|
|
2104
2104
|
},
|
|
2105
2105
|
/**
|
|
2106
2106
|
*
|
|
@@ -2114,7 +2114,7 @@ const I = function(e, ...a) {
|
|
|
2114
2114
|
async getApplicationProfile(o, n, t, r) {
|
|
2115
2115
|
var p, i;
|
|
2116
2116
|
const s = await a.getApplicationProfile(o, n, t, r), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (i = (p = A["ApplicationProfileApi.getApplicationProfile"]) == null ? void 0 : p[l]) == null ? void 0 : i.url;
|
|
2117
|
-
return (d, h) => b(s,
|
|
2117
|
+
return (d, h) => b(s, V, u, e)(d, c || h);
|
|
2118
2118
|
},
|
|
2119
2119
|
/**
|
|
2120
2120
|
*
|
|
@@ -2129,9 +2129,9 @@ const I = function(e, ...a) {
|
|
|
2129
2129
|
* @throws {RequiredError}
|
|
2130
2130
|
*/
|
|
2131
2131
|
async getApplicationProfiles(o, n, t, r, s, l, c) {
|
|
2132
|
-
var h,
|
|
2133
|
-
const p = await a.getApplicationProfiles(o, n, t, r, s, l, c), i = (e == null ? void 0 : e.serverIndex) ?? 0, d = (
|
|
2134
|
-
return (
|
|
2132
|
+
var h, O;
|
|
2133
|
+
const p = await a.getApplicationProfiles(o, n, t, r, s, l, c), i = (e == null ? void 0 : e.serverIndex) ?? 0, d = (O = (h = A["ApplicationProfileApi.getApplicationProfiles"]) == null ? void 0 : h[i]) == null ? void 0 : O.url;
|
|
2134
|
+
return (R, S) => b(p, V, u, e)(R, d || S);
|
|
2135
2135
|
},
|
|
2136
2136
|
/**
|
|
2137
2137
|
*
|
|
@@ -2143,7 +2143,7 @@ const I = function(e, ...a) {
|
|
|
2143
2143
|
async getRawApplicationProfile(o, n) {
|
|
2144
2144
|
var l, c;
|
|
2145
2145
|
const t = await a.getRawApplicationProfile(o, n), r = (e == null ? void 0 : e.serverIndex) ?? 0, s = (c = (l = A["ApplicationProfileApi.getRawApplicationProfile"]) == null ? void 0 : l[r]) == null ? void 0 : c.url;
|
|
2146
|
-
return (p, i) => b(t,
|
|
2146
|
+
return (p, i) => b(t, V, u, e)(p, s || i);
|
|
2147
2147
|
}
|
|
2148
2148
|
};
|
|
2149
2149
|
}, Lr = function(e, a, o) {
|
|
@@ -2239,8 +2239,8 @@ const I = function(e, ...a) {
|
|
|
2239
2239
|
e && (c = e.baseOptions);
|
|
2240
2240
|
const p = { method: "POST", ...c, ...r }, i = {}, d = {}, h = new (e && e.formDataCtor || FormData)();
|
|
2241
2241
|
await P(i, "Authorization", e), t !== void 0 && h.append("file", t), i["Content-Type"] = "multipart/form-data", I(l, d);
|
|
2242
|
-
let
|
|
2243
|
-
return p.headers = { ...i, ...
|
|
2242
|
+
let O = c && c.headers ? c.headers : {};
|
|
2243
|
+
return p.headers = { ...i, ...O, ...r.headers }, p.data = h, {
|
|
2244
2244
|
url: y(l),
|
|
2245
2245
|
options: p
|
|
2246
2246
|
};
|
|
@@ -2306,14 +2306,14 @@ const I = function(e, ...a) {
|
|
|
2306
2306
|
e && (c = e.baseOptions);
|
|
2307
2307
|
const p = { method: "PUT", ...c, ...r }, i = {}, d = {}, h = new (e && e.formDataCtor || FormData)();
|
|
2308
2308
|
await P(i, "Authorization", e), t !== void 0 && h.append("file", t), i["Content-Type"] = "multipart/form-data", I(l, d);
|
|
2309
|
-
let
|
|
2310
|
-
return p.headers = { ...i, ...
|
|
2309
|
+
let O = c && c.headers ? c.headers : {};
|
|
2310
|
+
return p.headers = { ...i, ...O, ...r.headers }, p.data = h, {
|
|
2311
2311
|
url: y(l),
|
|
2312
2312
|
options: p
|
|
2313
2313
|
};
|
|
2314
2314
|
}
|
|
2315
2315
|
};
|
|
2316
|
-
},
|
|
2316
|
+
}, Mr = function(e) {
|
|
2317
2317
|
const a = Er(e);
|
|
2318
2318
|
return {
|
|
2319
2319
|
/**
|
|
@@ -2327,7 +2327,7 @@ const I = function(e, ...a) {
|
|
|
2327
2327
|
async apiV2ProjectsProjectIdResourcesResourceIdBlobsOptions(o, n, t) {
|
|
2328
2328
|
var c, p;
|
|
2329
2329
|
const r = await a.apiV2ProjectsProjectIdResourcesResourceIdBlobsOptions(o, n, t), s = (e == null ? void 0 : e.serverIndex) ?? 0, l = (p = (c = A["BlobApi.apiV2ProjectsProjectIdResourcesResourceIdBlobsOptions"]) == null ? void 0 : c[s]) == null ? void 0 : p.url;
|
|
2330
|
-
return (i, d) => b(r,
|
|
2330
|
+
return (i, d) => b(r, V, 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,
|
|
2345
|
+
return (h, O) => b(l, V, u, e)(h, p || O);
|
|
2346
2346
|
},
|
|
2347
2347
|
/**
|
|
2348
2348
|
*
|
|
@@ -2356,7 +2356,7 @@ const I = function(e, ...a) {
|
|
|
2356
2356
|
async deleteBlob(o, n, t, r) {
|
|
2357
2357
|
var p, i;
|
|
2358
2358
|
const s = await a.deleteBlob(o, n, t, r), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (i = (p = A["BlobApi.deleteBlob"]) == null ? void 0 : p[l]) == null ? void 0 : i.url;
|
|
2359
|
-
return (d, h) => b(s,
|
|
2359
|
+
return (d, h) => b(s, V, u, e)(d, c || h);
|
|
2360
2360
|
},
|
|
2361
2361
|
/**
|
|
2362
2362
|
*
|
|
@@ -2370,7 +2370,7 @@ const I = function(e, ...a) {
|
|
|
2370
2370
|
async getBlob(o, n, t, r) {
|
|
2371
2371
|
var p, i;
|
|
2372
2372
|
const s = await a.getBlob(o, n, t, r), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (i = (p = A["BlobApi.getBlob"]) == null ? void 0 : p[l]) == null ? void 0 : i.url;
|
|
2373
|
-
return (d, h) => b(s,
|
|
2373
|
+
return (d, h) => b(s, V, u, e)(d, c || h);
|
|
2374
2374
|
},
|
|
2375
2375
|
/**
|
|
2376
2376
|
*
|
|
@@ -2385,11 +2385,11 @@ 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,
|
|
2388
|
+
return (h, O) => b(l, V, u, e)(h, p || O);
|
|
2389
2389
|
}
|
|
2390
2390
|
};
|
|
2391
|
-
},
|
|
2392
|
-
const n =
|
|
2391
|
+
}, zr = function(e, a, o) {
|
|
2392
|
+
const n = Mr(e);
|
|
2393
2393
|
return {
|
|
2394
2394
|
/**
|
|
2395
2395
|
*
|
|
@@ -2516,7 +2516,7 @@ const I = function(e, ...a) {
|
|
|
2516
2516
|
async apiV2DisciplinesOptions(o) {
|
|
2517
2517
|
var s, l;
|
|
2518
2518
|
const n = await a.apiV2DisciplinesOptions(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, r = (l = (s = A["DisciplineApi.apiV2DisciplinesOptions"]) == null ? void 0 : s[t]) == null ? void 0 : l.url;
|
|
2519
|
-
return (c, p) => b(n,
|
|
2519
|
+
return (c, p) => b(n, V, u, e)(c, r || p);
|
|
2520
2520
|
},
|
|
2521
2521
|
/**
|
|
2522
2522
|
*
|
|
@@ -2528,7 +2528,7 @@ const I = function(e, ...a) {
|
|
|
2528
2528
|
async getDiscipline(o, n) {
|
|
2529
2529
|
var l, c;
|
|
2530
2530
|
const t = await a.getDiscipline(o, n), r = (e == null ? void 0 : e.serverIndex) ?? 0, s = (c = (l = A["DisciplineApi.getDiscipline"]) == null ? void 0 : l[r]) == null ? void 0 : c.url;
|
|
2531
|
-
return (p, i) => b(t,
|
|
2531
|
+
return (p, i) => b(t, V, u, e)(p, s || i);
|
|
2532
2532
|
},
|
|
2533
2533
|
/**
|
|
2534
2534
|
*
|
|
@@ -2542,7 +2542,7 @@ const I = function(e, ...a) {
|
|
|
2542
2542
|
async getDisciplines(o, n, t, r) {
|
|
2543
2543
|
var p, i;
|
|
2544
2544
|
const s = await a.getDisciplines(o, n, t, r), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (i = (p = A["DisciplineApi.getDisciplines"]) == null ? void 0 : p[l]) == null ? void 0 : i.url;
|
|
2545
|
-
return (d, h) => b(s,
|
|
2545
|
+
return (d, h) => b(s, V, u, e)(d, c || h);
|
|
2546
2546
|
}
|
|
2547
2547
|
};
|
|
2548
2548
|
}, kr = function(e, a, o) {
|
|
@@ -2654,7 +2654,7 @@ const I = function(e, ...a) {
|
|
|
2654
2654
|
async apiV2HandlesOptions(o) {
|
|
2655
2655
|
var s, l;
|
|
2656
2656
|
const n = await a.apiV2HandlesOptions(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, r = (l = (s = A["HandleApi.apiV2HandlesOptions"]) == null ? void 0 : s[t]) == null ? void 0 : l.url;
|
|
2657
|
-
return (c, p) => b(n,
|
|
2657
|
+
return (c, p) => b(n, V, u, e)(c, r || p);
|
|
2658
2658
|
},
|
|
2659
2659
|
/**
|
|
2660
2660
|
*
|
|
@@ -2667,7 +2667,7 @@ const I = function(e, ...a) {
|
|
|
2667
2667
|
async getHandle(o, n, t) {
|
|
2668
2668
|
var c, p;
|
|
2669
2669
|
const r = await a.getHandle(o, n, t), s = (e == null ? void 0 : e.serverIndex) ?? 0, l = (p = (c = A["HandleApi.getHandle"]) == null ? void 0 : c[s]) == null ? void 0 : p.url;
|
|
2670
|
-
return (i, d) => b(r,
|
|
2670
|
+
return (i, d) => b(r, V, u, e)(i, l || d);
|
|
2671
2671
|
},
|
|
2672
2672
|
/**
|
|
2673
2673
|
* <p><strong>Required JWT roles for access:</strong> <code>administrator</code>.</p>
|
|
@@ -2681,7 +2681,7 @@ const I = function(e, ...a) {
|
|
|
2681
2681
|
async updateHandle(o, n, t, r) {
|
|
2682
2682
|
var p, i;
|
|
2683
2683
|
const s = await a.updateHandle(o, n, t, r), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (i = (p = A["HandleApi.updateHandle"]) == null ? void 0 : p[l]) == null ? void 0 : i.url;
|
|
2684
|
-
return (d, h) => b(s,
|
|
2684
|
+
return (d, h) => b(s, V, u, e)(d, c || h);
|
|
2685
2685
|
}
|
|
2686
2686
|
};
|
|
2687
2687
|
}, $r = function(e, a, o) {
|
|
@@ -2791,7 +2791,7 @@ const I = function(e, ...a) {
|
|
|
2791
2791
|
async apiV2LanguagesOptions(o) {
|
|
2792
2792
|
var s, l;
|
|
2793
2793
|
const n = await a.apiV2LanguagesOptions(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, r = (l = (s = A["LanguageApi.apiV2LanguagesOptions"]) == null ? void 0 : s[t]) == null ? void 0 : l.url;
|
|
2794
|
-
return (c, p) => b(n,
|
|
2794
|
+
return (c, p) => b(n, V, u, e)(c, r || p);
|
|
2795
2795
|
},
|
|
2796
2796
|
/**
|
|
2797
2797
|
*
|
|
@@ -2803,7 +2803,7 @@ const I = function(e, ...a) {
|
|
|
2803
2803
|
async getLanguage(o, n) {
|
|
2804
2804
|
var l, c;
|
|
2805
2805
|
const t = await a.getLanguage(o, n), r = (e == null ? void 0 : e.serverIndex) ?? 0, s = (c = (l = A["LanguageApi.getLanguage"]) == null ? void 0 : l[r]) == null ? void 0 : c.url;
|
|
2806
|
-
return (p, i) => b(t,
|
|
2806
|
+
return (p, i) => b(t, V, u, e)(p, s || i);
|
|
2807
2807
|
},
|
|
2808
2808
|
/**
|
|
2809
2809
|
*
|
|
@@ -2817,7 +2817,7 @@ const I = function(e, ...a) {
|
|
|
2817
2817
|
async getLanguages(o, n, t, r) {
|
|
2818
2818
|
var p, i;
|
|
2819
2819
|
const s = await a.getLanguages(o, n, t, r), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (i = (p = A["LanguageApi.getLanguages"]) == null ? void 0 : p[l]) == null ? void 0 : i.url;
|
|
2820
|
-
return (d, h) => b(s,
|
|
2820
|
+
return (d, h) => b(s, V, u, e)(d, c || h);
|
|
2821
2821
|
}
|
|
2822
2822
|
};
|
|
2823
2823
|
}, qr = function(e, a, o) {
|
|
@@ -2927,7 +2927,7 @@ const I = function(e, ...a) {
|
|
|
2927
2927
|
async apiV2LicensesOptions(o) {
|
|
2928
2928
|
var s, l;
|
|
2929
2929
|
const n = await a.apiV2LicensesOptions(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, r = (l = (s = A["LicenseApi.apiV2LicensesOptions"]) == null ? void 0 : s[t]) == null ? void 0 : l.url;
|
|
2930
|
-
return (c, p) => b(n,
|
|
2930
|
+
return (c, p) => b(n, V, u, e)(c, r || p);
|
|
2931
2931
|
},
|
|
2932
2932
|
/**
|
|
2933
2933
|
*
|
|
@@ -2939,7 +2939,7 @@ const I = function(e, ...a) {
|
|
|
2939
2939
|
async getLicense(o, n) {
|
|
2940
2940
|
var l, c;
|
|
2941
2941
|
const t = await a.getLicense(o, n), r = (e == null ? void 0 : e.serverIndex) ?? 0, s = (c = (l = A["LicenseApi.getLicense"]) == null ? void 0 : l[r]) == null ? void 0 : c.url;
|
|
2942
|
-
return (p, i) => b(t,
|
|
2942
|
+
return (p, i) => b(t, V, u, e)(p, s || i);
|
|
2943
2943
|
},
|
|
2944
2944
|
/**
|
|
2945
2945
|
*
|
|
@@ -2953,7 +2953,7 @@ const I = function(e, ...a) {
|
|
|
2953
2953
|
async getLicenses(o, n, t, r) {
|
|
2954
2954
|
var p, i;
|
|
2955
2955
|
const s = await a.getLicenses(o, n, t, r), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (i = (p = A["LicenseApi.getLicenses"]) == null ? void 0 : p[l]) == null ? void 0 : i.url;
|
|
2956
|
-
return (d, h) => b(s,
|
|
2956
|
+
return (d, h) => b(s, V, 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
|
*
|
|
@@ -3013,6 +3013,7 @@ const I = function(e, ...a) {
|
|
|
3013
3013
|
*
|
|
3014
3014
|
* @summary Retrieves the current maintenance messages.
|
|
3015
3015
|
* @param {*} [options] Override http request option.
|
|
3016
|
+
* @deprecated
|
|
3016
3017
|
* @throws {RequiredError}
|
|
3017
3018
|
*/
|
|
3018
3019
|
getCurrentMaintenances: async (a = {}) => {
|
|
@@ -3028,8 +3029,8 @@ const I = function(e, ...a) {
|
|
|
3028
3029
|
};
|
|
3029
3030
|
}
|
|
3030
3031
|
};
|
|
3031
|
-
},
|
|
3032
|
-
const a =
|
|
3032
|
+
}, fr = function(e) {
|
|
3033
|
+
const a = Xr(e);
|
|
3033
3034
|
return {
|
|
3034
3035
|
/**
|
|
3035
3036
|
*
|
|
@@ -3040,22 +3041,23 @@ const I = function(e, ...a) {
|
|
|
3040
3041
|
async apiV2MaintenancesOptions(o) {
|
|
3041
3042
|
var s, l;
|
|
3042
3043
|
const n = await a.apiV2MaintenancesOptions(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, r = (l = (s = A["MaintenanceApi.apiV2MaintenancesOptions"]) == null ? void 0 : s[t]) == null ? void 0 : l.url;
|
|
3043
|
-
return (c, p) => b(n,
|
|
3044
|
+
return (c, p) => b(n, V, u, e)(c, r || p);
|
|
3044
3045
|
},
|
|
3045
3046
|
/**
|
|
3046
3047
|
*
|
|
3047
3048
|
* @summary Retrieves the current maintenance messages.
|
|
3048
3049
|
* @param {*} [options] Override http request option.
|
|
3050
|
+
* @deprecated
|
|
3049
3051
|
* @throws {RequiredError}
|
|
3050
3052
|
*/
|
|
3051
3053
|
async getCurrentMaintenances(o) {
|
|
3052
3054
|
var s, l;
|
|
3053
3055
|
const n = await a.getCurrentMaintenances(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, r = (l = (s = A["MaintenanceApi.getCurrentMaintenances"]) == null ? void 0 : s[t]) == null ? void 0 : l.url;
|
|
3054
|
-
return (c, p) => b(n,
|
|
3056
|
+
return (c, p) => b(n, V, u, e)(c, r || p);
|
|
3055
3057
|
}
|
|
3056
3058
|
};
|
|
3057
3059
|
}, Yr = function(e, a, o) {
|
|
3058
|
-
const n =
|
|
3060
|
+
const n = fr(e);
|
|
3059
3061
|
return {
|
|
3060
3062
|
/**
|
|
3061
3063
|
*
|
|
@@ -3070,6 +3072,7 @@ const I = function(e, ...a) {
|
|
|
3070
3072
|
*
|
|
3071
3073
|
* @summary Retrieves the current maintenance messages.
|
|
3072
3074
|
* @param {*} [options] Override http request option.
|
|
3075
|
+
* @deprecated
|
|
3073
3076
|
* @throws {RequiredError}
|
|
3074
3077
|
*/
|
|
3075
3078
|
getCurrentMaintenances(t) {
|
|
@@ -3132,10 +3135,10 @@ const I = function(e, ...a) {
|
|
|
3132
3135
|
const c = "/api/v2/organizations", p = new URL(c, m);
|
|
3133
3136
|
let i;
|
|
3134
3137
|
e && (i = e.baseOptions);
|
|
3135
|
-
const d = { method: "GET", ...i, ...l }, h = {},
|
|
3136
|
-
await P(h, "Authorization", e), a !== void 0 && (
|
|
3137
|
-
let
|
|
3138
|
-
return d.headers = { ...h, ...
|
|
3138
|
+
const d = { method: "GET", ...i, ...l }, h = {}, O = {};
|
|
3139
|
+
await P(h, "Authorization", e), a !== void 0 && (O.SearchTerm = a), o !== void 0 && (O.Language = o), n !== void 0 && (O.FilterByPublicationService = n), t !== void 0 && (O.PageNumber = t), r !== void 0 && (O.PageSize = r), s !== void 0 && (O.OrderBy = s), I(p, O);
|
|
3140
|
+
let R = i && i.headers ? i.headers : {};
|
|
3141
|
+
return d.headers = { ...h, ...R, ...l.headers }, {
|
|
3139
3142
|
url: y(p),
|
|
3140
3143
|
options: d
|
|
3141
3144
|
};
|
|
@@ -3153,7 +3156,7 @@ const I = function(e, ...a) {
|
|
|
3153
3156
|
async apiV2OrganizationsOptions(o) {
|
|
3154
3157
|
var s, l;
|
|
3155
3158
|
const n = await a.apiV2OrganizationsOptions(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, r = (l = (s = A["OrganizationApi.apiV2OrganizationsOptions"]) == null ? void 0 : s[t]) == null ? void 0 : l.url;
|
|
3156
|
-
return (c, p) => b(n,
|
|
3159
|
+
return (c, p) => b(n, V, u, e)(c, r || p);
|
|
3157
3160
|
},
|
|
3158
3161
|
/**
|
|
3159
3162
|
*
|
|
@@ -3165,7 +3168,7 @@ const I = function(e, ...a) {
|
|
|
3165
3168
|
async getOrganization(o, n) {
|
|
3166
3169
|
var l, c;
|
|
3167
3170
|
const t = await a.getOrganization(o, n), r = (e == null ? void 0 : e.serverIndex) ?? 0, s = (c = (l = A["OrganizationApi.getOrganization"]) == null ? void 0 : l[r]) == null ? void 0 : c.url;
|
|
3168
|
-
return (p, i) => b(t,
|
|
3171
|
+
return (p, i) => b(t, V, u, e)(p, s || i);
|
|
3169
3172
|
},
|
|
3170
3173
|
/**
|
|
3171
3174
|
*
|
|
@@ -3180,9 +3183,9 @@ const I = function(e, ...a) {
|
|
|
3180
3183
|
* @throws {RequiredError}
|
|
3181
3184
|
*/
|
|
3182
3185
|
async getOrganizations(o, n, t, r, s, l, c) {
|
|
3183
|
-
var h,
|
|
3184
|
-
const p = await a.getOrganizations(o, n, t, r, s, l, c), i = (e == null ? void 0 : e.serverIndex) ?? 0, d = (
|
|
3185
|
-
return (
|
|
3186
|
+
var h, O;
|
|
3187
|
+
const p = await a.getOrganizations(o, n, t, r, s, l, c), i = (e == null ? void 0 : e.serverIndex) ?? 0, d = (O = (h = A["OrganizationApi.getOrganizations"]) == null ? void 0 : h[i]) == null ? void 0 : O.url;
|
|
3188
|
+
return (R, S) => b(p, V, u, e)(R, d || S);
|
|
3186
3189
|
}
|
|
3187
3190
|
};
|
|
3188
3191
|
}, ea = function(e, a, o) {
|
|
@@ -3275,10 +3278,10 @@ const I = function(e, ...a) {
|
|
|
3275
3278
|
const c = "/api/v2/pids", p = new URL(c, m);
|
|
3276
3279
|
let i;
|
|
3277
3280
|
e && (i = e.baseOptions);
|
|
3278
|
-
const d = { method: "GET", ...i, ...l }, h = {},
|
|
3279
|
-
await P(h, "Authorization", e), a !== void 0 && (
|
|
3280
|
-
let
|
|
3281
|
-
return d.headers = { ...h, ...
|
|
3281
|
+
const d = { method: "GET", ...i, ...l }, h = {}, O = {};
|
|
3282
|
+
await P(h, "Authorization", e), a !== void 0 && (O.IncludeProjects = a), o !== void 0 && (O.IncludeResources = o), n !== void 0 && (O.IncludeDeleted = n), t !== void 0 && (O.PageNumber = t), r !== void 0 && (O.PageSize = r), s !== void 0 && (O.OrderBy = s), I(p, O);
|
|
3283
|
+
let R = i && i.headers ? i.headers : {};
|
|
3284
|
+
return d.headers = { ...h, ...R, ...l.headers }, {
|
|
3282
3285
|
url: y(p),
|
|
3283
3286
|
options: d
|
|
3284
3287
|
};
|
|
@@ -3318,7 +3321,7 @@ const I = function(e, ...a) {
|
|
|
3318
3321
|
async apiV2PidsOptions(o) {
|
|
3319
3322
|
var s, l;
|
|
3320
3323
|
const n = await a.apiV2PidsOptions(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, r = (l = (s = A["PidApi.apiV2PidsOptions"]) == null ? void 0 : s[t]) == null ? void 0 : l.url;
|
|
3321
|
-
return (c, p) => b(n,
|
|
3324
|
+
return (c, p) => b(n, V, u, e)(c, r || p);
|
|
3322
3325
|
},
|
|
3323
3326
|
/**
|
|
3324
3327
|
*
|
|
@@ -3331,7 +3334,7 @@ const I = function(e, ...a) {
|
|
|
3331
3334
|
async getPid(o, n, t) {
|
|
3332
3335
|
var c, p;
|
|
3333
3336
|
const r = await a.getPid(o, n, t), s = (e == null ? void 0 : e.serverIndex) ?? 0, l = (p = (c = A["PidApi.getPid"]) == null ? void 0 : c[s]) == null ? void 0 : p.url;
|
|
3334
|
-
return (i, d) => b(r,
|
|
3337
|
+
return (i, d) => b(r, V, u, e)(i, l || d);
|
|
3335
3338
|
},
|
|
3336
3339
|
/**
|
|
3337
3340
|
* <p><strong>Required JWT roles for access:</strong> <code>administrator</code>.</p>
|
|
@@ -3346,9 +3349,9 @@ const I = function(e, ...a) {
|
|
|
3346
3349
|
* @throws {RequiredError}
|
|
3347
3350
|
*/
|
|
3348
3351
|
async getPids(o, n, t, r, s, l, c) {
|
|
3349
|
-
var h,
|
|
3350
|
-
const p = await a.getPids(o, n, t, r, s, l, c), i = (e == null ? void 0 : e.serverIndex) ?? 0, d = (
|
|
3351
|
-
return (
|
|
3352
|
+
var h, O;
|
|
3353
|
+
const p = await a.getPids(o, n, t, r, s, l, c), i = (e == null ? void 0 : e.serverIndex) ?? 0, d = (O = (h = A["PidApi.getPids"]) == null ? void 0 : h[i]) == null ? void 0 : O.url;
|
|
3354
|
+
return (R, S) => b(p, V, u, e)(R, d || S);
|
|
3352
3355
|
},
|
|
3353
3356
|
/**
|
|
3354
3357
|
*
|
|
@@ -3362,7 +3365,7 @@ const I = function(e, ...a) {
|
|
|
3362
3365
|
async sendRequestToOwner(o, n, t, r) {
|
|
3363
3366
|
var p, i;
|
|
3364
3367
|
const s = await a.sendRequestToOwner(o, n, t, r), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (i = (p = A["PidApi.sendRequestToOwner"]) == null ? void 0 : p[l]) == null ? void 0 : i.url;
|
|
3365
|
-
return (d, h) => b(s,
|
|
3368
|
+
return (d, h) => b(s, V, u, e)(d, c || h);
|
|
3366
3369
|
}
|
|
3367
3370
|
};
|
|
3368
3371
|
}, aa = function(e, a, o) {
|
|
@@ -3505,8 +3508,8 @@ const I = function(e, ...a) {
|
|
|
3505
3508
|
e && (p = e.baseOptions);
|
|
3506
3509
|
const i = { method: "GET", ...p, ...s }, d = {}, h = {};
|
|
3507
3510
|
await P(d, "Authorization", e), a !== void 0 && (h.IncludeOrganizations = a), o !== void 0 && (h.TopLevel = o), n !== void 0 && (h.PageNumber = n), t !== void 0 && (h.PageSize = t), r !== void 0 && (h.OrderBy = r), I(c, h);
|
|
3508
|
-
let
|
|
3509
|
-
return i.headers = { ...d, ...
|
|
3511
|
+
let O = p && p.headers ? p.headers : {};
|
|
3512
|
+
return i.headers = { ...d, ...O, ...s.headers }, {
|
|
3510
3513
|
url: y(c),
|
|
3511
3514
|
options: i
|
|
3512
3515
|
};
|
|
@@ -3545,7 +3548,7 @@ const I = function(e, ...a) {
|
|
|
3545
3548
|
async apiV2ProjectsOptions(o) {
|
|
3546
3549
|
var s, l;
|
|
3547
3550
|
const n = await a.apiV2ProjectsOptions(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, r = (l = (s = A["ProjectApi.apiV2ProjectsOptions"]) == null ? void 0 : s[t]) == null ? void 0 : l.url;
|
|
3548
|
-
return (c, p) => b(n,
|
|
3551
|
+
return (c, p) => b(n, V, u, e)(c, r || p);
|
|
3549
3552
|
},
|
|
3550
3553
|
/**
|
|
3551
3554
|
*
|
|
@@ -3557,7 +3560,7 @@ const I = function(e, ...a) {
|
|
|
3557
3560
|
async createProject(o, n) {
|
|
3558
3561
|
var l, c;
|
|
3559
3562
|
const t = await a.createProject(o, n), r = (e == null ? void 0 : e.serverIndex) ?? 0, s = (c = (l = A["ProjectApi.createProject"]) == null ? void 0 : l[r]) == null ? void 0 : c.url;
|
|
3560
|
-
return (p, i) => b(t,
|
|
3563
|
+
return (p, i) => b(t, V, u, e)(p, s || i);
|
|
3561
3564
|
},
|
|
3562
3565
|
/**
|
|
3563
3566
|
*
|
|
@@ -3569,7 +3572,7 @@ const I = function(e, ...a) {
|
|
|
3569
3572
|
async deleteProject(o, n) {
|
|
3570
3573
|
var l, c;
|
|
3571
3574
|
const t = await a.deleteProject(o, n), r = (e == null ? void 0 : e.serverIndex) ?? 0, s = (c = (l = A["ProjectApi.deleteProject"]) == null ? void 0 : l[r]) == null ? void 0 : c.url;
|
|
3572
|
-
return (p, i) => b(t,
|
|
3575
|
+
return (p, i) => b(t, V, u, e)(p, s || i);
|
|
3573
3576
|
},
|
|
3574
3577
|
/**
|
|
3575
3578
|
*
|
|
@@ -3582,7 +3585,7 @@ const I = function(e, ...a) {
|
|
|
3582
3585
|
async getProject(o, n, t) {
|
|
3583
3586
|
var c, p;
|
|
3584
3587
|
const r = await a.getProject(o, n, t), s = (e == null ? void 0 : e.serverIndex) ?? 0, l = (p = (c = A["ProjectApi.getProject"]) == null ? void 0 : c[s]) == null ? void 0 : p.url;
|
|
3585
|
-
return (i, d) => b(r,
|
|
3588
|
+
return (i, d) => b(r, V, u, e)(i, l || d);
|
|
3586
3589
|
},
|
|
3587
3590
|
/**
|
|
3588
3591
|
*
|
|
@@ -3598,7 +3601,7 @@ const I = function(e, ...a) {
|
|
|
3598
3601
|
async getProjects(o, n, t, r, s, l) {
|
|
3599
3602
|
var d, h;
|
|
3600
3603
|
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 (
|
|
3604
|
+
return (O, R) => b(c, V, u, e)(O, i || R);
|
|
3602
3605
|
},
|
|
3603
3606
|
/**
|
|
3604
3607
|
*
|
|
@@ -3611,7 +3614,7 @@ const I = function(e, ...a) {
|
|
|
3611
3614
|
async updateProject(o, n, t) {
|
|
3612
3615
|
var c, p;
|
|
3613
3616
|
const r = await a.updateProject(o, n, t), s = (e == null ? void 0 : e.serverIndex) ?? 0, l = (p = (c = A["ProjectApi.updateProject"]) == null ? void 0 : c[s]) == null ? void 0 : p.url;
|
|
3614
|
-
return (i, d) => b(r,
|
|
3617
|
+
return (i, d) => b(r, V, u, e)(i, l || d);
|
|
3615
3618
|
}
|
|
3616
3619
|
};
|
|
3617
3620
|
}, na = function(e, a, o) {
|
|
@@ -3799,7 +3802,7 @@ const I = function(e, ...a) {
|
|
|
3799
3802
|
async apiV2ProjectsProjectIdInvitationsOptions(o, n) {
|
|
3800
3803
|
var l, c;
|
|
3801
3804
|
const t = await a.apiV2ProjectsProjectIdInvitationsOptions(o, n), r = (e == null ? void 0 : e.serverIndex) ?? 0, s = (c = (l = A["ProjectInvitationApi.apiV2ProjectsProjectIdInvitationsOptions"]) == null ? void 0 : l[r]) == null ? void 0 : c.url;
|
|
3802
|
-
return (p, i) => b(t,
|
|
3805
|
+
return (p, i) => b(t, V, u, e)(p, s || i);
|
|
3803
3806
|
},
|
|
3804
3807
|
/**
|
|
3805
3808
|
*
|
|
@@ -3812,7 +3815,7 @@ const I = function(e, ...a) {
|
|
|
3812
3815
|
async createProjectInvitation(o, n, t) {
|
|
3813
3816
|
var c, p;
|
|
3814
3817
|
const r = await a.createProjectInvitation(o, n, t), s = (e == null ? void 0 : e.serverIndex) ?? 0, l = (p = (c = A["ProjectInvitationApi.createProjectInvitation"]) == null ? void 0 : c[s]) == null ? void 0 : p.url;
|
|
3815
|
-
return (i, d) => b(r,
|
|
3818
|
+
return (i, d) => b(r, V, u, e)(i, l || d);
|
|
3816
3819
|
},
|
|
3817
3820
|
/**
|
|
3818
3821
|
*
|
|
@@ -3825,7 +3828,7 @@ const I = function(e, ...a) {
|
|
|
3825
3828
|
async deleteProjectInvitation(o, n, t) {
|
|
3826
3829
|
var c, p;
|
|
3827
3830
|
const r = await a.deleteProjectInvitation(o, n, t), s = (e == null ? void 0 : e.serverIndex) ?? 0, l = (p = (c = A["ProjectInvitationApi.deleteProjectInvitation"]) == null ? void 0 : c[s]) == null ? void 0 : p.url;
|
|
3828
|
-
return (i, d) => b(r,
|
|
3831
|
+
return (i, d) => b(r, V, u, e)(i, l || d);
|
|
3829
3832
|
},
|
|
3830
3833
|
/**
|
|
3831
3834
|
*
|
|
@@ -3838,7 +3841,7 @@ const I = function(e, ...a) {
|
|
|
3838
3841
|
async getProjectInvitation(o, n, t) {
|
|
3839
3842
|
var c, p;
|
|
3840
3843
|
const r = await a.getProjectInvitation(o, n, t), s = (e == null ? void 0 : e.serverIndex) ?? 0, l = (p = (c = A["ProjectInvitationApi.getProjectInvitation"]) == null ? void 0 : c[s]) == null ? void 0 : p.url;
|
|
3841
|
-
return (i, d) => b(r,
|
|
3844
|
+
return (i, d) => b(r, V, u, e)(i, l || d);
|
|
3842
3845
|
},
|
|
3843
3846
|
/**
|
|
3844
3847
|
*
|
|
@@ -3853,7 +3856,7 @@ const I = function(e, ...a) {
|
|
|
3853
3856
|
async getProjectInvitations(o, n, t, r, s) {
|
|
3854
3857
|
var i, d;
|
|
3855
3858
|
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,
|
|
3859
|
+
return (h, O) => b(l, V, u, e)(h, p || O);
|
|
3857
3860
|
}
|
|
3858
3861
|
};
|
|
3859
3862
|
}, pa = function(e, a, o) {
|
|
@@ -4055,7 +4058,7 @@ const I = function(e, ...a) {
|
|
|
4055
4058
|
async addMembership(o, n, t) {
|
|
4056
4059
|
var c, p;
|
|
4057
4060
|
const r = await a.addMembership(o, n, t), s = (e == null ? void 0 : e.serverIndex) ?? 0, l = (p = (c = A["ProjectMemberApi.addMembership"]) == null ? void 0 : c[s]) == null ? void 0 : p.url;
|
|
4058
|
-
return (i, d) => b(r,
|
|
4061
|
+
return (i, d) => b(r, V, u, e)(i, l || d);
|
|
4059
4062
|
},
|
|
4060
4063
|
/**
|
|
4061
4064
|
*
|
|
@@ -4067,7 +4070,7 @@ const I = function(e, ...a) {
|
|
|
4067
4070
|
async apiV2ProjectsProjectIdMembersOptions(o, n) {
|
|
4068
4071
|
var l, c;
|
|
4069
4072
|
const t = await a.apiV2ProjectsProjectIdMembersOptions(o, n), r = (e == null ? void 0 : e.serverIndex) ?? 0, s = (c = (l = A["ProjectMemberApi.apiV2ProjectsProjectIdMembersOptions"]) == null ? void 0 : l[r]) == null ? void 0 : c.url;
|
|
4070
|
-
return (p, i) => b(t,
|
|
4073
|
+
return (p, i) => b(t, V, u, e)(p, s || i);
|
|
4071
4074
|
},
|
|
4072
4075
|
/**
|
|
4073
4076
|
*
|
|
@@ -4080,7 +4083,7 @@ const I = function(e, ...a) {
|
|
|
4080
4083
|
async deleteMembership(o, n, t) {
|
|
4081
4084
|
var c, p;
|
|
4082
4085
|
const r = await a.deleteMembership(o, n, t), s = (e == null ? void 0 : e.serverIndex) ?? 0, l = (p = (c = A["ProjectMemberApi.deleteMembership"]) == null ? void 0 : c[s]) == null ? void 0 : p.url;
|
|
4083
|
-
return (i, d) => b(r,
|
|
4086
|
+
return (i, d) => b(r, V, u, e)(i, l || d);
|
|
4084
4087
|
},
|
|
4085
4088
|
/**
|
|
4086
4089
|
*
|
|
@@ -4093,7 +4096,7 @@ const I = function(e, ...a) {
|
|
|
4093
4096
|
async getMembership(o, n, t) {
|
|
4094
4097
|
var c, p;
|
|
4095
4098
|
const r = await a.getMembership(o, n, t), s = (e == null ? void 0 : e.serverIndex) ?? 0, l = (p = (c = A["ProjectMemberApi.getMembership"]) == null ? void 0 : c[s]) == null ? void 0 : p.url;
|
|
4096
|
-
return (i, d) => b(r,
|
|
4099
|
+
return (i, d) => b(r, V, u, e)(i, l || d);
|
|
4097
4100
|
},
|
|
4098
4101
|
/**
|
|
4099
4102
|
*
|
|
@@ -4108,7 +4111,7 @@ const I = function(e, ...a) {
|
|
|
4108
4111
|
async getMemberships(o, n, t, r, s) {
|
|
4109
4112
|
var i, d;
|
|
4110
4113
|
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,
|
|
4114
|
+
return (h, O) => b(l, V, u, e)(h, p || O);
|
|
4112
4115
|
},
|
|
4113
4116
|
/**
|
|
4114
4117
|
*
|
|
@@ -4122,7 +4125,7 @@ const I = function(e, ...a) {
|
|
|
4122
4125
|
async updateMembership(o, n, t, r) {
|
|
4123
4126
|
var p, i;
|
|
4124
4127
|
const s = await a.updateMembership(o, n, t, r), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (i = (p = A["ProjectMemberApi.updateMembership"]) == null ? void 0 : p[l]) == null ? void 0 : i.url;
|
|
4125
|
-
return (d, h) => b(s,
|
|
4128
|
+
return (d, h) => b(s, V, u, e)(d, c || h);
|
|
4126
4129
|
}
|
|
4127
4130
|
};
|
|
4128
4131
|
}, ha = function(e, a, o) {
|
|
@@ -4231,6 +4234,27 @@ const I = function(e, ...a) {
|
|
|
4231
4234
|
url: y(r),
|
|
4232
4235
|
options: l
|
|
4233
4236
|
};
|
|
4237
|
+
},
|
|
4238
|
+
/**
|
|
4239
|
+
*
|
|
4240
|
+
* @summary Retrieves a publication request.
|
|
4241
|
+
* @param {string} projectId The ID of the project.
|
|
4242
|
+
* @param {string} publicationRequestId The ID of the publication request.
|
|
4243
|
+
* @param {*} [options] Override http request option.
|
|
4244
|
+
* @throws {RequiredError}
|
|
4245
|
+
*/
|
|
4246
|
+
getPublicationRequest: async (a, o, n = {}) => {
|
|
4247
|
+
j("getPublicationRequest", "projectId", a), j("getPublicationRequest", "publicationRequestId", o);
|
|
4248
|
+
const t = "/api/v2/projects/{projectId}/publications/requests/{publicationRequestId}".replace("{projectId}", encodeURIComponent(String(a))).replace("{publicationRequestId}", encodeURIComponent(String(o))), r = new URL(t, m);
|
|
4249
|
+
let s;
|
|
4250
|
+
e && (s = e.baseOptions);
|
|
4251
|
+
const l = { method: "GET", ...s, ...n }, c = {}, p = {};
|
|
4252
|
+
await P(c, "Authorization", e), I(r, p);
|
|
4253
|
+
let i = s && s.headers ? s.headers : {};
|
|
4254
|
+
return l.headers = { ...c, ...i, ...n.headers }, {
|
|
4255
|
+
url: y(r),
|
|
4256
|
+
options: l
|
|
4257
|
+
};
|
|
4234
4258
|
}
|
|
4235
4259
|
};
|
|
4236
4260
|
}, Va = function(e) {
|
|
@@ -4246,7 +4270,7 @@ const I = function(e, ...a) {
|
|
|
4246
4270
|
async apiV2ProjectsProjectIdPublicationsRequestsOptions(o, n) {
|
|
4247
4271
|
var l, c;
|
|
4248
4272
|
const t = await a.apiV2ProjectsProjectIdPublicationsRequestsOptions(o, n), r = (e == null ? void 0 : e.serverIndex) ?? 0, s = (c = (l = A["ProjectPublicationRequestApi.apiV2ProjectsProjectIdPublicationsRequestsOptions"]) == null ? void 0 : l[r]) == null ? void 0 : c.url;
|
|
4249
|
-
return (p, i) => b(t,
|
|
4273
|
+
return (p, i) => b(t, V, u, e)(p, s || i);
|
|
4250
4274
|
},
|
|
4251
4275
|
/**
|
|
4252
4276
|
*
|
|
@@ -4259,7 +4283,20 @@ const I = function(e, ...a) {
|
|
|
4259
4283
|
async createPublicationRequest(o, n, t) {
|
|
4260
4284
|
var c, p;
|
|
4261
4285
|
const r = await a.createPublicationRequest(o, n, t), s = (e == null ? void 0 : e.serverIndex) ?? 0, l = (p = (c = A["ProjectPublicationRequestApi.createPublicationRequest"]) == null ? void 0 : c[s]) == null ? void 0 : p.url;
|
|
4262
|
-
return (i, d) => b(r,
|
|
4286
|
+
return (i, d) => b(r, V, u, e)(i, l || d);
|
|
4287
|
+
},
|
|
4288
|
+
/**
|
|
4289
|
+
*
|
|
4290
|
+
* @summary Retrieves a publication request.
|
|
4291
|
+
* @param {string} projectId The ID of the project.
|
|
4292
|
+
* @param {string} publicationRequestId The ID of the publication request.
|
|
4293
|
+
* @param {*} [options] Override http request option.
|
|
4294
|
+
* @throws {RequiredError}
|
|
4295
|
+
*/
|
|
4296
|
+
async getPublicationRequest(o, n, t) {
|
|
4297
|
+
var c, p;
|
|
4298
|
+
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;
|
|
4299
|
+
return (i, d) => b(r, V, u, e)(i, l || d);
|
|
4263
4300
|
}
|
|
4264
4301
|
};
|
|
4265
4302
|
}, ua = function(e, a, o) {
|
|
@@ -4284,6 +4321,16 @@ const I = function(e, ...a) {
|
|
|
4284
4321
|
*/
|
|
4285
4322
|
createPublicationRequest(t, r) {
|
|
4286
4323
|
return n.createPublicationRequest(t.projectId, t.publicationRequestForCreationDto, r).then((s) => s(o, a));
|
|
4324
|
+
},
|
|
4325
|
+
/**
|
|
4326
|
+
*
|
|
4327
|
+
* @summary Retrieves a publication request.
|
|
4328
|
+
* @param {ProjectPublicationRequestApiGetPublicationRequestRequest} requestParameters Request parameters.
|
|
4329
|
+
* @param {*} [options] Override http request option.
|
|
4330
|
+
* @throws {RequiredError}
|
|
4331
|
+
*/
|
|
4332
|
+
getPublicationRequest(t, r) {
|
|
4333
|
+
return n.getPublicationRequest(t.projectId, t.publicationRequestId, r).then((s) => s(o, a));
|
|
4287
4334
|
}
|
|
4288
4335
|
};
|
|
4289
4336
|
}, Aa = function(e) {
|
|
@@ -4388,7 +4435,7 @@ const I = function(e, ...a) {
|
|
|
4388
4435
|
async apiV2ProjectsProjectIdQuotasOptions(o, n) {
|
|
4389
4436
|
var l, c;
|
|
4390
4437
|
const t = await a.apiV2ProjectsProjectIdQuotasOptions(o, n), r = (e == null ? void 0 : e.serverIndex) ?? 0, s = (c = (l = A["ProjectQuotaApi.apiV2ProjectsProjectIdQuotasOptions"]) == null ? void 0 : l[r]) == null ? void 0 : c.url;
|
|
4391
|
-
return (p, i) => b(t,
|
|
4438
|
+
return (p, i) => b(t, V, u, e)(p, s || i);
|
|
4392
4439
|
},
|
|
4393
4440
|
/**
|
|
4394
4441
|
*
|
|
@@ -4401,7 +4448,7 @@ const I = function(e, ...a) {
|
|
|
4401
4448
|
async getProjectQuota(o, n, t) {
|
|
4402
4449
|
var c, p;
|
|
4403
4450
|
const r = await a.getProjectQuota(o, n, t), s = (e == null ? void 0 : e.serverIndex) ?? 0, l = (p = (c = A["ProjectQuotaApi.getProjectQuota"]) == null ? void 0 : c[s]) == null ? void 0 : p.url;
|
|
4404
|
-
return (i, d) => b(r,
|
|
4451
|
+
return (i, d) => b(r, V, u, e)(i, l || d);
|
|
4405
4452
|
},
|
|
4406
4453
|
/**
|
|
4407
4454
|
*
|
|
@@ -4416,7 +4463,7 @@ const I = function(e, ...a) {
|
|
|
4416
4463
|
async getProjectQuotas(o, n, t, r, s) {
|
|
4417
4464
|
var i, d;
|
|
4418
4465
|
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,
|
|
4466
|
+
return (h, O) => b(l, V, u, e)(h, p || O);
|
|
4420
4467
|
},
|
|
4421
4468
|
/**
|
|
4422
4469
|
*
|
|
@@ -4430,7 +4477,7 @@ const I = function(e, ...a) {
|
|
|
4430
4477
|
async updateProjectQuota(o, n, t, r) {
|
|
4431
4478
|
var p, i;
|
|
4432
4479
|
const s = await a.updateProjectQuota(o, n, t, r), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (i = (p = A["ProjectQuotaApi.updateProjectQuota"]) == null ? void 0 : p[l]) == null ? void 0 : i.url;
|
|
4433
|
-
return (d, h) => b(s,
|
|
4480
|
+
return (d, h) => b(s, V, u, e)(d, c || h);
|
|
4434
4481
|
}
|
|
4435
4482
|
};
|
|
4436
4483
|
}, Pa = function(e, a, o) {
|
|
@@ -4621,7 +4668,7 @@ const I = function(e, ...a) {
|
|
|
4621
4668
|
async apiV2ProjectsProjectIdResourcesOptions(o, n) {
|
|
4622
4669
|
var l, c;
|
|
4623
4670
|
const t = await a.apiV2ProjectsProjectIdResourcesOptions(o, n), r = (e == null ? void 0 : e.serverIndex) ?? 0, s = (c = (l = A["ProjectResourceApi.apiV2ProjectsProjectIdResourcesOptions"]) == null ? void 0 : l[r]) == null ? void 0 : c.url;
|
|
4624
|
-
return (p, i) => b(t,
|
|
4671
|
+
return (p, i) => b(t, V, u, e)(p, s || i);
|
|
4625
4672
|
},
|
|
4626
4673
|
/**
|
|
4627
4674
|
*
|
|
@@ -4634,7 +4681,7 @@ const I = function(e, ...a) {
|
|
|
4634
4681
|
async createResourceForProject(o, n, t) {
|
|
4635
4682
|
var c, p;
|
|
4636
4683
|
const r = await a.createResourceForProject(o, n, t), s = (e == null ? void 0 : e.serverIndex) ?? 0, l = (p = (c = A["ProjectResourceApi.createResourceForProject"]) == null ? void 0 : c[s]) == null ? void 0 : p.url;
|
|
4637
|
-
return (i, d) => b(r,
|
|
4684
|
+
return (i, d) => b(r, V, u, e)(i, l || d);
|
|
4638
4685
|
},
|
|
4639
4686
|
/**
|
|
4640
4687
|
*
|
|
@@ -4647,7 +4694,7 @@ const I = function(e, ...a) {
|
|
|
4647
4694
|
async deleteResourceForProject(o, n, t) {
|
|
4648
4695
|
var c, p;
|
|
4649
4696
|
const r = await a.deleteResourceForProject(o, n, t), s = (e == null ? void 0 : e.serverIndex) ?? 0, l = (p = (c = A["ProjectResourceApi.deleteResourceForProject"]) == null ? void 0 : c[s]) == null ? void 0 : p.url;
|
|
4650
|
-
return (i, d) => b(r,
|
|
4697
|
+
return (i, d) => b(r, V, u, e)(i, l || d);
|
|
4651
4698
|
},
|
|
4652
4699
|
/**
|
|
4653
4700
|
*
|
|
@@ -4660,7 +4707,7 @@ const I = function(e, ...a) {
|
|
|
4660
4707
|
async getResourceForProject(o, n, t) {
|
|
4661
4708
|
var c, p;
|
|
4662
4709
|
const r = await a.getResourceForProject(o, n, t), s = (e == null ? void 0 : e.serverIndex) ?? 0, l = (p = (c = A["ProjectResourceApi.getResourceForProject"]) == null ? void 0 : c[s]) == null ? void 0 : p.url;
|
|
4663
|
-
return (i, d) => b(r,
|
|
4710
|
+
return (i, d) => b(r, V, u, e)(i, l || d);
|
|
4664
4711
|
},
|
|
4665
4712
|
/**
|
|
4666
4713
|
*
|
|
@@ -4675,7 +4722,7 @@ const I = function(e, ...a) {
|
|
|
4675
4722
|
async getResourcesForProject(o, n, t, r, s) {
|
|
4676
4723
|
var i, d;
|
|
4677
4724
|
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,
|
|
4725
|
+
return (h, O) => b(l, V, u, e)(h, p || O);
|
|
4679
4726
|
},
|
|
4680
4727
|
/**
|
|
4681
4728
|
*
|
|
@@ -4689,7 +4736,7 @@ const I = function(e, ...a) {
|
|
|
4689
4736
|
async updateResourceForProject(o, n, t, r) {
|
|
4690
4737
|
var p, i;
|
|
4691
4738
|
const s = await a.updateResourceForProject(o, n, t, r), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (i = (p = A["ProjectResourceApi.updateResourceForProject"]) == null ? void 0 : p[l]) == null ? void 0 : i.url;
|
|
4692
|
-
return (d, h) => b(s,
|
|
4739
|
+
return (d, h) => b(s, V, u, e)(d, c || h);
|
|
4693
4740
|
}
|
|
4694
4741
|
};
|
|
4695
4742
|
}, ba = function(e, a, o) {
|
|
@@ -4815,7 +4862,7 @@ const I = function(e, ...a) {
|
|
|
4815
4862
|
async apiV2ProjectsProjectIdResourcesResourceIdQuotaOptions(o, n, t) {
|
|
4816
4863
|
var c, p;
|
|
4817
4864
|
const r = await a.apiV2ProjectsProjectIdResourcesResourceIdQuotaOptions(o, n, t), s = (e == null ? void 0 : e.serverIndex) ?? 0, l = (p = (c = A["ProjectResourceQuotaApi.apiV2ProjectsProjectIdResourcesResourceIdQuotaOptions"]) == null ? void 0 : c[s]) == null ? void 0 : p.url;
|
|
4818
|
-
return (i, d) => b(r,
|
|
4865
|
+
return (i, d) => b(r, V, u, e)(i, l || d);
|
|
4819
4866
|
},
|
|
4820
4867
|
/**
|
|
4821
4868
|
*
|
|
@@ -4828,7 +4875,7 @@ const I = function(e, ...a) {
|
|
|
4828
4875
|
async getQuotaForResourceForProject(o, n, t) {
|
|
4829
4876
|
var c, p;
|
|
4830
4877
|
const r = await a.getQuotaForResourceForProject(o, n, t), s = (e == null ? void 0 : e.serverIndex) ?? 0, l = (p = (c = A["ProjectResourceQuotaApi.getQuotaForResourceForProject"]) == null ? void 0 : c[s]) == null ? void 0 : p.url;
|
|
4831
|
-
return (i, d) => b(r,
|
|
4878
|
+
return (i, d) => b(r, V, u, e)(i, l || d);
|
|
4832
4879
|
}
|
|
4833
4880
|
};
|
|
4834
4881
|
}, va = function(e, a, o) {
|
|
@@ -4911,7 +4958,7 @@ const I = function(e, ...a) {
|
|
|
4911
4958
|
async apiV2ProjectsProjectIdResourceTypesOptions(o, n) {
|
|
4912
4959
|
var l, c;
|
|
4913
4960
|
const t = await a.apiV2ProjectsProjectIdResourceTypesOptions(o, n), r = (e == null ? void 0 : e.serverIndex) ?? 0, s = (c = (l = A["ProjectResourceTypeApi.apiV2ProjectsProjectIdResourceTypesOptions"]) == null ? void 0 : l[r]) == null ? void 0 : c.url;
|
|
4914
|
-
return (p, i) => b(t,
|
|
4961
|
+
return (p, i) => b(t, V, u, e)(p, s || i);
|
|
4915
4962
|
},
|
|
4916
4963
|
/**
|
|
4917
4964
|
*
|
|
@@ -4923,7 +4970,7 @@ const I = function(e, ...a) {
|
|
|
4923
4970
|
async getAvailableResourceTypesInformationForProject(o, n) {
|
|
4924
4971
|
var l, c;
|
|
4925
4972
|
const t = await a.getAvailableResourceTypesInformationForProject(o, n), r = (e == null ? void 0 : e.serverIndex) ?? 0, s = (c = (l = A["ProjectResourceTypeApi.getAvailableResourceTypesInformationForProject"]) == null ? void 0 : l[r]) == null ? void 0 : c.url;
|
|
4926
|
-
return (p, i) => b(t,
|
|
4973
|
+
return (p, i) => b(t, V, u, e)(p, s || i);
|
|
4927
4974
|
}
|
|
4928
4975
|
};
|
|
4929
4976
|
}, Ta = function(e, a, o) {
|
|
@@ -5003,7 +5050,7 @@ const I = function(e, ...a) {
|
|
|
5003
5050
|
async apiV2ResourcesOptions(o) {
|
|
5004
5051
|
var s, l;
|
|
5005
5052
|
const n = await a.apiV2ResourcesOptions(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, r = (l = (s = A["ResourceApi.apiV2ResourcesOptions"]) == null ? void 0 : s[t]) == null ? void 0 : l.url;
|
|
5006
|
-
return (c, p) => b(n,
|
|
5053
|
+
return (c, p) => b(n, V, u, e)(c, r || p);
|
|
5007
5054
|
},
|
|
5008
5055
|
/**
|
|
5009
5056
|
*
|
|
@@ -5015,7 +5062,7 @@ const I = function(e, ...a) {
|
|
|
5015
5062
|
async getResource(o, n) {
|
|
5016
5063
|
var l, c;
|
|
5017
5064
|
const t = await a.getResource(o, n), r = (e == null ? void 0 : e.serverIndex) ?? 0, s = (c = (l = A["ResourceApi.getResource"]) == null ? void 0 : l[r]) == null ? void 0 : c.url;
|
|
5018
|
-
return (p, i) => b(t,
|
|
5065
|
+
return (p, i) => b(t, V, u, e)(p, s || i);
|
|
5019
5066
|
}
|
|
5020
5067
|
};
|
|
5021
5068
|
}, Ba = function(e, a, o) {
|
|
@@ -5177,7 +5224,7 @@ const I = function(e, ...a) {
|
|
|
5177
5224
|
async apiV2ResourceTypesOptions(o) {
|
|
5178
5225
|
var s, l;
|
|
5179
5226
|
const n = await a.apiV2ResourceTypesOptions(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, r = (l = (s = A["ResourceTypeApi.apiV2ResourceTypesOptions"]) == null ? void 0 : s[t]) == null ? void 0 : l.url;
|
|
5180
|
-
return (c, p) => b(n,
|
|
5227
|
+
return (c, p) => b(n, V, u, e)(c, r || p);
|
|
5181
5228
|
},
|
|
5182
5229
|
/**
|
|
5183
5230
|
*
|
|
@@ -5191,7 +5238,7 @@ const I = function(e, ...a) {
|
|
|
5191
5238
|
async getAllGitlabBranchesForProject(o, n, t, r) {
|
|
5192
5239
|
var p, i;
|
|
5193
5240
|
const s = await a.getAllGitlabBranchesForProject(o, n, t, r), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (i = (p = A["ResourceTypeApi.getAllGitlabBranchesForProject"]) == null ? void 0 : p[l]) == null ? void 0 : i.url;
|
|
5194
|
-
return (d, h) => b(s,
|
|
5241
|
+
return (d, h) => b(s, V, u, e)(d, c || h);
|
|
5195
5242
|
},
|
|
5196
5243
|
/**
|
|
5197
5244
|
*
|
|
@@ -5204,7 +5251,7 @@ const I = function(e, ...a) {
|
|
|
5204
5251
|
async getAllGitlabProjects(o, n, t) {
|
|
5205
5252
|
var c, p;
|
|
5206
5253
|
const r = await a.getAllGitlabProjects(o, n, t), s = (e == null ? void 0 : e.serverIndex) ?? 0, l = (p = (c = A["ResourceTypeApi.getAllGitlabProjects"]) == null ? void 0 : c[s]) == null ? void 0 : p.url;
|
|
5207
|
-
return (i, d) => b(r,
|
|
5254
|
+
return (i, d) => b(r, V, u, e)(i, l || d);
|
|
5208
5255
|
},
|
|
5209
5256
|
/**
|
|
5210
5257
|
*
|
|
@@ -5215,7 +5262,7 @@ const I = function(e, ...a) {
|
|
|
5215
5262
|
async getAllResourceTypesInformation(o) {
|
|
5216
5263
|
var s, l;
|
|
5217
5264
|
const n = await a.getAllResourceTypesInformation(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, r = (l = (s = A["ResourceTypeApi.getAllResourceTypesInformation"]) == null ? void 0 : s[t]) == null ? void 0 : l.url;
|
|
5218
|
-
return (c, p) => b(n,
|
|
5265
|
+
return (c, p) => b(n, V, u, e)(c, r || p);
|
|
5219
5266
|
},
|
|
5220
5267
|
/**
|
|
5221
5268
|
*
|
|
@@ -5229,7 +5276,7 @@ const I = function(e, ...a) {
|
|
|
5229
5276
|
async getGitlabProject(o, n, t, r) {
|
|
5230
5277
|
var p, i;
|
|
5231
5278
|
const s = await a.getGitlabProject(o, n, t, r), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (i = (p = A["ResourceTypeApi.getGitlabProject"]) == null ? void 0 : p[l]) == null ? void 0 : i.url;
|
|
5232
|
-
return (d, h) => b(s,
|
|
5279
|
+
return (d, h) => b(s, V, u, e)(d, c || h);
|
|
5233
5280
|
},
|
|
5234
5281
|
/**
|
|
5235
5282
|
*
|
|
@@ -5241,7 +5288,7 @@ const I = function(e, ...a) {
|
|
|
5241
5288
|
async getResourceTypeInformation(o, n) {
|
|
5242
5289
|
var l, c;
|
|
5243
5290
|
const t = await a.getResourceTypeInformation(o, n), r = (e == null ? void 0 : e.serverIndex) ?? 0, s = (c = (l = A["ResourceTypeApi.getResourceTypeInformation"]) == null ? void 0 : l[r]) == null ? void 0 : c.url;
|
|
5244
|
-
return (p, i) => b(t,
|
|
5291
|
+
return (p, i) => b(t, V, u, e)(p, s || i);
|
|
5245
5292
|
}
|
|
5246
5293
|
};
|
|
5247
5294
|
}, La = function(e, a, o) {
|
|
@@ -5368,7 +5415,7 @@ const I = function(e, ...a) {
|
|
|
5368
5415
|
};
|
|
5369
5416
|
}
|
|
5370
5417
|
};
|
|
5371
|
-
},
|
|
5418
|
+
}, Ma = function(e) {
|
|
5372
5419
|
const a = Ea(e);
|
|
5373
5420
|
return {
|
|
5374
5421
|
/**
|
|
@@ -5380,7 +5427,7 @@ const I = function(e, ...a) {
|
|
|
5380
5427
|
async apiV2RolesOptions(o) {
|
|
5381
5428
|
var s, l;
|
|
5382
5429
|
const n = await a.apiV2RolesOptions(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, r = (l = (s = A["RoleApi.apiV2RolesOptions"]) == null ? void 0 : s[t]) == null ? void 0 : l.url;
|
|
5383
|
-
return (c, p) => b(n,
|
|
5430
|
+
return (c, p) => b(n, V, u, e)(c, r || p);
|
|
5384
5431
|
},
|
|
5385
5432
|
/**
|
|
5386
5433
|
*
|
|
@@ -5392,7 +5439,7 @@ const I = function(e, ...a) {
|
|
|
5392
5439
|
async getRole(o, n) {
|
|
5393
5440
|
var l, c;
|
|
5394
5441
|
const t = await a.getRole(o, n), r = (e == null ? void 0 : e.serverIndex) ?? 0, s = (c = (l = A["RoleApi.getRole"]) == null ? void 0 : l[r]) == null ? void 0 : c.url;
|
|
5395
|
-
return (p, i) => b(t,
|
|
5442
|
+
return (p, i) => b(t, V, u, e)(p, s || i);
|
|
5396
5443
|
},
|
|
5397
5444
|
/**
|
|
5398
5445
|
*
|
|
@@ -5406,11 +5453,11 @@ const I = function(e, ...a) {
|
|
|
5406
5453
|
async getRoles(o, n, t, r) {
|
|
5407
5454
|
var p, i;
|
|
5408
5455
|
const s = await a.getRoles(o, n, t, r), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (i = (p = A["RoleApi.getRoles"]) == null ? void 0 : p[l]) == null ? void 0 : i.url;
|
|
5409
|
-
return (d, h) => b(s,
|
|
5456
|
+
return (d, h) => b(s, V, u, e)(d, c || h);
|
|
5410
5457
|
}
|
|
5411
5458
|
};
|
|
5412
|
-
},
|
|
5413
|
-
const n =
|
|
5459
|
+
}, za = function(e, a, o) {
|
|
5460
|
+
const n = Ma(e);
|
|
5414
5461
|
return {
|
|
5415
5462
|
/**
|
|
5416
5463
|
*
|
|
@@ -5479,10 +5526,10 @@ const I = function(e, ...a) {
|
|
|
5479
5526
|
const p = "/api/v2/search", i = new URL(p, m);
|
|
5480
5527
|
let d;
|
|
5481
5528
|
e && (d = e.baseOptions);
|
|
5482
|
-
const h = { method: "GET", ...d, ...c },
|
|
5483
|
-
await P(
|
|
5529
|
+
const h = { method: "GET", ...d, ...c }, O = {}, R = {};
|
|
5530
|
+
await P(O, "Authorization", e), a !== void 0 && (R.Query = a), o !== void 0 && (R.UseAdvancedSyntax = o), n && (R.Languages = n), t !== void 0 && (R.Category = t), r !== void 0 && (R.PageNumber = r), s !== void 0 && (R.PageSize = s), l !== void 0 && (R.OrderBy = l), I(i, R);
|
|
5484
5531
|
let S = d && d.headers ? d.headers : {};
|
|
5485
|
-
return h.headers = { ...
|
|
5532
|
+
return h.headers = { ...O, ...S, ...c.headers }, {
|
|
5486
5533
|
url: y(i),
|
|
5487
5534
|
options: h
|
|
5488
5535
|
};
|
|
@@ -5500,7 +5547,7 @@ const I = function(e, ...a) {
|
|
|
5500
5547
|
async apiV2SearchOptions(o) {
|
|
5501
5548
|
var s, l;
|
|
5502
5549
|
const n = await a.apiV2SearchOptions(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, r = (l = (s = A["SearchApi.apiV2SearchOptions"]) == null ? void 0 : s[t]) == null ? void 0 : l.url;
|
|
5503
|
-
return (c, p) => b(n,
|
|
5550
|
+
return (c, p) => b(n, V, u, e)(c, r || p);
|
|
5504
5551
|
},
|
|
5505
5552
|
/**
|
|
5506
5553
|
*
|
|
@@ -5516,9 +5563,9 @@ const I = function(e, ...a) {
|
|
|
5516
5563
|
* @throws {RequiredError}
|
|
5517
5564
|
*/
|
|
5518
5565
|
async getSearchResults(o, n, t, r, s, l, c, p) {
|
|
5519
|
-
var
|
|
5520
|
-
const i = await a.getSearchResults(o, n, t, r, s, l, c, p), d = (e == null ? void 0 : e.serverIndex) ?? 0, h = (
|
|
5521
|
-
return (S, w) => b(i,
|
|
5566
|
+
var O, R;
|
|
5567
|
+
const i = await a.getSearchResults(o, n, t, r, s, l, c, p), d = (e == null ? void 0 : e.serverIndex) ?? 0, h = (R = (O = A["SearchApi.getSearchResults"]) == null ? void 0 : O[d]) == null ? void 0 : R.url;
|
|
5568
|
+
return (S, w) => b(i, V, u, e)(S, h || w);
|
|
5522
5569
|
}
|
|
5523
5570
|
};
|
|
5524
5571
|
}, ka = function(e, a, o) {
|
|
@@ -5693,7 +5740,7 @@ const I = function(e, ...a) {
|
|
|
5693
5740
|
async acceptCurrentTos(o, n) {
|
|
5694
5741
|
var l, c;
|
|
5695
5742
|
const t = await a.acceptCurrentTos(o, n), r = (e == null ? void 0 : e.serverIndex) ?? 0, s = (c = (l = A["SelfApi.acceptCurrentTos"]) == null ? void 0 : l[r]) == null ? void 0 : c.url;
|
|
5696
|
-
return (p, i) => b(t,
|
|
5743
|
+
return (p, i) => b(t, V, u, e)(p, s || i);
|
|
5697
5744
|
},
|
|
5698
5745
|
/**
|
|
5699
5746
|
*
|
|
@@ -5704,7 +5751,7 @@ const I = function(e, ...a) {
|
|
|
5704
5751
|
async apiV2SelfOptions(o) {
|
|
5705
5752
|
var s, l;
|
|
5706
5753
|
const n = await a.apiV2SelfOptions(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, r = (l = (s = A["SelfApi.apiV2SelfOptions"]) == null ? void 0 : s[t]) == null ? void 0 : l.url;
|
|
5707
|
-
return (c, p) => b(n,
|
|
5754
|
+
return (c, p) => b(n, V, u, e)(c, r || p);
|
|
5708
5755
|
},
|
|
5709
5756
|
/**
|
|
5710
5757
|
*
|
|
@@ -5716,7 +5763,7 @@ const I = function(e, ...a) {
|
|
|
5716
5763
|
async confirmUserEmail(o, n) {
|
|
5717
5764
|
var l, c;
|
|
5718
5765
|
const t = await a.confirmUserEmail(o, n), r = (e == null ? void 0 : e.serverIndex) ?? 0, s = (c = (l = A["SelfApi.confirmUserEmail"]) == null ? void 0 : l[r]) == null ? void 0 : c.url;
|
|
5719
|
-
return (p, i) => b(t,
|
|
5766
|
+
return (p, i) => b(t, V, u, e)(p, s || i);
|
|
5720
5767
|
},
|
|
5721
5768
|
/**
|
|
5722
5769
|
*
|
|
@@ -5727,7 +5774,7 @@ const I = function(e, ...a) {
|
|
|
5727
5774
|
async getCurrentUser(o) {
|
|
5728
5775
|
var s, l;
|
|
5729
5776
|
const n = await a.getCurrentUser(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, r = (l = (s = A["SelfApi.getCurrentUser"]) == null ? void 0 : s[t]) == null ? void 0 : l.url;
|
|
5730
|
-
return (c, p) => b(n,
|
|
5777
|
+
return (c, p) => b(n, V, u, e)(c, r || p);
|
|
5731
5778
|
},
|
|
5732
5779
|
/**
|
|
5733
5780
|
*
|
|
@@ -5739,7 +5786,7 @@ const I = function(e, ...a) {
|
|
|
5739
5786
|
async initiateUserMerge(o, n) {
|
|
5740
5787
|
var l, c;
|
|
5741
5788
|
const t = await a.initiateUserMerge(o, n), r = (e == null ? void 0 : e.serverIndex) ?? 0, s = (c = (l = A["SelfApi.initiateUserMerge"]) == null ? void 0 : l[r]) == null ? void 0 : c.url;
|
|
5742
|
-
return (p, i) => b(t,
|
|
5789
|
+
return (p, i) => b(t, V, u, e)(p, s || i);
|
|
5743
5790
|
},
|
|
5744
5791
|
/**
|
|
5745
5792
|
*
|
|
@@ -5751,7 +5798,7 @@ const I = function(e, ...a) {
|
|
|
5751
5798
|
async resolveProjectInvitation(o, n) {
|
|
5752
5799
|
var l, c;
|
|
5753
5800
|
const t = await a.resolveProjectInvitation(o, n), r = (e == null ? void 0 : e.serverIndex) ?? 0, s = (c = (l = A["SelfApi.resolveProjectInvitation"]) == null ? void 0 : l[r]) == null ? void 0 : c.url;
|
|
5754
|
-
return (p, i) => b(t,
|
|
5801
|
+
return (p, i) => b(t, V, u, e)(p, s || i);
|
|
5755
5802
|
},
|
|
5756
5803
|
/**
|
|
5757
5804
|
*
|
|
@@ -5763,7 +5810,7 @@ const I = function(e, ...a) {
|
|
|
5763
5810
|
async updateCurrentUser(o, n) {
|
|
5764
5811
|
var l, c;
|
|
5765
5812
|
const t = await a.updateCurrentUser(o, n), r = (e == null ? void 0 : e.serverIndex) ?? 0, s = (c = (l = A["SelfApi.updateCurrentUser"]) == null ? void 0 : l[r]) == null ? void 0 : c.url;
|
|
5766
|
-
return (p, i) => b(t,
|
|
5813
|
+
return (p, i) => b(t, V, u, e)(p, s || i);
|
|
5767
5814
|
}
|
|
5768
5815
|
};
|
|
5769
5816
|
}, $a = function(e, a, o) {
|
|
@@ -5951,7 +5998,7 @@ const I = function(e, ...a) {
|
|
|
5951
5998
|
async apiV2SelfApiTokensOptions(o) {
|
|
5952
5999
|
var s, l;
|
|
5953
6000
|
const n = await a.apiV2SelfApiTokensOptions(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, r = (l = (s = A["SelfApiTokenApi.apiV2SelfApiTokensOptions"]) == null ? void 0 : s[t]) == null ? void 0 : l.url;
|
|
5954
|
-
return (c, p) => b(n,
|
|
6001
|
+
return (c, p) => b(n, V, u, e)(c, r || p);
|
|
5955
6002
|
},
|
|
5956
6003
|
/**
|
|
5957
6004
|
*
|
|
@@ -5963,7 +6010,7 @@ const I = function(e, ...a) {
|
|
|
5963
6010
|
async createApiToken(o, n) {
|
|
5964
6011
|
var l, c;
|
|
5965
6012
|
const t = await a.createApiToken(o, n), r = (e == null ? void 0 : e.serverIndex) ?? 0, s = (c = (l = A["SelfApiTokenApi.createApiToken"]) == null ? void 0 : l[r]) == null ? void 0 : c.url;
|
|
5966
|
-
return (p, i) => b(t,
|
|
6013
|
+
return (p, i) => b(t, V, u, e)(p, s || i);
|
|
5967
6014
|
},
|
|
5968
6015
|
/**
|
|
5969
6016
|
*
|
|
@@ -5977,7 +6024,7 @@ const I = function(e, ...a) {
|
|
|
5977
6024
|
async getAllApiTokens(o, n, t, r) {
|
|
5978
6025
|
var p, i;
|
|
5979
6026
|
const s = await a.getAllApiTokens(o, n, t, r), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (i = (p = A["SelfApiTokenApi.getAllApiTokens"]) == null ? void 0 : p[l]) == null ? void 0 : i.url;
|
|
5980
|
-
return (d, h) => b(s,
|
|
6027
|
+
return (d, h) => b(s, V, u, e)(d, c || h);
|
|
5981
6028
|
},
|
|
5982
6029
|
/**
|
|
5983
6030
|
*
|
|
@@ -5989,7 +6036,7 @@ const I = function(e, ...a) {
|
|
|
5989
6036
|
async getApiToken(o, n) {
|
|
5990
6037
|
var l, c;
|
|
5991
6038
|
const t = await a.getApiToken(o, n), r = (e == null ? void 0 : e.serverIndex) ?? 0, s = (c = (l = A["SelfApiTokenApi.getApiToken"]) == null ? void 0 : l[r]) == null ? void 0 : c.url;
|
|
5992
|
-
return (p, i) => b(t,
|
|
6039
|
+
return (p, i) => b(t, V, u, e)(p, s || i);
|
|
5993
6040
|
},
|
|
5994
6041
|
/**
|
|
5995
6042
|
*
|
|
@@ -6001,7 +6048,7 @@ const I = function(e, ...a) {
|
|
|
6001
6048
|
async revokeToken(o, n) {
|
|
6002
6049
|
var l, c;
|
|
6003
6050
|
const t = await a.revokeToken(o, n), r = (e == null ? void 0 : e.serverIndex) ?? 0, s = (c = (l = A["SelfApiTokenApi.revokeToken"]) == null ? void 0 : l[r]) == null ? void 0 : c.url;
|
|
6004
|
-
return (p, i) => b(t,
|
|
6051
|
+
return (p, i) => b(t, V, u, e)(p, s || i);
|
|
6005
6052
|
}
|
|
6006
6053
|
};
|
|
6007
6054
|
}, qa = function(e, a, o) {
|
|
@@ -6166,7 +6213,7 @@ const I = function(e, ...a) {
|
|
|
6166
6213
|
async apiV2SelfSessionLogoutPost(o) {
|
|
6167
6214
|
var s, l;
|
|
6168
6215
|
const n = await a.apiV2SelfSessionLogoutPost(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, r = (l = (s = A["SelfSessionApi.apiV2SelfSessionLogoutPost"]) == null ? void 0 : s[t]) == null ? void 0 : l.url;
|
|
6169
|
-
return (c, p) => b(n,
|
|
6216
|
+
return (c, p) => b(n, V, u, e)(c, r || p);
|
|
6170
6217
|
},
|
|
6171
6218
|
/**
|
|
6172
6219
|
*
|
|
@@ -6177,7 +6224,7 @@ const I = function(e, ...a) {
|
|
|
6177
6224
|
async apiV2SelfSessionOptions(o) {
|
|
6178
6225
|
var s, l;
|
|
6179
6226
|
const n = await a.apiV2SelfSessionOptions(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, r = (l = (s = A["SelfSessionApi.apiV2SelfSessionOptions"]) == null ? void 0 : s[t]) == null ? void 0 : l.url;
|
|
6180
|
-
return (c, p) => b(n,
|
|
6227
|
+
return (c, p) => b(n, V, u, e)(c, r || p);
|
|
6181
6228
|
},
|
|
6182
6229
|
/**
|
|
6183
6230
|
*
|
|
@@ -6188,7 +6235,7 @@ const I = function(e, ...a) {
|
|
|
6188
6235
|
async login(o) {
|
|
6189
6236
|
var s, l;
|
|
6190
6237
|
const n = await a.login(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, r = (l = (s = A["SelfSessionApi.login"]) == null ? void 0 : s[t]) == null ? void 0 : l.url;
|
|
6191
|
-
return (c, p) => b(n,
|
|
6238
|
+
return (c, p) => b(n, V, u, e)(c, r || p);
|
|
6192
6239
|
},
|
|
6193
6240
|
/**
|
|
6194
6241
|
*
|
|
@@ -6200,7 +6247,7 @@ const I = function(e, ...a) {
|
|
|
6200
6247
|
async loginWithProvider(o, n) {
|
|
6201
6248
|
var l, c;
|
|
6202
6249
|
const t = await a.loginWithProvider(o, n), r = (e == null ? void 0 : e.serverIndex) ?? 0, s = (c = (l = A["SelfSessionApi.loginWithProvider"]) == null ? void 0 : l[r]) == null ? void 0 : c.url;
|
|
6203
|
-
return (p, i) => b(t,
|
|
6250
|
+
return (p, i) => b(t, V, u, e)(p, s || i);
|
|
6204
6251
|
},
|
|
6205
6252
|
/**
|
|
6206
6253
|
*
|
|
@@ -6212,7 +6259,7 @@ const I = function(e, ...a) {
|
|
|
6212
6259
|
async merge(o, n) {
|
|
6213
6260
|
var l, c;
|
|
6214
6261
|
const t = await a.merge(o, n), r = (e == null ? void 0 : e.serverIndex) ?? 0, s = (c = (l = A["SelfSessionApi.merge"]) == null ? void 0 : l[r]) == null ? void 0 : c.url;
|
|
6215
|
-
return (p, i) => b(t,
|
|
6262
|
+
return (p, i) => b(t, V, u, e)(p, s || i);
|
|
6216
6263
|
}
|
|
6217
6264
|
};
|
|
6218
6265
|
}, Wa = function(e, a, o) {
|
|
@@ -6266,7 +6313,170 @@ const I = function(e, ...a) {
|
|
|
6266
6313
|
return n.merge(t.externalAuthenticatorId, r).then((s) => s(o, a));
|
|
6267
6314
|
}
|
|
6268
6315
|
};
|
|
6316
|
+
}, Xa = function(e) {
|
|
6317
|
+
return {
|
|
6318
|
+
/**
|
|
6319
|
+
*
|
|
6320
|
+
* @summary Responds with the HTTP methods allowed for the endpoint.
|
|
6321
|
+
* @param {*} [options] Override http request option.
|
|
6322
|
+
* @throws {RequiredError}
|
|
6323
|
+
*/
|
|
6324
|
+
apiV2SystemStatusOptions: async (a = {}) => {
|
|
6325
|
+
const o = "/api/v2/system/status", n = new URL(o, m);
|
|
6326
|
+
let t;
|
|
6327
|
+
e && (t = e.baseOptions);
|
|
6328
|
+
const r = { method: "OPTIONS", ...t, ...a }, s = {}, l = {};
|
|
6329
|
+
await P(s, "Authorization", e), I(n, l);
|
|
6330
|
+
let c = t && t.headers ? t.headers : {};
|
|
6331
|
+
return r.headers = { ...s, ...c, ...a.headers }, {
|
|
6332
|
+
url: y(n),
|
|
6333
|
+
options: r
|
|
6334
|
+
};
|
|
6335
|
+
},
|
|
6336
|
+
/**
|
|
6337
|
+
*
|
|
6338
|
+
* @summary Retrieves the internal messages.
|
|
6339
|
+
* @param {string} [startDateAfter] Will only return messages that have their start date after this date.
|
|
6340
|
+
* @param {string} [startDateBefore] Will only return messages that have their start date before this date.
|
|
6341
|
+
* @param {string} [endDateAfter] Will only return messages that have their end date after this date.
|
|
6342
|
+
* @param {string} [endDateBefore] Will only return messages that have their end date before this date.
|
|
6343
|
+
* @param {MessageType} [type] Filter messages by their type (e.g. information, warning, error).
|
|
6344
|
+
* @param {string} [searchTerm] Filter messages by text contained in the messages or title.
|
|
6345
|
+
* @param {number} [pageNumber] The desired page number. Should be greater than or equal to 1. Default is 1.
|
|
6346
|
+
* @param {number} [pageSize] The desired page size. Should be between 1 and the maximum allowed page size (50). Default is 10.
|
|
6347
|
+
* @param {string} [orderBy] Gets or sets the field name used for ordering the results. The order is constructed by a order string. Use the property followed by \"asc\" or \"desc\" and separate properties by commas. Default is asc.
|
|
6348
|
+
* @param {*} [options] Override http request option.
|
|
6349
|
+
* @throws {RequiredError}
|
|
6350
|
+
*/
|
|
6351
|
+
getInternalMessages: async (a, o, n, t, r, s, l, c, p, i = {}) => {
|
|
6352
|
+
const d = "/api/v2/system/status/internal", h = new URL(d, m);
|
|
6353
|
+
let O;
|
|
6354
|
+
e && (O = e.baseOptions);
|
|
6355
|
+
const R = { method: "GET", ...O, ...i }, S = {}, w = {};
|
|
6356
|
+
await P(S, "Authorization", e), a !== void 0 && (w.StartDateAfter = a instanceof Date ? a.toISOString() : a), o !== void 0 && (w.StartDateBefore = o instanceof Date ? o.toISOString() : o), n !== void 0 && (w.EndDateAfter = n instanceof Date ? n.toISOString() : n), t !== void 0 && (w.EndDateBefore = t instanceof Date ? t.toISOString() : t), r !== void 0 && (w.Type = r), s !== void 0 && (w.SearchTerm = s), l !== void 0 && (w.PageNumber = l), c !== void 0 && (w.PageSize = c), p !== void 0 && (w.OrderBy = p), I(h, w);
|
|
6357
|
+
let C = O && O.headers ? O.headers : {};
|
|
6358
|
+
return R.headers = { ...S, ...C, ...i.headers }, {
|
|
6359
|
+
url: y(h),
|
|
6360
|
+
options: R
|
|
6361
|
+
};
|
|
6362
|
+
},
|
|
6363
|
+
/**
|
|
6364
|
+
*
|
|
6365
|
+
* @summary Retrieves the NOC messages.
|
|
6366
|
+
* @param {string} [startDateAfter] Will only return messages that have their start date after this date.
|
|
6367
|
+
* @param {string} [startDateBefore] Will only return messages that have their start date before this date.
|
|
6368
|
+
* @param {string} [endDateAfter] Will only return messages that have their end date after this date.
|
|
6369
|
+
* @param {string} [endDateBefore] Will only return messages that have their end date before this date.
|
|
6370
|
+
* @param {MessageType} [type] Filter messages by their type (e.g. information, warning, error).
|
|
6371
|
+
* @param {string} [searchTerm] Filter messages by text contained in the messages or title.
|
|
6372
|
+
* @param {number} [pageNumber] The desired page number. Should be greater than or equal to 1. Default is 1.
|
|
6373
|
+
* @param {number} [pageSize] The desired page size. Should be between 1 and the maximum allowed page size (50). Default is 10.
|
|
6374
|
+
* @param {string} [orderBy] Gets or sets the field name used for ordering the results. The order is constructed by a order string. Use the property followed by \"asc\" or \"desc\" and separate properties by commas. Default is asc.
|
|
6375
|
+
* @param {*} [options] Override http request option.
|
|
6376
|
+
* @throws {RequiredError}
|
|
6377
|
+
*/
|
|
6378
|
+
getNocMessages: async (a, o, n, t, r, s, l, c, p, i = {}) => {
|
|
6379
|
+
const d = "/api/v2/system/status/noc", h = new URL(d, m);
|
|
6380
|
+
let O;
|
|
6381
|
+
e && (O = e.baseOptions);
|
|
6382
|
+
const R = { method: "GET", ...O, ...i }, S = {}, w = {};
|
|
6383
|
+
await P(S, "Authorization", e), a !== void 0 && (w.StartDateAfter = a instanceof Date ? a.toISOString() : a), o !== void 0 && (w.StartDateBefore = o instanceof Date ? o.toISOString() : o), n !== void 0 && (w.EndDateAfter = n instanceof Date ? n.toISOString() : n), t !== void 0 && (w.EndDateBefore = t instanceof Date ? t.toISOString() : t), r !== void 0 && (w.Type = r), s !== void 0 && (w.SearchTerm = s), l !== void 0 && (w.PageNumber = l), c !== void 0 && (w.PageSize = c), p !== void 0 && (w.OrderBy = p), I(h, w);
|
|
6384
|
+
let C = O && O.headers ? O.headers : {};
|
|
6385
|
+
return R.headers = { ...S, ...C, ...i.headers }, {
|
|
6386
|
+
url: y(h),
|
|
6387
|
+
options: R
|
|
6388
|
+
};
|
|
6389
|
+
}
|
|
6390
|
+
};
|
|
6269
6391
|
}, fa = function(e) {
|
|
6392
|
+
const a = Xa(e);
|
|
6393
|
+
return {
|
|
6394
|
+
/**
|
|
6395
|
+
*
|
|
6396
|
+
* @summary Responds with the HTTP methods allowed for the endpoint.
|
|
6397
|
+
* @param {*} [options] Override http request option.
|
|
6398
|
+
* @throws {RequiredError}
|
|
6399
|
+
*/
|
|
6400
|
+
async apiV2SystemStatusOptions(o) {
|
|
6401
|
+
var s, l;
|
|
6402
|
+
const n = await a.apiV2SystemStatusOptions(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, r = (l = (s = A["SystemStatusApi.apiV2SystemStatusOptions"]) == null ? void 0 : s[t]) == null ? void 0 : l.url;
|
|
6403
|
+
return (c, p) => b(n, V, u, e)(c, r || p);
|
|
6404
|
+
},
|
|
6405
|
+
/**
|
|
6406
|
+
*
|
|
6407
|
+
* @summary Retrieves the internal messages.
|
|
6408
|
+
* @param {string} [startDateAfter] Will only return messages that have their start date after this date.
|
|
6409
|
+
* @param {string} [startDateBefore] Will only return messages that have their start date before this date.
|
|
6410
|
+
* @param {string} [endDateAfter] Will only return messages that have their end date after this date.
|
|
6411
|
+
* @param {string} [endDateBefore] Will only return messages that have their end date before this date.
|
|
6412
|
+
* @param {MessageType} [type] Filter messages by their type (e.g. information, warning, error).
|
|
6413
|
+
* @param {string} [searchTerm] Filter messages by text contained in the messages or title.
|
|
6414
|
+
* @param {number} [pageNumber] The desired page number. Should be greater than or equal to 1. Default is 1.
|
|
6415
|
+
* @param {number} [pageSize] The desired page size. Should be between 1 and the maximum allowed page size (50). Default is 10.
|
|
6416
|
+
* @param {string} [orderBy] Gets or sets the field name used for ordering the results. The order is constructed by a order string. Use the property followed by \"asc\" or \"desc\" and separate properties by commas. Default is asc.
|
|
6417
|
+
* @param {*} [options] Override http request option.
|
|
6418
|
+
* @throws {RequiredError}
|
|
6419
|
+
*/
|
|
6420
|
+
async getInternalMessages(o, n, t, r, s, l, c, p, i, d) {
|
|
6421
|
+
var S, w;
|
|
6422
|
+
const h = await a.getInternalMessages(o, n, t, r, s, l, c, p, i, d), O = (e == null ? void 0 : e.serverIndex) ?? 0, R = (w = (S = A["SystemStatusApi.getInternalMessages"]) == null ? void 0 : S[O]) == null ? void 0 : w.url;
|
|
6423
|
+
return (C, M) => b(h, V, u, e)(C, R || M);
|
|
6424
|
+
},
|
|
6425
|
+
/**
|
|
6426
|
+
*
|
|
6427
|
+
* @summary Retrieves the NOC messages.
|
|
6428
|
+
* @param {string} [startDateAfter] Will only return messages that have their start date after this date.
|
|
6429
|
+
* @param {string} [startDateBefore] Will only return messages that have their start date before this date.
|
|
6430
|
+
* @param {string} [endDateAfter] Will only return messages that have their end date after this date.
|
|
6431
|
+
* @param {string} [endDateBefore] Will only return messages that have their end date before this date.
|
|
6432
|
+
* @param {MessageType} [type] Filter messages by their type (e.g. information, warning, error).
|
|
6433
|
+
* @param {string} [searchTerm] Filter messages by text contained in the messages or title.
|
|
6434
|
+
* @param {number} [pageNumber] The desired page number. Should be greater than or equal to 1. Default is 1.
|
|
6435
|
+
* @param {number} [pageSize] The desired page size. Should be between 1 and the maximum allowed page size (50). Default is 10.
|
|
6436
|
+
* @param {string} [orderBy] Gets or sets the field name used for ordering the results. The order is constructed by a order string. Use the property followed by \"asc\" or \"desc\" and separate properties by commas. Default is asc.
|
|
6437
|
+
* @param {*} [options] Override http request option.
|
|
6438
|
+
* @throws {RequiredError}
|
|
6439
|
+
*/
|
|
6440
|
+
async getNocMessages(o, n, t, r, s, l, c, p, i, d) {
|
|
6441
|
+
var S, w;
|
|
6442
|
+
const h = await a.getNocMessages(o, n, t, r, s, l, c, p, i, d), O = (e == null ? void 0 : e.serverIndex) ?? 0, R = (w = (S = A["SystemStatusApi.getNocMessages"]) == null ? void 0 : S[O]) == null ? void 0 : w.url;
|
|
6443
|
+
return (C, M) => b(h, V, u, e)(C, R || M);
|
|
6444
|
+
}
|
|
6445
|
+
};
|
|
6446
|
+
}, Ya = function(e, a, o) {
|
|
6447
|
+
const n = fa(e);
|
|
6448
|
+
return {
|
|
6449
|
+
/**
|
|
6450
|
+
*
|
|
6451
|
+
* @summary Responds with the HTTP methods allowed for the endpoint.
|
|
6452
|
+
* @param {*} [options] Override http request option.
|
|
6453
|
+
* @throws {RequiredError}
|
|
6454
|
+
*/
|
|
6455
|
+
apiV2SystemStatusOptions(t) {
|
|
6456
|
+
return n.apiV2SystemStatusOptions(t).then((r) => r(o, a));
|
|
6457
|
+
},
|
|
6458
|
+
/**
|
|
6459
|
+
*
|
|
6460
|
+
* @summary Retrieves the internal messages.
|
|
6461
|
+
* @param {SystemStatusApiGetInternalMessagesRequest} requestParameters Request parameters.
|
|
6462
|
+
* @param {*} [options] Override http request option.
|
|
6463
|
+
* @throws {RequiredError}
|
|
6464
|
+
*/
|
|
6465
|
+
getInternalMessages(t = {}, r) {
|
|
6466
|
+
return n.getInternalMessages(t.startDateAfter, t.startDateBefore, t.endDateAfter, t.endDateBefore, t.type, t.searchTerm, t.pageNumber, t.pageSize, t.orderBy, r).then((s) => s(o, a));
|
|
6467
|
+
},
|
|
6468
|
+
/**
|
|
6469
|
+
*
|
|
6470
|
+
* @summary Retrieves the NOC messages.
|
|
6471
|
+
* @param {SystemStatusApiGetNocMessagesRequest} requestParameters Request parameters.
|
|
6472
|
+
* @param {*} [options] Override http request option.
|
|
6473
|
+
* @throws {RequiredError}
|
|
6474
|
+
*/
|
|
6475
|
+
getNocMessages(t = {}, r) {
|
|
6476
|
+
return n.getNocMessages(t.startDateAfter, t.startDateBefore, t.endDateAfter, t.endDateBefore, t.type, t.searchTerm, t.pageNumber, t.pageSize, t.orderBy, r).then((s) => s(o, a));
|
|
6477
|
+
}
|
|
6478
|
+
};
|
|
6479
|
+
}, Za = function(e) {
|
|
6270
6480
|
return {
|
|
6271
6481
|
/**
|
|
6272
6482
|
*
|
|
@@ -6328,8 +6538,8 @@ const I = function(e, ...a) {
|
|
|
6328
6538
|
};
|
|
6329
6539
|
}
|
|
6330
6540
|
};
|
|
6331
|
-
},
|
|
6332
|
-
const a =
|
|
6541
|
+
}, ga = function(e) {
|
|
6542
|
+
const a = Za(e);
|
|
6333
6543
|
return {
|
|
6334
6544
|
/**
|
|
6335
6545
|
*
|
|
@@ -6340,7 +6550,7 @@ const I = function(e, ...a) {
|
|
|
6340
6550
|
async apiV2TitlesOptions(o) {
|
|
6341
6551
|
var s, l;
|
|
6342
6552
|
const n = await a.apiV2TitlesOptions(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, r = (l = (s = A["TitleApi.apiV2TitlesOptions"]) == null ? void 0 : s[t]) == null ? void 0 : l.url;
|
|
6343
|
-
return (c, p) => b(n,
|
|
6553
|
+
return (c, p) => b(n, V, u, e)(c, r || p);
|
|
6344
6554
|
},
|
|
6345
6555
|
/**
|
|
6346
6556
|
*
|
|
@@ -6352,7 +6562,7 @@ const I = function(e, ...a) {
|
|
|
6352
6562
|
async getTitle(o, n) {
|
|
6353
6563
|
var l, c;
|
|
6354
6564
|
const t = await a.getTitle(o, n), r = (e == null ? void 0 : e.serverIndex) ?? 0, s = (c = (l = A["TitleApi.getTitle"]) == null ? void 0 : l[r]) == null ? void 0 : c.url;
|
|
6355
|
-
return (p, i) => b(t,
|
|
6565
|
+
return (p, i) => b(t, V, u, e)(p, s || i);
|
|
6356
6566
|
},
|
|
6357
6567
|
/**
|
|
6358
6568
|
*
|
|
@@ -6366,11 +6576,11 @@ const I = function(e, ...a) {
|
|
|
6366
6576
|
async getTitles(o, n, t, r) {
|
|
6367
6577
|
var p, i;
|
|
6368
6578
|
const s = await a.getTitles(o, n, t, r), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (i = (p = A["TitleApi.getTitles"]) == null ? void 0 : p[l]) == null ? void 0 : i.url;
|
|
6369
|
-
return (d, h) => b(s,
|
|
6579
|
+
return (d, h) => b(s, V, u, e)(d, c || h);
|
|
6370
6580
|
}
|
|
6371
6581
|
};
|
|
6372
|
-
},
|
|
6373
|
-
const n =
|
|
6582
|
+
}, es = function(e, a, o) {
|
|
6583
|
+
const n = ga(e);
|
|
6374
6584
|
return {
|
|
6375
6585
|
/**
|
|
6376
6586
|
*
|
|
@@ -6402,7 +6612,7 @@ const I = function(e, ...a) {
|
|
|
6402
6612
|
return n.getTitles(t.pageNumber, t.pageSize, t.orderBy, r).then((s) => s(o, a));
|
|
6403
6613
|
}
|
|
6404
6614
|
};
|
|
6405
|
-
},
|
|
6615
|
+
}, ts = function(e) {
|
|
6406
6616
|
return {
|
|
6407
6617
|
/**
|
|
6408
6618
|
*
|
|
@@ -6441,8 +6651,8 @@ const I = function(e, ...a) {
|
|
|
6441
6651
|
};
|
|
6442
6652
|
}
|
|
6443
6653
|
};
|
|
6444
|
-
},
|
|
6445
|
-
const a =
|
|
6654
|
+
}, rs = function(e) {
|
|
6655
|
+
const a = ts(e);
|
|
6446
6656
|
return {
|
|
6447
6657
|
/**
|
|
6448
6658
|
*
|
|
@@ -6453,7 +6663,7 @@ const I = function(e, ...a) {
|
|
|
6453
6663
|
async apiV2TosOptions(o) {
|
|
6454
6664
|
var s, l;
|
|
6455
6665
|
const n = await a.apiV2TosOptions(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, r = (l = (s = A["TosApi.apiV2TosOptions"]) == null ? void 0 : s[t]) == null ? void 0 : l.url;
|
|
6456
|
-
return (c, p) => b(n,
|
|
6666
|
+
return (c, p) => b(n, V, u, e)(c, r || p);
|
|
6457
6667
|
},
|
|
6458
6668
|
/**
|
|
6459
6669
|
*
|
|
@@ -6464,11 +6674,11 @@ const I = function(e, ...a) {
|
|
|
6464
6674
|
async getTos(o) {
|
|
6465
6675
|
var s, l;
|
|
6466
6676
|
const n = await a.getTos(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, r = (l = (s = A["TosApi.getTos"]) == null ? void 0 : s[t]) == null ? void 0 : l.url;
|
|
6467
|
-
return (c, p) => b(n,
|
|
6677
|
+
return (c, p) => b(n, V, u, e)(c, r || p);
|
|
6468
6678
|
}
|
|
6469
6679
|
};
|
|
6470
|
-
},
|
|
6471
|
-
const n =
|
|
6680
|
+
}, as = function(e, a, o) {
|
|
6681
|
+
const n = rs(e);
|
|
6472
6682
|
return {
|
|
6473
6683
|
/**
|
|
6474
6684
|
*
|
|
@@ -6489,7 +6699,7 @@ const I = function(e, ...a) {
|
|
|
6489
6699
|
return n.getTos(t).then((r) => r(o, a));
|
|
6490
6700
|
}
|
|
6491
6701
|
};
|
|
6492
|
-
},
|
|
6702
|
+
}, ss = function(e) {
|
|
6493
6703
|
return {
|
|
6494
6704
|
/**
|
|
6495
6705
|
*
|
|
@@ -6595,10 +6805,10 @@ const I = function(e, ...a) {
|
|
|
6595
6805
|
const c = "/api/v2/projects/{projectId}/resources/{resourceId}/trees/files".replace("{projectId}", encodeURIComponent(String(a))).replace("{resourceId}", encodeURIComponent(String(o))), p = new URL(c, m);
|
|
6596
6806
|
let i;
|
|
6597
6807
|
e && (i = e.baseOptions);
|
|
6598
|
-
const d = { method: "GET", ...i, ...l }, h = {},
|
|
6599
|
-
await P(h, "Authorization", e), n !== void 0 && (
|
|
6600
|
-
let
|
|
6601
|
-
return d.headers = { ...h, ...
|
|
6808
|
+
const d = { method: "GET", ...i, ...l }, h = {}, O = {};
|
|
6809
|
+
await P(h, "Authorization", e), n !== void 0 && (O.Path = n), t !== void 0 && (O.PageNumber = t), r !== void 0 && (O.PageSize = r), s !== void 0 && (O.OrderBy = s), I(p, O);
|
|
6810
|
+
let R = i && i.headers ? i.headers : {};
|
|
6811
|
+
return d.headers = { ...h, ...R, ...l.headers }, {
|
|
6602
6812
|
url: y(p),
|
|
6603
6813
|
options: d
|
|
6604
6814
|
};
|
|
@@ -6621,14 +6831,14 @@ const I = function(e, ...a) {
|
|
|
6621
6831
|
getMetadataTree: async (a, o, n, t, r, s, l, c, p, i = {}) => {
|
|
6622
6832
|
j("getMetadataTree", "projectId", a), j("getMetadataTree", "resourceId", o);
|
|
6623
6833
|
const d = "/api/v2/projects/{projectId}/resources/{resourceId}/trees/metadata".replace("{projectId}", encodeURIComponent(String(a))).replace("{resourceId}", encodeURIComponent(String(o))), h = new URL(d, m);
|
|
6624
|
-
let
|
|
6625
|
-
e && (
|
|
6626
|
-
const
|
|
6834
|
+
let O;
|
|
6835
|
+
e && (O = e.baseOptions);
|
|
6836
|
+
const R = { method: "GET", ...O, ...i }, S = {}, w = {};
|
|
6627
6837
|
await P(S, "Authorization", e), n !== void 0 && (w.Path = n), t !== void 0 && (w.Format = t), r !== void 0 && (w.IncludeExtractedMetadata = r), s !== void 0 && (w.IncludeProvenance = s), l !== void 0 && (w.PageNumber = l), c !== void 0 && (w.PageSize = c), p !== void 0 && (w.OrderBy = p), I(h, w);
|
|
6628
|
-
let C =
|
|
6629
|
-
return
|
|
6838
|
+
let C = O && O.headers ? O.headers : {};
|
|
6839
|
+
return R.headers = { ...S, ...C, ...i.headers }, {
|
|
6630
6840
|
url: y(h),
|
|
6631
|
-
options:
|
|
6841
|
+
options: R
|
|
6632
6842
|
};
|
|
6633
6843
|
},
|
|
6634
6844
|
/**
|
|
@@ -6649,10 +6859,10 @@ const I = function(e, ...a) {
|
|
|
6649
6859
|
const p = "/api/v2/projects/{projectId}/resources/{resourceId}/trees/metadata/specific".replace("{projectId}", encodeURIComponent(String(a))).replace("{resourceId}", encodeURIComponent(String(o))), i = new URL(p, m);
|
|
6650
6860
|
let d;
|
|
6651
6861
|
e && (d = e.baseOptions);
|
|
6652
|
-
const h = { method: "GET", ...d, ...c },
|
|
6653
|
-
await P(
|
|
6862
|
+
const h = { method: "GET", ...d, ...c }, O = {}, R = {};
|
|
6863
|
+
await P(O, "Authorization", e), n !== void 0 && (R.Path = n), t !== void 0 && (R.Format = t), r !== void 0 && (R.IncludeExtractedMetadata = r), s !== void 0 && (R.IncludeProvenance = s), l !== void 0 && (R.Version = l), I(i, R);
|
|
6654
6864
|
let S = d && d.headers ? d.headers : {};
|
|
6655
|
-
return h.headers = { ...
|
|
6865
|
+
return h.headers = { ...O, ...S, ...c.headers }, {
|
|
6656
6866
|
url: y(i),
|
|
6657
6867
|
options: h
|
|
6658
6868
|
};
|
|
@@ -6702,8 +6912,8 @@ const I = function(e, ...a) {
|
|
|
6702
6912
|
};
|
|
6703
6913
|
}
|
|
6704
6914
|
};
|
|
6705
|
-
},
|
|
6706
|
-
const a =
|
|
6915
|
+
}, os = function(e) {
|
|
6916
|
+
const a = ss(e);
|
|
6707
6917
|
return {
|
|
6708
6918
|
/**
|
|
6709
6919
|
*
|
|
@@ -6716,7 +6926,7 @@ const I = function(e, ...a) {
|
|
|
6716
6926
|
async apiV2ProjectsProjectIdResourcesResourceIdTreesOptions(o, n, t) {
|
|
6717
6927
|
var c, p;
|
|
6718
6928
|
const r = await a.apiV2ProjectsProjectIdResourcesResourceIdTreesOptions(o, n, t), s = (e == null ? void 0 : e.serverIndex) ?? 0, l = (p = (c = A["TreeApi.apiV2ProjectsProjectIdResourcesResourceIdTreesOptions"]) == null ? void 0 : c[s]) == null ? void 0 : p.url;
|
|
6719
|
-
return (i, d) => b(r,
|
|
6929
|
+
return (i, d) => b(r, V, u, e)(i, l || d);
|
|
6720
6930
|
},
|
|
6721
6931
|
/**
|
|
6722
6932
|
* <p><strong>Required JWT roles for access:</strong> <code>administrator</code>.</p>
|
|
@@ -6730,7 +6940,7 @@ const I = function(e, ...a) {
|
|
|
6730
6940
|
async createExtractedMetadataTree(o, n, t, r) {
|
|
6731
6941
|
var p, i;
|
|
6732
6942
|
const s = await a.createExtractedMetadataTree(o, n, t, r), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (i = (p = A["TreeApi.createExtractedMetadataTree"]) == null ? void 0 : p[l]) == null ? void 0 : i.url;
|
|
6733
|
-
return (d, h) => b(s,
|
|
6943
|
+
return (d, h) => b(s, V, u, e)(d, c || h);
|
|
6734
6944
|
},
|
|
6735
6945
|
/**
|
|
6736
6946
|
*
|
|
@@ -6744,7 +6954,7 @@ const I = function(e, ...a) {
|
|
|
6744
6954
|
async createMetadataTree(o, n, t, r) {
|
|
6745
6955
|
var p, i;
|
|
6746
6956
|
const s = await a.createMetadataTree(o, n, t, r), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (i = (p = A["TreeApi.createMetadataTree"]) == null ? void 0 : p[l]) == null ? void 0 : i.url;
|
|
6747
|
-
return (d, h) => b(s,
|
|
6957
|
+
return (d, h) => b(s, V, u, e)(d, c || h);
|
|
6748
6958
|
},
|
|
6749
6959
|
/**
|
|
6750
6960
|
* <p><strong>Required JWT roles for access:</strong> <code>administrator</code>.</p>
|
|
@@ -6758,7 +6968,7 @@ const I = function(e, ...a) {
|
|
|
6758
6968
|
async deleteMetadataTree(o, n, t, r) {
|
|
6759
6969
|
var p, i;
|
|
6760
6970
|
const s = await a.deleteMetadataTree(o, n, t, r), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (i = (p = A["TreeApi.deleteMetadataTree"]) == null ? void 0 : p[l]) == null ? void 0 : i.url;
|
|
6761
|
-
return (d, h) => b(s,
|
|
6971
|
+
return (d, h) => b(s, V, u, e)(d, c || h);
|
|
6762
6972
|
},
|
|
6763
6973
|
/**
|
|
6764
6974
|
* The `OrderBy` query is currently not supported.
|
|
@@ -6773,9 +6983,9 @@ const I = function(e, ...a) {
|
|
|
6773
6983
|
* @throws {RequiredError}
|
|
6774
6984
|
*/
|
|
6775
6985
|
async getFileTree(o, n, t, r, s, l, c) {
|
|
6776
|
-
var h,
|
|
6777
|
-
const p = await a.getFileTree(o, n, t, r, s, l, c), i = (e == null ? void 0 : e.serverIndex) ?? 0, d = (
|
|
6778
|
-
return (
|
|
6986
|
+
var h, O;
|
|
6987
|
+
const p = await a.getFileTree(o, n, t, r, s, l, c), i = (e == null ? void 0 : e.serverIndex) ?? 0, d = (O = (h = A["TreeApi.getFileTree"]) == null ? void 0 : h[i]) == null ? void 0 : O.url;
|
|
6988
|
+
return (R, S) => b(p, V, u, e)(R, d || S);
|
|
6779
6989
|
},
|
|
6780
6990
|
/**
|
|
6781
6991
|
*
|
|
@@ -6794,8 +7004,8 @@ const I = function(e, ...a) {
|
|
|
6794
7004
|
*/
|
|
6795
7005
|
async getMetadataTree(o, n, t, r, s, l, c, p, i, d) {
|
|
6796
7006
|
var S, w;
|
|
6797
|
-
const h = await a.getMetadataTree(o, n, t, r, s, l, c, p, i, d),
|
|
6798
|
-
return (C,
|
|
7007
|
+
const h = await a.getMetadataTree(o, n, t, r, s, l, c, p, i, d), O = (e == null ? void 0 : e.serverIndex) ?? 0, R = (w = (S = A["TreeApi.getMetadataTree"]) == null ? void 0 : S[O]) == null ? void 0 : w.url;
|
|
7008
|
+
return (C, M) => b(h, V, u, e)(C, R || M);
|
|
6799
7009
|
},
|
|
6800
7010
|
/**
|
|
6801
7011
|
*
|
|
@@ -6811,9 +7021,9 @@ const I = function(e, ...a) {
|
|
|
6811
7021
|
* @throws {RequiredError}
|
|
6812
7022
|
*/
|
|
6813
7023
|
async getSpecificMetadataTree(o, n, t, r, s, l, c, p) {
|
|
6814
|
-
var
|
|
6815
|
-
const i = await a.getSpecificMetadataTree(o, n, t, r, s, l, c, p), d = (e == null ? void 0 : e.serverIndex) ?? 0, h = (
|
|
6816
|
-
return (S, w) => b(i,
|
|
7024
|
+
var O, R;
|
|
7025
|
+
const i = await a.getSpecificMetadataTree(o, n, t, r, s, l, c, p), d = (e == null ? void 0 : e.serverIndex) ?? 0, h = (R = (O = A["TreeApi.getSpecificMetadataTree"]) == null ? void 0 : O[d]) == null ? void 0 : R.url;
|
|
7026
|
+
return (S, w) => b(i, V, u, e)(S, h || w);
|
|
6817
7027
|
},
|
|
6818
7028
|
/**
|
|
6819
7029
|
* <p><strong>Required JWT roles for access:</strong> <code>administrator</code>.</p>
|
|
@@ -6827,7 +7037,7 @@ const I = function(e, ...a) {
|
|
|
6827
7037
|
async updateExtractedMetadataTree(o, n, t, r) {
|
|
6828
7038
|
var p, i;
|
|
6829
7039
|
const s = await a.updateExtractedMetadataTree(o, n, t, r), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (i = (p = A["TreeApi.updateExtractedMetadataTree"]) == null ? void 0 : p[l]) == null ? void 0 : i.url;
|
|
6830
|
-
return (d, h) => b(s,
|
|
7040
|
+
return (d, h) => b(s, V, u, e)(d, c || h);
|
|
6831
7041
|
},
|
|
6832
7042
|
/**
|
|
6833
7043
|
*
|
|
@@ -6841,11 +7051,11 @@ const I = function(e, ...a) {
|
|
|
6841
7051
|
async updateMetadataTree(o, n, t, r) {
|
|
6842
7052
|
var p, i;
|
|
6843
7053
|
const s = await a.updateMetadataTree(o, n, t, r), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (i = (p = A["TreeApi.updateMetadataTree"]) == null ? void 0 : p[l]) == null ? void 0 : i.url;
|
|
6844
|
-
return (d, h) => b(s,
|
|
7054
|
+
return (d, h) => b(s, V, u, e)(d, c || h);
|
|
6845
7055
|
}
|
|
6846
7056
|
};
|
|
6847
|
-
},
|
|
6848
|
-
const n =
|
|
7057
|
+
}, ns = function(e, a, o) {
|
|
7058
|
+
const n = os(e);
|
|
6849
7059
|
return {
|
|
6850
7060
|
/**
|
|
6851
7061
|
*
|
|
@@ -6938,7 +7148,7 @@ const I = function(e, ...a) {
|
|
|
6938
7148
|
return n.updateMetadataTree(t.projectId, t.resourceId, t.metadataTreeForUpdateDto, r).then((s) => s(o, a));
|
|
6939
7149
|
}
|
|
6940
7150
|
};
|
|
6941
|
-
},
|
|
7151
|
+
}, ls = function(e) {
|
|
6942
7152
|
return {
|
|
6943
7153
|
/**
|
|
6944
7154
|
*
|
|
@@ -6980,8 +7190,8 @@ const I = function(e, ...a) {
|
|
|
6980
7190
|
};
|
|
6981
7191
|
}
|
|
6982
7192
|
};
|
|
6983
|
-
},
|
|
6984
|
-
const a =
|
|
7193
|
+
}, cs = function(e) {
|
|
7194
|
+
const a = ls(e);
|
|
6985
7195
|
return {
|
|
6986
7196
|
/**
|
|
6987
7197
|
*
|
|
@@ -6992,7 +7202,7 @@ const I = function(e, ...a) {
|
|
|
6992
7202
|
async apiV2UsersOptions(o) {
|
|
6993
7203
|
var s, l;
|
|
6994
7204
|
const n = await a.apiV2UsersOptions(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, r = (l = (s = A["UserApi.apiV2UsersOptions"]) == null ? void 0 : s[t]) == null ? void 0 : l.url;
|
|
6995
|
-
return (c, p) => b(n,
|
|
7205
|
+
return (c, p) => b(n, V, u, e)(c, r || p);
|
|
6996
7206
|
},
|
|
6997
7207
|
/**
|
|
6998
7208
|
*
|
|
@@ -7005,11 +7215,11 @@ const I = function(e, ...a) {
|
|
|
7005
7215
|
async getUsers(o, n, t) {
|
|
7006
7216
|
var c, p;
|
|
7007
7217
|
const r = await a.getUsers(o, n, t), s = (e == null ? void 0 : e.serverIndex) ?? 0, l = (p = (c = A["UserApi.getUsers"]) == null ? void 0 : c[s]) == null ? void 0 : p.url;
|
|
7008
|
-
return (i, d) => b(r,
|
|
7218
|
+
return (i, d) => b(r, V, u, e)(i, l || d);
|
|
7009
7219
|
}
|
|
7010
7220
|
};
|
|
7011
|
-
},
|
|
7012
|
-
const n =
|
|
7221
|
+
}, ps = function(e, a, o) {
|
|
7222
|
+
const n = cs(e);
|
|
7013
7223
|
return {
|
|
7014
7224
|
/**
|
|
7015
7225
|
*
|
|
@@ -7031,7 +7241,7 @@ const I = function(e, ...a) {
|
|
|
7031
7241
|
return n.getUsers(t.searchTerm, t.orderBy, r).then((s) => s(o, a));
|
|
7032
7242
|
}
|
|
7033
7243
|
};
|
|
7034
|
-
},
|
|
7244
|
+
}, is = function(e) {
|
|
7035
7245
|
return {
|
|
7036
7246
|
/**
|
|
7037
7247
|
*
|
|
@@ -7093,8 +7303,8 @@ const I = function(e, ...a) {
|
|
|
7093
7303
|
};
|
|
7094
7304
|
}
|
|
7095
7305
|
};
|
|
7096
|
-
},
|
|
7097
|
-
const a =
|
|
7306
|
+
}, ds = function(e) {
|
|
7307
|
+
const a = is(e);
|
|
7098
7308
|
return {
|
|
7099
7309
|
/**
|
|
7100
7310
|
*
|
|
@@ -7105,7 +7315,7 @@ const I = function(e, ...a) {
|
|
|
7105
7315
|
async apiV2VisibilitiesOptions(o) {
|
|
7106
7316
|
var s, l;
|
|
7107
7317
|
const n = await a.apiV2VisibilitiesOptions(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, r = (l = (s = A["VisibilityApi.apiV2VisibilitiesOptions"]) == null ? void 0 : s[t]) == null ? void 0 : l.url;
|
|
7108
|
-
return (c, p) => b(n,
|
|
7318
|
+
return (c, p) => b(n, V, u, e)(c, r || p);
|
|
7109
7319
|
},
|
|
7110
7320
|
/**
|
|
7111
7321
|
*
|
|
@@ -7119,7 +7329,7 @@ const I = function(e, ...a) {
|
|
|
7119
7329
|
async getVisibilities(o, n, t, r) {
|
|
7120
7330
|
var p, i;
|
|
7121
7331
|
const s = await a.getVisibilities(o, n, t, r), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (i = (p = A["VisibilityApi.getVisibilities"]) == null ? void 0 : p[l]) == null ? void 0 : i.url;
|
|
7122
|
-
return (d, h) => b(s,
|
|
7332
|
+
return (d, h) => b(s, V, u, e)(d, c || h);
|
|
7123
7333
|
},
|
|
7124
7334
|
/**
|
|
7125
7335
|
*
|
|
@@ -7131,11 +7341,11 @@ const I = function(e, ...a) {
|
|
|
7131
7341
|
async getVisibility(o, n) {
|
|
7132
7342
|
var l, c;
|
|
7133
7343
|
const t = await a.getVisibility(o, n), r = (e == null ? void 0 : e.serverIndex) ?? 0, s = (c = (l = A["VisibilityApi.getVisibility"]) == null ? void 0 : l[r]) == null ? void 0 : c.url;
|
|
7134
|
-
return (p, i) => b(t,
|
|
7344
|
+
return (p, i) => b(t, V, u, e)(p, s || i);
|
|
7135
7345
|
}
|
|
7136
7346
|
};
|
|
7137
|
-
},
|
|
7138
|
-
const n =
|
|
7347
|
+
}, hs = function(e, a, o) {
|
|
7348
|
+
const n = ds(e);
|
|
7139
7349
|
return {
|
|
7140
7350
|
/**
|
|
7141
7351
|
*
|
|
@@ -7167,7 +7377,7 @@ const I = function(e, ...a) {
|
|
|
7167
7377
|
return n.getVisibility(t.visibilityId, r).then((s) => s(o, a));
|
|
7168
7378
|
}
|
|
7169
7379
|
};
|
|
7170
|
-
},
|
|
7380
|
+
}, Os = function(e) {
|
|
7171
7381
|
return {
|
|
7172
7382
|
/**
|
|
7173
7383
|
*
|
|
@@ -7204,8 +7414,8 @@ const I = function(e, ...a) {
|
|
|
7204
7414
|
e && (p = e.baseOptions);
|
|
7205
7415
|
const i = { method: "GET", ...p, ...s }, d = {}, h = {};
|
|
7206
7416
|
await P(d, "Authorization", e), a !== void 0 && (h.SearchTerm = a), o !== void 0 && (h.Language = o), n !== void 0 && (h.PageNumber = n), t !== void 0 && (h.PageSize = t), r !== void 0 && (h.OrderBy = r), I(c, h);
|
|
7207
|
-
let
|
|
7208
|
-
return i.headers = { ...d, ...
|
|
7417
|
+
let O = p && p.headers ? p.headers : {};
|
|
7418
|
+
return i.headers = { ...d, ...O, ...s.headers }, {
|
|
7209
7419
|
url: y(c),
|
|
7210
7420
|
options: i
|
|
7211
7421
|
};
|
|
@@ -7248,17 +7458,17 @@ const I = function(e, ...a) {
|
|
|
7248
7458
|
const c = "/api/v2/vocabularies/instances", p = new URL(c, m);
|
|
7249
7459
|
let i;
|
|
7250
7460
|
e && (i = e.baseOptions);
|
|
7251
|
-
const d = { method: "GET", ...i, ...l }, h = {},
|
|
7252
|
-
await P(h, "Authorization", e), a !== void 0 && (
|
|
7253
|
-
let
|
|
7254
|
-
return d.headers = { ...h, ...
|
|
7461
|
+
const d = { method: "GET", ...i, ...l }, h = {}, O = {};
|
|
7462
|
+
await P(h, "Authorization", e), a !== void 0 && (O.Class = a), o !== void 0 && (O.SearchTerm = o), n !== void 0 && (O.Language = n), t !== void 0 && (O.PageSize = t), r !== void 0 && (O.PageNumber = r), s !== void 0 && (O.OrderBy = s), I(p, O);
|
|
7463
|
+
let R = i && i.headers ? i.headers : {};
|
|
7464
|
+
return d.headers = { ...h, ...R, ...l.headers }, {
|
|
7255
7465
|
url: y(p),
|
|
7256
7466
|
options: d
|
|
7257
7467
|
};
|
|
7258
7468
|
}
|
|
7259
7469
|
};
|
|
7260
|
-
},
|
|
7261
|
-
const a =
|
|
7470
|
+
}, Vs = function(e) {
|
|
7471
|
+
const a = Os(e);
|
|
7262
7472
|
return {
|
|
7263
7473
|
/**
|
|
7264
7474
|
*
|
|
@@ -7269,7 +7479,7 @@ const I = function(e, ...a) {
|
|
|
7269
7479
|
async apiV2VocabulariesOptions(o) {
|
|
7270
7480
|
var s, l;
|
|
7271
7481
|
const n = await a.apiV2VocabulariesOptions(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, r = (l = (s = A["VocabularyApi.apiV2VocabulariesOptions"]) == null ? void 0 : s[t]) == null ? void 0 : l.url;
|
|
7272
|
-
return (c, p) => b(n,
|
|
7482
|
+
return (c, p) => b(n, V, u, e)(c, r || p);
|
|
7273
7483
|
},
|
|
7274
7484
|
/**
|
|
7275
7485
|
*
|
|
@@ -7285,7 +7495,7 @@ const I = function(e, ...a) {
|
|
|
7285
7495
|
async getVocabularies(o, n, t, r, s, l) {
|
|
7286
7496
|
var d, h;
|
|
7287
7497
|
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 (
|
|
7498
|
+
return (O, R) => b(c, V, u, e)(O, i || R);
|
|
7289
7499
|
},
|
|
7290
7500
|
/**
|
|
7291
7501
|
* Could be a top-level instance, or an intermediate-level instance from a vocabulary.
|
|
@@ -7298,7 +7508,7 @@ const I = function(e, ...a) {
|
|
|
7298
7508
|
async getVocabularyInstance(o, n, t) {
|
|
7299
7509
|
var c, p;
|
|
7300
7510
|
const r = await a.getVocabularyInstance(o, n, t), s = (e == null ? void 0 : e.serverIndex) ?? 0, l = (p = (c = A["VocabularyApi.getVocabularyInstance"]) == null ? void 0 : c[s]) == null ? void 0 : p.url;
|
|
7301
|
-
return (i, d) => b(r,
|
|
7511
|
+
return (i, d) => b(r, V, u, e)(i, l || d);
|
|
7302
7512
|
},
|
|
7303
7513
|
/**
|
|
7304
7514
|
*
|
|
@@ -7313,13 +7523,13 @@ const I = function(e, ...a) {
|
|
|
7313
7523
|
* @throws {RequiredError}
|
|
7314
7524
|
*/
|
|
7315
7525
|
async getVocabularyInstances(o, n, t, r, s, l, c) {
|
|
7316
|
-
var h,
|
|
7317
|
-
const p = await a.getVocabularyInstances(o, n, t, r, s, l, c), i = (e == null ? void 0 : e.serverIndex) ?? 0, d = (
|
|
7318
|
-
return (
|
|
7526
|
+
var h, O;
|
|
7527
|
+
const p = await a.getVocabularyInstances(o, n, t, r, s, l, c), i = (e == null ? void 0 : e.serverIndex) ?? 0, d = (O = (h = A["VocabularyApi.getVocabularyInstances"]) == null ? void 0 : h[i]) == null ? void 0 : O.url;
|
|
7528
|
+
return (R, S) => b(p, V, u, e)(R, d || S);
|
|
7319
7529
|
}
|
|
7320
7530
|
};
|
|
7321
|
-
},
|
|
7322
|
-
const n =
|
|
7531
|
+
}, us = function(e, a, o) {
|
|
7532
|
+
const n = Vs(e);
|
|
7323
7533
|
return {
|
|
7324
7534
|
/**
|
|
7325
7535
|
*
|
|
@@ -7382,7 +7592,7 @@ const q = function(e, ...a) {
|
|
|
7382
7592
|
const s = { ...e.options, url: ((n == null ? void 0 : n.basePath) || t.defaults.baseURL || r) + e.url };
|
|
7383
7593
|
return t.request(s);
|
|
7384
7594
|
};
|
|
7385
|
-
},
|
|
7595
|
+
}, As = function(e) {
|
|
7386
7596
|
return {
|
|
7387
7597
|
/**
|
|
7388
7598
|
*
|
|
@@ -7421,8 +7631,8 @@ const q = function(e, ...a) {
|
|
|
7421
7631
|
};
|
|
7422
7632
|
}
|
|
7423
7633
|
};
|
|
7424
|
-
},
|
|
7425
|
-
const a =
|
|
7634
|
+
}, ms = function(e) {
|
|
7635
|
+
const a = As(e);
|
|
7426
7636
|
return {
|
|
7427
7637
|
/**
|
|
7428
7638
|
*
|
|
@@ -7433,7 +7643,7 @@ const q = function(e, ...a) {
|
|
|
7433
7643
|
async accountGetLoginUrls(o) {
|
|
7434
7644
|
var s, l;
|
|
7435
7645
|
const n = await a.accountGetLoginUrls(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, r = (l = (s = $["AccountApi.accountGetLoginUrls"]) == null ? void 0 : s[t]) == null ? void 0 : l.url;
|
|
7436
|
-
return (c, p) => K(n,
|
|
7646
|
+
return (c, p) => K(n, V, N, e)(c, r || p);
|
|
7437
7647
|
},
|
|
7438
7648
|
/**
|
|
7439
7649
|
*
|
|
@@ -7444,11 +7654,11 @@ const q = function(e, ...a) {
|
|
|
7444
7654
|
async accountLogout(o) {
|
|
7445
7655
|
var s, l;
|
|
7446
7656
|
const n = await a.accountLogout(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, r = (l = (s = $["AccountApi.accountLogout"]) == null ? void 0 : s[t]) == null ? void 0 : l.url;
|
|
7447
|
-
return (c, p) => K(n,
|
|
7657
|
+
return (c, p) => K(n, V, N, e)(c, r || p);
|
|
7448
7658
|
}
|
|
7449
7659
|
};
|
|
7450
|
-
},
|
|
7451
|
-
const n =
|
|
7660
|
+
}, Ps = function(e, a, o) {
|
|
7661
|
+
const n = ms(e);
|
|
7452
7662
|
return {
|
|
7453
7663
|
/**
|
|
7454
7664
|
*
|
|
@@ -7469,7 +7679,7 @@ const q = function(e, ...a) {
|
|
|
7469
7679
|
return n.accountLogout(t).then((r) => r(o, a));
|
|
7470
7680
|
}
|
|
7471
7681
|
};
|
|
7472
|
-
},
|
|
7682
|
+
}, Is = function(e) {
|
|
7473
7683
|
return {
|
|
7474
7684
|
/**
|
|
7475
7685
|
*
|
|
@@ -7490,8 +7700,8 @@ const q = function(e, ...a) {
|
|
|
7490
7700
|
};
|
|
7491
7701
|
}
|
|
7492
7702
|
};
|
|
7493
|
-
},
|
|
7494
|
-
const a =
|
|
7703
|
+
}, ys = function(e) {
|
|
7704
|
+
const a = Is(e);
|
|
7495
7705
|
return {
|
|
7496
7706
|
/**
|
|
7497
7707
|
*
|
|
@@ -7502,11 +7712,11 @@ const q = function(e, ...a) {
|
|
|
7502
7712
|
async homeIndex(o) {
|
|
7503
7713
|
var s, l;
|
|
7504
7714
|
const n = await a.homeIndex(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, r = (l = (s = $["HomeApi.homeIndex"]) == null ? void 0 : s[t]) == null ? void 0 : l.url;
|
|
7505
|
-
return (c, p) => K(n,
|
|
7715
|
+
return (c, p) => K(n, V, N, e)(c, r || p);
|
|
7506
7716
|
}
|
|
7507
7717
|
};
|
|
7508
|
-
},
|
|
7509
|
-
const n =
|
|
7718
|
+
}, bs = function(e, a, o) {
|
|
7719
|
+
const n = ys(e);
|
|
7510
7720
|
return {
|
|
7511
7721
|
/**
|
|
7512
7722
|
*
|
|
@@ -7518,7 +7728,7 @@ const q = function(e, ...a) {
|
|
|
7518
7728
|
return n.homeIndex(t).then((r) => r(o, a));
|
|
7519
7729
|
}
|
|
7520
7730
|
};
|
|
7521
|
-
},
|
|
7731
|
+
}, Rs = function(e) {
|
|
7522
7732
|
return {
|
|
7523
7733
|
/**
|
|
7524
7734
|
*
|
|
@@ -7557,8 +7767,8 @@ const q = function(e, ...a) {
|
|
|
7557
7767
|
};
|
|
7558
7768
|
}
|
|
7559
7769
|
};
|
|
7560
|
-
},
|
|
7561
|
-
const a =
|
|
7770
|
+
}, js = function(e) {
|
|
7771
|
+
const a = Rs(e);
|
|
7562
7772
|
return {
|
|
7563
7773
|
/**
|
|
7564
7774
|
*
|
|
@@ -7569,7 +7779,7 @@ const q = function(e, ...a) {
|
|
|
7569
7779
|
async mergeCallback(o, n) {
|
|
7570
7780
|
var l, c;
|
|
7571
7781
|
const t = await a.mergeCallback(o, n), r = (e == null ? void 0 : e.serverIndex) ?? 0, s = (c = (l = $["MergeApi.mergeCallback"]) == null ? void 0 : l[r]) == null ? void 0 : c.url;
|
|
7572
|
-
return (p, i) => K(t,
|
|
7782
|
+
return (p, i) => K(t, V, N, e)(p, s || i);
|
|
7573
7783
|
},
|
|
7574
7784
|
/**
|
|
7575
7785
|
*
|
|
@@ -7580,11 +7790,11 @@ const q = function(e, ...a) {
|
|
|
7580
7790
|
async mergeLogin(o, n) {
|
|
7581
7791
|
var l, c;
|
|
7582
7792
|
const t = await a.mergeLogin(o, n), r = (e == null ? void 0 : e.serverIndex) ?? 0, s = (c = (l = $["MergeApi.mergeLogin"]) == null ? void 0 : l[r]) == null ? void 0 : c.url;
|
|
7583
|
-
return (p, i) => K(t,
|
|
7793
|
+
return (p, i) => K(t, V, N, e)(p, s || i);
|
|
7584
7794
|
}
|
|
7585
7795
|
};
|
|
7586
|
-
},
|
|
7587
|
-
const n =
|
|
7796
|
+
}, vs = function(e, a, o) {
|
|
7797
|
+
const n = js(e);
|
|
7588
7798
|
return {
|
|
7589
7799
|
/**
|
|
7590
7800
|
*
|
|
@@ -7605,7 +7815,7 @@ const q = function(e, ...a) {
|
|
|
7605
7815
|
return n.mergeLogin(t.returnUrl, r).then((s) => s(o, a));
|
|
7606
7816
|
}
|
|
7607
7817
|
};
|
|
7608
|
-
},
|
|
7818
|
+
}, Ss = function(e) {
|
|
7609
7819
|
return {
|
|
7610
7820
|
/**
|
|
7611
7821
|
*
|
|
@@ -7647,8 +7857,8 @@ const q = function(e, ...a) {
|
|
|
7647
7857
|
};
|
|
7648
7858
|
}
|
|
7649
7859
|
};
|
|
7650
|
-
},
|
|
7651
|
-
const a =
|
|
7860
|
+
}, ws = function(e) {
|
|
7861
|
+
const a = Ss(e);
|
|
7652
7862
|
return {
|
|
7653
7863
|
/**
|
|
7654
7864
|
*
|
|
@@ -7660,7 +7870,7 @@ const q = function(e, ...a) {
|
|
|
7660
7870
|
async oRCiDLoginGET(o, n) {
|
|
7661
7871
|
var l, c;
|
|
7662
7872
|
const t = await a.oRCiDLoginGET(o, n), r = (e == null ? void 0 : e.serverIndex) ?? 0, s = (c = (l = $["ORCiDApi.oRCiDLoginGET"]) == null ? void 0 : l[r]) == null ? void 0 : c.url;
|
|
7663
|
-
return (p, i) => K(t,
|
|
7873
|
+
return (p, i) => K(t, V, N, e)(p, s || i);
|
|
7664
7874
|
},
|
|
7665
7875
|
/**
|
|
7666
7876
|
*
|
|
@@ -7673,11 +7883,11 @@ const q = function(e, ...a) {
|
|
|
7673
7883
|
async oRCiDLoginPOST(o, n, t) {
|
|
7674
7884
|
var c, p;
|
|
7675
7885
|
const r = await a.oRCiDLoginPOST(o, n, t), s = (e == null ? void 0 : e.serverIndex) ?? 0, l = (p = (c = $["ORCiDApi.oRCiDLoginPOST"]) == null ? void 0 : c[s]) == null ? void 0 : p.url;
|
|
7676
|
-
return (i, d) => K(r,
|
|
7886
|
+
return (i, d) => K(r, V, N, e)(i, l || d);
|
|
7677
7887
|
}
|
|
7678
7888
|
};
|
|
7679
|
-
},
|
|
7680
|
-
const n =
|
|
7889
|
+
}, Ts = function(e, a, o) {
|
|
7890
|
+
const n = ws(e);
|
|
7681
7891
|
return {
|
|
7682
7892
|
/**
|
|
7683
7893
|
*
|
|
@@ -7700,7 +7910,7 @@ const q = function(e, ...a) {
|
|
|
7700
7910
|
return n.oRCiDLoginPOST(t.oRCiDJWT, t.returnUrl, r).then((s) => s(o, a));
|
|
7701
7911
|
}
|
|
7702
7912
|
};
|
|
7703
|
-
},
|
|
7913
|
+
}, Us = function(e) {
|
|
7704
7914
|
return {
|
|
7705
7915
|
/**
|
|
7706
7916
|
*
|
|
@@ -7743,8 +7953,8 @@ const q = function(e, ...a) {
|
|
|
7743
7953
|
};
|
|
7744
7954
|
}
|
|
7745
7955
|
};
|
|
7746
|
-
},
|
|
7747
|
-
const a =
|
|
7956
|
+
}, xs = function(e) {
|
|
7957
|
+
const a = Us(e);
|
|
7748
7958
|
return {
|
|
7749
7959
|
/**
|
|
7750
7960
|
*
|
|
@@ -7757,7 +7967,7 @@ const q = function(e, ...a) {
|
|
|
7757
7967
|
async shibbolethCallback(o, n, t) {
|
|
7758
7968
|
var c, p;
|
|
7759
7969
|
const r = await a.shibbolethCallback(o, n, t), s = (e == null ? void 0 : e.serverIndex) ?? 0, l = (p = (c = $["ShibbolethApi.shibbolethCallback"]) == null ? void 0 : c[s]) == null ? void 0 : p.url;
|
|
7760
|
-
return (i, d) => K(r,
|
|
7970
|
+
return (i, d) => K(r, V, N, e)(i, l || d);
|
|
7761
7971
|
},
|
|
7762
7972
|
/**
|
|
7763
7973
|
*
|
|
@@ -7770,11 +7980,11 @@ const q = function(e, ...a) {
|
|
|
7770
7980
|
async shibbolethLogin(o, n, t) {
|
|
7771
7981
|
var c, p;
|
|
7772
7982
|
const r = await a.shibbolethLogin(o, n, t), s = (e == null ? void 0 : e.serverIndex) ?? 0, l = (p = (c = $["ShibbolethApi.shibbolethLogin"]) == null ? void 0 : c[s]) == null ? void 0 : p.url;
|
|
7773
|
-
return (i, d) => K(r,
|
|
7983
|
+
return (i, d) => K(r, V, N, e)(i, l || d);
|
|
7774
7984
|
}
|
|
7775
7985
|
};
|
|
7776
|
-
},
|
|
7777
|
-
const n =
|
|
7986
|
+
}, Bs = function(e, a, o) {
|
|
7987
|
+
const n = xs(e);
|
|
7778
7988
|
return {
|
|
7779
7989
|
/**
|
|
7780
7990
|
*
|
|
@@ -7810,21 +8020,21 @@ const x = () => {
|
|
|
7810
8020
|
let a = typeof window < "u" ? window.location.hostname : "coscine.rwth-aachen.de";
|
|
7811
8021
|
return a.indexOf(":") !== -1 && (a.indexOf("https://") !== -1 && (a = a.replace("https://", "")), a = a.substr(0, a.indexOf(":"))), a;
|
|
7812
8022
|
};
|
|
7813
|
-
function
|
|
8023
|
+
function Fs(e) {
|
|
7814
8024
|
return {
|
|
7815
8025
|
// Upon adding or removing any API endpoints, the list of entries below may have to be manually updated:
|
|
7816
|
-
AccountApi:
|
|
8026
|
+
AccountApi: Ps(new U({ accessToken: T }), "https://" + x() + "/coscine/api/Coscine.Api.STS", e),
|
|
7817
8027
|
AdminApi: Br(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
|
|
7818
8028
|
ApplicationProfileApi: Lr(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
|
|
7819
|
-
BlobApi:
|
|
8029
|
+
BlobApi: zr(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
|
|
7820
8030
|
DisciplineApi: kr(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
|
|
7821
8031
|
HandleApi: $r(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
|
|
7822
|
-
HomeApi:
|
|
8032
|
+
HomeApi: bs(new U({ accessToken: T }), "https://" + x() + "/coscine/api/Coscine.Api.STS", e),
|
|
7823
8033
|
LanguageApi: qr(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
|
|
7824
8034
|
LicenseApi: Wr(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
|
|
7825
8035
|
MaintenanceApi: Yr(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
|
|
7826
|
-
MergeApi:
|
|
7827
|
-
ORCiDApi:
|
|
8036
|
+
MergeApi: vs(new U({ accessToken: T }), "https://" + x() + "/coscine/api/Coscine.Api.STS", e),
|
|
8037
|
+
ORCiDApi: Ts(new U({ accessToken: T }), "https://" + x() + "/coscine/api/Coscine.Api.STS", e),
|
|
7828
8038
|
OrganizationApi: ea(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
|
|
7829
8039
|
PidApi: aa(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
|
|
7830
8040
|
ProjectApi: na(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
|
|
@@ -7837,68 +8047,70 @@ function Us(e) {
|
|
|
7837
8047
|
ProjectResourceTypeApi: Ta(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
|
|
7838
8048
|
ResourceApi: Ba(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
|
|
7839
8049
|
ResourceTypeApi: La(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
|
|
7840
|
-
RoleApi:
|
|
8050
|
+
RoleApi: za(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
|
|
7841
8051
|
SearchApi: ka(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
|
|
7842
8052
|
SelfApi: $a(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
|
|
7843
8053
|
SelfApiTokenApi: qa(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
|
|
7844
8054
|
SelfSessionApi: Wa(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
|
|
7845
|
-
ShibbolethApi:
|
|
7846
|
-
|
|
7847
|
-
|
|
7848
|
-
|
|
7849
|
-
|
|
7850
|
-
|
|
7851
|
-
|
|
8055
|
+
ShibbolethApi: Bs(new U({ accessToken: T }), "https://" + x() + "/coscine/api/Coscine.Api.STS", e),
|
|
8056
|
+
SystemStatusApi: Ya(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
|
|
8057
|
+
TitleApi: es(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
|
|
8058
|
+
TosApi: as(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
|
|
8059
|
+
TreeApi: ns(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
|
|
8060
|
+
UserApi: ps(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
|
|
8061
|
+
VisibilityApi: hs(new U({ accessToken: T }), "https://" + x() + "/coscine", e),
|
|
8062
|
+
VocabularyApi: us(new U({ accessToken: T }), "https://" + x() + "/coscine", e)
|
|
7852
8063
|
};
|
|
7853
8064
|
}
|
|
7854
|
-
const nt =
|
|
8065
|
+
const nt = V.create({
|
|
7855
8066
|
withCredentials: !0
|
|
7856
|
-
}),
|
|
7857
|
-
function
|
|
8067
|
+
}), Cs = "X-Coscine-Logging-CorrelationId";
|
|
8068
|
+
function Ls(e) {
|
|
7858
8069
|
if (typeof window < "u") {
|
|
7859
8070
|
const a = localStorage.getItem("coscine.authorization.bearer");
|
|
7860
8071
|
a && e.headers.setAuthorization("Bearer " + a);
|
|
7861
8072
|
const o = localStorage.getItem("coscine.clientcorrelation.id");
|
|
7862
|
-
o && e.headers.set(
|
|
8073
|
+
o && e.headers.set(Cs, o);
|
|
7863
8074
|
}
|
|
7864
8075
|
}
|
|
7865
|
-
nt.interceptors.request.use((e) => (
|
|
7866
|
-
const B =
|
|
8076
|
+
nt.interceptors.request.use((e) => (Ls(e), e), (e) => Promise.reject(e), { synchronous: !0 });
|
|
8077
|
+
const B = Fs(nt), Ms = B.AccountApi, zs = B.AdminApi, Hs = B.ApplicationProfileApi, Qs = B.BlobApi, ks = B.DisciplineApi, Ds = B.HandleApi, Ns = B.HomeApi, $s = B.LanguageApi, Gs = B.LicenseApi, _s = B.MaintenanceApi, qs = B.MergeApi, Js = B.ORCiDApi, Ks = B.OrganizationApi, Ws = B.PidApi, Xs = B.ProjectApi, fs = B.ProjectInvitationApi, Ys = B.ProjectMemberApi, Zs = B.ProjectPublicationRequestApi, gs = B.ProjectQuotaApi, eo = B.ProjectResourceApi, to = B.ProjectResourceQuotaApi, ro = B.ProjectResourceTypeApi, ao = B.ResourceApi, so = B.ResourceTypeApi, oo = B.RoleApi, no = B.SearchApi, lo = B.SelfApi, co = B.SelfApiTokenApi, po = B.ShibbolethApi, io = B.SystemStatusApi, ho = B.TitleApi, Oo = B.TosApi, Vo = B.TreeApi, uo = B.UserApi, Ao = B.VisibilityApi, mo = B.VocabularyApi;
|
|
7867
8078
|
export {
|
|
7868
|
-
|
|
7869
|
-
|
|
7870
|
-
|
|
7871
|
-
|
|
7872
|
-
|
|
7873
|
-
|
|
7874
|
-
|
|
7875
|
-
|
|
7876
|
-
|
|
7877
|
-
|
|
7878
|
-
|
|
7879
|
-
|
|
7880
|
-
|
|
7881
|
-
|
|
7882
|
-
|
|
7883
|
-
|
|
7884
|
-
|
|
7885
|
-
|
|
7886
|
-
|
|
7887
|
-
|
|
7888
|
-
|
|
7889
|
-
|
|
7890
|
-
|
|
7891
|
-
|
|
7892
|
-
|
|
7893
|
-
|
|
7894
|
-
|
|
7895
|
-
|
|
7896
|
-
|
|
7897
|
-
|
|
7898
|
-
|
|
7899
|
-
|
|
7900
|
-
|
|
7901
|
-
|
|
7902
|
-
|
|
8079
|
+
Ms as AccountApi,
|
|
8080
|
+
zs as AdminApi,
|
|
8081
|
+
Hs as ApplicationProfileApi,
|
|
8082
|
+
Qs as BlobApi,
|
|
8083
|
+
ks as DisciplineApi,
|
|
8084
|
+
Ds as HandleApi,
|
|
8085
|
+
Ns as HomeApi,
|
|
8086
|
+
$s as LanguageApi,
|
|
8087
|
+
Gs as LicenseApi,
|
|
8088
|
+
_s as MaintenanceApi,
|
|
8089
|
+
qs as MergeApi,
|
|
8090
|
+
Js as ORCiDApi,
|
|
8091
|
+
Ks as OrganizationApi,
|
|
8092
|
+
Ws as PidApi,
|
|
8093
|
+
Xs as ProjectApi,
|
|
8094
|
+
fs as ProjectInvitationApi,
|
|
8095
|
+
Ys as ProjectMemberApi,
|
|
8096
|
+
Zs as ProjectPublicationRequestApi,
|
|
8097
|
+
gs as ProjectQuotaApi,
|
|
8098
|
+
eo as ProjectResourceApi,
|
|
8099
|
+
to as ProjectResourceQuotaApi,
|
|
8100
|
+
ro as ProjectResourceTypeApi,
|
|
8101
|
+
ao as ResourceApi,
|
|
8102
|
+
so as ResourceTypeApi,
|
|
8103
|
+
oo as RoleApi,
|
|
8104
|
+
no as SearchApi,
|
|
8105
|
+
lo as SelfApi,
|
|
8106
|
+
co as SelfApiTokenApi,
|
|
8107
|
+
po as ShibbolethApi,
|
|
8108
|
+
io as SystemStatusApi,
|
|
8109
|
+
ho as TitleApi,
|
|
8110
|
+
Oo as TosApi,
|
|
8111
|
+
Vo as TreeApi,
|
|
8112
|
+
uo as UserApi,
|
|
8113
|
+
Ao as VisibilityApi,
|
|
8114
|
+
mo as VocabularyApi,
|
|
7903
8115
|
B as default
|
|
7904
8116
|
};
|