@coscine/api-client 1.1.1 → 1.4.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 +615 -482
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +617 -481
- package/dist/index.umd.js.map +1 -1
- package/dist/lib/Coscine.Api.Metadata/api.js +9 -88
- package/dist/lib/Coscine.Api.Metadata/api.js.map +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 +1 -1
- package/dist/lib/Coscine.Api.Search/api.js +159 -0
- package/dist/lib/Coscine.Api.Search/api.js.map +1 -0
- package/dist/lib/Coscine.Api.Search/base.js +65 -0
- package/dist/lib/Coscine.Api.Search/base.js.map +1 -0
- package/dist/lib/Coscine.Api.Search/common.js +153 -0
- package/dist/lib/Coscine.Api.Search/common.js.map +1 -0
- package/dist/lib/Coscine.Api.Search/configuration.js +43 -0
- package/dist/lib/Coscine.Api.Search/configuration.js.map +1 -0
- package/dist/lib/Coscine.Api.Search/index.js +28 -0
- package/dist/lib/Coscine.Api.Search/index.js.map +1 -0
- package/dist/lib/apis.js +20 -11
- package/dist/lib/apis.js.map +1 -1
- package/dist/lib/axios-basic.js +36 -8
- package/dist/lib/axios-basic.js.map +1 -1
- package/dist/lib/index.js +4 -1
- package/dist/lib/index.js.map +1 -1
- package/dist/types/Coscine.Api.Metadata/api.d.ts +52 -55
- 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.Search/api.d.ts +110 -0
- package/dist/types/Coscine.Api.Search/base.d.ts +55 -0
- package/dist/types/Coscine.Api.Search/common.d.ts +65 -0
- package/dist/types/Coscine.Api.Search/configuration.d.ts +83 -0
- package/dist/types/Coscine.Api.Search/index.d.ts +13 -0
- package/dist/types/apis.d.ts +7 -5
- package/dist/types/index.d.ts +17 -10
- package/package.json +2 -2
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-sp23.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.ActivatedFeatures".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) {
|
|
@@ -1925,14 +1925,14 @@
|
|
|
1925
1925
|
*
|
|
1926
1926
|
* @export
|
|
1927
1927
|
*/
|
|
1928
|
-
const toPathString$
|
|
1928
|
+
const toPathString$c = function (url) {
|
|
1929
1929
|
return url.pathname + url.search + url.hash;
|
|
1930
1930
|
};
|
|
1931
1931
|
/**
|
|
1932
1932
|
*
|
|
1933
1933
|
* @export
|
|
1934
1934
|
*/
|
|
1935
|
-
const createRequestFunction$
|
|
1935
|
+
const createRequestFunction$c = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
1936
1936
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
1937
1937
|
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
|
|
1938
1938
|
return axios.request(axiosRequestArgs);
|
|
@@ -1963,7 +1963,7 @@
|
|
|
1963
1963
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)))
|
|
1964
1964
|
.replace(`{${"featureId"}}`, encodeURIComponent(String(featureId)));
|
|
1965
1965
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1966
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
1966
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$c);
|
|
1967
1967
|
let baseOptions;
|
|
1968
1968
|
if (configuration) {
|
|
1969
1969
|
baseOptions = configuration.baseOptions;
|
|
@@ -1972,12 +1972,12 @@
|
|
|
1972
1972
|
const localVarHeaderParameter = {};
|
|
1973
1973
|
const localVarQueryParameter = {};
|
|
1974
1974
|
// authentication JWT token required
|
|
1975
|
-
yield setApiKeyToObject$
|
|
1976
|
-
setSearchParams$
|
|
1975
|
+
yield setApiKeyToObject$c(localVarHeaderParameter, "Authorization", configuration);
|
|
1976
|
+
setSearchParams$c(localVarUrlObj, localVarQueryParameter, options.query);
|
|
1977
1977
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1978
1978
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1979
1979
|
return {
|
|
1980
|
-
url: toPathString$
|
|
1980
|
+
url: toPathString$c(localVarUrlObj),
|
|
1981
1981
|
options: localVarRequestOptions,
|
|
1982
1982
|
};
|
|
1983
1983
|
}),
|
|
@@ -1998,7 +1998,7 @@
|
|
|
1998
1998
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)))
|
|
1999
1999
|
.replace(`{${"featureId"}}`, encodeURIComponent(String(featureId)));
|
|
2000
2000
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2001
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
2001
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$c);
|
|
2002
2002
|
let baseOptions;
|
|
2003
2003
|
if (configuration) {
|
|
2004
2004
|
baseOptions = configuration.baseOptions;
|
|
@@ -2007,12 +2007,12 @@
|
|
|
2007
2007
|
const localVarHeaderParameter = {};
|
|
2008
2008
|
const localVarQueryParameter = {};
|
|
2009
2009
|
// authentication JWT token required
|
|
2010
|
-
yield setApiKeyToObject$
|
|
2011
|
-
setSearchParams$
|
|
2010
|
+
yield setApiKeyToObject$c(localVarHeaderParameter, "Authorization", configuration);
|
|
2011
|
+
setSearchParams$c(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2012
2012
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2013
2013
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2014
2014
|
return {
|
|
2015
|
-
url: toPathString$
|
|
2015
|
+
url: toPathString$c(localVarUrlObj),
|
|
2016
2016
|
options: localVarRequestOptions,
|
|
2017
2017
|
};
|
|
2018
2018
|
}),
|
|
@@ -2029,7 +2029,7 @@
|
|
|
2029
2029
|
const localVarPath = `/ActivatedFeatures/{projectId}/activeFeatures`
|
|
2030
2030
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
2031
2031
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2032
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
2032
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$c);
|
|
2033
2033
|
let baseOptions;
|
|
2034
2034
|
if (configuration) {
|
|
2035
2035
|
baseOptions = configuration.baseOptions;
|
|
@@ -2038,12 +2038,12 @@
|
|
|
2038
2038
|
const localVarHeaderParameter = {};
|
|
2039
2039
|
const localVarQueryParameter = {};
|
|
2040
2040
|
// authentication JWT token required
|
|
2041
|
-
yield setApiKeyToObject$
|
|
2042
|
-
setSearchParams$
|
|
2041
|
+
yield setApiKeyToObject$c(localVarHeaderParameter, "Authorization", configuration);
|
|
2042
|
+
setSearchParams$c(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2043
2043
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2044
2044
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2045
2045
|
return {
|
|
2046
|
-
url: toPathString$
|
|
2046
|
+
url: toPathString$c(localVarUrlObj),
|
|
2047
2047
|
options: localVarRequestOptions,
|
|
2048
2048
|
};
|
|
2049
2049
|
}),
|
|
@@ -2060,7 +2060,7 @@
|
|
|
2060
2060
|
const localVarPath = `/ActivatedFeatures/{projectId}`
|
|
2061
2061
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
2062
2062
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2063
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
2063
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$c);
|
|
2064
2064
|
let baseOptions;
|
|
2065
2065
|
if (configuration) {
|
|
2066
2066
|
baseOptions = configuration.baseOptions;
|
|
@@ -2069,12 +2069,12 @@
|
|
|
2069
2069
|
const localVarHeaderParameter = {};
|
|
2070
2070
|
const localVarQueryParameter = {};
|
|
2071
2071
|
// authentication JWT token required
|
|
2072
|
-
yield setApiKeyToObject$
|
|
2073
|
-
setSearchParams$
|
|
2072
|
+
yield setApiKeyToObject$c(localVarHeaderParameter, "Authorization", configuration);
|
|
2073
|
+
setSearchParams$c(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2074
2074
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2075
2075
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2076
2076
|
return {
|
|
2077
|
-
url: toPathString$
|
|
2077
|
+
url: toPathString$c(localVarUrlObj),
|
|
2078
2078
|
options: localVarRequestOptions,
|
|
2079
2079
|
};
|
|
2080
2080
|
}),
|
|
@@ -2087,7 +2087,7 @@
|
|
|
2087
2087
|
activatedFeaturesGetFeaturesAll: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2088
2088
|
const localVarPath = `/ActivatedFeatures`;
|
|
2089
2089
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2090
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
2090
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$c);
|
|
2091
2091
|
let baseOptions;
|
|
2092
2092
|
if (configuration) {
|
|
2093
2093
|
baseOptions = configuration.baseOptions;
|
|
@@ -2096,12 +2096,12 @@
|
|
|
2096
2096
|
const localVarHeaderParameter = {};
|
|
2097
2097
|
const localVarQueryParameter = {};
|
|
2098
2098
|
// authentication JWT token required
|
|
2099
|
-
yield setApiKeyToObject$
|
|
2100
|
-
setSearchParams$
|
|
2099
|
+
yield setApiKeyToObject$c(localVarHeaderParameter, "Authorization", configuration);
|
|
2100
|
+
setSearchParams$c(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2101
2101
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2102
2102
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2103
2103
|
return {
|
|
2104
|
-
url: toPathString$
|
|
2104
|
+
url: toPathString$c(localVarUrlObj),
|
|
2105
2105
|
options: localVarRequestOptions,
|
|
2106
2106
|
};
|
|
2107
2107
|
}),
|
|
@@ -2118,7 +2118,7 @@
|
|
|
2118
2118
|
const localVarPath = `/ActivatedFeatures/{projectId}/inactiveFeatures`
|
|
2119
2119
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
2120
2120
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2121
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
2121
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$c);
|
|
2122
2122
|
let baseOptions;
|
|
2123
2123
|
if (configuration) {
|
|
2124
2124
|
baseOptions = configuration.baseOptions;
|
|
@@ -2127,12 +2127,12 @@
|
|
|
2127
2127
|
const localVarHeaderParameter = {};
|
|
2128
2128
|
const localVarQueryParameter = {};
|
|
2129
2129
|
// authentication JWT token required
|
|
2130
|
-
yield setApiKeyToObject$
|
|
2131
|
-
setSearchParams$
|
|
2130
|
+
yield setApiKeyToObject$c(localVarHeaderParameter, "Authorization", configuration);
|
|
2131
|
+
setSearchParams$c(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2132
2132
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2133
2133
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2134
2134
|
return {
|
|
2135
|
-
url: toPathString$
|
|
2135
|
+
url: toPathString$c(localVarUrlObj),
|
|
2136
2136
|
options: localVarRequestOptions,
|
|
2137
2137
|
};
|
|
2138
2138
|
}),
|
|
@@ -2156,7 +2156,7 @@
|
|
|
2156
2156
|
activatedFeaturesActivateFeature(projectId, featureId, options) {
|
|
2157
2157
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2158
2158
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.activatedFeaturesActivateFeature(projectId, featureId, options);
|
|
2159
|
-
return createRequestFunction$
|
|
2159
|
+
return createRequestFunction$c(localVarAxiosArgs, axios, BASE_PATH$c, configuration);
|
|
2160
2160
|
});
|
|
2161
2161
|
},
|
|
2162
2162
|
/**
|
|
@@ -2170,7 +2170,7 @@
|
|
|
2170
2170
|
activatedFeaturesDeactivateFeature(projectId, featureId, options) {
|
|
2171
2171
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2172
2172
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.activatedFeaturesDeactivateFeature(projectId, featureId, options);
|
|
2173
|
-
return createRequestFunction$
|
|
2173
|
+
return createRequestFunction$c(localVarAxiosArgs, axios, BASE_PATH$c, configuration);
|
|
2174
2174
|
});
|
|
2175
2175
|
},
|
|
2176
2176
|
/**
|
|
@@ -2183,7 +2183,7 @@
|
|
|
2183
2183
|
activatedFeaturesGetActiveFeatures(projectId, options) {
|
|
2184
2184
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2185
2185
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.activatedFeaturesGetActiveFeatures(projectId, options);
|
|
2186
|
-
return createRequestFunction$
|
|
2186
|
+
return createRequestFunction$c(localVarAxiosArgs, axios, BASE_PATH$c, configuration);
|
|
2187
2187
|
});
|
|
2188
2188
|
},
|
|
2189
2189
|
/**
|
|
@@ -2196,7 +2196,7 @@
|
|
|
2196
2196
|
activatedFeaturesGetFeatures(projectId, options) {
|
|
2197
2197
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2198
2198
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.activatedFeaturesGetFeatures(projectId, options);
|
|
2199
|
-
return createRequestFunction$
|
|
2199
|
+
return createRequestFunction$c(localVarAxiosArgs, axios, BASE_PATH$c, configuration);
|
|
2200
2200
|
});
|
|
2201
2201
|
},
|
|
2202
2202
|
/**
|
|
@@ -2208,7 +2208,7 @@
|
|
|
2208
2208
|
activatedFeaturesGetFeaturesAll(options) {
|
|
2209
2209
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2210
2210
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.activatedFeaturesGetFeaturesAll(options);
|
|
2211
|
-
return createRequestFunction$
|
|
2211
|
+
return createRequestFunction$c(localVarAxiosArgs, axios, BASE_PATH$c, configuration);
|
|
2212
2212
|
});
|
|
2213
2213
|
},
|
|
2214
2214
|
/**
|
|
@@ -2221,7 +2221,7 @@
|
|
|
2221
2221
|
activatedFeaturesGetInactiveFeatures(projectId, options) {
|
|
2222
2222
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2223
2223
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.activatedFeaturesGetInactiveFeatures(projectId, options);
|
|
2224
|
-
return createRequestFunction$
|
|
2224
|
+
return createRequestFunction$c(localVarAxiosArgs, axios, BASE_PATH$c, configuration);
|
|
2225
2225
|
});
|
|
2226
2226
|
},
|
|
2227
2227
|
};
|
|
@@ -2337,7 +2337,7 @@
|
|
|
2337
2337
|
}
|
|
2338
2338
|
|
|
2339
2339
|
/* tslint:disable */
|
|
2340
|
-
const BASE_PATH$
|
|
2340
|
+
const BASE_PATH$b = "https://d-sp23.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Admin".replace(/\/+$/, "");
|
|
2341
2341
|
/**
|
|
2342
2342
|
*
|
|
2343
2343
|
* @export
|
|
@@ -2357,7 +2357,7 @@
|
|
|
2357
2357
|
*
|
|
2358
2358
|
* @export
|
|
2359
2359
|
*/
|
|
2360
|
-
const DUMMY_BASE_URL$
|
|
2360
|
+
const DUMMY_BASE_URL$b = 'https://example.com';
|
|
2361
2361
|
/**
|
|
2362
2362
|
*
|
|
2363
2363
|
* @throws {RequiredError}
|
|
@@ -2372,7 +2372,7 @@
|
|
|
2372
2372
|
*
|
|
2373
2373
|
* @export
|
|
2374
2374
|
*/
|
|
2375
|
-
const setApiKeyToObject$
|
|
2375
|
+
const setApiKeyToObject$b = function (object, keyParamName, configuration) {
|
|
2376
2376
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2377
2377
|
if (configuration && configuration.apiKey) {
|
|
2378
2378
|
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
@@ -2386,7 +2386,7 @@
|
|
|
2386
2386
|
*
|
|
2387
2387
|
* @export
|
|
2388
2388
|
*/
|
|
2389
|
-
const setSearchParams$
|
|
2389
|
+
const setSearchParams$b = function (url, ...objects) {
|
|
2390
2390
|
const searchParams = new URLSearchParams(url.search);
|
|
2391
2391
|
for (const object of objects) {
|
|
2392
2392
|
for (const key in object) {
|
|
@@ -2420,14 +2420,14 @@
|
|
|
2420
2420
|
*
|
|
2421
2421
|
* @export
|
|
2422
2422
|
*/
|
|
2423
|
-
const toPathString$
|
|
2423
|
+
const toPathString$b = function (url) {
|
|
2424
2424
|
return url.pathname + url.search + url.hash;
|
|
2425
2425
|
};
|
|
2426
2426
|
/**
|
|
2427
2427
|
*
|
|
2428
2428
|
* @export
|
|
2429
2429
|
*/
|
|
2430
|
-
const createRequestFunction$
|
|
2430
|
+
const createRequestFunction$b = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
2431
2431
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
2432
2432
|
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
|
|
2433
2433
|
return axios.request(axiosRequestArgs);
|
|
@@ -2454,7 +2454,7 @@
|
|
|
2454
2454
|
const localVarPath = `/Admin/{projectString}`
|
|
2455
2455
|
.replace(`{${"projectString"}}`, encodeURIComponent(String(projectString)));
|
|
2456
2456
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2457
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
2457
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$b);
|
|
2458
2458
|
let baseOptions;
|
|
2459
2459
|
if (configuration) {
|
|
2460
2460
|
baseOptions = configuration.baseOptions;
|
|
@@ -2463,12 +2463,12 @@
|
|
|
2463
2463
|
const localVarHeaderParameter = {};
|
|
2464
2464
|
const localVarQueryParameter = {};
|
|
2465
2465
|
// authentication JWT token required
|
|
2466
|
-
yield setApiKeyToObject$
|
|
2467
|
-
setSearchParams$
|
|
2466
|
+
yield setApiKeyToObject$b(localVarHeaderParameter, "Authorization", configuration);
|
|
2467
|
+
setSearchParams$b(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2468
2468
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2469
2469
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2470
2470
|
return {
|
|
2471
|
-
url: toPathString$
|
|
2471
|
+
url: toPathString$b(localVarUrlObj),
|
|
2472
2472
|
options: localVarRequestOptions,
|
|
2473
2473
|
};
|
|
2474
2474
|
}),
|
|
@@ -2484,7 +2484,7 @@
|
|
|
2484
2484
|
assertParamExists$a('adminUpdateQuota', 'updateQuotaParameterObject', updateQuotaParameterObject);
|
|
2485
2485
|
const localVarPath = `/Admin`;
|
|
2486
2486
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2487
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
2487
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$b);
|
|
2488
2488
|
let baseOptions;
|
|
2489
2489
|
if (configuration) {
|
|
2490
2490
|
baseOptions = configuration.baseOptions;
|
|
@@ -2493,14 +2493,14 @@
|
|
|
2493
2493
|
const localVarHeaderParameter = {};
|
|
2494
2494
|
const localVarQueryParameter = {};
|
|
2495
2495
|
// authentication JWT token required
|
|
2496
|
-
yield setApiKeyToObject$
|
|
2496
|
+
yield setApiKeyToObject$b(localVarHeaderParameter, "Authorization", configuration);
|
|
2497
2497
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2498
|
-
setSearchParams$
|
|
2498
|
+
setSearchParams$b(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2499
2499
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2500
2500
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2501
2501
|
localVarRequestOptions.data = serializeDataIfNeeded$7(updateQuotaParameterObject, localVarRequestOptions, configuration);
|
|
2502
2502
|
return {
|
|
2503
|
-
url: toPathString$
|
|
2503
|
+
url: toPathString$b(localVarUrlObj),
|
|
2504
2504
|
options: localVarRequestOptions,
|
|
2505
2505
|
};
|
|
2506
2506
|
}),
|
|
@@ -2523,7 +2523,7 @@
|
|
|
2523
2523
|
adminGetProject(projectString, options) {
|
|
2524
2524
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2525
2525
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminGetProject(projectString, options);
|
|
2526
|
-
return createRequestFunction$
|
|
2526
|
+
return createRequestFunction$b(localVarAxiosArgs, axios, BASE_PATH$b, configuration);
|
|
2527
2527
|
});
|
|
2528
2528
|
},
|
|
2529
2529
|
/**
|
|
@@ -2536,7 +2536,7 @@
|
|
|
2536
2536
|
adminUpdateQuota(updateQuotaParameterObject, options) {
|
|
2537
2537
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2538
2538
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminUpdateQuota(updateQuotaParameterObject, options);
|
|
2539
|
-
return createRequestFunction$
|
|
2539
|
+
return createRequestFunction$b(localVarAxiosArgs, axios, BASE_PATH$b, configuration);
|
|
2540
2540
|
});
|
|
2541
2541
|
},
|
|
2542
2542
|
};
|
|
@@ -2572,7 +2572,7 @@
|
|
|
2572
2572
|
};
|
|
2573
2573
|
|
|
2574
2574
|
/* tslint:disable */
|
|
2575
|
-
const BASE_PATH$
|
|
2575
|
+
const BASE_PATH$a = "https://d-sp23.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Blob".replace(/\/+$/, "");
|
|
2576
2576
|
/**
|
|
2577
2577
|
*
|
|
2578
2578
|
* @export
|
|
@@ -2592,7 +2592,7 @@
|
|
|
2592
2592
|
*
|
|
2593
2593
|
* @export
|
|
2594
2594
|
*/
|
|
2595
|
-
const DUMMY_BASE_URL$
|
|
2595
|
+
const DUMMY_BASE_URL$a = 'https://example.com';
|
|
2596
2596
|
/**
|
|
2597
2597
|
*
|
|
2598
2598
|
* @throws {RequiredError}
|
|
@@ -2607,7 +2607,7 @@
|
|
|
2607
2607
|
*
|
|
2608
2608
|
* @export
|
|
2609
2609
|
*/
|
|
2610
|
-
const setApiKeyToObject$
|
|
2610
|
+
const setApiKeyToObject$a = function (object, keyParamName, configuration) {
|
|
2611
2611
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2612
2612
|
if (configuration && configuration.apiKey) {
|
|
2613
2613
|
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
@@ -2621,7 +2621,7 @@
|
|
|
2621
2621
|
*
|
|
2622
2622
|
* @export
|
|
2623
2623
|
*/
|
|
2624
|
-
const setSearchParams$
|
|
2624
|
+
const setSearchParams$a = function (url, ...objects) {
|
|
2625
2625
|
const searchParams = new URLSearchParams(url.search);
|
|
2626
2626
|
for (const object of objects) {
|
|
2627
2627
|
for (const key in object) {
|
|
@@ -2655,14 +2655,14 @@
|
|
|
2655
2655
|
*
|
|
2656
2656
|
* @export
|
|
2657
2657
|
*/
|
|
2658
|
-
const toPathString$
|
|
2658
|
+
const toPathString$a = function (url) {
|
|
2659
2659
|
return url.pathname + url.search + url.hash;
|
|
2660
2660
|
};
|
|
2661
2661
|
/**
|
|
2662
2662
|
*
|
|
2663
2663
|
* @export
|
|
2664
2664
|
*/
|
|
2665
|
-
const createRequestFunction$
|
|
2665
|
+
const createRequestFunction$a = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
2666
2666
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
2667
2667
|
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
|
|
2668
2668
|
return axios.request(axiosRequestArgs);
|
|
@@ -2690,7 +2690,7 @@
|
|
|
2690
2690
|
const localVarPath = `/Blob/{resourceId}`
|
|
2691
2691
|
.replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)));
|
|
2692
2692
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2693
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
2693
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$a);
|
|
2694
2694
|
let baseOptions;
|
|
2695
2695
|
if (configuration) {
|
|
2696
2696
|
baseOptions = configuration.baseOptions;
|
|
@@ -2699,15 +2699,15 @@
|
|
|
2699
2699
|
const localVarHeaderParameter = {};
|
|
2700
2700
|
const localVarQueryParameter = {};
|
|
2701
2701
|
// authentication JWT token required
|
|
2702
|
-
yield setApiKeyToObject$
|
|
2702
|
+
yield setApiKeyToObject$a(localVarHeaderParameter, "Authorization", configuration);
|
|
2703
2703
|
if (path !== undefined) {
|
|
2704
2704
|
localVarQueryParameter['path'] = path;
|
|
2705
2705
|
}
|
|
2706
|
-
setSearchParams$
|
|
2706
|
+
setSearchParams$a(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2707
2707
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2708
2708
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2709
2709
|
return {
|
|
2710
|
-
url: toPathString$
|
|
2710
|
+
url: toPathString$a(localVarUrlObj),
|
|
2711
2711
|
options: localVarRequestOptions,
|
|
2712
2712
|
};
|
|
2713
2713
|
}),
|
|
@@ -2725,7 +2725,7 @@
|
|
|
2725
2725
|
const localVarPath = `/Blob/{resourceId}`
|
|
2726
2726
|
.replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)));
|
|
2727
2727
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2728
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
2728
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$a);
|
|
2729
2729
|
let baseOptions;
|
|
2730
2730
|
if (configuration) {
|
|
2731
2731
|
baseOptions = configuration.baseOptions;
|
|
@@ -2734,15 +2734,15 @@
|
|
|
2734
2734
|
const localVarHeaderParameter = {};
|
|
2735
2735
|
const localVarQueryParameter = {};
|
|
2736
2736
|
// authentication JWT token required
|
|
2737
|
-
yield setApiKeyToObject$
|
|
2737
|
+
yield setApiKeyToObject$a(localVarHeaderParameter, "Authorization", configuration);
|
|
2738
2738
|
if (path !== undefined) {
|
|
2739
2739
|
localVarQueryParameter['path'] = path;
|
|
2740
2740
|
}
|
|
2741
|
-
setSearchParams$
|
|
2741
|
+
setSearchParams$a(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2742
2742
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2743
2743
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2744
2744
|
return {
|
|
2745
|
-
url: toPathString$
|
|
2745
|
+
url: toPathString$a(localVarUrlObj),
|
|
2746
2746
|
options: localVarRequestOptions,
|
|
2747
2747
|
};
|
|
2748
2748
|
}),
|
|
@@ -2759,7 +2759,7 @@
|
|
|
2759
2759
|
const localVarPath = `/Blob/{resourceId}/quota`
|
|
2760
2760
|
.replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)));
|
|
2761
2761
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2762
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
2762
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$a);
|
|
2763
2763
|
let baseOptions;
|
|
2764
2764
|
if (configuration) {
|
|
2765
2765
|
baseOptions = configuration.baseOptions;
|
|
@@ -2768,12 +2768,12 @@
|
|
|
2768
2768
|
const localVarHeaderParameter = {};
|
|
2769
2769
|
const localVarQueryParameter = {};
|
|
2770
2770
|
// authentication JWT token required
|
|
2771
|
-
yield setApiKeyToObject$
|
|
2772
|
-
setSearchParams$
|
|
2771
|
+
yield setApiKeyToObject$a(localVarHeaderParameter, "Authorization", configuration);
|
|
2772
|
+
setSearchParams$a(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2773
2773
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2774
2774
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2775
2775
|
return {
|
|
2776
|
-
url: toPathString$
|
|
2776
|
+
url: toPathString$a(localVarUrlObj),
|
|
2777
2777
|
options: localVarRequestOptions,
|
|
2778
2778
|
};
|
|
2779
2779
|
}),
|
|
@@ -2789,7 +2789,7 @@
|
|
|
2789
2789
|
assertParamExists$9('blobIsResourceValid', 'body', body);
|
|
2790
2790
|
const localVarPath = `/Blob/validate`;
|
|
2791
2791
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2792
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
2792
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$a);
|
|
2793
2793
|
let baseOptions;
|
|
2794
2794
|
if (configuration) {
|
|
2795
2795
|
baseOptions = configuration.baseOptions;
|
|
@@ -2798,14 +2798,14 @@
|
|
|
2798
2798
|
const localVarHeaderParameter = {};
|
|
2799
2799
|
const localVarQueryParameter = {};
|
|
2800
2800
|
// authentication JWT token required
|
|
2801
|
-
yield setApiKeyToObject$
|
|
2801
|
+
yield setApiKeyToObject$a(localVarHeaderParameter, "Authorization", configuration);
|
|
2802
2802
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2803
|
-
setSearchParams$
|
|
2803
|
+
setSearchParams$a(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2804
2804
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2805
2805
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2806
2806
|
localVarRequestOptions.data = serializeDataIfNeeded$6(body, localVarRequestOptions, configuration);
|
|
2807
2807
|
return {
|
|
2808
|
-
url: toPathString$
|
|
2808
|
+
url: toPathString$a(localVarUrlObj),
|
|
2809
2809
|
options: localVarRequestOptions,
|
|
2810
2810
|
};
|
|
2811
2811
|
}),
|
|
@@ -2824,7 +2824,7 @@
|
|
|
2824
2824
|
const localVarPath = `/Blob/{resourceId}`
|
|
2825
2825
|
.replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)));
|
|
2826
2826
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2827
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
2827
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$a);
|
|
2828
2828
|
let baseOptions;
|
|
2829
2829
|
if (configuration) {
|
|
2830
2830
|
baseOptions = configuration.baseOptions;
|
|
@@ -2834,7 +2834,7 @@
|
|
|
2834
2834
|
const localVarQueryParameter = {};
|
|
2835
2835
|
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
2836
2836
|
// authentication JWT token required
|
|
2837
|
-
yield setApiKeyToObject$
|
|
2837
|
+
yield setApiKeyToObject$a(localVarHeaderParameter, "Authorization", configuration);
|
|
2838
2838
|
if (path !== undefined) {
|
|
2839
2839
|
localVarQueryParameter['path'] = path;
|
|
2840
2840
|
}
|
|
@@ -2844,12 +2844,12 @@
|
|
|
2844
2844
|
});
|
|
2845
2845
|
}
|
|
2846
2846
|
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
2847
|
-
setSearchParams$
|
|
2847
|
+
setSearchParams$a(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2848
2848
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2849
2849
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2850
2850
|
localVarRequestOptions.data = localVarFormParams;
|
|
2851
2851
|
return {
|
|
2852
|
-
url: toPathString$
|
|
2852
|
+
url: toPathString$a(localVarUrlObj),
|
|
2853
2853
|
options: localVarRequestOptions,
|
|
2854
2854
|
};
|
|
2855
2855
|
}),
|
|
@@ -2873,7 +2873,7 @@
|
|
|
2873
2873
|
blobDeleteFileWithParameter(resourceId, path, options) {
|
|
2874
2874
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2875
2875
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.blobDeleteFileWithParameter(resourceId, path, options);
|
|
2876
|
-
return createRequestFunction$
|
|
2876
|
+
return createRequestFunction$a(localVarAxiosArgs, axios, BASE_PATH$a, configuration);
|
|
2877
2877
|
});
|
|
2878
2878
|
},
|
|
2879
2879
|
/**
|
|
@@ -2887,7 +2887,7 @@
|
|
|
2887
2887
|
blobGetFileWithParameter(resourceId, path, options) {
|
|
2888
2888
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2889
2889
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.blobGetFileWithParameter(resourceId, path, options);
|
|
2890
|
-
return createRequestFunction$
|
|
2890
|
+
return createRequestFunction$a(localVarAxiosArgs, axios, BASE_PATH$a, configuration);
|
|
2891
2891
|
});
|
|
2892
2892
|
},
|
|
2893
2893
|
/**
|
|
@@ -2900,7 +2900,7 @@
|
|
|
2900
2900
|
blobGetQuota(resourceId, options) {
|
|
2901
2901
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2902
2902
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.blobGetQuota(resourceId, options);
|
|
2903
|
-
return createRequestFunction$
|
|
2903
|
+
return createRequestFunction$a(localVarAxiosArgs, axios, BASE_PATH$a, configuration);
|
|
2904
2904
|
});
|
|
2905
2905
|
},
|
|
2906
2906
|
/**
|
|
@@ -2913,7 +2913,7 @@
|
|
|
2913
2913
|
blobIsResourceValid(body, options) {
|
|
2914
2914
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2915
2915
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.blobIsResourceValid(body, options);
|
|
2916
|
-
return createRequestFunction$
|
|
2916
|
+
return createRequestFunction$a(localVarAxiosArgs, axios, BASE_PATH$a, configuration);
|
|
2917
2917
|
});
|
|
2918
2918
|
},
|
|
2919
2919
|
/**
|
|
@@ -2928,7 +2928,7 @@
|
|
|
2928
2928
|
blobUploadFileWithParameter(resourceId, path, files, options) {
|
|
2929
2929
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2930
2930
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.blobUploadFileWithParameter(resourceId, path, files, options);
|
|
2931
|
-
return createRequestFunction$
|
|
2931
|
+
return createRequestFunction$a(localVarAxiosArgs, axios, BASE_PATH$a, configuration);
|
|
2932
2932
|
});
|
|
2933
2933
|
},
|
|
2934
2934
|
};
|
|
@@ -2998,7 +2998,7 @@
|
|
|
2998
2998
|
};
|
|
2999
2999
|
|
|
3000
3000
|
/* tslint:disable */
|
|
3001
|
-
const BASE_PATH$
|
|
3001
|
+
const BASE_PATH$9 = "https://d-sp23.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Metadata".replace(/\/+$/, "");
|
|
3002
3002
|
/**
|
|
3003
3003
|
*
|
|
3004
3004
|
* @export
|
|
@@ -3018,7 +3018,7 @@
|
|
|
3018
3018
|
*
|
|
3019
3019
|
* @export
|
|
3020
3020
|
*/
|
|
3021
|
-
const DUMMY_BASE_URL$
|
|
3021
|
+
const DUMMY_BASE_URL$9 = 'https://example.com';
|
|
3022
3022
|
/**
|
|
3023
3023
|
*
|
|
3024
3024
|
* @throws {RequiredError}
|
|
@@ -3033,7 +3033,7 @@
|
|
|
3033
3033
|
*
|
|
3034
3034
|
* @export
|
|
3035
3035
|
*/
|
|
3036
|
-
const setApiKeyToObject$
|
|
3036
|
+
const setApiKeyToObject$9 = function (object, keyParamName, configuration) {
|
|
3037
3037
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3038
3038
|
if (configuration && configuration.apiKey) {
|
|
3039
3039
|
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
@@ -3047,7 +3047,7 @@
|
|
|
3047
3047
|
*
|
|
3048
3048
|
* @export
|
|
3049
3049
|
*/
|
|
3050
|
-
const setSearchParams$
|
|
3050
|
+
const setSearchParams$9 = function (url, ...objects) {
|
|
3051
3051
|
const searchParams = new URLSearchParams(url.search);
|
|
3052
3052
|
for (const object of objects) {
|
|
3053
3053
|
for (const key in object) {
|
|
@@ -3081,14 +3081,14 @@
|
|
|
3081
3081
|
*
|
|
3082
3082
|
* @export
|
|
3083
3083
|
*/
|
|
3084
|
-
const toPathString$
|
|
3084
|
+
const toPathString$9 = function (url) {
|
|
3085
3085
|
return url.pathname + url.search + url.hash;
|
|
3086
3086
|
};
|
|
3087
3087
|
/**
|
|
3088
3088
|
*
|
|
3089
3089
|
* @export
|
|
3090
3090
|
*/
|
|
3091
|
-
const createRequestFunction$
|
|
3091
|
+
const createRequestFunction$9 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
3092
3092
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
3093
3093
|
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
|
|
3094
3094
|
return axios.request(axiosRequestArgs);
|
|
@@ -3102,59 +3102,20 @@
|
|
|
3102
3102
|
*/
|
|
3103
3103
|
const MetadataApiAxiosParamCreator = function (configuration) {
|
|
3104
3104
|
return {
|
|
3105
|
-
/**
|
|
3106
|
-
*
|
|
3107
|
-
* @summary Returns the application profile with the fixed values for the given resource.
|
|
3108
|
-
* @param {string} profile Url of the application profile
|
|
3109
|
-
* @param {string} resourceId Id of the resource
|
|
3110
|
-
* @param {*} [options] Override http request option.
|
|
3111
|
-
* @throws {RequiredError}
|
|
3112
|
-
*/
|
|
3113
|
-
metadataGetApplicationProfileComplete: (profile, resourceId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3114
|
-
// verify required parameter 'profile' is not null or undefined
|
|
3115
|
-
assertParamExists$8('metadataGetApplicationProfileComplete', 'profile', profile);
|
|
3116
|
-
// verify required parameter 'resourceId' is not null or undefined
|
|
3117
|
-
assertParamExists$8('metadataGetApplicationProfileComplete', 'resourceId', resourceId);
|
|
3118
|
-
const localVarPath = `/Metadata/profiles/{profile}/{resourceId}`
|
|
3119
|
-
.replace(`{${"profile"}}`, encodeURIComponent(String(profile)))
|
|
3120
|
-
.replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)));
|
|
3121
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3122
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$8);
|
|
3123
|
-
let baseOptions;
|
|
3124
|
-
if (configuration) {
|
|
3125
|
-
baseOptions = configuration.baseOptions;
|
|
3126
|
-
}
|
|
3127
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
3128
|
-
const localVarHeaderParameter = {};
|
|
3129
|
-
const localVarQueryParameter = {};
|
|
3130
|
-
// authentication JWT token required
|
|
3131
|
-
yield setApiKeyToObject$8(localVarHeaderParameter, "Authorization", configuration);
|
|
3132
|
-
setSearchParams$8(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3133
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3134
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3135
|
-
return {
|
|
3136
|
-
url: toPathString$8(localVarUrlObj),
|
|
3137
|
-
options: localVarRequestOptions,
|
|
3138
|
-
};
|
|
3139
|
-
}),
|
|
3140
3105
|
/**
|
|
3141
3106
|
*
|
|
3142
3107
|
* @summary This method returns instances.
|
|
3143
|
-
* @param {string} projectId Id of the project
|
|
3144
3108
|
* @param {string} className class name
|
|
3145
3109
|
* @param {*} [options] Override http request option.
|
|
3146
3110
|
* @throws {RequiredError}
|
|
3147
3111
|
*/
|
|
3148
|
-
metadataGetClassInstances: (
|
|
3149
|
-
// verify required parameter 'projectId' is not null or undefined
|
|
3150
|
-
assertParamExists$8('metadataGetClassInstances', 'projectId', projectId);
|
|
3112
|
+
metadataGetClassInstances: (className, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3151
3113
|
// verify required parameter 'className' is not null or undefined
|
|
3152
3114
|
assertParamExists$8('metadataGetClassInstances', 'className', className);
|
|
3153
|
-
const localVarPath = `/Metadata/instances/{
|
|
3154
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)))
|
|
3115
|
+
const localVarPath = `/Metadata/instances/{className}`
|
|
3155
3116
|
.replace(`{${"className"}}`, encodeURIComponent(String(className)));
|
|
3156
3117
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3157
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
3118
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$9);
|
|
3158
3119
|
let baseOptions;
|
|
3159
3120
|
if (configuration) {
|
|
3160
3121
|
baseOptions = configuration.baseOptions;
|
|
@@ -3163,12 +3124,12 @@
|
|
|
3163
3124
|
const localVarHeaderParameter = {};
|
|
3164
3125
|
const localVarQueryParameter = {};
|
|
3165
3126
|
// authentication JWT token required
|
|
3166
|
-
yield setApiKeyToObject$
|
|
3167
|
-
setSearchParams$
|
|
3127
|
+
yield setApiKeyToObject$9(localVarHeaderParameter, "Authorization", configuration);
|
|
3128
|
+
setSearchParams$9(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3168
3129
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3169
3130
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3170
3131
|
return {
|
|
3171
|
-
url: toPathString$
|
|
3132
|
+
url: toPathString$9(localVarUrlObj),
|
|
3172
3133
|
options: localVarRequestOptions,
|
|
3173
3134
|
};
|
|
3174
3135
|
}),
|
|
@@ -3185,7 +3146,7 @@
|
|
|
3185
3146
|
const localVarPath = `/Metadata/profiles/{profile}`
|
|
3186
3147
|
.replace(`{${"profile"}}`, encodeURIComponent(String(profile)));
|
|
3187
3148
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3188
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
3149
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$9);
|
|
3189
3150
|
let baseOptions;
|
|
3190
3151
|
if (configuration) {
|
|
3191
3152
|
baseOptions = configuration.baseOptions;
|
|
@@ -3194,12 +3155,12 @@
|
|
|
3194
3155
|
const localVarHeaderParameter = {};
|
|
3195
3156
|
const localVarQueryParameter = {};
|
|
3196
3157
|
// authentication JWT token required
|
|
3197
|
-
yield setApiKeyToObject$
|
|
3198
|
-
setSearchParams$
|
|
3158
|
+
yield setApiKeyToObject$9(localVarHeaderParameter, "Authorization", configuration);
|
|
3159
|
+
setSearchParams$9(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3199
3160
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3200
3161
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3201
3162
|
return {
|
|
3202
|
-
url: toPathString$
|
|
3163
|
+
url: toPathString$9(localVarUrlObj),
|
|
3203
3164
|
options: localVarRequestOptions,
|
|
3204
3165
|
};
|
|
3205
3166
|
}),
|
|
@@ -3212,7 +3173,7 @@
|
|
|
3212
3173
|
metadataGetProfiles: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3213
3174
|
const localVarPath = `/Metadata/profiles`;
|
|
3214
3175
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3215
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
3176
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$9);
|
|
3216
3177
|
let baseOptions;
|
|
3217
3178
|
if (configuration) {
|
|
3218
3179
|
baseOptions = configuration.baseOptions;
|
|
@@ -3221,12 +3182,12 @@
|
|
|
3221
3182
|
const localVarHeaderParameter = {};
|
|
3222
3183
|
const localVarQueryParameter = {};
|
|
3223
3184
|
// authentication JWT token required
|
|
3224
|
-
yield setApiKeyToObject$
|
|
3225
|
-
setSearchParams$
|
|
3185
|
+
yield setApiKeyToObject$9(localVarHeaderParameter, "Authorization", configuration);
|
|
3186
|
+
setSearchParams$9(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3226
3187
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3227
3188
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3228
3189
|
return {
|
|
3229
|
-
url: toPathString$
|
|
3190
|
+
url: toPathString$9(localVarUrlObj),
|
|
3230
3191
|
options: localVarRequestOptions,
|
|
3231
3192
|
};
|
|
3232
3193
|
}),
|
|
@@ -3239,7 +3200,7 @@
|
|
|
3239
3200
|
metadataGetVocabularies: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3240
3201
|
const localVarPath = `/Metadata/vocabularies`;
|
|
3241
3202
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3242
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
3203
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$9);
|
|
3243
3204
|
let baseOptions;
|
|
3244
3205
|
if (configuration) {
|
|
3245
3206
|
baseOptions = configuration.baseOptions;
|
|
@@ -3248,12 +3209,12 @@
|
|
|
3248
3209
|
const localVarHeaderParameter = {};
|
|
3249
3210
|
const localVarQueryParameter = {};
|
|
3250
3211
|
// authentication JWT token required
|
|
3251
|
-
yield setApiKeyToObject$
|
|
3252
|
-
setSearchParams$
|
|
3212
|
+
yield setApiKeyToObject$9(localVarHeaderParameter, "Authorization", configuration);
|
|
3213
|
+
setSearchParams$9(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3253
3214
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3254
3215
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3255
3216
|
return {
|
|
3256
|
-
url: toPathString$
|
|
3217
|
+
url: toPathString$9(localVarUrlObj),
|
|
3257
3218
|
options: localVarRequestOptions,
|
|
3258
3219
|
};
|
|
3259
3220
|
}),
|
|
@@ -3270,7 +3231,7 @@
|
|
|
3270
3231
|
const localVarPath = `/Metadata/vocabularies/{path}`
|
|
3271
3232
|
.replace(`{${"path"}}`, encodeURIComponent(String(path)));
|
|
3272
3233
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3273
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
3234
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$9);
|
|
3274
3235
|
let baseOptions;
|
|
3275
3236
|
if (configuration) {
|
|
3276
3237
|
baseOptions = configuration.baseOptions;
|
|
@@ -3279,12 +3240,12 @@
|
|
|
3279
3240
|
const localVarHeaderParameter = {};
|
|
3280
3241
|
const localVarQueryParameter = {};
|
|
3281
3242
|
// authentication JWT token required
|
|
3282
|
-
yield setApiKeyToObject$
|
|
3283
|
-
setSearchParams$
|
|
3243
|
+
yield setApiKeyToObject$9(localVarHeaderParameter, "Authorization", configuration);
|
|
3244
|
+
setSearchParams$9(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3284
3245
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3285
3246
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3286
3247
|
return {
|
|
3287
|
-
url: toPathString$
|
|
3248
|
+
url: toPathString$9(localVarUrlObj),
|
|
3288
3249
|
options: localVarRequestOptions,
|
|
3289
3250
|
};
|
|
3290
3251
|
}),
|
|
@@ -3300,7 +3261,7 @@
|
|
|
3300
3261
|
assertParamExists$8('metadataSaveApplicationProfile', 'applicationProfile', applicationProfile);
|
|
3301
3262
|
const localVarPath = `/Metadata/profiles`;
|
|
3302
3263
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3303
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
3264
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$9);
|
|
3304
3265
|
let baseOptions;
|
|
3305
3266
|
if (configuration) {
|
|
3306
3267
|
baseOptions = configuration.baseOptions;
|
|
@@ -3309,14 +3270,14 @@
|
|
|
3309
3270
|
const localVarHeaderParameter = {};
|
|
3310
3271
|
const localVarQueryParameter = {};
|
|
3311
3272
|
// authentication JWT token required
|
|
3312
|
-
yield setApiKeyToObject$
|
|
3273
|
+
yield setApiKeyToObject$9(localVarHeaderParameter, "Authorization", configuration);
|
|
3313
3274
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3314
|
-
setSearchParams$
|
|
3275
|
+
setSearchParams$9(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3315
3276
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3316
3277
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3317
3278
|
localVarRequestOptions.data = serializeDataIfNeeded$5(applicationProfile, localVarRequestOptions, configuration);
|
|
3318
3279
|
return {
|
|
3319
|
-
url: toPathString$
|
|
3280
|
+
url: toPathString$9(localVarUrlObj),
|
|
3320
3281
|
options: localVarRequestOptions,
|
|
3321
3282
|
};
|
|
3322
3283
|
}),
|
|
@@ -3329,32 +3290,17 @@
|
|
|
3329
3290
|
const MetadataApiFp = function (configuration) {
|
|
3330
3291
|
const localVarAxiosParamCreator = MetadataApiAxiosParamCreator(configuration);
|
|
3331
3292
|
return {
|
|
3332
|
-
/**
|
|
3333
|
-
*
|
|
3334
|
-
* @summary Returns the application profile with the fixed values for the given resource.
|
|
3335
|
-
* @param {string} profile Url of the application profile
|
|
3336
|
-
* @param {string} resourceId Id of the resource
|
|
3337
|
-
* @param {*} [options] Override http request option.
|
|
3338
|
-
* @throws {RequiredError}
|
|
3339
|
-
*/
|
|
3340
|
-
metadataGetApplicationProfileComplete(profile, resourceId, options) {
|
|
3341
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
3342
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.metadataGetApplicationProfileComplete(profile, resourceId, options);
|
|
3343
|
-
return createRequestFunction$8(localVarAxiosArgs, axios, BASE_PATH$8, configuration);
|
|
3344
|
-
});
|
|
3345
|
-
},
|
|
3346
3293
|
/**
|
|
3347
3294
|
*
|
|
3348
3295
|
* @summary This method returns instances.
|
|
3349
|
-
* @param {string} projectId Id of the project
|
|
3350
3296
|
* @param {string} className class name
|
|
3351
3297
|
* @param {*} [options] Override http request option.
|
|
3352
3298
|
* @throws {RequiredError}
|
|
3353
3299
|
*/
|
|
3354
|
-
metadataGetClassInstances(
|
|
3300
|
+
metadataGetClassInstances(className, options) {
|
|
3355
3301
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3356
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.metadataGetClassInstances(
|
|
3357
|
-
return createRequestFunction$
|
|
3302
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.metadataGetClassInstances(className, options);
|
|
3303
|
+
return createRequestFunction$9(localVarAxiosArgs, axios, BASE_PATH$9, configuration);
|
|
3358
3304
|
});
|
|
3359
3305
|
},
|
|
3360
3306
|
/**
|
|
@@ -3367,7 +3313,7 @@
|
|
|
3367
3313
|
metadataGetProfile(profile, options) {
|
|
3368
3314
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3369
3315
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.metadataGetProfile(profile, options);
|
|
3370
|
-
return createRequestFunction$
|
|
3316
|
+
return createRequestFunction$9(localVarAxiosArgs, axios, BASE_PATH$9, configuration);
|
|
3371
3317
|
});
|
|
3372
3318
|
},
|
|
3373
3319
|
/**
|
|
@@ -3379,7 +3325,7 @@
|
|
|
3379
3325
|
metadataGetProfiles(options) {
|
|
3380
3326
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3381
3327
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.metadataGetProfiles(options);
|
|
3382
|
-
return createRequestFunction$
|
|
3328
|
+
return createRequestFunction$9(localVarAxiosArgs, axios, BASE_PATH$9, configuration);
|
|
3383
3329
|
});
|
|
3384
3330
|
},
|
|
3385
3331
|
/**
|
|
@@ -3391,7 +3337,7 @@
|
|
|
3391
3337
|
metadataGetVocabularies(options) {
|
|
3392
3338
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3393
3339
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.metadataGetVocabularies(options);
|
|
3394
|
-
return createRequestFunction$
|
|
3340
|
+
return createRequestFunction$9(localVarAxiosArgs, axios, BASE_PATH$9, configuration);
|
|
3395
3341
|
});
|
|
3396
3342
|
},
|
|
3397
3343
|
/**
|
|
@@ -3404,7 +3350,7 @@
|
|
|
3404
3350
|
metadataGetVocabulary(path, options) {
|
|
3405
3351
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3406
3352
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.metadataGetVocabulary(path, options);
|
|
3407
|
-
return createRequestFunction$
|
|
3353
|
+
return createRequestFunction$9(localVarAxiosArgs, axios, BASE_PATH$9, configuration);
|
|
3408
3354
|
});
|
|
3409
3355
|
},
|
|
3410
3356
|
/**
|
|
@@ -3417,7 +3363,7 @@
|
|
|
3417
3363
|
metadataSaveApplicationProfile(applicationProfile, options) {
|
|
3418
3364
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3419
3365
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.metadataSaveApplicationProfile(applicationProfile, options);
|
|
3420
|
-
return createRequestFunction$
|
|
3366
|
+
return createRequestFunction$9(localVarAxiosArgs, axios, BASE_PATH$9, configuration);
|
|
3421
3367
|
});
|
|
3422
3368
|
},
|
|
3423
3369
|
};
|
|
@@ -3429,27 +3375,15 @@
|
|
|
3429
3375
|
const MetadataApiFactory = function (configuration, basePath, axios) {
|
|
3430
3376
|
const localVarFp = MetadataApiFp(configuration);
|
|
3431
3377
|
return {
|
|
3432
|
-
/**
|
|
3433
|
-
*
|
|
3434
|
-
* @summary Returns the application profile with the fixed values for the given resource.
|
|
3435
|
-
* @param {string} profile Url of the application profile
|
|
3436
|
-
* @param {string} resourceId Id of the resource
|
|
3437
|
-
* @param {*} [options] Override http request option.
|
|
3438
|
-
* @throws {RequiredError}
|
|
3439
|
-
*/
|
|
3440
|
-
metadataGetApplicationProfileComplete(profile, resourceId, options) {
|
|
3441
|
-
return localVarFp.metadataGetApplicationProfileComplete(profile, resourceId, options).then((request) => request(axios, basePath));
|
|
3442
|
-
},
|
|
3443
3378
|
/**
|
|
3444
3379
|
*
|
|
3445
3380
|
* @summary This method returns instances.
|
|
3446
|
-
* @param {string} projectId Id of the project
|
|
3447
3381
|
* @param {string} className class name
|
|
3448
3382
|
* @param {*} [options] Override http request option.
|
|
3449
3383
|
* @throws {RequiredError}
|
|
3450
3384
|
*/
|
|
3451
|
-
metadataGetClassInstances(
|
|
3452
|
-
return localVarFp.metadataGetClassInstances(
|
|
3385
|
+
metadataGetClassInstances(className, options) {
|
|
3386
|
+
return localVarFp.metadataGetClassInstances(className, options).then((request) => request(axios, basePath));
|
|
3453
3387
|
},
|
|
3454
3388
|
/**
|
|
3455
3389
|
*
|
|
@@ -3503,7 +3437,7 @@
|
|
|
3503
3437
|
};
|
|
3504
3438
|
|
|
3505
3439
|
/* tslint:disable */
|
|
3506
|
-
const BASE_PATH$
|
|
3440
|
+
const BASE_PATH$8 = "https://d-sp23.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Notices".replace(/\/+$/, "");
|
|
3507
3441
|
/**
|
|
3508
3442
|
*
|
|
3509
3443
|
* @export
|
|
@@ -3523,7 +3457,7 @@
|
|
|
3523
3457
|
*
|
|
3524
3458
|
* @export
|
|
3525
3459
|
*/
|
|
3526
|
-
const DUMMY_BASE_URL$
|
|
3460
|
+
const DUMMY_BASE_URL$8 = 'https://example.com';
|
|
3527
3461
|
/**
|
|
3528
3462
|
*
|
|
3529
3463
|
* @throws {RequiredError}
|
|
@@ -3538,7 +3472,7 @@
|
|
|
3538
3472
|
*
|
|
3539
3473
|
* @export
|
|
3540
3474
|
*/
|
|
3541
|
-
const setApiKeyToObject$
|
|
3475
|
+
const setApiKeyToObject$8 = function (object, keyParamName, configuration) {
|
|
3542
3476
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3543
3477
|
if (configuration && configuration.apiKey) {
|
|
3544
3478
|
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
@@ -3552,7 +3486,7 @@
|
|
|
3552
3486
|
*
|
|
3553
3487
|
* @export
|
|
3554
3488
|
*/
|
|
3555
|
-
const setSearchParams$
|
|
3489
|
+
const setSearchParams$8 = function (url, ...objects) {
|
|
3556
3490
|
const searchParams = new URLSearchParams(url.search);
|
|
3557
3491
|
for (const object of objects) {
|
|
3558
3492
|
for (const key in object) {
|
|
@@ -3573,14 +3507,14 @@
|
|
|
3573
3507
|
*
|
|
3574
3508
|
* @export
|
|
3575
3509
|
*/
|
|
3576
|
-
const toPathString$
|
|
3510
|
+
const toPathString$8 = function (url) {
|
|
3577
3511
|
return url.pathname + url.search + url.hash;
|
|
3578
3512
|
};
|
|
3579
3513
|
/**
|
|
3580
3514
|
*
|
|
3581
3515
|
* @export
|
|
3582
3516
|
*/
|
|
3583
|
-
const createRequestFunction$
|
|
3517
|
+
const createRequestFunction$8 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
3584
3518
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
3585
3519
|
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
|
|
3586
3520
|
return axios.request(axiosRequestArgs);
|
|
@@ -3603,7 +3537,7 @@
|
|
|
3603
3537
|
noticeGetMaintenance: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3604
3538
|
const localVarPath = `/Notice/getMaintenance`;
|
|
3605
3539
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3606
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
3540
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$8);
|
|
3607
3541
|
let baseOptions;
|
|
3608
3542
|
if (configuration) {
|
|
3609
3543
|
baseOptions = configuration.baseOptions;
|
|
@@ -3612,12 +3546,12 @@
|
|
|
3612
3546
|
const localVarHeaderParameter = {};
|
|
3613
3547
|
const localVarQueryParameter = {};
|
|
3614
3548
|
// authentication JWT token required
|
|
3615
|
-
yield setApiKeyToObject$
|
|
3616
|
-
setSearchParams$
|
|
3549
|
+
yield setApiKeyToObject$8(localVarHeaderParameter, "Authorization", configuration);
|
|
3550
|
+
setSearchParams$8(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3617
3551
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3618
3552
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3619
3553
|
return {
|
|
3620
|
-
url: toPathString$
|
|
3554
|
+
url: toPathString$8(localVarUrlObj),
|
|
3621
3555
|
options: localVarRequestOptions,
|
|
3622
3556
|
};
|
|
3623
3557
|
}),
|
|
@@ -3635,7 +3569,7 @@
|
|
|
3635
3569
|
const localVarPath = `/Notice/{documentSlug}`
|
|
3636
3570
|
.replace(`{${"documentSlug"}}`, encodeURIComponent(String(documentSlug)));
|
|
3637
3571
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3638
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
3572
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$8);
|
|
3639
3573
|
let baseOptions;
|
|
3640
3574
|
if (configuration) {
|
|
3641
3575
|
baseOptions = configuration.baseOptions;
|
|
@@ -3644,15 +3578,15 @@
|
|
|
3644
3578
|
const localVarHeaderParameter = {};
|
|
3645
3579
|
const localVarQueryParameter = {};
|
|
3646
3580
|
// authentication JWT token required
|
|
3647
|
-
yield setApiKeyToObject$
|
|
3581
|
+
yield setApiKeyToObject$8(localVarHeaderParameter, "Authorization", configuration);
|
|
3648
3582
|
if (language !== undefined) {
|
|
3649
3583
|
localVarQueryParameter['language'] = language;
|
|
3650
3584
|
}
|
|
3651
|
-
setSearchParams$
|
|
3585
|
+
setSearchParams$8(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3652
3586
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3653
3587
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3654
3588
|
return {
|
|
3655
|
-
url: toPathString$
|
|
3589
|
+
url: toPathString$8(localVarUrlObj),
|
|
3656
3590
|
options: localVarRequestOptions,
|
|
3657
3591
|
};
|
|
3658
3592
|
}),
|
|
@@ -3674,7 +3608,7 @@
|
|
|
3674
3608
|
noticeGetMaintenance(options) {
|
|
3675
3609
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3676
3610
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.noticeGetMaintenance(options);
|
|
3677
|
-
return createRequestFunction$
|
|
3611
|
+
return createRequestFunction$8(localVarAxiosArgs, axios, BASE_PATH$8, configuration);
|
|
3678
3612
|
});
|
|
3679
3613
|
},
|
|
3680
3614
|
/**
|
|
@@ -3688,7 +3622,7 @@
|
|
|
3688
3622
|
noticeGetNotice(documentSlug, language, options) {
|
|
3689
3623
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3690
3624
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.noticeGetNotice(documentSlug, language, options);
|
|
3691
|
-
return createRequestFunction$
|
|
3625
|
+
return createRequestFunction$8(localVarAxiosArgs, axios, BASE_PATH$8, configuration);
|
|
3692
3626
|
});
|
|
3693
3627
|
},
|
|
3694
3628
|
};
|
|
@@ -3724,7 +3658,7 @@
|
|
|
3724
3658
|
};
|
|
3725
3659
|
|
|
3726
3660
|
/* tslint:disable */
|
|
3727
|
-
const BASE_PATH$
|
|
3661
|
+
const BASE_PATH$7 = "https://d-sp23.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Organization".replace(/\/+$/, "");
|
|
3728
3662
|
/**
|
|
3729
3663
|
*
|
|
3730
3664
|
* @export
|
|
@@ -3744,7 +3678,7 @@
|
|
|
3744
3678
|
*
|
|
3745
3679
|
* @export
|
|
3746
3680
|
*/
|
|
3747
|
-
const DUMMY_BASE_URL$
|
|
3681
|
+
const DUMMY_BASE_URL$7 = 'https://example.com';
|
|
3748
3682
|
/**
|
|
3749
3683
|
*
|
|
3750
3684
|
* @throws {RequiredError}
|
|
@@ -3759,7 +3693,7 @@
|
|
|
3759
3693
|
*
|
|
3760
3694
|
* @export
|
|
3761
3695
|
*/
|
|
3762
|
-
const setApiKeyToObject$
|
|
3696
|
+
const setApiKeyToObject$7 = function (object, keyParamName, configuration) {
|
|
3763
3697
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3764
3698
|
if (configuration && configuration.apiKey) {
|
|
3765
3699
|
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
@@ -3773,7 +3707,7 @@
|
|
|
3773
3707
|
*
|
|
3774
3708
|
* @export
|
|
3775
3709
|
*/
|
|
3776
|
-
const setSearchParams$
|
|
3710
|
+
const setSearchParams$7 = function (url, ...objects) {
|
|
3777
3711
|
const searchParams = new URLSearchParams(url.search);
|
|
3778
3712
|
for (const object of objects) {
|
|
3779
3713
|
for (const key in object) {
|
|
@@ -3794,14 +3728,14 @@
|
|
|
3794
3728
|
*
|
|
3795
3729
|
* @export
|
|
3796
3730
|
*/
|
|
3797
|
-
const toPathString$
|
|
3731
|
+
const toPathString$7 = function (url) {
|
|
3798
3732
|
return url.pathname + url.search + url.hash;
|
|
3799
3733
|
};
|
|
3800
3734
|
/**
|
|
3801
3735
|
*
|
|
3802
3736
|
* @export
|
|
3803
3737
|
*/
|
|
3804
|
-
const createRequestFunction$
|
|
3738
|
+
const createRequestFunction$7 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
3805
3739
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
3806
3740
|
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
|
|
3807
3741
|
return axios.request(axiosRequestArgs);
|
|
@@ -3828,7 +3762,7 @@
|
|
|
3828
3762
|
const localVarPath = `/Organization/{url}`
|
|
3829
3763
|
.replace(`{${"url"}}`, encodeURIComponent(String(url)));
|
|
3830
3764
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3831
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
3765
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
3832
3766
|
let baseOptions;
|
|
3833
3767
|
if (configuration) {
|
|
3834
3768
|
baseOptions = configuration.baseOptions;
|
|
@@ -3837,12 +3771,12 @@
|
|
|
3837
3771
|
const localVarHeaderParameter = {};
|
|
3838
3772
|
const localVarQueryParameter = {};
|
|
3839
3773
|
// authentication JWT token required
|
|
3840
|
-
yield setApiKeyToObject$
|
|
3841
|
-
setSearchParams$
|
|
3774
|
+
yield setApiKeyToObject$7(localVarHeaderParameter, "Authorization", configuration);
|
|
3775
|
+
setSearchParams$7(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3842
3776
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3843
3777
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3844
3778
|
return {
|
|
3845
|
-
url: toPathString$
|
|
3779
|
+
url: toPathString$7(localVarUrlObj),
|
|
3846
3780
|
options: localVarRequestOptions,
|
|
3847
3781
|
};
|
|
3848
3782
|
}),
|
|
@@ -3856,7 +3790,7 @@
|
|
|
3856
3790
|
organizationGetROR: (filter, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3857
3791
|
const localVarPath = `/Organization/-/ror`;
|
|
3858
3792
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3859
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
3793
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
3860
3794
|
let baseOptions;
|
|
3861
3795
|
if (configuration) {
|
|
3862
3796
|
baseOptions = configuration.baseOptions;
|
|
@@ -3865,15 +3799,15 @@
|
|
|
3865
3799
|
const localVarHeaderParameter = {};
|
|
3866
3800
|
const localVarQueryParameter = {};
|
|
3867
3801
|
// authentication JWT token required
|
|
3868
|
-
yield setApiKeyToObject$
|
|
3802
|
+
yield setApiKeyToObject$7(localVarHeaderParameter, "Authorization", configuration);
|
|
3869
3803
|
if (filter !== undefined) {
|
|
3870
3804
|
localVarQueryParameter['filter'] = filter;
|
|
3871
3805
|
}
|
|
3872
|
-
setSearchParams$
|
|
3806
|
+
setSearchParams$7(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3873
3807
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3874
3808
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3875
3809
|
return {
|
|
3876
|
-
url: toPathString$
|
|
3810
|
+
url: toPathString$7(localVarUrlObj),
|
|
3877
3811
|
options: localVarRequestOptions,
|
|
3878
3812
|
};
|
|
3879
3813
|
}),
|
|
@@ -3888,7 +3822,7 @@
|
|
|
3888
3822
|
organizationIndex: (member, filter, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3889
3823
|
const localVarPath = `/Organization`;
|
|
3890
3824
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3891
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
3825
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
3892
3826
|
let baseOptions;
|
|
3893
3827
|
if (configuration) {
|
|
3894
3828
|
baseOptions = configuration.baseOptions;
|
|
@@ -3897,18 +3831,18 @@
|
|
|
3897
3831
|
const localVarHeaderParameter = {};
|
|
3898
3832
|
const localVarQueryParameter = {};
|
|
3899
3833
|
// authentication JWT token required
|
|
3900
|
-
yield setApiKeyToObject$
|
|
3834
|
+
yield setApiKeyToObject$7(localVarHeaderParameter, "Authorization", configuration);
|
|
3901
3835
|
if (member !== undefined) {
|
|
3902
3836
|
localVarQueryParameter['member'] = member;
|
|
3903
3837
|
}
|
|
3904
3838
|
if (filter !== undefined) {
|
|
3905
3839
|
localVarQueryParameter['filter'] = filter;
|
|
3906
3840
|
}
|
|
3907
|
-
setSearchParams$
|
|
3841
|
+
setSearchParams$7(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3908
3842
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3909
3843
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3910
3844
|
return {
|
|
3911
|
-
url: toPathString$
|
|
3845
|
+
url: toPathString$7(localVarUrlObj),
|
|
3912
3846
|
options: localVarRequestOptions,
|
|
3913
3847
|
};
|
|
3914
3848
|
}),
|
|
@@ -3925,7 +3859,7 @@
|
|
|
3925
3859
|
const localVarPath = `/Organization/-/isMember/{url}`
|
|
3926
3860
|
.replace(`{${"url"}}`, encodeURIComponent(String(url)));
|
|
3927
3861
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3928
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
3862
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
3929
3863
|
let baseOptions;
|
|
3930
3864
|
if (configuration) {
|
|
3931
3865
|
baseOptions = configuration.baseOptions;
|
|
@@ -3934,12 +3868,12 @@
|
|
|
3934
3868
|
const localVarHeaderParameter = {};
|
|
3935
3869
|
const localVarQueryParameter = {};
|
|
3936
3870
|
// authentication JWT token required
|
|
3937
|
-
yield setApiKeyToObject$
|
|
3938
|
-
setSearchParams$
|
|
3871
|
+
yield setApiKeyToObject$7(localVarHeaderParameter, "Authorization", configuration);
|
|
3872
|
+
setSearchParams$7(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3939
3873
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3940
3874
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3941
3875
|
return {
|
|
3942
|
-
url: toPathString$
|
|
3876
|
+
url: toPathString$7(localVarUrlObj),
|
|
3943
3877
|
options: localVarRequestOptions,
|
|
3944
3878
|
};
|
|
3945
3879
|
}),
|
|
@@ -3952,7 +3886,7 @@
|
|
|
3952
3886
|
organizationIsMember2: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3953
3887
|
const localVarPath = `/Organization/-/isMember`;
|
|
3954
3888
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3955
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
3889
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
3956
3890
|
let baseOptions;
|
|
3957
3891
|
if (configuration) {
|
|
3958
3892
|
baseOptions = configuration.baseOptions;
|
|
@@ -3961,12 +3895,12 @@
|
|
|
3961
3895
|
const localVarHeaderParameter = {};
|
|
3962
3896
|
const localVarQueryParameter = {};
|
|
3963
3897
|
// authentication JWT token required
|
|
3964
|
-
yield setApiKeyToObject$
|
|
3965
|
-
setSearchParams$
|
|
3898
|
+
yield setApiKeyToObject$7(localVarHeaderParameter, "Authorization", configuration);
|
|
3899
|
+
setSearchParams$7(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3966
3900
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3967
3901
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3968
3902
|
return {
|
|
3969
|
-
url: toPathString$
|
|
3903
|
+
url: toPathString$7(localVarUrlObj),
|
|
3970
3904
|
options: localVarRequestOptions,
|
|
3971
3905
|
};
|
|
3972
3906
|
}),
|
|
@@ -3989,7 +3923,7 @@
|
|
|
3989
3923
|
organizationGetOrganization(url, options) {
|
|
3990
3924
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3991
3925
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.organizationGetOrganization(url, options);
|
|
3992
|
-
return createRequestFunction$
|
|
3926
|
+
return createRequestFunction$7(localVarAxiosArgs, axios, BASE_PATH$7, configuration);
|
|
3993
3927
|
});
|
|
3994
3928
|
},
|
|
3995
3929
|
/**
|
|
@@ -4002,7 +3936,7 @@
|
|
|
4002
3936
|
organizationGetROR(filter, options) {
|
|
4003
3937
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4004
3938
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.organizationGetROR(filter, options);
|
|
4005
|
-
return createRequestFunction$
|
|
3939
|
+
return createRequestFunction$7(localVarAxiosArgs, axios, BASE_PATH$7, configuration);
|
|
4006
3940
|
});
|
|
4007
3941
|
},
|
|
4008
3942
|
/**
|
|
@@ -4016,7 +3950,7 @@
|
|
|
4016
3950
|
organizationIndex(member, filter, options) {
|
|
4017
3951
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4018
3952
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.organizationIndex(member, filter, options);
|
|
4019
|
-
return createRequestFunction$
|
|
3953
|
+
return createRequestFunction$7(localVarAxiosArgs, axios, BASE_PATH$7, configuration);
|
|
4020
3954
|
});
|
|
4021
3955
|
},
|
|
4022
3956
|
/**
|
|
@@ -4029,7 +3963,7 @@
|
|
|
4029
3963
|
organizationIsMember(url, options) {
|
|
4030
3964
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4031
3965
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.organizationIsMember(url, options);
|
|
4032
|
-
return createRequestFunction$
|
|
3966
|
+
return createRequestFunction$7(localVarAxiosArgs, axios, BASE_PATH$7, configuration);
|
|
4033
3967
|
});
|
|
4034
3968
|
},
|
|
4035
3969
|
/**
|
|
@@ -4041,7 +3975,7 @@
|
|
|
4041
3975
|
organizationIsMember2(options) {
|
|
4042
3976
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4043
3977
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.organizationIsMember2(options);
|
|
4044
|
-
return createRequestFunction$
|
|
3978
|
+
return createRequestFunction$7(localVarAxiosArgs, axios, BASE_PATH$7, configuration);
|
|
4045
3979
|
});
|
|
4046
3980
|
},
|
|
4047
3981
|
};
|
|
@@ -4107,7 +4041,7 @@
|
|
|
4107
4041
|
};
|
|
4108
4042
|
|
|
4109
4043
|
/* tslint:disable */
|
|
4110
|
-
const BASE_PATH$
|
|
4044
|
+
const BASE_PATH$6 = "https://d-sp23.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Project".replace(/\/+$/, "");
|
|
4111
4045
|
/**
|
|
4112
4046
|
*
|
|
4113
4047
|
* @export
|
|
@@ -4127,7 +4061,7 @@
|
|
|
4127
4061
|
*
|
|
4128
4062
|
* @export
|
|
4129
4063
|
*/
|
|
4130
|
-
const DUMMY_BASE_URL$
|
|
4064
|
+
const DUMMY_BASE_URL$6 = 'https://example.com';
|
|
4131
4065
|
/**
|
|
4132
4066
|
*
|
|
4133
4067
|
* @throws {RequiredError}
|
|
@@ -4142,7 +4076,7 @@
|
|
|
4142
4076
|
*
|
|
4143
4077
|
* @export
|
|
4144
4078
|
*/
|
|
4145
|
-
const setApiKeyToObject$
|
|
4079
|
+
const setApiKeyToObject$6 = function (object, keyParamName, configuration) {
|
|
4146
4080
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4147
4081
|
if (configuration && configuration.apiKey) {
|
|
4148
4082
|
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
@@ -4156,7 +4090,7 @@
|
|
|
4156
4090
|
*
|
|
4157
4091
|
* @export
|
|
4158
4092
|
*/
|
|
4159
|
-
const setSearchParams$
|
|
4093
|
+
const setSearchParams$6 = function (url, ...objects) {
|
|
4160
4094
|
const searchParams = new URLSearchParams(url.search);
|
|
4161
4095
|
for (const object of objects) {
|
|
4162
4096
|
for (const key in object) {
|
|
@@ -4190,14 +4124,14 @@
|
|
|
4190
4124
|
*
|
|
4191
4125
|
* @export
|
|
4192
4126
|
*/
|
|
4193
|
-
const toPathString$
|
|
4127
|
+
const toPathString$6 = function (url) {
|
|
4194
4128
|
return url.pathname + url.search + url.hash;
|
|
4195
4129
|
};
|
|
4196
4130
|
/**
|
|
4197
4131
|
*
|
|
4198
4132
|
* @export
|
|
4199
4133
|
*/
|
|
4200
|
-
const createRequestFunction$
|
|
4134
|
+
const createRequestFunction$6 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
4201
4135
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
4202
4136
|
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
|
|
4203
4137
|
return axios.request(axiosRequestArgs);
|
|
@@ -4220,7 +4154,7 @@
|
|
|
4220
4154
|
disciplineIndex: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4221
4155
|
const localVarPath = `/Discipline`;
|
|
4222
4156
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4223
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4157
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4224
4158
|
let baseOptions;
|
|
4225
4159
|
if (configuration) {
|
|
4226
4160
|
baseOptions = configuration.baseOptions;
|
|
@@ -4229,12 +4163,12 @@
|
|
|
4229
4163
|
const localVarHeaderParameter = {};
|
|
4230
4164
|
const localVarQueryParameter = {};
|
|
4231
4165
|
// authentication JWT token required
|
|
4232
|
-
yield setApiKeyToObject$
|
|
4233
|
-
setSearchParams$
|
|
4166
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4167
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4234
4168
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4235
4169
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4236
4170
|
return {
|
|
4237
|
-
url: toPathString$
|
|
4171
|
+
url: toPathString$6(localVarUrlObj),
|
|
4238
4172
|
options: localVarRequestOptions,
|
|
4239
4173
|
};
|
|
4240
4174
|
}),
|
|
@@ -4256,7 +4190,7 @@
|
|
|
4256
4190
|
disciplineIndex(options) {
|
|
4257
4191
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4258
4192
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.disciplineIndex(options);
|
|
4259
|
-
return createRequestFunction$
|
|
4193
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4260
4194
|
});
|
|
4261
4195
|
},
|
|
4262
4196
|
};
|
|
@@ -4294,7 +4228,7 @@
|
|
|
4294
4228
|
licenseIndex: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4295
4229
|
const localVarPath = `/License`;
|
|
4296
4230
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4297
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4231
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4298
4232
|
let baseOptions;
|
|
4299
4233
|
if (configuration) {
|
|
4300
4234
|
baseOptions = configuration.baseOptions;
|
|
@@ -4303,12 +4237,12 @@
|
|
|
4303
4237
|
const localVarHeaderParameter = {};
|
|
4304
4238
|
const localVarQueryParameter = {};
|
|
4305
4239
|
// authentication JWT token required
|
|
4306
|
-
yield setApiKeyToObject$
|
|
4307
|
-
setSearchParams$
|
|
4240
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4241
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4308
4242
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4309
4243
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4310
4244
|
return {
|
|
4311
|
-
url: toPathString$
|
|
4245
|
+
url: toPathString$6(localVarUrlObj),
|
|
4312
4246
|
options: localVarRequestOptions,
|
|
4313
4247
|
};
|
|
4314
4248
|
}),
|
|
@@ -4330,7 +4264,7 @@
|
|
|
4330
4264
|
licenseIndex(options) {
|
|
4331
4265
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4332
4266
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.licenseIndex(options);
|
|
4333
|
-
return createRequestFunction$
|
|
4267
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4334
4268
|
});
|
|
4335
4269
|
},
|
|
4336
4270
|
};
|
|
@@ -4372,7 +4306,7 @@
|
|
|
4372
4306
|
const localVarPath = `/Project/{id}`
|
|
4373
4307
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
4374
4308
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4375
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4309
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4376
4310
|
let baseOptions;
|
|
4377
4311
|
if (configuration) {
|
|
4378
4312
|
baseOptions = configuration.baseOptions;
|
|
@@ -4381,12 +4315,12 @@
|
|
|
4381
4315
|
const localVarHeaderParameter = {};
|
|
4382
4316
|
const localVarQueryParameter = {};
|
|
4383
4317
|
// authentication JWT token required
|
|
4384
|
-
yield setApiKeyToObject$
|
|
4385
|
-
setSearchParams$
|
|
4318
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4319
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4386
4320
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4387
4321
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4388
4322
|
return {
|
|
4389
|
-
url: toPathString$
|
|
4323
|
+
url: toPathString$6(localVarUrlObj),
|
|
4390
4324
|
options: localVarRequestOptions,
|
|
4391
4325
|
};
|
|
4392
4326
|
}),
|
|
@@ -4403,7 +4337,7 @@
|
|
|
4403
4337
|
const localVarPath = `/Project/invitation/{invitationId}`
|
|
4404
4338
|
.replace(`{${"invitationId"}}`, encodeURIComponent(String(invitationId)));
|
|
4405
4339
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4406
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4340
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4407
4341
|
let baseOptions;
|
|
4408
4342
|
if (configuration) {
|
|
4409
4343
|
baseOptions = configuration.baseOptions;
|
|
@@ -4412,12 +4346,12 @@
|
|
|
4412
4346
|
const localVarHeaderParameter = {};
|
|
4413
4347
|
const localVarQueryParameter = {};
|
|
4414
4348
|
// authentication JWT token required
|
|
4415
|
-
yield setApiKeyToObject$
|
|
4416
|
-
setSearchParams$
|
|
4349
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4350
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4417
4351
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4418
4352
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4419
4353
|
return {
|
|
4420
|
-
url: toPathString$
|
|
4354
|
+
url: toPathString$6(localVarUrlObj),
|
|
4421
4355
|
options: localVarRequestOptions,
|
|
4422
4356
|
};
|
|
4423
4357
|
}),
|
|
@@ -4434,7 +4368,7 @@
|
|
|
4434
4368
|
const localVarPath = `/Project/{id}`
|
|
4435
4369
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
4436
4370
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4437
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4371
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4438
4372
|
let baseOptions;
|
|
4439
4373
|
if (configuration) {
|
|
4440
4374
|
baseOptions = configuration.baseOptions;
|
|
@@ -4443,12 +4377,12 @@
|
|
|
4443
4377
|
const localVarHeaderParameter = {};
|
|
4444
4378
|
const localVarQueryParameter = {};
|
|
4445
4379
|
// authentication JWT token required
|
|
4446
|
-
yield setApiKeyToObject$
|
|
4447
|
-
setSearchParams$
|
|
4380
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4381
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4448
4382
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4449
4383
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4450
4384
|
return {
|
|
4451
|
-
url: toPathString$
|
|
4385
|
+
url: toPathString$6(localVarUrlObj),
|
|
4452
4386
|
options: localVarRequestOptions,
|
|
4453
4387
|
};
|
|
4454
4388
|
}),
|
|
@@ -4469,7 +4403,7 @@
|
|
|
4469
4403
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)))
|
|
4470
4404
|
.replace(`{${"resourceTypeId"}}`, encodeURIComponent(String(resourceTypeId)));
|
|
4471
4405
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4472
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4406
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4473
4407
|
let baseOptions;
|
|
4474
4408
|
if (configuration) {
|
|
4475
4409
|
baseOptions = configuration.baseOptions;
|
|
@@ -4478,12 +4412,12 @@
|
|
|
4478
4412
|
const localVarHeaderParameter = {};
|
|
4479
4413
|
const localVarQueryParameter = {};
|
|
4480
4414
|
// authentication JWT token required
|
|
4481
|
-
yield setApiKeyToObject$
|
|
4482
|
-
setSearchParams$
|
|
4415
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4416
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4483
4417
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4484
4418
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4485
4419
|
return {
|
|
4486
|
-
url: toPathString$
|
|
4420
|
+
url: toPathString$6(localVarUrlObj),
|
|
4487
4421
|
options: localVarRequestOptions,
|
|
4488
4422
|
};
|
|
4489
4423
|
}),
|
|
@@ -4500,7 +4434,7 @@
|
|
|
4500
4434
|
const localVarPath = `/Project/{id}/resources`
|
|
4501
4435
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
4502
4436
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4503
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4437
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4504
4438
|
let baseOptions;
|
|
4505
4439
|
if (configuration) {
|
|
4506
4440
|
baseOptions = configuration.baseOptions;
|
|
@@ -4509,12 +4443,12 @@
|
|
|
4509
4443
|
const localVarHeaderParameter = {};
|
|
4510
4444
|
const localVarQueryParameter = {};
|
|
4511
4445
|
// authentication JWT token required
|
|
4512
|
-
yield setApiKeyToObject$
|
|
4513
|
-
setSearchParams$
|
|
4446
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4447
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4514
4448
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4515
4449
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4516
4450
|
return {
|
|
4517
|
-
url: toPathString$
|
|
4451
|
+
url: toPathString$6(localVarUrlObj),
|
|
4518
4452
|
options: localVarRequestOptions,
|
|
4519
4453
|
};
|
|
4520
4454
|
}),
|
|
@@ -4527,7 +4461,7 @@
|
|
|
4527
4461
|
projectGetTopLevelProjects: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4528
4462
|
const localVarPath = `/Project/-/topLevel`;
|
|
4529
4463
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4530
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4464
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4531
4465
|
let baseOptions;
|
|
4532
4466
|
if (configuration) {
|
|
4533
4467
|
baseOptions = configuration.baseOptions;
|
|
@@ -4536,12 +4470,12 @@
|
|
|
4536
4470
|
const localVarHeaderParameter = {};
|
|
4537
4471
|
const localVarQueryParameter = {};
|
|
4538
4472
|
// authentication JWT token required
|
|
4539
|
-
yield setApiKeyToObject$
|
|
4540
|
-
setSearchParams$
|
|
4473
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4474
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4541
4475
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4542
4476
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4543
4477
|
return {
|
|
4544
|
-
url: toPathString$
|
|
4478
|
+
url: toPathString$6(localVarUrlObj),
|
|
4545
4479
|
options: localVarRequestOptions,
|
|
4546
4480
|
};
|
|
4547
4481
|
}),
|
|
@@ -4554,7 +4488,7 @@
|
|
|
4554
4488
|
projectIndex: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4555
4489
|
const localVarPath = `/Project`;
|
|
4556
4490
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4557
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4491
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4558
4492
|
let baseOptions;
|
|
4559
4493
|
if (configuration) {
|
|
4560
4494
|
baseOptions = configuration.baseOptions;
|
|
@@ -4563,12 +4497,12 @@
|
|
|
4563
4497
|
const localVarHeaderParameter = {};
|
|
4564
4498
|
const localVarQueryParameter = {};
|
|
4565
4499
|
// authentication JWT token required
|
|
4566
|
-
yield setApiKeyToObject$
|
|
4567
|
-
setSearchParams$
|
|
4500
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4501
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4568
4502
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4569
4503
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4570
4504
|
return {
|
|
4571
|
-
url: toPathString$
|
|
4505
|
+
url: toPathString$6(localVarUrlObj),
|
|
4572
4506
|
options: localVarRequestOptions,
|
|
4573
4507
|
};
|
|
4574
4508
|
}),
|
|
@@ -4585,7 +4519,7 @@
|
|
|
4585
4519
|
const localVarPath = `/Project/invitation/list/{projectId}`
|
|
4586
4520
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
4587
4521
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4588
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4522
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4589
4523
|
let baseOptions;
|
|
4590
4524
|
if (configuration) {
|
|
4591
4525
|
baseOptions = configuration.baseOptions;
|
|
@@ -4594,12 +4528,12 @@
|
|
|
4594
4528
|
const localVarHeaderParameter = {};
|
|
4595
4529
|
const localVarQueryParameter = {};
|
|
4596
4530
|
// authentication JWT token required
|
|
4597
|
-
yield setApiKeyToObject$
|
|
4598
|
-
setSearchParams$
|
|
4531
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4532
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4599
4533
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4600
4534
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4601
4535
|
return {
|
|
4602
|
-
url: toPathString$
|
|
4536
|
+
url: toPathString$6(localVarUrlObj),
|
|
4603
4537
|
options: localVarRequestOptions,
|
|
4604
4538
|
};
|
|
4605
4539
|
}),
|
|
@@ -4620,7 +4554,7 @@
|
|
|
4620
4554
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)))
|
|
4621
4555
|
.replace(`{${"resourceTypeId"}}`, encodeURIComponent(String(resourceTypeId)));
|
|
4622
4556
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4623
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4557
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4624
4558
|
let baseOptions;
|
|
4625
4559
|
if (configuration) {
|
|
4626
4560
|
baseOptions = configuration.baseOptions;
|
|
@@ -4628,13 +4562,13 @@
|
|
|
4628
4562
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
4629
4563
|
const localVarHeaderParameter = {};
|
|
4630
4564
|
const localVarQueryParameter = {};
|
|
4631
|
-
// authentication JWT token required
|
|
4632
|
-
yield setApiKeyToObject$
|
|
4633
|
-
setSearchParams$
|
|
4565
|
+
// authentication JWT token required
|
|
4566
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4567
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4634
4568
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4635
4569
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4636
4570
|
return {
|
|
4637
|
-
url: toPathString$
|
|
4571
|
+
url: toPathString$6(localVarUrlObj),
|
|
4638
4572
|
options: localVarRequestOptions,
|
|
4639
4573
|
};
|
|
4640
4574
|
}),
|
|
@@ -4651,7 +4585,7 @@
|
|
|
4651
4585
|
const localVarPath = `/Project/{projectId}/quota/-/all`
|
|
4652
4586
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
4653
4587
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4654
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4588
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4655
4589
|
let baseOptions;
|
|
4656
4590
|
if (configuration) {
|
|
4657
4591
|
baseOptions = configuration.baseOptions;
|
|
@@ -4660,12 +4594,12 @@
|
|
|
4660
4594
|
const localVarHeaderParameter = {};
|
|
4661
4595
|
const localVarQueryParameter = {};
|
|
4662
4596
|
// authentication JWT token required
|
|
4663
|
-
yield setApiKeyToObject$
|
|
4664
|
-
setSearchParams$
|
|
4597
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4598
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4665
4599
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4666
4600
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4667
4601
|
return {
|
|
4668
|
-
url: toPathString$
|
|
4602
|
+
url: toPathString$6(localVarUrlObj),
|
|
4669
4603
|
options: localVarRequestOptions,
|
|
4670
4604
|
};
|
|
4671
4605
|
}),
|
|
@@ -4682,7 +4616,7 @@
|
|
|
4682
4616
|
const localVarPath = `/Project/invitation/resolve/{token}`
|
|
4683
4617
|
.replace(`{${"token"}}`, encodeURIComponent(String(token)));
|
|
4684
4618
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4685
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4619
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4686
4620
|
let baseOptions;
|
|
4687
4621
|
if (configuration) {
|
|
4688
4622
|
baseOptions = configuration.baseOptions;
|
|
@@ -4691,12 +4625,12 @@
|
|
|
4691
4625
|
const localVarHeaderParameter = {};
|
|
4692
4626
|
const localVarQueryParameter = {};
|
|
4693
4627
|
// authentication JWT token required
|
|
4694
|
-
yield setApiKeyToObject$
|
|
4695
|
-
setSearchParams$
|
|
4628
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4629
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4696
4630
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4697
4631
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4698
4632
|
return {
|
|
4699
|
-
url: toPathString$
|
|
4633
|
+
url: toPathString$6(localVarUrlObj),
|
|
4700
4634
|
options: localVarRequestOptions,
|
|
4701
4635
|
};
|
|
4702
4636
|
}),
|
|
@@ -4712,7 +4646,7 @@
|
|
|
4712
4646
|
assertParamExists$5('projectSendInvitation', 'sendInvitationObject', sendInvitationObject);
|
|
4713
4647
|
const localVarPath = `/Project/invitation`;
|
|
4714
4648
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4715
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4649
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4716
4650
|
let baseOptions;
|
|
4717
4651
|
if (configuration) {
|
|
4718
4652
|
baseOptions = configuration.baseOptions;
|
|
@@ -4721,14 +4655,14 @@
|
|
|
4721
4655
|
const localVarHeaderParameter = {};
|
|
4722
4656
|
const localVarQueryParameter = {};
|
|
4723
4657
|
// authentication JWT token required
|
|
4724
|
-
yield setApiKeyToObject$
|
|
4658
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4725
4659
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4726
|
-
setSearchParams$
|
|
4660
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4727
4661
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4728
4662
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4729
4663
|
localVarRequestOptions.data = serializeDataIfNeeded$4(sendInvitationObject, localVarRequestOptions, configuration);
|
|
4730
4664
|
return {
|
|
4731
|
-
url: toPathString$
|
|
4665
|
+
url: toPathString$6(localVarUrlObj),
|
|
4732
4666
|
options: localVarRequestOptions,
|
|
4733
4667
|
};
|
|
4734
4668
|
}),
|
|
@@ -4741,7 +4675,7 @@
|
|
|
4741
4675
|
projectStore: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4742
4676
|
const localVarPath = `/Project`;
|
|
4743
4677
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4744
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4678
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4745
4679
|
let baseOptions;
|
|
4746
4680
|
if (configuration) {
|
|
4747
4681
|
baseOptions = configuration.baseOptions;
|
|
@@ -4750,12 +4684,12 @@
|
|
|
4750
4684
|
const localVarHeaderParameter = {};
|
|
4751
4685
|
const localVarQueryParameter = {};
|
|
4752
4686
|
// authentication JWT token required
|
|
4753
|
-
yield setApiKeyToObject$
|
|
4754
|
-
setSearchParams$
|
|
4687
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4688
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4755
4689
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4756
4690
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4757
4691
|
return {
|
|
4758
|
-
url: toPathString$
|
|
4692
|
+
url: toPathString$6(localVarUrlObj),
|
|
4759
4693
|
options: localVarRequestOptions,
|
|
4760
4694
|
};
|
|
4761
4695
|
}),
|
|
@@ -4772,7 +4706,7 @@
|
|
|
4772
4706
|
const localVarPath = `/Project/{id}`
|
|
4773
4707
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
4774
4708
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4775
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4709
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4776
4710
|
let baseOptions;
|
|
4777
4711
|
if (configuration) {
|
|
4778
4712
|
baseOptions = configuration.baseOptions;
|
|
@@ -4781,12 +4715,12 @@
|
|
|
4781
4715
|
const localVarHeaderParameter = {};
|
|
4782
4716
|
const localVarQueryParameter = {};
|
|
4783
4717
|
// authentication JWT token required
|
|
4784
|
-
yield setApiKeyToObject$
|
|
4785
|
-
setSearchParams$
|
|
4718
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4719
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4786
4720
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4787
4721
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4788
4722
|
return {
|
|
4789
|
-
url: toPathString$
|
|
4723
|
+
url: toPathString$6(localVarUrlObj),
|
|
4790
4724
|
options: localVarRequestOptions,
|
|
4791
4725
|
};
|
|
4792
4726
|
}),
|
|
@@ -4810,7 +4744,7 @@
|
|
|
4810
4744
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)))
|
|
4811
4745
|
.replace(`{${"resourceTypeId"}}`, encodeURIComponent(String(resourceTypeId)));
|
|
4812
4746
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4813
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4747
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4814
4748
|
let baseOptions;
|
|
4815
4749
|
if (configuration) {
|
|
4816
4750
|
baseOptions = configuration.baseOptions;
|
|
@@ -4819,14 +4753,14 @@
|
|
|
4819
4753
|
const localVarHeaderParameter = {};
|
|
4820
4754
|
const localVarQueryParameter = {};
|
|
4821
4755
|
// authentication JWT token required
|
|
4822
|
-
yield setApiKeyToObject$
|
|
4756
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4823
4757
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4824
|
-
setSearchParams$
|
|
4758
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4825
4759
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4826
4760
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4827
4761
|
localVarRequestOptions.data = serializeDataIfNeeded$4(updateProjectQuotaObject, localVarRequestOptions, configuration);
|
|
4828
4762
|
return {
|
|
4829
|
-
url: toPathString$
|
|
4763
|
+
url: toPathString$6(localVarUrlObj),
|
|
4830
4764
|
options: localVarRequestOptions,
|
|
4831
4765
|
};
|
|
4832
4766
|
}),
|
|
@@ -4849,7 +4783,7 @@
|
|
|
4849
4783
|
projectDelete(id, options) {
|
|
4850
4784
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4851
4785
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectDelete(id, options);
|
|
4852
|
-
return createRequestFunction$
|
|
4786
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4853
4787
|
});
|
|
4854
4788
|
},
|
|
4855
4789
|
/**
|
|
@@ -4862,7 +4796,7 @@
|
|
|
4862
4796
|
projectDeleteInvitation(invitationId, options) {
|
|
4863
4797
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4864
4798
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectDeleteInvitation(invitationId, options);
|
|
4865
|
-
return createRequestFunction$
|
|
4799
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4866
4800
|
});
|
|
4867
4801
|
},
|
|
4868
4802
|
/**
|
|
@@ -4875,7 +4809,7 @@
|
|
|
4875
4809
|
projectGet(id, options) {
|
|
4876
4810
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4877
4811
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectGet(id, options);
|
|
4878
|
-
return createRequestFunction$
|
|
4812
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4879
4813
|
});
|
|
4880
4814
|
},
|
|
4881
4815
|
/**
|
|
@@ -4889,7 +4823,7 @@
|
|
|
4889
4823
|
projectGetQuotaMax(projectId, resourceTypeId, options) {
|
|
4890
4824
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4891
4825
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectGetQuotaMax(projectId, resourceTypeId, options);
|
|
4892
|
-
return createRequestFunction$
|
|
4826
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4893
4827
|
});
|
|
4894
4828
|
},
|
|
4895
4829
|
/**
|
|
@@ -4902,7 +4836,7 @@
|
|
|
4902
4836
|
projectGetResources(id, options) {
|
|
4903
4837
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4904
4838
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectGetResources(id, options);
|
|
4905
|
-
return createRequestFunction$
|
|
4839
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4906
4840
|
});
|
|
4907
4841
|
},
|
|
4908
4842
|
/**
|
|
@@ -4914,7 +4848,7 @@
|
|
|
4914
4848
|
projectGetTopLevelProjects(options) {
|
|
4915
4849
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4916
4850
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectGetTopLevelProjects(options);
|
|
4917
|
-
return createRequestFunction$
|
|
4851
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4918
4852
|
});
|
|
4919
4853
|
},
|
|
4920
4854
|
/**
|
|
@@ -4926,7 +4860,7 @@
|
|
|
4926
4860
|
projectIndex(options) {
|
|
4927
4861
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4928
4862
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectIndex(options);
|
|
4929
|
-
return createRequestFunction$
|
|
4863
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4930
4864
|
});
|
|
4931
4865
|
},
|
|
4932
4866
|
/**
|
|
@@ -4939,7 +4873,7 @@
|
|
|
4939
4873
|
projectListInvitations(projectId, options) {
|
|
4940
4874
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4941
4875
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectListInvitations(projectId, options);
|
|
4942
|
-
return createRequestFunction$
|
|
4876
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4943
4877
|
});
|
|
4944
4878
|
},
|
|
4945
4879
|
/**
|
|
@@ -4953,7 +4887,7 @@
|
|
|
4953
4887
|
projectQuota(projectId, resourceTypeId, options) {
|
|
4954
4888
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4955
4889
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectQuota(projectId, resourceTypeId, options);
|
|
4956
|
-
return createRequestFunction$
|
|
4890
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4957
4891
|
});
|
|
4958
4892
|
},
|
|
4959
4893
|
/**
|
|
@@ -4966,7 +4900,7 @@
|
|
|
4966
4900
|
projectQuotas(projectId, options) {
|
|
4967
4901
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4968
4902
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectQuotas(projectId, options);
|
|
4969
|
-
return createRequestFunction$
|
|
4903
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4970
4904
|
});
|
|
4971
4905
|
},
|
|
4972
4906
|
/**
|
|
@@ -4979,7 +4913,7 @@
|
|
|
4979
4913
|
projectResolveInvitation(token, options) {
|
|
4980
4914
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4981
4915
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectResolveInvitation(token, options);
|
|
4982
|
-
return createRequestFunction$
|
|
4916
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4983
4917
|
});
|
|
4984
4918
|
},
|
|
4985
4919
|
/**
|
|
@@ -4992,7 +4926,7 @@
|
|
|
4992
4926
|
projectSendInvitation(sendInvitationObject, options) {
|
|
4993
4927
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4994
4928
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectSendInvitation(sendInvitationObject, options);
|
|
4995
|
-
return createRequestFunction$
|
|
4929
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4996
4930
|
});
|
|
4997
4931
|
},
|
|
4998
4932
|
/**
|
|
@@ -5004,7 +4938,7 @@
|
|
|
5004
4938
|
projectStore(options) {
|
|
5005
4939
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5006
4940
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectStore(options);
|
|
5007
|
-
return createRequestFunction$
|
|
4941
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5008
4942
|
});
|
|
5009
4943
|
},
|
|
5010
4944
|
/**
|
|
@@ -5017,7 +4951,7 @@
|
|
|
5017
4951
|
projectUpdate(id, options) {
|
|
5018
4952
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5019
4953
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectUpdate(id, options);
|
|
5020
|
-
return createRequestFunction$
|
|
4954
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5021
4955
|
});
|
|
5022
4956
|
},
|
|
5023
4957
|
/**
|
|
@@ -5032,7 +4966,7 @@
|
|
|
5032
4966
|
projectUpdateQuota(projectId, resourceTypeId, updateProjectQuotaObject, options) {
|
|
5033
4967
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5034
4968
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectUpdateQuota(projectId, resourceTypeId, updateProjectQuotaObject, options);
|
|
5035
|
-
return createRequestFunction$
|
|
4969
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5036
4970
|
});
|
|
5037
4971
|
},
|
|
5038
4972
|
};
|
|
@@ -5224,7 +5158,7 @@
|
|
|
5224
5158
|
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)))
|
|
5225
5159
|
.replace(`{${"roleId"}}`, encodeURIComponent(String(roleId)));
|
|
5226
5160
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5227
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5161
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
5228
5162
|
let baseOptions;
|
|
5229
5163
|
if (configuration) {
|
|
5230
5164
|
baseOptions = configuration.baseOptions;
|
|
@@ -5233,12 +5167,12 @@
|
|
|
5233
5167
|
const localVarHeaderParameter = {};
|
|
5234
5168
|
const localVarQueryParameter = {};
|
|
5235
5169
|
// authentication JWT token required
|
|
5236
|
-
yield setApiKeyToObject$
|
|
5237
|
-
setSearchParams$
|
|
5170
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
5171
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5238
5172
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5239
5173
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5240
5174
|
return {
|
|
5241
|
-
url: toPathString$
|
|
5175
|
+
url: toPathString$6(localVarUrlObj),
|
|
5242
5176
|
options: localVarRequestOptions,
|
|
5243
5177
|
};
|
|
5244
5178
|
}),
|
|
@@ -5255,7 +5189,7 @@
|
|
|
5255
5189
|
const localVarPath = `/ProjectRole/project/{projectId}/user`
|
|
5256
5190
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
5257
5191
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5258
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5192
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
5259
5193
|
let baseOptions;
|
|
5260
5194
|
if (configuration) {
|
|
5261
5195
|
baseOptions = configuration.baseOptions;
|
|
@@ -5264,12 +5198,12 @@
|
|
|
5264
5198
|
const localVarHeaderParameter = {};
|
|
5265
5199
|
const localVarQueryParameter = {};
|
|
5266
5200
|
// authentication JWT token required
|
|
5267
|
-
yield setApiKeyToObject$
|
|
5268
|
-
setSearchParams$
|
|
5201
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
5202
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5269
5203
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5270
5204
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5271
5205
|
return {
|
|
5272
|
-
url: toPathString$
|
|
5206
|
+
url: toPathString$6(localVarUrlObj),
|
|
5273
5207
|
options: localVarRequestOptions,
|
|
5274
5208
|
};
|
|
5275
5209
|
}),
|
|
@@ -5286,7 +5220,7 @@
|
|
|
5286
5220
|
const localVarPath = `/ProjectRole/project/{projectId}`
|
|
5287
5221
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
5288
5222
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5289
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5223
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
5290
5224
|
let baseOptions;
|
|
5291
5225
|
if (configuration) {
|
|
5292
5226
|
baseOptions = configuration.baseOptions;
|
|
@@ -5295,12 +5229,12 @@
|
|
|
5295
5229
|
const localVarHeaderParameter = {};
|
|
5296
5230
|
const localVarQueryParameter = {};
|
|
5297
5231
|
// authentication JWT token required
|
|
5298
|
-
yield setApiKeyToObject$
|
|
5299
|
-
setSearchParams$
|
|
5232
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
5233
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5300
5234
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5301
5235
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5302
5236
|
return {
|
|
5303
|
-
url: toPathString$
|
|
5237
|
+
url: toPathString$6(localVarUrlObj),
|
|
5304
5238
|
options: localVarRequestOptions,
|
|
5305
5239
|
};
|
|
5306
5240
|
}),
|
|
@@ -5317,7 +5251,7 @@
|
|
|
5317
5251
|
const localVarPath = `/ProjectRole/{projectId}`
|
|
5318
5252
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
5319
5253
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5320
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5254
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
5321
5255
|
let baseOptions;
|
|
5322
5256
|
if (configuration) {
|
|
5323
5257
|
baseOptions = configuration.baseOptions;
|
|
@@ -5326,12 +5260,12 @@
|
|
|
5326
5260
|
const localVarHeaderParameter = {};
|
|
5327
5261
|
const localVarQueryParameter = {};
|
|
5328
5262
|
// authentication JWT token required
|
|
5329
|
-
yield setApiKeyToObject$
|
|
5330
|
-
setSearchParams$
|
|
5263
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
5264
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5331
5265
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5332
5266
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5333
5267
|
return {
|
|
5334
|
-
url: toPathString$
|
|
5268
|
+
url: toPathString$6(localVarUrlObj),
|
|
5335
5269
|
options: localVarRequestOptions,
|
|
5336
5270
|
};
|
|
5337
5271
|
}),
|
|
@@ -5344,7 +5278,7 @@
|
|
|
5344
5278
|
projectRoleSet: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5345
5279
|
const localVarPath = `/ProjectRole`;
|
|
5346
5280
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5347
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5281
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
5348
5282
|
let baseOptions;
|
|
5349
5283
|
if (configuration) {
|
|
5350
5284
|
baseOptions = configuration.baseOptions;
|
|
@@ -5353,12 +5287,12 @@
|
|
|
5353
5287
|
const localVarHeaderParameter = {};
|
|
5354
5288
|
const localVarQueryParameter = {};
|
|
5355
5289
|
// authentication JWT token required
|
|
5356
|
-
yield setApiKeyToObject$
|
|
5357
|
-
setSearchParams$
|
|
5290
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
5291
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5358
5292
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5359
5293
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5360
5294
|
return {
|
|
5361
|
-
url: toPathString$
|
|
5295
|
+
url: toPathString$6(localVarUrlObj),
|
|
5362
5296
|
options: localVarRequestOptions,
|
|
5363
5297
|
};
|
|
5364
5298
|
}),
|
|
@@ -5383,7 +5317,7 @@
|
|
|
5383
5317
|
projectRoleDelete(projectId, userId, roleId, options) {
|
|
5384
5318
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5385
5319
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectRoleDelete(projectId, userId, roleId, options);
|
|
5386
|
-
return createRequestFunction$
|
|
5320
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5387
5321
|
});
|
|
5388
5322
|
},
|
|
5389
5323
|
/**
|
|
@@ -5396,7 +5330,7 @@
|
|
|
5396
5330
|
projectRoleDelete2(projectId, options) {
|
|
5397
5331
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5398
5332
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectRoleDelete2(projectId, options);
|
|
5399
|
-
return createRequestFunction$
|
|
5333
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5400
5334
|
});
|
|
5401
5335
|
},
|
|
5402
5336
|
/**
|
|
@@ -5409,7 +5343,7 @@
|
|
|
5409
5343
|
projectRoleGet(projectId, options) {
|
|
5410
5344
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5411
5345
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectRoleGet(projectId, options);
|
|
5412
|
-
return createRequestFunction$
|
|
5346
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5413
5347
|
});
|
|
5414
5348
|
},
|
|
5415
5349
|
/**
|
|
@@ -5422,7 +5356,7 @@
|
|
|
5422
5356
|
projectRoleIndex(projectId, options) {
|
|
5423
5357
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5424
5358
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectRoleIndex(projectId, options);
|
|
5425
|
-
return createRequestFunction$
|
|
5359
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5426
5360
|
});
|
|
5427
5361
|
},
|
|
5428
5362
|
/**
|
|
@@ -5434,7 +5368,7 @@
|
|
|
5434
5368
|
projectRoleSet(options) {
|
|
5435
5369
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5436
5370
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectRoleSet(options);
|
|
5437
|
-
return createRequestFunction$
|
|
5371
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5438
5372
|
});
|
|
5439
5373
|
},
|
|
5440
5374
|
};
|
|
@@ -5514,7 +5448,7 @@
|
|
|
5514
5448
|
roleIndex: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5515
5449
|
const localVarPath = `/Role`;
|
|
5516
5450
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5517
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5451
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
5518
5452
|
let baseOptions;
|
|
5519
5453
|
if (configuration) {
|
|
5520
5454
|
baseOptions = configuration.baseOptions;
|
|
@@ -5523,12 +5457,12 @@
|
|
|
5523
5457
|
const localVarHeaderParameter = {};
|
|
5524
5458
|
const localVarQueryParameter = {};
|
|
5525
5459
|
// authentication JWT token required
|
|
5526
|
-
yield setApiKeyToObject$
|
|
5527
|
-
setSearchParams$
|
|
5460
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
5461
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5528
5462
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5529
5463
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5530
5464
|
return {
|
|
5531
|
-
url: toPathString$
|
|
5465
|
+
url: toPathString$6(localVarUrlObj),
|
|
5532
5466
|
options: localVarRequestOptions,
|
|
5533
5467
|
};
|
|
5534
5468
|
}),
|
|
@@ -5550,7 +5484,7 @@
|
|
|
5550
5484
|
roleIndex(options) {
|
|
5551
5485
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5552
5486
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.roleIndex(options);
|
|
5553
|
-
return createRequestFunction$
|
|
5487
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5554
5488
|
});
|
|
5555
5489
|
},
|
|
5556
5490
|
};
|
|
@@ -5592,7 +5526,7 @@
|
|
|
5592
5526
|
const localVarPath = `/Search/all/{encodedSearchWord}`
|
|
5593
5527
|
.replace(`{${"encodedSearchWord"}}`, encodeURIComponent(String(encodedSearchWord)));
|
|
5594
5528
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5595
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5529
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
5596
5530
|
let baseOptions;
|
|
5597
5531
|
if (configuration) {
|
|
5598
5532
|
baseOptions = configuration.baseOptions;
|
|
@@ -5601,12 +5535,12 @@
|
|
|
5601
5535
|
const localVarHeaderParameter = {};
|
|
5602
5536
|
const localVarQueryParameter = {};
|
|
5603
5537
|
// authentication JWT token required
|
|
5604
|
-
yield setApiKeyToObject$
|
|
5605
|
-
setSearchParams$
|
|
5538
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
5539
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5606
5540
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5607
5541
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5608
5542
|
return {
|
|
5609
|
-
url: toPathString$
|
|
5543
|
+
url: toPathString$6(localVarUrlObj),
|
|
5610
5544
|
options: localVarRequestOptions,
|
|
5611
5545
|
};
|
|
5612
5546
|
}),
|
|
@@ -5619,7 +5553,7 @@
|
|
|
5619
5553
|
searchSearchNoFilter: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5620
5554
|
const localVarPath = `/Search/allNoFilter`;
|
|
5621
5555
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5622
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5556
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
5623
5557
|
let baseOptions;
|
|
5624
5558
|
if (configuration) {
|
|
5625
5559
|
baseOptions = configuration.baseOptions;
|
|
@@ -5628,12 +5562,12 @@
|
|
|
5628
5562
|
const localVarHeaderParameter = {};
|
|
5629
5563
|
const localVarQueryParameter = {};
|
|
5630
5564
|
// authentication JWT token required
|
|
5631
|
-
yield setApiKeyToObject$
|
|
5632
|
-
setSearchParams$
|
|
5565
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
5566
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5633
5567
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5634
5568
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5635
5569
|
return {
|
|
5636
|
-
url: toPathString$
|
|
5570
|
+
url: toPathString$6(localVarUrlObj),
|
|
5637
5571
|
options: localVarRequestOptions,
|
|
5638
5572
|
};
|
|
5639
5573
|
}),
|
|
@@ -5654,7 +5588,7 @@
|
|
|
5654
5588
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)))
|
|
5655
5589
|
.replace(`{${"encodedSearchWord"}}`, encodeURIComponent(String(encodedSearchWord)));
|
|
5656
5590
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5657
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5591
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
5658
5592
|
let baseOptions;
|
|
5659
5593
|
if (configuration) {
|
|
5660
5594
|
baseOptions = configuration.baseOptions;
|
|
@@ -5663,12 +5597,12 @@
|
|
|
5663
5597
|
const localVarHeaderParameter = {};
|
|
5664
5598
|
const localVarQueryParameter = {};
|
|
5665
5599
|
// authentication JWT token required
|
|
5666
|
-
yield setApiKeyToObject$
|
|
5667
|
-
setSearchParams$
|
|
5600
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
5601
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5668
5602
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5669
5603
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5670
5604
|
return {
|
|
5671
|
-
url: toPathString$
|
|
5605
|
+
url: toPathString$6(localVarUrlObj),
|
|
5672
5606
|
options: localVarRequestOptions,
|
|
5673
5607
|
};
|
|
5674
5608
|
}),
|
|
@@ -5685,7 +5619,7 @@
|
|
|
5685
5619
|
const localVarPath = `/Search/projectNoFilter/{projectId}`
|
|
5686
5620
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
5687
5621
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5688
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5622
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
5689
5623
|
let baseOptions;
|
|
5690
5624
|
if (configuration) {
|
|
5691
5625
|
baseOptions = configuration.baseOptions;
|
|
@@ -5694,12 +5628,12 @@
|
|
|
5694
5628
|
const localVarHeaderParameter = {};
|
|
5695
5629
|
const localVarQueryParameter = {};
|
|
5696
5630
|
// authentication JWT token required
|
|
5697
|
-
yield setApiKeyToObject$
|
|
5698
|
-
setSearchParams$
|
|
5631
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
5632
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5699
5633
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5700
5634
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5701
5635
|
return {
|
|
5702
|
-
url: toPathString$
|
|
5636
|
+
url: toPathString$6(localVarUrlObj),
|
|
5703
5637
|
options: localVarRequestOptions,
|
|
5704
5638
|
};
|
|
5705
5639
|
}),
|
|
@@ -5722,7 +5656,7 @@
|
|
|
5722
5656
|
searchSearch(encodedSearchWord, options) {
|
|
5723
5657
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5724
5658
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.searchSearch(encodedSearchWord, options);
|
|
5725
|
-
return createRequestFunction$
|
|
5659
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5726
5660
|
});
|
|
5727
5661
|
},
|
|
5728
5662
|
/**
|
|
@@ -5734,7 +5668,7 @@
|
|
|
5734
5668
|
searchSearchNoFilter(options) {
|
|
5735
5669
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5736
5670
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.searchSearchNoFilter(options);
|
|
5737
|
-
return createRequestFunction$
|
|
5671
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5738
5672
|
});
|
|
5739
5673
|
},
|
|
5740
5674
|
/**
|
|
@@ -5748,7 +5682,7 @@
|
|
|
5748
5682
|
searchSearchProject(projectId, encodedSearchWord, options) {
|
|
5749
5683
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5750
5684
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.searchSearchProject(projectId, encodedSearchWord, options);
|
|
5751
|
-
return createRequestFunction$
|
|
5685
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5752
5686
|
});
|
|
5753
5687
|
},
|
|
5754
5688
|
/**
|
|
@@ -5761,7 +5695,7 @@
|
|
|
5761
5695
|
searchSearchProjectNoFilter(projectId, options) {
|
|
5762
5696
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5763
5697
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.searchSearchProjectNoFilter(projectId, options);
|
|
5764
|
-
return createRequestFunction$
|
|
5698
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5765
5699
|
});
|
|
5766
5700
|
},
|
|
5767
5701
|
};
|
|
@@ -5834,7 +5768,7 @@
|
|
|
5834
5768
|
const localVarPath = `/SubProject/{parentId}`
|
|
5835
5769
|
.replace(`{${"parentId"}}`, encodeURIComponent(String(parentId)));
|
|
5836
5770
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5837
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5771
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
5838
5772
|
let baseOptions;
|
|
5839
5773
|
if (configuration) {
|
|
5840
5774
|
baseOptions = configuration.baseOptions;
|
|
@@ -5843,12 +5777,12 @@
|
|
|
5843
5777
|
const localVarHeaderParameter = {};
|
|
5844
5778
|
const localVarQueryParameter = {};
|
|
5845
5779
|
// authentication JWT token required
|
|
5846
|
-
yield setApiKeyToObject$
|
|
5847
|
-
setSearchParams$
|
|
5780
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
5781
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5848
5782
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5849
5783
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5850
5784
|
return {
|
|
5851
|
-
url: toPathString$
|
|
5785
|
+
url: toPathString$6(localVarUrlObj),
|
|
5852
5786
|
options: localVarRequestOptions,
|
|
5853
5787
|
};
|
|
5854
5788
|
}),
|
|
@@ -5865,7 +5799,7 @@
|
|
|
5865
5799
|
const localVarPath = `/SubProject/{childId}/accessibleParent`
|
|
5866
5800
|
.replace(`{${"childId"}}`, encodeURIComponent(String(childId)));
|
|
5867
5801
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5868
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5802
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
5869
5803
|
let baseOptions;
|
|
5870
5804
|
if (configuration) {
|
|
5871
5805
|
baseOptions = configuration.baseOptions;
|
|
@@ -5874,12 +5808,12 @@
|
|
|
5874
5808
|
const localVarHeaderParameter = {};
|
|
5875
5809
|
const localVarQueryParameter = {};
|
|
5876
5810
|
// authentication JWT token required
|
|
5877
|
-
yield setApiKeyToObject$
|
|
5878
|
-
setSearchParams$
|
|
5811
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
5812
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5879
5813
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5880
5814
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5881
5815
|
return {
|
|
5882
|
-
url: toPathString$
|
|
5816
|
+
url: toPathString$6(localVarUrlObj),
|
|
5883
5817
|
options: localVarRequestOptions,
|
|
5884
5818
|
};
|
|
5885
5819
|
}),
|
|
@@ -5902,7 +5836,7 @@
|
|
|
5902
5836
|
subProjectGet(parentId, options) {
|
|
5903
5837
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5904
5838
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.subProjectGet(parentId, options);
|
|
5905
|
-
return createRequestFunction$
|
|
5839
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5906
5840
|
});
|
|
5907
5841
|
},
|
|
5908
5842
|
/**
|
|
@@ -5915,7 +5849,7 @@
|
|
|
5915
5849
|
subProjectGetAccessibleParent(childId, options) {
|
|
5916
5850
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5917
5851
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.subProjectGetAccessibleParent(childId, options);
|
|
5918
|
-
return createRequestFunction$
|
|
5852
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5919
5853
|
});
|
|
5920
5854
|
},
|
|
5921
5855
|
};
|
|
@@ -5964,7 +5898,7 @@
|
|
|
5964
5898
|
visibilityIndex: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5965
5899
|
const localVarPath = `/Visibility`;
|
|
5966
5900
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5967
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5901
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
5968
5902
|
let baseOptions;
|
|
5969
5903
|
if (configuration) {
|
|
5970
5904
|
baseOptions = configuration.baseOptions;
|
|
@@ -5973,12 +5907,12 @@
|
|
|
5973
5907
|
const localVarHeaderParameter = {};
|
|
5974
5908
|
const localVarQueryParameter = {};
|
|
5975
5909
|
// authentication JWT token required
|
|
5976
|
-
yield setApiKeyToObject$
|
|
5977
|
-
setSearchParams$
|
|
5910
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
5911
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5978
5912
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5979
5913
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5980
5914
|
return {
|
|
5981
|
-
url: toPathString$
|
|
5915
|
+
url: toPathString$6(localVarUrlObj),
|
|
5982
5916
|
options: localVarRequestOptions,
|
|
5983
5917
|
};
|
|
5984
5918
|
}),
|
|
@@ -6000,7 +5934,7 @@
|
|
|
6000
5934
|
visibilityIndex(options) {
|
|
6001
5935
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6002
5936
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.visibilityIndex(options);
|
|
6003
|
-
return createRequestFunction$
|
|
5937
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
6004
5938
|
});
|
|
6005
5939
|
},
|
|
6006
5940
|
};
|
|
@@ -6025,7 +5959,7 @@
|
|
|
6025
5959
|
};
|
|
6026
5960
|
|
|
6027
5961
|
/* tslint:disable */
|
|
6028
|
-
const BASE_PATH$
|
|
5962
|
+
const BASE_PATH$5 = "https://d-sp23.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Quota".replace(/\/+$/, "");
|
|
6029
5963
|
/**
|
|
6030
5964
|
*
|
|
6031
5965
|
* @export
|
|
@@ -6045,7 +5979,7 @@
|
|
|
6045
5979
|
*
|
|
6046
5980
|
* @export
|
|
6047
5981
|
*/
|
|
6048
|
-
const DUMMY_BASE_URL$
|
|
5982
|
+
const DUMMY_BASE_URL$5 = 'https://example.com';
|
|
6049
5983
|
/**
|
|
6050
5984
|
*
|
|
6051
5985
|
* @throws {RequiredError}
|
|
@@ -6060,7 +5994,7 @@
|
|
|
6060
5994
|
*
|
|
6061
5995
|
* @export
|
|
6062
5996
|
*/
|
|
6063
|
-
const setApiKeyToObject$
|
|
5997
|
+
const setApiKeyToObject$5 = function (object, keyParamName, configuration) {
|
|
6064
5998
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6065
5999
|
if (configuration && configuration.apiKey) {
|
|
6066
6000
|
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
@@ -6074,7 +6008,7 @@
|
|
|
6074
6008
|
*
|
|
6075
6009
|
* @export
|
|
6076
6010
|
*/
|
|
6077
|
-
const setSearchParams$
|
|
6011
|
+
const setSearchParams$5 = function (url, ...objects) {
|
|
6078
6012
|
const searchParams = new URLSearchParams(url.search);
|
|
6079
6013
|
for (const object of objects) {
|
|
6080
6014
|
for (const key in object) {
|
|
@@ -6108,14 +6042,14 @@
|
|
|
6108
6042
|
*
|
|
6109
6043
|
* @export
|
|
6110
6044
|
*/
|
|
6111
|
-
const toPathString$
|
|
6045
|
+
const toPathString$5 = function (url) {
|
|
6112
6046
|
return url.pathname + url.search + url.hash;
|
|
6113
6047
|
};
|
|
6114
6048
|
/**
|
|
6115
6049
|
*
|
|
6116
6050
|
* @export
|
|
6117
6051
|
*/
|
|
6118
|
-
const createRequestFunction$
|
|
6052
|
+
const createRequestFunction$5 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
6119
6053
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
6120
6054
|
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
|
|
6121
6055
|
return axios.request(axiosRequestArgs);
|
|
@@ -6142,7 +6076,7 @@
|
|
|
6142
6076
|
const localVarPath = `/Quota/{resourceId}`
|
|
6143
6077
|
.replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)));
|
|
6144
6078
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6145
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
6079
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
|
|
6146
6080
|
let baseOptions;
|
|
6147
6081
|
if (configuration) {
|
|
6148
6082
|
baseOptions = configuration.baseOptions;
|
|
@@ -6151,12 +6085,12 @@
|
|
|
6151
6085
|
const localVarHeaderParameter = {};
|
|
6152
6086
|
const localVarQueryParameter = {};
|
|
6153
6087
|
// authentication JWT token required
|
|
6154
|
-
yield setApiKeyToObject$
|
|
6155
|
-
setSearchParams$
|
|
6088
|
+
yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
|
|
6089
|
+
setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6156
6090
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6157
6091
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6158
6092
|
return {
|
|
6159
|
-
url: toPathString$
|
|
6093
|
+
url: toPathString$5(localVarUrlObj),
|
|
6160
6094
|
options: localVarRequestOptions,
|
|
6161
6095
|
};
|
|
6162
6096
|
}),
|
|
@@ -6177,7 +6111,7 @@
|
|
|
6177
6111
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)))
|
|
6178
6112
|
.replace(`{${"resourceTypeId"}}`, encodeURIComponent(String(resourceTypeId)));
|
|
6179
6113
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6180
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
6114
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
|
|
6181
6115
|
let baseOptions;
|
|
6182
6116
|
if (configuration) {
|
|
6183
6117
|
baseOptions = configuration.baseOptions;
|
|
@@ -6186,12 +6120,12 @@
|
|
|
6186
6120
|
const localVarHeaderParameter = {};
|
|
6187
6121
|
const localVarQueryParameter = {};
|
|
6188
6122
|
// authentication JWT token required
|
|
6189
|
-
yield setApiKeyToObject$
|
|
6190
|
-
setSearchParams$
|
|
6123
|
+
yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
|
|
6124
|
+
setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6191
6125
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6192
6126
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6193
6127
|
return {
|
|
6194
|
-
url: toPathString$
|
|
6128
|
+
url: toPathString$5(localVarUrlObj),
|
|
6195
6129
|
options: localVarRequestOptions,
|
|
6196
6130
|
};
|
|
6197
6131
|
}),
|
|
@@ -6211,7 +6145,7 @@
|
|
|
6211
6145
|
const localVarPath = `/Quota/{resourceId}`
|
|
6212
6146
|
.replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)));
|
|
6213
6147
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6214
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
6148
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
|
|
6215
6149
|
let baseOptions;
|
|
6216
6150
|
if (configuration) {
|
|
6217
6151
|
baseOptions = configuration.baseOptions;
|
|
@@ -6220,14 +6154,14 @@
|
|
|
6220
6154
|
const localVarHeaderParameter = {};
|
|
6221
6155
|
const localVarQueryParameter = {};
|
|
6222
6156
|
// authentication JWT token required
|
|
6223
|
-
yield setApiKeyToObject$
|
|
6157
|
+
yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
|
|
6224
6158
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6225
|
-
setSearchParams$
|
|
6159
|
+
setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6226
6160
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6227
6161
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6228
6162
|
localVarRequestOptions.data = serializeDataIfNeeded$3(updateResourceObject, localVarRequestOptions, configuration);
|
|
6229
6163
|
return {
|
|
6230
|
-
url: toPathString$
|
|
6164
|
+
url: toPathString$5(localVarUrlObj),
|
|
6231
6165
|
options: localVarRequestOptions,
|
|
6232
6166
|
};
|
|
6233
6167
|
}),
|
|
@@ -6250,7 +6184,7 @@
|
|
|
6250
6184
|
quotaGetResourceQuota(resourceId, options) {
|
|
6251
6185
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6252
6186
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.quotaGetResourceQuota(resourceId, options);
|
|
6253
|
-
return createRequestFunction$
|
|
6187
|
+
return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
|
|
6254
6188
|
});
|
|
6255
6189
|
},
|
|
6256
6190
|
/**
|
|
@@ -6264,7 +6198,7 @@
|
|
|
6264
6198
|
quotaGetResourceQuotas(projectId, resourceTypeId, options) {
|
|
6265
6199
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6266
6200
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.quotaGetResourceQuotas(projectId, resourceTypeId, options);
|
|
6267
|
-
return createRequestFunction$
|
|
6201
|
+
return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
|
|
6268
6202
|
});
|
|
6269
6203
|
},
|
|
6270
6204
|
/**
|
|
@@ -6278,7 +6212,7 @@
|
|
|
6278
6212
|
quotaUpdateResourceQuota(resourceId, updateResourceObject, options) {
|
|
6279
6213
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6280
6214
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.quotaUpdateResourceQuota(resourceId, updateResourceObject, options);
|
|
6281
|
-
return createRequestFunction$
|
|
6215
|
+
return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
|
|
6282
6216
|
});
|
|
6283
6217
|
},
|
|
6284
6218
|
};
|
|
@@ -6326,7 +6260,7 @@
|
|
|
6326
6260
|
};
|
|
6327
6261
|
|
|
6328
6262
|
/* tslint:disable */
|
|
6329
|
-
const BASE_PATH$
|
|
6263
|
+
const BASE_PATH$4 = "https://d-sp23.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Resources".replace(/\/+$/, "");
|
|
6330
6264
|
/**
|
|
6331
6265
|
*
|
|
6332
6266
|
* @export
|
|
@@ -6346,7 +6280,7 @@
|
|
|
6346
6280
|
*
|
|
6347
6281
|
* @export
|
|
6348
6282
|
*/
|
|
6349
|
-
const DUMMY_BASE_URL$
|
|
6283
|
+
const DUMMY_BASE_URL$4 = 'https://example.com';
|
|
6350
6284
|
/**
|
|
6351
6285
|
*
|
|
6352
6286
|
* @throws {RequiredError}
|
|
@@ -6361,7 +6295,7 @@
|
|
|
6361
6295
|
*
|
|
6362
6296
|
* @export
|
|
6363
6297
|
*/
|
|
6364
|
-
const setApiKeyToObject$
|
|
6298
|
+
const setApiKeyToObject$4 = function (object, keyParamName, configuration) {
|
|
6365
6299
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6366
6300
|
if (configuration && configuration.apiKey) {
|
|
6367
6301
|
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
@@ -6375,7 +6309,7 @@
|
|
|
6375
6309
|
*
|
|
6376
6310
|
* @export
|
|
6377
6311
|
*/
|
|
6378
|
-
const setSearchParams$
|
|
6312
|
+
const setSearchParams$4 = function (url, ...objects) {
|
|
6379
6313
|
const searchParams = new URLSearchParams(url.search);
|
|
6380
6314
|
for (const object of objects) {
|
|
6381
6315
|
for (const key in object) {
|
|
@@ -6409,14 +6343,14 @@
|
|
|
6409
6343
|
*
|
|
6410
6344
|
* @export
|
|
6411
6345
|
*/
|
|
6412
|
-
const toPathString$
|
|
6346
|
+
const toPathString$4 = function (url) {
|
|
6413
6347
|
return url.pathname + url.search + url.hash;
|
|
6414
6348
|
};
|
|
6415
6349
|
/**
|
|
6416
6350
|
*
|
|
6417
6351
|
* @export
|
|
6418
6352
|
*/
|
|
6419
|
-
const createRequestFunction$
|
|
6353
|
+
const createRequestFunction$4 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
6420
6354
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
6421
6355
|
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
|
|
6422
6356
|
return axios.request(axiosRequestArgs);
|
|
@@ -6443,7 +6377,7 @@
|
|
|
6443
6377
|
const localVarPath = `/Resource/{id}`
|
|
6444
6378
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
6445
6379
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6446
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
6380
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$4);
|
|
6447
6381
|
let baseOptions;
|
|
6448
6382
|
if (configuration) {
|
|
6449
6383
|
baseOptions = configuration.baseOptions;
|
|
@@ -6452,12 +6386,12 @@
|
|
|
6452
6386
|
const localVarHeaderParameter = {};
|
|
6453
6387
|
const localVarQueryParameter = {};
|
|
6454
6388
|
// authentication JWT token required
|
|
6455
|
-
yield setApiKeyToObject$
|
|
6456
|
-
setSearchParams$
|
|
6389
|
+
yield setApiKeyToObject$4(localVarHeaderParameter, "Authorization", configuration);
|
|
6390
|
+
setSearchParams$4(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6457
6391
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6458
6392
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6459
6393
|
return {
|
|
6460
|
-
url: toPathString$
|
|
6394
|
+
url: toPathString$4(localVarUrlObj),
|
|
6461
6395
|
options: localVarRequestOptions,
|
|
6462
6396
|
};
|
|
6463
6397
|
}),
|
|
@@ -6474,7 +6408,7 @@
|
|
|
6474
6408
|
const localVarPath = `/Resource/{id}`
|
|
6475
6409
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
6476
6410
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6477
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
6411
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$4);
|
|
6478
6412
|
let baseOptions;
|
|
6479
6413
|
if (configuration) {
|
|
6480
6414
|
baseOptions = configuration.baseOptions;
|
|
@@ -6483,12 +6417,12 @@
|
|
|
6483
6417
|
const localVarHeaderParameter = {};
|
|
6484
6418
|
const localVarQueryParameter = {};
|
|
6485
6419
|
// authentication JWT token required
|
|
6486
|
-
yield setApiKeyToObject$
|
|
6487
|
-
setSearchParams$
|
|
6420
|
+
yield setApiKeyToObject$4(localVarHeaderParameter, "Authorization", configuration);
|
|
6421
|
+
setSearchParams$4(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6488
6422
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6489
6423
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6490
6424
|
return {
|
|
6491
|
-
url: toPathString$
|
|
6425
|
+
url: toPathString$4(localVarUrlObj),
|
|
6492
6426
|
options: localVarRequestOptions,
|
|
6493
6427
|
};
|
|
6494
6428
|
}),
|
|
@@ -6501,7 +6435,7 @@
|
|
|
6501
6435
|
resourceIndex: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6502
6436
|
const localVarPath = `/Resource`;
|
|
6503
6437
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6504
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
6438
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$4);
|
|
6505
6439
|
let baseOptions;
|
|
6506
6440
|
if (configuration) {
|
|
6507
6441
|
baseOptions = configuration.baseOptions;
|
|
@@ -6510,12 +6444,12 @@
|
|
|
6510
6444
|
const localVarHeaderParameter = {};
|
|
6511
6445
|
const localVarQueryParameter = {};
|
|
6512
6446
|
// authentication JWT token required
|
|
6513
|
-
yield setApiKeyToObject$
|
|
6514
|
-
setSearchParams$
|
|
6447
|
+
yield setApiKeyToObject$4(localVarHeaderParameter, "Authorization", configuration);
|
|
6448
|
+
setSearchParams$4(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6515
6449
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6516
6450
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6517
6451
|
return {
|
|
6518
|
-
url: toPathString$
|
|
6452
|
+
url: toPathString$4(localVarUrlObj),
|
|
6519
6453
|
options: localVarRequestOptions,
|
|
6520
6454
|
};
|
|
6521
6455
|
}),
|
|
@@ -6532,7 +6466,7 @@
|
|
|
6532
6466
|
const localVarPath = `/Resource/{id}/isCreator`
|
|
6533
6467
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
6534
6468
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6535
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
6469
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$4);
|
|
6536
6470
|
let baseOptions;
|
|
6537
6471
|
if (configuration) {
|
|
6538
6472
|
baseOptions = configuration.baseOptions;
|
|
@@ -6541,12 +6475,12 @@
|
|
|
6541
6475
|
const localVarHeaderParameter = {};
|
|
6542
6476
|
const localVarQueryParameter = {};
|
|
6543
6477
|
// authentication JWT token required
|
|
6544
|
-
yield setApiKeyToObject$
|
|
6545
|
-
setSearchParams$
|
|
6478
|
+
yield setApiKeyToObject$4(localVarHeaderParameter, "Authorization", configuration);
|
|
6479
|
+
setSearchParams$4(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6546
6480
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6547
6481
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6548
6482
|
return {
|
|
6549
|
-
url: toPathString$
|
|
6483
|
+
url: toPathString$4(localVarUrlObj),
|
|
6550
6484
|
options: localVarRequestOptions,
|
|
6551
6485
|
};
|
|
6552
6486
|
}),
|
|
@@ -6564,7 +6498,7 @@
|
|
|
6564
6498
|
const localVarPath = `/Resource/{id}/setReadonly`
|
|
6565
6499
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
6566
6500
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6567
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
6501
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$4);
|
|
6568
6502
|
let baseOptions;
|
|
6569
6503
|
if (configuration) {
|
|
6570
6504
|
baseOptions = configuration.baseOptions;
|
|
@@ -6573,15 +6507,15 @@
|
|
|
6573
6507
|
const localVarHeaderParameter = {};
|
|
6574
6508
|
const localVarQueryParameter = {};
|
|
6575
6509
|
// authentication JWT token required
|
|
6576
|
-
yield setApiKeyToObject$
|
|
6510
|
+
yield setApiKeyToObject$4(localVarHeaderParameter, "Authorization", configuration);
|
|
6577
6511
|
if (status !== undefined) {
|
|
6578
6512
|
localVarQueryParameter['status'] = status;
|
|
6579
6513
|
}
|
|
6580
|
-
setSearchParams$
|
|
6514
|
+
setSearchParams$4(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6581
6515
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6582
6516
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6583
6517
|
return {
|
|
6584
|
-
url: toPathString$
|
|
6518
|
+
url: toPathString$4(localVarUrlObj),
|
|
6585
6519
|
options: localVarRequestOptions,
|
|
6586
6520
|
};
|
|
6587
6521
|
}),
|
|
@@ -6601,7 +6535,7 @@
|
|
|
6601
6535
|
const localVarPath = `/Resource/project/{projectId}`
|
|
6602
6536
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
6603
6537
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6604
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
6538
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$4);
|
|
6605
6539
|
let baseOptions;
|
|
6606
6540
|
if (configuration) {
|
|
6607
6541
|
baseOptions = configuration.baseOptions;
|
|
@@ -6610,14 +6544,14 @@
|
|
|
6610
6544
|
const localVarHeaderParameter = {};
|
|
6611
6545
|
const localVarQueryParameter = {};
|
|
6612
6546
|
// authentication JWT token required
|
|
6613
|
-
yield setApiKeyToObject$
|
|
6547
|
+
yield setApiKeyToObject$4(localVarHeaderParameter, "Authorization", configuration);
|
|
6614
6548
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6615
|
-
setSearchParams$
|
|
6549
|
+
setSearchParams$4(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6616
6550
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6617
6551
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6618
6552
|
localVarRequestOptions.data = serializeDataIfNeeded$2(resourceObject, localVarRequestOptions, configuration);
|
|
6619
6553
|
return {
|
|
6620
|
-
url: toPathString$
|
|
6554
|
+
url: toPathString$4(localVarUrlObj),
|
|
6621
6555
|
options: localVarRequestOptions,
|
|
6622
6556
|
};
|
|
6623
6557
|
}),
|
|
@@ -6637,7 +6571,7 @@
|
|
|
6637
6571
|
const localVarPath = `/Resource/{id}`
|
|
6638
6572
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
6639
6573
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6640
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
6574
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$4);
|
|
6641
6575
|
let baseOptions;
|
|
6642
6576
|
if (configuration) {
|
|
6643
6577
|
baseOptions = configuration.baseOptions;
|
|
@@ -6646,14 +6580,14 @@
|
|
|
6646
6580
|
const localVarHeaderParameter = {};
|
|
6647
6581
|
const localVarQueryParameter = {};
|
|
6648
6582
|
// authentication JWT token required
|
|
6649
|
-
yield setApiKeyToObject$
|
|
6583
|
+
yield setApiKeyToObject$4(localVarHeaderParameter, "Authorization", configuration);
|
|
6650
6584
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6651
|
-
setSearchParams$
|
|
6585
|
+
setSearchParams$4(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6652
6586
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6653
6587
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6654
6588
|
localVarRequestOptions.data = serializeDataIfNeeded$2(resourceObject, localVarRequestOptions, configuration);
|
|
6655
6589
|
return {
|
|
6656
|
-
url: toPathString$
|
|
6590
|
+
url: toPathString$4(localVarUrlObj),
|
|
6657
6591
|
options: localVarRequestOptions,
|
|
6658
6592
|
};
|
|
6659
6593
|
}),
|
|
@@ -6676,7 +6610,7 @@
|
|
|
6676
6610
|
resourceDelete(id, options) {
|
|
6677
6611
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6678
6612
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceDelete(id, options);
|
|
6679
|
-
return createRequestFunction$
|
|
6613
|
+
return createRequestFunction$4(localVarAxiosArgs, axios, BASE_PATH$4, configuration);
|
|
6680
6614
|
});
|
|
6681
6615
|
},
|
|
6682
6616
|
/**
|
|
@@ -6689,7 +6623,7 @@
|
|
|
6689
6623
|
resourceGet(id, options) {
|
|
6690
6624
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6691
6625
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceGet(id, options);
|
|
6692
|
-
return createRequestFunction$
|
|
6626
|
+
return createRequestFunction$4(localVarAxiosArgs, axios, BASE_PATH$4, configuration);
|
|
6693
6627
|
});
|
|
6694
6628
|
},
|
|
6695
6629
|
/**
|
|
@@ -6701,7 +6635,7 @@
|
|
|
6701
6635
|
resourceIndex(options) {
|
|
6702
6636
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6703
6637
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceIndex(options);
|
|
6704
|
-
return createRequestFunction$
|
|
6638
|
+
return createRequestFunction$4(localVarAxiosArgs, axios, BASE_PATH$4, configuration);
|
|
6705
6639
|
});
|
|
6706
6640
|
},
|
|
6707
6641
|
/**
|
|
@@ -6714,7 +6648,7 @@
|
|
|
6714
6648
|
resourceIsUserResourceCreator(id, options) {
|
|
6715
6649
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6716
6650
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceIsUserResourceCreator(id, options);
|
|
6717
|
-
return createRequestFunction$
|
|
6651
|
+
return createRequestFunction$4(localVarAxiosArgs, axios, BASE_PATH$4, configuration);
|
|
6718
6652
|
});
|
|
6719
6653
|
},
|
|
6720
6654
|
/**
|
|
@@ -6728,7 +6662,7 @@
|
|
|
6728
6662
|
resourceSetResourceReadonly(id, status, options) {
|
|
6729
6663
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6730
6664
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceSetResourceReadonly(id, status, options);
|
|
6731
|
-
return createRequestFunction$
|
|
6665
|
+
return createRequestFunction$4(localVarAxiosArgs, axios, BASE_PATH$4, configuration);
|
|
6732
6666
|
});
|
|
6733
6667
|
},
|
|
6734
6668
|
/**
|
|
@@ -6742,7 +6676,7 @@
|
|
|
6742
6676
|
resourceStoreToProject(projectId, resourceObject, options) {
|
|
6743
6677
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6744
6678
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceStoreToProject(projectId, resourceObject, options);
|
|
6745
|
-
return createRequestFunction$
|
|
6679
|
+
return createRequestFunction$4(localVarAxiosArgs, axios, BASE_PATH$4, configuration);
|
|
6746
6680
|
});
|
|
6747
6681
|
},
|
|
6748
6682
|
/**
|
|
@@ -6756,7 +6690,7 @@
|
|
|
6756
6690
|
resourceUpdate(id, resourceObject, options) {
|
|
6757
6691
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6758
6692
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceUpdate(id, resourceObject, options);
|
|
6759
|
-
return createRequestFunction$
|
|
6693
|
+
return createRequestFunction$4(localVarAxiosArgs, axios, BASE_PATH$4, configuration);
|
|
6760
6694
|
});
|
|
6761
6695
|
},
|
|
6762
6696
|
};
|
|
@@ -6857,7 +6791,7 @@
|
|
|
6857
6791
|
resourceTypeGetEnabledResourceTypes: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6858
6792
|
const localVarPath = `/ResourceType/types/-/enabled`;
|
|
6859
6793
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6860
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
6794
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$4);
|
|
6861
6795
|
let baseOptions;
|
|
6862
6796
|
if (configuration) {
|
|
6863
6797
|
baseOptions = configuration.baseOptions;
|
|
@@ -6866,12 +6800,12 @@
|
|
|
6866
6800
|
const localVarHeaderParameter = {};
|
|
6867
6801
|
const localVarQueryParameter = {};
|
|
6868
6802
|
// authentication JWT token required
|
|
6869
|
-
yield setApiKeyToObject$
|
|
6870
|
-
setSearchParams$
|
|
6803
|
+
yield setApiKeyToObject$4(localVarHeaderParameter, "Authorization", configuration);
|
|
6804
|
+
setSearchParams$4(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6871
6805
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6872
6806
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6873
6807
|
return {
|
|
6874
|
-
url: toPathString$
|
|
6808
|
+
url: toPathString$4(localVarUrlObj),
|
|
6875
6809
|
options: localVarRequestOptions,
|
|
6876
6810
|
};
|
|
6877
6811
|
}),
|
|
@@ -6888,7 +6822,7 @@
|
|
|
6888
6822
|
const localVarPath = `/ResourceType/types/{id}`
|
|
6889
6823
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
6890
6824
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6891
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
6825
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$4);
|
|
6892
6826
|
let baseOptions;
|
|
6893
6827
|
if (configuration) {
|
|
6894
6828
|
baseOptions = configuration.baseOptions;
|
|
@@ -6897,12 +6831,12 @@
|
|
|
6897
6831
|
const localVarHeaderParameter = {};
|
|
6898
6832
|
const localVarQueryParameter = {};
|
|
6899
6833
|
// authentication JWT token required
|
|
6900
|
-
yield setApiKeyToObject$
|
|
6901
|
-
setSearchParams$
|
|
6834
|
+
yield setApiKeyToObject$4(localVarHeaderParameter, "Authorization", configuration);
|
|
6835
|
+
setSearchParams$4(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6902
6836
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6903
6837
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6904
6838
|
return {
|
|
6905
|
-
url: toPathString$
|
|
6839
|
+
url: toPathString$4(localVarUrlObj),
|
|
6906
6840
|
options: localVarRequestOptions,
|
|
6907
6841
|
};
|
|
6908
6842
|
}),
|
|
@@ -6915,7 +6849,7 @@
|
|
|
6915
6849
|
resourceTypeGetResourceTypes: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6916
6850
|
const localVarPath = `/ResourceType/types`;
|
|
6917
6851
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6918
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
6852
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$4);
|
|
6919
6853
|
let baseOptions;
|
|
6920
6854
|
if (configuration) {
|
|
6921
6855
|
baseOptions = configuration.baseOptions;
|
|
@@ -6924,12 +6858,12 @@
|
|
|
6924
6858
|
const localVarHeaderParameter = {};
|
|
6925
6859
|
const localVarQueryParameter = {};
|
|
6926
6860
|
// authentication JWT token required
|
|
6927
|
-
yield setApiKeyToObject$
|
|
6928
|
-
setSearchParams$
|
|
6861
|
+
yield setApiKeyToObject$4(localVarHeaderParameter, "Authorization", configuration);
|
|
6862
|
+
setSearchParams$4(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6929
6863
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6930
6864
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6931
6865
|
return {
|
|
6932
|
-
url: toPathString$
|
|
6866
|
+
url: toPathString$4(localVarUrlObj),
|
|
6933
6867
|
options: localVarRequestOptions,
|
|
6934
6868
|
};
|
|
6935
6869
|
}),
|
|
@@ -6951,7 +6885,7 @@
|
|
|
6951
6885
|
resourceTypeGetEnabledResourceTypes(options) {
|
|
6952
6886
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6953
6887
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceTypeGetEnabledResourceTypes(options);
|
|
6954
|
-
return createRequestFunction$
|
|
6888
|
+
return createRequestFunction$4(localVarAxiosArgs, axios, BASE_PATH$4, configuration);
|
|
6955
6889
|
});
|
|
6956
6890
|
},
|
|
6957
6891
|
/**
|
|
@@ -6964,7 +6898,7 @@
|
|
|
6964
6898
|
resourceTypeGetResourceType(id, options) {
|
|
6965
6899
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6966
6900
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceTypeGetResourceType(id, options);
|
|
6967
|
-
return createRequestFunction$
|
|
6901
|
+
return createRequestFunction$4(localVarAxiosArgs, axios, BASE_PATH$4, configuration);
|
|
6968
6902
|
});
|
|
6969
6903
|
},
|
|
6970
6904
|
/**
|
|
@@ -6976,7 +6910,7 @@
|
|
|
6976
6910
|
resourceTypeGetResourceTypes(options) {
|
|
6977
6911
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6978
6912
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceTypeGetResourceTypes(options);
|
|
6979
|
-
return createRequestFunction$
|
|
6913
|
+
return createRequestFunction$4(localVarAxiosArgs, axios, BASE_PATH$4, configuration);
|
|
6980
6914
|
});
|
|
6981
6915
|
},
|
|
6982
6916
|
};
|
|
@@ -7019,6 +6953,168 @@
|
|
|
7019
6953
|
};
|
|
7020
6954
|
};
|
|
7021
6955
|
|
|
6956
|
+
/* tslint:disable */
|
|
6957
|
+
const BASE_PATH$3 = "https://d-sp25.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Search".replace(/\/+$/, "");
|
|
6958
|
+
|
|
6959
|
+
/* tslint:disable */
|
|
6960
|
+
/**
|
|
6961
|
+
*
|
|
6962
|
+
* @export
|
|
6963
|
+
*/
|
|
6964
|
+
const DUMMY_BASE_URL$3 = 'https://example.com';
|
|
6965
|
+
/**
|
|
6966
|
+
*
|
|
6967
|
+
* @export
|
|
6968
|
+
*/
|
|
6969
|
+
const setApiKeyToObject$3 = function (object, keyParamName, configuration) {
|
|
6970
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6971
|
+
if (configuration && configuration.apiKey) {
|
|
6972
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
6973
|
+
? yield configuration.apiKey(keyParamName)
|
|
6974
|
+
: yield configuration.apiKey;
|
|
6975
|
+
object[keyParamName] = localVarApiKeyValue;
|
|
6976
|
+
}
|
|
6977
|
+
});
|
|
6978
|
+
};
|
|
6979
|
+
/**
|
|
6980
|
+
*
|
|
6981
|
+
* @export
|
|
6982
|
+
*/
|
|
6983
|
+
const setSearchParams$3 = function (url, ...objects) {
|
|
6984
|
+
const searchParams = new URLSearchParams(url.search);
|
|
6985
|
+
for (const object of objects) {
|
|
6986
|
+
for (const key in object) {
|
|
6987
|
+
if (Array.isArray(object[key])) {
|
|
6988
|
+
searchParams.delete(key);
|
|
6989
|
+
for (const item of object[key]) {
|
|
6990
|
+
searchParams.append(key, item);
|
|
6991
|
+
}
|
|
6992
|
+
}
|
|
6993
|
+
else {
|
|
6994
|
+
searchParams.set(key, object[key]);
|
|
6995
|
+
}
|
|
6996
|
+
}
|
|
6997
|
+
}
|
|
6998
|
+
url.search = searchParams.toString();
|
|
6999
|
+
};
|
|
7000
|
+
/**
|
|
7001
|
+
*
|
|
7002
|
+
* @export
|
|
7003
|
+
*/
|
|
7004
|
+
const toPathString$3 = function (url) {
|
|
7005
|
+
return url.pathname + url.search + url.hash;
|
|
7006
|
+
};
|
|
7007
|
+
/**
|
|
7008
|
+
*
|
|
7009
|
+
* @export
|
|
7010
|
+
*/
|
|
7011
|
+
const createRequestFunction$3 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
7012
|
+
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
7013
|
+
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
|
|
7014
|
+
return axios.request(axiosRequestArgs);
|
|
7015
|
+
};
|
|
7016
|
+
};
|
|
7017
|
+
|
|
7018
|
+
/* tslint:disable */
|
|
7019
|
+
/**
|
|
7020
|
+
* SemanticSearchApi - axios parameter creator
|
|
7021
|
+
* @export
|
|
7022
|
+
*/
|
|
7023
|
+
const SemanticSearchApiAxiosParamCreator = function (configuration) {
|
|
7024
|
+
return {
|
|
7025
|
+
/**
|
|
7026
|
+
*
|
|
7027
|
+
* @summary Search with SemanticSearch;
|
|
7028
|
+
* @param {string} [query] Elasticsearch query
|
|
7029
|
+
* @param {boolean} [user] Specify user or only public metadata records could be found
|
|
7030
|
+
* @param {boolean} [adv] Set true for advanced Elasticsearch search syntax
|
|
7031
|
+
* @param {Array<string>} [languages] Set the used languages
|
|
7032
|
+
* @param {*} [options] Override http request option.
|
|
7033
|
+
* @throws {RequiredError}
|
|
7034
|
+
*/
|
|
7035
|
+
semanticSearchSearch: (query, user, adv, languages, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
7036
|
+
const localVarPath = `/SemanticSearch`;
|
|
7037
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7038
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$3);
|
|
7039
|
+
let baseOptions;
|
|
7040
|
+
if (configuration) {
|
|
7041
|
+
baseOptions = configuration.baseOptions;
|
|
7042
|
+
}
|
|
7043
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
7044
|
+
const localVarHeaderParameter = {};
|
|
7045
|
+
const localVarQueryParameter = {};
|
|
7046
|
+
// authentication JWT token required
|
|
7047
|
+
yield setApiKeyToObject$3(localVarHeaderParameter, "Authorization", configuration);
|
|
7048
|
+
if (query !== undefined) {
|
|
7049
|
+
localVarQueryParameter['query'] = query;
|
|
7050
|
+
}
|
|
7051
|
+
if (user !== undefined) {
|
|
7052
|
+
localVarQueryParameter['user'] = user;
|
|
7053
|
+
}
|
|
7054
|
+
if (adv !== undefined) {
|
|
7055
|
+
localVarQueryParameter['adv'] = adv;
|
|
7056
|
+
}
|
|
7057
|
+
if (languages) {
|
|
7058
|
+
localVarQueryParameter['languages'] = languages;
|
|
7059
|
+
}
|
|
7060
|
+
setSearchParams$3(localVarUrlObj, localVarQueryParameter, options.query);
|
|
7061
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7062
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7063
|
+
return {
|
|
7064
|
+
url: toPathString$3(localVarUrlObj),
|
|
7065
|
+
options: localVarRequestOptions,
|
|
7066
|
+
};
|
|
7067
|
+
}),
|
|
7068
|
+
};
|
|
7069
|
+
};
|
|
7070
|
+
/**
|
|
7071
|
+
* SemanticSearchApi - functional programming interface
|
|
7072
|
+
* @export
|
|
7073
|
+
*/
|
|
7074
|
+
const SemanticSearchApiFp = function (configuration) {
|
|
7075
|
+
const localVarAxiosParamCreator = SemanticSearchApiAxiosParamCreator(configuration);
|
|
7076
|
+
return {
|
|
7077
|
+
/**
|
|
7078
|
+
*
|
|
7079
|
+
* @summary Search with SemanticSearch;
|
|
7080
|
+
* @param {string} [query] Elasticsearch query
|
|
7081
|
+
* @param {boolean} [user] Specify user or only public metadata records could be found
|
|
7082
|
+
* @param {boolean} [adv] Set true for advanced Elasticsearch search syntax
|
|
7083
|
+
* @param {Array<string>} [languages] Set the used languages
|
|
7084
|
+
* @param {*} [options] Override http request option.
|
|
7085
|
+
* @throws {RequiredError}
|
|
7086
|
+
*/
|
|
7087
|
+
semanticSearchSearch(query, user, adv, languages, options) {
|
|
7088
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7089
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.semanticSearchSearch(query, user, adv, languages, options);
|
|
7090
|
+
return createRequestFunction$3(localVarAxiosArgs, axios, BASE_PATH$3, configuration);
|
|
7091
|
+
});
|
|
7092
|
+
},
|
|
7093
|
+
};
|
|
7094
|
+
};
|
|
7095
|
+
/**
|
|
7096
|
+
* SemanticSearchApi - factory interface
|
|
7097
|
+
* @export
|
|
7098
|
+
*/
|
|
7099
|
+
const SemanticSearchApiFactory = function (configuration, basePath, axios) {
|
|
7100
|
+
const localVarFp = SemanticSearchApiFp(configuration);
|
|
7101
|
+
return {
|
|
7102
|
+
/**
|
|
7103
|
+
*
|
|
7104
|
+
* @summary Search with SemanticSearch;
|
|
7105
|
+
* @param {string} [query] Elasticsearch query
|
|
7106
|
+
* @param {boolean} [user] Specify user or only public metadata records could be found
|
|
7107
|
+
* @param {boolean} [adv] Set true for advanced Elasticsearch search syntax
|
|
7108
|
+
* @param {Array<string>} [languages] Set the used languages
|
|
7109
|
+
* @param {*} [options] Override http request option.
|
|
7110
|
+
* @throws {RequiredError}
|
|
7111
|
+
*/
|
|
7112
|
+
semanticSearchSearch(query, user, adv, languages, options) {
|
|
7113
|
+
return localVarFp.semanticSearchSearch(query, user, adv, languages, options).then((request) => request(axios, basePath));
|
|
7114
|
+
},
|
|
7115
|
+
};
|
|
7116
|
+
};
|
|
7117
|
+
|
|
7022
7118
|
/* tslint:disable */
|
|
7023
7119
|
const BASE_PATH$2 = "https://d-sp23.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Token".replace(/\/+$/, "");
|
|
7024
7120
|
/**
|
|
@@ -8387,7 +8483,14 @@
|
|
|
8387
8483
|
|
|
8388
8484
|
let accessToken = '';
|
|
8389
8485
|
if (typeof coscine !== 'undefined' && typeof coscine.authorization !== 'undefined') {
|
|
8390
|
-
accessToken = coscine.authorization.bearer;
|
|
8486
|
+
accessToken = 'Bearer ' + coscine.authorization.bearer;
|
|
8487
|
+
}
|
|
8488
|
+
if (typeof window !== 'undefined') {
|
|
8489
|
+
// LocalStorage > Global Variables
|
|
8490
|
+
const localStorageToken = localStorage.getItem('coscine.authorization.bearer');
|
|
8491
|
+
if (localStorageToken) {
|
|
8492
|
+
accessToken = 'Bearer ' + localStorageToken;
|
|
8493
|
+
}
|
|
8391
8494
|
}
|
|
8392
8495
|
const getHostName = () => {
|
|
8393
8496
|
let hostName = typeof window !== 'undefined' ? window.location.hostname : 'coscine.rwth-aachen.de';
|
|
@@ -8418,6 +8521,7 @@
|
|
|
8418
8521
|
ResourceTypeApi: ResourceTypeApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Resources', axios),
|
|
8419
8522
|
RoleApi: RoleApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios),
|
|
8420
8523
|
SearchApi: SearchApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios),
|
|
8524
|
+
SemanticSearchApi: SemanticSearchApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Search', axios),
|
|
8421
8525
|
SubProjectApi: SubProjectApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios),
|
|
8422
8526
|
TitleApi: TitleApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.User', axios),
|
|
8423
8527
|
TokenApi: TokenApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Token', axios),
|
|
@@ -8441,25 +8545,53 @@
|
|
|
8441
8545
|
request.headers.common[clientCorrolationIdKey] = coscine.clientcorrolation.id;
|
|
8442
8546
|
}
|
|
8443
8547
|
}
|
|
8548
|
+
if (typeof window !== 'undefined') {
|
|
8549
|
+
// LocalStorage > Global Variables
|
|
8550
|
+
const localStorageToken = localStorage.getItem("coscine.authorization.bearer");
|
|
8551
|
+
if (localStorageToken) {
|
|
8552
|
+
request.headers.common[authHeaderKey] =
|
|
8553
|
+
'Bearer ' + localStorageToken;
|
|
8554
|
+
}
|
|
8555
|
+
const localStorageClientCorrelation = localStorage.getItem("coscine.clientcorrolation.id");
|
|
8556
|
+
if (localStorageClientCorrelation) {
|
|
8557
|
+
request.headers.common[clientCorrolationIdKey] = localStorageClientCorrelation;
|
|
8558
|
+
}
|
|
8559
|
+
}
|
|
8444
8560
|
}
|
|
8445
|
-
|
|
8446
|
-
setHeader(request);
|
|
8561
|
+
function increaseLoading() {
|
|
8447
8562
|
if ((typeof coscine !== "undefined") && (typeof coscine.loading !== "undefined") && (typeof coscine.loading.counter !== "undefined")) {
|
|
8448
8563
|
coscine.loading.counter++;
|
|
8449
8564
|
}
|
|
8565
|
+
if (typeof window !== 'undefined') {
|
|
8566
|
+
const localStorageLoading = localStorage.getItem("coscine.loading.counter");
|
|
8567
|
+
if (localStorageLoading) {
|
|
8568
|
+
localStorage.setItem("coscine.loading.counter", String(Number(localStorageLoading) + 1));
|
|
8569
|
+
}
|
|
8570
|
+
}
|
|
8571
|
+
}
|
|
8572
|
+
function decreaseLoading() {
|
|
8573
|
+
if ((typeof coscine !== "undefined") && (typeof coscine.loading !== "undefined") && (typeof coscine.loading.counter !== "undefined")) {
|
|
8574
|
+
coscine.loading.counter--;
|
|
8575
|
+
}
|
|
8576
|
+
if (typeof window !== 'undefined') {
|
|
8577
|
+
const localStorageLoading = localStorage.getItem("coscine.loading.counter");
|
|
8578
|
+
if (localStorageLoading) {
|
|
8579
|
+
localStorage.setItem("coscine.loading.counter", String(Number(localStorageLoading) - 1));
|
|
8580
|
+
}
|
|
8581
|
+
}
|
|
8582
|
+
}
|
|
8583
|
+
instance.interceptors.request.use((request) => {
|
|
8584
|
+
setHeader(request);
|
|
8585
|
+
increaseLoading();
|
|
8450
8586
|
return request;
|
|
8451
8587
|
}, (error) => {
|
|
8452
8588
|
return Promise.reject(error);
|
|
8453
8589
|
});
|
|
8454
8590
|
instance.interceptors.response.use((response) => {
|
|
8455
|
-
|
|
8456
|
-
coscine.loading.counter--;
|
|
8457
|
-
}
|
|
8591
|
+
decreaseLoading();
|
|
8458
8592
|
return response;
|
|
8459
8593
|
}, (error) => {
|
|
8460
|
-
|
|
8461
|
-
coscine.loading.counter--;
|
|
8462
|
-
}
|
|
8594
|
+
decreaseLoading();
|
|
8463
8595
|
return Promise.reject(error);
|
|
8464
8596
|
});
|
|
8465
8597
|
|
|
@@ -8481,6 +8613,7 @@
|
|
|
8481
8613
|
const ResourceTypeApi = apis.ResourceTypeApi;
|
|
8482
8614
|
const RoleApi = apis.RoleApi;
|
|
8483
8615
|
const SearchApi = apis.SearchApi;
|
|
8616
|
+
const SemanticSearchApi = apis.SemanticSearchApi;
|
|
8484
8617
|
const SubProjectApi = apis.SubProjectApi;
|
|
8485
8618
|
const TitleApi = apis.TitleApi;
|
|
8486
8619
|
const TokenApi = apis.TokenApi;
|
|
@@ -8506,6 +8639,7 @@
|
|
|
8506
8639
|
exports.ResourceTypeApi = ResourceTypeApi;
|
|
8507
8640
|
exports.RoleApi = RoleApi;
|
|
8508
8641
|
exports.SearchApi = SearchApi;
|
|
8642
|
+
exports.SemanticSearchApi = SemanticSearchApi;
|
|
8509
8643
|
exports.SubProjectApi = SubProjectApi;
|
|
8510
8644
|
exports.TOSApi = TOSApi;
|
|
8511
8645
|
exports.TitleApi = TitleApi;
|
|
@@ -8513,6 +8647,8 @@
|
|
|
8513
8647
|
exports.TreeApi = TreeApi;
|
|
8514
8648
|
exports.UserApi = UserApi;
|
|
8515
8649
|
exports.VisibilityApi = VisibilityApi;
|
|
8650
|
+
exports.apiImplementations = implementations;
|
|
8651
|
+
exports.axiosInstance = instance;
|
|
8516
8652
|
exports["default"] = apis;
|
|
8517
8653
|
|
|
8518
8654
|
Object.defineProperty(exports, '__esModule', { value: true });
|