@coscine/api-client 2.5.0 → 2.6.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 +1237 -502
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +1241 -501
- 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/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 +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 +24 -14
- package/dist/lib/apis.js.map +1 -1
- package/dist/lib/index.js +6 -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 +1 -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 +1 -1
- 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 +22 -2
- package/dist/types/index.d.ts +44 -4
- package/package.json +3 -3
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);
|
|
@@ -5657,7 +5660,7 @@ const ResourceApiAxiosParamCreator = function (configuration) {
|
|
|
5657
5660
|
const localVarPath = `/Resource/{id}`
|
|
5658
5661
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
5659
5662
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5660
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5663
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
|
|
5661
5664
|
let baseOptions;
|
|
5662
5665
|
if (configuration) {
|
|
5663
5666
|
baseOptions = configuration.baseOptions;
|
|
@@ -5666,12 +5669,12 @@ const ResourceApiAxiosParamCreator = function (configuration) {
|
|
|
5666
5669
|
const localVarHeaderParameter = {};
|
|
5667
5670
|
const localVarQueryParameter = {};
|
|
5668
5671
|
// authentication JWT token required
|
|
5669
|
-
yield setApiKeyToObject$
|
|
5670
|
-
setSearchParams$
|
|
5672
|
+
yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
|
|
5673
|
+
setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5671
5674
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5672
5675
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5673
5676
|
return {
|
|
5674
|
-
url: toPathString$
|
|
5677
|
+
url: toPathString$5(localVarUrlObj),
|
|
5675
5678
|
options: localVarRequestOptions,
|
|
5676
5679
|
};
|
|
5677
5680
|
}),
|
|
@@ -5688,7 +5691,7 @@ const ResourceApiAxiosParamCreator = function (configuration) {
|
|
|
5688
5691
|
const localVarPath = `/Resource/{id}`
|
|
5689
5692
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
5690
5693
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5691
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5694
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
|
|
5692
5695
|
let baseOptions;
|
|
5693
5696
|
if (configuration) {
|
|
5694
5697
|
baseOptions = configuration.baseOptions;
|
|
@@ -5697,12 +5700,12 @@ const ResourceApiAxiosParamCreator = function (configuration) {
|
|
|
5697
5700
|
const localVarHeaderParameter = {};
|
|
5698
5701
|
const localVarQueryParameter = {};
|
|
5699
5702
|
// authentication JWT token required
|
|
5700
|
-
yield setApiKeyToObject$
|
|
5701
|
-
setSearchParams$
|
|
5703
|
+
yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
|
|
5704
|
+
setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5702
5705
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5703
5706
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5704
5707
|
return {
|
|
5705
|
-
url: toPathString$
|
|
5708
|
+
url: toPathString$5(localVarUrlObj),
|
|
5706
5709
|
options: localVarRequestOptions,
|
|
5707
5710
|
};
|
|
5708
5711
|
}),
|
|
@@ -5715,7 +5718,7 @@ const ResourceApiAxiosParamCreator = function (configuration) {
|
|
|
5715
5718
|
resourceIndex: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5716
5719
|
const localVarPath = `/Resource`;
|
|
5717
5720
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5718
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5721
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
|
|
5719
5722
|
let baseOptions;
|
|
5720
5723
|
if (configuration) {
|
|
5721
5724
|
baseOptions = configuration.baseOptions;
|
|
@@ -5724,12 +5727,12 @@ const ResourceApiAxiosParamCreator = function (configuration) {
|
|
|
5724
5727
|
const localVarHeaderParameter = {};
|
|
5725
5728
|
const localVarQueryParameter = {};
|
|
5726
5729
|
// authentication JWT token required
|
|
5727
|
-
yield setApiKeyToObject$
|
|
5728
|
-
setSearchParams$
|
|
5730
|
+
yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
|
|
5731
|
+
setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5729
5732
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5730
5733
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5731
5734
|
return {
|
|
5732
|
-
url: toPathString$
|
|
5735
|
+
url: toPathString$5(localVarUrlObj),
|
|
5733
5736
|
options: localVarRequestOptions,
|
|
5734
5737
|
};
|
|
5735
5738
|
}),
|
|
@@ -5746,7 +5749,7 @@ const ResourceApiAxiosParamCreator = function (configuration) {
|
|
|
5746
5749
|
const localVarPath = `/Resource/{id}/isCreator`
|
|
5747
5750
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
5748
5751
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5749
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5752
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
|
|
5750
5753
|
let baseOptions;
|
|
5751
5754
|
if (configuration) {
|
|
5752
5755
|
baseOptions = configuration.baseOptions;
|
|
@@ -5755,12 +5758,12 @@ const ResourceApiAxiosParamCreator = function (configuration) {
|
|
|
5755
5758
|
const localVarHeaderParameter = {};
|
|
5756
5759
|
const localVarQueryParameter = {};
|
|
5757
5760
|
// authentication JWT token required
|
|
5758
|
-
yield setApiKeyToObject$
|
|
5759
|
-
setSearchParams$
|
|
5761
|
+
yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
|
|
5762
|
+
setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5760
5763
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5761
5764
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5762
5765
|
return {
|
|
5763
|
-
url: toPathString$
|
|
5766
|
+
url: toPathString$5(localVarUrlObj),
|
|
5764
5767
|
options: localVarRequestOptions,
|
|
5765
5768
|
};
|
|
5766
5769
|
}),
|
|
@@ -5778,7 +5781,7 @@ const ResourceApiAxiosParamCreator = function (configuration) {
|
|
|
5778
5781
|
const localVarPath = `/Resource/{id}/setReadonly`
|
|
5779
5782
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
5780
5783
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5781
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5784
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
|
|
5782
5785
|
let baseOptions;
|
|
5783
5786
|
if (configuration) {
|
|
5784
5787
|
baseOptions = configuration.baseOptions;
|
|
@@ -5787,15 +5790,15 @@ const ResourceApiAxiosParamCreator = function (configuration) {
|
|
|
5787
5790
|
const localVarHeaderParameter = {};
|
|
5788
5791
|
const localVarQueryParameter = {};
|
|
5789
5792
|
// authentication JWT token required
|
|
5790
|
-
yield setApiKeyToObject$
|
|
5793
|
+
yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
|
|
5791
5794
|
if (status !== undefined) {
|
|
5792
5795
|
localVarQueryParameter['status'] = status;
|
|
5793
5796
|
}
|
|
5794
|
-
setSearchParams$
|
|
5797
|
+
setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5795
5798
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5796
5799
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5797
5800
|
return {
|
|
5798
|
-
url: toPathString$
|
|
5801
|
+
url: toPathString$5(localVarUrlObj),
|
|
5799
5802
|
options: localVarRequestOptions,
|
|
5800
5803
|
};
|
|
5801
5804
|
}),
|
|
@@ -5815,7 +5818,7 @@ const ResourceApiAxiosParamCreator = function (configuration) {
|
|
|
5815
5818
|
const localVarPath = `/Resource/project/{projectId}`
|
|
5816
5819
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
5817
5820
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5818
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5821
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
|
|
5819
5822
|
let baseOptions;
|
|
5820
5823
|
if (configuration) {
|
|
5821
5824
|
baseOptions = configuration.baseOptions;
|
|
@@ -5824,14 +5827,14 @@ const ResourceApiAxiosParamCreator = function (configuration) {
|
|
|
5824
5827
|
const localVarHeaderParameter = {};
|
|
5825
5828
|
const localVarQueryParameter = {};
|
|
5826
5829
|
// authentication JWT token required
|
|
5827
|
-
yield setApiKeyToObject$
|
|
5830
|
+
yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
|
|
5828
5831
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5829
|
-
setSearchParams$
|
|
5832
|
+
setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5830
5833
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5831
5834
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5832
5835
|
localVarRequestOptions.data = serializeDataIfNeeded$2(resourceObject, localVarRequestOptions, configuration);
|
|
5833
5836
|
return {
|
|
5834
|
-
url: toPathString$
|
|
5837
|
+
url: toPathString$5(localVarUrlObj),
|
|
5835
5838
|
options: localVarRequestOptions,
|
|
5836
5839
|
};
|
|
5837
5840
|
}),
|
|
@@ -5851,7 +5854,7 @@ const ResourceApiAxiosParamCreator = function (configuration) {
|
|
|
5851
5854
|
const localVarPath = `/Resource/{id}`
|
|
5852
5855
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
5853
5856
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5854
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5857
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
|
|
5855
5858
|
let baseOptions;
|
|
5856
5859
|
if (configuration) {
|
|
5857
5860
|
baseOptions = configuration.baseOptions;
|
|
@@ -5860,14 +5863,14 @@ const ResourceApiAxiosParamCreator = function (configuration) {
|
|
|
5860
5863
|
const localVarHeaderParameter = {};
|
|
5861
5864
|
const localVarQueryParameter = {};
|
|
5862
5865
|
// authentication JWT token required
|
|
5863
|
-
yield setApiKeyToObject$
|
|
5866
|
+
yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
|
|
5864
5867
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5865
|
-
setSearchParams$
|
|
5868
|
+
setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5866
5869
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5867
5870
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5868
5871
|
localVarRequestOptions.data = serializeDataIfNeeded$2(resourceObject, localVarRequestOptions, configuration);
|
|
5869
5872
|
return {
|
|
5870
|
-
url: toPathString$
|
|
5873
|
+
url: toPathString$5(localVarUrlObj),
|
|
5871
5874
|
options: localVarRequestOptions,
|
|
5872
5875
|
};
|
|
5873
5876
|
}),
|
|
@@ -5890,7 +5893,7 @@ const ResourceApiFp = function (configuration) {
|
|
|
5890
5893
|
resourceDelete(id, options) {
|
|
5891
5894
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5892
5895
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceDelete(id, options);
|
|
5893
|
-
return createRequestFunction$
|
|
5896
|
+
return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
|
|
5894
5897
|
});
|
|
5895
5898
|
},
|
|
5896
5899
|
/**
|
|
@@ -5903,7 +5906,7 @@ const ResourceApiFp = function (configuration) {
|
|
|
5903
5906
|
resourceGet(id, options) {
|
|
5904
5907
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5905
5908
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceGet(id, options);
|
|
5906
|
-
return createRequestFunction$
|
|
5909
|
+
return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
|
|
5907
5910
|
});
|
|
5908
5911
|
},
|
|
5909
5912
|
/**
|
|
@@ -5915,7 +5918,7 @@ const ResourceApiFp = function (configuration) {
|
|
|
5915
5918
|
resourceIndex(options) {
|
|
5916
5919
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5917
5920
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceIndex(options);
|
|
5918
|
-
return createRequestFunction$
|
|
5921
|
+
return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
|
|
5919
5922
|
});
|
|
5920
5923
|
},
|
|
5921
5924
|
/**
|
|
@@ -5928,7 +5931,7 @@ const ResourceApiFp = function (configuration) {
|
|
|
5928
5931
|
resourceIsUserResourceCreator(id, options) {
|
|
5929
5932
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5930
5933
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceIsUserResourceCreator(id, options);
|
|
5931
|
-
return createRequestFunction$
|
|
5934
|
+
return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
|
|
5932
5935
|
});
|
|
5933
5936
|
},
|
|
5934
5937
|
/**
|
|
@@ -5942,7 +5945,7 @@ const ResourceApiFp = function (configuration) {
|
|
|
5942
5945
|
resourceSetResourceReadonly(id, status, options) {
|
|
5943
5946
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5944
5947
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceSetResourceReadonly(id, status, options);
|
|
5945
|
-
return createRequestFunction$
|
|
5948
|
+
return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
|
|
5946
5949
|
});
|
|
5947
5950
|
},
|
|
5948
5951
|
/**
|
|
@@ -5956,7 +5959,7 @@ const ResourceApiFp = function (configuration) {
|
|
|
5956
5959
|
resourceStoreToProject(projectId, resourceObject, options) {
|
|
5957
5960
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5958
5961
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceStoreToProject(projectId, resourceObject, options);
|
|
5959
|
-
return createRequestFunction$
|
|
5962
|
+
return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
|
|
5960
5963
|
});
|
|
5961
5964
|
},
|
|
5962
5965
|
/**
|
|
@@ -5970,7 +5973,7 @@ const ResourceApiFp = function (configuration) {
|
|
|
5970
5973
|
resourceUpdate(id, resourceObject, options) {
|
|
5971
5974
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5972
5975
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceUpdate(id, resourceObject, options);
|
|
5973
|
-
return createRequestFunction$
|
|
5976
|
+
return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
|
|
5974
5977
|
});
|
|
5975
5978
|
},
|
|
5976
5979
|
};
|
|
@@ -6075,7 +6078,7 @@ const ResourceQuotaApiAxiosParamCreator = function (configuration) {
|
|
|
6075
6078
|
const localVarPath = `/ResourceQuota/{id}`
|
|
6076
6079
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
6077
6080
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6078
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
6081
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
|
|
6079
6082
|
let baseOptions;
|
|
6080
6083
|
if (configuration) {
|
|
6081
6084
|
baseOptions = configuration.baseOptions;
|
|
@@ -6084,12 +6087,12 @@ const ResourceQuotaApiAxiosParamCreator = function (configuration) {
|
|
|
6084
6087
|
const localVarHeaderParameter = {};
|
|
6085
6088
|
const localVarQueryParameter = {};
|
|
6086
6089
|
// authentication JWT token required
|
|
6087
|
-
yield setApiKeyToObject$
|
|
6088
|
-
setSearchParams$
|
|
6090
|
+
yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
|
|
6091
|
+
setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6089
6092
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6090
6093
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6091
6094
|
return {
|
|
6092
|
-
url: toPathString$
|
|
6095
|
+
url: toPathString$5(localVarUrlObj),
|
|
6093
6096
|
options: localVarRequestOptions,
|
|
6094
6097
|
};
|
|
6095
6098
|
}),
|
|
@@ -6109,7 +6112,7 @@ const ResourceQuotaApiAxiosParamCreator = function (configuration) {
|
|
|
6109
6112
|
const localVarPath = `/ResourceQuota/{id}`
|
|
6110
6113
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
6111
6114
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6112
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
6115
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
|
|
6113
6116
|
let baseOptions;
|
|
6114
6117
|
if (configuration) {
|
|
6115
6118
|
baseOptions = configuration.baseOptions;
|
|
@@ -6118,14 +6121,14 @@ const ResourceQuotaApiAxiosParamCreator = function (configuration) {
|
|
|
6118
6121
|
const localVarHeaderParameter = {};
|
|
6119
6122
|
const localVarQueryParameter = {};
|
|
6120
6123
|
// authentication JWT token required
|
|
6121
|
-
yield setApiKeyToObject$
|
|
6124
|
+
yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
|
|
6122
6125
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6123
|
-
setSearchParams$
|
|
6126
|
+
setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6124
6127
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6125
6128
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6126
6129
|
localVarRequestOptions.data = serializeDataIfNeeded$2(updateResourceObject, localVarRequestOptions, configuration);
|
|
6127
6130
|
return {
|
|
6128
|
-
url: toPathString$
|
|
6131
|
+
url: toPathString$5(localVarUrlObj),
|
|
6129
6132
|
options: localVarRequestOptions,
|
|
6130
6133
|
};
|
|
6131
6134
|
}),
|
|
@@ -6148,7 +6151,7 @@ const ResourceQuotaApiFp = function (configuration) {
|
|
|
6148
6151
|
resourceQuotaGetResourceQuota(id, options) {
|
|
6149
6152
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6150
6153
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceQuotaGetResourceQuota(id, options);
|
|
6151
|
-
return createRequestFunction$
|
|
6154
|
+
return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
|
|
6152
6155
|
});
|
|
6153
6156
|
},
|
|
6154
6157
|
/**
|
|
@@ -6162,7 +6165,7 @@ const ResourceQuotaApiFp = function (configuration) {
|
|
|
6162
6165
|
resourceQuotaUpdateResourceQuota(id, updateResourceObject, options) {
|
|
6163
6166
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6164
6167
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceQuotaUpdateResourceQuota(id, updateResourceObject, options);
|
|
6165
|
-
return createRequestFunction$
|
|
6168
|
+
return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
|
|
6166
6169
|
});
|
|
6167
6170
|
},
|
|
6168
6171
|
};
|
|
@@ -6212,7 +6215,7 @@ const ResourceTypeApiAxiosParamCreator = function (configuration) {
|
|
|
6212
6215
|
resourceTypeGetEnabledResourceTypes: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6213
6216
|
const localVarPath = `/ResourceType/types/-/enabled`;
|
|
6214
6217
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6215
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
6218
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
|
|
6216
6219
|
let baseOptions;
|
|
6217
6220
|
if (configuration) {
|
|
6218
6221
|
baseOptions = configuration.baseOptions;
|
|
@@ -6221,12 +6224,12 @@ const ResourceTypeApiAxiosParamCreator = function (configuration) {
|
|
|
6221
6224
|
const localVarHeaderParameter = {};
|
|
6222
6225
|
const localVarQueryParameter = {};
|
|
6223
6226
|
// authentication JWT token required
|
|
6224
|
-
yield setApiKeyToObject$
|
|
6225
|
-
setSearchParams$
|
|
6227
|
+
yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
|
|
6228
|
+
setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6226
6229
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6227
6230
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6228
6231
|
return {
|
|
6229
|
-
url: toPathString$
|
|
6232
|
+
url: toPathString$5(localVarUrlObj),
|
|
6230
6233
|
options: localVarRequestOptions,
|
|
6231
6234
|
};
|
|
6232
6235
|
}),
|
|
@@ -6243,7 +6246,714 @@ const ResourceTypeApiAxiosParamCreator = function (configuration) {
|
|
|
6243
6246
|
const localVarPath = `/ResourceType/types/{id}`
|
|
6244
6247
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
6245
6248
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6246
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
6249
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
|
|
6250
|
+
let baseOptions;
|
|
6251
|
+
if (configuration) {
|
|
6252
|
+
baseOptions = configuration.baseOptions;
|
|
6253
|
+
}
|
|
6254
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6255
|
+
const localVarHeaderParameter = {};
|
|
6256
|
+
const localVarQueryParameter = {};
|
|
6257
|
+
// authentication JWT token required
|
|
6258
|
+
yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
|
|
6259
|
+
setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6260
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6261
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6262
|
+
return {
|
|
6263
|
+
url: toPathString$5(localVarUrlObj),
|
|
6264
|
+
options: localVarRequestOptions,
|
|
6265
|
+
};
|
|
6266
|
+
}),
|
|
6267
|
+
/**
|
|
6268
|
+
*
|
|
6269
|
+
* @summary Returns all resource types.
|
|
6270
|
+
* @param {*} [options] Override http request option.
|
|
6271
|
+
* @throws {RequiredError}
|
|
6272
|
+
*/
|
|
6273
|
+
resourceTypeGetResourceTypes: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6274
|
+
const localVarPath = `/ResourceType/types`;
|
|
6275
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6276
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
|
|
6277
|
+
let baseOptions;
|
|
6278
|
+
if (configuration) {
|
|
6279
|
+
baseOptions = configuration.baseOptions;
|
|
6280
|
+
}
|
|
6281
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6282
|
+
const localVarHeaderParameter = {};
|
|
6283
|
+
const localVarQueryParameter = {};
|
|
6284
|
+
// authentication JWT token required
|
|
6285
|
+
yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
|
|
6286
|
+
setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6287
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6288
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6289
|
+
return {
|
|
6290
|
+
url: toPathString$5(localVarUrlObj),
|
|
6291
|
+
options: localVarRequestOptions,
|
|
6292
|
+
};
|
|
6293
|
+
}),
|
|
6294
|
+
};
|
|
6295
|
+
};
|
|
6296
|
+
/**
|
|
6297
|
+
* ResourceTypeApi - functional programming interface
|
|
6298
|
+
* @export
|
|
6299
|
+
*/
|
|
6300
|
+
const ResourceTypeApiFp = function (configuration) {
|
|
6301
|
+
const localVarAxiosParamCreator = ResourceTypeApiAxiosParamCreator(configuration);
|
|
6302
|
+
return {
|
|
6303
|
+
/**
|
|
6304
|
+
*
|
|
6305
|
+
* @summary Returns all enabled resource types.
|
|
6306
|
+
* @param {*} [options] Override http request option.
|
|
6307
|
+
* @throws {RequiredError}
|
|
6308
|
+
*/
|
|
6309
|
+
resourceTypeGetEnabledResourceTypes(options) {
|
|
6310
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6311
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceTypeGetEnabledResourceTypes(options);
|
|
6312
|
+
return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
|
|
6313
|
+
});
|
|
6314
|
+
},
|
|
6315
|
+
/**
|
|
6316
|
+
*
|
|
6317
|
+
* @summary Returns all fields of the specified resource type.
|
|
6318
|
+
* @param {string} id A guid as a string that identifies the resource.
|
|
6319
|
+
* @param {*} [options] Override http request option.
|
|
6320
|
+
* @throws {RequiredError}
|
|
6321
|
+
*/
|
|
6322
|
+
resourceTypeGetResourceType(id, options) {
|
|
6323
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6324
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceTypeGetResourceType(id, options);
|
|
6325
|
+
return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
|
|
6326
|
+
});
|
|
6327
|
+
},
|
|
6328
|
+
/**
|
|
6329
|
+
*
|
|
6330
|
+
* @summary Returns all resource types.
|
|
6331
|
+
* @param {*} [options] Override http request option.
|
|
6332
|
+
* @throws {RequiredError}
|
|
6333
|
+
*/
|
|
6334
|
+
resourceTypeGetResourceTypes(options) {
|
|
6335
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6336
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceTypeGetResourceTypes(options);
|
|
6337
|
+
return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
|
|
6338
|
+
});
|
|
6339
|
+
},
|
|
6340
|
+
};
|
|
6341
|
+
};
|
|
6342
|
+
/**
|
|
6343
|
+
* ResourceTypeApi - factory interface
|
|
6344
|
+
* @export
|
|
6345
|
+
*/
|
|
6346
|
+
const ResourceTypeApiFactory = function (configuration, basePath, axios) {
|
|
6347
|
+
const localVarFp = ResourceTypeApiFp(configuration);
|
|
6348
|
+
return {
|
|
6349
|
+
/**
|
|
6350
|
+
*
|
|
6351
|
+
* @summary Returns all enabled resource types.
|
|
6352
|
+
* @param {*} [options] Override http request option.
|
|
6353
|
+
* @throws {RequiredError}
|
|
6354
|
+
*/
|
|
6355
|
+
resourceTypeGetEnabledResourceTypes(options) {
|
|
6356
|
+
return localVarFp.resourceTypeGetEnabledResourceTypes(options).then((request) => request(axios, basePath));
|
|
6357
|
+
},
|
|
6358
|
+
/**
|
|
6359
|
+
*
|
|
6360
|
+
* @summary Returns all fields of the specified resource type.
|
|
6361
|
+
* @param {string} id A guid as a string that identifies the resource.
|
|
6362
|
+
* @param {*} [options] Override http request option.
|
|
6363
|
+
* @throws {RequiredError}
|
|
6364
|
+
*/
|
|
6365
|
+
resourceTypeGetResourceType(id, options) {
|
|
6366
|
+
return localVarFp.resourceTypeGetResourceType(id, options).then((request) => request(axios, basePath));
|
|
6367
|
+
},
|
|
6368
|
+
/**
|
|
6369
|
+
*
|
|
6370
|
+
* @summary Returns all resource types.
|
|
6371
|
+
* @param {*} [options] Override http request option.
|
|
6372
|
+
* @throws {RequiredError}
|
|
6373
|
+
*/
|
|
6374
|
+
resourceTypeGetResourceTypes(options) {
|
|
6375
|
+
return localVarFp.resourceTypeGetResourceTypes(options).then((request) => request(axios, basePath));
|
|
6376
|
+
},
|
|
6377
|
+
};
|
|
6378
|
+
};
|
|
6379
|
+
|
|
6380
|
+
/* tslint:disable */
|
|
6381
|
+
const BASE_PATH$4 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Search".replace(/\/+$/, "");
|
|
6382
|
+
|
|
6383
|
+
/* tslint:disable */
|
|
6384
|
+
/**
|
|
6385
|
+
*
|
|
6386
|
+
* @export
|
|
6387
|
+
*/
|
|
6388
|
+
const DUMMY_BASE_URL$4 = 'https://example.com';
|
|
6389
|
+
/**
|
|
6390
|
+
*
|
|
6391
|
+
* @export
|
|
6392
|
+
*/
|
|
6393
|
+
const setApiKeyToObject$4 = function (object, keyParamName, configuration) {
|
|
6394
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6395
|
+
if (configuration && configuration.apiKey) {
|
|
6396
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
6397
|
+
? yield configuration.apiKey(keyParamName)
|
|
6398
|
+
: yield configuration.apiKey;
|
|
6399
|
+
object[keyParamName] = localVarApiKeyValue;
|
|
6400
|
+
}
|
|
6401
|
+
});
|
|
6402
|
+
};
|
|
6403
|
+
/**
|
|
6404
|
+
*
|
|
6405
|
+
* @export
|
|
6406
|
+
*/
|
|
6407
|
+
const setSearchParams$4 = function (url, ...objects) {
|
|
6408
|
+
const searchParams = new URLSearchParams(url.search);
|
|
6409
|
+
for (const object of objects) {
|
|
6410
|
+
for (const key in object) {
|
|
6411
|
+
if (Array.isArray(object[key])) {
|
|
6412
|
+
searchParams.delete(key);
|
|
6413
|
+
for (const item of object[key]) {
|
|
6414
|
+
searchParams.append(key, item);
|
|
6415
|
+
}
|
|
6416
|
+
}
|
|
6417
|
+
else {
|
|
6418
|
+
searchParams.set(key, object[key]);
|
|
6419
|
+
}
|
|
6420
|
+
}
|
|
6421
|
+
}
|
|
6422
|
+
url.search = searchParams.toString();
|
|
6423
|
+
};
|
|
6424
|
+
/**
|
|
6425
|
+
*
|
|
6426
|
+
* @export
|
|
6427
|
+
*/
|
|
6428
|
+
const toPathString$4 = function (url) {
|
|
6429
|
+
return url.pathname + url.search + url.hash;
|
|
6430
|
+
};
|
|
6431
|
+
/**
|
|
6432
|
+
*
|
|
6433
|
+
* @export
|
|
6434
|
+
*/
|
|
6435
|
+
const createRequestFunction$4 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
6436
|
+
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
6437
|
+
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
|
|
6438
|
+
return axios.request(axiosRequestArgs);
|
|
6439
|
+
};
|
|
6440
|
+
};
|
|
6441
|
+
|
|
6442
|
+
/* tslint:disable */
|
|
6443
|
+
/**
|
|
6444
|
+
*
|
|
6445
|
+
* @export
|
|
6446
|
+
* @enum {string}
|
|
6447
|
+
*/
|
|
6448
|
+
var ItemType;
|
|
6449
|
+
(function (ItemType) {
|
|
6450
|
+
ItemType["Metadata"] = "Metadata";
|
|
6451
|
+
ItemType["Project"] = "Project";
|
|
6452
|
+
ItemType["Resource"] = "Resource";
|
|
6453
|
+
})(ItemType || (ItemType = {}));
|
|
6454
|
+
/**
|
|
6455
|
+
* SearchApi - axios parameter creator
|
|
6456
|
+
* @export
|
|
6457
|
+
*/
|
|
6458
|
+
const SearchApiAxiosParamCreator = function (configuration) {
|
|
6459
|
+
return {
|
|
6460
|
+
/**
|
|
6461
|
+
*
|
|
6462
|
+
* @summary Search Elasticsearch
|
|
6463
|
+
* @param {string} [query] Elasticsearch query
|
|
6464
|
+
* @param {boolean} [user] Specify user or only public metadata records could be found
|
|
6465
|
+
* @param {boolean} [adv] Set true for advanced Elasticsearch search syntax
|
|
6466
|
+
* @param {Array<string>} [languages] Set the used languages
|
|
6467
|
+
* @param {*} [options] Override http request option.
|
|
6468
|
+
* @throws {RequiredError}
|
|
6469
|
+
*/
|
|
6470
|
+
searchSearch: (query, user, adv, languages, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6471
|
+
const localVarPath = `/Search`;
|
|
6472
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6473
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$4);
|
|
6474
|
+
let baseOptions;
|
|
6475
|
+
if (configuration) {
|
|
6476
|
+
baseOptions = configuration.baseOptions;
|
|
6477
|
+
}
|
|
6478
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6479
|
+
const localVarHeaderParameter = {};
|
|
6480
|
+
const localVarQueryParameter = {};
|
|
6481
|
+
// authentication JWT token required
|
|
6482
|
+
yield setApiKeyToObject$4(localVarHeaderParameter, "Authorization", configuration);
|
|
6483
|
+
if (query !== undefined) {
|
|
6484
|
+
localVarQueryParameter['query'] = query;
|
|
6485
|
+
}
|
|
6486
|
+
if (user !== undefined) {
|
|
6487
|
+
localVarQueryParameter['user'] = user;
|
|
6488
|
+
}
|
|
6489
|
+
if (adv !== undefined) {
|
|
6490
|
+
localVarQueryParameter['adv'] = adv;
|
|
6491
|
+
}
|
|
6492
|
+
if (languages) {
|
|
6493
|
+
localVarQueryParameter['languages'] = languages;
|
|
6494
|
+
}
|
|
6495
|
+
setSearchParams$4(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6496
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6497
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6498
|
+
return {
|
|
6499
|
+
url: toPathString$4(localVarUrlObj),
|
|
6500
|
+
options: localVarRequestOptions,
|
|
6501
|
+
};
|
|
6502
|
+
}),
|
|
6503
|
+
};
|
|
6504
|
+
};
|
|
6505
|
+
/**
|
|
6506
|
+
* SearchApi - functional programming interface
|
|
6507
|
+
* @export
|
|
6508
|
+
*/
|
|
6509
|
+
const SearchApiFp = function (configuration) {
|
|
6510
|
+
const localVarAxiosParamCreator = SearchApiAxiosParamCreator(configuration);
|
|
6511
|
+
return {
|
|
6512
|
+
/**
|
|
6513
|
+
*
|
|
6514
|
+
* @summary Search Elasticsearch
|
|
6515
|
+
* @param {string} [query] Elasticsearch query
|
|
6516
|
+
* @param {boolean} [user] Specify user or only public metadata records could be found
|
|
6517
|
+
* @param {boolean} [adv] Set true for advanced Elasticsearch search syntax
|
|
6518
|
+
* @param {Array<string>} [languages] Set the used languages
|
|
6519
|
+
* @param {*} [options] Override http request option.
|
|
6520
|
+
* @throws {RequiredError}
|
|
6521
|
+
*/
|
|
6522
|
+
searchSearch(query, user, adv, languages, options) {
|
|
6523
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6524
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.searchSearch(query, user, adv, languages, options);
|
|
6525
|
+
return createRequestFunction$4(localVarAxiosArgs, axios, BASE_PATH$4, configuration);
|
|
6526
|
+
});
|
|
6527
|
+
},
|
|
6528
|
+
};
|
|
6529
|
+
};
|
|
6530
|
+
/**
|
|
6531
|
+
* SearchApi - factory interface
|
|
6532
|
+
* @export
|
|
6533
|
+
*/
|
|
6534
|
+
const SearchApiFactory = function (configuration, basePath, axios) {
|
|
6535
|
+
const localVarFp = SearchApiFp(configuration);
|
|
6536
|
+
return {
|
|
6537
|
+
/**
|
|
6538
|
+
*
|
|
6539
|
+
* @summary Search Elasticsearch
|
|
6540
|
+
* @param {string} [query] Elasticsearch query
|
|
6541
|
+
* @param {boolean} [user] Specify user or only public metadata records could be found
|
|
6542
|
+
* @param {boolean} [adv] Set true for advanced Elasticsearch search syntax
|
|
6543
|
+
* @param {Array<string>} [languages] Set the used languages
|
|
6544
|
+
* @param {*} [options] Override http request option.
|
|
6545
|
+
* @throws {RequiredError}
|
|
6546
|
+
*/
|
|
6547
|
+
searchSearch(query, user, adv, languages, options) {
|
|
6548
|
+
return localVarFp.searchSearch(query, user, adv, languages, options).then((request) => request(axios, basePath));
|
|
6549
|
+
},
|
|
6550
|
+
};
|
|
6551
|
+
};
|
|
6552
|
+
|
|
6553
|
+
/* tslint:disable */
|
|
6554
|
+
const BASE_PATH$3 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.STS".replace(/\/+$/, "");
|
|
6555
|
+
|
|
6556
|
+
/* tslint:disable */
|
|
6557
|
+
/**
|
|
6558
|
+
*
|
|
6559
|
+
* @export
|
|
6560
|
+
*/
|
|
6561
|
+
const DUMMY_BASE_URL$3 = 'https://example.com';
|
|
6562
|
+
/**
|
|
6563
|
+
*
|
|
6564
|
+
* @export
|
|
6565
|
+
*/
|
|
6566
|
+
const setApiKeyToObject$3 = function (object, keyParamName, configuration) {
|
|
6567
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6568
|
+
if (configuration && configuration.apiKey) {
|
|
6569
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
6570
|
+
? yield configuration.apiKey(keyParamName)
|
|
6571
|
+
: yield configuration.apiKey;
|
|
6572
|
+
object[keyParamName] = localVarApiKeyValue;
|
|
6573
|
+
}
|
|
6574
|
+
});
|
|
6575
|
+
};
|
|
6576
|
+
/**
|
|
6577
|
+
*
|
|
6578
|
+
* @export
|
|
6579
|
+
*/
|
|
6580
|
+
const setSearchParams$3 = function (url, ...objects) {
|
|
6581
|
+
const searchParams = new URLSearchParams(url.search);
|
|
6582
|
+
for (const object of objects) {
|
|
6583
|
+
for (const key in object) {
|
|
6584
|
+
if (Array.isArray(object[key])) {
|
|
6585
|
+
searchParams.delete(key);
|
|
6586
|
+
for (const item of object[key]) {
|
|
6587
|
+
searchParams.append(key, item);
|
|
6588
|
+
}
|
|
6589
|
+
}
|
|
6590
|
+
else {
|
|
6591
|
+
searchParams.set(key, object[key]);
|
|
6592
|
+
}
|
|
6593
|
+
}
|
|
6594
|
+
}
|
|
6595
|
+
url.search = searchParams.toString();
|
|
6596
|
+
};
|
|
6597
|
+
/**
|
|
6598
|
+
*
|
|
6599
|
+
* @export
|
|
6600
|
+
*/
|
|
6601
|
+
const toPathString$3 = function (url) {
|
|
6602
|
+
return url.pathname + url.search + url.hash;
|
|
6603
|
+
};
|
|
6604
|
+
/**
|
|
6605
|
+
*
|
|
6606
|
+
* @export
|
|
6607
|
+
*/
|
|
6608
|
+
const createRequestFunction$3 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
6609
|
+
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
6610
|
+
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
|
|
6611
|
+
return axios.request(axiosRequestArgs);
|
|
6612
|
+
};
|
|
6613
|
+
};
|
|
6614
|
+
|
|
6615
|
+
/* tslint:disable */
|
|
6616
|
+
/**
|
|
6617
|
+
* AccountApi - axios parameter creator
|
|
6618
|
+
* @export
|
|
6619
|
+
*/
|
|
6620
|
+
const AccountApiAxiosParamCreator = function (configuration) {
|
|
6621
|
+
return {
|
|
6622
|
+
/**
|
|
6623
|
+
*
|
|
6624
|
+
* @summary Return relevant URLs for logging the user in
|
|
6625
|
+
* @param {*} [options] Override http request option.
|
|
6626
|
+
* @throws {RequiredError}
|
|
6627
|
+
*/
|
|
6628
|
+
accountGetLoginUrls: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6629
|
+
const localVarPath = `/Account/urls/login`;
|
|
6630
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6631
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$3);
|
|
6632
|
+
let baseOptions;
|
|
6633
|
+
if (configuration) {
|
|
6634
|
+
baseOptions = configuration.baseOptions;
|
|
6635
|
+
}
|
|
6636
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6637
|
+
const localVarHeaderParameter = {};
|
|
6638
|
+
const localVarQueryParameter = {};
|
|
6639
|
+
// authentication JWT token required
|
|
6640
|
+
yield setApiKeyToObject$3(localVarHeaderParameter, "Authorization", configuration);
|
|
6641
|
+
setSearchParams$3(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6642
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6643
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6644
|
+
return {
|
|
6645
|
+
url: toPathString$3(localVarUrlObj),
|
|
6646
|
+
options: localVarRequestOptions,
|
|
6647
|
+
};
|
|
6648
|
+
}),
|
|
6649
|
+
/**
|
|
6650
|
+
*
|
|
6651
|
+
* @summary Route for logging the user out of Coscine
|
|
6652
|
+
* @param {*} [options] Override http request option.
|
|
6653
|
+
* @throws {RequiredError}
|
|
6654
|
+
*/
|
|
6655
|
+
accountLogout: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6656
|
+
const localVarPath = `/Account/logout`;
|
|
6657
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6658
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$3);
|
|
6659
|
+
let baseOptions;
|
|
6660
|
+
if (configuration) {
|
|
6661
|
+
baseOptions = configuration.baseOptions;
|
|
6662
|
+
}
|
|
6663
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6664
|
+
const localVarHeaderParameter = {};
|
|
6665
|
+
const localVarQueryParameter = {};
|
|
6666
|
+
// authentication JWT token required
|
|
6667
|
+
yield setApiKeyToObject$3(localVarHeaderParameter, "Authorization", configuration);
|
|
6668
|
+
setSearchParams$3(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6669
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6670
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6671
|
+
return {
|
|
6672
|
+
url: toPathString$3(localVarUrlObj),
|
|
6673
|
+
options: localVarRequestOptions,
|
|
6674
|
+
};
|
|
6675
|
+
}),
|
|
6676
|
+
};
|
|
6677
|
+
};
|
|
6678
|
+
/**
|
|
6679
|
+
* AccountApi - functional programming interface
|
|
6680
|
+
* @export
|
|
6681
|
+
*/
|
|
6682
|
+
const AccountApiFp = function (configuration) {
|
|
6683
|
+
const localVarAxiosParamCreator = AccountApiAxiosParamCreator(configuration);
|
|
6684
|
+
return {
|
|
6685
|
+
/**
|
|
6686
|
+
*
|
|
6687
|
+
* @summary Return relevant URLs for logging the user in
|
|
6688
|
+
* @param {*} [options] Override http request option.
|
|
6689
|
+
* @throws {RequiredError}
|
|
6690
|
+
*/
|
|
6691
|
+
accountGetLoginUrls(options) {
|
|
6692
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6693
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.accountGetLoginUrls(options);
|
|
6694
|
+
return createRequestFunction$3(localVarAxiosArgs, axios, BASE_PATH$3, configuration);
|
|
6695
|
+
});
|
|
6696
|
+
},
|
|
6697
|
+
/**
|
|
6698
|
+
*
|
|
6699
|
+
* @summary Route for logging the user out of Coscine
|
|
6700
|
+
* @param {*} [options] Override http request option.
|
|
6701
|
+
* @throws {RequiredError}
|
|
6702
|
+
*/
|
|
6703
|
+
accountLogout(options) {
|
|
6704
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6705
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.accountLogout(options);
|
|
6706
|
+
return createRequestFunction$3(localVarAxiosArgs, axios, BASE_PATH$3, configuration);
|
|
6707
|
+
});
|
|
6708
|
+
},
|
|
6709
|
+
};
|
|
6710
|
+
};
|
|
6711
|
+
/**
|
|
6712
|
+
* AccountApi - factory interface
|
|
6713
|
+
* @export
|
|
6714
|
+
*/
|
|
6715
|
+
const AccountApiFactory = function (configuration, basePath, axios) {
|
|
6716
|
+
const localVarFp = AccountApiFp(configuration);
|
|
6717
|
+
return {
|
|
6718
|
+
/**
|
|
6719
|
+
*
|
|
6720
|
+
* @summary Return relevant URLs for logging the user in
|
|
6721
|
+
* @param {*} [options] Override http request option.
|
|
6722
|
+
* @throws {RequiredError}
|
|
6723
|
+
*/
|
|
6724
|
+
accountGetLoginUrls(options) {
|
|
6725
|
+
return localVarFp.accountGetLoginUrls(options).then((request) => request(axios, basePath));
|
|
6726
|
+
},
|
|
6727
|
+
/**
|
|
6728
|
+
*
|
|
6729
|
+
* @summary Route for logging the user out of Coscine
|
|
6730
|
+
* @param {*} [options] Override http request option.
|
|
6731
|
+
* @throws {RequiredError}
|
|
6732
|
+
*/
|
|
6733
|
+
accountLogout(options) {
|
|
6734
|
+
return localVarFp.accountLogout(options).then((request) => request(axios, basePath));
|
|
6735
|
+
},
|
|
6736
|
+
};
|
|
6737
|
+
};
|
|
6738
|
+
/**
|
|
6739
|
+
* HomeApi - axios parameter creator
|
|
6740
|
+
* @export
|
|
6741
|
+
*/
|
|
6742
|
+
const HomeApiAxiosParamCreator = function (configuration) {
|
|
6743
|
+
return {
|
|
6744
|
+
/**
|
|
6745
|
+
*
|
|
6746
|
+
* @summary The controller that the user is automatically entering when accesing the route .../coscine/api/Coscine.STS/
|
|
6747
|
+
* @param {*} [options] Override http request option.
|
|
6748
|
+
* @throws {RequiredError}
|
|
6749
|
+
*/
|
|
6750
|
+
homeIndex: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6751
|
+
const localVarPath = `/`;
|
|
6752
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6753
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$3);
|
|
6754
|
+
let baseOptions;
|
|
6755
|
+
if (configuration) {
|
|
6756
|
+
baseOptions = configuration.baseOptions;
|
|
6757
|
+
}
|
|
6758
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6759
|
+
const localVarHeaderParameter = {};
|
|
6760
|
+
const localVarQueryParameter = {};
|
|
6761
|
+
// authentication JWT token required
|
|
6762
|
+
yield setApiKeyToObject$3(localVarHeaderParameter, "Authorization", configuration);
|
|
6763
|
+
setSearchParams$3(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6764
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6765
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6766
|
+
return {
|
|
6767
|
+
url: toPathString$3(localVarUrlObj),
|
|
6768
|
+
options: localVarRequestOptions,
|
|
6769
|
+
};
|
|
6770
|
+
}),
|
|
6771
|
+
};
|
|
6772
|
+
};
|
|
6773
|
+
/**
|
|
6774
|
+
* HomeApi - functional programming interface
|
|
6775
|
+
* @export
|
|
6776
|
+
*/
|
|
6777
|
+
const HomeApiFp = function (configuration) {
|
|
6778
|
+
const localVarAxiosParamCreator = HomeApiAxiosParamCreator(configuration);
|
|
6779
|
+
return {
|
|
6780
|
+
/**
|
|
6781
|
+
*
|
|
6782
|
+
* @summary The controller that the user is automatically entering when accesing the route .../coscine/api/Coscine.STS/
|
|
6783
|
+
* @param {*} [options] Override http request option.
|
|
6784
|
+
* @throws {RequiredError}
|
|
6785
|
+
*/
|
|
6786
|
+
homeIndex(options) {
|
|
6787
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6788
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.homeIndex(options);
|
|
6789
|
+
return createRequestFunction$3(localVarAxiosArgs, axios, BASE_PATH$3, configuration);
|
|
6790
|
+
});
|
|
6791
|
+
},
|
|
6792
|
+
};
|
|
6793
|
+
};
|
|
6794
|
+
/**
|
|
6795
|
+
* HomeApi - factory interface
|
|
6796
|
+
* @export
|
|
6797
|
+
*/
|
|
6798
|
+
const HomeApiFactory = function (configuration, basePath, axios) {
|
|
6799
|
+
const localVarFp = HomeApiFp(configuration);
|
|
6800
|
+
return {
|
|
6801
|
+
/**
|
|
6802
|
+
*
|
|
6803
|
+
* @summary The controller that the user is automatically entering when accesing the route .../coscine/api/Coscine.STS/
|
|
6804
|
+
* @param {*} [options] Override http request option.
|
|
6805
|
+
* @throws {RequiredError}
|
|
6806
|
+
*/
|
|
6807
|
+
homeIndex(options) {
|
|
6808
|
+
return localVarFp.homeIndex(options).then((request) => request(axios, basePath));
|
|
6809
|
+
},
|
|
6810
|
+
};
|
|
6811
|
+
};
|
|
6812
|
+
/**
|
|
6813
|
+
* MergeApi - axios parameter creator
|
|
6814
|
+
* @export
|
|
6815
|
+
*/
|
|
6816
|
+
const MergeApiAxiosParamCreator = function (configuration) {
|
|
6817
|
+
return {
|
|
6818
|
+
/**
|
|
6819
|
+
*
|
|
6820
|
+
* @param {string} [returnUrl]
|
|
6821
|
+
* @param {*} [options] Override http request option.
|
|
6822
|
+
* @throws {RequiredError}
|
|
6823
|
+
*/
|
|
6824
|
+
mergeCallback: (returnUrl, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6825
|
+
const localVarPath = `/Merge/callback`;
|
|
6826
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6827
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$3);
|
|
6828
|
+
let baseOptions;
|
|
6829
|
+
if (configuration) {
|
|
6830
|
+
baseOptions = configuration.baseOptions;
|
|
6831
|
+
}
|
|
6832
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6833
|
+
const localVarHeaderParameter = {};
|
|
6834
|
+
const localVarQueryParameter = {};
|
|
6835
|
+
// authentication JWT token required
|
|
6836
|
+
yield setApiKeyToObject$3(localVarHeaderParameter, "Authorization", configuration);
|
|
6837
|
+
if (returnUrl !== undefined) {
|
|
6838
|
+
localVarQueryParameter['returnUrl'] = returnUrl;
|
|
6839
|
+
}
|
|
6840
|
+
setSearchParams$3(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6841
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6842
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6843
|
+
return {
|
|
6844
|
+
url: toPathString$3(localVarUrlObj),
|
|
6845
|
+
options: localVarRequestOptions,
|
|
6846
|
+
};
|
|
6847
|
+
}),
|
|
6848
|
+
/**
|
|
6849
|
+
*
|
|
6850
|
+
* @param {string} [returnUrl]
|
|
6851
|
+
* @param {*} [options] Override http request option.
|
|
6852
|
+
* @throws {RequiredError}
|
|
6853
|
+
*/
|
|
6854
|
+
mergeLogin: (returnUrl, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6855
|
+
const localVarPath = `/Merge/login`;
|
|
6856
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6857
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$3);
|
|
6858
|
+
let baseOptions;
|
|
6859
|
+
if (configuration) {
|
|
6860
|
+
baseOptions = configuration.baseOptions;
|
|
6861
|
+
}
|
|
6862
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6863
|
+
const localVarHeaderParameter = {};
|
|
6864
|
+
const localVarQueryParameter = {};
|
|
6865
|
+
// authentication JWT token required
|
|
6866
|
+
yield setApiKeyToObject$3(localVarHeaderParameter, "Authorization", configuration);
|
|
6867
|
+
if (returnUrl !== undefined) {
|
|
6868
|
+
localVarQueryParameter['returnUrl'] = returnUrl;
|
|
6869
|
+
}
|
|
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
|
+
/**
|
|
6881
|
+
* MergeApi - functional programming interface
|
|
6882
|
+
* @export
|
|
6883
|
+
*/
|
|
6884
|
+
const MergeApiFp = function (configuration) {
|
|
6885
|
+
const localVarAxiosParamCreator = MergeApiAxiosParamCreator(configuration);
|
|
6886
|
+
return {
|
|
6887
|
+
/**
|
|
6888
|
+
*
|
|
6889
|
+
* @param {string} [returnUrl]
|
|
6890
|
+
* @param {*} [options] Override http request option.
|
|
6891
|
+
* @throws {RequiredError}
|
|
6892
|
+
*/
|
|
6893
|
+
mergeCallback(returnUrl, options) {
|
|
6894
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6895
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.mergeCallback(returnUrl, options);
|
|
6896
|
+
return createRequestFunction$3(localVarAxiosArgs, axios, BASE_PATH$3, configuration);
|
|
6897
|
+
});
|
|
6898
|
+
},
|
|
6899
|
+
/**
|
|
6900
|
+
*
|
|
6901
|
+
* @param {string} [returnUrl]
|
|
6902
|
+
* @param {*} [options] Override http request option.
|
|
6903
|
+
* @throws {RequiredError}
|
|
6904
|
+
*/
|
|
6905
|
+
mergeLogin(returnUrl, options) {
|
|
6906
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6907
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.mergeLogin(returnUrl, options);
|
|
6908
|
+
return createRequestFunction$3(localVarAxiosArgs, axios, BASE_PATH$3, configuration);
|
|
6909
|
+
});
|
|
6910
|
+
},
|
|
6911
|
+
};
|
|
6912
|
+
};
|
|
6913
|
+
/**
|
|
6914
|
+
* MergeApi - factory interface
|
|
6915
|
+
* @export
|
|
6916
|
+
*/
|
|
6917
|
+
const MergeApiFactory = function (configuration, basePath, axios) {
|
|
6918
|
+
const localVarFp = MergeApiFp(configuration);
|
|
6919
|
+
return {
|
|
6920
|
+
/**
|
|
6921
|
+
*
|
|
6922
|
+
* @param {string} [returnUrl]
|
|
6923
|
+
* @param {*} [options] Override http request option.
|
|
6924
|
+
* @throws {RequiredError}
|
|
6925
|
+
*/
|
|
6926
|
+
mergeCallback(returnUrl, options) {
|
|
6927
|
+
return localVarFp.mergeCallback(returnUrl, options).then((request) => request(axios, basePath));
|
|
6928
|
+
},
|
|
6929
|
+
/**
|
|
6930
|
+
*
|
|
6931
|
+
* @param {string} [returnUrl]
|
|
6932
|
+
* @param {*} [options] Override http request option.
|
|
6933
|
+
* @throws {RequiredError}
|
|
6934
|
+
*/
|
|
6935
|
+
mergeLogin(returnUrl, options) {
|
|
6936
|
+
return localVarFp.mergeLogin(returnUrl, options).then((request) => request(axios, basePath));
|
|
6937
|
+
},
|
|
6938
|
+
};
|
|
6939
|
+
};
|
|
6940
|
+
/**
|
|
6941
|
+
* ORCiDApi - axios parameter creator
|
|
6942
|
+
* @export
|
|
6943
|
+
*/
|
|
6944
|
+
const ORCiDApiAxiosParamCreator = function (configuration) {
|
|
6945
|
+
return {
|
|
6946
|
+
/**
|
|
6947
|
+
*
|
|
6948
|
+
* @summary ORCiD Login Route
|
|
6949
|
+
* @param {string} [returnUrl] URL to be redirected to
|
|
6950
|
+
* @param {*} [options] Override http request option.
|
|
6951
|
+
* @throws {RequiredError}
|
|
6952
|
+
*/
|
|
6953
|
+
oRCiDLoginGET: (returnUrl, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6954
|
+
const localVarPath = `/ORCiD/login`;
|
|
6955
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6956
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$3);
|
|
6247
6957
|
let baseOptions;
|
|
6248
6958
|
if (configuration) {
|
|
6249
6959
|
baseOptions = configuration.baseOptions;
|
|
@@ -6252,220 +6962,137 @@ const ResourceTypeApiAxiosParamCreator = function (configuration) {
|
|
|
6252
6962
|
const localVarHeaderParameter = {};
|
|
6253
6963
|
const localVarQueryParameter = {};
|
|
6254
6964
|
// authentication JWT token required
|
|
6255
|
-
yield setApiKeyToObject$
|
|
6256
|
-
|
|
6965
|
+
yield setApiKeyToObject$3(localVarHeaderParameter, "Authorization", configuration);
|
|
6966
|
+
if (returnUrl !== undefined) {
|
|
6967
|
+
localVarQueryParameter['returnUrl'] = returnUrl;
|
|
6968
|
+
}
|
|
6969
|
+
setSearchParams$3(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6257
6970
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6258
6971
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6259
6972
|
return {
|
|
6260
|
-
url: toPathString$
|
|
6973
|
+
url: toPathString$3(localVarUrlObj),
|
|
6261
6974
|
options: localVarRequestOptions,
|
|
6262
6975
|
};
|
|
6263
6976
|
}),
|
|
6264
6977
|
/**
|
|
6265
6978
|
*
|
|
6266
|
-
* @summary
|
|
6979
|
+
* @summary Execute ORCiD validation and login
|
|
6980
|
+
* @param {string} [oRCiDJWT]
|
|
6981
|
+
* @param {string} [returnUrl] URL to be redirected to
|
|
6267
6982
|
* @param {*} [options] Override http request option.
|
|
6268
6983
|
* @throws {RequiredError}
|
|
6269
6984
|
*/
|
|
6270
|
-
|
|
6271
|
-
const localVarPath = `/
|
|
6985
|
+
oRCiDLoginPOST: (oRCiDJWT, returnUrl, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6986
|
+
const localVarPath = `/ORCiD/login`;
|
|
6272
6987
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6273
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
6988
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$3);
|
|
6274
6989
|
let baseOptions;
|
|
6275
6990
|
if (configuration) {
|
|
6276
6991
|
baseOptions = configuration.baseOptions;
|
|
6277
6992
|
}
|
|
6278
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
6993
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
6279
6994
|
const localVarHeaderParameter = {};
|
|
6280
6995
|
const localVarQueryParameter = {};
|
|
6281
6996
|
// authentication JWT token required
|
|
6282
|
-
yield setApiKeyToObject$
|
|
6283
|
-
|
|
6997
|
+
yield setApiKeyToObject$3(localVarHeaderParameter, "Authorization", configuration);
|
|
6998
|
+
if (oRCiDJWT !== undefined) {
|
|
6999
|
+
localVarQueryParameter['ORCiD_JWT'] = oRCiDJWT;
|
|
7000
|
+
}
|
|
7001
|
+
if (returnUrl !== undefined) {
|
|
7002
|
+
localVarQueryParameter['returnUrl'] = returnUrl;
|
|
7003
|
+
}
|
|
7004
|
+
setSearchParams$3(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6284
7005
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6285
7006
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6286
7007
|
return {
|
|
6287
|
-
url: toPathString$
|
|
7008
|
+
url: toPathString$3(localVarUrlObj),
|
|
6288
7009
|
options: localVarRequestOptions,
|
|
6289
7010
|
};
|
|
6290
7011
|
}),
|
|
6291
7012
|
};
|
|
6292
7013
|
};
|
|
6293
7014
|
/**
|
|
6294
|
-
*
|
|
7015
|
+
* ORCiDApi - functional programming interface
|
|
6295
7016
|
* @export
|
|
6296
7017
|
*/
|
|
6297
|
-
const
|
|
6298
|
-
const localVarAxiosParamCreator =
|
|
7018
|
+
const ORCiDApiFp = function (configuration) {
|
|
7019
|
+
const localVarAxiosParamCreator = ORCiDApiAxiosParamCreator(configuration);
|
|
6299
7020
|
return {
|
|
6300
7021
|
/**
|
|
6301
7022
|
*
|
|
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.
|
|
7023
|
+
* @summary ORCiD Login Route
|
|
7024
|
+
* @param {string} [returnUrl] URL to be redirected to
|
|
6316
7025
|
* @param {*} [options] Override http request option.
|
|
6317
7026
|
* @throws {RequiredError}
|
|
6318
7027
|
*/
|
|
6319
|
-
|
|
7028
|
+
oRCiDLoginGET(returnUrl, options) {
|
|
6320
7029
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6321
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
6322
|
-
return createRequestFunction$
|
|
7030
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.oRCiDLoginGET(returnUrl, options);
|
|
7031
|
+
return createRequestFunction$3(localVarAxiosArgs, axios, BASE_PATH$3, configuration);
|
|
6323
7032
|
});
|
|
6324
7033
|
},
|
|
6325
7034
|
/**
|
|
6326
7035
|
*
|
|
6327
|
-
* @summary
|
|
7036
|
+
* @summary Execute ORCiD validation and login
|
|
7037
|
+
* @param {string} [oRCiDJWT]
|
|
7038
|
+
* @param {string} [returnUrl] URL to be redirected to
|
|
6328
7039
|
* @param {*} [options] Override http request option.
|
|
6329
7040
|
* @throws {RequiredError}
|
|
6330
7041
|
*/
|
|
6331
|
-
|
|
7042
|
+
oRCiDLoginPOST(oRCiDJWT, returnUrl, options) {
|
|
6332
7043
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6333
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
6334
|
-
return createRequestFunction$
|
|
7044
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.oRCiDLoginPOST(oRCiDJWT, returnUrl, options);
|
|
7045
|
+
return createRequestFunction$3(localVarAxiosArgs, axios, BASE_PATH$3, configuration);
|
|
6335
7046
|
});
|
|
6336
7047
|
},
|
|
6337
7048
|
};
|
|
6338
7049
|
};
|
|
6339
7050
|
/**
|
|
6340
|
-
*
|
|
7051
|
+
* ORCiDApi - factory interface
|
|
6341
7052
|
* @export
|
|
6342
7053
|
*/
|
|
6343
|
-
const
|
|
6344
|
-
const localVarFp =
|
|
7054
|
+
const ORCiDApiFactory = function (configuration, basePath, axios) {
|
|
7055
|
+
const localVarFp = ORCiDApiFp(configuration);
|
|
6345
7056
|
return {
|
|
6346
7057
|
/**
|
|
6347
7058
|
*
|
|
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.
|
|
7059
|
+
* @summary ORCiD Login Route
|
|
7060
|
+
* @param {string} [returnUrl] URL to be redirected to
|
|
6359
7061
|
* @param {*} [options] Override http request option.
|
|
6360
7062
|
* @throws {RequiredError}
|
|
6361
7063
|
*/
|
|
6362
|
-
|
|
6363
|
-
return localVarFp.
|
|
7064
|
+
oRCiDLoginGET(returnUrl, options) {
|
|
7065
|
+
return localVarFp.oRCiDLoginGET(returnUrl, options).then((request) => request(axios, basePath));
|
|
6364
7066
|
},
|
|
6365
7067
|
/**
|
|
6366
7068
|
*
|
|
6367
|
-
* @summary
|
|
7069
|
+
* @summary Execute ORCiD validation and login
|
|
7070
|
+
* @param {string} [oRCiDJWT]
|
|
7071
|
+
* @param {string} [returnUrl] URL to be redirected to
|
|
6368
7072
|
* @param {*} [options] Override http request option.
|
|
6369
7073
|
* @throws {RequiredError}
|
|
6370
7074
|
*/
|
|
6371
|
-
|
|
6372
|
-
return localVarFp.
|
|
7075
|
+
oRCiDLoginPOST(oRCiDJWT, returnUrl, options) {
|
|
7076
|
+
return localVarFp.oRCiDLoginPOST(oRCiDJWT, returnUrl, options).then((request) => request(axios, basePath));
|
|
6373
7077
|
},
|
|
6374
7078
|
};
|
|
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
7079
|
};
|
|
6421
7080
|
/**
|
|
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
|
|
7081
|
+
* ShibbolethApi - axios parameter creator
|
|
6453
7082
|
* @export
|
|
6454
7083
|
*/
|
|
6455
|
-
const
|
|
7084
|
+
const ShibbolethApiAxiosParamCreator = function (configuration) {
|
|
6456
7085
|
return {
|
|
6457
7086
|
/**
|
|
6458
7087
|
*
|
|
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
|
|
7088
|
+
* @summary Callback method to catch the login
|
|
7089
|
+
* @param {string} [returnUrl] URL to be redirected to
|
|
7090
|
+
* @param {string} [remoteError] Erros on remote login
|
|
6464
7091
|
* @param {*} [options] Override http request option.
|
|
6465
7092
|
* @throws {RequiredError}
|
|
6466
7093
|
*/
|
|
6467
|
-
|
|
6468
|
-
const localVarPath = `/
|
|
7094
|
+
shibbolethCallback: (returnUrl, remoteError, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
7095
|
+
const localVarPath = `/Shibboleth/callback`;
|
|
6469
7096
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6470
7097
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$3);
|
|
6471
7098
|
let baseOptions;
|
|
@@ -6477,17 +7104,46 @@ const SearchApiAxiosParamCreator = function (configuration) {
|
|
|
6477
7104
|
const localVarQueryParameter = {};
|
|
6478
7105
|
// authentication JWT token required
|
|
6479
7106
|
yield setApiKeyToObject$3(localVarHeaderParameter, "Authorization", configuration);
|
|
6480
|
-
if (
|
|
6481
|
-
localVarQueryParameter['
|
|
7107
|
+
if (returnUrl !== undefined) {
|
|
7108
|
+
localVarQueryParameter['returnUrl'] = returnUrl;
|
|
6482
7109
|
}
|
|
6483
|
-
if (
|
|
6484
|
-
localVarQueryParameter['
|
|
7110
|
+
if (remoteError !== undefined) {
|
|
7111
|
+
localVarQueryParameter['remoteError'] = remoteError;
|
|
6485
7112
|
}
|
|
6486
|
-
|
|
6487
|
-
|
|
7113
|
+
setSearchParams$3(localVarUrlObj, localVarQueryParameter, options.query);
|
|
7114
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7115
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7116
|
+
return {
|
|
7117
|
+
url: toPathString$3(localVarUrlObj),
|
|
7118
|
+
options: localVarRequestOptions,
|
|
7119
|
+
};
|
|
7120
|
+
}),
|
|
7121
|
+
/**
|
|
7122
|
+
*
|
|
7123
|
+
* @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.
|
|
7124
|
+
* @param {string} [returnUrl] URL to be redirected to
|
|
7125
|
+
* @param {string} [entityId] Specific Identitiy Provider to be redirect to
|
|
7126
|
+
* @param {*} [options] Override http request option.
|
|
7127
|
+
* @throws {RequiredError}
|
|
7128
|
+
*/
|
|
7129
|
+
shibbolethLogin: (returnUrl, entityId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
7130
|
+
const localVarPath = `/Shibboleth/login`;
|
|
7131
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7132
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$3);
|
|
7133
|
+
let baseOptions;
|
|
7134
|
+
if (configuration) {
|
|
7135
|
+
baseOptions = configuration.baseOptions;
|
|
6488
7136
|
}
|
|
6489
|
-
|
|
6490
|
-
|
|
7137
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
7138
|
+
const localVarHeaderParameter = {};
|
|
7139
|
+
const localVarQueryParameter = {};
|
|
7140
|
+
// authentication JWT token required
|
|
7141
|
+
yield setApiKeyToObject$3(localVarHeaderParameter, "Authorization", configuration);
|
|
7142
|
+
if (returnUrl !== undefined) {
|
|
7143
|
+
localVarQueryParameter['returnUrl'] = returnUrl;
|
|
7144
|
+
}
|
|
7145
|
+
if (entityId !== undefined) {
|
|
7146
|
+
localVarQueryParameter['entityId'] = entityId;
|
|
6491
7147
|
}
|
|
6492
7148
|
setSearchParams$3(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6493
7149
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -6500,49 +7156,70 @@ const SearchApiAxiosParamCreator = function (configuration) {
|
|
|
6500
7156
|
};
|
|
6501
7157
|
};
|
|
6502
7158
|
/**
|
|
6503
|
-
*
|
|
7159
|
+
* ShibbolethApi - functional programming interface
|
|
6504
7160
|
* @export
|
|
6505
7161
|
*/
|
|
6506
|
-
const
|
|
6507
|
-
const localVarAxiosParamCreator =
|
|
7162
|
+
const ShibbolethApiFp = function (configuration) {
|
|
7163
|
+
const localVarAxiosParamCreator = ShibbolethApiAxiosParamCreator(configuration);
|
|
6508
7164
|
return {
|
|
6509
7165
|
/**
|
|
6510
7166
|
*
|
|
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
|
|
7167
|
+
* @summary Callback method to catch the login
|
|
7168
|
+
* @param {string} [returnUrl] URL to be redirected to
|
|
7169
|
+
* @param {string} [remoteError] Erros on remote login
|
|
6516
7170
|
* @param {*} [options] Override http request option.
|
|
6517
7171
|
* @throws {RequiredError}
|
|
6518
7172
|
*/
|
|
6519
|
-
|
|
7173
|
+
shibbolethCallback(returnUrl, remoteError, options) {
|
|
6520
7174
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6521
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
7175
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.shibbolethCallback(returnUrl, remoteError, options);
|
|
7176
|
+
return createRequestFunction$3(localVarAxiosArgs, axios, BASE_PATH$3, configuration);
|
|
7177
|
+
});
|
|
7178
|
+
},
|
|
7179
|
+
/**
|
|
7180
|
+
*
|
|
7181
|
+
* @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.
|
|
7182
|
+
* @param {string} [returnUrl] URL to be redirected to
|
|
7183
|
+
* @param {string} [entityId] Specific Identitiy Provider to be redirect to
|
|
7184
|
+
* @param {*} [options] Override http request option.
|
|
7185
|
+
* @throws {RequiredError}
|
|
7186
|
+
*/
|
|
7187
|
+
shibbolethLogin(returnUrl, entityId, options) {
|
|
7188
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7189
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.shibbolethLogin(returnUrl, entityId, options);
|
|
6522
7190
|
return createRequestFunction$3(localVarAxiosArgs, axios, BASE_PATH$3, configuration);
|
|
6523
7191
|
});
|
|
6524
7192
|
},
|
|
6525
7193
|
};
|
|
6526
7194
|
};
|
|
6527
7195
|
/**
|
|
6528
|
-
*
|
|
7196
|
+
* ShibbolethApi - factory interface
|
|
6529
7197
|
* @export
|
|
6530
7198
|
*/
|
|
6531
|
-
const
|
|
6532
|
-
const localVarFp =
|
|
7199
|
+
const ShibbolethApiFactory = function (configuration, basePath, axios) {
|
|
7200
|
+
const localVarFp = ShibbolethApiFp(configuration);
|
|
6533
7201
|
return {
|
|
6534
7202
|
/**
|
|
6535
7203
|
*
|
|
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
|
|
7204
|
+
* @summary Callback method to catch the login
|
|
7205
|
+
* @param {string} [returnUrl] URL to be redirected to
|
|
7206
|
+
* @param {string} [remoteError] Erros on remote login
|
|
6541
7207
|
* @param {*} [options] Override http request option.
|
|
6542
7208
|
* @throws {RequiredError}
|
|
6543
7209
|
*/
|
|
6544
|
-
|
|
6545
|
-
return localVarFp.
|
|
7210
|
+
shibbolethCallback(returnUrl, remoteError, options) {
|
|
7211
|
+
return localVarFp.shibbolethCallback(returnUrl, remoteError, options).then((request) => request(axios, basePath));
|
|
7212
|
+
},
|
|
7213
|
+
/**
|
|
7214
|
+
*
|
|
7215
|
+
* @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.
|
|
7216
|
+
* @param {string} [returnUrl] URL to be redirected to
|
|
7217
|
+
* @param {string} [entityId] Specific Identitiy Provider to be redirect to
|
|
7218
|
+
* @param {*} [options] Override http request option.
|
|
7219
|
+
* @throws {RequiredError}
|
|
7220
|
+
*/
|
|
7221
|
+
shibbolethLogin(returnUrl, entityId, options) {
|
|
7222
|
+
return localVarFp.shibbolethLogin(returnUrl, entityId, options).then((request) => request(axios, basePath));
|
|
6546
7223
|
},
|
|
6547
7224
|
};
|
|
6548
7225
|
};
|
|
@@ -7566,6 +8243,33 @@ const TOSApiAxiosParamCreator = function (configuration) {
|
|
|
7566
8243
|
options: localVarRequestOptions,
|
|
7567
8244
|
};
|
|
7568
8245
|
}),
|
|
8246
|
+
/**
|
|
8247
|
+
*
|
|
8248
|
+
* @summary Returns the TOS Versions accepted by the current user.
|
|
8249
|
+
* @param {*} [options] Override http request option.
|
|
8250
|
+
* @throws {RequiredError}
|
|
8251
|
+
*/
|
|
8252
|
+
tOSAcceptedTOSVersion: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
8253
|
+
const localVarPath = `/TOS`;
|
|
8254
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8255
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8256
|
+
let baseOptions;
|
|
8257
|
+
if (configuration) {
|
|
8258
|
+
baseOptions = configuration.baseOptions;
|
|
8259
|
+
}
|
|
8260
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
8261
|
+
const localVarHeaderParameter = {};
|
|
8262
|
+
const localVarQueryParameter = {};
|
|
8263
|
+
// authentication JWT token required
|
|
8264
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
8265
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
8266
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8267
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8268
|
+
return {
|
|
8269
|
+
url: toPathString(localVarUrlObj),
|
|
8270
|
+
options: localVarRequestOptions,
|
|
8271
|
+
};
|
|
8272
|
+
}),
|
|
7569
8273
|
/**
|
|
7570
8274
|
*
|
|
7571
8275
|
* @summary Returns the current TOS Version.
|
|
@@ -7573,7 +8277,7 @@ const TOSApiAxiosParamCreator = function (configuration) {
|
|
|
7573
8277
|
* @throws {RequiredError}
|
|
7574
8278
|
*/
|
|
7575
8279
|
tOSGetCurrentTOSVersion: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
7576
|
-
const localVarPath = `/TOS`;
|
|
8280
|
+
const localVarPath = `/TOS/version`;
|
|
7577
8281
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7578
8282
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7579
8283
|
let baseOptions;
|
|
@@ -7614,6 +8318,18 @@ const TOSApiFp = function (configuration) {
|
|
|
7614
8318
|
return createRequestFunction(localVarAxiosArgs, axios, BASE_PATH, configuration);
|
|
7615
8319
|
});
|
|
7616
8320
|
},
|
|
8321
|
+
/**
|
|
8322
|
+
*
|
|
8323
|
+
* @summary Returns the TOS Versions accepted by the current user.
|
|
8324
|
+
* @param {*} [options] Override http request option.
|
|
8325
|
+
* @throws {RequiredError}
|
|
8326
|
+
*/
|
|
8327
|
+
tOSAcceptedTOSVersion(options) {
|
|
8328
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8329
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.tOSAcceptedTOSVersion(options);
|
|
8330
|
+
return createRequestFunction(localVarAxiosArgs, axios, BASE_PATH, configuration);
|
|
8331
|
+
});
|
|
8332
|
+
},
|
|
7617
8333
|
/**
|
|
7618
8334
|
*
|
|
7619
8335
|
* @summary Returns the current TOS Version.
|
|
@@ -7644,6 +8360,15 @@ const TOSApiFactory = function (configuration, basePath, axios) {
|
|
|
7644
8360
|
tOSAcceptCurrentTOSVersion(options) {
|
|
7645
8361
|
return localVarFp.tOSAcceptCurrentTOSVersion(options).then((request) => request(axios, basePath));
|
|
7646
8362
|
},
|
|
8363
|
+
/**
|
|
8364
|
+
*
|
|
8365
|
+
* @summary Returns the TOS Versions accepted by the current user.
|
|
8366
|
+
* @param {*} [options] Override http request option.
|
|
8367
|
+
* @throws {RequiredError}
|
|
8368
|
+
*/
|
|
8369
|
+
tOSAcceptedTOSVersion(options) {
|
|
8370
|
+
return localVarFp.tOSAcceptedTOSVersion(options).then((request) => request(axios, basePath));
|
|
8371
|
+
},
|
|
7647
8372
|
/**
|
|
7648
8373
|
*
|
|
7649
8374
|
* @summary Returns the current TOS Version.
|
|
@@ -7996,14 +8721,18 @@ const getHostName = () => {
|
|
|
7996
8721
|
};
|
|
7997
8722
|
function implementations(axios) {
|
|
7998
8723
|
return {
|
|
8724
|
+
AccountApi: AccountApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.STS', axios),
|
|
7999
8725
|
AdminApi: AdminApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Admin', axios),
|
|
8000
8726
|
BlobApi: BlobApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Blob', axios),
|
|
8001
8727
|
ContactChangeApi: ContactChangeApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.User', axios),
|
|
8002
8728
|
DisciplineApi: DisciplineApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios),
|
|
8729
|
+
HomeApi: HomeApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.STS', axios),
|
|
8003
8730
|
LanguageApi: LanguageApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.User', axios),
|
|
8004
8731
|
LicenseApi: LicenseApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios),
|
|
8732
|
+
MergeApi: MergeApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.STS', axios),
|
|
8005
8733
|
MetadataApi: MetadataApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Metadata', axios),
|
|
8006
8734
|
NoticeApi: NoticeApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Notices', axios),
|
|
8735
|
+
ORCiDApi: ORCiDApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.STS', axios),
|
|
8007
8736
|
OrganizationApi: OrganizationApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Organization', axios),
|
|
8008
8737
|
PidApi: PidApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Pid', axios),
|
|
8009
8738
|
ProjectApi: ProjectApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios),
|
|
@@ -8014,6 +8743,7 @@ function implementations(axios) {
|
|
|
8014
8743
|
ResourceTypeApi: ResourceTypeApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Resources', axios),
|
|
8015
8744
|
RoleApi: RoleApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios),
|
|
8016
8745
|
SearchApi: SearchApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Search', axios),
|
|
8746
|
+
ShibbolethApi: ShibbolethApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.STS', axios),
|
|
8017
8747
|
SubProjectApi: SubProjectApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios),
|
|
8018
8748
|
TitleApi: TitleApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.User', axios),
|
|
8019
8749
|
TokenApi: TokenApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Token', axios),
|
|
@@ -8063,14 +8793,18 @@ instance.interceptors.response.use((response) => {
|
|
|
8063
8793
|
});
|
|
8064
8794
|
|
|
8065
8795
|
const apis = implementations(instance);
|
|
8796
|
+
const AccountApi = apis.AccountApi;
|
|
8066
8797
|
const AdminApi = apis.AdminApi;
|
|
8067
8798
|
const BlobApi = apis.BlobApi;
|
|
8068
8799
|
const ContactChangeApi = apis.ContactChangeApi;
|
|
8069
8800
|
const DisciplineApi = apis.DisciplineApi;
|
|
8801
|
+
const HomeApi = apis.HomeApi;
|
|
8070
8802
|
const LanguageApi = apis.LanguageApi;
|
|
8071
8803
|
const LicenseApi = apis.LicenseApi;
|
|
8804
|
+
const MergeApi = apis.MergeApi;
|
|
8072
8805
|
const MetadataApi = apis.MetadataApi;
|
|
8073
8806
|
const NoticeApi = apis.NoticeApi;
|
|
8807
|
+
const ORCiDApi = apis.ORCiDApi;
|
|
8074
8808
|
const OrganizationApi = apis.OrganizationApi;
|
|
8075
8809
|
const PidApi = apis.PidApi;
|
|
8076
8810
|
const ProjectApi = apis.ProjectApi;
|
|
@@ -8081,6 +8815,7 @@ const ResourceQuotaApi = apis.ResourceQuotaApi;
|
|
|
8081
8815
|
const ResourceTypeApi = apis.ResourceTypeApi;
|
|
8082
8816
|
const RoleApi = apis.RoleApi;
|
|
8083
8817
|
const SearchApi = apis.SearchApi;
|
|
8818
|
+
const ShibbolethApi = apis.ShibbolethApi;
|
|
8084
8819
|
const SubProjectApi = apis.SubProjectApi;
|
|
8085
8820
|
const TitleApi = apis.TitleApi;
|
|
8086
8821
|
const TokenApi = apis.TokenApi;
|
|
@@ -8089,5 +8824,5 @@ const TreeApi = apis.TreeApi;
|
|
|
8089
8824
|
const UserApi = apis.UserApi;
|
|
8090
8825
|
const VisibilityApi = apis.VisibilityApi;
|
|
8091
8826
|
|
|
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 };
|
|
8827
|
+
export { AccountApi, AdminApi, BlobApi, ContactChangeApi, DisciplineApi, 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
8828
|
//# sourceMappingURL=index.js.map
|