@coscine/api-client 2.4.0 → 2.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1515 -532
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +1520 -531
- package/dist/index.umd.js.map +1 -1
- package/dist/lib/Coscine.Api.ActivatedFeatures/index.js +5 -1
- package/dist/lib/Coscine.Api.ActivatedFeatures/index.js.map +1 -1
- package/dist/lib/Coscine.Api.Admin/api.js +1 -1
- package/dist/lib/Coscine.Api.Admin/base.js +1 -1
- package/dist/lib/Coscine.Api.Admin/common.js +1 -1
- package/dist/lib/Coscine.Api.Admin/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Admin/index.js +6 -2
- package/dist/lib/Coscine.Api.Admin/index.js.map +1 -1
- package/dist/lib/Coscine.Api.Blob/api.js +1 -1
- package/dist/lib/Coscine.Api.Blob/base.js +1 -1
- package/dist/lib/Coscine.Api.Blob/common.js +1 -1
- package/dist/lib/Coscine.Api.Blob/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Blob/index.js +6 -2
- package/dist/lib/Coscine.Api.Blob/index.js.map +1 -1
- package/dist/lib/Coscine.Api.Metadata/api.js +1 -1
- package/dist/lib/Coscine.Api.Metadata/base.js +1 -1
- package/dist/lib/Coscine.Api.Metadata/common.js +1 -1
- package/dist/lib/Coscine.Api.Metadata/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Metadata/index.js +6 -2
- package/dist/lib/Coscine.Api.Metadata/index.js.map +1 -1
- package/dist/lib/Coscine.Api.Notices/api.js +5 -1
- package/dist/lib/Coscine.Api.Notices/api.js.map +1 -1
- package/dist/lib/Coscine.Api.Notices/base.js +1 -1
- package/dist/lib/Coscine.Api.Notices/common.js +1 -1
- package/dist/lib/Coscine.Api.Notices/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Notices/index.js +6 -2
- package/dist/lib/Coscine.Api.Notices/index.js.map +1 -1
- package/dist/lib/Coscine.Api.Organization/index.js +5 -1
- package/dist/lib/Coscine.Api.Organization/index.js.map +1 -1
- package/dist/lib/Coscine.Api.Pid/api.js +204 -0
- package/dist/lib/Coscine.Api.Pid/api.js.map +1 -0
- package/dist/lib/Coscine.Api.Pid/base.js +65 -0
- package/dist/lib/Coscine.Api.Pid/base.js.map +1 -0
- package/dist/lib/Coscine.Api.Pid/common.js +153 -0
- package/dist/lib/Coscine.Api.Pid/common.js.map +1 -0
- package/dist/lib/Coscine.Api.Pid/configuration.js +43 -0
- package/dist/lib/Coscine.Api.Pid/configuration.js.map +1 -0
- package/dist/lib/Coscine.Api.Pid/index.js +32 -0
- package/dist/lib/Coscine.Api.Pid/index.js.map +1 -0
- package/dist/lib/Coscine.Api.Project/api.js +1 -1
- package/dist/lib/Coscine.Api.Project/base.js +1 -1
- package/dist/lib/Coscine.Api.Project/common.js +1 -1
- package/dist/lib/Coscine.Api.Project/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Project/index.js +6 -2
- package/dist/lib/Coscine.Api.Project/index.js.map +1 -1
- package/dist/lib/Coscine.Api.Resources/api.js +1 -1
- package/dist/lib/Coscine.Api.Resources/base.js +1 -1
- package/dist/lib/Coscine.Api.Resources/common.js +1 -1
- package/dist/lib/Coscine.Api.Resources/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Resources/index.js +6 -2
- package/dist/lib/Coscine.Api.Resources/index.js.map +1 -1
- package/dist/lib/Coscine.Api.STS/api.js +802 -0
- package/dist/lib/Coscine.Api.STS/api.js.map +1 -0
- package/dist/lib/Coscine.Api.STS/base.js +65 -0
- package/dist/lib/Coscine.Api.STS/base.js.map +1 -0
- package/dist/lib/Coscine.Api.STS/common.js +153 -0
- package/dist/lib/Coscine.Api.STS/common.js.map +1 -0
- package/dist/lib/Coscine.Api.STS/configuration.js +43 -0
- package/dist/lib/Coscine.Api.STS/configuration.js.map +1 -0
- package/dist/lib/Coscine.Api.STS/index.js +32 -0
- package/dist/lib/Coscine.Api.STS/index.js.map +1 -0
- package/dist/lib/Coscine.Api.Search/api.js +17 -6
- package/dist/lib/Coscine.Api.Search/api.js.map +1 -1
- package/dist/lib/Coscine.Api.Search/base.js +1 -1
- package/dist/lib/Coscine.Api.Search/common.js +1 -1
- package/dist/lib/Coscine.Api.Search/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Search/index.js +6 -2
- package/dist/lib/Coscine.Api.Search/index.js.map +1 -1
- package/dist/lib/Coscine.Api.Token/index.js +5 -1
- package/dist/lib/Coscine.Api.Token/index.js.map +1 -1
- package/dist/lib/Coscine.Api.Tree/api.js +1 -1
- package/dist/lib/Coscine.Api.Tree/base.js +1 -1
- package/dist/lib/Coscine.Api.Tree/common.js +1 -1
- package/dist/lib/Coscine.Api.Tree/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Tree/index.js +6 -2
- package/dist/lib/Coscine.Api.Tree/index.js.map +1 -1
- package/dist/lib/Coscine.Api.User/api.js +60 -2
- package/dist/lib/Coscine.Api.User/api.js.map +1 -1
- package/dist/lib/Coscine.Api.User/base.js +1 -1
- package/dist/lib/Coscine.Api.User/common.js +1 -1
- package/dist/lib/Coscine.Api.User/configuration.js +1 -1
- package/dist/lib/Coscine.Api.User/index.js +6 -2
- package/dist/lib/Coscine.Api.User/index.js.map +1 -1
- package/dist/lib/apis.js +41 -29
- package/dist/lib/apis.js.map +1 -1
- package/dist/lib/index.js +7 -1
- package/dist/lib/index.js.map +1 -1
- package/dist/types/Coscine.Api.Admin/api.d.ts +1 -1
- package/dist/types/Coscine.Api.Admin/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Admin/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Admin/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Admin/index.d.ts +1 -1
- package/dist/types/Coscine.Api.Blob/api.d.ts +1 -1
- package/dist/types/Coscine.Api.Blob/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Blob/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Blob/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Blob/index.d.ts +1 -1
- package/dist/types/Coscine.Api.Metadata/api.d.ts +1 -1
- package/dist/types/Coscine.Api.Metadata/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Metadata/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Metadata/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Metadata/index.d.ts +1 -1
- package/dist/types/Coscine.Api.Notices/api.d.ts +5 -1
- package/dist/types/Coscine.Api.Notices/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Notices/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Notices/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Notices/index.d.ts +1 -1
- package/dist/types/Coscine.Api.Pid/api.d.ts +149 -0
- package/dist/types/Coscine.Api.Pid/base.d.ts +55 -0
- package/dist/types/Coscine.Api.Pid/common.d.ts +65 -0
- package/dist/types/Coscine.Api.Pid/configuration.d.ts +83 -0
- package/dist/types/Coscine.Api.Pid/index.d.ts +13 -0
- package/dist/types/Coscine.Api.Project/api.d.ts +1 -1
- package/dist/types/Coscine.Api.Project/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Project/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Project/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Project/index.d.ts +1 -1
- package/dist/types/Coscine.Api.Resources/api.d.ts +1 -1
- package/dist/types/Coscine.Api.Resources/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Resources/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Resources/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Resources/index.d.ts +1 -1
- package/dist/types/Coscine.Api.STS/api.d.ts +465 -0
- package/dist/types/Coscine.Api.STS/base.d.ts +55 -0
- package/dist/types/Coscine.Api.STS/common.d.ts +65 -0
- package/dist/types/Coscine.Api.STS/configuration.d.ts +83 -0
- package/dist/types/Coscine.Api.STS/index.d.ts +13 -0
- package/dist/types/Coscine.Api.Search/api.d.ts +21 -452
- package/dist/types/Coscine.Api.Search/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Search/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Search/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Search/index.d.ts +1 -1
- package/dist/types/Coscine.Api.Tree/api.d.ts +1 -1
- package/dist/types/Coscine.Api.Tree/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Tree/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Tree/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Tree/index.d.ts +1 -1
- package/dist/types/Coscine.Api.User/api.d.ts +38 -9
- package/dist/types/Coscine.Api.User/base.d.ts +1 -1
- package/dist/types/Coscine.Api.User/common.d.ts +1 -1
- package/dist/types/Coscine.Api.User/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.User/index.d.ts +1 -1
- package/dist/types/apis.d.ts +26 -2
- package/dist/types/index.d.ts +52 -4
- package/package.json +3 -3
package/dist/index.umd.js
CHANGED
|
@@ -1855,14 +1855,14 @@
|
|
|
1855
1855
|
var axios = axios$2.exports;
|
|
1856
1856
|
|
|
1857
1857
|
/* tslint:disable */
|
|
1858
|
-
const BASE_PATH$
|
|
1858
|
+
const BASE_PATH$c = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Admin".replace(/\/+$/, "");
|
|
1859
1859
|
/**
|
|
1860
1860
|
*
|
|
1861
1861
|
* @export
|
|
1862
1862
|
* @class RequiredError
|
|
1863
1863
|
* @extends {Error}
|
|
1864
1864
|
*/
|
|
1865
|
-
class RequiredError$
|
|
1865
|
+
class RequiredError$a extends Error {
|
|
1866
1866
|
constructor(field, msg) {
|
|
1867
1867
|
super(msg);
|
|
1868
1868
|
this.field = field;
|
|
@@ -1875,22 +1875,22 @@
|
|
|
1875
1875
|
*
|
|
1876
1876
|
* @export
|
|
1877
1877
|
*/
|
|
1878
|
-
const DUMMY_BASE_URL$
|
|
1878
|
+
const DUMMY_BASE_URL$c = 'https://example.com';
|
|
1879
1879
|
/**
|
|
1880
1880
|
*
|
|
1881
1881
|
* @throws {RequiredError}
|
|
1882
1882
|
* @export
|
|
1883
1883
|
*/
|
|
1884
|
-
const assertParamExists$
|
|
1884
|
+
const assertParamExists$a = function (functionName, paramName, paramValue) {
|
|
1885
1885
|
if (paramValue === null || paramValue === undefined) {
|
|
1886
|
-
throw new RequiredError$
|
|
1886
|
+
throw new RequiredError$a(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
|
|
1887
1887
|
}
|
|
1888
1888
|
};
|
|
1889
1889
|
/**
|
|
1890
1890
|
*
|
|
1891
1891
|
* @export
|
|
1892
1892
|
*/
|
|
1893
|
-
const setApiKeyToObject$
|
|
1893
|
+
const setApiKeyToObject$c = function (object, keyParamName, configuration) {
|
|
1894
1894
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1895
1895
|
if (configuration && configuration.apiKey) {
|
|
1896
1896
|
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
@@ -1904,7 +1904,7 @@
|
|
|
1904
1904
|
*
|
|
1905
1905
|
* @export
|
|
1906
1906
|
*/
|
|
1907
|
-
const setSearchParams$
|
|
1907
|
+
const setSearchParams$c = function (url, ...objects) {
|
|
1908
1908
|
const searchParams = new URLSearchParams(url.search);
|
|
1909
1909
|
for (const object of objects) {
|
|
1910
1910
|
for (const key in object) {
|
|
@@ -1925,7 +1925,7 @@
|
|
|
1925
1925
|
*
|
|
1926
1926
|
* @export
|
|
1927
1927
|
*/
|
|
1928
|
-
const serializeDataIfNeeded$
|
|
1928
|
+
const serializeDataIfNeeded$6 = function (value, requestOptions, configuration) {
|
|
1929
1929
|
const nonString = typeof value !== 'string';
|
|
1930
1930
|
const needsSerialization = nonString && configuration && configuration.isJsonMime
|
|
1931
1931
|
? configuration.isJsonMime(requestOptions.headers['Content-Type'])
|
|
@@ -1938,14 +1938,14 @@
|
|
|
1938
1938
|
*
|
|
1939
1939
|
* @export
|
|
1940
1940
|
*/
|
|
1941
|
-
const toPathString$
|
|
1941
|
+
const toPathString$c = function (url) {
|
|
1942
1942
|
return url.pathname + url.search + url.hash;
|
|
1943
1943
|
};
|
|
1944
1944
|
/**
|
|
1945
1945
|
*
|
|
1946
1946
|
* @export
|
|
1947
1947
|
*/
|
|
1948
|
-
const createRequestFunction$
|
|
1948
|
+
const createRequestFunction$c = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
1949
1949
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
1950
1950
|
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
|
|
1951
1951
|
return axios.request(axiosRequestArgs);
|
|
@@ -1982,11 +1982,11 @@
|
|
|
1982
1982
|
*/
|
|
1983
1983
|
adminGetProject: (projectString, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1984
1984
|
// verify required parameter 'projectString' is not null or undefined
|
|
1985
|
-
assertParamExists$
|
|
1985
|
+
assertParamExists$a('adminGetProject', 'projectString', projectString);
|
|
1986
1986
|
const localVarPath = `/Admin/{projectString}`
|
|
1987
1987
|
.replace(`{${"projectString"}}`, encodeURIComponent(String(projectString)));
|
|
1988
1988
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1989
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
1989
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$c);
|
|
1990
1990
|
let baseOptions;
|
|
1991
1991
|
if (configuration) {
|
|
1992
1992
|
baseOptions = configuration.baseOptions;
|
|
@@ -1995,12 +1995,12 @@
|
|
|
1995
1995
|
const localVarHeaderParameter = {};
|
|
1996
1996
|
const localVarQueryParameter = {};
|
|
1997
1997
|
// authentication JWT token required
|
|
1998
|
-
yield setApiKeyToObject$
|
|
1999
|
-
setSearchParams$
|
|
1998
|
+
yield setApiKeyToObject$c(localVarHeaderParameter, "Authorization", configuration);
|
|
1999
|
+
setSearchParams$c(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2000
2000
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2001
2001
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2002
2002
|
return {
|
|
2003
|
-
url: toPathString$
|
|
2003
|
+
url: toPathString$c(localVarUrlObj),
|
|
2004
2004
|
options: localVarRequestOptions,
|
|
2005
2005
|
};
|
|
2006
2006
|
}),
|
|
@@ -2015,16 +2015,16 @@
|
|
|
2015
2015
|
*/
|
|
2016
2016
|
adminUpdateQuota: (projectId, resourceTypeId, updateQuotaParameterObject, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2017
2017
|
// verify required parameter 'projectId' is not null or undefined
|
|
2018
|
-
assertParamExists$
|
|
2018
|
+
assertParamExists$a('adminUpdateQuota', 'projectId', projectId);
|
|
2019
2019
|
// verify required parameter 'resourceTypeId' is not null or undefined
|
|
2020
|
-
assertParamExists$
|
|
2020
|
+
assertParamExists$a('adminUpdateQuota', 'resourceTypeId', resourceTypeId);
|
|
2021
2021
|
// verify required parameter 'updateQuotaParameterObject' is not null or undefined
|
|
2022
|
-
assertParamExists$
|
|
2022
|
+
assertParamExists$a('adminUpdateQuota', 'updateQuotaParameterObject', updateQuotaParameterObject);
|
|
2023
2023
|
const localVarPath = `/Admin/{projectId}/{resourceTypeId}`
|
|
2024
2024
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)))
|
|
2025
2025
|
.replace(`{${"resourceTypeId"}}`, encodeURIComponent(String(resourceTypeId)));
|
|
2026
2026
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2027
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
2027
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$c);
|
|
2028
2028
|
let baseOptions;
|
|
2029
2029
|
if (configuration) {
|
|
2030
2030
|
baseOptions = configuration.baseOptions;
|
|
@@ -2033,14 +2033,14 @@
|
|
|
2033
2033
|
const localVarHeaderParameter = {};
|
|
2034
2034
|
const localVarQueryParameter = {};
|
|
2035
2035
|
// authentication JWT token required
|
|
2036
|
-
yield setApiKeyToObject$
|
|
2036
|
+
yield setApiKeyToObject$c(localVarHeaderParameter, "Authorization", configuration);
|
|
2037
2037
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2038
|
-
setSearchParams$
|
|
2038
|
+
setSearchParams$c(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2039
2039
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2040
2040
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2041
|
-
localVarRequestOptions.data = serializeDataIfNeeded$
|
|
2041
|
+
localVarRequestOptions.data = serializeDataIfNeeded$6(updateQuotaParameterObject, localVarRequestOptions, configuration);
|
|
2042
2042
|
return {
|
|
2043
|
-
url: toPathString$
|
|
2043
|
+
url: toPathString$c(localVarUrlObj),
|
|
2044
2044
|
options: localVarRequestOptions,
|
|
2045
2045
|
};
|
|
2046
2046
|
}),
|
|
@@ -2063,7 +2063,7 @@
|
|
|
2063
2063
|
adminGetProject(projectString, options) {
|
|
2064
2064
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2065
2065
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminGetProject(projectString, options);
|
|
2066
|
-
return createRequestFunction$
|
|
2066
|
+
return createRequestFunction$c(localVarAxiosArgs, axios, BASE_PATH$c, configuration);
|
|
2067
2067
|
});
|
|
2068
2068
|
},
|
|
2069
2069
|
/**
|
|
@@ -2078,7 +2078,7 @@
|
|
|
2078
2078
|
adminUpdateQuota(projectId, resourceTypeId, updateQuotaParameterObject, options) {
|
|
2079
2079
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2080
2080
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminUpdateQuota(projectId, resourceTypeId, updateQuotaParameterObject, options);
|
|
2081
|
-
return createRequestFunction$
|
|
2081
|
+
return createRequestFunction$c(localVarAxiosArgs, axios, BASE_PATH$c, configuration);
|
|
2082
2082
|
});
|
|
2083
2083
|
},
|
|
2084
2084
|
};
|
|
@@ -2121,7 +2121,7 @@
|
|
|
2121
2121
|
* Coscine.Api.Admin
|
|
2122
2122
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
2123
2123
|
*
|
|
2124
|
-
* The version of the OpenAPI document: 3.0.
|
|
2124
|
+
* The version of the OpenAPI document: 3.0.2
|
|
2125
2125
|
*
|
|
2126
2126
|
*
|
|
2127
2127
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2155,14 +2155,14 @@
|
|
|
2155
2155
|
}
|
|
2156
2156
|
|
|
2157
2157
|
/* tslint:disable */
|
|
2158
|
-
const BASE_PATH$
|
|
2158
|
+
const BASE_PATH$b = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Blob".replace(/\/+$/, "");
|
|
2159
2159
|
/**
|
|
2160
2160
|
*
|
|
2161
2161
|
* @export
|
|
2162
2162
|
* @class RequiredError
|
|
2163
2163
|
* @extends {Error}
|
|
2164
2164
|
*/
|
|
2165
|
-
class RequiredError$
|
|
2165
|
+
class RequiredError$9 extends Error {
|
|
2166
2166
|
constructor(field, msg) {
|
|
2167
2167
|
super(msg);
|
|
2168
2168
|
this.field = field;
|
|
@@ -2175,22 +2175,22 @@
|
|
|
2175
2175
|
*
|
|
2176
2176
|
* @export
|
|
2177
2177
|
*/
|
|
2178
|
-
const DUMMY_BASE_URL$
|
|
2178
|
+
const DUMMY_BASE_URL$b = 'https://example.com';
|
|
2179
2179
|
/**
|
|
2180
2180
|
*
|
|
2181
2181
|
* @throws {RequiredError}
|
|
2182
2182
|
* @export
|
|
2183
2183
|
*/
|
|
2184
|
-
const assertParamExists$
|
|
2184
|
+
const assertParamExists$9 = function (functionName, paramName, paramValue) {
|
|
2185
2185
|
if (paramValue === null || paramValue === undefined) {
|
|
2186
|
-
throw new RequiredError$
|
|
2186
|
+
throw new RequiredError$9(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
|
|
2187
2187
|
}
|
|
2188
2188
|
};
|
|
2189
2189
|
/**
|
|
2190
2190
|
*
|
|
2191
2191
|
* @export
|
|
2192
2192
|
*/
|
|
2193
|
-
const setApiKeyToObject$
|
|
2193
|
+
const setApiKeyToObject$b = function (object, keyParamName, configuration) {
|
|
2194
2194
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2195
2195
|
if (configuration && configuration.apiKey) {
|
|
2196
2196
|
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
@@ -2204,7 +2204,7 @@
|
|
|
2204
2204
|
*
|
|
2205
2205
|
* @export
|
|
2206
2206
|
*/
|
|
2207
|
-
const setSearchParams$
|
|
2207
|
+
const setSearchParams$b = function (url, ...objects) {
|
|
2208
2208
|
const searchParams = new URLSearchParams(url.search);
|
|
2209
2209
|
for (const object of objects) {
|
|
2210
2210
|
for (const key in object) {
|
|
@@ -2225,14 +2225,14 @@
|
|
|
2225
2225
|
*
|
|
2226
2226
|
* @export
|
|
2227
2227
|
*/
|
|
2228
|
-
const toPathString$
|
|
2228
|
+
const toPathString$b = function (url) {
|
|
2229
2229
|
return url.pathname + url.search + url.hash;
|
|
2230
2230
|
};
|
|
2231
2231
|
/**
|
|
2232
2232
|
*
|
|
2233
2233
|
* @export
|
|
2234
2234
|
*/
|
|
2235
|
-
const createRequestFunction$
|
|
2235
|
+
const createRequestFunction$b = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
2236
2236
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
2237
2237
|
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
|
|
2238
2238
|
return axios.request(axiosRequestArgs);
|
|
@@ -2256,11 +2256,11 @@
|
|
|
2256
2256
|
*/
|
|
2257
2257
|
blobDeleteFileWithParameter: (resourceId, path, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2258
2258
|
// verify required parameter 'resourceId' is not null or undefined
|
|
2259
|
-
assertParamExists$
|
|
2259
|
+
assertParamExists$9('blobDeleteFileWithParameter', 'resourceId', resourceId);
|
|
2260
2260
|
const localVarPath = `/Blob/{resourceId}`
|
|
2261
2261
|
.replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)));
|
|
2262
2262
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2263
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
2263
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$b);
|
|
2264
2264
|
let baseOptions;
|
|
2265
2265
|
if (configuration) {
|
|
2266
2266
|
baseOptions = configuration.baseOptions;
|
|
@@ -2269,15 +2269,15 @@
|
|
|
2269
2269
|
const localVarHeaderParameter = {};
|
|
2270
2270
|
const localVarQueryParameter = {};
|
|
2271
2271
|
// authentication JWT token required
|
|
2272
|
-
yield setApiKeyToObject$
|
|
2272
|
+
yield setApiKeyToObject$b(localVarHeaderParameter, "Authorization", configuration);
|
|
2273
2273
|
if (path !== undefined) {
|
|
2274
2274
|
localVarQueryParameter['path'] = path;
|
|
2275
2275
|
}
|
|
2276
|
-
setSearchParams$
|
|
2276
|
+
setSearchParams$b(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2277
2277
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2278
2278
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2279
2279
|
return {
|
|
2280
|
-
url: toPathString$
|
|
2280
|
+
url: toPathString$b(localVarUrlObj),
|
|
2281
2281
|
options: localVarRequestOptions,
|
|
2282
2282
|
};
|
|
2283
2283
|
}),
|
|
@@ -2291,11 +2291,11 @@
|
|
|
2291
2291
|
*/
|
|
2292
2292
|
blobGetFileWithParameter: (resourceId, path, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2293
2293
|
// verify required parameter 'resourceId' is not null or undefined
|
|
2294
|
-
assertParamExists$
|
|
2294
|
+
assertParamExists$9('blobGetFileWithParameter', 'resourceId', resourceId);
|
|
2295
2295
|
const localVarPath = `/Blob/{resourceId}`
|
|
2296
2296
|
.replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)));
|
|
2297
2297
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2298
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
2298
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$b);
|
|
2299
2299
|
let baseOptions;
|
|
2300
2300
|
if (configuration) {
|
|
2301
2301
|
baseOptions = configuration.baseOptions;
|
|
@@ -2304,15 +2304,15 @@
|
|
|
2304
2304
|
const localVarHeaderParameter = {};
|
|
2305
2305
|
const localVarQueryParameter = {};
|
|
2306
2306
|
// authentication JWT token required
|
|
2307
|
-
yield setApiKeyToObject$
|
|
2307
|
+
yield setApiKeyToObject$b(localVarHeaderParameter, "Authorization", configuration);
|
|
2308
2308
|
if (path !== undefined) {
|
|
2309
2309
|
localVarQueryParameter['path'] = path;
|
|
2310
2310
|
}
|
|
2311
|
-
setSearchParams$
|
|
2311
|
+
setSearchParams$b(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2312
2312
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2313
2313
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2314
2314
|
return {
|
|
2315
|
-
url: toPathString$
|
|
2315
|
+
url: toPathString$b(localVarUrlObj),
|
|
2316
2316
|
options: localVarRequestOptions,
|
|
2317
2317
|
};
|
|
2318
2318
|
}),
|
|
@@ -2327,11 +2327,11 @@
|
|
|
2327
2327
|
*/
|
|
2328
2328
|
blobUploadFileWithParameter: (resourceId, path, files, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2329
2329
|
// verify required parameter 'resourceId' is not null or undefined
|
|
2330
|
-
assertParamExists$
|
|
2330
|
+
assertParamExists$9('blobUploadFileWithParameter', 'resourceId', resourceId);
|
|
2331
2331
|
const localVarPath = `/Blob/{resourceId}`
|
|
2332
2332
|
.replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)));
|
|
2333
2333
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2334
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
2334
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$b);
|
|
2335
2335
|
let baseOptions;
|
|
2336
2336
|
if (configuration) {
|
|
2337
2337
|
baseOptions = configuration.baseOptions;
|
|
@@ -2341,7 +2341,7 @@
|
|
|
2341
2341
|
const localVarQueryParameter = {};
|
|
2342
2342
|
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
2343
2343
|
// authentication JWT token required
|
|
2344
|
-
yield setApiKeyToObject$
|
|
2344
|
+
yield setApiKeyToObject$b(localVarHeaderParameter, "Authorization", configuration);
|
|
2345
2345
|
if (path !== undefined) {
|
|
2346
2346
|
localVarQueryParameter['path'] = path;
|
|
2347
2347
|
}
|
|
@@ -2351,12 +2351,12 @@
|
|
|
2351
2351
|
});
|
|
2352
2352
|
}
|
|
2353
2353
|
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
2354
|
-
setSearchParams$
|
|
2354
|
+
setSearchParams$b(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2355
2355
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2356
2356
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2357
2357
|
localVarRequestOptions.data = localVarFormParams;
|
|
2358
2358
|
return {
|
|
2359
|
-
url: toPathString$
|
|
2359
|
+
url: toPathString$b(localVarUrlObj),
|
|
2360
2360
|
options: localVarRequestOptions,
|
|
2361
2361
|
};
|
|
2362
2362
|
}),
|
|
@@ -2380,7 +2380,7 @@
|
|
|
2380
2380
|
blobDeleteFileWithParameter(resourceId, path, options) {
|
|
2381
2381
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2382
2382
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.blobDeleteFileWithParameter(resourceId, path, options);
|
|
2383
|
-
return createRequestFunction$
|
|
2383
|
+
return createRequestFunction$b(localVarAxiosArgs, axios, BASE_PATH$b, configuration);
|
|
2384
2384
|
});
|
|
2385
2385
|
},
|
|
2386
2386
|
/**
|
|
@@ -2394,7 +2394,7 @@
|
|
|
2394
2394
|
blobGetFileWithParameter(resourceId, path, options) {
|
|
2395
2395
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2396
2396
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.blobGetFileWithParameter(resourceId, path, options);
|
|
2397
|
-
return createRequestFunction$
|
|
2397
|
+
return createRequestFunction$b(localVarAxiosArgs, axios, BASE_PATH$b, configuration);
|
|
2398
2398
|
});
|
|
2399
2399
|
},
|
|
2400
2400
|
/**
|
|
@@ -2409,7 +2409,7 @@
|
|
|
2409
2409
|
blobUploadFileWithParameter(resourceId, path, files, options) {
|
|
2410
2410
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2411
2411
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.blobUploadFileWithParameter(resourceId, path, files, options);
|
|
2412
|
-
return createRequestFunction$
|
|
2412
|
+
return createRequestFunction$b(localVarAxiosArgs, axios, BASE_PATH$b, configuration);
|
|
2413
2413
|
});
|
|
2414
2414
|
},
|
|
2415
2415
|
};
|
|
@@ -2459,14 +2459,14 @@
|
|
|
2459
2459
|
};
|
|
2460
2460
|
|
|
2461
2461
|
/* tslint:disable */
|
|
2462
|
-
const BASE_PATH$
|
|
2462
|
+
const BASE_PATH$a = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Metadata".replace(/\/+$/, "");
|
|
2463
2463
|
/**
|
|
2464
2464
|
*
|
|
2465
2465
|
* @export
|
|
2466
2466
|
* @class RequiredError
|
|
2467
2467
|
* @extends {Error}
|
|
2468
2468
|
*/
|
|
2469
|
-
class RequiredError$
|
|
2469
|
+
class RequiredError$8 extends Error {
|
|
2470
2470
|
constructor(field, msg) {
|
|
2471
2471
|
super(msg);
|
|
2472
2472
|
this.field = field;
|
|
@@ -2479,22 +2479,22 @@
|
|
|
2479
2479
|
*
|
|
2480
2480
|
* @export
|
|
2481
2481
|
*/
|
|
2482
|
-
const DUMMY_BASE_URL$
|
|
2482
|
+
const DUMMY_BASE_URL$a = 'https://example.com';
|
|
2483
2483
|
/**
|
|
2484
2484
|
*
|
|
2485
2485
|
* @throws {RequiredError}
|
|
2486
2486
|
* @export
|
|
2487
2487
|
*/
|
|
2488
|
-
const assertParamExists$
|
|
2488
|
+
const assertParamExists$8 = function (functionName, paramName, paramValue) {
|
|
2489
2489
|
if (paramValue === null || paramValue === undefined) {
|
|
2490
|
-
throw new RequiredError$
|
|
2490
|
+
throw new RequiredError$8(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
|
|
2491
2491
|
}
|
|
2492
2492
|
};
|
|
2493
2493
|
/**
|
|
2494
2494
|
*
|
|
2495
2495
|
* @export
|
|
2496
2496
|
*/
|
|
2497
|
-
const setApiKeyToObject$
|
|
2497
|
+
const setApiKeyToObject$a = function (object, keyParamName, configuration) {
|
|
2498
2498
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2499
2499
|
if (configuration && configuration.apiKey) {
|
|
2500
2500
|
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
@@ -2508,7 +2508,7 @@
|
|
|
2508
2508
|
*
|
|
2509
2509
|
* @export
|
|
2510
2510
|
*/
|
|
2511
|
-
const setSearchParams$
|
|
2511
|
+
const setSearchParams$a = function (url, ...objects) {
|
|
2512
2512
|
const searchParams = new URLSearchParams(url.search);
|
|
2513
2513
|
for (const object of objects) {
|
|
2514
2514
|
for (const key in object) {
|
|
@@ -2529,7 +2529,7 @@
|
|
|
2529
2529
|
*
|
|
2530
2530
|
* @export
|
|
2531
2531
|
*/
|
|
2532
|
-
const serializeDataIfNeeded$
|
|
2532
|
+
const serializeDataIfNeeded$5 = function (value, requestOptions, configuration) {
|
|
2533
2533
|
const nonString = typeof value !== 'string';
|
|
2534
2534
|
const needsSerialization = nonString && configuration && configuration.isJsonMime
|
|
2535
2535
|
? configuration.isJsonMime(requestOptions.headers['Content-Type'])
|
|
@@ -2542,14 +2542,14 @@
|
|
|
2542
2542
|
*
|
|
2543
2543
|
* @export
|
|
2544
2544
|
*/
|
|
2545
|
-
const toPathString$
|
|
2545
|
+
const toPathString$a = function (url) {
|
|
2546
2546
|
return url.pathname + url.search + url.hash;
|
|
2547
2547
|
};
|
|
2548
2548
|
/**
|
|
2549
2549
|
*
|
|
2550
2550
|
* @export
|
|
2551
2551
|
*/
|
|
2552
|
-
const createRequestFunction$
|
|
2552
|
+
const createRequestFunction$a = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
2553
2553
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
2554
2554
|
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
|
|
2555
2555
|
return axios.request(axiosRequestArgs);
|
|
@@ -2572,11 +2572,11 @@
|
|
|
2572
2572
|
*/
|
|
2573
2573
|
metadataGetClassInstances: (className, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2574
2574
|
// verify required parameter 'className' is not null or undefined
|
|
2575
|
-
assertParamExists$
|
|
2575
|
+
assertParamExists$8('metadataGetClassInstances', 'className', className);
|
|
2576
2576
|
const localVarPath = `/Metadata/instances/{className}`
|
|
2577
2577
|
.replace(`{${"className"}}`, encodeURIComponent(String(className)));
|
|
2578
2578
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2579
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
2579
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$a);
|
|
2580
2580
|
let baseOptions;
|
|
2581
2581
|
if (configuration) {
|
|
2582
2582
|
baseOptions = configuration.baseOptions;
|
|
@@ -2585,12 +2585,12 @@
|
|
|
2585
2585
|
const localVarHeaderParameter = {};
|
|
2586
2586
|
const localVarQueryParameter = {};
|
|
2587
2587
|
// authentication JWT token required
|
|
2588
|
-
yield setApiKeyToObject$
|
|
2589
|
-
setSearchParams$
|
|
2588
|
+
yield setApiKeyToObject$a(localVarHeaderParameter, "Authorization", configuration);
|
|
2589
|
+
setSearchParams$a(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2590
2590
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2591
2591
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2592
2592
|
return {
|
|
2593
|
-
url: toPathString$
|
|
2593
|
+
url: toPathString$a(localVarUrlObj),
|
|
2594
2594
|
options: localVarRequestOptions,
|
|
2595
2595
|
};
|
|
2596
2596
|
}),
|
|
@@ -2603,11 +2603,11 @@
|
|
|
2603
2603
|
*/
|
|
2604
2604
|
metadataGetProfile: (profile, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2605
2605
|
// verify required parameter 'profile' is not null or undefined
|
|
2606
|
-
assertParamExists$
|
|
2606
|
+
assertParamExists$8('metadataGetProfile', 'profile', profile);
|
|
2607
2607
|
const localVarPath = `/Metadata/profiles/{profile}`
|
|
2608
2608
|
.replace(`{${"profile"}}`, encodeURIComponent(String(profile)));
|
|
2609
2609
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2610
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
2610
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$a);
|
|
2611
2611
|
let baseOptions;
|
|
2612
2612
|
if (configuration) {
|
|
2613
2613
|
baseOptions = configuration.baseOptions;
|
|
@@ -2616,12 +2616,12 @@
|
|
|
2616
2616
|
const localVarHeaderParameter = {};
|
|
2617
2617
|
const localVarQueryParameter = {};
|
|
2618
2618
|
// authentication JWT token required
|
|
2619
|
-
yield setApiKeyToObject$
|
|
2620
|
-
setSearchParams$
|
|
2619
|
+
yield setApiKeyToObject$a(localVarHeaderParameter, "Authorization", configuration);
|
|
2620
|
+
setSearchParams$a(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2621
2621
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2622
2622
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2623
2623
|
return {
|
|
2624
|
-
url: toPathString$
|
|
2624
|
+
url: toPathString$a(localVarUrlObj),
|
|
2625
2625
|
options: localVarRequestOptions,
|
|
2626
2626
|
};
|
|
2627
2627
|
}),
|
|
@@ -2634,7 +2634,7 @@
|
|
|
2634
2634
|
metadataGetProfiles: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2635
2635
|
const localVarPath = `/Metadata/profiles`;
|
|
2636
2636
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2637
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
2637
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$a);
|
|
2638
2638
|
let baseOptions;
|
|
2639
2639
|
if (configuration) {
|
|
2640
2640
|
baseOptions = configuration.baseOptions;
|
|
@@ -2643,12 +2643,12 @@
|
|
|
2643
2643
|
const localVarHeaderParameter = {};
|
|
2644
2644
|
const localVarQueryParameter = {};
|
|
2645
2645
|
// authentication JWT token required
|
|
2646
|
-
yield setApiKeyToObject$
|
|
2647
|
-
setSearchParams$
|
|
2646
|
+
yield setApiKeyToObject$a(localVarHeaderParameter, "Authorization", configuration);
|
|
2647
|
+
setSearchParams$a(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2648
2648
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2649
2649
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2650
2650
|
return {
|
|
2651
|
-
url: toPathString$
|
|
2651
|
+
url: toPathString$a(localVarUrlObj),
|
|
2652
2652
|
options: localVarRequestOptions,
|
|
2653
2653
|
};
|
|
2654
2654
|
}),
|
|
@@ -2661,7 +2661,7 @@
|
|
|
2661
2661
|
metadataGetVocabularies: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2662
2662
|
const localVarPath = `/Metadata/vocabularies`;
|
|
2663
2663
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2664
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
2664
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$a);
|
|
2665
2665
|
let baseOptions;
|
|
2666
2666
|
if (configuration) {
|
|
2667
2667
|
baseOptions = configuration.baseOptions;
|
|
@@ -2670,12 +2670,12 @@
|
|
|
2670
2670
|
const localVarHeaderParameter = {};
|
|
2671
2671
|
const localVarQueryParameter = {};
|
|
2672
2672
|
// authentication JWT token required
|
|
2673
|
-
yield setApiKeyToObject$
|
|
2674
|
-
setSearchParams$
|
|
2673
|
+
yield setApiKeyToObject$a(localVarHeaderParameter, "Authorization", configuration);
|
|
2674
|
+
setSearchParams$a(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2675
2675
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2676
2676
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2677
2677
|
return {
|
|
2678
|
-
url: toPathString$
|
|
2678
|
+
url: toPathString$a(localVarUrlObj),
|
|
2679
2679
|
options: localVarRequestOptions,
|
|
2680
2680
|
};
|
|
2681
2681
|
}),
|
|
@@ -2688,11 +2688,11 @@
|
|
|
2688
2688
|
*/
|
|
2689
2689
|
metadataGetVocabulary: (path, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2690
2690
|
// verify required parameter 'path' is not null or undefined
|
|
2691
|
-
assertParamExists$
|
|
2691
|
+
assertParamExists$8('metadataGetVocabulary', 'path', path);
|
|
2692
2692
|
const localVarPath = `/Metadata/vocabularies/{path}`
|
|
2693
2693
|
.replace(`{${"path"}}`, encodeURIComponent(String(path)));
|
|
2694
2694
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2695
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
2695
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$a);
|
|
2696
2696
|
let baseOptions;
|
|
2697
2697
|
if (configuration) {
|
|
2698
2698
|
baseOptions = configuration.baseOptions;
|
|
@@ -2701,12 +2701,12 @@
|
|
|
2701
2701
|
const localVarHeaderParameter = {};
|
|
2702
2702
|
const localVarQueryParameter = {};
|
|
2703
2703
|
// authentication JWT token required
|
|
2704
|
-
yield setApiKeyToObject$
|
|
2705
|
-
setSearchParams$
|
|
2704
|
+
yield setApiKeyToObject$a(localVarHeaderParameter, "Authorization", configuration);
|
|
2705
|
+
setSearchParams$a(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2706
2706
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2707
2707
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2708
2708
|
return {
|
|
2709
|
-
url: toPathString$
|
|
2709
|
+
url: toPathString$a(localVarUrlObj),
|
|
2710
2710
|
options: localVarRequestOptions,
|
|
2711
2711
|
};
|
|
2712
2712
|
}),
|
|
@@ -2719,10 +2719,10 @@
|
|
|
2719
2719
|
*/
|
|
2720
2720
|
metadataSaveApplicationProfile: (applicationProfile, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2721
2721
|
// verify required parameter 'applicationProfile' is not null or undefined
|
|
2722
|
-
assertParamExists$
|
|
2722
|
+
assertParamExists$8('metadataSaveApplicationProfile', 'applicationProfile', applicationProfile);
|
|
2723
2723
|
const localVarPath = `/Metadata/profiles`;
|
|
2724
2724
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2725
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
2725
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$a);
|
|
2726
2726
|
let baseOptions;
|
|
2727
2727
|
if (configuration) {
|
|
2728
2728
|
baseOptions = configuration.baseOptions;
|
|
@@ -2731,14 +2731,14 @@
|
|
|
2731
2731
|
const localVarHeaderParameter = {};
|
|
2732
2732
|
const localVarQueryParameter = {};
|
|
2733
2733
|
// authentication JWT token required
|
|
2734
|
-
yield setApiKeyToObject$
|
|
2734
|
+
yield setApiKeyToObject$a(localVarHeaderParameter, "Authorization", configuration);
|
|
2735
2735
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2736
|
-
setSearchParams$
|
|
2736
|
+
setSearchParams$a(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2737
2737
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2738
2738
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2739
|
-
localVarRequestOptions.data = serializeDataIfNeeded$
|
|
2739
|
+
localVarRequestOptions.data = serializeDataIfNeeded$5(applicationProfile, localVarRequestOptions, configuration);
|
|
2740
2740
|
return {
|
|
2741
|
-
url: toPathString$
|
|
2741
|
+
url: toPathString$a(localVarUrlObj),
|
|
2742
2742
|
options: localVarRequestOptions,
|
|
2743
2743
|
};
|
|
2744
2744
|
}),
|
|
@@ -2761,7 +2761,7 @@
|
|
|
2761
2761
|
metadataGetClassInstances(className, options) {
|
|
2762
2762
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2763
2763
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.metadataGetClassInstances(className, options);
|
|
2764
|
-
return createRequestFunction$
|
|
2764
|
+
return createRequestFunction$a(localVarAxiosArgs, axios, BASE_PATH$a, configuration);
|
|
2765
2765
|
});
|
|
2766
2766
|
},
|
|
2767
2767
|
/**
|
|
@@ -2774,7 +2774,7 @@
|
|
|
2774
2774
|
metadataGetProfile(profile, options) {
|
|
2775
2775
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2776
2776
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.metadataGetProfile(profile, options);
|
|
2777
|
-
return createRequestFunction$
|
|
2777
|
+
return createRequestFunction$a(localVarAxiosArgs, axios, BASE_PATH$a, configuration);
|
|
2778
2778
|
});
|
|
2779
2779
|
},
|
|
2780
2780
|
/**
|
|
@@ -2786,7 +2786,7 @@
|
|
|
2786
2786
|
metadataGetProfiles(options) {
|
|
2787
2787
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2788
2788
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.metadataGetProfiles(options);
|
|
2789
|
-
return createRequestFunction$
|
|
2789
|
+
return createRequestFunction$a(localVarAxiosArgs, axios, BASE_PATH$a, configuration);
|
|
2790
2790
|
});
|
|
2791
2791
|
},
|
|
2792
2792
|
/**
|
|
@@ -2798,7 +2798,7 @@
|
|
|
2798
2798
|
metadataGetVocabularies(options) {
|
|
2799
2799
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2800
2800
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.metadataGetVocabularies(options);
|
|
2801
|
-
return createRequestFunction$
|
|
2801
|
+
return createRequestFunction$a(localVarAxiosArgs, axios, BASE_PATH$a, configuration);
|
|
2802
2802
|
});
|
|
2803
2803
|
},
|
|
2804
2804
|
/**
|
|
@@ -2811,7 +2811,7 @@
|
|
|
2811
2811
|
metadataGetVocabulary(path, options) {
|
|
2812
2812
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2813
2813
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.metadataGetVocabulary(path, options);
|
|
2814
|
-
return createRequestFunction$
|
|
2814
|
+
return createRequestFunction$a(localVarAxiosArgs, axios, BASE_PATH$a, configuration);
|
|
2815
2815
|
});
|
|
2816
2816
|
},
|
|
2817
2817
|
/**
|
|
@@ -2824,7 +2824,7 @@
|
|
|
2824
2824
|
metadataSaveApplicationProfile(applicationProfile, options) {
|
|
2825
2825
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2826
2826
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.metadataSaveApplicationProfile(applicationProfile, options);
|
|
2827
|
-
return createRequestFunction$
|
|
2827
|
+
return createRequestFunction$a(localVarAxiosArgs, axios, BASE_PATH$a, configuration);
|
|
2828
2828
|
});
|
|
2829
2829
|
},
|
|
2830
2830
|
};
|
|
@@ -2898,14 +2898,14 @@
|
|
|
2898
2898
|
};
|
|
2899
2899
|
|
|
2900
2900
|
/* tslint:disable */
|
|
2901
|
-
const BASE_PATH$
|
|
2901
|
+
const BASE_PATH$9 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Notices".replace(/\/+$/, "");
|
|
2902
2902
|
/**
|
|
2903
2903
|
*
|
|
2904
2904
|
* @export
|
|
2905
2905
|
* @class RequiredError
|
|
2906
2906
|
* @extends {Error}
|
|
2907
2907
|
*/
|
|
2908
|
-
class RequiredError$
|
|
2908
|
+
class RequiredError$7 extends Error {
|
|
2909
2909
|
constructor(field, msg) {
|
|
2910
2910
|
super(msg);
|
|
2911
2911
|
this.field = field;
|
|
@@ -2918,22 +2918,22 @@
|
|
|
2918
2918
|
*
|
|
2919
2919
|
* @export
|
|
2920
2920
|
*/
|
|
2921
|
-
const DUMMY_BASE_URL$
|
|
2921
|
+
const DUMMY_BASE_URL$9 = 'https://example.com';
|
|
2922
2922
|
/**
|
|
2923
2923
|
*
|
|
2924
2924
|
* @throws {RequiredError}
|
|
2925
2925
|
* @export
|
|
2926
2926
|
*/
|
|
2927
|
-
const assertParamExists$
|
|
2927
|
+
const assertParamExists$7 = function (functionName, paramName, paramValue) {
|
|
2928
2928
|
if (paramValue === null || paramValue === undefined) {
|
|
2929
|
-
throw new RequiredError$
|
|
2929
|
+
throw new RequiredError$7(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
|
|
2930
2930
|
}
|
|
2931
2931
|
};
|
|
2932
2932
|
/**
|
|
2933
2933
|
*
|
|
2934
2934
|
* @export
|
|
2935
2935
|
*/
|
|
2936
|
-
const setApiKeyToObject$
|
|
2936
|
+
const setApiKeyToObject$9 = function (object, keyParamName, configuration) {
|
|
2937
2937
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2938
2938
|
if (configuration && configuration.apiKey) {
|
|
2939
2939
|
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
@@ -2947,7 +2947,7 @@
|
|
|
2947
2947
|
*
|
|
2948
2948
|
* @export
|
|
2949
2949
|
*/
|
|
2950
|
-
const setSearchParams$
|
|
2950
|
+
const setSearchParams$9 = function (url, ...objects) {
|
|
2951
2951
|
const searchParams = new URLSearchParams(url.search);
|
|
2952
2952
|
for (const object of objects) {
|
|
2953
2953
|
for (const key in object) {
|
|
@@ -2968,14 +2968,14 @@
|
|
|
2968
2968
|
*
|
|
2969
2969
|
* @export
|
|
2970
2970
|
*/
|
|
2971
|
-
const toPathString$
|
|
2971
|
+
const toPathString$9 = function (url) {
|
|
2972
2972
|
return url.pathname + url.search + url.hash;
|
|
2973
2973
|
};
|
|
2974
2974
|
/**
|
|
2975
2975
|
*
|
|
2976
2976
|
* @export
|
|
2977
2977
|
*/
|
|
2978
|
-
const createRequestFunction$
|
|
2978
|
+
const createRequestFunction$9 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
2979
2979
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
2980
2980
|
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
|
|
2981
2981
|
return axios.request(axiosRequestArgs);
|
|
@@ -2998,7 +2998,7 @@
|
|
|
2998
2998
|
noticeGetMaintenance: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2999
2999
|
const localVarPath = `/Notice/getMaintenance`;
|
|
3000
3000
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3001
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
3001
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$9);
|
|
3002
3002
|
let baseOptions;
|
|
3003
3003
|
if (configuration) {
|
|
3004
3004
|
baseOptions = configuration.baseOptions;
|
|
@@ -3007,12 +3007,12 @@
|
|
|
3007
3007
|
const localVarHeaderParameter = {};
|
|
3008
3008
|
const localVarQueryParameter = {};
|
|
3009
3009
|
// authentication JWT token required
|
|
3010
|
-
yield setApiKeyToObject$
|
|
3011
|
-
setSearchParams$
|
|
3010
|
+
yield setApiKeyToObject$9(localVarHeaderParameter, "Authorization", configuration);
|
|
3011
|
+
setSearchParams$9(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3012
3012
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3013
3013
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3014
3014
|
return {
|
|
3015
|
-
url: toPathString$
|
|
3015
|
+
url: toPathString$9(localVarUrlObj),
|
|
3016
3016
|
options: localVarRequestOptions,
|
|
3017
3017
|
};
|
|
3018
3018
|
}),
|
|
@@ -3022,15 +3022,16 @@
|
|
|
3022
3022
|
* @param {string} documentSlug Slug defining a configured notice
|
|
3023
3023
|
* @param {string} [language] Language (e.g. \"en\" or \"de\")
|
|
3024
3024
|
* @param {*} [options] Override http request option.
|
|
3025
|
+
* @deprecated
|
|
3025
3026
|
* @throws {RequiredError}
|
|
3026
3027
|
*/
|
|
3027
3028
|
noticeGetNotice: (documentSlug, language, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3028
3029
|
// verify required parameter 'documentSlug' is not null or undefined
|
|
3029
|
-
assertParamExists$
|
|
3030
|
+
assertParamExists$7('noticeGetNotice', 'documentSlug', documentSlug);
|
|
3030
3031
|
const localVarPath = `/Notice/{documentSlug}`
|
|
3031
3032
|
.replace(`{${"documentSlug"}}`, encodeURIComponent(String(documentSlug)));
|
|
3032
3033
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3033
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
3034
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$9);
|
|
3034
3035
|
let baseOptions;
|
|
3035
3036
|
if (configuration) {
|
|
3036
3037
|
baseOptions = configuration.baseOptions;
|
|
@@ -3039,15 +3040,15 @@
|
|
|
3039
3040
|
const localVarHeaderParameter = {};
|
|
3040
3041
|
const localVarQueryParameter = {};
|
|
3041
3042
|
// authentication JWT token required
|
|
3042
|
-
yield setApiKeyToObject$
|
|
3043
|
+
yield setApiKeyToObject$9(localVarHeaderParameter, "Authorization", configuration);
|
|
3043
3044
|
if (language !== undefined) {
|
|
3044
3045
|
localVarQueryParameter['language'] = language;
|
|
3045
3046
|
}
|
|
3046
|
-
setSearchParams$
|
|
3047
|
+
setSearchParams$9(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3047
3048
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3048
3049
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3049
3050
|
return {
|
|
3050
|
-
url: toPathString$
|
|
3051
|
+
url: toPathString$9(localVarUrlObj),
|
|
3051
3052
|
options: localVarRequestOptions,
|
|
3052
3053
|
};
|
|
3053
3054
|
}),
|
|
@@ -3069,7 +3070,7 @@
|
|
|
3069
3070
|
noticeGetMaintenance(options) {
|
|
3070
3071
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3071
3072
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.noticeGetMaintenance(options);
|
|
3072
|
-
return createRequestFunction$
|
|
3073
|
+
return createRequestFunction$9(localVarAxiosArgs, axios, BASE_PATH$9, configuration);
|
|
3073
3074
|
});
|
|
3074
3075
|
},
|
|
3075
3076
|
/**
|
|
@@ -3078,12 +3079,13 @@
|
|
|
3078
3079
|
* @param {string} documentSlug Slug defining a configured notice
|
|
3079
3080
|
* @param {string} [language] Language (e.g. \"en\" or \"de\")
|
|
3080
3081
|
* @param {*} [options] Override http request option.
|
|
3082
|
+
* @deprecated
|
|
3081
3083
|
* @throws {RequiredError}
|
|
3082
3084
|
*/
|
|
3083
3085
|
noticeGetNotice(documentSlug, language, options) {
|
|
3084
3086
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3085
3087
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.noticeGetNotice(documentSlug, language, options);
|
|
3086
|
-
return createRequestFunction$
|
|
3088
|
+
return createRequestFunction$9(localVarAxiosArgs, axios, BASE_PATH$9, configuration);
|
|
3087
3089
|
});
|
|
3088
3090
|
},
|
|
3089
3091
|
};
|
|
@@ -3110,6 +3112,7 @@
|
|
|
3110
3112
|
* @param {string} documentSlug Slug defining a configured notice
|
|
3111
3113
|
* @param {string} [language] Language (e.g. \"en\" or \"de\")
|
|
3112
3114
|
* @param {*} [options] Override http request option.
|
|
3115
|
+
* @deprecated
|
|
3113
3116
|
* @throws {RequiredError}
|
|
3114
3117
|
*/
|
|
3115
3118
|
noticeGetNotice(documentSlug, language, options) {
|
|
@@ -3119,14 +3122,14 @@
|
|
|
3119
3122
|
};
|
|
3120
3123
|
|
|
3121
3124
|
/* tslint:disable */
|
|
3122
|
-
const BASE_PATH$
|
|
3125
|
+
const BASE_PATH$8 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Organization".replace(/\/+$/, "");
|
|
3123
3126
|
/**
|
|
3124
3127
|
*
|
|
3125
3128
|
* @export
|
|
3126
3129
|
* @class RequiredError
|
|
3127
3130
|
* @extends {Error}
|
|
3128
3131
|
*/
|
|
3129
|
-
class RequiredError$
|
|
3132
|
+
class RequiredError$6 extends Error {
|
|
3130
3133
|
constructor(field, msg) {
|
|
3131
3134
|
super(msg);
|
|
3132
3135
|
this.field = field;
|
|
@@ -3139,22 +3142,22 @@
|
|
|
3139
3142
|
*
|
|
3140
3143
|
* @export
|
|
3141
3144
|
*/
|
|
3142
|
-
const DUMMY_BASE_URL$
|
|
3145
|
+
const DUMMY_BASE_URL$8 = 'https://example.com';
|
|
3143
3146
|
/**
|
|
3144
3147
|
*
|
|
3145
3148
|
* @throws {RequiredError}
|
|
3146
3149
|
* @export
|
|
3147
3150
|
*/
|
|
3148
|
-
const assertParamExists$
|
|
3151
|
+
const assertParamExists$6 = function (functionName, paramName, paramValue) {
|
|
3149
3152
|
if (paramValue === null || paramValue === undefined) {
|
|
3150
|
-
throw new RequiredError$
|
|
3153
|
+
throw new RequiredError$6(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
|
|
3151
3154
|
}
|
|
3152
3155
|
};
|
|
3153
3156
|
/**
|
|
3154
3157
|
*
|
|
3155
3158
|
* @export
|
|
3156
3159
|
*/
|
|
3157
|
-
const setApiKeyToObject$
|
|
3160
|
+
const setApiKeyToObject$8 = function (object, keyParamName, configuration) {
|
|
3158
3161
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3159
3162
|
if (configuration && configuration.apiKey) {
|
|
3160
3163
|
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
@@ -3168,7 +3171,7 @@
|
|
|
3168
3171
|
*
|
|
3169
3172
|
* @export
|
|
3170
3173
|
*/
|
|
3171
|
-
const setSearchParams$
|
|
3174
|
+
const setSearchParams$8 = function (url, ...objects) {
|
|
3172
3175
|
const searchParams = new URLSearchParams(url.search);
|
|
3173
3176
|
for (const object of objects) {
|
|
3174
3177
|
for (const key in object) {
|
|
@@ -3189,14 +3192,14 @@
|
|
|
3189
3192
|
*
|
|
3190
3193
|
* @export
|
|
3191
3194
|
*/
|
|
3192
|
-
const toPathString$
|
|
3195
|
+
const toPathString$8 = function (url) {
|
|
3193
3196
|
return url.pathname + url.search + url.hash;
|
|
3194
3197
|
};
|
|
3195
3198
|
/**
|
|
3196
3199
|
*
|
|
3197
3200
|
* @export
|
|
3198
3201
|
*/
|
|
3199
|
-
const createRequestFunction$
|
|
3202
|
+
const createRequestFunction$8 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
3200
3203
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
3201
3204
|
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
|
|
3202
3205
|
return axios.request(axiosRequestArgs);
|
|
@@ -3219,11 +3222,11 @@
|
|
|
3219
3222
|
*/
|
|
3220
3223
|
organizationGetOrganization: (url, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3221
3224
|
// verify required parameter 'url' is not null or undefined
|
|
3222
|
-
assertParamExists$
|
|
3225
|
+
assertParamExists$6('organizationGetOrganization', 'url', url);
|
|
3223
3226
|
const localVarPath = `/Organization/{url}`
|
|
3224
3227
|
.replace(`{${"url"}}`, encodeURIComponent(String(url)));
|
|
3225
3228
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3226
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
3229
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$8);
|
|
3227
3230
|
let baseOptions;
|
|
3228
3231
|
if (configuration) {
|
|
3229
3232
|
baseOptions = configuration.baseOptions;
|
|
@@ -3232,12 +3235,12 @@
|
|
|
3232
3235
|
const localVarHeaderParameter = {};
|
|
3233
3236
|
const localVarQueryParameter = {};
|
|
3234
3237
|
// authentication JWT token required
|
|
3235
|
-
yield setApiKeyToObject$
|
|
3236
|
-
setSearchParams$
|
|
3238
|
+
yield setApiKeyToObject$8(localVarHeaderParameter, "Authorization", configuration);
|
|
3239
|
+
setSearchParams$8(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3237
3240
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3238
3241
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3239
3242
|
return {
|
|
3240
|
-
url: toPathString$
|
|
3243
|
+
url: toPathString$8(localVarUrlObj),
|
|
3241
3244
|
options: localVarRequestOptions,
|
|
3242
3245
|
};
|
|
3243
3246
|
}),
|
|
@@ -3251,7 +3254,7 @@
|
|
|
3251
3254
|
organizationGetROR: (filter, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3252
3255
|
const localVarPath = `/Organization/-/ror`;
|
|
3253
3256
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3254
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
3257
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$8);
|
|
3255
3258
|
let baseOptions;
|
|
3256
3259
|
if (configuration) {
|
|
3257
3260
|
baseOptions = configuration.baseOptions;
|
|
@@ -3260,15 +3263,15 @@
|
|
|
3260
3263
|
const localVarHeaderParameter = {};
|
|
3261
3264
|
const localVarQueryParameter = {};
|
|
3262
3265
|
// authentication JWT token required
|
|
3263
|
-
yield setApiKeyToObject$
|
|
3266
|
+
yield setApiKeyToObject$8(localVarHeaderParameter, "Authorization", configuration);
|
|
3264
3267
|
if (filter !== undefined) {
|
|
3265
3268
|
localVarQueryParameter['filter'] = filter;
|
|
3266
3269
|
}
|
|
3267
|
-
setSearchParams$
|
|
3270
|
+
setSearchParams$8(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3268
3271
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3269
3272
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3270
3273
|
return {
|
|
3271
|
-
url: toPathString$
|
|
3274
|
+
url: toPathString$8(localVarUrlObj),
|
|
3272
3275
|
options: localVarRequestOptions,
|
|
3273
3276
|
};
|
|
3274
3277
|
}),
|
|
@@ -3283,7 +3286,7 @@
|
|
|
3283
3286
|
organizationIndex: (member, filter, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3284
3287
|
const localVarPath = `/Organization`;
|
|
3285
3288
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3286
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
3289
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$8);
|
|
3287
3290
|
let baseOptions;
|
|
3288
3291
|
if (configuration) {
|
|
3289
3292
|
baseOptions = configuration.baseOptions;
|
|
@@ -3292,18 +3295,18 @@
|
|
|
3292
3295
|
const localVarHeaderParameter = {};
|
|
3293
3296
|
const localVarQueryParameter = {};
|
|
3294
3297
|
// authentication JWT token required
|
|
3295
|
-
yield setApiKeyToObject$
|
|
3298
|
+
yield setApiKeyToObject$8(localVarHeaderParameter, "Authorization", configuration);
|
|
3296
3299
|
if (member !== undefined) {
|
|
3297
3300
|
localVarQueryParameter['member'] = member;
|
|
3298
3301
|
}
|
|
3299
3302
|
if (filter !== undefined) {
|
|
3300
3303
|
localVarQueryParameter['filter'] = filter;
|
|
3301
3304
|
}
|
|
3302
|
-
setSearchParams$
|
|
3305
|
+
setSearchParams$8(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3303
3306
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3304
3307
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3305
3308
|
return {
|
|
3306
|
-
url: toPathString$
|
|
3309
|
+
url: toPathString$8(localVarUrlObj),
|
|
3307
3310
|
options: localVarRequestOptions,
|
|
3308
3311
|
};
|
|
3309
3312
|
}),
|
|
@@ -3316,11 +3319,11 @@
|
|
|
3316
3319
|
*/
|
|
3317
3320
|
organizationIsMember: (url, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3318
3321
|
// verify required parameter 'url' is not null or undefined
|
|
3319
|
-
assertParamExists$
|
|
3322
|
+
assertParamExists$6('organizationIsMember', 'url', url);
|
|
3320
3323
|
const localVarPath = `/Organization/-/isMember/{url}`
|
|
3321
3324
|
.replace(`{${"url"}}`, encodeURIComponent(String(url)));
|
|
3322
3325
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3323
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
3326
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$8);
|
|
3324
3327
|
let baseOptions;
|
|
3325
3328
|
if (configuration) {
|
|
3326
3329
|
baseOptions = configuration.baseOptions;
|
|
@@ -3329,12 +3332,12 @@
|
|
|
3329
3332
|
const localVarHeaderParameter = {};
|
|
3330
3333
|
const localVarQueryParameter = {};
|
|
3331
3334
|
// authentication JWT token required
|
|
3332
|
-
yield setApiKeyToObject$
|
|
3333
|
-
setSearchParams$
|
|
3335
|
+
yield setApiKeyToObject$8(localVarHeaderParameter, "Authorization", configuration);
|
|
3336
|
+
setSearchParams$8(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3334
3337
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3335
3338
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3336
3339
|
return {
|
|
3337
|
-
url: toPathString$
|
|
3340
|
+
url: toPathString$8(localVarUrlObj),
|
|
3338
3341
|
options: localVarRequestOptions,
|
|
3339
3342
|
};
|
|
3340
3343
|
}),
|
|
@@ -3347,7 +3350,7 @@
|
|
|
3347
3350
|
organizationIsMember2: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3348
3351
|
const localVarPath = `/Organization/-/isMember`;
|
|
3349
3352
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3350
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
3353
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$8);
|
|
3351
3354
|
let baseOptions;
|
|
3352
3355
|
if (configuration) {
|
|
3353
3356
|
baseOptions = configuration.baseOptions;
|
|
@@ -3356,12 +3359,12 @@
|
|
|
3356
3359
|
const localVarHeaderParameter = {};
|
|
3357
3360
|
const localVarQueryParameter = {};
|
|
3358
3361
|
// authentication JWT token required
|
|
3359
|
-
yield setApiKeyToObject$
|
|
3360
|
-
setSearchParams$
|
|
3362
|
+
yield setApiKeyToObject$8(localVarHeaderParameter, "Authorization", configuration);
|
|
3363
|
+
setSearchParams$8(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3361
3364
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3362
3365
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3363
3366
|
return {
|
|
3364
|
-
url: toPathString$
|
|
3367
|
+
url: toPathString$8(localVarUrlObj),
|
|
3365
3368
|
options: localVarRequestOptions,
|
|
3366
3369
|
};
|
|
3367
3370
|
}),
|
|
@@ -3384,7 +3387,7 @@
|
|
|
3384
3387
|
organizationGetOrganization(url, options) {
|
|
3385
3388
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3386
3389
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.organizationGetOrganization(url, options);
|
|
3387
|
-
return createRequestFunction$
|
|
3390
|
+
return createRequestFunction$8(localVarAxiosArgs, axios, BASE_PATH$8, configuration);
|
|
3388
3391
|
});
|
|
3389
3392
|
},
|
|
3390
3393
|
/**
|
|
@@ -3397,7 +3400,7 @@
|
|
|
3397
3400
|
organizationGetROR(filter, options) {
|
|
3398
3401
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3399
3402
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.organizationGetROR(filter, options);
|
|
3400
|
-
return createRequestFunction$
|
|
3403
|
+
return createRequestFunction$8(localVarAxiosArgs, axios, BASE_PATH$8, configuration);
|
|
3401
3404
|
});
|
|
3402
3405
|
},
|
|
3403
3406
|
/**
|
|
@@ -3411,7 +3414,7 @@
|
|
|
3411
3414
|
organizationIndex(member, filter, options) {
|
|
3412
3415
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3413
3416
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.organizationIndex(member, filter, options);
|
|
3414
|
-
return createRequestFunction$
|
|
3417
|
+
return createRequestFunction$8(localVarAxiosArgs, axios, BASE_PATH$8, configuration);
|
|
3415
3418
|
});
|
|
3416
3419
|
},
|
|
3417
3420
|
/**
|
|
@@ -3424,7 +3427,7 @@
|
|
|
3424
3427
|
organizationIsMember(url, options) {
|
|
3425
3428
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3426
3429
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.organizationIsMember(url, options);
|
|
3427
|
-
return createRequestFunction$
|
|
3430
|
+
return createRequestFunction$8(localVarAxiosArgs, axios, BASE_PATH$8, configuration);
|
|
3428
3431
|
});
|
|
3429
3432
|
},
|
|
3430
3433
|
/**
|
|
@@ -3436,7 +3439,7 @@
|
|
|
3436
3439
|
organizationIsMember2(options) {
|
|
3437
3440
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3438
3441
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.organizationIsMember2(options);
|
|
3439
|
-
return createRequestFunction$
|
|
3442
|
+
return createRequestFunction$8(localVarAxiosArgs, axios, BASE_PATH$8, configuration);
|
|
3440
3443
|
});
|
|
3441
3444
|
},
|
|
3442
3445
|
};
|
|
@@ -3502,14 +3505,14 @@
|
|
|
3502
3505
|
};
|
|
3503
3506
|
|
|
3504
3507
|
/* tslint:disable */
|
|
3505
|
-
const BASE_PATH$
|
|
3508
|
+
const BASE_PATH$7 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Pid".replace(/\/+$/, "");
|
|
3506
3509
|
/**
|
|
3507
3510
|
*
|
|
3508
3511
|
* @export
|
|
3509
3512
|
* @class RequiredError
|
|
3510
3513
|
* @extends {Error}
|
|
3511
3514
|
*/
|
|
3512
|
-
class RequiredError$
|
|
3515
|
+
class RequiredError$5 extends Error {
|
|
3513
3516
|
constructor(field, msg) {
|
|
3514
3517
|
super(msg);
|
|
3515
3518
|
this.field = field;
|
|
@@ -3522,22 +3525,22 @@
|
|
|
3522
3525
|
*
|
|
3523
3526
|
* @export
|
|
3524
3527
|
*/
|
|
3525
|
-
const DUMMY_BASE_URL$
|
|
3528
|
+
const DUMMY_BASE_URL$7 = 'https://example.com';
|
|
3526
3529
|
/**
|
|
3527
3530
|
*
|
|
3528
3531
|
* @throws {RequiredError}
|
|
3529
3532
|
* @export
|
|
3530
3533
|
*/
|
|
3531
|
-
const assertParamExists$
|
|
3534
|
+
const assertParamExists$5 = function (functionName, paramName, paramValue) {
|
|
3532
3535
|
if (paramValue === null || paramValue === undefined) {
|
|
3533
|
-
throw new RequiredError$
|
|
3536
|
+
throw new RequiredError$5(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
|
|
3534
3537
|
}
|
|
3535
3538
|
};
|
|
3536
3539
|
/**
|
|
3537
3540
|
*
|
|
3538
3541
|
* @export
|
|
3539
3542
|
*/
|
|
3540
|
-
const setApiKeyToObject$
|
|
3543
|
+
const setApiKeyToObject$7 = function (object, keyParamName, configuration) {
|
|
3541
3544
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3542
3545
|
if (configuration && configuration.apiKey) {
|
|
3543
3546
|
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
@@ -3551,7 +3554,7 @@
|
|
|
3551
3554
|
*
|
|
3552
3555
|
* @export
|
|
3553
3556
|
*/
|
|
3554
|
-
const setSearchParams$
|
|
3557
|
+
const setSearchParams$7 = function (url, ...objects) {
|
|
3555
3558
|
const searchParams = new URLSearchParams(url.search);
|
|
3556
3559
|
for (const object of objects) {
|
|
3557
3560
|
for (const key in object) {
|
|
@@ -3572,7 +3575,7 @@
|
|
|
3572
3575
|
*
|
|
3573
3576
|
* @export
|
|
3574
3577
|
*/
|
|
3575
|
-
const serializeDataIfNeeded$
|
|
3578
|
+
const serializeDataIfNeeded$4 = function (value, requestOptions, configuration) {
|
|
3576
3579
|
const nonString = typeof value !== 'string';
|
|
3577
3580
|
const needsSerialization = nonString && configuration && configuration.isJsonMime
|
|
3578
3581
|
? configuration.isJsonMime(requestOptions.headers['Content-Type'])
|
|
@@ -3585,14 +3588,14 @@
|
|
|
3585
3588
|
*
|
|
3586
3589
|
* @export
|
|
3587
3590
|
*/
|
|
3588
|
-
const toPathString$
|
|
3591
|
+
const toPathString$7 = function (url) {
|
|
3589
3592
|
return url.pathname + url.search + url.hash;
|
|
3590
3593
|
};
|
|
3591
3594
|
/**
|
|
3592
3595
|
*
|
|
3593
3596
|
* @export
|
|
3594
3597
|
*/
|
|
3595
|
-
const createRequestFunction$
|
|
3598
|
+
const createRequestFunction$7 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
3596
3599
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
3597
3600
|
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
|
|
3598
3601
|
return axios.request(axiosRequestArgs);
|
|
@@ -3601,21 +3604,256 @@
|
|
|
3601
3604
|
|
|
3602
3605
|
/* tslint:disable */
|
|
3603
3606
|
/**
|
|
3604
|
-
*
|
|
3607
|
+
* PidApi - axios parameter creator
|
|
3605
3608
|
* @export
|
|
3606
|
-
* @enum {string}
|
|
3607
3609
|
*/
|
|
3608
|
-
|
|
3609
|
-
|
|
3610
|
-
|
|
3611
|
-
|
|
3612
|
-
|
|
3613
|
-
|
|
3614
|
-
|
|
3615
|
-
|
|
3616
|
-
|
|
3617
|
-
|
|
3618
|
-
|
|
3610
|
+
const PidApiAxiosParamCreator = function (configuration) {
|
|
3611
|
+
return {
|
|
3612
|
+
/**
|
|
3613
|
+
*
|
|
3614
|
+
* @summary Returns a 200, if a PID is valid.
|
|
3615
|
+
* @param {string} pid PID
|
|
3616
|
+
* @param {*} [options] Override http request option.
|
|
3617
|
+
* @throws {RequiredError}
|
|
3618
|
+
*/
|
|
3619
|
+
pidIsValid: (pid, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3620
|
+
// verify required parameter 'pid' is not null or undefined
|
|
3621
|
+
assertParamExists$5('pidIsValid', 'pid', pid);
|
|
3622
|
+
const localVarPath = `/Pid/valid/{pid}`
|
|
3623
|
+
.replace(`{${"pid"}}`, encodeURIComponent(String(pid)));
|
|
3624
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3625
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
3626
|
+
let baseOptions;
|
|
3627
|
+
if (configuration) {
|
|
3628
|
+
baseOptions = configuration.baseOptions;
|
|
3629
|
+
}
|
|
3630
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
3631
|
+
const localVarHeaderParameter = {};
|
|
3632
|
+
const localVarQueryParameter = {};
|
|
3633
|
+
// authentication JWT token required
|
|
3634
|
+
yield setApiKeyToObject$7(localVarHeaderParameter, "Authorization", configuration);
|
|
3635
|
+
setSearchParams$7(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3636
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3637
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3638
|
+
return {
|
|
3639
|
+
url: toPathString$7(localVarUrlObj),
|
|
3640
|
+
options: localVarRequestOptions,
|
|
3641
|
+
};
|
|
3642
|
+
}),
|
|
3643
|
+
/**
|
|
3644
|
+
*
|
|
3645
|
+
* @summary Sends a request to the pid owner.
|
|
3646
|
+
* @param {MessageObject} messageObject Entry with the information for the email to the pid owner.
|
|
3647
|
+
* @param {*} [options] Override http request option.
|
|
3648
|
+
* @throws {RequiredError}
|
|
3649
|
+
*/
|
|
3650
|
+
pidSendMailToOwner: (messageObject, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3651
|
+
// verify required parameter 'messageObject' is not null or undefined
|
|
3652
|
+
assertParamExists$5('pidSendMailToOwner', 'messageObject', messageObject);
|
|
3653
|
+
const localVarPath = `/Pid/sendMailToOwner`;
|
|
3654
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3655
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
3656
|
+
let baseOptions;
|
|
3657
|
+
if (configuration) {
|
|
3658
|
+
baseOptions = configuration.baseOptions;
|
|
3659
|
+
}
|
|
3660
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
3661
|
+
const localVarHeaderParameter = {};
|
|
3662
|
+
const localVarQueryParameter = {};
|
|
3663
|
+
// authentication JWT token required
|
|
3664
|
+
yield setApiKeyToObject$7(localVarHeaderParameter, "Authorization", configuration);
|
|
3665
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3666
|
+
setSearchParams$7(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3667
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3668
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3669
|
+
localVarRequestOptions.data = serializeDataIfNeeded$4(messageObject, localVarRequestOptions, configuration);
|
|
3670
|
+
return {
|
|
3671
|
+
url: toPathString$7(localVarUrlObj),
|
|
3672
|
+
options: localVarRequestOptions,
|
|
3673
|
+
};
|
|
3674
|
+
}),
|
|
3675
|
+
};
|
|
3676
|
+
};
|
|
3677
|
+
/**
|
|
3678
|
+
* PidApi - functional programming interface
|
|
3679
|
+
* @export
|
|
3680
|
+
*/
|
|
3681
|
+
const PidApiFp = function (configuration) {
|
|
3682
|
+
const localVarAxiosParamCreator = PidApiAxiosParamCreator(configuration);
|
|
3683
|
+
return {
|
|
3684
|
+
/**
|
|
3685
|
+
*
|
|
3686
|
+
* @summary Returns a 200, if a PID is valid.
|
|
3687
|
+
* @param {string} pid PID
|
|
3688
|
+
* @param {*} [options] Override http request option.
|
|
3689
|
+
* @throws {RequiredError}
|
|
3690
|
+
*/
|
|
3691
|
+
pidIsValid(pid, options) {
|
|
3692
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3693
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.pidIsValid(pid, options);
|
|
3694
|
+
return createRequestFunction$7(localVarAxiosArgs, axios, BASE_PATH$7, configuration);
|
|
3695
|
+
});
|
|
3696
|
+
},
|
|
3697
|
+
/**
|
|
3698
|
+
*
|
|
3699
|
+
* @summary Sends a request to the pid owner.
|
|
3700
|
+
* @param {MessageObject} messageObject Entry with the information for the email to the pid owner.
|
|
3701
|
+
* @param {*} [options] Override http request option.
|
|
3702
|
+
* @throws {RequiredError}
|
|
3703
|
+
*/
|
|
3704
|
+
pidSendMailToOwner(messageObject, options) {
|
|
3705
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3706
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.pidSendMailToOwner(messageObject, options);
|
|
3707
|
+
return createRequestFunction$7(localVarAxiosArgs, axios, BASE_PATH$7, configuration);
|
|
3708
|
+
});
|
|
3709
|
+
},
|
|
3710
|
+
};
|
|
3711
|
+
};
|
|
3712
|
+
/**
|
|
3713
|
+
* PidApi - factory interface
|
|
3714
|
+
* @export
|
|
3715
|
+
*/
|
|
3716
|
+
const PidApiFactory = function (configuration, basePath, axios) {
|
|
3717
|
+
const localVarFp = PidApiFp(configuration);
|
|
3718
|
+
return {
|
|
3719
|
+
/**
|
|
3720
|
+
*
|
|
3721
|
+
* @summary Returns a 200, if a PID is valid.
|
|
3722
|
+
* @param {string} pid PID
|
|
3723
|
+
* @param {*} [options] Override http request option.
|
|
3724
|
+
* @throws {RequiredError}
|
|
3725
|
+
*/
|
|
3726
|
+
pidIsValid(pid, options) {
|
|
3727
|
+
return localVarFp.pidIsValid(pid, options).then((request) => request(axios, basePath));
|
|
3728
|
+
},
|
|
3729
|
+
/**
|
|
3730
|
+
*
|
|
3731
|
+
* @summary Sends a request to the pid owner.
|
|
3732
|
+
* @param {MessageObject} messageObject Entry with the information for the email to the pid owner.
|
|
3733
|
+
* @param {*} [options] Override http request option.
|
|
3734
|
+
* @throws {RequiredError}
|
|
3735
|
+
*/
|
|
3736
|
+
pidSendMailToOwner(messageObject, options) {
|
|
3737
|
+
return localVarFp.pidSendMailToOwner(messageObject, options).then((request) => request(axios, basePath));
|
|
3738
|
+
},
|
|
3739
|
+
};
|
|
3740
|
+
};
|
|
3741
|
+
|
|
3742
|
+
/* tslint:disable */
|
|
3743
|
+
const BASE_PATH$6 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Project".replace(/\/+$/, "");
|
|
3744
|
+
/**
|
|
3745
|
+
*
|
|
3746
|
+
* @export
|
|
3747
|
+
* @class RequiredError
|
|
3748
|
+
* @extends {Error}
|
|
3749
|
+
*/
|
|
3750
|
+
class RequiredError$4 extends Error {
|
|
3751
|
+
constructor(field, msg) {
|
|
3752
|
+
super(msg);
|
|
3753
|
+
this.field = field;
|
|
3754
|
+
this.name = "RequiredError";
|
|
3755
|
+
}
|
|
3756
|
+
}
|
|
3757
|
+
|
|
3758
|
+
/* tslint:disable */
|
|
3759
|
+
/**
|
|
3760
|
+
*
|
|
3761
|
+
* @export
|
|
3762
|
+
*/
|
|
3763
|
+
const DUMMY_BASE_URL$6 = 'https://example.com';
|
|
3764
|
+
/**
|
|
3765
|
+
*
|
|
3766
|
+
* @throws {RequiredError}
|
|
3767
|
+
* @export
|
|
3768
|
+
*/
|
|
3769
|
+
const assertParamExists$4 = function (functionName, paramName, paramValue) {
|
|
3770
|
+
if (paramValue === null || paramValue === undefined) {
|
|
3771
|
+
throw new RequiredError$4(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
|
|
3772
|
+
}
|
|
3773
|
+
};
|
|
3774
|
+
/**
|
|
3775
|
+
*
|
|
3776
|
+
* @export
|
|
3777
|
+
*/
|
|
3778
|
+
const setApiKeyToObject$6 = function (object, keyParamName, configuration) {
|
|
3779
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3780
|
+
if (configuration && configuration.apiKey) {
|
|
3781
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
3782
|
+
? yield configuration.apiKey(keyParamName)
|
|
3783
|
+
: yield configuration.apiKey;
|
|
3784
|
+
object[keyParamName] = localVarApiKeyValue;
|
|
3785
|
+
}
|
|
3786
|
+
});
|
|
3787
|
+
};
|
|
3788
|
+
/**
|
|
3789
|
+
*
|
|
3790
|
+
* @export
|
|
3791
|
+
*/
|
|
3792
|
+
const setSearchParams$6 = function (url, ...objects) {
|
|
3793
|
+
const searchParams = new URLSearchParams(url.search);
|
|
3794
|
+
for (const object of objects) {
|
|
3795
|
+
for (const key in object) {
|
|
3796
|
+
if (Array.isArray(object[key])) {
|
|
3797
|
+
searchParams.delete(key);
|
|
3798
|
+
for (const item of object[key]) {
|
|
3799
|
+
searchParams.append(key, item);
|
|
3800
|
+
}
|
|
3801
|
+
}
|
|
3802
|
+
else {
|
|
3803
|
+
searchParams.set(key, object[key]);
|
|
3804
|
+
}
|
|
3805
|
+
}
|
|
3806
|
+
}
|
|
3807
|
+
url.search = searchParams.toString();
|
|
3808
|
+
};
|
|
3809
|
+
/**
|
|
3810
|
+
*
|
|
3811
|
+
* @export
|
|
3812
|
+
*/
|
|
3813
|
+
const serializeDataIfNeeded$3 = function (value, requestOptions, configuration) {
|
|
3814
|
+
const nonString = typeof value !== 'string';
|
|
3815
|
+
const needsSerialization = nonString && configuration && configuration.isJsonMime
|
|
3816
|
+
? configuration.isJsonMime(requestOptions.headers['Content-Type'])
|
|
3817
|
+
: nonString;
|
|
3818
|
+
return needsSerialization
|
|
3819
|
+
? JSON.stringify(value !== undefined ? value : {})
|
|
3820
|
+
: (value || "");
|
|
3821
|
+
};
|
|
3822
|
+
/**
|
|
3823
|
+
*
|
|
3824
|
+
* @export
|
|
3825
|
+
*/
|
|
3826
|
+
const toPathString$6 = function (url) {
|
|
3827
|
+
return url.pathname + url.search + url.hash;
|
|
3828
|
+
};
|
|
3829
|
+
/**
|
|
3830
|
+
*
|
|
3831
|
+
* @export
|
|
3832
|
+
*/
|
|
3833
|
+
const createRequestFunction$6 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
3834
|
+
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
3835
|
+
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
|
|
3836
|
+
return axios.request(axiosRequestArgs);
|
|
3837
|
+
};
|
|
3838
|
+
};
|
|
3839
|
+
|
|
3840
|
+
/* tslint:disable */
|
|
3841
|
+
/**
|
|
3842
|
+
*
|
|
3843
|
+
* @export
|
|
3844
|
+
* @enum {string}
|
|
3845
|
+
*/
|
|
3846
|
+
var QuotaUnit$1;
|
|
3847
|
+
(function (QuotaUnit) {
|
|
3848
|
+
QuotaUnit["Byte"] = "https://qudt.org/vocab/unit/BYTE";
|
|
3849
|
+
QuotaUnit["KibiByte"] = "https://qudt.org/vocab/unit/KibiBYTE";
|
|
3850
|
+
QuotaUnit["MebiByte"] = "https://qudt.org/vocab/unit/MebiBYTE";
|
|
3851
|
+
QuotaUnit["GibiByte"] = "https://qudt.org/vocab/unit/GibiBYTE";
|
|
3852
|
+
QuotaUnit["TebiByte"] = "https://qudt.org/vocab/unit/TebiBYTE";
|
|
3853
|
+
QuotaUnit["PebiByte"] = "https://qudt.org/vocab/unit/PebiBYTE";
|
|
3854
|
+
})(QuotaUnit$1 || (QuotaUnit$1 = {}));
|
|
3855
|
+
/**
|
|
3856
|
+
* DisciplineApi - axios parameter creator
|
|
3619
3857
|
* @export
|
|
3620
3858
|
*/
|
|
3621
3859
|
const DisciplineApiAxiosParamCreator = function (configuration) {
|
|
@@ -3629,7 +3867,7 @@
|
|
|
3629
3867
|
disciplineIndex: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3630
3868
|
const localVarPath = `/Discipline`;
|
|
3631
3869
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3632
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
3870
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
3633
3871
|
let baseOptions;
|
|
3634
3872
|
if (configuration) {
|
|
3635
3873
|
baseOptions = configuration.baseOptions;
|
|
@@ -3638,12 +3876,12 @@
|
|
|
3638
3876
|
const localVarHeaderParameter = {};
|
|
3639
3877
|
const localVarQueryParameter = {};
|
|
3640
3878
|
// authentication JWT token required
|
|
3641
|
-
yield setApiKeyToObject$
|
|
3642
|
-
setSearchParams$
|
|
3879
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
3880
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3643
3881
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3644
3882
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3645
3883
|
return {
|
|
3646
|
-
url: toPathString$
|
|
3884
|
+
url: toPathString$6(localVarUrlObj),
|
|
3647
3885
|
options: localVarRequestOptions,
|
|
3648
3886
|
};
|
|
3649
3887
|
}),
|
|
@@ -3665,7 +3903,7 @@
|
|
|
3665
3903
|
disciplineIndex(options) {
|
|
3666
3904
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3667
3905
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.disciplineIndex(options);
|
|
3668
|
-
return createRequestFunction$
|
|
3906
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
3669
3907
|
});
|
|
3670
3908
|
},
|
|
3671
3909
|
};
|
|
@@ -3703,7 +3941,7 @@
|
|
|
3703
3941
|
licenseIndex: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3704
3942
|
const localVarPath = `/License`;
|
|
3705
3943
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3706
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
3944
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
3707
3945
|
let baseOptions;
|
|
3708
3946
|
if (configuration) {
|
|
3709
3947
|
baseOptions = configuration.baseOptions;
|
|
@@ -3712,12 +3950,12 @@
|
|
|
3712
3950
|
const localVarHeaderParameter = {};
|
|
3713
3951
|
const localVarQueryParameter = {};
|
|
3714
3952
|
// authentication JWT token required
|
|
3715
|
-
yield setApiKeyToObject$
|
|
3716
|
-
setSearchParams$
|
|
3953
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
3954
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3717
3955
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3718
3956
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3719
3957
|
return {
|
|
3720
|
-
url: toPathString$
|
|
3958
|
+
url: toPathString$6(localVarUrlObj),
|
|
3721
3959
|
options: localVarRequestOptions,
|
|
3722
3960
|
};
|
|
3723
3961
|
}),
|
|
@@ -3739,7 +3977,7 @@
|
|
|
3739
3977
|
licenseIndex(options) {
|
|
3740
3978
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3741
3979
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.licenseIndex(options);
|
|
3742
|
-
return createRequestFunction$
|
|
3980
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
3743
3981
|
});
|
|
3744
3982
|
},
|
|
3745
3983
|
};
|
|
@@ -3781,7 +4019,7 @@
|
|
|
3781
4019
|
const localVarPath = `/Project/{projectId}/-/create-profile`
|
|
3782
4020
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
3783
4021
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3784
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4022
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
3785
4023
|
let baseOptions;
|
|
3786
4024
|
if (configuration) {
|
|
3787
4025
|
baseOptions = configuration.baseOptions;
|
|
@@ -3790,12 +4028,12 @@
|
|
|
3790
4028
|
const localVarHeaderParameter = {};
|
|
3791
4029
|
const localVarQueryParameter = {};
|
|
3792
4030
|
// authentication JWT token required
|
|
3793
|
-
yield setApiKeyToObject$
|
|
3794
|
-
setSearchParams$
|
|
4031
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4032
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3795
4033
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3796
4034
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3797
4035
|
return {
|
|
3798
|
-
url: toPathString$
|
|
4036
|
+
url: toPathString$6(localVarUrlObj),
|
|
3799
4037
|
options: localVarRequestOptions,
|
|
3800
4038
|
};
|
|
3801
4039
|
}),
|
|
@@ -3812,7 +4050,7 @@
|
|
|
3812
4050
|
const localVarPath = `/Project/{id}`
|
|
3813
4051
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
3814
4052
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3815
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4053
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
3816
4054
|
let baseOptions;
|
|
3817
4055
|
if (configuration) {
|
|
3818
4056
|
baseOptions = configuration.baseOptions;
|
|
@@ -3821,12 +4059,12 @@
|
|
|
3821
4059
|
const localVarHeaderParameter = {};
|
|
3822
4060
|
const localVarQueryParameter = {};
|
|
3823
4061
|
// authentication JWT token required
|
|
3824
|
-
yield setApiKeyToObject$
|
|
3825
|
-
setSearchParams$
|
|
4062
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4063
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3826
4064
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3827
4065
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3828
4066
|
return {
|
|
3829
|
-
url: toPathString$
|
|
4067
|
+
url: toPathString$6(localVarUrlObj),
|
|
3830
4068
|
options: localVarRequestOptions,
|
|
3831
4069
|
};
|
|
3832
4070
|
}),
|
|
@@ -3843,7 +4081,7 @@
|
|
|
3843
4081
|
const localVarPath = `/Project/invitation/{invitationId}`
|
|
3844
4082
|
.replace(`{${"invitationId"}}`, encodeURIComponent(String(invitationId)));
|
|
3845
4083
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3846
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4084
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
3847
4085
|
let baseOptions;
|
|
3848
4086
|
if (configuration) {
|
|
3849
4087
|
baseOptions = configuration.baseOptions;
|
|
@@ -3852,12 +4090,12 @@
|
|
|
3852
4090
|
const localVarHeaderParameter = {};
|
|
3853
4091
|
const localVarQueryParameter = {};
|
|
3854
4092
|
// authentication JWT token required
|
|
3855
|
-
yield setApiKeyToObject$
|
|
3856
|
-
setSearchParams$
|
|
4093
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4094
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3857
4095
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3858
4096
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3859
4097
|
return {
|
|
3860
|
-
url: toPathString$
|
|
4098
|
+
url: toPathString$6(localVarUrlObj),
|
|
3861
4099
|
options: localVarRequestOptions,
|
|
3862
4100
|
};
|
|
3863
4101
|
}),
|
|
@@ -3874,7 +4112,7 @@
|
|
|
3874
4112
|
const localVarPath = `/Project/{id}`
|
|
3875
4113
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
3876
4114
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3877
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4115
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
3878
4116
|
let baseOptions;
|
|
3879
4117
|
if (configuration) {
|
|
3880
4118
|
baseOptions = configuration.baseOptions;
|
|
@@ -3883,12 +4121,12 @@
|
|
|
3883
4121
|
const localVarHeaderParameter = {};
|
|
3884
4122
|
const localVarQueryParameter = {};
|
|
3885
4123
|
// authentication JWT token required
|
|
3886
|
-
yield setApiKeyToObject$
|
|
3887
|
-
setSearchParams$
|
|
4124
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4125
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3888
4126
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3889
4127
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3890
4128
|
return {
|
|
3891
|
-
url: toPathString$
|
|
4129
|
+
url: toPathString$6(localVarUrlObj),
|
|
3892
4130
|
options: localVarRequestOptions,
|
|
3893
4131
|
};
|
|
3894
4132
|
}),
|
|
@@ -3905,7 +4143,7 @@
|
|
|
3905
4143
|
const localVarPath = `/Project/slug/{slug}`
|
|
3906
4144
|
.replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
|
|
3907
4145
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3908
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4146
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
3909
4147
|
let baseOptions;
|
|
3910
4148
|
if (configuration) {
|
|
3911
4149
|
baseOptions = configuration.baseOptions;
|
|
@@ -3914,12 +4152,12 @@
|
|
|
3914
4152
|
const localVarHeaderParameter = {};
|
|
3915
4153
|
const localVarQueryParameter = {};
|
|
3916
4154
|
// authentication JWT token required
|
|
3917
|
-
yield setApiKeyToObject$
|
|
3918
|
-
setSearchParams$
|
|
4155
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4156
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3919
4157
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3920
4158
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3921
4159
|
return {
|
|
3922
|
-
url: toPathString$
|
|
4160
|
+
url: toPathString$6(localVarUrlObj),
|
|
3923
4161
|
options: localVarRequestOptions,
|
|
3924
4162
|
};
|
|
3925
4163
|
}),
|
|
@@ -3936,7 +4174,7 @@
|
|
|
3936
4174
|
const localVarPath = `/Project/{id}/resources`
|
|
3937
4175
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
3938
4176
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3939
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4177
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
3940
4178
|
let baseOptions;
|
|
3941
4179
|
if (configuration) {
|
|
3942
4180
|
baseOptions = configuration.baseOptions;
|
|
@@ -3945,12 +4183,12 @@
|
|
|
3945
4183
|
const localVarHeaderParameter = {};
|
|
3946
4184
|
const localVarQueryParameter = {};
|
|
3947
4185
|
// authentication JWT token required
|
|
3948
|
-
yield setApiKeyToObject$
|
|
3949
|
-
setSearchParams$
|
|
4186
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4187
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3950
4188
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3951
4189
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3952
4190
|
return {
|
|
3953
|
-
url: toPathString$
|
|
4191
|
+
url: toPathString$6(localVarUrlObj),
|
|
3954
4192
|
options: localVarRequestOptions,
|
|
3955
4193
|
};
|
|
3956
4194
|
}),
|
|
@@ -3963,7 +4201,7 @@
|
|
|
3963
4201
|
projectGetTopLevelProjects: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3964
4202
|
const localVarPath = `/Project/-/topLevel`;
|
|
3965
4203
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3966
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4204
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
3967
4205
|
let baseOptions;
|
|
3968
4206
|
if (configuration) {
|
|
3969
4207
|
baseOptions = configuration.baseOptions;
|
|
@@ -3972,12 +4210,12 @@
|
|
|
3972
4210
|
const localVarHeaderParameter = {};
|
|
3973
4211
|
const localVarQueryParameter = {};
|
|
3974
4212
|
// authentication JWT token required
|
|
3975
|
-
yield setApiKeyToObject$
|
|
3976
|
-
setSearchParams$
|
|
4213
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4214
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3977
4215
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3978
4216
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3979
4217
|
return {
|
|
3980
|
-
url: toPathString$
|
|
4218
|
+
url: toPathString$6(localVarUrlObj),
|
|
3981
4219
|
options: localVarRequestOptions,
|
|
3982
4220
|
};
|
|
3983
4221
|
}),
|
|
@@ -3990,7 +4228,7 @@
|
|
|
3990
4228
|
projectIndex: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3991
4229
|
const localVarPath = `/Project`;
|
|
3992
4230
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3993
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4231
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
3994
4232
|
let baseOptions;
|
|
3995
4233
|
if (configuration) {
|
|
3996
4234
|
baseOptions = configuration.baseOptions;
|
|
@@ -3999,12 +4237,12 @@
|
|
|
3999
4237
|
const localVarHeaderParameter = {};
|
|
4000
4238
|
const localVarQueryParameter = {};
|
|
4001
4239
|
// authentication JWT token required
|
|
4002
|
-
yield setApiKeyToObject$
|
|
4003
|
-
setSearchParams$
|
|
4240
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4241
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4004
4242
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4005
4243
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4006
4244
|
return {
|
|
4007
|
-
url: toPathString$
|
|
4245
|
+
url: toPathString$6(localVarUrlObj),
|
|
4008
4246
|
options: localVarRequestOptions,
|
|
4009
4247
|
};
|
|
4010
4248
|
}),
|
|
@@ -4021,7 +4259,7 @@
|
|
|
4021
4259
|
const localVarPath = `/Project/invitation/list/{projectId}`
|
|
4022
4260
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
4023
4261
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4024
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4262
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4025
4263
|
let baseOptions;
|
|
4026
4264
|
if (configuration) {
|
|
4027
4265
|
baseOptions = configuration.baseOptions;
|
|
@@ -4030,12 +4268,12 @@
|
|
|
4030
4268
|
const localVarHeaderParameter = {};
|
|
4031
4269
|
const localVarQueryParameter = {};
|
|
4032
4270
|
// authentication JWT token required
|
|
4033
|
-
yield setApiKeyToObject$
|
|
4034
|
-
setSearchParams$
|
|
4271
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4272
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4035
4273
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4036
4274
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4037
4275
|
return {
|
|
4038
|
-
url: toPathString$
|
|
4276
|
+
url: toPathString$6(localVarUrlObj),
|
|
4039
4277
|
options: localVarRequestOptions,
|
|
4040
4278
|
};
|
|
4041
4279
|
}),
|
|
@@ -4052,7 +4290,7 @@
|
|
|
4052
4290
|
const localVarPath = `/Project/invitation/resolve/{invitationToken}`
|
|
4053
4291
|
.replace(`{${"invitationToken"}}`, encodeURIComponent(String(invitationToken)));
|
|
4054
4292
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4055
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4293
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4056
4294
|
let baseOptions;
|
|
4057
4295
|
if (configuration) {
|
|
4058
4296
|
baseOptions = configuration.baseOptions;
|
|
@@ -4061,12 +4299,12 @@
|
|
|
4061
4299
|
const localVarHeaderParameter = {};
|
|
4062
4300
|
const localVarQueryParameter = {};
|
|
4063
4301
|
// authentication JWT token required
|
|
4064
|
-
yield setApiKeyToObject$
|
|
4065
|
-
setSearchParams$
|
|
4302
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4303
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4066
4304
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4067
4305
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4068
4306
|
return {
|
|
4069
|
-
url: toPathString$
|
|
4307
|
+
url: toPathString$6(localVarUrlObj),
|
|
4070
4308
|
options: localVarRequestOptions,
|
|
4071
4309
|
};
|
|
4072
4310
|
}),
|
|
@@ -4082,7 +4320,7 @@
|
|
|
4082
4320
|
assertParamExists$4('projectSendInvitation', 'sendInvitationObject', sendInvitationObject);
|
|
4083
4321
|
const localVarPath = `/Project/invitation`;
|
|
4084
4322
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4085
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4323
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4086
4324
|
let baseOptions;
|
|
4087
4325
|
if (configuration) {
|
|
4088
4326
|
baseOptions = configuration.baseOptions;
|
|
@@ -4091,14 +4329,14 @@
|
|
|
4091
4329
|
const localVarHeaderParameter = {};
|
|
4092
4330
|
const localVarQueryParameter = {};
|
|
4093
4331
|
// authentication JWT token required
|
|
4094
|
-
yield setApiKeyToObject$
|
|
4332
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4095
4333
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4096
|
-
setSearchParams$
|
|
4334
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4097
4335
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4098
4336
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4099
4337
|
localVarRequestOptions.data = serializeDataIfNeeded$3(sendInvitationObject, localVarRequestOptions, configuration);
|
|
4100
4338
|
return {
|
|
4101
|
-
url: toPathString$
|
|
4339
|
+
url: toPathString$6(localVarUrlObj),
|
|
4102
4340
|
options: localVarRequestOptions,
|
|
4103
4341
|
};
|
|
4104
4342
|
}),
|
|
@@ -4114,7 +4352,7 @@
|
|
|
4114
4352
|
assertParamExists$4('projectStore', 'projectObject', projectObject);
|
|
4115
4353
|
const localVarPath = `/Project`;
|
|
4116
4354
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4117
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4355
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4118
4356
|
let baseOptions;
|
|
4119
4357
|
if (configuration) {
|
|
4120
4358
|
baseOptions = configuration.baseOptions;
|
|
@@ -4123,14 +4361,14 @@
|
|
|
4123
4361
|
const localVarHeaderParameter = {};
|
|
4124
4362
|
const localVarQueryParameter = {};
|
|
4125
4363
|
// authentication JWT token required
|
|
4126
|
-
yield setApiKeyToObject$
|
|
4364
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4127
4365
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4128
|
-
setSearchParams$
|
|
4366
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4129
4367
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4130
4368
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4131
4369
|
localVarRequestOptions.data = serializeDataIfNeeded$3(projectObject, localVarRequestOptions, configuration);
|
|
4132
4370
|
return {
|
|
4133
|
-
url: toPathString$
|
|
4371
|
+
url: toPathString$6(localVarUrlObj),
|
|
4134
4372
|
options: localVarRequestOptions,
|
|
4135
4373
|
};
|
|
4136
4374
|
}),
|
|
@@ -4150,7 +4388,7 @@
|
|
|
4150
4388
|
const localVarPath = `/Project/{id}`
|
|
4151
4389
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
4152
4390
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4153
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4391
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4154
4392
|
let baseOptions;
|
|
4155
4393
|
if (configuration) {
|
|
4156
4394
|
baseOptions = configuration.baseOptions;
|
|
@@ -4159,14 +4397,14 @@
|
|
|
4159
4397
|
const localVarHeaderParameter = {};
|
|
4160
4398
|
const localVarQueryParameter = {};
|
|
4161
4399
|
// authentication JWT token required
|
|
4162
|
-
yield setApiKeyToObject$
|
|
4400
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4163
4401
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4164
|
-
setSearchParams$
|
|
4402
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4165
4403
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4166
4404
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4167
4405
|
localVarRequestOptions.data = serializeDataIfNeeded$3(projectObject, localVarRequestOptions, configuration);
|
|
4168
4406
|
return {
|
|
4169
|
-
url: toPathString$
|
|
4407
|
+
url: toPathString$6(localVarUrlObj),
|
|
4170
4408
|
options: localVarRequestOptions,
|
|
4171
4409
|
};
|
|
4172
4410
|
}),
|
|
@@ -4189,7 +4427,7 @@
|
|
|
4189
4427
|
projectCreateApplicationProfile(projectId, options) {
|
|
4190
4428
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4191
4429
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectCreateApplicationProfile(projectId, options);
|
|
4192
|
-
return createRequestFunction$
|
|
4430
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4193
4431
|
});
|
|
4194
4432
|
},
|
|
4195
4433
|
/**
|
|
@@ -4202,7 +4440,7 @@
|
|
|
4202
4440
|
projectDelete(id, options) {
|
|
4203
4441
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4204
4442
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectDelete(id, options);
|
|
4205
|
-
return createRequestFunction$
|
|
4443
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4206
4444
|
});
|
|
4207
4445
|
},
|
|
4208
4446
|
/**
|
|
@@ -4215,7 +4453,7 @@
|
|
|
4215
4453
|
projectDeleteInvitation(invitationId, options) {
|
|
4216
4454
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4217
4455
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectDeleteInvitation(invitationId, options);
|
|
4218
|
-
return createRequestFunction$
|
|
4456
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4219
4457
|
});
|
|
4220
4458
|
},
|
|
4221
4459
|
/**
|
|
@@ -4228,7 +4466,7 @@
|
|
|
4228
4466
|
projectGet(id, options) {
|
|
4229
4467
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4230
4468
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectGet(id, options);
|
|
4231
|
-
return createRequestFunction$
|
|
4469
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4232
4470
|
});
|
|
4233
4471
|
},
|
|
4234
4472
|
/**
|
|
@@ -4241,7 +4479,7 @@
|
|
|
4241
4479
|
projectGetBySlug(slug, options) {
|
|
4242
4480
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4243
4481
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectGetBySlug(slug, options);
|
|
4244
|
-
return createRequestFunction$
|
|
4482
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4245
4483
|
});
|
|
4246
4484
|
},
|
|
4247
4485
|
/**
|
|
@@ -4254,7 +4492,7 @@
|
|
|
4254
4492
|
projectGetResources(id, options) {
|
|
4255
4493
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4256
4494
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectGetResources(id, options);
|
|
4257
|
-
return createRequestFunction$
|
|
4495
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4258
4496
|
});
|
|
4259
4497
|
},
|
|
4260
4498
|
/**
|
|
@@ -4266,7 +4504,7 @@
|
|
|
4266
4504
|
projectGetTopLevelProjects(options) {
|
|
4267
4505
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4268
4506
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectGetTopLevelProjects(options);
|
|
4269
|
-
return createRequestFunction$
|
|
4507
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4270
4508
|
});
|
|
4271
4509
|
},
|
|
4272
4510
|
/**
|
|
@@ -4278,7 +4516,7 @@
|
|
|
4278
4516
|
projectIndex(options) {
|
|
4279
4517
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4280
4518
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectIndex(options);
|
|
4281
|
-
return createRequestFunction$
|
|
4519
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4282
4520
|
});
|
|
4283
4521
|
},
|
|
4284
4522
|
/**
|
|
@@ -4291,7 +4529,7 @@
|
|
|
4291
4529
|
projectListInvitations(projectId, options) {
|
|
4292
4530
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4293
4531
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectListInvitations(projectId, options);
|
|
4294
|
-
return createRequestFunction$
|
|
4532
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4295
4533
|
});
|
|
4296
4534
|
},
|
|
4297
4535
|
/**
|
|
@@ -4304,7 +4542,7 @@
|
|
|
4304
4542
|
projectResolveInvitation(invitationToken, options) {
|
|
4305
4543
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4306
4544
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectResolveInvitation(invitationToken, options);
|
|
4307
|
-
return createRequestFunction$
|
|
4545
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4308
4546
|
});
|
|
4309
4547
|
},
|
|
4310
4548
|
/**
|
|
@@ -4317,7 +4555,7 @@
|
|
|
4317
4555
|
projectSendInvitation(sendInvitationObject, options) {
|
|
4318
4556
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4319
4557
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectSendInvitation(sendInvitationObject, options);
|
|
4320
|
-
return createRequestFunction$
|
|
4558
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4321
4559
|
});
|
|
4322
4560
|
},
|
|
4323
4561
|
/**
|
|
@@ -4330,7 +4568,7 @@
|
|
|
4330
4568
|
projectStore(projectObject, options) {
|
|
4331
4569
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4332
4570
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectStore(projectObject, options);
|
|
4333
|
-
return createRequestFunction$
|
|
4571
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4334
4572
|
});
|
|
4335
4573
|
},
|
|
4336
4574
|
/**
|
|
@@ -4344,7 +4582,7 @@
|
|
|
4344
4582
|
projectUpdate(id, projectObject, options) {
|
|
4345
4583
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4346
4584
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectUpdate(id, projectObject, options);
|
|
4347
|
-
return createRequestFunction$
|
|
4585
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4348
4586
|
});
|
|
4349
4587
|
},
|
|
4350
4588
|
};
|
|
@@ -4510,7 +4748,7 @@
|
|
|
4510
4748
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
4511
4749
|
.replace(`{${"resourceTypeId"}}`, encodeURIComponent(String(resourceTypeId)));
|
|
4512
4750
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4513
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4751
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4514
4752
|
let baseOptions;
|
|
4515
4753
|
if (configuration) {
|
|
4516
4754
|
baseOptions = configuration.baseOptions;
|
|
@@ -4519,12 +4757,12 @@
|
|
|
4519
4757
|
const localVarHeaderParameter = {};
|
|
4520
4758
|
const localVarQueryParameter = {};
|
|
4521
4759
|
// authentication JWT token required
|
|
4522
|
-
yield setApiKeyToObject$
|
|
4523
|
-
setSearchParams$
|
|
4760
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4761
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4524
4762
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4525
4763
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4526
4764
|
return {
|
|
4527
|
-
url: toPathString$
|
|
4765
|
+
url: toPathString$6(localVarUrlObj),
|
|
4528
4766
|
options: localVarRequestOptions,
|
|
4529
4767
|
};
|
|
4530
4768
|
}),
|
|
@@ -4541,7 +4779,7 @@
|
|
|
4541
4779
|
const localVarPath = `/ProjectQuota/{id}/-/all`
|
|
4542
4780
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
4543
4781
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4544
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4782
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4545
4783
|
let baseOptions;
|
|
4546
4784
|
if (configuration) {
|
|
4547
4785
|
baseOptions = configuration.baseOptions;
|
|
@@ -4550,12 +4788,12 @@
|
|
|
4550
4788
|
const localVarHeaderParameter = {};
|
|
4551
4789
|
const localVarQueryParameter = {};
|
|
4552
4790
|
// authentication JWT token required
|
|
4553
|
-
yield setApiKeyToObject$
|
|
4554
|
-
setSearchParams$
|
|
4791
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4792
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4555
4793
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4556
4794
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4557
4795
|
return {
|
|
4558
|
-
url: toPathString$
|
|
4796
|
+
url: toPathString$6(localVarUrlObj),
|
|
4559
4797
|
options: localVarRequestOptions,
|
|
4560
4798
|
};
|
|
4561
4799
|
}),
|
|
@@ -4579,7 +4817,7 @@
|
|
|
4579
4817
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
4580
4818
|
.replace(`{${"resourceTypeId"}}`, encodeURIComponent(String(resourceTypeId)));
|
|
4581
4819
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4582
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4820
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4583
4821
|
let baseOptions;
|
|
4584
4822
|
if (configuration) {
|
|
4585
4823
|
baseOptions = configuration.baseOptions;
|
|
@@ -4588,14 +4826,14 @@
|
|
|
4588
4826
|
const localVarHeaderParameter = {};
|
|
4589
4827
|
const localVarQueryParameter = {};
|
|
4590
4828
|
// authentication JWT token required
|
|
4591
|
-
yield setApiKeyToObject$
|
|
4829
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4592
4830
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4593
|
-
setSearchParams$
|
|
4831
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4594
4832
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4595
4833
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4596
4834
|
localVarRequestOptions.data = serializeDataIfNeeded$3(updateProjectQuotaObject, localVarRequestOptions, configuration);
|
|
4597
4835
|
return {
|
|
4598
|
-
url: toPathString$
|
|
4836
|
+
url: toPathString$6(localVarUrlObj),
|
|
4599
4837
|
options: localVarRequestOptions,
|
|
4600
4838
|
};
|
|
4601
4839
|
}),
|
|
@@ -4619,7 +4857,7 @@
|
|
|
4619
4857
|
projectQuotaQuota(id, resourceTypeId, options) {
|
|
4620
4858
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4621
4859
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectQuotaQuota(id, resourceTypeId, options);
|
|
4622
|
-
return createRequestFunction$
|
|
4860
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4623
4861
|
});
|
|
4624
4862
|
},
|
|
4625
4863
|
/**
|
|
@@ -4632,7 +4870,7 @@
|
|
|
4632
4870
|
projectQuotaQuotas(id, options) {
|
|
4633
4871
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4634
4872
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectQuotaQuotas(id, options);
|
|
4635
|
-
return createRequestFunction$
|
|
4873
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4636
4874
|
});
|
|
4637
4875
|
},
|
|
4638
4876
|
/**
|
|
@@ -4647,7 +4885,7 @@
|
|
|
4647
4885
|
projectQuotaUpdateQuota(id, resourceTypeId, updateProjectQuotaObject, options) {
|
|
4648
4886
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4649
4887
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectQuotaUpdateQuota(id, resourceTypeId, updateProjectQuotaObject, options);
|
|
4650
|
-
return createRequestFunction$
|
|
4888
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4651
4889
|
});
|
|
4652
4890
|
},
|
|
4653
4891
|
};
|
|
@@ -4721,7 +4959,7 @@
|
|
|
4721
4959
|
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)))
|
|
4722
4960
|
.replace(`{${"roleId"}}`, encodeURIComponent(String(roleId)));
|
|
4723
4961
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4724
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4962
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4725
4963
|
let baseOptions;
|
|
4726
4964
|
if (configuration) {
|
|
4727
4965
|
baseOptions = configuration.baseOptions;
|
|
@@ -4730,12 +4968,12 @@
|
|
|
4730
4968
|
const localVarHeaderParameter = {};
|
|
4731
4969
|
const localVarQueryParameter = {};
|
|
4732
4970
|
// authentication JWT token required
|
|
4733
|
-
yield setApiKeyToObject$
|
|
4734
|
-
setSearchParams$
|
|
4971
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4972
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4735
4973
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4736
4974
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4737
4975
|
return {
|
|
4738
|
-
url: toPathString$
|
|
4976
|
+
url: toPathString$6(localVarUrlObj),
|
|
4739
4977
|
options: localVarRequestOptions,
|
|
4740
4978
|
};
|
|
4741
4979
|
}),
|
|
@@ -4752,7 +4990,7 @@
|
|
|
4752
4990
|
const localVarPath = `/ProjectRole/project/{projectId}/user`
|
|
4753
4991
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
4754
4992
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4755
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
4993
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4756
4994
|
let baseOptions;
|
|
4757
4995
|
if (configuration) {
|
|
4758
4996
|
baseOptions = configuration.baseOptions;
|
|
@@ -4761,12 +4999,12 @@
|
|
|
4761
4999
|
const localVarHeaderParameter = {};
|
|
4762
5000
|
const localVarQueryParameter = {};
|
|
4763
5001
|
// authentication JWT token required
|
|
4764
|
-
yield setApiKeyToObject$
|
|
4765
|
-
setSearchParams$
|
|
5002
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
5003
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4766
5004
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4767
5005
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4768
5006
|
return {
|
|
4769
|
-
url: toPathString$
|
|
5007
|
+
url: toPathString$6(localVarUrlObj),
|
|
4770
5008
|
options: localVarRequestOptions,
|
|
4771
5009
|
};
|
|
4772
5010
|
}),
|
|
@@ -4783,7 +5021,7 @@
|
|
|
4783
5021
|
const localVarPath = `/ProjectRole/project/{projectId}`
|
|
4784
5022
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
4785
5023
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4786
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5024
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4787
5025
|
let baseOptions;
|
|
4788
5026
|
if (configuration) {
|
|
4789
5027
|
baseOptions = configuration.baseOptions;
|
|
@@ -4792,12 +5030,12 @@
|
|
|
4792
5030
|
const localVarHeaderParameter = {};
|
|
4793
5031
|
const localVarQueryParameter = {};
|
|
4794
5032
|
// authentication JWT token required
|
|
4795
|
-
yield setApiKeyToObject$
|
|
4796
|
-
setSearchParams$
|
|
5033
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
5034
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4797
5035
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4798
5036
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4799
5037
|
return {
|
|
4800
|
-
url: toPathString$
|
|
5038
|
+
url: toPathString$6(localVarUrlObj),
|
|
4801
5039
|
options: localVarRequestOptions,
|
|
4802
5040
|
};
|
|
4803
5041
|
}),
|
|
@@ -4814,7 +5052,7 @@
|
|
|
4814
5052
|
const localVarPath = `/ProjectRole/{projectId}`
|
|
4815
5053
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
4816
5054
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4817
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5055
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4818
5056
|
let baseOptions;
|
|
4819
5057
|
if (configuration) {
|
|
4820
5058
|
baseOptions = configuration.baseOptions;
|
|
@@ -4823,12 +5061,12 @@
|
|
|
4823
5061
|
const localVarHeaderParameter = {};
|
|
4824
5062
|
const localVarQueryParameter = {};
|
|
4825
5063
|
// authentication JWT token required
|
|
4826
|
-
yield setApiKeyToObject$
|
|
4827
|
-
setSearchParams$
|
|
5064
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
5065
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4828
5066
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4829
5067
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4830
5068
|
return {
|
|
4831
|
-
url: toPathString$
|
|
5069
|
+
url: toPathString$6(localVarUrlObj),
|
|
4832
5070
|
options: localVarRequestOptions,
|
|
4833
5071
|
};
|
|
4834
5072
|
}),
|
|
@@ -4844,7 +5082,7 @@
|
|
|
4844
5082
|
assertParamExists$4('projectRoleSet', 'projectRoleObject', projectRoleObject);
|
|
4845
5083
|
const localVarPath = `/ProjectRole`;
|
|
4846
5084
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4847
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5085
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4848
5086
|
let baseOptions;
|
|
4849
5087
|
if (configuration) {
|
|
4850
5088
|
baseOptions = configuration.baseOptions;
|
|
@@ -4853,14 +5091,14 @@
|
|
|
4853
5091
|
const localVarHeaderParameter = {};
|
|
4854
5092
|
const localVarQueryParameter = {};
|
|
4855
5093
|
// authentication JWT token required
|
|
4856
|
-
yield setApiKeyToObject$
|
|
5094
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4857
5095
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4858
|
-
setSearchParams$
|
|
5096
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4859
5097
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4860
5098
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4861
5099
|
localVarRequestOptions.data = serializeDataIfNeeded$3(projectRoleObject, localVarRequestOptions, configuration);
|
|
4862
5100
|
return {
|
|
4863
|
-
url: toPathString$
|
|
5101
|
+
url: toPathString$6(localVarUrlObj),
|
|
4864
5102
|
options: localVarRequestOptions,
|
|
4865
5103
|
};
|
|
4866
5104
|
}),
|
|
@@ -4885,7 +5123,7 @@
|
|
|
4885
5123
|
projectRoleDelete(projectId, userId, roleId, options) {
|
|
4886
5124
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4887
5125
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectRoleDelete(projectId, userId, roleId, options);
|
|
4888
|
-
return createRequestFunction$
|
|
5126
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4889
5127
|
});
|
|
4890
5128
|
},
|
|
4891
5129
|
/**
|
|
@@ -4898,7 +5136,7 @@
|
|
|
4898
5136
|
projectRoleDelete2(projectId, options) {
|
|
4899
5137
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4900
5138
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectRoleDelete2(projectId, options);
|
|
4901
|
-
return createRequestFunction$
|
|
5139
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4902
5140
|
});
|
|
4903
5141
|
},
|
|
4904
5142
|
/**
|
|
@@ -4911,7 +5149,7 @@
|
|
|
4911
5149
|
projectRoleGet(projectId, options) {
|
|
4912
5150
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4913
5151
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectRoleGet(projectId, options);
|
|
4914
|
-
return createRequestFunction$
|
|
5152
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4915
5153
|
});
|
|
4916
5154
|
},
|
|
4917
5155
|
/**
|
|
@@ -4924,7 +5162,7 @@
|
|
|
4924
5162
|
projectRoleIndex(projectId, options) {
|
|
4925
5163
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4926
5164
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectRoleIndex(projectId, options);
|
|
4927
|
-
return createRequestFunction$
|
|
5165
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4928
5166
|
});
|
|
4929
5167
|
},
|
|
4930
5168
|
/**
|
|
@@ -4937,7 +5175,7 @@
|
|
|
4937
5175
|
projectRoleSet(projectRoleObject, options) {
|
|
4938
5176
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4939
5177
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectRoleSet(projectRoleObject, options);
|
|
4940
|
-
return createRequestFunction$
|
|
5178
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4941
5179
|
});
|
|
4942
5180
|
},
|
|
4943
5181
|
};
|
|
@@ -5018,7 +5256,7 @@
|
|
|
5018
5256
|
roleIndex: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5019
5257
|
const localVarPath = `/Role`;
|
|
5020
5258
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5021
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5259
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
5022
5260
|
let baseOptions;
|
|
5023
5261
|
if (configuration) {
|
|
5024
5262
|
baseOptions = configuration.baseOptions;
|
|
@@ -5027,12 +5265,12 @@
|
|
|
5027
5265
|
const localVarHeaderParameter = {};
|
|
5028
5266
|
const localVarQueryParameter = {};
|
|
5029
5267
|
// authentication JWT token required
|
|
5030
|
-
yield setApiKeyToObject$
|
|
5031
|
-
setSearchParams$
|
|
5268
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
5269
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5032
5270
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5033
5271
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5034
5272
|
return {
|
|
5035
|
-
url: toPathString$
|
|
5273
|
+
url: toPathString$6(localVarUrlObj),
|
|
5036
5274
|
options: localVarRequestOptions,
|
|
5037
5275
|
};
|
|
5038
5276
|
}),
|
|
@@ -5054,7 +5292,7 @@
|
|
|
5054
5292
|
roleIndex(options) {
|
|
5055
5293
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5056
5294
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.roleIndex(options);
|
|
5057
|
-
return createRequestFunction$
|
|
5295
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5058
5296
|
});
|
|
5059
5297
|
},
|
|
5060
5298
|
};
|
|
@@ -5096,7 +5334,7 @@
|
|
|
5096
5334
|
const localVarPath = `/SubProject/{parentId}`
|
|
5097
5335
|
.replace(`{${"parentId"}}`, encodeURIComponent(String(parentId)));
|
|
5098
5336
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5099
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5337
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
5100
5338
|
let baseOptions;
|
|
5101
5339
|
if (configuration) {
|
|
5102
5340
|
baseOptions = configuration.baseOptions;
|
|
@@ -5105,12 +5343,12 @@
|
|
|
5105
5343
|
const localVarHeaderParameter = {};
|
|
5106
5344
|
const localVarQueryParameter = {};
|
|
5107
5345
|
// authentication JWT token required
|
|
5108
|
-
yield setApiKeyToObject$
|
|
5109
|
-
setSearchParams$
|
|
5346
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
5347
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5110
5348
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5111
5349
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5112
5350
|
return {
|
|
5113
|
-
url: toPathString$
|
|
5351
|
+
url: toPathString$6(localVarUrlObj),
|
|
5114
5352
|
options: localVarRequestOptions,
|
|
5115
5353
|
};
|
|
5116
5354
|
}),
|
|
@@ -5127,7 +5365,7 @@
|
|
|
5127
5365
|
const localVarPath = `/SubProject/{childId}/accessibleParent`
|
|
5128
5366
|
.replace(`{${"childId"}}`, encodeURIComponent(String(childId)));
|
|
5129
5367
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5130
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5368
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
5131
5369
|
let baseOptions;
|
|
5132
5370
|
if (configuration) {
|
|
5133
5371
|
baseOptions = configuration.baseOptions;
|
|
@@ -5136,12 +5374,12 @@
|
|
|
5136
5374
|
const localVarHeaderParameter = {};
|
|
5137
5375
|
const localVarQueryParameter = {};
|
|
5138
5376
|
// authentication JWT token required
|
|
5139
|
-
yield setApiKeyToObject$
|
|
5140
|
-
setSearchParams$
|
|
5377
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
5378
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5141
5379
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5142
5380
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5143
5381
|
return {
|
|
5144
|
-
url: toPathString$
|
|
5382
|
+
url: toPathString$6(localVarUrlObj),
|
|
5145
5383
|
options: localVarRequestOptions,
|
|
5146
5384
|
};
|
|
5147
5385
|
}),
|
|
@@ -5164,7 +5402,7 @@
|
|
|
5164
5402
|
subProjectGet(parentId, options) {
|
|
5165
5403
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5166
5404
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.subProjectGet(parentId, options);
|
|
5167
|
-
return createRequestFunction$
|
|
5405
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5168
5406
|
});
|
|
5169
5407
|
},
|
|
5170
5408
|
/**
|
|
@@ -5177,7 +5415,7 @@
|
|
|
5177
5415
|
subProjectGetAccessibleParent(childId, options) {
|
|
5178
5416
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5179
5417
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.subProjectGetAccessibleParent(childId, options);
|
|
5180
|
-
return createRequestFunction$
|
|
5418
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5181
5419
|
});
|
|
5182
5420
|
},
|
|
5183
5421
|
};
|
|
@@ -5226,7 +5464,7 @@
|
|
|
5226
5464
|
visibilityIndex: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5227
5465
|
const localVarPath = `/Visibility`;
|
|
5228
5466
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5229
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5467
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
5230
5468
|
let baseOptions;
|
|
5231
5469
|
if (configuration) {
|
|
5232
5470
|
baseOptions = configuration.baseOptions;
|
|
@@ -5235,12 +5473,12 @@
|
|
|
5235
5473
|
const localVarHeaderParameter = {};
|
|
5236
5474
|
const localVarQueryParameter = {};
|
|
5237
5475
|
// authentication JWT token required
|
|
5238
|
-
yield setApiKeyToObject$
|
|
5239
|
-
setSearchParams$
|
|
5476
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
5477
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5240
5478
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5241
5479
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5242
5480
|
return {
|
|
5243
|
-
url: toPathString$
|
|
5481
|
+
url: toPathString$6(localVarUrlObj),
|
|
5244
5482
|
options: localVarRequestOptions,
|
|
5245
5483
|
};
|
|
5246
5484
|
}),
|
|
@@ -5262,7 +5500,7 @@
|
|
|
5262
5500
|
visibilityIndex(options) {
|
|
5263
5501
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5264
5502
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.visibilityIndex(options);
|
|
5265
|
-
return createRequestFunction$
|
|
5503
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5266
5504
|
});
|
|
5267
5505
|
},
|
|
5268
5506
|
};
|
|
@@ -5287,7 +5525,7 @@
|
|
|
5287
5525
|
};
|
|
5288
5526
|
|
|
5289
5527
|
/* tslint:disable */
|
|
5290
|
-
const BASE_PATH$
|
|
5528
|
+
const BASE_PATH$5 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Resources".replace(/\/+$/, "");
|
|
5291
5529
|
/**
|
|
5292
5530
|
*
|
|
5293
5531
|
* @export
|
|
@@ -5307,7 +5545,7 @@
|
|
|
5307
5545
|
*
|
|
5308
5546
|
* @export
|
|
5309
5547
|
*/
|
|
5310
|
-
const DUMMY_BASE_URL$
|
|
5548
|
+
const DUMMY_BASE_URL$5 = 'https://example.com';
|
|
5311
5549
|
/**
|
|
5312
5550
|
*
|
|
5313
5551
|
* @throws {RequiredError}
|
|
@@ -5322,7 +5560,7 @@
|
|
|
5322
5560
|
*
|
|
5323
5561
|
* @export
|
|
5324
5562
|
*/
|
|
5325
|
-
const setApiKeyToObject$
|
|
5563
|
+
const setApiKeyToObject$5 = function (object, keyParamName, configuration) {
|
|
5326
5564
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5327
5565
|
if (configuration && configuration.apiKey) {
|
|
5328
5566
|
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
@@ -5336,7 +5574,7 @@
|
|
|
5336
5574
|
*
|
|
5337
5575
|
* @export
|
|
5338
5576
|
*/
|
|
5339
|
-
const setSearchParams$
|
|
5577
|
+
const setSearchParams$5 = function (url, ...objects) {
|
|
5340
5578
|
const searchParams = new URLSearchParams(url.search);
|
|
5341
5579
|
for (const object of objects) {
|
|
5342
5580
|
for (const key in object) {
|
|
@@ -5370,14 +5608,14 @@
|
|
|
5370
5608
|
*
|
|
5371
5609
|
* @export
|
|
5372
5610
|
*/
|
|
5373
|
-
const toPathString$
|
|
5611
|
+
const toPathString$5 = function (url) {
|
|
5374
5612
|
return url.pathname + url.search + url.hash;
|
|
5375
5613
|
};
|
|
5376
5614
|
/**
|
|
5377
5615
|
*
|
|
5378
5616
|
* @export
|
|
5379
5617
|
*/
|
|
5380
|
-
const createRequestFunction$
|
|
5618
|
+
const createRequestFunction$5 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
5381
5619
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
5382
5620
|
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
|
|
5383
5621
|
return axios.request(axiosRequestArgs);
|
|
@@ -5428,7 +5666,7 @@
|
|
|
5428
5666
|
const localVarPath = `/Resource/{id}`
|
|
5429
5667
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
5430
5668
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5431
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5669
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
|
|
5432
5670
|
let baseOptions;
|
|
5433
5671
|
if (configuration) {
|
|
5434
5672
|
baseOptions = configuration.baseOptions;
|
|
@@ -5437,12 +5675,12 @@
|
|
|
5437
5675
|
const localVarHeaderParameter = {};
|
|
5438
5676
|
const localVarQueryParameter = {};
|
|
5439
5677
|
// authentication JWT token required
|
|
5440
|
-
yield setApiKeyToObject$
|
|
5441
|
-
setSearchParams$
|
|
5678
|
+
yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
|
|
5679
|
+
setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5442
5680
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5443
5681
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5444
5682
|
return {
|
|
5445
|
-
url: toPathString$
|
|
5683
|
+
url: toPathString$5(localVarUrlObj),
|
|
5446
5684
|
options: localVarRequestOptions,
|
|
5447
5685
|
};
|
|
5448
5686
|
}),
|
|
@@ -5459,7 +5697,7 @@
|
|
|
5459
5697
|
const localVarPath = `/Resource/{id}`
|
|
5460
5698
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
5461
5699
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5462
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5700
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
|
|
5463
5701
|
let baseOptions;
|
|
5464
5702
|
if (configuration) {
|
|
5465
5703
|
baseOptions = configuration.baseOptions;
|
|
@@ -5468,12 +5706,12 @@
|
|
|
5468
5706
|
const localVarHeaderParameter = {};
|
|
5469
5707
|
const localVarQueryParameter = {};
|
|
5470
5708
|
// authentication JWT token required
|
|
5471
|
-
yield setApiKeyToObject$
|
|
5472
|
-
setSearchParams$
|
|
5709
|
+
yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
|
|
5710
|
+
setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5473
5711
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5474
5712
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5475
5713
|
return {
|
|
5476
|
-
url: toPathString$
|
|
5714
|
+
url: toPathString$5(localVarUrlObj),
|
|
5477
5715
|
options: localVarRequestOptions,
|
|
5478
5716
|
};
|
|
5479
5717
|
}),
|
|
@@ -5486,7 +5724,7 @@
|
|
|
5486
5724
|
resourceIndex: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5487
5725
|
const localVarPath = `/Resource`;
|
|
5488
5726
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5489
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5727
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
|
|
5490
5728
|
let baseOptions;
|
|
5491
5729
|
if (configuration) {
|
|
5492
5730
|
baseOptions = configuration.baseOptions;
|
|
@@ -5495,12 +5733,12 @@
|
|
|
5495
5733
|
const localVarHeaderParameter = {};
|
|
5496
5734
|
const localVarQueryParameter = {};
|
|
5497
5735
|
// authentication JWT token required
|
|
5498
|
-
yield setApiKeyToObject$
|
|
5499
|
-
setSearchParams$
|
|
5736
|
+
yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
|
|
5737
|
+
setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5500
5738
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5501
5739
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5502
5740
|
return {
|
|
5503
|
-
url: toPathString$
|
|
5741
|
+
url: toPathString$5(localVarUrlObj),
|
|
5504
5742
|
options: localVarRequestOptions,
|
|
5505
5743
|
};
|
|
5506
5744
|
}),
|
|
@@ -5517,7 +5755,7 @@
|
|
|
5517
5755
|
const localVarPath = `/Resource/{id}/isCreator`
|
|
5518
5756
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
5519
5757
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5520
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5758
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
|
|
5521
5759
|
let baseOptions;
|
|
5522
5760
|
if (configuration) {
|
|
5523
5761
|
baseOptions = configuration.baseOptions;
|
|
@@ -5526,12 +5764,12 @@
|
|
|
5526
5764
|
const localVarHeaderParameter = {};
|
|
5527
5765
|
const localVarQueryParameter = {};
|
|
5528
5766
|
// authentication JWT token required
|
|
5529
|
-
yield setApiKeyToObject$
|
|
5530
|
-
setSearchParams$
|
|
5767
|
+
yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
|
|
5768
|
+
setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5531
5769
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5532
5770
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5533
5771
|
return {
|
|
5534
|
-
url: toPathString$
|
|
5772
|
+
url: toPathString$5(localVarUrlObj),
|
|
5535
5773
|
options: localVarRequestOptions,
|
|
5536
5774
|
};
|
|
5537
5775
|
}),
|
|
@@ -5549,7 +5787,7 @@
|
|
|
5549
5787
|
const localVarPath = `/Resource/{id}/setReadonly`
|
|
5550
5788
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
5551
5789
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5552
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5790
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
|
|
5553
5791
|
let baseOptions;
|
|
5554
5792
|
if (configuration) {
|
|
5555
5793
|
baseOptions = configuration.baseOptions;
|
|
@@ -5558,15 +5796,15 @@
|
|
|
5558
5796
|
const localVarHeaderParameter = {};
|
|
5559
5797
|
const localVarQueryParameter = {};
|
|
5560
5798
|
// authentication JWT token required
|
|
5561
|
-
yield setApiKeyToObject$
|
|
5799
|
+
yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
|
|
5562
5800
|
if (status !== undefined) {
|
|
5563
5801
|
localVarQueryParameter['status'] = status;
|
|
5564
5802
|
}
|
|
5565
|
-
setSearchParams$
|
|
5803
|
+
setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5566
5804
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5567
5805
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5568
5806
|
return {
|
|
5569
|
-
url: toPathString$
|
|
5807
|
+
url: toPathString$5(localVarUrlObj),
|
|
5570
5808
|
options: localVarRequestOptions,
|
|
5571
5809
|
};
|
|
5572
5810
|
}),
|
|
@@ -5586,7 +5824,7 @@
|
|
|
5586
5824
|
const localVarPath = `/Resource/project/{projectId}`
|
|
5587
5825
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
5588
5826
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5589
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5827
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
|
|
5590
5828
|
let baseOptions;
|
|
5591
5829
|
if (configuration) {
|
|
5592
5830
|
baseOptions = configuration.baseOptions;
|
|
@@ -5595,14 +5833,14 @@
|
|
|
5595
5833
|
const localVarHeaderParameter = {};
|
|
5596
5834
|
const localVarQueryParameter = {};
|
|
5597
5835
|
// authentication JWT token required
|
|
5598
|
-
yield setApiKeyToObject$
|
|
5836
|
+
yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
|
|
5599
5837
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5600
|
-
setSearchParams$
|
|
5838
|
+
setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5601
5839
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5602
5840
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5603
5841
|
localVarRequestOptions.data = serializeDataIfNeeded$2(resourceObject, localVarRequestOptions, configuration);
|
|
5604
5842
|
return {
|
|
5605
|
-
url: toPathString$
|
|
5843
|
+
url: toPathString$5(localVarUrlObj),
|
|
5606
5844
|
options: localVarRequestOptions,
|
|
5607
5845
|
};
|
|
5608
5846
|
}),
|
|
@@ -5622,7 +5860,7 @@
|
|
|
5622
5860
|
const localVarPath = `/Resource/{id}`
|
|
5623
5861
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
5624
5862
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5625
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
5863
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
|
|
5626
5864
|
let baseOptions;
|
|
5627
5865
|
if (configuration) {
|
|
5628
5866
|
baseOptions = configuration.baseOptions;
|
|
@@ -5631,14 +5869,14 @@
|
|
|
5631
5869
|
const localVarHeaderParameter = {};
|
|
5632
5870
|
const localVarQueryParameter = {};
|
|
5633
5871
|
// authentication JWT token required
|
|
5634
|
-
yield setApiKeyToObject$
|
|
5872
|
+
yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
|
|
5635
5873
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5636
|
-
setSearchParams$
|
|
5874
|
+
setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5637
5875
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5638
5876
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5639
5877
|
localVarRequestOptions.data = serializeDataIfNeeded$2(resourceObject, localVarRequestOptions, configuration);
|
|
5640
5878
|
return {
|
|
5641
|
-
url: toPathString$
|
|
5879
|
+
url: toPathString$5(localVarUrlObj),
|
|
5642
5880
|
options: localVarRequestOptions,
|
|
5643
5881
|
};
|
|
5644
5882
|
}),
|
|
@@ -5661,7 +5899,7 @@
|
|
|
5661
5899
|
resourceDelete(id, options) {
|
|
5662
5900
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5663
5901
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceDelete(id, options);
|
|
5664
|
-
return createRequestFunction$
|
|
5902
|
+
return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
|
|
5665
5903
|
});
|
|
5666
5904
|
},
|
|
5667
5905
|
/**
|
|
@@ -5674,7 +5912,7 @@
|
|
|
5674
5912
|
resourceGet(id, options) {
|
|
5675
5913
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5676
5914
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceGet(id, options);
|
|
5677
|
-
return createRequestFunction$
|
|
5915
|
+
return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
|
|
5678
5916
|
});
|
|
5679
5917
|
},
|
|
5680
5918
|
/**
|
|
@@ -5686,7 +5924,7 @@
|
|
|
5686
5924
|
resourceIndex(options) {
|
|
5687
5925
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5688
5926
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceIndex(options);
|
|
5689
|
-
return createRequestFunction$
|
|
5927
|
+
return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
|
|
5690
5928
|
});
|
|
5691
5929
|
},
|
|
5692
5930
|
/**
|
|
@@ -5699,7 +5937,7 @@
|
|
|
5699
5937
|
resourceIsUserResourceCreator(id, options) {
|
|
5700
5938
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5701
5939
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceIsUserResourceCreator(id, options);
|
|
5702
|
-
return createRequestFunction$
|
|
5940
|
+
return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
|
|
5703
5941
|
});
|
|
5704
5942
|
},
|
|
5705
5943
|
/**
|
|
@@ -5713,7 +5951,7 @@
|
|
|
5713
5951
|
resourceSetResourceReadonly(id, status, options) {
|
|
5714
5952
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5715
5953
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceSetResourceReadonly(id, status, options);
|
|
5716
|
-
return createRequestFunction$
|
|
5954
|
+
return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
|
|
5717
5955
|
});
|
|
5718
5956
|
},
|
|
5719
5957
|
/**
|
|
@@ -5727,7 +5965,7 @@
|
|
|
5727
5965
|
resourceStoreToProject(projectId, resourceObject, options) {
|
|
5728
5966
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5729
5967
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceStoreToProject(projectId, resourceObject, options);
|
|
5730
|
-
return createRequestFunction$
|
|
5968
|
+
return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
|
|
5731
5969
|
});
|
|
5732
5970
|
},
|
|
5733
5971
|
/**
|
|
@@ -5741,7 +5979,7 @@
|
|
|
5741
5979
|
resourceUpdate(id, resourceObject, options) {
|
|
5742
5980
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5743
5981
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceUpdate(id, resourceObject, options);
|
|
5744
|
-
return createRequestFunction$
|
|
5982
|
+
return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
|
|
5745
5983
|
});
|
|
5746
5984
|
},
|
|
5747
5985
|
};
|
|
@@ -5846,7 +6084,7 @@
|
|
|
5846
6084
|
const localVarPath = `/ResourceQuota/{id}`
|
|
5847
6085
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
5848
6086
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5849
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
6087
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
|
|
5850
6088
|
let baseOptions;
|
|
5851
6089
|
if (configuration) {
|
|
5852
6090
|
baseOptions = configuration.baseOptions;
|
|
@@ -5855,12 +6093,12 @@
|
|
|
5855
6093
|
const localVarHeaderParameter = {};
|
|
5856
6094
|
const localVarQueryParameter = {};
|
|
5857
6095
|
// authentication JWT token required
|
|
5858
|
-
yield setApiKeyToObject$
|
|
5859
|
-
setSearchParams$
|
|
6096
|
+
yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
|
|
6097
|
+
setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5860
6098
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5861
6099
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5862
6100
|
return {
|
|
5863
|
-
url: toPathString$
|
|
6101
|
+
url: toPathString$5(localVarUrlObj),
|
|
5864
6102
|
options: localVarRequestOptions,
|
|
5865
6103
|
};
|
|
5866
6104
|
}),
|
|
@@ -5880,7 +6118,7 @@
|
|
|
5880
6118
|
const localVarPath = `/ResourceQuota/{id}`
|
|
5881
6119
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
5882
6120
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5883
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
6121
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
|
|
5884
6122
|
let baseOptions;
|
|
5885
6123
|
if (configuration) {
|
|
5886
6124
|
baseOptions = configuration.baseOptions;
|
|
@@ -5889,14 +6127,14 @@
|
|
|
5889
6127
|
const localVarHeaderParameter = {};
|
|
5890
6128
|
const localVarQueryParameter = {};
|
|
5891
6129
|
// authentication JWT token required
|
|
5892
|
-
yield setApiKeyToObject$
|
|
6130
|
+
yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
|
|
5893
6131
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5894
|
-
setSearchParams$
|
|
6132
|
+
setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5895
6133
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5896
6134
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5897
6135
|
localVarRequestOptions.data = serializeDataIfNeeded$2(updateResourceObject, localVarRequestOptions, configuration);
|
|
5898
6136
|
return {
|
|
5899
|
-
url: toPathString$
|
|
6137
|
+
url: toPathString$5(localVarUrlObj),
|
|
5900
6138
|
options: localVarRequestOptions,
|
|
5901
6139
|
};
|
|
5902
6140
|
}),
|
|
@@ -5919,7 +6157,7 @@
|
|
|
5919
6157
|
resourceQuotaGetResourceQuota(id, options) {
|
|
5920
6158
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5921
6159
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceQuotaGetResourceQuota(id, options);
|
|
5922
|
-
return createRequestFunction$
|
|
6160
|
+
return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
|
|
5923
6161
|
});
|
|
5924
6162
|
},
|
|
5925
6163
|
/**
|
|
@@ -5933,7 +6171,7 @@
|
|
|
5933
6171
|
resourceQuotaUpdateResourceQuota(id, updateResourceObject, options) {
|
|
5934
6172
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5935
6173
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceQuotaUpdateResourceQuota(id, updateResourceObject, options);
|
|
5936
|
-
return createRequestFunction$
|
|
6174
|
+
return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
|
|
5937
6175
|
});
|
|
5938
6176
|
},
|
|
5939
6177
|
};
|
|
@@ -5983,7 +6221,7 @@
|
|
|
5983
6221
|
resourceTypeGetEnabledResourceTypes: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5984
6222
|
const localVarPath = `/ResourceType/types/-/enabled`;
|
|
5985
6223
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5986
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
6224
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
|
|
5987
6225
|
let baseOptions;
|
|
5988
6226
|
if (configuration) {
|
|
5989
6227
|
baseOptions = configuration.baseOptions;
|
|
@@ -5992,29 +6230,736 @@
|
|
|
5992
6230
|
const localVarHeaderParameter = {};
|
|
5993
6231
|
const localVarQueryParameter = {};
|
|
5994
6232
|
// authentication JWT token required
|
|
5995
|
-
yield setApiKeyToObject$
|
|
5996
|
-
setSearchParams$
|
|
6233
|
+
yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
|
|
6234
|
+
setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5997
6235
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5998
6236
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5999
6237
|
return {
|
|
6000
|
-
url: toPathString$
|
|
6238
|
+
url: toPathString$5(localVarUrlObj),
|
|
6239
|
+
options: localVarRequestOptions,
|
|
6240
|
+
};
|
|
6241
|
+
}),
|
|
6242
|
+
/**
|
|
6243
|
+
*
|
|
6244
|
+
* @summary Returns all fields of the specified resource type.
|
|
6245
|
+
* @param {string} id A guid as a string that identifies the resource.
|
|
6246
|
+
* @param {*} [options] Override http request option.
|
|
6247
|
+
* @throws {RequiredError}
|
|
6248
|
+
*/
|
|
6249
|
+
resourceTypeGetResourceType: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6250
|
+
// verify required parameter 'id' is not null or undefined
|
|
6251
|
+
assertParamExists$3('resourceTypeGetResourceType', 'id', id);
|
|
6252
|
+
const localVarPath = `/ResourceType/types/{id}`
|
|
6253
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
6254
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6255
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
|
|
6256
|
+
let baseOptions;
|
|
6257
|
+
if (configuration) {
|
|
6258
|
+
baseOptions = configuration.baseOptions;
|
|
6259
|
+
}
|
|
6260
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6261
|
+
const localVarHeaderParameter = {};
|
|
6262
|
+
const localVarQueryParameter = {};
|
|
6263
|
+
// authentication JWT token required
|
|
6264
|
+
yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
|
|
6265
|
+
setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6266
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6267
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6268
|
+
return {
|
|
6269
|
+
url: toPathString$5(localVarUrlObj),
|
|
6270
|
+
options: localVarRequestOptions,
|
|
6271
|
+
};
|
|
6272
|
+
}),
|
|
6273
|
+
/**
|
|
6274
|
+
*
|
|
6275
|
+
* @summary Returns all resource types.
|
|
6276
|
+
* @param {*} [options] Override http request option.
|
|
6277
|
+
* @throws {RequiredError}
|
|
6278
|
+
*/
|
|
6279
|
+
resourceTypeGetResourceTypes: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6280
|
+
const localVarPath = `/ResourceType/types`;
|
|
6281
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6282
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
|
|
6283
|
+
let baseOptions;
|
|
6284
|
+
if (configuration) {
|
|
6285
|
+
baseOptions = configuration.baseOptions;
|
|
6286
|
+
}
|
|
6287
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6288
|
+
const localVarHeaderParameter = {};
|
|
6289
|
+
const localVarQueryParameter = {};
|
|
6290
|
+
// authentication JWT token required
|
|
6291
|
+
yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
|
|
6292
|
+
setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6293
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6294
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6295
|
+
return {
|
|
6296
|
+
url: toPathString$5(localVarUrlObj),
|
|
6001
6297
|
options: localVarRequestOptions,
|
|
6002
6298
|
};
|
|
6003
6299
|
}),
|
|
6300
|
+
};
|
|
6301
|
+
};
|
|
6302
|
+
/**
|
|
6303
|
+
* ResourceTypeApi - functional programming interface
|
|
6304
|
+
* @export
|
|
6305
|
+
*/
|
|
6306
|
+
const ResourceTypeApiFp = function (configuration) {
|
|
6307
|
+
const localVarAxiosParamCreator = ResourceTypeApiAxiosParamCreator(configuration);
|
|
6308
|
+
return {
|
|
6309
|
+
/**
|
|
6310
|
+
*
|
|
6311
|
+
* @summary Returns all enabled resource types.
|
|
6312
|
+
* @param {*} [options] Override http request option.
|
|
6313
|
+
* @throws {RequiredError}
|
|
6314
|
+
*/
|
|
6315
|
+
resourceTypeGetEnabledResourceTypes(options) {
|
|
6316
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6317
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceTypeGetEnabledResourceTypes(options);
|
|
6318
|
+
return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
|
|
6319
|
+
});
|
|
6320
|
+
},
|
|
6321
|
+
/**
|
|
6322
|
+
*
|
|
6323
|
+
* @summary Returns all fields of the specified resource type.
|
|
6324
|
+
* @param {string} id A guid as a string that identifies the resource.
|
|
6325
|
+
* @param {*} [options] Override http request option.
|
|
6326
|
+
* @throws {RequiredError}
|
|
6327
|
+
*/
|
|
6328
|
+
resourceTypeGetResourceType(id, options) {
|
|
6329
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6330
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceTypeGetResourceType(id, options);
|
|
6331
|
+
return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
|
|
6332
|
+
});
|
|
6333
|
+
},
|
|
6334
|
+
/**
|
|
6335
|
+
*
|
|
6336
|
+
* @summary Returns all resource types.
|
|
6337
|
+
* @param {*} [options] Override http request option.
|
|
6338
|
+
* @throws {RequiredError}
|
|
6339
|
+
*/
|
|
6340
|
+
resourceTypeGetResourceTypes(options) {
|
|
6341
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6342
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceTypeGetResourceTypes(options);
|
|
6343
|
+
return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
|
|
6344
|
+
});
|
|
6345
|
+
},
|
|
6346
|
+
};
|
|
6347
|
+
};
|
|
6348
|
+
/**
|
|
6349
|
+
* ResourceTypeApi - factory interface
|
|
6350
|
+
* @export
|
|
6351
|
+
*/
|
|
6352
|
+
const ResourceTypeApiFactory = function (configuration, basePath, axios) {
|
|
6353
|
+
const localVarFp = ResourceTypeApiFp(configuration);
|
|
6354
|
+
return {
|
|
6355
|
+
/**
|
|
6356
|
+
*
|
|
6357
|
+
* @summary Returns all enabled resource types.
|
|
6358
|
+
* @param {*} [options] Override http request option.
|
|
6359
|
+
* @throws {RequiredError}
|
|
6360
|
+
*/
|
|
6361
|
+
resourceTypeGetEnabledResourceTypes(options) {
|
|
6362
|
+
return localVarFp.resourceTypeGetEnabledResourceTypes(options).then((request) => request(axios, basePath));
|
|
6363
|
+
},
|
|
6364
|
+
/**
|
|
6365
|
+
*
|
|
6366
|
+
* @summary Returns all fields of the specified resource type.
|
|
6367
|
+
* @param {string} id A guid as a string that identifies the resource.
|
|
6368
|
+
* @param {*} [options] Override http request option.
|
|
6369
|
+
* @throws {RequiredError}
|
|
6370
|
+
*/
|
|
6371
|
+
resourceTypeGetResourceType(id, options) {
|
|
6372
|
+
return localVarFp.resourceTypeGetResourceType(id, options).then((request) => request(axios, basePath));
|
|
6373
|
+
},
|
|
6374
|
+
/**
|
|
6375
|
+
*
|
|
6376
|
+
* @summary Returns all resource types.
|
|
6377
|
+
* @param {*} [options] Override http request option.
|
|
6378
|
+
* @throws {RequiredError}
|
|
6379
|
+
*/
|
|
6380
|
+
resourceTypeGetResourceTypes(options) {
|
|
6381
|
+
return localVarFp.resourceTypeGetResourceTypes(options).then((request) => request(axios, basePath));
|
|
6382
|
+
},
|
|
6383
|
+
};
|
|
6384
|
+
};
|
|
6385
|
+
|
|
6386
|
+
/* tslint:disable */
|
|
6387
|
+
const BASE_PATH$4 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Search".replace(/\/+$/, "");
|
|
6388
|
+
|
|
6389
|
+
/* tslint:disable */
|
|
6390
|
+
/**
|
|
6391
|
+
*
|
|
6392
|
+
* @export
|
|
6393
|
+
*/
|
|
6394
|
+
const DUMMY_BASE_URL$4 = 'https://example.com';
|
|
6395
|
+
/**
|
|
6396
|
+
*
|
|
6397
|
+
* @export
|
|
6398
|
+
*/
|
|
6399
|
+
const setApiKeyToObject$4 = function (object, keyParamName, configuration) {
|
|
6400
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6401
|
+
if (configuration && configuration.apiKey) {
|
|
6402
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
6403
|
+
? yield configuration.apiKey(keyParamName)
|
|
6404
|
+
: yield configuration.apiKey;
|
|
6405
|
+
object[keyParamName] = localVarApiKeyValue;
|
|
6406
|
+
}
|
|
6407
|
+
});
|
|
6408
|
+
};
|
|
6409
|
+
/**
|
|
6410
|
+
*
|
|
6411
|
+
* @export
|
|
6412
|
+
*/
|
|
6413
|
+
const setSearchParams$4 = function (url, ...objects) {
|
|
6414
|
+
const searchParams = new URLSearchParams(url.search);
|
|
6415
|
+
for (const object of objects) {
|
|
6416
|
+
for (const key in object) {
|
|
6417
|
+
if (Array.isArray(object[key])) {
|
|
6418
|
+
searchParams.delete(key);
|
|
6419
|
+
for (const item of object[key]) {
|
|
6420
|
+
searchParams.append(key, item);
|
|
6421
|
+
}
|
|
6422
|
+
}
|
|
6423
|
+
else {
|
|
6424
|
+
searchParams.set(key, object[key]);
|
|
6425
|
+
}
|
|
6426
|
+
}
|
|
6427
|
+
}
|
|
6428
|
+
url.search = searchParams.toString();
|
|
6429
|
+
};
|
|
6430
|
+
/**
|
|
6431
|
+
*
|
|
6432
|
+
* @export
|
|
6433
|
+
*/
|
|
6434
|
+
const toPathString$4 = function (url) {
|
|
6435
|
+
return url.pathname + url.search + url.hash;
|
|
6436
|
+
};
|
|
6437
|
+
/**
|
|
6438
|
+
*
|
|
6439
|
+
* @export
|
|
6440
|
+
*/
|
|
6441
|
+
const createRequestFunction$4 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
6442
|
+
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
6443
|
+
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
|
|
6444
|
+
return axios.request(axiosRequestArgs);
|
|
6445
|
+
};
|
|
6446
|
+
};
|
|
6447
|
+
|
|
6448
|
+
/* tslint:disable */
|
|
6449
|
+
/**
|
|
6450
|
+
*
|
|
6451
|
+
* @export
|
|
6452
|
+
* @enum {string}
|
|
6453
|
+
*/
|
|
6454
|
+
var ItemType;
|
|
6455
|
+
(function (ItemType) {
|
|
6456
|
+
ItemType["Metadata"] = "Metadata";
|
|
6457
|
+
ItemType["Project"] = "Project";
|
|
6458
|
+
ItemType["Resource"] = "Resource";
|
|
6459
|
+
})(ItemType || (ItemType = {}));
|
|
6460
|
+
/**
|
|
6461
|
+
* SearchApi - axios parameter creator
|
|
6462
|
+
* @export
|
|
6463
|
+
*/
|
|
6464
|
+
const SearchApiAxiosParamCreator = function (configuration) {
|
|
6465
|
+
return {
|
|
6466
|
+
/**
|
|
6467
|
+
*
|
|
6468
|
+
* @summary Search Elasticsearch
|
|
6469
|
+
* @param {string} [query] Elasticsearch query
|
|
6470
|
+
* @param {boolean} [user] Specify user or only public metadata records could be found
|
|
6471
|
+
* @param {boolean} [adv] Set true for advanced Elasticsearch search syntax
|
|
6472
|
+
* @param {Array<string>} [languages] Set the used languages
|
|
6473
|
+
* @param {*} [options] Override http request option.
|
|
6474
|
+
* @throws {RequiredError}
|
|
6475
|
+
*/
|
|
6476
|
+
searchSearch: (query, user, adv, languages, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6477
|
+
const localVarPath = `/Search`;
|
|
6478
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6479
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$4);
|
|
6480
|
+
let baseOptions;
|
|
6481
|
+
if (configuration) {
|
|
6482
|
+
baseOptions = configuration.baseOptions;
|
|
6483
|
+
}
|
|
6484
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6485
|
+
const localVarHeaderParameter = {};
|
|
6486
|
+
const localVarQueryParameter = {};
|
|
6487
|
+
// authentication JWT token required
|
|
6488
|
+
yield setApiKeyToObject$4(localVarHeaderParameter, "Authorization", configuration);
|
|
6489
|
+
if (query !== undefined) {
|
|
6490
|
+
localVarQueryParameter['query'] = query;
|
|
6491
|
+
}
|
|
6492
|
+
if (user !== undefined) {
|
|
6493
|
+
localVarQueryParameter['user'] = user;
|
|
6494
|
+
}
|
|
6495
|
+
if (adv !== undefined) {
|
|
6496
|
+
localVarQueryParameter['adv'] = adv;
|
|
6497
|
+
}
|
|
6498
|
+
if (languages) {
|
|
6499
|
+
localVarQueryParameter['languages'] = languages;
|
|
6500
|
+
}
|
|
6501
|
+
setSearchParams$4(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6502
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6503
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6504
|
+
return {
|
|
6505
|
+
url: toPathString$4(localVarUrlObj),
|
|
6506
|
+
options: localVarRequestOptions,
|
|
6507
|
+
};
|
|
6508
|
+
}),
|
|
6509
|
+
};
|
|
6510
|
+
};
|
|
6511
|
+
/**
|
|
6512
|
+
* SearchApi - functional programming interface
|
|
6513
|
+
* @export
|
|
6514
|
+
*/
|
|
6515
|
+
const SearchApiFp = function (configuration) {
|
|
6516
|
+
const localVarAxiosParamCreator = SearchApiAxiosParamCreator(configuration);
|
|
6517
|
+
return {
|
|
6518
|
+
/**
|
|
6519
|
+
*
|
|
6520
|
+
* @summary Search Elasticsearch
|
|
6521
|
+
* @param {string} [query] Elasticsearch query
|
|
6522
|
+
* @param {boolean} [user] Specify user or only public metadata records could be found
|
|
6523
|
+
* @param {boolean} [adv] Set true for advanced Elasticsearch search syntax
|
|
6524
|
+
* @param {Array<string>} [languages] Set the used languages
|
|
6525
|
+
* @param {*} [options] Override http request option.
|
|
6526
|
+
* @throws {RequiredError}
|
|
6527
|
+
*/
|
|
6528
|
+
searchSearch(query, user, adv, languages, options) {
|
|
6529
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6530
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.searchSearch(query, user, adv, languages, options);
|
|
6531
|
+
return createRequestFunction$4(localVarAxiosArgs, axios, BASE_PATH$4, configuration);
|
|
6532
|
+
});
|
|
6533
|
+
},
|
|
6534
|
+
};
|
|
6535
|
+
};
|
|
6536
|
+
/**
|
|
6537
|
+
* SearchApi - factory interface
|
|
6538
|
+
* @export
|
|
6539
|
+
*/
|
|
6540
|
+
const SearchApiFactory = function (configuration, basePath, axios) {
|
|
6541
|
+
const localVarFp = SearchApiFp(configuration);
|
|
6542
|
+
return {
|
|
6543
|
+
/**
|
|
6544
|
+
*
|
|
6545
|
+
* @summary Search Elasticsearch
|
|
6546
|
+
* @param {string} [query] Elasticsearch query
|
|
6547
|
+
* @param {boolean} [user] Specify user or only public metadata records could be found
|
|
6548
|
+
* @param {boolean} [adv] Set true for advanced Elasticsearch search syntax
|
|
6549
|
+
* @param {Array<string>} [languages] Set the used languages
|
|
6550
|
+
* @param {*} [options] Override http request option.
|
|
6551
|
+
* @throws {RequiredError}
|
|
6552
|
+
*/
|
|
6553
|
+
searchSearch(query, user, adv, languages, options) {
|
|
6554
|
+
return localVarFp.searchSearch(query, user, adv, languages, options).then((request) => request(axios, basePath));
|
|
6555
|
+
},
|
|
6556
|
+
};
|
|
6557
|
+
};
|
|
6558
|
+
|
|
6559
|
+
/* tslint:disable */
|
|
6560
|
+
const BASE_PATH$3 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.STS".replace(/\/+$/, "");
|
|
6561
|
+
|
|
6562
|
+
/* tslint:disable */
|
|
6563
|
+
/**
|
|
6564
|
+
*
|
|
6565
|
+
* @export
|
|
6566
|
+
*/
|
|
6567
|
+
const DUMMY_BASE_URL$3 = 'https://example.com';
|
|
6568
|
+
/**
|
|
6569
|
+
*
|
|
6570
|
+
* @export
|
|
6571
|
+
*/
|
|
6572
|
+
const setApiKeyToObject$3 = function (object, keyParamName, configuration) {
|
|
6573
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6574
|
+
if (configuration && configuration.apiKey) {
|
|
6575
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
6576
|
+
? yield configuration.apiKey(keyParamName)
|
|
6577
|
+
: yield configuration.apiKey;
|
|
6578
|
+
object[keyParamName] = localVarApiKeyValue;
|
|
6579
|
+
}
|
|
6580
|
+
});
|
|
6581
|
+
};
|
|
6582
|
+
/**
|
|
6583
|
+
*
|
|
6584
|
+
* @export
|
|
6585
|
+
*/
|
|
6586
|
+
const setSearchParams$3 = function (url, ...objects) {
|
|
6587
|
+
const searchParams = new URLSearchParams(url.search);
|
|
6588
|
+
for (const object of objects) {
|
|
6589
|
+
for (const key in object) {
|
|
6590
|
+
if (Array.isArray(object[key])) {
|
|
6591
|
+
searchParams.delete(key);
|
|
6592
|
+
for (const item of object[key]) {
|
|
6593
|
+
searchParams.append(key, item);
|
|
6594
|
+
}
|
|
6595
|
+
}
|
|
6596
|
+
else {
|
|
6597
|
+
searchParams.set(key, object[key]);
|
|
6598
|
+
}
|
|
6599
|
+
}
|
|
6600
|
+
}
|
|
6601
|
+
url.search = searchParams.toString();
|
|
6602
|
+
};
|
|
6603
|
+
/**
|
|
6604
|
+
*
|
|
6605
|
+
* @export
|
|
6606
|
+
*/
|
|
6607
|
+
const toPathString$3 = function (url) {
|
|
6608
|
+
return url.pathname + url.search + url.hash;
|
|
6609
|
+
};
|
|
6610
|
+
/**
|
|
6611
|
+
*
|
|
6612
|
+
* @export
|
|
6613
|
+
*/
|
|
6614
|
+
const createRequestFunction$3 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
6615
|
+
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
6616
|
+
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
|
|
6617
|
+
return axios.request(axiosRequestArgs);
|
|
6618
|
+
};
|
|
6619
|
+
};
|
|
6620
|
+
|
|
6621
|
+
/* tslint:disable */
|
|
6622
|
+
/**
|
|
6623
|
+
* AccountApi - axios parameter creator
|
|
6624
|
+
* @export
|
|
6625
|
+
*/
|
|
6626
|
+
const AccountApiAxiosParamCreator = function (configuration) {
|
|
6627
|
+
return {
|
|
6628
|
+
/**
|
|
6629
|
+
*
|
|
6630
|
+
* @summary Return relevant URLs for logging the user in
|
|
6631
|
+
* @param {*} [options] Override http request option.
|
|
6632
|
+
* @throws {RequiredError}
|
|
6633
|
+
*/
|
|
6634
|
+
accountGetLoginUrls: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6635
|
+
const localVarPath = `/Account/urls/login`;
|
|
6636
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6637
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$3);
|
|
6638
|
+
let baseOptions;
|
|
6639
|
+
if (configuration) {
|
|
6640
|
+
baseOptions = configuration.baseOptions;
|
|
6641
|
+
}
|
|
6642
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6643
|
+
const localVarHeaderParameter = {};
|
|
6644
|
+
const localVarQueryParameter = {};
|
|
6645
|
+
// authentication JWT token required
|
|
6646
|
+
yield setApiKeyToObject$3(localVarHeaderParameter, "Authorization", configuration);
|
|
6647
|
+
setSearchParams$3(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6648
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6649
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6650
|
+
return {
|
|
6651
|
+
url: toPathString$3(localVarUrlObj),
|
|
6652
|
+
options: localVarRequestOptions,
|
|
6653
|
+
};
|
|
6654
|
+
}),
|
|
6655
|
+
/**
|
|
6656
|
+
*
|
|
6657
|
+
* @summary Route for logging the user out of Coscine
|
|
6658
|
+
* @param {*} [options] Override http request option.
|
|
6659
|
+
* @throws {RequiredError}
|
|
6660
|
+
*/
|
|
6661
|
+
accountLogout: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6662
|
+
const localVarPath = `/Account/logout`;
|
|
6663
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6664
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$3);
|
|
6665
|
+
let baseOptions;
|
|
6666
|
+
if (configuration) {
|
|
6667
|
+
baseOptions = configuration.baseOptions;
|
|
6668
|
+
}
|
|
6669
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6670
|
+
const localVarHeaderParameter = {};
|
|
6671
|
+
const localVarQueryParameter = {};
|
|
6672
|
+
// authentication JWT token required
|
|
6673
|
+
yield setApiKeyToObject$3(localVarHeaderParameter, "Authorization", configuration);
|
|
6674
|
+
setSearchParams$3(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6675
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6676
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6677
|
+
return {
|
|
6678
|
+
url: toPathString$3(localVarUrlObj),
|
|
6679
|
+
options: localVarRequestOptions,
|
|
6680
|
+
};
|
|
6681
|
+
}),
|
|
6682
|
+
};
|
|
6683
|
+
};
|
|
6684
|
+
/**
|
|
6685
|
+
* AccountApi - functional programming interface
|
|
6686
|
+
* @export
|
|
6687
|
+
*/
|
|
6688
|
+
const AccountApiFp = function (configuration) {
|
|
6689
|
+
const localVarAxiosParamCreator = AccountApiAxiosParamCreator(configuration);
|
|
6690
|
+
return {
|
|
6691
|
+
/**
|
|
6692
|
+
*
|
|
6693
|
+
* @summary Return relevant URLs for logging the user in
|
|
6694
|
+
* @param {*} [options] Override http request option.
|
|
6695
|
+
* @throws {RequiredError}
|
|
6696
|
+
*/
|
|
6697
|
+
accountGetLoginUrls(options) {
|
|
6698
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6699
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.accountGetLoginUrls(options);
|
|
6700
|
+
return createRequestFunction$3(localVarAxiosArgs, axios, BASE_PATH$3, configuration);
|
|
6701
|
+
});
|
|
6702
|
+
},
|
|
6703
|
+
/**
|
|
6704
|
+
*
|
|
6705
|
+
* @summary Route for logging the user out of Coscine
|
|
6706
|
+
* @param {*} [options] Override http request option.
|
|
6707
|
+
* @throws {RequiredError}
|
|
6708
|
+
*/
|
|
6709
|
+
accountLogout(options) {
|
|
6710
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6711
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.accountLogout(options);
|
|
6712
|
+
return createRequestFunction$3(localVarAxiosArgs, axios, BASE_PATH$3, configuration);
|
|
6713
|
+
});
|
|
6714
|
+
},
|
|
6715
|
+
};
|
|
6716
|
+
};
|
|
6717
|
+
/**
|
|
6718
|
+
* AccountApi - factory interface
|
|
6719
|
+
* @export
|
|
6720
|
+
*/
|
|
6721
|
+
const AccountApiFactory = function (configuration, basePath, axios) {
|
|
6722
|
+
const localVarFp = AccountApiFp(configuration);
|
|
6723
|
+
return {
|
|
6724
|
+
/**
|
|
6725
|
+
*
|
|
6726
|
+
* @summary Return relevant URLs for logging the user in
|
|
6727
|
+
* @param {*} [options] Override http request option.
|
|
6728
|
+
* @throws {RequiredError}
|
|
6729
|
+
*/
|
|
6730
|
+
accountGetLoginUrls(options) {
|
|
6731
|
+
return localVarFp.accountGetLoginUrls(options).then((request) => request(axios, basePath));
|
|
6732
|
+
},
|
|
6733
|
+
/**
|
|
6734
|
+
*
|
|
6735
|
+
* @summary Route for logging the user out of Coscine
|
|
6736
|
+
* @param {*} [options] Override http request option.
|
|
6737
|
+
* @throws {RequiredError}
|
|
6738
|
+
*/
|
|
6739
|
+
accountLogout(options) {
|
|
6740
|
+
return localVarFp.accountLogout(options).then((request) => request(axios, basePath));
|
|
6741
|
+
},
|
|
6742
|
+
};
|
|
6743
|
+
};
|
|
6744
|
+
/**
|
|
6745
|
+
* HomeApi - axios parameter creator
|
|
6746
|
+
* @export
|
|
6747
|
+
*/
|
|
6748
|
+
const HomeApiAxiosParamCreator = function (configuration) {
|
|
6749
|
+
return {
|
|
6750
|
+
/**
|
|
6751
|
+
*
|
|
6752
|
+
* @summary The controller that the user is automatically entering when accesing the route .../coscine/api/Coscine.STS/
|
|
6753
|
+
* @param {*} [options] Override http request option.
|
|
6754
|
+
* @throws {RequiredError}
|
|
6755
|
+
*/
|
|
6756
|
+
homeIndex: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6757
|
+
const localVarPath = `/`;
|
|
6758
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6759
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$3);
|
|
6760
|
+
let baseOptions;
|
|
6761
|
+
if (configuration) {
|
|
6762
|
+
baseOptions = configuration.baseOptions;
|
|
6763
|
+
}
|
|
6764
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6765
|
+
const localVarHeaderParameter = {};
|
|
6766
|
+
const localVarQueryParameter = {};
|
|
6767
|
+
// authentication JWT token required
|
|
6768
|
+
yield setApiKeyToObject$3(localVarHeaderParameter, "Authorization", configuration);
|
|
6769
|
+
setSearchParams$3(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6770
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6771
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6772
|
+
return {
|
|
6773
|
+
url: toPathString$3(localVarUrlObj),
|
|
6774
|
+
options: localVarRequestOptions,
|
|
6775
|
+
};
|
|
6776
|
+
}),
|
|
6777
|
+
};
|
|
6778
|
+
};
|
|
6779
|
+
/**
|
|
6780
|
+
* HomeApi - functional programming interface
|
|
6781
|
+
* @export
|
|
6782
|
+
*/
|
|
6783
|
+
const HomeApiFp = function (configuration) {
|
|
6784
|
+
const localVarAxiosParamCreator = HomeApiAxiosParamCreator(configuration);
|
|
6785
|
+
return {
|
|
6786
|
+
/**
|
|
6787
|
+
*
|
|
6788
|
+
* @summary The controller that the user is automatically entering when accesing the route .../coscine/api/Coscine.STS/
|
|
6789
|
+
* @param {*} [options] Override http request option.
|
|
6790
|
+
* @throws {RequiredError}
|
|
6791
|
+
*/
|
|
6792
|
+
homeIndex(options) {
|
|
6793
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6794
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.homeIndex(options);
|
|
6795
|
+
return createRequestFunction$3(localVarAxiosArgs, axios, BASE_PATH$3, configuration);
|
|
6796
|
+
});
|
|
6797
|
+
},
|
|
6798
|
+
};
|
|
6799
|
+
};
|
|
6800
|
+
/**
|
|
6801
|
+
* HomeApi - factory interface
|
|
6802
|
+
* @export
|
|
6803
|
+
*/
|
|
6804
|
+
const HomeApiFactory = function (configuration, basePath, axios) {
|
|
6805
|
+
const localVarFp = HomeApiFp(configuration);
|
|
6806
|
+
return {
|
|
6807
|
+
/**
|
|
6808
|
+
*
|
|
6809
|
+
* @summary The controller that the user is automatically entering when accesing the route .../coscine/api/Coscine.STS/
|
|
6810
|
+
* @param {*} [options] Override http request option.
|
|
6811
|
+
* @throws {RequiredError}
|
|
6812
|
+
*/
|
|
6813
|
+
homeIndex(options) {
|
|
6814
|
+
return localVarFp.homeIndex(options).then((request) => request(axios, basePath));
|
|
6815
|
+
},
|
|
6816
|
+
};
|
|
6817
|
+
};
|
|
6818
|
+
/**
|
|
6819
|
+
* MergeApi - axios parameter creator
|
|
6820
|
+
* @export
|
|
6821
|
+
*/
|
|
6822
|
+
const MergeApiAxiosParamCreator = function (configuration) {
|
|
6823
|
+
return {
|
|
6824
|
+
/**
|
|
6825
|
+
*
|
|
6826
|
+
* @param {string} [returnUrl]
|
|
6827
|
+
* @param {*} [options] Override http request option.
|
|
6828
|
+
* @throws {RequiredError}
|
|
6829
|
+
*/
|
|
6830
|
+
mergeCallback: (returnUrl, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6831
|
+
const localVarPath = `/Merge/callback`;
|
|
6832
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6833
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$3);
|
|
6834
|
+
let baseOptions;
|
|
6835
|
+
if (configuration) {
|
|
6836
|
+
baseOptions = configuration.baseOptions;
|
|
6837
|
+
}
|
|
6838
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6839
|
+
const localVarHeaderParameter = {};
|
|
6840
|
+
const localVarQueryParameter = {};
|
|
6841
|
+
// authentication JWT token required
|
|
6842
|
+
yield setApiKeyToObject$3(localVarHeaderParameter, "Authorization", configuration);
|
|
6843
|
+
if (returnUrl !== undefined) {
|
|
6844
|
+
localVarQueryParameter['returnUrl'] = returnUrl;
|
|
6845
|
+
}
|
|
6846
|
+
setSearchParams$3(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6847
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6848
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6849
|
+
return {
|
|
6850
|
+
url: toPathString$3(localVarUrlObj),
|
|
6851
|
+
options: localVarRequestOptions,
|
|
6852
|
+
};
|
|
6853
|
+
}),
|
|
6854
|
+
/**
|
|
6855
|
+
*
|
|
6856
|
+
* @param {string} [returnUrl]
|
|
6857
|
+
* @param {*} [options] Override http request option.
|
|
6858
|
+
* @throws {RequiredError}
|
|
6859
|
+
*/
|
|
6860
|
+
mergeLogin: (returnUrl, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6861
|
+
const localVarPath = `/Merge/login`;
|
|
6862
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6863
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$3);
|
|
6864
|
+
let baseOptions;
|
|
6865
|
+
if (configuration) {
|
|
6866
|
+
baseOptions = configuration.baseOptions;
|
|
6867
|
+
}
|
|
6868
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6869
|
+
const localVarHeaderParameter = {};
|
|
6870
|
+
const localVarQueryParameter = {};
|
|
6871
|
+
// authentication JWT token required
|
|
6872
|
+
yield setApiKeyToObject$3(localVarHeaderParameter, "Authorization", configuration);
|
|
6873
|
+
if (returnUrl !== undefined) {
|
|
6874
|
+
localVarQueryParameter['returnUrl'] = returnUrl;
|
|
6875
|
+
}
|
|
6876
|
+
setSearchParams$3(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6877
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6878
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6879
|
+
return {
|
|
6880
|
+
url: toPathString$3(localVarUrlObj),
|
|
6881
|
+
options: localVarRequestOptions,
|
|
6882
|
+
};
|
|
6883
|
+
}),
|
|
6884
|
+
};
|
|
6885
|
+
};
|
|
6886
|
+
/**
|
|
6887
|
+
* MergeApi - functional programming interface
|
|
6888
|
+
* @export
|
|
6889
|
+
*/
|
|
6890
|
+
const MergeApiFp = function (configuration) {
|
|
6891
|
+
const localVarAxiosParamCreator = MergeApiAxiosParamCreator(configuration);
|
|
6892
|
+
return {
|
|
6893
|
+
/**
|
|
6894
|
+
*
|
|
6895
|
+
* @param {string} [returnUrl]
|
|
6896
|
+
* @param {*} [options] Override http request option.
|
|
6897
|
+
* @throws {RequiredError}
|
|
6898
|
+
*/
|
|
6899
|
+
mergeCallback(returnUrl, options) {
|
|
6900
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6901
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.mergeCallback(returnUrl, options);
|
|
6902
|
+
return createRequestFunction$3(localVarAxiosArgs, axios, BASE_PATH$3, configuration);
|
|
6903
|
+
});
|
|
6904
|
+
},
|
|
6905
|
+
/**
|
|
6906
|
+
*
|
|
6907
|
+
* @param {string} [returnUrl]
|
|
6908
|
+
* @param {*} [options] Override http request option.
|
|
6909
|
+
* @throws {RequiredError}
|
|
6910
|
+
*/
|
|
6911
|
+
mergeLogin(returnUrl, options) {
|
|
6912
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6913
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.mergeLogin(returnUrl, options);
|
|
6914
|
+
return createRequestFunction$3(localVarAxiosArgs, axios, BASE_PATH$3, configuration);
|
|
6915
|
+
});
|
|
6916
|
+
},
|
|
6917
|
+
};
|
|
6918
|
+
};
|
|
6919
|
+
/**
|
|
6920
|
+
* MergeApi - factory interface
|
|
6921
|
+
* @export
|
|
6922
|
+
*/
|
|
6923
|
+
const MergeApiFactory = function (configuration, basePath, axios) {
|
|
6924
|
+
const localVarFp = MergeApiFp(configuration);
|
|
6925
|
+
return {
|
|
6926
|
+
/**
|
|
6927
|
+
*
|
|
6928
|
+
* @param {string} [returnUrl]
|
|
6929
|
+
* @param {*} [options] Override http request option.
|
|
6930
|
+
* @throws {RequiredError}
|
|
6931
|
+
*/
|
|
6932
|
+
mergeCallback(returnUrl, options) {
|
|
6933
|
+
return localVarFp.mergeCallback(returnUrl, options).then((request) => request(axios, basePath));
|
|
6934
|
+
},
|
|
6935
|
+
/**
|
|
6936
|
+
*
|
|
6937
|
+
* @param {string} [returnUrl]
|
|
6938
|
+
* @param {*} [options] Override http request option.
|
|
6939
|
+
* @throws {RequiredError}
|
|
6940
|
+
*/
|
|
6941
|
+
mergeLogin(returnUrl, options) {
|
|
6942
|
+
return localVarFp.mergeLogin(returnUrl, options).then((request) => request(axios, basePath));
|
|
6943
|
+
},
|
|
6944
|
+
};
|
|
6945
|
+
};
|
|
6946
|
+
/**
|
|
6947
|
+
* ORCiDApi - axios parameter creator
|
|
6948
|
+
* @export
|
|
6949
|
+
*/
|
|
6950
|
+
const ORCiDApiAxiosParamCreator = function (configuration) {
|
|
6951
|
+
return {
|
|
6004
6952
|
/**
|
|
6005
6953
|
*
|
|
6006
|
-
* @summary
|
|
6007
|
-
* @param {string}
|
|
6954
|
+
* @summary ORCiD Login Route
|
|
6955
|
+
* @param {string} [returnUrl] URL to be redirected to
|
|
6008
6956
|
* @param {*} [options] Override http request option.
|
|
6009
6957
|
* @throws {RequiredError}
|
|
6010
6958
|
*/
|
|
6011
|
-
|
|
6012
|
-
|
|
6013
|
-
assertParamExists$3('resourceTypeGetResourceType', 'id', id);
|
|
6014
|
-
const localVarPath = `/ResourceType/types/{id}`
|
|
6015
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
6959
|
+
oRCiDLoginGET: (returnUrl, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6960
|
+
const localVarPath = `/ORCiD/login`;
|
|
6016
6961
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6017
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
6962
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$3);
|
|
6018
6963
|
let baseOptions;
|
|
6019
6964
|
if (configuration) {
|
|
6020
6965
|
baseOptions = configuration.baseOptions;
|
|
@@ -6023,209 +6968,137 @@
|
|
|
6023
6968
|
const localVarHeaderParameter = {};
|
|
6024
6969
|
const localVarQueryParameter = {};
|
|
6025
6970
|
// authentication JWT token required
|
|
6026
|
-
yield setApiKeyToObject$
|
|
6027
|
-
|
|
6971
|
+
yield setApiKeyToObject$3(localVarHeaderParameter, "Authorization", configuration);
|
|
6972
|
+
if (returnUrl !== undefined) {
|
|
6973
|
+
localVarQueryParameter['returnUrl'] = returnUrl;
|
|
6974
|
+
}
|
|
6975
|
+
setSearchParams$3(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6028
6976
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6029
6977
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6030
6978
|
return {
|
|
6031
|
-
url: toPathString$
|
|
6979
|
+
url: toPathString$3(localVarUrlObj),
|
|
6032
6980
|
options: localVarRequestOptions,
|
|
6033
6981
|
};
|
|
6034
6982
|
}),
|
|
6035
6983
|
/**
|
|
6036
6984
|
*
|
|
6037
|
-
* @summary
|
|
6985
|
+
* @summary Execute ORCiD validation and login
|
|
6986
|
+
* @param {string} [oRCiDJWT]
|
|
6987
|
+
* @param {string} [returnUrl] URL to be redirected to
|
|
6038
6988
|
* @param {*} [options] Override http request option.
|
|
6039
6989
|
* @throws {RequiredError}
|
|
6040
6990
|
*/
|
|
6041
|
-
|
|
6042
|
-
const localVarPath = `/
|
|
6991
|
+
oRCiDLoginPOST: (oRCiDJWT, returnUrl, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6992
|
+
const localVarPath = `/ORCiD/login`;
|
|
6043
6993
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6044
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$
|
|
6994
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$3);
|
|
6045
6995
|
let baseOptions;
|
|
6046
6996
|
if (configuration) {
|
|
6047
6997
|
baseOptions = configuration.baseOptions;
|
|
6048
6998
|
}
|
|
6049
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
6999
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
6050
7000
|
const localVarHeaderParameter = {};
|
|
6051
7001
|
const localVarQueryParameter = {};
|
|
6052
7002
|
// authentication JWT token required
|
|
6053
|
-
yield setApiKeyToObject$
|
|
6054
|
-
|
|
7003
|
+
yield setApiKeyToObject$3(localVarHeaderParameter, "Authorization", configuration);
|
|
7004
|
+
if (oRCiDJWT !== undefined) {
|
|
7005
|
+
localVarQueryParameter['ORCiD_JWT'] = oRCiDJWT;
|
|
7006
|
+
}
|
|
7007
|
+
if (returnUrl !== undefined) {
|
|
7008
|
+
localVarQueryParameter['returnUrl'] = returnUrl;
|
|
7009
|
+
}
|
|
7010
|
+
setSearchParams$3(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6055
7011
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6056
7012
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6057
7013
|
return {
|
|
6058
|
-
url: toPathString$
|
|
7014
|
+
url: toPathString$3(localVarUrlObj),
|
|
6059
7015
|
options: localVarRequestOptions,
|
|
6060
7016
|
};
|
|
6061
7017
|
}),
|
|
6062
7018
|
};
|
|
6063
7019
|
};
|
|
6064
7020
|
/**
|
|
6065
|
-
*
|
|
7021
|
+
* ORCiDApi - functional programming interface
|
|
6066
7022
|
* @export
|
|
6067
7023
|
*/
|
|
6068
|
-
const
|
|
6069
|
-
const localVarAxiosParamCreator =
|
|
7024
|
+
const ORCiDApiFp = function (configuration) {
|
|
7025
|
+
const localVarAxiosParamCreator = ORCiDApiAxiosParamCreator(configuration);
|
|
6070
7026
|
return {
|
|
6071
7027
|
/**
|
|
6072
7028
|
*
|
|
6073
|
-
* @summary
|
|
6074
|
-
* @param {
|
|
6075
|
-
* @throws {RequiredError}
|
|
6076
|
-
*/
|
|
6077
|
-
resourceTypeGetEnabledResourceTypes(options) {
|
|
6078
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
6079
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceTypeGetEnabledResourceTypes(options);
|
|
6080
|
-
return createRequestFunction$4(localVarAxiosArgs, axios, BASE_PATH$4, configuration);
|
|
6081
|
-
});
|
|
6082
|
-
},
|
|
6083
|
-
/**
|
|
6084
|
-
*
|
|
6085
|
-
* @summary Returns all fields of the specified resource type.
|
|
6086
|
-
* @param {string} id A guid as a string that identifies the resource.
|
|
7029
|
+
* @summary ORCiD Login Route
|
|
7030
|
+
* @param {string} [returnUrl] URL to be redirected to
|
|
6087
7031
|
* @param {*} [options] Override http request option.
|
|
6088
7032
|
* @throws {RequiredError}
|
|
6089
7033
|
*/
|
|
6090
|
-
|
|
7034
|
+
oRCiDLoginGET(returnUrl, options) {
|
|
6091
7035
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6092
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
6093
|
-
return createRequestFunction$
|
|
7036
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.oRCiDLoginGET(returnUrl, options);
|
|
7037
|
+
return createRequestFunction$3(localVarAxiosArgs, axios, BASE_PATH$3, configuration);
|
|
6094
7038
|
});
|
|
6095
7039
|
},
|
|
6096
7040
|
/**
|
|
6097
7041
|
*
|
|
6098
|
-
* @summary
|
|
7042
|
+
* @summary Execute ORCiD validation and login
|
|
7043
|
+
* @param {string} [oRCiDJWT]
|
|
7044
|
+
* @param {string} [returnUrl] URL to be redirected to
|
|
6099
7045
|
* @param {*} [options] Override http request option.
|
|
6100
7046
|
* @throws {RequiredError}
|
|
6101
7047
|
*/
|
|
6102
|
-
|
|
7048
|
+
oRCiDLoginPOST(oRCiDJWT, returnUrl, options) {
|
|
6103
7049
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6104
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
6105
|
-
return createRequestFunction$
|
|
7050
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.oRCiDLoginPOST(oRCiDJWT, returnUrl, options);
|
|
7051
|
+
return createRequestFunction$3(localVarAxiosArgs, axios, BASE_PATH$3, configuration);
|
|
6106
7052
|
});
|
|
6107
7053
|
},
|
|
6108
7054
|
};
|
|
6109
7055
|
};
|
|
6110
7056
|
/**
|
|
6111
|
-
*
|
|
7057
|
+
* ORCiDApi - factory interface
|
|
6112
7058
|
* @export
|
|
6113
7059
|
*/
|
|
6114
|
-
const
|
|
6115
|
-
const localVarFp =
|
|
7060
|
+
const ORCiDApiFactory = function (configuration, basePath, axios) {
|
|
7061
|
+
const localVarFp = ORCiDApiFp(configuration);
|
|
6116
7062
|
return {
|
|
6117
7063
|
/**
|
|
6118
7064
|
*
|
|
6119
|
-
* @summary
|
|
6120
|
-
* @param {
|
|
6121
|
-
* @throws {RequiredError}
|
|
6122
|
-
*/
|
|
6123
|
-
resourceTypeGetEnabledResourceTypes(options) {
|
|
6124
|
-
return localVarFp.resourceTypeGetEnabledResourceTypes(options).then((request) => request(axios, basePath));
|
|
6125
|
-
},
|
|
6126
|
-
/**
|
|
6127
|
-
*
|
|
6128
|
-
* @summary Returns all fields of the specified resource type.
|
|
6129
|
-
* @param {string} id A guid as a string that identifies the resource.
|
|
7065
|
+
* @summary ORCiD Login Route
|
|
7066
|
+
* @param {string} [returnUrl] URL to be redirected to
|
|
6130
7067
|
* @param {*} [options] Override http request option.
|
|
6131
7068
|
* @throws {RequiredError}
|
|
6132
7069
|
*/
|
|
6133
|
-
|
|
6134
|
-
return localVarFp.
|
|
7070
|
+
oRCiDLoginGET(returnUrl, options) {
|
|
7071
|
+
return localVarFp.oRCiDLoginGET(returnUrl, options).then((request) => request(axios, basePath));
|
|
6135
7072
|
},
|
|
6136
7073
|
/**
|
|
6137
7074
|
*
|
|
6138
|
-
* @summary
|
|
7075
|
+
* @summary Execute ORCiD validation and login
|
|
7076
|
+
* @param {string} [oRCiDJWT]
|
|
7077
|
+
* @param {string} [returnUrl] URL to be redirected to
|
|
6139
7078
|
* @param {*} [options] Override http request option.
|
|
6140
7079
|
* @throws {RequiredError}
|
|
6141
7080
|
*/
|
|
6142
|
-
|
|
6143
|
-
return localVarFp.
|
|
7081
|
+
oRCiDLoginPOST(oRCiDJWT, returnUrl, options) {
|
|
7082
|
+
return localVarFp.oRCiDLoginPOST(oRCiDJWT, returnUrl, options).then((request) => request(axios, basePath));
|
|
6144
7083
|
},
|
|
6145
7084
|
};
|
|
6146
|
-
};
|
|
6147
|
-
|
|
6148
|
-
/* tslint:disable */
|
|
6149
|
-
const BASE_PATH$3 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Search".replace(/\/+$/, "");
|
|
6150
|
-
|
|
6151
|
-
/* tslint:disable */
|
|
6152
|
-
/**
|
|
6153
|
-
*
|
|
6154
|
-
* @export
|
|
6155
|
-
*/
|
|
6156
|
-
const DUMMY_BASE_URL$3 = 'https://example.com';
|
|
6157
|
-
/**
|
|
6158
|
-
*
|
|
6159
|
-
* @export
|
|
6160
|
-
*/
|
|
6161
|
-
const setApiKeyToObject$3 = function (object, keyParamName, configuration) {
|
|
6162
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
6163
|
-
if (configuration && configuration.apiKey) {
|
|
6164
|
-
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
6165
|
-
? yield configuration.apiKey(keyParamName)
|
|
6166
|
-
: yield configuration.apiKey;
|
|
6167
|
-
object[keyParamName] = localVarApiKeyValue;
|
|
6168
|
-
}
|
|
6169
|
-
});
|
|
6170
|
-
};
|
|
6171
|
-
/**
|
|
6172
|
-
*
|
|
6173
|
-
* @export
|
|
6174
|
-
*/
|
|
6175
|
-
const setSearchParams$3 = function (url, ...objects) {
|
|
6176
|
-
const searchParams = new URLSearchParams(url.search);
|
|
6177
|
-
for (const object of objects) {
|
|
6178
|
-
for (const key in object) {
|
|
6179
|
-
if (Array.isArray(object[key])) {
|
|
6180
|
-
searchParams.delete(key);
|
|
6181
|
-
for (const item of object[key]) {
|
|
6182
|
-
searchParams.append(key, item);
|
|
6183
|
-
}
|
|
6184
|
-
}
|
|
6185
|
-
else {
|
|
6186
|
-
searchParams.set(key, object[key]);
|
|
6187
|
-
}
|
|
6188
|
-
}
|
|
6189
|
-
}
|
|
6190
|
-
url.search = searchParams.toString();
|
|
6191
|
-
};
|
|
6192
|
-
/**
|
|
6193
|
-
*
|
|
6194
|
-
* @export
|
|
6195
|
-
*/
|
|
6196
|
-
const toPathString$3 = function (url) {
|
|
6197
|
-
return url.pathname + url.search + url.hash;
|
|
6198
7085
|
};
|
|
6199
7086
|
/**
|
|
6200
|
-
*
|
|
6201
|
-
* @export
|
|
6202
|
-
*/
|
|
6203
|
-
const createRequestFunction$3 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
6204
|
-
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
6205
|
-
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
|
|
6206
|
-
return axios.request(axiosRequestArgs);
|
|
6207
|
-
};
|
|
6208
|
-
};
|
|
6209
|
-
|
|
6210
|
-
/* tslint:disable */
|
|
6211
|
-
/**
|
|
6212
|
-
* SearchApi - axios parameter creator
|
|
7087
|
+
* ShibbolethApi - axios parameter creator
|
|
6213
7088
|
* @export
|
|
6214
7089
|
*/
|
|
6215
|
-
const
|
|
7090
|
+
const ShibbolethApiAxiosParamCreator = function (configuration) {
|
|
6216
7091
|
return {
|
|
6217
7092
|
/**
|
|
6218
7093
|
*
|
|
6219
|
-
* @summary
|
|
6220
|
-
* @param {string} [
|
|
6221
|
-
* @param {
|
|
6222
|
-
* @param {boolean} [adv] Set true for advanced Elasticsearch search syntax
|
|
6223
|
-
* @param {Array<string>} [languages] Set the used languages
|
|
7094
|
+
* @summary Callback method to catch the login
|
|
7095
|
+
* @param {string} [returnUrl] URL to be redirected to
|
|
7096
|
+
* @param {string} [remoteError] Erros on remote login
|
|
6224
7097
|
* @param {*} [options] Override http request option.
|
|
6225
7098
|
* @throws {RequiredError}
|
|
6226
7099
|
*/
|
|
6227
|
-
|
|
6228
|
-
const localVarPath = `/
|
|
7100
|
+
shibbolethCallback: (returnUrl, remoteError, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
7101
|
+
const localVarPath = `/Shibboleth/callback`;
|
|
6229
7102
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6230
7103
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$3);
|
|
6231
7104
|
let baseOptions;
|
|
@@ -6237,17 +7110,46 @@
|
|
|
6237
7110
|
const localVarQueryParameter = {};
|
|
6238
7111
|
// authentication JWT token required
|
|
6239
7112
|
yield setApiKeyToObject$3(localVarHeaderParameter, "Authorization", configuration);
|
|
6240
|
-
if (
|
|
6241
|
-
localVarQueryParameter['
|
|
7113
|
+
if (returnUrl !== undefined) {
|
|
7114
|
+
localVarQueryParameter['returnUrl'] = returnUrl;
|
|
6242
7115
|
}
|
|
6243
|
-
if (
|
|
6244
|
-
localVarQueryParameter['
|
|
7116
|
+
if (remoteError !== undefined) {
|
|
7117
|
+
localVarQueryParameter['remoteError'] = remoteError;
|
|
6245
7118
|
}
|
|
6246
|
-
|
|
6247
|
-
|
|
7119
|
+
setSearchParams$3(localVarUrlObj, localVarQueryParameter, options.query);
|
|
7120
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7121
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7122
|
+
return {
|
|
7123
|
+
url: toPathString$3(localVarUrlObj),
|
|
7124
|
+
options: localVarRequestOptions,
|
|
7125
|
+
};
|
|
7126
|
+
}),
|
|
7127
|
+
/**
|
|
7128
|
+
*
|
|
7129
|
+
* @summary This method is the central route for logging into an identity provider. On default, the user is redirected to the WAFY of the DFN-AAI. Setting the \"entityId\" parameter allows the application to redirect to a specific identity provider defined by DFN-AAI.
|
|
7130
|
+
* @param {string} [returnUrl] URL to be redirected to
|
|
7131
|
+
* @param {string} [entityId] Specific Identitiy Provider to be redirect to
|
|
7132
|
+
* @param {*} [options] Override http request option.
|
|
7133
|
+
* @throws {RequiredError}
|
|
7134
|
+
*/
|
|
7135
|
+
shibbolethLogin: (returnUrl, entityId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
7136
|
+
const localVarPath = `/Shibboleth/login`;
|
|
7137
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7138
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$3);
|
|
7139
|
+
let baseOptions;
|
|
7140
|
+
if (configuration) {
|
|
7141
|
+
baseOptions = configuration.baseOptions;
|
|
6248
7142
|
}
|
|
6249
|
-
|
|
6250
|
-
|
|
7143
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
7144
|
+
const localVarHeaderParameter = {};
|
|
7145
|
+
const localVarQueryParameter = {};
|
|
7146
|
+
// authentication JWT token required
|
|
7147
|
+
yield setApiKeyToObject$3(localVarHeaderParameter, "Authorization", configuration);
|
|
7148
|
+
if (returnUrl !== undefined) {
|
|
7149
|
+
localVarQueryParameter['returnUrl'] = returnUrl;
|
|
7150
|
+
}
|
|
7151
|
+
if (entityId !== undefined) {
|
|
7152
|
+
localVarQueryParameter['entityId'] = entityId;
|
|
6251
7153
|
}
|
|
6252
7154
|
setSearchParams$3(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6253
7155
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -6260,49 +7162,70 @@
|
|
|
6260
7162
|
};
|
|
6261
7163
|
};
|
|
6262
7164
|
/**
|
|
6263
|
-
*
|
|
7165
|
+
* ShibbolethApi - functional programming interface
|
|
6264
7166
|
* @export
|
|
6265
7167
|
*/
|
|
6266
|
-
const
|
|
6267
|
-
const localVarAxiosParamCreator =
|
|
7168
|
+
const ShibbolethApiFp = function (configuration) {
|
|
7169
|
+
const localVarAxiosParamCreator = ShibbolethApiAxiosParamCreator(configuration);
|
|
6268
7170
|
return {
|
|
6269
7171
|
/**
|
|
6270
7172
|
*
|
|
6271
|
-
* @summary
|
|
6272
|
-
* @param {string} [
|
|
6273
|
-
* @param {
|
|
6274
|
-
* @param {boolean} [adv] Set true for advanced Elasticsearch search syntax
|
|
6275
|
-
* @param {Array<string>} [languages] Set the used languages
|
|
7173
|
+
* @summary Callback method to catch the login
|
|
7174
|
+
* @param {string} [returnUrl] URL to be redirected to
|
|
7175
|
+
* @param {string} [remoteError] Erros on remote login
|
|
6276
7176
|
* @param {*} [options] Override http request option.
|
|
6277
7177
|
* @throws {RequiredError}
|
|
6278
7178
|
*/
|
|
6279
|
-
|
|
7179
|
+
shibbolethCallback(returnUrl, remoteError, options) {
|
|
6280
7180
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6281
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
7181
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.shibbolethCallback(returnUrl, remoteError, options);
|
|
7182
|
+
return createRequestFunction$3(localVarAxiosArgs, axios, BASE_PATH$3, configuration);
|
|
7183
|
+
});
|
|
7184
|
+
},
|
|
7185
|
+
/**
|
|
7186
|
+
*
|
|
7187
|
+
* @summary This method is the central route for logging into an identity provider. On default, the user is redirected to the WAFY of the DFN-AAI. Setting the \"entityId\" parameter allows the application to redirect to a specific identity provider defined by DFN-AAI.
|
|
7188
|
+
* @param {string} [returnUrl] URL to be redirected to
|
|
7189
|
+
* @param {string} [entityId] Specific Identitiy Provider to be redirect to
|
|
7190
|
+
* @param {*} [options] Override http request option.
|
|
7191
|
+
* @throws {RequiredError}
|
|
7192
|
+
*/
|
|
7193
|
+
shibbolethLogin(returnUrl, entityId, options) {
|
|
7194
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7195
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.shibbolethLogin(returnUrl, entityId, options);
|
|
6282
7196
|
return createRequestFunction$3(localVarAxiosArgs, axios, BASE_PATH$3, configuration);
|
|
6283
7197
|
});
|
|
6284
7198
|
},
|
|
6285
7199
|
};
|
|
6286
7200
|
};
|
|
6287
7201
|
/**
|
|
6288
|
-
*
|
|
7202
|
+
* ShibbolethApi - factory interface
|
|
6289
7203
|
* @export
|
|
6290
7204
|
*/
|
|
6291
|
-
const
|
|
6292
|
-
const localVarFp =
|
|
7205
|
+
const ShibbolethApiFactory = function (configuration, basePath, axios) {
|
|
7206
|
+
const localVarFp = ShibbolethApiFp(configuration);
|
|
6293
7207
|
return {
|
|
6294
7208
|
/**
|
|
6295
7209
|
*
|
|
6296
|
-
* @summary
|
|
6297
|
-
* @param {string} [
|
|
6298
|
-
* @param {
|
|
6299
|
-
* @param {boolean} [adv] Set true for advanced Elasticsearch search syntax
|
|
6300
|
-
* @param {Array<string>} [languages] Set the used languages
|
|
7210
|
+
* @summary Callback method to catch the login
|
|
7211
|
+
* @param {string} [returnUrl] URL to be redirected to
|
|
7212
|
+
* @param {string} [remoteError] Erros on remote login
|
|
6301
7213
|
* @param {*} [options] Override http request option.
|
|
6302
7214
|
* @throws {RequiredError}
|
|
6303
7215
|
*/
|
|
6304
|
-
|
|
6305
|
-
return localVarFp.
|
|
7216
|
+
shibbolethCallback(returnUrl, remoteError, options) {
|
|
7217
|
+
return localVarFp.shibbolethCallback(returnUrl, remoteError, options).then((request) => request(axios, basePath));
|
|
7218
|
+
},
|
|
7219
|
+
/**
|
|
7220
|
+
*
|
|
7221
|
+
* @summary This method is the central route for logging into an identity provider. On default, the user is redirected to the WAFY of the DFN-AAI. Setting the \"entityId\" parameter allows the application to redirect to a specific identity provider defined by DFN-AAI.
|
|
7222
|
+
* @param {string} [returnUrl] URL to be redirected to
|
|
7223
|
+
* @param {string} [entityId] Specific Identitiy Provider to be redirect to
|
|
7224
|
+
* @param {*} [options] Override http request option.
|
|
7225
|
+
* @throws {RequiredError}
|
|
7226
|
+
*/
|
|
7227
|
+
shibbolethLogin(returnUrl, entityId, options) {
|
|
7228
|
+
return localVarFp.shibbolethLogin(returnUrl, entityId, options).then((request) => request(axios, basePath));
|
|
6306
7229
|
},
|
|
6307
7230
|
};
|
|
6308
7231
|
};
|
|
@@ -7326,6 +8249,33 @@
|
|
|
7326
8249
|
options: localVarRequestOptions,
|
|
7327
8250
|
};
|
|
7328
8251
|
}),
|
|
8252
|
+
/**
|
|
8253
|
+
*
|
|
8254
|
+
* @summary Returns the TOS Versions accepted by the current user.
|
|
8255
|
+
* @param {*} [options] Override http request option.
|
|
8256
|
+
* @throws {RequiredError}
|
|
8257
|
+
*/
|
|
8258
|
+
tOSAcceptedTOSVersion: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
8259
|
+
const localVarPath = `/TOS`;
|
|
8260
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8261
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8262
|
+
let baseOptions;
|
|
8263
|
+
if (configuration) {
|
|
8264
|
+
baseOptions = configuration.baseOptions;
|
|
8265
|
+
}
|
|
8266
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
8267
|
+
const localVarHeaderParameter = {};
|
|
8268
|
+
const localVarQueryParameter = {};
|
|
8269
|
+
// authentication JWT token required
|
|
8270
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
8271
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
8272
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8273
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8274
|
+
return {
|
|
8275
|
+
url: toPathString(localVarUrlObj),
|
|
8276
|
+
options: localVarRequestOptions,
|
|
8277
|
+
};
|
|
8278
|
+
}),
|
|
7329
8279
|
/**
|
|
7330
8280
|
*
|
|
7331
8281
|
* @summary Returns the current TOS Version.
|
|
@@ -7333,7 +8283,7 @@
|
|
|
7333
8283
|
* @throws {RequiredError}
|
|
7334
8284
|
*/
|
|
7335
8285
|
tOSGetCurrentTOSVersion: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
7336
|
-
const localVarPath = `/TOS`;
|
|
8286
|
+
const localVarPath = `/TOS/version`;
|
|
7337
8287
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7338
8288
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7339
8289
|
let baseOptions;
|
|
@@ -7374,6 +8324,18 @@
|
|
|
7374
8324
|
return createRequestFunction(localVarAxiosArgs, axios, BASE_PATH, configuration);
|
|
7375
8325
|
});
|
|
7376
8326
|
},
|
|
8327
|
+
/**
|
|
8328
|
+
*
|
|
8329
|
+
* @summary Returns the TOS Versions accepted by the current user.
|
|
8330
|
+
* @param {*} [options] Override http request option.
|
|
8331
|
+
* @throws {RequiredError}
|
|
8332
|
+
*/
|
|
8333
|
+
tOSAcceptedTOSVersion(options) {
|
|
8334
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8335
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.tOSAcceptedTOSVersion(options);
|
|
8336
|
+
return createRequestFunction(localVarAxiosArgs, axios, BASE_PATH, configuration);
|
|
8337
|
+
});
|
|
8338
|
+
},
|
|
7377
8339
|
/**
|
|
7378
8340
|
*
|
|
7379
8341
|
* @summary Returns the current TOS Version.
|
|
@@ -7404,6 +8366,15 @@
|
|
|
7404
8366
|
tOSAcceptCurrentTOSVersion(options) {
|
|
7405
8367
|
return localVarFp.tOSAcceptCurrentTOSVersion(options).then((request) => request(axios, basePath));
|
|
7406
8368
|
},
|
|
8369
|
+
/**
|
|
8370
|
+
*
|
|
8371
|
+
* @summary Returns the TOS Versions accepted by the current user.
|
|
8372
|
+
* @param {*} [options] Override http request option.
|
|
8373
|
+
* @throws {RequiredError}
|
|
8374
|
+
*/
|
|
8375
|
+
tOSAcceptedTOSVersion(options) {
|
|
8376
|
+
return localVarFp.tOSAcceptedTOSVersion(options).then((request) => request(axios, basePath));
|
|
8377
|
+
},
|
|
7407
8378
|
/**
|
|
7408
8379
|
*
|
|
7409
8380
|
* @summary Returns the current TOS Version.
|
|
@@ -7756,15 +8727,20 @@
|
|
|
7756
8727
|
};
|
|
7757
8728
|
function implementations(axios) {
|
|
7758
8729
|
return {
|
|
8730
|
+
AccountApi: AccountApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.STS', axios),
|
|
7759
8731
|
AdminApi: AdminApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Admin', axios),
|
|
7760
8732
|
BlobApi: BlobApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Blob', axios),
|
|
7761
8733
|
ContactChangeApi: ContactChangeApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.User', axios),
|
|
7762
8734
|
DisciplineApi: DisciplineApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios),
|
|
8735
|
+
HomeApi: HomeApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.STS', axios),
|
|
7763
8736
|
LanguageApi: LanguageApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.User', axios),
|
|
7764
8737
|
LicenseApi: LicenseApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios),
|
|
8738
|
+
MergeApi: MergeApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.STS', axios),
|
|
7765
8739
|
MetadataApi: MetadataApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Metadata', axios),
|
|
7766
8740
|
NoticeApi: NoticeApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Notices', axios),
|
|
8741
|
+
ORCiDApi: ORCiDApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.STS', axios),
|
|
7767
8742
|
OrganizationApi: OrganizationApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Organization', axios),
|
|
8743
|
+
PidApi: PidApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Pid', axios),
|
|
7768
8744
|
ProjectApi: ProjectApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios),
|
|
7769
8745
|
ProjectQuotaApi: ProjectQuotaApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios),
|
|
7770
8746
|
ProjectRoleApi: ProjectRoleApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios),
|
|
@@ -7773,6 +8749,7 @@
|
|
|
7773
8749
|
ResourceTypeApi: ResourceTypeApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Resources', axios),
|
|
7774
8750
|
RoleApi: RoleApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios),
|
|
7775
8751
|
SearchApi: SearchApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Search', axios),
|
|
8752
|
+
ShibbolethApi: ShibbolethApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.STS', axios),
|
|
7776
8753
|
SubProjectApi: SubProjectApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios),
|
|
7777
8754
|
TitleApi: TitleApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.User', axios),
|
|
7778
8755
|
TokenApi: TokenApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Token', axios),
|
|
@@ -7822,15 +8799,20 @@
|
|
|
7822
8799
|
});
|
|
7823
8800
|
|
|
7824
8801
|
const apis = implementations(instance);
|
|
8802
|
+
const AccountApi = apis.AccountApi;
|
|
7825
8803
|
const AdminApi = apis.AdminApi;
|
|
7826
8804
|
const BlobApi = apis.BlobApi;
|
|
7827
8805
|
const ContactChangeApi = apis.ContactChangeApi;
|
|
7828
8806
|
const DisciplineApi = apis.DisciplineApi;
|
|
8807
|
+
const HomeApi = apis.HomeApi;
|
|
7829
8808
|
const LanguageApi = apis.LanguageApi;
|
|
7830
8809
|
const LicenseApi = apis.LicenseApi;
|
|
8810
|
+
const MergeApi = apis.MergeApi;
|
|
7831
8811
|
const MetadataApi = apis.MetadataApi;
|
|
7832
8812
|
const NoticeApi = apis.NoticeApi;
|
|
8813
|
+
const ORCiDApi = apis.ORCiDApi;
|
|
7833
8814
|
const OrganizationApi = apis.OrganizationApi;
|
|
8815
|
+
const PidApi = apis.PidApi;
|
|
7834
8816
|
const ProjectApi = apis.ProjectApi;
|
|
7835
8817
|
const ProjectQuotaApi = apis.ProjectQuotaApi;
|
|
7836
8818
|
const ProjectRoleApi = apis.ProjectRoleApi;
|
|
@@ -7839,6 +8821,7 @@
|
|
|
7839
8821
|
const ResourceTypeApi = apis.ResourceTypeApi;
|
|
7840
8822
|
const RoleApi = apis.RoleApi;
|
|
7841
8823
|
const SearchApi = apis.SearchApi;
|
|
8824
|
+
const ShibbolethApi = apis.ShibbolethApi;
|
|
7842
8825
|
const SubProjectApi = apis.SubProjectApi;
|
|
7843
8826
|
const TitleApi = apis.TitleApi;
|
|
7844
8827
|
const TokenApi = apis.TokenApi;
|
|
@@ -7847,15 +8830,20 @@
|
|
|
7847
8830
|
const UserApi = apis.UserApi;
|
|
7848
8831
|
const VisibilityApi = apis.VisibilityApi;
|
|
7849
8832
|
|
|
8833
|
+
exports.AccountApi = AccountApi;
|
|
7850
8834
|
exports.AdminApi = AdminApi;
|
|
7851
8835
|
exports.BlobApi = BlobApi;
|
|
7852
8836
|
exports.ContactChangeApi = ContactChangeApi;
|
|
7853
8837
|
exports.DisciplineApi = DisciplineApi;
|
|
8838
|
+
exports.HomeApi = HomeApi;
|
|
7854
8839
|
exports.LanguageApi = LanguageApi;
|
|
7855
8840
|
exports.LicenseApi = LicenseApi;
|
|
8841
|
+
exports.MergeApi = MergeApi;
|
|
7856
8842
|
exports.MetadataApi = MetadataApi;
|
|
7857
8843
|
exports.NoticeApi = NoticeApi;
|
|
8844
|
+
exports.ORCiDApi = ORCiDApi;
|
|
7858
8845
|
exports.OrganizationApi = OrganizationApi;
|
|
8846
|
+
exports.PidApi = PidApi;
|
|
7859
8847
|
exports.ProjectApi = ProjectApi;
|
|
7860
8848
|
exports.ProjectQuotaApi = ProjectQuotaApi;
|
|
7861
8849
|
exports.ProjectRoleApi = ProjectRoleApi;
|
|
@@ -7864,6 +8852,7 @@
|
|
|
7864
8852
|
exports.ResourceTypeApi = ResourceTypeApi;
|
|
7865
8853
|
exports.RoleApi = RoleApi;
|
|
7866
8854
|
exports.SearchApi = SearchApi;
|
|
8855
|
+
exports.ShibbolethApi = ShibbolethApi;
|
|
7867
8856
|
exports.SubProjectApi = SubProjectApi;
|
|
7868
8857
|
exports.TOSApi = TOSApi;
|
|
7869
8858
|
exports.TitleApi = TitleApi;
|