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