@coscine/api-client 1.0.0 → 1.3.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 +715 -545
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +718 -547
- package/dist/index.umd.js.map +1 -1
- package/dist/lib/Coscine.Api.Blob/api.js +52 -52
- package/dist/lib/Coscine.Api.Blob/api.js.map +1 -1
- package/dist/lib/Coscine.Api.Blob/base.js +1 -1
- package/dist/lib/Coscine.Api.Blob/common.js +1 -1
- package/dist/lib/Coscine.Api.Blob/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Blob/index.js +1 -1
- package/dist/lib/Coscine.Api.Metadata/api.js +75 -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/Coscine.Api.Tree/api.js +35 -35
- package/dist/lib/Coscine.Api.Tree/api.js.map +1 -1
- package/dist/lib/Coscine.Api.Tree/base.js +1 -1
- package/dist/lib/Coscine.Api.Tree/common.js +1 -1
- package/dist/lib/Coscine.Api.Tree/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Tree/index.js +1 -1
- package/dist/lib/apis.js +13 -11
- package/dist/lib/apis.js.map +1 -1
- package/dist/lib/axios-basic.js +7 -3
- package/dist/lib/axios-basic.js.map +1 -1
- package/dist/lib/index.js +2 -1
- package/dist/lib/index.js.map +1 -1
- package/dist/types/Coscine.Api.Blob/api.d.ts +25 -25
- package/dist/types/Coscine.Api.Blob/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Blob/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Blob/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Blob/index.d.ts +1 -1
- package/dist/types/Coscine.Api.Metadata/api.d.ts +116 -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/Coscine.Api.Tree/api.d.ts +17 -17
- package/dist/types/Coscine.Api.Tree/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Tree/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Tree/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Tree/index.d.ts +1 -1
- package/dist/types/apis.d.ts +13 -10
- package/dist/types/index.d.ts +26 -20
- package/package.json +4 -3
package/dist/index.umd.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
|
|
3
3
|
typeof define === 'function' && define.amd ? define(['exports'], factory) :
|
|
4
4
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.index = {}));
|
|
5
|
-
}(this, (function (exports) { 'use strict';
|
|
5
|
+
})(this, (function (exports) { 'use strict';
|
|
6
6
|
|
|
7
7
|
/*! *****************************************************************************
|
|
8
8
|
Copyright (c) Microsoft Corporation.
|
|
@@ -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) {
|
|
@@ -2407,7 +2407,7 @@
|
|
|
2407
2407
|
*
|
|
2408
2408
|
* @export
|
|
2409
2409
|
*/
|
|
2410
|
-
const serializeDataIfNeeded$
|
|
2410
|
+
const serializeDataIfNeeded$7 = function (value, requestOptions, configuration) {
|
|
2411
2411
|
const nonString = typeof value !== 'string';
|
|
2412
2412
|
const needsSerialization = nonString && configuration && configuration.isJsonMime
|
|
2413
2413
|
? configuration.isJsonMime(requestOptions.headers['Content-Type'])
|
|
@@ -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
|
-
localVarRequestOptions.data = serializeDataIfNeeded$
|
|
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) {
|
|
@@ -2642,7 +2642,7 @@
|
|
|
2642
2642
|
*
|
|
2643
2643
|
* @export
|
|
2644
2644
|
*/
|
|
2645
|
-
const serializeDataIfNeeded$
|
|
2645
|
+
const serializeDataIfNeeded$6 = function (value, requestOptions, configuration) {
|
|
2646
2646
|
const nonString = typeof value !== 'string';
|
|
2647
2647
|
const needsSerialization = nonString && configuration && configuration.isJsonMime
|
|
2648
2648
|
? configuration.isJsonMime(requestOptions.headers['Content-Type'])
|
|
@@ -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);
|
|
@@ -2680,20 +2680,17 @@
|
|
|
2680
2680
|
*
|
|
2681
2681
|
* @summary This method deletes a given file
|
|
2682
2682
|
* @param {string} resourceId Id of the resource
|
|
2683
|
-
* @param {string} path Path to the file
|
|
2683
|
+
* @param {string} [path] Path to the file
|
|
2684
2684
|
* @param {*} [options] Override http request option.
|
|
2685
2685
|
* @throws {RequiredError}
|
|
2686
2686
|
*/
|
|
2687
|
-
|
|
2687
|
+
blobDeleteFileWithParameter: (resourceId, path, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2688
2688
|
// verify required parameter 'resourceId' is not null or undefined
|
|
2689
|
-
assertParamExists$9('
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
const localVarPath = `/Blob/{resourceId}/{path}`
|
|
2693
|
-
.replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)))
|
|
2694
|
-
.replace(`{${"path"}}`, encodeURIComponent(String(path)));
|
|
2689
|
+
assertParamExists$9('blobDeleteFileWithParameter', 'resourceId', resourceId);
|
|
2690
|
+
const localVarPath = `/Blob/{resourceId}`
|
|
2691
|
+
.replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)));
|
|
2695
2692
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2696
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
2693
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$a);
|
|
2697
2694
|
let baseOptions;
|
|
2698
2695
|
if (configuration) {
|
|
2699
2696
|
baseOptions = configuration.baseOptions;
|
|
@@ -2702,12 +2699,15 @@
|
|
|
2702
2699
|
const localVarHeaderParameter = {};
|
|
2703
2700
|
const localVarQueryParameter = {};
|
|
2704
2701
|
// authentication JWT token required
|
|
2705
|
-
yield setApiKeyToObject$
|
|
2706
|
-
|
|
2702
|
+
yield setApiKeyToObject$a(localVarHeaderParameter, "Authorization", configuration);
|
|
2703
|
+
if (path !== undefined) {
|
|
2704
|
+
localVarQueryParameter['path'] = path;
|
|
2705
|
+
}
|
|
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
|
}),
|
|
@@ -2715,20 +2715,17 @@
|
|
|
2715
2715
|
*
|
|
2716
2716
|
* @summary This method checks if the given file exists and returns it
|
|
2717
2717
|
* @param {string} resourceId Id of the resource
|
|
2718
|
-
* @param {string} path Path to the file
|
|
2718
|
+
* @param {string} [path] Path to the file
|
|
2719
2719
|
* @param {*} [options] Override http request option.
|
|
2720
2720
|
* @throws {RequiredError}
|
|
2721
2721
|
*/
|
|
2722
|
-
|
|
2722
|
+
blobGetFileWithParameter: (resourceId, path, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2723
2723
|
// verify required parameter 'resourceId' is not null or undefined
|
|
2724
|
-
assertParamExists$9('
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
const localVarPath = `/Blob/{resourceId}/{path}`
|
|
2728
|
-
.replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)))
|
|
2729
|
-
.replace(`{${"path"}}`, encodeURIComponent(String(path)));
|
|
2724
|
+
assertParamExists$9('blobGetFileWithParameter', 'resourceId', resourceId);
|
|
2725
|
+
const localVarPath = `/Blob/{resourceId}`
|
|
2726
|
+
.replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)));
|
|
2730
2727
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2731
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
2728
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$a);
|
|
2732
2729
|
let baseOptions;
|
|
2733
2730
|
if (configuration) {
|
|
2734
2731
|
baseOptions = configuration.baseOptions;
|
|
@@ -2737,12 +2734,15 @@
|
|
|
2737
2734
|
const localVarHeaderParameter = {};
|
|
2738
2735
|
const localVarQueryParameter = {};
|
|
2739
2736
|
// authentication JWT token required
|
|
2740
|
-
yield setApiKeyToObject$
|
|
2741
|
-
|
|
2737
|
+
yield setApiKeyToObject$a(localVarHeaderParameter, "Authorization", configuration);
|
|
2738
|
+
if (path !== undefined) {
|
|
2739
|
+
localVarQueryParameter['path'] = path;
|
|
2740
|
+
}
|
|
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
|
-
localVarRequestOptions.data = serializeDataIfNeeded$
|
|
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
|
}),
|
|
@@ -2813,21 +2813,18 @@
|
|
|
2813
2813
|
*
|
|
2814
2814
|
* @summary This method uploads a given File
|
|
2815
2815
|
* @param {string} resourceId Id of the resource
|
|
2816
|
-
* @param {string} path Path to the file
|
|
2816
|
+
* @param {string} [path] Path to the file
|
|
2817
2817
|
* @param {Array<any>} [files]
|
|
2818
2818
|
* @param {*} [options] Override http request option.
|
|
2819
2819
|
* @throws {RequiredError}
|
|
2820
2820
|
*/
|
|
2821
|
-
|
|
2821
|
+
blobUploadFileWithParameter: (resourceId, path, files, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2822
2822
|
// verify required parameter 'resourceId' is not null or undefined
|
|
2823
|
-
assertParamExists$9('
|
|
2824
|
-
|
|
2825
|
-
|
|
2826
|
-
const localVarPath = `/Blob/{resourceId}/{path}`
|
|
2827
|
-
.replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)))
|
|
2828
|
-
.replace(`{${"path"}}`, encodeURIComponent(String(path)));
|
|
2823
|
+
assertParamExists$9('blobUploadFileWithParameter', 'resourceId', resourceId);
|
|
2824
|
+
const localVarPath = `/Blob/{resourceId}`
|
|
2825
|
+
.replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)));
|
|
2829
2826
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2830
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
2827
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$a);
|
|
2831
2828
|
let baseOptions;
|
|
2832
2829
|
if (configuration) {
|
|
2833
2830
|
baseOptions = configuration.baseOptions;
|
|
@@ -2837,19 +2834,22 @@
|
|
|
2837
2834
|
const localVarQueryParameter = {};
|
|
2838
2835
|
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
2839
2836
|
// authentication JWT token required
|
|
2840
|
-
yield setApiKeyToObject$
|
|
2837
|
+
yield setApiKeyToObject$a(localVarHeaderParameter, "Authorization", configuration);
|
|
2838
|
+
if (path !== undefined) {
|
|
2839
|
+
localVarQueryParameter['path'] = path;
|
|
2840
|
+
}
|
|
2841
2841
|
if (files) {
|
|
2842
2842
|
files.forEach((element) => {
|
|
2843
2843
|
localVarFormParams.append('files', element);
|
|
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
|
}),
|
|
@@ -2866,28 +2866,28 @@
|
|
|
2866
2866
|
*
|
|
2867
2867
|
* @summary This method deletes a given file
|
|
2868
2868
|
* @param {string} resourceId Id of the resource
|
|
2869
|
-
* @param {string} path Path to the file
|
|
2869
|
+
* @param {string} [path] Path to the file
|
|
2870
2870
|
* @param {*} [options] Override http request option.
|
|
2871
2871
|
* @throws {RequiredError}
|
|
2872
2872
|
*/
|
|
2873
|
-
|
|
2873
|
+
blobDeleteFileWithParameter(resourceId, path, options) {
|
|
2874
2874
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2875
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
2876
|
-
return createRequestFunction$
|
|
2875
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.blobDeleteFileWithParameter(resourceId, path, options);
|
|
2876
|
+
return createRequestFunction$a(localVarAxiosArgs, axios, BASE_PATH$a, configuration);
|
|
2877
2877
|
});
|
|
2878
2878
|
},
|
|
2879
2879
|
/**
|
|
2880
2880
|
*
|
|
2881
2881
|
* @summary This method checks if the given file exists and returns it
|
|
2882
2882
|
* @param {string} resourceId Id of the resource
|
|
2883
|
-
* @param {string} path Path to the file
|
|
2883
|
+
* @param {string} [path] Path to the file
|
|
2884
2884
|
* @param {*} [options] Override http request option.
|
|
2885
2885
|
* @throws {RequiredError}
|
|
2886
2886
|
*/
|
|
2887
|
-
|
|
2887
|
+
blobGetFileWithParameter(resourceId, path, options) {
|
|
2888
2888
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2889
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
2890
|
-
return createRequestFunction$
|
|
2889
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.blobGetFileWithParameter(resourceId, path, options);
|
|
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,22 +2913,22 @@
|
|
|
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
|
/**
|
|
2920
2920
|
*
|
|
2921
2921
|
* @summary This method uploads a given File
|
|
2922
2922
|
* @param {string} resourceId Id of the resource
|
|
2923
|
-
* @param {string} path Path to the file
|
|
2923
|
+
* @param {string} [path] Path to the file
|
|
2924
2924
|
* @param {Array<any>} [files]
|
|
2925
2925
|
* @param {*} [options] Override http request option.
|
|
2926
2926
|
* @throws {RequiredError}
|
|
2927
2927
|
*/
|
|
2928
|
-
|
|
2928
|
+
blobUploadFileWithParameter(resourceId, path, files, options) {
|
|
2929
2929
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2930
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
2931
|
-
return createRequestFunction$
|
|
2930
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.blobUploadFileWithParameter(resourceId, path, files, options);
|
|
2931
|
+
return createRequestFunction$a(localVarAxiosArgs, axios, BASE_PATH$a, configuration);
|
|
2932
2932
|
});
|
|
2933
2933
|
},
|
|
2934
2934
|
};
|
|
@@ -2944,23 +2944,23 @@
|
|
|
2944
2944
|
*
|
|
2945
2945
|
* @summary This method deletes a given file
|
|
2946
2946
|
* @param {string} resourceId Id of the resource
|
|
2947
|
-
* @param {string} path Path to the file
|
|
2947
|
+
* @param {string} [path] Path to the file
|
|
2948
2948
|
* @param {*} [options] Override http request option.
|
|
2949
2949
|
* @throws {RequiredError}
|
|
2950
2950
|
*/
|
|
2951
|
-
|
|
2952
|
-
return localVarFp.
|
|
2951
|
+
blobDeleteFileWithParameter(resourceId, path, options) {
|
|
2952
|
+
return localVarFp.blobDeleteFileWithParameter(resourceId, path, options).then((request) => request(axios, basePath));
|
|
2953
2953
|
},
|
|
2954
2954
|
/**
|
|
2955
2955
|
*
|
|
2956
2956
|
* @summary This method checks if the given file exists and returns it
|
|
2957
2957
|
* @param {string} resourceId Id of the resource
|
|
2958
|
-
* @param {string} path Path to the file
|
|
2958
|
+
* @param {string} [path] Path to the file
|
|
2959
2959
|
* @param {*} [options] Override http request option.
|
|
2960
2960
|
* @throws {RequiredError}
|
|
2961
2961
|
*/
|
|
2962
|
-
|
|
2963
|
-
return localVarFp.
|
|
2962
|
+
blobGetFileWithParameter(resourceId, path, options) {
|
|
2963
|
+
return localVarFp.blobGetFileWithParameter(resourceId, path, options).then((request) => request(axios, basePath));
|
|
2964
2964
|
},
|
|
2965
2965
|
/**
|
|
2966
2966
|
*
|
|
@@ -2986,19 +2986,19 @@
|
|
|
2986
2986
|
*
|
|
2987
2987
|
* @summary This method uploads a given File
|
|
2988
2988
|
* @param {string} resourceId Id of the resource
|
|
2989
|
-
* @param {string} path Path to the file
|
|
2989
|
+
* @param {string} [path] Path to the file
|
|
2990
2990
|
* @param {Array<any>} [files]
|
|
2991
2991
|
* @param {*} [options] Override http request option.
|
|
2992
2992
|
* @throws {RequiredError}
|
|
2993
2993
|
*/
|
|
2994
|
-
|
|
2995
|
-
return localVarFp.
|
|
2994
|
+
blobUploadFileWithParameter(resourceId, path, files, options) {
|
|
2995
|
+
return localVarFp.blobUploadFileWithParameter(resourceId, path, files, options).then((request) => request(axios, basePath));
|
|
2996
2996
|
},
|
|
2997
2997
|
};
|
|
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) {
|
|
@@ -3068,14 +3068,27 @@
|
|
|
3068
3068
|
*
|
|
3069
3069
|
* @export
|
|
3070
3070
|
*/
|
|
3071
|
-
const
|
|
3071
|
+
const serializeDataIfNeeded$5 = function (value, requestOptions, configuration) {
|
|
3072
|
+
const nonString = typeof value !== 'string';
|
|
3073
|
+
const needsSerialization = nonString && configuration && configuration.isJsonMime
|
|
3074
|
+
? configuration.isJsonMime(requestOptions.headers['Content-Type'])
|
|
3075
|
+
: nonString;
|
|
3076
|
+
return needsSerialization
|
|
3077
|
+
? JSON.stringify(value !== undefined ? value : {})
|
|
3078
|
+
: (value || "");
|
|
3079
|
+
};
|
|
3080
|
+
/**
|
|
3081
|
+
*
|
|
3082
|
+
* @export
|
|
3083
|
+
*/
|
|
3084
|
+
const toPathString$9 = function (url) {
|
|
3072
3085
|
return url.pathname + url.search + url.hash;
|
|
3073
3086
|
};
|
|
3074
3087
|
/**
|
|
3075
3088
|
*
|
|
3076
3089
|
* @export
|
|
3077
3090
|
*/
|
|
3078
|
-
const createRequestFunction$
|
|
3091
|
+
const createRequestFunction$9 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
3079
3092
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
3080
3093
|
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
|
|
3081
3094
|
return axios.request(axiosRequestArgs);
|
|
@@ -3089,59 +3102,20 @@
|
|
|
3089
3102
|
*/
|
|
3090
3103
|
const MetadataApiAxiosParamCreator = function (configuration) {
|
|
3091
3104
|
return {
|
|
3092
|
-
/**
|
|
3093
|
-
*
|
|
3094
|
-
* @summary Returns the application profile with the fixed values for the given resource.
|
|
3095
|
-
* @param {string} profile Url of the application profile
|
|
3096
|
-
* @param {string} resourceId Id of the resource
|
|
3097
|
-
* @param {*} [options] Override http request option.
|
|
3098
|
-
* @throws {RequiredError}
|
|
3099
|
-
*/
|
|
3100
|
-
metadataGetApplicationProfileComplete: (profile, resourceId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3101
|
-
// verify required parameter 'profile' is not null or undefined
|
|
3102
|
-
assertParamExists$8('metadataGetApplicationProfileComplete', 'profile', profile);
|
|
3103
|
-
// verify required parameter 'resourceId' is not null or undefined
|
|
3104
|
-
assertParamExists$8('metadataGetApplicationProfileComplete', 'resourceId', resourceId);
|
|
3105
|
-
const localVarPath = `/Metadata/profiles/{profile}/{resourceId}`
|
|
3106
|
-
.replace(`{${"profile"}}`, encodeURIComponent(String(profile)))
|
|
3107
|
-
.replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)));
|
|
3108
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3109
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$8);
|
|
3110
|
-
let baseOptions;
|
|
3111
|
-
if (configuration) {
|
|
3112
|
-
baseOptions = configuration.baseOptions;
|
|
3113
|
-
}
|
|
3114
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
3115
|
-
const localVarHeaderParameter = {};
|
|
3116
|
-
const localVarQueryParameter = {};
|
|
3117
|
-
// authentication JWT token required
|
|
3118
|
-
yield setApiKeyToObject$8(localVarHeaderParameter, "Authorization", configuration);
|
|
3119
|
-
setSearchParams$8(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3120
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3121
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3122
|
-
return {
|
|
3123
|
-
url: toPathString$8(localVarUrlObj),
|
|
3124
|
-
options: localVarRequestOptions,
|
|
3125
|
-
};
|
|
3126
|
-
}),
|
|
3127
3105
|
/**
|
|
3128
3106
|
*
|
|
3129
3107
|
* @summary This method returns instances.
|
|
3130
|
-
* @param {string} projectId Id of the project
|
|
3131
3108
|
* @param {string} className class name
|
|
3132
3109
|
* @param {*} [options] Override http request option.
|
|
3133
3110
|
* @throws {RequiredError}
|
|
3134
3111
|
*/
|
|
3135
|
-
metadataGetClassInstances: (
|
|
3136
|
-
// verify required parameter 'projectId' is not null or undefined
|
|
3137
|
-
assertParamExists$8('metadataGetClassInstances', 'projectId', projectId);
|
|
3112
|
+
metadataGetClassInstances: (className, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3138
3113
|
// verify required parameter 'className' is not null or undefined
|
|
3139
3114
|
assertParamExists$8('metadataGetClassInstances', 'className', className);
|
|
3140
|
-
const localVarPath = `/Metadata/instances/{
|
|
3141
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)))
|
|
3115
|
+
const localVarPath = `/Metadata/instances/{className}`
|
|
3142
3116
|
.replace(`{${"className"}}`, encodeURIComponent(String(className)));
|
|
3143
3117
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3144
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
3118
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$9);
|
|
3145
3119
|
let baseOptions;
|
|
3146
3120
|
if (configuration) {
|
|
3147
3121
|
baseOptions = configuration.baseOptions;
|
|
@@ -3150,12 +3124,12 @@
|
|
|
3150
3124
|
const localVarHeaderParameter = {};
|
|
3151
3125
|
const localVarQueryParameter = {};
|
|
3152
3126
|
// authentication JWT token required
|
|
3153
|
-
yield setApiKeyToObject$
|
|
3154
|
-
setSearchParams$
|
|
3127
|
+
yield setApiKeyToObject$9(localVarHeaderParameter, "Authorization", configuration);
|
|
3128
|
+
setSearchParams$9(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3155
3129
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3156
3130
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3157
3131
|
return {
|
|
3158
|
-
url: toPathString$
|
|
3132
|
+
url: toPathString$9(localVarUrlObj),
|
|
3159
3133
|
options: localVarRequestOptions,
|
|
3160
3134
|
};
|
|
3161
3135
|
}),
|
|
@@ -3172,7 +3146,7 @@
|
|
|
3172
3146
|
const localVarPath = `/Metadata/profiles/{profile}`
|
|
3173
3147
|
.replace(`{${"profile"}}`, encodeURIComponent(String(profile)));
|
|
3174
3148
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3175
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
3149
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$9);
|
|
3176
3150
|
let baseOptions;
|
|
3177
3151
|
if (configuration) {
|
|
3178
3152
|
baseOptions = configuration.baseOptions;
|
|
@@ -3181,12 +3155,12 @@
|
|
|
3181
3155
|
const localVarHeaderParameter = {};
|
|
3182
3156
|
const localVarQueryParameter = {};
|
|
3183
3157
|
// authentication JWT token required
|
|
3184
|
-
yield setApiKeyToObject$
|
|
3185
|
-
setSearchParams$
|
|
3158
|
+
yield setApiKeyToObject$9(localVarHeaderParameter, "Authorization", configuration);
|
|
3159
|
+
setSearchParams$9(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3186
3160
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3187
3161
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3188
3162
|
return {
|
|
3189
|
-
url: toPathString$
|
|
3163
|
+
url: toPathString$9(localVarUrlObj),
|
|
3190
3164
|
options: localVarRequestOptions,
|
|
3191
3165
|
};
|
|
3192
3166
|
}),
|
|
@@ -3199,7 +3173,7 @@
|
|
|
3199
3173
|
metadataGetProfiles: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3200
3174
|
const localVarPath = `/Metadata/profiles`;
|
|
3201
3175
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3202
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
3176
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$9);
|
|
3203
3177
|
let baseOptions;
|
|
3204
3178
|
if (configuration) {
|
|
3205
3179
|
baseOptions = configuration.baseOptions;
|
|
@@ -3208,12 +3182,12 @@
|
|
|
3208
3182
|
const localVarHeaderParameter = {};
|
|
3209
3183
|
const localVarQueryParameter = {};
|
|
3210
3184
|
// authentication JWT token required
|
|
3211
|
-
yield setApiKeyToObject$
|
|
3212
|
-
setSearchParams$
|
|
3185
|
+
yield setApiKeyToObject$9(localVarHeaderParameter, "Authorization", configuration);
|
|
3186
|
+
setSearchParams$9(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3213
3187
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3214
3188
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3215
3189
|
return {
|
|
3216
|
-
url: toPathString$
|
|
3190
|
+
url: toPathString$9(localVarUrlObj),
|
|
3217
3191
|
options: localVarRequestOptions,
|
|
3218
3192
|
};
|
|
3219
3193
|
}),
|
|
@@ -3226,7 +3200,7 @@
|
|
|
3226
3200
|
metadataGetVocabularies: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3227
3201
|
const localVarPath = `/Metadata/vocabularies`;
|
|
3228
3202
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3229
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
3203
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$9);
|
|
3230
3204
|
let baseOptions;
|
|
3231
3205
|
if (configuration) {
|
|
3232
3206
|
baseOptions = configuration.baseOptions;
|
|
@@ -3235,12 +3209,12 @@
|
|
|
3235
3209
|
const localVarHeaderParameter = {};
|
|
3236
3210
|
const localVarQueryParameter = {};
|
|
3237
3211
|
// authentication JWT token required
|
|
3238
|
-
yield setApiKeyToObject$
|
|
3239
|
-
setSearchParams$
|
|
3212
|
+
yield setApiKeyToObject$9(localVarHeaderParameter, "Authorization", configuration);
|
|
3213
|
+
setSearchParams$9(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3240
3214
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3241
3215
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3242
3216
|
return {
|
|
3243
|
-
url: toPathString$
|
|
3217
|
+
url: toPathString$9(localVarUrlObj),
|
|
3244
3218
|
options: localVarRequestOptions,
|
|
3245
3219
|
};
|
|
3246
3220
|
}),
|
|
@@ -3257,7 +3231,7 @@
|
|
|
3257
3231
|
const localVarPath = `/Metadata/vocabularies/{path}`
|
|
3258
3232
|
.replace(`{${"path"}}`, encodeURIComponent(String(path)));
|
|
3259
3233
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3260
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
3234
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$9);
|
|
3261
3235
|
let baseOptions;
|
|
3262
3236
|
if (configuration) {
|
|
3263
3237
|
baseOptions = configuration.baseOptions;
|
|
@@ -3266,12 +3240,44 @@
|
|
|
3266
3240
|
const localVarHeaderParameter = {};
|
|
3267
3241
|
const localVarQueryParameter = {};
|
|
3268
3242
|
// authentication JWT token required
|
|
3269
|
-
yield setApiKeyToObject$
|
|
3270
|
-
setSearchParams$
|
|
3243
|
+
yield setApiKeyToObject$9(localVarHeaderParameter, "Authorization", configuration);
|
|
3244
|
+
setSearchParams$9(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3271
3245
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3272
3246
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3273
3247
|
return {
|
|
3274
|
-
url: toPathString$
|
|
3248
|
+
url: toPathString$9(localVarUrlObj),
|
|
3249
|
+
options: localVarRequestOptions,
|
|
3250
|
+
};
|
|
3251
|
+
}),
|
|
3252
|
+
/**
|
|
3253
|
+
*
|
|
3254
|
+
* @summary Create a request for storing a given application profile.
|
|
3255
|
+
* @param {ApplicationProfile} applicationProfile Object describing the application profile
|
|
3256
|
+
* @param {*} [options] Override http request option.
|
|
3257
|
+
* @throws {RequiredError}
|
|
3258
|
+
*/
|
|
3259
|
+
metadataSaveApplicationProfile: (applicationProfile, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3260
|
+
// verify required parameter 'applicationProfile' is not null or undefined
|
|
3261
|
+
assertParamExists$8('metadataSaveApplicationProfile', 'applicationProfile', applicationProfile);
|
|
3262
|
+
const localVarPath = `/Metadata/profiles`;
|
|
3263
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3264
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$9);
|
|
3265
|
+
let baseOptions;
|
|
3266
|
+
if (configuration) {
|
|
3267
|
+
baseOptions = configuration.baseOptions;
|
|
3268
|
+
}
|
|
3269
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
3270
|
+
const localVarHeaderParameter = {};
|
|
3271
|
+
const localVarQueryParameter = {};
|
|
3272
|
+
// authentication JWT token required
|
|
3273
|
+
yield setApiKeyToObject$9(localVarHeaderParameter, "Authorization", configuration);
|
|
3274
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3275
|
+
setSearchParams$9(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3276
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3277
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3278
|
+
localVarRequestOptions.data = serializeDataIfNeeded$5(applicationProfile, localVarRequestOptions, configuration);
|
|
3279
|
+
return {
|
|
3280
|
+
url: toPathString$9(localVarUrlObj),
|
|
3275
3281
|
options: localVarRequestOptions,
|
|
3276
3282
|
};
|
|
3277
3283
|
}),
|
|
@@ -3284,32 +3290,17 @@
|
|
|
3284
3290
|
const MetadataApiFp = function (configuration) {
|
|
3285
3291
|
const localVarAxiosParamCreator = MetadataApiAxiosParamCreator(configuration);
|
|
3286
3292
|
return {
|
|
3287
|
-
/**
|
|
3288
|
-
*
|
|
3289
|
-
* @summary Returns the application profile with the fixed values for the given resource.
|
|
3290
|
-
* @param {string} profile Url of the application profile
|
|
3291
|
-
* @param {string} resourceId Id of the resource
|
|
3292
|
-
* @param {*} [options] Override http request option.
|
|
3293
|
-
* @throws {RequiredError}
|
|
3294
|
-
*/
|
|
3295
|
-
metadataGetApplicationProfileComplete(profile, resourceId, options) {
|
|
3296
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
3297
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.metadataGetApplicationProfileComplete(profile, resourceId, options);
|
|
3298
|
-
return createRequestFunction$8(localVarAxiosArgs, axios, BASE_PATH$8, configuration);
|
|
3299
|
-
});
|
|
3300
|
-
},
|
|
3301
3293
|
/**
|
|
3302
3294
|
*
|
|
3303
3295
|
* @summary This method returns instances.
|
|
3304
|
-
* @param {string} projectId Id of the project
|
|
3305
3296
|
* @param {string} className class name
|
|
3306
3297
|
* @param {*} [options] Override http request option.
|
|
3307
3298
|
* @throws {RequiredError}
|
|
3308
3299
|
*/
|
|
3309
|
-
metadataGetClassInstances(
|
|
3300
|
+
metadataGetClassInstances(className, options) {
|
|
3310
3301
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3311
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.metadataGetClassInstances(
|
|
3312
|
-
return createRequestFunction$
|
|
3302
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.metadataGetClassInstances(className, options);
|
|
3303
|
+
return createRequestFunction$9(localVarAxiosArgs, axios, BASE_PATH$9, configuration);
|
|
3313
3304
|
});
|
|
3314
3305
|
},
|
|
3315
3306
|
/**
|
|
@@ -3322,7 +3313,7 @@
|
|
|
3322
3313
|
metadataGetProfile(profile, options) {
|
|
3323
3314
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3324
3315
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.metadataGetProfile(profile, options);
|
|
3325
|
-
return createRequestFunction$
|
|
3316
|
+
return createRequestFunction$9(localVarAxiosArgs, axios, BASE_PATH$9, configuration);
|
|
3326
3317
|
});
|
|
3327
3318
|
},
|
|
3328
3319
|
/**
|
|
@@ -3334,7 +3325,7 @@
|
|
|
3334
3325
|
metadataGetProfiles(options) {
|
|
3335
3326
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3336
3327
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.metadataGetProfiles(options);
|
|
3337
|
-
return createRequestFunction$
|
|
3328
|
+
return createRequestFunction$9(localVarAxiosArgs, axios, BASE_PATH$9, configuration);
|
|
3338
3329
|
});
|
|
3339
3330
|
},
|
|
3340
3331
|
/**
|
|
@@ -3346,7 +3337,7 @@
|
|
|
3346
3337
|
metadataGetVocabularies(options) {
|
|
3347
3338
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3348
3339
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.metadataGetVocabularies(options);
|
|
3349
|
-
return createRequestFunction$
|
|
3340
|
+
return createRequestFunction$9(localVarAxiosArgs, axios, BASE_PATH$9, configuration);
|
|
3350
3341
|
});
|
|
3351
3342
|
},
|
|
3352
3343
|
/**
|
|
@@ -3359,7 +3350,20 @@
|
|
|
3359
3350
|
metadataGetVocabulary(path, options) {
|
|
3360
3351
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3361
3352
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.metadataGetVocabulary(path, options);
|
|
3362
|
-
return createRequestFunction$
|
|
3353
|
+
return createRequestFunction$9(localVarAxiosArgs, axios, BASE_PATH$9, configuration);
|
|
3354
|
+
});
|
|
3355
|
+
},
|
|
3356
|
+
/**
|
|
3357
|
+
*
|
|
3358
|
+
* @summary Create a request for storing a given application profile.
|
|
3359
|
+
* @param {ApplicationProfile} applicationProfile Object describing the application profile
|
|
3360
|
+
* @param {*} [options] Override http request option.
|
|
3361
|
+
* @throws {RequiredError}
|
|
3362
|
+
*/
|
|
3363
|
+
metadataSaveApplicationProfile(applicationProfile, options) {
|
|
3364
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3365
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.metadataSaveApplicationProfile(applicationProfile, options);
|
|
3366
|
+
return createRequestFunction$9(localVarAxiosArgs, axios, BASE_PATH$9, configuration);
|
|
3363
3367
|
});
|
|
3364
3368
|
},
|
|
3365
3369
|
};
|
|
@@ -3371,27 +3375,15 @@
|
|
|
3371
3375
|
const MetadataApiFactory = function (configuration, basePath, axios) {
|
|
3372
3376
|
const localVarFp = MetadataApiFp(configuration);
|
|
3373
3377
|
return {
|
|
3374
|
-
/**
|
|
3375
|
-
*
|
|
3376
|
-
* @summary Returns the application profile with the fixed values for the given resource.
|
|
3377
|
-
* @param {string} profile Url of the application profile
|
|
3378
|
-
* @param {string} resourceId Id of the resource
|
|
3379
|
-
* @param {*} [options] Override http request option.
|
|
3380
|
-
* @throws {RequiredError}
|
|
3381
|
-
*/
|
|
3382
|
-
metadataGetApplicationProfileComplete(profile, resourceId, options) {
|
|
3383
|
-
return localVarFp.metadataGetApplicationProfileComplete(profile, resourceId, options).then((request) => request(axios, basePath));
|
|
3384
|
-
},
|
|
3385
3378
|
/**
|
|
3386
3379
|
*
|
|
3387
3380
|
* @summary This method returns instances.
|
|
3388
|
-
* @param {string} projectId Id of the project
|
|
3389
3381
|
* @param {string} className class name
|
|
3390
3382
|
* @param {*} [options] Override http request option.
|
|
3391
3383
|
* @throws {RequiredError}
|
|
3392
3384
|
*/
|
|
3393
|
-
metadataGetClassInstances(
|
|
3394
|
-
return localVarFp.metadataGetClassInstances(
|
|
3385
|
+
metadataGetClassInstances(className, options) {
|
|
3386
|
+
return localVarFp.metadataGetClassInstances(className, options).then((request) => request(axios, basePath));
|
|
3395
3387
|
},
|
|
3396
3388
|
/**
|
|
3397
3389
|
*
|
|
@@ -3431,11 +3423,21 @@
|
|
|
3431
3423
|
metadataGetVocabulary(path, options) {
|
|
3432
3424
|
return localVarFp.metadataGetVocabulary(path, options).then((request) => request(axios, basePath));
|
|
3433
3425
|
},
|
|
3426
|
+
/**
|
|
3427
|
+
*
|
|
3428
|
+
* @summary Create a request for storing a given application profile.
|
|
3429
|
+
* @param {ApplicationProfile} applicationProfile Object describing the application profile
|
|
3430
|
+
* @param {*} [options] Override http request option.
|
|
3431
|
+
* @throws {RequiredError}
|
|
3432
|
+
*/
|
|
3433
|
+
metadataSaveApplicationProfile(applicationProfile, options) {
|
|
3434
|
+
return localVarFp.metadataSaveApplicationProfile(applicationProfile, options).then((request) => request(axios, basePath));
|
|
3435
|
+
},
|
|
3434
3436
|
};
|
|
3435
3437
|
};
|
|
3436
3438
|
|
|
3437
3439
|
/* tslint:disable */
|
|
3438
|
-
const BASE_PATH$
|
|
3440
|
+
const BASE_PATH$8 = "https://d-sp23.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Notices".replace(/\/+$/, "");
|
|
3439
3441
|
/**
|
|
3440
3442
|
*
|
|
3441
3443
|
* @export
|
|
@@ -3455,7 +3457,7 @@
|
|
|
3455
3457
|
*
|
|
3456
3458
|
* @export
|
|
3457
3459
|
*/
|
|
3458
|
-
const DUMMY_BASE_URL$
|
|
3460
|
+
const DUMMY_BASE_URL$8 = 'https://example.com';
|
|
3459
3461
|
/**
|
|
3460
3462
|
*
|
|
3461
3463
|
* @throws {RequiredError}
|
|
@@ -3470,7 +3472,7 @@
|
|
|
3470
3472
|
*
|
|
3471
3473
|
* @export
|
|
3472
3474
|
*/
|
|
3473
|
-
const setApiKeyToObject$
|
|
3475
|
+
const setApiKeyToObject$8 = function (object, keyParamName, configuration) {
|
|
3474
3476
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3475
3477
|
if (configuration && configuration.apiKey) {
|
|
3476
3478
|
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
@@ -3484,7 +3486,7 @@
|
|
|
3484
3486
|
*
|
|
3485
3487
|
* @export
|
|
3486
3488
|
*/
|
|
3487
|
-
const setSearchParams$
|
|
3489
|
+
const setSearchParams$8 = function (url, ...objects) {
|
|
3488
3490
|
const searchParams = new URLSearchParams(url.search);
|
|
3489
3491
|
for (const object of objects) {
|
|
3490
3492
|
for (const key in object) {
|
|
@@ -3505,14 +3507,14 @@
|
|
|
3505
3507
|
*
|
|
3506
3508
|
* @export
|
|
3507
3509
|
*/
|
|
3508
|
-
const toPathString$
|
|
3510
|
+
const toPathString$8 = function (url) {
|
|
3509
3511
|
return url.pathname + url.search + url.hash;
|
|
3510
3512
|
};
|
|
3511
3513
|
/**
|
|
3512
3514
|
*
|
|
3513
3515
|
* @export
|
|
3514
3516
|
*/
|
|
3515
|
-
const createRequestFunction$
|
|
3517
|
+
const createRequestFunction$8 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
3516
3518
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
3517
3519
|
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
|
|
3518
3520
|
return axios.request(axiosRequestArgs);
|
|
@@ -3535,7 +3537,7 @@
|
|
|
3535
3537
|
noticeGetMaintenance: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3536
3538
|
const localVarPath = `/Notice/getMaintenance`;
|
|
3537
3539
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3538
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
3540
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$8);
|
|
3539
3541
|
let baseOptions;
|
|
3540
3542
|
if (configuration) {
|
|
3541
3543
|
baseOptions = configuration.baseOptions;
|
|
@@ -3544,12 +3546,12 @@
|
|
|
3544
3546
|
const localVarHeaderParameter = {};
|
|
3545
3547
|
const localVarQueryParameter = {};
|
|
3546
3548
|
// authentication JWT token required
|
|
3547
|
-
yield setApiKeyToObject$
|
|
3548
|
-
setSearchParams$
|
|
3549
|
+
yield setApiKeyToObject$8(localVarHeaderParameter, "Authorization", configuration);
|
|
3550
|
+
setSearchParams$8(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3549
3551
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3550
3552
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3551
3553
|
return {
|
|
3552
|
-
url: toPathString$
|
|
3554
|
+
url: toPathString$8(localVarUrlObj),
|
|
3553
3555
|
options: localVarRequestOptions,
|
|
3554
3556
|
};
|
|
3555
3557
|
}),
|
|
@@ -3567,7 +3569,7 @@
|
|
|
3567
3569
|
const localVarPath = `/Notice/{documentSlug}`
|
|
3568
3570
|
.replace(`{${"documentSlug"}}`, encodeURIComponent(String(documentSlug)));
|
|
3569
3571
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3570
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
3572
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$8);
|
|
3571
3573
|
let baseOptions;
|
|
3572
3574
|
if (configuration) {
|
|
3573
3575
|
baseOptions = configuration.baseOptions;
|
|
@@ -3576,15 +3578,15 @@
|
|
|
3576
3578
|
const localVarHeaderParameter = {};
|
|
3577
3579
|
const localVarQueryParameter = {};
|
|
3578
3580
|
// authentication JWT token required
|
|
3579
|
-
yield setApiKeyToObject$
|
|
3581
|
+
yield setApiKeyToObject$8(localVarHeaderParameter, "Authorization", configuration);
|
|
3580
3582
|
if (language !== undefined) {
|
|
3581
3583
|
localVarQueryParameter['language'] = language;
|
|
3582
3584
|
}
|
|
3583
|
-
setSearchParams$
|
|
3585
|
+
setSearchParams$8(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3584
3586
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3585
3587
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3586
3588
|
return {
|
|
3587
|
-
url: toPathString$
|
|
3589
|
+
url: toPathString$8(localVarUrlObj),
|
|
3588
3590
|
options: localVarRequestOptions,
|
|
3589
3591
|
};
|
|
3590
3592
|
}),
|
|
@@ -3606,7 +3608,7 @@
|
|
|
3606
3608
|
noticeGetMaintenance(options) {
|
|
3607
3609
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3608
3610
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.noticeGetMaintenance(options);
|
|
3609
|
-
return createRequestFunction$
|
|
3611
|
+
return createRequestFunction$8(localVarAxiosArgs, axios, BASE_PATH$8, configuration);
|
|
3610
3612
|
});
|
|
3611
3613
|
},
|
|
3612
3614
|
/**
|
|
@@ -3620,7 +3622,7 @@
|
|
|
3620
3622
|
noticeGetNotice(documentSlug, language, options) {
|
|
3621
3623
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3622
3624
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.noticeGetNotice(documentSlug, language, options);
|
|
3623
|
-
return createRequestFunction$
|
|
3625
|
+
return createRequestFunction$8(localVarAxiosArgs, axios, BASE_PATH$8, configuration);
|
|
3624
3626
|
});
|
|
3625
3627
|
},
|
|
3626
3628
|
};
|
|
@@ -3656,7 +3658,7 @@
|
|
|
3656
3658
|
};
|
|
3657
3659
|
|
|
3658
3660
|
/* tslint:disable */
|
|
3659
|
-
const BASE_PATH$
|
|
3661
|
+
const BASE_PATH$7 = "https://d-sp23.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Organization".replace(/\/+$/, "");
|
|
3660
3662
|
/**
|
|
3661
3663
|
*
|
|
3662
3664
|
* @export
|
|
@@ -3676,7 +3678,7 @@
|
|
|
3676
3678
|
*
|
|
3677
3679
|
* @export
|
|
3678
3680
|
*/
|
|
3679
|
-
const DUMMY_BASE_URL$
|
|
3681
|
+
const DUMMY_BASE_URL$7 = 'https://example.com';
|
|
3680
3682
|
/**
|
|
3681
3683
|
*
|
|
3682
3684
|
* @throws {RequiredError}
|
|
@@ -3691,7 +3693,7 @@
|
|
|
3691
3693
|
*
|
|
3692
3694
|
* @export
|
|
3693
3695
|
*/
|
|
3694
|
-
const setApiKeyToObject$
|
|
3696
|
+
const setApiKeyToObject$7 = function (object, keyParamName, configuration) {
|
|
3695
3697
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3696
3698
|
if (configuration && configuration.apiKey) {
|
|
3697
3699
|
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
@@ -3705,7 +3707,7 @@
|
|
|
3705
3707
|
*
|
|
3706
3708
|
* @export
|
|
3707
3709
|
*/
|
|
3708
|
-
const setSearchParams$
|
|
3710
|
+
const setSearchParams$7 = function (url, ...objects) {
|
|
3709
3711
|
const searchParams = new URLSearchParams(url.search);
|
|
3710
3712
|
for (const object of objects) {
|
|
3711
3713
|
for (const key in object) {
|
|
@@ -3726,14 +3728,14 @@
|
|
|
3726
3728
|
*
|
|
3727
3729
|
* @export
|
|
3728
3730
|
*/
|
|
3729
|
-
const toPathString$
|
|
3731
|
+
const toPathString$7 = function (url) {
|
|
3730
3732
|
return url.pathname + url.search + url.hash;
|
|
3731
3733
|
};
|
|
3732
3734
|
/**
|
|
3733
3735
|
*
|
|
3734
3736
|
* @export
|
|
3735
3737
|
*/
|
|
3736
|
-
const createRequestFunction$
|
|
3738
|
+
const createRequestFunction$7 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
3737
3739
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
3738
3740
|
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
|
|
3739
3741
|
return axios.request(axiosRequestArgs);
|
|
@@ -3760,7 +3762,7 @@
|
|
|
3760
3762
|
const localVarPath = `/Organization/{url}`
|
|
3761
3763
|
.replace(`{${"url"}}`, encodeURIComponent(String(url)));
|
|
3762
3764
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3763
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
3765
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
3764
3766
|
let baseOptions;
|
|
3765
3767
|
if (configuration) {
|
|
3766
3768
|
baseOptions = configuration.baseOptions;
|
|
@@ -3769,12 +3771,12 @@
|
|
|
3769
3771
|
const localVarHeaderParameter = {};
|
|
3770
3772
|
const localVarQueryParameter = {};
|
|
3771
3773
|
// authentication JWT token required
|
|
3772
|
-
yield setApiKeyToObject$
|
|
3773
|
-
setSearchParams$
|
|
3774
|
+
yield setApiKeyToObject$7(localVarHeaderParameter, "Authorization", configuration);
|
|
3775
|
+
setSearchParams$7(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3774
3776
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3775
3777
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3776
3778
|
return {
|
|
3777
|
-
url: toPathString$
|
|
3779
|
+
url: toPathString$7(localVarUrlObj),
|
|
3778
3780
|
options: localVarRequestOptions,
|
|
3779
3781
|
};
|
|
3780
3782
|
}),
|
|
@@ -3788,7 +3790,7 @@
|
|
|
3788
3790
|
organizationGetROR: (filter, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3789
3791
|
const localVarPath = `/Organization/-/ror`;
|
|
3790
3792
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3791
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
3793
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
3792
3794
|
let baseOptions;
|
|
3793
3795
|
if (configuration) {
|
|
3794
3796
|
baseOptions = configuration.baseOptions;
|
|
@@ -3797,15 +3799,15 @@
|
|
|
3797
3799
|
const localVarHeaderParameter = {};
|
|
3798
3800
|
const localVarQueryParameter = {};
|
|
3799
3801
|
// authentication JWT token required
|
|
3800
|
-
yield setApiKeyToObject$
|
|
3802
|
+
yield setApiKeyToObject$7(localVarHeaderParameter, "Authorization", configuration);
|
|
3801
3803
|
if (filter !== undefined) {
|
|
3802
3804
|
localVarQueryParameter['filter'] = filter;
|
|
3803
3805
|
}
|
|
3804
|
-
setSearchParams$
|
|
3806
|
+
setSearchParams$7(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3805
3807
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3806
3808
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3807
3809
|
return {
|
|
3808
|
-
url: toPathString$
|
|
3810
|
+
url: toPathString$7(localVarUrlObj),
|
|
3809
3811
|
options: localVarRequestOptions,
|
|
3810
3812
|
};
|
|
3811
3813
|
}),
|
|
@@ -3820,7 +3822,7 @@
|
|
|
3820
3822
|
organizationIndex: (member, filter, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3821
3823
|
const localVarPath = `/Organization`;
|
|
3822
3824
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3823
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
3825
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
3824
3826
|
let baseOptions;
|
|
3825
3827
|
if (configuration) {
|
|
3826
3828
|
baseOptions = configuration.baseOptions;
|
|
@@ -3829,18 +3831,18 @@
|
|
|
3829
3831
|
const localVarHeaderParameter = {};
|
|
3830
3832
|
const localVarQueryParameter = {};
|
|
3831
3833
|
// authentication JWT token required
|
|
3832
|
-
yield setApiKeyToObject$
|
|
3834
|
+
yield setApiKeyToObject$7(localVarHeaderParameter, "Authorization", configuration);
|
|
3833
3835
|
if (member !== undefined) {
|
|
3834
3836
|
localVarQueryParameter['member'] = member;
|
|
3835
3837
|
}
|
|
3836
3838
|
if (filter !== undefined) {
|
|
3837
3839
|
localVarQueryParameter['filter'] = filter;
|
|
3838
3840
|
}
|
|
3839
|
-
setSearchParams$
|
|
3841
|
+
setSearchParams$7(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3840
3842
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3841
3843
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3842
3844
|
return {
|
|
3843
|
-
url: toPathString$
|
|
3845
|
+
url: toPathString$7(localVarUrlObj),
|
|
3844
3846
|
options: localVarRequestOptions,
|
|
3845
3847
|
};
|
|
3846
3848
|
}),
|
|
@@ -3857,7 +3859,7 @@
|
|
|
3857
3859
|
const localVarPath = `/Organization/-/isMember/{url}`
|
|
3858
3860
|
.replace(`{${"url"}}`, encodeURIComponent(String(url)));
|
|
3859
3861
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3860
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
3862
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
3861
3863
|
let baseOptions;
|
|
3862
3864
|
if (configuration) {
|
|
3863
3865
|
baseOptions = configuration.baseOptions;
|
|
@@ -3866,12 +3868,12 @@
|
|
|
3866
3868
|
const localVarHeaderParameter = {};
|
|
3867
3869
|
const localVarQueryParameter = {};
|
|
3868
3870
|
// authentication JWT token required
|
|
3869
|
-
yield setApiKeyToObject$
|
|
3870
|
-
setSearchParams$
|
|
3871
|
+
yield setApiKeyToObject$7(localVarHeaderParameter, "Authorization", configuration);
|
|
3872
|
+
setSearchParams$7(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3871
3873
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3872
3874
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3873
3875
|
return {
|
|
3874
|
-
url: toPathString$
|
|
3876
|
+
url: toPathString$7(localVarUrlObj),
|
|
3875
3877
|
options: localVarRequestOptions,
|
|
3876
3878
|
};
|
|
3877
3879
|
}),
|
|
@@ -3884,7 +3886,7 @@
|
|
|
3884
3886
|
organizationIsMember2: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3885
3887
|
const localVarPath = `/Organization/-/isMember`;
|
|
3886
3888
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3887
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
3889
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
3888
3890
|
let baseOptions;
|
|
3889
3891
|
if (configuration) {
|
|
3890
3892
|
baseOptions = configuration.baseOptions;
|
|
@@ -3893,12 +3895,12 @@
|
|
|
3893
3895
|
const localVarHeaderParameter = {};
|
|
3894
3896
|
const localVarQueryParameter = {};
|
|
3895
3897
|
// authentication JWT token required
|
|
3896
|
-
yield setApiKeyToObject$
|
|
3897
|
-
setSearchParams$
|
|
3898
|
+
yield setApiKeyToObject$7(localVarHeaderParameter, "Authorization", configuration);
|
|
3899
|
+
setSearchParams$7(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3898
3900
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3899
3901
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3900
3902
|
return {
|
|
3901
|
-
url: toPathString$
|
|
3903
|
+
url: toPathString$7(localVarUrlObj),
|
|
3902
3904
|
options: localVarRequestOptions,
|
|
3903
3905
|
};
|
|
3904
3906
|
}),
|
|
@@ -3921,7 +3923,7 @@
|
|
|
3921
3923
|
organizationGetOrganization(url, options) {
|
|
3922
3924
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3923
3925
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.organizationGetOrganization(url, options);
|
|
3924
|
-
return createRequestFunction$
|
|
3926
|
+
return createRequestFunction$7(localVarAxiosArgs, axios, BASE_PATH$7, configuration);
|
|
3925
3927
|
});
|
|
3926
3928
|
},
|
|
3927
3929
|
/**
|
|
@@ -3934,7 +3936,7 @@
|
|
|
3934
3936
|
organizationGetROR(filter, options) {
|
|
3935
3937
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3936
3938
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.organizationGetROR(filter, options);
|
|
3937
|
-
return createRequestFunction$
|
|
3939
|
+
return createRequestFunction$7(localVarAxiosArgs, axios, BASE_PATH$7, configuration);
|
|
3938
3940
|
});
|
|
3939
3941
|
},
|
|
3940
3942
|
/**
|
|
@@ -3948,7 +3950,7 @@
|
|
|
3948
3950
|
organizationIndex(member, filter, options) {
|
|
3949
3951
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3950
3952
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.organizationIndex(member, filter, options);
|
|
3951
|
-
return createRequestFunction$
|
|
3953
|
+
return createRequestFunction$7(localVarAxiosArgs, axios, BASE_PATH$7, configuration);
|
|
3952
3954
|
});
|
|
3953
3955
|
},
|
|
3954
3956
|
/**
|
|
@@ -3961,7 +3963,7 @@
|
|
|
3961
3963
|
organizationIsMember(url, options) {
|
|
3962
3964
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3963
3965
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.organizationIsMember(url, options);
|
|
3964
|
-
return createRequestFunction$
|
|
3966
|
+
return createRequestFunction$7(localVarAxiosArgs, axios, BASE_PATH$7, configuration);
|
|
3965
3967
|
});
|
|
3966
3968
|
},
|
|
3967
3969
|
/**
|
|
@@ -3973,7 +3975,7 @@
|
|
|
3973
3975
|
organizationIsMember2(options) {
|
|
3974
3976
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3975
3977
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.organizationIsMember2(options);
|
|
3976
|
-
return createRequestFunction$
|
|
3978
|
+
return createRequestFunction$7(localVarAxiosArgs, axios, BASE_PATH$7, configuration);
|
|
3977
3979
|
});
|
|
3978
3980
|
},
|
|
3979
3981
|
};
|
|
@@ -4039,7 +4041,7 @@
|
|
|
4039
4041
|
};
|
|
4040
4042
|
|
|
4041
4043
|
/* tslint:disable */
|
|
4042
|
-
const BASE_PATH$
|
|
4044
|
+
const BASE_PATH$6 = "https://d-sp23.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Project".replace(/\/+$/, "");
|
|
4043
4045
|
/**
|
|
4044
4046
|
*
|
|
4045
4047
|
* @export
|
|
@@ -4059,7 +4061,7 @@
|
|
|
4059
4061
|
*
|
|
4060
4062
|
* @export
|
|
4061
4063
|
*/
|
|
4062
|
-
const DUMMY_BASE_URL$
|
|
4064
|
+
const DUMMY_BASE_URL$6 = 'https://example.com';
|
|
4063
4065
|
/**
|
|
4064
4066
|
*
|
|
4065
4067
|
* @throws {RequiredError}
|
|
@@ -4074,7 +4076,7 @@
|
|
|
4074
4076
|
*
|
|
4075
4077
|
* @export
|
|
4076
4078
|
*/
|
|
4077
|
-
const setApiKeyToObject$
|
|
4079
|
+
const setApiKeyToObject$6 = function (object, keyParamName, configuration) {
|
|
4078
4080
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4079
4081
|
if (configuration && configuration.apiKey) {
|
|
4080
4082
|
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
@@ -4088,7 +4090,7 @@
|
|
|
4088
4090
|
*
|
|
4089
4091
|
* @export
|
|
4090
4092
|
*/
|
|
4091
|
-
const setSearchParams$
|
|
4093
|
+
const setSearchParams$6 = function (url, ...objects) {
|
|
4092
4094
|
const searchParams = new URLSearchParams(url.search);
|
|
4093
4095
|
for (const object of objects) {
|
|
4094
4096
|
for (const key in object) {
|
|
@@ -4122,14 +4124,14 @@
|
|
|
4122
4124
|
*
|
|
4123
4125
|
* @export
|
|
4124
4126
|
*/
|
|
4125
|
-
const toPathString$
|
|
4127
|
+
const toPathString$6 = function (url) {
|
|
4126
4128
|
return url.pathname + url.search + url.hash;
|
|
4127
4129
|
};
|
|
4128
4130
|
/**
|
|
4129
4131
|
*
|
|
4130
4132
|
* @export
|
|
4131
4133
|
*/
|
|
4132
|
-
const createRequestFunction$
|
|
4134
|
+
const createRequestFunction$6 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
4133
4135
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
4134
4136
|
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
|
|
4135
4137
|
return axios.request(axiosRequestArgs);
|
|
@@ -4152,7 +4154,7 @@
|
|
|
4152
4154
|
disciplineIndex: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4153
4155
|
const localVarPath = `/Discipline`;
|
|
4154
4156
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4155
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4157
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4156
4158
|
let baseOptions;
|
|
4157
4159
|
if (configuration) {
|
|
4158
4160
|
baseOptions = configuration.baseOptions;
|
|
@@ -4161,12 +4163,12 @@
|
|
|
4161
4163
|
const localVarHeaderParameter = {};
|
|
4162
4164
|
const localVarQueryParameter = {};
|
|
4163
4165
|
// authentication JWT token required
|
|
4164
|
-
yield setApiKeyToObject$
|
|
4165
|
-
setSearchParams$
|
|
4166
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4167
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4166
4168
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4167
4169
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4168
4170
|
return {
|
|
4169
|
-
url: toPathString$
|
|
4171
|
+
url: toPathString$6(localVarUrlObj),
|
|
4170
4172
|
options: localVarRequestOptions,
|
|
4171
4173
|
};
|
|
4172
4174
|
}),
|
|
@@ -4188,7 +4190,7 @@
|
|
|
4188
4190
|
disciplineIndex(options) {
|
|
4189
4191
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4190
4192
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.disciplineIndex(options);
|
|
4191
|
-
return createRequestFunction$
|
|
4193
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4192
4194
|
});
|
|
4193
4195
|
},
|
|
4194
4196
|
};
|
|
@@ -4226,7 +4228,7 @@
|
|
|
4226
4228
|
licenseIndex: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4227
4229
|
const localVarPath = `/License`;
|
|
4228
4230
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4229
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4231
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4230
4232
|
let baseOptions;
|
|
4231
4233
|
if (configuration) {
|
|
4232
4234
|
baseOptions = configuration.baseOptions;
|
|
@@ -4235,12 +4237,12 @@
|
|
|
4235
4237
|
const localVarHeaderParameter = {};
|
|
4236
4238
|
const localVarQueryParameter = {};
|
|
4237
4239
|
// authentication JWT token required
|
|
4238
|
-
yield setApiKeyToObject$
|
|
4239
|
-
setSearchParams$
|
|
4240
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4241
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4240
4242
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4241
4243
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4242
4244
|
return {
|
|
4243
|
-
url: toPathString$
|
|
4245
|
+
url: toPathString$6(localVarUrlObj),
|
|
4244
4246
|
options: localVarRequestOptions,
|
|
4245
4247
|
};
|
|
4246
4248
|
}),
|
|
@@ -4262,7 +4264,7 @@
|
|
|
4262
4264
|
licenseIndex(options) {
|
|
4263
4265
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4264
4266
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.licenseIndex(options);
|
|
4265
|
-
return createRequestFunction$
|
|
4267
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4266
4268
|
});
|
|
4267
4269
|
},
|
|
4268
4270
|
};
|
|
@@ -4304,7 +4306,7 @@
|
|
|
4304
4306
|
const localVarPath = `/Project/{id}`
|
|
4305
4307
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
4306
4308
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4307
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4309
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4308
4310
|
let baseOptions;
|
|
4309
4311
|
if (configuration) {
|
|
4310
4312
|
baseOptions = configuration.baseOptions;
|
|
@@ -4313,12 +4315,12 @@
|
|
|
4313
4315
|
const localVarHeaderParameter = {};
|
|
4314
4316
|
const localVarQueryParameter = {};
|
|
4315
4317
|
// authentication JWT token required
|
|
4316
|
-
yield setApiKeyToObject$
|
|
4317
|
-
setSearchParams$
|
|
4318
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4319
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4318
4320
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4319
4321
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4320
4322
|
return {
|
|
4321
|
-
url: toPathString$
|
|
4323
|
+
url: toPathString$6(localVarUrlObj),
|
|
4322
4324
|
options: localVarRequestOptions,
|
|
4323
4325
|
};
|
|
4324
4326
|
}),
|
|
@@ -4335,7 +4337,7 @@
|
|
|
4335
4337
|
const localVarPath = `/Project/invitation/{invitationId}`
|
|
4336
4338
|
.replace(`{${"invitationId"}}`, encodeURIComponent(String(invitationId)));
|
|
4337
4339
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4338
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4340
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4339
4341
|
let baseOptions;
|
|
4340
4342
|
if (configuration) {
|
|
4341
4343
|
baseOptions = configuration.baseOptions;
|
|
@@ -4344,12 +4346,12 @@
|
|
|
4344
4346
|
const localVarHeaderParameter = {};
|
|
4345
4347
|
const localVarQueryParameter = {};
|
|
4346
4348
|
// authentication JWT token required
|
|
4347
|
-
yield setApiKeyToObject$
|
|
4348
|
-
setSearchParams$
|
|
4349
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4350
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4349
4351
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4350
4352
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4351
4353
|
return {
|
|
4352
|
-
url: toPathString$
|
|
4354
|
+
url: toPathString$6(localVarUrlObj),
|
|
4353
4355
|
options: localVarRequestOptions,
|
|
4354
4356
|
};
|
|
4355
4357
|
}),
|
|
@@ -4366,7 +4368,7 @@
|
|
|
4366
4368
|
const localVarPath = `/Project/{id}`
|
|
4367
4369
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
4368
4370
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4369
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4371
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4370
4372
|
let baseOptions;
|
|
4371
4373
|
if (configuration) {
|
|
4372
4374
|
baseOptions = configuration.baseOptions;
|
|
@@ -4375,12 +4377,12 @@
|
|
|
4375
4377
|
const localVarHeaderParameter = {};
|
|
4376
4378
|
const localVarQueryParameter = {};
|
|
4377
4379
|
// authentication JWT token required
|
|
4378
|
-
yield setApiKeyToObject$
|
|
4379
|
-
setSearchParams$
|
|
4380
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4381
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4380
4382
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4381
4383
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4382
4384
|
return {
|
|
4383
|
-
url: toPathString$
|
|
4385
|
+
url: toPathString$6(localVarUrlObj),
|
|
4384
4386
|
options: localVarRequestOptions,
|
|
4385
4387
|
};
|
|
4386
4388
|
}),
|
|
@@ -4401,7 +4403,7 @@
|
|
|
4401
4403
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)))
|
|
4402
4404
|
.replace(`{${"resourceTypeId"}}`, encodeURIComponent(String(resourceTypeId)));
|
|
4403
4405
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4404
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4406
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4405
4407
|
let baseOptions;
|
|
4406
4408
|
if (configuration) {
|
|
4407
4409
|
baseOptions = configuration.baseOptions;
|
|
@@ -4410,12 +4412,12 @@
|
|
|
4410
4412
|
const localVarHeaderParameter = {};
|
|
4411
4413
|
const localVarQueryParameter = {};
|
|
4412
4414
|
// authentication JWT token required
|
|
4413
|
-
yield setApiKeyToObject$
|
|
4414
|
-
setSearchParams$
|
|
4415
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4416
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4415
4417
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4416
4418
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4417
4419
|
return {
|
|
4418
|
-
url: toPathString$
|
|
4420
|
+
url: toPathString$6(localVarUrlObj),
|
|
4419
4421
|
options: localVarRequestOptions,
|
|
4420
4422
|
};
|
|
4421
4423
|
}),
|
|
@@ -4432,7 +4434,7 @@
|
|
|
4432
4434
|
const localVarPath = `/Project/{id}/resources`
|
|
4433
4435
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
4434
4436
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4435
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4437
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4436
4438
|
let baseOptions;
|
|
4437
4439
|
if (configuration) {
|
|
4438
4440
|
baseOptions = configuration.baseOptions;
|
|
@@ -4441,12 +4443,12 @@
|
|
|
4441
4443
|
const localVarHeaderParameter = {};
|
|
4442
4444
|
const localVarQueryParameter = {};
|
|
4443
4445
|
// authentication JWT token required
|
|
4444
|
-
yield setApiKeyToObject$
|
|
4445
|
-
setSearchParams$
|
|
4446
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4447
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4446
4448
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4447
4449
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4448
4450
|
return {
|
|
4449
|
-
url: toPathString$
|
|
4451
|
+
url: toPathString$6(localVarUrlObj),
|
|
4450
4452
|
options: localVarRequestOptions,
|
|
4451
4453
|
};
|
|
4452
4454
|
}),
|
|
@@ -4459,7 +4461,7 @@
|
|
|
4459
4461
|
projectGetTopLevelProjects: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4460
4462
|
const localVarPath = `/Project/-/topLevel`;
|
|
4461
4463
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4462
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4464
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4463
4465
|
let baseOptions;
|
|
4464
4466
|
if (configuration) {
|
|
4465
4467
|
baseOptions = configuration.baseOptions;
|
|
@@ -4468,12 +4470,12 @@
|
|
|
4468
4470
|
const localVarHeaderParameter = {};
|
|
4469
4471
|
const localVarQueryParameter = {};
|
|
4470
4472
|
// authentication JWT token required
|
|
4471
|
-
yield setApiKeyToObject$
|
|
4472
|
-
setSearchParams$
|
|
4473
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4474
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4473
4475
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4474
4476
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4475
4477
|
return {
|
|
4476
|
-
url: toPathString$
|
|
4478
|
+
url: toPathString$6(localVarUrlObj),
|
|
4477
4479
|
options: localVarRequestOptions,
|
|
4478
4480
|
};
|
|
4479
4481
|
}),
|
|
@@ -4486,7 +4488,7 @@
|
|
|
4486
4488
|
projectIndex: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4487
4489
|
const localVarPath = `/Project`;
|
|
4488
4490
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4489
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4491
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4490
4492
|
let baseOptions;
|
|
4491
4493
|
if (configuration) {
|
|
4492
4494
|
baseOptions = configuration.baseOptions;
|
|
@@ -4495,12 +4497,12 @@
|
|
|
4495
4497
|
const localVarHeaderParameter = {};
|
|
4496
4498
|
const localVarQueryParameter = {};
|
|
4497
4499
|
// authentication JWT token required
|
|
4498
|
-
yield setApiKeyToObject$
|
|
4499
|
-
setSearchParams$
|
|
4500
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4501
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4500
4502
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4501
4503
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4502
4504
|
return {
|
|
4503
|
-
url: toPathString$
|
|
4505
|
+
url: toPathString$6(localVarUrlObj),
|
|
4504
4506
|
options: localVarRequestOptions,
|
|
4505
4507
|
};
|
|
4506
4508
|
}),
|
|
@@ -4517,7 +4519,7 @@
|
|
|
4517
4519
|
const localVarPath = `/Project/invitation/list/{projectId}`
|
|
4518
4520
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
4519
4521
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4520
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4522
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4521
4523
|
let baseOptions;
|
|
4522
4524
|
if (configuration) {
|
|
4523
4525
|
baseOptions = configuration.baseOptions;
|
|
@@ -4526,12 +4528,12 @@
|
|
|
4526
4528
|
const localVarHeaderParameter = {};
|
|
4527
4529
|
const localVarQueryParameter = {};
|
|
4528
4530
|
// authentication JWT token required
|
|
4529
|
-
yield setApiKeyToObject$
|
|
4530
|
-
setSearchParams$
|
|
4531
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4532
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4531
4533
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4532
4534
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4533
4535
|
return {
|
|
4534
|
-
url: toPathString$
|
|
4536
|
+
url: toPathString$6(localVarUrlObj),
|
|
4535
4537
|
options: localVarRequestOptions,
|
|
4536
4538
|
};
|
|
4537
4539
|
}),
|
|
@@ -4552,7 +4554,7 @@
|
|
|
4552
4554
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)))
|
|
4553
4555
|
.replace(`{${"resourceTypeId"}}`, encodeURIComponent(String(resourceTypeId)));
|
|
4554
4556
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4555
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4557
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4556
4558
|
let baseOptions;
|
|
4557
4559
|
if (configuration) {
|
|
4558
4560
|
baseOptions = configuration.baseOptions;
|
|
@@ -4561,12 +4563,12 @@
|
|
|
4561
4563
|
const localVarHeaderParameter = {};
|
|
4562
4564
|
const localVarQueryParameter = {};
|
|
4563
4565
|
// authentication JWT token required
|
|
4564
|
-
yield setApiKeyToObject$
|
|
4565
|
-
setSearchParams$
|
|
4566
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4567
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4566
4568
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4567
4569
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4568
4570
|
return {
|
|
4569
|
-
url: toPathString$
|
|
4571
|
+
url: toPathString$6(localVarUrlObj),
|
|
4570
4572
|
options: localVarRequestOptions,
|
|
4571
4573
|
};
|
|
4572
4574
|
}),
|
|
@@ -4583,7 +4585,7 @@
|
|
|
4583
4585
|
const localVarPath = `/Project/{projectId}/quota/-/all`
|
|
4584
4586
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
4585
4587
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4586
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4588
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4587
4589
|
let baseOptions;
|
|
4588
4590
|
if (configuration) {
|
|
4589
4591
|
baseOptions = configuration.baseOptions;
|
|
@@ -4592,12 +4594,12 @@
|
|
|
4592
4594
|
const localVarHeaderParameter = {};
|
|
4593
4595
|
const localVarQueryParameter = {};
|
|
4594
4596
|
// authentication JWT token required
|
|
4595
|
-
yield setApiKeyToObject$
|
|
4596
|
-
setSearchParams$
|
|
4597
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4598
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4597
4599
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4598
4600
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4599
4601
|
return {
|
|
4600
|
-
url: toPathString$
|
|
4602
|
+
url: toPathString$6(localVarUrlObj),
|
|
4601
4603
|
options: localVarRequestOptions,
|
|
4602
4604
|
};
|
|
4603
4605
|
}),
|
|
@@ -4614,7 +4616,7 @@
|
|
|
4614
4616
|
const localVarPath = `/Project/invitation/resolve/{token}`
|
|
4615
4617
|
.replace(`{${"token"}}`, encodeURIComponent(String(token)));
|
|
4616
4618
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4617
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4619
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4618
4620
|
let baseOptions;
|
|
4619
4621
|
if (configuration) {
|
|
4620
4622
|
baseOptions = configuration.baseOptions;
|
|
@@ -4623,12 +4625,12 @@
|
|
|
4623
4625
|
const localVarHeaderParameter = {};
|
|
4624
4626
|
const localVarQueryParameter = {};
|
|
4625
4627
|
// authentication JWT token required
|
|
4626
|
-
yield setApiKeyToObject$
|
|
4627
|
-
setSearchParams$
|
|
4628
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4629
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4628
4630
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4629
4631
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4630
4632
|
return {
|
|
4631
|
-
url: toPathString$
|
|
4633
|
+
url: toPathString$6(localVarUrlObj),
|
|
4632
4634
|
options: localVarRequestOptions,
|
|
4633
4635
|
};
|
|
4634
4636
|
}),
|
|
@@ -4644,7 +4646,7 @@
|
|
|
4644
4646
|
assertParamExists$5('projectSendInvitation', 'sendInvitationObject', sendInvitationObject);
|
|
4645
4647
|
const localVarPath = `/Project/invitation`;
|
|
4646
4648
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4647
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4649
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4648
4650
|
let baseOptions;
|
|
4649
4651
|
if (configuration) {
|
|
4650
4652
|
baseOptions = configuration.baseOptions;
|
|
@@ -4653,14 +4655,14 @@
|
|
|
4653
4655
|
const localVarHeaderParameter = {};
|
|
4654
4656
|
const localVarQueryParameter = {};
|
|
4655
4657
|
// authentication JWT token required
|
|
4656
|
-
yield setApiKeyToObject$
|
|
4658
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4657
4659
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4658
|
-
setSearchParams$
|
|
4660
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4659
4661
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4660
4662
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4661
4663
|
localVarRequestOptions.data = serializeDataIfNeeded$4(sendInvitationObject, localVarRequestOptions, configuration);
|
|
4662
4664
|
return {
|
|
4663
|
-
url: toPathString$
|
|
4665
|
+
url: toPathString$6(localVarUrlObj),
|
|
4664
4666
|
options: localVarRequestOptions,
|
|
4665
4667
|
};
|
|
4666
4668
|
}),
|
|
@@ -4673,7 +4675,7 @@
|
|
|
4673
4675
|
projectStore: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4674
4676
|
const localVarPath = `/Project`;
|
|
4675
4677
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4676
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4678
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4677
4679
|
let baseOptions;
|
|
4678
4680
|
if (configuration) {
|
|
4679
4681
|
baseOptions = configuration.baseOptions;
|
|
@@ -4682,12 +4684,12 @@
|
|
|
4682
4684
|
const localVarHeaderParameter = {};
|
|
4683
4685
|
const localVarQueryParameter = {};
|
|
4684
4686
|
// authentication JWT token required
|
|
4685
|
-
yield setApiKeyToObject$
|
|
4686
|
-
setSearchParams$
|
|
4687
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4688
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4687
4689
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4688
4690
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4689
4691
|
return {
|
|
4690
|
-
url: toPathString$
|
|
4692
|
+
url: toPathString$6(localVarUrlObj),
|
|
4691
4693
|
options: localVarRequestOptions,
|
|
4692
4694
|
};
|
|
4693
4695
|
}),
|
|
@@ -4704,7 +4706,7 @@
|
|
|
4704
4706
|
const localVarPath = `/Project/{id}`
|
|
4705
4707
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
4706
4708
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4707
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4709
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4708
4710
|
let baseOptions;
|
|
4709
4711
|
if (configuration) {
|
|
4710
4712
|
baseOptions = configuration.baseOptions;
|
|
@@ -4713,12 +4715,12 @@
|
|
|
4713
4715
|
const localVarHeaderParameter = {};
|
|
4714
4716
|
const localVarQueryParameter = {};
|
|
4715
4717
|
// authentication JWT token required
|
|
4716
|
-
yield setApiKeyToObject$
|
|
4717
|
-
setSearchParams$
|
|
4718
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4719
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4718
4720
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4719
4721
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4720
4722
|
return {
|
|
4721
|
-
url: toPathString$
|
|
4723
|
+
url: toPathString$6(localVarUrlObj),
|
|
4722
4724
|
options: localVarRequestOptions,
|
|
4723
4725
|
};
|
|
4724
4726
|
}),
|
|
@@ -4742,7 +4744,7 @@
|
|
|
4742
4744
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)))
|
|
4743
4745
|
.replace(`{${"resourceTypeId"}}`, encodeURIComponent(String(resourceTypeId)));
|
|
4744
4746
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4745
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4747
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4746
4748
|
let baseOptions;
|
|
4747
4749
|
if (configuration) {
|
|
4748
4750
|
baseOptions = configuration.baseOptions;
|
|
@@ -4751,14 +4753,14 @@
|
|
|
4751
4753
|
const localVarHeaderParameter = {};
|
|
4752
4754
|
const localVarQueryParameter = {};
|
|
4753
4755
|
// authentication JWT token required
|
|
4754
|
-
yield setApiKeyToObject$
|
|
4756
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4755
4757
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4756
|
-
setSearchParams$
|
|
4758
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4757
4759
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4758
4760
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4759
4761
|
localVarRequestOptions.data = serializeDataIfNeeded$4(updateProjectQuotaObject, localVarRequestOptions, configuration);
|
|
4760
4762
|
return {
|
|
4761
|
-
url: toPathString$
|
|
4763
|
+
url: toPathString$6(localVarUrlObj),
|
|
4762
4764
|
options: localVarRequestOptions,
|
|
4763
4765
|
};
|
|
4764
4766
|
}),
|
|
@@ -4781,7 +4783,7 @@
|
|
|
4781
4783
|
projectDelete(id, options) {
|
|
4782
4784
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4783
4785
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectDelete(id, options);
|
|
4784
|
-
return createRequestFunction$
|
|
4786
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4785
4787
|
});
|
|
4786
4788
|
},
|
|
4787
4789
|
/**
|
|
@@ -4794,7 +4796,7 @@
|
|
|
4794
4796
|
projectDeleteInvitation(invitationId, options) {
|
|
4795
4797
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4796
4798
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectDeleteInvitation(invitationId, options);
|
|
4797
|
-
return createRequestFunction$
|
|
4799
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4798
4800
|
});
|
|
4799
4801
|
},
|
|
4800
4802
|
/**
|
|
@@ -4807,7 +4809,7 @@
|
|
|
4807
4809
|
projectGet(id, options) {
|
|
4808
4810
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4809
4811
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectGet(id, options);
|
|
4810
|
-
return createRequestFunction$
|
|
4812
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4811
4813
|
});
|
|
4812
4814
|
},
|
|
4813
4815
|
/**
|
|
@@ -4821,7 +4823,7 @@
|
|
|
4821
4823
|
projectGetQuotaMax(projectId, resourceTypeId, options) {
|
|
4822
4824
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4823
4825
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectGetQuotaMax(projectId, resourceTypeId, options);
|
|
4824
|
-
return createRequestFunction$
|
|
4826
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4825
4827
|
});
|
|
4826
4828
|
},
|
|
4827
4829
|
/**
|
|
@@ -4834,7 +4836,7 @@
|
|
|
4834
4836
|
projectGetResources(id, options) {
|
|
4835
4837
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4836
4838
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectGetResources(id, options);
|
|
4837
|
-
return createRequestFunction$
|
|
4839
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4838
4840
|
});
|
|
4839
4841
|
},
|
|
4840
4842
|
/**
|
|
@@ -4846,7 +4848,7 @@
|
|
|
4846
4848
|
projectGetTopLevelProjects(options) {
|
|
4847
4849
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4848
4850
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectGetTopLevelProjects(options);
|
|
4849
|
-
return createRequestFunction$
|
|
4851
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4850
4852
|
});
|
|
4851
4853
|
},
|
|
4852
4854
|
/**
|
|
@@ -4858,7 +4860,7 @@
|
|
|
4858
4860
|
projectIndex(options) {
|
|
4859
4861
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4860
4862
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectIndex(options);
|
|
4861
|
-
return createRequestFunction$
|
|
4863
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4862
4864
|
});
|
|
4863
4865
|
},
|
|
4864
4866
|
/**
|
|
@@ -4871,7 +4873,7 @@
|
|
|
4871
4873
|
projectListInvitations(projectId, options) {
|
|
4872
4874
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4873
4875
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectListInvitations(projectId, options);
|
|
4874
|
-
return createRequestFunction$
|
|
4876
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4875
4877
|
});
|
|
4876
4878
|
},
|
|
4877
4879
|
/**
|
|
@@ -4885,7 +4887,7 @@
|
|
|
4885
4887
|
projectQuota(projectId, resourceTypeId, options) {
|
|
4886
4888
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4887
4889
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectQuota(projectId, resourceTypeId, options);
|
|
4888
|
-
return createRequestFunction$
|
|
4890
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4889
4891
|
});
|
|
4890
4892
|
},
|
|
4891
4893
|
/**
|
|
@@ -4898,7 +4900,7 @@
|
|
|
4898
4900
|
projectQuotas(projectId, options) {
|
|
4899
4901
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4900
4902
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectQuotas(projectId, options);
|
|
4901
|
-
return createRequestFunction$
|
|
4903
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4902
4904
|
});
|
|
4903
4905
|
},
|
|
4904
4906
|
/**
|
|
@@ -4911,7 +4913,7 @@
|
|
|
4911
4913
|
projectResolveInvitation(token, options) {
|
|
4912
4914
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4913
4915
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectResolveInvitation(token, options);
|
|
4914
|
-
return createRequestFunction$
|
|
4916
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4915
4917
|
});
|
|
4916
4918
|
},
|
|
4917
4919
|
/**
|
|
@@ -4924,7 +4926,7 @@
|
|
|
4924
4926
|
projectSendInvitation(sendInvitationObject, options) {
|
|
4925
4927
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4926
4928
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectSendInvitation(sendInvitationObject, options);
|
|
4927
|
-
return createRequestFunction$
|
|
4929
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4928
4930
|
});
|
|
4929
4931
|
},
|
|
4930
4932
|
/**
|
|
@@ -4936,7 +4938,7 @@
|
|
|
4936
4938
|
projectStore(options) {
|
|
4937
4939
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4938
4940
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectStore(options);
|
|
4939
|
-
return createRequestFunction$
|
|
4941
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4940
4942
|
});
|
|
4941
4943
|
},
|
|
4942
4944
|
/**
|
|
@@ -4949,7 +4951,7 @@
|
|
|
4949
4951
|
projectUpdate(id, options) {
|
|
4950
4952
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4951
4953
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectUpdate(id, options);
|
|
4952
|
-
return createRequestFunction$
|
|
4954
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4953
4955
|
});
|
|
4954
4956
|
},
|
|
4955
4957
|
/**
|
|
@@ -4964,7 +4966,7 @@
|
|
|
4964
4966
|
projectUpdateQuota(projectId, resourceTypeId, updateProjectQuotaObject, options) {
|
|
4965
4967
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4966
4968
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectUpdateQuota(projectId, resourceTypeId, updateProjectQuotaObject, options);
|
|
4967
|
-
return createRequestFunction$
|
|
4969
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4968
4970
|
});
|
|
4969
4971
|
},
|
|
4970
4972
|
};
|
|
@@ -5156,7 +5158,7 @@
|
|
|
5156
5158
|
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)))
|
|
5157
5159
|
.replace(`{${"roleId"}}`, encodeURIComponent(String(roleId)));
|
|
5158
5160
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5159
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5161
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
5160
5162
|
let baseOptions;
|
|
5161
5163
|
if (configuration) {
|
|
5162
5164
|
baseOptions = configuration.baseOptions;
|
|
@@ -5165,12 +5167,12 @@
|
|
|
5165
5167
|
const localVarHeaderParameter = {};
|
|
5166
5168
|
const localVarQueryParameter = {};
|
|
5167
5169
|
// authentication JWT token required
|
|
5168
|
-
yield setApiKeyToObject$
|
|
5169
|
-
setSearchParams$
|
|
5170
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
5171
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5170
5172
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5171
5173
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5172
5174
|
return {
|
|
5173
|
-
url: toPathString$
|
|
5175
|
+
url: toPathString$6(localVarUrlObj),
|
|
5174
5176
|
options: localVarRequestOptions,
|
|
5175
5177
|
};
|
|
5176
5178
|
}),
|
|
@@ -5187,7 +5189,7 @@
|
|
|
5187
5189
|
const localVarPath = `/ProjectRole/project/{projectId}/user`
|
|
5188
5190
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
5189
5191
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5190
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5192
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
5191
5193
|
let baseOptions;
|
|
5192
5194
|
if (configuration) {
|
|
5193
5195
|
baseOptions = configuration.baseOptions;
|
|
@@ -5196,12 +5198,12 @@
|
|
|
5196
5198
|
const localVarHeaderParameter = {};
|
|
5197
5199
|
const localVarQueryParameter = {};
|
|
5198
5200
|
// authentication JWT token required
|
|
5199
|
-
yield setApiKeyToObject$
|
|
5200
|
-
setSearchParams$
|
|
5201
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
5202
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5201
5203
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5202
5204
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5203
5205
|
return {
|
|
5204
|
-
url: toPathString$
|
|
5206
|
+
url: toPathString$6(localVarUrlObj),
|
|
5205
5207
|
options: localVarRequestOptions,
|
|
5206
5208
|
};
|
|
5207
5209
|
}),
|
|
@@ -5218,7 +5220,7 @@
|
|
|
5218
5220
|
const localVarPath = `/ProjectRole/project/{projectId}`
|
|
5219
5221
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
5220
5222
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5221
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5223
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
5222
5224
|
let baseOptions;
|
|
5223
5225
|
if (configuration) {
|
|
5224
5226
|
baseOptions = configuration.baseOptions;
|
|
@@ -5227,12 +5229,12 @@
|
|
|
5227
5229
|
const localVarHeaderParameter = {};
|
|
5228
5230
|
const localVarQueryParameter = {};
|
|
5229
5231
|
// authentication JWT token required
|
|
5230
|
-
yield setApiKeyToObject$
|
|
5231
|
-
setSearchParams$
|
|
5232
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
5233
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5232
5234
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5233
5235
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5234
5236
|
return {
|
|
5235
|
-
url: toPathString$
|
|
5237
|
+
url: toPathString$6(localVarUrlObj),
|
|
5236
5238
|
options: localVarRequestOptions,
|
|
5237
5239
|
};
|
|
5238
5240
|
}),
|
|
@@ -5249,7 +5251,7 @@
|
|
|
5249
5251
|
const localVarPath = `/ProjectRole/{projectId}`
|
|
5250
5252
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
5251
5253
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5252
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5254
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
5253
5255
|
let baseOptions;
|
|
5254
5256
|
if (configuration) {
|
|
5255
5257
|
baseOptions = configuration.baseOptions;
|
|
@@ -5258,12 +5260,12 @@
|
|
|
5258
5260
|
const localVarHeaderParameter = {};
|
|
5259
5261
|
const localVarQueryParameter = {};
|
|
5260
5262
|
// authentication JWT token required
|
|
5261
|
-
yield setApiKeyToObject$
|
|
5262
|
-
setSearchParams$
|
|
5263
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
5264
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5263
5265
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5264
5266
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5265
5267
|
return {
|
|
5266
|
-
url: toPathString$
|
|
5268
|
+
url: toPathString$6(localVarUrlObj),
|
|
5267
5269
|
options: localVarRequestOptions,
|
|
5268
5270
|
};
|
|
5269
5271
|
}),
|
|
@@ -5276,7 +5278,7 @@
|
|
|
5276
5278
|
projectRoleSet: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5277
5279
|
const localVarPath = `/ProjectRole`;
|
|
5278
5280
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5279
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5281
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
5280
5282
|
let baseOptions;
|
|
5281
5283
|
if (configuration) {
|
|
5282
5284
|
baseOptions = configuration.baseOptions;
|
|
@@ -5285,12 +5287,12 @@
|
|
|
5285
5287
|
const localVarHeaderParameter = {};
|
|
5286
5288
|
const localVarQueryParameter = {};
|
|
5287
5289
|
// authentication JWT token required
|
|
5288
|
-
yield setApiKeyToObject$
|
|
5289
|
-
setSearchParams$
|
|
5290
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
5291
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5290
5292
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5291
5293
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5292
5294
|
return {
|
|
5293
|
-
url: toPathString$
|
|
5295
|
+
url: toPathString$6(localVarUrlObj),
|
|
5294
5296
|
options: localVarRequestOptions,
|
|
5295
5297
|
};
|
|
5296
5298
|
}),
|
|
@@ -5315,7 +5317,7 @@
|
|
|
5315
5317
|
projectRoleDelete(projectId, userId, roleId, options) {
|
|
5316
5318
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5317
5319
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectRoleDelete(projectId, userId, roleId, options);
|
|
5318
|
-
return createRequestFunction$
|
|
5320
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5319
5321
|
});
|
|
5320
5322
|
},
|
|
5321
5323
|
/**
|
|
@@ -5328,7 +5330,7 @@
|
|
|
5328
5330
|
projectRoleDelete2(projectId, options) {
|
|
5329
5331
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5330
5332
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectRoleDelete2(projectId, options);
|
|
5331
|
-
return createRequestFunction$
|
|
5333
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5332
5334
|
});
|
|
5333
5335
|
},
|
|
5334
5336
|
/**
|
|
@@ -5341,7 +5343,7 @@
|
|
|
5341
5343
|
projectRoleGet(projectId, options) {
|
|
5342
5344
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5343
5345
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectRoleGet(projectId, options);
|
|
5344
|
-
return createRequestFunction$
|
|
5346
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5345
5347
|
});
|
|
5346
5348
|
},
|
|
5347
5349
|
/**
|
|
@@ -5354,7 +5356,7 @@
|
|
|
5354
5356
|
projectRoleIndex(projectId, options) {
|
|
5355
5357
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5356
5358
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectRoleIndex(projectId, options);
|
|
5357
|
-
return createRequestFunction$
|
|
5359
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5358
5360
|
});
|
|
5359
5361
|
},
|
|
5360
5362
|
/**
|
|
@@ -5366,7 +5368,7 @@
|
|
|
5366
5368
|
projectRoleSet(options) {
|
|
5367
5369
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5368
5370
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectRoleSet(options);
|
|
5369
|
-
return createRequestFunction$
|
|
5371
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5370
5372
|
});
|
|
5371
5373
|
},
|
|
5372
5374
|
};
|
|
@@ -5446,7 +5448,7 @@
|
|
|
5446
5448
|
roleIndex: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5447
5449
|
const localVarPath = `/Role`;
|
|
5448
5450
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5449
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5451
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
5450
5452
|
let baseOptions;
|
|
5451
5453
|
if (configuration) {
|
|
5452
5454
|
baseOptions = configuration.baseOptions;
|
|
@@ -5455,12 +5457,12 @@
|
|
|
5455
5457
|
const localVarHeaderParameter = {};
|
|
5456
5458
|
const localVarQueryParameter = {};
|
|
5457
5459
|
// authentication JWT token required
|
|
5458
|
-
yield setApiKeyToObject$
|
|
5459
|
-
setSearchParams$
|
|
5460
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
5461
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5460
5462
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5461
5463
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5462
5464
|
return {
|
|
5463
|
-
url: toPathString$
|
|
5465
|
+
url: toPathString$6(localVarUrlObj),
|
|
5464
5466
|
options: localVarRequestOptions,
|
|
5465
5467
|
};
|
|
5466
5468
|
}),
|
|
@@ -5482,7 +5484,7 @@
|
|
|
5482
5484
|
roleIndex(options) {
|
|
5483
5485
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5484
5486
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.roleIndex(options);
|
|
5485
|
-
return createRequestFunction$
|
|
5487
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5486
5488
|
});
|
|
5487
5489
|
},
|
|
5488
5490
|
};
|
|
@@ -5524,7 +5526,7 @@
|
|
|
5524
5526
|
const localVarPath = `/Search/all/{encodedSearchWord}`
|
|
5525
5527
|
.replace(`{${"encodedSearchWord"}}`, encodeURIComponent(String(encodedSearchWord)));
|
|
5526
5528
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5527
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5529
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
5528
5530
|
let baseOptions;
|
|
5529
5531
|
if (configuration) {
|
|
5530
5532
|
baseOptions = configuration.baseOptions;
|
|
@@ -5533,12 +5535,12 @@
|
|
|
5533
5535
|
const localVarHeaderParameter = {};
|
|
5534
5536
|
const localVarQueryParameter = {};
|
|
5535
5537
|
// authentication JWT token required
|
|
5536
|
-
yield setApiKeyToObject$
|
|
5537
|
-
setSearchParams$
|
|
5538
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
5539
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5538
5540
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5539
5541
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5540
5542
|
return {
|
|
5541
|
-
url: toPathString$
|
|
5543
|
+
url: toPathString$6(localVarUrlObj),
|
|
5542
5544
|
options: localVarRequestOptions,
|
|
5543
5545
|
};
|
|
5544
5546
|
}),
|
|
@@ -5551,7 +5553,7 @@
|
|
|
5551
5553
|
searchSearchNoFilter: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5552
5554
|
const localVarPath = `/Search/allNoFilter`;
|
|
5553
5555
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5554
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5556
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
5555
5557
|
let baseOptions;
|
|
5556
5558
|
if (configuration) {
|
|
5557
5559
|
baseOptions = configuration.baseOptions;
|
|
@@ -5560,12 +5562,12 @@
|
|
|
5560
5562
|
const localVarHeaderParameter = {};
|
|
5561
5563
|
const localVarQueryParameter = {};
|
|
5562
5564
|
// authentication JWT token required
|
|
5563
|
-
yield setApiKeyToObject$
|
|
5564
|
-
setSearchParams$
|
|
5565
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
5566
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5565
5567
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5566
5568
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5567
5569
|
return {
|
|
5568
|
-
url: toPathString$
|
|
5570
|
+
url: toPathString$6(localVarUrlObj),
|
|
5569
5571
|
options: localVarRequestOptions,
|
|
5570
5572
|
};
|
|
5571
5573
|
}),
|
|
@@ -5586,7 +5588,7 @@
|
|
|
5586
5588
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)))
|
|
5587
5589
|
.replace(`{${"encodedSearchWord"}}`, encodeURIComponent(String(encodedSearchWord)));
|
|
5588
5590
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5589
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5591
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
5590
5592
|
let baseOptions;
|
|
5591
5593
|
if (configuration) {
|
|
5592
5594
|
baseOptions = configuration.baseOptions;
|
|
@@ -5595,12 +5597,12 @@
|
|
|
5595
5597
|
const localVarHeaderParameter = {};
|
|
5596
5598
|
const localVarQueryParameter = {};
|
|
5597
5599
|
// authentication JWT token required
|
|
5598
|
-
yield setApiKeyToObject$
|
|
5599
|
-
setSearchParams$
|
|
5600
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
5601
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5600
5602
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5601
5603
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5602
5604
|
return {
|
|
5603
|
-
url: toPathString$
|
|
5605
|
+
url: toPathString$6(localVarUrlObj),
|
|
5604
5606
|
options: localVarRequestOptions,
|
|
5605
5607
|
};
|
|
5606
5608
|
}),
|
|
@@ -5617,7 +5619,7 @@
|
|
|
5617
5619
|
const localVarPath = `/Search/projectNoFilter/{projectId}`
|
|
5618
5620
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
5619
5621
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5620
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5622
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
5621
5623
|
let baseOptions;
|
|
5622
5624
|
if (configuration) {
|
|
5623
5625
|
baseOptions = configuration.baseOptions;
|
|
@@ -5626,12 +5628,12 @@
|
|
|
5626
5628
|
const localVarHeaderParameter = {};
|
|
5627
5629
|
const localVarQueryParameter = {};
|
|
5628
5630
|
// authentication JWT token required
|
|
5629
|
-
yield setApiKeyToObject$
|
|
5630
|
-
setSearchParams$
|
|
5631
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
5632
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5631
5633
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5632
5634
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5633
5635
|
return {
|
|
5634
|
-
url: toPathString$
|
|
5636
|
+
url: toPathString$6(localVarUrlObj),
|
|
5635
5637
|
options: localVarRequestOptions,
|
|
5636
5638
|
};
|
|
5637
5639
|
}),
|
|
@@ -5654,7 +5656,7 @@
|
|
|
5654
5656
|
searchSearch(encodedSearchWord, options) {
|
|
5655
5657
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5656
5658
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.searchSearch(encodedSearchWord, options);
|
|
5657
|
-
return createRequestFunction$
|
|
5659
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5658
5660
|
});
|
|
5659
5661
|
},
|
|
5660
5662
|
/**
|
|
@@ -5666,7 +5668,7 @@
|
|
|
5666
5668
|
searchSearchNoFilter(options) {
|
|
5667
5669
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5668
5670
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.searchSearchNoFilter(options);
|
|
5669
|
-
return createRequestFunction$
|
|
5671
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5670
5672
|
});
|
|
5671
5673
|
},
|
|
5672
5674
|
/**
|
|
@@ -5680,7 +5682,7 @@
|
|
|
5680
5682
|
searchSearchProject(projectId, encodedSearchWord, options) {
|
|
5681
5683
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5682
5684
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.searchSearchProject(projectId, encodedSearchWord, options);
|
|
5683
|
-
return createRequestFunction$
|
|
5685
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5684
5686
|
});
|
|
5685
5687
|
},
|
|
5686
5688
|
/**
|
|
@@ -5693,7 +5695,7 @@
|
|
|
5693
5695
|
searchSearchProjectNoFilter(projectId, options) {
|
|
5694
5696
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5695
5697
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.searchSearchProjectNoFilter(projectId, options);
|
|
5696
|
-
return createRequestFunction$
|
|
5698
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5697
5699
|
});
|
|
5698
5700
|
},
|
|
5699
5701
|
};
|
|
@@ -5766,7 +5768,7 @@
|
|
|
5766
5768
|
const localVarPath = `/SubProject/{parentId}`
|
|
5767
5769
|
.replace(`{${"parentId"}}`, encodeURIComponent(String(parentId)));
|
|
5768
5770
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5769
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5771
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
5770
5772
|
let baseOptions;
|
|
5771
5773
|
if (configuration) {
|
|
5772
5774
|
baseOptions = configuration.baseOptions;
|
|
@@ -5775,12 +5777,12 @@
|
|
|
5775
5777
|
const localVarHeaderParameter = {};
|
|
5776
5778
|
const localVarQueryParameter = {};
|
|
5777
5779
|
// authentication JWT token required
|
|
5778
|
-
yield setApiKeyToObject$
|
|
5779
|
-
setSearchParams$
|
|
5780
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
5781
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5780
5782
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5781
5783
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5782
5784
|
return {
|
|
5783
|
-
url: toPathString$
|
|
5785
|
+
url: toPathString$6(localVarUrlObj),
|
|
5784
5786
|
options: localVarRequestOptions,
|
|
5785
5787
|
};
|
|
5786
5788
|
}),
|
|
@@ -5797,7 +5799,7 @@
|
|
|
5797
5799
|
const localVarPath = `/SubProject/{childId}/accessibleParent`
|
|
5798
5800
|
.replace(`{${"childId"}}`, encodeURIComponent(String(childId)));
|
|
5799
5801
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5800
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5802
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
5801
5803
|
let baseOptions;
|
|
5802
5804
|
if (configuration) {
|
|
5803
5805
|
baseOptions = configuration.baseOptions;
|
|
@@ -5806,12 +5808,12 @@
|
|
|
5806
5808
|
const localVarHeaderParameter = {};
|
|
5807
5809
|
const localVarQueryParameter = {};
|
|
5808
5810
|
// authentication JWT token required
|
|
5809
|
-
yield setApiKeyToObject$
|
|
5810
|
-
setSearchParams$
|
|
5811
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
5812
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5811
5813
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5812
5814
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5813
5815
|
return {
|
|
5814
|
-
url: toPathString$
|
|
5816
|
+
url: toPathString$6(localVarUrlObj),
|
|
5815
5817
|
options: localVarRequestOptions,
|
|
5816
5818
|
};
|
|
5817
5819
|
}),
|
|
@@ -5834,7 +5836,7 @@
|
|
|
5834
5836
|
subProjectGet(parentId, options) {
|
|
5835
5837
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5836
5838
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.subProjectGet(parentId, options);
|
|
5837
|
-
return createRequestFunction$
|
|
5839
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5838
5840
|
});
|
|
5839
5841
|
},
|
|
5840
5842
|
/**
|
|
@@ -5847,7 +5849,7 @@
|
|
|
5847
5849
|
subProjectGetAccessibleParent(childId, options) {
|
|
5848
5850
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5849
5851
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.subProjectGetAccessibleParent(childId, options);
|
|
5850
|
-
return createRequestFunction$
|
|
5852
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5851
5853
|
});
|
|
5852
5854
|
},
|
|
5853
5855
|
};
|
|
@@ -5896,7 +5898,7 @@
|
|
|
5896
5898
|
visibilityIndex: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5897
5899
|
const localVarPath = `/Visibility`;
|
|
5898
5900
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5899
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5901
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
5900
5902
|
let baseOptions;
|
|
5901
5903
|
if (configuration) {
|
|
5902
5904
|
baseOptions = configuration.baseOptions;
|
|
@@ -5905,12 +5907,12 @@
|
|
|
5905
5907
|
const localVarHeaderParameter = {};
|
|
5906
5908
|
const localVarQueryParameter = {};
|
|
5907
5909
|
// authentication JWT token required
|
|
5908
|
-
yield setApiKeyToObject$
|
|
5909
|
-
setSearchParams$
|
|
5910
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
5911
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5910
5912
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5911
5913
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5912
5914
|
return {
|
|
5913
|
-
url: toPathString$
|
|
5915
|
+
url: toPathString$6(localVarUrlObj),
|
|
5914
5916
|
options: localVarRequestOptions,
|
|
5915
5917
|
};
|
|
5916
5918
|
}),
|
|
@@ -5932,7 +5934,7 @@
|
|
|
5932
5934
|
visibilityIndex(options) {
|
|
5933
5935
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5934
5936
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.visibilityIndex(options);
|
|
5935
|
-
return createRequestFunction$
|
|
5937
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5936
5938
|
});
|
|
5937
5939
|
},
|
|
5938
5940
|
};
|
|
@@ -5957,7 +5959,7 @@
|
|
|
5957
5959
|
};
|
|
5958
5960
|
|
|
5959
5961
|
/* tslint:disable */
|
|
5960
|
-
const BASE_PATH$
|
|
5962
|
+
const BASE_PATH$5 = "https://d-sp23.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Quota".replace(/\/+$/, "");
|
|
5961
5963
|
/**
|
|
5962
5964
|
*
|
|
5963
5965
|
* @export
|
|
@@ -5977,7 +5979,7 @@
|
|
|
5977
5979
|
*
|
|
5978
5980
|
* @export
|
|
5979
5981
|
*/
|
|
5980
|
-
const DUMMY_BASE_URL$
|
|
5982
|
+
const DUMMY_BASE_URL$5 = 'https://example.com';
|
|
5981
5983
|
/**
|
|
5982
5984
|
*
|
|
5983
5985
|
* @throws {RequiredError}
|
|
@@ -5992,7 +5994,7 @@
|
|
|
5992
5994
|
*
|
|
5993
5995
|
* @export
|
|
5994
5996
|
*/
|
|
5995
|
-
const setApiKeyToObject$
|
|
5997
|
+
const setApiKeyToObject$5 = function (object, keyParamName, configuration) {
|
|
5996
5998
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5997
5999
|
if (configuration && configuration.apiKey) {
|
|
5998
6000
|
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
@@ -6006,7 +6008,7 @@
|
|
|
6006
6008
|
*
|
|
6007
6009
|
* @export
|
|
6008
6010
|
*/
|
|
6009
|
-
const setSearchParams$
|
|
6011
|
+
const setSearchParams$5 = function (url, ...objects) {
|
|
6010
6012
|
const searchParams = new URLSearchParams(url.search);
|
|
6011
6013
|
for (const object of objects) {
|
|
6012
6014
|
for (const key in object) {
|
|
@@ -6040,14 +6042,14 @@
|
|
|
6040
6042
|
*
|
|
6041
6043
|
* @export
|
|
6042
6044
|
*/
|
|
6043
|
-
const toPathString$
|
|
6045
|
+
const toPathString$5 = function (url) {
|
|
6044
6046
|
return url.pathname + url.search + url.hash;
|
|
6045
6047
|
};
|
|
6046
6048
|
/**
|
|
6047
6049
|
*
|
|
6048
6050
|
* @export
|
|
6049
6051
|
*/
|
|
6050
|
-
const createRequestFunction$
|
|
6052
|
+
const createRequestFunction$5 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
6051
6053
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
6052
6054
|
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
|
|
6053
6055
|
return axios.request(axiosRequestArgs);
|
|
@@ -6074,7 +6076,7 @@
|
|
|
6074
6076
|
const localVarPath = `/Quota/{resourceId}`
|
|
6075
6077
|
.replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)));
|
|
6076
6078
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6077
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
6079
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
|
|
6078
6080
|
let baseOptions;
|
|
6079
6081
|
if (configuration) {
|
|
6080
6082
|
baseOptions = configuration.baseOptions;
|
|
@@ -6083,12 +6085,12 @@
|
|
|
6083
6085
|
const localVarHeaderParameter = {};
|
|
6084
6086
|
const localVarQueryParameter = {};
|
|
6085
6087
|
// authentication JWT token required
|
|
6086
|
-
yield setApiKeyToObject$
|
|
6087
|
-
setSearchParams$
|
|
6088
|
+
yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
|
|
6089
|
+
setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6088
6090
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6089
6091
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6090
6092
|
return {
|
|
6091
|
-
url: toPathString$
|
|
6093
|
+
url: toPathString$5(localVarUrlObj),
|
|
6092
6094
|
options: localVarRequestOptions,
|
|
6093
6095
|
};
|
|
6094
6096
|
}),
|
|
@@ -6109,7 +6111,7 @@
|
|
|
6109
6111
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)))
|
|
6110
6112
|
.replace(`{${"resourceTypeId"}}`, encodeURIComponent(String(resourceTypeId)));
|
|
6111
6113
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6112
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
6114
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
|
|
6113
6115
|
let baseOptions;
|
|
6114
6116
|
if (configuration) {
|
|
6115
6117
|
baseOptions = configuration.baseOptions;
|
|
@@ -6118,12 +6120,12 @@
|
|
|
6118
6120
|
const localVarHeaderParameter = {};
|
|
6119
6121
|
const localVarQueryParameter = {};
|
|
6120
6122
|
// authentication JWT token required
|
|
6121
|
-
yield setApiKeyToObject$
|
|
6122
|
-
setSearchParams$
|
|
6123
|
+
yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
|
|
6124
|
+
setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6123
6125
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6124
6126
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6125
6127
|
return {
|
|
6126
|
-
url: toPathString$
|
|
6128
|
+
url: toPathString$5(localVarUrlObj),
|
|
6127
6129
|
options: localVarRequestOptions,
|
|
6128
6130
|
};
|
|
6129
6131
|
}),
|
|
@@ -6143,7 +6145,7 @@
|
|
|
6143
6145
|
const localVarPath = `/Quota/{resourceId}`
|
|
6144
6146
|
.replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)));
|
|
6145
6147
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6146
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
6148
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
|
|
6147
6149
|
let baseOptions;
|
|
6148
6150
|
if (configuration) {
|
|
6149
6151
|
baseOptions = configuration.baseOptions;
|
|
@@ -6152,14 +6154,14 @@
|
|
|
6152
6154
|
const localVarHeaderParameter = {};
|
|
6153
6155
|
const localVarQueryParameter = {};
|
|
6154
6156
|
// authentication JWT token required
|
|
6155
|
-
yield setApiKeyToObject$
|
|
6157
|
+
yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
|
|
6156
6158
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6157
|
-
setSearchParams$
|
|
6159
|
+
setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6158
6160
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6159
6161
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6160
6162
|
localVarRequestOptions.data = serializeDataIfNeeded$3(updateResourceObject, localVarRequestOptions, configuration);
|
|
6161
6163
|
return {
|
|
6162
|
-
url: toPathString$
|
|
6164
|
+
url: toPathString$5(localVarUrlObj),
|
|
6163
6165
|
options: localVarRequestOptions,
|
|
6164
6166
|
};
|
|
6165
6167
|
}),
|
|
@@ -6182,7 +6184,7 @@
|
|
|
6182
6184
|
quotaGetResourceQuota(resourceId, options) {
|
|
6183
6185
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6184
6186
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.quotaGetResourceQuota(resourceId, options);
|
|
6185
|
-
return createRequestFunction$
|
|
6187
|
+
return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
|
|
6186
6188
|
});
|
|
6187
6189
|
},
|
|
6188
6190
|
/**
|
|
@@ -6196,7 +6198,7 @@
|
|
|
6196
6198
|
quotaGetResourceQuotas(projectId, resourceTypeId, options) {
|
|
6197
6199
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6198
6200
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.quotaGetResourceQuotas(projectId, resourceTypeId, options);
|
|
6199
|
-
return createRequestFunction$
|
|
6201
|
+
return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
|
|
6200
6202
|
});
|
|
6201
6203
|
},
|
|
6202
6204
|
/**
|
|
@@ -6210,7 +6212,7 @@
|
|
|
6210
6212
|
quotaUpdateResourceQuota(resourceId, updateResourceObject, options) {
|
|
6211
6213
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6212
6214
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.quotaUpdateResourceQuota(resourceId, updateResourceObject, options);
|
|
6213
|
-
return createRequestFunction$
|
|
6215
|
+
return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
|
|
6214
6216
|
});
|
|
6215
6217
|
},
|
|
6216
6218
|
};
|
|
@@ -6258,7 +6260,7 @@
|
|
|
6258
6260
|
};
|
|
6259
6261
|
|
|
6260
6262
|
/* tslint:disable */
|
|
6261
|
-
const BASE_PATH$
|
|
6263
|
+
const BASE_PATH$4 = "https://d-sp23.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Resources".replace(/\/+$/, "");
|
|
6262
6264
|
/**
|
|
6263
6265
|
*
|
|
6264
6266
|
* @export
|
|
@@ -6278,7 +6280,7 @@
|
|
|
6278
6280
|
*
|
|
6279
6281
|
* @export
|
|
6280
6282
|
*/
|
|
6281
|
-
const DUMMY_BASE_URL$
|
|
6283
|
+
const DUMMY_BASE_URL$4 = 'https://example.com';
|
|
6282
6284
|
/**
|
|
6283
6285
|
*
|
|
6284
6286
|
* @throws {RequiredError}
|
|
@@ -6293,7 +6295,7 @@
|
|
|
6293
6295
|
*
|
|
6294
6296
|
* @export
|
|
6295
6297
|
*/
|
|
6296
|
-
const setApiKeyToObject$
|
|
6298
|
+
const setApiKeyToObject$4 = function (object, keyParamName, configuration) {
|
|
6297
6299
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6298
6300
|
if (configuration && configuration.apiKey) {
|
|
6299
6301
|
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
@@ -6307,7 +6309,7 @@
|
|
|
6307
6309
|
*
|
|
6308
6310
|
* @export
|
|
6309
6311
|
*/
|
|
6310
|
-
const setSearchParams$
|
|
6312
|
+
const setSearchParams$4 = function (url, ...objects) {
|
|
6311
6313
|
const searchParams = new URLSearchParams(url.search);
|
|
6312
6314
|
for (const object of objects) {
|
|
6313
6315
|
for (const key in object) {
|
|
@@ -6341,14 +6343,14 @@
|
|
|
6341
6343
|
*
|
|
6342
6344
|
* @export
|
|
6343
6345
|
*/
|
|
6344
|
-
const toPathString$
|
|
6346
|
+
const toPathString$4 = function (url) {
|
|
6345
6347
|
return url.pathname + url.search + url.hash;
|
|
6346
6348
|
};
|
|
6347
6349
|
/**
|
|
6348
6350
|
*
|
|
6349
6351
|
* @export
|
|
6350
6352
|
*/
|
|
6351
|
-
const createRequestFunction$
|
|
6353
|
+
const createRequestFunction$4 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
6352
6354
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
6353
6355
|
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
|
|
6354
6356
|
return axios.request(axiosRequestArgs);
|
|
@@ -6375,7 +6377,7 @@
|
|
|
6375
6377
|
const localVarPath = `/Resource/{id}`
|
|
6376
6378
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
6377
6379
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6378
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
6380
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$4);
|
|
6379
6381
|
let baseOptions;
|
|
6380
6382
|
if (configuration) {
|
|
6381
6383
|
baseOptions = configuration.baseOptions;
|
|
@@ -6384,12 +6386,12 @@
|
|
|
6384
6386
|
const localVarHeaderParameter = {};
|
|
6385
6387
|
const localVarQueryParameter = {};
|
|
6386
6388
|
// authentication JWT token required
|
|
6387
|
-
yield setApiKeyToObject$
|
|
6388
|
-
setSearchParams$
|
|
6389
|
+
yield setApiKeyToObject$4(localVarHeaderParameter, "Authorization", configuration);
|
|
6390
|
+
setSearchParams$4(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6389
6391
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6390
6392
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6391
6393
|
return {
|
|
6392
|
-
url: toPathString$
|
|
6394
|
+
url: toPathString$4(localVarUrlObj),
|
|
6393
6395
|
options: localVarRequestOptions,
|
|
6394
6396
|
};
|
|
6395
6397
|
}),
|
|
@@ -6406,7 +6408,7 @@
|
|
|
6406
6408
|
const localVarPath = `/Resource/{id}`
|
|
6407
6409
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
6408
6410
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6409
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
6411
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$4);
|
|
6410
6412
|
let baseOptions;
|
|
6411
6413
|
if (configuration) {
|
|
6412
6414
|
baseOptions = configuration.baseOptions;
|
|
@@ -6415,12 +6417,12 @@
|
|
|
6415
6417
|
const localVarHeaderParameter = {};
|
|
6416
6418
|
const localVarQueryParameter = {};
|
|
6417
6419
|
// authentication JWT token required
|
|
6418
|
-
yield setApiKeyToObject$
|
|
6419
|
-
setSearchParams$
|
|
6420
|
+
yield setApiKeyToObject$4(localVarHeaderParameter, "Authorization", configuration);
|
|
6421
|
+
setSearchParams$4(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6420
6422
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6421
6423
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6422
6424
|
return {
|
|
6423
|
-
url: toPathString$
|
|
6425
|
+
url: toPathString$4(localVarUrlObj),
|
|
6424
6426
|
options: localVarRequestOptions,
|
|
6425
6427
|
};
|
|
6426
6428
|
}),
|
|
@@ -6433,7 +6435,7 @@
|
|
|
6433
6435
|
resourceIndex: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6434
6436
|
const localVarPath = `/Resource`;
|
|
6435
6437
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6436
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
6438
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$4);
|
|
6437
6439
|
let baseOptions;
|
|
6438
6440
|
if (configuration) {
|
|
6439
6441
|
baseOptions = configuration.baseOptions;
|
|
@@ -6442,12 +6444,12 @@
|
|
|
6442
6444
|
const localVarHeaderParameter = {};
|
|
6443
6445
|
const localVarQueryParameter = {};
|
|
6444
6446
|
// authentication JWT token required
|
|
6445
|
-
yield setApiKeyToObject$
|
|
6446
|
-
setSearchParams$
|
|
6447
|
+
yield setApiKeyToObject$4(localVarHeaderParameter, "Authorization", configuration);
|
|
6448
|
+
setSearchParams$4(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6447
6449
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6448
6450
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6449
6451
|
return {
|
|
6450
|
-
url: toPathString$
|
|
6452
|
+
url: toPathString$4(localVarUrlObj),
|
|
6451
6453
|
options: localVarRequestOptions,
|
|
6452
6454
|
};
|
|
6453
6455
|
}),
|
|
@@ -6464,7 +6466,7 @@
|
|
|
6464
6466
|
const localVarPath = `/Resource/{id}/isCreator`
|
|
6465
6467
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
6466
6468
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6467
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
6469
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$4);
|
|
6468
6470
|
let baseOptions;
|
|
6469
6471
|
if (configuration) {
|
|
6470
6472
|
baseOptions = configuration.baseOptions;
|
|
@@ -6473,12 +6475,12 @@
|
|
|
6473
6475
|
const localVarHeaderParameter = {};
|
|
6474
6476
|
const localVarQueryParameter = {};
|
|
6475
6477
|
// authentication JWT token required
|
|
6476
|
-
yield setApiKeyToObject$
|
|
6477
|
-
setSearchParams$
|
|
6478
|
+
yield setApiKeyToObject$4(localVarHeaderParameter, "Authorization", configuration);
|
|
6479
|
+
setSearchParams$4(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6478
6480
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6479
6481
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6480
6482
|
return {
|
|
6481
|
-
url: toPathString$
|
|
6483
|
+
url: toPathString$4(localVarUrlObj),
|
|
6482
6484
|
options: localVarRequestOptions,
|
|
6483
6485
|
};
|
|
6484
6486
|
}),
|
|
@@ -6496,7 +6498,7 @@
|
|
|
6496
6498
|
const localVarPath = `/Resource/{id}/setReadonly`
|
|
6497
6499
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
6498
6500
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6499
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
6501
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$4);
|
|
6500
6502
|
let baseOptions;
|
|
6501
6503
|
if (configuration) {
|
|
6502
6504
|
baseOptions = configuration.baseOptions;
|
|
@@ -6505,15 +6507,15 @@
|
|
|
6505
6507
|
const localVarHeaderParameter = {};
|
|
6506
6508
|
const localVarQueryParameter = {};
|
|
6507
6509
|
// authentication JWT token required
|
|
6508
|
-
yield setApiKeyToObject$
|
|
6510
|
+
yield setApiKeyToObject$4(localVarHeaderParameter, "Authorization", configuration);
|
|
6509
6511
|
if (status !== undefined) {
|
|
6510
6512
|
localVarQueryParameter['status'] = status;
|
|
6511
6513
|
}
|
|
6512
|
-
setSearchParams$
|
|
6514
|
+
setSearchParams$4(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6513
6515
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6514
6516
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6515
6517
|
return {
|
|
6516
|
-
url: toPathString$
|
|
6518
|
+
url: toPathString$4(localVarUrlObj),
|
|
6517
6519
|
options: localVarRequestOptions,
|
|
6518
6520
|
};
|
|
6519
6521
|
}),
|
|
@@ -6533,7 +6535,7 @@
|
|
|
6533
6535
|
const localVarPath = `/Resource/project/{projectId}`
|
|
6534
6536
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
6535
6537
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6536
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
6538
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$4);
|
|
6537
6539
|
let baseOptions;
|
|
6538
6540
|
if (configuration) {
|
|
6539
6541
|
baseOptions = configuration.baseOptions;
|
|
@@ -6542,14 +6544,14 @@
|
|
|
6542
6544
|
const localVarHeaderParameter = {};
|
|
6543
6545
|
const localVarQueryParameter = {};
|
|
6544
6546
|
// authentication JWT token required
|
|
6545
|
-
yield setApiKeyToObject$
|
|
6547
|
+
yield setApiKeyToObject$4(localVarHeaderParameter, "Authorization", configuration);
|
|
6546
6548
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6547
|
-
setSearchParams$
|
|
6549
|
+
setSearchParams$4(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6548
6550
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6549
6551
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6550
6552
|
localVarRequestOptions.data = serializeDataIfNeeded$2(resourceObject, localVarRequestOptions, configuration);
|
|
6551
6553
|
return {
|
|
6552
|
-
url: toPathString$
|
|
6554
|
+
url: toPathString$4(localVarUrlObj),
|
|
6553
6555
|
options: localVarRequestOptions,
|
|
6554
6556
|
};
|
|
6555
6557
|
}),
|
|
@@ -6569,7 +6571,7 @@
|
|
|
6569
6571
|
const localVarPath = `/Resource/{id}`
|
|
6570
6572
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
6571
6573
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6572
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
6574
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$4);
|
|
6573
6575
|
let baseOptions;
|
|
6574
6576
|
if (configuration) {
|
|
6575
6577
|
baseOptions = configuration.baseOptions;
|
|
@@ -6578,14 +6580,14 @@
|
|
|
6578
6580
|
const localVarHeaderParameter = {};
|
|
6579
6581
|
const localVarQueryParameter = {};
|
|
6580
6582
|
// authentication JWT token required
|
|
6581
|
-
yield setApiKeyToObject$
|
|
6583
|
+
yield setApiKeyToObject$4(localVarHeaderParameter, "Authorization", configuration);
|
|
6582
6584
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6583
|
-
setSearchParams$
|
|
6585
|
+
setSearchParams$4(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6584
6586
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6585
6587
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6586
6588
|
localVarRequestOptions.data = serializeDataIfNeeded$2(resourceObject, localVarRequestOptions, configuration);
|
|
6587
6589
|
return {
|
|
6588
|
-
url: toPathString$
|
|
6590
|
+
url: toPathString$4(localVarUrlObj),
|
|
6589
6591
|
options: localVarRequestOptions,
|
|
6590
6592
|
};
|
|
6591
6593
|
}),
|
|
@@ -6608,7 +6610,7 @@
|
|
|
6608
6610
|
resourceDelete(id, options) {
|
|
6609
6611
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6610
6612
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceDelete(id, options);
|
|
6611
|
-
return createRequestFunction$
|
|
6613
|
+
return createRequestFunction$4(localVarAxiosArgs, axios, BASE_PATH$4, configuration);
|
|
6612
6614
|
});
|
|
6613
6615
|
},
|
|
6614
6616
|
/**
|
|
@@ -6621,7 +6623,7 @@
|
|
|
6621
6623
|
resourceGet(id, options) {
|
|
6622
6624
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6623
6625
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceGet(id, options);
|
|
6624
|
-
return createRequestFunction$
|
|
6626
|
+
return createRequestFunction$4(localVarAxiosArgs, axios, BASE_PATH$4, configuration);
|
|
6625
6627
|
});
|
|
6626
6628
|
},
|
|
6627
6629
|
/**
|
|
@@ -6633,7 +6635,7 @@
|
|
|
6633
6635
|
resourceIndex(options) {
|
|
6634
6636
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6635
6637
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceIndex(options);
|
|
6636
|
-
return createRequestFunction$
|
|
6638
|
+
return createRequestFunction$4(localVarAxiosArgs, axios, BASE_PATH$4, configuration);
|
|
6637
6639
|
});
|
|
6638
6640
|
},
|
|
6639
6641
|
/**
|
|
@@ -6646,7 +6648,7 @@
|
|
|
6646
6648
|
resourceIsUserResourceCreator(id, options) {
|
|
6647
6649
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6648
6650
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceIsUserResourceCreator(id, options);
|
|
6649
|
-
return createRequestFunction$
|
|
6651
|
+
return createRequestFunction$4(localVarAxiosArgs, axios, BASE_PATH$4, configuration);
|
|
6650
6652
|
});
|
|
6651
6653
|
},
|
|
6652
6654
|
/**
|
|
@@ -6660,7 +6662,7 @@
|
|
|
6660
6662
|
resourceSetResourceReadonly(id, status, options) {
|
|
6661
6663
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6662
6664
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceSetResourceReadonly(id, status, options);
|
|
6663
|
-
return createRequestFunction$
|
|
6665
|
+
return createRequestFunction$4(localVarAxiosArgs, axios, BASE_PATH$4, configuration);
|
|
6664
6666
|
});
|
|
6665
6667
|
},
|
|
6666
6668
|
/**
|
|
@@ -6674,7 +6676,7 @@
|
|
|
6674
6676
|
resourceStoreToProject(projectId, resourceObject, options) {
|
|
6675
6677
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6676
6678
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceStoreToProject(projectId, resourceObject, options);
|
|
6677
|
-
return createRequestFunction$
|
|
6679
|
+
return createRequestFunction$4(localVarAxiosArgs, axios, BASE_PATH$4, configuration);
|
|
6678
6680
|
});
|
|
6679
6681
|
},
|
|
6680
6682
|
/**
|
|
@@ -6688,7 +6690,7 @@
|
|
|
6688
6690
|
resourceUpdate(id, resourceObject, options) {
|
|
6689
6691
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6690
6692
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceUpdate(id, resourceObject, options);
|
|
6691
|
-
return createRequestFunction$
|
|
6693
|
+
return createRequestFunction$4(localVarAxiosArgs, axios, BASE_PATH$4, configuration);
|
|
6692
6694
|
});
|
|
6693
6695
|
},
|
|
6694
6696
|
};
|
|
@@ -6789,7 +6791,7 @@
|
|
|
6789
6791
|
resourceTypeGetEnabledResourceTypes: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6790
6792
|
const localVarPath = `/ResourceType/types/-/enabled`;
|
|
6791
6793
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6792
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
6794
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$4);
|
|
6793
6795
|
let baseOptions;
|
|
6794
6796
|
if (configuration) {
|
|
6795
6797
|
baseOptions = configuration.baseOptions;
|
|
@@ -6798,12 +6800,12 @@
|
|
|
6798
6800
|
const localVarHeaderParameter = {};
|
|
6799
6801
|
const localVarQueryParameter = {};
|
|
6800
6802
|
// authentication JWT token required
|
|
6801
|
-
yield setApiKeyToObject$
|
|
6802
|
-
setSearchParams$
|
|
6803
|
+
yield setApiKeyToObject$4(localVarHeaderParameter, "Authorization", configuration);
|
|
6804
|
+
setSearchParams$4(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6803
6805
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6804
6806
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6805
6807
|
return {
|
|
6806
|
-
url: toPathString$
|
|
6808
|
+
url: toPathString$4(localVarUrlObj),
|
|
6807
6809
|
options: localVarRequestOptions,
|
|
6808
6810
|
};
|
|
6809
6811
|
}),
|
|
@@ -6820,7 +6822,7 @@
|
|
|
6820
6822
|
const localVarPath = `/ResourceType/types/{id}`
|
|
6821
6823
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
6822
6824
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6823
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
6825
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$4);
|
|
6824
6826
|
let baseOptions;
|
|
6825
6827
|
if (configuration) {
|
|
6826
6828
|
baseOptions = configuration.baseOptions;
|
|
@@ -6829,12 +6831,12 @@
|
|
|
6829
6831
|
const localVarHeaderParameter = {};
|
|
6830
6832
|
const localVarQueryParameter = {};
|
|
6831
6833
|
// authentication JWT token required
|
|
6832
|
-
yield setApiKeyToObject$
|
|
6833
|
-
setSearchParams$
|
|
6834
|
+
yield setApiKeyToObject$4(localVarHeaderParameter, "Authorization", configuration);
|
|
6835
|
+
setSearchParams$4(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6834
6836
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6835
6837
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6836
6838
|
return {
|
|
6837
|
-
url: toPathString$
|
|
6839
|
+
url: toPathString$4(localVarUrlObj),
|
|
6838
6840
|
options: localVarRequestOptions,
|
|
6839
6841
|
};
|
|
6840
6842
|
}),
|
|
@@ -6847,7 +6849,7 @@
|
|
|
6847
6849
|
resourceTypeGetResourceTypes: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6848
6850
|
const localVarPath = `/ResourceType/types`;
|
|
6849
6851
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6850
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
6852
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$4);
|
|
6851
6853
|
let baseOptions;
|
|
6852
6854
|
if (configuration) {
|
|
6853
6855
|
baseOptions = configuration.baseOptions;
|
|
@@ -6856,12 +6858,12 @@
|
|
|
6856
6858
|
const localVarHeaderParameter = {};
|
|
6857
6859
|
const localVarQueryParameter = {};
|
|
6858
6860
|
// authentication JWT token required
|
|
6859
|
-
yield setApiKeyToObject$
|
|
6860
|
-
setSearchParams$
|
|
6861
|
+
yield setApiKeyToObject$4(localVarHeaderParameter, "Authorization", configuration);
|
|
6862
|
+
setSearchParams$4(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6861
6863
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6862
6864
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6863
6865
|
return {
|
|
6864
|
-
url: toPathString$
|
|
6866
|
+
url: toPathString$4(localVarUrlObj),
|
|
6865
6867
|
options: localVarRequestOptions,
|
|
6866
6868
|
};
|
|
6867
6869
|
}),
|
|
@@ -6883,7 +6885,7 @@
|
|
|
6883
6885
|
resourceTypeGetEnabledResourceTypes(options) {
|
|
6884
6886
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6885
6887
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceTypeGetEnabledResourceTypes(options);
|
|
6886
|
-
return createRequestFunction$
|
|
6888
|
+
return createRequestFunction$4(localVarAxiosArgs, axios, BASE_PATH$4, configuration);
|
|
6887
6889
|
});
|
|
6888
6890
|
},
|
|
6889
6891
|
/**
|
|
@@ -6896,7 +6898,7 @@
|
|
|
6896
6898
|
resourceTypeGetResourceType(id, options) {
|
|
6897
6899
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6898
6900
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceTypeGetResourceType(id, options);
|
|
6899
|
-
return createRequestFunction$
|
|
6901
|
+
return createRequestFunction$4(localVarAxiosArgs, axios, BASE_PATH$4, configuration);
|
|
6900
6902
|
});
|
|
6901
6903
|
},
|
|
6902
6904
|
/**
|
|
@@ -6908,7 +6910,7 @@
|
|
|
6908
6910
|
resourceTypeGetResourceTypes(options) {
|
|
6909
6911
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6910
6912
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceTypeGetResourceTypes(options);
|
|
6911
|
-
return createRequestFunction$
|
|
6913
|
+
return createRequestFunction$4(localVarAxiosArgs, axios, BASE_PATH$4, configuration);
|
|
6912
6914
|
});
|
|
6913
6915
|
},
|
|
6914
6916
|
};
|
|
@@ -6951,6 +6953,168 @@
|
|
|
6951
6953
|
};
|
|
6952
6954
|
};
|
|
6953
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
|
+
|
|
6954
7118
|
/* tslint:disable */
|
|
6955
7119
|
const BASE_PATH$2 = "https://d-sp23.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Token".replace(/\/+$/, "");
|
|
6956
7120
|
/**
|
|
@@ -7384,18 +7548,15 @@
|
|
|
7384
7548
|
*
|
|
7385
7549
|
* @summary This method retrieves the metadata
|
|
7386
7550
|
* @param {string} resourceId Id of a resource
|
|
7387
|
-
* @param {string} path Path to the file
|
|
7551
|
+
* @param {string} [path] Path to the file
|
|
7388
7552
|
* @param {*} [options] Override http request option.
|
|
7389
7553
|
* @throws {RequiredError}
|
|
7390
7554
|
*/
|
|
7391
|
-
|
|
7555
|
+
treeGetMetadataWithParameter: (resourceId, path, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
7392
7556
|
// verify required parameter 'resourceId' is not null or undefined
|
|
7393
|
-
assertParamExists$1('
|
|
7394
|
-
|
|
7395
|
-
|
|
7396
|
-
const localVarPath = `/Tree/{resourceId}/{path}`
|
|
7397
|
-
.replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)))
|
|
7398
|
-
.replace(`{${"path"}}`, encodeURIComponent(String(path)));
|
|
7557
|
+
assertParamExists$1('treeGetMetadataWithParameter', 'resourceId', resourceId);
|
|
7558
|
+
const localVarPath = `/Tree/{resourceId}`
|
|
7559
|
+
.replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)));
|
|
7399
7560
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7400
7561
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$1);
|
|
7401
7562
|
let baseOptions;
|
|
@@ -7407,6 +7568,9 @@
|
|
|
7407
7568
|
const localVarQueryParameter = {};
|
|
7408
7569
|
// authentication JWT token required
|
|
7409
7570
|
yield setApiKeyToObject$1(localVarHeaderParameter, "Authorization", configuration);
|
|
7571
|
+
if (path !== undefined) {
|
|
7572
|
+
localVarQueryParameter['path'] = path;
|
|
7573
|
+
}
|
|
7410
7574
|
setSearchParams$1(localVarUrlObj, localVarQueryParameter, options.query);
|
|
7411
7575
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7412
7576
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -7419,18 +7583,15 @@
|
|
|
7419
7583
|
*
|
|
7420
7584
|
* @summary This method stores the metadata of the file
|
|
7421
7585
|
* @param {string} resourceId Id of the resource
|
|
7422
|
-
* @param {string} path Path to the file
|
|
7586
|
+
* @param {string} [path] Path to the file
|
|
7423
7587
|
* @param {*} [options] Override http request option.
|
|
7424
7588
|
* @throws {RequiredError}
|
|
7425
7589
|
*/
|
|
7426
|
-
|
|
7590
|
+
treeStoreMetadataForFileWithParameter: (resourceId, path, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
7427
7591
|
// verify required parameter 'resourceId' is not null or undefined
|
|
7428
|
-
assertParamExists$1('
|
|
7429
|
-
|
|
7430
|
-
|
|
7431
|
-
const localVarPath = `/Tree/{resourceId}/{path}`
|
|
7432
|
-
.replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)))
|
|
7433
|
-
.replace(`{${"path"}}`, encodeURIComponent(String(path)));
|
|
7592
|
+
assertParamExists$1('treeStoreMetadataForFileWithParameter', 'resourceId', resourceId);
|
|
7593
|
+
const localVarPath = `/Tree/{resourceId}`
|
|
7594
|
+
.replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)));
|
|
7434
7595
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7435
7596
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$1);
|
|
7436
7597
|
let baseOptions;
|
|
@@ -7442,6 +7603,9 @@
|
|
|
7442
7603
|
const localVarQueryParameter = {};
|
|
7443
7604
|
// authentication JWT token required
|
|
7444
7605
|
yield setApiKeyToObject$1(localVarHeaderParameter, "Authorization", configuration);
|
|
7606
|
+
if (path !== undefined) {
|
|
7607
|
+
localVarQueryParameter['path'] = path;
|
|
7608
|
+
}
|
|
7445
7609
|
setSearchParams$1(localVarUrlObj, localVarQueryParameter, options.query);
|
|
7446
7610
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7447
7611
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -7463,13 +7627,13 @@
|
|
|
7463
7627
|
*
|
|
7464
7628
|
* @summary This method retrieves the metadata
|
|
7465
7629
|
* @param {string} resourceId Id of a resource
|
|
7466
|
-
* @param {string} path Path to the file
|
|
7630
|
+
* @param {string} [path] Path to the file
|
|
7467
7631
|
* @param {*} [options] Override http request option.
|
|
7468
7632
|
* @throws {RequiredError}
|
|
7469
7633
|
*/
|
|
7470
|
-
|
|
7634
|
+
treeGetMetadataWithParameter(resourceId, path, options) {
|
|
7471
7635
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7472
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
7636
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.treeGetMetadataWithParameter(resourceId, path, options);
|
|
7473
7637
|
return createRequestFunction$1(localVarAxiosArgs, axios, BASE_PATH$1, configuration);
|
|
7474
7638
|
});
|
|
7475
7639
|
},
|
|
@@ -7477,13 +7641,13 @@
|
|
|
7477
7641
|
*
|
|
7478
7642
|
* @summary This method stores the metadata of the file
|
|
7479
7643
|
* @param {string} resourceId Id of the resource
|
|
7480
|
-
* @param {string} path Path to the file
|
|
7644
|
+
* @param {string} [path] Path to the file
|
|
7481
7645
|
* @param {*} [options] Override http request option.
|
|
7482
7646
|
* @throws {RequiredError}
|
|
7483
7647
|
*/
|
|
7484
|
-
|
|
7648
|
+
treeStoreMetadataForFileWithParameter(resourceId, path, options) {
|
|
7485
7649
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7486
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
7650
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.treeStoreMetadataForFileWithParameter(resourceId, path, options);
|
|
7487
7651
|
return createRequestFunction$1(localVarAxiosArgs, axios, BASE_PATH$1, configuration);
|
|
7488
7652
|
});
|
|
7489
7653
|
},
|
|
@@ -7500,23 +7664,23 @@
|
|
|
7500
7664
|
*
|
|
7501
7665
|
* @summary This method retrieves the metadata
|
|
7502
7666
|
* @param {string} resourceId Id of a resource
|
|
7503
|
-
* @param {string} path Path to the file
|
|
7667
|
+
* @param {string} [path] Path to the file
|
|
7504
7668
|
* @param {*} [options] Override http request option.
|
|
7505
7669
|
* @throws {RequiredError}
|
|
7506
7670
|
*/
|
|
7507
|
-
|
|
7508
|
-
return localVarFp.
|
|
7671
|
+
treeGetMetadataWithParameter(resourceId, path, options) {
|
|
7672
|
+
return localVarFp.treeGetMetadataWithParameter(resourceId, path, options).then((request) => request(axios, basePath));
|
|
7509
7673
|
},
|
|
7510
7674
|
/**
|
|
7511
7675
|
*
|
|
7512
7676
|
* @summary This method stores the metadata of the file
|
|
7513
7677
|
* @param {string} resourceId Id of the resource
|
|
7514
|
-
* @param {string} path Path to the file
|
|
7678
|
+
* @param {string} [path] Path to the file
|
|
7515
7679
|
* @param {*} [options] Override http request option.
|
|
7516
7680
|
* @throws {RequiredError}
|
|
7517
7681
|
*/
|
|
7518
|
-
|
|
7519
|
-
return localVarFp.
|
|
7682
|
+
treeStoreMetadataForFileWithParameter(resourceId, path, options) {
|
|
7683
|
+
return localVarFp.treeStoreMetadataForFileWithParameter(resourceId, path, options).then((request) => request(axios, basePath));
|
|
7520
7684
|
},
|
|
7521
7685
|
};
|
|
7522
7686
|
};
|
|
@@ -8318,7 +8482,7 @@
|
|
|
8318
8482
|
};
|
|
8319
8483
|
|
|
8320
8484
|
let accessToken = '';
|
|
8321
|
-
if (typeof coscine !== 'undefined') {
|
|
8485
|
+
if (typeof coscine !== 'undefined' && typeof coscine.authorization !== 'undefined') {
|
|
8322
8486
|
accessToken = coscine.authorization.bearer;
|
|
8323
8487
|
}
|
|
8324
8488
|
const getHostName = () => {
|
|
@@ -8350,6 +8514,7 @@
|
|
|
8350
8514
|
ResourceTypeApi: ResourceTypeApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Resources', axios),
|
|
8351
8515
|
RoleApi: RoleApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios),
|
|
8352
8516
|
SearchApi: SearchApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios),
|
|
8517
|
+
SemanticSearchApi: SemanticSearchApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Search', axios),
|
|
8353
8518
|
SubProjectApi: SubProjectApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios),
|
|
8354
8519
|
TitleApi: TitleApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.User', axios),
|
|
8355
8520
|
TokenApi: TokenApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Token', axios),
|
|
@@ -8365,9 +8530,13 @@
|
|
|
8365
8530
|
const clientCorrolationIdKey = 'X-Coscine-Logging-CorrelationId';
|
|
8366
8531
|
function setHeader(request) {
|
|
8367
8532
|
if (typeof coscine !== "undefined") {
|
|
8368
|
-
|
|
8369
|
-
|
|
8370
|
-
|
|
8533
|
+
if (typeof coscine.authorization !== "undefined") {
|
|
8534
|
+
request.headers.common[authHeaderKey] =
|
|
8535
|
+
'Bearer ' + coscine.authorization.bearer;
|
|
8536
|
+
}
|
|
8537
|
+
if (typeof coscine.clientcorrolation !== "undefined") {
|
|
8538
|
+
request.headers.common[clientCorrolationIdKey] = coscine.clientcorrolation.id;
|
|
8539
|
+
}
|
|
8371
8540
|
}
|
|
8372
8541
|
}
|
|
8373
8542
|
instance.interceptors.request.use((request) => {
|
|
@@ -8409,6 +8578,7 @@
|
|
|
8409
8578
|
const ResourceTypeApi = apis.ResourceTypeApi;
|
|
8410
8579
|
const RoleApi = apis.RoleApi;
|
|
8411
8580
|
const SearchApi = apis.SearchApi;
|
|
8581
|
+
const SemanticSearchApi = apis.SemanticSearchApi;
|
|
8412
8582
|
const SubProjectApi = apis.SubProjectApi;
|
|
8413
8583
|
const TitleApi = apis.TitleApi;
|
|
8414
8584
|
const TokenApi = apis.TokenApi;
|
|
@@ -8434,6 +8604,7 @@
|
|
|
8434
8604
|
exports.ResourceTypeApi = ResourceTypeApi;
|
|
8435
8605
|
exports.RoleApi = RoleApi;
|
|
8436
8606
|
exports.SearchApi = SearchApi;
|
|
8607
|
+
exports.SemanticSearchApi = SemanticSearchApi;
|
|
8437
8608
|
exports.SubProjectApi = SubProjectApi;
|
|
8438
8609
|
exports.TOSApi = TOSApi;
|
|
8439
8610
|
exports.TitleApi = TitleApi;
|
|
@@ -8441,9 +8612,9 @@
|
|
|
8441
8612
|
exports.TreeApi = TreeApi;
|
|
8442
8613
|
exports.UserApi = UserApi;
|
|
8443
8614
|
exports.VisibilityApi = VisibilityApi;
|
|
8444
|
-
exports[
|
|
8615
|
+
exports["default"] = apis;
|
|
8445
8616
|
|
|
8446
8617
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8447
8618
|
|
|
8448
|
-
}))
|
|
8619
|
+
}));
|
|
8449
8620
|
//# sourceMappingURL=index.umd.js.map
|