@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.js
CHANGED
|
@@ -1849,7 +1849,7 @@ axios$2.exports.default = axios$1;
|
|
|
1849
1849
|
var axios = axios$2.exports;
|
|
1850
1850
|
|
|
1851
1851
|
/* tslint:disable */
|
|
1852
|
-
const BASE_PATH$
|
|
1852
|
+
const BASE_PATH$c = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Admin".replace(/\/+$/, "");
|
|
1853
1853
|
/**
|
|
1854
1854
|
*
|
|
1855
1855
|
* @export
|
|
@@ -1869,7 +1869,7 @@ class RequiredError$a extends Error {
|
|
|
1869
1869
|
*
|
|
1870
1870
|
* @export
|
|
1871
1871
|
*/
|
|
1872
|
-
const DUMMY_BASE_URL$
|
|
1872
|
+
const DUMMY_BASE_URL$c = 'https://example.com';
|
|
1873
1873
|
/**
|
|
1874
1874
|
*
|
|
1875
1875
|
* @throws {RequiredError}
|
|
@@ -1884,7 +1884,7 @@ const assertParamExists$a = function (functionName, paramName, paramValue) {
|
|
|
1884
1884
|
*
|
|
1885
1885
|
* @export
|
|
1886
1886
|
*/
|
|
1887
|
-
const setApiKeyToObject$
|
|
1887
|
+
const setApiKeyToObject$c = function (object, keyParamName, configuration) {
|
|
1888
1888
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1889
1889
|
if (configuration && configuration.apiKey) {
|
|
1890
1890
|
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
@@ -1898,7 +1898,7 @@ const setApiKeyToObject$b = function (object, keyParamName, configuration) {
|
|
|
1898
1898
|
*
|
|
1899
1899
|
* @export
|
|
1900
1900
|
*/
|
|
1901
|
-
const setSearchParams$
|
|
1901
|
+
const setSearchParams$c = function (url, ...objects) {
|
|
1902
1902
|
const searchParams = new URLSearchParams(url.search);
|
|
1903
1903
|
for (const object of objects) {
|
|
1904
1904
|
for (const key in object) {
|
|
@@ -1932,14 +1932,14 @@ const serializeDataIfNeeded$6 = function (value, requestOptions, configuration)
|
|
|
1932
1932
|
*
|
|
1933
1933
|
* @export
|
|
1934
1934
|
*/
|
|
1935
|
-
const toPathString$
|
|
1935
|
+
const toPathString$c = function (url) {
|
|
1936
1936
|
return url.pathname + url.search + url.hash;
|
|
1937
1937
|
};
|
|
1938
1938
|
/**
|
|
1939
1939
|
*
|
|
1940
1940
|
* @export
|
|
1941
1941
|
*/
|
|
1942
|
-
const createRequestFunction$
|
|
1942
|
+
const createRequestFunction$c = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
1943
1943
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
1944
1944
|
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
|
|
1945
1945
|
return axios.request(axiosRequestArgs);
|
|
@@ -1980,7 +1980,7 @@ const AdminApiAxiosParamCreator = function (configuration) {
|
|
|
1980
1980
|
const localVarPath = `/Admin/{projectString}`
|
|
1981
1981
|
.replace(`{${"projectString"}}`, encodeURIComponent(String(projectString)));
|
|
1982
1982
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1983
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
1983
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$c);
|
|
1984
1984
|
let baseOptions;
|
|
1985
1985
|
if (configuration) {
|
|
1986
1986
|
baseOptions = configuration.baseOptions;
|
|
@@ -1989,12 +1989,12 @@ const AdminApiAxiosParamCreator = function (configuration) {
|
|
|
1989
1989
|
const localVarHeaderParameter = {};
|
|
1990
1990
|
const localVarQueryParameter = {};
|
|
1991
1991
|
// authentication JWT token required
|
|
1992
|
-
yield setApiKeyToObject$
|
|
1993
|
-
setSearchParams$
|
|
1992
|
+
yield setApiKeyToObject$c(localVarHeaderParameter, "Authorization", configuration);
|
|
1993
|
+
setSearchParams$c(localVarUrlObj, localVarQueryParameter, options.query);
|
|
1994
1994
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1995
1995
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1996
1996
|
return {
|
|
1997
|
-
url: toPathString$
|
|
1997
|
+
url: toPathString$c(localVarUrlObj),
|
|
1998
1998
|
options: localVarRequestOptions,
|
|
1999
1999
|
};
|
|
2000
2000
|
}),
|
|
@@ -2018,7 +2018,7 @@ const AdminApiAxiosParamCreator = function (configuration) {
|
|
|
2018
2018
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)))
|
|
2019
2019
|
.replace(`{${"resourceTypeId"}}`, encodeURIComponent(String(resourceTypeId)));
|
|
2020
2020
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2021
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
2021
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$c);
|
|
2022
2022
|
let baseOptions;
|
|
2023
2023
|
if (configuration) {
|
|
2024
2024
|
baseOptions = configuration.baseOptions;
|
|
@@ -2027,14 +2027,14 @@ const AdminApiAxiosParamCreator = function (configuration) {
|
|
|
2027
2027
|
const localVarHeaderParameter = {};
|
|
2028
2028
|
const localVarQueryParameter = {};
|
|
2029
2029
|
// authentication JWT token required
|
|
2030
|
-
yield setApiKeyToObject$
|
|
2030
|
+
yield setApiKeyToObject$c(localVarHeaderParameter, "Authorization", configuration);
|
|
2031
2031
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2032
|
-
setSearchParams$
|
|
2032
|
+
setSearchParams$c(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2033
2033
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2034
2034
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2035
2035
|
localVarRequestOptions.data = serializeDataIfNeeded$6(updateQuotaParameterObject, localVarRequestOptions, configuration);
|
|
2036
2036
|
return {
|
|
2037
|
-
url: toPathString$
|
|
2037
|
+
url: toPathString$c(localVarUrlObj),
|
|
2038
2038
|
options: localVarRequestOptions,
|
|
2039
2039
|
};
|
|
2040
2040
|
}),
|
|
@@ -2057,7 +2057,7 @@ const AdminApiFp = function (configuration) {
|
|
|
2057
2057
|
adminGetProject(projectString, options) {
|
|
2058
2058
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2059
2059
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminGetProject(projectString, options);
|
|
2060
|
-
return createRequestFunction$
|
|
2060
|
+
return createRequestFunction$c(localVarAxiosArgs, axios, BASE_PATH$c, configuration);
|
|
2061
2061
|
});
|
|
2062
2062
|
},
|
|
2063
2063
|
/**
|
|
@@ -2072,7 +2072,7 @@ const AdminApiFp = function (configuration) {
|
|
|
2072
2072
|
adminUpdateQuota(projectId, resourceTypeId, updateQuotaParameterObject, options) {
|
|
2073
2073
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2074
2074
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminUpdateQuota(projectId, resourceTypeId, updateQuotaParameterObject, options);
|
|
2075
|
-
return createRequestFunction$
|
|
2075
|
+
return createRequestFunction$c(localVarAxiosArgs, axios, BASE_PATH$c, configuration);
|
|
2076
2076
|
});
|
|
2077
2077
|
},
|
|
2078
2078
|
};
|
|
@@ -2115,7 +2115,7 @@ const AdminApiFactory = function (configuration, basePath, axios) {
|
|
|
2115
2115
|
* Coscine.Api.Admin
|
|
2116
2116
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
2117
2117
|
*
|
|
2118
|
-
* The version of the OpenAPI document: 3.0.
|
|
2118
|
+
* The version of the OpenAPI document: 3.0.2
|
|
2119
2119
|
*
|
|
2120
2120
|
*
|
|
2121
2121
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2149,7 +2149,7 @@ class Configuration {
|
|
|
2149
2149
|
}
|
|
2150
2150
|
|
|
2151
2151
|
/* tslint:disable */
|
|
2152
|
-
const BASE_PATH$
|
|
2152
|
+
const BASE_PATH$b = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Blob".replace(/\/+$/, "");
|
|
2153
2153
|
/**
|
|
2154
2154
|
*
|
|
2155
2155
|
* @export
|
|
@@ -2169,7 +2169,7 @@ class RequiredError$9 extends Error {
|
|
|
2169
2169
|
*
|
|
2170
2170
|
* @export
|
|
2171
2171
|
*/
|
|
2172
|
-
const DUMMY_BASE_URL$
|
|
2172
|
+
const DUMMY_BASE_URL$b = 'https://example.com';
|
|
2173
2173
|
/**
|
|
2174
2174
|
*
|
|
2175
2175
|
* @throws {RequiredError}
|
|
@@ -2184,7 +2184,7 @@ const assertParamExists$9 = function (functionName, paramName, paramValue) {
|
|
|
2184
2184
|
*
|
|
2185
2185
|
* @export
|
|
2186
2186
|
*/
|
|
2187
|
-
const setApiKeyToObject$
|
|
2187
|
+
const setApiKeyToObject$b = function (object, keyParamName, configuration) {
|
|
2188
2188
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2189
2189
|
if (configuration && configuration.apiKey) {
|
|
2190
2190
|
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
@@ -2198,7 +2198,7 @@ const setApiKeyToObject$a = function (object, keyParamName, configuration) {
|
|
|
2198
2198
|
*
|
|
2199
2199
|
* @export
|
|
2200
2200
|
*/
|
|
2201
|
-
const setSearchParams$
|
|
2201
|
+
const setSearchParams$b = function (url, ...objects) {
|
|
2202
2202
|
const searchParams = new URLSearchParams(url.search);
|
|
2203
2203
|
for (const object of objects) {
|
|
2204
2204
|
for (const key in object) {
|
|
@@ -2219,14 +2219,14 @@ const setSearchParams$a = function (url, ...objects) {
|
|
|
2219
2219
|
*
|
|
2220
2220
|
* @export
|
|
2221
2221
|
*/
|
|
2222
|
-
const toPathString$
|
|
2222
|
+
const toPathString$b = function (url) {
|
|
2223
2223
|
return url.pathname + url.search + url.hash;
|
|
2224
2224
|
};
|
|
2225
2225
|
/**
|
|
2226
2226
|
*
|
|
2227
2227
|
* @export
|
|
2228
2228
|
*/
|
|
2229
|
-
const createRequestFunction$
|
|
2229
|
+
const createRequestFunction$b = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
2230
2230
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
2231
2231
|
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
|
|
2232
2232
|
return axios.request(axiosRequestArgs);
|
|
@@ -2254,7 +2254,7 @@ const BlobApiAxiosParamCreator = function (configuration) {
|
|
|
2254
2254
|
const localVarPath = `/Blob/{resourceId}`
|
|
2255
2255
|
.replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)));
|
|
2256
2256
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2257
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
2257
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$b);
|
|
2258
2258
|
let baseOptions;
|
|
2259
2259
|
if (configuration) {
|
|
2260
2260
|
baseOptions = configuration.baseOptions;
|
|
@@ -2263,15 +2263,15 @@ const BlobApiAxiosParamCreator = function (configuration) {
|
|
|
2263
2263
|
const localVarHeaderParameter = {};
|
|
2264
2264
|
const localVarQueryParameter = {};
|
|
2265
2265
|
// authentication JWT token required
|
|
2266
|
-
yield setApiKeyToObject$
|
|
2266
|
+
yield setApiKeyToObject$b(localVarHeaderParameter, "Authorization", configuration);
|
|
2267
2267
|
if (path !== undefined) {
|
|
2268
2268
|
localVarQueryParameter['path'] = path;
|
|
2269
2269
|
}
|
|
2270
|
-
setSearchParams$
|
|
2270
|
+
setSearchParams$b(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2271
2271
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2272
2272
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2273
2273
|
return {
|
|
2274
|
-
url: toPathString$
|
|
2274
|
+
url: toPathString$b(localVarUrlObj),
|
|
2275
2275
|
options: localVarRequestOptions,
|
|
2276
2276
|
};
|
|
2277
2277
|
}),
|
|
@@ -2289,7 +2289,7 @@ const BlobApiAxiosParamCreator = function (configuration) {
|
|
|
2289
2289
|
const localVarPath = `/Blob/{resourceId}`
|
|
2290
2290
|
.replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)));
|
|
2291
2291
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2292
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
2292
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$b);
|
|
2293
2293
|
let baseOptions;
|
|
2294
2294
|
if (configuration) {
|
|
2295
2295
|
baseOptions = configuration.baseOptions;
|
|
@@ -2298,15 +2298,15 @@ const BlobApiAxiosParamCreator = function (configuration) {
|
|
|
2298
2298
|
const localVarHeaderParameter = {};
|
|
2299
2299
|
const localVarQueryParameter = {};
|
|
2300
2300
|
// authentication JWT token required
|
|
2301
|
-
yield setApiKeyToObject$
|
|
2301
|
+
yield setApiKeyToObject$b(localVarHeaderParameter, "Authorization", configuration);
|
|
2302
2302
|
if (path !== undefined) {
|
|
2303
2303
|
localVarQueryParameter['path'] = path;
|
|
2304
2304
|
}
|
|
2305
|
-
setSearchParams$
|
|
2305
|
+
setSearchParams$b(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2306
2306
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2307
2307
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2308
2308
|
return {
|
|
2309
|
-
url: toPathString$
|
|
2309
|
+
url: toPathString$b(localVarUrlObj),
|
|
2310
2310
|
options: localVarRequestOptions,
|
|
2311
2311
|
};
|
|
2312
2312
|
}),
|
|
@@ -2325,7 +2325,7 @@ const BlobApiAxiosParamCreator = function (configuration) {
|
|
|
2325
2325
|
const localVarPath = `/Blob/{resourceId}`
|
|
2326
2326
|
.replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)));
|
|
2327
2327
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2328
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
2328
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$b);
|
|
2329
2329
|
let baseOptions;
|
|
2330
2330
|
if (configuration) {
|
|
2331
2331
|
baseOptions = configuration.baseOptions;
|
|
@@ -2335,7 +2335,7 @@ const BlobApiAxiosParamCreator = function (configuration) {
|
|
|
2335
2335
|
const localVarQueryParameter = {};
|
|
2336
2336
|
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
2337
2337
|
// authentication JWT token required
|
|
2338
|
-
yield setApiKeyToObject$
|
|
2338
|
+
yield setApiKeyToObject$b(localVarHeaderParameter, "Authorization", configuration);
|
|
2339
2339
|
if (path !== undefined) {
|
|
2340
2340
|
localVarQueryParameter['path'] = path;
|
|
2341
2341
|
}
|
|
@@ -2345,12 +2345,12 @@ const BlobApiAxiosParamCreator = function (configuration) {
|
|
|
2345
2345
|
});
|
|
2346
2346
|
}
|
|
2347
2347
|
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
2348
|
-
setSearchParams$
|
|
2348
|
+
setSearchParams$b(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2349
2349
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2350
2350
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2351
2351
|
localVarRequestOptions.data = localVarFormParams;
|
|
2352
2352
|
return {
|
|
2353
|
-
url: toPathString$
|
|
2353
|
+
url: toPathString$b(localVarUrlObj),
|
|
2354
2354
|
options: localVarRequestOptions,
|
|
2355
2355
|
};
|
|
2356
2356
|
}),
|
|
@@ -2374,7 +2374,7 @@ const BlobApiFp = function (configuration) {
|
|
|
2374
2374
|
blobDeleteFileWithParameter(resourceId, path, options) {
|
|
2375
2375
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2376
2376
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.blobDeleteFileWithParameter(resourceId, path, options);
|
|
2377
|
-
return createRequestFunction$
|
|
2377
|
+
return createRequestFunction$b(localVarAxiosArgs, axios, BASE_PATH$b, configuration);
|
|
2378
2378
|
});
|
|
2379
2379
|
},
|
|
2380
2380
|
/**
|
|
@@ -2388,7 +2388,7 @@ const BlobApiFp = function (configuration) {
|
|
|
2388
2388
|
blobGetFileWithParameter(resourceId, path, options) {
|
|
2389
2389
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2390
2390
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.blobGetFileWithParameter(resourceId, path, options);
|
|
2391
|
-
return createRequestFunction$
|
|
2391
|
+
return createRequestFunction$b(localVarAxiosArgs, axios, BASE_PATH$b, configuration);
|
|
2392
2392
|
});
|
|
2393
2393
|
},
|
|
2394
2394
|
/**
|
|
@@ -2403,7 +2403,7 @@ const BlobApiFp = function (configuration) {
|
|
|
2403
2403
|
blobUploadFileWithParameter(resourceId, path, files, options) {
|
|
2404
2404
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2405
2405
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.blobUploadFileWithParameter(resourceId, path, files, options);
|
|
2406
|
-
return createRequestFunction$
|
|
2406
|
+
return createRequestFunction$b(localVarAxiosArgs, axios, BASE_PATH$b, configuration);
|
|
2407
2407
|
});
|
|
2408
2408
|
},
|
|
2409
2409
|
};
|
|
@@ -2453,7 +2453,7 @@ const BlobApiFactory = function (configuration, basePath, axios) {
|
|
|
2453
2453
|
};
|
|
2454
2454
|
|
|
2455
2455
|
/* tslint:disable */
|
|
2456
|
-
const BASE_PATH$
|
|
2456
|
+
const BASE_PATH$a = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Metadata".replace(/\/+$/, "");
|
|
2457
2457
|
/**
|
|
2458
2458
|
*
|
|
2459
2459
|
* @export
|
|
@@ -2473,7 +2473,7 @@ class RequiredError$8 extends Error {
|
|
|
2473
2473
|
*
|
|
2474
2474
|
* @export
|
|
2475
2475
|
*/
|
|
2476
|
-
const DUMMY_BASE_URL$
|
|
2476
|
+
const DUMMY_BASE_URL$a = 'https://example.com';
|
|
2477
2477
|
/**
|
|
2478
2478
|
*
|
|
2479
2479
|
* @throws {RequiredError}
|
|
@@ -2488,7 +2488,7 @@ const assertParamExists$8 = function (functionName, paramName, paramValue) {
|
|
|
2488
2488
|
*
|
|
2489
2489
|
* @export
|
|
2490
2490
|
*/
|
|
2491
|
-
const setApiKeyToObject$
|
|
2491
|
+
const setApiKeyToObject$a = function (object, keyParamName, configuration) {
|
|
2492
2492
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2493
2493
|
if (configuration && configuration.apiKey) {
|
|
2494
2494
|
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
@@ -2502,7 +2502,7 @@ const setApiKeyToObject$9 = function (object, keyParamName, configuration) {
|
|
|
2502
2502
|
*
|
|
2503
2503
|
* @export
|
|
2504
2504
|
*/
|
|
2505
|
-
const setSearchParams$
|
|
2505
|
+
const setSearchParams$a = function (url, ...objects) {
|
|
2506
2506
|
const searchParams = new URLSearchParams(url.search);
|
|
2507
2507
|
for (const object of objects) {
|
|
2508
2508
|
for (const key in object) {
|
|
@@ -2536,14 +2536,14 @@ const serializeDataIfNeeded$5 = function (value, requestOptions, configuration)
|
|
|
2536
2536
|
*
|
|
2537
2537
|
* @export
|
|
2538
2538
|
*/
|
|
2539
|
-
const toPathString$
|
|
2539
|
+
const toPathString$a = function (url) {
|
|
2540
2540
|
return url.pathname + url.search + url.hash;
|
|
2541
2541
|
};
|
|
2542
2542
|
/**
|
|
2543
2543
|
*
|
|
2544
2544
|
* @export
|
|
2545
2545
|
*/
|
|
2546
|
-
const createRequestFunction$
|
|
2546
|
+
const createRequestFunction$a = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
2547
2547
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
2548
2548
|
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
|
|
2549
2549
|
return axios.request(axiosRequestArgs);
|
|
@@ -2570,7 +2570,7 @@ const MetadataApiAxiosParamCreator = function (configuration) {
|
|
|
2570
2570
|
const localVarPath = `/Metadata/instances/{className}`
|
|
2571
2571
|
.replace(`{${"className"}}`, encodeURIComponent(String(className)));
|
|
2572
2572
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2573
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
2573
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$a);
|
|
2574
2574
|
let baseOptions;
|
|
2575
2575
|
if (configuration) {
|
|
2576
2576
|
baseOptions = configuration.baseOptions;
|
|
@@ -2579,12 +2579,12 @@ const MetadataApiAxiosParamCreator = function (configuration) {
|
|
|
2579
2579
|
const localVarHeaderParameter = {};
|
|
2580
2580
|
const localVarQueryParameter = {};
|
|
2581
2581
|
// authentication JWT token required
|
|
2582
|
-
yield setApiKeyToObject$
|
|
2583
|
-
setSearchParams$
|
|
2582
|
+
yield setApiKeyToObject$a(localVarHeaderParameter, "Authorization", configuration);
|
|
2583
|
+
setSearchParams$a(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2584
2584
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2585
2585
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2586
2586
|
return {
|
|
2587
|
-
url: toPathString$
|
|
2587
|
+
url: toPathString$a(localVarUrlObj),
|
|
2588
2588
|
options: localVarRequestOptions,
|
|
2589
2589
|
};
|
|
2590
2590
|
}),
|
|
@@ -2601,7 +2601,7 @@ const MetadataApiAxiosParamCreator = function (configuration) {
|
|
|
2601
2601
|
const localVarPath = `/Metadata/profiles/{profile}`
|
|
2602
2602
|
.replace(`{${"profile"}}`, encodeURIComponent(String(profile)));
|
|
2603
2603
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2604
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
2604
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$a);
|
|
2605
2605
|
let baseOptions;
|
|
2606
2606
|
if (configuration) {
|
|
2607
2607
|
baseOptions = configuration.baseOptions;
|
|
@@ -2610,12 +2610,12 @@ const MetadataApiAxiosParamCreator = function (configuration) {
|
|
|
2610
2610
|
const localVarHeaderParameter = {};
|
|
2611
2611
|
const localVarQueryParameter = {};
|
|
2612
2612
|
// authentication JWT token required
|
|
2613
|
-
yield setApiKeyToObject$
|
|
2614
|
-
setSearchParams$
|
|
2613
|
+
yield setApiKeyToObject$a(localVarHeaderParameter, "Authorization", configuration);
|
|
2614
|
+
setSearchParams$a(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2615
2615
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2616
2616
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2617
2617
|
return {
|
|
2618
|
-
url: toPathString$
|
|
2618
|
+
url: toPathString$a(localVarUrlObj),
|
|
2619
2619
|
options: localVarRequestOptions,
|
|
2620
2620
|
};
|
|
2621
2621
|
}),
|
|
@@ -2628,7 +2628,7 @@ const MetadataApiAxiosParamCreator = function (configuration) {
|
|
|
2628
2628
|
metadataGetProfiles: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2629
2629
|
const localVarPath = `/Metadata/profiles`;
|
|
2630
2630
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2631
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
2631
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$a);
|
|
2632
2632
|
let baseOptions;
|
|
2633
2633
|
if (configuration) {
|
|
2634
2634
|
baseOptions = configuration.baseOptions;
|
|
@@ -2637,12 +2637,12 @@ const MetadataApiAxiosParamCreator = function (configuration) {
|
|
|
2637
2637
|
const localVarHeaderParameter = {};
|
|
2638
2638
|
const localVarQueryParameter = {};
|
|
2639
2639
|
// authentication JWT token required
|
|
2640
|
-
yield setApiKeyToObject$
|
|
2641
|
-
setSearchParams$
|
|
2640
|
+
yield setApiKeyToObject$a(localVarHeaderParameter, "Authorization", configuration);
|
|
2641
|
+
setSearchParams$a(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2642
2642
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2643
2643
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2644
2644
|
return {
|
|
2645
|
-
url: toPathString$
|
|
2645
|
+
url: toPathString$a(localVarUrlObj),
|
|
2646
2646
|
options: localVarRequestOptions,
|
|
2647
2647
|
};
|
|
2648
2648
|
}),
|
|
@@ -2655,7 +2655,7 @@ const MetadataApiAxiosParamCreator = function (configuration) {
|
|
|
2655
2655
|
metadataGetVocabularies: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2656
2656
|
const localVarPath = `/Metadata/vocabularies`;
|
|
2657
2657
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2658
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
2658
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$a);
|
|
2659
2659
|
let baseOptions;
|
|
2660
2660
|
if (configuration) {
|
|
2661
2661
|
baseOptions = configuration.baseOptions;
|
|
@@ -2664,12 +2664,12 @@ const MetadataApiAxiosParamCreator = function (configuration) {
|
|
|
2664
2664
|
const localVarHeaderParameter = {};
|
|
2665
2665
|
const localVarQueryParameter = {};
|
|
2666
2666
|
// authentication JWT token required
|
|
2667
|
-
yield setApiKeyToObject$
|
|
2668
|
-
setSearchParams$
|
|
2667
|
+
yield setApiKeyToObject$a(localVarHeaderParameter, "Authorization", configuration);
|
|
2668
|
+
setSearchParams$a(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2669
2669
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2670
2670
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2671
2671
|
return {
|
|
2672
|
-
url: toPathString$
|
|
2672
|
+
url: toPathString$a(localVarUrlObj),
|
|
2673
2673
|
options: localVarRequestOptions,
|
|
2674
2674
|
};
|
|
2675
2675
|
}),
|
|
@@ -2686,7 +2686,7 @@ const MetadataApiAxiosParamCreator = function (configuration) {
|
|
|
2686
2686
|
const localVarPath = `/Metadata/vocabularies/{path}`
|
|
2687
2687
|
.replace(`{${"path"}}`, encodeURIComponent(String(path)));
|
|
2688
2688
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2689
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
2689
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$a);
|
|
2690
2690
|
let baseOptions;
|
|
2691
2691
|
if (configuration) {
|
|
2692
2692
|
baseOptions = configuration.baseOptions;
|
|
@@ -2695,12 +2695,12 @@ const MetadataApiAxiosParamCreator = function (configuration) {
|
|
|
2695
2695
|
const localVarHeaderParameter = {};
|
|
2696
2696
|
const localVarQueryParameter = {};
|
|
2697
2697
|
// authentication JWT token required
|
|
2698
|
-
yield setApiKeyToObject$
|
|
2699
|
-
setSearchParams$
|
|
2698
|
+
yield setApiKeyToObject$a(localVarHeaderParameter, "Authorization", configuration);
|
|
2699
|
+
setSearchParams$a(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2700
2700
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2701
2701
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2702
2702
|
return {
|
|
2703
|
-
url: toPathString$
|
|
2703
|
+
url: toPathString$a(localVarUrlObj),
|
|
2704
2704
|
options: localVarRequestOptions,
|
|
2705
2705
|
};
|
|
2706
2706
|
}),
|
|
@@ -2716,7 +2716,7 @@ const MetadataApiAxiosParamCreator = function (configuration) {
|
|
|
2716
2716
|
assertParamExists$8('metadataSaveApplicationProfile', 'applicationProfile', applicationProfile);
|
|
2717
2717
|
const localVarPath = `/Metadata/profiles`;
|
|
2718
2718
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2719
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
2719
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$a);
|
|
2720
2720
|
let baseOptions;
|
|
2721
2721
|
if (configuration) {
|
|
2722
2722
|
baseOptions = configuration.baseOptions;
|
|
@@ -2725,14 +2725,14 @@ const MetadataApiAxiosParamCreator = function (configuration) {
|
|
|
2725
2725
|
const localVarHeaderParameter = {};
|
|
2726
2726
|
const localVarQueryParameter = {};
|
|
2727
2727
|
// authentication JWT token required
|
|
2728
|
-
yield setApiKeyToObject$
|
|
2728
|
+
yield setApiKeyToObject$a(localVarHeaderParameter, "Authorization", configuration);
|
|
2729
2729
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2730
|
-
setSearchParams$
|
|
2730
|
+
setSearchParams$a(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2731
2731
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2732
2732
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2733
2733
|
localVarRequestOptions.data = serializeDataIfNeeded$5(applicationProfile, localVarRequestOptions, configuration);
|
|
2734
2734
|
return {
|
|
2735
|
-
url: toPathString$
|
|
2735
|
+
url: toPathString$a(localVarUrlObj),
|
|
2736
2736
|
options: localVarRequestOptions,
|
|
2737
2737
|
};
|
|
2738
2738
|
}),
|
|
@@ -2755,7 +2755,7 @@ const MetadataApiFp = function (configuration) {
|
|
|
2755
2755
|
metadataGetClassInstances(className, options) {
|
|
2756
2756
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2757
2757
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.metadataGetClassInstances(className, options);
|
|
2758
|
-
return createRequestFunction$
|
|
2758
|
+
return createRequestFunction$a(localVarAxiosArgs, axios, BASE_PATH$a, configuration);
|
|
2759
2759
|
});
|
|
2760
2760
|
},
|
|
2761
2761
|
/**
|
|
@@ -2768,7 +2768,7 @@ const MetadataApiFp = function (configuration) {
|
|
|
2768
2768
|
metadataGetProfile(profile, options) {
|
|
2769
2769
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2770
2770
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.metadataGetProfile(profile, options);
|
|
2771
|
-
return createRequestFunction$
|
|
2771
|
+
return createRequestFunction$a(localVarAxiosArgs, axios, BASE_PATH$a, configuration);
|
|
2772
2772
|
});
|
|
2773
2773
|
},
|
|
2774
2774
|
/**
|
|
@@ -2780,7 +2780,7 @@ const MetadataApiFp = function (configuration) {
|
|
|
2780
2780
|
metadataGetProfiles(options) {
|
|
2781
2781
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2782
2782
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.metadataGetProfiles(options);
|
|
2783
|
-
return createRequestFunction$
|
|
2783
|
+
return createRequestFunction$a(localVarAxiosArgs, axios, BASE_PATH$a, configuration);
|
|
2784
2784
|
});
|
|
2785
2785
|
},
|
|
2786
2786
|
/**
|
|
@@ -2792,7 +2792,7 @@ const MetadataApiFp = function (configuration) {
|
|
|
2792
2792
|
metadataGetVocabularies(options) {
|
|
2793
2793
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2794
2794
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.metadataGetVocabularies(options);
|
|
2795
|
-
return createRequestFunction$
|
|
2795
|
+
return createRequestFunction$a(localVarAxiosArgs, axios, BASE_PATH$a, configuration);
|
|
2796
2796
|
});
|
|
2797
2797
|
},
|
|
2798
2798
|
/**
|
|
@@ -2805,7 +2805,7 @@ const MetadataApiFp = function (configuration) {
|
|
|
2805
2805
|
metadataGetVocabulary(path, options) {
|
|
2806
2806
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2807
2807
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.metadataGetVocabulary(path, options);
|
|
2808
|
-
return createRequestFunction$
|
|
2808
|
+
return createRequestFunction$a(localVarAxiosArgs, axios, BASE_PATH$a, configuration);
|
|
2809
2809
|
});
|
|
2810
2810
|
},
|
|
2811
2811
|
/**
|
|
@@ -2818,7 +2818,7 @@ const MetadataApiFp = function (configuration) {
|
|
|
2818
2818
|
metadataSaveApplicationProfile(applicationProfile, options) {
|
|
2819
2819
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2820
2820
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.metadataSaveApplicationProfile(applicationProfile, options);
|
|
2821
|
-
return createRequestFunction$
|
|
2821
|
+
return createRequestFunction$a(localVarAxiosArgs, axios, BASE_PATH$a, configuration);
|
|
2822
2822
|
});
|
|
2823
2823
|
},
|
|
2824
2824
|
};
|
|
@@ -2892,7 +2892,7 @@ const MetadataApiFactory = function (configuration, basePath, axios) {
|
|
|
2892
2892
|
};
|
|
2893
2893
|
|
|
2894
2894
|
/* tslint:disable */
|
|
2895
|
-
const BASE_PATH$
|
|
2895
|
+
const BASE_PATH$9 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Notices".replace(/\/+$/, "");
|
|
2896
2896
|
/**
|
|
2897
2897
|
*
|
|
2898
2898
|
* @export
|
|
@@ -2912,7 +2912,7 @@ class RequiredError$7 extends Error {
|
|
|
2912
2912
|
*
|
|
2913
2913
|
* @export
|
|
2914
2914
|
*/
|
|
2915
|
-
const DUMMY_BASE_URL$
|
|
2915
|
+
const DUMMY_BASE_URL$9 = 'https://example.com';
|
|
2916
2916
|
/**
|
|
2917
2917
|
*
|
|
2918
2918
|
* @throws {RequiredError}
|
|
@@ -2927,7 +2927,7 @@ const assertParamExists$7 = function (functionName, paramName, paramValue) {
|
|
|
2927
2927
|
*
|
|
2928
2928
|
* @export
|
|
2929
2929
|
*/
|
|
2930
|
-
const setApiKeyToObject$
|
|
2930
|
+
const setApiKeyToObject$9 = function (object, keyParamName, configuration) {
|
|
2931
2931
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2932
2932
|
if (configuration && configuration.apiKey) {
|
|
2933
2933
|
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
@@ -2941,7 +2941,7 @@ const setApiKeyToObject$8 = function (object, keyParamName, configuration) {
|
|
|
2941
2941
|
*
|
|
2942
2942
|
* @export
|
|
2943
2943
|
*/
|
|
2944
|
-
const setSearchParams$
|
|
2944
|
+
const setSearchParams$9 = function (url, ...objects) {
|
|
2945
2945
|
const searchParams = new URLSearchParams(url.search);
|
|
2946
2946
|
for (const object of objects) {
|
|
2947
2947
|
for (const key in object) {
|
|
@@ -2962,14 +2962,14 @@ const setSearchParams$8 = function (url, ...objects) {
|
|
|
2962
2962
|
*
|
|
2963
2963
|
* @export
|
|
2964
2964
|
*/
|
|
2965
|
-
const toPathString$
|
|
2965
|
+
const toPathString$9 = function (url) {
|
|
2966
2966
|
return url.pathname + url.search + url.hash;
|
|
2967
2967
|
};
|
|
2968
2968
|
/**
|
|
2969
2969
|
*
|
|
2970
2970
|
* @export
|
|
2971
2971
|
*/
|
|
2972
|
-
const createRequestFunction$
|
|
2972
|
+
const createRequestFunction$9 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
2973
2973
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
2974
2974
|
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
|
|
2975
2975
|
return axios.request(axiosRequestArgs);
|
|
@@ -2992,7 +2992,7 @@ const NoticeApiAxiosParamCreator = function (configuration) {
|
|
|
2992
2992
|
noticeGetMaintenance: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2993
2993
|
const localVarPath = `/Notice/getMaintenance`;
|
|
2994
2994
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2995
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
2995
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$9);
|
|
2996
2996
|
let baseOptions;
|
|
2997
2997
|
if (configuration) {
|
|
2998
2998
|
baseOptions = configuration.baseOptions;
|
|
@@ -3001,12 +3001,12 @@ const NoticeApiAxiosParamCreator = function (configuration) {
|
|
|
3001
3001
|
const localVarHeaderParameter = {};
|
|
3002
3002
|
const localVarQueryParameter = {};
|
|
3003
3003
|
// authentication JWT token required
|
|
3004
|
-
yield setApiKeyToObject$
|
|
3005
|
-
setSearchParams$
|
|
3004
|
+
yield setApiKeyToObject$9(localVarHeaderParameter, "Authorization", configuration);
|
|
3005
|
+
setSearchParams$9(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3006
3006
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3007
3007
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3008
3008
|
return {
|
|
3009
|
-
url: toPathString$
|
|
3009
|
+
url: toPathString$9(localVarUrlObj),
|
|
3010
3010
|
options: localVarRequestOptions,
|
|
3011
3011
|
};
|
|
3012
3012
|
}),
|
|
@@ -3016,6 +3016,7 @@ const NoticeApiAxiosParamCreator = function (configuration) {
|
|
|
3016
3016
|
* @param {string} documentSlug Slug defining a configured notice
|
|
3017
3017
|
* @param {string} [language] Language (e.g. \"en\" or \"de\")
|
|
3018
3018
|
* @param {*} [options] Override http request option.
|
|
3019
|
+
* @deprecated
|
|
3019
3020
|
* @throws {RequiredError}
|
|
3020
3021
|
*/
|
|
3021
3022
|
noticeGetNotice: (documentSlug, language, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3024,7 +3025,7 @@ const NoticeApiAxiosParamCreator = function (configuration) {
|
|
|
3024
3025
|
const localVarPath = `/Notice/{documentSlug}`
|
|
3025
3026
|
.replace(`{${"documentSlug"}}`, encodeURIComponent(String(documentSlug)));
|
|
3026
3027
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3027
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
3028
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$9);
|
|
3028
3029
|
let baseOptions;
|
|
3029
3030
|
if (configuration) {
|
|
3030
3031
|
baseOptions = configuration.baseOptions;
|
|
@@ -3033,15 +3034,15 @@ const NoticeApiAxiosParamCreator = function (configuration) {
|
|
|
3033
3034
|
const localVarHeaderParameter = {};
|
|
3034
3035
|
const localVarQueryParameter = {};
|
|
3035
3036
|
// authentication JWT token required
|
|
3036
|
-
yield setApiKeyToObject$
|
|
3037
|
+
yield setApiKeyToObject$9(localVarHeaderParameter, "Authorization", configuration);
|
|
3037
3038
|
if (language !== undefined) {
|
|
3038
3039
|
localVarQueryParameter['language'] = language;
|
|
3039
3040
|
}
|
|
3040
|
-
setSearchParams$
|
|
3041
|
+
setSearchParams$9(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3041
3042
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3042
3043
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3043
3044
|
return {
|
|
3044
|
-
url: toPathString$
|
|
3045
|
+
url: toPathString$9(localVarUrlObj),
|
|
3045
3046
|
options: localVarRequestOptions,
|
|
3046
3047
|
};
|
|
3047
3048
|
}),
|
|
@@ -3063,7 +3064,7 @@ const NoticeApiFp = function (configuration) {
|
|
|
3063
3064
|
noticeGetMaintenance(options) {
|
|
3064
3065
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3065
3066
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.noticeGetMaintenance(options);
|
|
3066
|
-
return createRequestFunction$
|
|
3067
|
+
return createRequestFunction$9(localVarAxiosArgs, axios, BASE_PATH$9, configuration);
|
|
3067
3068
|
});
|
|
3068
3069
|
},
|
|
3069
3070
|
/**
|
|
@@ -3072,12 +3073,13 @@ const NoticeApiFp = function (configuration) {
|
|
|
3072
3073
|
* @param {string} documentSlug Slug defining a configured notice
|
|
3073
3074
|
* @param {string} [language] Language (e.g. \"en\" or \"de\")
|
|
3074
3075
|
* @param {*} [options] Override http request option.
|
|
3076
|
+
* @deprecated
|
|
3075
3077
|
* @throws {RequiredError}
|
|
3076
3078
|
*/
|
|
3077
3079
|
noticeGetNotice(documentSlug, language, options) {
|
|
3078
3080
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3079
3081
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.noticeGetNotice(documentSlug, language, options);
|
|
3080
|
-
return createRequestFunction$
|
|
3082
|
+
return createRequestFunction$9(localVarAxiosArgs, axios, BASE_PATH$9, configuration);
|
|
3081
3083
|
});
|
|
3082
3084
|
},
|
|
3083
3085
|
};
|
|
@@ -3104,6 +3106,7 @@ const NoticeApiFactory = function (configuration, basePath, axios) {
|
|
|
3104
3106
|
* @param {string} documentSlug Slug defining a configured notice
|
|
3105
3107
|
* @param {string} [language] Language (e.g. \"en\" or \"de\")
|
|
3106
3108
|
* @param {*} [options] Override http request option.
|
|
3109
|
+
* @deprecated
|
|
3107
3110
|
* @throws {RequiredError}
|
|
3108
3111
|
*/
|
|
3109
3112
|
noticeGetNotice(documentSlug, language, options) {
|
|
@@ -3113,7 +3116,7 @@ const NoticeApiFactory = function (configuration, basePath, axios) {
|
|
|
3113
3116
|
};
|
|
3114
3117
|
|
|
3115
3118
|
/* tslint:disable */
|
|
3116
|
-
const BASE_PATH$
|
|
3119
|
+
const BASE_PATH$8 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Organization".replace(/\/+$/, "");
|
|
3117
3120
|
/**
|
|
3118
3121
|
*
|
|
3119
3122
|
* @export
|
|
@@ -3133,7 +3136,7 @@ class RequiredError$6 extends Error {
|
|
|
3133
3136
|
*
|
|
3134
3137
|
* @export
|
|
3135
3138
|
*/
|
|
3136
|
-
const DUMMY_BASE_URL$
|
|
3139
|
+
const DUMMY_BASE_URL$8 = 'https://example.com';
|
|
3137
3140
|
/**
|
|
3138
3141
|
*
|
|
3139
3142
|
* @throws {RequiredError}
|
|
@@ -3148,7 +3151,7 @@ const assertParamExists$6 = function (functionName, paramName, paramValue) {
|
|
|
3148
3151
|
*
|
|
3149
3152
|
* @export
|
|
3150
3153
|
*/
|
|
3151
|
-
const setApiKeyToObject$
|
|
3154
|
+
const setApiKeyToObject$8 = function (object, keyParamName, configuration) {
|
|
3152
3155
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3153
3156
|
if (configuration && configuration.apiKey) {
|
|
3154
3157
|
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
@@ -3162,7 +3165,7 @@ const setApiKeyToObject$7 = function (object, keyParamName, configuration) {
|
|
|
3162
3165
|
*
|
|
3163
3166
|
* @export
|
|
3164
3167
|
*/
|
|
3165
|
-
const setSearchParams$
|
|
3168
|
+
const setSearchParams$8 = function (url, ...objects) {
|
|
3166
3169
|
const searchParams = new URLSearchParams(url.search);
|
|
3167
3170
|
for (const object of objects) {
|
|
3168
3171
|
for (const key in object) {
|
|
@@ -3183,14 +3186,14 @@ const setSearchParams$7 = function (url, ...objects) {
|
|
|
3183
3186
|
*
|
|
3184
3187
|
* @export
|
|
3185
3188
|
*/
|
|
3186
|
-
const toPathString$
|
|
3189
|
+
const toPathString$8 = function (url) {
|
|
3187
3190
|
return url.pathname + url.search + url.hash;
|
|
3188
3191
|
};
|
|
3189
3192
|
/**
|
|
3190
3193
|
*
|
|
3191
3194
|
* @export
|
|
3192
3195
|
*/
|
|
3193
|
-
const createRequestFunction$
|
|
3196
|
+
const createRequestFunction$8 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
3194
3197
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
3195
3198
|
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
|
|
3196
3199
|
return axios.request(axiosRequestArgs);
|
|
@@ -3217,7 +3220,7 @@ const OrganizationApiAxiosParamCreator = function (configuration) {
|
|
|
3217
3220
|
const localVarPath = `/Organization/{url}`
|
|
3218
3221
|
.replace(`{${"url"}}`, encodeURIComponent(String(url)));
|
|
3219
3222
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3220
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
3223
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$8);
|
|
3221
3224
|
let baseOptions;
|
|
3222
3225
|
if (configuration) {
|
|
3223
3226
|
baseOptions = configuration.baseOptions;
|
|
@@ -3226,12 +3229,12 @@ const OrganizationApiAxiosParamCreator = function (configuration) {
|
|
|
3226
3229
|
const localVarHeaderParameter = {};
|
|
3227
3230
|
const localVarQueryParameter = {};
|
|
3228
3231
|
// authentication JWT token required
|
|
3229
|
-
yield setApiKeyToObject$
|
|
3230
|
-
setSearchParams$
|
|
3232
|
+
yield setApiKeyToObject$8(localVarHeaderParameter, "Authorization", configuration);
|
|
3233
|
+
setSearchParams$8(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3231
3234
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3232
3235
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3233
3236
|
return {
|
|
3234
|
-
url: toPathString$
|
|
3237
|
+
url: toPathString$8(localVarUrlObj),
|
|
3235
3238
|
options: localVarRequestOptions,
|
|
3236
3239
|
};
|
|
3237
3240
|
}),
|
|
@@ -3245,7 +3248,7 @@ const OrganizationApiAxiosParamCreator = function (configuration) {
|
|
|
3245
3248
|
organizationGetROR: (filter, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3246
3249
|
const localVarPath = `/Organization/-/ror`;
|
|
3247
3250
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3248
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
3251
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$8);
|
|
3249
3252
|
let baseOptions;
|
|
3250
3253
|
if (configuration) {
|
|
3251
3254
|
baseOptions = configuration.baseOptions;
|
|
@@ -3254,15 +3257,15 @@ const OrganizationApiAxiosParamCreator = function (configuration) {
|
|
|
3254
3257
|
const localVarHeaderParameter = {};
|
|
3255
3258
|
const localVarQueryParameter = {};
|
|
3256
3259
|
// authentication JWT token required
|
|
3257
|
-
yield setApiKeyToObject$
|
|
3260
|
+
yield setApiKeyToObject$8(localVarHeaderParameter, "Authorization", configuration);
|
|
3258
3261
|
if (filter !== undefined) {
|
|
3259
3262
|
localVarQueryParameter['filter'] = filter;
|
|
3260
3263
|
}
|
|
3261
|
-
setSearchParams$
|
|
3264
|
+
setSearchParams$8(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3262
3265
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3263
3266
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3264
3267
|
return {
|
|
3265
|
-
url: toPathString$
|
|
3268
|
+
url: toPathString$8(localVarUrlObj),
|
|
3266
3269
|
options: localVarRequestOptions,
|
|
3267
3270
|
};
|
|
3268
3271
|
}),
|
|
@@ -3277,7 +3280,7 @@ const OrganizationApiAxiosParamCreator = function (configuration) {
|
|
|
3277
3280
|
organizationIndex: (member, filter, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3278
3281
|
const localVarPath = `/Organization`;
|
|
3279
3282
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3280
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
3283
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$8);
|
|
3281
3284
|
let baseOptions;
|
|
3282
3285
|
if (configuration) {
|
|
3283
3286
|
baseOptions = configuration.baseOptions;
|
|
@@ -3286,18 +3289,18 @@ const OrganizationApiAxiosParamCreator = function (configuration) {
|
|
|
3286
3289
|
const localVarHeaderParameter = {};
|
|
3287
3290
|
const localVarQueryParameter = {};
|
|
3288
3291
|
// authentication JWT token required
|
|
3289
|
-
yield setApiKeyToObject$
|
|
3292
|
+
yield setApiKeyToObject$8(localVarHeaderParameter, "Authorization", configuration);
|
|
3290
3293
|
if (member !== undefined) {
|
|
3291
3294
|
localVarQueryParameter['member'] = member;
|
|
3292
3295
|
}
|
|
3293
3296
|
if (filter !== undefined) {
|
|
3294
3297
|
localVarQueryParameter['filter'] = filter;
|
|
3295
3298
|
}
|
|
3296
|
-
setSearchParams$
|
|
3299
|
+
setSearchParams$8(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3297
3300
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3298
3301
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3299
3302
|
return {
|
|
3300
|
-
url: toPathString$
|
|
3303
|
+
url: toPathString$8(localVarUrlObj),
|
|
3301
3304
|
options: localVarRequestOptions,
|
|
3302
3305
|
};
|
|
3303
3306
|
}),
|
|
@@ -3314,7 +3317,7 @@ const OrganizationApiAxiosParamCreator = function (configuration) {
|
|
|
3314
3317
|
const localVarPath = `/Organization/-/isMember/{url}`
|
|
3315
3318
|
.replace(`{${"url"}}`, encodeURIComponent(String(url)));
|
|
3316
3319
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3317
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
3320
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$8);
|
|
3318
3321
|
let baseOptions;
|
|
3319
3322
|
if (configuration) {
|
|
3320
3323
|
baseOptions = configuration.baseOptions;
|
|
@@ -3323,12 +3326,12 @@ const OrganizationApiAxiosParamCreator = function (configuration) {
|
|
|
3323
3326
|
const localVarHeaderParameter = {};
|
|
3324
3327
|
const localVarQueryParameter = {};
|
|
3325
3328
|
// authentication JWT token required
|
|
3326
|
-
yield setApiKeyToObject$
|
|
3327
|
-
setSearchParams$
|
|
3329
|
+
yield setApiKeyToObject$8(localVarHeaderParameter, "Authorization", configuration);
|
|
3330
|
+
setSearchParams$8(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3328
3331
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3329
3332
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3330
3333
|
return {
|
|
3331
|
-
url: toPathString$
|
|
3334
|
+
url: toPathString$8(localVarUrlObj),
|
|
3332
3335
|
options: localVarRequestOptions,
|
|
3333
3336
|
};
|
|
3334
3337
|
}),
|
|
@@ -3341,7 +3344,7 @@ const OrganizationApiAxiosParamCreator = function (configuration) {
|
|
|
3341
3344
|
organizationIsMember2: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3342
3345
|
const localVarPath = `/Organization/-/isMember`;
|
|
3343
3346
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3344
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
3347
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$8);
|
|
3345
3348
|
let baseOptions;
|
|
3346
3349
|
if (configuration) {
|
|
3347
3350
|
baseOptions = configuration.baseOptions;
|
|
@@ -3350,12 +3353,12 @@ const OrganizationApiAxiosParamCreator = function (configuration) {
|
|
|
3350
3353
|
const localVarHeaderParameter = {};
|
|
3351
3354
|
const localVarQueryParameter = {};
|
|
3352
3355
|
// authentication JWT token required
|
|
3353
|
-
yield setApiKeyToObject$
|
|
3354
|
-
setSearchParams$
|
|
3356
|
+
yield setApiKeyToObject$8(localVarHeaderParameter, "Authorization", configuration);
|
|
3357
|
+
setSearchParams$8(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3355
3358
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3356
3359
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3357
3360
|
return {
|
|
3358
|
-
url: toPathString$
|
|
3361
|
+
url: toPathString$8(localVarUrlObj),
|
|
3359
3362
|
options: localVarRequestOptions,
|
|
3360
3363
|
};
|
|
3361
3364
|
}),
|
|
@@ -3378,7 +3381,7 @@ const OrganizationApiFp = function (configuration) {
|
|
|
3378
3381
|
organizationGetOrganization(url, options) {
|
|
3379
3382
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3380
3383
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.organizationGetOrganization(url, options);
|
|
3381
|
-
return createRequestFunction$
|
|
3384
|
+
return createRequestFunction$8(localVarAxiosArgs, axios, BASE_PATH$8, configuration);
|
|
3382
3385
|
});
|
|
3383
3386
|
},
|
|
3384
3387
|
/**
|
|
@@ -3391,7 +3394,7 @@ const OrganizationApiFp = function (configuration) {
|
|
|
3391
3394
|
organizationGetROR(filter, options) {
|
|
3392
3395
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3393
3396
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.organizationGetROR(filter, options);
|
|
3394
|
-
return createRequestFunction$
|
|
3397
|
+
return createRequestFunction$8(localVarAxiosArgs, axios, BASE_PATH$8, configuration);
|
|
3395
3398
|
});
|
|
3396
3399
|
},
|
|
3397
3400
|
/**
|
|
@@ -3405,7 +3408,7 @@ const OrganizationApiFp = function (configuration) {
|
|
|
3405
3408
|
organizationIndex(member, filter, options) {
|
|
3406
3409
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3407
3410
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.organizationIndex(member, filter, options);
|
|
3408
|
-
return createRequestFunction$
|
|
3411
|
+
return createRequestFunction$8(localVarAxiosArgs, axios, BASE_PATH$8, configuration);
|
|
3409
3412
|
});
|
|
3410
3413
|
},
|
|
3411
3414
|
/**
|
|
@@ -3418,7 +3421,7 @@ const OrganizationApiFp = function (configuration) {
|
|
|
3418
3421
|
organizationIsMember(url, options) {
|
|
3419
3422
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3420
3423
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.organizationIsMember(url, options);
|
|
3421
|
-
return createRequestFunction$
|
|
3424
|
+
return createRequestFunction$8(localVarAxiosArgs, axios, BASE_PATH$8, configuration);
|
|
3422
3425
|
});
|
|
3423
3426
|
},
|
|
3424
3427
|
/**
|
|
@@ -3430,7 +3433,7 @@ const OrganizationApiFp = function (configuration) {
|
|
|
3430
3433
|
organizationIsMember2(options) {
|
|
3431
3434
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3432
3435
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.organizationIsMember2(options);
|
|
3433
|
-
return createRequestFunction$
|
|
3436
|
+
return createRequestFunction$8(localVarAxiosArgs, axios, BASE_PATH$8, configuration);
|
|
3434
3437
|
});
|
|
3435
3438
|
},
|
|
3436
3439
|
};
|
|
@@ -3496,7 +3499,7 @@ const OrganizationApiFactory = function (configuration, basePath, axios) {
|
|
|
3496
3499
|
};
|
|
3497
3500
|
|
|
3498
3501
|
/* tslint:disable */
|
|
3499
|
-
const BASE_PATH$
|
|
3502
|
+
const BASE_PATH$7 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Pid".replace(/\/+$/, "");
|
|
3500
3503
|
/**
|
|
3501
3504
|
*
|
|
3502
3505
|
* @export
|
|
@@ -3516,7 +3519,7 @@ class RequiredError$5 extends Error {
|
|
|
3516
3519
|
*
|
|
3517
3520
|
* @export
|
|
3518
3521
|
*/
|
|
3519
|
-
const DUMMY_BASE_URL$
|
|
3522
|
+
const DUMMY_BASE_URL$7 = 'https://example.com';
|
|
3520
3523
|
/**
|
|
3521
3524
|
*
|
|
3522
3525
|
* @throws {RequiredError}
|
|
@@ -3531,7 +3534,7 @@ const assertParamExists$5 = function (functionName, paramName, paramValue) {
|
|
|
3531
3534
|
*
|
|
3532
3535
|
* @export
|
|
3533
3536
|
*/
|
|
3534
|
-
const setApiKeyToObject$
|
|
3537
|
+
const setApiKeyToObject$7 = function (object, keyParamName, configuration) {
|
|
3535
3538
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3536
3539
|
if (configuration && configuration.apiKey) {
|
|
3537
3540
|
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
@@ -3545,7 +3548,7 @@ const setApiKeyToObject$6 = function (object, keyParamName, configuration) {
|
|
|
3545
3548
|
*
|
|
3546
3549
|
* @export
|
|
3547
3550
|
*/
|
|
3548
|
-
const setSearchParams$
|
|
3551
|
+
const setSearchParams$7 = function (url, ...objects) {
|
|
3549
3552
|
const searchParams = new URLSearchParams(url.search);
|
|
3550
3553
|
for (const object of objects) {
|
|
3551
3554
|
for (const key in object) {
|
|
@@ -3579,14 +3582,14 @@ const serializeDataIfNeeded$4 = function (value, requestOptions, configuration)
|
|
|
3579
3582
|
*
|
|
3580
3583
|
* @export
|
|
3581
3584
|
*/
|
|
3582
|
-
const toPathString$
|
|
3585
|
+
const toPathString$7 = function (url) {
|
|
3583
3586
|
return url.pathname + url.search + url.hash;
|
|
3584
3587
|
};
|
|
3585
3588
|
/**
|
|
3586
3589
|
*
|
|
3587
3590
|
* @export
|
|
3588
3591
|
*/
|
|
3589
|
-
const createRequestFunction$
|
|
3592
|
+
const createRequestFunction$7 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
3590
3593
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
3591
3594
|
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
|
|
3592
3595
|
return axios.request(axiosRequestArgs);
|
|
@@ -3613,7 +3616,7 @@ const PidApiAxiosParamCreator = function (configuration) {
|
|
|
3613
3616
|
const localVarPath = `/Pid/valid/{pid}`
|
|
3614
3617
|
.replace(`{${"pid"}}`, encodeURIComponent(String(pid)));
|
|
3615
3618
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3616
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
3619
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
3617
3620
|
let baseOptions;
|
|
3618
3621
|
if (configuration) {
|
|
3619
3622
|
baseOptions = configuration.baseOptions;
|
|
@@ -3622,12 +3625,12 @@ const PidApiAxiosParamCreator = function (configuration) {
|
|
|
3622
3625
|
const localVarHeaderParameter = {};
|
|
3623
3626
|
const localVarQueryParameter = {};
|
|
3624
3627
|
// authentication JWT token required
|
|
3625
|
-
yield setApiKeyToObject$
|
|
3626
|
-
setSearchParams$
|
|
3628
|
+
yield setApiKeyToObject$7(localVarHeaderParameter, "Authorization", configuration);
|
|
3629
|
+
setSearchParams$7(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3627
3630
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3628
3631
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3629
3632
|
return {
|
|
3630
|
-
url: toPathString$
|
|
3633
|
+
url: toPathString$7(localVarUrlObj),
|
|
3631
3634
|
options: localVarRequestOptions,
|
|
3632
3635
|
};
|
|
3633
3636
|
}),
|
|
@@ -3643,7 +3646,7 @@ const PidApiAxiosParamCreator = function (configuration) {
|
|
|
3643
3646
|
assertParamExists$5('pidSendMailToOwner', 'messageObject', messageObject);
|
|
3644
3647
|
const localVarPath = `/Pid/sendMailToOwner`;
|
|
3645
3648
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3646
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
3649
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
3647
3650
|
let baseOptions;
|
|
3648
3651
|
if (configuration) {
|
|
3649
3652
|
baseOptions = configuration.baseOptions;
|
|
@@ -3652,14 +3655,14 @@ const PidApiAxiosParamCreator = function (configuration) {
|
|
|
3652
3655
|
const localVarHeaderParameter = {};
|
|
3653
3656
|
const localVarQueryParameter = {};
|
|
3654
3657
|
// authentication JWT token required
|
|
3655
|
-
yield setApiKeyToObject$
|
|
3658
|
+
yield setApiKeyToObject$7(localVarHeaderParameter, "Authorization", configuration);
|
|
3656
3659
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3657
|
-
setSearchParams$
|
|
3660
|
+
setSearchParams$7(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3658
3661
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3659
3662
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3660
3663
|
localVarRequestOptions.data = serializeDataIfNeeded$4(messageObject, localVarRequestOptions, configuration);
|
|
3661
3664
|
return {
|
|
3662
|
-
url: toPathString$
|
|
3665
|
+
url: toPathString$7(localVarUrlObj),
|
|
3663
3666
|
options: localVarRequestOptions,
|
|
3664
3667
|
};
|
|
3665
3668
|
}),
|
|
@@ -3682,7 +3685,7 @@ const PidApiFp = function (configuration) {
|
|
|
3682
3685
|
pidIsValid(pid, options) {
|
|
3683
3686
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3684
3687
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.pidIsValid(pid, options);
|
|
3685
|
-
return createRequestFunction$
|
|
3688
|
+
return createRequestFunction$7(localVarAxiosArgs, axios, BASE_PATH$7, configuration);
|
|
3686
3689
|
});
|
|
3687
3690
|
},
|
|
3688
3691
|
/**
|
|
@@ -3695,7 +3698,7 @@ const PidApiFp = function (configuration) {
|
|
|
3695
3698
|
pidSendMailToOwner(messageObject, options) {
|
|
3696
3699
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3697
3700
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.pidSendMailToOwner(messageObject, options);
|
|
3698
|
-
return createRequestFunction$
|
|
3701
|
+
return createRequestFunction$7(localVarAxiosArgs, axios, BASE_PATH$7, configuration);
|
|
3699
3702
|
});
|
|
3700
3703
|
},
|
|
3701
3704
|
};
|
|
@@ -3731,7 +3734,7 @@ const PidApiFactory = function (configuration, basePath, axios) {
|
|
|
3731
3734
|
};
|
|
3732
3735
|
|
|
3733
3736
|
/* tslint:disable */
|
|
3734
|
-
const BASE_PATH$
|
|
3737
|
+
const BASE_PATH$6 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Project".replace(/\/+$/, "");
|
|
3735
3738
|
/**
|
|
3736
3739
|
*
|
|
3737
3740
|
* @export
|
|
@@ -3751,7 +3754,7 @@ class RequiredError$4 extends Error {
|
|
|
3751
3754
|
*
|
|
3752
3755
|
* @export
|
|
3753
3756
|
*/
|
|
3754
|
-
const DUMMY_BASE_URL$
|
|
3757
|
+
const DUMMY_BASE_URL$6 = 'https://example.com';
|
|
3755
3758
|
/**
|
|
3756
3759
|
*
|
|
3757
3760
|
* @throws {RequiredError}
|
|
@@ -3766,7 +3769,7 @@ const assertParamExists$4 = function (functionName, paramName, paramValue) {
|
|
|
3766
3769
|
*
|
|
3767
3770
|
* @export
|
|
3768
3771
|
*/
|
|
3769
|
-
const setApiKeyToObject$
|
|
3772
|
+
const setApiKeyToObject$6 = function (object, keyParamName, configuration) {
|
|
3770
3773
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3771
3774
|
if (configuration && configuration.apiKey) {
|
|
3772
3775
|
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
@@ -3780,7 +3783,7 @@ const setApiKeyToObject$5 = function (object, keyParamName, configuration) {
|
|
|
3780
3783
|
*
|
|
3781
3784
|
* @export
|
|
3782
3785
|
*/
|
|
3783
|
-
const setSearchParams$
|
|
3786
|
+
const setSearchParams$6 = function (url, ...objects) {
|
|
3784
3787
|
const searchParams = new URLSearchParams(url.search);
|
|
3785
3788
|
for (const object of objects) {
|
|
3786
3789
|
for (const key in object) {
|
|
@@ -3814,14 +3817,14 @@ const serializeDataIfNeeded$3 = function (value, requestOptions, configuration)
|
|
|
3814
3817
|
*
|
|
3815
3818
|
* @export
|
|
3816
3819
|
*/
|
|
3817
|
-
const toPathString$
|
|
3820
|
+
const toPathString$6 = function (url) {
|
|
3818
3821
|
return url.pathname + url.search + url.hash;
|
|
3819
3822
|
};
|
|
3820
3823
|
/**
|
|
3821
3824
|
*
|
|
3822
3825
|
* @export
|
|
3823
3826
|
*/
|
|
3824
|
-
const createRequestFunction$
|
|
3827
|
+
const createRequestFunction$6 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
3825
3828
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
3826
3829
|
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
|
|
3827
3830
|
return axios.request(axiosRequestArgs);
|
|
@@ -3858,7 +3861,7 @@ const DisciplineApiAxiosParamCreator = function (configuration) {
|
|
|
3858
3861
|
disciplineIndex: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3859
3862
|
const localVarPath = `/Discipline`;
|
|
3860
3863
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3861
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
3864
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
3862
3865
|
let baseOptions;
|
|
3863
3866
|
if (configuration) {
|
|
3864
3867
|
baseOptions = configuration.baseOptions;
|
|
@@ -3867,12 +3870,12 @@ const DisciplineApiAxiosParamCreator = function (configuration) {
|
|
|
3867
3870
|
const localVarHeaderParameter = {};
|
|
3868
3871
|
const localVarQueryParameter = {};
|
|
3869
3872
|
// authentication JWT token required
|
|
3870
|
-
yield setApiKeyToObject$
|
|
3871
|
-
setSearchParams$
|
|
3873
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
3874
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3872
3875
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3873
3876
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3874
3877
|
return {
|
|
3875
|
-
url: toPathString$
|
|
3878
|
+
url: toPathString$6(localVarUrlObj),
|
|
3876
3879
|
options: localVarRequestOptions,
|
|
3877
3880
|
};
|
|
3878
3881
|
}),
|
|
@@ -3894,7 +3897,7 @@ const DisciplineApiFp = function (configuration) {
|
|
|
3894
3897
|
disciplineIndex(options) {
|
|
3895
3898
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3896
3899
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.disciplineIndex(options);
|
|
3897
|
-
return createRequestFunction$
|
|
3900
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
3898
3901
|
});
|
|
3899
3902
|
},
|
|
3900
3903
|
};
|
|
@@ -3932,7 +3935,7 @@ const LicenseApiAxiosParamCreator = function (configuration) {
|
|
|
3932
3935
|
licenseIndex: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3933
3936
|
const localVarPath = `/License`;
|
|
3934
3937
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3935
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
3938
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
3936
3939
|
let baseOptions;
|
|
3937
3940
|
if (configuration) {
|
|
3938
3941
|
baseOptions = configuration.baseOptions;
|
|
@@ -3941,12 +3944,12 @@ const LicenseApiAxiosParamCreator = function (configuration) {
|
|
|
3941
3944
|
const localVarHeaderParameter = {};
|
|
3942
3945
|
const localVarQueryParameter = {};
|
|
3943
3946
|
// authentication JWT token required
|
|
3944
|
-
yield setApiKeyToObject$
|
|
3945
|
-
setSearchParams$
|
|
3947
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
3948
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3946
3949
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3947
3950
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3948
3951
|
return {
|
|
3949
|
-
url: toPathString$
|
|
3952
|
+
url: toPathString$6(localVarUrlObj),
|
|
3950
3953
|
options: localVarRequestOptions,
|
|
3951
3954
|
};
|
|
3952
3955
|
}),
|
|
@@ -3968,7 +3971,7 @@ const LicenseApiFp = function (configuration) {
|
|
|
3968
3971
|
licenseIndex(options) {
|
|
3969
3972
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3970
3973
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.licenseIndex(options);
|
|
3971
|
-
return createRequestFunction$
|
|
3974
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
3972
3975
|
});
|
|
3973
3976
|
},
|
|
3974
3977
|
};
|
|
@@ -4010,7 +4013,7 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
4010
4013
|
const localVarPath = `/Project/{projectId}/-/create-profile`
|
|
4011
4014
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
4012
4015
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4013
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4016
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4014
4017
|
let baseOptions;
|
|
4015
4018
|
if (configuration) {
|
|
4016
4019
|
baseOptions = configuration.baseOptions;
|
|
@@ -4019,12 +4022,12 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
4019
4022
|
const localVarHeaderParameter = {};
|
|
4020
4023
|
const localVarQueryParameter = {};
|
|
4021
4024
|
// authentication JWT token required
|
|
4022
|
-
yield setApiKeyToObject$
|
|
4023
|
-
setSearchParams$
|
|
4025
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4026
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4024
4027
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4025
4028
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4026
4029
|
return {
|
|
4027
|
-
url: toPathString$
|
|
4030
|
+
url: toPathString$6(localVarUrlObj),
|
|
4028
4031
|
options: localVarRequestOptions,
|
|
4029
4032
|
};
|
|
4030
4033
|
}),
|
|
@@ -4041,7 +4044,7 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
4041
4044
|
const localVarPath = `/Project/{id}`
|
|
4042
4045
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
4043
4046
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4044
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4047
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4045
4048
|
let baseOptions;
|
|
4046
4049
|
if (configuration) {
|
|
4047
4050
|
baseOptions = configuration.baseOptions;
|
|
@@ -4050,12 +4053,12 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
4050
4053
|
const localVarHeaderParameter = {};
|
|
4051
4054
|
const localVarQueryParameter = {};
|
|
4052
4055
|
// authentication JWT token required
|
|
4053
|
-
yield setApiKeyToObject$
|
|
4054
|
-
setSearchParams$
|
|
4056
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4057
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4055
4058
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4056
4059
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4057
4060
|
return {
|
|
4058
|
-
url: toPathString$
|
|
4061
|
+
url: toPathString$6(localVarUrlObj),
|
|
4059
4062
|
options: localVarRequestOptions,
|
|
4060
4063
|
};
|
|
4061
4064
|
}),
|
|
@@ -4072,7 +4075,7 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
4072
4075
|
const localVarPath = `/Project/invitation/{invitationId}`
|
|
4073
4076
|
.replace(`{${"invitationId"}}`, encodeURIComponent(String(invitationId)));
|
|
4074
4077
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4075
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4078
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4076
4079
|
let baseOptions;
|
|
4077
4080
|
if (configuration) {
|
|
4078
4081
|
baseOptions = configuration.baseOptions;
|
|
@@ -4081,12 +4084,12 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
4081
4084
|
const localVarHeaderParameter = {};
|
|
4082
4085
|
const localVarQueryParameter = {};
|
|
4083
4086
|
// authentication JWT token required
|
|
4084
|
-
yield setApiKeyToObject$
|
|
4085
|
-
setSearchParams$
|
|
4087
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4088
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4086
4089
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4087
4090
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4088
4091
|
return {
|
|
4089
|
-
url: toPathString$
|
|
4092
|
+
url: toPathString$6(localVarUrlObj),
|
|
4090
4093
|
options: localVarRequestOptions,
|
|
4091
4094
|
};
|
|
4092
4095
|
}),
|
|
@@ -4103,7 +4106,7 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
4103
4106
|
const localVarPath = `/Project/{id}`
|
|
4104
4107
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
4105
4108
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4106
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4109
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4107
4110
|
let baseOptions;
|
|
4108
4111
|
if (configuration) {
|
|
4109
4112
|
baseOptions = configuration.baseOptions;
|
|
@@ -4112,12 +4115,12 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
4112
4115
|
const localVarHeaderParameter = {};
|
|
4113
4116
|
const localVarQueryParameter = {};
|
|
4114
4117
|
// authentication JWT token required
|
|
4115
|
-
yield setApiKeyToObject$
|
|
4116
|
-
setSearchParams$
|
|
4118
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4119
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4117
4120
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4118
4121
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4119
4122
|
return {
|
|
4120
|
-
url: toPathString$
|
|
4123
|
+
url: toPathString$6(localVarUrlObj),
|
|
4121
4124
|
options: localVarRequestOptions,
|
|
4122
4125
|
};
|
|
4123
4126
|
}),
|
|
@@ -4134,7 +4137,7 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
4134
4137
|
const localVarPath = `/Project/slug/{slug}`
|
|
4135
4138
|
.replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
|
|
4136
4139
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4137
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4140
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4138
4141
|
let baseOptions;
|
|
4139
4142
|
if (configuration) {
|
|
4140
4143
|
baseOptions = configuration.baseOptions;
|
|
@@ -4143,12 +4146,12 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
4143
4146
|
const localVarHeaderParameter = {};
|
|
4144
4147
|
const localVarQueryParameter = {};
|
|
4145
4148
|
// authentication JWT token required
|
|
4146
|
-
yield setApiKeyToObject$
|
|
4147
|
-
setSearchParams$
|
|
4149
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4150
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4148
4151
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4149
4152
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4150
4153
|
return {
|
|
4151
|
-
url: toPathString$
|
|
4154
|
+
url: toPathString$6(localVarUrlObj),
|
|
4152
4155
|
options: localVarRequestOptions,
|
|
4153
4156
|
};
|
|
4154
4157
|
}),
|
|
@@ -4165,7 +4168,7 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
4165
4168
|
const localVarPath = `/Project/{id}/resources`
|
|
4166
4169
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
4167
4170
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4168
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4171
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4169
4172
|
let baseOptions;
|
|
4170
4173
|
if (configuration) {
|
|
4171
4174
|
baseOptions = configuration.baseOptions;
|
|
@@ -4174,12 +4177,12 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
4174
4177
|
const localVarHeaderParameter = {};
|
|
4175
4178
|
const localVarQueryParameter = {};
|
|
4176
4179
|
// authentication JWT token required
|
|
4177
|
-
yield setApiKeyToObject$
|
|
4178
|
-
setSearchParams$
|
|
4180
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4181
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4179
4182
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4180
4183
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4181
4184
|
return {
|
|
4182
|
-
url: toPathString$
|
|
4185
|
+
url: toPathString$6(localVarUrlObj),
|
|
4183
4186
|
options: localVarRequestOptions,
|
|
4184
4187
|
};
|
|
4185
4188
|
}),
|
|
@@ -4192,7 +4195,7 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
4192
4195
|
projectGetTopLevelProjects: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4193
4196
|
const localVarPath = `/Project/-/topLevel`;
|
|
4194
4197
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4195
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4198
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4196
4199
|
let baseOptions;
|
|
4197
4200
|
if (configuration) {
|
|
4198
4201
|
baseOptions = configuration.baseOptions;
|
|
@@ -4201,12 +4204,12 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
4201
4204
|
const localVarHeaderParameter = {};
|
|
4202
4205
|
const localVarQueryParameter = {};
|
|
4203
4206
|
// authentication JWT token required
|
|
4204
|
-
yield setApiKeyToObject$
|
|
4205
|
-
setSearchParams$
|
|
4207
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4208
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4206
4209
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4207
4210
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4208
4211
|
return {
|
|
4209
|
-
url: toPathString$
|
|
4212
|
+
url: toPathString$6(localVarUrlObj),
|
|
4210
4213
|
options: localVarRequestOptions,
|
|
4211
4214
|
};
|
|
4212
4215
|
}),
|
|
@@ -4219,7 +4222,7 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
4219
4222
|
projectIndex: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4220
4223
|
const localVarPath = `/Project`;
|
|
4221
4224
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4222
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4225
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4223
4226
|
let baseOptions;
|
|
4224
4227
|
if (configuration) {
|
|
4225
4228
|
baseOptions = configuration.baseOptions;
|
|
@@ -4228,12 +4231,12 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
4228
4231
|
const localVarHeaderParameter = {};
|
|
4229
4232
|
const localVarQueryParameter = {};
|
|
4230
4233
|
// authentication JWT token required
|
|
4231
|
-
yield setApiKeyToObject$
|
|
4232
|
-
setSearchParams$
|
|
4234
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4235
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4233
4236
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4234
4237
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4235
4238
|
return {
|
|
4236
|
-
url: toPathString$
|
|
4239
|
+
url: toPathString$6(localVarUrlObj),
|
|
4237
4240
|
options: localVarRequestOptions,
|
|
4238
4241
|
};
|
|
4239
4242
|
}),
|
|
@@ -4250,7 +4253,7 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
4250
4253
|
const localVarPath = `/Project/invitation/list/{projectId}`
|
|
4251
4254
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
4252
4255
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4253
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4256
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4254
4257
|
let baseOptions;
|
|
4255
4258
|
if (configuration) {
|
|
4256
4259
|
baseOptions = configuration.baseOptions;
|
|
@@ -4259,12 +4262,12 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
4259
4262
|
const localVarHeaderParameter = {};
|
|
4260
4263
|
const localVarQueryParameter = {};
|
|
4261
4264
|
// authentication JWT token required
|
|
4262
|
-
yield setApiKeyToObject$
|
|
4263
|
-
setSearchParams$
|
|
4265
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4266
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4264
4267
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4265
4268
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4266
4269
|
return {
|
|
4267
|
-
url: toPathString$
|
|
4270
|
+
url: toPathString$6(localVarUrlObj),
|
|
4268
4271
|
options: localVarRequestOptions,
|
|
4269
4272
|
};
|
|
4270
4273
|
}),
|
|
@@ -4281,7 +4284,7 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
4281
4284
|
const localVarPath = `/Project/invitation/resolve/{invitationToken}`
|
|
4282
4285
|
.replace(`{${"invitationToken"}}`, encodeURIComponent(String(invitationToken)));
|
|
4283
4286
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4284
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4287
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4285
4288
|
let baseOptions;
|
|
4286
4289
|
if (configuration) {
|
|
4287
4290
|
baseOptions = configuration.baseOptions;
|
|
@@ -4290,12 +4293,12 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
4290
4293
|
const localVarHeaderParameter = {};
|
|
4291
4294
|
const localVarQueryParameter = {};
|
|
4292
4295
|
// authentication JWT token required
|
|
4293
|
-
yield setApiKeyToObject$
|
|
4294
|
-
setSearchParams$
|
|
4296
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4297
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4295
4298
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4296
4299
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4297
4300
|
return {
|
|
4298
|
-
url: toPathString$
|
|
4301
|
+
url: toPathString$6(localVarUrlObj),
|
|
4299
4302
|
options: localVarRequestOptions,
|
|
4300
4303
|
};
|
|
4301
4304
|
}),
|
|
@@ -4311,7 +4314,7 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
4311
4314
|
assertParamExists$4('projectSendInvitation', 'sendInvitationObject', sendInvitationObject);
|
|
4312
4315
|
const localVarPath = `/Project/invitation`;
|
|
4313
4316
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4314
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4317
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4315
4318
|
let baseOptions;
|
|
4316
4319
|
if (configuration) {
|
|
4317
4320
|
baseOptions = configuration.baseOptions;
|
|
@@ -4320,14 +4323,14 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
4320
4323
|
const localVarHeaderParameter = {};
|
|
4321
4324
|
const localVarQueryParameter = {};
|
|
4322
4325
|
// authentication JWT token required
|
|
4323
|
-
yield setApiKeyToObject$
|
|
4326
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4324
4327
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4325
|
-
setSearchParams$
|
|
4328
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4326
4329
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4327
4330
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4328
4331
|
localVarRequestOptions.data = serializeDataIfNeeded$3(sendInvitationObject, localVarRequestOptions, configuration);
|
|
4329
4332
|
return {
|
|
4330
|
-
url: toPathString$
|
|
4333
|
+
url: toPathString$6(localVarUrlObj),
|
|
4331
4334
|
options: localVarRequestOptions,
|
|
4332
4335
|
};
|
|
4333
4336
|
}),
|
|
@@ -4343,7 +4346,7 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
4343
4346
|
assertParamExists$4('projectStore', 'projectObject', projectObject);
|
|
4344
4347
|
const localVarPath = `/Project`;
|
|
4345
4348
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4346
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4349
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4347
4350
|
let baseOptions;
|
|
4348
4351
|
if (configuration) {
|
|
4349
4352
|
baseOptions = configuration.baseOptions;
|
|
@@ -4352,14 +4355,14 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
4352
4355
|
const localVarHeaderParameter = {};
|
|
4353
4356
|
const localVarQueryParameter = {};
|
|
4354
4357
|
// authentication JWT token required
|
|
4355
|
-
yield setApiKeyToObject$
|
|
4358
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4356
4359
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4357
|
-
setSearchParams$
|
|
4360
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4358
4361
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4359
4362
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4360
4363
|
localVarRequestOptions.data = serializeDataIfNeeded$3(projectObject, localVarRequestOptions, configuration);
|
|
4361
4364
|
return {
|
|
4362
|
-
url: toPathString$
|
|
4365
|
+
url: toPathString$6(localVarUrlObj),
|
|
4363
4366
|
options: localVarRequestOptions,
|
|
4364
4367
|
};
|
|
4365
4368
|
}),
|
|
@@ -4379,7 +4382,7 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
4379
4382
|
const localVarPath = `/Project/{id}`
|
|
4380
4383
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
4381
4384
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4382
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4385
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4383
4386
|
let baseOptions;
|
|
4384
4387
|
if (configuration) {
|
|
4385
4388
|
baseOptions = configuration.baseOptions;
|
|
@@ -4388,14 +4391,14 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
4388
4391
|
const localVarHeaderParameter = {};
|
|
4389
4392
|
const localVarQueryParameter = {};
|
|
4390
4393
|
// authentication JWT token required
|
|
4391
|
-
yield setApiKeyToObject$
|
|
4394
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4392
4395
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4393
|
-
setSearchParams$
|
|
4396
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4394
4397
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4395
4398
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4396
4399
|
localVarRequestOptions.data = serializeDataIfNeeded$3(projectObject, localVarRequestOptions, configuration);
|
|
4397
4400
|
return {
|
|
4398
|
-
url: toPathString$
|
|
4401
|
+
url: toPathString$6(localVarUrlObj),
|
|
4399
4402
|
options: localVarRequestOptions,
|
|
4400
4403
|
};
|
|
4401
4404
|
}),
|
|
@@ -4418,7 +4421,7 @@ const ProjectApiFp = function (configuration) {
|
|
|
4418
4421
|
projectCreateApplicationProfile(projectId, options) {
|
|
4419
4422
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4420
4423
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectCreateApplicationProfile(projectId, options);
|
|
4421
|
-
return createRequestFunction$
|
|
4424
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4422
4425
|
});
|
|
4423
4426
|
},
|
|
4424
4427
|
/**
|
|
@@ -4431,7 +4434,7 @@ const ProjectApiFp = function (configuration) {
|
|
|
4431
4434
|
projectDelete(id, options) {
|
|
4432
4435
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4433
4436
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectDelete(id, options);
|
|
4434
|
-
return createRequestFunction$
|
|
4437
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4435
4438
|
});
|
|
4436
4439
|
},
|
|
4437
4440
|
/**
|
|
@@ -4444,7 +4447,7 @@ const ProjectApiFp = function (configuration) {
|
|
|
4444
4447
|
projectDeleteInvitation(invitationId, options) {
|
|
4445
4448
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4446
4449
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectDeleteInvitation(invitationId, options);
|
|
4447
|
-
return createRequestFunction$
|
|
4450
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4448
4451
|
});
|
|
4449
4452
|
},
|
|
4450
4453
|
/**
|
|
@@ -4457,7 +4460,7 @@ const ProjectApiFp = function (configuration) {
|
|
|
4457
4460
|
projectGet(id, options) {
|
|
4458
4461
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4459
4462
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectGet(id, options);
|
|
4460
|
-
return createRequestFunction$
|
|
4463
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4461
4464
|
});
|
|
4462
4465
|
},
|
|
4463
4466
|
/**
|
|
@@ -4470,7 +4473,7 @@ const ProjectApiFp = function (configuration) {
|
|
|
4470
4473
|
projectGetBySlug(slug, options) {
|
|
4471
4474
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4472
4475
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectGetBySlug(slug, options);
|
|
4473
|
-
return createRequestFunction$
|
|
4476
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4474
4477
|
});
|
|
4475
4478
|
},
|
|
4476
4479
|
/**
|
|
@@ -4483,7 +4486,7 @@ const ProjectApiFp = function (configuration) {
|
|
|
4483
4486
|
projectGetResources(id, options) {
|
|
4484
4487
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4485
4488
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectGetResources(id, options);
|
|
4486
|
-
return createRequestFunction$
|
|
4489
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4487
4490
|
});
|
|
4488
4491
|
},
|
|
4489
4492
|
/**
|
|
@@ -4495,7 +4498,7 @@ const ProjectApiFp = function (configuration) {
|
|
|
4495
4498
|
projectGetTopLevelProjects(options) {
|
|
4496
4499
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4497
4500
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectGetTopLevelProjects(options);
|
|
4498
|
-
return createRequestFunction$
|
|
4501
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4499
4502
|
});
|
|
4500
4503
|
},
|
|
4501
4504
|
/**
|
|
@@ -4507,7 +4510,7 @@ const ProjectApiFp = function (configuration) {
|
|
|
4507
4510
|
projectIndex(options) {
|
|
4508
4511
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4509
4512
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectIndex(options);
|
|
4510
|
-
return createRequestFunction$
|
|
4513
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4511
4514
|
});
|
|
4512
4515
|
},
|
|
4513
4516
|
/**
|
|
@@ -4520,7 +4523,7 @@ const ProjectApiFp = function (configuration) {
|
|
|
4520
4523
|
projectListInvitations(projectId, options) {
|
|
4521
4524
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4522
4525
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectListInvitations(projectId, options);
|
|
4523
|
-
return createRequestFunction$
|
|
4526
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4524
4527
|
});
|
|
4525
4528
|
},
|
|
4526
4529
|
/**
|
|
@@ -4533,7 +4536,7 @@ const ProjectApiFp = function (configuration) {
|
|
|
4533
4536
|
projectResolveInvitation(invitationToken, options) {
|
|
4534
4537
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4535
4538
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectResolveInvitation(invitationToken, options);
|
|
4536
|
-
return createRequestFunction$
|
|
4539
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4537
4540
|
});
|
|
4538
4541
|
},
|
|
4539
4542
|
/**
|
|
@@ -4546,7 +4549,7 @@ const ProjectApiFp = function (configuration) {
|
|
|
4546
4549
|
projectSendInvitation(sendInvitationObject, options) {
|
|
4547
4550
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4548
4551
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectSendInvitation(sendInvitationObject, options);
|
|
4549
|
-
return createRequestFunction$
|
|
4552
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4550
4553
|
});
|
|
4551
4554
|
},
|
|
4552
4555
|
/**
|
|
@@ -4559,7 +4562,7 @@ const ProjectApiFp = function (configuration) {
|
|
|
4559
4562
|
projectStore(projectObject, options) {
|
|
4560
4563
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4561
4564
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectStore(projectObject, options);
|
|
4562
|
-
return createRequestFunction$
|
|
4565
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4563
4566
|
});
|
|
4564
4567
|
},
|
|
4565
4568
|
/**
|
|
@@ -4573,7 +4576,7 @@ const ProjectApiFp = function (configuration) {
|
|
|
4573
4576
|
projectUpdate(id, projectObject, options) {
|
|
4574
4577
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4575
4578
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectUpdate(id, projectObject, options);
|
|
4576
|
-
return createRequestFunction$
|
|
4579
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4577
4580
|
});
|
|
4578
4581
|
},
|
|
4579
4582
|
};
|
|
@@ -4739,7 +4742,7 @@ const ProjectQuotaApiAxiosParamCreator = function (configuration) {
|
|
|
4739
4742
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
4740
4743
|
.replace(`{${"resourceTypeId"}}`, encodeURIComponent(String(resourceTypeId)));
|
|
4741
4744
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4742
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4745
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4743
4746
|
let baseOptions;
|
|
4744
4747
|
if (configuration) {
|
|
4745
4748
|
baseOptions = configuration.baseOptions;
|
|
@@ -4748,12 +4751,12 @@ const ProjectQuotaApiAxiosParamCreator = function (configuration) {
|
|
|
4748
4751
|
const localVarHeaderParameter = {};
|
|
4749
4752
|
const localVarQueryParameter = {};
|
|
4750
4753
|
// authentication JWT token required
|
|
4751
|
-
yield setApiKeyToObject$
|
|
4752
|
-
setSearchParams$
|
|
4754
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4755
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4753
4756
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4754
4757
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4755
4758
|
return {
|
|
4756
|
-
url: toPathString$
|
|
4759
|
+
url: toPathString$6(localVarUrlObj),
|
|
4757
4760
|
options: localVarRequestOptions,
|
|
4758
4761
|
};
|
|
4759
4762
|
}),
|
|
@@ -4770,7 +4773,7 @@ const ProjectQuotaApiAxiosParamCreator = function (configuration) {
|
|
|
4770
4773
|
const localVarPath = `/ProjectQuota/{id}/-/all`
|
|
4771
4774
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
4772
4775
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4773
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4776
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4774
4777
|
let baseOptions;
|
|
4775
4778
|
if (configuration) {
|
|
4776
4779
|
baseOptions = configuration.baseOptions;
|
|
@@ -4779,12 +4782,12 @@ const ProjectQuotaApiAxiosParamCreator = function (configuration) {
|
|
|
4779
4782
|
const localVarHeaderParameter = {};
|
|
4780
4783
|
const localVarQueryParameter = {};
|
|
4781
4784
|
// authentication JWT token required
|
|
4782
|
-
yield setApiKeyToObject$
|
|
4783
|
-
setSearchParams$
|
|
4785
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4786
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4784
4787
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4785
4788
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4786
4789
|
return {
|
|
4787
|
-
url: toPathString$
|
|
4790
|
+
url: toPathString$6(localVarUrlObj),
|
|
4788
4791
|
options: localVarRequestOptions,
|
|
4789
4792
|
};
|
|
4790
4793
|
}),
|
|
@@ -4808,7 +4811,7 @@ const ProjectQuotaApiAxiosParamCreator = function (configuration) {
|
|
|
4808
4811
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
4809
4812
|
.replace(`{${"resourceTypeId"}}`, encodeURIComponent(String(resourceTypeId)));
|
|
4810
4813
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4811
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4814
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4812
4815
|
let baseOptions;
|
|
4813
4816
|
if (configuration) {
|
|
4814
4817
|
baseOptions = configuration.baseOptions;
|
|
@@ -4817,14 +4820,14 @@ const ProjectQuotaApiAxiosParamCreator = function (configuration) {
|
|
|
4817
4820
|
const localVarHeaderParameter = {};
|
|
4818
4821
|
const localVarQueryParameter = {};
|
|
4819
4822
|
// authentication JWT token required
|
|
4820
|
-
yield setApiKeyToObject$
|
|
4823
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4821
4824
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4822
|
-
setSearchParams$
|
|
4825
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4823
4826
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4824
4827
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4825
4828
|
localVarRequestOptions.data = serializeDataIfNeeded$3(updateProjectQuotaObject, localVarRequestOptions, configuration);
|
|
4826
4829
|
return {
|
|
4827
|
-
url: toPathString$
|
|
4830
|
+
url: toPathString$6(localVarUrlObj),
|
|
4828
4831
|
options: localVarRequestOptions,
|
|
4829
4832
|
};
|
|
4830
4833
|
}),
|
|
@@ -4848,7 +4851,7 @@ const ProjectQuotaApiFp = function (configuration) {
|
|
|
4848
4851
|
projectQuotaQuota(id, resourceTypeId, options) {
|
|
4849
4852
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4850
4853
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectQuotaQuota(id, resourceTypeId, options);
|
|
4851
|
-
return createRequestFunction$
|
|
4854
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4852
4855
|
});
|
|
4853
4856
|
},
|
|
4854
4857
|
/**
|
|
@@ -4861,7 +4864,7 @@ const ProjectQuotaApiFp = function (configuration) {
|
|
|
4861
4864
|
projectQuotaQuotas(id, options) {
|
|
4862
4865
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4863
4866
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectQuotaQuotas(id, options);
|
|
4864
|
-
return createRequestFunction$
|
|
4867
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4865
4868
|
});
|
|
4866
4869
|
},
|
|
4867
4870
|
/**
|
|
@@ -4876,7 +4879,7 @@ const ProjectQuotaApiFp = function (configuration) {
|
|
|
4876
4879
|
projectQuotaUpdateQuota(id, resourceTypeId, updateProjectQuotaObject, options) {
|
|
4877
4880
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4878
4881
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectQuotaUpdateQuota(id, resourceTypeId, updateProjectQuotaObject, options);
|
|
4879
|
-
return createRequestFunction$
|
|
4882
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4880
4883
|
});
|
|
4881
4884
|
},
|
|
4882
4885
|
};
|
|
@@ -4950,7 +4953,7 @@ const ProjectRoleApiAxiosParamCreator = function (configuration) {
|
|
|
4950
4953
|
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)))
|
|
4951
4954
|
.replace(`{${"roleId"}}`, encodeURIComponent(String(roleId)));
|
|
4952
4955
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4953
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4956
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4954
4957
|
let baseOptions;
|
|
4955
4958
|
if (configuration) {
|
|
4956
4959
|
baseOptions = configuration.baseOptions;
|
|
@@ -4959,12 +4962,12 @@ const ProjectRoleApiAxiosParamCreator = function (configuration) {
|
|
|
4959
4962
|
const localVarHeaderParameter = {};
|
|
4960
4963
|
const localVarQueryParameter = {};
|
|
4961
4964
|
// authentication JWT token required
|
|
4962
|
-
yield setApiKeyToObject$
|
|
4963
|
-
setSearchParams$
|
|
4965
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4966
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4964
4967
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4965
4968
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4966
4969
|
return {
|
|
4967
|
-
url: toPathString$
|
|
4970
|
+
url: toPathString$6(localVarUrlObj),
|
|
4968
4971
|
options: localVarRequestOptions,
|
|
4969
4972
|
};
|
|
4970
4973
|
}),
|
|
@@ -4981,7 +4984,7 @@ const ProjectRoleApiAxiosParamCreator = function (configuration) {
|
|
|
4981
4984
|
const localVarPath = `/ProjectRole/project/{projectId}/user`
|
|
4982
4985
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
4983
4986
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4984
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4987
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4985
4988
|
let baseOptions;
|
|
4986
4989
|
if (configuration) {
|
|
4987
4990
|
baseOptions = configuration.baseOptions;
|
|
@@ -4990,12 +4993,12 @@ const ProjectRoleApiAxiosParamCreator = function (configuration) {
|
|
|
4990
4993
|
const localVarHeaderParameter = {};
|
|
4991
4994
|
const localVarQueryParameter = {};
|
|
4992
4995
|
// authentication JWT token required
|
|
4993
|
-
yield setApiKeyToObject$
|
|
4994
|
-
setSearchParams$
|
|
4996
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4997
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4995
4998
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4996
4999
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4997
5000
|
return {
|
|
4998
|
-
url: toPathString$
|
|
5001
|
+
url: toPathString$6(localVarUrlObj),
|
|
4999
5002
|
options: localVarRequestOptions,
|
|
5000
5003
|
};
|
|
5001
5004
|
}),
|
|
@@ -5012,7 +5015,7 @@ const ProjectRoleApiAxiosParamCreator = function (configuration) {
|
|
|
5012
5015
|
const localVarPath = `/ProjectRole/project/{projectId}`
|
|
5013
5016
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
5014
5017
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5015
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5018
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
5016
5019
|
let baseOptions;
|
|
5017
5020
|
if (configuration) {
|
|
5018
5021
|
baseOptions = configuration.baseOptions;
|
|
@@ -5021,12 +5024,12 @@ const ProjectRoleApiAxiosParamCreator = function (configuration) {
|
|
|
5021
5024
|
const localVarHeaderParameter = {};
|
|
5022
5025
|
const localVarQueryParameter = {};
|
|
5023
5026
|
// authentication JWT token required
|
|
5024
|
-
yield setApiKeyToObject$
|
|
5025
|
-
setSearchParams$
|
|
5027
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
5028
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5026
5029
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5027
5030
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5028
5031
|
return {
|
|
5029
|
-
url: toPathString$
|
|
5032
|
+
url: toPathString$6(localVarUrlObj),
|
|
5030
5033
|
options: localVarRequestOptions,
|
|
5031
5034
|
};
|
|
5032
5035
|
}),
|
|
@@ -5043,7 +5046,7 @@ const ProjectRoleApiAxiosParamCreator = function (configuration) {
|
|
|
5043
5046
|
const localVarPath = `/ProjectRole/{projectId}`
|
|
5044
5047
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
5045
5048
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5046
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5049
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
5047
5050
|
let baseOptions;
|
|
5048
5051
|
if (configuration) {
|
|
5049
5052
|
baseOptions = configuration.baseOptions;
|
|
@@ -5052,12 +5055,12 @@ const ProjectRoleApiAxiosParamCreator = function (configuration) {
|
|
|
5052
5055
|
const localVarHeaderParameter = {};
|
|
5053
5056
|
const localVarQueryParameter = {};
|
|
5054
5057
|
// authentication JWT token required
|
|
5055
|
-
yield setApiKeyToObject$
|
|
5056
|
-
setSearchParams$
|
|
5058
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
5059
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5057
5060
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5058
5061
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5059
5062
|
return {
|
|
5060
|
-
url: toPathString$
|
|
5063
|
+
url: toPathString$6(localVarUrlObj),
|
|
5061
5064
|
options: localVarRequestOptions,
|
|
5062
5065
|
};
|
|
5063
5066
|
}),
|
|
@@ -5073,7 +5076,7 @@ const ProjectRoleApiAxiosParamCreator = function (configuration) {
|
|
|
5073
5076
|
assertParamExists$4('projectRoleSet', 'projectRoleObject', projectRoleObject);
|
|
5074
5077
|
const localVarPath = `/ProjectRole`;
|
|
5075
5078
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5076
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5079
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
5077
5080
|
let baseOptions;
|
|
5078
5081
|
if (configuration) {
|
|
5079
5082
|
baseOptions = configuration.baseOptions;
|
|
@@ -5082,14 +5085,14 @@ const ProjectRoleApiAxiosParamCreator = function (configuration) {
|
|
|
5082
5085
|
const localVarHeaderParameter = {};
|
|
5083
5086
|
const localVarQueryParameter = {};
|
|
5084
5087
|
// authentication JWT token required
|
|
5085
|
-
yield setApiKeyToObject$
|
|
5088
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
5086
5089
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5087
|
-
setSearchParams$
|
|
5090
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5088
5091
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5089
5092
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5090
5093
|
localVarRequestOptions.data = serializeDataIfNeeded$3(projectRoleObject, localVarRequestOptions, configuration);
|
|
5091
5094
|
return {
|
|
5092
|
-
url: toPathString$
|
|
5095
|
+
url: toPathString$6(localVarUrlObj),
|
|
5093
5096
|
options: localVarRequestOptions,
|
|
5094
5097
|
};
|
|
5095
5098
|
}),
|
|
@@ -5114,7 +5117,7 @@ const ProjectRoleApiFp = function (configuration) {
|
|
|
5114
5117
|
projectRoleDelete(projectId, userId, roleId, options) {
|
|
5115
5118
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5116
5119
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectRoleDelete(projectId, userId, roleId, options);
|
|
5117
|
-
return createRequestFunction$
|
|
5120
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5118
5121
|
});
|
|
5119
5122
|
},
|
|
5120
5123
|
/**
|
|
@@ -5127,7 +5130,7 @@ const ProjectRoleApiFp = function (configuration) {
|
|
|
5127
5130
|
projectRoleDelete2(projectId, options) {
|
|
5128
5131
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5129
5132
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectRoleDelete2(projectId, options);
|
|
5130
|
-
return createRequestFunction$
|
|
5133
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5131
5134
|
});
|
|
5132
5135
|
},
|
|
5133
5136
|
/**
|
|
@@ -5140,7 +5143,7 @@ const ProjectRoleApiFp = function (configuration) {
|
|
|
5140
5143
|
projectRoleGet(projectId, options) {
|
|
5141
5144
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5142
5145
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectRoleGet(projectId, options);
|
|
5143
|
-
return createRequestFunction$
|
|
5146
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5144
5147
|
});
|
|
5145
5148
|
},
|
|
5146
5149
|
/**
|
|
@@ -5153,7 +5156,7 @@ const ProjectRoleApiFp = function (configuration) {
|
|
|
5153
5156
|
projectRoleIndex(projectId, options) {
|
|
5154
5157
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5155
5158
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectRoleIndex(projectId, options);
|
|
5156
|
-
return createRequestFunction$
|
|
5159
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5157
5160
|
});
|
|
5158
5161
|
},
|
|
5159
5162
|
/**
|
|
@@ -5166,7 +5169,7 @@ const ProjectRoleApiFp = function (configuration) {
|
|
|
5166
5169
|
projectRoleSet(projectRoleObject, options) {
|
|
5167
5170
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5168
5171
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectRoleSet(projectRoleObject, options);
|
|
5169
|
-
return createRequestFunction$
|
|
5172
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5170
5173
|
});
|
|
5171
5174
|
},
|
|
5172
5175
|
};
|
|
@@ -5247,7 +5250,7 @@ const RoleApiAxiosParamCreator = function (configuration) {
|
|
|
5247
5250
|
roleIndex: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5248
5251
|
const localVarPath = `/Role`;
|
|
5249
5252
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5250
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5253
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
5251
5254
|
let baseOptions;
|
|
5252
5255
|
if (configuration) {
|
|
5253
5256
|
baseOptions = configuration.baseOptions;
|
|
@@ -5256,12 +5259,12 @@ const RoleApiAxiosParamCreator = function (configuration) {
|
|
|
5256
5259
|
const localVarHeaderParameter = {};
|
|
5257
5260
|
const localVarQueryParameter = {};
|
|
5258
5261
|
// authentication JWT token required
|
|
5259
|
-
yield setApiKeyToObject$
|
|
5260
|
-
setSearchParams$
|
|
5262
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
5263
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5261
5264
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5262
5265
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5263
5266
|
return {
|
|
5264
|
-
url: toPathString$
|
|
5267
|
+
url: toPathString$6(localVarUrlObj),
|
|
5265
5268
|
options: localVarRequestOptions,
|
|
5266
5269
|
};
|
|
5267
5270
|
}),
|
|
@@ -5283,7 +5286,7 @@ const RoleApiFp = function (configuration) {
|
|
|
5283
5286
|
roleIndex(options) {
|
|
5284
5287
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5285
5288
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.roleIndex(options);
|
|
5286
|
-
return createRequestFunction$
|
|
5289
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5287
5290
|
});
|
|
5288
5291
|
},
|
|
5289
5292
|
};
|
|
@@ -5325,7 +5328,7 @@ const SubProjectApiAxiosParamCreator = function (configuration) {
|
|
|
5325
5328
|
const localVarPath = `/SubProject/{parentId}`
|
|
5326
5329
|
.replace(`{${"parentId"}}`, encodeURIComponent(String(parentId)));
|
|
5327
5330
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5328
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5331
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
5329
5332
|
let baseOptions;
|
|
5330
5333
|
if (configuration) {
|
|
5331
5334
|
baseOptions = configuration.baseOptions;
|
|
@@ -5334,12 +5337,12 @@ const SubProjectApiAxiosParamCreator = function (configuration) {
|
|
|
5334
5337
|
const localVarHeaderParameter = {};
|
|
5335
5338
|
const localVarQueryParameter = {};
|
|
5336
5339
|
// authentication JWT token required
|
|
5337
|
-
yield setApiKeyToObject$
|
|
5338
|
-
setSearchParams$
|
|
5340
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
5341
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5339
5342
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5340
5343
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5341
5344
|
return {
|
|
5342
|
-
url: toPathString$
|
|
5345
|
+
url: toPathString$6(localVarUrlObj),
|
|
5343
5346
|
options: localVarRequestOptions,
|
|
5344
5347
|
};
|
|
5345
5348
|
}),
|
|
@@ -5356,7 +5359,7 @@ const SubProjectApiAxiosParamCreator = function (configuration) {
|
|
|
5356
5359
|
const localVarPath = `/SubProject/{childId}/accessibleParent`
|
|
5357
5360
|
.replace(`{${"childId"}}`, encodeURIComponent(String(childId)));
|
|
5358
5361
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5359
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5362
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
5360
5363
|
let baseOptions;
|
|
5361
5364
|
if (configuration) {
|
|
5362
5365
|
baseOptions = configuration.baseOptions;
|
|
@@ -5365,12 +5368,12 @@ const SubProjectApiAxiosParamCreator = function (configuration) {
|
|
|
5365
5368
|
const localVarHeaderParameter = {};
|
|
5366
5369
|
const localVarQueryParameter = {};
|
|
5367
5370
|
// authentication JWT token required
|
|
5368
|
-
yield setApiKeyToObject$
|
|
5369
|
-
setSearchParams$
|
|
5371
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
5372
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5370
5373
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5371
5374
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5372
5375
|
return {
|
|
5373
|
-
url: toPathString$
|
|
5376
|
+
url: toPathString$6(localVarUrlObj),
|
|
5374
5377
|
options: localVarRequestOptions,
|
|
5375
5378
|
};
|
|
5376
5379
|
}),
|
|
@@ -5393,7 +5396,7 @@ const SubProjectApiFp = function (configuration) {
|
|
|
5393
5396
|
subProjectGet(parentId, options) {
|
|
5394
5397
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5395
5398
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.subProjectGet(parentId, options);
|
|
5396
|
-
return createRequestFunction$
|
|
5399
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5397
5400
|
});
|
|
5398
5401
|
},
|
|
5399
5402
|
/**
|
|
@@ -5406,7 +5409,7 @@ const SubProjectApiFp = function (configuration) {
|
|
|
5406
5409
|
subProjectGetAccessibleParent(childId, options) {
|
|
5407
5410
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5408
5411
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.subProjectGetAccessibleParent(childId, options);
|
|
5409
|
-
return createRequestFunction$
|
|
5412
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5410
5413
|
});
|
|
5411
5414
|
},
|
|
5412
5415
|
};
|
|
@@ -5455,7 +5458,7 @@ const VisibilityApiAxiosParamCreator = function (configuration) {
|
|
|
5455
5458
|
visibilityIndex: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5456
5459
|
const localVarPath = `/Visibility`;
|
|
5457
5460
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5458
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5461
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
5459
5462
|
let baseOptions;
|
|
5460
5463
|
if (configuration) {
|
|
5461
5464
|
baseOptions = configuration.baseOptions;
|
|
@@ -5464,12 +5467,12 @@ const VisibilityApiAxiosParamCreator = function (configuration) {
|
|
|
5464
5467
|
const localVarHeaderParameter = {};
|
|
5465
5468
|
const localVarQueryParameter = {};
|
|
5466
5469
|
// authentication JWT token required
|
|
5467
|
-
yield setApiKeyToObject$
|
|
5468
|
-
setSearchParams$
|
|
5470
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
5471
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5469
5472
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5470
5473
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5471
5474
|
return {
|
|
5472
|
-
url: toPathString$
|
|
5475
|
+
url: toPathString$6(localVarUrlObj),
|
|
5473
5476
|
options: localVarRequestOptions,
|
|
5474
5477
|
};
|
|
5475
5478
|
}),
|
|
@@ -5491,7 +5494,7 @@ const VisibilityApiFp = function (configuration) {
|
|
|
5491
5494
|
visibilityIndex(options) {
|
|
5492
5495
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5493
5496
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.visibilityIndex(options);
|
|
5494
|
-
return createRequestFunction$
|
|
5497
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5495
5498
|
});
|
|
5496
5499
|
},
|
|
5497
5500
|
};
|
|
@@ -5516,7 +5519,7 @@ const VisibilityApiFactory = function (configuration, basePath, axios) {
|
|
|
5516
5519
|
};
|
|
5517
5520
|
|
|
5518
5521
|
/* tslint:disable */
|
|
5519
|
-
const BASE_PATH$
|
|
5522
|
+
const BASE_PATH$5 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Resources".replace(/\/+$/, "");
|
|
5520
5523
|
/**
|
|
5521
5524
|
*
|
|
5522
5525
|
* @export
|
|
@@ -5536,7 +5539,7 @@ class RequiredError$3 extends Error {
|
|
|
5536
5539
|
*
|
|
5537
5540
|
* @export
|
|
5538
5541
|
*/
|
|
5539
|
-
const DUMMY_BASE_URL$
|
|
5542
|
+
const DUMMY_BASE_URL$5 = 'https://example.com';
|
|
5540
5543
|
/**
|
|
5541
5544
|
*
|
|
5542
5545
|
* @throws {RequiredError}
|
|
@@ -5551,7 +5554,7 @@ const assertParamExists$3 = function (functionName, paramName, paramValue) {
|
|
|
5551
5554
|
*
|
|
5552
5555
|
* @export
|
|
5553
5556
|
*/
|
|
5554
|
-
const setApiKeyToObject$
|
|
5557
|
+
const setApiKeyToObject$5 = function (object, keyParamName, configuration) {
|
|
5555
5558
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5556
5559
|
if (configuration && configuration.apiKey) {
|
|
5557
5560
|
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
@@ -5565,7 +5568,7 @@ const setApiKeyToObject$4 = function (object, keyParamName, configuration) {
|
|
|
5565
5568
|
*
|
|
5566
5569
|
* @export
|
|
5567
5570
|
*/
|
|
5568
|
-
const setSearchParams$
|
|
5571
|
+
const setSearchParams$5 = function (url, ...objects) {
|
|
5569
5572
|
const searchParams = new URLSearchParams(url.search);
|
|
5570
5573
|
for (const object of objects) {
|
|
5571
5574
|
for (const key in object) {
|
|
@@ -5599,14 +5602,14 @@ const serializeDataIfNeeded$2 = function (value, requestOptions, configuration)
|
|
|
5599
5602
|
*
|
|
5600
5603
|
* @export
|
|
5601
5604
|
*/
|
|
5602
|
-
const toPathString$
|
|
5605
|
+
const toPathString$5 = function (url) {
|
|
5603
5606
|
return url.pathname + url.search + url.hash;
|
|
5604
5607
|
};
|
|
5605
5608
|
/**
|
|
5606
5609
|
*
|
|
5607
5610
|
* @export
|
|
5608
5611
|
*/
|
|
5609
|
-
const createRequestFunction$
|
|
5612
|
+
const createRequestFunction$5 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
5610
5613
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
5611
5614
|
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
|
|
5612
5615
|
return axios.request(axiosRequestArgs);
|
|
@@ -5614,6 +5617,17 @@ const createRequestFunction$4 = function (axiosArgs, globalAxios, BASE_PATH, con
|
|
|
5614
5617
|
};
|
|
5615
5618
|
|
|
5616
5619
|
/* tslint:disable */
|
|
5620
|
+
/**
|
|
5621
|
+
*
|
|
5622
|
+
* @export
|
|
5623
|
+
* @enum {string}
|
|
5624
|
+
*/
|
|
5625
|
+
var ProjectVisibilityLevel;
|
|
5626
|
+
(function (ProjectVisibilityLevel) {
|
|
5627
|
+
ProjectVisibilityLevel[ProjectVisibilityLevel["NUMBER_0"] = 0] = "NUMBER_0";
|
|
5628
|
+
ProjectVisibilityLevel[ProjectVisibilityLevel["NUMBER_1"] = 1] = "NUMBER_1";
|
|
5629
|
+
ProjectVisibilityLevel[ProjectVisibilityLevel["NUMBER_2"] = 2] = "NUMBER_2";
|
|
5630
|
+
})(ProjectVisibilityLevel || (ProjectVisibilityLevel = {}));
|
|
5617
5631
|
/**
|
|
5618
5632
|
*
|
|
5619
5633
|
* @export
|
|
@@ -5638,6 +5652,224 @@ var ResourceTypeStatus;
|
|
|
5638
5652
|
ResourceTypeStatus["Hidden"] = "hidden";
|
|
5639
5653
|
ResourceTypeStatus["Active"] = "active";
|
|
5640
5654
|
})(ResourceTypeStatus || (ResourceTypeStatus = {}));
|
|
5655
|
+
/**
|
|
5656
|
+
* GitLabApi - axios parameter creator
|
|
5657
|
+
* @export
|
|
5658
|
+
*/
|
|
5659
|
+
const GitLabApiAxiosParamCreator = function (configuration) {
|
|
5660
|
+
return {
|
|
5661
|
+
/**
|
|
5662
|
+
*
|
|
5663
|
+
* @summary Returns all GitLab projects, that the user is a member of, based on the provided credentials.
|
|
5664
|
+
* @param {string} [domain] Domain/Host of the GitLab Provider
|
|
5665
|
+
* @param {string} [accessToken] GitLab Project or Group Access Token
|
|
5666
|
+
* @param {*} [options] Override http request option.
|
|
5667
|
+
* @throws {RequiredError}
|
|
5668
|
+
*/
|
|
5669
|
+
gitLabGetAllProjects: (domain, accessToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5670
|
+
const localVarPath = `/GitLab/projects`;
|
|
5671
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5672
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
|
|
5673
|
+
let baseOptions;
|
|
5674
|
+
if (configuration) {
|
|
5675
|
+
baseOptions = configuration.baseOptions;
|
|
5676
|
+
}
|
|
5677
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
5678
|
+
const localVarHeaderParameter = {};
|
|
5679
|
+
const localVarQueryParameter = {};
|
|
5680
|
+
// authentication JWT token required
|
|
5681
|
+
yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
|
|
5682
|
+
if (domain !== undefined) {
|
|
5683
|
+
localVarQueryParameter['Domain'] = domain;
|
|
5684
|
+
}
|
|
5685
|
+
if (accessToken !== undefined) {
|
|
5686
|
+
localVarQueryParameter['AccessToken'] = accessToken;
|
|
5687
|
+
}
|
|
5688
|
+
setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5689
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5690
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5691
|
+
return {
|
|
5692
|
+
url: toPathString$5(localVarUrlObj),
|
|
5693
|
+
options: localVarRequestOptions,
|
|
5694
|
+
};
|
|
5695
|
+
}),
|
|
5696
|
+
/**
|
|
5697
|
+
*
|
|
5698
|
+
* @summary Returns all GitLab branches of a project, that the user is a member of, based on the provided credentials.
|
|
5699
|
+
* @param {number} projectId GitLab Project Identifier
|
|
5700
|
+
* @param {string} [domain] Domain/Host of the GitLab Provider
|
|
5701
|
+
* @param {string} [accessToken] GitLab Project or Group Access Token
|
|
5702
|
+
* @param {*} [options] Override http request option.
|
|
5703
|
+
* @throws {RequiredError}
|
|
5704
|
+
*/
|
|
5705
|
+
gitLabGetBranchesForProject: (projectId, domain, accessToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5706
|
+
// verify required parameter 'projectId' is not null or undefined
|
|
5707
|
+
assertParamExists$3('gitLabGetBranchesForProject', 'projectId', projectId);
|
|
5708
|
+
const localVarPath = `/GitLab/branches/{projectId}`
|
|
5709
|
+
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
5710
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5711
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
|
|
5712
|
+
let baseOptions;
|
|
5713
|
+
if (configuration) {
|
|
5714
|
+
baseOptions = configuration.baseOptions;
|
|
5715
|
+
}
|
|
5716
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
5717
|
+
const localVarHeaderParameter = {};
|
|
5718
|
+
const localVarQueryParameter = {};
|
|
5719
|
+
// authentication JWT token required
|
|
5720
|
+
yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
|
|
5721
|
+
if (domain !== undefined) {
|
|
5722
|
+
localVarQueryParameter['Domain'] = domain;
|
|
5723
|
+
}
|
|
5724
|
+
if (accessToken !== undefined) {
|
|
5725
|
+
localVarQueryParameter['AccessToken'] = accessToken;
|
|
5726
|
+
}
|
|
5727
|
+
setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5728
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5729
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5730
|
+
return {
|
|
5731
|
+
url: toPathString$5(localVarUrlObj),
|
|
5732
|
+
options: localVarRequestOptions,
|
|
5733
|
+
};
|
|
5734
|
+
}),
|
|
5735
|
+
/**
|
|
5736
|
+
*
|
|
5737
|
+
* @summary Returns a single GitLab project, that the user is a member of, based on the provided credentials.
|
|
5738
|
+
* @param {number} projectId GitLab Project Identifier
|
|
5739
|
+
* @param {string} [domain] Domain/Host of the GitLab Provider
|
|
5740
|
+
* @param {string} [accessToken] GitLab Project or Group Access Token
|
|
5741
|
+
* @param {*} [options] Override http request option.
|
|
5742
|
+
* @throws {RequiredError}
|
|
5743
|
+
*/
|
|
5744
|
+
gitLabGetProject: (projectId, domain, accessToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5745
|
+
// verify required parameter 'projectId' is not null or undefined
|
|
5746
|
+
assertParamExists$3('gitLabGetProject', 'projectId', projectId);
|
|
5747
|
+
const localVarPath = `/GitLab/projects/{projectId}`
|
|
5748
|
+
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
5749
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5750
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
|
|
5751
|
+
let baseOptions;
|
|
5752
|
+
if (configuration) {
|
|
5753
|
+
baseOptions = configuration.baseOptions;
|
|
5754
|
+
}
|
|
5755
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
5756
|
+
const localVarHeaderParameter = {};
|
|
5757
|
+
const localVarQueryParameter = {};
|
|
5758
|
+
// authentication JWT token required
|
|
5759
|
+
yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
|
|
5760
|
+
if (domain !== undefined) {
|
|
5761
|
+
localVarQueryParameter['Domain'] = domain;
|
|
5762
|
+
}
|
|
5763
|
+
if (accessToken !== undefined) {
|
|
5764
|
+
localVarQueryParameter['AccessToken'] = accessToken;
|
|
5765
|
+
}
|
|
5766
|
+
setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5767
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5768
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5769
|
+
return {
|
|
5770
|
+
url: toPathString$5(localVarUrlObj),
|
|
5771
|
+
options: localVarRequestOptions,
|
|
5772
|
+
};
|
|
5773
|
+
}),
|
|
5774
|
+
};
|
|
5775
|
+
};
|
|
5776
|
+
/**
|
|
5777
|
+
* GitLabApi - functional programming interface
|
|
5778
|
+
* @export
|
|
5779
|
+
*/
|
|
5780
|
+
const GitLabApiFp = function (configuration) {
|
|
5781
|
+
const localVarAxiosParamCreator = GitLabApiAxiosParamCreator(configuration);
|
|
5782
|
+
return {
|
|
5783
|
+
/**
|
|
5784
|
+
*
|
|
5785
|
+
* @summary Returns all GitLab projects, that the user is a member of, based on the provided credentials.
|
|
5786
|
+
* @param {string} [domain] Domain/Host of the GitLab Provider
|
|
5787
|
+
* @param {string} [accessToken] GitLab Project or Group Access Token
|
|
5788
|
+
* @param {*} [options] Override http request option.
|
|
5789
|
+
* @throws {RequiredError}
|
|
5790
|
+
*/
|
|
5791
|
+
gitLabGetAllProjects(domain, accessToken, options) {
|
|
5792
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5793
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.gitLabGetAllProjects(domain, accessToken, options);
|
|
5794
|
+
return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
|
|
5795
|
+
});
|
|
5796
|
+
},
|
|
5797
|
+
/**
|
|
5798
|
+
*
|
|
5799
|
+
* @summary Returns all GitLab branches of a project, that the user is a member of, based on the provided credentials.
|
|
5800
|
+
* @param {number} projectId GitLab Project Identifier
|
|
5801
|
+
* @param {string} [domain] Domain/Host of the GitLab Provider
|
|
5802
|
+
* @param {string} [accessToken] GitLab Project or Group Access Token
|
|
5803
|
+
* @param {*} [options] Override http request option.
|
|
5804
|
+
* @throws {RequiredError}
|
|
5805
|
+
*/
|
|
5806
|
+
gitLabGetBranchesForProject(projectId, domain, accessToken, options) {
|
|
5807
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5808
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.gitLabGetBranchesForProject(projectId, domain, accessToken, options);
|
|
5809
|
+
return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
|
|
5810
|
+
});
|
|
5811
|
+
},
|
|
5812
|
+
/**
|
|
5813
|
+
*
|
|
5814
|
+
* @summary Returns a single GitLab project, that the user is a member of, based on the provided credentials.
|
|
5815
|
+
* @param {number} projectId GitLab Project Identifier
|
|
5816
|
+
* @param {string} [domain] Domain/Host of the GitLab Provider
|
|
5817
|
+
* @param {string} [accessToken] GitLab Project or Group Access Token
|
|
5818
|
+
* @param {*} [options] Override http request option.
|
|
5819
|
+
* @throws {RequiredError}
|
|
5820
|
+
*/
|
|
5821
|
+
gitLabGetProject(projectId, domain, accessToken, options) {
|
|
5822
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5823
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.gitLabGetProject(projectId, domain, accessToken, options);
|
|
5824
|
+
return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
|
|
5825
|
+
});
|
|
5826
|
+
},
|
|
5827
|
+
};
|
|
5828
|
+
};
|
|
5829
|
+
/**
|
|
5830
|
+
* GitLabApi - factory interface
|
|
5831
|
+
* @export
|
|
5832
|
+
*/
|
|
5833
|
+
const GitLabApiFactory = function (configuration, basePath, axios) {
|
|
5834
|
+
const localVarFp = GitLabApiFp(configuration);
|
|
5835
|
+
return {
|
|
5836
|
+
/**
|
|
5837
|
+
*
|
|
5838
|
+
* @summary Returns all GitLab projects, that the user is a member of, based on the provided credentials.
|
|
5839
|
+
* @param {string} [domain] Domain/Host of the GitLab Provider
|
|
5840
|
+
* @param {string} [accessToken] GitLab Project or Group Access Token
|
|
5841
|
+
* @param {*} [options] Override http request option.
|
|
5842
|
+
* @throws {RequiredError}
|
|
5843
|
+
*/
|
|
5844
|
+
gitLabGetAllProjects(domain, accessToken, options) {
|
|
5845
|
+
return localVarFp.gitLabGetAllProjects(domain, accessToken, options).then((request) => request(axios, basePath));
|
|
5846
|
+
},
|
|
5847
|
+
/**
|
|
5848
|
+
*
|
|
5849
|
+
* @summary Returns all GitLab branches of a project, that the user is a member of, based on the provided credentials.
|
|
5850
|
+
* @param {number} projectId GitLab Project Identifier
|
|
5851
|
+
* @param {string} [domain] Domain/Host of the GitLab Provider
|
|
5852
|
+
* @param {string} [accessToken] GitLab Project or Group Access Token
|
|
5853
|
+
* @param {*} [options] Override http request option.
|
|
5854
|
+
* @throws {RequiredError}
|
|
5855
|
+
*/
|
|
5856
|
+
gitLabGetBranchesForProject(projectId, domain, accessToken, options) {
|
|
5857
|
+
return localVarFp.gitLabGetBranchesForProject(projectId, domain, accessToken, options).then((request) => request(axios, basePath));
|
|
5858
|
+
},
|
|
5859
|
+
/**
|
|
5860
|
+
*
|
|
5861
|
+
* @summary Returns a single GitLab project, that the user is a member of, based on the provided credentials.
|
|
5862
|
+
* @param {number} projectId GitLab Project Identifier
|
|
5863
|
+
* @param {string} [domain] Domain/Host of the GitLab Provider
|
|
5864
|
+
* @param {string} [accessToken] GitLab Project or Group Access Token
|
|
5865
|
+
* @param {*} [options] Override http request option.
|
|
5866
|
+
* @throws {RequiredError}
|
|
5867
|
+
*/
|
|
5868
|
+
gitLabGetProject(projectId, domain, accessToken, options) {
|
|
5869
|
+
return localVarFp.gitLabGetProject(projectId, domain, accessToken, options).then((request) => request(axios, basePath));
|
|
5870
|
+
},
|
|
5871
|
+
};
|
|
5872
|
+
};
|
|
5641
5873
|
/**
|
|
5642
5874
|
* ResourceApi - axios parameter creator
|
|
5643
5875
|
* @export
|
|
@@ -5657,7 +5889,7 @@ const ResourceApiAxiosParamCreator = function (configuration) {
|
|
|
5657
5889
|
const localVarPath = `/Resource/{id}`
|
|
5658
5890
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
5659
5891
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5660
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5892
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
|
|
5661
5893
|
let baseOptions;
|
|
5662
5894
|
if (configuration) {
|
|
5663
5895
|
baseOptions = configuration.baseOptions;
|
|
@@ -5666,12 +5898,12 @@ const ResourceApiAxiosParamCreator = function (configuration) {
|
|
|
5666
5898
|
const localVarHeaderParameter = {};
|
|
5667
5899
|
const localVarQueryParameter = {};
|
|
5668
5900
|
// authentication JWT token required
|
|
5669
|
-
yield setApiKeyToObject$
|
|
5670
|
-
setSearchParams$
|
|
5901
|
+
yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
|
|
5902
|
+
setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5671
5903
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5672
5904
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5673
5905
|
return {
|
|
5674
|
-
url: toPathString$
|
|
5906
|
+
url: toPathString$5(localVarUrlObj),
|
|
5675
5907
|
options: localVarRequestOptions,
|
|
5676
5908
|
};
|
|
5677
5909
|
}),
|
|
@@ -5688,7 +5920,7 @@ const ResourceApiAxiosParamCreator = function (configuration) {
|
|
|
5688
5920
|
const localVarPath = `/Resource/{id}`
|
|
5689
5921
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
5690
5922
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5691
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5923
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
|
|
5692
5924
|
let baseOptions;
|
|
5693
5925
|
if (configuration) {
|
|
5694
5926
|
baseOptions = configuration.baseOptions;
|
|
@@ -5697,12 +5929,12 @@ const ResourceApiAxiosParamCreator = function (configuration) {
|
|
|
5697
5929
|
const localVarHeaderParameter = {};
|
|
5698
5930
|
const localVarQueryParameter = {};
|
|
5699
5931
|
// authentication JWT token required
|
|
5700
|
-
yield setApiKeyToObject$
|
|
5701
|
-
setSearchParams$
|
|
5932
|
+
yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
|
|
5933
|
+
setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5702
5934
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5703
5935
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5704
5936
|
return {
|
|
5705
|
-
url: toPathString$
|
|
5937
|
+
url: toPathString$5(localVarUrlObj),
|
|
5706
5938
|
options: localVarRequestOptions,
|
|
5707
5939
|
};
|
|
5708
5940
|
}),
|
|
@@ -5715,7 +5947,7 @@ const ResourceApiAxiosParamCreator = function (configuration) {
|
|
|
5715
5947
|
resourceIndex: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5716
5948
|
const localVarPath = `/Resource`;
|
|
5717
5949
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5718
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5950
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
|
|
5719
5951
|
let baseOptions;
|
|
5720
5952
|
if (configuration) {
|
|
5721
5953
|
baseOptions = configuration.baseOptions;
|
|
@@ -5724,12 +5956,12 @@ const ResourceApiAxiosParamCreator = function (configuration) {
|
|
|
5724
5956
|
const localVarHeaderParameter = {};
|
|
5725
5957
|
const localVarQueryParameter = {};
|
|
5726
5958
|
// authentication JWT token required
|
|
5727
|
-
yield setApiKeyToObject$
|
|
5728
|
-
setSearchParams$
|
|
5959
|
+
yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
|
|
5960
|
+
setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5729
5961
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5730
5962
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5731
5963
|
return {
|
|
5732
|
-
url: toPathString$
|
|
5964
|
+
url: toPathString$5(localVarUrlObj),
|
|
5733
5965
|
options: localVarRequestOptions,
|
|
5734
5966
|
};
|
|
5735
5967
|
}),
|
|
@@ -5746,7 +5978,7 @@ const ResourceApiAxiosParamCreator = function (configuration) {
|
|
|
5746
5978
|
const localVarPath = `/Resource/{id}/isCreator`
|
|
5747
5979
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
5748
5980
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5749
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5981
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
|
|
5750
5982
|
let baseOptions;
|
|
5751
5983
|
if (configuration) {
|
|
5752
5984
|
baseOptions = configuration.baseOptions;
|
|
@@ -5755,12 +5987,12 @@ const ResourceApiAxiosParamCreator = function (configuration) {
|
|
|
5755
5987
|
const localVarHeaderParameter = {};
|
|
5756
5988
|
const localVarQueryParameter = {};
|
|
5757
5989
|
// authentication JWT token required
|
|
5758
|
-
yield setApiKeyToObject$
|
|
5759
|
-
setSearchParams$
|
|
5990
|
+
yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
|
|
5991
|
+
setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5760
5992
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5761
5993
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5762
5994
|
return {
|
|
5763
|
-
url: toPathString$
|
|
5995
|
+
url: toPathString$5(localVarUrlObj),
|
|
5764
5996
|
options: localVarRequestOptions,
|
|
5765
5997
|
};
|
|
5766
5998
|
}),
|
|
@@ -5778,7 +6010,7 @@ const ResourceApiAxiosParamCreator = function (configuration) {
|
|
|
5778
6010
|
const localVarPath = `/Resource/{id}/setReadonly`
|
|
5779
6011
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
5780
6012
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5781
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
6013
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
|
|
5782
6014
|
let baseOptions;
|
|
5783
6015
|
if (configuration) {
|
|
5784
6016
|
baseOptions = configuration.baseOptions;
|
|
@@ -5787,15 +6019,15 @@ const ResourceApiAxiosParamCreator = function (configuration) {
|
|
|
5787
6019
|
const localVarHeaderParameter = {};
|
|
5788
6020
|
const localVarQueryParameter = {};
|
|
5789
6021
|
// authentication JWT token required
|
|
5790
|
-
yield setApiKeyToObject$
|
|
6022
|
+
yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
|
|
5791
6023
|
if (status !== undefined) {
|
|
5792
6024
|
localVarQueryParameter['status'] = status;
|
|
5793
6025
|
}
|
|
5794
|
-
setSearchParams$
|
|
6026
|
+
setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5795
6027
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5796
6028
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5797
6029
|
return {
|
|
5798
|
-
url: toPathString$
|
|
6030
|
+
url: toPathString$5(localVarUrlObj),
|
|
5799
6031
|
options: localVarRequestOptions,
|
|
5800
6032
|
};
|
|
5801
6033
|
}),
|
|
@@ -5815,7 +6047,7 @@ const ResourceApiAxiosParamCreator = function (configuration) {
|
|
|
5815
6047
|
const localVarPath = `/Resource/project/{projectId}`
|
|
5816
6048
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
5817
6049
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5818
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
6050
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
|
|
5819
6051
|
let baseOptions;
|
|
5820
6052
|
if (configuration) {
|
|
5821
6053
|
baseOptions = configuration.baseOptions;
|
|
@@ -5824,14 +6056,14 @@ const ResourceApiAxiosParamCreator = function (configuration) {
|
|
|
5824
6056
|
const localVarHeaderParameter = {};
|
|
5825
6057
|
const localVarQueryParameter = {};
|
|
5826
6058
|
// authentication JWT token required
|
|
5827
|
-
yield setApiKeyToObject$
|
|
6059
|
+
yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
|
|
5828
6060
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5829
|
-
setSearchParams$
|
|
6061
|
+
setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5830
6062
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5831
6063
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5832
6064
|
localVarRequestOptions.data = serializeDataIfNeeded$2(resourceObject, localVarRequestOptions, configuration);
|
|
5833
6065
|
return {
|
|
5834
|
-
url: toPathString$
|
|
6066
|
+
url: toPathString$5(localVarUrlObj),
|
|
5835
6067
|
options: localVarRequestOptions,
|
|
5836
6068
|
};
|
|
5837
6069
|
}),
|
|
@@ -5851,7 +6083,7 @@ const ResourceApiAxiosParamCreator = function (configuration) {
|
|
|
5851
6083
|
const localVarPath = `/Resource/{id}`
|
|
5852
6084
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
5853
6085
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5854
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
6086
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
|
|
5855
6087
|
let baseOptions;
|
|
5856
6088
|
if (configuration) {
|
|
5857
6089
|
baseOptions = configuration.baseOptions;
|
|
@@ -5860,14 +6092,14 @@ const ResourceApiAxiosParamCreator = function (configuration) {
|
|
|
5860
6092
|
const localVarHeaderParameter = {};
|
|
5861
6093
|
const localVarQueryParameter = {};
|
|
5862
6094
|
// authentication JWT token required
|
|
5863
|
-
yield setApiKeyToObject$
|
|
6095
|
+
yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
|
|
5864
6096
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5865
|
-
setSearchParams$
|
|
6097
|
+
setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5866
6098
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5867
6099
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5868
6100
|
localVarRequestOptions.data = serializeDataIfNeeded$2(resourceObject, localVarRequestOptions, configuration);
|
|
5869
6101
|
return {
|
|
5870
|
-
url: toPathString$
|
|
6102
|
+
url: toPathString$5(localVarUrlObj),
|
|
5871
6103
|
options: localVarRequestOptions,
|
|
5872
6104
|
};
|
|
5873
6105
|
}),
|
|
@@ -5890,7 +6122,7 @@ const ResourceApiFp = function (configuration) {
|
|
|
5890
6122
|
resourceDelete(id, options) {
|
|
5891
6123
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5892
6124
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceDelete(id, options);
|
|
5893
|
-
return createRequestFunction$
|
|
6125
|
+
return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
|
|
5894
6126
|
});
|
|
5895
6127
|
},
|
|
5896
6128
|
/**
|
|
@@ -5903,7 +6135,7 @@ const ResourceApiFp = function (configuration) {
|
|
|
5903
6135
|
resourceGet(id, options) {
|
|
5904
6136
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5905
6137
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceGet(id, options);
|
|
5906
|
-
return createRequestFunction$
|
|
6138
|
+
return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
|
|
5907
6139
|
});
|
|
5908
6140
|
},
|
|
5909
6141
|
/**
|
|
@@ -5915,7 +6147,7 @@ const ResourceApiFp = function (configuration) {
|
|
|
5915
6147
|
resourceIndex(options) {
|
|
5916
6148
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5917
6149
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceIndex(options);
|
|
5918
|
-
return createRequestFunction$
|
|
6150
|
+
return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
|
|
5919
6151
|
});
|
|
5920
6152
|
},
|
|
5921
6153
|
/**
|
|
@@ -5928,7 +6160,7 @@ const ResourceApiFp = function (configuration) {
|
|
|
5928
6160
|
resourceIsUserResourceCreator(id, options) {
|
|
5929
6161
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5930
6162
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceIsUserResourceCreator(id, options);
|
|
5931
|
-
return createRequestFunction$
|
|
6163
|
+
return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
|
|
5932
6164
|
});
|
|
5933
6165
|
},
|
|
5934
6166
|
/**
|
|
@@ -5942,7 +6174,7 @@ const ResourceApiFp = function (configuration) {
|
|
|
5942
6174
|
resourceSetResourceReadonly(id, status, options) {
|
|
5943
6175
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5944
6176
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceSetResourceReadonly(id, status, options);
|
|
5945
|
-
return createRequestFunction$
|
|
6177
|
+
return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
|
|
5946
6178
|
});
|
|
5947
6179
|
},
|
|
5948
6180
|
/**
|
|
@@ -5956,7 +6188,7 @@ const ResourceApiFp = function (configuration) {
|
|
|
5956
6188
|
resourceStoreToProject(projectId, resourceObject, options) {
|
|
5957
6189
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5958
6190
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceStoreToProject(projectId, resourceObject, options);
|
|
5959
|
-
return createRequestFunction$
|
|
6191
|
+
return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
|
|
5960
6192
|
});
|
|
5961
6193
|
},
|
|
5962
6194
|
/**
|
|
@@ -5970,7 +6202,7 @@ const ResourceApiFp = function (configuration) {
|
|
|
5970
6202
|
resourceUpdate(id, resourceObject, options) {
|
|
5971
6203
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5972
6204
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceUpdate(id, resourceObject, options);
|
|
5973
|
-
return createRequestFunction$
|
|
6205
|
+
return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
|
|
5974
6206
|
});
|
|
5975
6207
|
},
|
|
5976
6208
|
};
|
|
@@ -6075,7 +6307,7 @@ const ResourceQuotaApiAxiosParamCreator = function (configuration) {
|
|
|
6075
6307
|
const localVarPath = `/ResourceQuota/{id}`
|
|
6076
6308
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
6077
6309
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6078
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
6310
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
|
|
6079
6311
|
let baseOptions;
|
|
6080
6312
|
if (configuration) {
|
|
6081
6313
|
baseOptions = configuration.baseOptions;
|
|
@@ -6084,12 +6316,12 @@ const ResourceQuotaApiAxiosParamCreator = function (configuration) {
|
|
|
6084
6316
|
const localVarHeaderParameter = {};
|
|
6085
6317
|
const localVarQueryParameter = {};
|
|
6086
6318
|
// authentication JWT token required
|
|
6087
|
-
yield setApiKeyToObject$
|
|
6088
|
-
setSearchParams$
|
|
6319
|
+
yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
|
|
6320
|
+
setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6089
6321
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6090
6322
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6091
6323
|
return {
|
|
6092
|
-
url: toPathString$
|
|
6324
|
+
url: toPathString$5(localVarUrlObj),
|
|
6093
6325
|
options: localVarRequestOptions,
|
|
6094
6326
|
};
|
|
6095
6327
|
}),
|
|
@@ -6109,7 +6341,7 @@ const ResourceQuotaApiAxiosParamCreator = function (configuration) {
|
|
|
6109
6341
|
const localVarPath = `/ResourceQuota/{id}`
|
|
6110
6342
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
6111
6343
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6112
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
6344
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
|
|
6113
6345
|
let baseOptions;
|
|
6114
6346
|
if (configuration) {
|
|
6115
6347
|
baseOptions = configuration.baseOptions;
|
|
@@ -6118,14 +6350,14 @@ const ResourceQuotaApiAxiosParamCreator = function (configuration) {
|
|
|
6118
6350
|
const localVarHeaderParameter = {};
|
|
6119
6351
|
const localVarQueryParameter = {};
|
|
6120
6352
|
// authentication JWT token required
|
|
6121
|
-
yield setApiKeyToObject$
|
|
6353
|
+
yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
|
|
6122
6354
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6123
|
-
setSearchParams$
|
|
6355
|
+
setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6124
6356
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6125
6357
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6126
6358
|
localVarRequestOptions.data = serializeDataIfNeeded$2(updateResourceObject, localVarRequestOptions, configuration);
|
|
6127
6359
|
return {
|
|
6128
|
-
url: toPathString$
|
|
6360
|
+
url: toPathString$5(localVarUrlObj),
|
|
6129
6361
|
options: localVarRequestOptions,
|
|
6130
6362
|
};
|
|
6131
6363
|
}),
|
|
@@ -6148,7 +6380,7 @@ const ResourceQuotaApiFp = function (configuration) {
|
|
|
6148
6380
|
resourceQuotaGetResourceQuota(id, options) {
|
|
6149
6381
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6150
6382
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceQuotaGetResourceQuota(id, options);
|
|
6151
|
-
return createRequestFunction$
|
|
6383
|
+
return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
|
|
6152
6384
|
});
|
|
6153
6385
|
},
|
|
6154
6386
|
/**
|
|
@@ -6162,7 +6394,7 @@ const ResourceQuotaApiFp = function (configuration) {
|
|
|
6162
6394
|
resourceQuotaUpdateResourceQuota(id, updateResourceObject, options) {
|
|
6163
6395
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6164
6396
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceQuotaUpdateResourceQuota(id, updateResourceObject, options);
|
|
6165
|
-
return createRequestFunction$
|
|
6397
|
+
return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
|
|
6166
6398
|
});
|
|
6167
6399
|
},
|
|
6168
6400
|
};
|
|
@@ -6212,7 +6444,7 @@ const ResourceTypeApiAxiosParamCreator = function (configuration) {
|
|
|
6212
6444
|
resourceTypeGetEnabledResourceTypes: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6213
6445
|
const localVarPath = `/ResourceType/types/-/enabled`;
|
|
6214
6446
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6215
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
6447
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
|
|
6216
6448
|
let baseOptions;
|
|
6217
6449
|
if (configuration) {
|
|
6218
6450
|
baseOptions = configuration.baseOptions;
|
|
@@ -6221,12 +6453,12 @@ const ResourceTypeApiAxiosParamCreator = function (configuration) {
|
|
|
6221
6453
|
const localVarHeaderParameter = {};
|
|
6222
6454
|
const localVarQueryParameter = {};
|
|
6223
6455
|
// authentication JWT token required
|
|
6224
|
-
yield setApiKeyToObject$
|
|
6225
|
-
setSearchParams$
|
|
6456
|
+
yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
|
|
6457
|
+
setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6226
6458
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6227
6459
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6228
6460
|
return {
|
|
6229
|
-
url: toPathString$
|
|
6461
|
+
url: toPathString$5(localVarUrlObj),
|
|
6230
6462
|
options: localVarRequestOptions,
|
|
6231
6463
|
};
|
|
6232
6464
|
}),
|
|
@@ -6243,6 +6475,230 @@ const ResourceTypeApiAxiosParamCreator = function (configuration) {
|
|
|
6243
6475
|
const localVarPath = `/ResourceType/types/{id}`
|
|
6244
6476
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
6245
6477
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6478
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
|
|
6479
|
+
let baseOptions;
|
|
6480
|
+
if (configuration) {
|
|
6481
|
+
baseOptions = configuration.baseOptions;
|
|
6482
|
+
}
|
|
6483
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6484
|
+
const localVarHeaderParameter = {};
|
|
6485
|
+
const localVarQueryParameter = {};
|
|
6486
|
+
// authentication JWT token required
|
|
6487
|
+
yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
|
|
6488
|
+
setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6489
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6490
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6491
|
+
return {
|
|
6492
|
+
url: toPathString$5(localVarUrlObj),
|
|
6493
|
+
options: localVarRequestOptions,
|
|
6494
|
+
};
|
|
6495
|
+
}),
|
|
6496
|
+
/**
|
|
6497
|
+
*
|
|
6498
|
+
* @summary Returns all resource types.
|
|
6499
|
+
* @param {*} [options] Override http request option.
|
|
6500
|
+
* @throws {RequiredError}
|
|
6501
|
+
*/
|
|
6502
|
+
resourceTypeGetResourceTypes: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6503
|
+
const localVarPath = `/ResourceType/types`;
|
|
6504
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6505
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
|
|
6506
|
+
let baseOptions;
|
|
6507
|
+
if (configuration) {
|
|
6508
|
+
baseOptions = configuration.baseOptions;
|
|
6509
|
+
}
|
|
6510
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6511
|
+
const localVarHeaderParameter = {};
|
|
6512
|
+
const localVarQueryParameter = {};
|
|
6513
|
+
// authentication JWT token required
|
|
6514
|
+
yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
|
|
6515
|
+
setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6516
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6517
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6518
|
+
return {
|
|
6519
|
+
url: toPathString$5(localVarUrlObj),
|
|
6520
|
+
options: localVarRequestOptions,
|
|
6521
|
+
};
|
|
6522
|
+
}),
|
|
6523
|
+
};
|
|
6524
|
+
};
|
|
6525
|
+
/**
|
|
6526
|
+
* ResourceTypeApi - functional programming interface
|
|
6527
|
+
* @export
|
|
6528
|
+
*/
|
|
6529
|
+
const ResourceTypeApiFp = function (configuration) {
|
|
6530
|
+
const localVarAxiosParamCreator = ResourceTypeApiAxiosParamCreator(configuration);
|
|
6531
|
+
return {
|
|
6532
|
+
/**
|
|
6533
|
+
*
|
|
6534
|
+
* @summary Returns all enabled resource types.
|
|
6535
|
+
* @param {*} [options] Override http request option.
|
|
6536
|
+
* @throws {RequiredError}
|
|
6537
|
+
*/
|
|
6538
|
+
resourceTypeGetEnabledResourceTypes(options) {
|
|
6539
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6540
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceTypeGetEnabledResourceTypes(options);
|
|
6541
|
+
return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
|
|
6542
|
+
});
|
|
6543
|
+
},
|
|
6544
|
+
/**
|
|
6545
|
+
*
|
|
6546
|
+
* @summary Returns all fields of the specified resource type.
|
|
6547
|
+
* @param {string} id A guid as a string that identifies the resource.
|
|
6548
|
+
* @param {*} [options] Override http request option.
|
|
6549
|
+
* @throws {RequiredError}
|
|
6550
|
+
*/
|
|
6551
|
+
resourceTypeGetResourceType(id, options) {
|
|
6552
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6553
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceTypeGetResourceType(id, options);
|
|
6554
|
+
return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
|
|
6555
|
+
});
|
|
6556
|
+
},
|
|
6557
|
+
/**
|
|
6558
|
+
*
|
|
6559
|
+
* @summary Returns all resource types.
|
|
6560
|
+
* @param {*} [options] Override http request option.
|
|
6561
|
+
* @throws {RequiredError}
|
|
6562
|
+
*/
|
|
6563
|
+
resourceTypeGetResourceTypes(options) {
|
|
6564
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6565
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceTypeGetResourceTypes(options);
|
|
6566
|
+
return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
|
|
6567
|
+
});
|
|
6568
|
+
},
|
|
6569
|
+
};
|
|
6570
|
+
};
|
|
6571
|
+
/**
|
|
6572
|
+
* ResourceTypeApi - factory interface
|
|
6573
|
+
* @export
|
|
6574
|
+
*/
|
|
6575
|
+
const ResourceTypeApiFactory = function (configuration, basePath, axios) {
|
|
6576
|
+
const localVarFp = ResourceTypeApiFp(configuration);
|
|
6577
|
+
return {
|
|
6578
|
+
/**
|
|
6579
|
+
*
|
|
6580
|
+
* @summary Returns all enabled resource types.
|
|
6581
|
+
* @param {*} [options] Override http request option.
|
|
6582
|
+
* @throws {RequiredError}
|
|
6583
|
+
*/
|
|
6584
|
+
resourceTypeGetEnabledResourceTypes(options) {
|
|
6585
|
+
return localVarFp.resourceTypeGetEnabledResourceTypes(options).then((request) => request(axios, basePath));
|
|
6586
|
+
},
|
|
6587
|
+
/**
|
|
6588
|
+
*
|
|
6589
|
+
* @summary Returns all fields of the specified resource type.
|
|
6590
|
+
* @param {string} id A guid as a string that identifies the resource.
|
|
6591
|
+
* @param {*} [options] Override http request option.
|
|
6592
|
+
* @throws {RequiredError}
|
|
6593
|
+
*/
|
|
6594
|
+
resourceTypeGetResourceType(id, options) {
|
|
6595
|
+
return localVarFp.resourceTypeGetResourceType(id, options).then((request) => request(axios, basePath));
|
|
6596
|
+
},
|
|
6597
|
+
/**
|
|
6598
|
+
*
|
|
6599
|
+
* @summary Returns all resource types.
|
|
6600
|
+
* @param {*} [options] Override http request option.
|
|
6601
|
+
* @throws {RequiredError}
|
|
6602
|
+
*/
|
|
6603
|
+
resourceTypeGetResourceTypes(options) {
|
|
6604
|
+
return localVarFp.resourceTypeGetResourceTypes(options).then((request) => request(axios, basePath));
|
|
6605
|
+
},
|
|
6606
|
+
};
|
|
6607
|
+
};
|
|
6608
|
+
|
|
6609
|
+
/* tslint:disable */
|
|
6610
|
+
const BASE_PATH$4 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Search".replace(/\/+$/, "");
|
|
6611
|
+
|
|
6612
|
+
/* tslint:disable */
|
|
6613
|
+
/**
|
|
6614
|
+
*
|
|
6615
|
+
* @export
|
|
6616
|
+
*/
|
|
6617
|
+
const DUMMY_BASE_URL$4 = 'https://example.com';
|
|
6618
|
+
/**
|
|
6619
|
+
*
|
|
6620
|
+
* @export
|
|
6621
|
+
*/
|
|
6622
|
+
const setApiKeyToObject$4 = function (object, keyParamName, configuration) {
|
|
6623
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6624
|
+
if (configuration && configuration.apiKey) {
|
|
6625
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
6626
|
+
? yield configuration.apiKey(keyParamName)
|
|
6627
|
+
: yield configuration.apiKey;
|
|
6628
|
+
object[keyParamName] = localVarApiKeyValue;
|
|
6629
|
+
}
|
|
6630
|
+
});
|
|
6631
|
+
};
|
|
6632
|
+
/**
|
|
6633
|
+
*
|
|
6634
|
+
* @export
|
|
6635
|
+
*/
|
|
6636
|
+
const setSearchParams$4 = function (url, ...objects) {
|
|
6637
|
+
const searchParams = new URLSearchParams(url.search);
|
|
6638
|
+
for (const object of objects) {
|
|
6639
|
+
for (const key in object) {
|
|
6640
|
+
if (Array.isArray(object[key])) {
|
|
6641
|
+
searchParams.delete(key);
|
|
6642
|
+
for (const item of object[key]) {
|
|
6643
|
+
searchParams.append(key, item);
|
|
6644
|
+
}
|
|
6645
|
+
}
|
|
6646
|
+
else {
|
|
6647
|
+
searchParams.set(key, object[key]);
|
|
6648
|
+
}
|
|
6649
|
+
}
|
|
6650
|
+
}
|
|
6651
|
+
url.search = searchParams.toString();
|
|
6652
|
+
};
|
|
6653
|
+
/**
|
|
6654
|
+
*
|
|
6655
|
+
* @export
|
|
6656
|
+
*/
|
|
6657
|
+
const toPathString$4 = function (url) {
|
|
6658
|
+
return url.pathname + url.search + url.hash;
|
|
6659
|
+
};
|
|
6660
|
+
/**
|
|
6661
|
+
*
|
|
6662
|
+
* @export
|
|
6663
|
+
*/
|
|
6664
|
+
const createRequestFunction$4 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
6665
|
+
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
6666
|
+
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
|
|
6667
|
+
return axios.request(axiosRequestArgs);
|
|
6668
|
+
};
|
|
6669
|
+
};
|
|
6670
|
+
|
|
6671
|
+
/* tslint:disable */
|
|
6672
|
+
/**
|
|
6673
|
+
*
|
|
6674
|
+
* @export
|
|
6675
|
+
* @enum {string}
|
|
6676
|
+
*/
|
|
6677
|
+
var ItemType;
|
|
6678
|
+
(function (ItemType) {
|
|
6679
|
+
ItemType["Metadata"] = "Metadata";
|
|
6680
|
+
ItemType["Project"] = "Project";
|
|
6681
|
+
ItemType["Resource"] = "Resource";
|
|
6682
|
+
})(ItemType || (ItemType = {}));
|
|
6683
|
+
/**
|
|
6684
|
+
* SearchApi - axios parameter creator
|
|
6685
|
+
* @export
|
|
6686
|
+
*/
|
|
6687
|
+
const SearchApiAxiosParamCreator = function (configuration) {
|
|
6688
|
+
return {
|
|
6689
|
+
/**
|
|
6690
|
+
*
|
|
6691
|
+
* @summary Search Elasticsearch
|
|
6692
|
+
* @param {string} [query] Elasticsearch query
|
|
6693
|
+
* @param {boolean} [user] Specify user or only public metadata records could be found
|
|
6694
|
+
* @param {boolean} [adv] Set true for advanced Elasticsearch search syntax
|
|
6695
|
+
* @param {Array<string>} [languages] Set the used languages
|
|
6696
|
+
* @param {*} [options] Override http request option.
|
|
6697
|
+
* @throws {RequiredError}
|
|
6698
|
+
*/
|
|
6699
|
+
searchSearch: (query, user, adv, languages, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6700
|
+
const localVarPath = `/Search`;
|
|
6701
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6246
6702
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$4);
|
|
6247
6703
|
let baseOptions;
|
|
6248
6704
|
if (configuration) {
|
|
@@ -6252,220 +6708,620 @@ const ResourceTypeApiAxiosParamCreator = function (configuration) {
|
|
|
6252
6708
|
const localVarHeaderParameter = {};
|
|
6253
6709
|
const localVarQueryParameter = {};
|
|
6254
6710
|
// authentication JWT token required
|
|
6255
|
-
yield setApiKeyToObject$4(localVarHeaderParameter, "Authorization", configuration);
|
|
6256
|
-
|
|
6711
|
+
yield setApiKeyToObject$4(localVarHeaderParameter, "Authorization", configuration);
|
|
6712
|
+
if (query !== undefined) {
|
|
6713
|
+
localVarQueryParameter['query'] = query;
|
|
6714
|
+
}
|
|
6715
|
+
if (user !== undefined) {
|
|
6716
|
+
localVarQueryParameter['user'] = user;
|
|
6717
|
+
}
|
|
6718
|
+
if (adv !== undefined) {
|
|
6719
|
+
localVarQueryParameter['adv'] = adv;
|
|
6720
|
+
}
|
|
6721
|
+
if (languages) {
|
|
6722
|
+
localVarQueryParameter['languages'] = languages;
|
|
6723
|
+
}
|
|
6724
|
+
setSearchParams$4(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6725
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6726
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6727
|
+
return {
|
|
6728
|
+
url: toPathString$4(localVarUrlObj),
|
|
6729
|
+
options: localVarRequestOptions,
|
|
6730
|
+
};
|
|
6731
|
+
}),
|
|
6732
|
+
};
|
|
6733
|
+
};
|
|
6734
|
+
/**
|
|
6735
|
+
* SearchApi - functional programming interface
|
|
6736
|
+
* @export
|
|
6737
|
+
*/
|
|
6738
|
+
const SearchApiFp = function (configuration) {
|
|
6739
|
+
const localVarAxiosParamCreator = SearchApiAxiosParamCreator(configuration);
|
|
6740
|
+
return {
|
|
6741
|
+
/**
|
|
6742
|
+
*
|
|
6743
|
+
* @summary Search Elasticsearch
|
|
6744
|
+
* @param {string} [query] Elasticsearch query
|
|
6745
|
+
* @param {boolean} [user] Specify user or only public metadata records could be found
|
|
6746
|
+
* @param {boolean} [adv] Set true for advanced Elasticsearch search syntax
|
|
6747
|
+
* @param {Array<string>} [languages] Set the used languages
|
|
6748
|
+
* @param {*} [options] Override http request option.
|
|
6749
|
+
* @throws {RequiredError}
|
|
6750
|
+
*/
|
|
6751
|
+
searchSearch(query, user, adv, languages, options) {
|
|
6752
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6753
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.searchSearch(query, user, adv, languages, options);
|
|
6754
|
+
return createRequestFunction$4(localVarAxiosArgs, axios, BASE_PATH$4, configuration);
|
|
6755
|
+
});
|
|
6756
|
+
},
|
|
6757
|
+
};
|
|
6758
|
+
};
|
|
6759
|
+
/**
|
|
6760
|
+
* SearchApi - factory interface
|
|
6761
|
+
* @export
|
|
6762
|
+
*/
|
|
6763
|
+
const SearchApiFactory = function (configuration, basePath, axios) {
|
|
6764
|
+
const localVarFp = SearchApiFp(configuration);
|
|
6765
|
+
return {
|
|
6766
|
+
/**
|
|
6767
|
+
*
|
|
6768
|
+
* @summary Search Elasticsearch
|
|
6769
|
+
* @param {string} [query] Elasticsearch query
|
|
6770
|
+
* @param {boolean} [user] Specify user or only public metadata records could be found
|
|
6771
|
+
* @param {boolean} [adv] Set true for advanced Elasticsearch search syntax
|
|
6772
|
+
* @param {Array<string>} [languages] Set the used languages
|
|
6773
|
+
* @param {*} [options] Override http request option.
|
|
6774
|
+
* @throws {RequiredError}
|
|
6775
|
+
*/
|
|
6776
|
+
searchSearch(query, user, adv, languages, options) {
|
|
6777
|
+
return localVarFp.searchSearch(query, user, adv, languages, options).then((request) => request(axios, basePath));
|
|
6778
|
+
},
|
|
6779
|
+
};
|
|
6780
|
+
};
|
|
6781
|
+
|
|
6782
|
+
/* tslint:disable */
|
|
6783
|
+
const BASE_PATH$3 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.STS".replace(/\/+$/, "");
|
|
6784
|
+
|
|
6785
|
+
/* tslint:disable */
|
|
6786
|
+
/**
|
|
6787
|
+
*
|
|
6788
|
+
* @export
|
|
6789
|
+
*/
|
|
6790
|
+
const DUMMY_BASE_URL$3 = 'https://example.com';
|
|
6791
|
+
/**
|
|
6792
|
+
*
|
|
6793
|
+
* @export
|
|
6794
|
+
*/
|
|
6795
|
+
const setApiKeyToObject$3 = function (object, keyParamName, configuration) {
|
|
6796
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6797
|
+
if (configuration && configuration.apiKey) {
|
|
6798
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
6799
|
+
? yield configuration.apiKey(keyParamName)
|
|
6800
|
+
: yield configuration.apiKey;
|
|
6801
|
+
object[keyParamName] = localVarApiKeyValue;
|
|
6802
|
+
}
|
|
6803
|
+
});
|
|
6804
|
+
};
|
|
6805
|
+
/**
|
|
6806
|
+
*
|
|
6807
|
+
* @export
|
|
6808
|
+
*/
|
|
6809
|
+
const setSearchParams$3 = function (url, ...objects) {
|
|
6810
|
+
const searchParams = new URLSearchParams(url.search);
|
|
6811
|
+
for (const object of objects) {
|
|
6812
|
+
for (const key in object) {
|
|
6813
|
+
if (Array.isArray(object[key])) {
|
|
6814
|
+
searchParams.delete(key);
|
|
6815
|
+
for (const item of object[key]) {
|
|
6816
|
+
searchParams.append(key, item);
|
|
6817
|
+
}
|
|
6818
|
+
}
|
|
6819
|
+
else {
|
|
6820
|
+
searchParams.set(key, object[key]);
|
|
6821
|
+
}
|
|
6822
|
+
}
|
|
6823
|
+
}
|
|
6824
|
+
url.search = searchParams.toString();
|
|
6825
|
+
};
|
|
6826
|
+
/**
|
|
6827
|
+
*
|
|
6828
|
+
* @export
|
|
6829
|
+
*/
|
|
6830
|
+
const toPathString$3 = function (url) {
|
|
6831
|
+
return url.pathname + url.search + url.hash;
|
|
6832
|
+
};
|
|
6833
|
+
/**
|
|
6834
|
+
*
|
|
6835
|
+
* @export
|
|
6836
|
+
*/
|
|
6837
|
+
const createRequestFunction$3 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
6838
|
+
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
6839
|
+
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
|
|
6840
|
+
return axios.request(axiosRequestArgs);
|
|
6841
|
+
};
|
|
6842
|
+
};
|
|
6843
|
+
|
|
6844
|
+
/* tslint:disable */
|
|
6845
|
+
/**
|
|
6846
|
+
* AccountApi - axios parameter creator
|
|
6847
|
+
* @export
|
|
6848
|
+
*/
|
|
6849
|
+
const AccountApiAxiosParamCreator = function (configuration) {
|
|
6850
|
+
return {
|
|
6851
|
+
/**
|
|
6852
|
+
*
|
|
6853
|
+
* @summary Return relevant URLs for logging the user in
|
|
6854
|
+
* @param {*} [options] Override http request option.
|
|
6855
|
+
* @throws {RequiredError}
|
|
6856
|
+
*/
|
|
6857
|
+
accountGetLoginUrls: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6858
|
+
const localVarPath = `/Account/urls/login`;
|
|
6859
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6860
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$3);
|
|
6861
|
+
let baseOptions;
|
|
6862
|
+
if (configuration) {
|
|
6863
|
+
baseOptions = configuration.baseOptions;
|
|
6864
|
+
}
|
|
6865
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6866
|
+
const localVarHeaderParameter = {};
|
|
6867
|
+
const localVarQueryParameter = {};
|
|
6868
|
+
// authentication JWT token required
|
|
6869
|
+
yield setApiKeyToObject$3(localVarHeaderParameter, "Authorization", configuration);
|
|
6870
|
+
setSearchParams$3(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6871
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6872
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6873
|
+
return {
|
|
6874
|
+
url: toPathString$3(localVarUrlObj),
|
|
6875
|
+
options: localVarRequestOptions,
|
|
6876
|
+
};
|
|
6877
|
+
}),
|
|
6878
|
+
/**
|
|
6879
|
+
*
|
|
6880
|
+
* @summary Route for logging the user out of Coscine
|
|
6881
|
+
* @param {*} [options] Override http request option.
|
|
6882
|
+
* @throws {RequiredError}
|
|
6883
|
+
*/
|
|
6884
|
+
accountLogout: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6885
|
+
const localVarPath = `/Account/logout`;
|
|
6886
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6887
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$3);
|
|
6888
|
+
let baseOptions;
|
|
6889
|
+
if (configuration) {
|
|
6890
|
+
baseOptions = configuration.baseOptions;
|
|
6891
|
+
}
|
|
6892
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6893
|
+
const localVarHeaderParameter = {};
|
|
6894
|
+
const localVarQueryParameter = {};
|
|
6895
|
+
// authentication JWT token required
|
|
6896
|
+
yield setApiKeyToObject$3(localVarHeaderParameter, "Authorization", configuration);
|
|
6897
|
+
setSearchParams$3(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6898
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6899
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6900
|
+
return {
|
|
6901
|
+
url: toPathString$3(localVarUrlObj),
|
|
6902
|
+
options: localVarRequestOptions,
|
|
6903
|
+
};
|
|
6904
|
+
}),
|
|
6905
|
+
};
|
|
6906
|
+
};
|
|
6907
|
+
/**
|
|
6908
|
+
* AccountApi - functional programming interface
|
|
6909
|
+
* @export
|
|
6910
|
+
*/
|
|
6911
|
+
const AccountApiFp = function (configuration) {
|
|
6912
|
+
const localVarAxiosParamCreator = AccountApiAxiosParamCreator(configuration);
|
|
6913
|
+
return {
|
|
6914
|
+
/**
|
|
6915
|
+
*
|
|
6916
|
+
* @summary Return relevant URLs for logging the user in
|
|
6917
|
+
* @param {*} [options] Override http request option.
|
|
6918
|
+
* @throws {RequiredError}
|
|
6919
|
+
*/
|
|
6920
|
+
accountGetLoginUrls(options) {
|
|
6921
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6922
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.accountGetLoginUrls(options);
|
|
6923
|
+
return createRequestFunction$3(localVarAxiosArgs, axios, BASE_PATH$3, configuration);
|
|
6924
|
+
});
|
|
6925
|
+
},
|
|
6926
|
+
/**
|
|
6927
|
+
*
|
|
6928
|
+
* @summary Route for logging the user out of Coscine
|
|
6929
|
+
* @param {*} [options] Override http request option.
|
|
6930
|
+
* @throws {RequiredError}
|
|
6931
|
+
*/
|
|
6932
|
+
accountLogout(options) {
|
|
6933
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6934
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.accountLogout(options);
|
|
6935
|
+
return createRequestFunction$3(localVarAxiosArgs, axios, BASE_PATH$3, configuration);
|
|
6936
|
+
});
|
|
6937
|
+
},
|
|
6938
|
+
};
|
|
6939
|
+
};
|
|
6940
|
+
/**
|
|
6941
|
+
* AccountApi - factory interface
|
|
6942
|
+
* @export
|
|
6943
|
+
*/
|
|
6944
|
+
const AccountApiFactory = function (configuration, basePath, axios) {
|
|
6945
|
+
const localVarFp = AccountApiFp(configuration);
|
|
6946
|
+
return {
|
|
6947
|
+
/**
|
|
6948
|
+
*
|
|
6949
|
+
* @summary Return relevant URLs for logging the user in
|
|
6950
|
+
* @param {*} [options] Override http request option.
|
|
6951
|
+
* @throws {RequiredError}
|
|
6952
|
+
*/
|
|
6953
|
+
accountGetLoginUrls(options) {
|
|
6954
|
+
return localVarFp.accountGetLoginUrls(options).then((request) => request(axios, basePath));
|
|
6955
|
+
},
|
|
6956
|
+
/**
|
|
6957
|
+
*
|
|
6958
|
+
* @summary Route for logging the user out of Coscine
|
|
6959
|
+
* @param {*} [options] Override http request option.
|
|
6960
|
+
* @throws {RequiredError}
|
|
6961
|
+
*/
|
|
6962
|
+
accountLogout(options) {
|
|
6963
|
+
return localVarFp.accountLogout(options).then((request) => request(axios, basePath));
|
|
6964
|
+
},
|
|
6965
|
+
};
|
|
6966
|
+
};
|
|
6967
|
+
/**
|
|
6968
|
+
* HomeApi - axios parameter creator
|
|
6969
|
+
* @export
|
|
6970
|
+
*/
|
|
6971
|
+
const HomeApiAxiosParamCreator = function (configuration) {
|
|
6972
|
+
return {
|
|
6973
|
+
/**
|
|
6974
|
+
*
|
|
6975
|
+
* @summary The controller that the user is automatically entering when accesing the route .../coscine/api/Coscine.STS/
|
|
6976
|
+
* @param {*} [options] Override http request option.
|
|
6977
|
+
* @throws {RequiredError}
|
|
6978
|
+
*/
|
|
6979
|
+
homeIndex: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6980
|
+
const localVarPath = `/`;
|
|
6981
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6982
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$3);
|
|
6983
|
+
let baseOptions;
|
|
6984
|
+
if (configuration) {
|
|
6985
|
+
baseOptions = configuration.baseOptions;
|
|
6986
|
+
}
|
|
6987
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6988
|
+
const localVarHeaderParameter = {};
|
|
6989
|
+
const localVarQueryParameter = {};
|
|
6990
|
+
// authentication JWT token required
|
|
6991
|
+
yield setApiKeyToObject$3(localVarHeaderParameter, "Authorization", configuration);
|
|
6992
|
+
setSearchParams$3(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6993
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6994
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6995
|
+
return {
|
|
6996
|
+
url: toPathString$3(localVarUrlObj),
|
|
6997
|
+
options: localVarRequestOptions,
|
|
6998
|
+
};
|
|
6999
|
+
}),
|
|
7000
|
+
};
|
|
7001
|
+
};
|
|
7002
|
+
/**
|
|
7003
|
+
* HomeApi - functional programming interface
|
|
7004
|
+
* @export
|
|
7005
|
+
*/
|
|
7006
|
+
const HomeApiFp = function (configuration) {
|
|
7007
|
+
const localVarAxiosParamCreator = HomeApiAxiosParamCreator(configuration);
|
|
7008
|
+
return {
|
|
7009
|
+
/**
|
|
7010
|
+
*
|
|
7011
|
+
* @summary The controller that the user is automatically entering when accesing the route .../coscine/api/Coscine.STS/
|
|
7012
|
+
* @param {*} [options] Override http request option.
|
|
7013
|
+
* @throws {RequiredError}
|
|
7014
|
+
*/
|
|
7015
|
+
homeIndex(options) {
|
|
7016
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7017
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.homeIndex(options);
|
|
7018
|
+
return createRequestFunction$3(localVarAxiosArgs, axios, BASE_PATH$3, configuration);
|
|
7019
|
+
});
|
|
7020
|
+
},
|
|
7021
|
+
};
|
|
7022
|
+
};
|
|
7023
|
+
/**
|
|
7024
|
+
* HomeApi - factory interface
|
|
7025
|
+
* @export
|
|
7026
|
+
*/
|
|
7027
|
+
const HomeApiFactory = function (configuration, basePath, axios) {
|
|
7028
|
+
const localVarFp = HomeApiFp(configuration);
|
|
7029
|
+
return {
|
|
7030
|
+
/**
|
|
7031
|
+
*
|
|
7032
|
+
* @summary The controller that the user is automatically entering when accesing the route .../coscine/api/Coscine.STS/
|
|
7033
|
+
* @param {*} [options] Override http request option.
|
|
7034
|
+
* @throws {RequiredError}
|
|
7035
|
+
*/
|
|
7036
|
+
homeIndex(options) {
|
|
7037
|
+
return localVarFp.homeIndex(options).then((request) => request(axios, basePath));
|
|
7038
|
+
},
|
|
7039
|
+
};
|
|
7040
|
+
};
|
|
7041
|
+
/**
|
|
7042
|
+
* MergeApi - axios parameter creator
|
|
7043
|
+
* @export
|
|
7044
|
+
*/
|
|
7045
|
+
const MergeApiAxiosParamCreator = function (configuration) {
|
|
7046
|
+
return {
|
|
7047
|
+
/**
|
|
7048
|
+
*
|
|
7049
|
+
* @param {string} [returnUrl]
|
|
7050
|
+
* @param {*} [options] Override http request option.
|
|
7051
|
+
* @throws {RequiredError}
|
|
7052
|
+
*/
|
|
7053
|
+
mergeCallback: (returnUrl, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
7054
|
+
const localVarPath = `/Merge/callback`;
|
|
7055
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7056
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$3);
|
|
7057
|
+
let baseOptions;
|
|
7058
|
+
if (configuration) {
|
|
7059
|
+
baseOptions = configuration.baseOptions;
|
|
7060
|
+
}
|
|
7061
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
7062
|
+
const localVarHeaderParameter = {};
|
|
7063
|
+
const localVarQueryParameter = {};
|
|
7064
|
+
// authentication JWT token required
|
|
7065
|
+
yield setApiKeyToObject$3(localVarHeaderParameter, "Authorization", configuration);
|
|
7066
|
+
if (returnUrl !== undefined) {
|
|
7067
|
+
localVarQueryParameter['returnUrl'] = returnUrl;
|
|
7068
|
+
}
|
|
7069
|
+
setSearchParams$3(localVarUrlObj, localVarQueryParameter, options.query);
|
|
7070
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7071
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7072
|
+
return {
|
|
7073
|
+
url: toPathString$3(localVarUrlObj),
|
|
7074
|
+
options: localVarRequestOptions,
|
|
7075
|
+
};
|
|
7076
|
+
}),
|
|
7077
|
+
/**
|
|
7078
|
+
*
|
|
7079
|
+
* @param {string} [returnUrl]
|
|
7080
|
+
* @param {*} [options] Override http request option.
|
|
7081
|
+
* @throws {RequiredError}
|
|
7082
|
+
*/
|
|
7083
|
+
mergeLogin: (returnUrl, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
7084
|
+
const localVarPath = `/Merge/login`;
|
|
7085
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7086
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$3);
|
|
7087
|
+
let baseOptions;
|
|
7088
|
+
if (configuration) {
|
|
7089
|
+
baseOptions = configuration.baseOptions;
|
|
7090
|
+
}
|
|
7091
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
7092
|
+
const localVarHeaderParameter = {};
|
|
7093
|
+
const localVarQueryParameter = {};
|
|
7094
|
+
// authentication JWT token required
|
|
7095
|
+
yield setApiKeyToObject$3(localVarHeaderParameter, "Authorization", configuration);
|
|
7096
|
+
if (returnUrl !== undefined) {
|
|
7097
|
+
localVarQueryParameter['returnUrl'] = returnUrl;
|
|
7098
|
+
}
|
|
7099
|
+
setSearchParams$3(localVarUrlObj, localVarQueryParameter, options.query);
|
|
7100
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7101
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7102
|
+
return {
|
|
7103
|
+
url: toPathString$3(localVarUrlObj),
|
|
7104
|
+
options: localVarRequestOptions,
|
|
7105
|
+
};
|
|
7106
|
+
}),
|
|
7107
|
+
};
|
|
7108
|
+
};
|
|
7109
|
+
/**
|
|
7110
|
+
* MergeApi - functional programming interface
|
|
7111
|
+
* @export
|
|
7112
|
+
*/
|
|
7113
|
+
const MergeApiFp = function (configuration) {
|
|
7114
|
+
const localVarAxiosParamCreator = MergeApiAxiosParamCreator(configuration);
|
|
7115
|
+
return {
|
|
7116
|
+
/**
|
|
7117
|
+
*
|
|
7118
|
+
* @param {string} [returnUrl]
|
|
7119
|
+
* @param {*} [options] Override http request option.
|
|
7120
|
+
* @throws {RequiredError}
|
|
7121
|
+
*/
|
|
7122
|
+
mergeCallback(returnUrl, options) {
|
|
7123
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7124
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.mergeCallback(returnUrl, options);
|
|
7125
|
+
return createRequestFunction$3(localVarAxiosArgs, axios, BASE_PATH$3, configuration);
|
|
7126
|
+
});
|
|
7127
|
+
},
|
|
7128
|
+
/**
|
|
7129
|
+
*
|
|
7130
|
+
* @param {string} [returnUrl]
|
|
7131
|
+
* @param {*} [options] Override http request option.
|
|
7132
|
+
* @throws {RequiredError}
|
|
7133
|
+
*/
|
|
7134
|
+
mergeLogin(returnUrl, options) {
|
|
7135
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7136
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.mergeLogin(returnUrl, options);
|
|
7137
|
+
return createRequestFunction$3(localVarAxiosArgs, axios, BASE_PATH$3, configuration);
|
|
7138
|
+
});
|
|
7139
|
+
},
|
|
7140
|
+
};
|
|
7141
|
+
};
|
|
7142
|
+
/**
|
|
7143
|
+
* MergeApi - factory interface
|
|
7144
|
+
* @export
|
|
7145
|
+
*/
|
|
7146
|
+
const MergeApiFactory = function (configuration, basePath, axios) {
|
|
7147
|
+
const localVarFp = MergeApiFp(configuration);
|
|
7148
|
+
return {
|
|
7149
|
+
/**
|
|
7150
|
+
*
|
|
7151
|
+
* @param {string} [returnUrl]
|
|
7152
|
+
* @param {*} [options] Override http request option.
|
|
7153
|
+
* @throws {RequiredError}
|
|
7154
|
+
*/
|
|
7155
|
+
mergeCallback(returnUrl, options) {
|
|
7156
|
+
return localVarFp.mergeCallback(returnUrl, options).then((request) => request(axios, basePath));
|
|
7157
|
+
},
|
|
7158
|
+
/**
|
|
7159
|
+
*
|
|
7160
|
+
* @param {string} [returnUrl]
|
|
7161
|
+
* @param {*} [options] Override http request option.
|
|
7162
|
+
* @throws {RequiredError}
|
|
7163
|
+
*/
|
|
7164
|
+
mergeLogin(returnUrl, options) {
|
|
7165
|
+
return localVarFp.mergeLogin(returnUrl, options).then((request) => request(axios, basePath));
|
|
7166
|
+
},
|
|
7167
|
+
};
|
|
7168
|
+
};
|
|
7169
|
+
/**
|
|
7170
|
+
* ORCiDApi - axios parameter creator
|
|
7171
|
+
* @export
|
|
7172
|
+
*/
|
|
7173
|
+
const ORCiDApiAxiosParamCreator = function (configuration) {
|
|
7174
|
+
return {
|
|
7175
|
+
/**
|
|
7176
|
+
*
|
|
7177
|
+
* @summary ORCiD Login Route
|
|
7178
|
+
* @param {string} [returnUrl] URL to be redirected to
|
|
7179
|
+
* @param {*} [options] Override http request option.
|
|
7180
|
+
* @throws {RequiredError}
|
|
7181
|
+
*/
|
|
7182
|
+
oRCiDLoginGET: (returnUrl, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
7183
|
+
const localVarPath = `/ORCiD/login`;
|
|
7184
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7185
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$3);
|
|
7186
|
+
let baseOptions;
|
|
7187
|
+
if (configuration) {
|
|
7188
|
+
baseOptions = configuration.baseOptions;
|
|
7189
|
+
}
|
|
7190
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
7191
|
+
const localVarHeaderParameter = {};
|
|
7192
|
+
const localVarQueryParameter = {};
|
|
7193
|
+
// authentication JWT token required
|
|
7194
|
+
yield setApiKeyToObject$3(localVarHeaderParameter, "Authorization", configuration);
|
|
7195
|
+
if (returnUrl !== undefined) {
|
|
7196
|
+
localVarQueryParameter['returnUrl'] = returnUrl;
|
|
7197
|
+
}
|
|
7198
|
+
setSearchParams$3(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6257
7199
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6258
7200
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6259
7201
|
return {
|
|
6260
|
-
url: toPathString$
|
|
7202
|
+
url: toPathString$3(localVarUrlObj),
|
|
6261
7203
|
options: localVarRequestOptions,
|
|
6262
7204
|
};
|
|
6263
7205
|
}),
|
|
6264
7206
|
/**
|
|
6265
7207
|
*
|
|
6266
|
-
* @summary
|
|
7208
|
+
* @summary Execute ORCiD validation and login
|
|
7209
|
+
* @param {string} [oRCiDJWT]
|
|
7210
|
+
* @param {string} [returnUrl] URL to be redirected to
|
|
6267
7211
|
* @param {*} [options] Override http request option.
|
|
6268
7212
|
* @throws {RequiredError}
|
|
6269
7213
|
*/
|
|
6270
|
-
|
|
6271
|
-
const localVarPath = `/
|
|
7214
|
+
oRCiDLoginPOST: (oRCiDJWT, returnUrl, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
7215
|
+
const localVarPath = `/ORCiD/login`;
|
|
6272
7216
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6273
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
7217
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$3);
|
|
6274
7218
|
let baseOptions;
|
|
6275
7219
|
if (configuration) {
|
|
6276
7220
|
baseOptions = configuration.baseOptions;
|
|
6277
7221
|
}
|
|
6278
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
7222
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
6279
7223
|
const localVarHeaderParameter = {};
|
|
6280
7224
|
const localVarQueryParameter = {};
|
|
6281
7225
|
// authentication JWT token required
|
|
6282
|
-
yield setApiKeyToObject$
|
|
6283
|
-
|
|
7226
|
+
yield setApiKeyToObject$3(localVarHeaderParameter, "Authorization", configuration);
|
|
7227
|
+
if (oRCiDJWT !== undefined) {
|
|
7228
|
+
localVarQueryParameter['ORCiD_JWT'] = oRCiDJWT;
|
|
7229
|
+
}
|
|
7230
|
+
if (returnUrl !== undefined) {
|
|
7231
|
+
localVarQueryParameter['returnUrl'] = returnUrl;
|
|
7232
|
+
}
|
|
7233
|
+
setSearchParams$3(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6284
7234
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6285
7235
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6286
7236
|
return {
|
|
6287
|
-
url: toPathString$
|
|
7237
|
+
url: toPathString$3(localVarUrlObj),
|
|
6288
7238
|
options: localVarRequestOptions,
|
|
6289
7239
|
};
|
|
6290
7240
|
}),
|
|
6291
7241
|
};
|
|
6292
7242
|
};
|
|
6293
7243
|
/**
|
|
6294
|
-
*
|
|
7244
|
+
* ORCiDApi - functional programming interface
|
|
6295
7245
|
* @export
|
|
6296
7246
|
*/
|
|
6297
|
-
const
|
|
6298
|
-
const localVarAxiosParamCreator =
|
|
7247
|
+
const ORCiDApiFp = function (configuration) {
|
|
7248
|
+
const localVarAxiosParamCreator = ORCiDApiAxiosParamCreator(configuration);
|
|
6299
7249
|
return {
|
|
6300
7250
|
/**
|
|
6301
7251
|
*
|
|
6302
|
-
* @summary
|
|
6303
|
-
* @param {
|
|
6304
|
-
* @throws {RequiredError}
|
|
6305
|
-
*/
|
|
6306
|
-
resourceTypeGetEnabledResourceTypes(options) {
|
|
6307
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
6308
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceTypeGetEnabledResourceTypes(options);
|
|
6309
|
-
return createRequestFunction$4(localVarAxiosArgs, axios, BASE_PATH$4, configuration);
|
|
6310
|
-
});
|
|
6311
|
-
},
|
|
6312
|
-
/**
|
|
6313
|
-
*
|
|
6314
|
-
* @summary Returns all fields of the specified resource type.
|
|
6315
|
-
* @param {string} id A guid as a string that identifies the resource.
|
|
7252
|
+
* @summary ORCiD Login Route
|
|
7253
|
+
* @param {string} [returnUrl] URL to be redirected to
|
|
6316
7254
|
* @param {*} [options] Override http request option.
|
|
6317
7255
|
* @throws {RequiredError}
|
|
6318
7256
|
*/
|
|
6319
|
-
|
|
7257
|
+
oRCiDLoginGET(returnUrl, options) {
|
|
6320
7258
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6321
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
6322
|
-
return createRequestFunction$
|
|
7259
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.oRCiDLoginGET(returnUrl, options);
|
|
7260
|
+
return createRequestFunction$3(localVarAxiosArgs, axios, BASE_PATH$3, configuration);
|
|
6323
7261
|
});
|
|
6324
7262
|
},
|
|
6325
7263
|
/**
|
|
6326
7264
|
*
|
|
6327
|
-
* @summary
|
|
7265
|
+
* @summary Execute ORCiD validation and login
|
|
7266
|
+
* @param {string} [oRCiDJWT]
|
|
7267
|
+
* @param {string} [returnUrl] URL to be redirected to
|
|
6328
7268
|
* @param {*} [options] Override http request option.
|
|
6329
7269
|
* @throws {RequiredError}
|
|
6330
7270
|
*/
|
|
6331
|
-
|
|
7271
|
+
oRCiDLoginPOST(oRCiDJWT, returnUrl, options) {
|
|
6332
7272
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6333
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
6334
|
-
return createRequestFunction$
|
|
7273
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.oRCiDLoginPOST(oRCiDJWT, returnUrl, options);
|
|
7274
|
+
return createRequestFunction$3(localVarAxiosArgs, axios, BASE_PATH$3, configuration);
|
|
6335
7275
|
});
|
|
6336
7276
|
},
|
|
6337
7277
|
};
|
|
6338
7278
|
};
|
|
6339
7279
|
/**
|
|
6340
|
-
*
|
|
7280
|
+
* ORCiDApi - factory interface
|
|
6341
7281
|
* @export
|
|
6342
7282
|
*/
|
|
6343
|
-
const
|
|
6344
|
-
const localVarFp =
|
|
7283
|
+
const ORCiDApiFactory = function (configuration, basePath, axios) {
|
|
7284
|
+
const localVarFp = ORCiDApiFp(configuration);
|
|
6345
7285
|
return {
|
|
6346
7286
|
/**
|
|
6347
7287
|
*
|
|
6348
|
-
* @summary
|
|
6349
|
-
* @param {
|
|
6350
|
-
* @throws {RequiredError}
|
|
6351
|
-
*/
|
|
6352
|
-
resourceTypeGetEnabledResourceTypes(options) {
|
|
6353
|
-
return localVarFp.resourceTypeGetEnabledResourceTypes(options).then((request) => request(axios, basePath));
|
|
6354
|
-
},
|
|
6355
|
-
/**
|
|
6356
|
-
*
|
|
6357
|
-
* @summary Returns all fields of the specified resource type.
|
|
6358
|
-
* @param {string} id A guid as a string that identifies the resource.
|
|
7288
|
+
* @summary ORCiD Login Route
|
|
7289
|
+
* @param {string} [returnUrl] URL to be redirected to
|
|
6359
7290
|
* @param {*} [options] Override http request option.
|
|
6360
7291
|
* @throws {RequiredError}
|
|
6361
7292
|
*/
|
|
6362
|
-
|
|
6363
|
-
return localVarFp.
|
|
7293
|
+
oRCiDLoginGET(returnUrl, options) {
|
|
7294
|
+
return localVarFp.oRCiDLoginGET(returnUrl, options).then((request) => request(axios, basePath));
|
|
6364
7295
|
},
|
|
6365
7296
|
/**
|
|
6366
7297
|
*
|
|
6367
|
-
* @summary
|
|
7298
|
+
* @summary Execute ORCiD validation and login
|
|
7299
|
+
* @param {string} [oRCiDJWT]
|
|
7300
|
+
* @param {string} [returnUrl] URL to be redirected to
|
|
6368
7301
|
* @param {*} [options] Override http request option.
|
|
6369
7302
|
* @throws {RequiredError}
|
|
6370
7303
|
*/
|
|
6371
|
-
|
|
6372
|
-
return localVarFp.
|
|
7304
|
+
oRCiDLoginPOST(oRCiDJWT, returnUrl, options) {
|
|
7305
|
+
return localVarFp.oRCiDLoginPOST(oRCiDJWT, returnUrl, options).then((request) => request(axios, basePath));
|
|
6373
7306
|
},
|
|
6374
7307
|
};
|
|
6375
|
-
};
|
|
6376
|
-
|
|
6377
|
-
/* tslint:disable */
|
|
6378
|
-
const BASE_PATH$3 = "https://d-sp23.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Search".replace(/\/+$/, "");
|
|
6379
|
-
|
|
6380
|
-
/* tslint:disable */
|
|
6381
|
-
/**
|
|
6382
|
-
*
|
|
6383
|
-
* @export
|
|
6384
|
-
*/
|
|
6385
|
-
const DUMMY_BASE_URL$3 = 'https://example.com';
|
|
6386
|
-
/**
|
|
6387
|
-
*
|
|
6388
|
-
* @export
|
|
6389
|
-
*/
|
|
6390
|
-
const setApiKeyToObject$3 = function (object, keyParamName, configuration) {
|
|
6391
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
6392
|
-
if (configuration && configuration.apiKey) {
|
|
6393
|
-
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
6394
|
-
? yield configuration.apiKey(keyParamName)
|
|
6395
|
-
: yield configuration.apiKey;
|
|
6396
|
-
object[keyParamName] = localVarApiKeyValue;
|
|
6397
|
-
}
|
|
6398
|
-
});
|
|
6399
|
-
};
|
|
6400
|
-
/**
|
|
6401
|
-
*
|
|
6402
|
-
* @export
|
|
6403
|
-
*/
|
|
6404
|
-
const setSearchParams$3 = function (url, ...objects) {
|
|
6405
|
-
const searchParams = new URLSearchParams(url.search);
|
|
6406
|
-
for (const object of objects) {
|
|
6407
|
-
for (const key in object) {
|
|
6408
|
-
if (Array.isArray(object[key])) {
|
|
6409
|
-
searchParams.delete(key);
|
|
6410
|
-
for (const item of object[key]) {
|
|
6411
|
-
searchParams.append(key, item);
|
|
6412
|
-
}
|
|
6413
|
-
}
|
|
6414
|
-
else {
|
|
6415
|
-
searchParams.set(key, object[key]);
|
|
6416
|
-
}
|
|
6417
|
-
}
|
|
6418
|
-
}
|
|
6419
|
-
url.search = searchParams.toString();
|
|
6420
7308
|
};
|
|
6421
7309
|
/**
|
|
6422
|
-
*
|
|
6423
|
-
* @export
|
|
6424
|
-
*/
|
|
6425
|
-
const toPathString$3 = function (url) {
|
|
6426
|
-
return url.pathname + url.search + url.hash;
|
|
6427
|
-
};
|
|
6428
|
-
/**
|
|
6429
|
-
*
|
|
6430
|
-
* @export
|
|
6431
|
-
*/
|
|
6432
|
-
const createRequestFunction$3 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
6433
|
-
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
6434
|
-
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
|
|
6435
|
-
return axios.request(axiosRequestArgs);
|
|
6436
|
-
};
|
|
6437
|
-
};
|
|
6438
|
-
|
|
6439
|
-
/* tslint:disable */
|
|
6440
|
-
/**
|
|
6441
|
-
*
|
|
6442
|
-
* @export
|
|
6443
|
-
* @enum {string}
|
|
6444
|
-
*/
|
|
6445
|
-
var ItemType;
|
|
6446
|
-
(function (ItemType) {
|
|
6447
|
-
ItemType["Metadata"] = "Metadata";
|
|
6448
|
-
ItemType["Project"] = "Project";
|
|
6449
|
-
ItemType["Resource"] = "Resource";
|
|
6450
|
-
})(ItemType || (ItemType = {}));
|
|
6451
|
-
/**
|
|
6452
|
-
* SearchApi - axios parameter creator
|
|
7310
|
+
* ShibbolethApi - axios parameter creator
|
|
6453
7311
|
* @export
|
|
6454
7312
|
*/
|
|
6455
|
-
const
|
|
7313
|
+
const ShibbolethApiAxiosParamCreator = function (configuration) {
|
|
6456
7314
|
return {
|
|
6457
7315
|
/**
|
|
6458
7316
|
*
|
|
6459
|
-
* @summary
|
|
6460
|
-
* @param {string} [
|
|
6461
|
-
* @param {
|
|
6462
|
-
* @param {boolean} [adv] Set true for advanced Elasticsearch search syntax
|
|
6463
|
-
* @param {Array<string>} [languages] Set the used languages
|
|
7317
|
+
* @summary Callback method to catch the login
|
|
7318
|
+
* @param {string} [returnUrl] URL to be redirected to
|
|
7319
|
+
* @param {string} [remoteError] Erros on remote login
|
|
6464
7320
|
* @param {*} [options] Override http request option.
|
|
6465
7321
|
* @throws {RequiredError}
|
|
6466
7322
|
*/
|
|
6467
|
-
|
|
6468
|
-
const localVarPath = `/
|
|
7323
|
+
shibbolethCallback: (returnUrl, remoteError, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
7324
|
+
const localVarPath = `/Shibboleth/callback`;
|
|
6469
7325
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6470
7326
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$3);
|
|
6471
7327
|
let baseOptions;
|
|
@@ -6477,17 +7333,46 @@ const SearchApiAxiosParamCreator = function (configuration) {
|
|
|
6477
7333
|
const localVarQueryParameter = {};
|
|
6478
7334
|
// authentication JWT token required
|
|
6479
7335
|
yield setApiKeyToObject$3(localVarHeaderParameter, "Authorization", configuration);
|
|
6480
|
-
if (
|
|
6481
|
-
localVarQueryParameter['
|
|
7336
|
+
if (returnUrl !== undefined) {
|
|
7337
|
+
localVarQueryParameter['returnUrl'] = returnUrl;
|
|
6482
7338
|
}
|
|
6483
|
-
if (
|
|
6484
|
-
localVarQueryParameter['
|
|
7339
|
+
if (remoteError !== undefined) {
|
|
7340
|
+
localVarQueryParameter['remoteError'] = remoteError;
|
|
6485
7341
|
}
|
|
6486
|
-
|
|
6487
|
-
|
|
7342
|
+
setSearchParams$3(localVarUrlObj, localVarQueryParameter, options.query);
|
|
7343
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7344
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7345
|
+
return {
|
|
7346
|
+
url: toPathString$3(localVarUrlObj),
|
|
7347
|
+
options: localVarRequestOptions,
|
|
7348
|
+
};
|
|
7349
|
+
}),
|
|
7350
|
+
/**
|
|
7351
|
+
*
|
|
7352
|
+
* @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.
|
|
7353
|
+
* @param {string} [returnUrl] URL to be redirected to
|
|
7354
|
+
* @param {string} [entityId] Specific Identitiy Provider to be redirect to
|
|
7355
|
+
* @param {*} [options] Override http request option.
|
|
7356
|
+
* @throws {RequiredError}
|
|
7357
|
+
*/
|
|
7358
|
+
shibbolethLogin: (returnUrl, entityId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
7359
|
+
const localVarPath = `/Shibboleth/login`;
|
|
7360
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7361
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$3);
|
|
7362
|
+
let baseOptions;
|
|
7363
|
+
if (configuration) {
|
|
7364
|
+
baseOptions = configuration.baseOptions;
|
|
6488
7365
|
}
|
|
6489
|
-
|
|
6490
|
-
|
|
7366
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
7367
|
+
const localVarHeaderParameter = {};
|
|
7368
|
+
const localVarQueryParameter = {};
|
|
7369
|
+
// authentication JWT token required
|
|
7370
|
+
yield setApiKeyToObject$3(localVarHeaderParameter, "Authorization", configuration);
|
|
7371
|
+
if (returnUrl !== undefined) {
|
|
7372
|
+
localVarQueryParameter['returnUrl'] = returnUrl;
|
|
7373
|
+
}
|
|
7374
|
+
if (entityId !== undefined) {
|
|
7375
|
+
localVarQueryParameter['entityId'] = entityId;
|
|
6491
7376
|
}
|
|
6492
7377
|
setSearchParams$3(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6493
7378
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -6500,49 +7385,70 @@ const SearchApiAxiosParamCreator = function (configuration) {
|
|
|
6500
7385
|
};
|
|
6501
7386
|
};
|
|
6502
7387
|
/**
|
|
6503
|
-
*
|
|
7388
|
+
* ShibbolethApi - functional programming interface
|
|
6504
7389
|
* @export
|
|
6505
7390
|
*/
|
|
6506
|
-
const
|
|
6507
|
-
const localVarAxiosParamCreator =
|
|
7391
|
+
const ShibbolethApiFp = function (configuration) {
|
|
7392
|
+
const localVarAxiosParamCreator = ShibbolethApiAxiosParamCreator(configuration);
|
|
6508
7393
|
return {
|
|
6509
7394
|
/**
|
|
6510
7395
|
*
|
|
6511
|
-
* @summary
|
|
6512
|
-
* @param {string} [
|
|
6513
|
-
* @param {
|
|
6514
|
-
* @param {boolean} [adv] Set true for advanced Elasticsearch search syntax
|
|
6515
|
-
* @param {Array<string>} [languages] Set the used languages
|
|
7396
|
+
* @summary Callback method to catch the login
|
|
7397
|
+
* @param {string} [returnUrl] URL to be redirected to
|
|
7398
|
+
* @param {string} [remoteError] Erros on remote login
|
|
6516
7399
|
* @param {*} [options] Override http request option.
|
|
6517
7400
|
* @throws {RequiredError}
|
|
6518
7401
|
*/
|
|
6519
|
-
|
|
7402
|
+
shibbolethCallback(returnUrl, remoteError, options) {
|
|
6520
7403
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6521
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
7404
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.shibbolethCallback(returnUrl, remoteError, options);
|
|
7405
|
+
return createRequestFunction$3(localVarAxiosArgs, axios, BASE_PATH$3, configuration);
|
|
7406
|
+
});
|
|
7407
|
+
},
|
|
7408
|
+
/**
|
|
7409
|
+
*
|
|
7410
|
+
* @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.
|
|
7411
|
+
* @param {string} [returnUrl] URL to be redirected to
|
|
7412
|
+
* @param {string} [entityId] Specific Identitiy Provider to be redirect to
|
|
7413
|
+
* @param {*} [options] Override http request option.
|
|
7414
|
+
* @throws {RequiredError}
|
|
7415
|
+
*/
|
|
7416
|
+
shibbolethLogin(returnUrl, entityId, options) {
|
|
7417
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7418
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.shibbolethLogin(returnUrl, entityId, options);
|
|
6522
7419
|
return createRequestFunction$3(localVarAxiosArgs, axios, BASE_PATH$3, configuration);
|
|
6523
7420
|
});
|
|
6524
7421
|
},
|
|
6525
7422
|
};
|
|
6526
7423
|
};
|
|
6527
7424
|
/**
|
|
6528
|
-
*
|
|
7425
|
+
* ShibbolethApi - factory interface
|
|
6529
7426
|
* @export
|
|
6530
7427
|
*/
|
|
6531
|
-
const
|
|
6532
|
-
const localVarFp =
|
|
7428
|
+
const ShibbolethApiFactory = function (configuration, basePath, axios) {
|
|
7429
|
+
const localVarFp = ShibbolethApiFp(configuration);
|
|
6533
7430
|
return {
|
|
6534
7431
|
/**
|
|
6535
7432
|
*
|
|
6536
|
-
* @summary
|
|
6537
|
-
* @param {string} [
|
|
6538
|
-
* @param {
|
|
6539
|
-
* @param {boolean} [adv] Set true for advanced Elasticsearch search syntax
|
|
6540
|
-
* @param {Array<string>} [languages] Set the used languages
|
|
7433
|
+
* @summary Callback method to catch the login
|
|
7434
|
+
* @param {string} [returnUrl] URL to be redirected to
|
|
7435
|
+
* @param {string} [remoteError] Erros on remote login
|
|
6541
7436
|
* @param {*} [options] Override http request option.
|
|
6542
7437
|
* @throws {RequiredError}
|
|
6543
7438
|
*/
|
|
6544
|
-
|
|
6545
|
-
return localVarFp.
|
|
7439
|
+
shibbolethCallback(returnUrl, remoteError, options) {
|
|
7440
|
+
return localVarFp.shibbolethCallback(returnUrl, remoteError, options).then((request) => request(axios, basePath));
|
|
7441
|
+
},
|
|
7442
|
+
/**
|
|
7443
|
+
*
|
|
7444
|
+
* @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.
|
|
7445
|
+
* @param {string} [returnUrl] URL to be redirected to
|
|
7446
|
+
* @param {string} [entityId] Specific Identitiy Provider to be redirect to
|
|
7447
|
+
* @param {*} [options] Override http request option.
|
|
7448
|
+
* @throws {RequiredError}
|
|
7449
|
+
*/
|
|
7450
|
+
shibbolethLogin(returnUrl, entityId, options) {
|
|
7451
|
+
return localVarFp.shibbolethLogin(returnUrl, entityId, options).then((request) => request(axios, basePath));
|
|
6546
7452
|
},
|
|
6547
7453
|
};
|
|
6548
7454
|
};
|
|
@@ -7566,6 +8472,33 @@ const TOSApiAxiosParamCreator = function (configuration) {
|
|
|
7566
8472
|
options: localVarRequestOptions,
|
|
7567
8473
|
};
|
|
7568
8474
|
}),
|
|
8475
|
+
/**
|
|
8476
|
+
*
|
|
8477
|
+
* @summary Returns the TOS Versions accepted by the current user.
|
|
8478
|
+
* @param {*} [options] Override http request option.
|
|
8479
|
+
* @throws {RequiredError}
|
|
8480
|
+
*/
|
|
8481
|
+
tOSAcceptedTOSVersion: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
8482
|
+
const localVarPath = `/TOS`;
|
|
8483
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8484
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8485
|
+
let baseOptions;
|
|
8486
|
+
if (configuration) {
|
|
8487
|
+
baseOptions = configuration.baseOptions;
|
|
8488
|
+
}
|
|
8489
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
8490
|
+
const localVarHeaderParameter = {};
|
|
8491
|
+
const localVarQueryParameter = {};
|
|
8492
|
+
// authentication JWT token required
|
|
8493
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
8494
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
8495
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8496
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8497
|
+
return {
|
|
8498
|
+
url: toPathString(localVarUrlObj),
|
|
8499
|
+
options: localVarRequestOptions,
|
|
8500
|
+
};
|
|
8501
|
+
}),
|
|
7569
8502
|
/**
|
|
7570
8503
|
*
|
|
7571
8504
|
* @summary Returns the current TOS Version.
|
|
@@ -7573,7 +8506,7 @@ const TOSApiAxiosParamCreator = function (configuration) {
|
|
|
7573
8506
|
* @throws {RequiredError}
|
|
7574
8507
|
*/
|
|
7575
8508
|
tOSGetCurrentTOSVersion: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
7576
|
-
const localVarPath = `/TOS`;
|
|
8509
|
+
const localVarPath = `/TOS/version`;
|
|
7577
8510
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7578
8511
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7579
8512
|
let baseOptions;
|
|
@@ -7614,6 +8547,18 @@ const TOSApiFp = function (configuration) {
|
|
|
7614
8547
|
return createRequestFunction(localVarAxiosArgs, axios, BASE_PATH, configuration);
|
|
7615
8548
|
});
|
|
7616
8549
|
},
|
|
8550
|
+
/**
|
|
8551
|
+
*
|
|
8552
|
+
* @summary Returns the TOS Versions accepted by the current user.
|
|
8553
|
+
* @param {*} [options] Override http request option.
|
|
8554
|
+
* @throws {RequiredError}
|
|
8555
|
+
*/
|
|
8556
|
+
tOSAcceptedTOSVersion(options) {
|
|
8557
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8558
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.tOSAcceptedTOSVersion(options);
|
|
8559
|
+
return createRequestFunction(localVarAxiosArgs, axios, BASE_PATH, configuration);
|
|
8560
|
+
});
|
|
8561
|
+
},
|
|
7617
8562
|
/**
|
|
7618
8563
|
*
|
|
7619
8564
|
* @summary Returns the current TOS Version.
|
|
@@ -7644,6 +8589,15 @@ const TOSApiFactory = function (configuration, basePath, axios) {
|
|
|
7644
8589
|
tOSAcceptCurrentTOSVersion(options) {
|
|
7645
8590
|
return localVarFp.tOSAcceptCurrentTOSVersion(options).then((request) => request(axios, basePath));
|
|
7646
8591
|
},
|
|
8592
|
+
/**
|
|
8593
|
+
*
|
|
8594
|
+
* @summary Returns the TOS Versions accepted by the current user.
|
|
8595
|
+
* @param {*} [options] Override http request option.
|
|
8596
|
+
* @throws {RequiredError}
|
|
8597
|
+
*/
|
|
8598
|
+
tOSAcceptedTOSVersion(options) {
|
|
8599
|
+
return localVarFp.tOSAcceptedTOSVersion(options).then((request) => request(axios, basePath));
|
|
8600
|
+
},
|
|
7647
8601
|
/**
|
|
7648
8602
|
*
|
|
7649
8603
|
* @summary Returns the current TOS Version.
|
|
@@ -7996,14 +8950,19 @@ const getHostName = () => {
|
|
|
7996
8950
|
};
|
|
7997
8951
|
function implementations(axios) {
|
|
7998
8952
|
return {
|
|
8953
|
+
AccountApi: AccountApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.STS', axios),
|
|
7999
8954
|
AdminApi: AdminApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Admin', axios),
|
|
8000
8955
|
BlobApi: BlobApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Blob', axios),
|
|
8001
8956
|
ContactChangeApi: ContactChangeApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.User', axios),
|
|
8002
8957
|
DisciplineApi: DisciplineApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios),
|
|
8958
|
+
GitLabApi: GitLabApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Resources', axios),
|
|
8959
|
+
HomeApi: HomeApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.STS', axios),
|
|
8003
8960
|
LanguageApi: LanguageApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.User', axios),
|
|
8004
8961
|
LicenseApi: LicenseApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios),
|
|
8962
|
+
MergeApi: MergeApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.STS', axios),
|
|
8005
8963
|
MetadataApi: MetadataApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Metadata', axios),
|
|
8006
8964
|
NoticeApi: NoticeApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Notices', axios),
|
|
8965
|
+
ORCiDApi: ORCiDApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.STS', axios),
|
|
8007
8966
|
OrganizationApi: OrganizationApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Organization', axios),
|
|
8008
8967
|
PidApi: PidApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Pid', axios),
|
|
8009
8968
|
ProjectApi: ProjectApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios),
|
|
@@ -8014,6 +8973,7 @@ function implementations(axios) {
|
|
|
8014
8973
|
ResourceTypeApi: ResourceTypeApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Resources', axios),
|
|
8015
8974
|
RoleApi: RoleApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios),
|
|
8016
8975
|
SearchApi: SearchApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Search', axios),
|
|
8976
|
+
ShibbolethApi: ShibbolethApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.STS', axios),
|
|
8017
8977
|
SubProjectApi: SubProjectApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios),
|
|
8018
8978
|
TitleApi: TitleApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.User', axios),
|
|
8019
8979
|
TokenApi: TokenApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Token', axios),
|
|
@@ -8063,14 +9023,19 @@ instance.interceptors.response.use((response) => {
|
|
|
8063
9023
|
});
|
|
8064
9024
|
|
|
8065
9025
|
const apis = implementations(instance);
|
|
9026
|
+
const AccountApi = apis.AccountApi;
|
|
8066
9027
|
const AdminApi = apis.AdminApi;
|
|
8067
9028
|
const BlobApi = apis.BlobApi;
|
|
8068
9029
|
const ContactChangeApi = apis.ContactChangeApi;
|
|
8069
9030
|
const DisciplineApi = apis.DisciplineApi;
|
|
9031
|
+
const GitLabApi = apis.GitLabApi;
|
|
9032
|
+
const HomeApi = apis.HomeApi;
|
|
8070
9033
|
const LanguageApi = apis.LanguageApi;
|
|
8071
9034
|
const LicenseApi = apis.LicenseApi;
|
|
9035
|
+
const MergeApi = apis.MergeApi;
|
|
8072
9036
|
const MetadataApi = apis.MetadataApi;
|
|
8073
9037
|
const NoticeApi = apis.NoticeApi;
|
|
9038
|
+
const ORCiDApi = apis.ORCiDApi;
|
|
8074
9039
|
const OrganizationApi = apis.OrganizationApi;
|
|
8075
9040
|
const PidApi = apis.PidApi;
|
|
8076
9041
|
const ProjectApi = apis.ProjectApi;
|
|
@@ -8081,6 +9046,7 @@ const ResourceQuotaApi = apis.ResourceQuotaApi;
|
|
|
8081
9046
|
const ResourceTypeApi = apis.ResourceTypeApi;
|
|
8082
9047
|
const RoleApi = apis.RoleApi;
|
|
8083
9048
|
const SearchApi = apis.SearchApi;
|
|
9049
|
+
const ShibbolethApi = apis.ShibbolethApi;
|
|
8084
9050
|
const SubProjectApi = apis.SubProjectApi;
|
|
8085
9051
|
const TitleApi = apis.TitleApi;
|
|
8086
9052
|
const TokenApi = apis.TokenApi;
|
|
@@ -8089,5 +9055,5 @@ const TreeApi = apis.TreeApi;
|
|
|
8089
9055
|
const UserApi = apis.UserApi;
|
|
8090
9056
|
const VisibilityApi = apis.VisibilityApi;
|
|
8091
9057
|
|
|
8092
|
-
export { AdminApi, BlobApi, ContactChangeApi, DisciplineApi, LanguageApi, LicenseApi, MetadataApi, NoticeApi, OrganizationApi, PidApi, ProjectApi, ProjectQuotaApi, ProjectRoleApi, ResourceApi, ResourceQuotaApi, ResourceTypeApi, RoleApi, SearchApi, SubProjectApi, TOSApi, TitleApi, TokenApi, TreeApi, UserApi, VisibilityApi, apis as default };
|
|
9058
|
+
export { AccountApi, AdminApi, BlobApi, ContactChangeApi, DisciplineApi, GitLabApi, HomeApi, LanguageApi, LicenseApi, MergeApi, MetadataApi, NoticeApi, ORCiDApi, OrganizationApi, PidApi, ProjectApi, ProjectQuotaApi, ProjectRoleApi, ResourceApi, ResourceQuotaApi, ResourceTypeApi, RoleApi, SearchApi, ShibbolethApi, SubProjectApi, TOSApi, TitleApi, TokenApi, TreeApi, UserApi, VisibilityApi, apis as default };
|
|
8093
9059
|
//# sourceMappingURL=index.js.map
|