@coscine/api-client 3.8.0 → 3.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
|
@@ -337,7 +337,7 @@ function ie(e, r, o) {
|
|
|
337
337
|
convertValue: i,
|
|
338
338
|
isVisitable: Ve
|
|
339
339
|
});
|
|
340
|
-
function
|
|
340
|
+
function u(w, T) {
|
|
341
341
|
if (!j.isUndefined(w)) {
|
|
342
342
|
if (d.indexOf(w) !== -1)
|
|
343
343
|
throw Error("Circular reference detected in " + T.join("."));
|
|
@@ -348,13 +348,13 @@ function ie(e, r, o) {
|
|
|
348
348
|
j.isString(z) ? z.trim() : z,
|
|
349
349
|
T,
|
|
350
350
|
h
|
|
351
|
-
)) === !0 &&
|
|
351
|
+
)) === !0 && u(C, T ? T.concat(z) : [z]);
|
|
352
352
|
}), d.pop();
|
|
353
353
|
}
|
|
354
354
|
}
|
|
355
355
|
if (!j.isObject(e))
|
|
356
356
|
throw new TypeError("data must be an object");
|
|
357
|
-
return
|
|
357
|
+
return u(e), r;
|
|
358
358
|
}
|
|
359
359
|
function Fe(e) {
|
|
360
360
|
const r = {
|
|
@@ -880,8 +880,8 @@ function Pr(e, r) {
|
|
|
880
880
|
h += o[d++], d = d % e;
|
|
881
881
|
if (t = (t + 1) % e, t === s && (s = (s + 1) % e), i - a < r)
|
|
882
882
|
return;
|
|
883
|
-
const
|
|
884
|
-
return
|
|
883
|
+
const u = p && i - p;
|
|
884
|
+
return u ? Math.round(h * 1e3 / u) : void 0;
|
|
885
885
|
};
|
|
886
886
|
}
|
|
887
887
|
function Ee(e, r) {
|
|
@@ -926,7 +926,7 @@ const br = typeof XMLHttpRequest < "u", yr = br && function(e) {
|
|
|
926
926
|
}
|
|
927
927
|
const h = rt(e.baseURL, e.url);
|
|
928
928
|
d.open(e.method.toUpperCase(), Ye(h, e.params, e.paramsSerializer), !0), d.timeout = e.timeout;
|
|
929
|
-
function
|
|
929
|
+
function u() {
|
|
930
930
|
if (!d)
|
|
931
931
|
return;
|
|
932
932
|
const T = D.from(
|
|
@@ -945,8 +945,8 @@ const br = typeof XMLHttpRequest < "u", yr = br && function(e) {
|
|
|
945
945
|
n(f), i();
|
|
946
946
|
}, C), d = null;
|
|
947
947
|
}
|
|
948
|
-
if ("onloadend" in d ? d.onloadend =
|
|
949
|
-
!d || d.readyState !== 4 || d.status === 0 && !(d.responseURL && d.responseURL.indexOf("file:") === 0) || setTimeout(
|
|
948
|
+
if ("onloadend" in d ? d.onloadend = u : d.onreadystatechange = function() {
|
|
949
|
+
!d || d.readyState !== 4 || d.status === 0 && !(d.responseURL && d.responseURL.indexOf("file:") === 0) || setTimeout(u);
|
|
950
950
|
}, d.onabort = function() {
|
|
951
951
|
d && (n(new F("Request aborted", F.ECONNABORTED, e, d)), d = null);
|
|
952
952
|
}, d.onerror = function() {
|
|
@@ -1210,18 +1210,18 @@ class oe {
|
|
|
1210
1210
|
return p;
|
|
1211
1211
|
}
|
|
1212
1212
|
h = l.length;
|
|
1213
|
-
let
|
|
1213
|
+
let u = o;
|
|
1214
1214
|
for (d = 0; d < h; ) {
|
|
1215
1215
|
const w = l[d++], T = l[d++];
|
|
1216
1216
|
try {
|
|
1217
|
-
|
|
1217
|
+
u = w(u);
|
|
1218
1218
|
} catch (U) {
|
|
1219
1219
|
T.call(this, U);
|
|
1220
1220
|
break;
|
|
1221
1221
|
}
|
|
1222
1222
|
}
|
|
1223
1223
|
try {
|
|
1224
|
-
p = Me.call(this,
|
|
1224
|
+
p = Me.call(this, u);
|
|
1225
1225
|
} catch (w) {
|
|
1226
1226
|
return Promise.reject(w);
|
|
1227
1227
|
}
|
|
@@ -1432,7 +1432,7 @@ E.formToJSON = (e) => et(j.isHTMLForm(e) ? new FormData(e) : e);
|
|
|
1432
1432
|
E.getAdapter = st.getAdapter;
|
|
1433
1433
|
E.HttpStatusCode = Ur;
|
|
1434
1434
|
E.default = E;
|
|
1435
|
-
const
|
|
1435
|
+
const O = E, A = "https://d-sp28.devlef.campus.rwth-aachen.de/coscine".replace(/\/+$/, "");
|
|
1436
1436
|
class vr extends Error {
|
|
1437
1437
|
constructor(r, o) {
|
|
1438
1438
|
super(o), this.field = r, this.name = "RequiredError";
|
|
@@ -1502,11 +1502,11 @@ const b = function(e, ...r) {
|
|
|
1502
1502
|
*/
|
|
1503
1503
|
getAllActivityLogs: async (r, o, n, t, s, a, l, c, i, p = {}) => {
|
|
1504
1504
|
const d = "/api/v2/admin/activity-logs", h = new URL(d, m);
|
|
1505
|
-
let
|
|
1506
|
-
e && (
|
|
1507
|
-
const w = { method: "GET", ...
|
|
1505
|
+
let u;
|
|
1506
|
+
e && (u = e.baseOptions);
|
|
1507
|
+
const w = { method: "GET", ...u, ...p }, T = {}, U = {};
|
|
1508
1508
|
await P(T, "Authorization", e), r !== void 0 && (U.ActivityTimestampBefore = r instanceof Date ? r.toISOString() : r), o !== void 0 && (U.ActivityTimestampAfter = o instanceof Date ? o.toISOString() : o), n !== void 0 && (U.Guid = n), t !== void 0 && (U.UserId = t), s !== void 0 && (U.RegularExpression = s), a !== void 0 && (U.HttpMethod = a), l !== void 0 && (U.PageNumber = l), c !== void 0 && (U.PageSize = c), i !== void 0 && (U.OrderBy = i), b(h, U);
|
|
1509
|
-
let C =
|
|
1509
|
+
let C = u && u.headers ? u.headers : {};
|
|
1510
1510
|
return w.headers = { ...T, ...C, ...p.headers }, {
|
|
1511
1511
|
url: y(h),
|
|
1512
1512
|
options: w
|
|
@@ -1528,8 +1528,8 @@ const b = function(e, ...r) {
|
|
|
1528
1528
|
const c = "/api/v2/admin/projects", i = new URL(c, m);
|
|
1529
1529
|
let p;
|
|
1530
1530
|
e && (p = e.baseOptions);
|
|
1531
|
-
const d = { method: "GET", ...p, ...l }, h = {},
|
|
1532
|
-
await P(h, "Authorization", e), r !== void 0 && (
|
|
1531
|
+
const d = { method: "GET", ...p, ...l }, h = {}, u = {};
|
|
1532
|
+
await P(h, "Authorization", e), r !== void 0 && (u.TopLevel = r), o !== void 0 && (u.IncludeDeleted = o), n !== void 0 && (u.IncludeQuotas = n), t !== void 0 && (u.PageSize = t), s !== void 0 && (u.PageNumber = s), a !== void 0 && (u.OrderBy = a), b(i, u);
|
|
1533
1533
|
let w = p && p.headers ? p.headers : {};
|
|
1534
1534
|
return d.headers = { ...h, ...w, ...l.headers }, {
|
|
1535
1535
|
url: y(i),
|
|
@@ -1553,8 +1553,8 @@ const b = function(e, ...r) {
|
|
|
1553
1553
|
e && (i = e.baseOptions);
|
|
1554
1554
|
const p = { method: "GET", ...i, ...a }, d = {}, h = {};
|
|
1555
1555
|
await P(d, "Authorization", e), r !== void 0 && (h.IncludeDeleted = r), o !== void 0 && (h.IncludeQuotas = o), n !== void 0 && (h.PageSize = n), t !== void 0 && (h.PageNumber = t), s !== void 0 && (h.OrderBy = s), b(c, h);
|
|
1556
|
-
let
|
|
1557
|
-
return p.headers = { ...d, ...
|
|
1556
|
+
let u = i && i.headers ? i.headers : {};
|
|
1557
|
+
return p.headers = { ...d, ...u, ...a.headers }, {
|
|
1558
1558
|
url: y(c),
|
|
1559
1559
|
options: p
|
|
1560
1560
|
};
|
|
@@ -1678,7 +1678,7 @@ const b = function(e, ...r) {
|
|
|
1678
1678
|
async apiV2AdminOptions(o) {
|
|
1679
1679
|
var a, l;
|
|
1680
1680
|
const n = await r.apiV2AdminOptions(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, s = (l = (a = V["AdminApi.apiV2AdminOptions"]) == null ? void 0 : a[t]) == null ? void 0 : l.url;
|
|
1681
|
-
return (c, i) => R(n,
|
|
1681
|
+
return (c, i) => R(n, O, A, e)(c, s || i);
|
|
1682
1682
|
},
|
|
1683
1683
|
/**
|
|
1684
1684
|
* <p><strong>Required JWT roles for access:</strong> <code>administrator</code>.</p>
|
|
@@ -1697,8 +1697,8 @@ const b = function(e, ...r) {
|
|
|
1697
1697
|
*/
|
|
1698
1698
|
async getAllActivityLogs(o, n, t, s, a, l, c, i, p, d) {
|
|
1699
1699
|
var T, U;
|
|
1700
|
-
const h = await r.getAllActivityLogs(o, n, t, s, a, l, c, i, p, d),
|
|
1701
|
-
return (C, z) => R(h,
|
|
1700
|
+
const h = await r.getAllActivityLogs(o, n, t, s, a, l, c, i, p, d), u = (e == null ? void 0 : e.serverIndex) ?? 0, w = (U = (T = V["AdminApi.getAllActivityLogs"]) == null ? void 0 : T[u]) == null ? void 0 : U.url;
|
|
1701
|
+
return (C, z) => R(h, O, A, e)(C, w || z);
|
|
1702
1702
|
},
|
|
1703
1703
|
/**
|
|
1704
1704
|
* <p><strong>Required JWT roles for access:</strong> <code>administrator</code>.</p>
|
|
@@ -1713,9 +1713,9 @@ const b = function(e, ...r) {
|
|
|
1713
1713
|
* @throws {RequiredError}
|
|
1714
1714
|
*/
|
|
1715
1715
|
async getAllProjects(o, n, t, s, a, l, c) {
|
|
1716
|
-
var h,
|
|
1717
|
-
const i = await r.getAllProjects(o, n, t, s, a, l, c), p = (e == null ? void 0 : e.serverIndex) ?? 0, d = (
|
|
1718
|
-
return (w, T) => R(i,
|
|
1716
|
+
var h, u;
|
|
1717
|
+
const i = await r.getAllProjects(o, n, t, s, a, l, c), p = (e == null ? void 0 : e.serverIndex) ?? 0, d = (u = (h = V["AdminApi.getAllProjects"]) == null ? void 0 : h[p]) == null ? void 0 : u.url;
|
|
1718
|
+
return (w, T) => R(i, O, A, e)(w, d || T);
|
|
1719
1719
|
},
|
|
1720
1720
|
/**
|
|
1721
1721
|
* <p><strong>Required JWT roles for access:</strong> <code>administrator</code>.</p>
|
|
@@ -1731,7 +1731,7 @@ const b = function(e, ...r) {
|
|
|
1731
1731
|
async getAllResources(o, n, t, s, a, l) {
|
|
1732
1732
|
var d, h;
|
|
1733
1733
|
const c = await r.getAllResources(o, n, t, s, a, l), i = (e == null ? void 0 : e.serverIndex) ?? 0, p = (h = (d = V["AdminApi.getAllResources"]) == null ? void 0 : d[i]) == null ? void 0 : h.url;
|
|
1734
|
-
return (
|
|
1734
|
+
return (u, w) => R(c, O, A, e)(u, p || w);
|
|
1735
1735
|
},
|
|
1736
1736
|
/**
|
|
1737
1737
|
* <p><strong>Required JWT roles for access:</strong> <code>administrator</code>.</p>
|
|
@@ -1746,7 +1746,7 @@ const b = function(e, ...r) {
|
|
|
1746
1746
|
async getAllUsers(o, n, t, s, a) {
|
|
1747
1747
|
var p, d;
|
|
1748
1748
|
const l = await r.getAllUsers(o, n, t, s, a), c = (e == null ? void 0 : e.serverIndex) ?? 0, i = (d = (p = V["AdminApi.getAllUsers"]) == null ? void 0 : p[c]) == null ? void 0 : d.url;
|
|
1749
|
-
return (h,
|
|
1749
|
+
return (h, u) => R(l, O, A, e)(h, i || u);
|
|
1750
1750
|
},
|
|
1751
1751
|
/**
|
|
1752
1752
|
* <p><strong>Required JWT roles for access:</strong> <code>administrator</code>.</p>
|
|
@@ -1760,7 +1760,7 @@ const b = function(e, ...r) {
|
|
|
1760
1760
|
async getDeployedGraphs(o, n, t, s) {
|
|
1761
1761
|
var i, p;
|
|
1762
1762
|
const a = await r.getDeployedGraphs(o, n, t, s), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (p = (i = V["AdminApi.getDeployedGraphs"]) == null ? void 0 : i[l]) == null ? void 0 : p.url;
|
|
1763
|
-
return (d, h) => R(a,
|
|
1763
|
+
return (d, h) => R(a, O, A, e)(d, c || h);
|
|
1764
1764
|
},
|
|
1765
1765
|
/**
|
|
1766
1766
|
* <p><strong>Required JWT roles for access:</strong> <code>administrator</code>.</p>
|
|
@@ -1773,7 +1773,7 @@ const b = function(e, ...r) {
|
|
|
1773
1773
|
async getMetadataGraph(o, n, t) {
|
|
1774
1774
|
var c, i;
|
|
1775
1775
|
const s = await r.getMetadataGraph(o, n, t), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["AdminApi.getMetadataGraph"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
|
|
1776
|
-
return (p, d) => R(s,
|
|
1776
|
+
return (p, d) => R(s, O, A, e)(p, l || d);
|
|
1777
1777
|
},
|
|
1778
1778
|
/**
|
|
1779
1779
|
* <p><strong>Required JWT roles for access:</strong> <code>administrator</code>.</p>
|
|
@@ -1786,7 +1786,7 @@ const b = function(e, ...r) {
|
|
|
1786
1786
|
async patchMetadata(o, n, t) {
|
|
1787
1787
|
var c, i;
|
|
1788
1788
|
const s = await r.patchMetadata(o, n, t), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["AdminApi.patchMetadata"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
|
|
1789
|
-
return (p, d) => R(s,
|
|
1789
|
+
return (p, d) => R(s, O, A, e)(p, l || d);
|
|
1790
1790
|
},
|
|
1791
1791
|
/**
|
|
1792
1792
|
* <p><strong>Required JWT roles for access:</strong> <code>administrator</code>.</p>
|
|
@@ -1799,7 +1799,7 @@ const b = function(e, ...r) {
|
|
|
1799
1799
|
async updateMetadataGraph(o, n, t) {
|
|
1800
1800
|
var c, i;
|
|
1801
1801
|
const s = await r.updateMetadataGraph(o, n, t), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["AdminApi.updateMetadataGraph"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
|
|
1802
|
-
return (p, d) => R(s,
|
|
1802
|
+
return (p, d) => R(s, O, A, e)(p, l || d);
|
|
1803
1803
|
}
|
|
1804
1804
|
};
|
|
1805
1805
|
}, Br = function(e, r, o) {
|
|
@@ -1972,8 +1972,8 @@ const b = function(e, ...r) {
|
|
|
1972
1972
|
const c = "/api/v2/application-profiles/profiles", i = new URL(c, m);
|
|
1973
1973
|
let p;
|
|
1974
1974
|
e && (p = e.baseOptions);
|
|
1975
|
-
const d = { method: "GET", ...p, ...l }, h = {},
|
|
1976
|
-
await P(h, "Authorization", e), r !== void 0 && (
|
|
1975
|
+
const d = { method: "GET", ...p, ...l }, h = {}, u = {};
|
|
1976
|
+
await P(h, "Authorization", e), r !== void 0 && (u.SearchTerm = r), o !== void 0 && (u.Language = o), n !== void 0 && (u.Modules = n), t !== void 0 && (u.PageNumber = t), s !== void 0 && (u.PageSize = s), a !== void 0 && (u.OrderBy = a), b(i, u);
|
|
1977
1977
|
let w = p && p.headers ? p.headers : {};
|
|
1978
1978
|
return d.headers = { ...h, ...w, ...l.headers }, {
|
|
1979
1979
|
url: y(i),
|
|
@@ -2013,7 +2013,7 @@ const b = function(e, ...r) {
|
|
|
2013
2013
|
async apiV2ApplicationProfilesOptions(o) {
|
|
2014
2014
|
var a, l;
|
|
2015
2015
|
const n = await r.apiV2ApplicationProfilesOptions(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, s = (l = (a = V["ApplicationProfileApi.apiV2ApplicationProfilesOptions"]) == null ? void 0 : a[t]) == null ? void 0 : l.url;
|
|
2016
|
-
return (c, i) => R(n,
|
|
2016
|
+
return (c, i) => R(n, O, A, e)(c, s || i);
|
|
2017
2017
|
},
|
|
2018
2018
|
/**
|
|
2019
2019
|
*
|
|
@@ -2025,7 +2025,7 @@ const b = function(e, ...r) {
|
|
|
2025
2025
|
async createApplicationProfileRequest(o, n) {
|
|
2026
2026
|
var l, c;
|
|
2027
2027
|
const t = await r.createApplicationProfileRequest(o, n), s = (e == null ? void 0 : e.serverIndex) ?? 0, a = (c = (l = V["ApplicationProfileApi.createApplicationProfileRequest"]) == null ? void 0 : l[s]) == null ? void 0 : c.url;
|
|
2028
|
-
return (i, p) => R(t,
|
|
2028
|
+
return (i, p) => R(t, O, A, e)(i, a || p);
|
|
2029
2029
|
},
|
|
2030
2030
|
/**
|
|
2031
2031
|
*
|
|
@@ -2039,7 +2039,7 @@ const b = function(e, ...r) {
|
|
|
2039
2039
|
async getApplicationProfile(o, n, t, s) {
|
|
2040
2040
|
var i, p;
|
|
2041
2041
|
const a = await r.getApplicationProfile(o, n, t, s), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (p = (i = V["ApplicationProfileApi.getApplicationProfile"]) == null ? void 0 : i[l]) == null ? void 0 : p.url;
|
|
2042
|
-
return (d, h) => R(a,
|
|
2042
|
+
return (d, h) => R(a, O, A, e)(d, c || h);
|
|
2043
2043
|
},
|
|
2044
2044
|
/**
|
|
2045
2045
|
*
|
|
@@ -2054,9 +2054,9 @@ const b = function(e, ...r) {
|
|
|
2054
2054
|
* @throws {RequiredError}
|
|
2055
2055
|
*/
|
|
2056
2056
|
async getApplicationProfiles(o, n, t, s, a, l, c) {
|
|
2057
|
-
var h,
|
|
2058
|
-
const i = await r.getApplicationProfiles(o, n, t, s, a, l, c), p = (e == null ? void 0 : e.serverIndex) ?? 0, d = (
|
|
2059
|
-
return (w, T) => R(i,
|
|
2057
|
+
var h, u;
|
|
2058
|
+
const i = await r.getApplicationProfiles(o, n, t, s, a, l, c), p = (e == null ? void 0 : e.serverIndex) ?? 0, d = (u = (h = V["ApplicationProfileApi.getApplicationProfiles"]) == null ? void 0 : h[p]) == null ? void 0 : u.url;
|
|
2059
|
+
return (w, T) => R(i, O, A, e)(w, d || T);
|
|
2060
2060
|
},
|
|
2061
2061
|
/**
|
|
2062
2062
|
*
|
|
@@ -2068,7 +2068,7 @@ const b = function(e, ...r) {
|
|
|
2068
2068
|
async getRawApplicationProfile(o, n) {
|
|
2069
2069
|
var l, c;
|
|
2070
2070
|
const t = await r.getRawApplicationProfile(o, n), s = (e == null ? void 0 : e.serverIndex) ?? 0, a = (c = (l = V["ApplicationProfileApi.getRawApplicationProfile"]) == null ? void 0 : l[s]) == null ? void 0 : c.url;
|
|
2071
|
-
return (i, p) => R(t,
|
|
2071
|
+
return (i, p) => R(t, O, A, e)(i, a || p);
|
|
2072
2072
|
}
|
|
2073
2073
|
};
|
|
2074
2074
|
}, Lr = function(e, r, o) {
|
|
@@ -2164,8 +2164,8 @@ const b = function(e, ...r) {
|
|
|
2164
2164
|
e && (c = e.baseOptions);
|
|
2165
2165
|
const i = { method: "POST", ...c, ...s }, p = {}, d = {}, h = new (e && e.formDataCtor || FormData)();
|
|
2166
2166
|
await P(p, "Authorization", e), t !== void 0 && h.append("file", t), p["Content-Type"] = "multipart/form-data", b(l, d);
|
|
2167
|
-
let
|
|
2168
|
-
return i.headers = { ...p, ...
|
|
2167
|
+
let u = c && c.headers ? c.headers : {};
|
|
2168
|
+
return i.headers = { ...p, ...u, ...s.headers }, i.data = h, {
|
|
2169
2169
|
url: y(l),
|
|
2170
2170
|
options: i
|
|
2171
2171
|
};
|
|
@@ -2231,8 +2231,8 @@ const b = function(e, ...r) {
|
|
|
2231
2231
|
e && (c = e.baseOptions);
|
|
2232
2232
|
const i = { method: "PUT", ...c, ...s }, p = {}, d = {}, h = new (e && e.formDataCtor || FormData)();
|
|
2233
2233
|
await P(p, "Authorization", e), t !== void 0 && h.append("file", t), p["Content-Type"] = "multipart/form-data", b(l, d);
|
|
2234
|
-
let
|
|
2235
|
-
return i.headers = { ...p, ...
|
|
2234
|
+
let u = c && c.headers ? c.headers : {};
|
|
2235
|
+
return i.headers = { ...p, ...u, ...s.headers }, i.data = h, {
|
|
2236
2236
|
url: y(l),
|
|
2237
2237
|
options: i
|
|
2238
2238
|
};
|
|
@@ -2252,7 +2252,7 @@ const b = function(e, ...r) {
|
|
|
2252
2252
|
async apiV2ProjectsProjectIdResourcesResourceIdBlobsOptions(o, n, t) {
|
|
2253
2253
|
var c, i;
|
|
2254
2254
|
const s = await r.apiV2ProjectsProjectIdResourcesResourceIdBlobsOptions(o, n, t), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["BlobApi.apiV2ProjectsProjectIdResourcesResourceIdBlobsOptions"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
|
|
2255
|
-
return (p, d) => R(s,
|
|
2255
|
+
return (p, d) => R(s, O, A, e)(p, l || d);
|
|
2256
2256
|
},
|
|
2257
2257
|
/**
|
|
2258
2258
|
*
|
|
@@ -2267,7 +2267,7 @@ const b = function(e, ...r) {
|
|
|
2267
2267
|
async createBlob(o, n, t, s, a) {
|
|
2268
2268
|
var p, d;
|
|
2269
2269
|
const l = await r.createBlob(o, n, t, s, a), c = (e == null ? void 0 : e.serverIndex) ?? 0, i = (d = (p = V["BlobApi.createBlob"]) == null ? void 0 : p[c]) == null ? void 0 : d.url;
|
|
2270
|
-
return (h,
|
|
2270
|
+
return (h, u) => R(l, O, A, e)(h, i || u);
|
|
2271
2271
|
},
|
|
2272
2272
|
/**
|
|
2273
2273
|
*
|
|
@@ -2281,7 +2281,7 @@ const b = function(e, ...r) {
|
|
|
2281
2281
|
async deleteBlob(o, n, t, s) {
|
|
2282
2282
|
var i, p;
|
|
2283
2283
|
const a = await r.deleteBlob(o, n, t, s), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (p = (i = V["BlobApi.deleteBlob"]) == null ? void 0 : i[l]) == null ? void 0 : p.url;
|
|
2284
|
-
return (d, h) => R(a,
|
|
2284
|
+
return (d, h) => R(a, O, A, e)(d, c || h);
|
|
2285
2285
|
},
|
|
2286
2286
|
/**
|
|
2287
2287
|
*
|
|
@@ -2295,7 +2295,7 @@ const b = function(e, ...r) {
|
|
|
2295
2295
|
async getBlob(o, n, t, s) {
|
|
2296
2296
|
var i, p;
|
|
2297
2297
|
const a = await r.getBlob(o, n, t, s), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (p = (i = V["BlobApi.getBlob"]) == null ? void 0 : i[l]) == null ? void 0 : p.url;
|
|
2298
|
-
return (d, h) => R(a,
|
|
2298
|
+
return (d, h) => R(a, O, A, e)(d, c || h);
|
|
2299
2299
|
},
|
|
2300
2300
|
/**
|
|
2301
2301
|
*
|
|
@@ -2310,7 +2310,7 @@ const b = function(e, ...r) {
|
|
|
2310
2310
|
async updateBlob(o, n, t, s, a) {
|
|
2311
2311
|
var p, d;
|
|
2312
2312
|
const l = await r.updateBlob(o, n, t, s, a), c = (e == null ? void 0 : e.serverIndex) ?? 0, i = (d = (p = V["BlobApi.updateBlob"]) == null ? void 0 : p[c]) == null ? void 0 : d.url;
|
|
2313
|
-
return (h,
|
|
2313
|
+
return (h, u) => R(l, O, A, e)(h, i || u);
|
|
2314
2314
|
}
|
|
2315
2315
|
};
|
|
2316
2316
|
}, Mr = function(e, r, o) {
|
|
@@ -2441,7 +2441,7 @@ const b = function(e, ...r) {
|
|
|
2441
2441
|
async apiV2DisciplinesOptions(o) {
|
|
2442
2442
|
var a, l;
|
|
2443
2443
|
const n = await r.apiV2DisciplinesOptions(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, s = (l = (a = V["DisciplineApi.apiV2DisciplinesOptions"]) == null ? void 0 : a[t]) == null ? void 0 : l.url;
|
|
2444
|
-
return (c, i) => R(n,
|
|
2444
|
+
return (c, i) => R(n, O, A, e)(c, s || i);
|
|
2445
2445
|
},
|
|
2446
2446
|
/**
|
|
2447
2447
|
*
|
|
@@ -2453,7 +2453,7 @@ const b = function(e, ...r) {
|
|
|
2453
2453
|
async getDiscipline(o, n) {
|
|
2454
2454
|
var l, c;
|
|
2455
2455
|
const t = await r.getDiscipline(o, n), s = (e == null ? void 0 : e.serverIndex) ?? 0, a = (c = (l = V["DisciplineApi.getDiscipline"]) == null ? void 0 : l[s]) == null ? void 0 : c.url;
|
|
2456
|
-
return (i, p) => R(t,
|
|
2456
|
+
return (i, p) => R(t, O, A, e)(i, a || p);
|
|
2457
2457
|
},
|
|
2458
2458
|
/**
|
|
2459
2459
|
*
|
|
@@ -2467,7 +2467,7 @@ const b = function(e, ...r) {
|
|
|
2467
2467
|
async getDisciplines(o, n, t, s) {
|
|
2468
2468
|
var i, p;
|
|
2469
2469
|
const a = await r.getDisciplines(o, n, t, s), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (p = (i = V["DisciplineApi.getDisciplines"]) == null ? void 0 : i[l]) == null ? void 0 : p.url;
|
|
2470
|
-
return (d, h) => R(a,
|
|
2470
|
+
return (d, h) => R(a, O, A, e)(d, c || h);
|
|
2471
2471
|
}
|
|
2472
2472
|
};
|
|
2473
2473
|
}, kr = function(e, r, o) {
|
|
@@ -2579,7 +2579,7 @@ const b = function(e, ...r) {
|
|
|
2579
2579
|
async apiV2HandlesOptions(o) {
|
|
2580
2580
|
var a, l;
|
|
2581
2581
|
const n = await r.apiV2HandlesOptions(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, s = (l = (a = V["HandleApi.apiV2HandlesOptions"]) == null ? void 0 : a[t]) == null ? void 0 : l.url;
|
|
2582
|
-
return (c, i) => R(n,
|
|
2582
|
+
return (c, i) => R(n, O, A, e)(c, s || i);
|
|
2583
2583
|
},
|
|
2584
2584
|
/**
|
|
2585
2585
|
*
|
|
@@ -2592,7 +2592,7 @@ const b = function(e, ...r) {
|
|
|
2592
2592
|
async getHandle(o, n, t) {
|
|
2593
2593
|
var c, i;
|
|
2594
2594
|
const s = await r.getHandle(o, n, t), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["HandleApi.getHandle"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
|
|
2595
|
-
return (p, d) => R(s,
|
|
2595
|
+
return (p, d) => R(s, O, A, e)(p, l || d);
|
|
2596
2596
|
},
|
|
2597
2597
|
/**
|
|
2598
2598
|
* <p><strong>Required JWT roles for access:</strong> <code>administrator</code>.</p>
|
|
@@ -2606,7 +2606,7 @@ const b = function(e, ...r) {
|
|
|
2606
2606
|
async updateHandle(o, n, t, s) {
|
|
2607
2607
|
var i, p;
|
|
2608
2608
|
const a = await r.updateHandle(o, n, t, s), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (p = (i = V["HandleApi.updateHandle"]) == null ? void 0 : i[l]) == null ? void 0 : p.url;
|
|
2609
|
-
return (d, h) => R(a,
|
|
2609
|
+
return (d, h) => R(a, O, A, e)(d, c || h);
|
|
2610
2610
|
}
|
|
2611
2611
|
};
|
|
2612
2612
|
}, $r = function(e, r, o) {
|
|
@@ -2716,7 +2716,7 @@ const b = function(e, ...r) {
|
|
|
2716
2716
|
async apiV2LanguagesOptions(o) {
|
|
2717
2717
|
var a, l;
|
|
2718
2718
|
const n = await r.apiV2LanguagesOptions(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, s = (l = (a = V["LanguageApi.apiV2LanguagesOptions"]) == null ? void 0 : a[t]) == null ? void 0 : l.url;
|
|
2719
|
-
return (c, i) => R(n,
|
|
2719
|
+
return (c, i) => R(n, O, A, e)(c, s || i);
|
|
2720
2720
|
},
|
|
2721
2721
|
/**
|
|
2722
2722
|
*
|
|
@@ -2728,7 +2728,7 @@ const b = function(e, ...r) {
|
|
|
2728
2728
|
async getLanguage(o, n) {
|
|
2729
2729
|
var l, c;
|
|
2730
2730
|
const t = await r.getLanguage(o, n), s = (e == null ? void 0 : e.serverIndex) ?? 0, a = (c = (l = V["LanguageApi.getLanguage"]) == null ? void 0 : l[s]) == null ? void 0 : c.url;
|
|
2731
|
-
return (i, p) => R(t,
|
|
2731
|
+
return (i, p) => R(t, O, A, e)(i, a || p);
|
|
2732
2732
|
},
|
|
2733
2733
|
/**
|
|
2734
2734
|
*
|
|
@@ -2742,7 +2742,7 @@ const b = function(e, ...r) {
|
|
|
2742
2742
|
async getLanguages(o, n, t, s) {
|
|
2743
2743
|
var i, p;
|
|
2744
2744
|
const a = await r.getLanguages(o, n, t, s), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (p = (i = V["LanguageApi.getLanguages"]) == null ? void 0 : i[l]) == null ? void 0 : p.url;
|
|
2745
|
-
return (d, h) => R(a,
|
|
2745
|
+
return (d, h) => R(a, O, A, e)(d, c || h);
|
|
2746
2746
|
}
|
|
2747
2747
|
};
|
|
2748
2748
|
}, qr = function(e, r, o) {
|
|
@@ -2852,7 +2852,7 @@ const b = function(e, ...r) {
|
|
|
2852
2852
|
async apiV2LicensesOptions(o) {
|
|
2853
2853
|
var a, l;
|
|
2854
2854
|
const n = await r.apiV2LicensesOptions(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, s = (l = (a = V["LicenseApi.apiV2LicensesOptions"]) == null ? void 0 : a[t]) == null ? void 0 : l.url;
|
|
2855
|
-
return (c, i) => R(n,
|
|
2855
|
+
return (c, i) => R(n, O, A, e)(c, s || i);
|
|
2856
2856
|
},
|
|
2857
2857
|
/**
|
|
2858
2858
|
*
|
|
@@ -2864,7 +2864,7 @@ const b = function(e, ...r) {
|
|
|
2864
2864
|
async getLicense(o, n) {
|
|
2865
2865
|
var l, c;
|
|
2866
2866
|
const t = await r.getLicense(o, n), s = (e == null ? void 0 : e.serverIndex) ?? 0, a = (c = (l = V["LicenseApi.getLicense"]) == null ? void 0 : l[s]) == null ? void 0 : c.url;
|
|
2867
|
-
return (i, p) => R(t,
|
|
2867
|
+
return (i, p) => R(t, O, A, e)(i, a || p);
|
|
2868
2868
|
},
|
|
2869
2869
|
/**
|
|
2870
2870
|
*
|
|
@@ -2878,7 +2878,7 @@ const b = function(e, ...r) {
|
|
|
2878
2878
|
async getLicenses(o, n, t, s) {
|
|
2879
2879
|
var i, p;
|
|
2880
2880
|
const a = await r.getLicenses(o, n, t, s), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (p = (i = V["LicenseApi.getLicenses"]) == null ? void 0 : i[l]) == null ? void 0 : p.url;
|
|
2881
|
-
return (d, h) => R(a,
|
|
2881
|
+
return (d, h) => R(a, O, A, e)(d, c || h);
|
|
2882
2882
|
}
|
|
2883
2883
|
};
|
|
2884
2884
|
}, fr = function(e, r, o) {
|
|
@@ -2965,7 +2965,7 @@ const b = function(e, ...r) {
|
|
|
2965
2965
|
async apiV2MaintenancesOptions(o) {
|
|
2966
2966
|
var a, l;
|
|
2967
2967
|
const n = await r.apiV2MaintenancesOptions(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, s = (l = (a = V["MaintenanceApi.apiV2MaintenancesOptions"]) == null ? void 0 : a[t]) == null ? void 0 : l.url;
|
|
2968
|
-
return (c, i) => R(n,
|
|
2968
|
+
return (c, i) => R(n, O, A, e)(c, s || i);
|
|
2969
2969
|
},
|
|
2970
2970
|
/**
|
|
2971
2971
|
*
|
|
@@ -2976,7 +2976,7 @@ const b = function(e, ...r) {
|
|
|
2976
2976
|
async getCurrentMaintenances(o) {
|
|
2977
2977
|
var a, l;
|
|
2978
2978
|
const n = await r.getCurrentMaintenances(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, s = (l = (a = V["MaintenanceApi.getCurrentMaintenances"]) == null ? void 0 : a[t]) == null ? void 0 : l.url;
|
|
2979
|
-
return (c, i) => R(n,
|
|
2979
|
+
return (c, i) => R(n, O, A, e)(c, s || i);
|
|
2980
2980
|
}
|
|
2981
2981
|
};
|
|
2982
2982
|
}, Yr = function(e, r, o) {
|
|
@@ -3045,6 +3045,7 @@ const b = function(e, ...r) {
|
|
|
3045
3045
|
*
|
|
3046
3046
|
* @summary Retrieves all organizations.
|
|
3047
3047
|
* @param {string} [searchTerm] Gets or sets the search term used to filter organizations.
|
|
3048
|
+
* @param {AcceptedLanguage} [language] Language of name or text (dataPublicationService)
|
|
3048
3049
|
* @param {boolean} [filterByPublicationService] Gets or sets the option to find only organizations having the publication service set.
|
|
3049
3050
|
* @param {number} [pageNumber] The desired page number. Should be greater than or equal to 1. Default is 1.
|
|
3050
3051
|
* @param {number} [pageSize] The desired page size. Should be between 1 and the maximum allowed page size (50). Default is 10.
|
|
@@ -3052,16 +3053,16 @@ const b = function(e, ...r) {
|
|
|
3052
3053
|
* @param {*} [options] Override http request option.
|
|
3053
3054
|
* @throws {RequiredError}
|
|
3054
3055
|
*/
|
|
3055
|
-
getOrganizations: async (r, o, n, t, s, a = {}) => {
|
|
3056
|
-
const
|
|
3057
|
-
let
|
|
3058
|
-
e && (
|
|
3059
|
-
const
|
|
3060
|
-
await P(
|
|
3061
|
-
let
|
|
3062
|
-
return
|
|
3063
|
-
url: y(
|
|
3064
|
-
options:
|
|
3056
|
+
getOrganizations: async (r, o, n, t, s, a, l = {}) => {
|
|
3057
|
+
const c = "/api/v2/organizations", i = new URL(c, m);
|
|
3058
|
+
let p;
|
|
3059
|
+
e && (p = e.baseOptions);
|
|
3060
|
+
const d = { method: "GET", ...p, ...l }, h = {}, u = {};
|
|
3061
|
+
await P(h, "Authorization", e), r !== void 0 && (u.SearchTerm = r), o !== void 0 && (u.Language = o), n !== void 0 && (u.FilterByPublicationService = n), t !== void 0 && (u.PageNumber = t), s !== void 0 && (u.PageSize = s), a !== void 0 && (u.OrderBy = a), b(i, u);
|
|
3062
|
+
let w = p && p.headers ? p.headers : {};
|
|
3063
|
+
return d.headers = { ...h, ...w, ...l.headers }, {
|
|
3064
|
+
url: y(i),
|
|
3065
|
+
options: d
|
|
3065
3066
|
};
|
|
3066
3067
|
}
|
|
3067
3068
|
};
|
|
@@ -3077,7 +3078,7 @@ const b = function(e, ...r) {
|
|
|
3077
3078
|
async apiV2OrganizationsOptions(o) {
|
|
3078
3079
|
var a, l;
|
|
3079
3080
|
const n = await r.apiV2OrganizationsOptions(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, s = (l = (a = V["OrganizationApi.apiV2OrganizationsOptions"]) == null ? void 0 : a[t]) == null ? void 0 : l.url;
|
|
3080
|
-
return (c, i) => R(n,
|
|
3081
|
+
return (c, i) => R(n, O, A, e)(c, s || i);
|
|
3081
3082
|
},
|
|
3082
3083
|
/**
|
|
3083
3084
|
*
|
|
@@ -3089,12 +3090,13 @@ const b = function(e, ...r) {
|
|
|
3089
3090
|
async getOrganization(o, n) {
|
|
3090
3091
|
var l, c;
|
|
3091
3092
|
const t = await r.getOrganization(o, n), s = (e == null ? void 0 : e.serverIndex) ?? 0, a = (c = (l = V["OrganizationApi.getOrganization"]) == null ? void 0 : l[s]) == null ? void 0 : c.url;
|
|
3092
|
-
return (i, p) => R(t,
|
|
3093
|
+
return (i, p) => R(t, O, A, e)(i, a || p);
|
|
3093
3094
|
},
|
|
3094
3095
|
/**
|
|
3095
3096
|
*
|
|
3096
3097
|
* @summary Retrieves all organizations.
|
|
3097
3098
|
* @param {string} [searchTerm] Gets or sets the search term used to filter organizations.
|
|
3099
|
+
* @param {AcceptedLanguage} [language] Language of name or text (dataPublicationService)
|
|
3098
3100
|
* @param {boolean} [filterByPublicationService] Gets or sets the option to find only organizations having the publication service set.
|
|
3099
3101
|
* @param {number} [pageNumber] The desired page number. Should be greater than or equal to 1. Default is 1.
|
|
3100
3102
|
* @param {number} [pageSize] The desired page size. Should be between 1 and the maximum allowed page size (50). Default is 10.
|
|
@@ -3102,10 +3104,10 @@ const b = function(e, ...r) {
|
|
|
3102
3104
|
* @param {*} [options] Override http request option.
|
|
3103
3105
|
* @throws {RequiredError}
|
|
3104
3106
|
*/
|
|
3105
|
-
async getOrganizations(o, n, t, s, a, l) {
|
|
3106
|
-
var
|
|
3107
|
-
const
|
|
3108
|
-
return (
|
|
3107
|
+
async getOrganizations(o, n, t, s, a, l, c) {
|
|
3108
|
+
var h, u;
|
|
3109
|
+
const i = await r.getOrganizations(o, n, t, s, a, l, c), p = (e == null ? void 0 : e.serverIndex) ?? 0, d = (u = (h = V["OrganizationApi.getOrganizations"]) == null ? void 0 : h[p]) == null ? void 0 : u.url;
|
|
3110
|
+
return (w, T) => R(i, O, A, e)(w, d || T);
|
|
3109
3111
|
}
|
|
3110
3112
|
};
|
|
3111
3113
|
}, es = function(e, r, o) {
|
|
@@ -3138,7 +3140,7 @@ const b = function(e, ...r) {
|
|
|
3138
3140
|
* @throws {RequiredError}
|
|
3139
3141
|
*/
|
|
3140
3142
|
getOrganizations(t = {}, s) {
|
|
3141
|
-
return n.getOrganizations(t.searchTerm, t.filterByPublicationService, t.pageNumber, t.pageSize, t.orderBy, s).then((a) => a(o, r));
|
|
3143
|
+
return n.getOrganizations(t.searchTerm, t.language, t.filterByPublicationService, t.pageNumber, t.pageSize, t.orderBy, s).then((a) => a(o, r));
|
|
3142
3144
|
}
|
|
3143
3145
|
};
|
|
3144
3146
|
}, ts = function(e) {
|
|
@@ -3198,8 +3200,8 @@ const b = function(e, ...r) {
|
|
|
3198
3200
|
const c = "/api/v2/pids", i = new URL(c, m);
|
|
3199
3201
|
let p;
|
|
3200
3202
|
e && (p = e.baseOptions);
|
|
3201
|
-
const d = { method: "GET", ...p, ...l }, h = {},
|
|
3202
|
-
await P(h, "Authorization", e), r !== void 0 && (
|
|
3203
|
+
const d = { method: "GET", ...p, ...l }, h = {}, u = {};
|
|
3204
|
+
await P(h, "Authorization", e), r !== void 0 && (u.IncludeProjects = r), o !== void 0 && (u.IncludeResources = o), n !== void 0 && (u.IncludeDeleted = n), t !== void 0 && (u.PageNumber = t), s !== void 0 && (u.PageSize = s), a !== void 0 && (u.OrderBy = a), b(i, u);
|
|
3203
3205
|
let w = p && p.headers ? p.headers : {};
|
|
3204
3206
|
return d.headers = { ...h, ...w, ...l.headers }, {
|
|
3205
3207
|
url: y(i),
|
|
@@ -3241,7 +3243,7 @@ const b = function(e, ...r) {
|
|
|
3241
3243
|
async apiV2PidsOptions(o) {
|
|
3242
3244
|
var a, l;
|
|
3243
3245
|
const n = await r.apiV2PidsOptions(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, s = (l = (a = V["PidApi.apiV2PidsOptions"]) == null ? void 0 : a[t]) == null ? void 0 : l.url;
|
|
3244
|
-
return (c, i) => R(n,
|
|
3246
|
+
return (c, i) => R(n, O, A, e)(c, s || i);
|
|
3245
3247
|
},
|
|
3246
3248
|
/**
|
|
3247
3249
|
*
|
|
@@ -3254,7 +3256,7 @@ const b = function(e, ...r) {
|
|
|
3254
3256
|
async getPid(o, n, t) {
|
|
3255
3257
|
var c, i;
|
|
3256
3258
|
const s = await r.getPid(o, n, t), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["PidApi.getPid"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
|
|
3257
|
-
return (p, d) => R(s,
|
|
3259
|
+
return (p, d) => R(s, O, A, e)(p, l || d);
|
|
3258
3260
|
},
|
|
3259
3261
|
/**
|
|
3260
3262
|
* <p><strong>Required JWT roles for access:</strong> <code>administrator</code>.</p>
|
|
@@ -3269,9 +3271,9 @@ const b = function(e, ...r) {
|
|
|
3269
3271
|
* @throws {RequiredError}
|
|
3270
3272
|
*/
|
|
3271
3273
|
async getPids(o, n, t, s, a, l, c) {
|
|
3272
|
-
var h,
|
|
3273
|
-
const i = await r.getPids(o, n, t, s, a, l, c), p = (e == null ? void 0 : e.serverIndex) ?? 0, d = (
|
|
3274
|
-
return (w, T) => R(i,
|
|
3274
|
+
var h, u;
|
|
3275
|
+
const i = await r.getPids(o, n, t, s, a, l, c), p = (e == null ? void 0 : e.serverIndex) ?? 0, d = (u = (h = V["PidApi.getPids"]) == null ? void 0 : h[p]) == null ? void 0 : u.url;
|
|
3276
|
+
return (w, T) => R(i, O, A, e)(w, d || T);
|
|
3275
3277
|
},
|
|
3276
3278
|
/**
|
|
3277
3279
|
*
|
|
@@ -3285,7 +3287,7 @@ const b = function(e, ...r) {
|
|
|
3285
3287
|
async sendRequestToOwner(o, n, t, s) {
|
|
3286
3288
|
var i, p;
|
|
3287
3289
|
const a = await r.sendRequestToOwner(o, n, t, s), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (p = (i = V["PidApi.sendRequestToOwner"]) == null ? void 0 : i[l]) == null ? void 0 : p.url;
|
|
3288
|
-
return (d, h) => R(a,
|
|
3290
|
+
return (d, h) => R(a, O, A, e)(d, c || h);
|
|
3289
3291
|
}
|
|
3290
3292
|
};
|
|
3291
3293
|
}, ss = function(e, r, o) {
|
|
@@ -3428,8 +3430,8 @@ const b = function(e, ...r) {
|
|
|
3428
3430
|
e && (i = e.baseOptions);
|
|
3429
3431
|
const p = { method: "GET", ...i, ...a }, d = {}, h = {};
|
|
3430
3432
|
await P(d, "Authorization", e), r !== void 0 && (h.IncludeOrganizations = r), o !== void 0 && (h.TopLevel = o), n !== void 0 && (h.PageNumber = n), t !== void 0 && (h.PageSize = t), s !== void 0 && (h.OrderBy = s), b(c, h);
|
|
3431
|
-
let
|
|
3432
|
-
return p.headers = { ...d, ...
|
|
3433
|
+
let u = i && i.headers ? i.headers : {};
|
|
3434
|
+
return p.headers = { ...d, ...u, ...a.headers }, {
|
|
3433
3435
|
url: y(c),
|
|
3434
3436
|
options: p
|
|
3435
3437
|
};
|
|
@@ -3468,7 +3470,7 @@ const b = function(e, ...r) {
|
|
|
3468
3470
|
async apiV2ProjectsOptions(o) {
|
|
3469
3471
|
var a, l;
|
|
3470
3472
|
const n = await r.apiV2ProjectsOptions(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, s = (l = (a = V["ProjectApi.apiV2ProjectsOptions"]) == null ? void 0 : a[t]) == null ? void 0 : l.url;
|
|
3471
|
-
return (c, i) => R(n,
|
|
3473
|
+
return (c, i) => R(n, O, A, e)(c, s || i);
|
|
3472
3474
|
},
|
|
3473
3475
|
/**
|
|
3474
3476
|
*
|
|
@@ -3480,7 +3482,7 @@ const b = function(e, ...r) {
|
|
|
3480
3482
|
async createProject(o, n) {
|
|
3481
3483
|
var l, c;
|
|
3482
3484
|
const t = await r.createProject(o, n), s = (e == null ? void 0 : e.serverIndex) ?? 0, a = (c = (l = V["ProjectApi.createProject"]) == null ? void 0 : l[s]) == null ? void 0 : c.url;
|
|
3483
|
-
return (i, p) => R(t,
|
|
3485
|
+
return (i, p) => R(t, O, A, e)(i, a || p);
|
|
3484
3486
|
},
|
|
3485
3487
|
/**
|
|
3486
3488
|
*
|
|
@@ -3492,7 +3494,7 @@ const b = function(e, ...r) {
|
|
|
3492
3494
|
async deleteProject(o, n) {
|
|
3493
3495
|
var l, c;
|
|
3494
3496
|
const t = await r.deleteProject(o, n), s = (e == null ? void 0 : e.serverIndex) ?? 0, a = (c = (l = V["ProjectApi.deleteProject"]) == null ? void 0 : l[s]) == null ? void 0 : c.url;
|
|
3495
|
-
return (i, p) => R(t,
|
|
3497
|
+
return (i, p) => R(t, O, A, e)(i, a || p);
|
|
3496
3498
|
},
|
|
3497
3499
|
/**
|
|
3498
3500
|
*
|
|
@@ -3505,7 +3507,7 @@ const b = function(e, ...r) {
|
|
|
3505
3507
|
async getProject(o, n, t) {
|
|
3506
3508
|
var c, i;
|
|
3507
3509
|
const s = await r.getProject(o, n, t), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["ProjectApi.getProject"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
|
|
3508
|
-
return (p, d) => R(s,
|
|
3510
|
+
return (p, d) => R(s, O, A, e)(p, l || d);
|
|
3509
3511
|
},
|
|
3510
3512
|
/**
|
|
3511
3513
|
*
|
|
@@ -3521,7 +3523,7 @@ const b = function(e, ...r) {
|
|
|
3521
3523
|
async getProjects(o, n, t, s, a, l) {
|
|
3522
3524
|
var d, h;
|
|
3523
3525
|
const c = await r.getProjects(o, n, t, s, a, l), i = (e == null ? void 0 : e.serverIndex) ?? 0, p = (h = (d = V["ProjectApi.getProjects"]) == null ? void 0 : d[i]) == null ? void 0 : h.url;
|
|
3524
|
-
return (
|
|
3526
|
+
return (u, w) => R(c, O, A, e)(u, p || w);
|
|
3525
3527
|
},
|
|
3526
3528
|
/**
|
|
3527
3529
|
*
|
|
@@ -3534,7 +3536,7 @@ const b = function(e, ...r) {
|
|
|
3534
3536
|
async updateProject(o, n, t) {
|
|
3535
3537
|
var c, i;
|
|
3536
3538
|
const s = await r.updateProject(o, n, t), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["ProjectApi.updateProject"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
|
|
3537
|
-
return (p, d) => R(s,
|
|
3539
|
+
return (p, d) => R(s, O, A, e)(p, l || d);
|
|
3538
3540
|
}
|
|
3539
3541
|
};
|
|
3540
3542
|
}, ns = function(e, r, o) {
|
|
@@ -3722,7 +3724,7 @@ const b = function(e, ...r) {
|
|
|
3722
3724
|
async apiV2ProjectsProjectIdInvitationsOptions(o, n) {
|
|
3723
3725
|
var l, c;
|
|
3724
3726
|
const t = await r.apiV2ProjectsProjectIdInvitationsOptions(o, n), s = (e == null ? void 0 : e.serverIndex) ?? 0, a = (c = (l = V["ProjectInvitationApi.apiV2ProjectsProjectIdInvitationsOptions"]) == null ? void 0 : l[s]) == null ? void 0 : c.url;
|
|
3725
|
-
return (i, p) => R(t,
|
|
3727
|
+
return (i, p) => R(t, O, A, e)(i, a || p);
|
|
3726
3728
|
},
|
|
3727
3729
|
/**
|
|
3728
3730
|
*
|
|
@@ -3735,7 +3737,7 @@ const b = function(e, ...r) {
|
|
|
3735
3737
|
async createProjectInvitation(o, n, t) {
|
|
3736
3738
|
var c, i;
|
|
3737
3739
|
const s = await r.createProjectInvitation(o, n, t), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["ProjectInvitationApi.createProjectInvitation"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
|
|
3738
|
-
return (p, d) => R(s,
|
|
3740
|
+
return (p, d) => R(s, O, A, e)(p, l || d);
|
|
3739
3741
|
},
|
|
3740
3742
|
/**
|
|
3741
3743
|
*
|
|
@@ -3748,7 +3750,7 @@ const b = function(e, ...r) {
|
|
|
3748
3750
|
async deleteProjectInvitation(o, n, t) {
|
|
3749
3751
|
var c, i;
|
|
3750
3752
|
const s = await r.deleteProjectInvitation(o, n, t), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["ProjectInvitationApi.deleteProjectInvitation"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
|
|
3751
|
-
return (p, d) => R(s,
|
|
3753
|
+
return (p, d) => R(s, O, A, e)(p, l || d);
|
|
3752
3754
|
},
|
|
3753
3755
|
/**
|
|
3754
3756
|
*
|
|
@@ -3761,7 +3763,7 @@ const b = function(e, ...r) {
|
|
|
3761
3763
|
async getProjectInvitation(o, n, t) {
|
|
3762
3764
|
var c, i;
|
|
3763
3765
|
const s = await r.getProjectInvitation(o, n, t), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["ProjectInvitationApi.getProjectInvitation"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
|
|
3764
|
-
return (p, d) => R(s,
|
|
3766
|
+
return (p, d) => R(s, O, A, e)(p, l || d);
|
|
3765
3767
|
},
|
|
3766
3768
|
/**
|
|
3767
3769
|
*
|
|
@@ -3776,7 +3778,7 @@ const b = function(e, ...r) {
|
|
|
3776
3778
|
async getProjectInvitations(o, n, t, s, a) {
|
|
3777
3779
|
var p, d;
|
|
3778
3780
|
const l = await r.getProjectInvitations(o, n, t, s, a), c = (e == null ? void 0 : e.serverIndex) ?? 0, i = (d = (p = V["ProjectInvitationApi.getProjectInvitations"]) == null ? void 0 : p[c]) == null ? void 0 : d.url;
|
|
3779
|
-
return (h,
|
|
3781
|
+
return (h, u) => R(l, O, A, e)(h, i || u);
|
|
3780
3782
|
}
|
|
3781
3783
|
};
|
|
3782
3784
|
}, is = function(e, r, o) {
|
|
@@ -3978,7 +3980,7 @@ const b = function(e, ...r) {
|
|
|
3978
3980
|
async addMembership(o, n, t) {
|
|
3979
3981
|
var c, i;
|
|
3980
3982
|
const s = await r.addMembership(o, n, t), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["ProjectMemberApi.addMembership"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
|
|
3981
|
-
return (p, d) => R(s,
|
|
3983
|
+
return (p, d) => R(s, O, A, e)(p, l || d);
|
|
3982
3984
|
},
|
|
3983
3985
|
/**
|
|
3984
3986
|
*
|
|
@@ -3990,7 +3992,7 @@ const b = function(e, ...r) {
|
|
|
3990
3992
|
async apiV2ProjectsProjectIdMembersOptions(o, n) {
|
|
3991
3993
|
var l, c;
|
|
3992
3994
|
const t = await r.apiV2ProjectsProjectIdMembersOptions(o, n), s = (e == null ? void 0 : e.serverIndex) ?? 0, a = (c = (l = V["ProjectMemberApi.apiV2ProjectsProjectIdMembersOptions"]) == null ? void 0 : l[s]) == null ? void 0 : c.url;
|
|
3993
|
-
return (i, p) => R(t,
|
|
3995
|
+
return (i, p) => R(t, O, A, e)(i, a || p);
|
|
3994
3996
|
},
|
|
3995
3997
|
/**
|
|
3996
3998
|
*
|
|
@@ -4003,7 +4005,7 @@ const b = function(e, ...r) {
|
|
|
4003
4005
|
async deleteMembership(o, n, t) {
|
|
4004
4006
|
var c, i;
|
|
4005
4007
|
const s = await r.deleteMembership(o, n, t), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["ProjectMemberApi.deleteMembership"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
|
|
4006
|
-
return (p, d) => R(s,
|
|
4008
|
+
return (p, d) => R(s, O, A, e)(p, l || d);
|
|
4007
4009
|
},
|
|
4008
4010
|
/**
|
|
4009
4011
|
*
|
|
@@ -4016,7 +4018,7 @@ const b = function(e, ...r) {
|
|
|
4016
4018
|
async getMembership(o, n, t) {
|
|
4017
4019
|
var c, i;
|
|
4018
4020
|
const s = await r.getMembership(o, n, t), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["ProjectMemberApi.getMembership"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
|
|
4019
|
-
return (p, d) => R(s,
|
|
4021
|
+
return (p, d) => R(s, O, A, e)(p, l || d);
|
|
4020
4022
|
},
|
|
4021
4023
|
/**
|
|
4022
4024
|
*
|
|
@@ -4031,7 +4033,7 @@ const b = function(e, ...r) {
|
|
|
4031
4033
|
async getMemberships(o, n, t, s, a) {
|
|
4032
4034
|
var p, d;
|
|
4033
4035
|
const l = await r.getMemberships(o, n, t, s, a), c = (e == null ? void 0 : e.serverIndex) ?? 0, i = (d = (p = V["ProjectMemberApi.getMemberships"]) == null ? void 0 : p[c]) == null ? void 0 : d.url;
|
|
4034
|
-
return (h,
|
|
4036
|
+
return (h, u) => R(l, O, A, e)(h, i || u);
|
|
4035
4037
|
},
|
|
4036
4038
|
/**
|
|
4037
4039
|
*
|
|
@@ -4045,7 +4047,7 @@ const b = function(e, ...r) {
|
|
|
4045
4047
|
async updateMembership(o, n, t, s) {
|
|
4046
4048
|
var i, p;
|
|
4047
4049
|
const a = await r.updateMembership(o, n, t, s), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (p = (i = V["ProjectMemberApi.updateMembership"]) == null ? void 0 : i[l]) == null ? void 0 : p.url;
|
|
4048
|
-
return (d, h) => R(a,
|
|
4050
|
+
return (d, h) => R(a, O, A, e)(d, c || h);
|
|
4049
4051
|
}
|
|
4050
4052
|
};
|
|
4051
4053
|
}, hs = function(e, r, o) {
|
|
@@ -4169,7 +4171,7 @@ const b = function(e, ...r) {
|
|
|
4169
4171
|
async apiV2ProjectsProjectIdPublicationsRequestsOptions(o, n) {
|
|
4170
4172
|
var l, c;
|
|
4171
4173
|
const t = await r.apiV2ProjectsProjectIdPublicationsRequestsOptions(o, n), s = (e == null ? void 0 : e.serverIndex) ?? 0, a = (c = (l = V["ProjectPublicationRequestApi.apiV2ProjectsProjectIdPublicationsRequestsOptions"]) == null ? void 0 : l[s]) == null ? void 0 : c.url;
|
|
4172
|
-
return (i, p) => R(t,
|
|
4174
|
+
return (i, p) => R(t, O, A, e)(i, a || p);
|
|
4173
4175
|
},
|
|
4174
4176
|
/**
|
|
4175
4177
|
*
|
|
@@ -4182,7 +4184,7 @@ const b = function(e, ...r) {
|
|
|
4182
4184
|
async createPublicationRequest(o, n, t) {
|
|
4183
4185
|
var c, i;
|
|
4184
4186
|
const s = await r.createPublicationRequest(o, n, t), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["ProjectPublicationRequestApi.createPublicationRequest"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
|
|
4185
|
-
return (p, d) => R(s,
|
|
4187
|
+
return (p, d) => R(s, O, A, e)(p, l || d);
|
|
4186
4188
|
}
|
|
4187
4189
|
};
|
|
4188
4190
|
}, As = function(e, r, o) {
|
|
@@ -4311,7 +4313,7 @@ const b = function(e, ...r) {
|
|
|
4311
4313
|
async apiV2ProjectsProjectIdQuotasOptions(o, n) {
|
|
4312
4314
|
var l, c;
|
|
4313
4315
|
const t = await r.apiV2ProjectsProjectIdQuotasOptions(o, n), s = (e == null ? void 0 : e.serverIndex) ?? 0, a = (c = (l = V["ProjectQuotaApi.apiV2ProjectsProjectIdQuotasOptions"]) == null ? void 0 : l[s]) == null ? void 0 : c.url;
|
|
4314
|
-
return (i, p) => R(t,
|
|
4316
|
+
return (i, p) => R(t, O, A, e)(i, a || p);
|
|
4315
4317
|
},
|
|
4316
4318
|
/**
|
|
4317
4319
|
*
|
|
@@ -4324,7 +4326,7 @@ const b = function(e, ...r) {
|
|
|
4324
4326
|
async getProjectQuota(o, n, t) {
|
|
4325
4327
|
var c, i;
|
|
4326
4328
|
const s = await r.getProjectQuota(o, n, t), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["ProjectQuotaApi.getProjectQuota"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
|
|
4327
|
-
return (p, d) => R(s,
|
|
4329
|
+
return (p, d) => R(s, O, A, e)(p, l || d);
|
|
4328
4330
|
},
|
|
4329
4331
|
/**
|
|
4330
4332
|
*
|
|
@@ -4339,7 +4341,7 @@ const b = function(e, ...r) {
|
|
|
4339
4341
|
async getProjectQuotas(o, n, t, s, a) {
|
|
4340
4342
|
var p, d;
|
|
4341
4343
|
const l = await r.getProjectQuotas(o, n, t, s, a), c = (e == null ? void 0 : e.serverIndex) ?? 0, i = (d = (p = V["ProjectQuotaApi.getProjectQuotas"]) == null ? void 0 : p[c]) == null ? void 0 : d.url;
|
|
4342
|
-
return (h,
|
|
4344
|
+
return (h, u) => R(l, O, A, e)(h, i || u);
|
|
4343
4345
|
},
|
|
4344
4346
|
/**
|
|
4345
4347
|
*
|
|
@@ -4353,7 +4355,7 @@ const b = function(e, ...r) {
|
|
|
4353
4355
|
async updateProjectQuota(o, n, t, s) {
|
|
4354
4356
|
var i, p;
|
|
4355
4357
|
const a = await r.updateProjectQuota(o, n, t, s), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (p = (i = V["ProjectQuotaApi.updateProjectQuota"]) == null ? void 0 : i[l]) == null ? void 0 : p.url;
|
|
4356
|
-
return (d, h) => R(a,
|
|
4358
|
+
return (d, h) => R(a, O, A, e)(d, c || h);
|
|
4357
4359
|
}
|
|
4358
4360
|
};
|
|
4359
4361
|
}, Ps = function(e, r, o) {
|
|
@@ -4544,7 +4546,7 @@ const b = function(e, ...r) {
|
|
|
4544
4546
|
async apiV2ProjectsProjectIdResourcesOptions(o, n) {
|
|
4545
4547
|
var l, c;
|
|
4546
4548
|
const t = await r.apiV2ProjectsProjectIdResourcesOptions(o, n), s = (e == null ? void 0 : e.serverIndex) ?? 0, a = (c = (l = V["ProjectResourceApi.apiV2ProjectsProjectIdResourcesOptions"]) == null ? void 0 : l[s]) == null ? void 0 : c.url;
|
|
4547
|
-
return (i, p) => R(t,
|
|
4549
|
+
return (i, p) => R(t, O, A, e)(i, a || p);
|
|
4548
4550
|
},
|
|
4549
4551
|
/**
|
|
4550
4552
|
*
|
|
@@ -4557,7 +4559,7 @@ const b = function(e, ...r) {
|
|
|
4557
4559
|
async createResourceForProject(o, n, t) {
|
|
4558
4560
|
var c, i;
|
|
4559
4561
|
const s = await r.createResourceForProject(o, n, t), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["ProjectResourceApi.createResourceForProject"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
|
|
4560
|
-
return (p, d) => R(s,
|
|
4562
|
+
return (p, d) => R(s, O, A, e)(p, l || d);
|
|
4561
4563
|
},
|
|
4562
4564
|
/**
|
|
4563
4565
|
*
|
|
@@ -4570,7 +4572,7 @@ const b = function(e, ...r) {
|
|
|
4570
4572
|
async deleteResourceForProject(o, n, t) {
|
|
4571
4573
|
var c, i;
|
|
4572
4574
|
const s = await r.deleteResourceForProject(o, n, t), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["ProjectResourceApi.deleteResourceForProject"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
|
|
4573
|
-
return (p, d) => R(s,
|
|
4575
|
+
return (p, d) => R(s, O, A, e)(p, l || d);
|
|
4574
4576
|
},
|
|
4575
4577
|
/**
|
|
4576
4578
|
*
|
|
@@ -4583,7 +4585,7 @@ const b = function(e, ...r) {
|
|
|
4583
4585
|
async getResourceForProject(o, n, t) {
|
|
4584
4586
|
var c, i;
|
|
4585
4587
|
const s = await r.getResourceForProject(o, n, t), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["ProjectResourceApi.getResourceForProject"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
|
|
4586
|
-
return (p, d) => R(s,
|
|
4588
|
+
return (p, d) => R(s, O, A, e)(p, l || d);
|
|
4587
4589
|
},
|
|
4588
4590
|
/**
|
|
4589
4591
|
*
|
|
@@ -4598,7 +4600,7 @@ const b = function(e, ...r) {
|
|
|
4598
4600
|
async getResourcesForProject(o, n, t, s, a) {
|
|
4599
4601
|
var p, d;
|
|
4600
4602
|
const l = await r.getResourcesForProject(o, n, t, s, a), c = (e == null ? void 0 : e.serverIndex) ?? 0, i = (d = (p = V["ProjectResourceApi.getResourcesForProject"]) == null ? void 0 : p[c]) == null ? void 0 : d.url;
|
|
4601
|
-
return (h,
|
|
4603
|
+
return (h, u) => R(l, O, A, e)(h, i || u);
|
|
4602
4604
|
},
|
|
4603
4605
|
/**
|
|
4604
4606
|
*
|
|
@@ -4612,7 +4614,7 @@ const b = function(e, ...r) {
|
|
|
4612
4614
|
async updateResourceForProject(o, n, t, s) {
|
|
4613
4615
|
var i, p;
|
|
4614
4616
|
const a = await r.updateResourceForProject(o, n, t, s), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (p = (i = V["ProjectResourceApi.updateResourceForProject"]) == null ? void 0 : i[l]) == null ? void 0 : p.url;
|
|
4615
|
-
return (d, h) => R(a,
|
|
4617
|
+
return (d, h) => R(a, O, A, e)(d, c || h);
|
|
4616
4618
|
}
|
|
4617
4619
|
};
|
|
4618
4620
|
}, Rs = function(e, r, o) {
|
|
@@ -4738,7 +4740,7 @@ const b = function(e, ...r) {
|
|
|
4738
4740
|
async apiV2ProjectsProjectIdResourcesResourceIdQuotaOptions(o, n, t) {
|
|
4739
4741
|
var c, i;
|
|
4740
4742
|
const s = await r.apiV2ProjectsProjectIdResourcesResourceIdQuotaOptions(o, n, t), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["ProjectResourceQuotaApi.apiV2ProjectsProjectIdResourcesResourceIdQuotaOptions"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
|
|
4741
|
-
return (p, d) => R(s,
|
|
4743
|
+
return (p, d) => R(s, O, A, e)(p, l || d);
|
|
4742
4744
|
},
|
|
4743
4745
|
/**
|
|
4744
4746
|
*
|
|
@@ -4751,7 +4753,7 @@ const b = function(e, ...r) {
|
|
|
4751
4753
|
async getQuotaForResourceForProject(o, n, t) {
|
|
4752
4754
|
var c, i;
|
|
4753
4755
|
const s = await r.getQuotaForResourceForProject(o, n, t), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["ProjectResourceQuotaApi.getQuotaForResourceForProject"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
|
|
4754
|
-
return (p, d) => R(s,
|
|
4756
|
+
return (p, d) => R(s, O, A, e)(p, l || d);
|
|
4755
4757
|
}
|
|
4756
4758
|
};
|
|
4757
4759
|
}, ws = function(e, r, o) {
|
|
@@ -4834,7 +4836,7 @@ const b = function(e, ...r) {
|
|
|
4834
4836
|
async apiV2ProjectsProjectIdResourceTypesOptions(o, n) {
|
|
4835
4837
|
var l, c;
|
|
4836
4838
|
const t = await r.apiV2ProjectsProjectIdResourceTypesOptions(o, n), s = (e == null ? void 0 : e.serverIndex) ?? 0, a = (c = (l = V["ProjectResourceTypeApi.apiV2ProjectsProjectIdResourceTypesOptions"]) == null ? void 0 : l[s]) == null ? void 0 : c.url;
|
|
4837
|
-
return (i, p) => R(t,
|
|
4839
|
+
return (i, p) => R(t, O, A, e)(i, a || p);
|
|
4838
4840
|
},
|
|
4839
4841
|
/**
|
|
4840
4842
|
*
|
|
@@ -4846,7 +4848,7 @@ const b = function(e, ...r) {
|
|
|
4846
4848
|
async getAvailableResourceTypesInformationForProject(o, n) {
|
|
4847
4849
|
var l, c;
|
|
4848
4850
|
const t = await r.getAvailableResourceTypesInformationForProject(o, n), s = (e == null ? void 0 : e.serverIndex) ?? 0, a = (c = (l = V["ProjectResourceTypeApi.getAvailableResourceTypesInformationForProject"]) == null ? void 0 : l[s]) == null ? void 0 : c.url;
|
|
4849
|
-
return (i, p) => R(t,
|
|
4851
|
+
return (i, p) => R(t, O, A, e)(i, a || p);
|
|
4850
4852
|
}
|
|
4851
4853
|
};
|
|
4852
4854
|
}, vs = function(e, r, o) {
|
|
@@ -4926,7 +4928,7 @@ const b = function(e, ...r) {
|
|
|
4926
4928
|
async apiV2ResourcesOptions(o) {
|
|
4927
4929
|
var a, l;
|
|
4928
4930
|
const n = await r.apiV2ResourcesOptions(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, s = (l = (a = V["ResourceApi.apiV2ResourcesOptions"]) == null ? void 0 : a[t]) == null ? void 0 : l.url;
|
|
4929
|
-
return (c, i) => R(n,
|
|
4931
|
+
return (c, i) => R(n, O, A, e)(c, s || i);
|
|
4930
4932
|
},
|
|
4931
4933
|
/**
|
|
4932
4934
|
*
|
|
@@ -4938,7 +4940,7 @@ const b = function(e, ...r) {
|
|
|
4938
4940
|
async getResource(o, n) {
|
|
4939
4941
|
var l, c;
|
|
4940
4942
|
const t = await r.getResource(o, n), s = (e == null ? void 0 : e.serverIndex) ?? 0, a = (c = (l = V["ResourceApi.getResource"]) == null ? void 0 : l[s]) == null ? void 0 : c.url;
|
|
4941
|
-
return (i, p) => R(t,
|
|
4943
|
+
return (i, p) => R(t, O, A, e)(i, a || p);
|
|
4942
4944
|
}
|
|
4943
4945
|
};
|
|
4944
4946
|
}, Bs = function(e, r, o) {
|
|
@@ -5100,7 +5102,7 @@ const b = function(e, ...r) {
|
|
|
5100
5102
|
async apiV2ResourceTypesOptions(o) {
|
|
5101
5103
|
var a, l;
|
|
5102
5104
|
const n = await r.apiV2ResourceTypesOptions(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, s = (l = (a = V["ResourceTypeApi.apiV2ResourceTypesOptions"]) == null ? void 0 : a[t]) == null ? void 0 : l.url;
|
|
5103
|
-
return (c, i) => R(n,
|
|
5105
|
+
return (c, i) => R(n, O, A, e)(c, s || i);
|
|
5104
5106
|
},
|
|
5105
5107
|
/**
|
|
5106
5108
|
*
|
|
@@ -5114,7 +5116,7 @@ const b = function(e, ...r) {
|
|
|
5114
5116
|
async getAllGitlabBranchesForProject(o, n, t, s) {
|
|
5115
5117
|
var i, p;
|
|
5116
5118
|
const a = await r.getAllGitlabBranchesForProject(o, n, t, s), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (p = (i = V["ResourceTypeApi.getAllGitlabBranchesForProject"]) == null ? void 0 : i[l]) == null ? void 0 : p.url;
|
|
5117
|
-
return (d, h) => R(a,
|
|
5119
|
+
return (d, h) => R(a, O, A, e)(d, c || h);
|
|
5118
5120
|
},
|
|
5119
5121
|
/**
|
|
5120
5122
|
*
|
|
@@ -5127,7 +5129,7 @@ const b = function(e, ...r) {
|
|
|
5127
5129
|
async getAllGitlabProjects(o, n, t) {
|
|
5128
5130
|
var c, i;
|
|
5129
5131
|
const s = await r.getAllGitlabProjects(o, n, t), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["ResourceTypeApi.getAllGitlabProjects"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
|
|
5130
|
-
return (p, d) => R(s,
|
|
5132
|
+
return (p, d) => R(s, O, A, e)(p, l || d);
|
|
5131
5133
|
},
|
|
5132
5134
|
/**
|
|
5133
5135
|
*
|
|
@@ -5138,7 +5140,7 @@ const b = function(e, ...r) {
|
|
|
5138
5140
|
async getAllResourceTypesInformation(o) {
|
|
5139
5141
|
var a, l;
|
|
5140
5142
|
const n = await r.getAllResourceTypesInformation(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, s = (l = (a = V["ResourceTypeApi.getAllResourceTypesInformation"]) == null ? void 0 : a[t]) == null ? void 0 : l.url;
|
|
5141
|
-
return (c, i) => R(n,
|
|
5143
|
+
return (c, i) => R(n, O, A, e)(c, s || i);
|
|
5142
5144
|
},
|
|
5143
5145
|
/**
|
|
5144
5146
|
*
|
|
@@ -5152,7 +5154,7 @@ const b = function(e, ...r) {
|
|
|
5152
5154
|
async getGitlabProject(o, n, t, s) {
|
|
5153
5155
|
var i, p;
|
|
5154
5156
|
const a = await r.getGitlabProject(o, n, t, s), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (p = (i = V["ResourceTypeApi.getGitlabProject"]) == null ? void 0 : i[l]) == null ? void 0 : p.url;
|
|
5155
|
-
return (d, h) => R(a,
|
|
5157
|
+
return (d, h) => R(a, O, A, e)(d, c || h);
|
|
5156
5158
|
},
|
|
5157
5159
|
/**
|
|
5158
5160
|
*
|
|
@@ -5164,7 +5166,7 @@ const b = function(e, ...r) {
|
|
|
5164
5166
|
async getResourceTypeInformation(o, n) {
|
|
5165
5167
|
var l, c;
|
|
5166
5168
|
const t = await r.getResourceTypeInformation(o, n), s = (e == null ? void 0 : e.serverIndex) ?? 0, a = (c = (l = V["ResourceTypeApi.getResourceTypeInformation"]) == null ? void 0 : l[s]) == null ? void 0 : c.url;
|
|
5167
|
-
return (i, p) => R(t,
|
|
5169
|
+
return (i, p) => R(t, O, A, e)(i, a || p);
|
|
5168
5170
|
}
|
|
5169
5171
|
};
|
|
5170
5172
|
}, Ls = function(e, r, o) {
|
|
@@ -5303,7 +5305,7 @@ const b = function(e, ...r) {
|
|
|
5303
5305
|
async apiV2RolesOptions(o) {
|
|
5304
5306
|
var a, l;
|
|
5305
5307
|
const n = await r.apiV2RolesOptions(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, s = (l = (a = V["RoleApi.apiV2RolesOptions"]) == null ? void 0 : a[t]) == null ? void 0 : l.url;
|
|
5306
|
-
return (c, i) => R(n,
|
|
5308
|
+
return (c, i) => R(n, O, A, e)(c, s || i);
|
|
5307
5309
|
},
|
|
5308
5310
|
/**
|
|
5309
5311
|
*
|
|
@@ -5315,7 +5317,7 @@ const b = function(e, ...r) {
|
|
|
5315
5317
|
async getRole(o, n) {
|
|
5316
5318
|
var l, c;
|
|
5317
5319
|
const t = await r.getRole(o, n), s = (e == null ? void 0 : e.serverIndex) ?? 0, a = (c = (l = V["RoleApi.getRole"]) == null ? void 0 : l[s]) == null ? void 0 : c.url;
|
|
5318
|
-
return (i, p) => R(t,
|
|
5320
|
+
return (i, p) => R(t, O, A, e)(i, a || p);
|
|
5319
5321
|
},
|
|
5320
5322
|
/**
|
|
5321
5323
|
*
|
|
@@ -5329,7 +5331,7 @@ const b = function(e, ...r) {
|
|
|
5329
5331
|
async getRoles(o, n, t, s) {
|
|
5330
5332
|
var i, p;
|
|
5331
5333
|
const a = await r.getRoles(o, n, t, s), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (p = (i = V["RoleApi.getRoles"]) == null ? void 0 : i[l]) == null ? void 0 : p.url;
|
|
5332
|
-
return (d, h) => R(a,
|
|
5334
|
+
return (d, h) => R(a, O, A, e)(d, c || h);
|
|
5333
5335
|
}
|
|
5334
5336
|
};
|
|
5335
5337
|
}, Ms = function(e, r, o) {
|
|
@@ -5402,10 +5404,10 @@ const b = function(e, ...r) {
|
|
|
5402
5404
|
const i = "/api/v2/search", p = new URL(i, m);
|
|
5403
5405
|
let d;
|
|
5404
5406
|
e && (d = e.baseOptions);
|
|
5405
|
-
const h = { method: "GET", ...d, ...c },
|
|
5406
|
-
await P(
|
|
5407
|
+
const h = { method: "GET", ...d, ...c }, u = {}, w = {};
|
|
5408
|
+
await P(u, "Authorization", e), r !== void 0 && (w.Query = r), o !== void 0 && (w.UseAdvancedSyntax = o), n && (w.Languages = n), t !== void 0 && (w.Category = t), s !== void 0 && (w.PageNumber = s), a !== void 0 && (w.PageSize = a), l !== void 0 && (w.OrderBy = l), b(p, w);
|
|
5407
5409
|
let T = d && d.headers ? d.headers : {};
|
|
5408
|
-
return h.headers = { ...
|
|
5410
|
+
return h.headers = { ...u, ...T, ...c.headers }, {
|
|
5409
5411
|
url: y(p),
|
|
5410
5412
|
options: h
|
|
5411
5413
|
};
|
|
@@ -5423,7 +5425,7 @@ const b = function(e, ...r) {
|
|
|
5423
5425
|
async apiV2SearchOptions(o) {
|
|
5424
5426
|
var a, l;
|
|
5425
5427
|
const n = await r.apiV2SearchOptions(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, s = (l = (a = V["SearchApi.apiV2SearchOptions"]) == null ? void 0 : a[t]) == null ? void 0 : l.url;
|
|
5426
|
-
return (c, i) => R(n,
|
|
5428
|
+
return (c, i) => R(n, O, A, e)(c, s || i);
|
|
5427
5429
|
},
|
|
5428
5430
|
/**
|
|
5429
5431
|
*
|
|
@@ -5439,9 +5441,9 @@ const b = function(e, ...r) {
|
|
|
5439
5441
|
* @throws {RequiredError}
|
|
5440
5442
|
*/
|
|
5441
5443
|
async getSearchResults(o, n, t, s, a, l, c, i) {
|
|
5442
|
-
var
|
|
5443
|
-
const p = await r.getSearchResults(o, n, t, s, a, l, c, i), d = (e == null ? void 0 : e.serverIndex) ?? 0, h = (w = (
|
|
5444
|
-
return (T, U) => R(p,
|
|
5444
|
+
var u, w;
|
|
5445
|
+
const p = await r.getSearchResults(o, n, t, s, a, l, c, i), d = (e == null ? void 0 : e.serverIndex) ?? 0, h = (w = (u = V["SearchApi.getSearchResults"]) == null ? void 0 : u[d]) == null ? void 0 : w.url;
|
|
5446
|
+
return (T, U) => R(p, O, A, e)(T, h || U);
|
|
5445
5447
|
}
|
|
5446
5448
|
};
|
|
5447
5449
|
}, ks = function(e, r, o) {
|
|
@@ -5616,7 +5618,7 @@ const b = function(e, ...r) {
|
|
|
5616
5618
|
async acceptCurrentTos(o, n) {
|
|
5617
5619
|
var l, c;
|
|
5618
5620
|
const t = await r.acceptCurrentTos(o, n), s = (e == null ? void 0 : e.serverIndex) ?? 0, a = (c = (l = V["SelfApi.acceptCurrentTos"]) == null ? void 0 : l[s]) == null ? void 0 : c.url;
|
|
5619
|
-
return (i, p) => R(t,
|
|
5621
|
+
return (i, p) => R(t, O, A, e)(i, a || p);
|
|
5620
5622
|
},
|
|
5621
5623
|
/**
|
|
5622
5624
|
*
|
|
@@ -5627,7 +5629,7 @@ const b = function(e, ...r) {
|
|
|
5627
5629
|
async apiV2SelfOptions(o) {
|
|
5628
5630
|
var a, l;
|
|
5629
5631
|
const n = await r.apiV2SelfOptions(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, s = (l = (a = V["SelfApi.apiV2SelfOptions"]) == null ? void 0 : a[t]) == null ? void 0 : l.url;
|
|
5630
|
-
return (c, i) => R(n,
|
|
5632
|
+
return (c, i) => R(n, O, A, e)(c, s || i);
|
|
5631
5633
|
},
|
|
5632
5634
|
/**
|
|
5633
5635
|
*
|
|
@@ -5639,7 +5641,7 @@ const b = function(e, ...r) {
|
|
|
5639
5641
|
async confirmUserEmail(o, n) {
|
|
5640
5642
|
var l, c;
|
|
5641
5643
|
const t = await r.confirmUserEmail(o, n), s = (e == null ? void 0 : e.serverIndex) ?? 0, a = (c = (l = V["SelfApi.confirmUserEmail"]) == null ? void 0 : l[s]) == null ? void 0 : c.url;
|
|
5642
|
-
return (i, p) => R(t,
|
|
5644
|
+
return (i, p) => R(t, O, A, e)(i, a || p);
|
|
5643
5645
|
},
|
|
5644
5646
|
/**
|
|
5645
5647
|
*
|
|
@@ -5650,7 +5652,7 @@ const b = function(e, ...r) {
|
|
|
5650
5652
|
async getCurrentUser(o) {
|
|
5651
5653
|
var a, l;
|
|
5652
5654
|
const n = await r.getCurrentUser(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, s = (l = (a = V["SelfApi.getCurrentUser"]) == null ? void 0 : a[t]) == null ? void 0 : l.url;
|
|
5653
|
-
return (c, i) => R(n,
|
|
5655
|
+
return (c, i) => R(n, O, A, e)(c, s || i);
|
|
5654
5656
|
},
|
|
5655
5657
|
/**
|
|
5656
5658
|
*
|
|
@@ -5662,7 +5664,7 @@ const b = function(e, ...r) {
|
|
|
5662
5664
|
async initiateUserMerge(o, n) {
|
|
5663
5665
|
var l, c;
|
|
5664
5666
|
const t = await r.initiateUserMerge(o, n), s = (e == null ? void 0 : e.serverIndex) ?? 0, a = (c = (l = V["SelfApi.initiateUserMerge"]) == null ? void 0 : l[s]) == null ? void 0 : c.url;
|
|
5665
|
-
return (i, p) => R(t,
|
|
5667
|
+
return (i, p) => R(t, O, A, e)(i, a || p);
|
|
5666
5668
|
},
|
|
5667
5669
|
/**
|
|
5668
5670
|
*
|
|
@@ -5674,7 +5676,7 @@ const b = function(e, ...r) {
|
|
|
5674
5676
|
async resolveProjectInvitation(o, n) {
|
|
5675
5677
|
var l, c;
|
|
5676
5678
|
const t = await r.resolveProjectInvitation(o, n), s = (e == null ? void 0 : e.serverIndex) ?? 0, a = (c = (l = V["SelfApi.resolveProjectInvitation"]) == null ? void 0 : l[s]) == null ? void 0 : c.url;
|
|
5677
|
-
return (i, p) => R(t,
|
|
5679
|
+
return (i, p) => R(t, O, A, e)(i, a || p);
|
|
5678
5680
|
},
|
|
5679
5681
|
/**
|
|
5680
5682
|
*
|
|
@@ -5686,7 +5688,7 @@ const b = function(e, ...r) {
|
|
|
5686
5688
|
async updateCurrentUser(o, n) {
|
|
5687
5689
|
var l, c;
|
|
5688
5690
|
const t = await r.updateCurrentUser(o, n), s = (e == null ? void 0 : e.serverIndex) ?? 0, a = (c = (l = V["SelfApi.updateCurrentUser"]) == null ? void 0 : l[s]) == null ? void 0 : c.url;
|
|
5689
|
-
return (i, p) => R(t,
|
|
5691
|
+
return (i, p) => R(t, O, A, e)(i, a || p);
|
|
5690
5692
|
}
|
|
5691
5693
|
};
|
|
5692
5694
|
}, $s = function(e, r, o) {
|
|
@@ -5874,7 +5876,7 @@ const b = function(e, ...r) {
|
|
|
5874
5876
|
async apiV2SelfApiTokensOptions(o) {
|
|
5875
5877
|
var a, l;
|
|
5876
5878
|
const n = await r.apiV2SelfApiTokensOptions(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, s = (l = (a = V["SelfApiTokenApi.apiV2SelfApiTokensOptions"]) == null ? void 0 : a[t]) == null ? void 0 : l.url;
|
|
5877
|
-
return (c, i) => R(n,
|
|
5879
|
+
return (c, i) => R(n, O, A, e)(c, s || i);
|
|
5878
5880
|
},
|
|
5879
5881
|
/**
|
|
5880
5882
|
*
|
|
@@ -5886,7 +5888,7 @@ const b = function(e, ...r) {
|
|
|
5886
5888
|
async createApiToken(o, n) {
|
|
5887
5889
|
var l, c;
|
|
5888
5890
|
const t = await r.createApiToken(o, n), s = (e == null ? void 0 : e.serverIndex) ?? 0, a = (c = (l = V["SelfApiTokenApi.createApiToken"]) == null ? void 0 : l[s]) == null ? void 0 : c.url;
|
|
5889
|
-
return (i, p) => R(t,
|
|
5891
|
+
return (i, p) => R(t, O, A, e)(i, a || p);
|
|
5890
5892
|
},
|
|
5891
5893
|
/**
|
|
5892
5894
|
*
|
|
@@ -5900,7 +5902,7 @@ const b = function(e, ...r) {
|
|
|
5900
5902
|
async getAllApiTokens(o, n, t, s) {
|
|
5901
5903
|
var i, p;
|
|
5902
5904
|
const a = await r.getAllApiTokens(o, n, t, s), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (p = (i = V["SelfApiTokenApi.getAllApiTokens"]) == null ? void 0 : i[l]) == null ? void 0 : p.url;
|
|
5903
|
-
return (d, h) => R(a,
|
|
5905
|
+
return (d, h) => R(a, O, A, e)(d, c || h);
|
|
5904
5906
|
},
|
|
5905
5907
|
/**
|
|
5906
5908
|
*
|
|
@@ -5912,7 +5914,7 @@ const b = function(e, ...r) {
|
|
|
5912
5914
|
async getApiToken(o, n) {
|
|
5913
5915
|
var l, c;
|
|
5914
5916
|
const t = await r.getApiToken(o, n), s = (e == null ? void 0 : e.serverIndex) ?? 0, a = (c = (l = V["SelfApiTokenApi.getApiToken"]) == null ? void 0 : l[s]) == null ? void 0 : c.url;
|
|
5915
|
-
return (i, p) => R(t,
|
|
5917
|
+
return (i, p) => R(t, O, A, e)(i, a || p);
|
|
5916
5918
|
},
|
|
5917
5919
|
/**
|
|
5918
5920
|
*
|
|
@@ -5924,7 +5926,7 @@ const b = function(e, ...r) {
|
|
|
5924
5926
|
async revokeToken(o, n) {
|
|
5925
5927
|
var l, c;
|
|
5926
5928
|
const t = await r.revokeToken(o, n), s = (e == null ? void 0 : e.serverIndex) ?? 0, a = (c = (l = V["SelfApiTokenApi.revokeToken"]) == null ? void 0 : l[s]) == null ? void 0 : c.url;
|
|
5927
|
-
return (i, p) => R(t,
|
|
5929
|
+
return (i, p) => R(t, O, A, e)(i, a || p);
|
|
5928
5930
|
}
|
|
5929
5931
|
};
|
|
5930
5932
|
}, qs = function(e, r, o) {
|
|
@@ -6054,7 +6056,7 @@ const b = function(e, ...r) {
|
|
|
6054
6056
|
async apiV2TitlesOptions(o) {
|
|
6055
6057
|
var a, l;
|
|
6056
6058
|
const n = await r.apiV2TitlesOptions(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, s = (l = (a = V["TitleApi.apiV2TitlesOptions"]) == null ? void 0 : a[t]) == null ? void 0 : l.url;
|
|
6057
|
-
return (c, i) => R(n,
|
|
6059
|
+
return (c, i) => R(n, O, A, e)(c, s || i);
|
|
6058
6060
|
},
|
|
6059
6061
|
/**
|
|
6060
6062
|
*
|
|
@@ -6066,7 +6068,7 @@ const b = function(e, ...r) {
|
|
|
6066
6068
|
async getTitle(o, n) {
|
|
6067
6069
|
var l, c;
|
|
6068
6070
|
const t = await r.getTitle(o, n), s = (e == null ? void 0 : e.serverIndex) ?? 0, a = (c = (l = V["TitleApi.getTitle"]) == null ? void 0 : l[s]) == null ? void 0 : c.url;
|
|
6069
|
-
return (i, p) => R(t,
|
|
6071
|
+
return (i, p) => R(t, O, A, e)(i, a || p);
|
|
6070
6072
|
},
|
|
6071
6073
|
/**
|
|
6072
6074
|
*
|
|
@@ -6080,7 +6082,7 @@ const b = function(e, ...r) {
|
|
|
6080
6082
|
async getTitles(o, n, t, s) {
|
|
6081
6083
|
var i, p;
|
|
6082
6084
|
const a = await r.getTitles(o, n, t, s), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (p = (i = V["TitleApi.getTitles"]) == null ? void 0 : i[l]) == null ? void 0 : p.url;
|
|
6083
|
-
return (d, h) => R(a,
|
|
6085
|
+
return (d, h) => R(a, O, A, e)(d, c || h);
|
|
6084
6086
|
}
|
|
6085
6087
|
};
|
|
6086
6088
|
}, fs = function(e, r, o) {
|
|
@@ -6167,7 +6169,7 @@ const b = function(e, ...r) {
|
|
|
6167
6169
|
async apiV2TosOptions(o) {
|
|
6168
6170
|
var a, l;
|
|
6169
6171
|
const n = await r.apiV2TosOptions(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, s = (l = (a = V["TosApi.apiV2TosOptions"]) == null ? void 0 : a[t]) == null ? void 0 : l.url;
|
|
6170
|
-
return (c, i) => R(n,
|
|
6172
|
+
return (c, i) => R(n, O, A, e)(c, s || i);
|
|
6171
6173
|
},
|
|
6172
6174
|
/**
|
|
6173
6175
|
*
|
|
@@ -6178,7 +6180,7 @@ const b = function(e, ...r) {
|
|
|
6178
6180
|
async getTos(o) {
|
|
6179
6181
|
var a, l;
|
|
6180
6182
|
const n = await r.getTos(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, s = (l = (a = V["TosApi.getTos"]) == null ? void 0 : a[t]) == null ? void 0 : l.url;
|
|
6181
|
-
return (c, i) => R(n,
|
|
6183
|
+
return (c, i) => R(n, O, A, e)(c, s || i);
|
|
6182
6184
|
}
|
|
6183
6185
|
};
|
|
6184
6186
|
}, Ys = function(e, r, o) {
|
|
@@ -6309,8 +6311,8 @@ const b = function(e, ...r) {
|
|
|
6309
6311
|
const c = "/api/v2/projects/{projectId}/resources/{resourceId}/trees/files".replace("{projectId}", encodeURIComponent(String(r))).replace("{resourceId}", encodeURIComponent(String(o))), i = new URL(c, m);
|
|
6310
6312
|
let p;
|
|
6311
6313
|
e && (p = e.baseOptions);
|
|
6312
|
-
const d = { method: "GET", ...p, ...l }, h = {},
|
|
6313
|
-
await P(h, "Authorization", e), n !== void 0 && (
|
|
6314
|
+
const d = { method: "GET", ...p, ...l }, h = {}, u = {};
|
|
6315
|
+
await P(h, "Authorization", e), n !== void 0 && (u.Path = n), t !== void 0 && (u.PageNumber = t), s !== void 0 && (u.PageSize = s), a !== void 0 && (u.OrderBy = a), b(i, u);
|
|
6314
6316
|
let w = p && p.headers ? p.headers : {};
|
|
6315
6317
|
return d.headers = { ...h, ...w, ...l.headers }, {
|
|
6316
6318
|
url: y(i),
|
|
@@ -6335,11 +6337,11 @@ const b = function(e, ...r) {
|
|
|
6335
6337
|
getMetadataTree: async (r, o, n, t, s, a, l, c, i, p = {}) => {
|
|
6336
6338
|
I("getMetadataTree", "projectId", r), I("getMetadataTree", "resourceId", o);
|
|
6337
6339
|
const d = "/api/v2/projects/{projectId}/resources/{resourceId}/trees/metadata".replace("{projectId}", encodeURIComponent(String(r))).replace("{resourceId}", encodeURIComponent(String(o))), h = new URL(d, m);
|
|
6338
|
-
let
|
|
6339
|
-
e && (
|
|
6340
|
-
const w = { method: "GET", ...
|
|
6340
|
+
let u;
|
|
6341
|
+
e && (u = e.baseOptions);
|
|
6342
|
+
const w = { method: "GET", ...u, ...p }, T = {}, U = {};
|
|
6341
6343
|
await P(T, "Authorization", e), n !== void 0 && (U.Path = n), t !== void 0 && (U.Format = t), s !== void 0 && (U.IncludeExtractedMetadata = s), a !== void 0 && (U.IncludeProvenance = a), l !== void 0 && (U.PageNumber = l), c !== void 0 && (U.PageSize = c), i !== void 0 && (U.OrderBy = i), b(h, U);
|
|
6342
|
-
let C =
|
|
6344
|
+
let C = u && u.headers ? u.headers : {};
|
|
6343
6345
|
return w.headers = { ...T, ...C, ...p.headers }, {
|
|
6344
6346
|
url: y(h),
|
|
6345
6347
|
options: w
|
|
@@ -6363,10 +6365,10 @@ const b = function(e, ...r) {
|
|
|
6363
6365
|
const i = "/api/v2/projects/{projectId}/resources/{resourceId}/trees/metadata/specific".replace("{projectId}", encodeURIComponent(String(r))).replace("{resourceId}", encodeURIComponent(String(o))), p = new URL(i, m);
|
|
6364
6366
|
let d;
|
|
6365
6367
|
e && (d = e.baseOptions);
|
|
6366
|
-
const h = { method: "GET", ...d, ...c },
|
|
6367
|
-
await P(
|
|
6368
|
+
const h = { method: "GET", ...d, ...c }, u = {}, w = {};
|
|
6369
|
+
await P(u, "Authorization", e), n !== void 0 && (w.Path = n), t !== void 0 && (w.Format = t), s !== void 0 && (w.IncludeExtractedMetadata = s), a !== void 0 && (w.IncludeProvenance = a), l !== void 0 && (w.Version = l), b(p, w);
|
|
6368
6370
|
let T = d && d.headers ? d.headers : {};
|
|
6369
|
-
return h.headers = { ...
|
|
6371
|
+
return h.headers = { ...u, ...T, ...c.headers }, {
|
|
6370
6372
|
url: y(p),
|
|
6371
6373
|
options: h
|
|
6372
6374
|
};
|
|
@@ -6430,7 +6432,7 @@ const b = function(e, ...r) {
|
|
|
6430
6432
|
async apiV2ProjectsProjectIdResourcesResourceIdTreesOptions(o, n, t) {
|
|
6431
6433
|
var c, i;
|
|
6432
6434
|
const s = await r.apiV2ProjectsProjectIdResourcesResourceIdTreesOptions(o, n, t), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["TreeApi.apiV2ProjectsProjectIdResourcesResourceIdTreesOptions"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
|
|
6433
|
-
return (p, d) => R(s,
|
|
6435
|
+
return (p, d) => R(s, O, A, e)(p, l || d);
|
|
6434
6436
|
},
|
|
6435
6437
|
/**
|
|
6436
6438
|
* <p><strong>Required JWT roles for access:</strong> <code>administrator</code>.</p>
|
|
@@ -6444,7 +6446,7 @@ const b = function(e, ...r) {
|
|
|
6444
6446
|
async createExtractedMetadataTree(o, n, t, s) {
|
|
6445
6447
|
var i, p;
|
|
6446
6448
|
const a = await r.createExtractedMetadataTree(o, n, t, s), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (p = (i = V["TreeApi.createExtractedMetadataTree"]) == null ? void 0 : i[l]) == null ? void 0 : p.url;
|
|
6447
|
-
return (d, h) => R(a,
|
|
6449
|
+
return (d, h) => R(a, O, A, e)(d, c || h);
|
|
6448
6450
|
},
|
|
6449
6451
|
/**
|
|
6450
6452
|
*
|
|
@@ -6458,7 +6460,7 @@ const b = function(e, ...r) {
|
|
|
6458
6460
|
async createMetadataTree(o, n, t, s) {
|
|
6459
6461
|
var i, p;
|
|
6460
6462
|
const a = await r.createMetadataTree(o, n, t, s), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (p = (i = V["TreeApi.createMetadataTree"]) == null ? void 0 : i[l]) == null ? void 0 : p.url;
|
|
6461
|
-
return (d, h) => R(a,
|
|
6463
|
+
return (d, h) => R(a, O, A, e)(d, c || h);
|
|
6462
6464
|
},
|
|
6463
6465
|
/**
|
|
6464
6466
|
* <p><strong>Required JWT roles for access:</strong> <code>administrator</code>.</p>
|
|
@@ -6472,7 +6474,7 @@ const b = function(e, ...r) {
|
|
|
6472
6474
|
async deleteMetadataTree(o, n, t, s) {
|
|
6473
6475
|
var i, p;
|
|
6474
6476
|
const a = await r.deleteMetadataTree(o, n, t, s), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (p = (i = V["TreeApi.deleteMetadataTree"]) == null ? void 0 : i[l]) == null ? void 0 : p.url;
|
|
6475
|
-
return (d, h) => R(a,
|
|
6477
|
+
return (d, h) => R(a, O, A, e)(d, c || h);
|
|
6476
6478
|
},
|
|
6477
6479
|
/**
|
|
6478
6480
|
* The `OrderBy` query is currently not supported.
|
|
@@ -6487,9 +6489,9 @@ const b = function(e, ...r) {
|
|
|
6487
6489
|
* @throws {RequiredError}
|
|
6488
6490
|
*/
|
|
6489
6491
|
async getFileTree(o, n, t, s, a, l, c) {
|
|
6490
|
-
var h,
|
|
6491
|
-
const i = await r.getFileTree(o, n, t, s, a, l, c), p = (e == null ? void 0 : e.serverIndex) ?? 0, d = (
|
|
6492
|
-
return (w, T) => R(i,
|
|
6492
|
+
var h, u;
|
|
6493
|
+
const i = await r.getFileTree(o, n, t, s, a, l, c), p = (e == null ? void 0 : e.serverIndex) ?? 0, d = (u = (h = V["TreeApi.getFileTree"]) == null ? void 0 : h[p]) == null ? void 0 : u.url;
|
|
6494
|
+
return (w, T) => R(i, O, A, e)(w, d || T);
|
|
6493
6495
|
},
|
|
6494
6496
|
/**
|
|
6495
6497
|
*
|
|
@@ -6508,8 +6510,8 @@ const b = function(e, ...r) {
|
|
|
6508
6510
|
*/
|
|
6509
6511
|
async getMetadataTree(o, n, t, s, a, l, c, i, p, d) {
|
|
6510
6512
|
var T, U;
|
|
6511
|
-
const h = await r.getMetadataTree(o, n, t, s, a, l, c, i, p, d),
|
|
6512
|
-
return (C, z) => R(h,
|
|
6513
|
+
const h = await r.getMetadataTree(o, n, t, s, a, l, c, i, p, d), u = (e == null ? void 0 : e.serverIndex) ?? 0, w = (U = (T = V["TreeApi.getMetadataTree"]) == null ? void 0 : T[u]) == null ? void 0 : U.url;
|
|
6514
|
+
return (C, z) => R(h, O, A, e)(C, w || z);
|
|
6513
6515
|
},
|
|
6514
6516
|
/**
|
|
6515
6517
|
*
|
|
@@ -6525,9 +6527,9 @@ const b = function(e, ...r) {
|
|
|
6525
6527
|
* @throws {RequiredError}
|
|
6526
6528
|
*/
|
|
6527
6529
|
async getSpecificMetadataTree(o, n, t, s, a, l, c, i) {
|
|
6528
|
-
var
|
|
6529
|
-
const p = await r.getSpecificMetadataTree(o, n, t, s, a, l, c, i), d = (e == null ? void 0 : e.serverIndex) ?? 0, h = (w = (
|
|
6530
|
-
return (T, U) => R(p,
|
|
6530
|
+
var u, w;
|
|
6531
|
+
const p = await r.getSpecificMetadataTree(o, n, t, s, a, l, c, i), d = (e == null ? void 0 : e.serverIndex) ?? 0, h = (w = (u = V["TreeApi.getSpecificMetadataTree"]) == null ? void 0 : u[d]) == null ? void 0 : w.url;
|
|
6532
|
+
return (T, U) => R(p, O, A, e)(T, h || U);
|
|
6531
6533
|
},
|
|
6532
6534
|
/**
|
|
6533
6535
|
* <p><strong>Required JWT roles for access:</strong> <code>administrator</code>.</p>
|
|
@@ -6541,7 +6543,7 @@ const b = function(e, ...r) {
|
|
|
6541
6543
|
async updateExtractedMetadataTree(o, n, t, s) {
|
|
6542
6544
|
var i, p;
|
|
6543
6545
|
const a = await r.updateExtractedMetadataTree(o, n, t, s), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (p = (i = V["TreeApi.updateExtractedMetadataTree"]) == null ? void 0 : i[l]) == null ? void 0 : p.url;
|
|
6544
|
-
return (d, h) => R(a,
|
|
6546
|
+
return (d, h) => R(a, O, A, e)(d, c || h);
|
|
6545
6547
|
},
|
|
6546
6548
|
/**
|
|
6547
6549
|
*
|
|
@@ -6555,7 +6557,7 @@ const b = function(e, ...r) {
|
|
|
6555
6557
|
async updateMetadataTree(o, n, t, s) {
|
|
6556
6558
|
var i, p;
|
|
6557
6559
|
const a = await r.updateMetadataTree(o, n, t, s), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (p = (i = V["TreeApi.updateMetadataTree"]) == null ? void 0 : i[l]) == null ? void 0 : p.url;
|
|
6558
|
-
return (d, h) => R(a,
|
|
6560
|
+
return (d, h) => R(a, O, A, e)(d, c || h);
|
|
6559
6561
|
}
|
|
6560
6562
|
};
|
|
6561
6563
|
}, ea = function(e, r, o) {
|
|
@@ -6706,7 +6708,7 @@ const b = function(e, ...r) {
|
|
|
6706
6708
|
async apiV2UsersOptions(o) {
|
|
6707
6709
|
var a, l;
|
|
6708
6710
|
const n = await r.apiV2UsersOptions(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, s = (l = (a = V["UserApi.apiV2UsersOptions"]) == null ? void 0 : a[t]) == null ? void 0 : l.url;
|
|
6709
|
-
return (c, i) => R(n,
|
|
6711
|
+
return (c, i) => R(n, O, A, e)(c, s || i);
|
|
6710
6712
|
},
|
|
6711
6713
|
/**
|
|
6712
6714
|
*
|
|
@@ -6719,7 +6721,7 @@ const b = function(e, ...r) {
|
|
|
6719
6721
|
async getUsers(o, n, t) {
|
|
6720
6722
|
var c, i;
|
|
6721
6723
|
const s = await r.getUsers(o, n, t), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["UserApi.getUsers"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
|
|
6722
|
-
return (p, d) => R(s,
|
|
6724
|
+
return (p, d) => R(s, O, A, e)(p, l || d);
|
|
6723
6725
|
}
|
|
6724
6726
|
};
|
|
6725
6727
|
}, sa = function(e, r, o) {
|
|
@@ -6819,7 +6821,7 @@ const b = function(e, ...r) {
|
|
|
6819
6821
|
async apiV2VisibilitiesOptions(o) {
|
|
6820
6822
|
var a, l;
|
|
6821
6823
|
const n = await r.apiV2VisibilitiesOptions(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, s = (l = (a = V["VisibilityApi.apiV2VisibilitiesOptions"]) == null ? void 0 : a[t]) == null ? void 0 : l.url;
|
|
6822
|
-
return (c, i) => R(n,
|
|
6824
|
+
return (c, i) => R(n, O, A, e)(c, s || i);
|
|
6823
6825
|
},
|
|
6824
6826
|
/**
|
|
6825
6827
|
*
|
|
@@ -6833,7 +6835,7 @@ const b = function(e, ...r) {
|
|
|
6833
6835
|
async getVisibilities(o, n, t, s) {
|
|
6834
6836
|
var i, p;
|
|
6835
6837
|
const a = await r.getVisibilities(o, n, t, s), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (p = (i = V["VisibilityApi.getVisibilities"]) == null ? void 0 : i[l]) == null ? void 0 : p.url;
|
|
6836
|
-
return (d, h) => R(a,
|
|
6838
|
+
return (d, h) => R(a, O, A, e)(d, c || h);
|
|
6837
6839
|
},
|
|
6838
6840
|
/**
|
|
6839
6841
|
*
|
|
@@ -6845,7 +6847,7 @@ const b = function(e, ...r) {
|
|
|
6845
6847
|
async getVisibility(o, n) {
|
|
6846
6848
|
var l, c;
|
|
6847
6849
|
const t = await r.getVisibility(o, n), s = (e == null ? void 0 : e.serverIndex) ?? 0, a = (c = (l = V["VisibilityApi.getVisibility"]) == null ? void 0 : l[s]) == null ? void 0 : c.url;
|
|
6848
|
-
return (i, p) => R(t,
|
|
6850
|
+
return (i, p) => R(t, O, A, e)(i, a || p);
|
|
6849
6851
|
}
|
|
6850
6852
|
};
|
|
6851
6853
|
}, na = function(e, r, o) {
|
|
@@ -6918,8 +6920,8 @@ const b = function(e, ...r) {
|
|
|
6918
6920
|
e && (i = e.baseOptions);
|
|
6919
6921
|
const p = { method: "GET", ...i, ...a }, d = {}, h = {};
|
|
6920
6922
|
await P(d, "Authorization", e), r !== void 0 && (h.SearchTerm = r), o !== void 0 && (h.Language = o), n !== void 0 && (h.PageNumber = n), t !== void 0 && (h.PageSize = t), s !== void 0 && (h.OrderBy = s), b(c, h);
|
|
6921
|
-
let
|
|
6922
|
-
return p.headers = { ...d, ...
|
|
6923
|
+
let u = i && i.headers ? i.headers : {};
|
|
6924
|
+
return p.headers = { ...d, ...u, ...a.headers }, {
|
|
6923
6925
|
url: y(c),
|
|
6924
6926
|
options: p
|
|
6925
6927
|
};
|
|
@@ -6962,8 +6964,8 @@ const b = function(e, ...r) {
|
|
|
6962
6964
|
const c = "/api/v2/vocabularies/instances", i = new URL(c, m);
|
|
6963
6965
|
let p;
|
|
6964
6966
|
e && (p = e.baseOptions);
|
|
6965
|
-
const d = { method: "GET", ...p, ...l }, h = {},
|
|
6966
|
-
await P(h, "Authorization", e), r !== void 0 && (
|
|
6967
|
+
const d = { method: "GET", ...p, ...l }, h = {}, u = {};
|
|
6968
|
+
await P(h, "Authorization", e), r !== void 0 && (u.Class = r), o !== void 0 && (u.SearchTerm = o), n !== void 0 && (u.Language = n), t !== void 0 && (u.PageSize = t), s !== void 0 && (u.PageNumber = s), a !== void 0 && (u.OrderBy = a), b(i, u);
|
|
6967
6969
|
let w = p && p.headers ? p.headers : {};
|
|
6968
6970
|
return d.headers = { ...h, ...w, ...l.headers }, {
|
|
6969
6971
|
url: y(i),
|
|
@@ -6983,7 +6985,7 @@ const b = function(e, ...r) {
|
|
|
6983
6985
|
async apiV2VocabulariesOptions(o) {
|
|
6984
6986
|
var a, l;
|
|
6985
6987
|
const n = await r.apiV2VocabulariesOptions(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, s = (l = (a = V["VocabularyApi.apiV2VocabulariesOptions"]) == null ? void 0 : a[t]) == null ? void 0 : l.url;
|
|
6986
|
-
return (c, i) => R(n,
|
|
6988
|
+
return (c, i) => R(n, O, A, e)(c, s || i);
|
|
6987
6989
|
},
|
|
6988
6990
|
/**
|
|
6989
6991
|
*
|
|
@@ -6999,7 +7001,7 @@ const b = function(e, ...r) {
|
|
|
6999
7001
|
async getVocabularies(o, n, t, s, a, l) {
|
|
7000
7002
|
var d, h;
|
|
7001
7003
|
const c = await r.getVocabularies(o, n, t, s, a, l), i = (e == null ? void 0 : e.serverIndex) ?? 0, p = (h = (d = V["VocabularyApi.getVocabularies"]) == null ? void 0 : d[i]) == null ? void 0 : h.url;
|
|
7002
|
-
return (
|
|
7004
|
+
return (u, w) => R(c, O, A, e)(u, p || w);
|
|
7003
7005
|
},
|
|
7004
7006
|
/**
|
|
7005
7007
|
* Could be a top-level instance, or an intermediate-level instance from a vocabulary.
|
|
@@ -7012,7 +7014,7 @@ const b = function(e, ...r) {
|
|
|
7012
7014
|
async getVocabularyInstance(o, n, t) {
|
|
7013
7015
|
var c, i;
|
|
7014
7016
|
const s = await r.getVocabularyInstance(o, n, t), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["VocabularyApi.getVocabularyInstance"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
|
|
7015
|
-
return (p, d) => R(s,
|
|
7017
|
+
return (p, d) => R(s, O, A, e)(p, l || d);
|
|
7016
7018
|
},
|
|
7017
7019
|
/**
|
|
7018
7020
|
*
|
|
@@ -7027,9 +7029,9 @@ const b = function(e, ...r) {
|
|
|
7027
7029
|
* @throws {RequiredError}
|
|
7028
7030
|
*/
|
|
7029
7031
|
async getVocabularyInstances(o, n, t, s, a, l, c) {
|
|
7030
|
-
var h,
|
|
7031
|
-
const i = await r.getVocabularyInstances(o, n, t, s, a, l, c), p = (e == null ? void 0 : e.serverIndex) ?? 0, d = (
|
|
7032
|
-
return (w, T) => R(i,
|
|
7032
|
+
var h, u;
|
|
7033
|
+
const i = await r.getVocabularyInstances(o, n, t, s, a, l, c), p = (e == null ? void 0 : e.serverIndex) ?? 0, d = (u = (h = V["VocabularyApi.getVocabularyInstances"]) == null ? void 0 : h[p]) == null ? void 0 : u.url;
|
|
7034
|
+
return (w, T) => R(i, O, A, e)(w, d || T);
|
|
7033
7035
|
}
|
|
7034
7036
|
};
|
|
7035
7037
|
}, ia = function(e, r, o) {
|
|
@@ -7151,7 +7153,7 @@ class x {
|
|
|
7151
7153
|
return r !== null && (o.test(r) || r.toLowerCase() === "application/json-patch+json");
|
|
7152
7154
|
}
|
|
7153
7155
|
}
|
|
7154
|
-
const N = "https://d-
|
|
7156
|
+
const N = "https://d-sp28.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.STS".replace(/\/+$/, ""), $ = {}, G = "https://example.com", _ = async function(e, r, o) {
|
|
7155
7157
|
if (o && o.apiKey) {
|
|
7156
7158
|
const n = typeof o.apiKey == "function" ? await o.apiKey(r) : await o.apiKey;
|
|
7157
7159
|
e[r] = n;
|
|
@@ -7223,7 +7225,7 @@ const q = function(e, ...r) {
|
|
|
7223
7225
|
async accountGetLoginUrls(o) {
|
|
7224
7226
|
var a, l;
|
|
7225
7227
|
const n = await r.accountGetLoginUrls(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, s = (l = (a = $["AccountApi.accountGetLoginUrls"]) == null ? void 0 : a[t]) == null ? void 0 : l.url;
|
|
7226
|
-
return (c, i) => K(n,
|
|
7228
|
+
return (c, i) => K(n, O, N, e)(c, s || i);
|
|
7227
7229
|
},
|
|
7228
7230
|
/**
|
|
7229
7231
|
*
|
|
@@ -7234,7 +7236,7 @@ const q = function(e, ...r) {
|
|
|
7234
7236
|
async accountLogout(o) {
|
|
7235
7237
|
var a, l;
|
|
7236
7238
|
const n = await r.accountLogout(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, s = (l = (a = $["AccountApi.accountLogout"]) == null ? void 0 : a[t]) == null ? void 0 : l.url;
|
|
7237
|
-
return (c, i) => K(n,
|
|
7239
|
+
return (c, i) => K(n, O, N, e)(c, s || i);
|
|
7238
7240
|
}
|
|
7239
7241
|
};
|
|
7240
7242
|
}, ha = function(e, r, o) {
|
|
@@ -7292,7 +7294,7 @@ const q = function(e, ...r) {
|
|
|
7292
7294
|
async homeIndex(o) {
|
|
7293
7295
|
var a, l;
|
|
7294
7296
|
const n = await r.homeIndex(o), t = (e == null ? void 0 : e.serverIndex) ?? 0, s = (l = (a = $["HomeApi.homeIndex"]) == null ? void 0 : a[t]) == null ? void 0 : l.url;
|
|
7295
|
-
return (c, i) => K(n,
|
|
7297
|
+
return (c, i) => K(n, O, N, e)(c, s || i);
|
|
7296
7298
|
}
|
|
7297
7299
|
};
|
|
7298
7300
|
}, Aa = function(e, r, o) {
|
|
@@ -7359,7 +7361,7 @@ const q = function(e, ...r) {
|
|
|
7359
7361
|
async mergeCallback(o, n) {
|
|
7360
7362
|
var l, c;
|
|
7361
7363
|
const t = await r.mergeCallback(o, n), s = (e == null ? void 0 : e.serverIndex) ?? 0, a = (c = (l = $["MergeApi.mergeCallback"]) == null ? void 0 : l[s]) == null ? void 0 : c.url;
|
|
7362
|
-
return (i, p) => K(t,
|
|
7364
|
+
return (i, p) => K(t, O, N, e)(i, a || p);
|
|
7363
7365
|
},
|
|
7364
7366
|
/**
|
|
7365
7367
|
*
|
|
@@ -7370,7 +7372,7 @@ const q = function(e, ...r) {
|
|
|
7370
7372
|
async mergeLogin(o, n) {
|
|
7371
7373
|
var l, c;
|
|
7372
7374
|
const t = await r.mergeLogin(o, n), s = (e == null ? void 0 : e.serverIndex) ?? 0, a = (c = (l = $["MergeApi.mergeLogin"]) == null ? void 0 : l[s]) == null ? void 0 : c.url;
|
|
7373
|
-
return (i, p) => K(t,
|
|
7375
|
+
return (i, p) => K(t, O, N, e)(i, a || p);
|
|
7374
7376
|
}
|
|
7375
7377
|
};
|
|
7376
7378
|
}, Pa = function(e, r, o) {
|
|
@@ -7450,7 +7452,7 @@ const q = function(e, ...r) {
|
|
|
7450
7452
|
async oRCiDLoginGET(o, n) {
|
|
7451
7453
|
var l, c;
|
|
7452
7454
|
const t = await r.oRCiDLoginGET(o, n), s = (e == null ? void 0 : e.serverIndex) ?? 0, a = (c = (l = $["ORCiDApi.oRCiDLoginGET"]) == null ? void 0 : l[s]) == null ? void 0 : c.url;
|
|
7453
|
-
return (i, p) => K(t,
|
|
7455
|
+
return (i, p) => K(t, O, N, e)(i, a || p);
|
|
7454
7456
|
},
|
|
7455
7457
|
/**
|
|
7456
7458
|
*
|
|
@@ -7463,7 +7465,7 @@ const q = function(e, ...r) {
|
|
|
7463
7465
|
async oRCiDLoginPOST(o, n, t) {
|
|
7464
7466
|
var c, i;
|
|
7465
7467
|
const s = await r.oRCiDLoginPOST(o, n, t), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = $["ORCiDApi.oRCiDLoginPOST"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
|
|
7466
|
-
return (p, d) => K(s,
|
|
7468
|
+
return (p, d) => K(s, O, N, e)(p, l || d);
|
|
7467
7469
|
}
|
|
7468
7470
|
};
|
|
7469
7471
|
}, Ra = function(e, r, o) {
|
|
@@ -7547,7 +7549,7 @@ const q = function(e, ...r) {
|
|
|
7547
7549
|
async shibbolethCallback(o, n, t) {
|
|
7548
7550
|
var c, i;
|
|
7549
7551
|
const s = await r.shibbolethCallback(o, n, t), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = $["ShibbolethApi.shibbolethCallback"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
|
|
7550
|
-
return (p, d) => K(s,
|
|
7552
|
+
return (p, d) => K(s, O, N, e)(p, l || d);
|
|
7551
7553
|
},
|
|
7552
7554
|
/**
|
|
7553
7555
|
*
|
|
@@ -7560,7 +7562,7 @@ const q = function(e, ...r) {
|
|
|
7560
7562
|
async shibbolethLogin(o, n, t) {
|
|
7561
7563
|
var c, i;
|
|
7562
7564
|
const s = await r.shibbolethLogin(o, n, t), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = $["ShibbolethApi.shibbolethLogin"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
|
|
7563
|
-
return (p, d) => K(s,
|
|
7565
|
+
return (p, d) => K(s, O, N, e)(p, l || d);
|
|
7564
7566
|
}
|
|
7565
7567
|
};
|
|
7566
7568
|
}, wa = function(e, r, o) {
|
|
@@ -7639,7 +7641,7 @@ function Ta(e) {
|
|
|
7639
7641
|
VocabularyApi: ia(new x({ accessToken: v }), "https://" + S() + "/coscine", e)
|
|
7640
7642
|
};
|
|
7641
7643
|
}
|
|
7642
|
-
const nt =
|
|
7644
|
+
const nt = O.create(), Ua = "X-Coscine-Logging-CorrelationId";
|
|
7643
7645
|
function va(e) {
|
|
7644
7646
|
if (typeof window < "u") {
|
|
7645
7647
|
const r = localStorage.getItem("coscine.authorization.bearer");
|