@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.
Files changed (149) hide show
  1. package/dist/index.js +1515 -532
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.umd.js +1520 -531
  4. package/dist/index.umd.js.map +1 -1
  5. package/dist/lib/Coscine.Api.ActivatedFeatures/index.js +5 -1
  6. package/dist/lib/Coscine.Api.ActivatedFeatures/index.js.map +1 -1
  7. package/dist/lib/Coscine.Api.Admin/api.js +1 -1
  8. package/dist/lib/Coscine.Api.Admin/base.js +1 -1
  9. package/dist/lib/Coscine.Api.Admin/common.js +1 -1
  10. package/dist/lib/Coscine.Api.Admin/configuration.js +1 -1
  11. package/dist/lib/Coscine.Api.Admin/index.js +6 -2
  12. package/dist/lib/Coscine.Api.Admin/index.js.map +1 -1
  13. package/dist/lib/Coscine.Api.Blob/api.js +1 -1
  14. package/dist/lib/Coscine.Api.Blob/base.js +1 -1
  15. package/dist/lib/Coscine.Api.Blob/common.js +1 -1
  16. package/dist/lib/Coscine.Api.Blob/configuration.js +1 -1
  17. package/dist/lib/Coscine.Api.Blob/index.js +6 -2
  18. package/dist/lib/Coscine.Api.Blob/index.js.map +1 -1
  19. package/dist/lib/Coscine.Api.Metadata/api.js +1 -1
  20. package/dist/lib/Coscine.Api.Metadata/base.js +1 -1
  21. package/dist/lib/Coscine.Api.Metadata/common.js +1 -1
  22. package/dist/lib/Coscine.Api.Metadata/configuration.js +1 -1
  23. package/dist/lib/Coscine.Api.Metadata/index.js +6 -2
  24. package/dist/lib/Coscine.Api.Metadata/index.js.map +1 -1
  25. package/dist/lib/Coscine.Api.Notices/api.js +5 -1
  26. package/dist/lib/Coscine.Api.Notices/api.js.map +1 -1
  27. package/dist/lib/Coscine.Api.Notices/base.js +1 -1
  28. package/dist/lib/Coscine.Api.Notices/common.js +1 -1
  29. package/dist/lib/Coscine.Api.Notices/configuration.js +1 -1
  30. package/dist/lib/Coscine.Api.Notices/index.js +6 -2
  31. package/dist/lib/Coscine.Api.Notices/index.js.map +1 -1
  32. package/dist/lib/Coscine.Api.Organization/index.js +5 -1
  33. package/dist/lib/Coscine.Api.Organization/index.js.map +1 -1
  34. package/dist/lib/Coscine.Api.Pid/api.js +204 -0
  35. package/dist/lib/Coscine.Api.Pid/api.js.map +1 -0
  36. package/dist/lib/Coscine.Api.Pid/base.js +65 -0
  37. package/dist/lib/Coscine.Api.Pid/base.js.map +1 -0
  38. package/dist/lib/Coscine.Api.Pid/common.js +153 -0
  39. package/dist/lib/Coscine.Api.Pid/common.js.map +1 -0
  40. package/dist/lib/Coscine.Api.Pid/configuration.js +43 -0
  41. package/dist/lib/Coscine.Api.Pid/configuration.js.map +1 -0
  42. package/dist/lib/Coscine.Api.Pid/index.js +32 -0
  43. package/dist/lib/Coscine.Api.Pid/index.js.map +1 -0
  44. package/dist/lib/Coscine.Api.Project/api.js +1 -1
  45. package/dist/lib/Coscine.Api.Project/base.js +1 -1
  46. package/dist/lib/Coscine.Api.Project/common.js +1 -1
  47. package/dist/lib/Coscine.Api.Project/configuration.js +1 -1
  48. package/dist/lib/Coscine.Api.Project/index.js +6 -2
  49. package/dist/lib/Coscine.Api.Project/index.js.map +1 -1
  50. package/dist/lib/Coscine.Api.Resources/api.js +1 -1
  51. package/dist/lib/Coscine.Api.Resources/base.js +1 -1
  52. package/dist/lib/Coscine.Api.Resources/common.js +1 -1
  53. package/dist/lib/Coscine.Api.Resources/configuration.js +1 -1
  54. package/dist/lib/Coscine.Api.Resources/index.js +6 -2
  55. package/dist/lib/Coscine.Api.Resources/index.js.map +1 -1
  56. package/dist/lib/Coscine.Api.STS/api.js +802 -0
  57. package/dist/lib/Coscine.Api.STS/api.js.map +1 -0
  58. package/dist/lib/Coscine.Api.STS/base.js +65 -0
  59. package/dist/lib/Coscine.Api.STS/base.js.map +1 -0
  60. package/dist/lib/Coscine.Api.STS/common.js +153 -0
  61. package/dist/lib/Coscine.Api.STS/common.js.map +1 -0
  62. package/dist/lib/Coscine.Api.STS/configuration.js +43 -0
  63. package/dist/lib/Coscine.Api.STS/configuration.js.map +1 -0
  64. package/dist/lib/Coscine.Api.STS/index.js +32 -0
  65. package/dist/lib/Coscine.Api.STS/index.js.map +1 -0
  66. package/dist/lib/Coscine.Api.Search/api.js +17 -6
  67. package/dist/lib/Coscine.Api.Search/api.js.map +1 -1
  68. package/dist/lib/Coscine.Api.Search/base.js +1 -1
  69. package/dist/lib/Coscine.Api.Search/common.js +1 -1
  70. package/dist/lib/Coscine.Api.Search/configuration.js +1 -1
  71. package/dist/lib/Coscine.Api.Search/index.js +6 -2
  72. package/dist/lib/Coscine.Api.Search/index.js.map +1 -1
  73. package/dist/lib/Coscine.Api.Token/index.js +5 -1
  74. package/dist/lib/Coscine.Api.Token/index.js.map +1 -1
  75. package/dist/lib/Coscine.Api.Tree/api.js +1 -1
  76. package/dist/lib/Coscine.Api.Tree/base.js +1 -1
  77. package/dist/lib/Coscine.Api.Tree/common.js +1 -1
  78. package/dist/lib/Coscine.Api.Tree/configuration.js +1 -1
  79. package/dist/lib/Coscine.Api.Tree/index.js +6 -2
  80. package/dist/lib/Coscine.Api.Tree/index.js.map +1 -1
  81. package/dist/lib/Coscine.Api.User/api.js +60 -2
  82. package/dist/lib/Coscine.Api.User/api.js.map +1 -1
  83. package/dist/lib/Coscine.Api.User/base.js +1 -1
  84. package/dist/lib/Coscine.Api.User/common.js +1 -1
  85. package/dist/lib/Coscine.Api.User/configuration.js +1 -1
  86. package/dist/lib/Coscine.Api.User/index.js +6 -2
  87. package/dist/lib/Coscine.Api.User/index.js.map +1 -1
  88. package/dist/lib/apis.js +41 -29
  89. package/dist/lib/apis.js.map +1 -1
  90. package/dist/lib/index.js +7 -1
  91. package/dist/lib/index.js.map +1 -1
  92. package/dist/types/Coscine.Api.Admin/api.d.ts +1 -1
  93. package/dist/types/Coscine.Api.Admin/base.d.ts +1 -1
  94. package/dist/types/Coscine.Api.Admin/common.d.ts +1 -1
  95. package/dist/types/Coscine.Api.Admin/configuration.d.ts +1 -1
  96. package/dist/types/Coscine.Api.Admin/index.d.ts +1 -1
  97. package/dist/types/Coscine.Api.Blob/api.d.ts +1 -1
  98. package/dist/types/Coscine.Api.Blob/base.d.ts +1 -1
  99. package/dist/types/Coscine.Api.Blob/common.d.ts +1 -1
  100. package/dist/types/Coscine.Api.Blob/configuration.d.ts +1 -1
  101. package/dist/types/Coscine.Api.Blob/index.d.ts +1 -1
  102. package/dist/types/Coscine.Api.Metadata/api.d.ts +1 -1
  103. package/dist/types/Coscine.Api.Metadata/base.d.ts +1 -1
  104. package/dist/types/Coscine.Api.Metadata/common.d.ts +1 -1
  105. package/dist/types/Coscine.Api.Metadata/configuration.d.ts +1 -1
  106. package/dist/types/Coscine.Api.Metadata/index.d.ts +1 -1
  107. package/dist/types/Coscine.Api.Notices/api.d.ts +5 -1
  108. package/dist/types/Coscine.Api.Notices/base.d.ts +1 -1
  109. package/dist/types/Coscine.Api.Notices/common.d.ts +1 -1
  110. package/dist/types/Coscine.Api.Notices/configuration.d.ts +1 -1
  111. package/dist/types/Coscine.Api.Notices/index.d.ts +1 -1
  112. package/dist/types/Coscine.Api.Pid/api.d.ts +149 -0
  113. package/dist/types/Coscine.Api.Pid/base.d.ts +55 -0
  114. package/dist/types/Coscine.Api.Pid/common.d.ts +65 -0
  115. package/dist/types/Coscine.Api.Pid/configuration.d.ts +83 -0
  116. package/dist/types/Coscine.Api.Pid/index.d.ts +13 -0
  117. package/dist/types/Coscine.Api.Project/api.d.ts +1 -1
  118. package/dist/types/Coscine.Api.Project/base.d.ts +1 -1
  119. package/dist/types/Coscine.Api.Project/common.d.ts +1 -1
  120. package/dist/types/Coscine.Api.Project/configuration.d.ts +1 -1
  121. package/dist/types/Coscine.Api.Project/index.d.ts +1 -1
  122. package/dist/types/Coscine.Api.Resources/api.d.ts +1 -1
  123. package/dist/types/Coscine.Api.Resources/base.d.ts +1 -1
  124. package/dist/types/Coscine.Api.Resources/common.d.ts +1 -1
  125. package/dist/types/Coscine.Api.Resources/configuration.d.ts +1 -1
  126. package/dist/types/Coscine.Api.Resources/index.d.ts +1 -1
  127. package/dist/types/Coscine.Api.STS/api.d.ts +465 -0
  128. package/dist/types/Coscine.Api.STS/base.d.ts +55 -0
  129. package/dist/types/Coscine.Api.STS/common.d.ts +65 -0
  130. package/dist/types/Coscine.Api.STS/configuration.d.ts +83 -0
  131. package/dist/types/Coscine.Api.STS/index.d.ts +13 -0
  132. package/dist/types/Coscine.Api.Search/api.d.ts +21 -452
  133. package/dist/types/Coscine.Api.Search/base.d.ts +1 -1
  134. package/dist/types/Coscine.Api.Search/common.d.ts +1 -1
  135. package/dist/types/Coscine.Api.Search/configuration.d.ts +1 -1
  136. package/dist/types/Coscine.Api.Search/index.d.ts +1 -1
  137. package/dist/types/Coscine.Api.Tree/api.d.ts +1 -1
  138. package/dist/types/Coscine.Api.Tree/base.d.ts +1 -1
  139. package/dist/types/Coscine.Api.Tree/common.d.ts +1 -1
  140. package/dist/types/Coscine.Api.Tree/configuration.d.ts +1 -1
  141. package/dist/types/Coscine.Api.Tree/index.d.ts +1 -1
  142. package/dist/types/Coscine.Api.User/api.d.ts +38 -9
  143. package/dist/types/Coscine.Api.User/base.d.ts +1 -1
  144. package/dist/types/Coscine.Api.User/common.d.ts +1 -1
  145. package/dist/types/Coscine.Api.User/configuration.d.ts +1 -1
  146. package/dist/types/Coscine.Api.User/index.d.ts +1 -1
  147. package/dist/types/apis.d.ts +26 -2
  148. package/dist/types/index.d.ts +52 -4
  149. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -1849,14 +1849,14 @@ axios$2.exports.default = axios$1;
1849
1849
  var axios = axios$2.exports;
1850
1850
 
1851
1851
  /* tslint:disable */
1852
- const BASE_PATH$a = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Admin".replace(/\/+$/, "");
1852
+ const BASE_PATH$c = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Admin".replace(/\/+$/, "");
1853
1853
  /**
1854
1854
  *
1855
1855
  * @export
1856
1856
  * @class RequiredError
1857
1857
  * @extends {Error}
1858
1858
  */
