@coscine/api-client 2.5.0 → 2.7.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 +1467 -501
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +1472 -500
- package/dist/index.umd.js.map +1 -1
- package/dist/lib/Coscine.Api.ActivatedFeatures/index.js +5 -1
- package/dist/lib/Coscine.Api.ActivatedFeatures/index.js.map +1 -1
- package/dist/lib/Coscine.Api.Admin/api.js +1 -1
- package/dist/lib/Coscine.Api.Admin/base.js +1 -1
- package/dist/lib/Coscine.Api.Admin/common.js +1 -1
- package/dist/lib/Coscine.Api.Admin/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Admin/index.js +6 -2
- package/dist/lib/Coscine.Api.Admin/index.js.map +1 -1
- package/dist/lib/Coscine.Api.Blob/api.js +1 -1
- package/dist/lib/Coscine.Api.Blob/base.js +1 -1
- package/dist/lib/Coscine.Api.Blob/common.js +1 -1
- package/dist/lib/Coscine.Api.Blob/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Blob/index.js +6 -2
- package/dist/lib/Coscine.Api.Blob/index.js.map +1 -1
- package/dist/lib/Coscine.Api.Metadata/api.js +1 -1
- package/dist/lib/Coscine.Api.Metadata/base.js +1 -1
- package/dist/lib/Coscine.Api.Metadata/common.js +1 -1
- package/dist/lib/Coscine.Api.Metadata/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Metadata/index.js +6 -2
- package/dist/lib/Coscine.Api.Metadata/index.js.map +1 -1
- package/dist/lib/Coscine.Api.Notices/api.js +5 -1
- package/dist/lib/Coscine.Api.Notices/api.js.map +1 -1
- package/dist/lib/Coscine.Api.Notices/base.js +1 -1
- package/dist/lib/Coscine.Api.Notices/common.js +1 -1
- package/dist/lib/Coscine.Api.Notices/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Notices/index.js +6 -2
- package/dist/lib/Coscine.Api.Notices/index.js.map +1 -1
- package/dist/lib/Coscine.Api.Organization/index.js +5 -1
- package/dist/lib/Coscine.Api.Organization/index.js.map +1 -1
- package/dist/lib/Coscine.Api.Pid/api.js +1 -1
- package/dist/lib/Coscine.Api.Pid/base.js +2 -2
- package/dist/lib/Coscine.Api.Pid/common.js +1 -1
- package/dist/lib/Coscine.Api.Pid/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Pid/index.js +6 -2
- package/dist/lib/Coscine.Api.Pid/index.js.map +1 -1
- package/dist/lib/Coscine.Api.Project/api.js +1 -1
- package/dist/lib/Coscine.Api.Project/api.js.map +1 -1
- package/dist/lib/Coscine.Api.Project/base.js +1 -1
- package/dist/lib/Coscine.Api.Project/common.js +1 -1
- package/dist/lib/Coscine.Api.Project/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Project/index.js +6 -2
- package/dist/lib/Coscine.Api.Project/index.js.map +1 -1
- package/dist/lib/Coscine.Api.Resources/api.js +281 -2
- package/dist/lib/Coscine.Api.Resources/api.js.map +1 -1
- package/dist/lib/Coscine.Api.Resources/base.js +1 -1
- package/dist/lib/Coscine.Api.Resources/common.js +1 -1
- package/dist/lib/Coscine.Api.Resources/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Resources/index.js +6 -2
- package/dist/lib/Coscine.Api.Resources/index.js.map +1 -1
- package/dist/lib/Coscine.Api.STS/api.js +802 -0
- package/dist/lib/Coscine.Api.STS/api.js.map +1 -0
- package/dist/lib/Coscine.Api.STS/base.js +65 -0
- package/dist/lib/Coscine.Api.STS/base.js.map +1 -0
- package/dist/lib/Coscine.Api.STS/common.js +153 -0
- package/dist/lib/Coscine.Api.STS/common.js.map +1 -0
- package/dist/lib/Coscine.Api.STS/configuration.js +43 -0
- package/dist/lib/Coscine.Api.STS/configuration.js.map +1 -0
- package/dist/lib/Coscine.Api.STS/index.js +32 -0
- package/dist/lib/Coscine.Api.STS/index.js.map +1 -0
- package/dist/lib/Coscine.Api.Search/api.js +5 -5
- package/dist/lib/Coscine.Api.Search/base.js +2 -2
- package/dist/lib/Coscine.Api.Search/common.js +1 -1
- package/dist/lib/Coscine.Api.Search/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Search/index.js +6 -2
- package/dist/lib/Coscine.Api.Search/index.js.map +1 -1
- package/dist/lib/Coscine.Api.Token/index.js +5 -1
- package/dist/lib/Coscine.Api.Token/index.js.map +1 -1
- package/dist/lib/Coscine.Api.Tree/api.js +1 -1
- package/dist/lib/Coscine.Api.Tree/base.js +1 -1
- package/dist/lib/Coscine.Api.Tree/common.js +1 -1
- package/dist/lib/Coscine.Api.Tree/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Tree/index.js +6 -2
- package/dist/lib/Coscine.Api.Tree/index.js.map +1 -1
- package/dist/lib/Coscine.Api.User/api.js +60 -2
- package/dist/lib/Coscine.Api.User/api.js.map +1 -1
- package/dist/lib/Coscine.Api.User/base.js +1 -1
- package/dist/lib/Coscine.Api.User/common.js +1 -1
- package/dist/lib/Coscine.Api.User/configuration.js +1 -1
- package/dist/lib/Coscine.Api.User/index.js +6 -2
- package/dist/lib/Coscine.Api.User/index.js.map +1 -1
- package/dist/lib/apis.js +31 -19
- package/dist/lib/apis.js.map +1 -1
- package/dist/lib/index.js +7 -1
- package/dist/lib/index.js.map +1 -1
- package/dist/types/Coscine.Api.Admin/api.d.ts +1 -1
- package/dist/types/Coscine.Api.Admin/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Admin/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Admin/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Admin/index.d.ts +1 -1
- package/dist/types/Coscine.Api.Blob/api.d.ts +1 -1
- package/dist/types/Coscine.Api.Blob/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Blob/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Blob/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Blob/index.d.ts +1 -1
- package/dist/types/Coscine.Api.Metadata/api.d.ts +1 -1
- package/dist/types/Coscine.Api.Metadata/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Metadata/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Metadata/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Metadata/index.d.ts +1 -1
- package/dist/types/Coscine.Api.Notices/api.d.ts +5 -1
- package/dist/types/Coscine.Api.Notices/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Notices/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Notices/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Notices/index.d.ts +1 -1
- package/dist/types/Coscine.Api.Pid/api.d.ts +1 -1
- package/dist/types/Coscine.Api.Pid/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Pid/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Pid/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Pid/index.d.ts +1 -1
- package/dist/types/Coscine.Api.Project/api.d.ts +31 -1
- package/dist/types/Coscine.Api.Project/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Project/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Project/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Project/index.d.ts +1 -1
- package/dist/types/Coscine.Api.Resources/api.d.ts +730 -2
- package/dist/types/Coscine.Api.Resources/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Resources/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Resources/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Resources/index.d.ts +1 -1
- package/dist/types/Coscine.Api.STS/api.d.ts +465 -0
- package/dist/types/Coscine.Api.STS/base.d.ts +55 -0
- package/dist/types/Coscine.Api.STS/common.d.ts +65 -0
- package/dist/types/Coscine.Api.STS/configuration.d.ts +83 -0
- package/dist/types/Coscine.Api.STS/index.d.ts +13 -0
- package/dist/types/Coscine.Api.Search/api.d.ts +5 -5
- package/dist/types/Coscine.Api.Search/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Search/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Search/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Search/index.d.ts +1 -1
- package/dist/types/Coscine.Api.Tree/api.d.ts +1 -1
- package/dist/types/Coscine.Api.Tree/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Tree/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Tree/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Tree/index.d.ts +1 -1
- package/dist/types/Coscine.Api.User/api.d.ts +38 -9
- package/dist/types/Coscine.Api.User/base.d.ts +1 -1
- package/dist/types/Coscine.Api.User/common.d.ts +1 -1
- package/dist/types/Coscine.Api.User/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.User/index.d.ts +1 -1
- package/dist/types/apis.d.ts +27 -2
- package/dist/types/index.d.ts +54 -4
- package/package.json +4 -11
package/dist/index.umd.js
CHANGED
|
@@ -1855,7 +1855,7 @@
|
|
|
1855
1855
|
var axios = axios$2.exports;
|
|
1856
1856
|
|
|
1857
1857
|
/* tslint:disable */
|
|
1858
|
-
const BASE_PATH$
|
|
1858
|
+
const BASE_PATH$c = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Admin".replace(/\/+$/, "");
|
|
1859
1859
|
/**
|
|
1860
1860
|
*
|
|
1861
1861
|
* @export
|
|
@@ -1875,7 +1875,7 @@
|
|
|
1875
1875
|
*
|
|
1876
1876
|
* @export
|
|
1877
1877
|
*/
|
|
1878
|
-
const DUMMY_BASE_URL$
|
|
1878
|
+
const DUMMY_BASE_URL$c = 'https://example.com';
|
|
1879
1879
|
/**
|
|
1880
1880
|
*
|
|
1881
1881
|
* @throws {RequiredError}
|
|
@@ -1890,7 +1890,7 @@
|
|
|
1890
1890
|
*
|
|
1891
1891
|
* @export
|
|
1892
1892
|
*/
|
|
1893
|
-
const setApiKeyToObject$
|
|
1893
|
+
const setApiKeyToObject$c = function (object, keyParamName, configuration) {
|
|
1894
1894
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1895
1895
|
if (configuration && configuration.apiKey) {
|
|
1896
1896
|
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
@@ -1904,7 +1904,7 @@
|
|
|
1904
1904
|
*
|
|
1905
1905
|
* @export
|
|
1906
1906
|
*/
|
|
1907
|
-
const setSearchParams$
|
|
1907
|
+
const setSearchParams$c = function (url, ...objects) {
|
|
1908
1908
|
const searchParams = new URLSearchParams(url.search);
|
|
1909
1909
|
for (const object of objects) {
|
|
1910
1910
|
for (const key in object) {
|
|
@@ -1938,14 +1938,14 @@
|
|
|
1938
1938
|
*
|
|
1939
1939
|
* @export
|
|
1940
1940
|
*/
|
|
1941
|
-
const toPathString$
|
|
1941
|
+
const toPathString$c = function (url) {
|
|
1942
1942
|
return url.pathname + url.search + url.hash;
|
|
1943
1943
|
};
|
|
1944
1944
|
/**
|
|
1945
1945
|
*
|
|
1946
1946
|
* @export
|
|
1947
1947
|
*/
|
|
1948
|
-
const createRequestFunction$
|
|
1948
|
+
const createRequestFunction$c = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
1949
1949
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
1950
1950
|
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
|
|
1951
1951
|
return axios.request(axiosRequestArgs);
|
|
@@ -1986,7 +1986,7 @@
|
|
|
1986
1986
|
const localVarPath = `/Admin/{projectString}`
|
|
1987
1987
|
.replace(`{${"projectString"}}`, encodeURIComponent(String(projectString)));
|
|
1988
1988
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1989
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
1989
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$c);
|
|
1990
1990
|
let baseOptions;
|
|
1991
1991
|
if (configuration) {
|
|
1992
1992
|
baseOptions = configuration.baseOptions;
|
|
@@ -1995,12 +1995,12 @@
|
|
|
1995
1995
|
const localVarHeaderParameter = {};
|
|
1996
1996
|
const localVarQueryParameter = {};
|
|
1997
1997
|
// authentication JWT token required
|
|
1998
|
-
yield setApiKeyToObject$
|
|
1999
|
-
setSearchParams$
|
|
1998
|
+
yield setApiKeyToObject$c(localVarHeaderParameter, "Authorization", configuration);
|
|
1999
|
+
setSearchParams$c(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2000
2000
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2001
2001
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2002
2002
|
return {
|
|
2003
|
-
url: toPathString$
|
|
2003
|
+
url: toPathString$c(localVarUrlObj),
|
|
2004
2004
|
options: localVarRequestOptions,
|
|
2005
2005
|
};
|
|
2006
2006
|
}),
|
|
@@ -2024,7 +2024,7 @@
|
|
|
2024
2024
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)))
|
|
2025
2025
|
.replace(`{${"resourceTypeId"}}`, encodeURIComponent(String(resourceTypeId)));
|
|
2026
2026
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2027
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
2027
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$c);
|
|
2028
2028
|
let baseOptions;
|
|
2029
2029
|
if (configuration) {
|
|
2030
2030
|
baseOptions = configuration.baseOptions;
|
|
@@ -2033,14 +2033,14 @@
|
|
|
2033
2033
|
const localVarHeaderParameter = {};
|
|
2034
2034
|
const localVarQueryParameter = {};
|
|
2035
2035
|
// authentication JWT token required
|
|
2036
|
-
yield setApiKeyToObject$
|
|
2036
|
+
yield setApiKeyToObject$c(localVarHeaderParameter, "Authorization", configuration);
|
|
2037
2037
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2038
|
-
setSearchParams$
|
|
2038
|
+
setSearchParams$c(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2039
2039
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2040
2040
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2041
2041
|
localVarRequestOptions.data = serializeDataIfNeeded$6(updateQuotaParameterObject, localVarRequestOptions, configuration);
|
|
2042
2042
|
return {
|
|
2043
|
-
url: toPathString$
|
|
2043
|
+
url: toPathString$c(localVarUrlObj),
|
|
2044
2044
|
options: localVarRequestOptions,
|
|
2045
2045
|
};
|
|
2046
2046
|
}),
|
|
@@ -2063,7 +2063,7 @@
|
|
|
2063
2063
|
adminGetProject(projectString, options) {
|
|
2064
2064
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2065
2065
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminGetProject(projectString, options);
|
|
2066
|
-
return createRequestFunction$
|
|
2066
|
+
return createRequestFunction$c(localVarAxiosArgs, axios, BASE_PATH$c, configuration);
|
|
2067
2067
|
});
|
|
2068
2068
|
},
|
|
2069
2069
|
/**
|
|
@@ -2078,7 +2078,7 @@
|
|
|
2078
2078
|
adminUpdateQuota(projectId, resourceTypeId, updateQuotaParameterObject, options) {
|
|
2079
2079
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2080
2080
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminUpdateQuota(projectId, resourceTypeId, updateQuotaParameterObject, options);
|
|
2081
|
-
return createRequestFunction$
|
|
2081
|
+
return createRequestFunction$c(localVarAxiosArgs, axios, BASE_PATH$c, configuration);
|
|
2082
2082
|
});
|
|
2083
2083
|
},
|
|
2084
2084
|
};
|
|
@@ -2121,7 +2121,7 @@
|
|
|
2121
2121
|
* Coscine.Api.Admin
|
|
2122
2122
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
2123
2123
|
*
|
|
2124
|
-
* The version of the OpenAPI document: 3.0.
|
|
2124
|
+
* The version of the OpenAPI document: 3.0.2
|
|
2125
2125
|
*
|
|
2126
2126
|
*
|
|
2127
2127
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2155,7 +2155,7 @@
|
|
|
2155
2155
|
}
|
|
2156
2156
|
|
|
2157
2157
|
/* tslint:disable */
|
|
2158
|
-
const BASE_PATH$
|
|
2158
|
+
const BASE_PATH$b = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Blob".replace(/\/+$/, "");
|
|
2159
2159
|
/**
|
|
2160
2160
|
*
|
|
2161
2161
|
* @export
|
|
@@ -2175,7 +2175,7 @@
|
|
|
2175
2175
|
*
|
|
2176
2176
|
* @export
|
|
2177
2177
|
*/
|
|
2178
|
-
const DUMMY_BASE_URL$
|
|
2178
|
+
const DUMMY_BASE_URL$b = 'https://example.com';
|
|
2179
2179
|
/**
|
|
2180
2180
|
*
|
|
2181
2181
|
* @throws {RequiredError}
|
|
@@ -2190,7 +2190,7 @@
|
|
|
2190
2190
|
*
|
|
2191
2191
|
* @export
|
|
2192
2192
|
*/
|
|
2193
|
-
const setApiKeyToObject$
|
|
2193
|
+
const setApiKeyToObject$b = function (object, keyParamName, configuration) {
|
|
2194
2194
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2195
2195
|
if (configuration && configuration.apiKey) {
|
|
2196
2196
|
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
@@ -2204,7 +2204,7 @@
|
|
|
2204
2204
|
*
|
|
2205
2205
|
* @export
|
|
2206
2206
|
*/
|
|
2207
|
-
const setSearchParams$
|
|
2207
|
+
const setSearchParams$b = function (url, ...objects) {
|
|
2208
2208
|
const searchParams = new URLSearchParams(url.search);
|
|
2209
2209
|
for (const object of objects) {
|
|
2210
2210
|
for (const key in object) {
|
|
@@ -2225,14 +2225,14 @@
|
|
|
2225
2225
|
*
|
|
2226
2226
|
* @export
|
|
2227
2227
|
*/
|
|
2228
|
-
const toPathString$
|
|
2228
|
+
const toPathString$b = function (url) {
|
|
2229
2229
|
return url.pathname + url.search + url.hash;
|
|
2230
2230
|
};
|
|
2231
2231
|
/**
|
|
2232
2232
|
*
|
|
2233
2233
|
* @export
|
|
2234
2234
|
*/
|
|
2235
|
-
const createRequestFunction$
|
|
2235
|
+
const createRequestFunction$b = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
2236
2236
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
2237
2237
|
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
|
|
2238
2238
|
return axios.request(axiosRequestArgs);
|
|
@@ -2260,7 +2260,7 @@
|
|
|
2260
2260
|
const localVarPath = `/Blob/{resourceId}`
|
|
2261
2261
|
.replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)));
|
|
2262
2262
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2263
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
2263
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$b);
|
|
2264
2264
|
let baseOptions;
|
|
2265
2265
|
if (configuration) {
|
|
2266
2266
|
baseOptions = configuration.baseOptions;
|
|
@@ -2269,15 +2269,15 @@
|
|
|
2269
2269
|
const localVarHeaderParameter = {};
|
|
2270
2270
|
const localVarQueryParameter = {};
|
|
2271
2271
|
// authentication JWT token required
|
|
2272
|
-
yield setApiKeyToObject$
|
|
2272
|
+
yield setApiKeyToObject$b(localVarHeaderParameter, "Authorization", configuration);
|
|
2273
2273
|
if (path !== undefined) {
|
|
2274
2274
|
localVarQueryParameter['path'] = path;
|
|
2275
2275
|
}
|
|
2276
|
-
setSearchParams$
|
|
2276
|
+
setSearchParams$b(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2277
2277
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2278
2278
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2279
2279
|
return {
|
|
2280
|
-
url: toPathString$
|
|
2280
|
+
url: toPathString$b(localVarUrlObj),
|
|
2281
2281
|
options: localVarRequestOptions,
|
|
2282
2282
|
};
|
|
2283
2283
|
}),
|
|
@@ -2295,7 +2295,7 @@
|
|
|
2295
2295
|
const localVarPath = `/Blob/{resourceId}`
|
|
2296
2296
|
.replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)));
|
|
2297
2297
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2298
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
2298
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$b);
|
|
2299
2299
|
let baseOptions;
|
|
2300
2300
|
if (configuration) {
|
|
2301
2301
|
baseOptions = configuration.baseOptions;
|
|
@@ -2304,15 +2304,15 @@
|
|
|
2304
2304
|
const localVarHeaderParameter = {};
|
|
2305
2305
|
const localVarQueryParameter = {};
|
|
2306
2306
|
// authentication JWT token required
|
|
2307
|
-
yield setApiKeyToObject$
|
|
2307
|
+
yield setApiKeyToObject$b(localVarHeaderParameter, "Authorization", configuration);
|
|
2308
2308
|
if (path !== undefined) {
|
|
2309
2309
|
localVarQueryParameter['path'] = path;
|
|
2310
2310
|
}
|
|
2311
|
-
setSearchParams$
|
|
2311
|
+
setSearchParams$b(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2312
2312
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2313
2313
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2314
2314
|
return {
|
|
2315
|
-
url: toPathString$
|
|
2315
|
+
url: toPathString$b(localVarUrlObj),
|
|
2316
2316
|
options: localVarRequestOptions,
|
|
2317
2317
|
};
|
|
2318
2318
|
}),
|
|
@@ -2331,7 +2331,7 @@
|
|
|
2331
2331
|
const localVarPath = `/Blob/{resourceId}`
|
|
2332
2332
|
.replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)));
|
|
2333
2333
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2334
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
2334
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$b);
|
|
2335
2335
|
let baseOptions;
|
|
2336
2336
|
if (configuration) {
|
|
2337
2337
|
baseOptions = configuration.baseOptions;
|
|
@@ -2341,7 +2341,7 @@
|
|
|
2341
2341
|
const localVarQueryParameter = {};
|
|
2342
2342
|
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
2343
2343
|
// authentication JWT token required
|
|
2344
|
-
yield setApiKeyToObject$
|
|
2344
|
+
yield setApiKeyToObject$b(localVarHeaderParameter, "Authorization", configuration);
|
|
2345
2345
|
if (path !== undefined) {
|
|
2346
2346
|
localVarQueryParameter['path'] = path;
|
|
2347
2347
|
}
|
|
@@ -2351,12 +2351,12 @@
|
|
|
2351
2351
|
});
|
|
2352
2352
|
}
|
|
2353
2353
|
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
2354
|
-
setSearchParams$
|
|
2354
|
+
setSearchParams$b(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2355
2355
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2356
2356
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2357
2357
|
localVarRequestOptions.data = localVarFormParams;
|
|
2358
2358
|
return {
|
|
2359
|
-
url: toPathString$
|
|
2359
|
+
url: toPathString$b(localVarUrlObj),
|
|
2360
2360
|
options: localVarRequestOptions,
|
|
2361
2361
|
};
|
|
2362
2362
|
}),
|
|
@@ -2380,7 +2380,7 @@
|
|
|
2380
2380
|
blobDeleteFileWithParameter(resourceId, path, options) {
|
|
2381
2381
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2382
2382
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.blobDeleteFileWithParameter(resourceId, path, options);
|
|
2383
|
-
return createRequestFunction$
|
|
2383
|
+
return createRequestFunction$b(localVarAxiosArgs, axios, BASE_PATH$b, configuration);
|
|
2384
2384
|
});
|
|
2385
2385
|
},
|
|
2386
2386
|
/**
|
|
@@ -2394,7 +2394,7 @@
|
|
|
2394
2394
|
blobGetFileWithParameter(resourceId, path, options) {
|
|
2395
2395
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2396
2396
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.blobGetFileWithParameter(resourceId, path, options);
|
|
2397
|
-
return createRequestFunction$
|
|
2397
|
+
return createRequestFunction$b(localVarAxiosArgs, axios, BASE_PATH$b, configuration);
|
|
2398
2398
|
});
|
|
2399
2399
|
},
|
|
2400
2400
|
/**
|
|
@@ -2409,7 +2409,7 @@
|
|
|
2409
2409
|
blobUploadFileWithParameter(resourceId, path, files, options) {
|
|
2410
2410
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2411
2411
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.blobUploadFileWithParameter(resourceId, path, files, options);
|
|
2412
|
-
return createRequestFunction$
|
|
2412
|
+
return createRequestFunction$b(localVarAxiosArgs, axios, BASE_PATH$b, configuration);
|
|
2413
2413
|
});
|
|
2414
2414
|
},
|
|
2415
2415
|
};
|
|
@@ -2459,7 +2459,7 @@
|
|
|
2459
2459
|
};
|
|
2460
2460
|
|
|
2461
2461
|
/* tslint:disable */
|
|
2462
|
-
const BASE_PATH$
|
|
2462
|
+
const BASE_PATH$a = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Metadata".replace(/\/+$/, "");
|
|
2463
2463
|
/**
|
|
2464
2464
|
*
|
|
2465
2465
|
* @export
|
|
@@ -2479,7 +2479,7 @@
|
|
|
2479
2479
|
*
|
|
2480
2480
|
* @export
|
|
2481
2481
|
*/
|
|
2482
|
-
const DUMMY_BASE_URL$
|
|
2482
|
+
const DUMMY_BASE_URL$a = 'https://example.com';
|
|
2483
2483
|
/**
|
|
2484
2484
|
*
|
|
2485
2485
|
* @throws {RequiredError}
|
|
@@ -2494,7 +2494,7 @@
|
|
|
2494
2494
|
*
|
|
2495
2495
|
* @export
|
|
2496
2496
|
*/
|
|
2497
|
-
const setApiKeyToObject$
|
|
2497
|
+
const setApiKeyToObject$a = function (object, keyParamName, configuration) {
|
|
2498
2498
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2499
2499
|
if (configuration && configuration.apiKey) {
|
|
2500
2500
|
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
@@ -2508,7 +2508,7 @@
|
|
|
2508
2508
|
*
|
|
2509
2509
|
* @export
|
|
2510
2510
|
*/
|
|
2511
|
-
const setSearchParams$
|
|
2511
|
+
const setSearchParams$a = function (url, ...objects) {
|
|
2512
2512
|
const searchParams = new URLSearchParams(url.search);
|
|
2513
2513
|
for (const object of objects) {
|
|
2514
2514
|
for (const key in object) {
|
|
@@ -2542,14 +2542,14 @@
|
|
|
2542
2542
|
*
|
|
2543
2543
|
* @export
|
|
2544
2544
|
*/
|
|
2545
|
-
const toPathString$
|
|
2545
|
+
const toPathString$a = function (url) {
|
|
2546
2546
|
return url.pathname + url.search + url.hash;
|
|
2547
2547
|
};
|
|
2548
2548
|
/**
|
|
2549
2549
|
*
|
|
2550
2550
|
* @export
|
|
2551
2551
|
*/
|
|
2552
|
-
const createRequestFunction$
|
|
2552
|
+
const createRequestFunction$a = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
2553
2553
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
2554
2554
|
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
|
|
2555
2555
|
return axios.request(axiosRequestArgs);
|
|
@@ -2576,7 +2576,7 @@
|
|
|
2576
2576
|
const localVarPath = `/Metadata/instances/{className}`
|
|
2577
2577
|
.replace(`{${"className"}}`, encodeURIComponent(String(className)));
|
|
2578
2578
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2579
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
2579
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$a);
|
|
2580
2580
|
let baseOptions;
|
|
2581
2581
|
if (configuration) {
|
|
2582
2582
|
baseOptions = configuration.baseOptions;
|
|
@@ -2585,12 +2585,12 @@
|
|
|
2585
2585
|
const localVarHeaderParameter = {};
|
|
2586
2586
|
const localVarQueryParameter = {};
|
|
2587
2587
|
// authentication JWT token required
|
|
2588
|
-
yield setApiKeyToObject$
|
|
2589
|
-
setSearchParams$
|
|
2588
|
+
yield setApiKeyToObject$a(localVarHeaderParameter, "Authorization", configuration);
|
|
2589
|
+
setSearchParams$a(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2590
2590
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2591
2591
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2592
2592
|
return {
|
|
2593
|
-
url: toPathString$
|
|
2593
|
+
url: toPathString$a(localVarUrlObj),
|
|
2594
2594
|
options: localVarRequestOptions,
|
|
2595
2595
|
};
|
|
2596
2596
|
}),
|
|
@@ -2607,7 +2607,7 @@
|
|
|
2607
2607
|
const localVarPath = `/Metadata/profiles/{profile}`
|
|
2608
2608
|
.replace(`{${"profile"}}`, encodeURIComponent(String(profile)));
|
|
2609
2609
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2610
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
2610
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$a);
|
|
2611
2611
|
let baseOptions;
|
|
2612
2612
|
if (configuration) {
|
|
2613
2613
|
baseOptions = configuration.baseOptions;
|
|
@@ -2616,12 +2616,12 @@
|
|
|
2616
2616
|
const localVarHeaderParameter = {};
|
|
2617
2617
|
const localVarQueryParameter = {};
|
|
2618
2618
|
// authentication JWT token required
|
|
2619
|
-
yield setApiKeyToObject$
|
|
2620
|
-
setSearchParams$
|
|
2619
|
+
yield setApiKeyToObject$a(localVarHeaderParameter, "Authorization", configuration);
|
|
2620
|
+
setSearchParams$a(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2621
2621
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2622
2622
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2623
2623
|
return {
|
|
2624
|
-
url: toPathString$
|
|
2624
|
+
url: toPathString$a(localVarUrlObj),
|
|
2625
2625
|
options: localVarRequestOptions,
|
|
2626
2626
|
};
|
|
2627
2627
|
}),
|
|
@@ -2634,7 +2634,7 @@
|
|
|
2634
2634
|
metadataGetProfiles: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2635
2635
|
const localVarPath = `/Metadata/profiles`;
|
|
2636
2636
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2637
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
2637
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$a);
|
|
2638
2638
|
let baseOptions;
|
|
2639
2639
|
if (configuration) {
|
|
2640
2640
|
baseOptions = configuration.baseOptions;
|
|
@@ -2643,12 +2643,12 @@
|
|
|
2643
2643
|
const localVarHeaderParameter = {};
|
|
2644
2644
|
const localVarQueryParameter = {};
|
|
2645
2645
|
// authentication JWT token required
|
|
2646
|
-
yield setApiKeyToObject$
|
|
2647
|
-
setSearchParams$
|
|
2646
|
+
yield setApiKeyToObject$a(localVarHeaderParameter, "Authorization", configuration);
|
|
2647
|
+
setSearchParams$a(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2648
2648
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2649
2649
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2650
2650
|
return {
|
|
2651
|
-
url: toPathString$
|
|
2651
|
+
url: toPathString$a(localVarUrlObj),
|
|
2652
2652
|
options: localVarRequestOptions,
|
|
2653
2653
|
};
|
|
2654
2654
|
}),
|
|
@@ -2661,7 +2661,7 @@
|
|
|
2661
2661
|
metadataGetVocabularies: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2662
2662
|
const localVarPath = `/Metadata/vocabularies`;
|
|
2663
2663
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2664
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
2664
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$a);
|
|
2665
2665
|
let baseOptions;
|
|
2666
2666
|
if (configuration) {
|
|
2667
2667
|
baseOptions = configuration.baseOptions;
|
|
@@ -2670,12 +2670,12 @@
|
|
|
2670
2670
|
const localVarHeaderParameter = {};
|
|
2671
2671
|
const localVarQueryParameter = {};
|
|
2672
2672
|
// authentication JWT token required
|
|
2673
|
-
yield setApiKeyToObject$
|
|
2674
|
-
setSearchParams$
|
|
2673
|
+
yield setApiKeyToObject$a(localVarHeaderParameter, "Authorization", configuration);
|
|
2674
|
+
setSearchParams$a(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2675
2675
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2676
2676
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2677
2677
|
return {
|
|
2678
|
-
url: toPathString$
|
|
2678
|
+
url: toPathString$a(localVarUrlObj),
|
|
2679
2679
|
options: localVarRequestOptions,
|
|
2680
2680
|
};
|
|
2681
2681
|
}),
|
|
@@ -2692,7 +2692,7 @@
|
|
|
2692
2692
|
const localVarPath = `/Metadata/vocabularies/{path}`
|
|
2693
2693
|
.replace(`{${"path"}}`, encodeURIComponent(String(path)));
|
|
2694
2694
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2695
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
2695
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$a);
|
|
2696
2696
|
let baseOptions;
|
|
2697
2697
|
if (configuration) {
|
|
2698
2698
|
baseOptions = configuration.baseOptions;
|
|
@@ -2701,12 +2701,12 @@
|
|
|
2701
2701
|
const localVarHeaderParameter = {};
|
|
2702
2702
|
const localVarQueryParameter = {};
|
|
2703
2703
|
// authentication JWT token required
|
|
2704
|
-
yield setApiKeyToObject$
|
|
2705
|
-
setSearchParams$
|
|
2704
|
+
yield setApiKeyToObject$a(localVarHeaderParameter, "Authorization", configuration);
|
|
2705
|
+
setSearchParams$a(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2706
2706
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2707
2707
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2708
2708
|
return {
|
|
2709
|
-
url: toPathString$
|
|
2709
|
+
url: toPathString$a(localVarUrlObj),
|
|
2710
2710
|
options: localVarRequestOptions,
|
|
2711
2711
|
};
|
|
2712
2712
|
}),
|
|
@@ -2722,7 +2722,7 @@
|
|
|
2722
2722
|
assertParamExists$8('metadataSaveApplicationProfile', 'applicationProfile', applicationProfile);
|
|
2723
2723
|
const localVarPath = `/Metadata/profiles`;
|
|
2724
2724
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2725
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
2725
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$a);
|
|
2726
2726
|
let baseOptions;
|
|
2727
2727
|
if (configuration) {
|
|
2728
2728
|
baseOptions = configuration.baseOptions;
|
|
@@ -2731,14 +2731,14 @@
|
|
|
2731
2731
|
const localVarHeaderParameter = {};
|
|
2732
2732
|
const localVarQueryParameter = {};
|
|
2733
2733
|
// authentication JWT token required
|
|
2734
|
-
yield setApiKeyToObject$
|
|
2734
|
+
yield setApiKeyToObject$a(localVarHeaderParameter, "Authorization", configuration);
|
|
2735
2735
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2736
|
-
setSearchParams$
|
|
2736
|
+
setSearchParams$a(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2737
2737
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2738
2738
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2739
2739
|
localVarRequestOptions.data = serializeDataIfNeeded$5(applicationProfile, localVarRequestOptions, configuration);
|
|
2740
2740
|
return {
|
|
2741
|
-
url: toPathString$
|
|
2741
|
+
url: toPathString$a(localVarUrlObj),
|
|
2742
2742
|
options: localVarRequestOptions,
|
|
2743
2743
|
};
|
|
2744
2744
|
}),
|
|
@@ -2761,7 +2761,7 @@
|
|
|
2761
2761
|
metadataGetClassInstances(className, options) {
|
|
2762
2762
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2763
2763
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.metadataGetClassInstances(className, options);
|
|
2764
|
-
return createRequestFunction$
|
|
2764
|
+
return createRequestFunction$a(localVarAxiosArgs, axios, BASE_PATH$a, configuration);
|
|
2765
2765
|
});
|
|
2766
2766
|
},
|
|
2767
2767
|
/**
|
|
@@ -2774,7 +2774,7 @@
|
|
|
2774
2774
|
metadataGetProfile(profile, options) {
|
|
2775
2775
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2776
2776
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.metadataGetProfile(profile, options);
|
|
2777
|
-
return createRequestFunction$
|
|
2777
|
+
return createRequestFunction$a(localVarAxiosArgs, axios, BASE_PATH$a, configuration);
|
|
2778
2778
|
});
|
|
2779
2779
|
},
|
|
2780
2780
|
/**
|
|
@@ -2786,7 +2786,7 @@
|
|
|
2786
2786
|
metadataGetProfiles(options) {
|
|
2787
2787
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2788
2788
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.metadataGetProfiles(options);
|
|
2789
|
-
return createRequestFunction$
|
|
2789
|
+
return createRequestFunction$a(localVarAxiosArgs, axios, BASE_PATH$a, configuration);
|
|
2790
2790
|
});
|
|
2791
2791
|
},
|
|
2792
2792
|
/**
|
|
@@ -2798,7 +2798,7 @@
|
|
|
2798
2798
|
metadataGetVocabularies(options) {
|
|
2799
2799
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2800
2800
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.metadataGetVocabularies(options);
|
|
2801
|
-
return createRequestFunction$
|
|
2801
|
+
return createRequestFunction$a(localVarAxiosArgs, axios, BASE_PATH$a, configuration);
|
|
2802
2802
|
});
|
|
2803
2803
|
},
|
|
2804
2804
|
/**
|
|
@@ -2811,7 +2811,7 @@
|
|
|
2811
2811
|
metadataGetVocabulary(path, options) {
|
|
2812
2812
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2813
2813
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.metadataGetVocabulary(path, options);
|
|
2814
|
-
return createRequestFunction$
|
|
2814
|
+
return createRequestFunction$a(localVarAxiosArgs, axios, BASE_PATH$a, configuration);
|
|
2815
2815
|
});
|
|
2816
2816
|
},
|
|
2817
2817
|
/**
|
|
@@ -2824,7 +2824,7 @@
|
|
|
2824
2824
|
metadataSaveApplicationProfile(applicationProfile, options) {
|
|
2825
2825
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2826
2826
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.metadataSaveApplicationProfile(applicationProfile, options);
|
|
2827
|
-
return createRequestFunction$
|
|
2827
|
+
return createRequestFunction$a(localVarAxiosArgs, axios, BASE_PATH$a, configuration);
|
|
2828
2828
|
});
|
|
2829
2829
|
},
|
|
2830
2830
|
};
|
|
@@ -2898,7 +2898,7 @@
|
|
|
2898
2898
|
};
|
|
2899
2899
|
|
|
2900
2900
|
/* tslint:disable */
|
|
2901
|
-
const BASE_PATH$
|
|
2901
|
+
const BASE_PATH$9 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Notices".replace(/\/+$/, "");
|
|
2902
2902
|
/**
|
|
2903
2903
|
*
|
|
2904
2904
|
* @export
|
|
@@ -2918,7 +2918,7 @@
|
|
|
2918
2918
|
*
|
|
2919
2919
|
* @export
|
|
2920
2920
|
*/
|
|
2921
|
-
const DUMMY_BASE_URL$
|
|
2921
|
+
const DUMMY_BASE_URL$9 = 'https://example.com';
|
|
2922
2922
|
/**
|
|
2923
2923
|
*
|
|
2924
2924
|
* @throws {RequiredError}
|
|
@@ -2933,7 +2933,7 @@
|
|
|
2933
2933
|
*
|
|
2934
2934
|
* @export
|
|
2935
2935
|
*/
|
|
2936
|
-
const setApiKeyToObject$
|
|
2936
|
+
const setApiKeyToObject$9 = function (object, keyParamName, configuration) {
|
|
2937
2937
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2938
2938
|
if (configuration && configuration.apiKey) {
|
|
2939
2939
|
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
@@ -2947,7 +2947,7 @@
|
|
|
2947
2947
|
*
|
|
2948
2948
|
* @export
|
|
2949
2949
|
*/
|
|
2950
|
-
const setSearchParams$
|
|
2950
|
+
const setSearchParams$9 = function (url, ...objects) {
|
|
2951
2951
|
const searchParams = new URLSearchParams(url.search);
|
|
2952
2952
|
for (const object of objects) {
|
|
2953
2953
|
for (const key in object) {
|
|
@@ -2968,14 +2968,14 @@
|
|
|
2968
2968
|
*
|
|
2969
2969
|
* @export
|
|
2970
2970
|
*/
|
|
2971
|
-
const toPathString$
|
|
2971
|
+
const toPathString$9 = function (url) {
|
|
2972
2972
|
return url.pathname + url.search + url.hash;
|
|
2973
2973
|
};
|
|
2974
2974
|
/**
|
|
2975
2975
|
*
|
|
2976
2976
|
* @export
|
|
2977
2977
|
*/
|
|
2978
|
-
const createRequestFunction$
|
|
2978
|
+
const createRequestFunction$9 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
2979
2979
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
2980
2980
|
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
|
|
2981
2981
|
return axios.request(axiosRequestArgs);
|
|
@@ -2998,7 +2998,7 @@
|
|
|
2998
2998
|
noticeGetMaintenance: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2999
2999
|
const localVarPath = `/Notice/getMaintenance`;
|
|
3000
3000
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3001
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
3001
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$9);
|
|
3002
3002
|
let baseOptions;
|
|
3003
3003
|
if (configuration) {
|
|
3004
3004
|
baseOptions = configuration.baseOptions;
|
|
@@ -3007,12 +3007,12 @@
|
|
|
3007
3007
|
const localVarHeaderParameter = {};
|
|
3008
3008
|
const localVarQueryParameter = {};
|
|
3009
3009
|
// authentication JWT token required
|
|
3010
|
-
yield setApiKeyToObject$
|
|
3011
|
-
setSearchParams$
|
|
3010
|
+
yield setApiKeyToObject$9(localVarHeaderParameter, "Authorization", configuration);
|
|
3011
|
+
setSearchParams$9(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3012
3012
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3013
3013
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3014
3014
|
return {
|
|
3015
|
-
url: toPathString$
|
|
3015
|
+
url: toPathString$9(localVarUrlObj),
|
|
3016
3016
|
options: localVarRequestOptions,
|
|
3017
3017
|
};
|
|
3018
3018
|
}),
|
|
@@ -3022,6 +3022,7 @@
|
|
|
3022
3022
|
* @param {string} documentSlug Slug defining a configured notice
|
|
3023
3023
|
* @param {string} [language] Language (e.g. \"en\" or \"de\")
|
|
3024
3024
|
* @param {*} [options] Override http request option.
|
|
3025
|
+
* @deprecated
|
|
3025
3026
|
* @throws {RequiredError}
|
|
3026
3027
|
*/
|
|
3027
3028
|
noticeGetNotice: (documentSlug, language, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3030,7 +3031,7 @@
|
|
|
3030
3031
|
const localVarPath = `/Notice/{documentSlug}`
|
|
3031
3032
|
.replace(`{${"documentSlug"}}`, encodeURIComponent(String(documentSlug)));
|
|
3032
3033
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3033
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
3034
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$9);
|
|
3034
3035
|
let baseOptions;
|
|
3035
3036
|
if (configuration) {
|
|
3036
3037
|
baseOptions = configuration.baseOptions;
|
|
@@ -3039,15 +3040,15 @@
|
|
|
3039
3040
|
const localVarHeaderParameter = {};
|
|
3040
3041
|
const localVarQueryParameter = {};
|
|
3041
3042
|
// authentication JWT token required
|
|
3042
|
-
yield setApiKeyToObject$
|
|
3043
|
+
yield setApiKeyToObject$9(localVarHeaderParameter, "Authorization", configuration);
|
|
3043
3044
|
if (language !== undefined) {
|
|
3044
3045
|
localVarQueryParameter['language'] = language;
|
|
3045
3046
|
}
|
|
3046
|
-
setSearchParams$
|
|
3047
|
+
setSearchParams$9(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3047
3048
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3048
3049
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3049
3050
|
return {
|
|
3050
|
-
url: toPathString$
|
|
3051
|
+
url: toPathString$9(localVarUrlObj),
|
|
3051
3052
|
options: localVarRequestOptions,
|
|
3052
3053
|
};
|
|
3053
3054
|
}),
|
|
@@ -3069,7 +3070,7 @@
|
|
|
3069
3070
|
noticeGetMaintenance(options) {
|
|
3070
3071
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3071
3072
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.noticeGetMaintenance(options);
|
|
3072
|
-
return createRequestFunction$
|
|
3073
|
+
return createRequestFunction$9(localVarAxiosArgs, axios, BASE_PATH$9, configuration);
|
|
3073
3074
|
});
|
|
3074
3075
|
},
|
|
3075
3076
|
/**
|
|
@@ -3078,12 +3079,13 @@
|
|
|
3078
3079
|
* @param {string} documentSlug Slug defining a configured notice
|
|
3079
3080
|
* @param {string} [language] Language (e.g. \"en\" or \"de\")
|
|
3080
3081
|
* @param {*} [options] Override http request option.
|
|
3082
|
+
* @deprecated
|
|
3081
3083
|
* @throws {RequiredError}
|
|
3082
3084
|
*/
|
|
3083
3085
|
noticeGetNotice(documentSlug, language, options) {
|
|
3084
3086
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3085
3087
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.noticeGetNotice(documentSlug, language, options);
|
|
3086
|
-
return createRequestFunction$
|
|
3088
|
+
return createRequestFunction$9(localVarAxiosArgs, axios, BASE_PATH$9, configuration);
|
|
3087
3089
|
});
|
|
3088
3090
|
},
|
|
3089
3091
|
};
|
|
@@ -3110,6 +3112,7 @@
|
|
|
3110
3112
|
* @param {string} documentSlug Slug defining a configured notice
|
|
3111
3113
|
* @param {string} [language] Language (e.g. \"en\" or \"de\")
|
|
3112
3114
|
* @param {*} [options] Override http request option.
|
|
3115
|
+
* @deprecated
|
|
3113
3116
|
* @throws {RequiredError}
|
|
3114
3117
|
*/
|
|
3115
3118
|
noticeGetNotice(documentSlug, language, options) {
|
|
@@ -3119,7 +3122,7 @@
|
|
|
3119
3122
|
};
|
|
3120
3123
|
|
|
3121
3124
|
/* tslint:disable */
|
|
3122
|
-
const BASE_PATH$
|
|
3125
|
+
const BASE_PATH$8 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Organization".replace(/\/+$/, "");
|
|
3123
3126
|
/**
|
|
3124
3127
|
*
|
|
3125
3128
|
* @export
|
|
@@ -3139,7 +3142,7 @@
|
|
|
3139
3142
|
*
|
|
3140
3143
|
* @export
|
|
3141
3144
|
*/
|
|
3142
|
-
const DUMMY_BASE_URL$
|
|
3145
|
+
const DUMMY_BASE_URL$8 = 'https://example.com';
|
|
3143
3146
|
/**
|
|
3144
3147
|
*
|
|
3145
3148
|
* @throws {RequiredError}
|
|
@@ -3154,7 +3157,7 @@
|
|
|
3154
3157
|
*
|
|
3155
3158
|
* @export
|
|
3156
3159
|
*/
|
|
3157
|
-
const setApiKeyToObject$
|
|
3160
|
+
const setApiKeyToObject$8 = function (object, keyParamName, configuration) {
|
|
3158
3161
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3159
3162
|
if (configuration && configuration.apiKey) {
|
|
3160
3163
|
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
@@ -3168,7 +3171,7 @@
|
|
|
3168
3171
|
*
|
|
3169
3172
|
* @export
|
|
3170
3173
|
*/
|
|
3171
|
-
const setSearchParams$
|
|
3174
|
+
const setSearchParams$8 = function (url, ...objects) {
|
|
3172
3175
|
const searchParams = new URLSearchParams(url.search);
|
|
3173
3176
|
for (const object of objects) {
|
|
3174
3177
|
for (const key in object) {
|
|
@@ -3189,14 +3192,14 @@
|
|
|
3189
3192
|
*
|
|
3190
3193
|
* @export
|
|
3191
3194
|
*/
|
|
3192
|
-
const toPathString$
|
|
3195
|
+
const toPathString$8 = function (url) {
|
|
3193
3196
|
return url.pathname + url.search + url.hash;
|
|
3194
3197
|
};
|
|
3195
3198
|
/**
|
|
3196
3199
|
*
|
|
3197
3200
|
* @export
|
|
3198
3201
|
*/
|
|
3199
|
-
const createRequestFunction$
|
|
3202
|
+
const createRequestFunction$8 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
3200
3203
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
3201
3204
|
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
|
|
3202
3205
|
return axios.request(axiosRequestArgs);
|
|
@@ -3223,7 +3226,7 @@
|
|
|
3223
3226
|
const localVarPath = `/Organization/{url}`
|
|
3224
3227
|
.replace(`{${"url"}}`, encodeURIComponent(String(url)));
|
|
3225
3228
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3226
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
3229
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$8);
|
|
3227
3230
|
let baseOptions;
|
|
3228
3231
|
if (configuration) {
|
|
3229
3232
|
baseOptions = configuration.baseOptions;
|
|
@@ -3232,12 +3235,12 @@
|
|
|
3232
3235
|
const localVarHeaderParameter = {};
|
|
3233
3236
|
const localVarQueryParameter = {};
|
|
3234
3237
|
// authentication JWT token required
|
|
3235
|
-
yield setApiKeyToObject$
|
|
3236
|
-
setSearchParams$
|
|
3238
|
+
yield setApiKeyToObject$8(localVarHeaderParameter, "Authorization", configuration);
|
|
3239
|
+
setSearchParams$8(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3237
3240
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3238
3241
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3239
3242
|
return {
|
|
3240
|
-
url: toPathString$
|
|
3243
|
+
url: toPathString$8(localVarUrlObj),
|
|
3241
3244
|
options: localVarRequestOptions,
|
|
3242
3245
|
};
|
|
3243
3246
|
}),
|
|
@@ -3251,7 +3254,7 @@
|
|
|
3251
3254
|
organizationGetROR: (filter, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3252
3255
|
const localVarPath = `/Organization/-/ror`;
|
|
3253
3256
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3254
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
3257
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$8);
|
|
3255
3258
|
let baseOptions;
|
|
3256
3259
|
if (configuration) {
|
|
3257
3260
|
baseOptions = configuration.baseOptions;
|
|
@@ -3260,15 +3263,15 @@
|
|
|
3260
3263
|
const localVarHeaderParameter = {};
|
|
3261
3264
|
const localVarQueryParameter = {};
|
|
3262
3265
|
// authentication JWT token required
|
|
3263
|
-
yield setApiKeyToObject$
|
|
3266
|
+
yield setApiKeyToObject$8(localVarHeaderParameter, "Authorization", configuration);
|
|
3264
3267
|
if (filter !== undefined) {
|
|
3265
3268
|
localVarQueryParameter['filter'] = filter;
|
|
3266
3269
|
}
|
|
3267
|
-
setSearchParams$
|
|
3270
|
+
setSearchParams$8(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3268
3271
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3269
3272
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3270
3273
|
return {
|
|
3271
|
-
url: toPathString$
|
|
3274
|
+
url: toPathString$8(localVarUrlObj),
|
|
3272
3275
|
options: localVarRequestOptions,
|
|
3273
3276
|
};
|
|
3274
3277
|
}),
|
|
@@ -3283,7 +3286,7 @@
|
|
|
3283
3286
|
organizationIndex: (member, filter, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3284
3287
|
const localVarPath = `/Organization`;
|
|
3285
3288
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3286
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
3289
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$8);
|
|
3287
3290
|
let baseOptions;
|
|
3288
3291
|
if (configuration) {
|
|
3289
3292
|
baseOptions = configuration.baseOptions;
|
|
@@ -3292,18 +3295,18 @@
|
|
|
3292
3295
|
const localVarHeaderParameter = {};
|
|
3293
3296
|
const localVarQueryParameter = {};
|
|
3294
3297
|
// authentication JWT token required
|
|
3295
|
-
yield setApiKeyToObject$
|
|
3298
|
+
yield setApiKeyToObject$8(localVarHeaderParameter, "Authorization", configuration);
|
|
3296
3299
|
if (member !== undefined) {
|
|
3297
3300
|
localVarQueryParameter['member'] = member;
|
|
3298
3301
|
}
|
|
3299
3302
|
if (filter !== undefined) {
|
|
3300
3303
|
localVarQueryParameter['filter'] = filter;
|
|
3301
3304
|
}
|
|
3302
|
-
setSearchParams$
|
|
3305
|
+
setSearchParams$8(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3303
3306
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3304
3307
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3305
3308
|
return {
|
|
3306
|
-
url: toPathString$
|
|
3309
|
+
url: toPathString$8(localVarUrlObj),
|
|
3307
3310
|
options: localVarRequestOptions,
|
|
3308
3311
|
};
|
|
3309
3312
|
}),
|
|
@@ -3320,7 +3323,7 @@
|
|
|
3320
3323
|
const localVarPath = `/Organization/-/isMember/{url}`
|
|
3321
3324
|
.replace(`{${"url"}}`, encodeURIComponent(String(url)));
|
|
3322
3325
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3323
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
3326
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$8);
|
|
3324
3327
|
let baseOptions;
|
|
3325
3328
|
if (configuration) {
|
|
3326
3329
|
baseOptions = configuration.baseOptions;
|
|
@@ -3329,12 +3332,12 @@
|
|
|
3329
3332
|
const localVarHeaderParameter = {};
|
|
3330
3333
|
const localVarQueryParameter = {};
|
|
3331
3334
|
// authentication JWT token required
|
|
3332
|
-
yield setApiKeyToObject$
|
|
3333
|
-
setSearchParams$
|
|
3335
|
+
yield setApiKeyToObject$8(localVarHeaderParameter, "Authorization", configuration);
|
|
3336
|
+
setSearchParams$8(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3334
3337
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3335
3338
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3336
3339
|
return {
|
|
3337
|
-
url: toPathString$
|
|
3340
|
+
url: toPathString$8(localVarUrlObj),
|
|
3338
3341
|
options: localVarRequestOptions,
|
|
3339
3342
|
};
|
|
3340
3343
|
}),
|
|
@@ -3347,7 +3350,7 @@
|
|
|
3347
3350
|
organizationIsMember2: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3348
3351
|
const localVarPath = `/Organization/-/isMember`;
|
|
3349
3352
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3350
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
3353
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$8);
|
|
3351
3354
|
let baseOptions;
|
|
3352
3355
|
if (configuration) {
|
|
3353
3356
|
baseOptions = configuration.baseOptions;
|
|
@@ -3356,12 +3359,12 @@
|
|
|
3356
3359
|
const localVarHeaderParameter = {};
|
|
3357
3360
|
const localVarQueryParameter = {};
|
|
3358
3361
|
// authentication JWT token required
|
|
3359
|
-
yield setApiKeyToObject$
|
|
3360
|
-
setSearchParams$
|
|
3362
|
+
yield setApiKeyToObject$8(localVarHeaderParameter, "Authorization", configuration);
|
|
3363
|
+
setSearchParams$8(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3361
3364
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3362
3365
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3363
3366
|
return {
|
|
3364
|
-
url: toPathString$
|
|
3367
|
+
url: toPathString$8(localVarUrlObj),
|
|
3365
3368
|
options: localVarRequestOptions,
|
|
3366
3369
|
};
|
|
3367
3370
|
}),
|
|
@@ -3384,7 +3387,7 @@
|
|
|
3384
3387
|
organizationGetOrganization(url, options) {
|
|
3385
3388
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3386
3389
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.organizationGetOrganization(url, options);
|
|
3387
|
-
return createRequestFunction$
|
|
3390
|
+
return createRequestFunction$8(localVarAxiosArgs, axios, BASE_PATH$8, configuration);
|
|
3388
3391
|
});
|
|
3389
3392
|
},
|
|
3390
3393
|
/**
|
|
@@ -3397,7 +3400,7 @@
|
|
|
3397
3400
|
organizationGetROR(filter, options) {
|
|
3398
3401
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3399
3402
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.organizationGetROR(filter, options);
|
|
3400
|
-
return createRequestFunction$
|
|
3403
|
+
return createRequestFunction$8(localVarAxiosArgs, axios, BASE_PATH$8, configuration);
|
|
3401
3404
|
});
|
|
3402
3405
|
},
|
|
3403
3406
|
/**
|
|
@@ -3411,7 +3414,7 @@
|
|
|
3411
3414
|
organizationIndex(member, filter, options) {
|
|
3412
3415
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3413
3416
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.organizationIndex(member, filter, options);
|
|
3414
|
-
return createRequestFunction$
|
|
3417
|
+
return createRequestFunction$8(localVarAxiosArgs, axios, BASE_PATH$8, configuration);
|
|
3415
3418
|
});
|
|
3416
3419
|
},
|
|
3417
3420
|
/**
|
|
@@ -3424,7 +3427,7 @@
|
|
|
3424
3427
|
organizationIsMember(url, options) {
|
|
3425
3428
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3426
3429
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.organizationIsMember(url, options);
|
|
3427
|
-
return createRequestFunction$
|
|
3430
|
+
return createRequestFunction$8(localVarAxiosArgs, axios, BASE_PATH$8, configuration);
|
|
3428
3431
|
});
|
|
3429
3432
|
},
|
|
3430
3433
|
/**
|
|
@@ -3436,7 +3439,7 @@
|
|
|
3436
3439
|
organizationIsMember2(options) {
|
|
3437
3440
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3438
3441
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.organizationIsMember2(options);
|
|
3439
|
-
return createRequestFunction$
|
|
3442
|
+
return createRequestFunction$8(localVarAxiosArgs, axios, BASE_PATH$8, configuration);
|
|
3440
3443
|
});
|
|
3441
3444
|
},
|
|
3442
3445
|
};
|
|
@@ -3502,7 +3505,7 @@
|
|
|
3502
3505
|
};
|
|
3503
3506
|
|
|
3504
3507
|
/* tslint:disable */
|
|
3505
|
-
const BASE_PATH$
|
|
3508
|
+
const BASE_PATH$7 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Pid".replace(/\/+$/, "");
|
|
3506
3509
|
/**
|
|
3507
3510
|
*
|
|
3508
3511
|
* @export
|
|
@@ -3522,7 +3525,7 @@
|
|
|
3522
3525
|
*
|
|
3523
3526
|
* @export
|
|
3524
3527
|
*/
|
|
3525
|
-
const DUMMY_BASE_URL$
|
|
3528
|
+
const DUMMY_BASE_URL$7 = 'https://example.com';
|
|
3526
3529
|
/**
|
|
3527
3530
|
*
|
|
3528
3531
|
* @throws {RequiredError}
|
|
@@ -3537,7 +3540,7 @@
|
|
|
3537
3540
|
*
|
|
3538
3541
|
* @export
|
|
3539
3542
|
*/
|
|
3540
|
-
const setApiKeyToObject$
|
|
3543
|
+
const setApiKeyToObject$7 = function (object, keyParamName, configuration) {
|
|
3541
3544
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3542
3545
|
if (configuration && configuration.apiKey) {
|
|
3543
3546
|
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
@@ -3551,7 +3554,7 @@
|
|
|
3551
3554
|
*
|
|
3552
3555
|
* @export
|
|
3553
3556
|
*/
|
|
3554
|
-
const setSearchParams$
|
|
3557
|
+
const setSearchParams$7 = function (url, ...objects) {
|
|
3555
3558
|
const searchParams = new URLSearchParams(url.search);
|
|
3556
3559
|
for (const object of objects) {
|
|
3557
3560
|
for (const key in object) {
|
|
@@ -3585,14 +3588,14 @@
|
|
|
3585
3588
|
*
|
|
3586
3589
|
* @export
|
|
3587
3590
|
*/
|
|
3588
|
-
const toPathString$
|
|
3591
|
+
const toPathString$7 = function (url) {
|
|
3589
3592
|
return url.pathname + url.search + url.hash;
|
|
3590
3593
|
};
|
|
3591
3594
|
/**
|
|
3592
3595
|
*
|
|
3593
3596
|
* @export
|
|
3594
3597
|
*/
|
|
3595
|
-
const createRequestFunction$
|
|
3598
|
+
const createRequestFunction$7 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
3596
3599
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
3597
3600
|
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
|
|
3598
3601
|
return axios.request(axiosRequestArgs);
|
|
@@ -3619,7 +3622,7 @@
|
|
|
3619
3622
|
const localVarPath = `/Pid/valid/{pid}`
|
|
3620
3623
|
.replace(`{${"pid"}}`, encodeURIComponent(String(pid)));
|
|
3621
3624
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3622
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
3625
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
3623
3626
|
let baseOptions;
|
|
3624
3627
|
if (configuration) {
|
|
3625
3628
|
baseOptions = configuration.baseOptions;
|
|
@@ -3628,12 +3631,12 @@
|
|
|
3628
3631
|
const localVarHeaderParameter = {};
|
|
3629
3632
|
const localVarQueryParameter = {};
|
|
3630
3633
|
// authentication JWT token required
|
|
3631
|
-
yield setApiKeyToObject$
|
|
3632
|
-
setSearchParams$
|
|
3634
|
+
yield setApiKeyToObject$7(localVarHeaderParameter, "Authorization", configuration);
|
|
3635
|
+
setSearchParams$7(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3633
3636
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3634
3637
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3635
3638
|
return {
|
|
3636
|
-
url: toPathString$
|
|
3639
|
+
url: toPathString$7(localVarUrlObj),
|
|
3637
3640
|
options: localVarRequestOptions,
|
|
3638
3641
|
};
|
|
3639
3642
|
}),
|
|
@@ -3649,7 +3652,7 @@
|
|
|
3649
3652
|
assertParamExists$5('pidSendMailToOwner', 'messageObject', messageObject);
|
|
3650
3653
|
const localVarPath = `/Pid/sendMailToOwner`;
|
|
3651
3654
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3652
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
3655
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
3653
3656
|
let baseOptions;
|
|
3654
3657
|
if (configuration) {
|
|
3655
3658
|
baseOptions = configuration.baseOptions;
|
|
@@ -3658,14 +3661,14 @@
|
|
|
3658
3661
|
const localVarHeaderParameter = {};
|
|
3659
3662
|
const localVarQueryParameter = {};
|
|
3660
3663
|
// authentication JWT token required
|
|
3661
|
-
yield setApiKeyToObject$
|
|
3664
|
+
yield setApiKeyToObject$7(localVarHeaderParameter, "Authorization", configuration);
|
|
3662
3665
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3663
|
-
setSearchParams$
|
|
3666
|
+
setSearchParams$7(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3664
3667
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3665
3668
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3666
3669
|
localVarRequestOptions.data = serializeDataIfNeeded$4(messageObject, localVarRequestOptions, configuration);
|
|
3667
3670
|
return {
|
|
3668
|
-
url: toPathString$
|
|
3671
|
+
url: toPathString$7(localVarUrlObj),
|
|
3669
3672
|
options: localVarRequestOptions,
|
|
3670
3673
|
};
|
|
3671
3674
|
}),
|
|
@@ -3688,7 +3691,7 @@
|
|
|
3688
3691
|
pidIsValid(pid, options) {
|
|
3689
3692
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3690
3693
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.pidIsValid(pid, options);
|
|
3691
|
-
return createRequestFunction$
|
|
3694
|
+
return createRequestFunction$7(localVarAxiosArgs, axios, BASE_PATH$7, configuration);
|
|
3692
3695
|
});
|
|
3693
3696
|
},
|
|
3694
3697
|
/**
|
|
@@ -3701,7 +3704,7 @@
|
|
|
3701
3704
|
pidSendMailToOwner(messageObject, options) {
|
|
3702
3705
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3703
3706
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.pidSendMailToOwner(messageObject, options);
|
|
3704
|
-
return createRequestFunction$
|
|
3707
|
+
return createRequestFunction$7(localVarAxiosArgs, axios, BASE_PATH$7, configuration);
|
|
3705
3708
|
});
|
|
3706
3709
|
},
|
|
3707
3710
|
};
|
|
@@ -3737,7 +3740,7 @@
|
|
|
3737
3740
|
};
|
|
3738
3741
|
|
|
3739
3742
|
/* tslint:disable */
|
|
3740
|
-
const BASE_PATH$
|
|
3743
|
+
const BASE_PATH$6 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Project".replace(/\/+$/, "");
|
|
3741
3744
|
/**
|
|
3742
3745
|
*
|
|
3743
3746
|
* @export
|
|
@@ -3757,7 +3760,7 @@
|
|
|
3757
3760
|
*
|
|
3758
3761
|
* @export
|
|
3759
3762
|
*/
|
|
3760
|
-
const DUMMY_BASE_URL$
|
|
3763
|
+
const DUMMY_BASE_URL$6 = 'https://example.com';
|
|
3761
3764
|
/**
|
|
3762
3765
|
*
|
|
3763
3766
|
* @throws {RequiredError}
|
|
@@ -3772,7 +3775,7 @@
|
|
|
3772
3775
|
*
|
|
3773
3776
|
* @export
|
|
3774
3777
|
*/
|
|
3775
|
-
const setApiKeyToObject$
|
|
3778
|
+
const setApiKeyToObject$6 = function (object, keyParamName, configuration) {
|
|
3776
3779
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3777
3780
|
if (configuration && configuration.apiKey) {
|
|
3778
3781
|
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
@@ -3786,7 +3789,7 @@
|
|
|
3786
3789
|
*
|
|
3787
3790
|
* @export
|
|
3788
3791
|
*/
|
|
3789
|
-
const setSearchParams$
|
|
3792
|
+
const setSearchParams$6 = function (url, ...objects) {
|
|
3790
3793
|
const searchParams = new URLSearchParams(url.search);
|
|
3791
3794
|
for (const object of objects) {
|
|
3792
3795
|
for (const key in object) {
|
|
@@ -3820,14 +3823,14 @@
|
|
|
3820
3823
|
*
|
|
3821
3824
|
* @export
|
|
3822
3825
|
*/
|
|
3823
|
-
const toPathString$
|
|
3826
|
+
const toPathString$6 = function (url) {
|
|
3824
3827
|
return url.pathname + url.search + url.hash;
|
|
3825
3828
|
};
|
|
3826
3829
|
/**
|
|
3827
3830
|
*
|
|
3828
3831
|
* @export
|
|
3829
3832
|
*/
|
|
3830
|
-
const createRequestFunction$
|
|
3833
|
+
const createRequestFunction$6 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
3831
3834
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
3832
3835
|
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
|
|
3833
3836
|
return axios.request(axiosRequestArgs);
|
|
@@ -3864,7 +3867,7 @@
|
|
|
3864
3867
|
disciplineIndex: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3865
3868
|
const localVarPath = `/Discipline`;
|
|
3866
3869
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3867
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
3870
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
3868
3871
|
let baseOptions;
|
|
3869
3872
|
if (configuration) {
|
|
3870
3873
|
baseOptions = configuration.baseOptions;
|
|
@@ -3873,12 +3876,12 @@
|
|
|
3873
3876
|
const localVarHeaderParameter = {};
|
|
3874
3877
|
const localVarQueryParameter = {};
|
|
3875
3878
|
// authentication JWT token required
|
|
3876
|
-
yield setApiKeyToObject$
|
|
3877
|
-
setSearchParams$
|
|
3879
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
3880
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3878
3881
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3879
3882
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3880
3883
|
return {
|
|
3881
|
-
url: toPathString$
|
|
3884
|
+
url: toPathString$6(localVarUrlObj),
|
|
3882
3885
|
options: localVarRequestOptions,
|
|
3883
3886
|
};
|
|
3884
3887
|
}),
|
|
@@ -3900,7 +3903,7 @@
|
|
|
3900
3903
|
disciplineIndex(options) {
|
|
3901
3904
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3902
3905
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.disciplineIndex(options);
|
|
3903
|
-
return createRequestFunction$
|
|
3906
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
3904
3907
|
});
|
|
3905
3908
|
},
|
|
3906
3909
|
};
|
|
@@ -3938,7 +3941,7 @@
|
|
|
3938
3941
|
licenseIndex: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3939
3942
|
const localVarPath = `/License`;
|
|
3940
3943
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3941
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
3944
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
3942
3945
|
let baseOptions;
|
|
3943
3946
|
if (configuration) {
|
|
3944
3947
|
baseOptions = configuration.baseOptions;
|
|
@@ -3947,12 +3950,12 @@
|
|
|
3947
3950
|
const localVarHeaderParameter = {};
|
|
3948
3951
|
const localVarQueryParameter = {};
|
|
3949
3952
|
// authentication JWT token required
|
|
3950
|
-
yield setApiKeyToObject$
|
|
3951
|
-
setSearchParams$
|
|
3953
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
3954
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3952
3955
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3953
3956
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3954
3957
|
return {
|
|
3955
|
-
url: toPathString$
|
|
3958
|
+
url: toPathString$6(localVarUrlObj),
|
|
3956
3959
|
options: localVarRequestOptions,
|
|
3957
3960
|
};
|
|
3958
3961
|
}),
|
|
@@ -3974,7 +3977,7 @@
|
|
|
3974
3977
|
licenseIndex(options) {
|
|
3975
3978
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3976
3979
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.licenseIndex(options);
|
|
3977
|
-
return createRequestFunction$
|
|
3980
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
3978
3981
|
});
|
|
3979
3982
|
},
|
|
3980
3983
|
};
|
|
@@ -4016,7 +4019,7 @@
|
|
|
4016
4019
|
const localVarPath = `/Project/{projectId}/-/create-profile`
|
|
4017
4020
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
4018
4021
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4019
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4022
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4020
4023
|
let baseOptions;
|
|
4021
4024
|
if (configuration) {
|
|
4022
4025
|
baseOptions = configuration.baseOptions;
|
|
@@ -4025,12 +4028,12 @@
|
|
|
4025
4028
|
const localVarHeaderParameter = {};
|
|
4026
4029
|
const localVarQueryParameter = {};
|
|
4027
4030
|
// authentication JWT token required
|
|
4028
|
-
yield setApiKeyToObject$
|
|
4029
|
-
setSearchParams$
|
|
4031
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4032
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4030
4033
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4031
4034
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4032
4035
|
return {
|
|
4033
|
-
url: toPathString$
|
|
4036
|
+
url: toPathString$6(localVarUrlObj),
|
|
4034
4037
|
options: localVarRequestOptions,
|
|
4035
4038
|
};
|
|
4036
4039
|
}),
|
|
@@ -4047,7 +4050,7 @@
|
|
|
4047
4050
|
const localVarPath = `/Project/{id}`
|
|
4048
4051
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
4049
4052
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4050
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4053
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4051
4054
|
let baseOptions;
|
|
4052
4055
|
if (configuration) {
|
|
4053
4056
|
baseOptions = configuration.baseOptions;
|
|
@@ -4056,12 +4059,12 @@
|
|
|
4056
4059
|
const localVarHeaderParameter = {};
|
|
4057
4060
|
const localVarQueryParameter = {};
|
|
4058
4061
|
// authentication JWT token required
|
|
4059
|
-
yield setApiKeyToObject$
|
|
4060
|
-
setSearchParams$
|
|
4062
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4063
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4061
4064
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4062
4065
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4063
4066
|
return {
|
|
4064
|
-
url: toPathString$
|
|
4067
|
+
url: toPathString$6(localVarUrlObj),
|
|
4065
4068
|
options: localVarRequestOptions,
|
|
4066
4069
|
};
|
|
4067
4070
|
}),
|
|
@@ -4078,7 +4081,7 @@
|
|
|
4078
4081
|
const localVarPath = `/Project/invitation/{invitationId}`
|
|
4079
4082
|
.replace(`{${"invitationId"}}`, encodeURIComponent(String(invitationId)));
|
|
4080
4083
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4081
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4084
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4082
4085
|
let baseOptions;
|
|
4083
4086
|
if (configuration) {
|
|
4084
4087
|
baseOptions = configuration.baseOptions;
|
|
@@ -4087,12 +4090,12 @@
|
|
|
4087
4090
|
const localVarHeaderParameter = {};
|
|
4088
4091
|
const localVarQueryParameter = {};
|
|
4089
4092
|
// authentication JWT token required
|
|
4090
|
-
yield setApiKeyToObject$
|
|
4091
|
-
setSearchParams$
|
|
4093
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4094
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4092
4095
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4093
4096
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4094
4097
|
return {
|
|
4095
|
-
url: toPathString$
|
|
4098
|
+
url: toPathString$6(localVarUrlObj),
|
|
4096
4099
|
options: localVarRequestOptions,
|
|
4097
4100
|
};
|
|
4098
4101
|
}),
|
|
@@ -4109,7 +4112,7 @@
|
|
|
4109
4112
|
const localVarPath = `/Project/{id}`
|
|
4110
4113
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
4111
4114
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4112
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4115
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4113
4116
|
let baseOptions;
|
|
4114
4117
|
if (configuration) {
|
|
4115
4118
|
baseOptions = configuration.baseOptions;
|
|
@@ -4118,12 +4121,12 @@
|
|
|
4118
4121
|
const localVarHeaderParameter = {};
|
|
4119
4122
|
const localVarQueryParameter = {};
|
|
4120
4123
|
// authentication JWT token required
|
|
4121
|
-
yield setApiKeyToObject$
|
|
4122
|
-
setSearchParams$
|
|
4124
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4125
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4123
4126
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4124
4127
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4125
4128
|
return {
|
|
4126
|
-
url: toPathString$
|
|
4129
|
+
url: toPathString$6(localVarUrlObj),
|
|
4127
4130
|
options: localVarRequestOptions,
|
|
4128
4131
|
};
|
|
4129
4132
|
}),
|
|
@@ -4140,7 +4143,7 @@
|
|
|
4140
4143
|
const localVarPath = `/Project/slug/{slug}`
|
|
4141
4144
|
.replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
|
|
4142
4145
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4143
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4146
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4144
4147
|
let baseOptions;
|
|
4145
4148
|
if (configuration) {
|
|
4146
4149
|
baseOptions = configuration.baseOptions;
|
|
@@ -4149,12 +4152,12 @@
|
|
|
4149
4152
|
const localVarHeaderParameter = {};
|
|
4150
4153
|
const localVarQueryParameter = {};
|
|
4151
4154
|
// authentication JWT token required
|
|
4152
|
-
yield setApiKeyToObject$
|
|
4153
|
-
setSearchParams$
|
|
4155
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4156
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4154
4157
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4155
4158
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4156
4159
|
return {
|
|
4157
|
-
url: toPathString$
|
|
4160
|
+
url: toPathString$6(localVarUrlObj),
|
|
4158
4161
|
options: localVarRequestOptions,
|
|
4159
4162
|
};
|
|
4160
4163
|
}),
|
|
@@ -4171,7 +4174,7 @@
|
|
|
4171
4174
|
const localVarPath = `/Project/{id}/resources`
|
|
4172
4175
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
4173
4176
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4174
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4177
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4175
4178
|
let baseOptions;
|
|
4176
4179
|
if (configuration) {
|
|
4177
4180
|
baseOptions = configuration.baseOptions;
|
|
@@ -4180,12 +4183,12 @@
|
|
|
4180
4183
|
const localVarHeaderParameter = {};
|
|
4181
4184
|
const localVarQueryParameter = {};
|
|
4182
4185
|
// authentication JWT token required
|
|
4183
|
-
yield setApiKeyToObject$
|
|
4184
|
-
setSearchParams$
|
|
4186
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4187
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4185
4188
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4186
4189
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4187
4190
|
return {
|
|
4188
|
-
url: toPathString$
|
|
4191
|
+
url: toPathString$6(localVarUrlObj),
|
|
4189
4192
|
options: localVarRequestOptions,
|
|
4190
4193
|
};
|
|
4191
4194
|
}),
|
|
@@ -4198,7 +4201,7 @@
|
|
|
4198
4201
|
projectGetTopLevelProjects: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4199
4202
|
const localVarPath = `/Project/-/topLevel`;
|
|
4200
4203
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4201
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4204
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4202
4205
|
let baseOptions;
|
|
4203
4206
|
if (configuration) {
|
|
4204
4207
|
baseOptions = configuration.baseOptions;
|
|
@@ -4207,12 +4210,12 @@
|
|
|
4207
4210
|
const localVarHeaderParameter = {};
|
|
4208
4211
|
const localVarQueryParameter = {};
|
|
4209
4212
|
// authentication JWT token required
|
|
4210
|
-
yield setApiKeyToObject$
|
|
4211
|
-
setSearchParams$
|
|
4213
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4214
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4212
4215
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4213
4216
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4214
4217
|
return {
|
|
4215
|
-
url: toPathString$
|
|
4218
|
+
url: toPathString$6(localVarUrlObj),
|
|
4216
4219
|
options: localVarRequestOptions,
|
|
4217
4220
|
};
|
|
4218
4221
|
}),
|
|
@@ -4225,7 +4228,7 @@
|
|
|
4225
4228
|
projectIndex: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4226
4229
|
const localVarPath = `/Project`;
|
|
4227
4230
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4228
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4231
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4229
4232
|
let baseOptions;
|
|
4230
4233
|
if (configuration) {
|
|
4231
4234
|
baseOptions = configuration.baseOptions;
|
|
@@ -4234,12 +4237,12 @@
|
|
|
4234
4237
|
const localVarHeaderParameter = {};
|
|
4235
4238
|
const localVarQueryParameter = {};
|
|
4236
4239
|
// authentication JWT token required
|
|
4237
|
-
yield setApiKeyToObject$
|
|
4238
|
-
setSearchParams$
|
|
4240
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4241
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4239
4242
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4240
4243
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4241
4244
|
return {
|
|
4242
|
-
url: toPathString$
|
|
4245
|
+
url: toPathString$6(localVarUrlObj),
|
|
4243
4246
|
options: localVarRequestOptions,
|
|
4244
4247
|
};
|
|
4245
4248
|
}),
|
|
@@ -4256,7 +4259,7 @@
|
|
|
4256
4259
|
const localVarPath = `/Project/invitation/list/{projectId}`
|
|
4257
4260
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
4258
4261
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4259
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4262
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4260
4263
|
let baseOptions;
|
|
4261
4264
|
if (configuration) {
|
|
4262
4265
|
baseOptions = configuration.baseOptions;
|
|
@@ -4265,12 +4268,12 @@
|
|
|
4265
4268
|
const localVarHeaderParameter = {};
|
|
4266
4269
|
const localVarQueryParameter = {};
|
|
4267
4270
|
// authentication JWT token required
|
|
4268
|
-
yield setApiKeyToObject$
|
|
4269
|
-
setSearchParams$
|
|
4271
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4272
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4270
4273
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4271
4274
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4272
4275
|
return {
|
|
4273
|
-
url: toPathString$
|
|
4276
|
+
url: toPathString$6(localVarUrlObj),
|
|
4274
4277
|
options: localVarRequestOptions,
|
|
4275
4278
|
};
|
|
4276
4279
|
}),
|
|
@@ -4287,7 +4290,7 @@
|
|
|
4287
4290
|
const localVarPath = `/Project/invitation/resolve/{invitationToken}`
|
|
4288
4291
|
.replace(`{${"invitationToken"}}`, encodeURIComponent(String(invitationToken)));
|
|
4289
4292
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4290
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4293
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4291
4294
|
let baseOptions;
|
|
4292
4295
|
if (configuration) {
|
|
4293
4296
|
baseOptions = configuration.baseOptions;
|
|
@@ -4296,12 +4299,12 @@
|
|
|
4296
4299
|
const localVarHeaderParameter = {};
|
|
4297
4300
|
const localVarQueryParameter = {};
|
|
4298
4301
|
// authentication JWT token required
|
|
4299
|
-
yield setApiKeyToObject$
|
|
4300
|
-
setSearchParams$
|
|
4302
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4303
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4301
4304
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4302
4305
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4303
4306
|
return {
|
|
4304
|
-
url: toPathString$
|
|
4307
|
+
url: toPathString$6(localVarUrlObj),
|
|
4305
4308
|
options: localVarRequestOptions,
|
|
4306
4309
|
};
|
|
4307
4310
|
}),
|
|
@@ -4317,7 +4320,7 @@
|
|
|
4317
4320
|
assertParamExists$4('projectSendInvitation', 'sendInvitationObject', sendInvitationObject);
|
|
4318
4321
|
const localVarPath = `/Project/invitation`;
|
|
4319
4322
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4320
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4323
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4321
4324
|
let baseOptions;
|
|
4322
4325
|
if (configuration) {
|
|
4323
4326
|
baseOptions = configuration.baseOptions;
|
|
@@ -4326,14 +4329,14 @@
|
|
|
4326
4329
|
const localVarHeaderParameter = {};
|
|
4327
4330
|
const localVarQueryParameter = {};
|
|
4328
4331
|
// authentication JWT token required
|
|
4329
|
-
yield setApiKeyToObject$
|
|
4332
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4330
4333
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4331
|
-
setSearchParams$
|
|
4334
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4332
4335
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4333
4336
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4334
4337
|
localVarRequestOptions.data = serializeDataIfNeeded$3(sendInvitationObject, localVarRequestOptions, configuration);
|
|
4335
4338
|
return {
|
|
4336
|
-
url: toPathString$
|
|
4339
|
+
url: toPathString$6(localVarUrlObj),
|
|
4337
4340
|
options: localVarRequestOptions,
|
|
4338
4341
|
};
|
|
4339
4342
|
}),
|
|
@@ -4349,7 +4352,7 @@
|
|
|
4349
4352
|
assertParamExists$4('projectStore', 'projectObject', projectObject);
|
|
4350
4353
|
const localVarPath = `/Project`;
|
|
4351
4354
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4352
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4355
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4353
4356
|
let baseOptions;
|
|
4354
4357
|
if (configuration) {
|
|
4355
4358
|
baseOptions = configuration.baseOptions;
|
|
@@ -4358,14 +4361,14 @@
|
|
|
4358
4361
|
const localVarHeaderParameter = {};
|
|
4359
4362
|
const localVarQueryParameter = {};
|
|
4360
4363
|
// authentication JWT token required
|
|
4361
|
-
yield setApiKeyToObject$
|
|
4364
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4362
4365
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4363
|
-
setSearchParams$
|
|
4366
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4364
4367
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4365
4368
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4366
4369
|
localVarRequestOptions.data = serializeDataIfNeeded$3(projectObject, localVarRequestOptions, configuration);
|
|
4367
4370
|
return {
|
|
4368
|
-
url: toPathString$
|
|
4371
|
+
url: toPathString$6(localVarUrlObj),
|
|
4369
4372
|
options: localVarRequestOptions,
|
|
4370
4373
|
};
|
|
4371
4374
|
}),
|
|
@@ -4385,7 +4388,7 @@
|
|
|
4385
4388
|
const localVarPath = `/Project/{id}`
|
|
4386
4389
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
4387
4390
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4388
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4391
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4389
4392
|
let baseOptions;
|
|
4390
4393
|
if (configuration) {
|
|
4391
4394
|
baseOptions = configuration.baseOptions;
|
|
@@ -4394,14 +4397,14 @@
|
|
|
4394
4397
|
const localVarHeaderParameter = {};
|
|
4395
4398
|
const localVarQueryParameter = {};
|
|
4396
4399
|
// authentication JWT token required
|
|
4397
|
-
yield setApiKeyToObject$
|
|
4400
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4398
4401
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4399
|
-
setSearchParams$
|
|
4402
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4400
4403
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4401
4404
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4402
4405
|
localVarRequestOptions.data = serializeDataIfNeeded$3(projectObject, localVarRequestOptions, configuration);
|
|
4403
4406
|
return {
|
|
4404
|
-
url: toPathString$
|
|
4407
|
+
url: toPathString$6(localVarUrlObj),
|
|
4405
4408
|
options: localVarRequestOptions,
|
|
4406
4409
|
};
|
|
4407
4410
|
}),
|
|
@@ -4424,7 +4427,7 @@
|
|
|
4424
4427
|
projectCreateApplicationProfile(projectId, options) {
|
|
4425
4428
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4426
4429
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectCreateApplicationProfile(projectId, options);
|
|
4427
|
-
return createRequestFunction$
|
|
4430
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4428
4431
|
});
|
|
4429
4432
|
},
|
|
4430
4433
|
/**
|
|
@@ -4437,7 +4440,7 @@
|
|
|
4437
4440
|
projectDelete(id, options) {
|
|
4438
4441
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4439
4442
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectDelete(id, options);
|
|
4440
|
-
return createRequestFunction$
|
|
4443
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4441
4444
|
});
|
|
4442
4445
|
},
|
|
4443
4446
|
/**
|
|
@@ -4450,7 +4453,7 @@
|
|
|
4450
4453
|
projectDeleteInvitation(invitationId, options) {
|
|
4451
4454
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4452
4455
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectDeleteInvitation(invitationId, options);
|
|
4453
|
-
return createRequestFunction$
|
|
4456
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4454
4457
|
});
|
|
4455
4458
|
},
|
|
4456
4459
|
/**
|
|
@@ -4463,7 +4466,7 @@
|
|
|
4463
4466
|
projectGet(id, options) {
|
|
4464
4467
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4465
4468
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectGet(id, options);
|
|
4466
|
-
return createRequestFunction$
|
|
4469
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4467
4470
|
});
|
|
4468
4471
|
},
|
|
4469
4472
|
/**
|
|
@@ -4476,7 +4479,7 @@
|
|
|
4476
4479
|
projectGetBySlug(slug, options) {
|
|
4477
4480
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4478
4481
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectGetBySlug(slug, options);
|
|
4479
|
-
return createRequestFunction$
|
|
4482
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4480
4483
|
});
|
|
4481
4484
|
},
|
|
4482
4485
|
/**
|
|
@@ -4489,7 +4492,7 @@
|
|
|
4489
4492
|
projectGetResources(id, options) {
|
|
4490
4493
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4491
4494
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectGetResources(id, options);
|
|
4492
|
-
return createRequestFunction$
|
|
4495
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4493
4496
|
});
|
|
4494
4497
|
},
|
|
4495
4498
|
/**
|
|
@@ -4501,7 +4504,7 @@
|
|
|
4501
4504
|
projectGetTopLevelProjects(options) {
|
|
4502
4505
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4503
4506
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectGetTopLevelProjects(options);
|
|
4504
|
-
return createRequestFunction$
|
|
4507
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4505
4508
|
});
|
|
4506
4509
|
},
|
|
4507
4510
|
/**
|
|
@@ -4513,7 +4516,7 @@
|
|
|
4513
4516
|
projectIndex(options) {
|
|
4514
4517
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4515
4518
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectIndex(options);
|
|
4516
|
-
return createRequestFunction$
|
|
4519
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4517
4520
|
});
|
|
4518
4521
|
},
|
|
4519
4522
|
/**
|
|
@@ -4526,7 +4529,7 @@
|
|
|
4526
4529
|
projectListInvitations(projectId, options) {
|
|
4527
4530
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4528
4531
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectListInvitations(projectId, options);
|
|
4529
|
-
return createRequestFunction$
|
|
4532
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4530
4533
|
});
|
|
4531
4534
|
},
|
|
4532
4535
|
/**
|
|
@@ -4539,7 +4542,7 @@
|
|
|
4539
4542
|
projectResolveInvitation(invitationToken, options) {
|
|
4540
4543
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4541
4544
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectResolveInvitation(invitationToken, options);
|
|
4542
|
-
return createRequestFunction$
|
|
4545
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4543
4546
|
});
|
|
4544
4547
|
},
|
|
4545
4548
|
/**
|
|
@@ -4552,7 +4555,7 @@
|
|
|
4552
4555
|
projectSendInvitation(sendInvitationObject, options) {
|
|
4553
4556
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4554
4557
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectSendInvitation(sendInvitationObject, options);
|
|
4555
|
-
return createRequestFunction$
|
|
4558
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4556
4559
|
});
|
|
4557
4560
|
},
|
|
4558
4561
|
/**
|
|
@@ -4565,7 +4568,7 @@
|
|
|
4565
4568
|
projectStore(projectObject, options) {
|
|
4566
4569
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4567
4570
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectStore(projectObject, options);
|
|
4568
|
-
return createRequestFunction$
|
|
4571
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4569
4572
|
});
|
|
4570
4573
|
},
|
|
4571
4574
|
/**
|
|
@@ -4579,7 +4582,7 @@
|
|
|
4579
4582
|
projectUpdate(id, projectObject, options) {
|
|
4580
4583
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4581
4584
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectUpdate(id, projectObject, options);
|
|
4582
|
-
return createRequestFunction$
|
|
4585
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4583
4586
|
});
|
|
4584
4587
|
},
|
|
4585
4588
|
};
|
|
@@ -4745,7 +4748,7 @@
|
|
|
4745
4748
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
4746
4749
|
.replace(`{${"resourceTypeId"}}`, encodeURIComponent(String(resourceTypeId)));
|
|
4747
4750
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4748
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4751
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4749
4752
|
let baseOptions;
|
|
4750
4753
|
if (configuration) {
|
|
4751
4754
|
baseOptions = configuration.baseOptions;
|
|
@@ -4754,12 +4757,12 @@
|
|
|
4754
4757
|
const localVarHeaderParameter = {};
|
|
4755
4758
|
const localVarQueryParameter = {};
|
|
4756
4759
|
// authentication JWT token required
|
|
4757
|
-
yield setApiKeyToObject$
|
|
4758
|
-
setSearchParams$
|
|
4760
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4761
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4759
4762
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4760
4763
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4761
4764
|
return {
|
|
4762
|
-
url: toPathString$
|
|
4765
|
+
url: toPathString$6(localVarUrlObj),
|
|
4763
4766
|
options: localVarRequestOptions,
|
|
4764
4767
|
};
|
|
4765
4768
|
}),
|
|
@@ -4776,7 +4779,7 @@
|
|
|
4776
4779
|
const localVarPath = `/ProjectQuota/{id}/-/all`
|
|
4777
4780
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
4778
4781
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4779
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4782
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4780
4783
|
let baseOptions;
|
|
4781
4784
|
if (configuration) {
|
|
4782
4785
|
baseOptions = configuration.baseOptions;
|
|
@@ -4785,12 +4788,12 @@
|
|
|
4785
4788
|
const localVarHeaderParameter = {};
|
|
4786
4789
|
const localVarQueryParameter = {};
|
|
4787
4790
|
// authentication JWT token required
|
|
4788
|
-
yield setApiKeyToObject$
|
|
4789
|
-
setSearchParams$
|
|
4791
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4792
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4790
4793
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4791
4794
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4792
4795
|
return {
|
|
4793
|
-
url: toPathString$
|
|
4796
|
+
url: toPathString$6(localVarUrlObj),
|
|
4794
4797
|
options: localVarRequestOptions,
|
|
4795
4798
|
};
|
|
4796
4799
|
}),
|
|
@@ -4814,7 +4817,7 @@
|
|
|
4814
4817
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
4815
4818
|
.replace(`{${"resourceTypeId"}}`, encodeURIComponent(String(resourceTypeId)));
|
|
4816
4819
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4817
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4820
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4818
4821
|
let baseOptions;
|
|
4819
4822
|
if (configuration) {
|
|
4820
4823
|
baseOptions = configuration.baseOptions;
|
|
@@ -4823,14 +4826,14 @@
|
|
|
4823
4826
|
const localVarHeaderParameter = {};
|
|
4824
4827
|
const localVarQueryParameter = {};
|
|
4825
4828
|
// authentication JWT token required
|
|
4826
|
-
yield setApiKeyToObject$
|
|
4829
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4827
4830
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4828
|
-
setSearchParams$
|
|
4831
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4829
4832
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4830
4833
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4831
4834
|
localVarRequestOptions.data = serializeDataIfNeeded$3(updateProjectQuotaObject, localVarRequestOptions, configuration);
|
|
4832
4835
|
return {
|
|
4833
|
-
url: toPathString$
|
|
4836
|
+
url: toPathString$6(localVarUrlObj),
|
|
4834
4837
|
options: localVarRequestOptions,
|
|
4835
4838
|
};
|
|
4836
4839
|
}),
|
|
@@ -4854,7 +4857,7 @@
|
|
|
4854
4857
|
projectQuotaQuota(id, resourceTypeId, options) {
|
|
4855
4858
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4856
4859
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectQuotaQuota(id, resourceTypeId, options);
|
|
4857
|
-
return createRequestFunction$
|
|
4860
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4858
4861
|
});
|
|
4859
4862
|
},
|
|
4860
4863
|
/**
|
|
@@ -4867,7 +4870,7 @@
|
|
|
4867
4870
|
projectQuotaQuotas(id, options) {
|
|
4868
4871
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4869
4872
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectQuotaQuotas(id, options);
|
|
4870
|
-
return createRequestFunction$
|
|
4873
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4871
4874
|
});
|
|
4872
4875
|
},
|
|
4873
4876
|
/**
|
|
@@ -4882,7 +4885,7 @@
|
|
|
4882
4885
|
projectQuotaUpdateQuota(id, resourceTypeId, updateProjectQuotaObject, options) {
|
|
4883
4886
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4884
4887
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectQuotaUpdateQuota(id, resourceTypeId, updateProjectQuotaObject, options);
|
|
4885
|
-
return createRequestFunction$
|
|
4888
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4886
4889
|
});
|
|
4887
4890
|
},
|
|
4888
4891
|
};
|
|
@@ -4956,7 +4959,7 @@
|
|
|
4956
4959
|
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)))
|
|
4957
4960
|
.replace(`{${"roleId"}}`, encodeURIComponent(String(roleId)));
|
|
4958
4961
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4959
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4962
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4960
4963
|
let baseOptions;
|
|
4961
4964
|
if (configuration) {
|
|
4962
4965
|
baseOptions = configuration.baseOptions;
|
|
@@ -4965,12 +4968,12 @@
|
|
|
4965
4968
|
const localVarHeaderParameter = {};
|
|
4966
4969
|
const localVarQueryParameter = {};
|
|
4967
4970
|
// authentication JWT token required
|
|
4968
|
-
yield setApiKeyToObject$
|
|
4969
|
-
setSearchParams$
|
|
4971
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4972
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4970
4973
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4971
4974
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4972
4975
|
return {
|
|
4973
|
-
url: toPathString$
|
|
4976
|
+
url: toPathString$6(localVarUrlObj),
|
|
4974
4977
|
options: localVarRequestOptions,
|
|
4975
4978
|
};
|
|
4976
4979
|
}),
|
|
@@ -4987,7 +4990,7 @@
|
|
|
4987
4990
|
const localVarPath = `/ProjectRole/project/{projectId}/user`
|
|
4988
4991
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
4989
4992
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4990
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4993
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4991
4994
|
let baseOptions;
|
|
4992
4995
|
if (configuration) {
|
|
4993
4996
|
baseOptions = configuration.baseOptions;
|
|
@@ -4996,12 +4999,12 @@
|
|
|
4996
4999
|
const localVarHeaderParameter = {};
|
|
4997
5000
|
const localVarQueryParameter = {};
|
|
4998
5001
|
// authentication JWT token required
|
|
4999
|
-
yield setApiKeyToObject$
|
|
5000
|
-
setSearchParams$
|
|
5002
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
5003
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5001
5004
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5002
5005
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5003
5006
|
return {
|
|
5004
|
-
url: toPathString$
|
|
5007
|
+
url: toPathString$6(localVarUrlObj),
|
|
5005
5008
|
options: localVarRequestOptions,
|
|
5006
5009
|
};
|
|
5007
5010
|
}),
|
|
@@ -5018,7 +5021,7 @@
|
|
|
5018
5021
|
const localVarPath = `/ProjectRole/project/{projectId}`
|
|
5019
5022
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
5020
5023
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5021
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5024
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
5022
5025
|
let baseOptions;
|
|
5023
5026
|
if (configuration) {
|
|
5024
5027
|
baseOptions = configuration.baseOptions;
|
|
@@ -5027,12 +5030,12 @@
|
|
|
5027
5030
|
const localVarHeaderParameter = {};
|
|
5028
5031
|
const localVarQueryParameter = {};
|
|
5029
5032
|
// authentication JWT token required
|
|
5030
|
-
yield setApiKeyToObject$
|
|
5031
|
-
setSearchParams$
|
|
5033
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
5034
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5032
5035
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5033
5036
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5034
5037
|
return {
|
|
5035
|
-
url: toPathString$
|
|
5038
|
+
url: toPathString$6(localVarUrlObj),
|
|
5036
5039
|
options: localVarRequestOptions,
|
|
5037
5040
|
};
|
|
5038
5041
|
}),
|
|
@@ -5049,7 +5052,7 @@
|
|
|
5049
5052
|
const localVarPath = `/ProjectRole/{projectId}`
|
|
5050
5053
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
5051
5054
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5052
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5055
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
5053
5056
|
let baseOptions;
|
|
5054
5057
|
if (configuration) {
|
|
5055
5058
|
baseOptions = configuration.baseOptions;
|
|
@@ -5058,12 +5061,12 @@
|
|
|
5058
5061
|
const localVarHeaderParameter = {};
|
|
5059
5062
|
const localVarQueryParameter = {};
|
|
5060
5063
|
// authentication JWT token required
|
|
5061
|
-
yield setApiKeyToObject$
|
|
5062
|
-
setSearchParams$
|
|
5064
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
5065
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5063
5066
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5064
5067
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5065
5068
|
return {
|
|
5066
|
-
url: toPathString$
|
|
5069
|
+
url: toPathString$6(localVarUrlObj),
|
|
5067
5070
|
options: localVarRequestOptions,
|
|
5068
5071
|
};
|
|
5069
5072
|
}),
|
|
@@ -5079,7 +5082,7 @@
|
|
|
5079
5082
|
assertParamExists$4('projectRoleSet', 'projectRoleObject', projectRoleObject);
|
|
5080
5083
|
const localVarPath = `/ProjectRole`;
|
|
5081
5084
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5082
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5085
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
5083
5086
|
let baseOptions;
|
|
5084
5087
|
if (configuration) {
|
|
5085
5088
|
baseOptions = configuration.baseOptions;
|
|
@@ -5088,14 +5091,14 @@
|
|
|
5088
5091
|
const localVarHeaderParameter = {};
|
|
5089
5092
|
const localVarQueryParameter = {};
|
|
5090
5093
|
// authentication JWT token required
|
|
5091
|
-
yield setApiKeyToObject$
|
|
5094
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
5092
5095
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5093
|
-
setSearchParams$
|
|
5096
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5094
5097
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5095
5098
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5096
5099
|
localVarRequestOptions.data = serializeDataIfNeeded$3(projectRoleObject, localVarRequestOptions, configuration);
|
|
5097
5100
|
return {
|
|
5098
|
-
url: toPathString$
|
|
5101
|
+
url: toPathString$6(localVarUrlObj),
|
|
5099
5102
|
options: localVarRequestOptions,
|
|
5100
5103
|
};
|
|
5101
5104
|
}),
|
|
@@ -5120,7 +5123,7 @@
|
|
|
5120
5123
|
projectRoleDelete(projectId, userId, roleId, options) {
|
|
5121
5124
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5122
5125
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectRoleDelete(projectId, userId, roleId, options);
|
|
5123
|
-
return createRequestFunction$
|
|
5126
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5124
5127
|
});
|
|
5125
5128
|
},
|
|
5126
5129
|
/**
|
|
@@ -5133,7 +5136,7 @@
|
|
|
5133
5136
|
projectRoleDelete2(projectId, options) {
|
|
5134
5137
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5135
5138
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectRoleDelete2(projectId, options);
|
|
5136
|
-
return createRequestFunction$
|
|
5139
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5137
5140
|
});
|
|
5138
5141
|
},
|
|
5139
5142
|
/**
|
|
@@ -5146,7 +5149,7 @@
|
|
|
5146
5149
|
projectRoleGet(projectId, options) {
|
|
5147
5150
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5148
5151
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectRoleGet(projectId, options);
|
|
5149
|
-
return createRequestFunction$
|
|
5152
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5150
5153
|
});
|
|
5151
5154
|
},
|
|
5152
5155
|
/**
|
|
@@ -5159,7 +5162,7 @@
|
|
|
5159
5162
|
projectRoleIndex(projectId, options) {
|
|
5160
5163
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5161
5164
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectRoleIndex(projectId, options);
|
|
5162
|
-
return createRequestFunction$
|
|
5165
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5163
5166
|
});
|
|
5164
5167
|
},
|
|
5165
5168
|
/**
|
|
@@ -5172,7 +5175,7 @@
|
|
|
5172
5175
|
projectRoleSet(projectRoleObject, options) {
|
|
5173
5176
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5174
5177
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectRoleSet(projectRoleObject, options);
|
|
5175
|
-
return createRequestFunction$
|
|
5178
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5176
5179
|
});
|
|
5177
5180
|
},
|
|
5178
5181
|
};
|
|
@@ -5253,7 +5256,7 @@
|
|
|
5253
5256
|
roleIndex: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5254
5257
|
const localVarPath = `/Role`;
|
|
5255
5258
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5256
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5259
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
5257
5260
|
let baseOptions;
|
|
5258
5261
|
if (configuration) {
|
|
5259
5262
|
baseOptions = configuration.baseOptions;
|
|
@@ -5262,12 +5265,12 @@
|
|
|
5262
5265
|
const localVarHeaderParameter = {};
|
|
5263
5266
|
const localVarQueryParameter = {};
|
|
5264
5267
|
// authentication JWT token required
|
|
5265
|
-
yield setApiKeyToObject$
|
|
5266
|
-
setSearchParams$
|
|
5268
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
5269
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5267
5270
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5268
5271
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5269
5272
|
return {
|
|
5270
|
-
url: toPathString$
|
|
5273
|
+
url: toPathString$6(localVarUrlObj),
|
|
5271
5274
|
options: localVarRequestOptions,
|
|
5272
5275
|
};
|
|
5273
5276
|
}),
|
|
@@ -5289,7 +5292,7 @@
|
|
|
5289
5292
|
roleIndex(options) {
|
|
5290
5293
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5291
5294
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.roleIndex(options);
|
|
5292
|
-
return createRequestFunction$
|
|
5295
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5293
5296
|
});
|
|
5294
5297
|
},
|
|
5295
5298
|
};
|
|
@@ -5331,7 +5334,7 @@
|
|
|
5331
5334
|
const localVarPath = `/SubProject/{parentId}`
|
|
5332
5335
|
.replace(`{${"parentId"}}`, encodeURIComponent(String(parentId)));
|
|
5333
5336
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5334
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5337
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
5335
5338
|
let baseOptions;
|
|
5336
5339
|
if (configuration) {
|
|
5337
5340
|
baseOptions = configuration.baseOptions;
|
|
@@ -5340,12 +5343,12 @@
|
|
|
5340
5343
|
const localVarHeaderParameter = {};
|
|
5341
5344
|
const localVarQueryParameter = {};
|
|
5342
5345
|
// authentication JWT token required
|
|
5343
|
-
yield setApiKeyToObject$
|
|
5344
|
-
setSearchParams$
|
|
5346
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
5347
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5345
5348
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5346
5349
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5347
5350
|
return {
|
|
5348
|
-
url: toPathString$
|
|
5351
|
+
url: toPathString$6(localVarUrlObj),
|
|
5349
5352
|
options: localVarRequestOptions,
|
|
5350
5353
|
};
|
|
5351
5354
|
}),
|
|
@@ -5362,7 +5365,7 @@
|
|
|
5362
5365
|
const localVarPath = `/SubProject/{childId}/accessibleParent`
|
|
5363
5366
|
.replace(`{${"childId"}}`, encodeURIComponent(String(childId)));
|
|
5364
5367
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5365
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5368
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
5366
5369
|
let baseOptions;
|
|
5367
5370
|
if (configuration) {
|
|
5368
5371
|
baseOptions = configuration.baseOptions;
|
|
@@ -5371,12 +5374,12 @@
|
|
|
5371
5374
|
const localVarHeaderParameter = {};
|
|
5372
5375
|
const localVarQueryParameter = {};
|
|
5373
5376
|
// authentication JWT token required
|
|
5374
|
-
yield setApiKeyToObject$
|
|
5375
|
-
setSearchParams$
|
|
5377
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
5378
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5376
5379
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5377
5380
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5378
5381
|
return {
|
|
5379
|
-
url: toPathString$
|
|
5382
|
+
url: toPathString$6(localVarUrlObj),
|
|
5380
5383
|
options: localVarRequestOptions,
|
|
5381
5384
|
};
|
|
5382
5385
|
}),
|
|
@@ -5399,7 +5402,7 @@
|
|
|
5399
5402
|
subProjectGet(parentId, options) {
|
|
5400
5403
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5401
5404
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.subProjectGet(parentId, options);
|
|
5402
|
-
return createRequestFunction$
|
|
5405
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5403
5406
|
});
|
|
5404
5407
|
},
|
|
5405
5408
|
/**
|
|
@@ -5412,7 +5415,7 @@
|
|
|
5412
5415
|
subProjectGetAccessibleParent(childId, options) {
|
|
5413
5416
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5414
5417
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.subProjectGetAccessibleParent(childId, options);
|
|
5415
|
-
return createRequestFunction$
|
|
5418
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5416
5419
|
});
|
|
5417
5420
|
},
|
|
5418
5421
|
};
|
|
@@ -5461,7 +5464,7 @@
|
|
|
5461
5464
|
visibilityIndex: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5462
5465
|
const localVarPath = `/Visibility`;
|
|
5463
5466
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5464
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5467
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
5465
5468
|
let baseOptions;
|
|
5466
5469
|
if (configuration) {
|
|
5467
5470
|
baseOptions = configuration.baseOptions;
|
|
@@ -5470,12 +5473,12 @@
|
|
|
5470
5473
|
const localVarHeaderParameter = {};
|
|
5471
5474
|
const localVarQueryParameter = {};
|
|
5472
5475
|
// authentication JWT token required
|
|
5473
|
-
yield setApiKeyToObject$
|
|
5474
|
-
setSearchParams$
|
|
5476
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
5477
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5475
5478
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5476
5479
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5477
5480
|
return {
|
|
5478
|
-
url: toPathString$
|
|
5481
|
+
url: toPathString$6(localVarUrlObj),
|
|
5479
5482
|
options: localVarRequestOptions,
|
|
5480
5483
|
};
|
|
5481
5484
|
}),
|
|
@@ -5497,7 +5500,7 @@
|
|
|
5497
5500
|
visibilityIndex(options) {
|
|
5498
5501
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5499
5502
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.visibilityIndex(options);
|
|
5500
|
-
return createRequestFunction$
|
|
5503
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5501
5504
|
});
|
|
5502
5505
|
},
|
|
5503
5506
|
};
|
|
@@ -5522,7 +5525,7 @@
|
|
|
5522
5525
|
};
|
|
5523
5526
|
|
|
5524
5527
|
/* tslint:disable */
|
|
5525
|
-
const BASE_PATH$
|
|
5528
|
+
const BASE_PATH$5 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Resources".replace(/\/+$/, "");
|
|
5526
5529
|
/**
|
|
5527
5530
|
*
|
|
5528
5531
|
* @export
|
|
@@ -5542,7 +5545,7 @@
|
|
|
5542
5545
|
*
|
|
5543
5546
|
* @export
|
|
5544
5547
|
*/
|
|
5545
|
-
const DUMMY_BASE_URL$
|
|
5548
|
+
const DUMMY_BASE_URL$5 = 'https://example.com';
|
|
5546
5549
|
/**
|
|
5547
5550
|
*
|
|
5548
5551
|
* @throws {RequiredError}
|
|
@@ -5557,7 +5560,7 @@
|
|
|
5557
5560
|
*
|
|
5558
5561
|
* @export
|
|
5559
5562
|
*/
|
|
5560
|
-
const setApiKeyToObject$
|
|
5563
|
+
const setApiKeyToObject$5 = function (object, keyParamName, configuration) {
|
|
5561
5564
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5562
5565
|
if (configuration && configuration.apiKey) {
|
|
5563
5566
|
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
@@ -5571,7 +5574,7 @@
|
|
|
5571
5574
|
*
|
|
5572
5575
|
* @export
|
|
5573
5576
|
*/
|
|
5574
|
-
const setSearchParams$
|
|
5577
|
+
const setSearchParams$5 = function (url, ...objects) {
|
|
5575
5578
|
const searchParams = new URLSearchParams(url.search);
|
|
5576
5579
|
for (const object of objects) {
|
|
5577
5580
|
for (const key in object) {
|
|
@@ -5605,14 +5608,14 @@
|
|
|
5605
5608
|
*
|
|
5606
5609
|
* @export
|
|
5607
5610
|
*/
|
|
5608
|
-
const toPathString$
|
|
5611
|
+
const toPathString$5 = function (url) {
|
|
5609
5612
|
return url.pathname + url.search + url.hash;
|
|
5610
5613
|
};
|
|
5611
5614
|
/**
|
|
5612
5615
|
*
|
|
5613
5616
|
* @export
|
|
5614
5617
|
*/
|
|
5615
|
-
const createRequestFunction$
|
|
5618
|
+
const createRequestFunction$5 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
5616
5619
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
5617
5620
|
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
|
|
5618
5621
|
return axios.request(axiosRequestArgs);
|
|
@@ -5620,6 +5623,17 @@
|
|
|
5620
5623
|
};
|
|
5621
5624
|
|
|
5622
5625
|
/* tslint:disable */
|
|
5626
|
+
/**
|
|
5627
|
+
*
|
|
5628
|
+
* @export
|
|
5629
|
+
* @enum {string}
|
|
5630
|
+
*/
|
|
5631
|
+
var ProjectVisibilityLevel;
|
|
5632
|
+
(function (ProjectVisibilityLevel) {
|
|
5633
|
+
ProjectVisibilityLevel[ProjectVisibilityLevel["NUMBER_0"] = 0] = "NUMBER_0";
|
|
5634
|
+
ProjectVisibilityLevel[ProjectVisibilityLevel["NUMBER_1"] = 1] = "NUMBER_1";
|
|
5635
|
+
ProjectVisibilityLevel[ProjectVisibilityLevel["NUMBER_2"] = 2] = "NUMBER_2";
|
|
5636
|
+
})(ProjectVisibilityLevel || (ProjectVisibilityLevel = {}));
|
|
5623
5637
|
/**
|
|
5624
5638
|
*
|
|
5625
5639
|
* @export
|
|
@@ -5644,6 +5658,224 @@
|
|
|
5644
5658
|
ResourceTypeStatus["Hidden"] = "hidden";
|
|
5645
5659
|
ResourceTypeStatus["Active"] = "active";
|
|
5646
5660
|
})(ResourceTypeStatus || (ResourceTypeStatus = {}));
|
|
5661
|
+
/**
|
|
5662
|
+
* GitLabApi - axios parameter creator
|
|
5663
|
+
* @export
|
|
5664
|
+
*/
|
|
5665
|
+
const GitLabApiAxiosParamCreator = function (configuration) {
|
|
5666
|
+
return {
|
|
5667
|
+
/**
|
|
5668
|
+
*
|
|
5669
|
+
* @summary Returns all GitLab projects, that the user is a member of, based on the provided credentials.
|
|
5670
|
+
* @param {string} [domain] Domain/Host of the GitLab Provider
|
|
5671
|
+
* @param {string} [accessToken] GitLab Project or Group Access Token
|
|
5672
|
+
* @param {*} [options] Override http request option.
|
|
5673
|
+
* @throws {RequiredError}
|
|
5674
|
+
*/
|
|
5675
|
+
gitLabGetAllProjects: (domain, accessToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5676
|
+
const localVarPath = `/GitLab/projects`;
|
|
5677
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5678
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
|
|
5679
|
+
let baseOptions;
|
|
5680
|
+
if (configuration) {
|
|
5681
|
+
baseOptions = configuration.baseOptions;
|
|
5682
|
+
}
|
|
5683
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
5684
|
+
const localVarHeaderParameter = {};
|
|
5685
|
+
const localVarQueryParameter = {};
|
|
5686
|
+
// authentication JWT token required
|
|
5687
|
+
yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
|
|
5688
|
+
if (domain !== undefined) {
|
|
5689
|
+
localVarQueryParameter['Domain'] = domain;
|
|
5690
|
+
}
|
|
5691
|
+
if (accessToken !== undefined) {
|
|
5692
|
+
localVarQueryParameter['AccessToken'] = accessToken;
|
|
5693
|
+
}
|
|
5694
|
+
setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5695
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5696
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5697
|
+
return {
|
|
5698
|
+
url: toPathString$5(localVarUrlObj),
|
|
5699
|
+
options: localVarRequestOptions,
|
|
5700
|
+
};
|
|
5701
|
+
}),
|
|
5702
|
+
/**
|
|
5703
|
+
*
|
|
5704
|
+
* @summary Returns all GitLab branches of a project, that the user is a member of, based on the provided credentials.
|
|
5705
|
+
* @param {number} projectId GitLab Project Identifier
|
|
5706
|
+
* @param {string} [domain] Domain/Host of the GitLab Provider
|
|
5707
|
+
* @param {string} [accessToken] GitLab Project or Group Access Token
|
|
5708
|
+
* @param {*} [options] Override http request option.
|
|
5709
|
+
* @throws {RequiredError}
|
|
5710
|
+
*/
|
|
5711
|
+
gitLabGetBranchesForProject: (projectId, domain, accessToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5712
|
+
// verify required parameter 'projectId' is not null or undefined
|
|
5713
|
+
assertParamExists$3('gitLabGetBranchesForProject', 'projectId', projectId);
|
|
5714
|
+
const localVarPath = `/GitLab/branches/{projectId}`
|
|
5715
|
+
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
5716
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5717
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
|
|
5718
|
+
let baseOptions;
|
|
5719
|
+
if (configuration) {
|
|
5720
|
+
baseOptions = configuration.baseOptions;
|
|
5721
|
+
}
|
|
5722
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
5723
|
+
const localVarHeaderParameter = {};
|
|
5724
|
+
const localVarQueryParameter = {};
|
|
5725
|
+
// authentication JWT token required
|
|
5726
|
+
yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
|
|
5727
|
+
if (domain !== undefined) {
|
|
5728
|
+
localVarQueryParameter['Domain'] = domain;
|
|
5729
|
+
}
|
|
5730
|
+
if (accessToken !== undefined) {
|
|
5731
|
+
localVarQueryParameter['AccessToken'] = accessToken;
|
|
5732
|
+
}
|
|
5733
|
+
setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5734
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5735
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5736
|
+
return {
|
|
5737
|
+
url: toPathString$5(localVarUrlObj),
|
|
5738
|
+
options: localVarRequestOptions,
|
|
5739
|
+
};
|
|
5740
|
+
}),
|
|
5741
|
+
/**
|
|
5742
|
+
*
|
|
5743
|
+
* @summary Returns a single GitLab project, that the user is a member of, based on the provided credentials.
|
|
5744
|
+
* @param {number} projectId GitLab Project Identifier
|
|
5745
|
+
* @param {string} [domain] Domain/Host of the GitLab Provider
|
|
5746
|
+
* @param {string} [accessToken] GitLab Project or Group Access Token
|
|
5747
|
+
* @param {*} [options] Override http request option.
|
|
5748
|
+
* @throws {RequiredError}
|
|
5749
|
+
*/
|
|
5750
|
+
gitLabGetProject: (projectId, domain, accessToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5751
|
+
// verify required parameter 'projectId' is not null or undefined
|
|
5752
|
+
assertParamExists$3('gitLabGetProject', 'projectId', projectId);
|
|
5753
|
+
const localVarPath = `/GitLab/projects/{projectId}`
|
|
5754
|
+
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
5755
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5756
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
|
|
5757
|
+
let baseOptions;
|
|
5758
|
+
if (configuration) {
|
|
5759
|
+
baseOptions = configuration.baseOptions;
|
|
5760
|
+
}
|
|
5761
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
5762
|
+
const localVarHeaderParameter = {};
|
|
5763
|
+
const localVarQueryParameter = {};
|
|
5764
|
+
// authentication JWT token required
|
|
5765
|
+
yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
|
|
5766
|
+
if (domain !== undefined) {
|
|
5767
|
+
localVarQueryParameter['Domain'] = domain;
|
|
5768
|
+
}
|
|
5769
|
+
if (accessToken !== undefined) {
|
|
5770
|
+
localVarQueryParameter['AccessToken'] = accessToken;
|
|
5771
|
+
}
|
|
5772
|
+
setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5773
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5774
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5775
|
+
return {
|
|
5776
|
+
url: toPathString$5(localVarUrlObj),
|
|
5777
|
+
options: localVarRequestOptions,
|
|
5778
|
+
};
|
|
5779
|
+
}),
|
|
5780
|
+
};
|
|
5781
|
+
};
|
|
5782
|
+
/**
|
|
5783
|
+
* GitLabApi - functional programming interface
|
|
5784
|
+
* @export
|
|
5785
|
+
*/
|
|
5786
|
+
const GitLabApiFp = function (configuration) {
|
|
5787
|
+
const localVarAxiosParamCreator = GitLabApiAxiosParamCreator(configuration);
|
|
5788
|
+
return {
|
|
5789
|
+
/**
|
|
5790
|
+
*
|
|
5791
|
+
* @summary Returns all GitLab projects, that the user is a member of, based on the provided credentials.
|
|
5792
|
+
* @param {string} [domain] Domain/Host of the GitLab Provider
|
|
5793
|
+
* @param {string} [accessToken] GitLab Project or Group Access Token
|
|
5794
|
+
* @param {*} [options] Override http request option.
|
|
5795
|
+
* @throws {RequiredError}
|
|
5796
|
+
*/
|
|
5797
|
+
gitLabGetAllProjects(domain, accessToken, options) {
|
|
5798
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5799
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.gitLabGetAllProjects(domain, accessToken, options);
|
|
5800
|
+
return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
|
|
5801
|
+
});
|
|
5802
|
+
},
|
|
5803
|
+
/**
|
|
5804
|
+
*
|
|
5805
|
+
* @summary Returns all GitLab branches of a project, that the user is a member of, based on the provided credentials.
|
|
5806
|
+
* @param {number} projectId GitLab Project Identifier
|
|
5807
|
+
* @param {string} [domain] Domain/Host of the GitLab Provider
|
|
5808
|
+
* @param {string} [accessToken] GitLab Project or Group Access Token
|
|
5809
|
+
* @param {*} [options] Override http request option.
|
|
5810
|
+
* @throws {RequiredError}
|
|
5811
|
+
*/
|
|
5812
|
+
gitLabGetBranchesForProject(projectId, domain, accessToken, options) {
|
|
5813
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5814
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.gitLabGetBranchesForProject(projectId, domain, accessToken, options);
|
|
5815
|
+
return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
|
|
5816
|
+
});
|
|
5817
|
+
},
|
|
5818
|
+
/**
|
|
5819
|
+
*
|
|
5820
|
+
* @summary Returns a single GitLab project, that the user is a member of, based on the provided credentials.
|
|
5821
|
+
* @param {number} projectId GitLab Project Identifier
|
|
5822
|
+
* @param {string} [domain] Domain/Host of the GitLab Provider
|
|
5823
|
+
* @param {string} [accessToken] GitLab Project or Group Access Token
|
|
5824
|
+
* @param {*} [options] Override http request option.
|
|
5825
|
+
* @throws {RequiredError}
|
|
5826
|
+
*/
|
|
5827
|
+
gitLabGetProject(projectId, domain, accessToken, options) {
|
|
5828
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5829
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.gitLabGetProject(projectId, domain, accessToken, options);
|
|
5830
|
+
return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
|
|
5831
|
+
});
|
|
5832
|
+
},
|
|
5833
|
+
};
|
|
5834
|
+
};
|
|
5835
|
+
/**
|
|
5836
|
+
* GitLabApi - factory interface
|
|
5837
|
+
* @export
|
|
5838
|
+
*/
|
|
5839
|
+
const GitLabApiFactory = function (configuration, basePath, axios) {
|
|
5840
|
+
const localVarFp = GitLabApiFp(configuration);
|
|
5841
|
+
return {
|
|
5842
|
+
/**
|
|
5843
|
+
*
|
|
5844
|
+
* @summary Returns all GitLab projects, that the user is a member of, based on the provided credentials.
|
|
5845
|
+
* @param {string} [domain] Domain/Host of the GitLab Provider
|
|
5846
|
+
* @param {string} [accessToken] GitLab Project or Group Access Token
|
|
5847
|
+
* @param {*} [options] Override http request option.
|
|
5848
|
+
* @throws {RequiredError}
|
|
5849
|
+
*/
|
|
5850
|
+
gitLabGetAllProjects(domain, accessToken, options) {
|
|
5851
|
+
return localVarFp.gitLabGetAllProjects(domain, accessToken, options).then((request) => request(axios, basePath));
|
|
5852
|
+
},
|
|
5853
|
+
/**
|
|
5854
|
+
*
|
|
5855
|
+
* @summary Returns all GitLab branches of a project, that the user is a member of, based on the provided credentials.
|
|
5856
|
+
* @param {number} projectId GitLab Project Identifier
|
|
5857
|
+
* @param {string} [domain] Domain/Host of the GitLab Provider
|
|
5858
|
+
* @param {string} [accessToken] GitLab Project or Group Access Token
|
|
5859
|
+
* @param {*} [options] Override http request option.
|
|
5860
|
+
* @throws {RequiredError}
|
|
5861
|
+
*/
|
|
5862
|
+
gitLabGetBranchesForProject(projectId, domain, accessToken, options) {
|
|
5863
|
+
return localVarFp.gitLabGetBranchesForProject(projectId, domain, accessToken, options).then((request) => request(axios, basePath));
|
|
5864
|
+
},
|
|
5865
|
+
/**
|
|
5866
|
+
*
|
|
5867
|
+
* @summary Returns a single GitLab project, that the user is a member of, based on the provided credentials.
|
|
5868
|
+
* @param {number} projectId GitLab Project Identifier
|
|
5869
|
+
* @param {string} [domain] Domain/Host of the GitLab Provider
|
|
5870
|
+
* @param {string} [accessToken] GitLab Project or Group Access Token
|
|
5871
|
+
* @param {*} [options] Override http request option.
|
|
5872
|
+
* @throws {RequiredError}
|
|
5873
|
+
*/
|
|
5874
|
+
gitLabGetProject(projectId, domain, accessToken, options) {
|
|
5875
|
+
return localVarFp.gitLabGetProject(projectId, domain, accessToken, options).then((request) => request(axios, basePath));
|
|
5876
|
+
},
|
|
5877
|
+
};
|
|
5878
|
+
};
|
|
5647
5879
|
/**
|
|
5648
5880
|
* ResourceApi - axios parameter creator
|
|
5649
5881
|
* @export
|
|
@@ -5663,7 +5895,7 @@
|
|
|
5663
5895
|
const localVarPath = `/Resource/{id}`
|
|
5664
5896
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
5665
5897
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5666
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5898
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
|
|
5667
5899
|
let baseOptions;
|
|
5668
5900
|
if (configuration) {
|
|
5669
5901
|
baseOptions = configuration.baseOptions;
|
|
@@ -5672,12 +5904,12 @@
|
|
|
5672
5904
|
const localVarHeaderParameter = {};
|
|
5673
5905
|
const localVarQueryParameter = {};
|
|
5674
5906
|
// authentication JWT token required
|
|
5675
|
-
yield setApiKeyToObject$
|
|
5676
|
-
setSearchParams$
|
|
5907
|
+
yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
|
|
5908
|
+
setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5677
5909
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5678
5910
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5679
5911
|
return {
|
|
5680
|
-
url: toPathString$
|
|
5912
|
+
url: toPathString$5(localVarUrlObj),
|
|
5681
5913
|
options: localVarRequestOptions,
|
|
5682
5914
|
};
|
|
5683
5915
|
}),
|
|
@@ -5694,7 +5926,7 @@
|
|
|
5694
5926
|
const localVarPath = `/Resource/{id}`
|
|
5695
5927
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
5696
5928
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5697
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5929
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
|
|
5698
5930
|
let baseOptions;
|
|
5699
5931
|
if (configuration) {
|
|
5700
5932
|
baseOptions = configuration.baseOptions;
|
|
@@ -5703,12 +5935,12 @@
|
|
|
5703
5935
|
const localVarHeaderParameter = {};
|
|
5704
5936
|
const localVarQueryParameter = {};
|
|
5705
5937
|
// authentication JWT token required
|
|
5706
|
-
yield setApiKeyToObject$
|
|
5707
|
-
setSearchParams$
|
|
5938
|
+
yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
|
|
5939
|
+
setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5708
5940
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5709
5941
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5710
5942
|
return {
|
|
5711
|
-
url: toPathString$
|
|
5943
|
+
url: toPathString$5(localVarUrlObj),
|
|
5712
5944
|
options: localVarRequestOptions,
|
|
5713
5945
|
};
|
|
5714
5946
|
}),
|
|
@@ -5721,7 +5953,7 @@
|
|
|
5721
5953
|
resourceIndex: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5722
5954
|
const localVarPath = `/Resource`;
|
|
5723
5955
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5724
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5956
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
|
|
5725
5957
|
let baseOptions;
|
|
5726
5958
|
if (configuration) {
|
|
5727
5959
|
baseOptions = configuration.baseOptions;
|
|
@@ -5730,12 +5962,12 @@
|
|
|
5730
5962
|
const localVarHeaderParameter = {};
|
|
5731
5963
|
const localVarQueryParameter = {};
|
|
5732
5964
|
// authentication JWT token required
|
|
5733
|
-
yield setApiKeyToObject$
|
|
5734
|
-
setSearchParams$
|
|
5965
|
+
yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
|
|
5966
|
+
setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5735
5967
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5736
5968
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5737
5969
|
return {
|
|
5738
|
-
url: toPathString$
|
|
5970
|
+
url: toPathString$5(localVarUrlObj),
|
|
5739
5971
|
options: localVarRequestOptions,
|
|
5740
5972
|
};
|
|
5741
5973
|
}),
|
|
@@ -5752,7 +5984,7 @@
|
|
|
5752
5984
|
const localVarPath = `/Resource/{id}/isCreator`
|
|
5753
5985
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
5754
5986
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5755
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5987
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
|
|
5756
5988
|
let baseOptions;
|
|
5757
5989
|
if (configuration) {
|
|
5758
5990
|
baseOptions = configuration.baseOptions;
|
|
@@ -5761,12 +5993,12 @@
|
|
|
5761
5993
|
const localVarHeaderParameter = {};
|
|
5762
5994
|
const localVarQueryParameter = {};
|
|
5763
5995
|
// authentication JWT token required
|
|
5764
|
-
yield setApiKeyToObject$
|
|
5765
|
-
setSearchParams$
|
|
5996
|
+
yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
|
|
5997
|
+
setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5766
5998
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5767
5999
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5768
6000
|
return {
|
|
5769
|
-
url: toPathString$
|
|
6001
|
+
url: toPathString$5(localVarUrlObj),
|
|
5770
6002
|
options: localVarRequestOptions,
|
|
5771
6003
|
};
|
|
5772
6004
|
}),
|
|
@@ -5784,7 +6016,7 @@
|
|
|
5784
6016
|
const localVarPath = `/Resource/{id}/setReadonly`
|
|
5785
6017
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
5786
6018
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5787
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
6019
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
|
|
5788
6020
|
let baseOptions;
|
|
5789
6021
|
if (configuration) {
|
|
5790
6022
|
baseOptions = configuration.baseOptions;
|
|
@@ -5793,15 +6025,15 @@
|
|
|
5793
6025
|
const localVarHeaderParameter = {};
|
|
5794
6026
|
const localVarQueryParameter = {};
|
|
5795
6027
|
// authentication JWT token required
|
|
5796
|
-
yield setApiKeyToObject$
|
|
6028
|
+
yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
|
|
5797
6029
|
if (status !== undefined) {
|
|
5798
6030
|
localVarQueryParameter['status'] = status;
|
|
5799
6031
|
}
|
|
5800
|
-
setSearchParams$
|
|
6032
|
+
setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5801
6033
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5802
6034
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5803
6035
|
return {
|
|
5804
|
-
url: toPathString$
|
|
6036
|
+
url: toPathString$5(localVarUrlObj),
|
|
5805
6037
|
options: localVarRequestOptions,
|
|
5806
6038
|
};
|
|
5807
6039
|
}),
|
|
@@ -5821,7 +6053,7 @@
|
|
|
5821
6053
|
const localVarPath = `/Resource/project/{projectId}`
|
|
5822
6054
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
5823
6055
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5824
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
6056
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
|
|
5825
6057
|
let baseOptions;
|
|
5826
6058
|
if (configuration) {
|
|
5827
6059
|
baseOptions = configuration.baseOptions;
|
|
@@ -5830,14 +6062,14 @@
|
|
|
5830
6062
|
const localVarHeaderParameter = {};
|
|
5831
6063
|
const localVarQueryParameter = {};
|
|
5832
6064
|
// authentication JWT token required
|
|
5833
|
-
yield setApiKeyToObject$
|
|
6065
|
+
yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
|
|
5834
6066
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5835
|
-
setSearchParams$
|
|
6067
|
+
setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5836
6068
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5837
6069
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5838
6070
|
localVarRequestOptions.data = serializeDataIfNeeded$2(resourceObject, localVarRequestOptions, configuration);
|
|
5839
6071
|
return {
|
|
5840
|
-
url: toPathString$
|
|
6072
|
+
url: toPathString$5(localVarUrlObj),
|
|
5841
6073
|
options: localVarRequestOptions,
|
|
5842
6074
|
};
|
|
5843
6075
|
}),
|
|
@@ -5857,7 +6089,7 @@
|
|
|
5857
6089
|
const localVarPath = `/Resource/{id}`
|
|
5858
6090
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
5859
6091
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5860
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
6092
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
|
|
5861
6093
|
let baseOptions;
|
|
5862
6094
|
if (configuration) {
|
|
5863
6095
|
baseOptions = configuration.baseOptions;
|
|
@@ -5866,14 +6098,14 @@
|
|
|
5866
6098
|
const localVarHeaderParameter = {};
|
|
5867
6099
|
const localVarQueryParameter = {};
|
|
5868
6100
|
// authentication JWT token required
|
|
5869
|
-
yield setApiKeyToObject$
|
|
6101
|
+
yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
|
|
5870
6102
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5871
|
-
setSearchParams$
|
|
6103
|
+
setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5872
6104
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5873
6105
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5874
6106
|
localVarRequestOptions.data = serializeDataIfNeeded$2(resourceObject, localVarRequestOptions, configuration);
|
|
5875
6107
|
return {
|
|
5876
|
-
url: toPathString$
|
|
6108
|
+
url: toPathString$5(localVarUrlObj),
|
|
5877
6109
|
options: localVarRequestOptions,
|
|
5878
6110
|
};
|
|
5879
6111
|
}),
|
|
@@ -5896,7 +6128,7 @@
|
|
|
5896
6128
|
resourceDelete(id, options) {
|
|
5897
6129
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5898
6130
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceDelete(id, options);
|
|
5899
|
-
return createRequestFunction$
|
|
6131
|
+
return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
|
|
5900
6132
|
});
|
|
5901
6133
|
},
|
|
5902
6134
|
/**
|
|
@@ -5909,7 +6141,7 @@
|
|
|
5909
6141
|
resourceGet(id, options) {
|
|
5910
6142
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5911
6143
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceGet(id, options);
|
|
5912
|
-
return createRequestFunction$
|
|
6144
|
+
return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
|
|
5913
6145
|
});
|
|
5914
6146
|
},
|
|
5915
6147
|
/**
|
|
@@ -5921,7 +6153,7 @@
|
|
|
5921
6153
|
resourceIndex(options) {
|
|
5922
6154
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5923
6155
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceIndex(options);
|
|
5924
|
-
return createRequestFunction$
|
|
6156
|
+
return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
|
|
5925
6157
|
});
|
|
5926
6158
|
},
|
|
5927
6159
|
/**
|
|
@@ -5934,7 +6166,7 @@
|
|
|
5934
6166
|
resourceIsUserResourceCreator(id, options) {
|
|
5935
6167
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5936
6168
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceIsUserResourceCreator(id, options);
|
|
5937
|
-
return createRequestFunction$
|
|
6169
|
+
return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
|
|
5938
6170
|
});
|
|
5939
6171
|
},
|
|
5940
6172
|
/**
|
|
@@ -5948,7 +6180,7 @@
|
|
|
5948
6180
|
resourceSetResourceReadonly(id, status, options) {
|
|
5949
6181
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5950
6182
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceSetResourceReadonly(id, status, options);
|
|
5951
|
-
return createRequestFunction$
|
|
6183
|
+
return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
|
|
5952
6184
|
});
|
|
5953
6185
|
},
|
|
5954
6186
|
/**
|
|
@@ -5962,7 +6194,7 @@
|
|
|
5962
6194
|
resourceStoreToProject(projectId, resourceObject, options) {
|
|
5963
6195
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5964
6196
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceStoreToProject(projectId, resourceObject, options);
|
|
5965
|
-
return createRequestFunction$
|
|
6197
|
+
return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
|
|
5966
6198
|
});
|
|
5967
6199
|
},
|
|
5968
6200
|
/**
|
|
@@ -5976,7 +6208,7 @@
|
|
|
5976
6208
|
resourceUpdate(id, resourceObject, options) {
|
|
5977
6209
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5978
6210
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceUpdate(id, resourceObject, options);
|
|
5979
|
-
return createRequestFunction$
|
|
6211
|
+
return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
|
|
5980
6212
|
});
|
|
5981
6213
|
},
|
|
5982
6214
|
};
|
|
@@ -6081,7 +6313,7 @@
|
|
|
6081
6313
|
const localVarPath = `/ResourceQuota/{id}`
|
|
6082
6314
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
6083
6315
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6084
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
6316
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
|
|
6085
6317
|
let baseOptions;
|
|
6086
6318
|
if (configuration) {
|
|
6087
6319
|
baseOptions = configuration.baseOptions;
|
|
@@ -6090,12 +6322,12 @@
|
|
|
6090
6322
|
const localVarHeaderParameter = {};
|
|
6091
6323
|
const localVarQueryParameter = {};
|
|
6092
6324
|
// authentication JWT token required
|
|
6093
|
-
yield setApiKeyToObject$
|
|
6094
|
-
setSearchParams$
|
|
6325
|
+
yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
|
|
6326
|
+
setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6095
6327
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6096
6328
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6097
6329
|
return {
|
|
6098
|
-
url: toPathString$
|
|
6330
|
+
url: toPathString$5(localVarUrlObj),
|
|
6099
6331
|
options: localVarRequestOptions,
|
|
6100
6332
|
};
|
|
6101
6333
|
}),
|
|
@@ -6115,7 +6347,7 @@
|
|
|
6115
6347
|
const localVarPath = `/ResourceQuota/{id}`
|
|
6116
6348
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
6117
6349
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6118
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
6350
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
|
|
6119
6351
|
let baseOptions;
|
|
6120
6352
|
if (configuration) {
|
|
6121
6353
|
baseOptions = configuration.baseOptions;
|
|
@@ -6124,14 +6356,14 @@
|
|
|
6124
6356
|
const localVarHeaderParameter = {};
|
|
6125
6357
|
const localVarQueryParameter = {};
|
|
6126
6358
|
// authentication JWT token required
|
|
6127
|
-
yield setApiKeyToObject$
|
|
6359
|
+
yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
|
|
6128
6360
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6129
|
-
setSearchParams$
|
|
6361
|
+
setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6130
6362
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6131
6363
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6132
6364
|
localVarRequestOptions.data = serializeDataIfNeeded$2(updateResourceObject, localVarRequestOptions, configuration);
|
|
6133
6365
|
return {
|
|
6134
|
-
url: toPathString$
|
|
6366
|
+
url: toPathString$5(localVarUrlObj),
|
|
6135
6367
|
options: localVarRequestOptions,
|
|
6136
6368
|
};
|
|
6137
6369
|
}),
|
|
@@ -6154,7 +6386,7 @@
|
|
|
6154
6386
|
resourceQuotaGetResourceQuota(id, options) {
|
|
6155
6387
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6156
6388
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceQuotaGetResourceQuota(id, options);
|
|
6157
|
-
return createRequestFunction$
|
|
6389
|
+
return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
|
|
6158
6390
|
});
|
|
6159
6391
|
},
|
|
6160
6392
|
/**
|
|
@@ -6168,7 +6400,7 @@
|
|
|
6168
6400
|
resourceQuotaUpdateResourceQuota(id, updateResourceObject, options) {
|
|
6169
6401
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6170
6402
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceQuotaUpdateResourceQuota(id, updateResourceObject, options);
|
|
6171
|
-
return createRequestFunction$
|
|
6403
|
+
return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
|
|
6172
6404
|
});
|
|
6173
6405
|
},
|
|
6174
6406
|
};
|
|
@@ -6218,7 +6450,7 @@
|
|
|
6218
6450
|
resourceTypeGetEnabledResourceTypes: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6219
6451
|
const localVarPath = `/ResourceType/types/-/enabled`;
|
|
6220
6452
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6221
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
6453
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
|
|
6222
6454
|
let baseOptions;
|
|
6223
6455
|
if (configuration) {
|
|
6224
6456
|
baseOptions = configuration.baseOptions;
|
|
@@ -6227,12 +6459,12 @@
|
|
|
6227
6459
|
const localVarHeaderParameter = {};
|
|
6228
6460
|
const localVarQueryParameter = {};
|
|
6229
6461
|
// authentication JWT token required
|
|
6230
|
-
yield setApiKeyToObject$
|
|
6231
|
-
setSearchParams$
|
|
6462
|
+
yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
|
|
6463
|
+
setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6232
6464
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6233
6465
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6234
6466
|
return {
|
|
6235
|
-
url: toPathString$
|
|
6467
|
+
url: toPathString$5(localVarUrlObj),
|
|
6236
6468
|
options: localVarRequestOptions,
|
|
6237
6469
|
};
|
|
6238
6470
|
}),
|
|
@@ -6249,6 +6481,230 @@
|
|
|
6249
6481
|
const localVarPath = `/ResourceType/types/{id}`
|
|
6250
6482
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
6251
6483
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6484
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
|
|
6485
|
+
let baseOptions;
|
|
6486
|
+
if (configuration) {
|
|
6487
|
+
baseOptions = configuration.baseOptions;
|
|
6488
|
+
}
|
|
6489
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6490
|
+
const localVarHeaderParameter = {};
|
|
6491
|
+
const localVarQueryParameter = {};
|
|
6492
|
+
// authentication JWT token required
|
|
6493
|
+
yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
|
|
6494
|
+
setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6495
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6496
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6497
|
+
return {
|
|
6498
|
+
url: toPathString$5(localVarUrlObj),
|
|
6499
|
+
options: localVarRequestOptions,
|
|
6500
|
+
};
|
|
6501
|
+
}),
|
|
6502
|
+
/**
|
|
6503
|
+
*
|
|
6504
|
+
* @summary Returns all resource types.
|
|
6505
|
+
* @param {*} [options] Override http request option.
|
|
6506
|
+
* @throws {RequiredError}
|
|
6507
|
+
*/
|
|
6508
|
+
resourceTypeGetResourceTypes: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6509
|
+
const localVarPath = `/ResourceType/types`;
|
|
6510
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6511
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
|
|
6512
|
+
let baseOptions;
|
|
6513
|
+
if (configuration) {
|
|
6514
|
+
baseOptions = configuration.baseOptions;
|
|
6515
|
+
}
|
|
6516
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6517
|
+
const localVarHeaderParameter = {};
|
|
6518
|
+
const localVarQueryParameter = {};
|
|
6519
|
+
// authentication JWT token required
|
|
6520
|
+
yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
|
|
6521
|
+
setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6522
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6523
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6524
|
+
return {
|
|
6525
|
+
url: toPathString$5(localVarUrlObj),
|
|
6526
|
+
options: localVarRequestOptions,
|
|
6527
|
+
};
|
|
6528
|
+
}),
|
|
6529
|
+
};
|
|
6530
|
+
};
|
|
6531
|
+
/**
|
|
6532
|
+
* ResourceTypeApi - functional programming interface
|
|
6533
|
+
* @export
|
|
6534
|
+
*/
|
|
6535
|
+
const ResourceTypeApiFp = function (configuration) {
|
|
6536
|
+
const localVarAxiosParamCreator = ResourceTypeApiAxiosParamCreator(configuration);
|
|
6537
|
+
return {
|
|
6538
|
+
/**
|
|
6539
|
+
*
|
|
6540
|
+
* @summary Returns all enabled resource types.
|
|
6541
|
+
* @param {*} [options] Override http request option.
|
|
6542
|
+
* @throws {RequiredError}
|
|
6543
|
+
*/
|
|
6544
|
+
resourceTypeGetEnabledResourceTypes(options) {
|
|
6545
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6546
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceTypeGetEnabledResourceTypes(options);
|
|
6547
|
+
return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
|
|
6548
|
+
});
|
|
6549
|
+
},
|
|
6550
|
+
/**
|
|
6551
|
+
*
|
|
6552
|
+
* @summary Returns all fields of the specified resource type.
|
|
6553
|
+
* @param {string} id A guid as a string that identifies the resource.
|
|
6554
|
+
* @param {*} [options] Override http request option.
|
|
6555
|
+
* @throws {RequiredError}
|
|
6556
|
+
*/
|
|
6557
|
+
resourceTypeGetResourceType(id, options) {
|
|
6558
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6559
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceTypeGetResourceType(id, options);
|
|
6560
|
+
return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
|
|
6561
|
+
});
|
|
6562
|
+
},
|
|
6563
|
+
/**
|
|
6564
|
+
*
|
|
6565
|
+
* @summary Returns all resource types.
|
|
6566
|
+
* @param {*} [options] Override http request option.
|
|
6567
|
+
* @throws {RequiredError}
|
|
6568
|
+
*/
|
|
6569
|
+
resourceTypeGetResourceTypes(options) {
|
|
6570
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6571
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceTypeGetResourceTypes(options);
|
|
6572
|
+
return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
|
|
6573
|
+
});
|
|
6574
|
+
},
|
|
6575
|
+
};
|
|
6576
|
+
};
|
|
6577
|
+
/**
|
|
6578
|
+
* ResourceTypeApi - factory interface
|
|
6579
|
+
* @export
|
|
6580
|
+
*/
|
|
6581
|
+
const ResourceTypeApiFactory = function (configuration, basePath, axios) {
|
|
6582
|
+
const localVarFp = ResourceTypeApiFp(configuration);
|
|
6583
|
+
return {
|
|
6584
|
+
/**
|
|
6585
|
+
*
|
|
6586
|
+
* @summary Returns all enabled resource types.
|
|
6587
|
+
* @param {*} [options] Override http request option.
|
|
6588
|
+
* @throws {RequiredError}
|
|
6589
|
+
*/
|
|
6590
|
+
resourceTypeGetEnabledResourceTypes(options) {
|
|
6591
|
+
return localVarFp.resourceTypeGetEnabledResourceTypes(options).then((request) => request(axios, basePath));
|
|
6592
|
+
},
|
|
6593
|
+
/**
|
|
6594
|
+
*
|
|
6595
|
+
* @summary Returns all fields of the specified resource type.
|
|
6596
|
+
* @param {string} id A guid as a string that identifies the resource.
|
|
6597
|
+
* @param {*} [options] Override http request option.
|
|
6598
|
+
* @throws {RequiredError}
|
|
6599
|
+
*/
|
|
6600
|
+
resourceTypeGetResourceType(id, options) {
|
|
6601
|
+
return localVarFp.resourceTypeGetResourceType(id, options).then((request) => request(axios, basePath));
|
|
6602
|
+
},
|
|
6603
|
+
/**
|
|
6604
|
+
*
|
|
6605
|
+
* @summary Returns all resource types.
|
|
6606
|
+
* @param {*} [options] Override http request option.
|
|
6607
|
+
* @throws {RequiredError}
|
|
6608
|
+
*/
|
|
6609
|
+
resourceTypeGetResourceTypes(options) {
|
|
6610
|
+
return localVarFp.resourceTypeGetResourceTypes(options).then((request) => request(axios, basePath));
|
|
6611
|
+
},
|
|
6612
|
+
};
|
|
6613
|
+
};
|
|
6614
|
+
|
|
6615
|
+
/* tslint:disable */
|
|
6616
|
+
const BASE_PATH$4 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Search".replace(/\/+$/, "");
|
|
6617
|
+
|
|
6618
|
+
/* tslint:disable */
|
|
6619
|
+
/**
|
|
6620
|
+
*
|
|
6621
|
+
* @export
|
|
6622
|
+
*/
|
|
6623
|
+
const DUMMY_BASE_URL$4 = 'https://example.com';
|
|
6624
|
+
/**
|
|
6625
|
+
*
|
|
6626
|
+
* @export
|
|
6627
|
+
*/
|
|
6628
|
+
const setApiKeyToObject$4 = function (object, keyParamName, configuration) {
|
|
6629
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6630
|
+
if (configuration && configuration.apiKey) {
|
|
6631
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
6632
|
+
? yield configuration.apiKey(keyParamName)
|
|
6633
|
+
: yield configuration.apiKey;
|
|
6634
|
+
object[keyParamName] = localVarApiKeyValue;
|
|
6635
|
+
}
|
|
6636
|
+
});
|
|
6637
|
+
};
|
|
6638
|
+
/**
|
|
6639
|
+
*
|
|
6640
|
+
* @export
|
|
6641
|
+
*/
|
|
6642
|
+
const setSearchParams$4 = function (url, ...objects) {
|
|
6643
|
+
const searchParams = new URLSearchParams(url.search);
|
|
6644
|
+
for (const object of objects) {
|
|
6645
|
+
for (const key in object) {
|
|
6646
|
+
if (Array.isArray(object[key])) {
|
|
6647
|
+
searchParams.delete(key);
|
|
6648
|
+
for (const item of object[key]) {
|
|
6649
|
+
searchParams.append(key, item);
|
|
6650
|
+
}
|
|
6651
|
+
}
|
|
6652
|
+
else {
|
|
6653
|
+
searchParams.set(key, object[key]);
|
|
6654
|
+
}
|
|
6655
|
+
}
|
|
6656
|
+
}
|
|
6657
|
+
url.search = searchParams.toString();
|
|
6658
|
+
};
|
|
6659
|
+
/**
|
|
6660
|
+
*
|
|
6661
|
+
* @export
|
|
6662
|
+
*/
|
|
6663
|
+
const toPathString$4 = function (url) {
|
|
6664
|
+
return url.pathname + url.search + url.hash;
|
|
6665
|
+
};
|
|
6666
|
+
/**
|
|
6667
|
+
*
|
|
6668
|
+
* @export
|
|
6669
|
+
*/
|
|
6670
|
+
const createRequestFunction$4 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
6671
|
+
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
6672
|
+
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
|
|
6673
|
+
return axios.request(axiosRequestArgs);
|
|
6674
|
+
};
|
|
6675
|
+
};
|
|
6676
|
+
|
|
6677
|
+
/* tslint:disable */
|
|
6678
|
+
/**
|
|
6679
|
+
*
|
|
6680
|
+
* @export
|
|
6681
|
+
* @enum {string}
|
|
6682
|
+
*/
|
|
6683
|
+
var ItemType;
|
|
6684
|
+
(function (ItemType) {
|
|
6685
|
+
ItemType["Metadata"] = "Metadata";
|
|
6686
|
+
ItemType["Project"] = "Project";
|
|
6687
|
+
ItemType["Resource"] = "Resource";
|
|
6688
|
+
})(ItemType || (ItemType = {}));
|
|
6689
|
+
/**
|
|
6690
|
+
* SearchApi - axios parameter creator
|
|
6691
|
+
* @export
|
|
6692
|
+
*/
|
|
6693
|
+
const SearchApiAxiosParamCreator = function (configuration) {
|
|
6694
|
+
return {
|
|
6695
|
+
/**
|
|
6696
|
+
*
|
|
6697
|
+
* @summary Search Elasticsearch
|
|
6698
|
+
* @param {string} [query] Elasticsearch query
|
|
6699
|
+
* @param {boolean} [user] Specify user or only public metadata records could be found
|
|
6700
|
+
* @param {boolean} [adv] Set true for advanced Elasticsearch search syntax
|
|
6701
|
+
* @param {Array<string>} [languages] Set the used languages
|
|
6702
|
+
* @param {*} [options] Override http request option.
|
|
6703
|
+
* @throws {RequiredError}
|
|
6704
|
+
*/
|
|
6705
|
+
searchSearch: (query, user, adv, languages, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6706
|
+
const localVarPath = `/Search`;
|
|
6707
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6252
6708
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$4);
|
|
6253
6709
|
let baseOptions;
|
|
6254
6710
|
if (configuration) {
|
|
@@ -6258,220 +6714,620 @@
|
|
|
6258
6714
|
const localVarHeaderParameter = {};
|
|
6259
6715
|
const localVarQueryParameter = {};
|
|
6260
6716
|
// authentication JWT token required
|
|
6261
|
-
yield setApiKeyToObject$4(localVarHeaderParameter, "Authorization", configuration);
|
|
6262
|
-
|
|
6717
|
+
yield setApiKeyToObject$4(localVarHeaderParameter, "Authorization", configuration);
|
|
6718
|
+
if (query !== undefined) {
|
|
6719
|
+
localVarQueryParameter['query'] = query;
|
|
6720
|
+
}
|
|
6721
|
+
if (user !== undefined) {
|
|
6722
|
+
localVarQueryParameter['user'] = user;
|
|
6723
|
+
}
|
|
6724
|
+
if (adv !== undefined) {
|
|
6725
|
+
localVarQueryParameter['adv'] = adv;
|
|
6726
|
+
}
|
|
6727
|
+
if (languages) {
|
|
6728
|
+
localVarQueryParameter['languages'] = languages;
|
|
6729
|
+
}
|
|
6730
|
+
setSearchParams$4(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6731
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6732
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6733
|
+
return {
|
|
6734
|
+
url: toPathString$4(localVarUrlObj),
|
|
6735
|
+
options: localVarRequestOptions,
|
|
6736
|
+
};
|
|
6737
|
+
}),
|
|
6738
|
+
};
|
|
6739
|
+
};
|
|
6740
|
+
/**
|
|
6741
|
+
* SearchApi - functional programming interface
|
|
6742
|
+
* @export
|
|
6743
|
+
*/
|
|
6744
|
+
const SearchApiFp = function (configuration) {
|
|
6745
|
+
const localVarAxiosParamCreator = SearchApiAxiosParamCreator(configuration);
|
|
6746
|
+
return {
|
|
6747
|
+
/**
|
|
6748
|
+
*
|
|
6749
|
+
* @summary Search Elasticsearch
|
|
6750
|
+
* @param {string} [query] Elasticsearch query
|
|
6751
|
+
* @param {boolean} [user] Specify user or only public metadata records could be found
|
|
6752
|
+
* @param {boolean} [adv] Set true for advanced Elasticsearch search syntax
|
|
6753
|
+
* @param {Array<string>} [languages] Set the used languages
|
|
6754
|
+
* @param {*} [options] Override http request option.
|
|
6755
|
+
* @throws {RequiredError}
|
|
6756
|
+
*/
|
|
6757
|
+
searchSearch(query, user, adv, languages, options) {
|
|
6758
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6759
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.searchSearch(query, user, adv, languages, options);
|
|
6760
|
+
return createRequestFunction$4(localVarAxiosArgs, axios, BASE_PATH$4, configuration);
|
|
6761
|
+
});
|
|
6762
|
+
},
|
|
6763
|
+
};
|
|
6764
|
+
};
|
|
6765
|
+
/**
|
|
6766
|
+
* SearchApi - factory interface
|
|
6767
|
+
* @export
|
|
6768
|
+
*/
|
|
6769
|
+
const SearchApiFactory = function (configuration, basePath, axios) {
|
|
6770
|
+
const localVarFp = SearchApiFp(configuration);
|
|
6771
|
+
return {
|
|
6772
|
+
/**
|
|
6773
|
+
*
|
|
6774
|
+
* @summary Search Elasticsearch
|
|
6775
|
+
* @param {string} [query] Elasticsearch query
|
|
6776
|
+
* @param {boolean} [user] Specify user or only public metadata records could be found
|
|
6777
|
+
* @param {boolean} [adv] Set true for advanced Elasticsearch search syntax
|
|
6778
|
+
* @param {Array<string>} [languages] Set the used languages
|
|
6779
|
+
* @param {*} [options] Override http request option.
|
|
6780
|
+
* @throws {RequiredError}
|
|
6781
|
+
*/
|
|
6782
|
+
searchSearch(query, user, adv, languages, options) {
|
|
6783
|
+
return localVarFp.searchSearch(query, user, adv, languages, options).then((request) => request(axios, basePath));
|
|
6784
|
+
},
|
|
6785
|
+
};
|
|
6786
|
+
};
|
|
6787
|
+
|
|
6788
|
+
/* tslint:disable */
|
|
6789
|
+
const BASE_PATH$3 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.STS".replace(/\/+$/, "");
|
|
6790
|
+
|
|
6791
|
+
/* tslint:disable */
|
|
6792
|
+
/**
|
|
6793
|
+
*
|
|
6794
|
+
* @export
|
|
6795
|
+
*/
|
|
6796
|
+
const DUMMY_BASE_URL$3 = 'https://example.com';
|
|
6797
|
+
/**
|
|
6798
|
+
*
|
|
6799
|
+
* @export
|
|
6800
|
+
*/
|
|
6801
|
+
const setApiKeyToObject$3 = function (object, keyParamName, configuration) {
|
|
6802
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6803
|
+
if (configuration && configuration.apiKey) {
|
|
6804
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
6805
|
+
? yield configuration.apiKey(keyParamName)
|
|
6806
|
+
: yield configuration.apiKey;
|
|
6807
|
+
object[keyParamName] = localVarApiKeyValue;
|
|
6808
|
+
}
|
|
6809
|
+
});
|
|
6810
|
+
};
|
|
6811
|
+
/**
|
|
6812
|
+
*
|
|
6813
|
+
* @export
|
|
6814
|
+
*/
|
|
6815
|
+
const setSearchParams$3 = function (url, ...objects) {
|
|
6816
|
+
const searchParams = new URLSearchParams(url.search);
|
|
6817
|
+
for (const object of objects) {
|
|
6818
|
+
for (const key in object) {
|
|
6819
|
+
if (Array.isArray(object[key])) {
|
|
6820
|
+
searchParams.delete(key);
|
|
6821
|
+
for (const item of object[key]) {
|
|
6822
|
+
searchParams.append(key, item);
|
|
6823
|
+
}
|
|
6824
|
+
}
|
|
6825
|
+
else {
|
|
6826
|
+
searchParams.set(key, object[key]);
|
|
6827
|
+
}
|
|
6828
|
+
}
|
|
6829
|
+
}
|
|
6830
|
+
url.search = searchParams.toString();
|
|
6831
|
+
};
|
|
6832
|
+
/**
|
|
6833
|
+
*
|
|
6834
|
+
* @export
|
|
6835
|
+
*/
|
|
6836
|
+
const toPathString$3 = function (url) {
|
|
6837
|
+
return url.pathname + url.search + url.hash;
|
|
6838
|
+
};
|
|
6839
|
+
/**
|
|
6840
|
+
*
|
|
6841
|
+
* @export
|
|
6842
|
+
*/
|
|
6843
|
+
const createRequestFunction$3 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
6844
|
+
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
6845
|
+
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
|
|
6846
|
+
return axios.request(axiosRequestArgs);
|
|
6847
|
+
};
|
|
6848
|
+
};
|
|
6849
|
+
|
|
6850
|
+
/* tslint:disable */
|
|
6851
|
+
/**
|
|
6852
|
+
* AccountApi - axios parameter creator
|
|
6853
|
+
* @export
|
|
6854
|
+
*/
|
|
6855
|
+
const AccountApiAxiosParamCreator = function (configuration) {
|
|
6856
|
+
return {
|
|
6857
|
+
/**
|
|
6858
|
+
*
|
|
6859
|
+
* @summary Return relevant URLs for logging the user in
|
|
6860
|
+
* @param {*} [options] Override http request option.
|
|
6861
|
+
* @throws {RequiredError}
|
|
6862
|
+
*/
|
|
6863
|
+
accountGetLoginUrls: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6864
|
+
const localVarPath = `/Account/urls/login`;
|
|
6865
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6866
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$3);
|
|
6867
|
+
let baseOptions;
|
|
6868
|
+
if (configuration) {
|
|
6869
|
+
baseOptions = configuration.baseOptions;
|
|
6870
|
+
}
|
|
6871
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6872
|
+
const localVarHeaderParameter = {};
|
|
6873
|
+
const localVarQueryParameter = {};
|
|
6874
|
+
// authentication JWT token required
|
|
6875
|
+
yield setApiKeyToObject$3(localVarHeaderParameter, "Authorization", configuration);
|
|
6876
|
+
setSearchParams$3(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6877
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6878
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6879
|
+
return {
|
|
6880
|
+
url: toPathString$3(localVarUrlObj),
|
|
6881
|
+
options: localVarRequestOptions,
|
|
6882
|
+
};
|
|
6883
|
+
}),
|
|
6884
|
+
/**
|
|
6885
|
+
*
|
|
6886
|
+
* @summary Route for logging the user out of Coscine
|
|
6887
|
+
* @param {*} [options] Override http request option.
|
|
6888
|
+
* @throws {RequiredError}
|
|
6889
|
+
*/
|
|
6890
|
+
accountLogout: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6891
|
+
const localVarPath = `/Account/logout`;
|
|
6892
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6893
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$3);
|
|
6894
|
+
let baseOptions;
|
|
6895
|
+
if (configuration) {
|
|
6896
|
+
baseOptions = configuration.baseOptions;
|
|
6897
|
+
}
|
|
6898
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6899
|
+
const localVarHeaderParameter = {};
|
|
6900
|
+
const localVarQueryParameter = {};
|
|
6901
|
+
// authentication JWT token required
|
|
6902
|
+
yield setApiKeyToObject$3(localVarHeaderParameter, "Authorization", configuration);
|
|
6903
|
+
setSearchParams$3(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6904
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6905
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6906
|
+
return {
|
|
6907
|
+
url: toPathString$3(localVarUrlObj),
|
|
6908
|
+
options: localVarRequestOptions,
|
|
6909
|
+
};
|
|
6910
|
+
}),
|
|
6911
|
+
};
|
|
6912
|
+
};
|
|
6913
|
+
/**
|
|
6914
|
+
* AccountApi - functional programming interface
|
|
6915
|
+
* @export
|
|
6916
|
+
*/
|
|
6917
|
+
const AccountApiFp = function (configuration) {
|
|
6918
|
+
const localVarAxiosParamCreator = AccountApiAxiosParamCreator(configuration);
|
|
6919
|
+
return {
|
|
6920
|
+
/**
|
|
6921
|
+
*
|
|
6922
|
+
* @summary Return relevant URLs for logging the user in
|
|
6923
|
+
* @param {*} [options] Override http request option.
|
|
6924
|
+
* @throws {RequiredError}
|
|
6925
|
+
*/
|
|
6926
|
+
accountGetLoginUrls(options) {
|
|
6927
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6928
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.accountGetLoginUrls(options);
|
|
6929
|
+
return createRequestFunction$3(localVarAxiosArgs, axios, BASE_PATH$3, configuration);
|
|
6930
|
+
});
|
|
6931
|
+
},
|
|
6932
|
+
/**
|
|
6933
|
+
*
|
|
6934
|
+
* @summary Route for logging the user out of Coscine
|
|
6935
|
+
* @param {*} [options] Override http request option.
|
|
6936
|
+
* @throws {RequiredError}
|
|
6937
|
+
*/
|
|
6938
|
+
accountLogout(options) {
|
|
6939
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6940
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.accountLogout(options);
|
|
6941
|
+
return createRequestFunction$3(localVarAxiosArgs, axios, BASE_PATH$3, configuration);
|
|
6942
|
+
});
|
|
6943
|
+
},
|
|
6944
|
+
};
|
|
6945
|
+
};
|
|
6946
|
+
/**
|
|
6947
|
+
* AccountApi - factory interface
|
|
6948
|
+
* @export
|
|
6949
|
+
*/
|
|
6950
|
+
const AccountApiFactory = function (configuration, basePath, axios) {
|
|
6951
|
+
const localVarFp = AccountApiFp(configuration);
|
|
6952
|
+
return {
|
|
6953
|
+
/**
|
|
6954
|
+
*
|
|
6955
|
+
* @summary Return relevant URLs for logging the user in
|
|
6956
|
+
* @param {*} [options] Override http request option.
|
|
6957
|
+
* @throws {RequiredError}
|
|
6958
|
+
*/
|
|
6959
|
+
accountGetLoginUrls(options) {
|
|
6960
|
+
return localVarFp.accountGetLoginUrls(options).then((request) => request(axios, basePath));
|
|
6961
|
+
},
|
|
6962
|
+
/**
|
|
6963
|
+
*
|
|
6964
|
+
* @summary Route for logging the user out of Coscine
|
|
6965
|
+
* @param {*} [options] Override http request option.
|
|
6966
|
+
* @throws {RequiredError}
|
|
6967
|
+
*/
|
|
6968
|
+
accountLogout(options) {
|
|
6969
|
+
return localVarFp.accountLogout(options).then((request) => request(axios, basePath));
|
|
6970
|
+
},
|
|
6971
|
+
};
|
|
6972
|
+
};
|
|
6973
|
+
/**
|
|
6974
|
+
* HomeApi - axios parameter creator
|
|
6975
|
+
* @export
|
|
6976
|
+
*/
|
|
6977
|
+
const HomeApiAxiosParamCreator = function (configuration) {
|
|
6978
|
+
return {
|
|
6979
|
+
/**
|
|
6980
|
+
*
|
|
6981
|
+
* @summary The controller that the user is automatically entering when accesing the route .../coscine/api/Coscine.STS/
|
|
6982
|
+
* @param {*} [options] Override http request option.
|
|
6983
|
+
* @throws {RequiredError}
|
|
6984
|
+
*/
|
|
6985
|
+
homeIndex: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6986
|
+
const localVarPath = `/`;
|
|
6987
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6988
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$3);
|
|
6989
|
+
let baseOptions;
|
|
6990
|
+
if (configuration) {
|
|
6991
|
+
baseOptions = configuration.baseOptions;
|
|
6992
|
+
}
|
|
6993
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6994
|
+
const localVarHeaderParameter = {};
|
|
6995
|
+
const localVarQueryParameter = {};
|
|
6996
|
+
// authentication JWT token required
|
|
6997
|
+
yield setApiKeyToObject$3(localVarHeaderParameter, "Authorization", configuration);
|
|
6998
|
+
setSearchParams$3(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6999
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7000
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7001
|
+
return {
|
|
7002
|
+
url: toPathString$3(localVarUrlObj),
|
|
7003
|
+
options: localVarRequestOptions,
|
|
7004
|
+
};
|
|
7005
|
+
}),
|
|
7006
|
+
};
|
|
7007
|
+
};
|
|
7008
|
+
/**
|
|
7009
|
+
* HomeApi - functional programming interface
|
|
7010
|
+
* @export
|
|
7011
|
+
*/
|
|
7012
|
+
const HomeApiFp = function (configuration) {
|
|
7013
|
+
const localVarAxiosParamCreator = HomeApiAxiosParamCreator(configuration);
|
|
7014
|
+
return {
|
|
7015
|
+
/**
|
|
7016
|
+
*
|
|
7017
|
+
* @summary The controller that the user is automatically entering when accesing the route .../coscine/api/Coscine.STS/
|
|
7018
|
+
* @param {*} [options] Override http request option.
|
|
7019
|
+
* @throws {RequiredError}
|
|
7020
|
+
*/
|
|
7021
|
+
homeIndex(options) {
|
|
7022
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7023
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.homeIndex(options);
|
|
7024
|
+
return createRequestFunction$3(localVarAxiosArgs, axios, BASE_PATH$3, configuration);
|
|
7025
|
+
});
|
|
7026
|
+
},
|
|
7027
|
+
};
|
|
7028
|
+
};
|
|
7029
|
+
/**
|
|
7030
|
+
* HomeApi - factory interface
|
|
7031
|
+
* @export
|
|
7032
|
+
*/
|
|
7033
|
+
const HomeApiFactory = function (configuration, basePath, axios) {
|
|
7034
|
+
const localVarFp = HomeApiFp(configuration);
|
|
7035
|
+
return {
|
|
7036
|
+
/**
|
|
7037
|
+
*
|
|
7038
|
+
* @summary The controller that the user is automatically entering when accesing the route .../coscine/api/Coscine.STS/
|
|
7039
|
+
* @param {*} [options] Override http request option.
|
|
7040
|
+
* @throws {RequiredError}
|
|
7041
|
+
*/
|
|
7042
|
+
homeIndex(options) {
|
|
7043
|
+
return localVarFp.homeIndex(options).then((request) => request(axios, basePath));
|
|
7044
|
+
},
|
|
7045
|
+
};
|
|
7046
|
+
};
|
|
7047
|
+
/**
|
|
7048
|
+
* MergeApi - axios parameter creator
|
|
7049
|
+
* @export
|
|
7050
|
+
*/
|
|
7051
|
+
const MergeApiAxiosParamCreator = function (configuration) {
|
|
7052
|
+
return {
|
|
7053
|
+
/**
|
|
7054
|
+
*
|
|
7055
|
+
* @param {string} [returnUrl]
|
|
7056
|
+
* @param {*} [options] Override http request option.
|
|
7057
|
+
* @throws {RequiredError}
|
|
7058
|
+
*/
|
|
7059
|
+
mergeCallback: (returnUrl, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
7060
|
+
const localVarPath = `/Merge/callback`;
|
|
7061
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7062
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$3);
|
|
7063
|
+
let baseOptions;
|
|
7064
|
+
if (configuration) {
|
|
7065
|
+
baseOptions = configuration.baseOptions;
|
|
7066
|
+
}
|
|
7067
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
7068
|
+
const localVarHeaderParameter = {};
|
|
7069
|
+
const localVarQueryParameter = {};
|
|
7070
|
+
// authentication JWT token required
|
|
7071
|
+
yield setApiKeyToObject$3(localVarHeaderParameter, "Authorization", configuration);
|
|
7072
|
+
if (returnUrl !== undefined) {
|
|
7073
|
+
localVarQueryParameter['returnUrl'] = returnUrl;
|
|
7074
|
+
}
|
|
7075
|
+
setSearchParams$3(localVarUrlObj, localVarQueryParameter, options.query);
|
|
7076
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7077
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7078
|
+
return {
|
|
7079
|
+
url: toPathString$3(localVarUrlObj),
|
|
7080
|
+
options: localVarRequestOptions,
|
|
7081
|
+
};
|
|
7082
|
+
}),
|
|
7083
|
+
/**
|
|
7084
|
+
*
|
|
7085
|
+
* @param {string} [returnUrl]
|
|
7086
|
+
* @param {*} [options] Override http request option.
|
|
7087
|
+
* @throws {RequiredError}
|
|
7088
|
+
*/
|
|
7089
|
+
mergeLogin: (returnUrl, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
7090
|
+
const localVarPath = `/Merge/login`;
|
|
7091
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7092
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$3);
|
|
7093
|
+
let baseOptions;
|
|
7094
|
+
if (configuration) {
|
|
7095
|
+
baseOptions = configuration.baseOptions;
|
|
7096
|
+
}
|
|
7097
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
7098
|
+
const localVarHeaderParameter = {};
|
|
7099
|
+
const localVarQueryParameter = {};
|
|
7100
|
+
// authentication JWT token required
|
|
7101
|
+
yield setApiKeyToObject$3(localVarHeaderParameter, "Authorization", configuration);
|
|
7102
|
+
if (returnUrl !== undefined) {
|
|
7103
|
+
localVarQueryParameter['returnUrl'] = returnUrl;
|
|
7104
|
+
}
|
|
7105
|
+
setSearchParams$3(localVarUrlObj, localVarQueryParameter, options.query);
|
|
7106
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7107
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7108
|
+
return {
|
|
7109
|
+
url: toPathString$3(localVarUrlObj),
|
|
7110
|
+
options: localVarRequestOptions,
|
|
7111
|
+
};
|
|
7112
|
+
}),
|
|
7113
|
+
};
|
|
7114
|
+
};
|
|
7115
|
+
/**
|
|
7116
|
+
* MergeApi - functional programming interface
|
|
7117
|
+
* @export
|
|
7118
|
+
*/
|
|
7119
|
+
const MergeApiFp = function (configuration) {
|
|
7120
|
+
const localVarAxiosParamCreator = MergeApiAxiosParamCreator(configuration);
|
|
7121
|
+
return {
|
|
7122
|
+
/**
|
|
7123
|
+
*
|
|
7124
|
+
* @param {string} [returnUrl]
|
|
7125
|
+
* @param {*} [options] Override http request option.
|
|
7126
|
+
* @throws {RequiredError}
|
|
7127
|
+
*/
|
|
7128
|
+
mergeCallback(returnUrl, options) {
|
|
7129
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7130
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.mergeCallback(returnUrl, options);
|
|
7131
|
+
return createRequestFunction$3(localVarAxiosArgs, axios, BASE_PATH$3, configuration);
|
|
7132
|
+
});
|
|
7133
|
+
},
|
|
7134
|
+
/**
|
|
7135
|
+
*
|
|
7136
|
+
* @param {string} [returnUrl]
|
|
7137
|
+
* @param {*} [options] Override http request option.
|
|
7138
|
+
* @throws {RequiredError}
|
|
7139
|
+
*/
|
|
7140
|
+
mergeLogin(returnUrl, options) {
|
|
7141
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7142
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.mergeLogin(returnUrl, options);
|
|
7143
|
+
return createRequestFunction$3(localVarAxiosArgs, axios, BASE_PATH$3, configuration);
|
|
7144
|
+
});
|
|
7145
|
+
},
|
|
7146
|
+
};
|
|
7147
|
+
};
|
|
7148
|
+
/**
|
|
7149
|
+
* MergeApi - factory interface
|
|
7150
|
+
* @export
|
|
7151
|
+
*/
|
|
7152
|
+
const MergeApiFactory = function (configuration, basePath, axios) {
|
|
7153
|
+
const localVarFp = MergeApiFp(configuration);
|
|
7154
|
+
return {
|
|
7155
|
+
/**
|
|
7156
|
+
*
|
|
7157
|
+
* @param {string} [returnUrl]
|
|
7158
|
+
* @param {*} [options] Override http request option.
|
|
7159
|
+
* @throws {RequiredError}
|
|
7160
|
+
*/
|
|
7161
|
+
mergeCallback(returnUrl, options) {
|
|
7162
|
+
return localVarFp.mergeCallback(returnUrl, options).then((request) => request(axios, basePath));
|
|
7163
|
+
},
|
|
7164
|
+
/**
|
|
7165
|
+
*
|
|
7166
|
+
* @param {string} [returnUrl]
|
|
7167
|
+
* @param {*} [options] Override http request option.
|
|
7168
|
+
* @throws {RequiredError}
|
|
7169
|
+
*/
|
|
7170
|
+
mergeLogin(returnUrl, options) {
|
|
7171
|
+
return localVarFp.mergeLogin(returnUrl, options).then((request) => request(axios, basePath));
|
|
7172
|
+
},
|
|
7173
|
+
};
|
|
7174
|
+
};
|
|
7175
|
+
/**
|
|
7176
|
+
* ORCiDApi - axios parameter creator
|
|
7177
|
+
* @export
|
|
7178
|
+
*/
|
|
7179
|
+
const ORCiDApiAxiosParamCreator = function (configuration) {
|
|
7180
|
+
return {
|
|
7181
|
+
/**
|
|
7182
|
+
*
|
|
7183
|
+
* @summary ORCiD Login Route
|
|
7184
|
+
* @param {string} [returnUrl] URL to be redirected to
|
|
7185
|
+
* @param {*} [options] Override http request option.
|
|
7186
|
+
* @throws {RequiredError}
|
|
7187
|
+
*/
|
|
7188
|
+
oRCiDLoginGET: (returnUrl, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
7189
|
+
const localVarPath = `/ORCiD/login`;
|
|
7190
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7191
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$3);
|
|
7192
|
+
let baseOptions;
|
|
7193
|
+
if (configuration) {
|
|
7194
|
+
baseOptions = configuration.baseOptions;
|
|
7195
|
+
}
|
|
7196
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
7197
|
+
const localVarHeaderParameter = {};
|
|
7198
|
+
const localVarQueryParameter = {};
|
|
7199
|
+
// authentication JWT token required
|
|
7200
|
+
yield setApiKeyToObject$3(localVarHeaderParameter, "Authorization", configuration);
|
|
7201
|
+
if (returnUrl !== undefined) {
|
|
7202
|
+
localVarQueryParameter['returnUrl'] = returnUrl;
|
|
7203
|
+
}
|
|
7204
|
+
setSearchParams$3(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6263
7205
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6264
7206
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6265
7207
|
return {
|
|
6266
|
-
url: toPathString$
|
|
7208
|
+
url: toPathString$3(localVarUrlObj),
|
|
6267
7209
|
options: localVarRequestOptions,
|
|
6268
7210
|
};
|
|
6269
7211
|
}),
|
|
6270
7212
|
/**
|
|
6271
7213
|
*
|
|
6272
|
-
* @summary
|
|
7214
|
+
* @summary Execute ORCiD validation and login
|
|
7215
|
+
* @param {string} [oRCiDJWT]
|
|
7216
|
+
* @param {string} [returnUrl] URL to be redirected to
|
|
6273
7217
|
* @param {*} [options] Override http request option.
|
|
6274
7218
|
* @throws {RequiredError}
|
|
6275
7219
|
*/
|
|
6276
|
-
|
|
6277
|
-
const localVarPath = `/
|
|
7220
|
+
oRCiDLoginPOST: (oRCiDJWT, returnUrl, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
7221
|
+
const localVarPath = `/ORCiD/login`;
|
|
6278
7222
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6279
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
7223
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$3);
|
|
6280
7224
|
let baseOptions;
|
|
6281
7225
|
if (configuration) {
|
|
6282
7226
|
baseOptions = configuration.baseOptions;
|
|
6283
7227
|
}
|
|
6284
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
7228
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
6285
7229
|
const localVarHeaderParameter = {};
|
|
6286
7230
|
const localVarQueryParameter = {};
|
|
6287
7231
|
// authentication JWT token required
|
|
6288
|
-
yield setApiKeyToObject$
|
|
6289
|
-
|
|
7232
|
+
yield setApiKeyToObject$3(localVarHeaderParameter, "Authorization", configuration);
|
|
7233
|
+
if (oRCiDJWT !== undefined) {
|
|
7234
|
+
localVarQueryParameter['ORCiD_JWT'] = oRCiDJWT;
|
|
7235
|
+
}
|
|
7236
|
+
if (returnUrl !== undefined) {
|
|
7237
|
+
localVarQueryParameter['returnUrl'] = returnUrl;
|
|
7238
|
+
}
|
|
7239
|
+
setSearchParams$3(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6290
7240
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6291
7241
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6292
7242
|
return {
|
|
6293
|
-
url: toPathString$
|
|
7243
|
+
url: toPathString$3(localVarUrlObj),
|
|
6294
7244
|
options: localVarRequestOptions,
|
|
6295
7245
|
};
|
|
6296
7246
|
}),
|
|
6297
7247
|
};
|
|
6298
7248
|
};
|
|
6299
7249
|
/**
|
|
6300
|
-
*
|
|
7250
|
+
* ORCiDApi - functional programming interface
|
|
6301
7251
|
* @export
|
|
6302
7252
|
*/
|
|
6303
|
-
const
|
|
6304
|
-
const localVarAxiosParamCreator =
|
|
7253
|
+
const ORCiDApiFp = function (configuration) {
|
|
7254
|
+
const localVarAxiosParamCreator = ORCiDApiAxiosParamCreator(configuration);
|
|
6305
7255
|
return {
|
|
6306
7256
|
/**
|
|
6307
7257
|
*
|
|
6308
|
-
* @summary
|
|
6309
|
-
* @param {
|
|
6310
|
-
* @throws {RequiredError}
|
|
6311
|
-
*/
|
|
6312
|
-
resourceTypeGetEnabledResourceTypes(options) {
|
|
6313
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
6314
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceTypeGetEnabledResourceTypes(options);
|
|
6315
|
-
return createRequestFunction$4(localVarAxiosArgs, axios, BASE_PATH$4, configuration);
|
|
6316
|
-
});
|
|
6317
|
-
},
|
|
6318
|
-
/**
|
|
6319
|
-
*
|
|
6320
|
-
* @summary Returns all fields of the specified resource type.
|
|
6321
|
-
* @param {string} id A guid as a string that identifies the resource.
|
|
7258
|
+
* @summary ORCiD Login Route
|
|
7259
|
+
* @param {string} [returnUrl] URL to be redirected to
|
|
6322
7260
|
* @param {*} [options] Override http request option.
|
|
6323
7261
|
* @throws {RequiredError}
|
|
6324
7262
|
*/
|
|
6325
|
-
|
|
7263
|
+
oRCiDLoginGET(returnUrl, options) {
|
|
6326
7264
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6327
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
6328
|
-
return createRequestFunction$
|
|
7265
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.oRCiDLoginGET(returnUrl, options);
|
|
7266
|
+
return createRequestFunction$3(localVarAxiosArgs, axios, BASE_PATH$3, configuration);
|
|
6329
7267
|
});
|
|
6330
7268
|
},
|
|
6331
7269
|
/**
|
|
6332
7270
|
*
|
|
6333
|
-
* @summary
|
|
7271
|
+
* @summary Execute ORCiD validation and login
|
|
7272
|
+
* @param {string} [oRCiDJWT]
|
|
7273
|
+
* @param {string} [returnUrl] URL to be redirected to
|
|
6334
7274
|
* @param {*} [options] Override http request option.
|
|
6335
7275
|
* @throws {RequiredError}
|
|
6336
7276
|
*/
|
|
6337
|
-
|
|
7277
|
+
oRCiDLoginPOST(oRCiDJWT, returnUrl, options) {
|
|
6338
7278
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6339
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
6340
|
-
return createRequestFunction$
|
|
7279
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.oRCiDLoginPOST(oRCiDJWT, returnUrl, options);
|
|
7280
|
+
return createRequestFunction$3(localVarAxiosArgs, axios, BASE_PATH$3, configuration);
|
|
6341
7281
|
});
|
|
6342
7282
|
},
|
|
6343
7283
|
};
|
|
6344
7284
|
};
|
|
6345
7285
|
/**
|
|
6346
|
-
*
|
|
7286
|
+
* ORCiDApi - factory interface
|
|
6347
7287
|
* @export
|
|
6348
7288
|
*/
|
|
6349
|
-
const
|
|
6350
|
-
const localVarFp =
|
|
7289
|
+
const ORCiDApiFactory = function (configuration, basePath, axios) {
|
|
7290
|
+
const localVarFp = ORCiDApiFp(configuration);
|
|
6351
7291
|
return {
|
|
6352
7292
|
/**
|
|
6353
7293
|
*
|
|
6354
|
-
* @summary
|
|
6355
|
-
* @param {
|
|
6356
|
-
* @throws {RequiredError}
|
|
6357
|
-
*/
|
|
6358
|
-
resourceTypeGetEnabledResourceTypes(options) {
|
|
6359
|
-
return localVarFp.resourceTypeGetEnabledResourceTypes(options).then((request) => request(axios, basePath));
|
|
6360
|
-
},
|
|
6361
|
-
/**
|
|
6362
|
-
*
|
|
6363
|
-
* @summary Returns all fields of the specified resource type.
|
|
6364
|
-
* @param {string} id A guid as a string that identifies the resource.
|
|
7294
|
+
* @summary ORCiD Login Route
|
|
7295
|
+
* @param {string} [returnUrl] URL to be redirected to
|
|
6365
7296
|
* @param {*} [options] Override http request option.
|
|
6366
7297
|
* @throws {RequiredError}
|
|
6367
7298
|
*/
|
|
6368
|
-
|
|
6369
|
-
return localVarFp.
|
|
7299
|
+
oRCiDLoginGET(returnUrl, options) {
|
|
7300
|
+
return localVarFp.oRCiDLoginGET(returnUrl, options).then((request) => request(axios, basePath));
|
|
6370
7301
|
},
|
|
6371
7302
|
/**
|
|
6372
7303
|
*
|
|
6373
|
-
* @summary
|
|
7304
|
+
* @summary Execute ORCiD validation and login
|
|
7305
|
+
* @param {string} [oRCiDJWT]
|
|
7306
|
+
* @param {string} [returnUrl] URL to be redirected to
|
|
6374
7307
|
* @param {*} [options] Override http request option.
|
|
6375
7308
|
* @throws {RequiredError}
|
|
6376
7309
|
*/
|
|
6377
|
-
|
|
6378
|
-
return localVarFp.
|
|
7310
|
+
oRCiDLoginPOST(oRCiDJWT, returnUrl, options) {
|
|
7311
|
+
return localVarFp.oRCiDLoginPOST(oRCiDJWT, returnUrl, options).then((request) => request(axios, basePath));
|
|
6379
7312
|
},
|
|
6380
7313
|
};
|
|
6381
|
-
};
|
|
6382
|
-
|
|
6383
|
-
/* tslint:disable */
|
|
6384
|
-
const BASE_PATH$3 = "https://d-sp23.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Search".replace(/\/+$/, "");
|
|
6385
|
-
|
|
6386
|
-
/* tslint:disable */
|
|
6387
|
-
/**
|
|
6388
|
-
*
|
|
6389
|
-
* @export
|
|
6390
|
-
*/
|
|
6391
|
-
const DUMMY_BASE_URL$3 = 'https://example.com';
|
|
6392
|
-
/**
|
|
6393
|
-
*
|
|
6394
|
-
* @export
|
|
6395
|
-
*/
|
|
6396
|
-
const setApiKeyToObject$3 = function (object, keyParamName, configuration) {
|
|
6397
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
6398
|
-
if (configuration && configuration.apiKey) {
|
|
6399
|
-
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
6400
|
-
? yield configuration.apiKey(keyParamName)
|
|
6401
|
-
: yield configuration.apiKey;
|
|
6402
|
-
object[keyParamName] = localVarApiKeyValue;
|
|
6403
|
-
}
|
|
6404
|
-
});
|
|
6405
|
-
};
|
|
6406
|
-
/**
|
|
6407
|
-
*
|
|
6408
|
-
* @export
|
|
6409
|
-
*/
|
|
6410
|
-
const setSearchParams$3 = function (url, ...objects) {
|
|
6411
|
-
const searchParams = new URLSearchParams(url.search);
|
|
6412
|
-
for (const object of objects) {
|
|
6413
|
-
for (const key in object) {
|
|
6414
|
-
if (Array.isArray(object[key])) {
|
|
6415
|
-
searchParams.delete(key);
|
|
6416
|
-
for (const item of object[key]) {
|
|
6417
|
-
searchParams.append(key, item);
|
|
6418
|
-
}
|
|
6419
|
-
}
|
|
6420
|
-
else {
|
|
6421
|
-
searchParams.set(key, object[key]);
|
|
6422
|
-
}
|
|
6423
|
-
}
|
|
6424
|
-
}
|
|
6425
|
-
url.search = searchParams.toString();
|
|
6426
7314
|
};
|
|
6427
7315
|
/**
|
|
6428
|
-
*
|
|
6429
|
-
* @export
|
|
6430
|
-
*/
|
|
6431
|
-
const toPathString$3 = function (url) {
|
|
6432
|
-
return url.pathname + url.search + url.hash;
|
|
6433
|
-
};
|
|
6434
|
-
/**
|
|
6435
|
-
*
|
|
6436
|
-
* @export
|
|
6437
|
-
*/
|
|
6438
|
-
const createRequestFunction$3 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
6439
|
-
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
6440
|
-
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
|
|
6441
|
-
return axios.request(axiosRequestArgs);
|
|
6442
|
-
};
|
|
6443
|
-
};
|
|
6444
|
-
|
|
6445
|
-
/* tslint:disable */
|
|
6446
|
-
/**
|
|
6447
|
-
*
|
|
6448
|
-
* @export
|
|
6449
|
-
* @enum {string}
|
|
6450
|
-
*/
|
|
6451
|
-
var ItemType;
|
|
6452
|
-
(function (ItemType) {
|
|
6453
|
-
ItemType["Metadata"] = "Metadata";
|
|
6454
|
-
ItemType["Project"] = "Project";
|
|
6455
|
-
ItemType["Resource"] = "Resource";
|
|
6456
|
-
})(ItemType || (ItemType = {}));
|
|
6457
|
-
/**
|
|
6458
|
-
* SearchApi - axios parameter creator
|
|
7316
|
+
* ShibbolethApi - axios parameter creator
|
|
6459
7317
|
* @export
|
|
6460
7318
|
*/
|
|
6461
|
-
const
|
|
7319
|
+
const ShibbolethApiAxiosParamCreator = function (configuration) {
|
|
6462
7320
|
return {
|
|
6463
7321
|
/**
|
|
6464
7322
|
*
|
|
6465
|
-
* @summary
|
|
6466
|
-
* @param {string} [
|
|
6467
|
-
* @param {
|
|
6468
|
-
* @param {boolean} [adv] Set true for advanced Elasticsearch search syntax
|
|
6469
|
-
* @param {Array<string>} [languages] Set the used languages
|
|
7323
|
+
* @summary Callback method to catch the login
|
|
7324
|
+
* @param {string} [returnUrl] URL to be redirected to
|
|
7325
|
+
* @param {string} [remoteError] Erros on remote login
|
|
6470
7326
|
* @param {*} [options] Override http request option.
|
|
6471
7327
|
* @throws {RequiredError}
|
|
6472
7328
|
*/
|
|
6473
|
-
|
|
6474
|
-
const localVarPath = `/
|
|
7329
|
+
shibbolethCallback: (returnUrl, remoteError, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
7330
|
+
const localVarPath = `/Shibboleth/callback`;
|
|
6475
7331
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6476
7332
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$3);
|
|
6477
7333
|
let baseOptions;
|
|
@@ -6483,17 +7339,46 @@
|
|
|
6483
7339
|
const localVarQueryParameter = {};
|
|
6484
7340
|
// authentication JWT token required
|
|
6485
7341
|
yield setApiKeyToObject$3(localVarHeaderParameter, "Authorization", configuration);
|
|
6486
|
-
if (
|
|
6487
|
-
localVarQueryParameter['
|
|
7342
|
+
if (returnUrl !== undefined) {
|
|
7343
|
+
localVarQueryParameter['returnUrl'] = returnUrl;
|
|
6488
7344
|
}
|
|
6489
|
-
if (
|
|
6490
|
-
localVarQueryParameter['
|
|
7345
|
+
if (remoteError !== undefined) {
|
|
7346
|
+
localVarQueryParameter['remoteError'] = remoteError;
|
|
6491
7347
|
}
|
|
6492
|
-
|
|
6493
|
-
|
|
7348
|
+
setSearchParams$3(localVarUrlObj, localVarQueryParameter, options.query);
|
|
7349
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7350
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7351
|
+
return {
|
|
7352
|
+
url: toPathString$3(localVarUrlObj),
|
|
7353
|
+
options: localVarRequestOptions,
|
|
7354
|
+
};
|
|
7355
|
+
}),
|
|
7356
|
+
/**
|
|
7357
|
+
*
|
|
7358
|
+
* @summary This method is the central route for logging into an identity provider. On default, the user is redirected to the WAFY of the DFN-AAI. Setting the \"entityId\" parameter allows the application to redirect to a specific identity provider defined by DFN-AAI.
|
|
7359
|
+
* @param {string} [returnUrl] URL to be redirected to
|
|
7360
|
+
* @param {string} [entityId] Specific Identitiy Provider to be redirect to
|
|
7361
|
+
* @param {*} [options] Override http request option.
|
|
7362
|
+
* @throws {RequiredError}
|
|
7363
|
+
*/
|
|
7364
|
+
shibbolethLogin: (returnUrl, entityId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
7365
|
+
const localVarPath = `/Shibboleth/login`;
|
|
7366
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7367
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$3);
|
|
7368
|
+
let baseOptions;
|
|
7369
|
+
if (configuration) {
|
|
7370
|
+
baseOptions = configuration.baseOptions;
|
|
6494
7371
|
}
|
|
6495
|
-
|
|
6496
|
-
|
|
7372
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
7373
|
+
const localVarHeaderParameter = {};
|
|
7374
|
+
const localVarQueryParameter = {};
|
|
7375
|
+
// authentication JWT token required
|
|
7376
|
+
yield setApiKeyToObject$3(localVarHeaderParameter, "Authorization", configuration);
|
|
7377
|
+
if (returnUrl !== undefined) {
|
|
7378
|
+
localVarQueryParameter['returnUrl'] = returnUrl;
|
|
7379
|
+
}
|
|
7380
|
+
if (entityId !== undefined) {
|
|
7381
|
+
localVarQueryParameter['entityId'] = entityId;
|
|
6497
7382
|
}
|
|
6498
7383
|
setSearchParams$3(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6499
7384
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -6506,49 +7391,70 @@
|
|
|
6506
7391
|
};
|
|
6507
7392
|
};
|
|
6508
7393
|
/**
|
|
6509
|
-
*
|
|
7394
|
+
* ShibbolethApi - functional programming interface
|
|
6510
7395
|
* @export
|
|
6511
7396
|
*/
|
|
6512
|
-
const
|
|
6513
|
-
const localVarAxiosParamCreator =
|
|
7397
|
+
const ShibbolethApiFp = function (configuration) {
|
|
7398
|
+
const localVarAxiosParamCreator = ShibbolethApiAxiosParamCreator(configuration);
|
|
6514
7399
|
return {
|
|
6515
7400
|
/**
|
|
6516
7401
|
*
|
|
6517
|
-
* @summary
|
|
6518
|
-
* @param {string} [
|
|
6519
|
-
* @param {
|
|
6520
|
-
* @param {boolean} [adv] Set true for advanced Elasticsearch search syntax
|
|
6521
|
-
* @param {Array<string>} [languages] Set the used languages
|
|
7402
|
+
* @summary Callback method to catch the login
|
|
7403
|
+
* @param {string} [returnUrl] URL to be redirected to
|
|
7404
|
+
* @param {string} [remoteError] Erros on remote login
|
|
6522
7405
|
* @param {*} [options] Override http request option.
|
|
6523
7406
|
* @throws {RequiredError}
|
|
6524
7407
|
*/
|
|
6525
|
-
|
|
7408
|
+
shibbolethCallback(returnUrl, remoteError, options) {
|
|
6526
7409
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6527
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
7410
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.shibbolethCallback(returnUrl, remoteError, options);
|
|
7411
|
+
return createRequestFunction$3(localVarAxiosArgs, axios, BASE_PATH$3, configuration);
|
|
7412
|
+
});
|
|
7413
|
+
},
|
|
7414
|
+
/**
|
|
7415
|
+
*
|
|
7416
|
+
* @summary This method is the central route for logging into an identity provider. On default, the user is redirected to the WAFY of the DFN-AAI. Setting the \"entityId\" parameter allows the application to redirect to a specific identity provider defined by DFN-AAI.
|
|
7417
|
+
* @param {string} [returnUrl] URL to be redirected to
|
|
7418
|
+
* @param {string} [entityId] Specific Identitiy Provider to be redirect to
|
|
7419
|
+
* @param {*} [options] Override http request option.
|
|
7420
|
+
* @throws {RequiredError}
|
|
7421
|
+
*/
|
|
7422
|
+
shibbolethLogin(returnUrl, entityId, options) {
|
|
7423
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7424
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.shibbolethLogin(returnUrl, entityId, options);
|
|
6528
7425
|
return createRequestFunction$3(localVarAxiosArgs, axios, BASE_PATH$3, configuration);
|
|
6529
7426
|
});
|
|
6530
7427
|
},
|
|
6531
7428
|
};
|
|
6532
7429
|
};
|
|
6533
7430
|
/**
|
|
6534
|
-
*
|
|
7431
|
+
* ShibbolethApi - factory interface
|
|
6535
7432
|
* @export
|
|
6536
7433
|
*/
|
|
6537
|
-
const
|
|
6538
|
-
const localVarFp =
|
|
7434
|
+
const ShibbolethApiFactory = function (configuration, basePath, axios) {
|
|
7435
|
+
const localVarFp = ShibbolethApiFp(configuration);
|
|
6539
7436
|
return {
|
|
6540
7437
|
/**
|
|
6541
7438
|
*
|
|
6542
|
-
* @summary
|
|
6543
|
-
* @param {string} [
|
|
6544
|
-
* @param {
|
|
6545
|
-
* @param {boolean} [adv] Set true for advanced Elasticsearch search syntax
|
|
6546
|
-
* @param {Array<string>} [languages] Set the used languages
|
|
7439
|
+
* @summary Callback method to catch the login
|
|
7440
|
+
* @param {string} [returnUrl] URL to be redirected to
|
|
7441
|
+
* @param {string} [remoteError] Erros on remote login
|
|
6547
7442
|
* @param {*} [options] Override http request option.
|
|
6548
7443
|
* @throws {RequiredError}
|
|
6549
7444
|
*/
|
|
6550
|
-
|
|
6551
|
-
return localVarFp.
|
|
7445
|
+
shibbolethCallback(returnUrl, remoteError, options) {
|
|
7446
|
+
return localVarFp.shibbolethCallback(returnUrl, remoteError, options).then((request) => request(axios, basePath));
|
|
7447
|
+
},
|
|
7448
|
+
/**
|
|
7449
|
+
*
|
|
7450
|
+
* @summary This method is the central route for logging into an identity provider. On default, the user is redirected to the WAFY of the DFN-AAI. Setting the \"entityId\" parameter allows the application to redirect to a specific identity provider defined by DFN-AAI.
|
|
7451
|
+
* @param {string} [returnUrl] URL to be redirected to
|
|
7452
|
+
* @param {string} [entityId] Specific Identitiy Provider to be redirect to
|
|
7453
|
+
* @param {*} [options] Override http request option.
|
|
7454
|
+
* @throws {RequiredError}
|
|
7455
|
+
*/
|
|
7456
|
+
shibbolethLogin(returnUrl, entityId, options) {
|
|
7457
|
+
return localVarFp.shibbolethLogin(returnUrl, entityId, options).then((request) => request(axios, basePath));
|
|
6552
7458
|
},
|
|
6553
7459
|
};
|
|
6554
7460
|
};
|
|
@@ -7572,6 +8478,33 @@
|
|
|
7572
8478
|
options: localVarRequestOptions,
|
|
7573
8479
|
};
|
|
7574
8480
|
}),
|
|
8481
|
+
/**
|
|
8482
|
+
*
|
|
8483
|
+
* @summary Returns the TOS Versions accepted by the current user.
|
|
8484
|
+
* @param {*} [options] Override http request option.
|
|
8485
|
+
* @throws {RequiredError}
|
|
8486
|
+
*/
|
|
8487
|
+
tOSAcceptedTOSVersion: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
8488
|
+
const localVarPath = `/TOS`;
|
|
8489
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8490
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8491
|
+
let baseOptions;
|
|
8492
|
+
if (configuration) {
|
|
8493
|
+
baseOptions = configuration.baseOptions;
|
|
8494
|
+
}
|
|
8495
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
8496
|
+
const localVarHeaderParameter = {};
|
|
8497
|
+
const localVarQueryParameter = {};
|
|
8498
|
+
// authentication JWT token required
|
|
8499
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
8500
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
8501
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8502
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8503
|
+
return {
|
|
8504
|
+
url: toPathString(localVarUrlObj),
|
|
8505
|
+
options: localVarRequestOptions,
|
|
8506
|
+
};
|
|
8507
|
+
}),
|
|
7575
8508
|
/**
|
|
7576
8509
|
*
|
|
7577
8510
|
* @summary Returns the current TOS Version.
|
|
@@ -7579,7 +8512,7 @@
|
|
|
7579
8512
|
* @throws {RequiredError}
|
|
7580
8513
|
*/
|
|
7581
8514
|
tOSGetCurrentTOSVersion: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
7582
|
-
const localVarPath = `/TOS`;
|
|
8515
|
+
const localVarPath = `/TOS/version`;
|
|
7583
8516
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7584
8517
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7585
8518
|
let baseOptions;
|
|
@@ -7620,6 +8553,18 @@
|
|
|
7620
8553
|
return createRequestFunction(localVarAxiosArgs, axios, BASE_PATH, configuration);
|
|
7621
8554
|
});
|
|
7622
8555
|
},
|
|
8556
|
+
/**
|
|
8557
|
+
*
|
|
8558
|
+
* @summary Returns the TOS Versions accepted by the current user.
|
|
8559
|
+
* @param {*} [options] Override http request option.
|
|
8560
|
+
* @throws {RequiredError}
|
|
8561
|
+
*/
|
|
8562
|
+
tOSAcceptedTOSVersion(options) {
|
|
8563
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8564
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.tOSAcceptedTOSVersion(options);
|
|
8565
|
+
return createRequestFunction(localVarAxiosArgs, axios, BASE_PATH, configuration);
|
|
8566
|
+
});
|
|
8567
|
+
},
|
|
7623
8568
|
/**
|
|
7624
8569
|
*
|
|
7625
8570
|
* @summary Returns the current TOS Version.
|
|
@@ -7650,6 +8595,15 @@
|
|
|
7650
8595
|
tOSAcceptCurrentTOSVersion(options) {
|
|
7651
8596
|
return localVarFp.tOSAcceptCurrentTOSVersion(options).then((request) => request(axios, basePath));
|
|
7652
8597
|
},
|
|
8598
|
+
/**
|
|
8599
|
+
*
|
|
8600
|
+
* @summary Returns the TOS Versions accepted by the current user.
|
|
8601
|
+
* @param {*} [options] Override http request option.
|
|
8602
|
+
* @throws {RequiredError}
|
|
8603
|
+
*/
|
|
8604
|
+
tOSAcceptedTOSVersion(options) {
|
|
8605
|
+
return localVarFp.tOSAcceptedTOSVersion(options).then((request) => request(axios, basePath));
|
|
8606
|
+
},
|
|
7653
8607
|
/**
|
|
7654
8608
|
*
|
|
7655
8609
|
* @summary Returns the current TOS Version.
|
|
@@ -8002,14 +8956,19 @@
|
|
|
8002
8956
|
};
|
|
8003
8957
|
function implementations(axios) {
|
|
8004
8958
|
return {
|
|
8959
|
+
AccountApi: AccountApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.STS', axios),
|
|
8005
8960
|
AdminApi: AdminApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Admin', axios),
|
|
8006
8961
|
BlobApi: BlobApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Blob', axios),
|
|
8007
8962
|
ContactChangeApi: ContactChangeApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.User', axios),
|
|
8008
8963
|
DisciplineApi: DisciplineApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios),
|
|
8964
|
+
GitLabApi: GitLabApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Resources', axios),
|
|
8965
|
+
HomeApi: HomeApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.STS', axios),
|
|
8009
8966
|
LanguageApi: LanguageApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.User', axios),
|
|
8010
8967
|
LicenseApi: LicenseApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios),
|
|
8968
|
+
MergeApi: MergeApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.STS', axios),
|
|
8011
8969
|
MetadataApi: MetadataApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Metadata', axios),
|
|
8012
8970
|
NoticeApi: NoticeApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Notices', axios),
|
|
8971
|
+
ORCiDApi: ORCiDApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.STS', axios),
|
|
8013
8972
|
OrganizationApi: OrganizationApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Organization', axios),
|
|
8014
8973
|
PidApi: PidApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Pid', axios),
|
|
8015
8974
|
ProjectApi: ProjectApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios),
|
|
@@ -8020,6 +8979,7 @@
|
|
|
8020
8979
|
ResourceTypeApi: ResourceTypeApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Resources', axios),
|
|
8021
8980
|
RoleApi: RoleApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios),
|
|
8022
8981
|
SearchApi: SearchApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Search', axios),
|
|
8982
|
+
ShibbolethApi: ShibbolethApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.STS', axios),
|
|
8023
8983
|
SubProjectApi: SubProjectApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios),
|
|
8024
8984
|
TitleApi: TitleApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.User', axios),
|
|
8025
8985
|
TokenApi: TokenApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Token', axios),
|
|
@@ -8069,14 +9029,19 @@
|
|
|
8069
9029
|
});
|
|
8070
9030
|
|
|
8071
9031
|
const apis = implementations(instance);
|
|
9032
|
+
const AccountApi = apis.AccountApi;
|
|
8072
9033
|
const AdminApi = apis.AdminApi;
|
|
8073
9034
|
const BlobApi = apis.BlobApi;
|
|
8074
9035
|
const ContactChangeApi = apis.ContactChangeApi;
|
|
8075
9036
|
const DisciplineApi = apis.DisciplineApi;
|
|
9037
|
+
const GitLabApi = apis.GitLabApi;
|
|
9038
|
+
const HomeApi = apis.HomeApi;
|
|
8076
9039
|
const LanguageApi = apis.LanguageApi;
|
|
8077
9040
|
const LicenseApi = apis.LicenseApi;
|
|
9041
|
+
const MergeApi = apis.MergeApi;
|
|
8078
9042
|
const MetadataApi = apis.MetadataApi;
|
|
8079
9043
|
const NoticeApi = apis.NoticeApi;
|
|
9044
|
+
const ORCiDApi = apis.ORCiDApi;
|
|
8080
9045
|
const OrganizationApi = apis.OrganizationApi;
|
|
8081
9046
|
const PidApi = apis.PidApi;
|
|
8082
9047
|
const ProjectApi = apis.ProjectApi;
|
|
@@ -8087,6 +9052,7 @@
|
|
|
8087
9052
|
const ResourceTypeApi = apis.ResourceTypeApi;
|
|
8088
9053
|
const RoleApi = apis.RoleApi;
|
|
8089
9054
|
const SearchApi = apis.SearchApi;
|
|
9055
|
+
const ShibbolethApi = apis.ShibbolethApi;
|
|
8090
9056
|
const SubProjectApi = apis.SubProjectApi;
|
|
8091
9057
|
const TitleApi = apis.TitleApi;
|
|
8092
9058
|
const TokenApi = apis.TokenApi;
|
|
@@ -8095,14 +9061,19 @@
|
|
|
8095
9061
|
const UserApi = apis.UserApi;
|
|
8096
9062
|
const VisibilityApi = apis.VisibilityApi;
|
|
8097
9063
|
|
|
9064
|
+
exports.AccountApi = AccountApi;
|
|
8098
9065
|
exports.AdminApi = AdminApi;
|
|
8099
9066
|
exports.BlobApi = BlobApi;
|
|
8100
9067
|
exports.ContactChangeApi = ContactChangeApi;
|
|
8101
9068
|
exports.DisciplineApi = DisciplineApi;
|
|
9069
|
+
exports.GitLabApi = GitLabApi;
|
|
9070
|
+
exports.HomeApi = HomeApi;
|
|
8102
9071
|
exports.LanguageApi = LanguageApi;
|
|
8103
9072
|
exports.LicenseApi = LicenseApi;
|
|
9073
|
+
exports.MergeApi = MergeApi;
|
|
8104
9074
|
exports.MetadataApi = MetadataApi;
|
|
8105
9075
|
exports.NoticeApi = NoticeApi;
|
|
9076
|
+
exports.ORCiDApi = ORCiDApi;
|
|
8106
9077
|
exports.OrganizationApi = OrganizationApi;
|
|
8107
9078
|
exports.PidApi = PidApi;
|
|
8108
9079
|
exports.ProjectApi = ProjectApi;
|
|
@@ -8113,6 +9084,7 @@
|
|
|
8113
9084
|
exports.ResourceTypeApi = ResourceTypeApi;
|
|
8114
9085
|
exports.RoleApi = RoleApi;
|
|
8115
9086
|
exports.SearchApi = SearchApi;
|
|
9087
|
+
exports.ShibbolethApi = ShibbolethApi;
|
|
8116
9088
|
exports.SubProjectApi = SubProjectApi;
|
|
8117
9089
|
exports.TOSApi = TOSApi;
|
|
8118
9090
|
exports.TitleApi = TitleApi;
|