@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.js
CHANGED
|
@@ -1849,7 +1849,7 @@ axios$2.exports.default = axios$1;
|
|
|
1849
1849
|
var axios = axios$2.exports;
|
|
1850
1850
|
|
|
1851
1851
|
/* tslint:disable */
|
|
1852
|
-
const BASE_PATH$
|
|
1852
|
+
const BASE_PATH$c = "https://d-sp23.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.ActivatedFeatures".replace(/\/+$/, "");
|
|
1853
1853
|
/**
|
|
1854
1854
|
*
|
|
1855
1855
|
* @export
|
|
@@ -1869,7 +1869,7 @@ class RequiredError$b extends Error {
|
|
|
1869
1869
|
*
|
|
1870
1870
|
* @export
|
|
1871
1871
|
*/
|
|
1872
|
-
const DUMMY_BASE_URL$
|
|
1872
|
+
const DUMMY_BASE_URL$c = 'https://example.com';
|
|
1873
1873
|
/**
|
|
1874
1874
|
*
|
|
1875
1875
|
* @throws {RequiredError}
|
|
@@ -1884,7 +1884,7 @@ const assertParamExists$b = function (functionName, paramName, paramValue) {
|
|
|
1884
1884
|
*
|
|
1885
1885
|
* @export
|
|
1886
1886
|
*/
|
|
1887
|
-
const setApiKeyToObject$
|
|
1887
|
+
const setApiKeyToObject$c = function (object, keyParamName, configuration) {
|
|
1888
1888
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1889
1889
|
if (configuration && configuration.apiKey) {
|
|
1890
1890
|
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
@@ -1898,7 +1898,7 @@ const setApiKeyToObject$b = function (object, keyParamName, configuration) {
|
|
|
1898
1898
|
*
|
|
1899
1899
|
* @export
|
|
1900
1900
|
*/
|
|
1901
|
-
const setSearchParams$
|
|
1901
|
+
const setSearchParams$c = function (url, ...objects) {
|
|
1902
1902
|
const searchParams = new URLSearchParams(url.search);
|
|
1903
1903
|
for (const object of objects) {
|
|
1904
1904
|
for (const key in object) {
|
|
@@ -1919,14 +1919,14 @@ const setSearchParams$b = function (url, ...objects) {
|
|
|
1919
1919
|
*
|
|
1920
1920
|
* @export
|
|
1921
1921
|
*/
|
|
1922
|
-
const toPathString$
|
|
1922
|
+
const toPathString$c = function (url) {
|
|
1923
1923
|
return url.pathname + url.search + url.hash;
|
|
1924
1924
|
};
|
|
1925
1925
|
/**
|
|
1926
1926
|
*
|
|
1927
1927
|
* @export
|
|
1928
1928
|
*/
|
|
1929
|
-
const createRequestFunction$
|
|
1929
|
+
const createRequestFunction$c = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
1930
1930
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
1931
1931
|
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
|
|
1932
1932
|
return axios.request(axiosRequestArgs);
|
|
@@ -1957,7 +1957,7 @@ const ActivatedFeaturesApiAxiosParamCreator = function (configuration) {
|
|
|
1957
1957
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)))
|
|
1958
1958
|
.replace(`{${"featureId"}}`, encodeURIComponent(String(featureId)));
|
|
1959
1959
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1960
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
1960
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$c);
|
|
1961
1961
|
let baseOptions;
|
|
1962
1962
|
if (configuration) {
|
|
1963
1963
|
baseOptions = configuration.baseOptions;
|
|
@@ -1966,12 +1966,12 @@ const ActivatedFeaturesApiAxiosParamCreator = function (configuration) {
|
|
|
1966
1966
|
const localVarHeaderParameter = {};
|
|
1967
1967
|
const localVarQueryParameter = {};
|
|
1968
1968
|
// authentication JWT token required
|
|
1969
|
-
yield setApiKeyToObject$
|
|
1970
|
-
setSearchParams$
|
|
1969
|
+
yield setApiKeyToObject$c(localVarHeaderParameter, "Authorization", configuration);
|
|
1970
|
+
setSearchParams$c(localVarUrlObj, localVarQueryParameter, options.query);
|
|
1971
1971
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1972
1972
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1973
1973
|
return {
|
|
1974
|
-
url: toPathString$
|
|
1974
|
+
url: toPathString$c(localVarUrlObj),
|
|
1975
1975
|
options: localVarRequestOptions,
|
|
1976
1976
|
};
|
|
1977
1977
|
}),
|
|
@@ -1992,7 +1992,7 @@ const ActivatedFeaturesApiAxiosParamCreator = function (configuration) {
|
|
|
1992
1992
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)))
|
|
1993
1993
|
.replace(`{${"featureId"}}`, encodeURIComponent(String(featureId)));
|
|
1994
1994
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1995
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
1995
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$c);
|
|
1996
1996
|
let baseOptions;
|
|
1997
1997
|
if (configuration) {
|
|
1998
1998
|
baseOptions = configuration.baseOptions;
|
|
@@ -2001,12 +2001,12 @@ const ActivatedFeaturesApiAxiosParamCreator = function (configuration) {
|
|
|
2001
2001
|
const localVarHeaderParameter = {};
|
|
2002
2002
|
const localVarQueryParameter = {};
|
|
2003
2003
|
// authentication JWT token required
|
|
2004
|
-
yield setApiKeyToObject$
|
|
2005
|
-
setSearchParams$
|
|
2004
|
+
yield setApiKeyToObject$c(localVarHeaderParameter, "Authorization", configuration);
|
|
2005
|
+
setSearchParams$c(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2006
2006
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2007
2007
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2008
2008
|
return {
|
|
2009
|
-
url: toPathString$
|
|
2009
|
+
url: toPathString$c(localVarUrlObj),
|
|
2010
2010
|
options: localVarRequestOptions,
|
|
2011
2011
|
};
|
|
2012
2012
|
}),
|
|
@@ -2023,7 +2023,7 @@ const ActivatedFeaturesApiAxiosParamCreator = function (configuration) {
|
|
|
2023
2023
|
const localVarPath = `/ActivatedFeatures/{projectId}/activeFeatures`
|
|
2024
2024
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
2025
2025
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2026
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
2026
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$c);
|
|
2027
2027
|
let baseOptions;
|
|
2028
2028
|
if (configuration) {
|
|
2029
2029
|
baseOptions = configuration.baseOptions;
|
|
@@ -2032,12 +2032,12 @@ const ActivatedFeaturesApiAxiosParamCreator = function (configuration) {
|
|
|
2032
2032
|
const localVarHeaderParameter = {};
|
|
2033
2033
|
const localVarQueryParameter = {};
|
|
2034
2034
|
// authentication JWT token required
|
|
2035
|
-
yield setApiKeyToObject$
|
|
2036
|
-
setSearchParams$
|
|
2035
|
+
yield setApiKeyToObject$c(localVarHeaderParameter, "Authorization", configuration);
|
|
2036
|
+
setSearchParams$c(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2037
2037
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2038
2038
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2039
2039
|
return {
|
|
2040
|
-
url: toPathString$
|
|
2040
|
+
url: toPathString$c(localVarUrlObj),
|
|
2041
2041
|
options: localVarRequestOptions,
|
|
2042
2042
|
};
|
|
2043
2043
|
}),
|
|
@@ -2054,7 +2054,7 @@ const ActivatedFeaturesApiAxiosParamCreator = function (configuration) {
|
|
|
2054
2054
|
const localVarPath = `/ActivatedFeatures/{projectId}`
|
|
2055
2055
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
2056
2056
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2057
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
2057
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$c);
|
|
2058
2058
|
let baseOptions;
|
|
2059
2059
|
if (configuration) {
|
|
2060
2060
|
baseOptions = configuration.baseOptions;
|
|
@@ -2063,12 +2063,12 @@ const ActivatedFeaturesApiAxiosParamCreator = function (configuration) {
|
|
|
2063
2063
|
const localVarHeaderParameter = {};
|
|
2064
2064
|
const localVarQueryParameter = {};
|
|
2065
2065
|
// authentication JWT token required
|
|
2066
|
-
yield setApiKeyToObject$
|
|
2067
|
-
setSearchParams$
|
|
2066
|
+
yield setApiKeyToObject$c(localVarHeaderParameter, "Authorization", configuration);
|
|
2067
|
+
setSearchParams$c(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2068
2068
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2069
2069
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2070
2070
|
return {
|
|
2071
|
-
url: toPathString$
|
|
2071
|
+
url: toPathString$c(localVarUrlObj),
|
|
2072
2072
|
options: localVarRequestOptions,
|
|
2073
2073
|
};
|
|
2074
2074
|
}),
|
|
@@ -2081,7 +2081,7 @@ const ActivatedFeaturesApiAxiosParamCreator = function (configuration) {
|
|
|
2081
2081
|
activatedFeaturesGetFeaturesAll: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2082
2082
|
const localVarPath = `/ActivatedFeatures`;
|
|
2083
2083
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2084
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
2084
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$c);
|
|
2085
2085
|
let baseOptions;
|
|
2086
2086
|
if (configuration) {
|
|
2087
2087
|
baseOptions = configuration.baseOptions;
|
|
@@ -2090,12 +2090,12 @@ const ActivatedFeaturesApiAxiosParamCreator = function (configuration) {
|
|
|
2090
2090
|
const localVarHeaderParameter = {};
|
|
2091
2091
|
const localVarQueryParameter = {};
|
|
2092
2092
|
// authentication JWT token required
|
|
2093
|
-
yield setApiKeyToObject$
|
|
2094
|
-
setSearchParams$
|
|
2093
|
+
yield setApiKeyToObject$c(localVarHeaderParameter, "Authorization", configuration);
|
|
2094
|
+
setSearchParams$c(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2095
2095
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2096
2096
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2097
2097
|
return {
|
|
2098
|
-
url: toPathString$
|
|
2098
|
+
url: toPathString$c(localVarUrlObj),
|
|
2099
2099
|
options: localVarRequestOptions,
|
|
2100
2100
|
};
|
|
2101
2101
|
}),
|
|
@@ -2112,7 +2112,7 @@ const ActivatedFeaturesApiAxiosParamCreator = function (configuration) {
|
|
|
2112
2112
|
const localVarPath = `/ActivatedFeatures/{projectId}/inactiveFeatures`
|
|
2113
2113
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
2114
2114
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2115
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
2115
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$c);
|
|
2116
2116
|
let baseOptions;
|
|
2117
2117
|
if (configuration) {
|
|
2118
2118
|
baseOptions = configuration.baseOptions;
|
|
@@ -2121,12 +2121,12 @@ const ActivatedFeaturesApiAxiosParamCreator = function (configuration) {
|
|
|
2121
2121
|
const localVarHeaderParameter = {};
|
|
2122
2122
|
const localVarQueryParameter = {};
|
|
2123
2123
|
// authentication JWT token required
|
|
2124
|
-
yield setApiKeyToObject$
|
|
2125
|
-
setSearchParams$
|
|
2124
|
+
yield setApiKeyToObject$c(localVarHeaderParameter, "Authorization", configuration);
|
|
2125
|
+
setSearchParams$c(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2126
2126
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2127
2127
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2128
2128
|
return {
|
|
2129
|
-
url: toPathString$
|
|
2129
|
+
url: toPathString$c(localVarUrlObj),
|
|
2130
2130
|
options: localVarRequestOptions,
|
|
2131
2131
|
};
|
|
2132
2132
|
}),
|
|
@@ -2150,7 +2150,7 @@ const ActivatedFeaturesApiFp = function (configuration) {
|
|
|
2150
2150
|
activatedFeaturesActivateFeature(projectId, featureId, options) {
|
|
2151
2151
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2152
2152
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.activatedFeaturesActivateFeature(projectId, featureId, options);
|
|
2153
|
-
return createRequestFunction$
|
|
2153
|
+
return createRequestFunction$c(localVarAxiosArgs, axios, BASE_PATH$c, configuration);
|
|
2154
2154
|
});
|
|
2155
2155
|
},
|
|
2156
2156
|
/**
|
|
@@ -2164,7 +2164,7 @@ const ActivatedFeaturesApiFp = function (configuration) {
|
|
|
2164
2164
|
activatedFeaturesDeactivateFeature(projectId, featureId, options) {
|
|
2165
2165
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2166
2166
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.activatedFeaturesDeactivateFeature(projectId, featureId, options);
|
|
2167
|
-
return createRequestFunction$
|
|
2167
|
+
return createRequestFunction$c(localVarAxiosArgs, axios, BASE_PATH$c, configuration);
|
|
2168
2168
|
});
|
|
2169
2169
|
},
|
|
2170
2170
|
/**
|
|
@@ -2177,7 +2177,7 @@ const ActivatedFeaturesApiFp = function (configuration) {
|
|
|
2177
2177
|
activatedFeaturesGetActiveFeatures(projectId, options) {
|
|
2178
2178
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2179
2179
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.activatedFeaturesGetActiveFeatures(projectId, options);
|
|
2180
|
-
return createRequestFunction$
|
|
2180
|
+
return createRequestFunction$c(localVarAxiosArgs, axios, BASE_PATH$c, configuration);
|
|
2181
2181
|
});
|
|
2182
2182
|
},
|
|
2183
2183
|
/**
|
|
@@ -2190,7 +2190,7 @@ const ActivatedFeaturesApiFp = function (configuration) {
|
|
|
2190
2190
|
activatedFeaturesGetFeatures(projectId, options) {
|
|
2191
2191
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2192
2192
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.activatedFeaturesGetFeatures(projectId, options);
|
|
2193
|
-
return createRequestFunction$
|
|
2193
|
+
return createRequestFunction$c(localVarAxiosArgs, axios, BASE_PATH$c, configuration);
|
|
2194
2194
|
});
|
|
2195
2195
|
},
|
|
2196
2196
|
/**
|
|
@@ -2202,7 +2202,7 @@ const ActivatedFeaturesApiFp = function (configuration) {
|
|
|
2202
2202
|
activatedFeaturesGetFeaturesAll(options) {
|
|
2203
2203
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2204
2204
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.activatedFeaturesGetFeaturesAll(options);
|
|
2205
|
-
return createRequestFunction$
|
|
2205
|
+
return createRequestFunction$c(localVarAxiosArgs, axios, BASE_PATH$c, configuration);
|
|
2206
2206
|
});
|
|
2207
2207
|
},
|
|
2208
2208
|
/**
|
|
@@ -2215,7 +2215,7 @@ const ActivatedFeaturesApiFp = function (configuration) {
|
|
|
2215
2215
|
activatedFeaturesGetInactiveFeatures(projectId, options) {
|
|
2216
2216
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2217
2217
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.activatedFeaturesGetInactiveFeatures(projectId, options);
|
|
2218
|
-
return createRequestFunction$
|
|
2218
|
+
return createRequestFunction$c(localVarAxiosArgs, axios, BASE_PATH$c, configuration);
|
|
2219
2219
|
});
|
|
2220
2220
|
},
|
|
2221
2221
|
};
|
|
@@ -2331,7 +2331,7 @@ class Configuration {
|
|
|
2331
2331
|
}
|
|
2332
2332
|
|
|
2333
2333
|
/* tslint:disable */
|
|
2334
|
-
const BASE_PATH$
|
|
2334
|
+
const BASE_PATH$b = "https://d-sp23.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Admin".replace(/\/+$/, "");
|
|
2335
2335
|
/**
|
|
2336
2336
|
*
|
|
2337
2337
|
* @export
|
|
@@ -2351,7 +2351,7 @@ class RequiredError$a extends Error {
|
|
|
2351
2351
|
*
|
|
2352
2352
|
* @export
|
|
2353
2353
|
*/
|
|
2354
|
-
const DUMMY_BASE_URL$
|
|
2354
|
+
const DUMMY_BASE_URL$b = 'https://example.com';
|
|
2355
2355
|
/**
|
|
2356
2356
|
*
|
|
2357
2357
|
* @throws {RequiredError}
|
|
@@ -2366,7 +2366,7 @@ const assertParamExists$a = function (functionName, paramName, paramValue) {
|
|
|
2366
2366
|
*
|
|
2367
2367
|
* @export
|
|
2368
2368
|
*/
|
|
2369
|
-
const setApiKeyToObject$
|
|
2369
|
+
const setApiKeyToObject$b = function (object, keyParamName, configuration) {
|
|
2370
2370
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2371
2371
|
if (configuration && configuration.apiKey) {
|
|
2372
2372
|
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
@@ -2380,7 +2380,7 @@ const setApiKeyToObject$a = function (object, keyParamName, configuration) {
|
|
|
2380
2380
|
*
|
|
2381
2381
|
* @export
|
|
2382
2382
|
*/
|
|
2383
|
-
const setSearchParams$
|
|
2383
|
+
const setSearchParams$b = function (url, ...objects) {
|
|
2384
2384
|
const searchParams = new URLSearchParams(url.search);
|
|
2385
2385
|
for (const object of objects) {
|
|
2386
2386
|
for (const key in object) {
|
|
@@ -2401,7 +2401,7 @@ const setSearchParams$a = function (url, ...objects) {
|
|
|
2401
2401
|
*
|
|
2402
2402
|
* @export
|
|
2403
2403
|
*/
|
|
2404
|
-
const serializeDataIfNeeded$
|
|
2404
|
+
const serializeDataIfNeeded$7 = function (value, requestOptions, configuration) {
|
|
2405
2405
|
const nonString = typeof value !== 'string';
|
|
2406
2406
|
const needsSerialization = nonString && configuration && configuration.isJsonMime
|
|
2407
2407
|
? configuration.isJsonMime(requestOptions.headers['Content-Type'])
|
|
@@ -2414,14 +2414,14 @@ const serializeDataIfNeeded$6 = function (value, requestOptions, configuration)
|
|
|
2414
2414
|
*
|
|
2415
2415
|
* @export
|
|
2416
2416
|
*/
|
|
2417
|
-
const toPathString$
|
|
2417
|
+
const toPathString$b = function (url) {
|
|
2418
2418
|
return url.pathname + url.search + url.hash;
|
|
2419
2419
|
};
|
|
2420
2420
|
/**
|
|
2421
2421
|
*
|
|
2422
2422
|
* @export
|
|
2423
2423
|
*/
|
|
2424
|
-
const createRequestFunction$
|
|
2424
|
+
const createRequestFunction$b = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
2425
2425
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
2426
2426
|
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
|
|
2427
2427
|
return axios.request(axiosRequestArgs);
|
|
@@ -2448,7 +2448,7 @@ const AdminApiAxiosParamCreator = function (configuration) {
|
|
|
2448
2448
|
const localVarPath = `/Admin/{projectString}`
|
|
2449
2449
|
.replace(`{${"projectString"}}`, encodeURIComponent(String(projectString)));
|
|
2450
2450
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2451
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
2451
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$b);
|
|
2452
2452
|
let baseOptions;
|
|
2453
2453
|
if (configuration) {
|
|
2454
2454
|
baseOptions = configuration.baseOptions;
|
|
@@ -2457,12 +2457,12 @@ const AdminApiAxiosParamCreator = function (configuration) {
|
|
|
2457
2457
|
const localVarHeaderParameter = {};
|
|
2458
2458
|
const localVarQueryParameter = {};
|
|
2459
2459
|
// authentication JWT token required
|
|
2460
|
-
yield setApiKeyToObject$
|
|
2461
|
-
setSearchParams$
|
|
2460
|
+
yield setApiKeyToObject$b(localVarHeaderParameter, "Authorization", configuration);
|
|
2461
|
+
setSearchParams$b(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2462
2462
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2463
2463
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2464
2464
|
return {
|
|
2465
|
-
url: toPathString$
|
|
2465
|
+
url: toPathString$b(localVarUrlObj),
|
|
2466
2466
|
options: localVarRequestOptions,
|
|
2467
2467
|
};
|
|
2468
2468
|
}),
|
|
@@ -2478,7 +2478,7 @@ const AdminApiAxiosParamCreator = function (configuration) {
|
|
|
2478
2478
|
assertParamExists$a('adminUpdateQuota', 'updateQuotaParameterObject', updateQuotaParameterObject);
|
|
2479
2479
|
const localVarPath = `/Admin`;
|
|
2480
2480
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2481
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
2481
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$b);
|
|
2482
2482
|
let baseOptions;
|
|
2483
2483
|
if (configuration) {
|
|
2484
2484
|
baseOptions = configuration.baseOptions;
|
|
@@ -2487,14 +2487,14 @@ const AdminApiAxiosParamCreator = function (configuration) {
|
|
|
2487
2487
|
const localVarHeaderParameter = {};
|
|
2488
2488
|
const localVarQueryParameter = {};
|
|
2489
2489
|
// authentication JWT token required
|
|
2490
|
-
yield setApiKeyToObject$
|
|
2490
|
+
yield setApiKeyToObject$b(localVarHeaderParameter, "Authorization", configuration);
|
|
2491
2491
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2492
|
-
setSearchParams$
|
|
2492
|
+
setSearchParams$b(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2493
2493
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2494
2494
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2495
|
-
localVarRequestOptions.data = serializeDataIfNeeded$
|
|
2495
|
+
localVarRequestOptions.data = serializeDataIfNeeded$7(updateQuotaParameterObject, localVarRequestOptions, configuration);
|
|
2496
2496
|
return {
|
|
2497
|
-
url: toPathString$
|
|
2497
|
+
url: toPathString$b(localVarUrlObj),
|
|
2498
2498
|
options: localVarRequestOptions,
|
|
2499
2499
|
};
|
|
2500
2500
|
}),
|
|
@@ -2517,7 +2517,7 @@ const AdminApiFp = function (configuration) {
|
|
|
2517
2517
|
adminGetProject(projectString, options) {
|
|
2518
2518
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2519
2519
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminGetProject(projectString, options);
|
|
2520
|
-
return createRequestFunction$
|
|
2520
|
+
return createRequestFunction$b(localVarAxiosArgs, axios, BASE_PATH$b, configuration);
|
|
2521
2521
|
});
|
|
2522
2522
|
},
|
|
2523
2523
|
/**
|
|
@@ -2530,7 +2530,7 @@ const AdminApiFp = function (configuration) {
|
|
|
2530
2530
|
adminUpdateQuota(updateQuotaParameterObject, options) {
|
|
2531
2531
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2532
2532
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminUpdateQuota(updateQuotaParameterObject, options);
|
|
2533
|
-
return createRequestFunction$
|
|
2533
|
+
return createRequestFunction$b(localVarAxiosArgs, axios, BASE_PATH$b, configuration);
|
|
2534
2534
|
});
|
|
2535
2535
|
},
|
|
2536
2536
|
};
|
|
@@ -2566,7 +2566,7 @@ const AdminApiFactory = function (configuration, basePath, axios) {
|
|
|
2566
2566
|
};
|
|
2567
2567
|
|
|
2568
2568
|
/* tslint:disable */
|
|
2569
|
-
const BASE_PATH$
|
|
2569
|
+
const BASE_PATH$a = "https://d-sp23.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Blob".replace(/\/+$/, "");
|
|
2570
2570
|
/**
|
|
2571
2571
|
*
|
|
2572
2572
|
* @export
|
|
@@ -2586,7 +2586,7 @@ class RequiredError$9 extends Error {
|
|
|
2586
2586
|
*
|
|
2587
2587
|
* @export
|
|
2588
2588
|
*/
|
|
2589
|
-
const DUMMY_BASE_URL$
|
|
2589
|
+
const DUMMY_BASE_URL$a = 'https://example.com';
|
|
2590
2590
|
/**
|
|
2591
2591
|
*
|
|
2592
2592
|
* @throws {RequiredError}
|
|
@@ -2601,7 +2601,7 @@ const assertParamExists$9 = function (functionName, paramName, paramValue) {
|
|
|
2601
2601
|
*
|
|
2602
2602
|
* @export
|
|
2603
2603
|
*/
|
|
2604
|
-
const setApiKeyToObject$
|
|
2604
|
+
const setApiKeyToObject$a = function (object, keyParamName, configuration) {
|
|
2605
2605
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2606
2606
|
if (configuration && configuration.apiKey) {
|
|
2607
2607
|
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
@@ -2615,7 +2615,7 @@ const setApiKeyToObject$9 = function (object, keyParamName, configuration) {
|
|
|
2615
2615
|
*
|
|
2616
2616
|
* @export
|
|
2617
2617
|
*/
|
|
2618
|
-
const setSearchParams$
|
|
2618
|
+
const setSearchParams$a = function (url, ...objects) {
|
|
2619
2619
|
const searchParams = new URLSearchParams(url.search);
|
|
2620
2620
|
for (const object of objects) {
|
|
2621
2621
|
for (const key in object) {
|
|
@@ -2636,7 +2636,7 @@ const setSearchParams$9 = function (url, ...objects) {
|
|
|
2636
2636
|
*
|
|
2637
2637
|
* @export
|
|
2638
2638
|
*/
|
|
2639
|
-
const serializeDataIfNeeded$
|
|
2639
|
+
const serializeDataIfNeeded$6 = function (value, requestOptions, configuration) {
|
|
2640
2640
|
const nonString = typeof value !== 'string';
|
|
2641
2641
|
const needsSerialization = nonString && configuration && configuration.isJsonMime
|
|
2642
2642
|
? configuration.isJsonMime(requestOptions.headers['Content-Type'])
|
|
@@ -2649,14 +2649,14 @@ const serializeDataIfNeeded$5 = function (value, requestOptions, configuration)
|
|
|
2649
2649
|
*
|
|
2650
2650
|
* @export
|
|
2651
2651
|
*/
|
|
2652
|
-
const toPathString$
|
|
2652
|
+
const toPathString$a = function (url) {
|
|
2653
2653
|
return url.pathname + url.search + url.hash;
|
|
2654
2654
|
};
|
|
2655
2655
|
/**
|
|
2656
2656
|
*
|
|
2657
2657
|
* @export
|
|
2658
2658
|
*/
|
|
2659
|
-
const createRequestFunction$
|
|
2659
|
+
const createRequestFunction$a = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
2660
2660
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
2661
2661
|
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
|
|
2662
2662
|
return axios.request(axiosRequestArgs);
|
|
@@ -2674,20 +2674,17 @@ const BlobApiAxiosParamCreator = function (configuration) {
|
|
|
2674
2674
|
*
|
|
2675
2675
|
* @summary This method deletes a given file
|
|
2676
2676
|
* @param {string} resourceId Id of the resource
|
|
2677
|
-
* @param {string} path Path to the file
|
|
2677
|
+
* @param {string} [path] Path to the file
|
|
2678
2678
|
* @param {*} [options] Override http request option.
|
|
2679
2679
|
* @throws {RequiredError}
|
|
2680
2680
|
*/
|
|
2681
|
-
|
|
2681
|
+
blobDeleteFileWithParameter: (resourceId, path, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2682
2682
|
// verify required parameter 'resourceId' is not null or undefined
|
|
2683
|
-
assertParamExists$9('
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
const localVarPath = `/Blob/{resourceId}/{path}`
|
|
2687
|
-
.replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)))
|
|
2688
|
-
.replace(`{${"path"}}`, encodeURIComponent(String(path)));
|
|
2683
|
+
assertParamExists$9('blobDeleteFileWithParameter', 'resourceId', resourceId);
|
|
2684
|
+
const localVarPath = `/Blob/{resourceId}`
|
|
2685
|
+
.replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)));
|
|
2689
2686
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2690
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
2687
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$a);
|
|
2691
2688
|
let baseOptions;
|
|
2692
2689
|
if (configuration) {
|
|
2693
2690
|
baseOptions = configuration.baseOptions;
|
|
@@ -2696,12 +2693,15 @@ const BlobApiAxiosParamCreator = function (configuration) {
|
|
|
2696
2693
|
const localVarHeaderParameter = {};
|
|
2697
2694
|
const localVarQueryParameter = {};
|
|
2698
2695
|
// authentication JWT token required
|
|
2699
|
-
yield setApiKeyToObject$
|
|
2700
|
-
|
|
2696
|
+
yield setApiKeyToObject$a(localVarHeaderParameter, "Authorization", configuration);
|
|
2697
|
+
if (path !== undefined) {
|
|
2698
|
+
localVarQueryParameter['path'] = path;
|
|
2699
|
+
}
|
|
2700
|
+
setSearchParams$a(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2701
2701
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2702
2702
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2703
2703
|
return {
|
|
2704
|
-
url: toPathString$
|
|
2704
|
+
url: toPathString$a(localVarUrlObj),
|
|
2705
2705
|
options: localVarRequestOptions,
|
|
2706
2706
|
};
|
|
2707
2707
|
}),
|
|
@@ -2709,20 +2709,17 @@ const BlobApiAxiosParamCreator = function (configuration) {
|
|
|
2709
2709
|
*
|
|
2710
2710
|
* @summary This method checks if the given file exists and returns it
|
|
2711
2711
|
* @param {string} resourceId Id of the resource
|
|
2712
|
-
* @param {string} path Path to the file
|
|
2712
|
+
* @param {string} [path] Path to the file
|
|
2713
2713
|
* @param {*} [options] Override http request option.
|
|
2714
2714
|
* @throws {RequiredError}
|
|
2715
2715
|
*/
|
|
2716
|
-
|
|
2716
|
+
blobGetFileWithParameter: (resourceId, path, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2717
2717
|
// verify required parameter 'resourceId' is not null or undefined
|
|
2718
|
-
assertParamExists$9('
|
|
2719
|
-
|
|
2720
|
-
|
|
2721
|
-
const localVarPath = `/Blob/{resourceId}/{path}`
|
|
2722
|
-
.replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)))
|
|
2723
|
-
.replace(`{${"path"}}`, encodeURIComponent(String(path)));
|
|
2718
|
+
assertParamExists$9('blobGetFileWithParameter', 'resourceId', resourceId);
|
|
2719
|
+
const localVarPath = `/Blob/{resourceId}`
|
|
2720
|
+
.replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)));
|
|
2724
2721
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2725
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
2722
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$a);
|
|
2726
2723
|
let baseOptions;
|
|
2727
2724
|
if (configuration) {
|
|
2728
2725
|
baseOptions = configuration.baseOptions;
|
|
@@ -2731,12 +2728,15 @@ const BlobApiAxiosParamCreator = function (configuration) {
|
|
|
2731
2728
|
const localVarHeaderParameter = {};
|
|
2732
2729
|
const localVarQueryParameter = {};
|
|
2733
2730
|
// authentication JWT token required
|
|
2734
|
-
yield setApiKeyToObject$
|
|
2735
|
-
|
|
2731
|
+
yield setApiKeyToObject$a(localVarHeaderParameter, "Authorization", configuration);
|
|
2732
|
+
if (path !== undefined) {
|
|
2733
|
+
localVarQueryParameter['path'] = path;
|
|
2734
|
+
}
|
|
2735
|
+
setSearchParams$a(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2736
2736
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2737
2737
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2738
2738
|
return {
|
|
2739
|
-
url: toPathString$
|
|
2739
|
+
url: toPathString$a(localVarUrlObj),
|
|
2740
2740
|
options: localVarRequestOptions,
|
|
2741
2741
|
};
|
|
2742
2742
|
}),
|
|
@@ -2753,7 +2753,7 @@ const BlobApiAxiosParamCreator = function (configuration) {
|
|
|
2753
2753
|
const localVarPath = `/Blob/{resourceId}/quota`
|
|
2754
2754
|
.replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)));
|
|
2755
2755
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2756
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
2756
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$a);
|
|
2757
2757
|
let baseOptions;
|
|
2758
2758
|
if (configuration) {
|
|
2759
2759
|
baseOptions = configuration.baseOptions;
|
|
@@ -2762,12 +2762,12 @@ const BlobApiAxiosParamCreator = function (configuration) {
|
|
|
2762
2762
|
const localVarHeaderParameter = {};
|
|
2763
2763
|
const localVarQueryParameter = {};
|
|
2764
2764
|
// authentication JWT token required
|
|
2765
|
-
yield setApiKeyToObject$
|
|
2766
|
-
setSearchParams$
|
|
2765
|
+
yield setApiKeyToObject$a(localVarHeaderParameter, "Authorization", configuration);
|
|
2766
|
+
setSearchParams$a(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2767
2767
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2768
2768
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2769
2769
|
return {
|
|
2770
|
-
url: toPathString$
|
|
2770
|
+
url: toPathString$a(localVarUrlObj),
|
|
2771
2771
|
options: localVarRequestOptions,
|
|
2772
2772
|
};
|
|
2773
2773
|
}),
|
|
@@ -2783,7 +2783,7 @@ const BlobApiAxiosParamCreator = function (configuration) {
|
|
|
2783
2783
|
assertParamExists$9('blobIsResourceValid', 'body', body);
|
|
2784
2784
|
const localVarPath = `/Blob/validate`;
|
|
2785
2785
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2786
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
2786
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$a);
|
|
2787
2787
|
let baseOptions;
|
|
2788
2788
|
if (configuration) {
|
|
2789
2789
|
baseOptions = configuration.baseOptions;
|
|
@@ -2792,14 +2792,14 @@ const BlobApiAxiosParamCreator = function (configuration) {
|
|
|
2792
2792
|
const localVarHeaderParameter = {};
|
|
2793
2793
|
const localVarQueryParameter = {};
|
|
2794
2794
|
// authentication JWT token required
|
|
2795
|
-
yield setApiKeyToObject$
|
|
2795
|
+
yield setApiKeyToObject$a(localVarHeaderParameter, "Authorization", configuration);
|
|
2796
2796
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2797
|
-
setSearchParams$
|
|
2797
|
+
setSearchParams$a(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2798
2798
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2799
2799
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2800
|
-
localVarRequestOptions.data = serializeDataIfNeeded$
|
|
2800
|
+
localVarRequestOptions.data = serializeDataIfNeeded$6(body, localVarRequestOptions, configuration);
|
|
2801
2801
|
return {
|
|
2802
|
-
url: toPathString$
|
|
2802
|
+
url: toPathString$a(localVarUrlObj),
|
|
2803
2803
|
options: localVarRequestOptions,
|
|
2804
2804
|
};
|
|
2805
2805
|
}),
|
|
@@ -2807,21 +2807,18 @@ const BlobApiAxiosParamCreator = function (configuration) {
|
|
|
2807
2807
|
*
|
|
2808
2808
|
* @summary This method uploads a given File
|
|
2809
2809
|
* @param {string} resourceId Id of the resource
|
|
2810
|
-
* @param {string} path Path to the file
|
|
2810
|
+
* @param {string} [path] Path to the file
|
|
2811
2811
|
* @param {Array<any>} [files]
|
|
2812
2812
|
* @param {*} [options] Override http request option.
|
|
2813
2813
|
* @throws {RequiredError}
|
|
2814
2814
|
*/
|
|
2815
|
-
|
|
2815
|
+
blobUploadFileWithParameter: (resourceId, path, files, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2816
2816
|
// verify required parameter 'resourceId' is not null or undefined
|
|
2817
|
-
assertParamExists$9('
|
|
2818
|
-
|
|
2819
|
-
|
|
2820
|
-
const localVarPath = `/Blob/{resourceId}/{path}`
|
|
2821
|
-
.replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)))
|
|
2822
|
-
.replace(`{${"path"}}`, encodeURIComponent(String(path)));
|
|
2817
|
+
assertParamExists$9('blobUploadFileWithParameter', 'resourceId', resourceId);
|
|
2818
|
+
const localVarPath = `/Blob/{resourceId}`
|
|
2819
|
+
.replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)));
|
|
2823
2820
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2824
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
2821
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$a);
|
|
2825
2822
|
let baseOptions;
|
|
2826
2823
|
if (configuration) {
|
|
2827
2824
|
baseOptions = configuration.baseOptions;
|
|
@@ -2831,19 +2828,22 @@ const BlobApiAxiosParamCreator = function (configuration) {
|
|
|
2831
2828
|
const localVarQueryParameter = {};
|
|
2832
2829
|
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
2833
2830
|
// authentication JWT token required
|
|
2834
|
-
yield setApiKeyToObject$
|
|
2831
|
+
yield setApiKeyToObject$a(localVarHeaderParameter, "Authorization", configuration);
|
|
2832
|
+
if (path !== undefined) {
|
|
2833
|
+
localVarQueryParameter['path'] = path;
|
|
2834
|
+
}
|
|
2835
2835
|
if (files) {
|
|
2836
2836
|
files.forEach((element) => {
|
|
2837
2837
|
localVarFormParams.append('files', element);
|
|
2838
2838
|
});
|
|
2839
2839
|
}
|
|
2840
2840
|
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
2841
|
-
setSearchParams$
|
|
2841
|
+
setSearchParams$a(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2842
2842
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2843
2843
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2844
2844
|
localVarRequestOptions.data = localVarFormParams;
|
|
2845
2845
|
return {
|
|
2846
|
-
url: toPathString$
|
|
2846
|
+
url: toPathString$a(localVarUrlObj),
|
|
2847
2847
|
options: localVarRequestOptions,
|
|
2848
2848
|
};
|
|
2849
2849
|
}),
|
|
@@ -2860,28 +2860,28 @@ const BlobApiFp = function (configuration) {
|
|
|
2860
2860
|
*
|
|
2861
2861
|
* @summary This method deletes a given file
|
|
2862
2862
|
* @param {string} resourceId Id of the resource
|
|
2863
|
-
* @param {string} path Path to the file
|
|
2863
|
+
* @param {string} [path] Path to the file
|
|
2864
2864
|
* @param {*} [options] Override http request option.
|
|
2865
2865
|
* @throws {RequiredError}
|
|
2866
2866
|
*/
|
|
2867
|
-
|
|
2867
|
+
blobDeleteFileWithParameter(resourceId, path, options) {
|
|
2868
2868
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2869
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
2870
|
-
return createRequestFunction$
|
|
2869
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.blobDeleteFileWithParameter(resourceId, path, options);
|
|
2870
|
+
return createRequestFunction$a(localVarAxiosArgs, axios, BASE_PATH$a, configuration);
|
|
2871
2871
|
});
|
|
2872
2872
|
},
|
|
2873
2873
|
/**
|
|
2874
2874
|
*
|
|
2875
2875
|
* @summary This method checks if the given file exists and returns it
|
|
2876
2876
|
* @param {string} resourceId Id of the resource
|
|
2877
|
-
* @param {string} path Path to the file
|
|
2877
|
+
* @param {string} [path] Path to the file
|
|
2878
2878
|
* @param {*} [options] Override http request option.
|
|
2879
2879
|
* @throws {RequiredError}
|
|
2880
2880
|
*/
|
|
2881
|
-
|
|
2881
|
+
blobGetFileWithParameter(resourceId, path, options) {
|
|
2882
2882
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2883
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
2884
|
-
return createRequestFunction$
|
|
2883
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.blobGetFileWithParameter(resourceId, path, options);
|
|
2884
|
+
return createRequestFunction$a(localVarAxiosArgs, axios, BASE_PATH$a, configuration);
|
|
2885
2885
|
});
|
|
2886
2886
|
},
|
|
2887
2887
|
/**
|
|
@@ -2894,7 +2894,7 @@ const BlobApiFp = function (configuration) {
|
|
|
2894
2894
|
blobGetQuota(resourceId, options) {
|
|
2895
2895
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2896
2896
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.blobGetQuota(resourceId, options);
|
|
2897
|
-
return createRequestFunction$
|
|
2897
|
+
return createRequestFunction$a(localVarAxiosArgs, axios, BASE_PATH$a, configuration);
|
|
2898
2898
|
});
|
|
2899
2899
|
},
|
|
2900
2900
|
/**
|
|
@@ -2907,22 +2907,22 @@ const BlobApiFp = function (configuration) {
|
|
|
2907
2907
|
blobIsResourceValid(body, options) {
|
|
2908
2908
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2909
2909
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.blobIsResourceValid(body, options);
|
|
2910
|
-
return createRequestFunction$
|
|
2910
|
+
return createRequestFunction$a(localVarAxiosArgs, axios, BASE_PATH$a, configuration);
|
|
2911
2911
|
});
|
|
2912
2912
|
},
|
|
2913
2913
|
/**
|
|
2914
2914
|
*
|
|
2915
2915
|
* @summary This method uploads a given File
|
|
2916
2916
|
* @param {string} resourceId Id of the resource
|
|
2917
|
-
* @param {string} path Path to the file
|
|
2917
|
+
* @param {string} [path] Path to the file
|
|
2918
2918
|
* @param {Array<any>} [files]
|
|
2919
2919
|
* @param {*} [options] Override http request option.
|
|
2920
2920
|
* @throws {RequiredError}
|
|
2921
2921
|
*/
|
|
2922
|
-
|
|
2922
|
+
blobUploadFileWithParameter(resourceId, path, files, options) {
|
|
2923
2923
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2924
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
2925
|
-
return createRequestFunction$
|
|
2924
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.blobUploadFileWithParameter(resourceId, path, files, options);
|
|
2925
|
+
return createRequestFunction$a(localVarAxiosArgs, axios, BASE_PATH$a, configuration);
|
|
2926
2926
|
});
|
|
2927
2927
|
},
|
|
2928
2928
|
};
|
|
@@ -2938,23 +2938,23 @@ const BlobApiFactory = function (configuration, basePath, axios) {
|
|
|
2938
2938
|
*
|
|
2939
2939
|
* @summary This method deletes a given file
|
|
2940
2940
|
* @param {string} resourceId Id of the resource
|
|
2941
|
-
* @param {string} path Path to the file
|
|
2941
|
+
* @param {string} [path] Path to the file
|
|
2942
2942
|
* @param {*} [options] Override http request option.
|
|
2943
2943
|
* @throws {RequiredError}
|
|
2944
2944
|
*/
|
|
2945
|
-
|
|
2946
|
-
return localVarFp.
|
|
2945
|
+
blobDeleteFileWithParameter(resourceId, path, options) {
|
|
2946
|
+
return localVarFp.blobDeleteFileWithParameter(resourceId, path, options).then((request) => request(axios, basePath));
|
|
2947
2947
|
},
|
|
2948
2948
|
/**
|
|
2949
2949
|
*
|
|
2950
2950
|
* @summary This method checks if the given file exists and returns it
|
|
2951
2951
|
* @param {string} resourceId Id of the resource
|
|
2952
|
-
* @param {string} path Path to the file
|
|
2952
|
+
* @param {string} [path] Path to the file
|
|
2953
2953
|
* @param {*} [options] Override http request option.
|
|
2954
2954
|
* @throws {RequiredError}
|
|
2955
2955
|
*/
|
|
2956
|
-
|
|
2957
|
-
return localVarFp.
|
|
2956
|
+
blobGetFileWithParameter(resourceId, path, options) {
|
|
2957
|
+
return localVarFp.blobGetFileWithParameter(resourceId, path, options).then((request) => request(axios, basePath));
|
|
2958
2958
|
},
|
|
2959
2959
|
/**
|
|
2960
2960
|
*
|
|
@@ -2980,19 +2980,19 @@ const BlobApiFactory = function (configuration, basePath, axios) {
|
|
|
2980
2980
|
*
|
|
2981
2981
|
* @summary This method uploads a given File
|
|
2982
2982
|
* @param {string} resourceId Id of the resource
|
|
2983
|
-
* @param {string} path Path to the file
|
|
2983
|
+
* @param {string} [path] Path to the file
|
|
2984
2984
|
* @param {Array<any>} [files]
|
|
2985
2985
|
* @param {*} [options] Override http request option.
|
|
2986
2986
|
* @throws {RequiredError}
|
|
2987
2987
|
*/
|
|
2988
|
-
|
|
2989
|
-
return localVarFp.
|
|
2988
|
+
blobUploadFileWithParameter(resourceId, path, files, options) {
|
|
2989
|
+
return localVarFp.blobUploadFileWithParameter(resourceId, path, files, options).then((request) => request(axios, basePath));
|
|
2990
2990
|
},
|
|
2991
2991
|
};
|
|
2992
2992
|
};
|
|
2993
2993
|
|
|
2994
2994
|
/* tslint:disable */
|
|
2995
|
-
const BASE_PATH$
|
|
2995
|
+
const BASE_PATH$9 = "https://d-sp23.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Metadata".replace(/\/+$/, "");
|
|
2996
2996
|
/**
|
|
2997
2997
|
*
|
|
2998
2998
|
* @export
|
|
@@ -3012,7 +3012,7 @@ class RequiredError$8 extends Error {
|
|
|
3012
3012
|
*
|
|
3013
3013
|
* @export
|
|
3014
3014
|
*/
|
|
3015
|
-
const DUMMY_BASE_URL$
|
|
3015
|
+
const DUMMY_BASE_URL$9 = 'https://example.com';
|
|
3016
3016
|
/**
|
|
3017
3017
|
*
|
|
3018
3018
|
* @throws {RequiredError}
|
|
@@ -3027,7 +3027,7 @@ const assertParamExists$8 = function (functionName, paramName, paramValue) {
|
|
|
3027
3027
|
*
|
|
3028
3028
|
* @export
|
|
3029
3029
|
*/
|
|
3030
|
-
const setApiKeyToObject$
|
|
3030
|
+
const setApiKeyToObject$9 = function (object, keyParamName, configuration) {
|
|
3031
3031
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3032
3032
|
if (configuration && configuration.apiKey) {
|
|
3033
3033
|
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
@@ -3041,7 +3041,7 @@ const setApiKeyToObject$8 = function (object, keyParamName, configuration) {
|
|
|
3041
3041
|
*
|
|
3042
3042
|
* @export
|
|
3043
3043
|
*/
|
|
3044
|
-
const setSearchParams$
|
|
3044
|
+
const setSearchParams$9 = function (url, ...objects) {
|
|
3045
3045
|
const searchParams = new URLSearchParams(url.search);
|
|
3046
3046
|
for (const object of objects) {
|
|
3047
3047
|
for (const key in object) {
|
|
@@ -3062,14 +3062,27 @@ const setSearchParams$8 = function (url, ...objects) {
|
|
|
3062
3062
|
*
|
|
3063
3063
|
* @export
|
|
3064
3064
|
*/
|
|
3065
|
-
const
|
|
3065
|
+
const serializeDataIfNeeded$5 = function (value, requestOptions, configuration) {
|
|
3066
|
+
const nonString = typeof value !== 'string';
|
|
3067
|
+
const needsSerialization = nonString && configuration && configuration.isJsonMime
|
|
3068
|
+
? configuration.isJsonMime(requestOptions.headers['Content-Type'])
|
|
3069
|
+
: nonString;
|
|
3070
|
+
return needsSerialization
|
|
3071
|
+
? JSON.stringify(value !== undefined ? value : {})
|
|
3072
|
+
: (value || "");
|
|
3073
|
+
};
|
|
3074
|
+
/**
|
|
3075
|
+
*
|
|
3076
|
+
* @export
|
|
3077
|
+
*/
|
|
3078
|
+
const toPathString$9 = function (url) {
|
|
3066
3079
|
return url.pathname + url.search + url.hash;
|
|
3067
3080
|
};
|
|
3068
3081
|
/**
|
|
3069
3082
|
*
|
|
3070
3083
|
* @export
|
|
3071
3084
|
*/
|
|
3072
|
-
const createRequestFunction$
|
|
3085
|
+
const createRequestFunction$9 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
3073
3086
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
3074
3087
|
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
|
|
3075
3088
|
return axios.request(axiosRequestArgs);
|
|
@@ -3083,59 +3096,20 @@ const createRequestFunction$8 = function (axiosArgs, globalAxios, BASE_PATH, con
|
|
|
3083
3096
|
*/
|
|
3084
3097
|
const MetadataApiAxiosParamCreator = function (configuration) {
|
|
3085
3098
|
return {
|
|
3086
|
-
/**
|
|
3087
|
-
*
|
|
3088
|
-
* @summary Returns the application profile with the fixed values for the given resource.
|
|
3089
|
-
* @param {string} profile Url of the application profile
|
|
3090
|
-
* @param {string} resourceId Id of the resource
|
|
3091
|
-
* @param {*} [options] Override http request option.
|
|
3092
|
-
* @throws {RequiredError}
|
|
3093
|
-
*/
|
|
3094
|
-
metadataGetApplicationProfileComplete: (profile, resourceId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3095
|
-
// verify required parameter 'profile' is not null or undefined
|
|
3096
|
-
assertParamExists$8('metadataGetApplicationProfileComplete', 'profile', profile);
|
|
3097
|
-
// verify required parameter 'resourceId' is not null or undefined
|
|
3098
|
-
assertParamExists$8('metadataGetApplicationProfileComplete', 'resourceId', resourceId);
|
|
3099
|
-
const localVarPath = `/Metadata/profiles/{profile}/{resourceId}`
|
|
3100
|
-
.replace(`{${"profile"}}`, encodeURIComponent(String(profile)))
|
|
3101
|
-
.replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)));
|
|
3102
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3103
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$8);
|
|
3104
|
-
let baseOptions;
|
|
3105
|
-
if (configuration) {
|
|
3106
|
-
baseOptions = configuration.baseOptions;
|
|
3107
|
-
}
|
|
3108
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
3109
|
-
const localVarHeaderParameter = {};
|
|
3110
|
-
const localVarQueryParameter = {};
|
|
3111
|
-
// authentication JWT token required
|
|
3112
|
-
yield setApiKeyToObject$8(localVarHeaderParameter, "Authorization", configuration);
|
|
3113
|
-
setSearchParams$8(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3114
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3115
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3116
|
-
return {
|
|
3117
|
-
url: toPathString$8(localVarUrlObj),
|
|
3118
|
-
options: localVarRequestOptions,
|
|
3119
|
-
};
|
|
3120
|
-
}),
|
|
3121
3099
|
/**
|
|
3122
3100
|
*
|
|
3123
3101
|
* @summary This method returns instances.
|
|
3124
|
-
* @param {string} projectId Id of the project
|
|
3125
3102
|
* @param {string} className class name
|
|
3126
3103
|
* @param {*} [options] Override http request option.
|
|
3127
3104
|
* @throws {RequiredError}
|
|
3128
3105
|
*/
|
|
3129
|
-
metadataGetClassInstances: (
|
|
3130
|
-
// verify required parameter 'projectId' is not null or undefined
|
|
3131
|
-
assertParamExists$8('metadataGetClassInstances', 'projectId', projectId);
|
|
3106
|
+
metadataGetClassInstances: (className, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3132
3107
|
// verify required parameter 'className' is not null or undefined
|
|
3133
3108
|
assertParamExists$8('metadataGetClassInstances', 'className', className);
|
|
3134
|
-
const localVarPath = `/Metadata/instances/{
|
|
3135
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)))
|
|
3109
|
+
const localVarPath = `/Metadata/instances/{className}`
|
|
3136
3110
|
.replace(`{${"className"}}`, encodeURIComponent(String(className)));
|
|
3137
3111
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3138
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
3112
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$9);
|
|
3139
3113
|
let baseOptions;
|
|
3140
3114
|
if (configuration) {
|
|
3141
3115
|
baseOptions = configuration.baseOptions;
|
|
@@ -3144,12 +3118,12 @@ const MetadataApiAxiosParamCreator = function (configuration) {
|
|
|
3144
3118
|
const localVarHeaderParameter = {};
|
|
3145
3119
|
const localVarQueryParameter = {};
|
|
3146
3120
|
// authentication JWT token required
|
|
3147
|
-
yield setApiKeyToObject$
|
|
3148
|
-
setSearchParams$
|
|
3121
|
+
yield setApiKeyToObject$9(localVarHeaderParameter, "Authorization", configuration);
|
|
3122
|
+
setSearchParams$9(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3149
3123
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3150
3124
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3151
3125
|
return {
|
|
3152
|
-
url: toPathString$
|
|
3126
|
+
url: toPathString$9(localVarUrlObj),
|
|
3153
3127
|
options: localVarRequestOptions,
|
|
3154
3128
|
};
|
|
3155
3129
|
}),
|
|
@@ -3166,7 +3140,7 @@ const MetadataApiAxiosParamCreator = function (configuration) {
|
|
|
3166
3140
|
const localVarPath = `/Metadata/profiles/{profile}`
|
|
3167
3141
|
.replace(`{${"profile"}}`, encodeURIComponent(String(profile)));
|
|
3168
3142
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3169
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
3143
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$9);
|
|
3170
3144
|
let baseOptions;
|
|
3171
3145
|
if (configuration) {
|
|
3172
3146
|
baseOptions = configuration.baseOptions;
|
|
@@ -3175,12 +3149,12 @@ const MetadataApiAxiosParamCreator = function (configuration) {
|
|
|
3175
3149
|
const localVarHeaderParameter = {};
|
|
3176
3150
|
const localVarQueryParameter = {};
|
|
3177
3151
|
// authentication JWT token required
|
|
3178
|
-
yield setApiKeyToObject$
|
|
3179
|
-
setSearchParams$
|
|
3152
|
+
yield setApiKeyToObject$9(localVarHeaderParameter, "Authorization", configuration);
|
|
3153
|
+
setSearchParams$9(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3180
3154
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3181
3155
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3182
3156
|
return {
|
|
3183
|
-
url: toPathString$
|
|
3157
|
+
url: toPathString$9(localVarUrlObj),
|
|
3184
3158
|
options: localVarRequestOptions,
|
|
3185
3159
|
};
|
|
3186
3160
|
}),
|
|
@@ -3193,7 +3167,7 @@ const MetadataApiAxiosParamCreator = function (configuration) {
|
|
|
3193
3167
|
metadataGetProfiles: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3194
3168
|
const localVarPath = `/Metadata/profiles`;
|
|
3195
3169
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3196
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
3170
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$9);
|
|
3197
3171
|
let baseOptions;
|
|
3198
3172
|
if (configuration) {
|
|
3199
3173
|
baseOptions = configuration.baseOptions;
|
|
@@ -3202,12 +3176,12 @@ const MetadataApiAxiosParamCreator = function (configuration) {
|
|
|
3202
3176
|
const localVarHeaderParameter = {};
|
|
3203
3177
|
const localVarQueryParameter = {};
|
|
3204
3178
|
// authentication JWT token required
|
|
3205
|
-
yield setApiKeyToObject$
|
|
3206
|
-
setSearchParams$
|
|
3179
|
+
yield setApiKeyToObject$9(localVarHeaderParameter, "Authorization", configuration);
|
|
3180
|
+
setSearchParams$9(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3207
3181
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3208
3182
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3209
3183
|
return {
|
|
3210
|
-
url: toPathString$
|
|
3184
|
+
url: toPathString$9(localVarUrlObj),
|
|
3211
3185
|
options: localVarRequestOptions,
|
|
3212
3186
|
};
|
|
3213
3187
|
}),
|
|
@@ -3220,7 +3194,7 @@ const MetadataApiAxiosParamCreator = function (configuration) {
|
|
|
3220
3194
|
metadataGetVocabularies: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3221
3195
|
const localVarPath = `/Metadata/vocabularies`;
|
|
3222
3196
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3223
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
3197
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$9);
|
|
3224
3198
|
let baseOptions;
|
|
3225
3199
|
if (configuration) {
|
|
3226
3200
|
baseOptions = configuration.baseOptions;
|
|
@@ -3229,12 +3203,12 @@ const MetadataApiAxiosParamCreator = function (configuration) {
|
|
|
3229
3203
|
const localVarHeaderParameter = {};
|
|
3230
3204
|
const localVarQueryParameter = {};
|
|
3231
3205
|
// authentication JWT token required
|
|
3232
|
-
yield setApiKeyToObject$
|
|
3233
|
-
setSearchParams$
|
|
3206
|
+
yield setApiKeyToObject$9(localVarHeaderParameter, "Authorization", configuration);
|
|
3207
|
+
setSearchParams$9(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3234
3208
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3235
3209
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3236
3210
|
return {
|
|
3237
|
-
url: toPathString$
|
|
3211
|
+
url: toPathString$9(localVarUrlObj),
|
|
3238
3212
|
options: localVarRequestOptions,
|
|
3239
3213
|
};
|
|
3240
3214
|
}),
|
|
@@ -3251,7 +3225,7 @@ const MetadataApiAxiosParamCreator = function (configuration) {
|
|
|
3251
3225
|
const localVarPath = `/Metadata/vocabularies/{path}`
|
|
3252
3226
|
.replace(`{${"path"}}`, encodeURIComponent(String(path)));
|
|
3253
3227
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3254
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
3228
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$9);
|
|
3255
3229
|
let baseOptions;
|
|
3256
3230
|
if (configuration) {
|
|
3257
3231
|
baseOptions = configuration.baseOptions;
|
|
@@ -3260,12 +3234,44 @@ const MetadataApiAxiosParamCreator = function (configuration) {
|
|
|
3260
3234
|
const localVarHeaderParameter = {};
|
|
3261
3235
|
const localVarQueryParameter = {};
|
|
3262
3236
|
// authentication JWT token required
|
|
3263
|
-
yield setApiKeyToObject$
|
|
3264
|
-
setSearchParams$
|
|
3237
|
+
yield setApiKeyToObject$9(localVarHeaderParameter, "Authorization", configuration);
|
|
3238
|
+
setSearchParams$9(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3265
3239
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3266
3240
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3267
3241
|
return {
|
|
3268
|
-
url: toPathString$
|
|
3242
|
+
url: toPathString$9(localVarUrlObj),
|
|
3243
|
+
options: localVarRequestOptions,
|
|
3244
|
+
};
|
|
3245
|
+
}),
|
|
3246
|
+
/**
|
|
3247
|
+
*
|
|
3248
|
+
* @summary Create a request for storing a given application profile.
|
|
3249
|
+
* @param {ApplicationProfile} applicationProfile Object describing the application profile
|
|
3250
|
+
* @param {*} [options] Override http request option.
|
|
3251
|
+
* @throws {RequiredError}
|
|
3252
|
+
*/
|
|
3253
|
+
metadataSaveApplicationProfile: (applicationProfile, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3254
|
+
// verify required parameter 'applicationProfile' is not null or undefined
|
|
3255
|
+
assertParamExists$8('metadataSaveApplicationProfile', 'applicationProfile', applicationProfile);
|
|
3256
|
+
const localVarPath = `/Metadata/profiles`;
|
|
3257
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3258
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$9);
|
|
3259
|
+
let baseOptions;
|
|
3260
|
+
if (configuration) {
|
|
3261
|
+
baseOptions = configuration.baseOptions;
|
|
3262
|
+
}
|
|
3263
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
3264
|
+
const localVarHeaderParameter = {};
|
|
3265
|
+
const localVarQueryParameter = {};
|
|
3266
|
+
// authentication JWT token required
|
|
3267
|
+
yield setApiKeyToObject$9(localVarHeaderParameter, "Authorization", configuration);
|
|
3268
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3269
|
+
setSearchParams$9(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3270
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3271
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3272
|
+
localVarRequestOptions.data = serializeDataIfNeeded$5(applicationProfile, localVarRequestOptions, configuration);
|
|
3273
|
+
return {
|
|
3274
|
+
url: toPathString$9(localVarUrlObj),
|
|
3269
3275
|
options: localVarRequestOptions,
|
|
3270
3276
|
};
|
|
3271
3277
|
}),
|
|
@@ -3278,32 +3284,17 @@ const MetadataApiAxiosParamCreator = function (configuration) {
|
|
|
3278
3284
|
const MetadataApiFp = function (configuration) {
|
|
3279
3285
|
const localVarAxiosParamCreator = MetadataApiAxiosParamCreator(configuration);
|
|
3280
3286
|
return {
|
|
3281
|
-
/**
|
|
3282
|
-
*
|
|
3283
|
-
* @summary Returns the application profile with the fixed values for the given resource.
|
|
3284
|
-
* @param {string} profile Url of the application profile
|
|
3285
|
-
* @param {string} resourceId Id of the resource
|
|
3286
|
-
* @param {*} [options] Override http request option.
|
|
3287
|
-
* @throws {RequiredError}
|
|
3288
|
-
*/
|
|
3289
|
-
metadataGetApplicationProfileComplete(profile, resourceId, options) {
|
|
3290
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
3291
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.metadataGetApplicationProfileComplete(profile, resourceId, options);
|
|
3292
|
-
return createRequestFunction$8(localVarAxiosArgs, axios, BASE_PATH$8, configuration);
|
|
3293
|
-
});
|
|
3294
|
-
},
|
|
3295
3287
|
/**
|
|
3296
3288
|
*
|
|
3297
3289
|
* @summary This method returns instances.
|
|
3298
|
-
* @param {string} projectId Id of the project
|
|
3299
3290
|
* @param {string} className class name
|
|
3300
3291
|
* @param {*} [options] Override http request option.
|
|
3301
3292
|
* @throws {RequiredError}
|
|
3302
3293
|
*/
|
|
3303
|
-
metadataGetClassInstances(
|
|
3294
|
+
metadataGetClassInstances(className, options) {
|
|
3304
3295
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3305
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.metadataGetClassInstances(
|
|
3306
|
-
return createRequestFunction$
|
|
3296
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.metadataGetClassInstances(className, options);
|
|
3297
|
+
return createRequestFunction$9(localVarAxiosArgs, axios, BASE_PATH$9, configuration);
|
|
3307
3298
|
});
|
|
3308
3299
|
},
|
|
3309
3300
|
/**
|
|
@@ -3316,7 +3307,7 @@ const MetadataApiFp = function (configuration) {
|
|
|
3316
3307
|
metadataGetProfile(profile, options) {
|
|
3317
3308
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3318
3309
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.metadataGetProfile(profile, options);
|
|
3319
|
-
return createRequestFunction$
|
|
3310
|
+
return createRequestFunction$9(localVarAxiosArgs, axios, BASE_PATH$9, configuration);
|
|
3320
3311
|
});
|
|
3321
3312
|
},
|
|
3322
3313
|
/**
|
|
@@ -3328,7 +3319,7 @@ const MetadataApiFp = function (configuration) {
|
|
|
3328
3319
|
metadataGetProfiles(options) {
|
|
3329
3320
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3330
3321
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.metadataGetProfiles(options);
|
|
3331
|
-
return createRequestFunction$
|
|
3322
|
+
return createRequestFunction$9(localVarAxiosArgs, axios, BASE_PATH$9, configuration);
|
|
3332
3323
|
});
|
|
3333
3324
|
},
|
|
3334
3325
|
/**
|
|
@@ -3340,7 +3331,7 @@ const MetadataApiFp = function (configuration) {
|
|
|
3340
3331
|
metadataGetVocabularies(options) {
|
|
3341
3332
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3342
3333
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.metadataGetVocabularies(options);
|
|
3343
|
-
return createRequestFunction$
|
|
3334
|
+
return createRequestFunction$9(localVarAxiosArgs, axios, BASE_PATH$9, configuration);
|
|
3344
3335
|
});
|
|
3345
3336
|
},
|
|
3346
3337
|
/**
|
|
@@ -3353,7 +3344,20 @@ const MetadataApiFp = function (configuration) {
|
|
|
3353
3344
|
metadataGetVocabulary(path, options) {
|
|
3354
3345
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3355
3346
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.metadataGetVocabulary(path, options);
|
|
3356
|
-
return createRequestFunction$
|
|
3347
|
+
return createRequestFunction$9(localVarAxiosArgs, axios, BASE_PATH$9, configuration);
|
|
3348
|
+
});
|
|
3349
|
+
},
|
|
3350
|
+
/**
|
|
3351
|
+
*
|
|
3352
|
+
* @summary Create a request for storing a given application profile.
|
|
3353
|
+
* @param {ApplicationProfile} applicationProfile Object describing the application profile
|
|
3354
|
+
* @param {*} [options] Override http request option.
|
|
3355
|
+
* @throws {RequiredError}
|
|
3356
|
+
*/
|
|
3357
|
+
metadataSaveApplicationProfile(applicationProfile, options) {
|
|
3358
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3359
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.metadataSaveApplicationProfile(applicationProfile, options);
|
|
3360
|
+
return createRequestFunction$9(localVarAxiosArgs, axios, BASE_PATH$9, configuration);
|
|
3357
3361
|
});
|
|
3358
3362
|
},
|
|
3359
3363
|
};
|
|
@@ -3365,27 +3369,15 @@ const MetadataApiFp = function (configuration) {
|
|
|
3365
3369
|
const MetadataApiFactory = function (configuration, basePath, axios) {
|
|
3366
3370
|
const localVarFp = MetadataApiFp(configuration);
|
|
3367
3371
|
return {
|
|
3368
|
-
/**
|
|
3369
|
-
*
|
|
3370
|
-
* @summary Returns the application profile with the fixed values for the given resource.
|
|
3371
|
-
* @param {string} profile Url of the application profile
|
|
3372
|
-
* @param {string} resourceId Id of the resource
|
|
3373
|
-
* @param {*} [options] Override http request option.
|
|
3374
|
-
* @throws {RequiredError}
|
|
3375
|
-
*/
|
|
3376
|
-
metadataGetApplicationProfileComplete(profile, resourceId, options) {
|
|
3377
|
-
return localVarFp.metadataGetApplicationProfileComplete(profile, resourceId, options).then((request) => request(axios, basePath));
|
|
3378
|
-
},
|
|
3379
3372
|
/**
|
|
3380
3373
|
*
|
|
3381
3374
|
* @summary This method returns instances.
|
|
3382
|
-
* @param {string} projectId Id of the project
|
|
3383
3375
|
* @param {string} className class name
|
|
3384
3376
|
* @param {*} [options] Override http request option.
|
|
3385
3377
|
* @throws {RequiredError}
|
|
3386
3378
|
*/
|
|
3387
|
-
metadataGetClassInstances(
|
|
3388
|
-
return localVarFp.metadataGetClassInstances(
|
|
3379
|
+
metadataGetClassInstances(className, options) {
|
|
3380
|
+
return localVarFp.metadataGetClassInstances(className, options).then((request) => request(axios, basePath));
|
|
3389
3381
|
},
|
|
3390
3382
|
/**
|
|
3391
3383
|
*
|
|
@@ -3425,11 +3417,21 @@ const MetadataApiFactory = function (configuration, basePath, axios) {
|
|
|
3425
3417
|
metadataGetVocabulary(path, options) {
|
|
3426
3418
|
return localVarFp.metadataGetVocabulary(path, options).then((request) => request(axios, basePath));
|
|
3427
3419
|
},
|
|
3420
|
+
/**
|
|
3421
|
+
*
|
|
3422
|
+
* @summary Create a request for storing a given application profile.
|
|
3423
|
+
* @param {ApplicationProfile} applicationProfile Object describing the application profile
|
|
3424
|
+
* @param {*} [options] Override http request option.
|
|
3425
|
+
* @throws {RequiredError}
|
|
3426
|
+
*/
|
|
3427
|
+
metadataSaveApplicationProfile(applicationProfile, options) {
|
|
3428
|
+
return localVarFp.metadataSaveApplicationProfile(applicationProfile, options).then((request) => request(axios, basePath));
|
|
3429
|
+
},
|
|
3428
3430
|
};
|
|
3429
3431
|
};
|
|
3430
3432
|
|
|
3431
3433
|
/* tslint:disable */
|
|
3432
|
-
const BASE_PATH$
|
|
3434
|
+
const BASE_PATH$8 = "https://d-sp23.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Notices".replace(/\/+$/, "");
|
|
3433
3435
|
/**
|
|
3434
3436
|
*
|
|
3435
3437
|
* @export
|
|
@@ -3449,7 +3451,7 @@ class RequiredError$7 extends Error {
|
|
|
3449
3451
|
*
|
|
3450
3452
|
* @export
|
|
3451
3453
|
*/
|
|
3452
|
-
const DUMMY_BASE_URL$
|
|
3454
|
+
const DUMMY_BASE_URL$8 = 'https://example.com';
|
|
3453
3455
|
/**
|
|
3454
3456
|
*
|
|
3455
3457
|
* @throws {RequiredError}
|
|
@@ -3464,7 +3466,7 @@ const assertParamExists$7 = function (functionName, paramName, paramValue) {
|
|
|
3464
3466
|
*
|
|
3465
3467
|
* @export
|
|
3466
3468
|
*/
|
|
3467
|
-
const setApiKeyToObject$
|
|
3469
|
+
const setApiKeyToObject$8 = function (object, keyParamName, configuration) {
|
|
3468
3470
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3469
3471
|
if (configuration && configuration.apiKey) {
|
|
3470
3472
|
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
@@ -3478,7 +3480,7 @@ const setApiKeyToObject$7 = function (object, keyParamName, configuration) {
|
|
|
3478
3480
|
*
|
|
3479
3481
|
* @export
|
|
3480
3482
|
*/
|
|
3481
|
-
const setSearchParams$
|
|
3483
|
+
const setSearchParams$8 = function (url, ...objects) {
|
|
3482
3484
|
const searchParams = new URLSearchParams(url.search);
|
|
3483
3485
|
for (const object of objects) {
|
|
3484
3486
|
for (const key in object) {
|
|
@@ -3499,14 +3501,14 @@ const setSearchParams$7 = function (url, ...objects) {
|
|
|
3499
3501
|
*
|
|
3500
3502
|
* @export
|
|
3501
3503
|
*/
|
|
3502
|
-
const toPathString$
|
|
3504
|
+
const toPathString$8 = function (url) {
|
|
3503
3505
|
return url.pathname + url.search + url.hash;
|
|
3504
3506
|
};
|
|
3505
3507
|
/**
|
|
3506
3508
|
*
|
|
3507
3509
|
* @export
|
|
3508
3510
|
*/
|
|
3509
|
-
const createRequestFunction$
|
|
3511
|
+
const createRequestFunction$8 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
3510
3512
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
3511
3513
|
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
|
|
3512
3514
|
return axios.request(axiosRequestArgs);
|
|
@@ -3529,7 +3531,7 @@ const NoticeApiAxiosParamCreator = function (configuration) {
|
|
|
3529
3531
|
noticeGetMaintenance: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3530
3532
|
const localVarPath = `/Notice/getMaintenance`;
|
|
3531
3533
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3532
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
3534
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$8);
|
|
3533
3535
|
let baseOptions;
|
|
3534
3536
|
if (configuration) {
|
|
3535
3537
|
baseOptions = configuration.baseOptions;
|
|
@@ -3538,12 +3540,12 @@ const NoticeApiAxiosParamCreator = function (configuration) {
|
|
|
3538
3540
|
const localVarHeaderParameter = {};
|
|
3539
3541
|
const localVarQueryParameter = {};
|
|
3540
3542
|
// authentication JWT token required
|
|
3541
|
-
yield setApiKeyToObject$
|
|
3542
|
-
setSearchParams$
|
|
3543
|
+
yield setApiKeyToObject$8(localVarHeaderParameter, "Authorization", configuration);
|
|
3544
|
+
setSearchParams$8(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3543
3545
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3544
3546
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3545
3547
|
return {
|
|
3546
|
-
url: toPathString$
|
|
3548
|
+
url: toPathString$8(localVarUrlObj),
|
|
3547
3549
|
options: localVarRequestOptions,
|
|
3548
3550
|
};
|
|
3549
3551
|
}),
|
|
@@ -3561,7 +3563,7 @@ const NoticeApiAxiosParamCreator = function (configuration) {
|
|
|
3561
3563
|
const localVarPath = `/Notice/{documentSlug}`
|
|
3562
3564
|
.replace(`{${"documentSlug"}}`, encodeURIComponent(String(documentSlug)));
|
|
3563
3565
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3564
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
3566
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$8);
|
|
3565
3567
|
let baseOptions;
|
|
3566
3568
|
if (configuration) {
|
|
3567
3569
|
baseOptions = configuration.baseOptions;
|
|
@@ -3570,15 +3572,15 @@ const NoticeApiAxiosParamCreator = function (configuration) {
|
|
|
3570
3572
|
const localVarHeaderParameter = {};
|
|
3571
3573
|
const localVarQueryParameter = {};
|
|
3572
3574
|
// authentication JWT token required
|
|
3573
|
-
yield setApiKeyToObject$
|
|
3575
|
+
yield setApiKeyToObject$8(localVarHeaderParameter, "Authorization", configuration);
|
|
3574
3576
|
if (language !== undefined) {
|
|
3575
3577
|
localVarQueryParameter['language'] = language;
|
|
3576
3578
|
}
|
|
3577
|
-
setSearchParams$
|
|
3579
|
+
setSearchParams$8(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3578
3580
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3579
3581
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3580
3582
|
return {
|
|
3581
|
-
url: toPathString$
|
|
3583
|
+
url: toPathString$8(localVarUrlObj),
|
|
3582
3584
|
options: localVarRequestOptions,
|
|
3583
3585
|
};
|
|
3584
3586
|
}),
|
|
@@ -3600,7 +3602,7 @@ const NoticeApiFp = function (configuration) {
|
|
|
3600
3602
|
noticeGetMaintenance(options) {
|
|
3601
3603
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3602
3604
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.noticeGetMaintenance(options);
|
|
3603
|
-
return createRequestFunction$
|
|
3605
|
+
return createRequestFunction$8(localVarAxiosArgs, axios, BASE_PATH$8, configuration);
|
|
3604
3606
|
});
|
|
3605
3607
|
},
|
|
3606
3608
|
/**
|
|
@@ -3614,7 +3616,7 @@ const NoticeApiFp = function (configuration) {
|
|
|
3614
3616
|
noticeGetNotice(documentSlug, language, options) {
|
|
3615
3617
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3616
3618
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.noticeGetNotice(documentSlug, language, options);
|
|
3617
|
-
return createRequestFunction$
|
|
3619
|
+
return createRequestFunction$8(localVarAxiosArgs, axios, BASE_PATH$8, configuration);
|
|
3618
3620
|
});
|
|
3619
3621
|
},
|
|
3620
3622
|
};
|
|
@@ -3650,7 +3652,7 @@ const NoticeApiFactory = function (configuration, basePath, axios) {
|
|
|
3650
3652
|
};
|
|
3651
3653
|
|
|
3652
3654
|
/* tslint:disable */
|
|
3653
|
-
const BASE_PATH$
|
|
3655
|
+
const BASE_PATH$7 = "https://d-sp23.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Organization".replace(/\/+$/, "");
|
|
3654
3656
|
/**
|
|
3655
3657
|
*
|
|
3656
3658
|
* @export
|
|
@@ -3670,7 +3672,7 @@ class RequiredError$6 extends Error {
|
|
|
3670
3672
|
*
|
|
3671
3673
|
* @export
|
|
3672
3674
|
*/
|
|
3673
|
-
const DUMMY_BASE_URL$
|
|
3675
|
+
const DUMMY_BASE_URL$7 = 'https://example.com';
|
|
3674
3676
|
/**
|
|
3675
3677
|
*
|
|
3676
3678
|
* @throws {RequiredError}
|
|
@@ -3685,7 +3687,7 @@ const assertParamExists$6 = function (functionName, paramName, paramValue) {
|
|
|
3685
3687
|
*
|
|
3686
3688
|
* @export
|
|
3687
3689
|
*/
|
|
3688
|
-
const setApiKeyToObject$
|
|
3690
|
+
const setApiKeyToObject$7 = function (object, keyParamName, configuration) {
|
|
3689
3691
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3690
3692
|
if (configuration && configuration.apiKey) {
|
|
3691
3693
|
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
@@ -3699,7 +3701,7 @@ const setApiKeyToObject$6 = function (object, keyParamName, configuration) {
|
|
|
3699
3701
|
*
|
|
3700
3702
|
* @export
|
|
3701
3703
|
*/
|
|
3702
|
-
const setSearchParams$
|
|
3704
|
+
const setSearchParams$7 = function (url, ...objects) {
|
|
3703
3705
|
const searchParams = new URLSearchParams(url.search);
|
|
3704
3706
|
for (const object of objects) {
|
|
3705
3707
|
for (const key in object) {
|
|
@@ -3720,14 +3722,14 @@ const setSearchParams$6 = function (url, ...objects) {
|
|
|
3720
3722
|
*
|
|
3721
3723
|
* @export
|
|
3722
3724
|
*/
|
|
3723
|
-
const toPathString$
|
|
3725
|
+
const toPathString$7 = function (url) {
|
|
3724
3726
|
return url.pathname + url.search + url.hash;
|
|
3725
3727
|
};
|
|
3726
3728
|
/**
|
|
3727
3729
|
*
|
|
3728
3730
|
* @export
|
|
3729
3731
|
*/
|
|
3730
|
-
const createRequestFunction$
|
|
3732
|
+
const createRequestFunction$7 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
3731
3733
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
3732
3734
|
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
|
|
3733
3735
|
return axios.request(axiosRequestArgs);
|
|
@@ -3754,7 +3756,7 @@ const OrganizationApiAxiosParamCreator = function (configuration) {
|
|
|
3754
3756
|
const localVarPath = `/Organization/{url}`
|
|
3755
3757
|
.replace(`{${"url"}}`, encodeURIComponent(String(url)));
|
|
3756
3758
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3757
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
3759
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
3758
3760
|
let baseOptions;
|
|
3759
3761
|
if (configuration) {
|
|
3760
3762
|
baseOptions = configuration.baseOptions;
|
|
@@ -3763,12 +3765,12 @@ const OrganizationApiAxiosParamCreator = function (configuration) {
|
|
|
3763
3765
|
const localVarHeaderParameter = {};
|
|
3764
3766
|
const localVarQueryParameter = {};
|
|
3765
3767
|
// authentication JWT token required
|
|
3766
|
-
yield setApiKeyToObject$
|
|
3767
|
-
setSearchParams$
|
|
3768
|
+
yield setApiKeyToObject$7(localVarHeaderParameter, "Authorization", configuration);
|
|
3769
|
+
setSearchParams$7(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3768
3770
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3769
3771
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3770
3772
|
return {
|
|
3771
|
-
url: toPathString$
|
|
3773
|
+
url: toPathString$7(localVarUrlObj),
|
|
3772
3774
|
options: localVarRequestOptions,
|
|
3773
3775
|
};
|
|
3774
3776
|
}),
|
|
@@ -3782,7 +3784,7 @@ const OrganizationApiAxiosParamCreator = function (configuration) {
|
|
|
3782
3784
|
organizationGetROR: (filter, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3783
3785
|
const localVarPath = `/Organization/-/ror`;
|
|
3784
3786
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3785
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
3787
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
3786
3788
|
let baseOptions;
|
|
3787
3789
|
if (configuration) {
|
|
3788
3790
|
baseOptions = configuration.baseOptions;
|
|
@@ -3791,15 +3793,15 @@ const OrganizationApiAxiosParamCreator = function (configuration) {
|
|
|
3791
3793
|
const localVarHeaderParameter = {};
|
|
3792
3794
|
const localVarQueryParameter = {};
|
|
3793
3795
|
// authentication JWT token required
|
|
3794
|
-
yield setApiKeyToObject$
|
|
3796
|
+
yield setApiKeyToObject$7(localVarHeaderParameter, "Authorization", configuration);
|
|
3795
3797
|
if (filter !== undefined) {
|
|
3796
3798
|
localVarQueryParameter['filter'] = filter;
|
|
3797
3799
|
}
|
|
3798
|
-
setSearchParams$
|
|
3800
|
+
setSearchParams$7(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3799
3801
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3800
3802
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3801
3803
|
return {
|
|
3802
|
-
url: toPathString$
|
|
3804
|
+
url: toPathString$7(localVarUrlObj),
|
|
3803
3805
|
options: localVarRequestOptions,
|
|
3804
3806
|
};
|
|
3805
3807
|
}),
|
|
@@ -3814,7 +3816,7 @@ const OrganizationApiAxiosParamCreator = function (configuration) {
|
|
|
3814
3816
|
organizationIndex: (member, filter, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3815
3817
|
const localVarPath = `/Organization`;
|
|
3816
3818
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3817
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
3819
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
3818
3820
|
let baseOptions;
|
|
3819
3821
|
if (configuration) {
|
|
3820
3822
|
baseOptions = configuration.baseOptions;
|
|
@@ -3823,18 +3825,18 @@ const OrganizationApiAxiosParamCreator = function (configuration) {
|
|
|
3823
3825
|
const localVarHeaderParameter = {};
|
|
3824
3826
|
const localVarQueryParameter = {};
|
|
3825
3827
|
// authentication JWT token required
|
|
3826
|
-
yield setApiKeyToObject$
|
|
3828
|
+
yield setApiKeyToObject$7(localVarHeaderParameter, "Authorization", configuration);
|
|
3827
3829
|
if (member !== undefined) {
|
|
3828
3830
|
localVarQueryParameter['member'] = member;
|
|
3829
3831
|
}
|
|
3830
3832
|
if (filter !== undefined) {
|
|
3831
3833
|
localVarQueryParameter['filter'] = filter;
|
|
3832
3834
|
}
|
|
3833
|
-
setSearchParams$
|
|
3835
|
+
setSearchParams$7(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3834
3836
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3835
3837
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3836
3838
|
return {
|
|
3837
|
-
url: toPathString$
|
|
3839
|
+
url: toPathString$7(localVarUrlObj),
|
|
3838
3840
|
options: localVarRequestOptions,
|
|
3839
3841
|
};
|
|
3840
3842
|
}),
|
|
@@ -3851,7 +3853,7 @@ const OrganizationApiAxiosParamCreator = function (configuration) {
|
|
|
3851
3853
|
const localVarPath = `/Organization/-/isMember/{url}`
|
|
3852
3854
|
.replace(`{${"url"}}`, encodeURIComponent(String(url)));
|
|
3853
3855
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3854
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
3856
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
3855
3857
|
let baseOptions;
|
|
3856
3858
|
if (configuration) {
|
|
3857
3859
|
baseOptions = configuration.baseOptions;
|
|
@@ -3860,12 +3862,12 @@ const OrganizationApiAxiosParamCreator = function (configuration) {
|
|
|
3860
3862
|
const localVarHeaderParameter = {};
|
|
3861
3863
|
const localVarQueryParameter = {};
|
|
3862
3864
|
// authentication JWT token required
|
|
3863
|
-
yield setApiKeyToObject$
|
|
3864
|
-
setSearchParams$
|
|
3865
|
+
yield setApiKeyToObject$7(localVarHeaderParameter, "Authorization", configuration);
|
|
3866
|
+
setSearchParams$7(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3865
3867
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3866
3868
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3867
3869
|
return {
|
|
3868
|
-
url: toPathString$
|
|
3870
|
+
url: toPathString$7(localVarUrlObj),
|
|
3869
3871
|
options: localVarRequestOptions,
|
|
3870
3872
|
};
|
|
3871
3873
|
}),
|
|
@@ -3878,7 +3880,7 @@ const OrganizationApiAxiosParamCreator = function (configuration) {
|
|
|
3878
3880
|
organizationIsMember2: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3879
3881
|
const localVarPath = `/Organization/-/isMember`;
|
|
3880
3882
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3881
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
3883
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
3882
3884
|
let baseOptions;
|
|
3883
3885
|
if (configuration) {
|
|
3884
3886
|
baseOptions = configuration.baseOptions;
|
|
@@ -3887,12 +3889,12 @@ const OrganizationApiAxiosParamCreator = function (configuration) {
|
|
|
3887
3889
|
const localVarHeaderParameter = {};
|
|
3888
3890
|
const localVarQueryParameter = {};
|
|
3889
3891
|
// authentication JWT token required
|
|
3890
|
-
yield setApiKeyToObject$
|
|
3891
|
-
setSearchParams$
|
|
3892
|
+
yield setApiKeyToObject$7(localVarHeaderParameter, "Authorization", configuration);
|
|
3893
|
+
setSearchParams$7(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3892
3894
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3893
3895
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3894
3896
|
return {
|
|
3895
|
-
url: toPathString$
|
|
3897
|
+
url: toPathString$7(localVarUrlObj),
|
|
3896
3898
|
options: localVarRequestOptions,
|
|
3897
3899
|
};
|
|
3898
3900
|
}),
|
|
@@ -3915,7 +3917,7 @@ const OrganizationApiFp = function (configuration) {
|
|
|
3915
3917
|
organizationGetOrganization(url, options) {
|
|
3916
3918
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3917
3919
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.organizationGetOrganization(url, options);
|
|
3918
|
-
return createRequestFunction$
|
|
3920
|
+
return createRequestFunction$7(localVarAxiosArgs, axios, BASE_PATH$7, configuration);
|
|
3919
3921
|
});
|
|
3920
3922
|
},
|
|
3921
3923
|
/**
|
|
@@ -3928,7 +3930,7 @@ const OrganizationApiFp = function (configuration) {
|
|
|
3928
3930
|
organizationGetROR(filter, options) {
|
|
3929
3931
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3930
3932
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.organizationGetROR(filter, options);
|
|
3931
|
-
return createRequestFunction$
|
|
3933
|
+
return createRequestFunction$7(localVarAxiosArgs, axios, BASE_PATH$7, configuration);
|
|
3932
3934
|
});
|
|
3933
3935
|
},
|
|
3934
3936
|
/**
|
|
@@ -3942,7 +3944,7 @@ const OrganizationApiFp = function (configuration) {
|
|
|
3942
3944
|
organizationIndex(member, filter, options) {
|
|
3943
3945
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3944
3946
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.organizationIndex(member, filter, options);
|
|
3945
|
-
return createRequestFunction$
|
|
3947
|
+
return createRequestFunction$7(localVarAxiosArgs, axios, BASE_PATH$7, configuration);
|
|
3946
3948
|
});
|
|
3947
3949
|
},
|
|
3948
3950
|
/**
|
|
@@ -3955,7 +3957,7 @@ const OrganizationApiFp = function (configuration) {
|
|
|
3955
3957
|
organizationIsMember(url, options) {
|
|
3956
3958
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3957
3959
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.organizationIsMember(url, options);
|
|
3958
|
-
return createRequestFunction$
|
|
3960
|
+
return createRequestFunction$7(localVarAxiosArgs, axios, BASE_PATH$7, configuration);
|
|
3959
3961
|
});
|
|
3960
3962
|
},
|
|
3961
3963
|
/**
|
|
@@ -3967,7 +3969,7 @@ const OrganizationApiFp = function (configuration) {
|
|
|
3967
3969
|
organizationIsMember2(options) {
|
|
3968
3970
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3969
3971
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.organizationIsMember2(options);
|
|
3970
|
-
return createRequestFunction$
|
|
3972
|
+
return createRequestFunction$7(localVarAxiosArgs, axios, BASE_PATH$7, configuration);
|
|
3971
3973
|
});
|
|
3972
3974
|
},
|
|
3973
3975
|
};
|
|
@@ -4033,7 +4035,7 @@ const OrganizationApiFactory = function (configuration, basePath, axios) {
|
|
|
4033
4035
|
};
|
|
4034
4036
|
|
|
4035
4037
|
/* tslint:disable */
|
|
4036
|
-
const BASE_PATH$
|
|
4038
|
+
const BASE_PATH$6 = "https://d-sp23.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Project".replace(/\/+$/, "");
|
|
4037
4039
|
/**
|
|
4038
4040
|
*
|
|
4039
4041
|
* @export
|
|
@@ -4053,7 +4055,7 @@ class RequiredError$5 extends Error {
|
|
|
4053
4055
|
*
|
|
4054
4056
|
* @export
|
|
4055
4057
|
*/
|
|
4056
|
-
const DUMMY_BASE_URL$
|
|
4058
|
+
const DUMMY_BASE_URL$6 = 'https://example.com';
|
|
4057
4059
|
/**
|
|
4058
4060
|
*
|
|
4059
4061
|
* @throws {RequiredError}
|
|
@@ -4068,7 +4070,7 @@ const assertParamExists$5 = function (functionName, paramName, paramValue) {
|
|
|
4068
4070
|
*
|
|
4069
4071
|
* @export
|
|
4070
4072
|
*/
|
|
4071
|
-
const setApiKeyToObject$
|
|
4073
|
+
const setApiKeyToObject$6 = function (object, keyParamName, configuration) {
|
|
4072
4074
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4073
4075
|
if (configuration && configuration.apiKey) {
|
|
4074
4076
|
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
@@ -4082,7 +4084,7 @@ const setApiKeyToObject$5 = function (object, keyParamName, configuration) {
|
|
|
4082
4084
|
*
|
|
4083
4085
|
* @export
|
|
4084
4086
|
*/
|
|
4085
|
-
const setSearchParams$
|
|
4087
|
+
const setSearchParams$6 = function (url, ...objects) {
|
|
4086
4088
|
const searchParams = new URLSearchParams(url.search);
|
|
4087
4089
|
for (const object of objects) {
|
|
4088
4090
|
for (const key in object) {
|
|
@@ -4116,14 +4118,14 @@ const serializeDataIfNeeded$4 = function (value, requestOptions, configuration)
|
|
|
4116
4118
|
*
|
|
4117
4119
|
* @export
|
|
4118
4120
|
*/
|
|
4119
|
-
const toPathString$
|
|
4121
|
+
const toPathString$6 = function (url) {
|
|
4120
4122
|
return url.pathname + url.search + url.hash;
|
|
4121
4123
|
};
|
|
4122
4124
|
/**
|
|
4123
4125
|
*
|
|
4124
4126
|
* @export
|
|
4125
4127
|
*/
|
|
4126
|
-
const createRequestFunction$
|
|
4128
|
+
const createRequestFunction$6 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
4127
4129
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
4128
4130
|
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
|
|
4129
4131
|
return axios.request(axiosRequestArgs);
|
|
@@ -4146,7 +4148,7 @@ const DisciplineApiAxiosParamCreator = function (configuration) {
|
|
|
4146
4148
|
disciplineIndex: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4147
4149
|
const localVarPath = `/Discipline`;
|
|
4148
4150
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4149
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4151
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4150
4152
|
let baseOptions;
|
|
4151
4153
|
if (configuration) {
|
|
4152
4154
|
baseOptions = configuration.baseOptions;
|
|
@@ -4155,12 +4157,12 @@ const DisciplineApiAxiosParamCreator = function (configuration) {
|
|
|
4155
4157
|
const localVarHeaderParameter = {};
|
|
4156
4158
|
const localVarQueryParameter = {};
|
|
4157
4159
|
// authentication JWT token required
|
|
4158
|
-
yield setApiKeyToObject$
|
|
4159
|
-
setSearchParams$
|
|
4160
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4161
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4160
4162
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4161
4163
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4162
4164
|
return {
|
|
4163
|
-
url: toPathString$
|
|
4165
|
+
url: toPathString$6(localVarUrlObj),
|
|
4164
4166
|
options: localVarRequestOptions,
|
|
4165
4167
|
};
|
|
4166
4168
|
}),
|
|
@@ -4182,7 +4184,7 @@ const DisciplineApiFp = function (configuration) {
|
|
|
4182
4184
|
disciplineIndex(options) {
|
|
4183
4185
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4184
4186
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.disciplineIndex(options);
|
|
4185
|
-
return createRequestFunction$
|
|
4187
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4186
4188
|
});
|
|
4187
4189
|
},
|
|
4188
4190
|
};
|
|
@@ -4220,7 +4222,7 @@ const LicenseApiAxiosParamCreator = function (configuration) {
|
|
|
4220
4222
|
licenseIndex: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4221
4223
|
const localVarPath = `/License`;
|
|
4222
4224
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4223
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4225
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4224
4226
|
let baseOptions;
|
|
4225
4227
|
if (configuration) {
|
|
4226
4228
|
baseOptions = configuration.baseOptions;
|
|
@@ -4229,12 +4231,12 @@ const LicenseApiAxiosParamCreator = function (configuration) {
|
|
|
4229
4231
|
const localVarHeaderParameter = {};
|
|
4230
4232
|
const localVarQueryParameter = {};
|
|
4231
4233
|
// authentication JWT token required
|
|
4232
|
-
yield setApiKeyToObject$
|
|
4233
|
-
setSearchParams$
|
|
4234
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4235
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4234
4236
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4235
4237
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4236
4238
|
return {
|
|
4237
|
-
url: toPathString$
|
|
4239
|
+
url: toPathString$6(localVarUrlObj),
|
|
4238
4240
|
options: localVarRequestOptions,
|
|
4239
4241
|
};
|
|
4240
4242
|
}),
|
|
@@ -4256,7 +4258,7 @@ const LicenseApiFp = function (configuration) {
|
|
|
4256
4258
|
licenseIndex(options) {
|
|
4257
4259
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4258
4260
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.licenseIndex(options);
|
|
4259
|
-
return createRequestFunction$
|
|
4261
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4260
4262
|
});
|
|
4261
4263
|
},
|
|
4262
4264
|
};
|
|
@@ -4298,7 +4300,7 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
4298
4300
|
const localVarPath = `/Project/{id}`
|
|
4299
4301
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
4300
4302
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4301
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4303
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4302
4304
|
let baseOptions;
|
|
4303
4305
|
if (configuration) {
|
|
4304
4306
|
baseOptions = configuration.baseOptions;
|
|
@@ -4307,12 +4309,12 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
4307
4309
|
const localVarHeaderParameter = {};
|
|
4308
4310
|
const localVarQueryParameter = {};
|
|
4309
4311
|
// authentication JWT token required
|
|
4310
|
-
yield setApiKeyToObject$
|
|
4311
|
-
setSearchParams$
|
|
4312
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4313
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4312
4314
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4313
4315
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4314
4316
|
return {
|
|
4315
|
-
url: toPathString$
|
|
4317
|
+
url: toPathString$6(localVarUrlObj),
|
|
4316
4318
|
options: localVarRequestOptions,
|
|
4317
4319
|
};
|
|
4318
4320
|
}),
|
|
@@ -4329,7 +4331,7 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
4329
4331
|
const localVarPath = `/Project/invitation/{invitationId}`
|
|
4330
4332
|
.replace(`{${"invitationId"}}`, encodeURIComponent(String(invitationId)));
|
|
4331
4333
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4332
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4334
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4333
4335
|
let baseOptions;
|
|
4334
4336
|
if (configuration) {
|
|
4335
4337
|
baseOptions = configuration.baseOptions;
|
|
@@ -4338,12 +4340,12 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
4338
4340
|
const localVarHeaderParameter = {};
|
|
4339
4341
|
const localVarQueryParameter = {};
|
|
4340
4342
|
// authentication JWT token required
|
|
4341
|
-
yield setApiKeyToObject$
|
|
4342
|
-
setSearchParams$
|
|
4343
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4344
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4343
4345
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4344
4346
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4345
4347
|
return {
|
|
4346
|
-
url: toPathString$
|
|
4348
|
+
url: toPathString$6(localVarUrlObj),
|
|
4347
4349
|
options: localVarRequestOptions,
|
|
4348
4350
|
};
|
|
4349
4351
|
}),
|
|
@@ -4360,7 +4362,7 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
4360
4362
|
const localVarPath = `/Project/{id}`
|
|
4361
4363
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
4362
4364
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4363
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4365
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4364
4366
|
let baseOptions;
|
|
4365
4367
|
if (configuration) {
|
|
4366
4368
|
baseOptions = configuration.baseOptions;
|
|
@@ -4369,12 +4371,12 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
4369
4371
|
const localVarHeaderParameter = {};
|
|
4370
4372
|
const localVarQueryParameter = {};
|
|
4371
4373
|
// authentication JWT token required
|
|
4372
|
-
yield setApiKeyToObject$
|
|
4373
|
-
setSearchParams$
|
|
4374
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4375
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4374
4376
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4375
4377
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4376
4378
|
return {
|
|
4377
|
-
url: toPathString$
|
|
4379
|
+
url: toPathString$6(localVarUrlObj),
|
|
4378
4380
|
options: localVarRequestOptions,
|
|
4379
4381
|
};
|
|
4380
4382
|
}),
|
|
@@ -4395,7 +4397,7 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
4395
4397
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)))
|
|
4396
4398
|
.replace(`{${"resourceTypeId"}}`, encodeURIComponent(String(resourceTypeId)));
|
|
4397
4399
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4398
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4400
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4399
4401
|
let baseOptions;
|
|
4400
4402
|
if (configuration) {
|
|
4401
4403
|
baseOptions = configuration.baseOptions;
|
|
@@ -4404,12 +4406,12 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
4404
4406
|
const localVarHeaderParameter = {};
|
|
4405
4407
|
const localVarQueryParameter = {};
|
|
4406
4408
|
// authentication JWT token required
|
|
4407
|
-
yield setApiKeyToObject$
|
|
4408
|
-
setSearchParams$
|
|
4409
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4410
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4409
4411
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4410
4412
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4411
4413
|
return {
|
|
4412
|
-
url: toPathString$
|
|
4414
|
+
url: toPathString$6(localVarUrlObj),
|
|
4413
4415
|
options: localVarRequestOptions,
|
|
4414
4416
|
};
|
|
4415
4417
|
}),
|
|
@@ -4426,7 +4428,7 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
4426
4428
|
const localVarPath = `/Project/{id}/resources`
|
|
4427
4429
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
4428
4430
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4429
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4431
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4430
4432
|
let baseOptions;
|
|
4431
4433
|
if (configuration) {
|
|
4432
4434
|
baseOptions = configuration.baseOptions;
|
|
@@ -4435,12 +4437,12 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
4435
4437
|
const localVarHeaderParameter = {};
|
|
4436
4438
|
const localVarQueryParameter = {};
|
|
4437
4439
|
// authentication JWT token required
|
|
4438
|
-
yield setApiKeyToObject$
|
|
4439
|
-
setSearchParams$
|
|
4440
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4441
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4440
4442
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4441
4443
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4442
4444
|
return {
|
|
4443
|
-
url: toPathString$
|
|
4445
|
+
url: toPathString$6(localVarUrlObj),
|
|
4444
4446
|
options: localVarRequestOptions,
|
|
4445
4447
|
};
|
|
4446
4448
|
}),
|
|
@@ -4453,7 +4455,7 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
4453
4455
|
projectGetTopLevelProjects: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4454
4456
|
const localVarPath = `/Project/-/topLevel`;
|
|
4455
4457
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4456
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4458
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4457
4459
|
let baseOptions;
|
|
4458
4460
|
if (configuration) {
|
|
4459
4461
|
baseOptions = configuration.baseOptions;
|
|
@@ -4462,12 +4464,12 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
4462
4464
|
const localVarHeaderParameter = {};
|
|
4463
4465
|
const localVarQueryParameter = {};
|
|
4464
4466
|
// authentication JWT token required
|
|
4465
|
-
yield setApiKeyToObject$
|
|
4466
|
-
setSearchParams$
|
|
4467
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4468
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4467
4469
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4468
4470
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4469
4471
|
return {
|
|
4470
|
-
url: toPathString$
|
|
4472
|
+
url: toPathString$6(localVarUrlObj),
|
|
4471
4473
|
options: localVarRequestOptions,
|
|
4472
4474
|
};
|
|
4473
4475
|
}),
|
|
@@ -4480,7 +4482,7 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
4480
4482
|
projectIndex: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4481
4483
|
const localVarPath = `/Project`;
|
|
4482
4484
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4483
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4485
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4484
4486
|
let baseOptions;
|
|
4485
4487
|
if (configuration) {
|
|
4486
4488
|
baseOptions = configuration.baseOptions;
|
|
@@ -4489,12 +4491,12 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
4489
4491
|
const localVarHeaderParameter = {};
|
|
4490
4492
|
const localVarQueryParameter = {};
|
|
4491
4493
|
// authentication JWT token required
|
|
4492
|
-
yield setApiKeyToObject$
|
|
4493
|
-
setSearchParams$
|
|
4494
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4495
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4494
4496
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4495
4497
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4496
4498
|
return {
|
|
4497
|
-
url: toPathString$
|
|
4499
|
+
url: toPathString$6(localVarUrlObj),
|
|
4498
4500
|
options: localVarRequestOptions,
|
|
4499
4501
|
};
|
|
4500
4502
|
}),
|
|
@@ -4511,7 +4513,7 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
4511
4513
|
const localVarPath = `/Project/invitation/list/{projectId}`
|
|
4512
4514
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
4513
4515
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4514
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4516
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4515
4517
|
let baseOptions;
|
|
4516
4518
|
if (configuration) {
|
|
4517
4519
|
baseOptions = configuration.baseOptions;
|
|
@@ -4520,12 +4522,12 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
4520
4522
|
const localVarHeaderParameter = {};
|
|
4521
4523
|
const localVarQueryParameter = {};
|
|
4522
4524
|
// authentication JWT token required
|
|
4523
|
-
yield setApiKeyToObject$
|
|
4524
|
-
setSearchParams$
|
|
4525
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4526
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4525
4527
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4526
4528
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4527
4529
|
return {
|
|
4528
|
-
url: toPathString$
|
|
4530
|
+
url: toPathString$6(localVarUrlObj),
|
|
4529
4531
|
options: localVarRequestOptions,
|
|
4530
4532
|
};
|
|
4531
4533
|
}),
|
|
@@ -4546,7 +4548,7 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
4546
4548
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)))
|
|
4547
4549
|
.replace(`{${"resourceTypeId"}}`, encodeURIComponent(String(resourceTypeId)));
|
|
4548
4550
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4549
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4551
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4550
4552
|
let baseOptions;
|
|
4551
4553
|
if (configuration) {
|
|
4552
4554
|
baseOptions = configuration.baseOptions;
|
|
@@ -4555,12 +4557,12 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
4555
4557
|
const localVarHeaderParameter = {};
|
|
4556
4558
|
const localVarQueryParameter = {};
|
|
4557
4559
|
// authentication JWT token required
|
|
4558
|
-
yield setApiKeyToObject$
|
|
4559
|
-
setSearchParams$
|
|
4560
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4561
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4560
4562
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4561
4563
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4562
4564
|
return {
|
|
4563
|
-
url: toPathString$
|
|
4565
|
+
url: toPathString$6(localVarUrlObj),
|
|
4564
4566
|
options: localVarRequestOptions,
|
|
4565
4567
|
};
|
|
4566
4568
|
}),
|
|
@@ -4577,7 +4579,7 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
4577
4579
|
const localVarPath = `/Project/{projectId}/quota/-/all`
|
|
4578
4580
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
4579
4581
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4580
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4582
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4581
4583
|
let baseOptions;
|
|
4582
4584
|
if (configuration) {
|
|
4583
4585
|
baseOptions = configuration.baseOptions;
|
|
@@ -4586,12 +4588,12 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
4586
4588
|
const localVarHeaderParameter = {};
|
|
4587
4589
|
const localVarQueryParameter = {};
|
|
4588
4590
|
// authentication JWT token required
|
|
4589
|
-
yield setApiKeyToObject$
|
|
4590
|
-
setSearchParams$
|
|
4591
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4592
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4591
4593
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4592
4594
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4593
4595
|
return {
|
|
4594
|
-
url: toPathString$
|
|
4596
|
+
url: toPathString$6(localVarUrlObj),
|
|
4595
4597
|
options: localVarRequestOptions,
|
|
4596
4598
|
};
|
|
4597
4599
|
}),
|
|
@@ -4608,7 +4610,7 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
4608
4610
|
const localVarPath = `/Project/invitation/resolve/{token}`
|
|
4609
4611
|
.replace(`{${"token"}}`, encodeURIComponent(String(token)));
|
|
4610
4612
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4611
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4613
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4612
4614
|
let baseOptions;
|
|
4613
4615
|
if (configuration) {
|
|
4614
4616
|
baseOptions = configuration.baseOptions;
|
|
@@ -4617,12 +4619,12 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
4617
4619
|
const localVarHeaderParameter = {};
|
|
4618
4620
|
const localVarQueryParameter = {};
|
|
4619
4621
|
// authentication JWT token required
|
|
4620
|
-
yield setApiKeyToObject$
|
|
4621
|
-
setSearchParams$
|
|
4622
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4623
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4622
4624
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4623
4625
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4624
4626
|
return {
|
|
4625
|
-
url: toPathString$
|
|
4627
|
+
url: toPathString$6(localVarUrlObj),
|
|
4626
4628
|
options: localVarRequestOptions,
|
|
4627
4629
|
};
|
|
4628
4630
|
}),
|
|
@@ -4638,7 +4640,7 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
4638
4640
|
assertParamExists$5('projectSendInvitation', 'sendInvitationObject', sendInvitationObject);
|
|
4639
4641
|
const localVarPath = `/Project/invitation`;
|
|
4640
4642
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4641
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4643
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4642
4644
|
let baseOptions;
|
|
4643
4645
|
if (configuration) {
|
|
4644
4646
|
baseOptions = configuration.baseOptions;
|
|
@@ -4647,14 +4649,14 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
4647
4649
|
const localVarHeaderParameter = {};
|
|
4648
4650
|
const localVarQueryParameter = {};
|
|
4649
4651
|
// authentication JWT token required
|
|
4650
|
-
yield setApiKeyToObject$
|
|
4652
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4651
4653
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4652
|
-
setSearchParams$
|
|
4654
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4653
4655
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4654
4656
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4655
4657
|
localVarRequestOptions.data = serializeDataIfNeeded$4(sendInvitationObject, localVarRequestOptions, configuration);
|
|
4656
4658
|
return {
|
|
4657
|
-
url: toPathString$
|
|
4659
|
+
url: toPathString$6(localVarUrlObj),
|
|
4658
4660
|
options: localVarRequestOptions,
|
|
4659
4661
|
};
|
|
4660
4662
|
}),
|
|
@@ -4667,7 +4669,7 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
4667
4669
|
projectStore: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4668
4670
|
const localVarPath = `/Project`;
|
|
4669
4671
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4670
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4672
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4671
4673
|
let baseOptions;
|
|
4672
4674
|
if (configuration) {
|
|
4673
4675
|
baseOptions = configuration.baseOptions;
|
|
@@ -4676,12 +4678,12 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
4676
4678
|
const localVarHeaderParameter = {};
|
|
4677
4679
|
const localVarQueryParameter = {};
|
|
4678
4680
|
// authentication JWT token required
|
|
4679
|
-
yield setApiKeyToObject$
|
|
4680
|
-
setSearchParams$
|
|
4681
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4682
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4681
4683
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4682
4684
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4683
4685
|
return {
|
|
4684
|
-
url: toPathString$
|
|
4686
|
+
url: toPathString$6(localVarUrlObj),
|
|
4685
4687
|
options: localVarRequestOptions,
|
|
4686
4688
|
};
|
|
4687
4689
|
}),
|
|
@@ -4698,7 +4700,7 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
4698
4700
|
const localVarPath = `/Project/{id}`
|
|
4699
4701
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
4700
4702
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4701
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4703
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4702
4704
|
let baseOptions;
|
|
4703
4705
|
if (configuration) {
|
|
4704
4706
|
baseOptions = configuration.baseOptions;
|
|
@@ -4707,12 +4709,12 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
4707
4709
|
const localVarHeaderParameter = {};
|
|
4708
4710
|
const localVarQueryParameter = {};
|
|
4709
4711
|
// authentication JWT token required
|
|
4710
|
-
yield setApiKeyToObject$
|
|
4711
|
-
setSearchParams$
|
|
4712
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4713
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4712
4714
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4713
4715
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4714
4716
|
return {
|
|
4715
|
-
url: toPathString$
|
|
4717
|
+
url: toPathString$6(localVarUrlObj),
|
|
4716
4718
|
options: localVarRequestOptions,
|
|
4717
4719
|
};
|
|
4718
4720
|
}),
|
|
@@ -4736,7 +4738,7 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
4736
4738
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)))
|
|
4737
4739
|
.replace(`{${"resourceTypeId"}}`, encodeURIComponent(String(resourceTypeId)));
|
|
4738
4740
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4739
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4741
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4740
4742
|
let baseOptions;
|
|
4741
4743
|
if (configuration) {
|
|
4742
4744
|
baseOptions = configuration.baseOptions;
|
|
@@ -4745,14 +4747,14 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
4745
4747
|
const localVarHeaderParameter = {};
|
|
4746
4748
|
const localVarQueryParameter = {};
|
|
4747
4749
|
// authentication JWT token required
|
|
4748
|
-
yield setApiKeyToObject$
|
|
4750
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4749
4751
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4750
|
-
setSearchParams$
|
|
4752
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4751
4753
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4752
4754
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4753
4755
|
localVarRequestOptions.data = serializeDataIfNeeded$4(updateProjectQuotaObject, localVarRequestOptions, configuration);
|
|
4754
4756
|
return {
|
|
4755
|
-
url: toPathString$
|
|
4757
|
+
url: toPathString$6(localVarUrlObj),
|
|
4756
4758
|
options: localVarRequestOptions,
|
|
4757
4759
|
};
|
|
4758
4760
|
}),
|
|
@@ -4775,7 +4777,7 @@ const ProjectApiFp = function (configuration) {
|
|
|
4775
4777
|
projectDelete(id, options) {
|
|
4776
4778
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4777
4779
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectDelete(id, options);
|
|
4778
|
-
return createRequestFunction$
|
|
4780
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4779
4781
|
});
|
|
4780
4782
|
},
|
|
4781
4783
|
/**
|
|
@@ -4788,7 +4790,7 @@ const ProjectApiFp = function (configuration) {
|
|
|
4788
4790
|
projectDeleteInvitation(invitationId, options) {
|
|
4789
4791
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4790
4792
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectDeleteInvitation(invitationId, options);
|
|
4791
|
-
return createRequestFunction$
|
|
4793
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4792
4794
|
});
|
|
4793
4795
|
},
|
|
4794
4796
|
/**
|
|
@@ -4801,7 +4803,7 @@ const ProjectApiFp = function (configuration) {
|
|
|
4801
4803
|
projectGet(id, options) {
|
|
4802
4804
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4803
4805
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectGet(id, options);
|
|
4804
|
-
return createRequestFunction$
|
|
4806
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4805
4807
|
});
|
|
4806
4808
|
},
|
|
4807
4809
|
/**
|
|
@@ -4815,7 +4817,7 @@ const ProjectApiFp = function (configuration) {
|
|
|
4815
4817
|
projectGetQuotaMax(projectId, resourceTypeId, options) {
|
|
4816
4818
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4817
4819
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectGetQuotaMax(projectId, resourceTypeId, options);
|
|
4818
|
-
return createRequestFunction$
|
|
4820
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4819
4821
|
});
|
|
4820
4822
|
},
|
|
4821
4823
|
/**
|
|
@@ -4828,7 +4830,7 @@ const ProjectApiFp = function (configuration) {
|
|
|
4828
4830
|
projectGetResources(id, options) {
|
|
4829
4831
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4830
4832
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectGetResources(id, options);
|
|
4831
|
-
return createRequestFunction$
|
|
4833
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4832
4834
|
});
|
|
4833
4835
|
},
|
|
4834
4836
|
/**
|
|
@@ -4840,7 +4842,7 @@ const ProjectApiFp = function (configuration) {
|
|
|
4840
4842
|
projectGetTopLevelProjects(options) {
|
|
4841
4843
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4842
4844
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectGetTopLevelProjects(options);
|
|
4843
|
-
return createRequestFunction$
|
|
4845
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4844
4846
|
});
|
|
4845
4847
|
},
|
|
4846
4848
|
/**
|
|
@@ -4852,7 +4854,7 @@ const ProjectApiFp = function (configuration) {
|
|
|
4852
4854
|
projectIndex(options) {
|
|
4853
4855
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4854
4856
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectIndex(options);
|
|
4855
|
-
return createRequestFunction$
|
|
4857
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4856
4858
|
});
|
|
4857
4859
|
},
|
|
4858
4860
|
/**
|
|
@@ -4865,7 +4867,7 @@ const ProjectApiFp = function (configuration) {
|
|
|
4865
4867
|
projectListInvitations(projectId, options) {
|
|
4866
4868
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4867
4869
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectListInvitations(projectId, options);
|
|
4868
|
-
return createRequestFunction$
|
|
4870
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4869
4871
|
});
|
|
4870
4872
|
},
|
|
4871
4873
|
/**
|
|
@@ -4879,7 +4881,7 @@ const ProjectApiFp = function (configuration) {
|
|
|
4879
4881
|
projectQuota(projectId, resourceTypeId, options) {
|
|
4880
4882
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4881
4883
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectQuota(projectId, resourceTypeId, options);
|
|
4882
|
-
return createRequestFunction$
|
|
4884
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4883
4885
|
});
|
|
4884
4886
|
},
|
|
4885
4887
|
/**
|
|
@@ -4892,7 +4894,7 @@ const ProjectApiFp = function (configuration) {
|
|
|
4892
4894
|
projectQuotas(projectId, options) {
|
|
4893
4895
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4894
4896
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectQuotas(projectId, options);
|
|
4895
|
-
return createRequestFunction$
|
|
4897
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4896
4898
|
});
|
|
4897
4899
|
},
|
|
4898
4900
|
/**
|
|
@@ -4905,7 +4907,7 @@ const ProjectApiFp = function (configuration) {
|
|
|
4905
4907
|
projectResolveInvitation(token, options) {
|
|
4906
4908
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4907
4909
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectResolveInvitation(token, options);
|
|
4908
|
-
return createRequestFunction$
|
|
4910
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4909
4911
|
});
|
|
4910
4912
|
},
|
|
4911
4913
|
/**
|
|
@@ -4918,7 +4920,7 @@ const ProjectApiFp = function (configuration) {
|
|
|
4918
4920
|
projectSendInvitation(sendInvitationObject, options) {
|
|
4919
4921
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4920
4922
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectSendInvitation(sendInvitationObject, options);
|
|
4921
|
-
return createRequestFunction$
|
|
4923
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4922
4924
|
});
|
|
4923
4925
|
},
|
|
4924
4926
|
/**
|
|
@@ -4930,7 +4932,7 @@ const ProjectApiFp = function (configuration) {
|
|
|
4930
4932
|
projectStore(options) {
|
|
4931
4933
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4932
4934
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectStore(options);
|
|
4933
|
-
return createRequestFunction$
|
|
4935
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4934
4936
|
});
|
|
4935
4937
|
},
|
|
4936
4938
|
/**
|
|
@@ -4943,7 +4945,7 @@ const ProjectApiFp = function (configuration) {
|
|
|
4943
4945
|
projectUpdate(id, options) {
|
|
4944
4946
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4945
4947
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectUpdate(id, options);
|
|
4946
|
-
return createRequestFunction$
|
|
4948
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4947
4949
|
});
|
|
4948
4950
|
},
|
|
4949
4951
|
/**
|
|
@@ -4958,7 +4960,7 @@ const ProjectApiFp = function (configuration) {
|
|
|
4958
4960
|
projectUpdateQuota(projectId, resourceTypeId, updateProjectQuotaObject, options) {
|
|
4959
4961
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4960
4962
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectUpdateQuota(projectId, resourceTypeId, updateProjectQuotaObject, options);
|
|
4961
|
-
return createRequestFunction$
|
|
4963
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4962
4964
|
});
|
|
4963
4965
|
},
|
|
4964
4966
|
};
|
|
@@ -5150,7 +5152,7 @@ const ProjectRoleApiAxiosParamCreator = function (configuration) {
|
|
|
5150
5152
|
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)))
|
|
5151
5153
|
.replace(`{${"roleId"}}`, encodeURIComponent(String(roleId)));
|
|
5152
5154
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5153
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5155
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
5154
5156
|
let baseOptions;
|
|
5155
5157
|
if (configuration) {
|
|
5156
5158
|
baseOptions = configuration.baseOptions;
|
|
@@ -5159,12 +5161,12 @@ const ProjectRoleApiAxiosParamCreator = function (configuration) {
|
|
|
5159
5161
|
const localVarHeaderParameter = {};
|
|
5160
5162
|
const localVarQueryParameter = {};
|
|
5161
5163
|
// authentication JWT token required
|
|
5162
|
-
yield setApiKeyToObject$
|
|
5163
|
-
setSearchParams$
|
|
5164
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
5165
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5164
5166
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5165
5167
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5166
5168
|
return {
|
|
5167
|
-
url: toPathString$
|
|
5169
|
+
url: toPathString$6(localVarUrlObj),
|
|
5168
5170
|
options: localVarRequestOptions,
|
|
5169
5171
|
};
|
|
5170
5172
|
}),
|
|
@@ -5181,7 +5183,7 @@ const ProjectRoleApiAxiosParamCreator = function (configuration) {
|
|
|
5181
5183
|
const localVarPath = `/ProjectRole/project/{projectId}/user`
|
|
5182
5184
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
5183
5185
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5184
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5186
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
5185
5187
|
let baseOptions;
|
|
5186
5188
|
if (configuration) {
|
|
5187
5189
|
baseOptions = configuration.baseOptions;
|
|
@@ -5190,12 +5192,12 @@ const ProjectRoleApiAxiosParamCreator = function (configuration) {
|
|
|
5190
5192
|
const localVarHeaderParameter = {};
|
|
5191
5193
|
const localVarQueryParameter = {};
|
|
5192
5194
|
// authentication JWT token required
|
|
5193
|
-
yield setApiKeyToObject$
|
|
5194
|
-
setSearchParams$
|
|
5195
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
5196
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5195
5197
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5196
5198
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5197
5199
|
return {
|
|
5198
|
-
url: toPathString$
|
|
5200
|
+
url: toPathString$6(localVarUrlObj),
|
|
5199
5201
|
options: localVarRequestOptions,
|
|
5200
5202
|
};
|
|
5201
5203
|
}),
|
|
@@ -5212,7 +5214,7 @@ const ProjectRoleApiAxiosParamCreator = function (configuration) {
|
|
|
5212
5214
|
const localVarPath = `/ProjectRole/project/{projectId}`
|
|
5213
5215
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
5214
5216
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5215
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5217
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
5216
5218
|
let baseOptions;
|
|
5217
5219
|
if (configuration) {
|
|
5218
5220
|
baseOptions = configuration.baseOptions;
|
|
@@ -5221,12 +5223,12 @@ const ProjectRoleApiAxiosParamCreator = function (configuration) {
|
|
|
5221
5223
|
const localVarHeaderParameter = {};
|
|
5222
5224
|
const localVarQueryParameter = {};
|
|
5223
5225
|
// authentication JWT token required
|
|
5224
|
-
yield setApiKeyToObject$
|
|
5225
|
-
setSearchParams$
|
|
5226
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
5227
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5226
5228
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5227
5229
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5228
5230
|
return {
|
|
5229
|
-
url: toPathString$
|
|
5231
|
+
url: toPathString$6(localVarUrlObj),
|
|
5230
5232
|
options: localVarRequestOptions,
|
|
5231
5233
|
};
|
|
5232
5234
|
}),
|
|
@@ -5243,7 +5245,7 @@ const ProjectRoleApiAxiosParamCreator = function (configuration) {
|
|
|
5243
5245
|
const localVarPath = `/ProjectRole/{projectId}`
|
|
5244
5246
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
5245
5247
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5246
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5248
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
5247
5249
|
let baseOptions;
|
|
5248
5250
|
if (configuration) {
|
|
5249
5251
|
baseOptions = configuration.baseOptions;
|
|
@@ -5252,12 +5254,12 @@ const ProjectRoleApiAxiosParamCreator = function (configuration) {
|
|
|
5252
5254
|
const localVarHeaderParameter = {};
|
|
5253
5255
|
const localVarQueryParameter = {};
|
|
5254
5256
|
// authentication JWT token required
|
|
5255
|
-
yield setApiKeyToObject$
|
|
5256
|
-
setSearchParams$
|
|
5257
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
5258
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5257
5259
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5258
5260
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5259
5261
|
return {
|
|
5260
|
-
url: toPathString$
|
|
5262
|
+
url: toPathString$6(localVarUrlObj),
|
|
5261
5263
|
options: localVarRequestOptions,
|
|
5262
5264
|
};
|
|
5263
5265
|
}),
|
|
@@ -5270,7 +5272,7 @@ const ProjectRoleApiAxiosParamCreator = function (configuration) {
|
|
|
5270
5272
|
projectRoleSet: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5271
5273
|
const localVarPath = `/ProjectRole`;
|
|
5272
5274
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5273
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5275
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
5274
5276
|
let baseOptions;
|
|
5275
5277
|
if (configuration) {
|
|
5276
5278
|
baseOptions = configuration.baseOptions;
|
|
@@ -5279,12 +5281,12 @@ const ProjectRoleApiAxiosParamCreator = function (configuration) {
|
|
|
5279
5281
|
const localVarHeaderParameter = {};
|
|
5280
5282
|
const localVarQueryParameter = {};
|
|
5281
5283
|
// authentication JWT token required
|
|
5282
|
-
yield setApiKeyToObject$
|
|
5283
|
-
setSearchParams$
|
|
5284
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
5285
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5284
5286
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5285
5287
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5286
5288
|
return {
|
|
5287
|
-
url: toPathString$
|
|
5289
|
+
url: toPathString$6(localVarUrlObj),
|
|
5288
5290
|
options: localVarRequestOptions,
|
|
5289
5291
|
};
|
|
5290
5292
|
}),
|
|
@@ -5309,7 +5311,7 @@ const ProjectRoleApiFp = function (configuration) {
|
|
|
5309
5311
|
projectRoleDelete(projectId, userId, roleId, options) {
|
|
5310
5312
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5311
5313
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectRoleDelete(projectId, userId, roleId, options);
|
|
5312
|
-
return createRequestFunction$
|
|
5314
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5313
5315
|
});
|
|
5314
5316
|
},
|
|
5315
5317
|
/**
|
|
@@ -5322,7 +5324,7 @@ const ProjectRoleApiFp = function (configuration) {
|
|
|
5322
5324
|
projectRoleDelete2(projectId, options) {
|
|
5323
5325
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5324
5326
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectRoleDelete2(projectId, options);
|
|
5325
|
-
return createRequestFunction$
|
|
5327
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5326
5328
|
});
|
|
5327
5329
|
},
|
|
5328
5330
|
/**
|
|
@@ -5335,7 +5337,7 @@ const ProjectRoleApiFp = function (configuration) {
|
|
|
5335
5337
|
projectRoleGet(projectId, options) {
|
|
5336
5338
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5337
5339
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectRoleGet(projectId, options);
|
|
5338
|
-
return createRequestFunction$
|
|
5340
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5339
5341
|
});
|
|
5340
5342
|
},
|
|
5341
5343
|
/**
|
|
@@ -5348,7 +5350,7 @@ const ProjectRoleApiFp = function (configuration) {
|
|
|
5348
5350
|
projectRoleIndex(projectId, options) {
|
|
5349
5351
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5350
5352
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectRoleIndex(projectId, options);
|
|
5351
|
-
return createRequestFunction$
|
|
5353
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5352
5354
|
});
|
|
5353
5355
|
},
|
|
5354
5356
|
/**
|
|
@@ -5360,7 +5362,7 @@ const ProjectRoleApiFp = function (configuration) {
|
|
|
5360
5362
|
projectRoleSet(options) {
|
|
5361
5363
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5362
5364
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectRoleSet(options);
|
|
5363
|
-
return createRequestFunction$
|
|
5365
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5364
5366
|
});
|
|
5365
5367
|
},
|
|
5366
5368
|
};
|
|
@@ -5440,7 +5442,7 @@ const RoleApiAxiosParamCreator = function (configuration) {
|
|
|
5440
5442
|
roleIndex: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5441
5443
|
const localVarPath = `/Role`;
|
|
5442
5444
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5443
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5445
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
5444
5446
|
let baseOptions;
|
|
5445
5447
|
if (configuration) {
|
|
5446
5448
|
baseOptions = configuration.baseOptions;
|
|
@@ -5449,12 +5451,12 @@ const RoleApiAxiosParamCreator = function (configuration) {
|
|
|
5449
5451
|
const localVarHeaderParameter = {};
|
|
5450
5452
|
const localVarQueryParameter = {};
|
|
5451
5453
|
// authentication JWT token required
|
|
5452
|
-
yield setApiKeyToObject$
|
|
5453
|
-
setSearchParams$
|
|
5454
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
5455
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5454
5456
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5455
5457
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5456
5458
|
return {
|
|
5457
|
-
url: toPathString$
|
|
5459
|
+
url: toPathString$6(localVarUrlObj),
|
|
5458
5460
|
options: localVarRequestOptions,
|
|
5459
5461
|
};
|
|
5460
5462
|
}),
|
|
@@ -5476,7 +5478,7 @@ const RoleApiFp = function (configuration) {
|
|
|
5476
5478
|
roleIndex(options) {
|
|
5477
5479
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5478
5480
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.roleIndex(options);
|
|
5479
|
-
return createRequestFunction$
|
|
5481
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5480
5482
|
});
|
|
5481
5483
|
},
|
|
5482
5484
|
};
|
|
@@ -5518,7 +5520,7 @@ const SearchApiAxiosParamCreator = function (configuration) {
|
|
|
5518
5520
|
const localVarPath = `/Search/all/{encodedSearchWord}`
|
|
5519
5521
|
.replace(`{${"encodedSearchWord"}}`, encodeURIComponent(String(encodedSearchWord)));
|
|
5520
5522
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5521
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5523
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
5522
5524
|
let baseOptions;
|
|
5523
5525
|
if (configuration) {
|
|
5524
5526
|
baseOptions = configuration.baseOptions;
|
|
@@ -5527,12 +5529,12 @@ const SearchApiAxiosParamCreator = function (configuration) {
|
|
|
5527
5529
|
const localVarHeaderParameter = {};
|
|
5528
5530
|
const localVarQueryParameter = {};
|
|
5529
5531
|
// authentication JWT token required
|
|
5530
|
-
yield setApiKeyToObject$
|
|
5531
|
-
setSearchParams$
|
|
5532
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
5533
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5532
5534
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5533
5535
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5534
5536
|
return {
|
|
5535
|
-
url: toPathString$
|
|
5537
|
+
url: toPathString$6(localVarUrlObj),
|
|
5536
5538
|
options: localVarRequestOptions,
|
|
5537
5539
|
};
|
|
5538
5540
|
}),
|
|
@@ -5545,7 +5547,7 @@ const SearchApiAxiosParamCreator = function (configuration) {
|
|
|
5545
5547
|
searchSearchNoFilter: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5546
5548
|
const localVarPath = `/Search/allNoFilter`;
|
|
5547
5549
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5548
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5550
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
5549
5551
|
let baseOptions;
|
|
5550
5552
|
if (configuration) {
|
|
5551
5553
|
baseOptions = configuration.baseOptions;
|
|
@@ -5554,12 +5556,12 @@ const SearchApiAxiosParamCreator = function (configuration) {
|
|
|
5554
5556
|
const localVarHeaderParameter = {};
|
|
5555
5557
|
const localVarQueryParameter = {};
|
|
5556
5558
|
// authentication JWT token required
|
|
5557
|
-
yield setApiKeyToObject$
|
|
5558
|
-
setSearchParams$
|
|
5559
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
5560
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5559
5561
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5560
5562
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5561
5563
|
return {
|
|
5562
|
-
url: toPathString$
|
|
5564
|
+
url: toPathString$6(localVarUrlObj),
|
|
5563
5565
|
options: localVarRequestOptions,
|
|
5564
5566
|
};
|
|
5565
5567
|
}),
|
|
@@ -5580,7 +5582,7 @@ const SearchApiAxiosParamCreator = function (configuration) {
|
|
|
5580
5582
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)))
|
|
5581
5583
|
.replace(`{${"encodedSearchWord"}}`, encodeURIComponent(String(encodedSearchWord)));
|
|
5582
5584
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5583
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5585
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
5584
5586
|
let baseOptions;
|
|
5585
5587
|
if (configuration) {
|
|
5586
5588
|
baseOptions = configuration.baseOptions;
|
|
@@ -5589,12 +5591,12 @@ const SearchApiAxiosParamCreator = function (configuration) {
|
|
|
5589
5591
|
const localVarHeaderParameter = {};
|
|
5590
5592
|
const localVarQueryParameter = {};
|
|
5591
5593
|
// authentication JWT token required
|
|
5592
|
-
yield setApiKeyToObject$
|
|
5593
|
-
setSearchParams$
|
|
5594
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
5595
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5594
5596
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5595
5597
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5596
5598
|
return {
|
|
5597
|
-
url: toPathString$
|
|
5599
|
+
url: toPathString$6(localVarUrlObj),
|
|
5598
5600
|
options: localVarRequestOptions,
|
|
5599
5601
|
};
|
|
5600
5602
|
}),
|
|
@@ -5611,7 +5613,7 @@ const SearchApiAxiosParamCreator = function (configuration) {
|
|
|
5611
5613
|
const localVarPath = `/Search/projectNoFilter/{projectId}`
|
|
5612
5614
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
5613
5615
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5614
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5616
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
5615
5617
|
let baseOptions;
|
|
5616
5618
|
if (configuration) {
|
|
5617
5619
|
baseOptions = configuration.baseOptions;
|
|
@@ -5620,12 +5622,12 @@ const SearchApiAxiosParamCreator = function (configuration) {
|
|
|
5620
5622
|
const localVarHeaderParameter = {};
|
|
5621
5623
|
const localVarQueryParameter = {};
|
|
5622
5624
|
// authentication JWT token required
|
|
5623
|
-
yield setApiKeyToObject$
|
|
5624
|
-
setSearchParams$
|
|
5625
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
5626
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5625
5627
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5626
5628
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5627
5629
|
return {
|
|
5628
|
-
url: toPathString$
|
|
5630
|
+
url: toPathString$6(localVarUrlObj),
|
|
5629
5631
|
options: localVarRequestOptions,
|
|
5630
5632
|
};
|
|
5631
5633
|
}),
|
|
@@ -5648,7 +5650,7 @@ const SearchApiFp = function (configuration) {
|
|
|
5648
5650
|
searchSearch(encodedSearchWord, options) {
|
|
5649
5651
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5650
5652
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.searchSearch(encodedSearchWord, options);
|
|
5651
|
-
return createRequestFunction$
|
|
5653
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5652
5654
|
});
|
|
5653
5655
|
},
|
|
5654
5656
|
/**
|
|
@@ -5660,7 +5662,7 @@ const SearchApiFp = function (configuration) {
|
|
|
5660
5662
|
searchSearchNoFilter(options) {
|
|
5661
5663
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5662
5664
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.searchSearchNoFilter(options);
|
|
5663
|
-
return createRequestFunction$
|
|
5665
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5664
5666
|
});
|
|
5665
5667
|
},
|
|
5666
5668
|
/**
|
|
@@ -5674,7 +5676,7 @@ const SearchApiFp = function (configuration) {
|
|
|
5674
5676
|
searchSearchProject(projectId, encodedSearchWord, options) {
|
|
5675
5677
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5676
5678
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.searchSearchProject(projectId, encodedSearchWord, options);
|
|
5677
|
-
return createRequestFunction$
|
|
5679
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5678
5680
|
});
|
|
5679
5681
|
},
|
|
5680
5682
|
/**
|
|
@@ -5687,7 +5689,7 @@ const SearchApiFp = function (configuration) {
|
|
|
5687
5689
|
searchSearchProjectNoFilter(projectId, options) {
|
|
5688
5690
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5689
5691
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.searchSearchProjectNoFilter(projectId, options);
|
|
5690
|
-
return createRequestFunction$
|
|
5692
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5691
5693
|
});
|
|
5692
5694
|
},
|
|
5693
5695
|
};
|
|
@@ -5760,7 +5762,7 @@ const SubProjectApiAxiosParamCreator = function (configuration) {
|
|
|
5760
5762
|
const localVarPath = `/SubProject/{parentId}`
|
|
5761
5763
|
.replace(`{${"parentId"}}`, encodeURIComponent(String(parentId)));
|
|
5762
5764
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5763
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5765
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
5764
5766
|
let baseOptions;
|
|
5765
5767
|
if (configuration) {
|
|
5766
5768
|
baseOptions = configuration.baseOptions;
|
|
@@ -5769,12 +5771,12 @@ const SubProjectApiAxiosParamCreator = function (configuration) {
|
|
|
5769
5771
|
const localVarHeaderParameter = {};
|
|
5770
5772
|
const localVarQueryParameter = {};
|
|
5771
5773
|
// authentication JWT token required
|
|
5772
|
-
yield setApiKeyToObject$
|
|
5773
|
-
setSearchParams$
|
|
5774
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
5775
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5774
5776
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5775
5777
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5776
5778
|
return {
|
|
5777
|
-
url: toPathString$
|
|
5779
|
+
url: toPathString$6(localVarUrlObj),
|
|
5778
5780
|
options: localVarRequestOptions,
|
|
5779
5781
|
};
|
|
5780
5782
|
}),
|
|
@@ -5791,7 +5793,7 @@ const SubProjectApiAxiosParamCreator = function (configuration) {
|
|
|
5791
5793
|
const localVarPath = `/SubProject/{childId}/accessibleParent`
|
|
5792
5794
|
.replace(`{${"childId"}}`, encodeURIComponent(String(childId)));
|
|
5793
5795
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5794
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5796
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
5795
5797
|
let baseOptions;
|
|
5796
5798
|
if (configuration) {
|
|
5797
5799
|
baseOptions = configuration.baseOptions;
|
|
@@ -5800,12 +5802,12 @@ const SubProjectApiAxiosParamCreator = function (configuration) {
|
|
|
5800
5802
|
const localVarHeaderParameter = {};
|
|
5801
5803
|
const localVarQueryParameter = {};
|
|
5802
5804
|
// authentication JWT token required
|
|
5803
|
-
yield setApiKeyToObject$
|
|
5804
|
-
setSearchParams$
|
|
5805
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
5806
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5805
5807
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5806
5808
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5807
5809
|
return {
|
|
5808
|
-
url: toPathString$
|
|
5810
|
+
url: toPathString$6(localVarUrlObj),
|
|
5809
5811
|
options: localVarRequestOptions,
|
|
5810
5812
|
};
|
|
5811
5813
|
}),
|
|
@@ -5828,7 +5830,7 @@ const SubProjectApiFp = function (configuration) {
|
|
|
5828
5830
|
subProjectGet(parentId, options) {
|
|
5829
5831
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5830
5832
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.subProjectGet(parentId, options);
|
|
5831
|
-
return createRequestFunction$
|
|
5833
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5832
5834
|
});
|
|
5833
5835
|
},
|
|
5834
5836
|
/**
|
|
@@ -5841,7 +5843,7 @@ const SubProjectApiFp = function (configuration) {
|
|
|
5841
5843
|
subProjectGetAccessibleParent(childId, options) {
|
|
5842
5844
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5843
5845
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.subProjectGetAccessibleParent(childId, options);
|
|
5844
|
-
return createRequestFunction$
|
|
5846
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5845
5847
|
});
|
|
5846
5848
|
},
|
|
5847
5849
|
};
|
|
@@ -5890,7 +5892,7 @@ const VisibilityApiAxiosParamCreator = function (configuration) {
|
|
|
5890
5892
|
visibilityIndex: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5891
5893
|
const localVarPath = `/Visibility`;
|
|
5892
5894
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5893
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5895
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
5894
5896
|
let baseOptions;
|
|
5895
5897
|
if (configuration) {
|
|
5896
5898
|
baseOptions = configuration.baseOptions;
|
|
@@ -5899,12 +5901,12 @@ const VisibilityApiAxiosParamCreator = function (configuration) {
|
|
|
5899
5901
|
const localVarHeaderParameter = {};
|
|
5900
5902
|
const localVarQueryParameter = {};
|
|
5901
5903
|
// authentication JWT token required
|
|
5902
|
-
yield setApiKeyToObject$
|
|
5903
|
-
setSearchParams$
|
|
5904
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
5905
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5904
5906
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5905
5907
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5906
5908
|
return {
|
|
5907
|
-
url: toPathString$
|
|
5909
|
+
url: toPathString$6(localVarUrlObj),
|
|
5908
5910
|
options: localVarRequestOptions,
|
|
5909
5911
|
};
|
|
5910
5912
|
}),
|
|
@@ -5926,7 +5928,7 @@ const VisibilityApiFp = function (configuration) {
|
|
|
5926
5928
|
visibilityIndex(options) {
|
|
5927
5929
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5928
5930
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.visibilityIndex(options);
|
|
5929
|
-
return createRequestFunction$
|
|
5931
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5930
5932
|
});
|
|
5931
5933
|
},
|
|
5932
5934
|
};
|
|
@@ -5951,7 +5953,7 @@ const VisibilityApiFactory = function (configuration, basePath, axios) {
|
|
|
5951
5953
|
};
|
|
5952
5954
|
|
|
5953
5955
|
/* tslint:disable */
|
|
5954
|
-
const BASE_PATH$
|
|
5956
|
+
const BASE_PATH$5 = "https://d-sp23.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Quota".replace(/\/+$/, "");
|
|
5955
5957
|
/**
|
|
5956
5958
|
*
|
|
5957
5959
|
* @export
|
|
@@ -5971,7 +5973,7 @@ class RequiredError$4 extends Error {
|
|
|
5971
5973
|
*
|
|
5972
5974
|
* @export
|
|
5973
5975
|
*/
|
|
5974
|
-
const DUMMY_BASE_URL$
|
|
5976
|
+
const DUMMY_BASE_URL$5 = 'https://example.com';
|
|
5975
5977
|
/**
|
|
5976
5978
|
*
|
|
5977
5979
|
* @throws {RequiredError}
|
|
@@ -5986,7 +5988,7 @@ const assertParamExists$4 = function (functionName, paramName, paramValue) {
|
|
|
5986
5988
|
*
|
|
5987
5989
|
* @export
|
|
5988
5990
|
*/
|
|
5989
|
-
const setApiKeyToObject$
|
|
5991
|
+
const setApiKeyToObject$5 = function (object, keyParamName, configuration) {
|
|
5990
5992
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5991
5993
|
if (configuration && configuration.apiKey) {
|
|
5992
5994
|
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
@@ -6000,7 +6002,7 @@ const setApiKeyToObject$4 = function (object, keyParamName, configuration) {
|
|
|
6000
6002
|
*
|
|
6001
6003
|
* @export
|
|
6002
6004
|
*/
|
|
6003
|
-
const setSearchParams$
|
|
6005
|
+
const setSearchParams$5 = function (url, ...objects) {
|
|
6004
6006
|
const searchParams = new URLSearchParams(url.search);
|
|
6005
6007
|
for (const object of objects) {
|
|
6006
6008
|
for (const key in object) {
|
|
@@ -6034,14 +6036,14 @@ const serializeDataIfNeeded$3 = function (value, requestOptions, configuration)
|
|
|
6034
6036
|
*
|
|
6035
6037
|
* @export
|
|
6036
6038
|
*/
|
|
6037
|
-
const toPathString$
|
|
6039
|
+
const toPathString$5 = function (url) {
|
|
6038
6040
|
return url.pathname + url.search + url.hash;
|
|
6039
6041
|
};
|
|
6040
6042
|
/**
|
|
6041
6043
|
*
|
|
6042
6044
|
* @export
|
|
6043
6045
|
*/
|
|
6044
|
-
const createRequestFunction$
|
|
6046
|
+
const createRequestFunction$5 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
6045
6047
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
6046
6048
|
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
|
|
6047
6049
|
return axios.request(axiosRequestArgs);
|
|
@@ -6068,7 +6070,7 @@ const QuotaApiAxiosParamCreator = function (configuration) {
|
|
|
6068
6070
|
const localVarPath = `/Quota/{resourceId}`
|
|
6069
6071
|
.replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)));
|
|
6070
6072
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6071
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
6073
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
|
|
6072
6074
|
let baseOptions;
|
|
6073
6075
|
if (configuration) {
|
|
6074
6076
|
baseOptions = configuration.baseOptions;
|
|
@@ -6077,12 +6079,12 @@ const QuotaApiAxiosParamCreator = function (configuration) {
|
|
|
6077
6079
|
const localVarHeaderParameter = {};
|
|
6078
6080
|
const localVarQueryParameter = {};
|
|
6079
6081
|
// authentication JWT token required
|
|
6080
|
-
yield setApiKeyToObject$
|
|
6081
|
-
setSearchParams$
|
|
6082
|
+
yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
|
|
6083
|
+
setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6082
6084
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6083
6085
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6084
6086
|
return {
|
|
6085
|
-
url: toPathString$
|
|
6087
|
+
url: toPathString$5(localVarUrlObj),
|
|
6086
6088
|
options: localVarRequestOptions,
|
|
6087
6089
|
};
|
|
6088
6090
|
}),
|
|
@@ -6103,7 +6105,7 @@ const QuotaApiAxiosParamCreator = function (configuration) {
|
|
|
6103
6105
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)))
|
|
6104
6106
|
.replace(`{${"resourceTypeId"}}`, encodeURIComponent(String(resourceTypeId)));
|
|
6105
6107
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6106
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
6108
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
|
|
6107
6109
|
let baseOptions;
|
|
6108
6110
|
if (configuration) {
|
|
6109
6111
|
baseOptions = configuration.baseOptions;
|
|
@@ -6112,12 +6114,12 @@ const QuotaApiAxiosParamCreator = function (configuration) {
|
|
|
6112
6114
|
const localVarHeaderParameter = {};
|
|
6113
6115
|
const localVarQueryParameter = {};
|
|
6114
6116
|
// authentication JWT token required
|
|
6115
|
-
yield setApiKeyToObject$
|
|
6116
|
-
setSearchParams$
|
|
6117
|
+
yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
|
|
6118
|
+
setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6117
6119
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6118
6120
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6119
6121
|
return {
|
|
6120
|
-
url: toPathString$
|
|
6122
|
+
url: toPathString$5(localVarUrlObj),
|
|
6121
6123
|
options: localVarRequestOptions,
|
|
6122
6124
|
};
|
|
6123
6125
|
}),
|
|
@@ -6137,7 +6139,7 @@ const QuotaApiAxiosParamCreator = function (configuration) {
|
|
|
6137
6139
|
const localVarPath = `/Quota/{resourceId}`
|
|
6138
6140
|
.replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)));
|
|
6139
6141
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6140
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
6142
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
|
|
6141
6143
|
let baseOptions;
|
|
6142
6144
|
if (configuration) {
|
|
6143
6145
|
baseOptions = configuration.baseOptions;
|
|
@@ -6146,14 +6148,14 @@ const QuotaApiAxiosParamCreator = function (configuration) {
|
|
|
6146
6148
|
const localVarHeaderParameter = {};
|
|
6147
6149
|
const localVarQueryParameter = {};
|
|
6148
6150
|
// authentication JWT token required
|
|
6149
|
-
yield setApiKeyToObject$
|
|
6151
|
+
yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
|
|
6150
6152
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6151
|
-
setSearchParams$
|
|
6153
|
+
setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6152
6154
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6153
6155
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6154
6156
|
localVarRequestOptions.data = serializeDataIfNeeded$3(updateResourceObject, localVarRequestOptions, configuration);
|
|
6155
6157
|
return {
|
|
6156
|
-
url: toPathString$
|
|
6158
|
+
url: toPathString$5(localVarUrlObj),
|
|
6157
6159
|
options: localVarRequestOptions,
|
|
6158
6160
|
};
|
|
6159
6161
|
}),
|
|
@@ -6176,7 +6178,7 @@ const QuotaApiFp = function (configuration) {
|
|
|
6176
6178
|
quotaGetResourceQuota(resourceId, options) {
|
|
6177
6179
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6178
6180
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.quotaGetResourceQuota(resourceId, options);
|
|
6179
|
-
return createRequestFunction$
|
|
6181
|
+
return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
|
|
6180
6182
|
});
|
|
6181
6183
|
},
|
|
6182
6184
|
/**
|
|
@@ -6190,7 +6192,7 @@ const QuotaApiFp = function (configuration) {
|
|
|
6190
6192
|
quotaGetResourceQuotas(projectId, resourceTypeId, options) {
|
|
6191
6193
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6192
6194
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.quotaGetResourceQuotas(projectId, resourceTypeId, options);
|
|
6193
|
-
return createRequestFunction$
|
|
6195
|
+
return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
|
|
6194
6196
|
});
|
|
6195
6197
|
},
|
|
6196
6198
|
/**
|
|
@@ -6204,7 +6206,7 @@ const QuotaApiFp = function (configuration) {
|
|
|
6204
6206
|
quotaUpdateResourceQuota(resourceId, updateResourceObject, options) {
|
|
6205
6207
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6206
6208
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.quotaUpdateResourceQuota(resourceId, updateResourceObject, options);
|
|
6207
|
-
return createRequestFunction$
|
|
6209
|
+
return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
|
|
6208
6210
|
});
|
|
6209
6211
|
},
|
|
6210
6212
|
};
|
|
@@ -6252,7 +6254,7 @@ const QuotaApiFactory = function (configuration, basePath, axios) {
|
|
|
6252
6254
|
};
|
|
6253
6255
|
|
|
6254
6256
|
/* tslint:disable */
|
|
6255
|
-
const BASE_PATH$
|
|
6257
|
+
const BASE_PATH$4 = "https://d-sp23.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Resources".replace(/\/+$/, "");
|
|
6256
6258
|
/**
|
|
6257
6259
|
*
|
|
6258
6260
|
* @export
|
|
@@ -6272,7 +6274,7 @@ class RequiredError$3 extends Error {
|
|
|
6272
6274
|
*
|
|
6273
6275
|
* @export
|
|
6274
6276
|
*/
|
|
6275
|
-
const DUMMY_BASE_URL$
|
|
6277
|
+
const DUMMY_BASE_URL$4 = 'https://example.com';
|
|
6276
6278
|
/**
|
|
6277
6279
|
*
|
|
6278
6280
|
* @throws {RequiredError}
|
|
@@ -6287,7 +6289,7 @@ const assertParamExists$3 = function (functionName, paramName, paramValue) {
|
|
|
6287
6289
|
*
|
|
6288
6290
|
* @export
|
|
6289
6291
|
*/
|
|
6290
|
-
const setApiKeyToObject$
|
|
6292
|
+
const setApiKeyToObject$4 = function (object, keyParamName, configuration) {
|
|
6291
6293
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6292
6294
|
if (configuration && configuration.apiKey) {
|
|
6293
6295
|
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
@@ -6301,7 +6303,7 @@ const setApiKeyToObject$3 = function (object, keyParamName, configuration) {
|
|
|
6301
6303
|
*
|
|
6302
6304
|
* @export
|
|
6303
6305
|
*/
|
|
6304
|
-
const setSearchParams$
|
|
6306
|
+
const setSearchParams$4 = function (url, ...objects) {
|
|
6305
6307
|
const searchParams = new URLSearchParams(url.search);
|
|
6306
6308
|
for (const object of objects) {
|
|
6307
6309
|
for (const key in object) {
|
|
@@ -6335,14 +6337,14 @@ const serializeDataIfNeeded$2 = function (value, requestOptions, configuration)
|
|
|
6335
6337
|
*
|
|
6336
6338
|
* @export
|
|
6337
6339
|
*/
|
|
6338
|
-
const toPathString$
|
|
6340
|
+
const toPathString$4 = function (url) {
|
|
6339
6341
|
return url.pathname + url.search + url.hash;
|
|
6340
6342
|
};
|
|
6341
6343
|
/**
|
|
6342
6344
|
*
|
|
6343
6345
|
* @export
|
|
6344
6346
|
*/
|
|
6345
|
-
const createRequestFunction$
|
|
6347
|
+
const createRequestFunction$4 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
6346
6348
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
6347
6349
|
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
|
|
6348
6350
|
return axios.request(axiosRequestArgs);
|
|
@@ -6369,7 +6371,7 @@ const ResourceApiAxiosParamCreator = function (configuration) {
|
|
|
6369
6371
|
const localVarPath = `/Resource/{id}`
|
|
6370
6372
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
6371
6373
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6372
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
6374
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$4);
|
|
6373
6375
|
let baseOptions;
|
|
6374
6376
|
if (configuration) {
|
|
6375
6377
|
baseOptions = configuration.baseOptions;
|
|
@@ -6378,12 +6380,12 @@ const ResourceApiAxiosParamCreator = function (configuration) {
|
|
|
6378
6380
|
const localVarHeaderParameter = {};
|
|
6379
6381
|
const localVarQueryParameter = {};
|
|
6380
6382
|
// authentication JWT token required
|
|
6381
|
-
yield setApiKeyToObject$
|
|
6382
|
-
setSearchParams$
|
|
6383
|
+
yield setApiKeyToObject$4(localVarHeaderParameter, "Authorization", configuration);
|
|
6384
|
+
setSearchParams$4(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6383
6385
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6384
6386
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6385
6387
|
return {
|
|
6386
|
-
url: toPathString$
|
|
6388
|
+
url: toPathString$4(localVarUrlObj),
|
|
6387
6389
|
options: localVarRequestOptions,
|
|
6388
6390
|
};
|
|
6389
6391
|
}),
|
|
@@ -6400,7 +6402,7 @@ const ResourceApiAxiosParamCreator = function (configuration) {
|
|
|
6400
6402
|
const localVarPath = `/Resource/{id}`
|
|
6401
6403
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
6402
6404
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6403
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
6405
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$4);
|
|
6404
6406
|
let baseOptions;
|
|
6405
6407
|
if (configuration) {
|
|
6406
6408
|
baseOptions = configuration.baseOptions;
|
|
@@ -6409,12 +6411,12 @@ const ResourceApiAxiosParamCreator = function (configuration) {
|
|
|
6409
6411
|
const localVarHeaderParameter = {};
|
|
6410
6412
|
const localVarQueryParameter = {};
|
|
6411
6413
|
// authentication JWT token required
|
|
6412
|
-
yield setApiKeyToObject$
|
|
6413
|
-
setSearchParams$
|
|
6414
|
+
yield setApiKeyToObject$4(localVarHeaderParameter, "Authorization", configuration);
|
|
6415
|
+
setSearchParams$4(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6414
6416
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6415
6417
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6416
6418
|
return {
|
|
6417
|
-
url: toPathString$
|
|
6419
|
+
url: toPathString$4(localVarUrlObj),
|
|
6418
6420
|
options: localVarRequestOptions,
|
|
6419
6421
|
};
|
|
6420
6422
|
}),
|
|
@@ -6427,7 +6429,7 @@ const ResourceApiAxiosParamCreator = function (configuration) {
|
|
|
6427
6429
|
resourceIndex: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6428
6430
|
const localVarPath = `/Resource`;
|
|
6429
6431
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6430
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
6432
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$4);
|
|
6431
6433
|
let baseOptions;
|
|
6432
6434
|
if (configuration) {
|
|
6433
6435
|
baseOptions = configuration.baseOptions;
|
|
@@ -6436,12 +6438,12 @@ const ResourceApiAxiosParamCreator = function (configuration) {
|
|
|
6436
6438
|
const localVarHeaderParameter = {};
|
|
6437
6439
|
const localVarQueryParameter = {};
|
|
6438
6440
|
// authentication JWT token required
|
|
6439
|
-
yield setApiKeyToObject$
|
|
6440
|
-
setSearchParams$
|
|
6441
|
+
yield setApiKeyToObject$4(localVarHeaderParameter, "Authorization", configuration);
|
|
6442
|
+
setSearchParams$4(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6441
6443
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6442
6444
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6443
6445
|
return {
|
|
6444
|
-
url: toPathString$
|
|
6446
|
+
url: toPathString$4(localVarUrlObj),
|
|
6445
6447
|
options: localVarRequestOptions,
|
|
6446
6448
|
};
|
|
6447
6449
|
}),
|
|
@@ -6458,7 +6460,7 @@ const ResourceApiAxiosParamCreator = function (configuration) {
|
|
|
6458
6460
|
const localVarPath = `/Resource/{id}/isCreator`
|
|
6459
6461
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
6460
6462
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6461
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
6463
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$4);
|
|
6462
6464
|
let baseOptions;
|
|
6463
6465
|
if (configuration) {
|
|
6464
6466
|
baseOptions = configuration.baseOptions;
|
|
@@ -6467,12 +6469,12 @@ const ResourceApiAxiosParamCreator = function (configuration) {
|
|
|
6467
6469
|
const localVarHeaderParameter = {};
|
|
6468
6470
|
const localVarQueryParameter = {};
|
|
6469
6471
|
// authentication JWT token required
|
|
6470
|
-
yield setApiKeyToObject$
|
|
6471
|
-
setSearchParams$
|
|
6472
|
+
yield setApiKeyToObject$4(localVarHeaderParameter, "Authorization", configuration);
|
|
6473
|
+
setSearchParams$4(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6472
6474
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6473
6475
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6474
6476
|
return {
|
|
6475
|
-
url: toPathString$
|
|
6477
|
+
url: toPathString$4(localVarUrlObj),
|
|
6476
6478
|
options: localVarRequestOptions,
|
|
6477
6479
|
};
|
|
6478
6480
|
}),
|
|
@@ -6490,7 +6492,7 @@ const ResourceApiAxiosParamCreator = function (configuration) {
|
|
|
6490
6492
|
const localVarPath = `/Resource/{id}/setReadonly`
|
|
6491
6493
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
6492
6494
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6493
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
6495
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$4);
|
|
6494
6496
|
let baseOptions;
|
|
6495
6497
|
if (configuration) {
|
|
6496
6498
|
baseOptions = configuration.baseOptions;
|
|
@@ -6499,15 +6501,15 @@ const ResourceApiAxiosParamCreator = function (configuration) {
|
|
|
6499
6501
|
const localVarHeaderParameter = {};
|
|
6500
6502
|
const localVarQueryParameter = {};
|
|
6501
6503
|
// authentication JWT token required
|
|
6502
|
-
yield setApiKeyToObject$
|
|
6504
|
+
yield setApiKeyToObject$4(localVarHeaderParameter, "Authorization", configuration);
|
|
6503
6505
|
if (status !== undefined) {
|
|
6504
6506
|
localVarQueryParameter['status'] = status;
|
|
6505
6507
|
}
|
|
6506
|
-
setSearchParams$
|
|
6508
|
+
setSearchParams$4(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6507
6509
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6508
6510
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6509
6511
|
return {
|
|
6510
|
-
url: toPathString$
|
|
6512
|
+
url: toPathString$4(localVarUrlObj),
|
|
6511
6513
|
options: localVarRequestOptions,
|
|
6512
6514
|
};
|
|
6513
6515
|
}),
|
|
@@ -6527,7 +6529,7 @@ const ResourceApiAxiosParamCreator = function (configuration) {
|
|
|
6527
6529
|
const localVarPath = `/Resource/project/{projectId}`
|
|
6528
6530
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
6529
6531
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6530
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
6532
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$4);
|
|
6531
6533
|
let baseOptions;
|
|
6532
6534
|
if (configuration) {
|
|
6533
6535
|
baseOptions = configuration.baseOptions;
|
|
@@ -6536,14 +6538,14 @@ const ResourceApiAxiosParamCreator = function (configuration) {
|
|
|
6536
6538
|
const localVarHeaderParameter = {};
|
|
6537
6539
|
const localVarQueryParameter = {};
|
|
6538
6540
|
// authentication JWT token required
|
|
6539
|
-
yield setApiKeyToObject$
|
|
6541
|
+
yield setApiKeyToObject$4(localVarHeaderParameter, "Authorization", configuration);
|
|
6540
6542
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6541
|
-
setSearchParams$
|
|
6543
|
+
setSearchParams$4(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6542
6544
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6543
6545
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6544
6546
|
localVarRequestOptions.data = serializeDataIfNeeded$2(resourceObject, localVarRequestOptions, configuration);
|
|
6545
6547
|
return {
|
|
6546
|
-
url: toPathString$
|
|
6548
|
+
url: toPathString$4(localVarUrlObj),
|
|
6547
6549
|
options: localVarRequestOptions,
|
|
6548
6550
|
};
|
|
6549
6551
|
}),
|
|
@@ -6563,7 +6565,7 @@ const ResourceApiAxiosParamCreator = function (configuration) {
|
|
|
6563
6565
|
const localVarPath = `/Resource/{id}`
|
|
6564
6566
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
6565
6567
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6566
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
6568
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$4);
|
|
6567
6569
|
let baseOptions;
|
|
6568
6570
|
if (configuration) {
|
|
6569
6571
|
baseOptions = configuration.baseOptions;
|
|
@@ -6572,14 +6574,14 @@ const ResourceApiAxiosParamCreator = function (configuration) {
|
|
|
6572
6574
|
const localVarHeaderParameter = {};
|
|
6573
6575
|
const localVarQueryParameter = {};
|
|
6574
6576
|
// authentication JWT token required
|
|
6575
|
-
yield setApiKeyToObject$
|
|
6577
|
+
yield setApiKeyToObject$4(localVarHeaderParameter, "Authorization", configuration);
|
|
6576
6578
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6577
|
-
setSearchParams$
|
|
6579
|
+
setSearchParams$4(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6578
6580
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6579
6581
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6580
6582
|
localVarRequestOptions.data = serializeDataIfNeeded$2(resourceObject, localVarRequestOptions, configuration);
|
|
6581
6583
|
return {
|
|
6582
|
-
url: toPathString$
|
|
6584
|
+
url: toPathString$4(localVarUrlObj),
|
|
6583
6585
|
options: localVarRequestOptions,
|
|
6584
6586
|
};
|
|
6585
6587
|
}),
|
|
@@ -6602,7 +6604,7 @@ const ResourceApiFp = function (configuration) {
|
|
|
6602
6604
|
resourceDelete(id, options) {
|
|
6603
6605
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6604
6606
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceDelete(id, options);
|
|
6605
|
-
return createRequestFunction$
|
|
6607
|
+
return createRequestFunction$4(localVarAxiosArgs, axios, BASE_PATH$4, configuration);
|
|
6606
6608
|
});
|
|
6607
6609
|
},
|
|
6608
6610
|
/**
|
|
@@ -6615,7 +6617,7 @@ const ResourceApiFp = function (configuration) {
|
|
|
6615
6617
|
resourceGet(id, options) {
|
|
6616
6618
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6617
6619
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceGet(id, options);
|
|
6618
|
-
return createRequestFunction$
|
|
6620
|
+
return createRequestFunction$4(localVarAxiosArgs, axios, BASE_PATH$4, configuration);
|
|
6619
6621
|
});
|
|
6620
6622
|
},
|
|
6621
6623
|
/**
|
|
@@ -6627,7 +6629,7 @@ const ResourceApiFp = function (configuration) {
|
|
|
6627
6629
|
resourceIndex(options) {
|
|
6628
6630
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6629
6631
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceIndex(options);
|
|
6630
|
-
return createRequestFunction$
|
|
6632
|
+
return createRequestFunction$4(localVarAxiosArgs, axios, BASE_PATH$4, configuration);
|
|
6631
6633
|
});
|
|
6632
6634
|
},
|
|
6633
6635
|
/**
|
|
@@ -6640,7 +6642,7 @@ const ResourceApiFp = function (configuration) {
|
|
|
6640
6642
|
resourceIsUserResourceCreator(id, options) {
|
|
6641
6643
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6642
6644
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceIsUserResourceCreator(id, options);
|
|
6643
|
-
return createRequestFunction$
|
|
6645
|
+
return createRequestFunction$4(localVarAxiosArgs, axios, BASE_PATH$4, configuration);
|
|
6644
6646
|
});
|
|
6645
6647
|
},
|
|
6646
6648
|
/**
|
|
@@ -6654,7 +6656,7 @@ const ResourceApiFp = function (configuration) {
|
|
|
6654
6656
|
resourceSetResourceReadonly(id, status, options) {
|
|
6655
6657
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6656
6658
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceSetResourceReadonly(id, status, options);
|
|
6657
|
-
return createRequestFunction$
|
|
6659
|
+
return createRequestFunction$4(localVarAxiosArgs, axios, BASE_PATH$4, configuration);
|
|
6658
6660
|
});
|
|
6659
6661
|
},
|
|
6660
6662
|
/**
|
|
@@ -6668,7 +6670,7 @@ const ResourceApiFp = function (configuration) {
|
|
|
6668
6670
|
resourceStoreToProject(projectId, resourceObject, options) {
|
|
6669
6671
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6670
6672
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceStoreToProject(projectId, resourceObject, options);
|
|
6671
|
-
return createRequestFunction$
|
|
6673
|
+
return createRequestFunction$4(localVarAxiosArgs, axios, BASE_PATH$4, configuration);
|
|
6672
6674
|
});
|
|
6673
6675
|
},
|
|
6674
6676
|
/**
|
|
@@ -6682,7 +6684,7 @@ const ResourceApiFp = function (configuration) {
|
|
|
6682
6684
|
resourceUpdate(id, resourceObject, options) {
|
|
6683
6685
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6684
6686
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceUpdate(id, resourceObject, options);
|
|
6685
|
-
return createRequestFunction$
|
|
6687
|
+
return createRequestFunction$4(localVarAxiosArgs, axios, BASE_PATH$4, configuration);
|
|
6686
6688
|
});
|
|
6687
6689
|
},
|
|
6688
6690
|
};
|
|
@@ -6783,7 +6785,7 @@ const ResourceTypeApiAxiosParamCreator = function (configuration) {
|
|
|
6783
6785
|
resourceTypeGetEnabledResourceTypes: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6784
6786
|
const localVarPath = `/ResourceType/types/-/enabled`;
|
|
6785
6787
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6786
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
6788
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$4);
|
|
6787
6789
|
let baseOptions;
|
|
6788
6790
|
if (configuration) {
|
|
6789
6791
|
baseOptions = configuration.baseOptions;
|
|
@@ -6792,12 +6794,12 @@ const ResourceTypeApiAxiosParamCreator = function (configuration) {
|
|
|
6792
6794
|
const localVarHeaderParameter = {};
|
|
6793
6795
|
const localVarQueryParameter = {};
|
|
6794
6796
|
// authentication JWT token required
|
|
6795
|
-
yield setApiKeyToObject$
|
|
6796
|
-
setSearchParams$
|
|
6797
|
+
yield setApiKeyToObject$4(localVarHeaderParameter, "Authorization", configuration);
|
|
6798
|
+
setSearchParams$4(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6797
6799
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6798
6800
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6799
6801
|
return {
|
|
6800
|
-
url: toPathString$
|
|
6802
|
+
url: toPathString$4(localVarUrlObj),
|
|
6801
6803
|
options: localVarRequestOptions,
|
|
6802
6804
|
};
|
|
6803
6805
|
}),
|
|
@@ -6814,7 +6816,7 @@ const ResourceTypeApiAxiosParamCreator = function (configuration) {
|
|
|
6814
6816
|
const localVarPath = `/ResourceType/types/{id}`
|
|
6815
6817
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
6816
6818
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6817
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
6819
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$4);
|
|
6818
6820
|
let baseOptions;
|
|
6819
6821
|
if (configuration) {
|
|
6820
6822
|
baseOptions = configuration.baseOptions;
|
|
@@ -6823,12 +6825,12 @@ const ResourceTypeApiAxiosParamCreator = function (configuration) {
|
|
|
6823
6825
|
const localVarHeaderParameter = {};
|
|
6824
6826
|
const localVarQueryParameter = {};
|
|
6825
6827
|
// authentication JWT token required
|
|
6826
|
-
yield setApiKeyToObject$
|
|
6827
|
-
setSearchParams$
|
|
6828
|
+
yield setApiKeyToObject$4(localVarHeaderParameter, "Authorization", configuration);
|
|
6829
|
+
setSearchParams$4(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6828
6830
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6829
6831
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6830
6832
|
return {
|
|
6831
|
-
url: toPathString$
|
|
6833
|
+
url: toPathString$4(localVarUrlObj),
|
|
6832
6834
|
options: localVarRequestOptions,
|
|
6833
6835
|
};
|
|
6834
6836
|
}),
|
|
@@ -6841,7 +6843,7 @@ const ResourceTypeApiAxiosParamCreator = function (configuration) {
|
|
|
6841
6843
|
resourceTypeGetResourceTypes: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6842
6844
|
const localVarPath = `/ResourceType/types`;
|
|
6843
6845
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6844
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
6846
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$4);
|
|
6845
6847
|
let baseOptions;
|
|
6846
6848
|
if (configuration) {
|
|
6847
6849
|
baseOptions = configuration.baseOptions;
|
|
@@ -6850,12 +6852,12 @@ const ResourceTypeApiAxiosParamCreator = function (configuration) {
|
|
|
6850
6852
|
const localVarHeaderParameter = {};
|
|
6851
6853
|
const localVarQueryParameter = {};
|
|
6852
6854
|
// authentication JWT token required
|
|
6853
|
-
yield setApiKeyToObject$
|
|
6854
|
-
setSearchParams$
|
|
6855
|
+
yield setApiKeyToObject$4(localVarHeaderParameter, "Authorization", configuration);
|
|
6856
|
+
setSearchParams$4(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6855
6857
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6856
6858
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6857
6859
|
return {
|
|
6858
|
-
url: toPathString$
|
|
6860
|
+
url: toPathString$4(localVarUrlObj),
|
|
6859
6861
|
options: localVarRequestOptions,
|
|
6860
6862
|
};
|
|
6861
6863
|
}),
|
|
@@ -6877,7 +6879,7 @@ const ResourceTypeApiFp = function (configuration) {
|
|
|
6877
6879
|
resourceTypeGetEnabledResourceTypes(options) {
|
|
6878
6880
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6879
6881
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceTypeGetEnabledResourceTypes(options);
|
|
6880
|
-
return createRequestFunction$
|
|
6882
|
+
return createRequestFunction$4(localVarAxiosArgs, axios, BASE_PATH$4, configuration);
|
|
6881
6883
|
});
|
|
6882
6884
|
},
|
|
6883
6885
|
/**
|
|
@@ -6890,7 +6892,7 @@ const ResourceTypeApiFp = function (configuration) {
|
|
|
6890
6892
|
resourceTypeGetResourceType(id, options) {
|
|
6891
6893
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6892
6894
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceTypeGetResourceType(id, options);
|
|
6893
|
-
return createRequestFunction$
|
|
6895
|
+
return createRequestFunction$4(localVarAxiosArgs, axios, BASE_PATH$4, configuration);
|
|
6894
6896
|
});
|
|
6895
6897
|
},
|
|
6896
6898
|
/**
|
|
@@ -6902,7 +6904,7 @@ const ResourceTypeApiFp = function (configuration) {
|
|
|
6902
6904
|
resourceTypeGetResourceTypes(options) {
|
|
6903
6905
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6904
6906
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceTypeGetResourceTypes(options);
|
|
6905
|
-
return createRequestFunction$
|
|
6907
|
+
return createRequestFunction$4(localVarAxiosArgs, axios, BASE_PATH$4, configuration);
|
|
6906
6908
|
});
|
|
6907
6909
|
},
|
|
6908
6910
|
};
|
|
@@ -6945,6 +6947,168 @@ const ResourceTypeApiFactory = function (configuration, basePath, axios) {
|
|
|
6945
6947
|
};
|
|
6946
6948
|
};
|
|
6947
6949
|
|
|
6950
|
+
/* tslint:disable */
|
|
6951
|
+
const BASE_PATH$3 = "https://d-sp25.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Search".replace(/\/+$/, "");
|
|
6952
|
+
|
|
6953
|
+
/* tslint:disable */
|
|
6954
|
+
/**
|
|
6955
|
+
*
|
|
6956
|
+
* @export
|
|
6957
|
+
*/
|
|
6958
|
+
const DUMMY_BASE_URL$3 = 'https://example.com';
|
|
6959
|
+
/**
|
|
6960
|
+
*
|
|
6961
|
+
* @export
|
|
6962
|
+
*/
|
|
6963
|
+
const setApiKeyToObject$3 = function (object, keyParamName, configuration) {
|
|
6964
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6965
|
+
if (configuration && configuration.apiKey) {
|
|
6966
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
6967
|
+
? yield configuration.apiKey(keyParamName)
|
|
6968
|
+
: yield configuration.apiKey;
|
|
6969
|
+
object[keyParamName] = localVarApiKeyValue;
|
|
6970
|
+
}
|
|
6971
|
+
});
|
|
6972
|
+
};
|
|
6973
|
+
/**
|
|
6974
|
+
*
|
|
6975
|
+
* @export
|
|
6976
|
+
*/
|
|
6977
|
+
const setSearchParams$3 = function (url, ...objects) {
|
|
6978
|
+
const searchParams = new URLSearchParams(url.search);
|
|
6979
|
+
for (const object of objects) {
|
|
6980
|
+
for (const key in object) {
|
|
6981
|
+
if (Array.isArray(object[key])) {
|
|
6982
|
+
searchParams.delete(key);
|
|
6983
|
+
for (const item of object[key]) {
|
|
6984
|
+
searchParams.append(key, item);
|
|
6985
|
+
}
|
|
6986
|
+
}
|
|
6987
|
+
else {
|
|
6988
|
+
searchParams.set(key, object[key]);
|
|
6989
|
+
}
|
|
6990
|
+
}
|
|
6991
|
+
}
|
|
6992
|
+
url.search = searchParams.toString();
|
|
6993
|
+
};
|
|
6994
|
+
/**
|
|
6995
|
+
*
|
|
6996
|
+
* @export
|
|
6997
|
+
*/
|
|
6998
|
+
const toPathString$3 = function (url) {
|
|
6999
|
+
return url.pathname + url.search + url.hash;
|
|
7000
|
+
};
|
|
7001
|
+
/**
|
|
7002
|
+
*
|
|
7003
|
+
* @export
|
|
7004
|
+
*/
|
|
7005
|
+
const createRequestFunction$3 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
7006
|
+
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
7007
|
+
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
|
|
7008
|
+
return axios.request(axiosRequestArgs);
|
|
7009
|
+
};
|
|
7010
|
+
};
|
|
7011
|
+
|
|
7012
|
+
/* tslint:disable */
|
|
7013
|
+
/**
|
|
7014
|
+
* SemanticSearchApi - axios parameter creator
|
|
7015
|
+
* @export
|
|
7016
|
+
*/
|
|
7017
|
+
const SemanticSearchApiAxiosParamCreator = function (configuration) {
|
|
7018
|
+
return {
|
|
7019
|
+
/**
|
|
7020
|
+
*
|
|
7021
|
+
* @summary Search with SemanticSearch;
|
|
7022
|
+
* @param {string} [query] Elasticsearch query
|
|
7023
|
+
* @param {boolean} [user] Specify user or only public metadata records could be found
|
|
7024
|
+
* @param {boolean} [adv] Set true for advanced Elasticsearch search syntax
|
|
7025
|
+
* @param {Array<string>} [languages] Set the used languages
|
|
7026
|
+
* @param {*} [options] Override http request option.
|
|
7027
|
+
* @throws {RequiredError}
|
|
7028
|
+
*/
|
|
7029
|
+
semanticSearchSearch: (query, user, adv, languages, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
7030
|
+
const localVarPath = `/SemanticSearch`;
|
|
7031
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7032
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$3);
|
|
7033
|
+
let baseOptions;
|
|
7034
|
+
if (configuration) {
|
|
7035
|
+
baseOptions = configuration.baseOptions;
|
|
7036
|
+
}
|
|
7037
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
7038
|
+
const localVarHeaderParameter = {};
|
|
7039
|
+
const localVarQueryParameter = {};
|
|
7040
|
+
// authentication JWT token required
|
|
7041
|
+
yield setApiKeyToObject$3(localVarHeaderParameter, "Authorization", configuration);
|
|
7042
|
+
if (query !== undefined) {
|
|
7043
|
+
localVarQueryParameter['query'] = query;
|
|
7044
|
+
}
|
|
7045
|
+
if (user !== undefined) {
|
|
7046
|
+
localVarQueryParameter['user'] = user;
|
|
7047
|
+
}
|
|
7048
|
+
if (adv !== undefined) {
|
|
7049
|
+
localVarQueryParameter['adv'] = adv;
|
|
7050
|
+
}
|
|
7051
|
+
if (languages) {
|
|
7052
|
+
localVarQueryParameter['languages'] = languages;
|
|
7053
|
+
}
|
|
7054
|
+
setSearchParams$3(localVarUrlObj, localVarQueryParameter, options.query);
|
|
7055
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7056
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7057
|
+
return {
|
|
7058
|
+
url: toPathString$3(localVarUrlObj),
|
|
7059
|
+
options: localVarRequestOptions,
|
|
7060
|
+
};
|
|
7061
|
+
}),
|
|
7062
|
+
};
|
|
7063
|
+
};
|
|
7064
|
+
/**
|
|
7065
|
+
* SemanticSearchApi - functional programming interface
|
|
7066
|
+
* @export
|
|
7067
|
+
*/
|
|
7068
|
+
const SemanticSearchApiFp = function (configuration) {
|
|
7069
|
+
const localVarAxiosParamCreator = SemanticSearchApiAxiosParamCreator(configuration);
|
|
7070
|
+
return {
|
|
7071
|
+
/**
|
|
7072
|
+
*
|
|
7073
|
+
* @summary Search with SemanticSearch;
|
|
7074
|
+
* @param {string} [query] Elasticsearch query
|
|
7075
|
+
* @param {boolean} [user] Specify user or only public metadata records could be found
|
|
7076
|
+
* @param {boolean} [adv] Set true for advanced Elasticsearch search syntax
|
|
7077
|
+
* @param {Array<string>} [languages] Set the used languages
|
|
7078
|
+
* @param {*} [options] Override http request option.
|
|
7079
|
+
* @throws {RequiredError}
|
|
7080
|
+
*/
|
|
7081
|
+
semanticSearchSearch(query, user, adv, languages, options) {
|
|
7082
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7083
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.semanticSearchSearch(query, user, adv, languages, options);
|
|
7084
|
+
return createRequestFunction$3(localVarAxiosArgs, axios, BASE_PATH$3, configuration);
|
|
7085
|
+
});
|
|
7086
|
+
},
|
|
7087
|
+
};
|
|
7088
|
+
};
|
|
7089
|
+
/**
|
|
7090
|
+
* SemanticSearchApi - factory interface
|
|
7091
|
+
* @export
|
|
7092
|
+
*/
|
|
7093
|
+
const SemanticSearchApiFactory = function (configuration, basePath, axios) {
|
|
7094
|
+
const localVarFp = SemanticSearchApiFp(configuration);
|
|
7095
|
+
return {
|
|
7096
|
+
/**
|
|
7097
|
+
*
|
|
7098
|
+
* @summary Search with SemanticSearch;
|
|
7099
|
+
* @param {string} [query] Elasticsearch query
|
|
7100
|
+
* @param {boolean} [user] Specify user or only public metadata records could be found
|
|
7101
|
+
* @param {boolean} [adv] Set true for advanced Elasticsearch search syntax
|
|
7102
|
+
* @param {Array<string>} [languages] Set the used languages
|
|
7103
|
+
* @param {*} [options] Override http request option.
|
|
7104
|
+
* @throws {RequiredError}
|
|
7105
|
+
*/
|
|
7106
|
+
semanticSearchSearch(query, user, adv, languages, options) {
|
|
7107
|
+
return localVarFp.semanticSearchSearch(query, user, adv, languages, options).then((request) => request(axios, basePath));
|
|
7108
|
+
},
|
|
7109
|
+
};
|
|
7110
|
+
};
|
|
7111
|
+
|
|
6948
7112
|
/* tslint:disable */
|
|
6949
7113
|
const BASE_PATH$2 = "https://d-sp23.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Token".replace(/\/+$/, "");
|
|
6950
7114
|
/**
|
|
@@ -7378,18 +7542,15 @@ const TreeApiAxiosParamCreator = function (configuration) {
|
|
|
7378
7542
|
*
|
|
7379
7543
|
* @summary This method retrieves the metadata
|
|
7380
7544
|
* @param {string} resourceId Id of a resource
|
|
7381
|
-
* @param {string} path Path to the file
|
|
7545
|
+
* @param {string} [path] Path to the file
|
|
7382
7546
|
* @param {*} [options] Override http request option.
|
|
7383
7547
|
* @throws {RequiredError}
|
|
7384
7548
|
*/
|
|
7385
|
-
|
|
7549
|
+
treeGetMetadataWithParameter: (resourceId, path, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
7386
7550
|
// verify required parameter 'resourceId' is not null or undefined
|
|
7387
|
-
assertParamExists$1('
|
|
7388
|
-
|
|
7389
|
-
|
|
7390
|
-
const localVarPath = `/Tree/{resourceId}/{path}`
|
|
7391
|
-
.replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)))
|
|
7392
|
-
.replace(`{${"path"}}`, encodeURIComponent(String(path)));
|
|
7551
|
+
assertParamExists$1('treeGetMetadataWithParameter', 'resourceId', resourceId);
|
|
7552
|
+
const localVarPath = `/Tree/{resourceId}`
|
|
7553
|
+
.replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)));
|
|
7393
7554
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7394
7555
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$1);
|
|
7395
7556
|
let baseOptions;
|
|
@@ -7401,6 +7562,9 @@ const TreeApiAxiosParamCreator = function (configuration) {
|
|
|
7401
7562
|
const localVarQueryParameter = {};
|
|
7402
7563
|
// authentication JWT token required
|
|
7403
7564
|
yield setApiKeyToObject$1(localVarHeaderParameter, "Authorization", configuration);
|
|
7565
|
+
if (path !== undefined) {
|
|
7566
|
+
localVarQueryParameter['path'] = path;
|
|
7567
|
+
}
|
|
7404
7568
|
setSearchParams$1(localVarUrlObj, localVarQueryParameter, options.query);
|
|
7405
7569
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7406
7570
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -7413,18 +7577,15 @@ const TreeApiAxiosParamCreator = function (configuration) {
|
|
|
7413
7577
|
*
|
|
7414
7578
|
* @summary This method stores the metadata of the file
|
|
7415
7579
|
* @param {string} resourceId Id of the resource
|
|
7416
|
-
* @param {string} path Path to the file
|
|
7580
|
+
* @param {string} [path] Path to the file
|
|
7417
7581
|
* @param {*} [options] Override http request option.
|
|
7418
7582
|
* @throws {RequiredError}
|
|
7419
7583
|
*/
|
|
7420
|
-
|
|
7584
|
+
treeStoreMetadataForFileWithParameter: (resourceId, path, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
7421
7585
|
// verify required parameter 'resourceId' is not null or undefined
|
|
7422
|
-
assertParamExists$1('
|
|
7423
|
-
|
|
7424
|
-
|
|
7425
|
-
const localVarPath = `/Tree/{resourceId}/{path}`
|
|
7426
|
-
.replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)))
|
|
7427
|
-
.replace(`{${"path"}}`, encodeURIComponent(String(path)));
|
|
7586
|
+
assertParamExists$1('treeStoreMetadataForFileWithParameter', 'resourceId', resourceId);
|
|
7587
|
+
const localVarPath = `/Tree/{resourceId}`
|
|
7588
|
+
.replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)));
|
|
7428
7589
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7429
7590
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$1);
|
|
7430
7591
|
let baseOptions;
|
|
@@ -7436,6 +7597,9 @@ const TreeApiAxiosParamCreator = function (configuration) {
|
|
|
7436
7597
|
const localVarQueryParameter = {};
|
|
7437
7598
|
// authentication JWT token required
|
|
7438
7599
|
yield setApiKeyToObject$1(localVarHeaderParameter, "Authorization", configuration);
|
|
7600
|
+
if (path !== undefined) {
|
|
7601
|
+
localVarQueryParameter['path'] = path;
|
|
7602
|
+
}
|
|
7439
7603
|
setSearchParams$1(localVarUrlObj, localVarQueryParameter, options.query);
|
|
7440
7604
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7441
7605
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -7457,13 +7621,13 @@ const TreeApiFp = function (configuration) {
|
|
|
7457
7621
|
*
|
|
7458
7622
|
* @summary This method retrieves the metadata
|
|
7459
7623
|
* @param {string} resourceId Id of a resource
|
|
7460
|
-
* @param {string} path Path to the file
|
|
7624
|
+
* @param {string} [path] Path to the file
|
|
7461
7625
|
* @param {*} [options] Override http request option.
|
|
7462
7626
|
* @throws {RequiredError}
|
|
7463
7627
|
*/
|
|
7464
|
-
|
|
7628
|
+
treeGetMetadataWithParameter(resourceId, path, options) {
|
|
7465
7629
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7466
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
7630
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.treeGetMetadataWithParameter(resourceId, path, options);
|
|
7467
7631
|
return createRequestFunction$1(localVarAxiosArgs, axios, BASE_PATH$1, configuration);
|
|
7468
7632
|
});
|
|
7469
7633
|
},
|
|
@@ -7471,13 +7635,13 @@ const TreeApiFp = function (configuration) {
|
|
|
7471
7635
|
*
|
|
7472
7636
|
* @summary This method stores the metadata of the file
|
|
7473
7637
|
* @param {string} resourceId Id of the resource
|
|
7474
|
-
* @param {string} path Path to the file
|
|
7638
|
+
* @param {string} [path] Path to the file
|
|
7475
7639
|
* @param {*} [options] Override http request option.
|
|
7476
7640
|
* @throws {RequiredError}
|
|
7477
7641
|
*/
|
|
7478
|
-
|
|
7642
|
+
treeStoreMetadataForFileWithParameter(resourceId, path, options) {
|
|
7479
7643
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7480
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
7644
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.treeStoreMetadataForFileWithParameter(resourceId, path, options);
|
|
7481
7645
|
return createRequestFunction$1(localVarAxiosArgs, axios, BASE_PATH$1, configuration);
|
|
7482
7646
|
});
|
|
7483
7647
|
},
|
|
@@ -7494,23 +7658,23 @@ const TreeApiFactory = function (configuration, basePath, axios) {
|
|
|
7494
7658
|
*
|
|
7495
7659
|
* @summary This method retrieves the metadata
|
|
7496
7660
|
* @param {string} resourceId Id of a resource
|
|
7497
|
-
* @param {string} path Path to the file
|
|
7661
|
+
* @param {string} [path] Path to the file
|
|
7498
7662
|
* @param {*} [options] Override http request option.
|
|
7499
7663
|
* @throws {RequiredError}
|
|
7500
7664
|
*/
|
|
7501
|
-
|
|
7502
|
-
return localVarFp.
|
|
7665
|
+
treeGetMetadataWithParameter(resourceId, path, options) {
|
|
7666
|
+
return localVarFp.treeGetMetadataWithParameter(resourceId, path, options).then((request) => request(axios, basePath));
|
|
7503
7667
|
},
|
|
7504
7668
|
/**
|
|
7505
7669
|
*
|
|
7506
7670
|
* @summary This method stores the metadata of the file
|
|
7507
7671
|
* @param {string} resourceId Id of the resource
|
|
7508
|
-
* @param {string} path Path to the file
|
|
7672
|
+
* @param {string} [path] Path to the file
|
|
7509
7673
|
* @param {*} [options] Override http request option.
|
|
7510
7674
|
* @throws {RequiredError}
|
|
7511
7675
|
*/
|
|
7512
|
-
|
|
7513
|
-
return localVarFp.
|
|
7676
|
+
treeStoreMetadataForFileWithParameter(resourceId, path, options) {
|
|
7677
|
+
return localVarFp.treeStoreMetadataForFileWithParameter(resourceId, path, options).then((request) => request(axios, basePath));
|
|
7514
7678
|
},
|
|
7515
7679
|
};
|
|
7516
7680
|
};
|
|
@@ -8312,7 +8476,7 @@ const UserApiFactory = function (configuration, basePath, axios) {
|
|
|
8312
8476
|
};
|
|
8313
8477
|
|
|
8314
8478
|
let accessToken = '';
|
|
8315
|
-
if (typeof coscine !== 'undefined') {
|
|
8479
|
+
if (typeof coscine !== 'undefined' && typeof coscine.authorization !== 'undefined') {
|
|
8316
8480
|
accessToken = coscine.authorization.bearer;
|
|
8317
8481
|
}
|
|
8318
8482
|
const getHostName = () => {
|
|
@@ -8344,6 +8508,7 @@ function implementations(axios) {
|
|
|
8344
8508
|
ResourceTypeApi: ResourceTypeApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Resources', axios),
|
|
8345
8509
|
RoleApi: RoleApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios),
|
|
8346
8510
|
SearchApi: SearchApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios),
|
|
8511
|
+
SemanticSearchApi: SemanticSearchApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Search', axios),
|
|
8347
8512
|
SubProjectApi: SubProjectApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios),
|
|
8348
8513
|
TitleApi: TitleApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.User', axios),
|
|
8349
8514
|
TokenApi: TokenApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Token', axios),
|
|
@@ -8359,9 +8524,13 @@ const authHeaderKey = 'Authorization';
|
|
|
8359
8524
|
const clientCorrolationIdKey = 'X-Coscine-Logging-CorrelationId';
|
|
8360
8525
|
function setHeader(request) {
|
|
8361
8526
|
if (typeof coscine !== "undefined") {
|
|
8362
|
-
|
|
8363
|
-
|
|
8364
|
-
|
|
8527
|
+
if (typeof coscine.authorization !== "undefined") {
|
|
8528
|
+
request.headers.common[authHeaderKey] =
|
|
8529
|
+
'Bearer ' + coscine.authorization.bearer;
|
|
8530
|
+
}
|
|
8531
|
+
if (typeof coscine.clientcorrolation !== "undefined") {
|
|
8532
|
+
request.headers.common[clientCorrolationIdKey] = coscine.clientcorrolation.id;
|
|
8533
|
+
}
|
|
8365
8534
|
}
|
|
8366
8535
|
}
|
|
8367
8536
|
instance.interceptors.request.use((request) => {
|
|
@@ -8403,6 +8572,7 @@ const ResourceApi = apis.ResourceApi;
|
|
|
8403
8572
|
const ResourceTypeApi = apis.ResourceTypeApi;
|
|
8404
8573
|
const RoleApi = apis.RoleApi;
|
|
8405
8574
|
const SearchApi = apis.SearchApi;
|
|
8575
|
+
const SemanticSearchApi = apis.SemanticSearchApi;
|
|
8406
8576
|
const SubProjectApi = apis.SubProjectApi;
|
|
8407
8577
|
const TitleApi = apis.TitleApi;
|
|
8408
8578
|
const TokenApi = apis.TokenApi;
|
|
@@ -8411,5 +8581,5 @@ const TreeApi = apis.TreeApi;
|
|
|
8411
8581
|
const UserApi = apis.UserApi;
|
|
8412
8582
|
const VisibilityApi = apis.VisibilityApi;
|
|
8413
8583
|
|
|
8414
|
-
export { ActivatedFeaturesApi, AdminApi, BlobApi, ContactChangeApi, DisciplineApi, LanguageApi, LicenseApi, MetadataApi, NoticeApi, OrganizationApi, ProjectApi, ProjectRoleApi, QuotaApi, ResourceApi, ResourceTypeApi, RoleApi, SearchApi, SubProjectApi, TOSApi, TitleApi, TokenApi, TreeApi, UserApi, VisibilityApi, apis as default };
|
|
8584
|
+
export { ActivatedFeaturesApi, AdminApi, BlobApi, ContactChangeApi, DisciplineApi, LanguageApi, LicenseApi, MetadataApi, NoticeApi, OrganizationApi, ProjectApi, ProjectRoleApi, QuotaApi, ResourceApi, ResourceTypeApi, RoleApi, SearchApi, SemanticSearchApi, SubProjectApi, TOSApi, TitleApi, TokenApi, TreeApi, UserApi, VisibilityApi, apis as default };
|
|
8415
8585
|
//# sourceMappingURL=index.js.map
|