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