1859
- class RequiredError$9 extends Error {
1859
+ class RequiredError$a extends Error {
1860
1860
  constructor(field, msg) {
1861
1861
  super(msg);
1862
1862
  this.field = field;
@@ -1869,22 +1869,22 @@ class RequiredError$9 extends Error {
1869
1869
  *
1870
1870
  * @export
1871
1871
  */
1872
- const DUMMY_BASE_URL$a = 'https://example.com';
1872
+ const DUMMY_BASE_URL$c = 'https://example.com';
1873
1873
  /**
1874
1874
  *
1875
1875
  * @throws {RequiredError}
1876
1876
  * @export
1877
1877
  */
1878
- const assertParamExists$9 = function (functionName, paramName, paramValue) {
1878
+ const assertParamExists$a = function (functionName, paramName, paramValue) {
1879
1879
  if (paramValue === null || paramValue === undefined) {
1880
- throw new RequiredError$9(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
1880
+ throw new RequiredError$a(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
1881
1881
  }
1882
1882
  };
1883
1883
  /**
1884
1884
  *
1885
1885
  * @export
1886
1886
  */
1887
- const setApiKeyToObject$a = function (object, keyParamName, configuration) {
1887
+ const setApiKeyToObject$c = function (object, keyParamName, configuration) {
1888
1888
  return __awaiter(this, void 0, void 0, function* () {
1889
1889
  if (configuration && configuration.apiKey) {
1890
1890
  const localVarApiKeyValue = typeof configuration.apiKey === 'function'
@@ -1898,7 +1898,7 @@ const setApiKeyToObject$a = function (object, keyParamName, configuration) {
1898
1898
  *
1899
1899
  * @export
1900
1900
  */
1901
- const setSearchParams$a = function (url, ...objects) {
1901
+ const setSearchParams$c = function (url, ...objects) {
1902
1902
  const searchParams = new URLSearchParams(url.search);
1903
1903
  for (const object of objects) {
1904
1904
  for (const key in object) {
@@ -1919,7 +1919,7 @@ const setSearchParams$a = function (url, ...objects) {
1919
1919
  *
1920
1920
  * @export
1921
1921
  */
1922
- const serializeDataIfNeeded$5 = function (value, requestOptions, configuration) {
1922
+ const serializeDataIfNeeded$6 = function (value, requestOptions, configuration) {
1923
1923
  const nonString = typeof value !== 'string';
1924
1924
  const needsSerialization = nonString && configuration && configuration.isJsonMime
1925
1925
  ? configuration.isJsonMime(requestOptions.headers['Content-Type'])
@@ -1932,14 +1932,14 @@ const serializeDataIfNeeded$5 = function (value, requestOptions, configuration)
1932
1932
  *
1933
1933
  * @export
1934
1934
  */
1935
- const toPathString$a = function (url) {
1935
+ const toPathString$c = function (url) {
1936
1936
  return url.pathname + url.search + url.hash;
1937
1937
  };
1938
1938
  /**
1939
1939
  *
1940
1940
  * @export
1941
1941
  */
1942
- const createRequestFunction$a = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
1942
+ const createRequestFunction$c = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
1943
1943
  return (axios = globalAxios, basePath = BASE_PATH) => {
1944
1944
  const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
1945
1945
  return axios.request(axiosRequestArgs);
@@ -1976,11 +1976,11 @@ const AdminApiAxiosParamCreator = function (configuration) {
1976
1976
  */
1977
1977
  adminGetProject: (projectString, options = {}) => __awaiter(this, void 0, void 0, function* () {
1978
1978
  // verify required parameter 'projectString' is not null or undefined
1979
- assertParamExists$9('adminGetProject', 'projectString', projectString);
1979
+ assertParamExists$a('adminGetProject', 'projectString', projectString);
1980
1980
  const localVarPath = `/Admin/{projectString}`
1981
1981
  .replace(`{${"projectString"}}`, encodeURIComponent(String(projectString)));
1982
1982
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1983
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$a);
1983
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$c);
1984
1984
  let baseOptions;
1985
1985
  if (configuration) {
1986
1986
  baseOptions = configuration.baseOptions;
@@ -1989,12 +1989,12 @@ const AdminApiAxiosParamCreator = function (configuration) {
1989
1989
  const localVarHeaderParameter = {};
1990
1990
  const localVarQueryParameter = {};
1991
1991
  // authentication JWT token required
1992
- yield setApiKeyToObject$a(localVarHeaderParameter, "Authorization", configuration);
1993
- setSearchParams$a(localVarUrlObj, localVarQueryParameter, options.query);
1992
+ yield setApiKeyToObject$c(localVarHeaderParameter, "Authorization", configuration);
1993
+ setSearchParams$c(localVarUrlObj, localVarQueryParameter, options.query);
1994
1994
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1995
1995
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1996
1996
  return {
1997
- url: toPathString$a(localVarUrlObj),
1997
+ url: toPathString$c(localVarUrlObj),
1998
1998
  options: localVarRequestOptions,
1999
1999
  };
2000
2000
  }),
@@ -2009,16 +2009,16 @@ const AdminApiAxiosParamCreator = function (configuration) {
2009
2009
  */
2010
2010
  adminUpdateQuota: (projectId, resourceTypeId, updateQuotaParameterObject, options = {}) => __awaiter(this, void 0, void 0, function* () {
2011
2011
  // verify required parameter 'projectId' is not null or undefined
2012
- assertParamExists$9('adminUpdateQuota', 'projectId', projectId);
2012
+ assertParamExists$a('adminUpdateQuota', 'projectId', projectId);
2013
2013
  // verify required parameter 'resourceTypeId' is not null or undefined
2014
- assertParamExists$9('adminUpdateQuota', 'resourceTypeId', resourceTypeId);
2014
+ assertParamExists$a('adminUpdateQuota', 'resourceTypeId', resourceTypeId);
2015
2015
  // verify required parameter 'updateQuotaParameterObject' is not null or undefined
2016
- assertParamExists$9('adminUpdateQuota', 'updateQuotaParameterObject', updateQuotaParameterObject);
2016
+ assertParamExists$a('adminUpdateQuota', 'updateQuotaParameterObject', updateQuotaParameterObject);
2017
2017
  const localVarPath = `/Admin/{projectId}/{resourceTypeId}`
2018
2018
  .replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)))
2019
2019
  .replace(`{${"resourceTypeId"}}`, encodeURIComponent(String(resourceTypeId)));
2020
2020
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2021
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$a);
2021
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$c);
2022
2022
  let baseOptions;
2023
2023
  if (configuration) {
2024
2024
  baseOptions = configuration.baseOptions;
@@ -2027,14 +2027,14 @@ const AdminApiAxiosParamCreator = function (configuration) {
2027
2027
  const localVarHeaderParameter = {};
2028
2028
  const localVarQueryParameter = {};
2029
2029
  // authentication JWT token required
2030
- yield setApiKeyToObject$a(localVarHeaderParameter, "Authorization", configuration);
2030
+ yield setApiKeyToObject$c(localVarHeaderParameter, "Authorization", configuration);
2031
2031
  localVarHeaderParameter['Content-Type'] = 'application/json';
2032
- setSearchParams$a(localVarUrlObj, localVarQueryParameter, options.query);
2032
+ setSearchParams$c(localVarUrlObj, localVarQueryParameter, options.query);
2033
2033
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2034
2034
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2035
- localVarRequestOptions.data = serializeDataIfNeeded$5(updateQuotaParameterObject, localVarRequestOptions, configuration);
2035
+ localVarRequestOptions.data = serializeDataIfNeeded$6(updateQuotaParameterObject, localVarRequestOptions, configuration);
2036
2036
  return {
2037
- url: toPathString$a(localVarUrlObj),
2037
+ url: toPathString$c(localVarUrlObj),
2038
2038
  options: localVarRequestOptions,
2039
2039
  };
2040
2040
  }),
@@ -2057,7 +2057,7 @@ const AdminApiFp = function (configuration) {
2057
2057
  adminGetProject(projectString, options) {
2058
2058
  return __awaiter(this, void 0, void 0, function* () {
2059
2059
  const localVarAxiosArgs = yield localVarAxiosParamCreator.adminGetProject(projectString, options);
2060
- return createRequestFunction$a(localVarAxiosArgs, axios, BASE_PATH$a, configuration);
2060
+ return createRequestFunction$c(localVarAxiosArgs, axios, BASE_PATH$c, configuration);
2061
2061
  });
2062
2062
  },
2063
2063
  /**
@@ -2072,7 +2072,7 @@ const AdminApiFp = function (configuration) {
2072
2072
  adminUpdateQuota(projectId, resourceTypeId, updateQuotaParameterObject, options) {
2073
2073
  return __awaiter(this, void 0, void 0, function* () {
2074
2074
  const localVarAxiosArgs = yield localVarAxiosParamCreator.adminUpdateQuota(projectId, resourceTypeId, updateQuotaParameterObject, options);
2075
- return createRequestFunction$a(localVarAxiosArgs, axios, BASE_PATH$a, configuration);
2075
+ return createRequestFunction$c(localVarAxiosArgs, axios, BASE_PATH$c, configuration);
2076
2076
  });
2077
2077
  },
2078
2078
  };
@@ -2115,7 +2115,7 @@ const AdminApiFactory = function (configuration, basePath, axios) {
2115
2115
  * Coscine.Api.Admin
2116
2116
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
2117
2117
  *
2118
- * The version of the OpenAPI document: 3.0.0
2118
+ * The version of the OpenAPI document: 3.0.2
2119
2119
  *
2120
2120
  *
2121
2121
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2149,14 +2149,14 @@ class Configuration {
2149
2149
  }
2150
2150
 
2151
2151
  /* tslint:disable */
2152
- const BASE_PATH$9 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Blob".replace(/\/+$/, "");
2152
+ const BASE_PATH$b = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Blob".replace(/\/+$/, "");
2153
2153
  /**
2154
2154
  *
2155
2155
  * @export
2156
2156
  * @class RequiredError
2157
2157
  * @extends {Error}
2158
2158
  */
2159
- class RequiredError$8 extends Error {
2159
+ class RequiredError$9 extends Error {
2160
2160
  constructor(field, msg) {
2161
2161
  super(msg);
2162
2162
  this.field = field;
@@ -2169,22 +2169,22 @@ class RequiredError$8 extends Error {
2169
2169
  *
2170
2170
  * @export
2171
2171
  */
2172
- const DUMMY_BASE_URL$9 = 'https://example.com';
2172
+ const DUMMY_BASE_URL$b = 'https://example.com';
2173
2173
  /**
2174
2174
  *
2175
2175
  * @throws {RequiredError}
2176
2176
  * @export
2177
2177
  */
2178
- const assertParamExists$8 = function (functionName, paramName, paramValue) {
2178
+ const assertParamExists$9 = function (functionName, paramName, paramValue) {
2179
2179
  if (paramValue === null || paramValue === undefined) {
2180
- throw new RequiredError$8(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
2180
+ throw new RequiredError$9(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
2181
2181
  }
2182
2182
  };
2183
2183
  /**
2184
2184
  *
2185
2185
  * @export
2186
2186
  */
2187
- const setApiKeyToObject$9 = function (object, keyParamName, configuration) {
2187
+ const setApiKeyToObject$b = function (object, keyParamName, configuration) {
2188
2188
  return __awaiter(this, void 0, void 0, function* () {
2189
2189
  if (configuration && configuration.apiKey) {
2190
2190
  const localVarApiKeyValue = typeof configuration.apiKey === 'function'
@@ -2198,7 +2198,7 @@ const setApiKeyToObject$9 = function (object, keyParamName, configuration) {
2198
2198
  *
2199
2199
  * @export
2200
2200
  */
2201
- const setSearchParams$9 = function (url, ...objects) {
2201
+ const setSearchParams$b = function (url, ...objects) {
2202
2202
  const searchParams = new URLSearchParams(url.search);
2203
2203
  for (const object of objects) {
2204
2204
  for (const key in object) {
@@ -2219,14 +2219,14 @@ const setSearchParams$9 = function (url, ...objects) {
2219
2219
  *
2220
2220
  * @export
2221
2221
  */
2222
- const toPathString$9 = function (url) {
2222
+ const toPathString$b = function (url) {
2223
2223
  return url.pathname + url.search + url.hash;
2224
2224
  };
2225
2225
  /**
2226
2226
  *
2227
2227
  * @export
2228
2228
  */
2229
- const createRequestFunction$9 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
2229
+ const createRequestFunction$b = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
2230
2230
  return (axios = globalAxios, basePath = BASE_PATH) => {
2231
2231
  const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
2232
2232
  return axios.request(axiosRequestArgs);
@@ -2250,11 +2250,11 @@ const BlobApiAxiosParamCreator = function (configuration) {
2250
2250
  */
2251
2251
  blobDeleteFileWithParameter: (resourceId, path, options = {}) => __awaiter(this, void 0, void 0, function* () {
2252
2252
  // verify required parameter 'resourceId' is not null or undefined
2253
- assertParamExists$8('blobDeleteFileWithParameter', 'resourceId', resourceId);
2253
+ assertParamExists$9('blobDeleteFileWithParameter', 'resourceId', resourceId);
2254
2254
  const localVarPath = `/Blob/{resourceId}`
2255
2255
  .replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)));
2256
2256
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2257
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$9);
2257
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$b);
2258
2258
  let baseOptions;
2259
2259
  if (configuration) {
2260
2260
  baseOptions = configuration.baseOptions;
@@ -2263,15 +2263,15 @@ const BlobApiAxiosParamCreator = function (configuration) {
2263
2263
  const localVarHeaderParameter = {};
2264
2264
  const localVarQueryParameter = {};
2265
2265
  // authentication JWT token required
2266
- yield setApiKeyToObject$9(localVarHeaderParameter, "Authorization", configuration);
2266
+ yield setApiKeyToObject$b(localVarHeaderParameter, "Authorization", configuration);
2267
2267
  if (path !== undefined) {
2268
2268
  localVarQueryParameter['path'] = path;
2269
2269
  }
2270
- setSearchParams$9(localVarUrlObj, localVarQueryParameter, options.query);
2270
+ setSearchParams$b(localVarUrlObj, localVarQueryParameter, options.query);
2271
2271
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2272
2272
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2273
2273
  return {
2274
- url: toPathString$9(localVarUrlObj),
2274
+ url: toPathString$b(localVarUrlObj),
2275
2275
  options: localVarRequestOptions,
2276
2276
  };
2277
2277
  }),
@@ -2285,11 +2285,11 @@ const BlobApiAxiosParamCreator = function (configuration) {
2285
2285
  */
2286
2286
  blobGetFileWithParameter: (resourceId, path, options = {}) => __awaiter(this, void 0, void 0, function* () {
2287
2287
  // verify required parameter 'resourceId' is not null or undefined
2288
- assertParamExists$8('blobGetFileWithParameter', 'resourceId', resourceId);
2288
+ assertParamExists$9('blobGetFileWithParameter', 'resourceId', resourceId);
2289
2289
  const localVarPath = `/Blob/{resourceId}`
2290
2290
  .replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)));
2291
2291
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2292
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$9);
2292
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$b);
2293
2293
  let baseOptions;
2294
2294
  if (configuration) {
2295
2295
  baseOptions = configuration.baseOptions;
@@ -2298,15 +2298,15 @@ const BlobApiAxiosParamCreator = function (configuration) {
2298
2298
  const localVarHeaderParameter = {};
2299
2299
  const localVarQueryParameter = {};
2300
2300
  // authentication JWT token required
2301
- yield setApiKeyToObject$9(localVarHeaderParameter, "Authorization", configuration);
2301
+ yield setApiKeyToObject$b(localVarHeaderParameter, "Authorization", configuration);
2302
2302
  if (path !== undefined) {
2303
2303
  localVarQueryParameter['path'] = path;
2304
2304
  }
2305
- setSearchParams$9(localVarUrlObj, localVarQueryParameter, options.query);
2305
+ setSearchParams$b(localVarUrlObj, localVarQueryParameter, options.query);
2306
2306
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2307
2307
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2308
2308
  return {
2309
- url: toPathString$9(localVarUrlObj),
2309
+ url: toPathString$b(localVarUrlObj),
2310
2310
  options: localVarRequestOptions,
2311
2311
  };
2312
2312
  }),
@@ -2321,11 +2321,11 @@ const BlobApiAxiosParamCreator = function (configuration) {
2321
2321
  */
2322
2322
  blobUploadFileWithParameter: (resourceId, path, files, options = {}) => __awaiter(this, void 0, void 0, function* () {
2323
2323
  // verify required parameter 'resourceId' is not null or undefined
2324
- assertParamExists$8('blobUploadFileWithParameter', 'resourceId', resourceId);
2324
+ assertParamExists$9('blobUploadFileWithParameter', 'resourceId', resourceId);
2325
2325
  const localVarPath = `/Blob/{resourceId}`
2326
2326
  .replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)));
2327
2327
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2328
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$9);
2328
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$b);
2329
2329
  let baseOptions;
2330
2330
  if (configuration) {
2331
2331
  baseOptions = configuration.baseOptions;
@@ -2335,7 +2335,7 @@ const BlobApiAxiosParamCreator = function (configuration) {
2335
2335
  const localVarQueryParameter = {};
2336
2336
  const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
2337
2337
  // authentication JWT token required
2338
- yield setApiKeyToObject$9(localVarHeaderParameter, "Authorization", configuration);
2338
+ yield setApiKeyToObject$b(localVarHeaderParameter, "Authorization", configuration);
2339
2339
  if (path !== undefined) {
2340
2340
  localVarQueryParameter['path'] = path;
2341
2341
  }
@@ -2345,12 +2345,12 @@ const BlobApiAxiosParamCreator = function (configuration) {
2345
2345
  });
2346
2346
  }
2347
2347
  localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
2348
- setSearchParams$9(localVarUrlObj, localVarQueryParameter, options.query);
2348
+ setSearchParams$b(localVarUrlObj, localVarQueryParameter, options.query);
2349
2349
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2350
2350
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2351
2351
  localVarRequestOptions.data = localVarFormParams;
2352
2352
  return {
2353
- url: toPathString$9(localVarUrlObj),
2353
+ url: toPathString$b(localVarUrlObj),
2354
2354
  options: localVarRequestOptions,
2355
2355
  };
2356
2356
  }),
@@ -2374,7 +2374,7 @@ const BlobApiFp = function (configuration) {
2374
2374
  blobDeleteFileWithParameter(resourceId, path, options) {
2375
2375
  return __awaiter(this, void 0, void 0, function* () {
2376
2376
  const localVarAxiosArgs = yield localVarAxiosParamCreator.blobDeleteFileWithParameter(resourceId, path, options);
2377
- return createRequestFunction$9(localVarAxiosArgs, axios, BASE_PATH$9, configuration);
2377
+ return createRequestFunction$b(localVarAxiosArgs, axios, BASE_PATH$b, configuration);
2378
2378
  });
2379
2379
  },
2380
2380
  /**
@@ -2388,7 +2388,7 @@ const BlobApiFp = function (configuration) {
2388
2388
  blobGetFileWithParameter(resourceId, path, options) {
2389
2389
  return __awaiter(this, void 0, void 0, function* () {
2390
2390
  const localVarAxiosArgs = yield localVarAxiosParamCreator.blobGetFileWithParameter(resourceId, path, options);
2391
- return createRequestFunction$9(localVarAxiosArgs, axios, BASE_PATH$9, configuration);
2391
+ return createRequestFunction$b(localVarAxiosArgs, axios, BASE_PATH$b, configuration);
2392
2392
  });
2393
2393
  },
2394
2394
  /**
@@ -2403,7 +2403,7 @@ const BlobApiFp = function (configuration) {
2403
2403
  blobUploadFileWithParameter(resourceId, path, files, options) {
2404
2404
  return __awaiter(this, void 0, void 0, function* () {
2405
2405
  const localVarAxiosArgs = yield localVarAxiosParamCreator.blobUploadFileWithParameter(resourceId, path, files, options);
2406
- return createRequestFunction$9(localVarAxiosArgs, axios, BASE_PATH$9, configuration);
2406
+ return createRequestFunction$b(localVarAxiosArgs, axios, BASE_PATH$b, configuration);
2407
2407
  });
2408
2408
  },
2409
2409
  };
@@ -2453,14 +2453,14 @@ const BlobApiFactory = function (configuration, basePath, axios) {
2453
2453
  };
2454
2454
 
2455
2455
  /* tslint:disable */
2456
- const BASE_PATH$8 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Metadata".replace(/\/+$/, "");
2456
+ const BASE_PATH$a = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Metadata".replace(/\/+$/, "");
2457
2457
  /**
2458
2458
  *
2459
2459
  * @export
2460
2460
  * @class RequiredError
2461
2461
  * @extends {Error}
2462
2462
  */
2463
- class RequiredError$7 extends Error {
2463
+ class RequiredError$8 extends Error {
2464
2464
  constructor(field, msg) {
2465
2465
  super(msg);
2466
2466
  this.field = field;
@@ -2473,22 +2473,22 @@ class RequiredError$7 extends Error {
2473
2473
  *
2474
2474
  * @export
2475
2475
  */
2476
- const DUMMY_BASE_URL$8 = 'https://example.com';
2476
+ const DUMMY_BASE_URL$a = 'https://example.com';
2477
2477
  /**
2478
2478
  *
2479
2479
  * @throws {RequiredError}
2480
2480
  * @export
2481
2481
  */
2482
- const assertParamExists$7 = function (functionName, paramName, paramValue) {
2482
+ const assertParamExists$8 = function (functionName, paramName, paramValue) {
2483
2483
  if (paramValue === null || paramValue === undefined) {
2484
- throw new RequiredError$7(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
2484
+ throw new RequiredError$8(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
2485
2485
  }
2486
2486
  };
2487
2487
  /**
2488
2488
  *
2489
2489
  * @export
2490
2490
  */
2491
- const setApiKeyToObject$8 = function (object, keyParamName, configuration) {
2491
+ const setApiKeyToObject$a = function (object, keyParamName, configuration) {
2492
2492
  return __awaiter(this, void 0, void 0, function* () {
2493
2493
  if (configuration && configuration.apiKey) {
2494
2494
  const localVarApiKeyValue = typeof configuration.apiKey === 'function'
@@ -2502,7 +2502,7 @@ const setApiKeyToObject$8 = function (object, keyParamName, configuration) {
2502
2502
  *
2503
2503
  * @export
2504
2504
  */
2505
- const setSearchParams$8 = function (url, ...objects) {
2505
+ const setSearchParams$a = function (url, ...objects) {
2506
2506
  const searchParams = new URLSearchParams(url.search);
2507
2507
  for (const object of objects) {
2508
2508
  for (const key in object) {
@@ -2523,7 +2523,7 @@ const setSearchParams$8 = function (url, ...objects) {
2523
2523
  *
2524
2524
  * @export
2525
2525
  */
2526
- const serializeDataIfNeeded$4 = function (value, requestOptions, configuration) {
2526
+ const serializeDataIfNeeded$5 = function (value, requestOptions, configuration) {
2527
2527
  const nonString = typeof value !== 'string';
2528
2528
  const needsSerialization = nonString && configuration && configuration.isJsonMime
2529
2529
  ? configuration.isJsonMime(requestOptions.headers['Content-Type'])
@@ -2536,14 +2536,14 @@ const serializeDataIfNeeded$4 = function (value, requestOptions, configuration)
2536
2536
  *
2537
2537
  * @export
2538
2538
  */
2539
- const toPathString$8 = function (url) {
2539
+ const toPathString$a = function (url) {
2540
2540
  return url.pathname + url.search + url.hash;
2541
2541
  };
2542
2542
  /**
2543
2543
  *
2544
2544
  * @export
2545
2545
  */
2546
- const createRequestFunction$8 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
2546
+ const createRequestFunction$a = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
2547
2547
  return (axios = globalAxios, basePath = BASE_PATH) => {
2548
2548
  const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
2549
2549
  return axios.request(axiosRequestArgs);
@@ -2566,11 +2566,11 @@ const MetadataApiAxiosParamCreator = function (configuration) {
2566
2566
  */
2567
2567
  metadataGetClassInstances: (className, options = {}) => __awaiter(this, void 0, void 0, function* () {
2568
2568
  // verify required parameter 'className' is not null or undefined
2569
- assertParamExists$7('metadataGetClassInstances', 'className', className);
2569
+ assertParamExists$8('metadataGetClassInstances', 'className', className);
2570
2570
  const localVarPath = `/Metadata/instances/{className}`
2571
2571
  .replace(`{${"className"}}`, encodeURIComponent(String(className)));
2572
2572
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2573
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$8);
2573
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$a);
2574
2574
  let baseOptions;
2575
2575
  if (configuration) {
2576
2576
  baseOptions = configuration.baseOptions;
@@ -2579,12 +2579,12 @@ const MetadataApiAxiosParamCreator = function (configuration) {
2579
2579
  const localVarHeaderParameter = {};
2580
2580
  const localVarQueryParameter = {};
2581
2581
  // authentication JWT token required
2582
- yield setApiKeyToObject$8(localVarHeaderParameter, "Authorization", configuration);
2583
- setSearchParams$8(localVarUrlObj, localVarQueryParameter, options.query);
2582
+ yield setApiKeyToObject$a(localVarHeaderParameter, "Authorization", configuration);
2583
+ setSearchParams$a(localVarUrlObj, localVarQueryParameter, options.query);
2584
2584
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2585
2585
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2586
2586
  return {
2587
- url: toPathString$8(localVarUrlObj),
2587
+ url: toPathString$a(localVarUrlObj),
2588
2588
  options: localVarRequestOptions,
2589
2589
  };
2590
2590
  }),
@@ -2597,11 +2597,11 @@ const MetadataApiAxiosParamCreator = function (configuration) {
2597
2597
  */
2598
2598
  metadataGetProfile: (profile, options = {}) => __awaiter(this, void 0, void 0, function* () {
2599
2599
  // verify required parameter 'profile' is not null or undefined
2600
- assertParamExists$7('metadataGetProfile', 'profile', profile);
2600
+ assertParamExists$8('metadataGetProfile', 'profile', profile);
2601
2601
  const localVarPath = `/Metadata/profiles/{profile}`
2602
2602
  .replace(`{${"profile"}}`, encodeURIComponent(String(profile)));
2603
2603
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2604
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$8);
2604
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$a);
2605
2605
  let baseOptions;
2606
2606
  if (configuration) {
2607
2607
  baseOptions = configuration.baseOptions;
@@ -2610,12 +2610,12 @@ const MetadataApiAxiosParamCreator = function (configuration) {
2610
2610
  const localVarHeaderParameter = {};
2611
2611
  const localVarQueryParameter = {};
2612
2612
  // authentication JWT token required
2613
- yield setApiKeyToObject$8(localVarHeaderParameter, "Authorization", configuration);
2614
- setSearchParams$8(localVarUrlObj, localVarQueryParameter, options.query);
2613
+ yield setApiKeyToObject$a(localVarHeaderParameter, "Authorization", configuration);
2614
+ setSearchParams$a(localVarUrlObj, localVarQueryParameter, options.query);
2615
2615
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2616
2616
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2617
2617
  return {
2618
- url: toPathString$8(localVarUrlObj),
2618
+ url: toPathString$a(localVarUrlObj),
2619
2619
  options: localVarRequestOptions,
2620
2620
  };
2621
2621
  }),
@@ -2628,7 +2628,7 @@ const MetadataApiAxiosParamCreator = function (configuration) {
2628
2628
  metadataGetProfiles: (options = {}) => __awaiter(this, void 0, void 0, function* () {
2629
2629
  const localVarPath = `/Metadata/profiles`;
2630
2630
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2631
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$8);
2631
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$a);
2632
2632
  let baseOptions;
2633
2633
  if (configuration) {
2634
2634
  baseOptions = configuration.baseOptions;
@@ -2637,12 +2637,12 @@ const MetadataApiAxiosParamCreator = function (configuration) {
2637
2637
  const localVarHeaderParameter = {};
2638
2638
  const localVarQueryParameter = {};
2639
2639
  // authentication JWT token required
2640
- yield setApiKeyToObject$8(localVarHeaderParameter, "Authorization", configuration);
2641
- setSearchParams$8(localVarUrlObj, localVarQueryParameter, options.query);
2640
+ yield setApiKeyToObject$a(localVarHeaderParameter, "Authorization", configuration);
2641
+ setSearchParams$a(localVarUrlObj, localVarQueryParameter, options.query);
2642
2642
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2643
2643
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2644
2644
  return {
2645
- url: toPathString$8(localVarUrlObj),
2645
+ url: toPathString$a(localVarUrlObj),
2646
2646
  options: localVarRequestOptions,
2647
2647
  };
2648
2648
  }),
@@ -2655,7 +2655,7 @@ const MetadataApiAxiosParamCreator = function (configuration) {
2655
2655
  metadataGetVocabularies: (options = {}) => __awaiter(this, void 0, void 0, function* () {
2656
2656
  const localVarPath = `/Metadata/vocabularies`;
2657
2657
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2658
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$8);
2658
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$a);
2659
2659
  let baseOptions;
2660
2660
  if (configuration) {
2661
2661
  baseOptions = configuration.baseOptions;
@@ -2664,12 +2664,12 @@ const MetadataApiAxiosParamCreator = function (configuration) {
2664
2664
  const localVarHeaderParameter = {};
2665
2665
  const localVarQueryParameter = {};
2666
2666
  // authentication JWT token required
2667
- yield setApiKeyToObject$8(localVarHeaderParameter, "Authorization", configuration);
2668
- setSearchParams$8(localVarUrlObj, localVarQueryParameter, options.query);
2667
+ yield setApiKeyToObject$a(localVarHeaderParameter, "Authorization", configuration);
2668
+ setSearchParams$a(localVarUrlObj, localVarQueryParameter, options.query);
2669
2669
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2670
2670
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2671
2671
  return {
2672
- url: toPathString$8(localVarUrlObj),
2672
+ url: toPathString$a(localVarUrlObj),
2673
2673
  options: localVarRequestOptions,
2674
2674
  };
2675
2675
  }),
@@ -2682,11 +2682,11 @@ const MetadataApiAxiosParamCreator = function (configuration) {
2682
2682
  */
2683
2683
  metadataGetVocabulary: (path, options = {}) => __awaiter(this, void 0, void 0, function* () {
2684
2684
  // verify required parameter 'path' is not null or undefined
2685
- assertParamExists$7('metadataGetVocabulary', 'path', path);
2685
+ assertParamExists$8('metadataGetVocabulary', 'path', path);
2686
2686
  const localVarPath = `/Metadata/vocabularies/{path}`
2687
2687
  .replace(`{${"path"}}`, encodeURIComponent(String(path)));
2688
2688
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2689
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$8);
2689
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$a);
2690
2690
  let baseOptions;
2691
2691
  if (configuration) {
2692
2692
  baseOptions = configuration.baseOptions;
@@ -2695,12 +2695,12 @@ const MetadataApiAxiosParamCreator = function (configuration) {
2695
2695
  const localVarHeaderParameter = {};
2696
2696
  const localVarQueryParameter = {};
2697
2697
  // authentication JWT token required
2698
- yield setApiKeyToObject$8(localVarHeaderParameter, "Authorization", configuration);
2699
- setSearchParams$8(localVarUrlObj, localVarQueryParameter, options.query);
2698
+ yield setApiKeyToObject$a(localVarHeaderParameter, "Authorization", configuration);
2699
+ setSearchParams$a(localVarUrlObj, localVarQueryParameter, options.query);
2700
2700
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2701
2701
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2702
2702
  return {
2703
- url: toPathString$8(localVarUrlObj),
2703
+ url: toPathString$a(localVarUrlObj),
2704
2704
  options: localVarRequestOptions,
2705
2705
  };
2706
2706
  }),
@@ -2713,10 +2713,10 @@ const MetadataApiAxiosParamCreator = function (configuration) {
2713
2713
  */
2714
2714
  metadataSaveApplicationProfile: (applicationProfile, options = {}) => __awaiter(this, void 0, void 0, function* () {
2715
2715
  // verify required parameter 'applicationProfile' is not null or undefined
2716
- assertParamExists$7('metadataSaveApplicationProfile', 'applicationProfile', applicationProfile);
2716
+ assertParamExists$8('metadataSaveApplicationProfile', 'applicationProfile', applicationProfile);
2717
2717
  const localVarPath = `/Metadata/profiles`;
2718
2718
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2719
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$8);
2719
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$a);
2720
2720
  let baseOptions;
2721
2721
  if (configuration) {
2722
2722
  baseOptions = configuration.baseOptions;
@@ -2725,14 +2725,14 @@ const MetadataApiAxiosParamCreator = function (configuration) {
2725
2725
  const localVarHeaderParameter = {};
2726
2726
  const localVarQueryParameter = {};
2727
2727
  // authentication JWT token required
2728
- yield setApiKeyToObject$8(localVarHeaderParameter, "Authorization", configuration);
2728
+ yield setApiKeyToObject$a(localVarHeaderParameter, "Authorization", configuration);
2729
2729
  localVarHeaderParameter['Content-Type'] = 'application/json';
2730
- setSearchParams$8(localVarUrlObj, localVarQueryParameter, options.query);
2730
+ setSearchParams$a(localVarUrlObj, localVarQueryParameter, options.query);
2731
2731
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2732
2732
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2733
- localVarRequestOptions.data = serializeDataIfNeeded$4(applicationProfile, localVarRequestOptions, configuration);
2733
+ localVarRequestOptions.data = serializeDataIfNeeded$5(applicationProfile, localVarRequestOptions, configuration);
2734
2734
  return {
2735
- url: toPathString$8(localVarUrlObj),
2735
+ url: toPathString$a(localVarUrlObj),
2736
2736
  options: localVarRequestOptions,
2737
2737
  };
2738
2738
  }),
@@ -2755,7 +2755,7 @@ const MetadataApiFp = function (configuration) {
2755
2755
  metadataGetClassInstances(className, options) {
2756
2756
  return __awaiter(this, void 0, void 0, function* () {
2757
2757
  const localVarAxiosArgs = yield localVarAxiosParamCreator.metadataGetClassInstances(className, options);
2758
- return createRequestFunction$8(localVarAxiosArgs, axios, BASE_PATH$8, configuration);
2758
+ return createRequestFunction$a(localVarAxiosArgs, axios, BASE_PATH$a, configuration);
2759
2759
  });
2760
2760
  },
2761
2761
  /**
@@ -2768,7 +2768,7 @@ const MetadataApiFp = function (configuration) {
2768
2768
  metadataGetProfile(profile, options) {
2769
2769
  return __awaiter(this, void 0, void 0, function* () {
2770
2770
  const localVarAxiosArgs = yield localVarAxiosParamCreator.metadataGetProfile(profile, options);
2771
- return createRequestFunction$8(localVarAxiosArgs, axios, BASE_PATH$8, configuration);
2771
+ return createRequestFunction$a(localVarAxiosArgs, axios, BASE_PATH$a, configuration);
2772
2772
  });
2773
2773
  },
2774
2774
  /**
@@ -2780,7 +2780,7 @@ const MetadataApiFp = function (configuration) {
2780
2780
  metadataGetProfiles(options) {
2781
2781
  return __awaiter(this, void 0, void 0, function* () {
2782
2782
  const localVarAxiosArgs = yield localVarAxiosParamCreator.metadataGetProfiles(options);
2783
- return createRequestFunction$8(localVarAxiosArgs, axios, BASE_PATH$8, configuration);
2783
+ return createRequestFunction$a(localVarAxiosArgs, axios, BASE_PATH$a, configuration);
2784
2784
  });
2785
2785
  },
2786
2786
  /**
@@ -2792,7 +2792,7 @@ const MetadataApiFp = function (configuration) {
2792
2792
  metadataGetVocabularies(options) {
2793
2793
  return __awaiter(this, void 0, void 0, function* () {
2794
2794
  const localVarAxiosArgs = yield localVarAxiosParamCreator.metadataGetVocabularies(options);
2795
- return createRequestFunction$8(localVarAxiosArgs, axios, BASE_PATH$8, configuration);
2795
+ return createRequestFunction$a(localVarAxiosArgs, axios, BASE_PATH$a, configuration);
2796
2796
  });
2797
2797
  },
2798
2798
  /**
@@ -2805,7 +2805,7 @@ const MetadataApiFp = function (configuration) {
2805
2805
  metadataGetVocabulary(path, options) {
2806
2806
  return __awaiter(this, void 0, void 0, function* () {
2807
2807
  const localVarAxiosArgs = yield localVarAxiosParamCreator.metadataGetVocabulary(path, options);
2808
- return createRequestFunction$8(localVarAxiosArgs, axios, BASE_PATH$8, configuration);
2808
+ return createRequestFunction$a(localVarAxiosArgs, axios, BASE_PATH$a, configuration);
2809
2809
  });
2810
2810
  },
2811
2811
  /**
@@ -2818,7 +2818,7 @@ const MetadataApiFp = function (configuration) {
2818
2818
  metadataSaveApplicationProfile(applicationProfile, options) {
2819
2819
  return __awaiter(this, void 0, void 0, function* () {
2820
2820
  const localVarAxiosArgs = yield localVarAxiosParamCreator.metadataSaveApplicationProfile(applicationProfile, options);
2821
- return createRequestFunction$8(localVarAxiosArgs, axios, BASE_PATH$8, configuration);
2821
+ return createRequestFunction$a(localVarAxiosArgs, axios, BASE_PATH$a, configuration);
2822
2822
  });
2823
2823
  },
2824
2824
  };
@@ -2892,14 +2892,14 @@ const MetadataApiFactory = function (configuration, basePath, axios) {
2892
2892
  };
2893
2893
 
2894
2894
  /* tslint:disable */
2895
- const BASE_PATH$7 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Notices".replace(/\/+$/, "");
2895
+ const BASE_PATH$9 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Notices".replace(/\/+$/, "");
2896
2896
  /**
2897
2897
  *
2898
2898
  * @export
2899
2899
  * @class RequiredError
2900
2900
  * @extends {Error}
2901
2901
  */
2902
- class RequiredError$6 extends Error {
2902
+ class RequiredError$7 extends Error {
2903
2903
  constructor(field, msg) {
2904
2904
  super(msg);
2905
2905
  this.field = field;
@@ -2912,22 +2912,22 @@ class RequiredError$6 extends Error {
2912
2912
  *
2913
2913
  * @export
2914
2914
  */
2915
- const DUMMY_BASE_URL$7 = 'https://example.com';
2915
+ const DUMMY_BASE_URL$9 = 'https://example.com';
2916
2916
  /**
2917
2917
  *
2918
2918
  * @throws {RequiredError}
2919
2919
  * @export
2920
2920
  */
2921
- const assertParamExists$6 = function (functionName, paramName, paramValue) {
2921
+ const assertParamExists$7 = function (functionName, paramName, paramValue) {
2922
2922
  if (paramValue === null || paramValue === undefined) {
2923
- throw new RequiredError$6(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
2923
+ throw new RequiredError$7(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
2924
2924
  }
2925
2925
  };
2926
2926
  /**
2927
2927
  *
2928
2928
  * @export
2929
2929
  */
2930
- const setApiKeyToObject$7 = function (object, keyParamName, configuration) {
2930
+ const setApiKeyToObject$9 = function (object, keyParamName, configuration) {
2931
2931
  return __awaiter(this, void 0, void 0, function* () {
2932
2932
  if (configuration && configuration.apiKey) {
2933
2933
  const localVarApiKeyValue = typeof configuration.apiKey === 'function'
@@ -2941,7 +2941,7 @@ const setApiKeyToObject$7 = function (object, keyParamName, configuration) {
2941
2941
  *
2942
2942
  * @export
2943
2943
  */
2944
- const setSearchParams$7 = function (url, ...objects) {
2944
+ const setSearchParams$9 = function (url, ...objects) {
2945
2945
  const searchParams = new URLSearchParams(url.search);
2946
2946
  for (const object of objects) {
2947
2947
  for (const key in object) {
@@ -2962,14 +2962,14 @@ const setSearchParams$7 = function (url, ...objects) {
2962
2962
  *
2963
2963
  * @export
2964
2964
  */
2965
- const toPathString$7 = function (url) {
2965
+ const toPathString$9 = function (url) {
2966
2966
  return url.pathname + url.search + url.hash;
2967
2967
  };
2968
2968
  /**
2969
2969
  *
2970
2970
  * @export
2971
2971
  */
2972
- const createRequestFunction$7 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
2972
+ const createRequestFunction$9 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
2973
2973
  return (axios = globalAxios, basePath = BASE_PATH) => {
2974
2974
  const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
2975
2975
  return axios.request(axiosRequestArgs);
@@ -2992,7 +2992,7 @@ const NoticeApiAxiosParamCreator = function (configuration) {
2992
2992
  noticeGetMaintenance: (options = {}) => __awaiter(this, void 0, void 0, function* () {
2993
2993
  const localVarPath = `/Notice/getMaintenance`;
2994
2994
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2995
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
2995
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$9);
2996
2996
  let baseOptions;
2997
2997
  if (configuration) {
2998
2998
  baseOptions = configuration.baseOptions;
@@ -3001,12 +3001,12 @@ const NoticeApiAxiosParamCreator = function (configuration) {
3001
3001
  const localVarHeaderParameter = {};
3002
3002
  const localVarQueryParameter = {};
3003
3003
  // authentication JWT token required
3004
- yield setApiKeyToObject$7(localVarHeaderParameter, "Authorization", configuration);
3005
- setSearchParams$7(localVarUrlObj, localVarQueryParameter, options.query);
3004
+ yield setApiKeyToObject$9(localVarHeaderParameter, "Authorization", configuration);
3005
+ setSearchParams$9(localVarUrlObj, localVarQueryParameter, options.query);
3006
3006
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3007
3007
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3008
3008
  return {
3009
- url: toPathString$7(localVarUrlObj),
3009
+ url: toPathString$9(localVarUrlObj),
3010
3010
  options: localVarRequestOptions,
3011
3011
  };
3012
3012
  }),
@@ -3016,15 +3016,16 @@ const NoticeApiAxiosParamCreator = function (configuration) {
3016
3016
  * @param {string} documentSlug Slug defining a configured notice
3017
3017
  * @param {string} [language] Language (e.g. \"en\" or \"de\")
3018
3018
  * @param {*} [options] Override http request option.
3019
+ * @deprecated
3019
3020
  * @throws {RequiredError}
3020
3021
  */
3021
3022
  noticeGetNotice: (documentSlug, language, options = {}) => __awaiter(this, void 0, void 0, function* () {
3022
3023
  // verify required parameter 'documentSlug' is not null or undefined
3023
- assertParamExists$6('noticeGetNotice', 'documentSlug', documentSlug);
3024
+ assertParamExists$7('noticeGetNotice', 'documentSlug', documentSlug);
3024
3025
  const localVarPath = `/Notice/{documentSlug}`
3025
3026
  .replace(`{${"documentSlug"}}`, encodeURIComponent(String(documentSlug)));
3026
3027
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3027
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
3028
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$9);
3028
3029
  let baseOptions;
3029
3030
  if (configuration) {
3030
3031
  baseOptions = configuration.baseOptions;
@@ -3033,15 +3034,15 @@ const NoticeApiAxiosParamCreator = function (configuration) {
3033
3034
  const localVarHeaderParameter = {};
3034
3035
  const localVarQueryParameter = {};
3035
3036
  // authentication JWT token required
3036
- yield setApiKeyToObject$7(localVarHeaderParameter, "Authorization", configuration);
3037
+ yield setApiKeyToObject$9(localVarHeaderParameter, "Authorization", configuration);
3037
3038
  if (language !== undefined) {
3038
3039
  localVarQueryParameter['language'] = language;
3039
3040
  }
3040
- setSearchParams$7(localVarUrlObj, localVarQueryParameter, options.query);
3041
+ setSearchParams$9(localVarUrlObj, localVarQueryParameter, options.query);
3041
3042
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3042
3043
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3043
3044
  return {
3044
- url: toPathString$7(localVarUrlObj),
3045
+ url: toPathString$9(localVarUrlObj),
3045
3046
  options: localVarRequestOptions,
3046
3047
  };
3047
3048
  }),
@@ -3063,7 +3064,7 @@ const NoticeApiFp = function (configuration) {
3063
3064
  noticeGetMaintenance(options) {
3064
3065
  return __awaiter(this, void 0, void 0, function* () {
3065
3066
  const localVarAxiosArgs = yield localVarAxiosParamCreator.noticeGetMaintenance(options);
3066
- return createRequestFunction$7(localVarAxiosArgs, axios, BASE_PATH$7, configuration);
3067
+ return createRequestFunction$9(localVarAxiosArgs, axios, BASE_PATH$9, configuration);
3067
3068
  });
3068
3069
  },
3069
3070
  /**
@@ -3072,12 +3073,13 @@ const NoticeApiFp = function (configuration) {
3072
3073
  * @param {string} documentSlug Slug defining a configured notice
3073
3074
  * @param {string} [language] Language (e.g. \"en\" or \"de\")
3074
3075
  * @param {*} [options] Override http request option.
3076
+ * @deprecated
3075
3077
  * @throws {RequiredError}
3076
3078
  */
3077
3079
  noticeGetNotice(documentSlug, language, options) {
3078
3080
  return __awaiter(this, void 0, void 0, function* () {
3079
3081
  const localVarAxiosArgs = yield localVarAxiosParamCreator.noticeGetNotice(documentSlug, language, options);
3080
- return createRequestFunction$7(localVarAxiosArgs, axios, BASE_PATH$7, configuration);
3082
+ return createRequestFunction$9(localVarAxiosArgs, axios, BASE_PATH$9, configuration);
3081
3083
  });
3082
3084
  },
3083
3085
  };
@@ -3104,6 +3106,7 @@ const NoticeApiFactory = function (configuration, basePath, axios) {
3104
3106
  * @param {string} documentSlug Slug defining a configured notice
3105
3107
  * @param {string} [language] Language (e.g. \"en\" or \"de\")
3106
3108
  * @param {*} [options] Override http request option.
3109
+ * @deprecated
3107
3110
  * @throws {RequiredError}
3108
3111
  */
3109
3112
  noticeGetNotice(documentSlug, language, options) {
@@ -3113,14 +3116,14 @@ const NoticeApiFactory = function (configuration, basePath, axios) {
3113
3116
  };
3114
3117
 
3115
3118
  /* tslint:disable */
3116
- const BASE_PATH$6 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Organization".replace(/\/+$/, "");
3119
+ const BASE_PATH$8 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Organization".replace(/\/+$/, "");
3117
3120
  /**
3118
3121
  *
3119
3122
  * @export
3120
3123
  * @class RequiredError
3121
3124
  * @extends {Error}
3122
3125
  */
3123
- class RequiredError$5 extends Error {
3126
+ class RequiredError$6 extends Error {
3124
3127
  constructor(field, msg) {
3125
3128
  super(msg);
3126
3129
  this.field = field;
@@ -3133,22 +3136,22 @@ class RequiredError$5 extends Error {
3133
3136
  *
3134
3137
  * @export
3135
3138
  */
3136
- const DUMMY_BASE_URL$6 = 'https://example.com';
3139
+ const DUMMY_BASE_URL$8 = 'https://example.com';
3137
3140
  /**
3138
3141
  *
3139
3142
  * @throws {RequiredError}
3140
3143
  * @export
3141
3144
  */
3142
- const assertParamExists$5 = function (functionName, paramName, paramValue) {
3145
+ const assertParamExists$6 = function (functionName, paramName, paramValue) {
3143
3146
  if (paramValue === null || paramValue === undefined) {
3144
- throw new RequiredError$5(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
3147
+ throw new RequiredError$6(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
3145
3148
  }
3146
3149
  };
3147
3150
  /**
3148
3151
  *
3149
3152
  * @export
3150
3153
  */
3151
- const setApiKeyToObject$6 = function (object, keyParamName, configuration) {
3154
+ const setApiKeyToObject$8 = function (object, keyParamName, configuration) {
3152
3155
  return __awaiter(this, void 0, void 0, function* () {
3153
3156
  if (configuration && configuration.apiKey) {
3154
3157
  const localVarApiKeyValue = typeof configuration.apiKey === 'function'
@@ -3162,7 +3165,7 @@ const setApiKeyToObject$6 = function (object, keyParamName, configuration) {
3162
3165
  *
3163
3166
  * @export
3164
3167
  */
3165
- const setSearchParams$6 = function (url, ...objects) {
3168
+ const setSearchParams$8 = function (url, ...objects) {
3166
3169
  const searchParams = new URLSearchParams(url.search);
3167
3170
  for (const object of objects) {
3168
3171
  for (const key in object) {
@@ -3183,14 +3186,14 @@ const setSearchParams$6 = function (url, ...objects) {
3183
3186
  *
3184
3187
  * @export
3185
3188
  */
3186
- const toPathString$6 = function (url) {
3189
+ const toPathString$8 = function (url) {
3187
3190
  return url.pathname + url.search + url.hash;
3188
3191
  };
3189
3192
  /**
3190
3193
  *
3191
3194
  * @export
3192
3195
  */
3193
- const createRequestFunction$6 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
3196
+ const createRequestFunction$8 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
3194
3197
  return (axios = globalAxios, basePath = BASE_PATH) => {
3195
3198
  const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
3196
3199
  return axios.request(axiosRequestArgs);
@@ -3213,11 +3216,11 @@ const OrganizationApiAxiosParamCreator = function (configuration) {
3213
3216
  */
3214
3217
  organizationGetOrganization: (url, options = {}) => __awaiter(this, void 0, void 0, function* () {
3215
3218
  // verify required parameter 'url' is not null or undefined
3216
- assertParamExists$5('organizationGetOrganization', 'url', url);
3219
+ assertParamExists$6('organizationGetOrganization', 'url', url);
3217
3220
  const localVarPath = `/Organization/{url}`
3218
3221
  .replace(`{${"url"}}`, encodeURIComponent(String(url)));
3219
3222
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3220
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
3223
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$8);
3221
3224
  let baseOptions;
3222
3225
  if (configuration) {
3223
3226
  baseOptions = configuration.baseOptions;
@@ -3226,12 +3229,12 @@ const OrganizationApiAxiosParamCreator = function (configuration) {
3226
3229
  const localVarHeaderParameter = {};
3227
3230
  const localVarQueryParameter = {};
3228
3231
  // authentication JWT token required
3229
- yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
3230
- setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
3232
+ yield setApiKeyToObject$8(localVarHeaderParameter, "Authorization", configuration);
3233
+ setSearchParams$8(localVarUrlObj, localVarQueryParameter, options.query);
3231
3234
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3232
3235
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3233
3236
  return {
3234
- url: toPathString$6(localVarUrlObj),
3237
+ url: toPathString$8(localVarUrlObj),
3235
3238
  options: localVarRequestOptions,
3236
3239
  };
3237
3240
  }),
@@ -3245,7 +3248,7 @@ const OrganizationApiAxiosParamCreator = function (configuration) {
3245
3248
  organizationGetROR: (filter, options = {}) => __awaiter(this, void 0, void 0, function* () {
3246
3249
  const localVarPath = `/Organization/-/ror`;
3247
3250
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3248
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
3251
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$8);
3249
3252
  let baseOptions;
3250
3253
  if (configuration) {
3251
3254
  baseOptions = configuration.baseOptions;
@@ -3254,15 +3257,15 @@ const OrganizationApiAxiosParamCreator = function (configuration) {
3254
3257
  const localVarHeaderParameter = {};
3255
3258
  const localVarQueryParameter = {};
3256
3259
  // authentication JWT token required
3257
- yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
3260
+ yield setApiKeyToObject$8(localVarHeaderParameter, "Authorization", configuration);
3258
3261
  if (filter !== undefined) {
3259
3262
  localVarQueryParameter['filter'] = filter;
3260
3263
  }
3261
- setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
3264
+ setSearchParams$8(localVarUrlObj, localVarQueryParameter, options.query);
3262
3265
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3263
3266
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3264
3267
  return {
3265
- url: toPathString$6(localVarUrlObj),
3268
+ url: toPathString$8(localVarUrlObj),
3266
3269
  options: localVarRequestOptions,
3267
3270
  };
3268
3271
  }),
@@ -3277,7 +3280,7 @@ const OrganizationApiAxiosParamCreator = function (configuration) {
3277
3280
  organizationIndex: (member, filter, options = {}) => __awaiter(this, void 0, void 0, function* () {
3278
3281
  const localVarPath = `/Organization`;
3279
3282
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3280
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
3283
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$8);
3281
3284
  let baseOptions;
3282
3285
  if (configuration) {
3283
3286
  baseOptions = configuration.baseOptions;
@@ -3286,18 +3289,18 @@ const OrganizationApiAxiosParamCreator = function (configuration) {
3286
3289
  const localVarHeaderParameter = {};
3287
3290
  const localVarQueryParameter = {};
3288
3291
  // authentication JWT token required
3289
- yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
3292
+ yield setApiKeyToObject$8(localVarHeaderParameter, "Authorization", configuration);
3290
3293
  if (member !== undefined) {
3291
3294
  localVarQueryParameter['member'] = member;
3292
3295
  }
3293
3296
  if (filter !== undefined) {
3294
3297
  localVarQueryParameter['filter'] = filter;
3295
3298
  }
3296
- setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
3299
+ setSearchParams$8(localVarUrlObj, localVarQueryParameter, options.query);
3297
3300
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3298
3301
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3299
3302
  return {
3300
- url: toPathString$6(localVarUrlObj),
3303
+ url: toPathString$8(localVarUrlObj),
3301
3304
  options: localVarRequestOptions,
3302
3305
  };
3303
3306
  }),
@@ -3310,11 +3313,11 @@ const OrganizationApiAxiosParamCreator = function (configuration) {
3310
3313
  */
3311
3314
  organizationIsMember: (url, options = {}) => __awaiter(this, void 0, void 0, function* () {
3312
3315
  // verify required parameter 'url' is not null or undefined
3313
- assertParamExists$5('organizationIsMember', 'url', url);
3316
+ assertParamExists$6('organizationIsMember', 'url', url);
3314
3317
  const localVarPath = `/Organization/-/isMember/{url}`
3315
3318
  .replace(`{${"url"}}`, encodeURIComponent(String(url)));
3316
3319
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3317
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
3320
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$8);
3318
3321
  let baseOptions;
3319
3322
  if (configuration) {
3320
3323
  baseOptions = configuration.baseOptions;
@@ -3323,12 +3326,12 @@ const OrganizationApiAxiosParamCreator = function (configuration) {
3323
3326
  const localVarHeaderParameter = {};
3324
3327
  const localVarQueryParameter = {};
3325
3328
  // authentication JWT token required
3326
- yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
3327
- setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
3329
+ yield setApiKeyToObject$8(localVarHeaderParameter, "Authorization", configuration);
3330
+ setSearchParams$8(localVarUrlObj, localVarQueryParameter, options.query);
3328
3331
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3329
3332
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3330
3333
  return {
3331
- url: toPathString$6(localVarUrlObj),
3334
+ url: toPathString$8(localVarUrlObj),
3332
3335
  options: localVarRequestOptions,
3333
3336
  };
3334
3337
  }),
@@ -3341,7 +3344,7 @@ const OrganizationApiAxiosParamCreator = function (configuration) {
3341
3344
  organizationIsMember2: (options = {}) => __awaiter(this, void 0, void 0, function* () {
3342
3345
  const localVarPath = `/Organization/-/isMember`;
3343
3346
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3344
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
3347
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$8);
3345
3348
  let baseOptions;
3346
3349
  if (configuration) {
3347
3350
  baseOptions = configuration.baseOptions;
@@ -3350,12 +3353,12 @@ const OrganizationApiAxiosParamCreator = function (configuration) {
3350
3353
  const localVarHeaderParameter = {};
3351
3354
  const localVarQueryParameter = {};
3352
3355
  // authentication JWT token required
3353
- yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
3354
- setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
3356
+ yield setApiKeyToObject$8(localVarHeaderParameter, "Authorization", configuration);
3357
+ setSearchParams$8(localVarUrlObj, localVarQueryParameter, options.query);
3355
3358
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3356
3359
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3357
3360
  return {
3358
- url: toPathString$6(localVarUrlObj),
3361
+ url: toPathString$8(localVarUrlObj),
3359
3362
  options: localVarRequestOptions,
3360
3363
  };
3361
3364
  }),
@@ -3378,7 +3381,7 @@ const OrganizationApiFp = function (configuration) {
3378
3381
  organizationGetOrganization(url, options) {
3379
3382
  return __awaiter(this, void 0, void 0, function* () {
3380
3383
  const localVarAxiosArgs = yield localVarAxiosParamCreator.organizationGetOrganization(url, options);
3381
- return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
3384
+ return createRequestFunction$8(localVarAxiosArgs, axios, BASE_PATH$8, configuration);
3382
3385
  });
3383
3386
  },
3384
3387
  /**
@@ -3391,7 +3394,7 @@ const OrganizationApiFp = function (configuration) {
3391
3394
  organizationGetROR(filter, options) {
3392
3395
  return __awaiter(this, void 0, void 0, function* () {
3393
3396
  const localVarAxiosArgs = yield localVarAxiosParamCreator.organizationGetROR(filter, options);
3394
- return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
3397
+ return createRequestFunction$8(localVarAxiosArgs, axios, BASE_PATH$8, configuration);
3395
3398
  });
3396
3399
  },
3397
3400
  /**
@@ -3405,7 +3408,7 @@ const OrganizationApiFp = function (configuration) {
3405
3408
  organizationIndex(member, filter, options) {
3406
3409
  return __awaiter(this, void 0, void 0, function* () {
3407
3410
  const localVarAxiosArgs = yield localVarAxiosParamCreator.organizationIndex(member, filter, options);
3408
- return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
3411
+ return createRequestFunction$8(localVarAxiosArgs, axios, BASE_PATH$8, configuration);
3409
3412
  });
3410
3413
  },
3411
3414
  /**
@@ -3418,7 +3421,7 @@ const OrganizationApiFp = function (configuration) {
3418
3421
  organizationIsMember(url, options) {
3419
3422
  return __awaiter(this, void 0, void 0, function* () {
3420
3423
  const localVarAxiosArgs = yield localVarAxiosParamCreator.organizationIsMember(url, options);
3421
- return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
3424
+ return createRequestFunction$8(localVarAxiosArgs, axios, BASE_PATH$8, configuration);
3422
3425
  });
3423
3426
  },
3424
3427
  /**
@@ -3430,7 +3433,7 @@ const OrganizationApiFp = function (configuration) {
3430
3433
  organizationIsMember2(options) {
3431
3434
  return __awaiter(this, void 0, void 0, function* () {
3432
3435
  const localVarAxiosArgs = yield localVarAxiosParamCreator.organizationIsMember2(options);
3433
- return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
3436
+ return createRequestFunction$8(localVarAxiosArgs, axios, BASE_PATH$8, configuration);
3434
3437
  });
3435
3438
  },
3436
3439
  };
@@ -3496,14 +3499,14 @@ const OrganizationApiFactory = function (configuration, basePath, axios) {
3496
3499
  };
3497
3500
 
3498
3501
  /* tslint:disable */
3499
- const BASE_PATH$5 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Project".replace(/\/+$/, "");
3502
+ const BASE_PATH$7 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Pid".replace(/\/+$/, "");
3500
3503
  /**
3501
3504
  *
3502
3505
  * @export
3503
3506
  * @class RequiredError
3504
3507
  * @extends {Error}
3505
3508
  */
3506
- class RequiredError$4 extends Error {
3509
+ class RequiredError$5 extends Error {
3507
3510
  constructor(field, msg) {
3508
3511
  super(msg);
3509
3512
  this.field = field;
@@ -3516,22 +3519,22 @@ class RequiredError$4 extends Error {
3516
3519
  *
3517
3520
  * @export
3518
3521
  */
3519
- const DUMMY_BASE_URL$5 = 'https://example.com';
3522
+ const DUMMY_BASE_URL$7 = 'https://example.com';
3520
3523
  /**
3521
3524
  *
3522
3525
  * @throws {RequiredError}
3523
3526
  * @export
3524
3527
  */
3525
- const assertParamExists$4 = function (functionName, paramName, paramValue) {
3528
+ const assertParamExists$5 = function (functionName, paramName, paramValue) {
3526
3529
  if (paramValue === null || paramValue === undefined) {
3527
- throw new RequiredError$4(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
3530
+ throw new RequiredError$5(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
3528
3531
  }
3529
3532
  };
3530
3533
  /**
3531
3534
  *
3532
3535
  * @export
3533
3536
  */
3534
- const setApiKeyToObject$5 = function (object, keyParamName, configuration) {
3537
+ const setApiKeyToObject$7 = function (object, keyParamName, configuration) {
3535
3538
  return __awaiter(this, void 0, void 0, function* () {
3536
3539
  if (configuration && configuration.apiKey) {
3537
3540
  const localVarApiKeyValue = typeof configuration.apiKey === 'function'
@@ -3545,7 +3548,7 @@ const setApiKeyToObject$5 = function (object, keyParamName, configuration) {
3545
3548
  *
3546
3549
  * @export
3547
3550
  */
3548
- const setSearchParams$5 = function (url, ...objects) {
3551
+ const setSearchParams$7 = function (url, ...objects) {
3549
3552
  const searchParams = new URLSearchParams(url.search);
3550
3553
  for (const object of objects) {
3551
3554
  for (const key in object) {
@@ -3566,7 +3569,7 @@ const setSearchParams$5 = function (url, ...objects) {
3566
3569
  *
3567
3570
  * @export
3568
3571
  */
3569
- const serializeDataIfNeeded$3 = function (value, requestOptions, configuration) {
3572
+ const serializeDataIfNeeded$4 = function (value, requestOptions, configuration) {
3570
3573
  const nonString = typeof value !== 'string';
3571
3574
  const needsSerialization = nonString && configuration && configuration.isJsonMime
3572
3575
  ? configuration.isJsonMime(requestOptions.headers['Content-Type'])
@@ -3579,14 +3582,14 @@ const serializeDataIfNeeded$3 = function (value, requestOptions, configuration)
3579
3582
  *
3580
3583
  * @export
3581
3584
  */
3582
- const toPathString$5 = function (url) {
3585
+ const toPathString$7 = function (url) {
3583
3586
  return url.pathname + url.search + url.hash;
3584
3587
  };
3585
3588
  /**
3586
3589
  *
3587
3590
  * @export
3588
3591
  */
3589
- const createRequestFunction$5 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
3592
+ const createRequestFunction$7 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
3590
3593
  return (axios = globalAxios, basePath = BASE_PATH) => {
3591
3594
  const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
3592
3595
  return axios.request(axiosRequestArgs);
@@ -3595,21 +3598,256 @@ const createRequestFunction$5 = function (axiosArgs, globalAxios, BASE_PATH, con
3595
3598
 
3596
3599
  /* tslint:disable */
3597
3600
  /**
3598
- *
3601
+ * PidApi - axios parameter creator
3599
3602
  * @export
3600
- * @enum {string}
3601
3603
  */
3602
- var QuotaUnit$1;
3603
- (function (QuotaUnit) {
3604
- QuotaUnit["Byte"] = "https://qudt.org/vocab/unit/BYTE";
3605
- QuotaUnit["KibiByte"] = "https://qudt.org/vocab/unit/KibiBYTE";
3606
- QuotaUnit["MebiByte"] = "https://qudt.org/vocab/unit/MebiBYTE";
3607
- QuotaUnit["GibiByte"] = "https://qudt.org/vocab/unit/GibiBYTE";
3608
- QuotaUnit["TebiByte"] = "https://qudt.org/vocab/unit/TebiBYTE";
3609
- QuotaUnit["PebiByte"] = "https://qudt.org/vocab/unit/PebiBYTE";
3610
- })(QuotaUnit$1 || (QuotaUnit$1 = {}));
3611
- /**
3612
- * DisciplineApi - axios parameter creator
3604
+ const PidApiAxiosParamCreator = function (configuration) {
3605
+ return {
3606
+ /**
3607
+ *
3608
+ * @summary Returns a 200, if a PID is valid.
3609
+ * @param {string} pid PID
3610
+ * @param {*} [options] Override http request option.
3611
+ * @throws {RequiredError}
3612
+ */
3613
+ pidIsValid: (pid, options = {}) => __awaiter(this, void 0, void 0, function* () {
3614
+ // verify required parameter 'pid' is not null or undefined
3615
+ assertParamExists$5('pidIsValid', 'pid', pid);
3616
+ const localVarPath = `/Pid/valid/{pid}`
3617
+ .replace(`{${"pid"}}`, encodeURIComponent(String(pid)));
3618
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3619
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
3620
+ let baseOptions;
3621
+ if (configuration) {
3622
+ baseOptions = configuration.baseOptions;
3623
+ }
3624
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
3625
+ const localVarHeaderParameter = {};
3626
+ const localVarQueryParameter = {};
3627
+ // authentication JWT token required
3628
+ yield setApiKeyToObject$7(localVarHeaderParameter, "Authorization", configuration);
3629
+ setSearchParams$7(localVarUrlObj, localVarQueryParameter, options.query);
3630
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3631
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3632
+ return {
3633
+ url: toPathString$7(localVarUrlObj),
3634
+ options: localVarRequestOptions,
3635
+ };
3636
+ }),
3637
+ /**
3638
+ *
3639
+ * @summary Sends a request to the pid owner.
3640
+ * @param {MessageObject} messageObject Entry with the information for the email to the pid owner.
3641
+ * @param {*} [options] Override http request option.
3642
+ * @throws {RequiredError}
3643
+ */
3644
+ pidSendMailToOwner: (messageObject, options = {}) => __awaiter(this, void 0, void 0, function* () {
3645
+ // verify required parameter 'messageObject' is not null or undefined
3646
+ assertParamExists$5('pidSendMailToOwner', 'messageObject', messageObject);
3647
+ const localVarPath = `/Pid/sendMailToOwner`;
3648
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3649
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
3650
+ let baseOptions;
3651
+ if (configuration) {
3652
+ baseOptions = configuration.baseOptions;
3653
+ }
3654
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
3655
+ const localVarHeaderParameter = {};
3656
+ const localVarQueryParameter = {};
3657
+ // authentication JWT token required
3658
+ yield setApiKeyToObject$7(localVarHeaderParameter, "Authorization", configuration);
3659
+ localVarHeaderParameter['Content-Type'] = 'application/json';
3660
+ setSearchParams$7(localVarUrlObj, localVarQueryParameter, options.query);
3661
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3662
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3663
+ localVarRequestOptions.data = serializeDataIfNeeded$4(messageObject, localVarRequestOptions, configuration);
3664
+ return {
3665
+ url: toPathString$7(localVarUrlObj),
3666
+ options: localVarRequestOptions,
3667
+ };
3668
+ }),
3669
+ };
3670
+ };
3671
+ /**
3672
+ * PidApi - functional programming interface
3673
+ * @export
3674
+ */
3675
+ const PidApiFp = function (configuration) {
3676
+ const localVarAxiosParamCreator = PidApiAxiosParamCreator(configuration);
3677
+ return {
3678
+ /**
3679
+ *
3680
+ * @summary Returns a 200, if a PID is valid.
3681
+ * @param {string} pid PID
3682
+ * @param {*} [options] Override http request option.
3683
+ * @throws {RequiredError}
3684
+ */
3685
+ pidIsValid(pid, options) {
3686
+ return __awaiter(this, void 0, void 0, function* () {
3687
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.pidIsValid(pid, options);
3688
+ return createRequestFunction$7(localVarAxiosArgs, axios, BASE_PATH$7, configuration);
3689
+ });
3690
+ },
3691
+ /**
3692
+ *
3693
+ * @summary Sends a request to the pid owner.
3694
+ * @param {MessageObject} messageObject Entry with the information for the email to the pid owner.
3695
+ * @param {*} [options] Override http request option.
3696
+ * @throws {RequiredError}
3697
+ */
3698
+ pidSendMailToOwner(messageObject, options) {
3699
+ return __awaiter(this, void 0, void 0, function* () {
3700
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.pidSendMailToOwner(messageObject, options);
3701
+ return createRequestFunction$7(localVarAxiosArgs, axios, BASE_PATH$7, configuration);
3702
+ });
3703
+ },
3704
+ };
3705
+ };
3706
+ /**
3707
+ * PidApi - factory interface
3708
+ * @export
3709
+ */
3710
+ const PidApiFactory = function (configuration, basePath, axios) {
3711
+ const localVarFp = PidApiFp(configuration);
3712
+ return {
3713
+ /**
3714
+ *
3715
+ * @summary Returns a 200, if a PID is valid.
3716
+ * @param {string} pid PID
3717
+ * @param {*} [options] Override http request option.
3718
+ * @throws {RequiredError}
3719
+ */
3720
+ pidIsValid(pid, options) {
3721
+ return localVarFp.pidIsValid(pid, options).then((request) => request(axios, basePath));
3722
+ },
3723
+ /**
3724
+ *
3725
+ * @summary Sends a request to the pid owner.
3726
+ * @param {MessageObject} messageObject Entry with the information for the email to the pid owner.
3727
+ * @param {*} [options] Override http request option.
3728
+ * @throws {RequiredError}
3729
+ */
3730
+ pidSendMailToOwner(messageObject, options) {
3731
+ return localVarFp.pidSendMailToOwner(messageObject, options).then((request) => request(axios, basePath));
3732
+ },
3733
+ };
3734
+ };
3735
+
3736
+ /* tslint:disable */
3737
+ const BASE_PATH$6 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Project".replace(/\/+$/, "");
3738
+ /**
3739
+ *
3740
+ * @export
3741
+ * @class RequiredError
3742
+ * @extends {Error}
3743
+ */
3744
+ class RequiredError$4 extends Error {
3745
+ constructor(field, msg) {
3746
+ super(msg);
3747
+ this.field = field;
3748
+ this.name = "RequiredError";
3749
+ }
3750
+ }
3751
+
3752
+ /* tslint:disable */
3753
+ /**
3754
+ *
3755
+ * @export
3756
+ */
3757
+ const DUMMY_BASE_URL$6 = 'https://example.com';
3758
+ /**
3759
+ *
3760
+ * @throws {RequiredError}
3761
+ * @export
3762
+ */
3763
+ const assertParamExists$4 = function (functionName, paramName, paramValue) {
3764
+ if (paramValue === null || paramValue === undefined) {
3765
+ throw new RequiredError$4(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
3766
+ }
3767
+ };
3768
+ /**
3769
+ *
3770
+ * @export
3771
+ */
3772
+ const setApiKeyToObject$6 = function (object, keyParamName, configuration) {
3773
+ return __awaiter(this, void 0, void 0, function* () {
3774
+ if (configuration && configuration.apiKey) {
3775
+ const localVarApiKeyValue = typeof configuration.apiKey === 'function'
3776
+ ? yield configuration.apiKey(keyParamName)
3777
+ : yield configuration.apiKey;
3778
+ object[keyParamName] = localVarApiKeyValue;
3779
+ }
3780
+ });
3781
+ };
3782
+ /**
3783
+ *
3784
+ * @export
3785
+ */
3786
+ const setSearchParams$6 = function (url, ...objects) {
3787
+ const searchParams = new URLSearchParams(url.search);
3788
+ for (const object of objects) {
3789
+ for (const key in object) {
3790
+ if (Array.isArray(object[key])) {
3791
+ searchParams.delete(key);
3792
+ for (const item of object[key]) {
3793
+ searchParams.append(key, item);
3794
+ }
3795
+ }
3796
+ else {
3797
+ searchParams.set(key, object[key]);
3798
+ }
3799
+ }
3800
+ }
3801
+ url.search = searchParams.toString();
3802
+ };
3803
+ /**
3804
+ *
3805
+ * @export
3806
+ */
3807
+ const serializeDataIfNeeded$3 = function (value, requestOptions, configuration) {
3808
+ const nonString = typeof value !== 'string';
3809
+ const needsSerialization = nonString && configuration && configuration.isJsonMime
3810
+ ? configuration.isJsonMime(requestOptions.headers['Content-Type'])
3811
+ : nonString;
3812
+ return needsSerialization
3813
+ ? JSON.stringify(value !== undefined ? value : {})
3814
+ : (value || "");
3815
+ };
3816
+ /**
3817
+ *
3818
+ * @export
3819
+ */
3820
+ const toPathString$6 = function (url) {
3821
+ return url.pathname + url.search + url.hash;
3822
+ };
3823
+ /**
3824
+ *
3825
+ * @export
3826
+ */
3827
+ const createRequestFunction$6 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
3828
+ return (axios = globalAxios, basePath = BASE_PATH) => {
3829
+ const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
3830
+ return axios.request(axiosRequestArgs);
3831
+ };
3832
+ };
3833
+
3834
+ /* tslint:disable */
3835
+ /**
3836
+ *
3837
+ * @export
3838
+ * @enum {string}
3839
+ */
3840
+ var QuotaUnit$1;
3841
+ (function (QuotaUnit) {
3842
+ QuotaUnit["Byte"] = "https://qudt.org/vocab/unit/BYTE";
3843
+ QuotaUnit["KibiByte"] = "https://qudt.org/vocab/unit/KibiBYTE";
3844
+ QuotaUnit["MebiByte"] = "https://qudt.org/vocab/unit/MebiBYTE";
3845
+ QuotaUnit["GibiByte"] = "https://qudt.org/vocab/unit/GibiBYTE";
3846
+ QuotaUnit["TebiByte"] = "https://qudt.org/vocab/unit/TebiBYTE";
3847
+ QuotaUnit["PebiByte"] = "https://qudt.org/vocab/unit/PebiBYTE";
3848
+ })(QuotaUnit$1 || (QuotaUnit$1 = {}));
3849
+ /**
3850
+ * DisciplineApi - axios parameter creator
3613
3851
  * @export
3614
3852
  */
3615
3853
  const DisciplineApiAxiosParamCreator = function (configuration) {
@@ -3623,7 +3861,7 @@ const DisciplineApiAxiosParamCreator = function (configuration) {
3623
3861
  disciplineIndex: (options = {}) => __awaiter(this, void 0, void 0, function* () {
3624
3862
  const localVarPath = `/Discipline`;
3625
3863
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3626
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
3864
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
3627
3865
  let baseOptions;
3628
3866
  if (configuration) {
3629
3867
  baseOptions = configuration.baseOptions;
@@ -3632,12 +3870,12 @@ const DisciplineApiAxiosParamCreator = function (configuration) {
3632
3870
  const localVarHeaderParameter = {};
3633
3871
  const localVarQueryParameter = {};
3634
3872
  // authentication JWT token required
3635
- yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
3636
- setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
3873
+ yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
3874
+ setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
3637
3875
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3638
3876
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3639
3877
  return {
3640
- url: toPathString$5(localVarUrlObj),
3878
+ url: toPathString$6(localVarUrlObj),
3641
3879
  options: localVarRequestOptions,
3642
3880
  };
3643
3881
  }),
@@ -3659,7 +3897,7 @@ const DisciplineApiFp = function (configuration) {
3659
3897
  disciplineIndex(options) {
3660
3898
  return __awaiter(this, void 0, void 0, function* () {
3661
3899
  const localVarAxiosArgs = yield localVarAxiosParamCreator.disciplineIndex(options);
3662
- return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
3900
+ return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
3663
3901
  });
3664
3902
  },
3665
3903
  };
@@ -3697,7 +3935,7 @@ const LicenseApiAxiosParamCreator = function (configuration) {
3697
3935
  licenseIndex: (options = {}) => __awaiter(this, void 0, void 0, function* () {
3698
3936
  const localVarPath = `/License`;
3699
3937
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3700
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
3938
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
3701
3939
  let baseOptions;
3702
3940
  if (configuration) {
3703
3941
  baseOptions = configuration.baseOptions;
@@ -3706,12 +3944,12 @@ const LicenseApiAxiosParamCreator = function (configuration) {
3706
3944
  const localVarHeaderParameter = {};
3707
3945
  const localVarQueryParameter = {};
3708
3946
  // authentication JWT token required
3709
- yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
3710
- setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
3947
+ yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
3948
+ setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
3711
3949
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3712
3950
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3713
3951
  return {
3714
- url: toPathString$5(localVarUrlObj),
3952
+ url: toPathString$6(localVarUrlObj),
3715
3953
  options: localVarRequestOptions,
3716
3954
  };
3717
3955
  }),
@@ -3733,7 +3971,7 @@ const LicenseApiFp = function (configuration) {
3733
3971
  licenseIndex(options) {
3734
3972
  return __awaiter(this, void 0, void 0, function* () {
3735
3973
  const localVarAxiosArgs = yield localVarAxiosParamCreator.licenseIndex(options);
3736
- return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
3974
+ return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
3737
3975
  });
3738
3976
  },
3739
3977
  };
@@ -3775,7 +4013,7 @@ const ProjectApiAxiosParamCreator = function (configuration) {
3775
4013
  const localVarPath = `/Project/{projectId}/-/create-profile`
3776
4014
  .replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
3777
4015
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3778
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
4016
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
3779
4017
  let baseOptions;
3780
4018
  if (configuration) {
3781
4019
  baseOptions = configuration.baseOptions;
@@ -3784,12 +4022,12 @@ const ProjectApiAxiosParamCreator = function (configuration) {
3784
4022
  const localVarHeaderParameter = {};
3785
4023
  const localVarQueryParameter = {};
3786
4024
  // authentication JWT token required
3787
- yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
3788
- setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
4025
+ yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
4026
+ setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
3789
4027
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3790
4028
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3791
4029
  return {
3792
- url: toPathString$5(localVarUrlObj),
4030
+ url: toPathString$6(localVarUrlObj),
3793
4031
  options: localVarRequestOptions,
3794
4032
  };
3795
4033
  }),
@@ -3806,7 +4044,7 @@ const ProjectApiAxiosParamCreator = function (configuration) {
3806
4044
  const localVarPath = `/Project/{id}`
3807
4045
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
3808
4046
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3809
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
4047
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
3810
4048
  let baseOptions;
3811
4049
  if (configuration) {
3812
4050
  baseOptions = configuration.baseOptions;
@@ -3815,12 +4053,12 @@ const ProjectApiAxiosParamCreator = function (configuration) {
3815
4053
  const localVarHeaderParameter = {};
3816
4054
  const localVarQueryParameter = {};
3817
4055
  // authentication JWT token required
3818
- yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
3819
- setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
4056
+ yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
4057
+ setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
3820
4058
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3821
4059
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3822
4060
  return {
3823
- url: toPathString$5(localVarUrlObj),
4061
+ url: toPathString$6(localVarUrlObj),
3824
4062
  options: localVarRequestOptions,
3825
4063
  };
3826
4064
  }),
@@ -3837,7 +4075,7 @@ const ProjectApiAxiosParamCreator = function (configuration) {
3837
4075
  const localVarPath = `/Project/invitation/{invitationId}`
3838
4076
  .replace(`{${"invitationId"}}`, encodeURIComponent(String(invitationId)));
3839
4077
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3840
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
4078
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
3841
4079
  let baseOptions;
3842
4080
  if (configuration) {
3843
4081
  baseOptions = configuration.baseOptions;
@@ -3846,12 +4084,12 @@ const ProjectApiAxiosParamCreator = function (configuration) {
3846
4084
  const localVarHeaderParameter = {};
3847
4085
  const localVarQueryParameter = {};
3848
4086
  // authentication JWT token required
3849
- yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
3850
- setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
4087
+ yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
4088
+ setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
3851
4089
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3852
4090
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3853
4091
  return {
3854
- url: toPathString$5(localVarUrlObj),
4092
+ url: toPathString$6(localVarUrlObj),
3855
4093
  options: localVarRequestOptions,
3856
4094
  };
3857
4095
  }),
@@ -3868,7 +4106,7 @@ const ProjectApiAxiosParamCreator = function (configuration) {
3868
4106
  const localVarPath = `/Project/{id}`
3869
4107
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
3870
4108
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3871
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
4109
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
3872
4110
  let baseOptions;
3873
4111
  if (configuration) {
3874
4112
  baseOptions = configuration.baseOptions;
@@ -3877,12 +4115,12 @@ const ProjectApiAxiosParamCreator = function (configuration) {
3877
4115
  const localVarHeaderParameter = {};
3878
4116
  const localVarQueryParameter = {};
3879
4117
  // authentication JWT token required
3880
- yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
3881
- setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
4118
+ yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
4119
+ setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
3882
4120
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3883
4121
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3884
4122
  return {
3885
- url: toPathString$5(localVarUrlObj),
4123
+ url: toPathString$6(localVarUrlObj),
3886
4124
  options: localVarRequestOptions,
3887
4125
  };
3888
4126
  }),
@@ -3899,7 +4137,7 @@ const ProjectApiAxiosParamCreator = function (configuration) {
3899
4137
  const localVarPath = `/Project/slug/{slug}`
3900
4138
  .replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
3901
4139
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3902
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
4140
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
3903
4141
  let baseOptions;
3904
4142
  if (configuration) {
3905
4143
  baseOptions = configuration.baseOptions;
@@ -3908,12 +4146,12 @@ const ProjectApiAxiosParamCreator = function (configuration) {
3908
4146
  const localVarHeaderParameter = {};
3909
4147
  const localVarQueryParameter = {};
3910
4148
  // authentication JWT token required
3911
- yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
3912
- setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
4149
+ yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
4150
+ setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
3913
4151
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3914
4152
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3915
4153
  return {
3916
- url: toPathString$5(localVarUrlObj),
4154
+ url: toPathString$6(localVarUrlObj),
3917
4155
  options: localVarRequestOptions,
3918
4156
  };
3919
4157
  }),
@@ -3930,7 +4168,7 @@ const ProjectApiAxiosParamCreator = function (configuration) {
3930
4168
  const localVarPath = `/Project/{id}/resources`
3931
4169
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
3932
4170
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3933
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
4171
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
3934
4172
  let baseOptions;
3935
4173
  if (configuration) {
3936
4174
  baseOptions = configuration.baseOptions;
@@ -3939,12 +4177,12 @@ const ProjectApiAxiosParamCreator = function (configuration) {
3939
4177
  const localVarHeaderParameter = {};
3940
4178
  const localVarQueryParameter = {};
3941
4179
  // authentication JWT token required
3942
- yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
3943
- setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
4180
+ yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
4181
+ setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
3944
4182
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3945
4183
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3946
4184
  return {
3947
- url: toPathString$5(localVarUrlObj),
4185
+ url: toPathString$6(localVarUrlObj),
3948
4186
  options: localVarRequestOptions,
3949
4187
  };
3950
4188
  }),
@@ -3957,7 +4195,7 @@ const ProjectApiAxiosParamCreator = function (configuration) {
3957
4195
  projectGetTopLevelProjects: (options = {}) => __awaiter(this, void 0, void 0, function* () {
3958
4196
  const localVarPath = `/Project/-/topLevel`;
3959
4197
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3960
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
4198
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
3961
4199
  let baseOptions;
3962
4200
  if (configuration) {
3963
4201
  baseOptions = configuration.baseOptions;
@@ -3966,12 +4204,12 @@ const ProjectApiAxiosParamCreator = function (configuration) {
3966
4204
  const localVarHeaderParameter = {};
3967
4205
  const localVarQueryParameter = {};
3968
4206
  // authentication JWT token required
3969
- yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
3970
- setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
4207
+ yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
4208
+ setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
3971
4209
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3972
4210
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3973
4211
  return {
3974
- url: toPathString$5(localVarUrlObj),
4212
+ url: toPathString$6(localVarUrlObj),
3975
4213
  options: localVarRequestOptions,
3976
4214
  };
3977
4215
  }),
@@ -3984,7 +4222,7 @@ const ProjectApiAxiosParamCreator = function (configuration) {
3984
4222
  projectIndex: (options = {}) => __awaiter(this, void 0, void 0, function* () {
3985
4223
  const localVarPath = `/Project`;
3986
4224
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3987
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
4225
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
3988
4226
  let baseOptions;
3989
4227
  if (configuration) {
3990
4228
  baseOptions = configuration.baseOptions;
@@ -3993,12 +4231,12 @@ const ProjectApiAxiosParamCreator = function (configuration) {
3993
4231
  const localVarHeaderParameter = {};
3994
4232
  const localVarQueryParameter = {};
3995
4233
  // authentication JWT token required
3996
- yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
3997
- setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
4234
+ yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
4235
+ setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
3998
4236
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3999
4237
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4000
4238
  return {
4001
- url: toPathString$5(localVarUrlObj),
4239
+ url: toPathString$6(localVarUrlObj),
4002
4240
  options: localVarRequestOptions,
4003
4241
  };
4004
4242
  }),
@@ -4015,7 +4253,7 @@ const ProjectApiAxiosParamCreator = function (configuration) {
4015
4253
  const localVarPath = `/Project/invitation/list/{projectId}`
4016
4254
  .replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
4017
4255
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4018
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
4256
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
4019
4257
  let baseOptions;
4020
4258
  if (configuration) {
4021
4259
  baseOptions = configuration.baseOptions;
@@ -4024,12 +4262,12 @@ const ProjectApiAxiosParamCreator = function (configuration) {
4024
4262
  const localVarHeaderParameter = {};
4025
4263
  const localVarQueryParameter = {};
4026
4264
  // authentication JWT token required
4027
- yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
4028
- setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
4265
+ yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
4266
+ setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
4029
4267
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4030
4268
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4031
4269
  return {
4032
- url: toPathString$5(localVarUrlObj),
4270
+ url: toPathString$6(localVarUrlObj),
4033
4271
  options: localVarRequestOptions,
4034
4272
  };
4035
4273
  }),
@@ -4046,7 +4284,7 @@ const ProjectApiAxiosParamCreator = function (configuration) {
4046
4284
  const localVarPath = `/Project/invitation/resolve/{invitationToken}`
4047
4285
  .replace(`{${"invitationToken"}}`, encodeURIComponent(String(invitationToken)));
4048
4286
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4049
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
4287
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
4050
4288
  let baseOptions;
4051
4289
  if (configuration) {
4052
4290
  baseOptions = configuration.baseOptions;
@@ -4055,12 +4293,12 @@ const ProjectApiAxiosParamCreator = function (configuration) {
4055
4293
  const localVarHeaderParameter = {};
4056
4294
  const localVarQueryParameter = {};
4057
4295
  // authentication JWT token required
4058
- yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
4059
- setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
4296
+ yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
4297
+ setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
4060
4298
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4061
4299
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4062
4300
  return {
4063
- url: toPathString$5(localVarUrlObj),
4301
+ url: toPathString$6(localVarUrlObj),
4064
4302
  options: localVarRequestOptions,
4065
4303
  };
4066
4304
  }),
@@ -4076,7 +4314,7 @@ const ProjectApiAxiosParamCreator = function (configuration) {
4076
4314
  assertParamExists$4('projectSendInvitation', 'sendInvitationObject', sendInvitationObject);
4077
4315
  const localVarPath = `/Project/invitation`;
4078
4316
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4079
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
4317
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
4080
4318
  let baseOptions;
4081
4319
  if (configuration) {
4082
4320
  baseOptions = configuration.baseOptions;
@@ -4085,14 +4323,14 @@ const ProjectApiAxiosParamCreator = function (configuration) {
4085
4323
  const localVarHeaderParameter = {};
4086
4324
  const localVarQueryParameter = {};
4087
4325
  // authentication JWT token required
4088
- yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
4326
+ yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
4089
4327
  localVarHeaderParameter['Content-Type'] = 'application/json';
4090
- setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
4328
+ setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
4091
4329
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4092
4330
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4093
4331
  localVarRequestOptions.data = serializeDataIfNeeded$3(sendInvitationObject, localVarRequestOptions, configuration);
4094
4332
  return {
4095
- url: toPathString$5(localVarUrlObj),
4333
+ url: toPathString$6(localVarUrlObj),
4096
4334
  options: localVarRequestOptions,
4097
4335
  };
4098
4336
  }),
@@ -4108,7 +4346,7 @@ const ProjectApiAxiosParamCreator = function (configuration) {
4108
4346
  assertParamExists$4('projectStore', 'projectObject', projectObject);
4109
4347
  const localVarPath = `/Project`;
4110
4348
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4111
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
4349
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
4112
4350
  let baseOptions;
4113
4351
  if (configuration) {
4114
4352
  baseOptions = configuration.baseOptions;
@@ -4117,14 +4355,14 @@ const ProjectApiAxiosParamCreator = function (configuration) {
4117
4355
  const localVarHeaderParameter = {};
4118
4356
  const localVarQueryParameter = {};
4119
4357
  // authentication JWT token required
4120
- yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
4358
+ yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
4121
4359
  localVarHeaderParameter['Content-Type'] = 'application/json';
4122
- setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
4360
+ setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
4123
4361
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4124
4362
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4125
4363
  localVarRequestOptions.data = serializeDataIfNeeded$3(projectObject, localVarRequestOptions, configuration);
4126
4364
  return {
4127
- url: toPathString$5(localVarUrlObj),
4365
+ url: toPathString$6(localVarUrlObj),
4128
4366
  options: localVarRequestOptions,
4129
4367
  };
4130
4368
  }),
@@ -4144,7 +4382,7 @@ const ProjectApiAxiosParamCreator = function (configuration) {
4144
4382
  const localVarPath = `/Project/{id}`
4145
4383
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
4146
4384
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4147
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
4385
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
4148
4386
  let baseOptions;
4149
4387
  if (configuration) {
4150
4388
  baseOptions = configuration.baseOptions;
@@ -4153,14 +4391,14 @@ const ProjectApiAxiosParamCreator = function (configuration) {
4153
4391
  const localVarHeaderParameter = {};
4154
4392
  const localVarQueryParameter = {};
4155
4393
  // authentication JWT token required
4156
- yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
4394
+ yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
4157
4395
  localVarHeaderParameter['Content-Type'] = 'application/json';
4158
- setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
4396
+ setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
4159
4397
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4160
4398
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4161
4399
  localVarRequestOptions.data = serializeDataIfNeeded$3(projectObject, localVarRequestOptions, configuration);
4162
4400
  return {
4163
- url: toPathString$5(localVarUrlObj),
4401
+ url: toPathString$6(localVarUrlObj),
4164
4402
  options: localVarRequestOptions,
4165
4403
  };
4166
4404
  }),
@@ -4183,7 +4421,7 @@ const ProjectApiFp = function (configuration) {
4183
4421
  projectCreateApplicationProfile(projectId, options) {
4184
4422
  return __awaiter(this, void 0, void 0, function* () {
4185
4423
  const localVarAxiosArgs = yield localVarAxiosParamCreator.projectCreateApplicationProfile(projectId, options);
4186
- return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
4424
+ return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
4187
4425
  });
4188
4426
  },
4189
4427
  /**
@@ -4196,7 +4434,7 @@ const ProjectApiFp = function (configuration) {
4196
4434
  projectDelete(id, options) {
4197
4435
  return __awaiter(this, void 0, void 0, function* () {
4198
4436
  const localVarAxiosArgs = yield localVarAxiosParamCreator.projectDelete(id, options);
4199
- return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
4437
+ return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
4200
4438
  });
4201
4439
  },
4202
4440
  /**
@@ -4209,7 +4447,7 @@ const ProjectApiFp = function (configuration) {
4209
4447
  projectDeleteInvitation(invitationId, options) {
4210
4448
  return __awaiter(this, void 0, void 0, function* () {
4211
4449
  const localVarAxiosArgs = yield localVarAxiosParamCreator.projectDeleteInvitation(invitationId, options);
4212
- return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
4450
+ return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
4213
4451
  });
4214
4452
  },
4215
4453
  /**
@@ -4222,7 +4460,7 @@ const ProjectApiFp = function (configuration) {
4222
4460
  projectGet(id, options) {
4223
4461
  return __awaiter(this, void 0, void 0, function* () {
4224
4462
  const localVarAxiosArgs = yield localVarAxiosParamCreator.projectGet(id, options);
4225
- return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
4463
+ return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
4226
4464
  });
4227
4465
  },
4228
4466
  /**
@@ -4235,7 +4473,7 @@ const ProjectApiFp = function (configuration) {
4235
4473
  projectGetBySlug(slug, options) {
4236
4474
  return __awaiter(this, void 0, void 0, function* () {
4237
4475
  const localVarAxiosArgs = yield localVarAxiosParamCreator.projectGetBySlug(slug, options);
4238
- return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
4476
+ return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
4239
4477
  });
4240
4478
  },
4241
4479
  /**
@@ -4248,7 +4486,7 @@ const ProjectApiFp = function (configuration) {
4248
4486
  projectGetResources(id, options) {
4249
4487
  return __awaiter(this, void 0, void 0, function* () {
4250
4488
  const localVarAxiosArgs = yield localVarAxiosParamCreator.projectGetResources(id, options);
4251
- return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
4489
+ return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
4252
4490
  });
4253
4491
  },
4254
4492
  /**
@@ -4260,7 +4498,7 @@ const ProjectApiFp = function (configuration) {
4260
4498
  projectGetTopLevelProjects(options) {
4261
4499
  return __awaiter(this, void 0, void 0, function* () {
4262
4500
  const localVarAxiosArgs = yield localVarAxiosParamCreator.projectGetTopLevelProjects(options);
4263
- return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
4501
+ return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
4264
4502
  });
4265
4503
  },
4266
4504
  /**
@@ -4272,7 +4510,7 @@ const ProjectApiFp = function (configuration) {
4272
4510
  projectIndex(options) {
4273
4511
  return __awaiter(this, void 0, void 0, function* () {
4274
4512
  const localVarAxiosArgs = yield localVarAxiosParamCreator.projectIndex(options);
4275
- return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
4513
+ return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
4276
4514
  });
4277
4515
  },
4278
4516
  /**
@@ -4285,7 +4523,7 @@ const ProjectApiFp = function (configuration) {
4285
4523
  projectListInvitations(projectId, options) {
4286
4524
  return __awaiter(this, void 0, void 0, function* () {
4287
4525
  const localVarAxiosArgs = yield localVarAxiosParamCreator.projectListInvitations(projectId, options);
4288
- return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
4526
+ return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
4289
4527
  });
4290
4528
  },
4291
4529
  /**
@@ -4298,7 +4536,7 @@ const ProjectApiFp = function (configuration) {
4298
4536
  projectResolveInvitation(invitationToken, options) {
4299
4537
  return __awaiter(this, void 0, void 0, function* () {
4300
4538
  const localVarAxiosArgs = yield localVarAxiosParamCreator.projectResolveInvitation(invitationToken, options);
4301
- return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
4539
+ return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
4302
4540
  });
4303
4541
  },
4304
4542
  /**
@@ -4311,7 +4549,7 @@ const ProjectApiFp = function (configuration) {
4311
4549
  projectSendInvitation(sendInvitationObject, options) {
4312
4550
  return __awaiter(this, void 0, void 0, function* () {
4313
4551
  const localVarAxiosArgs = yield localVarAxiosParamCreator.projectSendInvitation(sendInvitationObject, options);
4314
- return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
4552
+ return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
4315
4553
  });
4316
4554
  },
4317
4555
  /**
@@ -4324,7 +4562,7 @@ const ProjectApiFp = function (configuration) {
4324
4562
  projectStore(projectObject, options) {
4325
4563
  return __awaiter(this, void 0, void 0, function* () {
4326
4564
  const localVarAxiosArgs = yield localVarAxiosParamCreator.projectStore(projectObject, options);
4327
- return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
4565
+ return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
4328
4566
  });
4329
4567
  },
4330
4568
  /**
@@ -4338,7 +4576,7 @@ const ProjectApiFp = function (configuration) {
4338
4576
  projectUpdate(id, projectObject, options) {
4339
4577
  return __awaiter(this, void 0, void 0, function* () {
4340
4578
  const localVarAxiosArgs = yield localVarAxiosParamCreator.projectUpdate(id, projectObject, options);
4341
- return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
4579
+ return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
4342
4580
  });
4343
4581
  },
4344
4582
  };
@@ -4504,7 +4742,7 @@ const ProjectQuotaApiAxiosParamCreator = function (configuration) {
4504
4742
  .replace(`{${"id"}}`, encodeURIComponent(String(id)))
4505
4743
  .replace(`{${"resourceTypeId"}}`, encodeURIComponent(String(resourceTypeId)));
4506
4744
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4507
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
4745
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
4508
4746
  let baseOptions;
4509
4747
  if (configuration) {
4510
4748
  baseOptions = configuration.baseOptions;
@@ -4513,12 +4751,12 @@ const ProjectQuotaApiAxiosParamCreator = function (configuration) {
4513
4751
  const localVarHeaderParameter = {};
4514
4752
  const localVarQueryParameter = {};
4515
4753
  // authentication JWT token required
4516
- yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
4517
- setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
4754
+ yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
4755
+ setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
4518
4756
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4519
4757
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4520
4758
  return {
4521
- url: toPathString$5(localVarUrlObj),
4759
+ url: toPathString$6(localVarUrlObj),
4522
4760
  options: localVarRequestOptions,
4523
4761
  };
4524
4762
  }),
@@ -4535,7 +4773,7 @@ const ProjectQuotaApiAxiosParamCreator = function (configuration) {
4535
4773
  const localVarPath = `/ProjectQuota/{id}/-/all`
4536
4774
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
4537
4775
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4538
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
4776
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
4539
4777
  let baseOptions;
4540
4778
  if (configuration) {
4541
4779
  baseOptions = configuration.baseOptions;
@@ -4544,12 +4782,12 @@ const ProjectQuotaApiAxiosParamCreator = function (configuration) {
4544
4782
  const localVarHeaderParameter = {};
4545
4783
  const localVarQueryParameter = {};
4546
4784
  // authentication JWT token required
4547
- yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
4548
- setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
4785
+ yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
4786
+ setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
4549
4787
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4550
4788
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4551
4789
  return {
4552
- url: toPathString$5(localVarUrlObj),
4790
+ url: toPathString$6(localVarUrlObj),
4553
4791
  options: localVarRequestOptions,
4554
4792
  };
4555
4793
  }),
@@ -4573,7 +4811,7 @@ const ProjectQuotaApiAxiosParamCreator = function (configuration) {
4573
4811
  .replace(`{${"id"}}`, encodeURIComponent(String(id)))
4574
4812
  .replace(`{${"resourceTypeId"}}`, encodeURIComponent(String(resourceTypeId)));
4575
4813
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4576
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
4814
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
4577
4815
  let baseOptions;
4578
4816
  if (configuration) {
4579
4817
  baseOptions = configuration.baseOptions;
@@ -4582,14 +4820,14 @@ const ProjectQuotaApiAxiosParamCreator = function (configuration) {
4582
4820
  const localVarHeaderParameter = {};
4583
4821
  const localVarQueryParameter = {};
4584
4822
  // authentication JWT token required
4585
- yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
4823
+ yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
4586
4824
  localVarHeaderParameter['Content-Type'] = 'application/json';
4587
- setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
4825
+ setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
4588
4826
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4589
4827
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4590
4828
  localVarRequestOptions.data = serializeDataIfNeeded$3(updateProjectQuotaObject, localVarRequestOptions, configuration);
4591
4829
  return {
4592
- url: toPathString$5(localVarUrlObj),
4830
+ url: toPathString$6(localVarUrlObj),
4593
4831
  options: localVarRequestOptions,
4594
4832
  };
4595
4833
  }),
@@ -4613,7 +4851,7 @@ const ProjectQuotaApiFp = function (configuration) {
4613
4851
  projectQuotaQuota(id, resourceTypeId, options) {
4614
4852
  return __awaiter(this, void 0, void 0, function* () {
4615
4853
  const localVarAxiosArgs = yield localVarAxiosParamCreator.projectQuotaQuota(id, resourceTypeId, options);
4616
- return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
4854
+ return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
4617
4855
  });
4618
4856
  },
4619
4857
  /**
@@ -4626,7 +4864,7 @@ const ProjectQuotaApiFp = function (configuration) {
4626
4864
  projectQuotaQuotas(id, options) {
4627
4865
  return __awaiter(this, void 0, void 0, function* () {
4628
4866
  const localVarAxiosArgs = yield localVarAxiosParamCreator.projectQuotaQuotas(id, options);
4629
- return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
4867
+ return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
4630
4868
  });
4631
4869
  },
4632
4870
  /**
@@ -4641,7 +4879,7 @@ const ProjectQuotaApiFp = function (configuration) {
4641
4879
  projectQuotaUpdateQuota(id, resourceTypeId, updateProjectQuotaObject, options) {
4642
4880
  return __awaiter(this, void 0, void 0, function* () {
4643
4881
  const localVarAxiosArgs = yield localVarAxiosParamCreator.projectQuotaUpdateQuota(id, resourceTypeId, updateProjectQuotaObject, options);
4644
- return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
4882
+ return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
4645
4883
  });
4646
4884
  },
4647
4885
  };
@@ -4715,7 +4953,7 @@ const ProjectRoleApiAxiosParamCreator = function (configuration) {
4715
4953
  .replace(`{${"userId"}}`, encodeURIComponent(String(userId)))
4716
4954
  .replace(`{${"roleId"}}`, encodeURIComponent(String(roleId)));
4717
4955
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4718
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
4956
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
4719
4957
  let baseOptions;
4720
4958
  if (configuration) {
4721
4959
  baseOptions = configuration.baseOptions;
@@ -4724,12 +4962,12 @@ const ProjectRoleApiAxiosParamCreator = function (configuration) {
4724
4962
  const localVarHeaderParameter = {};
4725
4963
  const localVarQueryParameter = {};
4726
4964
  // authentication JWT token required
4727
- yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
4728
- setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
4965
+ yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
4966
+ setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
4729
4967
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4730
4968
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4731
4969
  return {
4732
- url: toPathString$5(localVarUrlObj),
4970
+ url: toPathString$6(localVarUrlObj),
4733
4971
  options: localVarRequestOptions,
4734
4972
  };
4735
4973
  }),
@@ -4746,7 +4984,7 @@ const ProjectRoleApiAxiosParamCreator = function (configuration) {
4746
4984
  const localVarPath = `/ProjectRole/project/{projectId}/user`
4747
4985
  .replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
4748
4986
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4749
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
4987
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
4750
4988
  let baseOptions;
4751
4989
  if (configuration) {
4752
4990
  baseOptions = configuration.baseOptions;
@@ -4755,12 +4993,12 @@ const ProjectRoleApiAxiosParamCreator = function (configuration) {
4755
4993
  const localVarHeaderParameter = {};
4756
4994
  const localVarQueryParameter = {};
4757
4995
  // authentication JWT token required
4758
- yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
4759
- setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
4996
+ yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
4997
+ setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
4760
4998
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4761
4999
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4762
5000
  return {
4763
- url: toPathString$5(localVarUrlObj),
5001
+ url: toPathString$6(localVarUrlObj),
4764
5002
  options: localVarRequestOptions,
4765
5003
  };
4766
5004
  }),
@@ -4777,7 +5015,7 @@ const ProjectRoleApiAxiosParamCreator = function (configuration) {
4777
5015
  const localVarPath = `/ProjectRole/project/{projectId}`
4778
5016
  .replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
4779
5017
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4780
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
5018
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
4781
5019
  let baseOptions;
4782
5020
  if (configuration) {
4783
5021
  baseOptions = configuration.baseOptions;
@@ -4786,12 +5024,12 @@ const ProjectRoleApiAxiosParamCreator = function (configuration) {
4786
5024
  const localVarHeaderParameter = {};
4787
5025
  const localVarQueryParameter = {};
4788
5026
  // authentication JWT token required
4789
- yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
4790
- setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
5027
+ yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
5028
+ setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
4791
5029
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4792
5030
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4793
5031
  return {
4794
- url: toPathString$5(localVarUrlObj),
5032
+ url: toPathString$6(localVarUrlObj),
4795
5033
  options: localVarRequestOptions,
4796
5034
  };
4797
5035
  }),
@@ -4808,7 +5046,7 @@ const ProjectRoleApiAxiosParamCreator = function (configuration) {
4808
5046
  const localVarPath = `/ProjectRole/{projectId}`
4809
5047
  .replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
4810
5048
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4811
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
5049
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
4812
5050
  let baseOptions;
4813
5051
  if (configuration) {
4814
5052
  baseOptions = configuration.baseOptions;
@@ -4817,12 +5055,12 @@ const ProjectRoleApiAxiosParamCreator = function (configuration) {
4817
5055
  const localVarHeaderParameter = {};
4818
5056
  const localVarQueryParameter = {};
4819
5057
  // authentication JWT token required
4820
- yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
4821
- setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
5058
+ yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
5059
+ setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
4822
5060
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4823
5061
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4824
5062
  return {
4825
- url: toPathString$5(localVarUrlObj),
5063
+ url: toPathString$6(localVarUrlObj),
4826
5064
  options: localVarRequestOptions,
4827
5065
  };
4828
5066
  }),
@@ -4838,7 +5076,7 @@ const ProjectRoleApiAxiosParamCreator = function (configuration) {
4838
5076
  assertParamExists$4('projectRoleSet', 'projectRoleObject', projectRoleObject);
4839
5077
  const localVarPath = `/ProjectRole`;
4840
5078
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4841
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
5079
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
4842
5080
  let baseOptions;
4843
5081
  if (configuration) {
4844
5082
  baseOptions = configuration.baseOptions;
@@ -4847,14 +5085,14 @@ const ProjectRoleApiAxiosParamCreator = function (configuration) {
4847
5085
  const localVarHeaderParameter = {};
4848
5086
  const localVarQueryParameter = {};
4849
5087
  // authentication JWT token required
4850
- yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
5088
+ yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
4851
5089
  localVarHeaderParameter['Content-Type'] = 'application/json';
4852
- setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
5090
+ setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
4853
5091
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4854
5092
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4855
5093
  localVarRequestOptions.data = serializeDataIfNeeded$3(projectRoleObject, localVarRequestOptions, configuration);
4856
5094
  return {
4857
- url: toPathString$5(localVarUrlObj),
5095
+ url: toPathString$6(localVarUrlObj),
4858
5096
  options: localVarRequestOptions,
4859
5097
  };
4860
5098
  }),
@@ -4879,7 +5117,7 @@ const ProjectRoleApiFp = function (configuration) {
4879
5117
  projectRoleDelete(projectId, userId, roleId, options) {
4880
5118
  return __awaiter(this, void 0, void 0, function* () {
4881
5119
  const localVarAxiosArgs = yield localVarAxiosParamCreator.projectRoleDelete(projectId, userId, roleId, options);
4882
- return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
5120
+ return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
4883
5121
  });
4884
5122
  },
4885
5123
  /**
@@ -4892,7 +5130,7 @@ const ProjectRoleApiFp = function (configuration) {
4892
5130
  projectRoleDelete2(projectId, options) {
4893
5131
  return __awaiter(this, void 0, void 0, function* () {
4894
5132
  const localVarAxiosArgs = yield localVarAxiosParamCreator.projectRoleDelete2(projectId, options);
4895
- return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
5133
+ return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
4896
5134
  });
4897
5135
  },
4898
5136
  /**
@@ -4905,7 +5143,7 @@ const ProjectRoleApiFp = function (configuration) {
4905
5143
  projectRoleGet(projectId, options) {
4906
5144
  return __awaiter(this, void 0, void 0, function* () {
4907
5145
  const localVarAxiosArgs = yield localVarAxiosParamCreator.projectRoleGet(projectId, options);
4908
- return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
5146
+ return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
4909
5147
  });
4910
5148
  },
4911
5149
  /**
@@ -4918,7 +5156,7 @@ const ProjectRoleApiFp = function (configuration) {
4918
5156
  projectRoleIndex(projectId, options) {
4919
5157
  return __awaiter(this, void 0, void 0, function* () {
4920
5158
  const localVarAxiosArgs = yield localVarAxiosParamCreator.projectRoleIndex(projectId, options);
4921
- return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
5159
+ return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
4922
5160
  });
4923
5161
  },
4924
5162
  /**
@@ -4931,7 +5169,7 @@ const ProjectRoleApiFp = function (configuration) {
4931
5169
  projectRoleSet(projectRoleObject, options) {
4932
5170
  return __awaiter(this, void 0, void 0, function* () {
4933
5171
  const localVarAxiosArgs = yield localVarAxiosParamCreator.projectRoleSet(projectRoleObject, options);
4934
- return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
5172
+ return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
4935
5173
  });
4936
5174
  },
4937
5175
  };
@@ -5012,7 +5250,7 @@ const RoleApiAxiosParamCreator = function (configuration) {
5012
5250
  roleIndex: (options = {}) => __awaiter(this, void 0, void 0, function* () {
5013
5251
  const localVarPath = `/Role`;
5014
5252
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5015
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
5253
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
5016
5254
  let baseOptions;
5017
5255
  if (configuration) {
5018
5256
  baseOptions = configuration.baseOptions;
@@ -5021,12 +5259,12 @@ const RoleApiAxiosParamCreator = function (configuration) {
5021
5259
  const localVarHeaderParameter = {};
5022
5260
  const localVarQueryParameter = {};
5023
5261
  // authentication JWT token required
5024
- yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
5025
- setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
5262
+ yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
5263
+ setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
5026
5264
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5027
5265
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
5028
5266
  return {
5029
- url: toPathString$5(localVarUrlObj),
5267
+ url: toPathString$6(localVarUrlObj),
5030
5268
  options: localVarRequestOptions,
5031
5269
  };
5032
5270
  }),
@@ -5048,7 +5286,7 @@ const RoleApiFp = function (configuration) {
5048
5286
  roleIndex(options) {
5049
5287
  return __awaiter(this, void 0, void 0, function* () {
5050
5288
  const localVarAxiosArgs = yield localVarAxiosParamCreator.roleIndex(options);
5051
- return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
5289
+ return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
5052
5290
  });
5053
5291
  },
5054
5292
  };
@@ -5090,7 +5328,7 @@ const SubProjectApiAxiosParamCreator = function (configuration) {
5090
5328
  const localVarPath = `/SubProject/{parentId}`
5091
5329
  .replace(`{${"parentId"}}`, encodeURIComponent(String(parentId)));
5092
5330
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5093
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
5331
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
5094
5332
  let baseOptions;
5095
5333
  if (configuration) {
5096
5334
  baseOptions = configuration.baseOptions;
@@ -5099,12 +5337,12 @@ const SubProjectApiAxiosParamCreator = function (configuration) {
5099
5337
  const localVarHeaderParameter = {};
5100
5338
  const localVarQueryParameter = {};
5101
5339
  // authentication JWT token required
5102
- yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
5103
- setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
5340
+ yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
5341
+ setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
5104
5342
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5105
5343
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
5106
5344
  return {
5107
- url: toPathString$5(localVarUrlObj),
5345
+ url: toPathString$6(localVarUrlObj),
5108
5346
  options: localVarRequestOptions,
5109
5347
  };
5110
5348
  }),
@@ -5121,7 +5359,7 @@ const SubProjectApiAxiosParamCreator = function (configuration) {
5121
5359
  const localVarPath = `/SubProject/{childId}/accessibleParent`
5122
5360
  .replace(`{${"childId"}}`, encodeURIComponent(String(childId)));
5123
5361
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5124
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
5362
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
5125
5363
  let baseOptions;
5126
5364
  if (configuration) {
5127
5365
  baseOptions = configuration.baseOptions;
@@ -5130,12 +5368,12 @@ const SubProjectApiAxiosParamCreator = function (configuration) {
5130
5368
  const localVarHeaderParameter = {};
5131
5369
  const localVarQueryParameter = {};
5132
5370
  // authentication JWT token required
5133
- yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
5134
- setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
5371
+ yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
5372
+ setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
5135
5373
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5136
5374
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
5137
5375
  return {
5138
- url: toPathString$5(localVarUrlObj),
5376
+ url: toPathString$6(localVarUrlObj),
5139
5377
  options: localVarRequestOptions,
5140
5378
  };
5141
5379
  }),
@@ -5158,7 +5396,7 @@ const SubProjectApiFp = function (configuration) {
5158
5396
  subProjectGet(parentId, options) {
5159
5397
  return __awaiter(this, void 0, void 0, function* () {
5160
5398
  const localVarAxiosArgs = yield localVarAxiosParamCreator.subProjectGet(parentId, options);
5161
- return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
5399
+ return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
5162
5400
  });
5163
5401
  },
5164
5402
  /**
@@ -5171,7 +5409,7 @@ const SubProjectApiFp = function (configuration) {
5171
5409
  subProjectGetAccessibleParent(childId, options) {
5172
5410
  return __awaiter(this, void 0, void 0, function* () {
5173
5411
  const localVarAxiosArgs = yield localVarAxiosParamCreator.subProjectGetAccessibleParent(childId, options);
5174
- return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
5412
+ return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
5175
5413
  });
5176
5414
  },
5177
5415
  };
@@ -5220,7 +5458,7 @@ const VisibilityApiAxiosParamCreator = function (configuration) {
5220
5458
  visibilityIndex: (options = {}) => __awaiter(this, void 0, void 0, function* () {
5221
5459
  const localVarPath = `/Visibility`;
5222
5460
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5223
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
5461
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
5224
5462
  let baseOptions;
5225
5463
  if (configuration) {
5226
5464
  baseOptions = configuration.baseOptions;
@@ -5229,12 +5467,12 @@ const VisibilityApiAxiosParamCreator = function (configuration) {
5229
5467
  const localVarHeaderParameter = {};
5230
5468
  const localVarQueryParameter = {};
5231
5469
  // authentication JWT token required
5232
- yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
5233
- setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
5470
+ yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
5471
+ setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
5234
5472
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5235
5473
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
5236
5474
  return {
5237
- url: toPathString$5(localVarUrlObj),
5475
+ url: toPathString$6(localVarUrlObj),
5238
5476
  options: localVarRequestOptions,
5239
5477
  };
5240
5478
  }),
@@ -5256,7 +5494,7 @@ const VisibilityApiFp = function (configuration) {
5256
5494
  visibilityIndex(options) {
5257
5495
  return __awaiter(this, void 0, void 0, function* () {
5258
5496
  const localVarAxiosArgs = yield localVarAxiosParamCreator.visibilityIndex(options);
5259
- return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
5497
+ return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
5260
5498
  });
5261
5499
  },
5262
5500
  };
@@ -5281,7 +5519,7 @@ const VisibilityApiFactory = function (configuration, basePath, axios) {
5281
5519
  };
5282
5520
 
5283
5521
  /* tslint:disable */
5284
- const BASE_PATH$4 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Resources".replace(/\/+$/, "");
5522
+ const BASE_PATH$5 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Resources".replace(/\/+$/, "");
5285
5523
  /**
5286
5524
  *
5287
5525
  * @export
@@ -5301,7 +5539,7 @@ class RequiredError$3 extends Error {
5301
5539
  *
5302
5540
  * @export
5303
5541
  */
5304
- const DUMMY_BASE_URL$4 = 'https://example.com';
5542
+ const DUMMY_BASE_URL$5 = 'https://example.com';
5305
5543
  /**
5306
5544
  *
5307
5545
  * @throws {RequiredError}
@@ -5316,7 +5554,7 @@ const assertParamExists$3 = function (functionName, paramName, paramValue) {
5316
5554
  *
5317
5555
  * @export
5318
5556
  */
5319
- const setApiKeyToObject$4 = function (object, keyParamName, configuration) {
5557
+ const setApiKeyToObject$5 = function (object, keyParamName, configuration) {
5320
5558
  return __awaiter(this, void 0, void 0, function* () {
5321
5559
  if (configuration && configuration.apiKey) {
5322
5560
  const localVarApiKeyValue = typeof configuration.apiKey === 'function'
@@ -5330,7 +5568,7 @@ const setApiKeyToObject$4 = function (object, keyParamName, configuration) {
5330
5568
  *
5331
5569
  * @export
5332
5570
  */
5333
- const setSearchParams$4 = function (url, ...objects) {
5571
+ const setSearchParams$5 = function (url, ...objects) {
5334
5572
  const searchParams = new URLSearchParams(url.search);
5335
5573
  for (const object of objects) {
5336
5574
  for (const key in object) {
@@ -5364,14 +5602,14 @@ const serializeDataIfNeeded$2 = function (value, requestOptions, configuration)
5364
5602
  *
5365
5603
  * @export
5366
5604
  */
5367
- const toPathString$4 = function (url) {
5605
+ const toPathString$5 = function (url) {
5368
5606
  return url.pathname + url.search + url.hash;
5369
5607
  };
5370
5608
  /**
5371
5609
  *
5372
5610
  * @export
5373
5611
  */
5374
- const createRequestFunction$4 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
5612
+ const createRequestFunction$5 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
5375
5613
  return (axios = globalAxios, basePath = BASE_PATH) => {
5376
5614
  const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
5377
5615
  return axios.request(axiosRequestArgs);
@@ -5422,7 +5660,7 @@ const ResourceApiAxiosParamCreator = function (configuration) {
5422
5660
  const localVarPath = `/Resource/{id}`
5423
5661
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
5424
5662
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5425
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$4);
5663
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
5426
5664
  let baseOptions;
5427
5665
  if (configuration) {
5428
5666
  baseOptions = configuration.baseOptions;
@@ -5431,12 +5669,12 @@ const ResourceApiAxiosParamCreator = function (configuration) {
5431
5669
  const localVarHeaderParameter = {};
5432
5670
  const localVarQueryParameter = {};
5433
5671
  // authentication JWT token required
5434
- yield setApiKeyToObject$4(localVarHeaderParameter, "Authorization", configuration);
5435
- setSearchParams$4(localVarUrlObj, localVarQueryParameter, options.query);
5672
+ yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
5673
+ setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
5436
5674
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5437
5675
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
5438
5676
  return {
5439
- url: toPathString$4(localVarUrlObj),
5677
+ url: toPathString$5(localVarUrlObj),
5440
5678
  options: localVarRequestOptions,
5441
5679
  };
5442
5680
  }),
@@ -5453,7 +5691,7 @@ const ResourceApiAxiosParamCreator = function (configuration) {
5453
5691
  const localVarPath = `/Resource/{id}`
5454
5692
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
5455
5693
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5456
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$4);
5694
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
5457
5695
  let baseOptions;
5458
5696
  if (configuration) {
5459
5697
  baseOptions = configuration.baseOptions;
@@ -5462,12 +5700,12 @@ const ResourceApiAxiosParamCreator = function (configuration) {
5462
5700
  const localVarHeaderParameter = {};
5463
5701
  const localVarQueryParameter = {};
5464
5702
  // authentication JWT token required
5465
- yield setApiKeyToObject$4(localVarHeaderParameter, "Authorization", configuration);
5466
- setSearchParams$4(localVarUrlObj, localVarQueryParameter, options.query);
5703
+ yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
5704
+ setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
5467
5705
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5468
5706
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
5469
5707
  return {
5470
- url: toPathString$4(localVarUrlObj),
5708
+ url: toPathString$5(localVarUrlObj),
5471
5709
  options: localVarRequestOptions,
5472
5710
  };
5473
5711
  }),
@@ -5480,7 +5718,7 @@ const ResourceApiAxiosParamCreator = function (configuration) {
5480
5718
  resourceIndex: (options = {}) => __awaiter(this, void 0, void 0, function* () {
5481
5719
  const localVarPath = `/Resource`;
5482
5720
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5483
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$4);
5721
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
5484
5722
  let baseOptions;
5485
5723
  if (configuration) {
5486
5724
  baseOptions = configuration.baseOptions;
@@ -5489,12 +5727,12 @@ const ResourceApiAxiosParamCreator = function (configuration) {
5489
5727
  const localVarHeaderParameter = {};
5490
5728
  const localVarQueryParameter = {};
5491
5729
  // authentication JWT token required
5492
- yield setApiKeyToObject$4(localVarHeaderParameter, "Authorization", configuration);
5493
- setSearchParams$4(localVarUrlObj, localVarQueryParameter, options.query);
5730
+ yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
5731
+ setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
5494
5732
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5495
5733
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
5496
5734
  return {
5497
- url: toPathString$4(localVarUrlObj),
5735
+ url: toPathString$5(localVarUrlObj),
5498
5736
  options: localVarRequestOptions,
5499
5737
  };
5500
5738
  }),
@@ -5511,7 +5749,7 @@ const ResourceApiAxiosParamCreator = function (configuration) {
5511
5749
  const localVarPath = `/Resource/{id}/isCreator`
5512
5750
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
5513
5751
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5514
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$4);
5752
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
5515
5753
  let baseOptions;
5516
5754
  if (configuration) {
5517
5755
  baseOptions = configuration.baseOptions;
@@ -5520,12 +5758,12 @@ const ResourceApiAxiosParamCreator = function (configuration) {
5520
5758
  const localVarHeaderParameter = {};
5521
5759
  const localVarQueryParameter = {};
5522
5760
  // authentication JWT token required
5523
- yield setApiKeyToObject$4(localVarHeaderParameter, "Authorization", configuration);
5524
- setSearchParams$4(localVarUrlObj, localVarQueryParameter, options.query);
5761
+ yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
5762
+ setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
5525
5763
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5526
5764
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
5527
5765
  return {
5528
- url: toPathString$4(localVarUrlObj),
5766
+ url: toPathString$5(localVarUrlObj),
5529
5767
  options: localVarRequestOptions,
5530
5768
  };
5531
5769
  }),
@@ -5543,7 +5781,7 @@ const ResourceApiAxiosParamCreator = function (configuration) {
5543
5781
  const localVarPath = `/Resource/{id}/setReadonly`
5544
5782
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
5545
5783
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5546
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$4);
5784
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
5547
5785
  let baseOptions;
5548
5786
  if (configuration) {
5549
5787
  baseOptions = configuration.baseOptions;
@@ -5552,15 +5790,15 @@ const ResourceApiAxiosParamCreator = function (configuration) {
5552
5790
  const localVarHeaderParameter = {};
5553
5791
  const localVarQueryParameter = {};
5554
5792
  // authentication JWT token required
5555
- yield setApiKeyToObject$4(localVarHeaderParameter, "Authorization", configuration);
5793
+ yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
5556
5794
  if (status !== undefined) {
5557
5795
  localVarQueryParameter['status'] = status;
5558
5796
  }
5559
- setSearchParams$4(localVarUrlObj, localVarQueryParameter, options.query);
5797
+ setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
5560
5798
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5561
5799
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
5562
5800
  return {
5563
- url: toPathString$4(localVarUrlObj),
5801
+ url: toPathString$5(localVarUrlObj),
5564
5802
  options: localVarRequestOptions,
5565
5803
  };
5566
5804
  }),
@@ -5580,7 +5818,7 @@ const ResourceApiAxiosParamCreator = function (configuration) {
5580
5818
  const localVarPath = `/Resource/project/{projectId}`
5581
5819
  .replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
5582
5820
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5583
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$4);
5821
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
5584
5822
  let baseOptions;
5585
5823
  if (configuration) {
5586
5824
  baseOptions = configuration.baseOptions;
@@ -5589,14 +5827,14 @@ const ResourceApiAxiosParamCreator = function (configuration) {
5589
5827
  const localVarHeaderParameter = {};
5590
5828
  const localVarQueryParameter = {};
5591
5829
  // authentication JWT token required
5592
- yield setApiKeyToObject$4(localVarHeaderParameter, "Authorization", configuration);
5830
+ yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
5593
5831
  localVarHeaderParameter['Content-Type'] = 'application/json';
5594
- setSearchParams$4(localVarUrlObj, localVarQueryParameter, options.query);
5832
+ setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
5595
5833
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5596
5834
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
5597
5835
  localVarRequestOptions.data = serializeDataIfNeeded$2(resourceObject, localVarRequestOptions, configuration);
5598
5836
  return {
5599
- url: toPathString$4(localVarUrlObj),
5837
+ url: toPathString$5(localVarUrlObj),
5600
5838
  options: localVarRequestOptions,
5601
5839
  };
5602
5840
  }),
@@ -5616,7 +5854,7 @@ const ResourceApiAxiosParamCreator = function (configuration) {
5616
5854
  const localVarPath = `/Resource/{id}`
5617
5855
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
5618
5856
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5619
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$4);
5857
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
5620
5858
  let baseOptions;
5621
5859
  if (configuration) {
5622
5860
  baseOptions = configuration.baseOptions;
@@ -5625,14 +5863,14 @@ const ResourceApiAxiosParamCreator = function (configuration) {
5625
5863
  const localVarHeaderParameter = {};
5626
5864
  const localVarQueryParameter = {};
5627
5865
  // authentication JWT token required
5628
- yield setApiKeyToObject$4(localVarHeaderParameter, "Authorization", configuration);
5866
+ yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
5629
5867
  localVarHeaderParameter['Content-Type'] = 'application/json';
5630
- setSearchParams$4(localVarUrlObj, localVarQueryParameter, options.query);
5868
+ setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
5631
5869
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5632
5870
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
5633
5871
  localVarRequestOptions.data = serializeDataIfNeeded$2(resourceObject, localVarRequestOptions, configuration);
5634
5872
  return {
5635
- url: toPathString$4(localVarUrlObj),
5873
+ url: toPathString$5(localVarUrlObj),
5636
5874
  options: localVarRequestOptions,
5637
5875
  };
5638
5876
  }),
@@ -5655,7 +5893,7 @@ const ResourceApiFp = function (configuration) {
5655
5893
  resourceDelete(id, options) {
5656
5894
  return __awaiter(this, void 0, void 0, function* () {
5657
5895
  const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceDelete(id, options);
5658
- return createRequestFunction$4(localVarAxiosArgs, axios, BASE_PATH$4, configuration);
5896
+ return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
5659
5897
  });
5660
5898
  },
5661
5899
  /**
@@ -5668,7 +5906,7 @@ const ResourceApiFp = function (configuration) {
5668
5906
  resourceGet(id, options) {
5669
5907
  return __awaiter(this, void 0, void 0, function* () {
5670
5908
  const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceGet(id, options);
5671
- return createRequestFunction$4(localVarAxiosArgs, axios, BASE_PATH$4, configuration);
5909
+ return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
5672
5910
  });
5673
5911
  },
5674
5912
  /**
@@ -5680,7 +5918,7 @@ const ResourceApiFp = function (configuration) {
5680
5918
  resourceIndex(options) {
5681
5919
  return __awaiter(this, void 0, void 0, function* () {
5682
5920
  const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceIndex(options);
5683
- return createRequestFunction$4(localVarAxiosArgs, axios, BASE_PATH$4, configuration);
5921
+ return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
5684
5922
  });
5685
5923
  },
5686
5924
  /**
@@ -5693,7 +5931,7 @@ const ResourceApiFp = function (configuration) {
5693
5931
  resourceIsUserResourceCreator(id, options) {
5694
5932
  return __awaiter(this, void 0, void 0, function* () {
5695
5933
  const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceIsUserResourceCreator(id, options);
5696
- return createRequestFunction$4(localVarAxiosArgs, axios, BASE_PATH$4, configuration);
5934
+ return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
5697
5935
  });
5698
5936
  },
5699
5937
  /**
@@ -5707,7 +5945,7 @@ const ResourceApiFp = function (configuration) {
5707
5945
  resourceSetResourceReadonly(id, status, options) {
5708
5946
  return __awaiter(this, void 0, void 0, function* () {
5709
5947
  const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceSetResourceReadonly(id, status, options);
5710
- return createRequestFunction$4(localVarAxiosArgs, axios, BASE_PATH$4, configuration);
5948
+ return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
5711
5949
  });
5712
5950
  },
5713
5951
  /**
@@ -5721,7 +5959,7 @@ const ResourceApiFp = function (configuration) {
5721
5959
  resourceStoreToProject(projectId, resourceObject, options) {
5722
5960
  return __awaiter(this, void 0, void 0, function* () {
5723
5961
  const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceStoreToProject(projectId, resourceObject, options);
5724
- return createRequestFunction$4(localVarAxiosArgs, axios, BASE_PATH$4, configuration);
5962
+ return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
5725
5963
  });
5726
5964
  },
5727
5965
  /**
@@ -5735,7 +5973,7 @@ const ResourceApiFp = function (configuration) {
5735
5973
  resourceUpdate(id, resourceObject, options) {
5736
5974
  return __awaiter(this, void 0, void 0, function* () {
5737
5975
  const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceUpdate(id, resourceObject, options);
5738
- return createRequestFunction$4(localVarAxiosArgs, axios, BASE_PATH$4, configuration);
5976
+ return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
5739
5977
  });
5740
5978
  },
5741
5979
  };
@@ -5840,7 +6078,7 @@ const ResourceQuotaApiAxiosParamCreator = function (configuration) {
5840
6078
  const localVarPath = `/ResourceQuota/{id}`
5841
6079
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
5842
6080
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5843
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$4);
6081
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
5844
6082
  let baseOptions;
5845
6083
  if (configuration) {
5846
6084
  baseOptions = configuration.baseOptions;
@@ -5849,12 +6087,12 @@ const ResourceQuotaApiAxiosParamCreator = function (configuration) {
5849
6087
  const localVarHeaderParameter = {};
5850
6088
  const localVarQueryParameter = {};
5851
6089
  // authentication JWT token required
5852
- yield setApiKeyToObject$4(localVarHeaderParameter, "Authorization", configuration);
5853
- setSearchParams$4(localVarUrlObj, localVarQueryParameter, options.query);
6090
+ yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
6091
+ setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
5854
6092
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5855
6093
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
5856
6094
  return {
5857
- url: toPathString$4(localVarUrlObj),
6095
+ url: toPathString$5(localVarUrlObj),
5858
6096
  options: localVarRequestOptions,
5859
6097
  };
5860
6098
  }),
@@ -5874,7 +6112,7 @@ const ResourceQuotaApiAxiosParamCreator = function (configuration) {
5874
6112
  const localVarPath = `/ResourceQuota/{id}`
5875
6113
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
5876
6114
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5877
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$4);
6115
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
5878
6116
  let baseOptions;
5879
6117
  if (configuration) {
5880
6118
  baseOptions = configuration.baseOptions;
@@ -5883,14 +6121,14 @@ const ResourceQuotaApiAxiosParamCreator = function (configuration) {
5883
6121
  const localVarHeaderParameter = {};
5884
6122
  const localVarQueryParameter = {};
5885
6123
  // authentication JWT token required
5886
- yield setApiKeyToObject$4(localVarHeaderParameter, "Authorization", configuration);
6124
+ yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
5887
6125
  localVarHeaderParameter['Content-Type'] = 'application/json';
5888
- setSearchParams$4(localVarUrlObj, localVarQueryParameter, options.query);
6126
+ setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
5889
6127
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5890
6128
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
5891
6129
  localVarRequestOptions.data = serializeDataIfNeeded$2(updateResourceObject, localVarRequestOptions, configuration);
5892
6130
  return {
5893
- url: toPathString$4(localVarUrlObj),
6131
+ url: toPathString$5(localVarUrlObj),
5894
6132
  options: localVarRequestOptions,
5895
6133
  };
5896
6134
  }),
@@ -5913,7 +6151,7 @@ const ResourceQuotaApiFp = function (configuration) {
5913
6151
  resourceQuotaGetResourceQuota(id, options) {
5914
6152
  return __awaiter(this, void 0, void 0, function* () {
5915
6153
  const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceQuotaGetResourceQuota(id, options);
5916
- return createRequestFunction$4(localVarAxiosArgs, axios, BASE_PATH$4, configuration);
6154
+ return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
5917
6155
  });
5918
6156
  },
5919
6157
  /**
@@ -5927,7 +6165,7 @@ const ResourceQuotaApiFp = function (configuration) {
5927
6165
  resourceQuotaUpdateResourceQuota(id, updateResourceObject, options) {
5928
6166
  return __awaiter(this, void 0, void 0, function* () {
5929
6167
  const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceQuotaUpdateResourceQuota(id, updateResourceObject, options);
5930
- return createRequestFunction$4(localVarAxiosArgs, axios, BASE_PATH$4, configuration);
6168
+ return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
5931
6169
  });
5932
6170
  },
5933
6171
  };
@@ -5977,7 +6215,7 @@ const ResourceTypeApiAxiosParamCreator = function (configuration) {
5977
6215
  resourceTypeGetEnabledResourceTypes: (options = {}) => __awaiter(this, void 0, void 0, function* () {
5978
6216
  const localVarPath = `/ResourceType/types/-/enabled`;
5979
6217
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5980
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$4);
6218
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
5981
6219
  let baseOptions;
5982
6220
  if (configuration) {
5983
6221
  baseOptions = configuration.baseOptions;
@@ -5986,29 +6224,736 @@ const ResourceTypeApiAxiosParamCreator = function (configuration) {
5986
6224
  const localVarHeaderParameter = {};
5987
6225
  const localVarQueryParameter = {};
5988
6226
  // authentication JWT token required
5989
- yield setApiKeyToObject$4(localVarHeaderParameter, "Authorization", configuration);
5990
- setSearchParams$4(localVarUrlObj, localVarQueryParameter, options.query);
6227
+ yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
6228
+ setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
5991
6229
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5992
6230
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
5993
6231
  return {
5994
- url: toPathString$4(localVarUrlObj),
6232
+ url: toPathString$5(localVarUrlObj),
6233
+ options: localVarRequestOptions,
6234
+ };
6235
+ }),
6236
+ /**
6237
+ *
6238
+ * @summary Returns all fields of the specified resource type.
6239
+ * @param {string} id A guid as a string that identifies the resource.
6240
+ * @param {*} [options] Override http request option.
6241
+ * @throws {RequiredError}
6242
+ */
6243
+ resourceTypeGetResourceType: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
6244
+ // verify required parameter 'id' is not null or undefined
6245
+ assertParamExists$3('resourceTypeGetResourceType', 'id', id);
6246
+ const localVarPath = `/ResourceType/types/{id}`
6247
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
6248
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6249
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
6250
+ let baseOptions;
6251
+ if (configuration) {
6252
+ baseOptions = configuration.baseOptions;
6253
+ }
6254
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
6255
+ const localVarHeaderParameter = {};
6256
+ const localVarQueryParameter = {};
6257
+ // authentication JWT token required
6258
+ yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
6259
+ setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
6260
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6261
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6262
+ return {
6263
+ url: toPathString$5(localVarUrlObj),
6264
+ options: localVarRequestOptions,
6265
+ };
6266
+ }),
6267
+ /**
6268
+ *
6269
+ * @summary Returns all resource types.
6270
+ * @param {*} [options] Override http request option.
6271
+ * @throws {RequiredError}
6272
+ */
6273
+ resourceTypeGetResourceTypes: (options = {}) => __awaiter(this, void 0, void 0, function* () {
6274
+ const localVarPath = `/ResourceType/types`;
6275
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6276
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
6277
+ let baseOptions;
6278
+ if (configuration) {
6279
+ baseOptions = configuration.baseOptions;
6280
+ }
6281
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
6282
+ const localVarHeaderParameter = {};
6283
+ const localVarQueryParameter = {};
6284
+ // authentication JWT token required
6285
+ yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
6286
+ setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
6287
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6288
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6289
+ return {
6290
+ url: toPathString$5(localVarUrlObj),
5995
6291
  options: localVarRequestOptions,
5996
6292
  };
5997
6293
  }),
6294
+ };
6295
+ };
6296
+ /**
6297
+ * ResourceTypeApi - functional programming interface
6298
+ * @export
6299
+ */
6300
+ const ResourceTypeApiFp = function (configuration) {
6301
+ const localVarAxiosParamCreator = ResourceTypeApiAxiosParamCreator(configuration);
6302
+ return {
6303
+ /**
6304
+ *
6305
+ * @summary Returns all enabled resource types.
6306
+ * @param {*} [options] Override http request option.
6307
+ * @throws {RequiredError}
6308
+ */
6309
+ resourceTypeGetEnabledResourceTypes(options) {
6310
+ return __awaiter(this, void 0, void 0, function* () {
6311
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceTypeGetEnabledResourceTypes(options);
6312
+ return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
6313
+ });
6314
+ },
6315
+ /**
6316
+ *
6317
+ * @summary Returns all fields of the specified resource type.
6318
+ * @param {string} id A guid as a string that identifies the resource.
6319
+ * @param {*} [options] Override http request option.
6320
+ * @throws {RequiredError}
6321
+ */
6322
+ resourceTypeGetResourceType(id, options) {
6323
+ return __awaiter(this, void 0, void 0, function* () {
6324
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceTypeGetResourceType(id, options);
6325
+ return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
6326
+ });
6327
+ },
6328
+ /**
6329
+ *
6330
+ * @summary Returns all resource types.
6331
+ * @param {*} [options] Override http request option.
6332
+ * @throws {RequiredError}
6333
+ */
6334
+ resourceTypeGetResourceTypes(options) {
6335
+ return __awaiter(this, void 0, void 0, function* () {
6336
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceTypeGetResourceTypes(options);
6337
+ return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
6338
+ });
6339
+ },
6340
+ };
6341
+ };
6342
+ /**
6343
+ * ResourceTypeApi - factory interface
6344
+ * @export
6345
+ */
6346
+ const ResourceTypeApiFactory = function (configuration, basePath, axios) {
6347
+ const localVarFp = ResourceTypeApiFp(configuration);
6348
+ return {
6349
+ /**
6350
+ *
6351
+ * @summary Returns all enabled resource types.
6352
+ * @param {*} [options] Override http request option.
6353
+ * @throws {RequiredError}
6354
+ */
6355
+ resourceTypeGetEnabledResourceTypes(options) {
6356
+ return localVarFp.resourceTypeGetEnabledResourceTypes(options).then((request) => request(axios, basePath));
6357
+ },
6358
+ /**
6359
+ *
6360
+ * @summary Returns all fields of the specified resource type.
6361
+ * @param {string} id A guid as a string that identifies the resource.
6362
+ * @param {*} [options] Override http request option.
6363
+ * @throws {RequiredError}
6364
+ */
6365
+ resourceTypeGetResourceType(id, options) {
6366
+ return localVarFp.resourceTypeGetResourceType(id, options).then((request) => request(axios, basePath));
6367
+ },
6368
+ /**
6369
+ *
6370
+ * @summary Returns all resource types.
6371
+ * @param {*} [options] Override http request option.
6372
+ * @throws {RequiredError}
6373
+ */
6374
+ resourceTypeGetResourceTypes(options) {
6375
+ return localVarFp.resourceTypeGetResourceTypes(options).then((request) => request(axios, basePath));
6376
+ },
6377
+ };
6378
+ };
6379
+
6380
+ /* tslint:disable */
6381
+ const BASE_PATH$4 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Search".replace(/\/+$/, "");
6382
+
6383
+ /* tslint:disable */
6384
+ /**
6385
+ *
6386
+ * @export
6387
+ */
6388
+ const DUMMY_BASE_URL$4 = 'https://example.com';
6389
+ /**
6390
+ *
6391
+ * @export
6392
+ */
6393
+ const setApiKeyToObject$4 = function (object, keyParamName, configuration) {
6394
+ return __awaiter(this, void 0, void 0, function* () {
6395
+ if (configuration && configuration.apiKey) {
6396
+ const localVarApiKeyValue = typeof configuration.apiKey === 'function'
6397
+ ? yield configuration.apiKey(keyParamName)
6398
+ : yield configuration.apiKey;
6399
+ object[keyParamName] = localVarApiKeyValue;
6400
+ }
6401
+ });
6402
+ };
6403
+ /**
6404
+ *
6405
+ * @export
6406
+ */
6407
+ const setSearchParams$4 = function (url, ...objects) {
6408
+ const searchParams = new URLSearchParams(url.search);
6409
+ for (const object of objects) {
6410
+ for (const key in object) {
6411
+ if (Array.isArray(object[key])) {
6412
+ searchParams.delete(key);
6413
+ for (const item of object[key]) {
6414
+ searchParams.append(key, item);
6415
+ }
6416
+ }
6417
+ else {
6418
+ searchParams.set(key, object[key]);
6419
+ }
6420
+ }
6421
+ }
6422
+ url.search = searchParams.toString();
6423
+ };
6424
+ /**
6425
+ *
6426
+ * @export
6427
+ */
6428
+ const toPathString$4 = function (url) {
6429
+ return url.pathname + url.search + url.hash;
6430
+ };
6431
+ /**
6432
+ *
6433
+ * @export
6434
+ */
6435
+ const createRequestFunction$4 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
6436
+ return (axios = globalAxios, basePath = BASE_PATH) => {
6437
+ const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
6438
+ return axios.request(axiosRequestArgs);
6439
+ };
6440
+ };
6441
+
6442
+ /* tslint:disable */
6443
+ /**
6444
+ *
6445
+ * @export
6446
+ * @enum {string}
6447
+ */
6448
+ var ItemType;
6449
+ (function (ItemType) {
6450
+ ItemType["Metadata"] = "Metadata";
6451
+ ItemType["Project"] = "Project";
6452
+ ItemType["Resource"] = "Resource";
6453
+ })(ItemType || (ItemType = {}));
6454
+ /**
6455
+ * SearchApi - axios parameter creator
6456
+ * @export
6457
+ */
6458
+ const SearchApiAxiosParamCreator = function (configuration) {
6459
+ return {
6460
+ /**
6461
+ *
6462
+ * @summary Search Elasticsearch
6463
+ * @param {string} [query] Elasticsearch query
6464
+ * @param {boolean} [user] Specify user or only public metadata records could be found
6465
+ * @param {boolean} [adv] Set true for advanced Elasticsearch search syntax
6466
+ * @param {Array<string>} [languages] Set the used languages
6467
+ * @param {*} [options] Override http request option.
6468
+ * @throws {RequiredError}
6469
+ */
6470
+ searchSearch: (query, user, adv, languages, options = {}) => __awaiter(this, void 0, void 0, function* () {
6471
+ const localVarPath = `/Search`;
6472
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6473
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$4);
6474
+ let baseOptions;
6475
+ if (configuration) {
6476
+ baseOptions = configuration.baseOptions;
6477
+ }
6478
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
6479
+ const localVarHeaderParameter = {};
6480
+ const localVarQueryParameter = {};
6481
+ // authentication JWT token required
6482
+ yield setApiKeyToObject$4(localVarHeaderParameter, "Authorization", configuration);
6483
+ if (query !== undefined) {
6484
+ localVarQueryParameter['query'] = query;
6485
+ }
6486
+ if (user !== undefined) {
6487
+ localVarQueryParameter['user'] = user;
6488
+ }
6489
+ if (adv !== undefined) {
6490
+ localVarQueryParameter['adv'] = adv;
6491
+ }
6492
+ if (languages) {
6493
+ localVarQueryParameter['languages'] = languages;
6494
+ }
6495
+ setSearchParams$4(localVarUrlObj, localVarQueryParameter, options.query);
6496
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6497
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6498
+ return {
6499
+ url: toPathString$4(localVarUrlObj),
6500
+ options: localVarRequestOptions,
6501
+ };
6502
+ }),
6503
+ };
6504
+ };
6505
+ /**
6506
+ * SearchApi - functional programming interface
6507
+ * @export
6508
+ */
6509
+ const SearchApiFp = function (configuration) {
6510
+ const localVarAxiosParamCreator = SearchApiAxiosParamCreator(configuration);
6511
+ return {
6512
+ /**
6513
+ *
6514
+ * @summary Search Elasticsearch
6515
+ * @param {string} [query] Elasticsearch query
6516
+ * @param {boolean} [user] Specify user or only public metadata records could be found
6517
+ * @param {boolean} [adv] Set true for advanced Elasticsearch search syntax
6518
+ * @param {Array<string>} [languages] Set the used languages
6519
+ * @param {*} [options] Override http request option.
6520
+ * @throws {RequiredError}
6521
+ */
6522
+ searchSearch(query, user, adv, languages, options) {
6523
+ return __awaiter(this, void 0, void 0, function* () {
6524
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.searchSearch(query, user, adv, languages, options);
6525
+ return createRequestFunction$4(localVarAxiosArgs, axios, BASE_PATH$4, configuration);
6526
+ });
6527
+ },
6528
+ };
6529
+ };
6530
+ /**
6531
+ * SearchApi - factory interface
6532
+ * @export
6533
+ */
6534
+ const SearchApiFactory = function (configuration, basePath, axios) {
6535
+ const localVarFp = SearchApiFp(configuration);
6536
+ return {
6537
+ /**
6538
+ *
6539
+ * @summary Search Elasticsearch
6540
+ * @param {string} [query] Elasticsearch query
6541
+ * @param {boolean} [user] Specify user or only public metadata records could be found
6542
+ * @param {boolean} [adv] Set true for advanced Elasticsearch search syntax
6543
+ * @param {Array<string>} [languages] Set the used languages
6544
+ * @param {*} [options] Override http request option.
6545
+ * @throws {RequiredError}
6546
+ */
6547
+ searchSearch(query, user, adv, languages, options) {
6548
+ return localVarFp.searchSearch(query, user, adv, languages, options).then((request) => request(axios, basePath));
6549
+ },
6550
+ };
6551
+ };
6552
+
6553
+ /* tslint:disable */
6554
+ const BASE_PATH$3 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.STS".replace(/\/+$/, "");
6555
+
6556
+ /* tslint:disable */
6557
+ /**
6558
+ *
6559
+ * @export
6560
+ */
6561
+ const DUMMY_BASE_URL$3 = 'https://example.com';
6562
+ /**
6563
+ *
6564
+ * @export
6565
+ */
6566
+ const setApiKeyToObject$3 = function (object, keyParamName, configuration) {
6567
+ return __awaiter(this, void 0, void 0, function* () {
6568
+ if (configuration && configuration.apiKey) {
6569
+ const localVarApiKeyValue = typeof configuration.apiKey === 'function'
6570
+ ? yield configuration.apiKey(keyParamName)
6571
+ : yield configuration.apiKey;
6572
+ object[keyParamName] = localVarApiKeyValue;
6573
+ }
6574
+ });
6575
+ };
6576
+ /**
6577
+ *
6578
+ * @export
6579
+ */
6580
+ const setSearchParams$3 = function (url, ...objects) {
6581
+ const searchParams = new URLSearchParams(url.search);
6582
+ for (const object of objects) {
6583
+ for (const key in object) {
6584
+ if (Array.isArray(object[key])) {
6585
+ searchParams.delete(key);
6586
+ for (const item of object[key]) {
6587
+ searchParams.append(key, item);
6588
+ }
6589
+ }
6590
+ else {
6591
+ searchParams.set(key, object[key]);
6592
+ }
6593
+ }
6594
+ }
6595
+ url.search = searchParams.toString();
6596
+ };
6597
+ /**
6598
+ *
6599
+ * @export
6600
+ */
6601
+ const toPathString$3 = function (url) {
6602
+ return url.pathname + url.search + url.hash;
6603
+ };
6604
+ /**
6605
+ *
6606
+ * @export
6607
+ */
6608
+ const createRequestFunction$3 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
6609
+ return (axios = globalAxios, basePath = BASE_PATH) => {
6610
+ const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
6611
+ return axios.request(axiosRequestArgs);
6612
+ };
6613
+ };
6614
+
6615
+ /* tslint:disable */
6616
+ /**
6617
+ * AccountApi - axios parameter creator
6618
+ * @export
6619
+ */
6620
+ const AccountApiAxiosParamCreator = function (configuration) {
6621
+ return {
6622
+ /**
6623
+ *
6624
+ * @summary Return relevant URLs for logging the user in
6625
+ * @param {*} [options] Override http request option.
6626
+ * @throws {RequiredError}
6627
+ */
6628
+ accountGetLoginUrls: (options = {}) => __awaiter(this, void 0, void 0, function* () {
6629
+ const localVarPath = `/Account/urls/login`;
6630
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6631
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$3);
6632
+ let baseOptions;
6633
+ if (configuration) {
6634
+ baseOptions = configuration.baseOptions;
6635
+ }
6636
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
6637
+ const localVarHeaderParameter = {};
6638
+ const localVarQueryParameter = {};
6639
+ // authentication JWT token required
6640
+ yield setApiKeyToObject$3(localVarHeaderParameter, "Authorization", configuration);
6641
+ setSearchParams$3(localVarUrlObj, localVarQueryParameter, options.query);
6642
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6643
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6644
+ return {
6645
+ url: toPathString$3(localVarUrlObj),
6646
+ options: localVarRequestOptions,
6647
+ };
6648
+ }),
6649
+ /**
6650
+ *
6651
+ * @summary Route for logging the user out of Coscine
6652
+ * @param {*} [options] Override http request option.
6653
+ * @throws {RequiredError}
6654
+ */
6655
+ accountLogout: (options = {}) => __awaiter(this, void 0, void 0, function* () {
6656
+ const localVarPath = `/Account/logout`;
6657
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6658
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$3);
6659
+ let baseOptions;
6660
+ if (configuration) {
6661
+ baseOptions = configuration.baseOptions;
6662
+ }
6663
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
6664
+ const localVarHeaderParameter = {};
6665
+ const localVarQueryParameter = {};
6666
+ // authentication JWT token required
6667
+ yield setApiKeyToObject$3(localVarHeaderParameter, "Authorization", configuration);
6668
+ setSearchParams$3(localVarUrlObj, localVarQueryParameter, options.query);
6669
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6670
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6671
+ return {
6672
+ url: toPathString$3(localVarUrlObj),
6673
+ options: localVarRequestOptions,
6674
+ };
6675
+ }),
6676
+ };
6677
+ };
6678
+ /**
6679
+ * AccountApi - functional programming interface
6680
+ * @export
6681
+ */
6682
+ const AccountApiFp = function (configuration) {
6683
+ const localVarAxiosParamCreator = AccountApiAxiosParamCreator(configuration);
6684
+ return {
6685
+ /**
6686
+ *
6687
+ * @summary Return relevant URLs for logging the user in
6688
+ * @param {*} [options] Override http request option.
6689
+ * @throws {RequiredError}
6690
+ */
6691
+ accountGetLoginUrls(options) {
6692
+ return __awaiter(this, void 0, void 0, function* () {
6693
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.accountGetLoginUrls(options);
6694
+ return createRequestFunction$3(localVarAxiosArgs, axios, BASE_PATH$3, configuration);
6695
+ });
6696
+ },
6697
+ /**
6698
+ *
6699
+ * @summary Route for logging the user out of Coscine
6700
+ * @param {*} [options] Override http request option.
6701
+ * @throws {RequiredError}
6702
+ */
6703
+ accountLogout(options) {
6704
+ return __awaiter(this, void 0, void 0, function* () {
6705
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.accountLogout(options);
6706
+ return createRequestFunction$3(localVarAxiosArgs, axios, BASE_PATH$3, configuration);
6707
+ });
6708
+ },
6709
+ };
6710
+ };
6711
+ /**
6712
+ * AccountApi - factory interface
6713
+ * @export
6714
+ */
6715
+ const AccountApiFactory = function (configuration, basePath, axios) {
6716
+ const localVarFp = AccountApiFp(configuration);
6717
+ return {
6718
+ /**
6719
+ *
6720
+ * @summary Return relevant URLs for logging the user in
6721
+ * @param {*} [options] Override http request option.
6722
+ * @throws {RequiredError}
6723
+ */
6724
+ accountGetLoginUrls(options) {
6725
+ return localVarFp.accountGetLoginUrls(options).then((request) => request(axios, basePath));
6726
+ },
6727
+ /**
6728
+ *
6729
+ * @summary Route for logging the user out of Coscine
6730
+ * @param {*} [options] Override http request option.
6731
+ * @throws {RequiredError}
6732
+ */
6733
+ accountLogout(options) {
6734
+ return localVarFp.accountLogout(options).then((request) => request(axios, basePath));
6735
+ },
6736
+ };
6737
+ };
6738
+ /**
6739
+ * HomeApi - axios parameter creator
6740
+ * @export
6741
+ */
6742
+ const HomeApiAxiosParamCreator = function (configuration) {
6743
+ return {
6744
+ /**
6745
+ *
6746
+ * @summary The controller that the user is automatically entering when accesing the route .../coscine/api/Coscine.STS/
6747
+ * @param {*} [options] Override http request option.
6748
+ * @throws {RequiredError}
6749
+ */
6750
+ homeIndex: (options = {}) => __awaiter(this, void 0, void 0, function* () {
6751
+ const localVarPath = `/`;
6752
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6753
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$3);
6754
+ let baseOptions;
6755
+ if (configuration) {
6756
+ baseOptions = configuration.baseOptions;
6757
+ }
6758
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
6759
+ const localVarHeaderParameter = {};
6760
+ const localVarQueryParameter = {};
6761
+ // authentication JWT token required
6762
+ yield setApiKeyToObject$3(localVarHeaderParameter, "Authorization", configuration);
6763
+ setSearchParams$3(localVarUrlObj, localVarQueryParameter, options.query);
6764
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6765
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6766
+ return {
6767
+ url: toPathString$3(localVarUrlObj),
6768
+ options: localVarRequestOptions,
6769
+ };
6770
+ }),
6771
+ };
6772
+ };
6773
+ /**
6774
+ * HomeApi - functional programming interface
6775
+ * @export
6776
+ */
6777
+ const HomeApiFp = function (configuration) {
6778
+ const localVarAxiosParamCreator = HomeApiAxiosParamCreator(configuration);
6779
+ return {
6780
+ /**
6781
+ *
6782
+ * @summary The controller that the user is automatically entering when accesing the route .../coscine/api/Coscine.STS/
6783
+ * @param {*} [options] Override http request option.
6784
+ * @throws {RequiredError}
6785
+ */
6786
+ homeIndex(options) {
6787
+ return __awaiter(this, void 0, void 0, function* () {
6788
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.homeIndex(options);
6789
+ return createRequestFunction$3(localVarAxiosArgs, axios, BASE_PATH$3, configuration);
6790
+ });
6791
+ },
6792
+ };
6793
+ };
6794
+ /**
6795
+ * HomeApi - factory interface
6796
+ * @export
6797
+ */
6798
+ const HomeApiFactory = function (configuration, basePath, axios) {
6799
+ const localVarFp = HomeApiFp(configuration);
6800
+ return {
6801
+ /**
6802
+ *
6803
+ * @summary The controller that the user is automatically entering when accesing the route .../coscine/api/Coscine.STS/
6804
+ * @param {*} [options] Override http request option.
6805
+ * @throws {RequiredError}
6806
+ */
6807
+ homeIndex(options) {
6808
+ return localVarFp.homeIndex(options).then((request) => request(axios, basePath));
6809
+ },
6810
+ };
6811
+ };
6812
+ /**
6813
+ * MergeApi - axios parameter creator
6814
+ * @export
6815
+ */
6816
+ const MergeApiAxiosParamCreator = function (configuration) {
6817
+ return {
6818
+ /**
6819
+ *
6820
+ * @param {string} [returnUrl]
6821
+ * @param {*} [options] Override http request option.
6822
+ * @throws {RequiredError}
6823
+ */
6824
+ mergeCallback: (returnUrl, options = {}) => __awaiter(this, void 0, void 0, function* () {
6825
+ const localVarPath = `/Merge/callback`;
6826
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6827
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$3);
6828
+ let baseOptions;
6829
+ if (configuration) {
6830
+ baseOptions = configuration.baseOptions;
6831
+ }
6832
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
6833
+ const localVarHeaderParameter = {};
6834
+ const localVarQueryParameter = {};
6835
+ // authentication JWT token required
6836
+ yield setApiKeyToObject$3(localVarHeaderParameter, "Authorization", configuration);
6837
+ if (returnUrl !== undefined) {
6838
+ localVarQueryParameter['returnUrl'] = returnUrl;
6839
+ }
6840
+ setSearchParams$3(localVarUrlObj, localVarQueryParameter, options.query);
6841
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6842
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6843
+ return {
6844
+ url: toPathString$3(localVarUrlObj),
6845
+ options: localVarRequestOptions,
6846
+ };
6847
+ }),
6848
+ /**
6849
+ *
6850
+ * @param {string} [returnUrl]
6851
+ * @param {*} [options] Override http request option.
6852
+ * @throws {RequiredError}
6853
+ */
6854
+ mergeLogin: (returnUrl, options = {}) => __awaiter(this, void 0, void 0, function* () {
6855
+ const localVarPath = `/Merge/login`;
6856
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6857
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$3);
6858
+ let baseOptions;
6859
+ if (configuration) {
6860
+ baseOptions = configuration.baseOptions;
6861
+ }
6862
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
6863
+ const localVarHeaderParameter = {};
6864
+ const localVarQueryParameter = {};
6865
+ // authentication JWT token required
6866
+ yield setApiKeyToObject$3(localVarHeaderParameter, "Authorization", configuration);
6867
+ if (returnUrl !== undefined) {
6868
+ localVarQueryParameter['returnUrl'] = returnUrl;
6869
+ }
6870
+ setSearchParams$3(localVarUrlObj, localVarQueryParameter, options.query);
6871
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6872
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6873
+ return {
6874
+ url: toPathString$3(localVarUrlObj),
6875
+ options: localVarRequestOptions,
6876
+ };
6877
+ }),
6878
+ };
6879
+ };
6880
+ /**
6881
+ * MergeApi - functional programming interface
6882
+ * @export
6883
+ */
6884
+ const MergeApiFp = function (configuration) {
6885
+ const localVarAxiosParamCreator = MergeApiAxiosParamCreator(configuration);
6886
+ return {
6887
+ /**
6888
+ *
6889
+ * @param {string} [returnUrl]
6890
+ * @param {*} [options] Override http request option.
6891
+ * @throws {RequiredError}
6892
+ */
6893
+ mergeCallback(returnUrl, options) {
6894
+ return __awaiter(this, void 0, void 0, function* () {
6895
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.mergeCallback(returnUrl, options);
6896
+ return createRequestFunction$3(localVarAxiosArgs, axios, BASE_PATH$3, configuration);
6897
+ });
6898
+ },
6899
+ /**
6900
+ *
6901
+ * @param {string} [returnUrl]
6902
+ * @param {*} [options] Override http request option.
6903
+ * @throws {RequiredError}
6904
+ */
6905
+ mergeLogin(returnUrl, options) {
6906
+ return __awaiter(this, void 0, void 0, function* () {
6907
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.mergeLogin(returnUrl, options);
6908
+ return createRequestFunction$3(localVarAxiosArgs, axios, BASE_PATH$3, configuration);
6909
+ });
6910
+ },
6911
+ };
6912
+ };
6913
+ /**
6914
+ * MergeApi - factory interface
6915
+ * @export
6916
+ */
6917
+ const MergeApiFactory = function (configuration, basePath, axios) {
6918
+ const localVarFp = MergeApiFp(configuration);
6919
+ return {
6920
+ /**
6921
+ *
6922
+ * @param {string} [returnUrl]
6923
+ * @param {*} [options] Override http request option.
6924
+ * @throws {RequiredError}
6925
+ */
6926
+ mergeCallback(returnUrl, options) {
6927
+ return localVarFp.mergeCallback(returnUrl, options).then((request) => request(axios, basePath));
6928
+ },
6929
+ /**
6930
+ *
6931
+ * @param {string} [returnUrl]
6932
+ * @param {*} [options] Override http request option.
6933
+ * @throws {RequiredError}
6934
+ */
6935
+ mergeLogin(returnUrl, options) {
6936
+ return localVarFp.mergeLogin(returnUrl, options).then((request) => request(axios, basePath));
6937
+ },
6938
+ };
6939
+ };
6940
+ /**
6941
+ * ORCiDApi - axios parameter creator
6942
+ * @export
6943
+ */
6944
+ const ORCiDApiAxiosParamCreator = function (configuration) {
6945
+ return {
5998
6946
  /**
5999
6947
  *
6000
- * @summary Returns all fields of the specified resource type.
6001
- * @param {string} id A guid as a string that identifies the resource.
6948
+ * @summary ORCiD Login Route
6949
+ * @param {string} [returnUrl] URL to be redirected to
6002
6950
  * @param {*} [options] Override http request option.
6003
6951
  * @throws {RequiredError}
6004
6952
  */
6005
- resourceTypeGetResourceType: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
6006
- // verify required parameter 'id' is not null or undefined
6007
- assertParamExists$3('resourceTypeGetResourceType', 'id', id);
6008
- const localVarPath = `/ResourceType/types/{id}`
6009
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
6953
+ oRCiDLoginGET: (returnUrl, options = {}) => __awaiter(this, void 0, void 0, function* () {
6954
+ const localVarPath = `/ORCiD/login`;
6010
6955
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6011
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$4);
6956
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$3);
6012
6957
  let baseOptions;
6013
6958
  if (configuration) {
6014
6959
  baseOptions = configuration.baseOptions;
@@ -6017,209 +6962,137 @@ const ResourceTypeApiAxiosParamCreator = function (configuration) {
6017
6962
  const localVarHeaderParameter = {};
6018
6963
  const localVarQueryParameter = {};
6019
6964
  // authentication JWT token required
6020
- yield setApiKeyToObject$4(localVarHeaderParameter, "Authorization", configuration);
6021
- setSearchParams$4(localVarUrlObj, localVarQueryParameter, options.query);
6965
+ yield setApiKeyToObject$3(localVarHeaderParameter, "Authorization", configuration);
6966
+ if (returnUrl !== undefined) {
6967
+ localVarQueryParameter['returnUrl'] = returnUrl;
6968
+ }
6969
+ setSearchParams$3(localVarUrlObj, localVarQueryParameter, options.query);
6022
6970
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6023
6971
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6024
6972
  return {
6025
- url: toPathString$4(localVarUrlObj),
6973
+ url: toPathString$3(localVarUrlObj),
6026
6974
  options: localVarRequestOptions,
6027
6975
  };
6028
6976
  }),
6029
6977
  /**
6030
6978
  *
6031
- * @summary Returns all resource types.
6979
+ * @summary Execute ORCiD validation and login
6980
+ * @param {string} [oRCiDJWT]
6981
+ * @param {string} [returnUrl] URL to be redirected to
6032
6982
  * @param {*} [options] Override http request option.
6033
6983
  * @throws {RequiredError}
6034
6984
  */
6035
- resourceTypeGetResourceTypes: (options = {}) => __awaiter(this, void 0, void 0, function* () {
6036
- const localVarPath = `/ResourceType/types`;
6985
+ oRCiDLoginPOST: (oRCiDJWT, returnUrl, options = {}) => __awaiter(this, void 0, void 0, function* () {
6986
+ const localVarPath = `/ORCiD/login`;
6037
6987
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6038
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$4);
6988
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$3);
6039
6989
  let baseOptions;
6040
6990
  if (configuration) {
6041
6991
  baseOptions = configuration.baseOptions;
6042
6992
  }
6043
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
6993
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
6044
6994
  const localVarHeaderParameter = {};
6045
6995
  const localVarQueryParameter = {};
6046
6996
  // authentication JWT token required
6047
- yield setApiKeyToObject$4(localVarHeaderParameter, "Authorization", configuration);
6048
- setSearchParams$4(localVarUrlObj, localVarQueryParameter, options.query);
6997
+ yield setApiKeyToObject$3(localVarHeaderParameter, "Authorization", configuration);
6998
+ if (oRCiDJWT !== undefined) {
6999
+ localVarQueryParameter['ORCiD_JWT'] = oRCiDJWT;
7000
+ }
7001
+ if (returnUrl !== undefined) {
7002
+ localVarQueryParameter['returnUrl'] = returnUrl;
7003
+ }
7004
+ setSearchParams$3(localVarUrlObj, localVarQueryParameter, options.query);
6049
7005
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6050
7006
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6051
7007
  return {
6052
- url: toPathString$4(localVarUrlObj),
7008
+ url: toPathString$3(localVarUrlObj),
6053
7009
  options: localVarRequestOptions,
6054
7010
  };
6055
7011
  }),
6056
7012
  };
6057
7013
  };
6058
7014
  /**
6059
- * ResourceTypeApi - functional programming interface
7015
+ * ORCiDApi - functional programming interface
6060
7016
  * @export
6061
7017
  */
6062
- const ResourceTypeApiFp = function (configuration) {
6063
- const localVarAxiosParamCreator = ResourceTypeApiAxiosParamCreator(configuration);
7018
+ const ORCiDApiFp = function (configuration) {
7019
+ const localVarAxiosParamCreator = ORCiDApiAxiosParamCreator(configuration);
6064
7020
  return {
6065
7021
  /**
6066
7022
  *
6067
- * @summary Returns all enabled resource types.
6068
- * @param {*} [options] Override http request option.
6069
- * @throws {RequiredError}
6070
- */
6071
- resourceTypeGetEnabledResourceTypes(options) {
6072
- return __awaiter(this, void 0, void 0, function* () {
6073
- const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceTypeGetEnabledResourceTypes(options);
6074
- return createRequestFunction$4(localVarAxiosArgs, axios, BASE_PATH$4, configuration);
6075
- });
6076
- },
6077
- /**
6078
- *
6079
- * @summary Returns all fields of the specified resource type.
6080
- * @param {string} id A guid as a string that identifies the resource.
7023
+ * @summary ORCiD Login Route
7024
+ * @param {string} [returnUrl] URL to be redirected to
6081
7025
  * @param {*} [options] Override http request option.
6082
7026
  * @throws {RequiredError}
6083
7027
  */
6084
- resourceTypeGetResourceType(id, options) {
7028
+ oRCiDLoginGET(returnUrl, options) {
6085
7029
  return __awaiter(this, void 0, void 0, function* () {
6086
- const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceTypeGetResourceType(id, options);
6087
- return createRequestFunction$4(localVarAxiosArgs, axios, BASE_PATH$4, configuration);
7030
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.oRCiDLoginGET(returnUrl, options);
7031
+ return createRequestFunction$3(localVarAxiosArgs, axios, BASE_PATH$3, configuration);
6088
7032
  });
6089
7033
  },
6090
7034
  /**
6091
7035
  *
6092
- * @summary Returns all resource types.
7036
+ * @summary Execute ORCiD validation and login
7037
+ * @param {string} [oRCiDJWT]
7038
+ * @param {string} [returnUrl] URL to be redirected to
6093
7039
  * @param {*} [options] Override http request option.
6094
7040
  * @throws {RequiredError}
6095
7041
  */
6096
- resourceTypeGetResourceTypes(options) {
7042
+ oRCiDLoginPOST(oRCiDJWT, returnUrl, options) {
6097
7043
  return __awaiter(this, void 0, void 0, function* () {
6098
- const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceTypeGetResourceTypes(options);
6099
- return createRequestFunction$4(localVarAxiosArgs, axios, BASE_PATH$4, configuration);
7044
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.oRCiDLoginPOST(oRCiDJWT, returnUrl, options);
7045
+ return createRequestFunction$3(localVarAxiosArgs, axios, BASE_PATH$3, configuration);
6100
7046
  });
6101
7047
  },
6102
7048
  };
6103
7049
  };
6104
7050
  /**
6105
- * ResourceTypeApi - factory interface
7051
+ * ORCiDApi - factory interface
6106
7052
  * @export
6107
7053
  */
6108
- const ResourceTypeApiFactory = function (configuration, basePath, axios) {
6109
- const localVarFp = ResourceTypeApiFp(configuration);
7054
+ const ORCiDApiFactory = function (configuration, basePath, axios) {
7055
+ const localVarFp = ORCiDApiFp(configuration);
6110
7056
  return {
6111
7057
  /**
6112
7058
  *
6113
- * @summary Returns all enabled resource types.
6114
- * @param {*} [options] Override http request option.
6115
- * @throws {RequiredError}
6116
- */
6117
- resourceTypeGetEnabledResourceTypes(options) {
6118
- return localVarFp.resourceTypeGetEnabledResourceTypes(options).then((request) => request(axios, basePath));
6119
- },
6120
- /**
6121
- *
6122
- * @summary Returns all fields of the specified resource type.
6123
- * @param {string} id A guid as a string that identifies the resource.
7059
+ * @summary ORCiD Login Route
7060
+ * @param {string} [returnUrl] URL to be redirected to
6124
7061
  * @param {*} [options] Override http request option.
6125
7062
  * @throws {RequiredError}
6126
7063
  */
6127
- resourceTypeGetResourceType(id, options) {
6128
- return localVarFp.resourceTypeGetResourceType(id, options).then((request) => request(axios, basePath));
7064
+ oRCiDLoginGET(returnUrl, options) {
7065
+ return localVarFp.oRCiDLoginGET(returnUrl, options).then((request) => request(axios, basePath));
6129
7066
  },
6130
7067
  /**
6131
7068
  *
6132
- * @summary Returns all resource types.
7069
+ * @summary Execute ORCiD validation and login
7070
+ * @param {string} [oRCiDJWT]
7071
+ * @param {string} [returnUrl] URL to be redirected to
6133
7072
  * @param {*} [options] Override http request option.
6134
7073
  * @throws {RequiredError}
6135
7074
  */
6136
- resourceTypeGetResourceTypes(options) {
6137
- return localVarFp.resourceTypeGetResourceTypes(options).then((request) => request(axios, basePath));
7075
+ oRCiDLoginPOST(oRCiDJWT, returnUrl, options) {
7076
+ return localVarFp.oRCiDLoginPOST(oRCiDJWT, returnUrl, options).then((request) => request(axios, basePath));
6138
7077
  },
6139
7078
  };
6140
- };
6141
-
6142
- /* tslint:disable */
6143
- const BASE_PATH$3 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Search".replace(/\/+$/, "");
6144
-
6145
- /* tslint:disable */
6146
- /**
6147
- *
6148
- * @export
6149
- */
6150
- const DUMMY_BASE_URL$3 = 'https://example.com';
6151
- /**
6152
- *
6153
- * @export
6154
- */
6155
- const setApiKeyToObject$3 = function (object, keyParamName, configuration) {
6156
- return __awaiter(this, void 0, void 0, function* () {
6157
- if (configuration && configuration.apiKey) {
6158
- const localVarApiKeyValue = typeof configuration.apiKey === 'function'
6159
- ? yield configuration.apiKey(keyParamName)
6160
- : yield configuration.apiKey;
6161
- object[keyParamName] = localVarApiKeyValue;
6162
- }
6163
- });
6164
- };
6165
- /**
6166
- *
6167
- * @export
6168
- */
6169
- const setSearchParams$3 = function (url, ...objects) {
6170
- const searchParams = new URLSearchParams(url.search);
6171
- for (const object of objects) {
6172
- for (const key in object) {
6173
- if (Array.isArray(object[key])) {
6174
- searchParams.delete(key);
6175
- for (const item of object[key]) {
6176
- searchParams.append(key, item);
6177
- }
6178
- }
6179
- else {
6180
- searchParams.set(key, object[key]);
6181
- }
6182
- }
6183
- }
6184
- url.search = searchParams.toString();
6185
- };
6186
- /**
6187
- *
6188
- * @export
6189
- */
6190
- const toPathString$3 = function (url) {
6191
- return url.pathname + url.search + url.hash;
6192
7079
  };
6193
7080
  /**
6194
- *
6195
- * @export
6196
- */
6197
- const createRequestFunction$3 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
6198
- return (axios = globalAxios, basePath = BASE_PATH) => {
6199
- const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
6200
- return axios.request(axiosRequestArgs);
6201
- };
6202
- };
6203
-
6204
- /* tslint:disable */
6205
- /**
6206
- * SearchApi - axios parameter creator
7081
+ * ShibbolethApi - axios parameter creator
6207
7082
  * @export
6208
7083
  */
6209
- const SearchApiAxiosParamCreator = function (configuration) {
7084
+ const ShibbolethApiAxiosParamCreator = function (configuration) {
6210
7085
  return {
6211
7086
  /**
6212
7087
  *
6213
- * @summary Search
6214
- * @param {string} [query] Elasticsearch query
6215
- * @param {boolean} [user] Specify user or only public metadata records could be found
6216
- * @param {boolean} [adv] Set true for advanced Elasticsearch search syntax
6217
- * @param {Array<string>} [languages] Set the used languages
7088
+ * @summary Callback method to catch the login
7089
+ * @param {string} [returnUrl] URL to be redirected to
7090
+ * @param {string} [remoteError] Erros on remote login
6218
7091
  * @param {*} [options] Override http request option.
6219
7092
  * @throws {RequiredError}
6220
7093
  */
6221
- searchSearch: (query, user, adv, languages, options = {}) => __awaiter(this, void 0, void 0, function* () {
6222
- const localVarPath = `/Search`;
7094
+ shibbolethCallback: (returnUrl, remoteError, options = {}) => __awaiter(this, void 0, void 0, function* () {
7095
+ const localVarPath = `/Shibboleth/callback`;
6223
7096
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6224
7097
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$3);
6225
7098
  let baseOptions;
@@ -6231,17 +7104,46 @@ const SearchApiAxiosParamCreator = function (configuration) {
6231
7104
  const localVarQueryParameter = {};
6232
7105
  // authentication JWT token required
6233
7106
  yield setApiKeyToObject$3(localVarHeaderParameter, "Authorization", configuration);
6234
- if (query !== undefined) {
6235
- localVarQueryParameter['query'] = query;
7107
+ if (returnUrl !== undefined) {
7108
+ localVarQueryParameter['returnUrl'] = returnUrl;
6236
7109
  }
6237
- if (user !== undefined) {
6238
- localVarQueryParameter['user'] = user;
7110
+ if (remoteError !== undefined) {
7111
+ localVarQueryParameter['remoteError'] = remoteError;
6239
7112
  }
6240
- if (adv !== undefined) {
6241
- localVarQueryParameter['adv'] = adv;
7113
+ setSearchParams$3(localVarUrlObj, localVarQueryParameter, options.query);
7114
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7115
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
7116
+ return {
7117
+ url: toPathString$3(localVarUrlObj),
7118
+ options: localVarRequestOptions,
7119
+ };
7120
+ }),
7121
+ /**
7122
+ *
7123
+ * @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.
7124
+ * @param {string} [returnUrl] URL to be redirected to
7125
+ * @param {string} [entityId] Specific Identitiy Provider to be redirect to
7126
+ * @param {*} [options] Override http request option.
7127
+ * @throws {RequiredError}
7128
+ */
7129
+ shibbolethLogin: (returnUrl, entityId, options = {}) => __awaiter(this, void 0, void 0, function* () {
7130
+ const localVarPath = `/Shibboleth/login`;
7131
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
7132
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$3);
7133
+ let baseOptions;
7134
+ if (configuration) {
7135
+ baseOptions = configuration.baseOptions;
6242
7136
  }
6243
- if (languages) {
6244
- localVarQueryParameter['languages'] = languages;
7137
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
7138
+ const localVarHeaderParameter = {};
7139
+ const localVarQueryParameter = {};
7140
+ // authentication JWT token required
7141
+ yield setApiKeyToObject$3(localVarHeaderParameter, "Authorization", configuration);
7142
+ if (returnUrl !== undefined) {
7143
+ localVarQueryParameter['returnUrl'] = returnUrl;
7144
+ }
7145
+ if (entityId !== undefined) {
7146
+ localVarQueryParameter['entityId'] = entityId;
6245
7147
  }
6246
7148
  setSearchParams$3(localVarUrlObj, localVarQueryParameter, options.query);
6247
7149
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -6254,49 +7156,70 @@ const SearchApiAxiosParamCreator = function (configuration) {
6254
7156
  };
6255
7157
  };
6256
7158
  /**
6257
- * SearchApi - functional programming interface
7159
+ * ShibbolethApi - functional programming interface
6258
7160
  * @export
6259
7161
  */
6260
- const SearchApiFp = function (configuration) {
6261
- const localVarAxiosParamCreator = SearchApiAxiosParamCreator(configuration);
7162
+ const ShibbolethApiFp = function (configuration) {
7163
+ const localVarAxiosParamCreator = ShibbolethApiAxiosParamCreator(configuration);
6262
7164
  return {
6263
7165
  /**
6264
7166
  *
6265
- * @summary Search
6266
- * @param {string} [query] Elasticsearch query
6267
- * @param {boolean} [user] Specify user or only public metadata records could be found
6268
- * @param {boolean} [adv] Set true for advanced Elasticsearch search syntax
6269
- * @param {Array<string>} [languages] Set the used languages
7167
+ * @summary Callback method to catch the login
7168
+ * @param {string} [returnUrl] URL to be redirected to
7169
+ * @param {string} [remoteError] Erros on remote login
6270
7170
  * @param {*} [options] Override http request option.
6271
7171
  * @throws {RequiredError}
6272
7172
  */
6273
- searchSearch(query, user, adv, languages, options) {
7173
+ shibbolethCallback(returnUrl, remoteError, options) {
6274
7174
  return __awaiter(this, void 0, void 0, function* () {
6275
- const localVarAxiosArgs = yield localVarAxiosParamCreator.searchSearch(query, user, adv, languages, options);
7175
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.shibbolethCallback(returnUrl, remoteError, options);
7176
+ return createRequestFunction$3(localVarAxiosArgs, axios, BASE_PATH$3, configuration);
7177
+ });
7178
+ },
7179
+ /**
7180
+ *
7181
+ * @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.
7182
+ * @param {string} [returnUrl] URL to be redirected to
7183
+ * @param {string} [entityId] Specific Identitiy Provider to be redirect to
7184
+ * @param {*} [options] Override http request option.
7185
+ * @throws {RequiredError}
7186
+ */
7187
+ shibbolethLogin(returnUrl, entityId, options) {
7188
+ return __awaiter(this, void 0, void 0, function* () {
7189
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.shibbolethLogin(returnUrl, entityId, options);
6276
7190
  return createRequestFunction$3(localVarAxiosArgs, axios, BASE_PATH$3, configuration);
6277
7191
  });
6278
7192
  },
6279
7193
  };
6280
7194
  };
6281
7195
  /**
6282
- * SearchApi - factory interface
7196
+ * ShibbolethApi - factory interface
6283
7197
  * @export
6284
7198
  */
6285
- const SearchApiFactory = function (configuration, basePath, axios) {
6286
- const localVarFp = SearchApiFp(configuration);
7199
+ const ShibbolethApiFactory = function (configuration, basePath, axios) {
7200
+ const localVarFp = ShibbolethApiFp(configuration);
6287
7201
  return {
6288
7202
  /**
6289
7203
  *
6290
- * @summary Search
6291
- * @param {string} [query] Elasticsearch query
6292
- * @param {boolean} [user] Specify user or only public metadata records could be found
6293
- * @param {boolean} [adv] Set true for advanced Elasticsearch search syntax
6294
- * @param {Array<string>} [languages] Set the used languages
7204
+ * @summary Callback method to catch the login
7205
+ * @param {string} [returnUrl] URL to be redirected to
7206
+ * @param {string} [remoteError] Erros on remote login
6295
7207
  * @param {*} [options] Override http request option.
6296
7208
  * @throws {RequiredError}
6297
7209
  */
6298
- searchSearch(query, user, adv, languages, options) {
6299
- return localVarFp.searchSearch(query, user, adv, languages, options).then((request) => request(axios, basePath));
7210
+ shibbolethCallback(returnUrl, remoteError, options) {
7211
+ return localVarFp.shibbolethCallback(returnUrl, remoteError, options).then((request) => request(axios, basePath));
7212
+ },
7213
+ /**
7214
+ *
7215
+ * @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.
7216
+ * @param {string} [returnUrl] URL to be redirected to
7217
+ * @param {string} [entityId] Specific Identitiy Provider to be redirect to
7218
+ * @param {*} [options] Override http request option.
7219
+ * @throws {RequiredError}
7220
+ */
7221
+ shibbolethLogin(returnUrl, entityId, options) {
7222
+ return localVarFp.shibbolethLogin(returnUrl, entityId, options).then((request) => request(axios, basePath));
6300
7223
  },
6301
7224
  };
6302
7225
  };
@@ -7320,6 +8243,33 @@ const TOSApiAxiosParamCreator = function (configuration) {
7320
8243
  options: localVarRequestOptions,
7321
8244
  };
7322
8245
  }),
8246
+ /**
8247
+ *
8248
+ * @summary Returns the TOS Versions accepted by the current user.
8249
+ * @param {*} [options] Override http request option.
8250
+ * @throws {RequiredError}
8251
+ */
8252
+ tOSAcceptedTOSVersion: (options = {}) => __awaiter(this, void 0, void 0, function* () {
8253
+ const localVarPath = `/TOS`;
8254
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8255
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
8256
+ let baseOptions;
8257
+ if (configuration) {
8258
+ baseOptions = configuration.baseOptions;
8259
+ }
8260
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
8261
+ const localVarHeaderParameter = {};
8262
+ const localVarQueryParameter = {};
8263
+ // authentication JWT token required
8264
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
8265
+ setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
8266
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8267
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
8268
+ return {
8269
+ url: toPathString(localVarUrlObj),
8270
+ options: localVarRequestOptions,
8271
+ };
8272
+ }),
7323
8273
  /**
7324
8274
  *
7325
8275
  * @summary Returns the current TOS Version.
@@ -7327,7 +8277,7 @@ const TOSApiAxiosParamCreator = function (configuration) {
7327
8277
  * @throws {RequiredError}
7328
8278
  */
7329
8279
  tOSGetCurrentTOSVersion: (options = {}) => __awaiter(this, void 0, void 0, function* () {
7330
- const localVarPath = `/TOS`;
8280
+ const localVarPath = `/TOS/version`;
7331
8281
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
7332
8282
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
7333
8283
  let baseOptions;
@@ -7368,6 +8318,18 @@ const TOSApiFp = function (configuration) {
7368
8318
  return createRequestFunction(localVarAxiosArgs, axios, BASE_PATH, configuration);
7369
8319
  });
7370
8320
  },
8321
+ /**
8322
+ *
8323
+ * @summary Returns the TOS Versions accepted by the current user.
8324
+ * @param {*} [options] Override http request option.
8325
+ * @throws {RequiredError}
8326
+ */
8327
+ tOSAcceptedTOSVersion(options) {
8328
+ return __awaiter(this, void 0, void 0, function* () {
8329
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.tOSAcceptedTOSVersion(options);
8330
+ return createRequestFunction(localVarAxiosArgs, axios, BASE_PATH, configuration);
8331
+ });
8332
+ },
7371
8333
  /**
7372
8334
  *
7373
8335
  * @summary Returns the current TOS Version.
@@ -7398,6 +8360,15 @@ const TOSApiFactory = function (configuration, basePath, axios) {
7398
8360
  tOSAcceptCurrentTOSVersion(options) {
7399
8361
  return localVarFp.tOSAcceptCurrentTOSVersion(options).then((request) => request(axios, basePath));
7400
8362
  },
8363
+ /**
8364
+ *
8365
+ * @summary Returns the TOS Versions accepted by the current user.
8366
+ * @param {*} [options] Override http request option.
8367
+ * @throws {RequiredError}
8368
+ */
8369
+ tOSAcceptedTOSVersion(options) {
8370
+ return localVarFp.tOSAcceptedTOSVersion(options).then((request) => request(axios, basePath));
8371
+ },
7401
8372
  /**
7402
8373
  *
7403
8374
  * @summary Returns the current TOS Version.
@@ -7750,15 +8721,20 @@ const getHostName = () => {
7750
8721
  };
7751
8722
  function implementations(axios) {
7752
8723
  return {
8724
+ AccountApi: AccountApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.STS', axios),
7753
8725
  AdminApi: AdminApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Admin', axios),
7754
8726
  BlobApi: BlobApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Blob', axios),
7755
8727
  ContactChangeApi: ContactChangeApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.User', axios),
7756
8728
  DisciplineApi: DisciplineApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios),
8729
+ HomeApi: HomeApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.STS', axios),
7757
8730
  LanguageApi: LanguageApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.User', axios),
7758
8731
  LicenseApi: LicenseApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios),
8732
+ MergeApi: MergeApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.STS', axios),
7759
8733
  MetadataApi: MetadataApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Metadata', axios),
7760
8734
  NoticeApi: NoticeApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Notices', axios),
8735
+ ORCiDApi: ORCiDApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.STS', axios),
7761
8736
  OrganizationApi: OrganizationApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Organization', axios),
8737
+ PidApi: PidApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Pid', axios),
7762
8738
  ProjectApi: ProjectApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios),
7763
8739
  ProjectQuotaApi: ProjectQuotaApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios),
7764
8740
  ProjectRoleApi: ProjectRoleApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios),
@@ -7767,6 +8743,7 @@ function implementations(axios) {
7767
8743
  ResourceTypeApi: ResourceTypeApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Resources', axios),
7768
8744
  RoleApi: RoleApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios),
7769
8745
  SearchApi: SearchApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Search', axios),
8746
+ ShibbolethApi: ShibbolethApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.STS', axios),
7770
8747
  SubProjectApi: SubProjectApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios),
7771
8748
  TitleApi: TitleApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.User', axios),
7772
8749
  TokenApi: TokenApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Token', axios),
@@ -7816,15 +8793,20 @@ instance.interceptors.response.use((response) => {
7816
8793
  });
7817
8794
 
7818
8795
  const apis = implementations(instance);
8796
+ const AccountApi = apis.AccountApi;
7819
8797
  const AdminApi = apis.AdminApi;
7820
8798
  const BlobApi = apis.BlobApi;
7821
8799
  const ContactChangeApi = apis.ContactChangeApi;
7822
8800
  const DisciplineApi = apis.DisciplineApi;
8801
+ const HomeApi = apis.HomeApi;
7823
8802
  const LanguageApi = apis.LanguageApi;
7824
8803
  const LicenseApi = apis.LicenseApi;
8804
+ const MergeApi = apis.MergeApi;
7825
8805
  const MetadataApi = apis.MetadataApi;
7826
8806
  const NoticeApi = apis.NoticeApi;
8807
+ const ORCiDApi = apis.ORCiDApi;
7827
8808
  const OrganizationApi = apis.OrganizationApi;
8809
+ const PidApi = apis.PidApi;
7828
8810
  const ProjectApi = apis.ProjectApi;
7829
8811
  const ProjectQuotaApi = apis.ProjectQuotaApi;
7830
8812
  const ProjectRoleApi = apis.ProjectRoleApi;
@@ -7833,6 +8815,7 @@ const ResourceQuotaApi = apis.ResourceQuotaApi;
7833
8815
  const ResourceTypeApi = apis.ResourceTypeApi;
7834
8816
  const RoleApi = apis.RoleApi;
7835
8817
  const SearchApi = apis.SearchApi;
8818
+ const ShibbolethApi = apis.ShibbolethApi;
7836
8819
  const SubProjectApi = apis.SubProjectApi;
7837
8820
  const TitleApi = apis.TitleApi;
7838
8821
  const TokenApi = apis.TokenApi;
@@ -7841,5 +8824,5 @@ const TreeApi = apis.TreeApi;
7841
8824
  const UserApi = apis.UserApi;
7842
8825
  const VisibilityApi = apis.VisibilityApi;
7843
8826
 
7844
- export { AdminApi, BlobApi, ContactChangeApi, DisciplineApi, LanguageApi, LicenseApi, MetadataApi, NoticeApi, OrganizationApi, ProjectApi, ProjectQuotaApi, ProjectRoleApi, ResourceApi, ResourceQuotaApi, ResourceTypeApi, RoleApi, SearchApi, SubProjectApi, TOSApi, TitleApi, TokenApi, TreeApi, UserApi, VisibilityApi, apis as default };
8827
+ export { AccountApi, AdminApi, BlobApi, ContactChangeApi, DisciplineApi, HomeApi, LanguageApi, LicenseApi, MergeApi, MetadataApi, NoticeApi, ORCiDApi, OrganizationApi, PidApi, ProjectApi, ProjectQuotaApi, ProjectRoleApi, ResourceApi, ResourceQuotaApi, ResourceTypeApi, RoleApi, SearchApi, ShibbolethApi, SubProjectApi, TOSApi, TitleApi, TokenApi, TreeApi, UserApi, VisibilityApi, apis as default };
7845
8828
  //# sourceMappingURL=index.js.map