@coscine/api-client 2.2.0 → 2.5.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 (108) hide show
  1. package/dist/index.js +1064 -1588
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.umd.js +1066 -1590
  4. package/dist/index.umd.js.map +1 -1
  5. package/dist/lib/Coscine.Api.Admin/api.js +51 -23
  6. package/dist/lib/Coscine.Api.Admin/api.js.map +1 -1
  7. package/dist/lib/Coscine.Api.Admin/base.js +1 -1
  8. package/dist/lib/Coscine.Api.Admin/common.js +1 -1
  9. package/dist/lib/Coscine.Api.Admin/configuration.js +1 -1
  10. package/dist/lib/Coscine.Api.Admin/index.js +1 -1
  11. package/dist/lib/Coscine.Api.Blob/api.js +1 -66
  12. package/dist/lib/Coscine.Api.Blob/api.js.map +1 -1
  13. package/dist/lib/Coscine.Api.Blob/base.js +1 -1
  14. package/dist/lib/Coscine.Api.Blob/common.js +1 -1
  15. package/dist/lib/Coscine.Api.Blob/configuration.js +1 -1
  16. package/dist/lib/Coscine.Api.Blob/index.js +1 -1
  17. package/dist/lib/Coscine.Api.Pid/api.js +204 -0
  18. package/dist/lib/Coscine.Api.Pid/api.js.map +1 -0
  19. package/dist/lib/{Coscine.Api.Quota → Coscine.Api.Pid}/base.js +3 -3
  20. package/dist/lib/Coscine.Api.Pid/base.js.map +1 -0
  21. package/dist/lib/{Coscine.Api.Quota → Coscine.Api.Pid}/common.js +2 -2
  22. package/dist/lib/Coscine.Api.Pid/common.js.map +1 -0
  23. package/dist/lib/{Coscine.Api.Quota → Coscine.Api.Pid}/configuration.js +2 -2
  24. package/dist/lib/Coscine.Api.Pid/configuration.js.map +1 -0
  25. package/dist/lib/{Coscine.Api.Quota → Coscine.Api.Pid}/index.js +2 -2
  26. package/dist/lib/Coscine.Api.Pid/index.js.map +1 -0
  27. package/dist/lib/Coscine.Api.Project/api.js +350 -537
  28. package/dist/lib/Coscine.Api.Project/api.js.map +1 -1
  29. package/dist/lib/Coscine.Api.Project/base.js +1 -1
  30. package/dist/lib/Coscine.Api.Project/common.js +1 -1
  31. package/dist/lib/Coscine.Api.Project/configuration.js +1 -1
  32. package/dist/lib/Coscine.Api.Project/index.js +1 -1
  33. package/dist/lib/Coscine.Api.Resources/api.js +232 -42
  34. package/dist/lib/Coscine.Api.Resources/api.js.map +1 -1
  35. package/dist/lib/Coscine.Api.Resources/base.js +1 -1
  36. package/dist/lib/Coscine.Api.Resources/common.js +1 -1
  37. package/dist/lib/Coscine.Api.Resources/configuration.js +1 -1
  38. package/dist/lib/Coscine.Api.Resources/index.js +1 -1
  39. package/dist/lib/Coscine.Api.Search/api.js +41 -30
  40. package/dist/lib/Coscine.Api.Search/api.js.map +1 -1
  41. package/dist/lib/Coscine.Api.Search/base.js +2 -2
  42. package/dist/lib/Coscine.Api.Search/common.js +1 -1
  43. package/dist/lib/Coscine.Api.Search/configuration.js +1 -1
  44. package/dist/lib/Coscine.Api.Search/index.js +1 -1
  45. package/dist/lib/Coscine.Api.Tree/api.js +1 -1
  46. package/dist/lib/Coscine.Api.Tree/base.js +2 -2
  47. package/dist/lib/Coscine.Api.Tree/common.js +1 -1
  48. package/dist/lib/Coscine.Api.Tree/configuration.js +1 -1
  49. package/dist/lib/Coscine.Api.Tree/index.js +1 -1
  50. package/dist/lib/Coscine.Api.User/api.js +1 -1
  51. package/dist/lib/Coscine.Api.User/base.js +1 -1
  52. package/dist/lib/Coscine.Api.User/common.js +1 -1
  53. package/dist/lib/Coscine.Api.User/configuration.js +1 -1
  54. package/dist/lib/Coscine.Api.User/index.js +1 -1
  55. package/dist/lib/apis.js +20 -20
  56. package/dist/lib/apis.js.map +1 -1
  57. package/dist/lib/index.js +4 -4
  58. package/dist/lib/index.js.map +1 -1
  59. package/dist/types/Coscine.Api.Admin/api.d.ts +100 -66
  60. package/dist/types/Coscine.Api.Admin/base.d.ts +1 -1
  61. package/dist/types/Coscine.Api.Admin/common.d.ts +1 -1
  62. package/dist/types/Coscine.Api.Admin/configuration.d.ts +1 -1
  63. package/dist/types/Coscine.Api.Admin/index.d.ts +1 -1
  64. package/dist/types/Coscine.Api.Blob/api.d.ts +1 -34
  65. package/dist/types/Coscine.Api.Blob/base.d.ts +1 -1
  66. package/dist/types/Coscine.Api.Blob/common.d.ts +1 -1
  67. package/dist/types/Coscine.Api.Blob/configuration.d.ts +1 -1
  68. package/dist/types/Coscine.Api.Blob/index.d.ts +1 -1
  69. package/dist/types/Coscine.Api.Pid/api.d.ts +149 -0
  70. package/dist/types/{Coscine.Api.Quota → Coscine.Api.Pid}/base.d.ts +2 -2
  71. package/dist/types/{Coscine.Api.Quota → Coscine.Api.Pid}/common.d.ts +2 -2
  72. package/dist/types/{Coscine.Api.Quota → Coscine.Api.Pid}/configuration.d.ts +2 -2
  73. package/dist/types/{Coscine.Api.Quota → Coscine.Api.Pid}/index.d.ts +2 -2
  74. package/dist/types/Coscine.Api.Project/api.d.ts +312 -328
  75. package/dist/types/Coscine.Api.Project/base.d.ts +1 -1
  76. package/dist/types/Coscine.Api.Project/common.d.ts +1 -1
  77. package/dist/types/Coscine.Api.Project/configuration.d.ts +1 -1
  78. package/dist/types/Coscine.Api.Project/index.d.ts +1 -1
  79. package/dist/types/Coscine.Api.Resources/api.d.ts +237 -41
  80. package/dist/types/Coscine.Api.Resources/base.d.ts +1 -1
  81. package/dist/types/Coscine.Api.Resources/common.d.ts +1 -1
  82. package/dist/types/Coscine.Api.Resources/configuration.d.ts +1 -1
  83. package/dist/types/Coscine.Api.Resources/index.d.ts +1 -1
  84. package/dist/types/Coscine.Api.Search/api.d.ts +53 -30
  85. package/dist/types/Coscine.Api.Search/base.d.ts +1 -1
  86. package/dist/types/Coscine.Api.Search/common.d.ts +1 -1
  87. package/dist/types/Coscine.Api.Search/configuration.d.ts +1 -1
  88. package/dist/types/Coscine.Api.Search/index.d.ts +1 -1
  89. package/dist/types/Coscine.Api.Tree/api.d.ts +1 -1
  90. package/dist/types/Coscine.Api.Tree/base.d.ts +1 -1
  91. package/dist/types/Coscine.Api.Tree/common.d.ts +1 -1
  92. package/dist/types/Coscine.Api.Tree/configuration.d.ts +1 -1
  93. package/dist/types/Coscine.Api.Tree/index.d.ts +1 -1
  94. package/dist/types/Coscine.Api.User/api.d.ts +1 -1
  95. package/dist/types/Coscine.Api.User/base.d.ts +1 -1
  96. package/dist/types/Coscine.Api.User/common.d.ts +1 -1
  97. package/dist/types/Coscine.Api.User/configuration.d.ts +1 -1
  98. package/dist/types/Coscine.Api.User/index.d.ts +1 -1
  99. package/dist/types/apis.d.ts +17 -26
  100. package/dist/types/index.d.ts +34 -52
  101. package/package.json +2 -2
  102. package/dist/lib/Coscine.Api.Quota/api.js +0 -283
  103. package/dist/lib/Coscine.Api.Quota/api.js.map +0 -1
  104. package/dist/lib/Coscine.Api.Quota/base.js.map +0 -1
  105. package/dist/lib/Coscine.Api.Quota/common.js.map +0 -1
  106. package/dist/lib/Coscine.Api.Quota/configuration.js.map +0 -1
  107. package/dist/lib/Coscine.Api.Quota/index.js.map +0 -1
  108. package/dist/types/Coscine.Api.Quota/api.d.ts +0 -197
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$c = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.ActivatedFeatures".replace(/\/+$/, "");
1852
+ const BASE_PATH$b = "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$b 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$b extends Error {
1869
1869
  *
1870
1870
  * @export
1871
1871
  */
1872
- const DUMMY_BASE_URL$c = 'https://example.com';
1872
+ const DUMMY_BASE_URL$b = 'https://example.com';
1873
1873
  /**
1874
1874
  *
1875
1875
  * @throws {RequiredError}
1876
1876
  * @export
1877
1877
  */
1878
- const assertParamExists$b = function (functionName, paramName, paramValue) {
1878
+ const assertParamExists$a = function (functionName, paramName, paramValue) {
1879
1879
  if (paramValue === null || paramValue === undefined) {
1880
- throw new RequiredError$b(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$c = function (object, keyParamName, configuration) {
1887
+ const setApiKeyToObject$b = 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$c = function (object, keyParamName, configuration) {
1898
1898
  *
1899
1899
  * @export
1900
1900
  */
1901
- const setSearchParams$c = function (url, ...objects) {
1901
+ const setSearchParams$b = function (url, ...objects) {
1902
1902
  const searchParams = new URLSearchParams(url.search);
1903
1903
  for (const object of objects) {
1904
1904
  for (const key in object) {
@@ -1919,14 +1919,27 @@ const setSearchParams$c = function (url, ...objects) {
1919
1919
  *
1920
1920
  * @export
1921
1921
  */
1922
- const toPathString$c = function (url) {
1922
+ const serializeDataIfNeeded$6 = function (value, requestOptions, configuration) {
1923
+ const nonString = typeof value !== 'string';
1924
+ const needsSerialization = nonString && configuration && configuration.isJsonMime
1925
+ ? configuration.isJsonMime(requestOptions.headers['Content-Type'])
1926
+ : nonString;
1927
+ return needsSerialization
1928
+ ? JSON.stringify(value !== undefined ? value : {})
1929
+ : (value || "");
1930
+ };
1931
+ /**
1932
+ *
1933
+ * @export
1934
+ */
1935
+ const toPathString$b = function (url) {
1923
1936
  return url.pathname + url.search + url.hash;
1924
1937
  };
1925
1938
  /**
1926
1939
  *
1927
1940
  * @export
1928
1941
  */
1929
- const createRequestFunction$c = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
1942
+ const createRequestFunction$b = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
1930
1943
  return (axios = globalAxios, basePath = BASE_PATH) => {
1931
1944
  const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
1932
1945
  return axios.request(axiosRequestArgs);
@@ -1935,29 +1948,39 @@ const createRequestFunction$c = function (axiosArgs, globalAxios, BASE_PATH, con
1935
1948
 
1936
1949
  /* tslint:disable */
1937
1950
  /**
1938
- * ActivatedFeaturesApi - axios parameter creator
1951
+ *
1952
+ * @export
1953
+ * @enum {string}
1954
+ */
1955
+ var QuotaUnit$2;
1956
+ (function (QuotaUnit) {
1957
+ QuotaUnit["Byte"] = "https://qudt.org/vocab/unit/BYTE";
1958
+ QuotaUnit["KibiByte"] = "https://qudt.org/vocab/unit/KibiBYTE";
1959
+ QuotaUnit["MebiByte"] = "https://qudt.org/vocab/unit/MebiBYTE";
1960
+ QuotaUnit["GibiByte"] = "https://qudt.org/vocab/unit/GibiBYTE";
1961
+ QuotaUnit["TebiByte"] = "https://qudt.org/vocab/unit/TebiBYTE";
1962
+ QuotaUnit["PebiByte"] = "https://qudt.org/vocab/unit/PebiBYTE";
1963
+ })(QuotaUnit$2 || (QuotaUnit$2 = {}));
1964
+ /**
1965
+ * AdminApi - axios parameter creator
1939
1966
  * @export
1940
1967
  */
1941
- const ActivatedFeaturesApiAxiosParamCreator = function (configuration) {
1968
+ const AdminApiAxiosParamCreator = function (configuration) {
1942
1969
  return {
1943
1970
  /**
1944
1971
  *
1945
- * @summary Activates the feature of the project.
1946
- * @param {string} projectId Project for which the feature is activated
1947
- * @param {string} featureId Feature
1972
+ * @summary Find the project related to the projectString(GUID or slug)
1973
+ * @param {string} projectString The project id (GUID) or slug (from URL).
1948
1974
  * @param {*} [options] Override http request option.
1949
1975
  * @throws {RequiredError}
1950
1976
  */
1951
- activatedFeaturesActivateFeature: (projectId, featureId, options = {}) => __awaiter(this, void 0, void 0, function* () {
1952
- // verify required parameter 'projectId' is not null or undefined
1953
- assertParamExists$b('activatedFeaturesActivateFeature', 'projectId', projectId);
1954
- // verify required parameter 'featureId' is not null or undefined
1955
- assertParamExists$b('activatedFeaturesActivateFeature', 'featureId', featureId);
1956
- const localVarPath = `/ActivatedFeatures/{projectId}/activateFeature/{featureId}`
1957
- .replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)))
1958
- .replace(`{${"featureId"}}`, encodeURIComponent(String(featureId)));
1977
+ adminGetProject: (projectString, options = {}) => __awaiter(this, void 0, void 0, function* () {
1978
+ // verify required parameter 'projectString' is not null or undefined
1979
+ assertParamExists$a('adminGetProject', 'projectString', projectString);
1980
+ const localVarPath = `/Admin/{projectString}`
1981
+ .replace(`{${"projectString"}}`, encodeURIComponent(String(projectString)));
1959
1982
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1960
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$c);
1983
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$b);
1961
1984
  let baseOptions;
1962
1985
  if (configuration) {
1963
1986
  baseOptions = configuration.baseOptions;
@@ -1966,327 +1989,122 @@ const ActivatedFeaturesApiAxiosParamCreator = function (configuration) {
1966
1989
  const localVarHeaderParameter = {};
1967
1990
  const localVarQueryParameter = {};
1968
1991
  // authentication JWT token required
1969
- yield setApiKeyToObject$c(localVarHeaderParameter, "Authorization", configuration);
1970
- setSearchParams$c(localVarUrlObj, localVarQueryParameter, options.query);
1992
+ yield setApiKeyToObject$b(localVarHeaderParameter, "Authorization", configuration);
1993
+ setSearchParams$b(localVarUrlObj, localVarQueryParameter, options.query);
1971
1994
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1972
1995
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1973
1996
  return {
1974
- url: toPathString$c(localVarUrlObj),
1997
+ url: toPathString$b(localVarUrlObj),
1975
1998
  options: localVarRequestOptions,
1976
1999
  };
1977
2000
  }),
1978
2001
  /**
1979
2002
  *
1980
- * @summary Deactives the feature of the project.
1981
- * @param {string} projectId Project for which the feature is deactivated
1982
- * @param {string} featureId Feature
2003
+ * @summary Update a project maximum and allocated quota
2004
+ * @param {string} projectId Id of the project
2005
+ * @param {string} resourceTypeId Id of the resource type
2006
+ * @param {UpdateQuotaParameterObject} updateQuotaParameterObject JSON object for updating the project maximum and allocated quota.
1983
2007
  * @param {*} [options] Override http request option.
1984
2008
  * @throws {RequiredError}
1985
2009
  */
1986
- activatedFeaturesDeactivateFeature: (projectId, featureId, options = {}) => __awaiter(this, void 0, void 0, function* () {
2010
+ adminUpdateQuota: (projectId, resourceTypeId, updateQuotaParameterObject, options = {}) => __awaiter(this, void 0, void 0, function* () {
1987
2011
  // verify required parameter 'projectId' is not null or undefined
1988
- assertParamExists$b('activatedFeaturesDeactivateFeature', 'projectId', projectId);
1989
- // verify required parameter 'featureId' is not null or undefined
1990
- assertParamExists$b('activatedFeaturesDeactivateFeature', 'featureId', featureId);
1991
- const localVarPath = `/ActivatedFeatures/{projectId}/deactivateFeature/{featureId}`
2012
+ assertParamExists$a('adminUpdateQuota', 'projectId', projectId);
2013
+ // verify required parameter 'resourceTypeId' is not null or undefined
2014
+ assertParamExists$a('adminUpdateQuota', 'resourceTypeId', resourceTypeId);
2015
+ // verify required parameter 'updateQuotaParameterObject' is not null or undefined
2016
+ assertParamExists$a('adminUpdateQuota', 'updateQuotaParameterObject', updateQuotaParameterObject);
2017
+ const localVarPath = `/Admin/{projectId}/{resourceTypeId}`
1992
2018
  .replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)))
1993
- .replace(`{${"featureId"}}`, encodeURIComponent(String(featureId)));
1994
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
1995
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$c);
1996
- let baseOptions;
1997
- if (configuration) {
1998
- baseOptions = configuration.baseOptions;
1999
- }
2000
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
2001
- const localVarHeaderParameter = {};
2002
- const localVarQueryParameter = {};
2003
- // authentication JWT token required
2004
- yield setApiKeyToObject$c(localVarHeaderParameter, "Authorization", configuration);
2005
- setSearchParams$c(localVarUrlObj, localVarQueryParameter, options.query);
2006
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2007
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2008
- return {
2009
- url: toPathString$c(localVarUrlObj),
2010
- options: localVarRequestOptions,
2011
- };
2012
- }),
2013
- /**
2014
- *
2015
- * @summary Returns activated features of the project.
2016
- * @param {string} projectId Project for which the activated features are returned
2017
- * @param {*} [options] Override http request option.
2018
- * @throws {RequiredError}
2019
- */
2020
- activatedFeaturesGetActiveFeatures: (projectId, options = {}) => __awaiter(this, void 0, void 0, function* () {
2021
- // verify required parameter 'projectId' is not null or undefined
2022
- assertParamExists$b('activatedFeaturesGetActiveFeatures', 'projectId', projectId);
2023
- const localVarPath = `/ActivatedFeatures/{projectId}/activeFeatures`
2024
- .replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
2025
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
2026
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$c);
2027
- let baseOptions;
2028
- if (configuration) {
2029
- baseOptions = configuration.baseOptions;
2030
- }
2031
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
2032
- const localVarHeaderParameter = {};
2033
- const localVarQueryParameter = {};
2034
- // authentication JWT token required
2035
- yield setApiKeyToObject$c(localVarHeaderParameter, "Authorization", configuration);
2036
- setSearchParams$c(localVarUrlObj, localVarQueryParameter, options.query);
2037
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2038
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2039
- return {
2040
- url: toPathString$c(localVarUrlObj),
2041
- options: localVarRequestOptions,
2042
- };
2043
- }),
2044
- /**
2045
- *
2046
- * @summary Returns features of the project.
2047
- * @param {string} projectId Project for which the features are returned
2048
- * @param {*} [options] Override http request option.
2049
- * @throws {RequiredError}
2050
- */
2051
- activatedFeaturesGetFeatures: (projectId, options = {}) => __awaiter(this, void 0, void 0, function* () {
2052
- // verify required parameter 'projectId' is not null or undefined
2053
- assertParamExists$b('activatedFeaturesGetFeatures', 'projectId', projectId);
2054
- const localVarPath = `/ActivatedFeatures/{projectId}`
2055
- .replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
2056
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
2057
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$c);
2058
- let baseOptions;
2059
- if (configuration) {
2060
- baseOptions = configuration.baseOptions;
2061
- }
2062
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
2063
- const localVarHeaderParameter = {};
2064
- const localVarQueryParameter = {};
2065
- // authentication JWT token required
2066
- yield setApiKeyToObject$c(localVarHeaderParameter, "Authorization", configuration);
2067
- setSearchParams$c(localVarUrlObj, localVarQueryParameter, options.query);
2068
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2069
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2070
- return {
2071
- url: toPathString$c(localVarUrlObj),
2072
- options: localVarRequestOptions,
2073
- };
2074
- }),
2075
- /**
2076
- *
2077
- * @summary Returns all available features.
2078
- * @param {*} [options] Override http request option.
2079
- * @throws {RequiredError}
2080
- */
2081
- activatedFeaturesGetFeaturesAll: (options = {}) => __awaiter(this, void 0, void 0, function* () {
2082
- const localVarPath = `/ActivatedFeatures`;
2083
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
2084
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$c);
2085
- let baseOptions;
2086
- if (configuration) {
2087
- baseOptions = configuration.baseOptions;
2088
- }
2089
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
2090
- const localVarHeaderParameter = {};
2091
- const localVarQueryParameter = {};
2092
- // authentication JWT token required
2093
- yield setApiKeyToObject$c(localVarHeaderParameter, "Authorization", configuration);
2094
- setSearchParams$c(localVarUrlObj, localVarQueryParameter, options.query);
2095
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2096
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2097
- return {
2098
- url: toPathString$c(localVarUrlObj),
2099
- options: localVarRequestOptions,
2100
- };
2101
- }),
2102
- /**
2103
- *
2104
- * @summary Returns the inactive features of the project.
2105
- * @param {string} projectId Project for which the inactivate features are returned
2106
- * @param {*} [options] Override http request option.
2107
- * @throws {RequiredError}
2108
- */
2109
- activatedFeaturesGetInactiveFeatures: (projectId, options = {}) => __awaiter(this, void 0, void 0, function* () {
2110
- // verify required parameter 'projectId' is not null or undefined
2111
- assertParamExists$b('activatedFeaturesGetInactiveFeatures', 'projectId', projectId);
2112
- const localVarPath = `/ActivatedFeatures/{projectId}/inactiveFeatures`
2113
- .replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
2019
+ .replace(`{${"resourceTypeId"}}`, encodeURIComponent(String(resourceTypeId)));
2114
2020
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2115
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$c);
2021
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$b);
2116
2022
  let baseOptions;
2117
2023
  if (configuration) {
2118
2024
  baseOptions = configuration.baseOptions;
2119
2025
  }
2120
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
2026
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
2121
2027
  const localVarHeaderParameter = {};
2122
2028
  const localVarQueryParameter = {};
2123
2029
  // authentication JWT token required
2124
- yield setApiKeyToObject$c(localVarHeaderParameter, "Authorization", configuration);
2125
- setSearchParams$c(localVarUrlObj, localVarQueryParameter, options.query);
2030
+ yield setApiKeyToObject$b(localVarHeaderParameter, "Authorization", configuration);
2031
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2032
+ setSearchParams$b(localVarUrlObj, localVarQueryParameter, options.query);
2126
2033
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2127
2034
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2035
+ localVarRequestOptions.data = serializeDataIfNeeded$6(updateQuotaParameterObject, localVarRequestOptions, configuration);
2128
2036
  return {
2129
- url: toPathString$c(localVarUrlObj),
2037
+ url: toPathString$b(localVarUrlObj),
2130
2038
  options: localVarRequestOptions,
2131
2039
  };
2132
2040
  }),
2133
2041
  };
2134
2042
  };
2135
2043
  /**
2136
- * ActivatedFeaturesApi - functional programming interface
2044
+ * AdminApi - functional programming interface
2137
2045
  * @export
2138
2046
  */
2139
- const ActivatedFeaturesApiFp = function (configuration) {
2140
- const localVarAxiosParamCreator = ActivatedFeaturesApiAxiosParamCreator(configuration);
2047
+ const AdminApiFp = function (configuration) {
2048
+ const localVarAxiosParamCreator = AdminApiAxiosParamCreator(configuration);
2141
2049
  return {
2142
2050
  /**
2143
2051
  *
2144
- * @summary Activates the feature of the project.
2145
- * @param {string} projectId Project for which the feature is activated
2146
- * @param {string} featureId Feature
2147
- * @param {*} [options] Override http request option.
2148
- * @throws {RequiredError}
2149
- */
2150
- activatedFeaturesActivateFeature(projectId, featureId, options) {
2151
- return __awaiter(this, void 0, void 0, function* () {
2152
- const localVarAxiosArgs = yield localVarAxiosParamCreator.activatedFeaturesActivateFeature(projectId, featureId, options);
2153
- return createRequestFunction$c(localVarAxiosArgs, axios, BASE_PATH$c, configuration);
2154
- });
2155
- },
2156
- /**
2157
- *
2158
- * @summary Deactives the feature of the project.
2159
- * @param {string} projectId Project for which the feature is deactivated
2160
- * @param {string} featureId Feature
2161
- * @param {*} [options] Override http request option.
2162
- * @throws {RequiredError}
2163
- */
2164
- activatedFeaturesDeactivateFeature(projectId, featureId, options) {
2165
- return __awaiter(this, void 0, void 0, function* () {
2166
- const localVarAxiosArgs = yield localVarAxiosParamCreator.activatedFeaturesDeactivateFeature(projectId, featureId, options);
2167
- return createRequestFunction$c(localVarAxiosArgs, axios, BASE_PATH$c, configuration);
2168
- });
2169
- },
2170
- /**
2171
- *
2172
- * @summary Returns activated features of the project.
2173
- * @param {string} projectId Project for which the activated features are returned
2174
- * @param {*} [options] Override http request option.
2175
- * @throws {RequiredError}
2176
- */
2177
- activatedFeaturesGetActiveFeatures(projectId, options) {
2178
- return __awaiter(this, void 0, void 0, function* () {
2179
- const localVarAxiosArgs = yield localVarAxiosParamCreator.activatedFeaturesGetActiveFeatures(projectId, options);
2180
- return createRequestFunction$c(localVarAxiosArgs, axios, BASE_PATH$c, configuration);
2181
- });
2182
- },
2183
- /**
2184
- *
2185
- * @summary Returns features of the project.
2186
- * @param {string} projectId Project for which the features are returned
2187
- * @param {*} [options] Override http request option.
2188
- * @throws {RequiredError}
2189
- */
2190
- activatedFeaturesGetFeatures(projectId, options) {
2191
- return __awaiter(this, void 0, void 0, function* () {
2192
- const localVarAxiosArgs = yield localVarAxiosParamCreator.activatedFeaturesGetFeatures(projectId, options);
2193
- return createRequestFunction$c(localVarAxiosArgs, axios, BASE_PATH$c, configuration);
2194
- });
2195
- },
2196
- /**
2197
- *
2198
- * @summary Returns all available features.
2052
+ * @summary Find the project related to the projectString(GUID or slug)
2053
+ * @param {string} projectString The project id (GUID) or slug (from URL).
2199
2054
  * @param {*} [options] Override http request option.
2200
2055
  * @throws {RequiredError}
2201
2056
  */
2202
- activatedFeaturesGetFeaturesAll(options) {
2057
+ adminGetProject(projectString, options) {
2203
2058
  return __awaiter(this, void 0, void 0, function* () {
2204
- const localVarAxiosArgs = yield localVarAxiosParamCreator.activatedFeaturesGetFeaturesAll(options);
2205
- return createRequestFunction$c(localVarAxiosArgs, axios, BASE_PATH$c, configuration);
2059
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminGetProject(projectString, options);
2060
+ return createRequestFunction$b(localVarAxiosArgs, axios, BASE_PATH$b, configuration);
2206
2061
  });
2207
2062
  },
2208
2063
  /**
2209
2064
  *
2210
- * @summary Returns the inactive features of the project.
2211
- * @param {string} projectId Project for which the inactivate features are returned
2065
+ * @summary Update a project maximum and allocated quota
2066
+ * @param {string} projectId Id of the project
2067
+ * @param {string} resourceTypeId Id of the resource type
2068
+ * @param {UpdateQuotaParameterObject} updateQuotaParameterObject JSON object for updating the project maximum and allocated quota.
2212
2069
  * @param {*} [options] Override http request option.
2213
2070
  * @throws {RequiredError}
2214
2071
  */
2215
- activatedFeaturesGetInactiveFeatures(projectId, options) {
2072
+ adminUpdateQuota(projectId, resourceTypeId, updateQuotaParameterObject, options) {
2216
2073
  return __awaiter(this, void 0, void 0, function* () {
2217
- const localVarAxiosArgs = yield localVarAxiosParamCreator.activatedFeaturesGetInactiveFeatures(projectId, options);
2218
- return createRequestFunction$c(localVarAxiosArgs, axios, BASE_PATH$c, configuration);
2074
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminUpdateQuota(projectId, resourceTypeId, updateQuotaParameterObject, options);
2075
+ return createRequestFunction$b(localVarAxiosArgs, axios, BASE_PATH$b, configuration);
2219
2076
  });
2220
2077
  },
2221
2078
  };
2222
2079
  };
2223
2080
  /**
2224
- * ActivatedFeaturesApi - factory interface
2081
+ * AdminApi - factory interface
2225
2082
  * @export
2226
2083
  */
2227
- const ActivatedFeaturesApiFactory = function (configuration, basePath, axios) {
2228
- const localVarFp = ActivatedFeaturesApiFp(configuration);
2084
+ const AdminApiFactory = function (configuration, basePath, axios) {
2085
+ const localVarFp = AdminApiFp(configuration);
2229
2086
  return {
2230
2087
  /**
2231
2088
  *
2232
- * @summary Activates the feature of the project.
2233
- * @param {string} projectId Project for which the feature is activated
2234
- * @param {string} featureId Feature
2235
- * @param {*} [options] Override http request option.
2236
- * @throws {RequiredError}
2237
- */
2238
- activatedFeaturesActivateFeature(projectId, featureId, options) {
2239
- return localVarFp.activatedFeaturesActivateFeature(projectId, featureId, options).then((request) => request(axios, basePath));
2240
- },
2241
- /**
2242
- *
2243
- * @summary Deactives the feature of the project.
2244
- * @param {string} projectId Project for which the feature is deactivated
2245
- * @param {string} featureId Feature
2246
- * @param {*} [options] Override http request option.
2247
- * @throws {RequiredError}
2248
- */
2249
- activatedFeaturesDeactivateFeature(projectId, featureId, options) {
2250
- return localVarFp.activatedFeaturesDeactivateFeature(projectId, featureId, options).then((request) => request(axios, basePath));
2251
- },
2252
- /**
2253
- *
2254
- * @summary Returns activated features of the project.
2255
- * @param {string} projectId Project for which the activated features are returned
2256
- * @param {*} [options] Override http request option.
2257
- * @throws {RequiredError}
2258
- */
2259
- activatedFeaturesGetActiveFeatures(projectId, options) {
2260
- return localVarFp.activatedFeaturesGetActiveFeatures(projectId, options).then((request) => request(axios, basePath));
2261
- },
2262
- /**
2263
- *
2264
- * @summary Returns features of the project.
2265
- * @param {string} projectId Project for which the features are returned
2266
- * @param {*} [options] Override http request option.
2267
- * @throws {RequiredError}
2268
- */
2269
- activatedFeaturesGetFeatures(projectId, options) {
2270
- return localVarFp.activatedFeaturesGetFeatures(projectId, options).then((request) => request(axios, basePath));
2271
- },
2272
- /**
2273
- *
2274
- * @summary Returns all available features.
2089
+ * @summary Find the project related to the projectString(GUID or slug)
2090
+ * @param {string} projectString The project id (GUID) or slug (from URL).
2275
2091
  * @param {*} [options] Override http request option.
2276
2092
  * @throws {RequiredError}
2277
2093
  */
2278
- activatedFeaturesGetFeaturesAll(options) {
2279
- return localVarFp.activatedFeaturesGetFeaturesAll(options).then((request) => request(axios, basePath));
2094
+ adminGetProject(projectString, options) {
2095
+ return localVarFp.adminGetProject(projectString, options).then((request) => request(axios, basePath));
2280
2096
  },
2281
2097
  /**
2282
2098
  *
2283
- * @summary Returns the inactive features of the project.
2284
- * @param {string} projectId Project for which the inactivate features are returned
2099
+ * @summary Update a project maximum and allocated quota
2100
+ * @param {string} projectId Id of the project
2101
+ * @param {string} resourceTypeId Id of the resource type
2102
+ * @param {UpdateQuotaParameterObject} updateQuotaParameterObject JSON object for updating the project maximum and allocated quota.
2285
2103
  * @param {*} [options] Override http request option.
2286
2104
  * @throws {RequiredError}
2287
2105
  */
2288
- activatedFeaturesGetInactiveFeatures(projectId, options) {
2289
- return localVarFp.activatedFeaturesGetInactiveFeatures(projectId, options).then((request) => request(axios, basePath));
2106
+ adminUpdateQuota(projectId, resourceTypeId, updateQuotaParameterObject, options) {
2107
+ return localVarFp.adminUpdateQuota(projectId, resourceTypeId, updateQuotaParameterObject, options).then((request) => request(axios, basePath));
2290
2108
  },
2291
2109
  };
2292
2110
  };
@@ -2294,10 +2112,10 @@ const ActivatedFeaturesApiFactory = function (configuration, basePath, axios) {
2294
2112
  /* tslint:disable */
2295
2113
  /* eslint-disable */
2296
2114
  /**
2297
- * Coscine.Api.ActivatedFeatures
2115
+ * Coscine.Api.Admin
2298
2116
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
2299
2117
  *
2300
- * The version of the OpenAPI document: 2.1.2
2118
+ * The version of the OpenAPI document: 3.0.0
2301
2119
  *
2302
2120
  *
2303
2121
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2331,14 +2149,14 @@ class Configuration {
2331
2149
  }
2332
2150
 
2333
2151
  /* tslint:disable */
2334
- const BASE_PATH$b = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Admin".replace(/\/+$/, "");
2152
+ const BASE_PATH$a = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Blob".replace(/\/+$/, "");
2335
2153
  /**
2336
2154
  *
2337
2155
  * @export
2338
2156
  * @class RequiredError
2339
2157
  * @extends {Error}
2340
2158
  */
2341
- class RequiredError$a extends Error {
2159
+ class RequiredError$9 extends Error {
2342
2160
  constructor(field, msg) {
2343
2161
  super(msg);
2344
2162
  this.field = field;
@@ -2351,22 +2169,22 @@ class RequiredError$a extends Error {
2351
2169
  *
2352
2170
  * @export
2353
2171
  */
2354
- const DUMMY_BASE_URL$b = 'https://example.com';
2172
+ const DUMMY_BASE_URL$a = 'https://example.com';
2355
2173
  /**
2356
2174
  *
2357
2175
  * @throws {RequiredError}
2358
2176
  * @export
2359
2177
  */
2360
- const assertParamExists$a = function (functionName, paramName, paramValue) {
2178
+ const assertParamExists$9 = function (functionName, paramName, paramValue) {
2361
2179
  if (paramValue === null || paramValue === undefined) {
2362
- throw new RequiredError$a(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}.`);
2363
2181
  }
2364
2182
  };
2365
2183
  /**
2366
2184
  *
2367
2185
  * @export
2368
2186
  */
2369
- const setApiKeyToObject$b = function (object, keyParamName, configuration) {
2187
+ const setApiKeyToObject$a = function (object, keyParamName, configuration) {
2370
2188
  return __awaiter(this, void 0, void 0, function* () {
2371
2189
  if (configuration && configuration.apiKey) {
2372
2190
  const localVarApiKeyValue = typeof configuration.apiKey === 'function'
@@ -2380,7 +2198,7 @@ const setApiKeyToObject$b = function (object, keyParamName, configuration) {
2380
2198
  *
2381
2199
  * @export
2382
2200
  */
2383
- const setSearchParams$b = function (url, ...objects) {
2201
+ const setSearchParams$a = function (url, ...objects) {
2384
2202
  const searchParams = new URLSearchParams(url.search);
2385
2203
  for (const object of objects) {
2386
2204
  for (const key in object) {
@@ -2401,27 +2219,14 @@ const setSearchParams$b = function (url, ...objects) {
2401
2219
  *
2402
2220
  * @export
2403
2221
  */
2404
- const serializeDataIfNeeded$6 = function (value, requestOptions, configuration) {
2405
- const nonString = typeof value !== 'string';
2406
- const needsSerialization = nonString && configuration && configuration.isJsonMime
2407
- ? configuration.isJsonMime(requestOptions.headers['Content-Type'])
2408
- : nonString;
2409
- return needsSerialization
2410
- ? JSON.stringify(value !== undefined ? value : {})
2411
- : (value || "");
2412
- };
2413
- /**
2414
- *
2415
- * @export
2416
- */
2417
- const toPathString$b = function (url) {
2222
+ const toPathString$a = function (url) {
2418
2223
  return url.pathname + url.search + url.hash;
2419
2224
  };
2420
2225
  /**
2421
2226
  *
2422
2227
  * @export
2423
2228
  */
2424
- const createRequestFunction$b = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
2229
+ const createRequestFunction$a = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
2425
2230
  return (axios = globalAxios, basePath = BASE_PATH) => {
2426
2231
  const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
2427
2232
  return axios.request(axiosRequestArgs);
@@ -2430,238 +2235,16 @@ const createRequestFunction$b = function (axiosArgs, globalAxios, BASE_PATH, con
2430
2235
 
2431
2236
  /* tslint:disable */
2432
2237
  /**
2433
- * AdminApi - axios parameter creator
2238
+ * BlobApi - axios parameter creator
2434
2239
  * @export
2435
2240
  */
2436
- const AdminApiAxiosParamCreator = function (configuration) {
2241
+ const BlobApiAxiosParamCreator = function (configuration) {
2437
2242
  return {
2438
2243
  /**
2439
2244
  *
2440
- * @summary Find the project related to the projectString(GUID or slug)
2441
- * @param {string} projectString Either the id (GUID) of the project or the slug.
2442
- * @param {*} [options] Override http request option.
2443
- * @throws {RequiredError}
2444
- */
2445
- adminGetProject: (projectString, options = {}) => __awaiter(this, void 0, void 0, function* () {
2446
- // verify required parameter 'projectString' is not null or undefined
2447
- assertParamExists$a('adminGetProject', 'projectString', projectString);
2448
- const localVarPath = `/Admin/{projectString}`
2449
- .replace(`{${"projectString"}}`, encodeURIComponent(String(projectString)));
2450
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
2451
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$b);
2452
- let baseOptions;
2453
- if (configuration) {
2454
- baseOptions = configuration.baseOptions;
2455
- }
2456
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
2457
- const localVarHeaderParameter = {};
2458
- const localVarQueryParameter = {};
2459
- // authentication JWT token required
2460
- yield setApiKeyToObject$b(localVarHeaderParameter, "Authorization", configuration);
2461
- setSearchParams$b(localVarUrlObj, localVarQueryParameter, options.query);
2462
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2463
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2464
- return {
2465
- url: toPathString$b(localVarUrlObj),
2466
- options: localVarRequestOptions,
2467
- };
2468
- }),
2469
- /**
2470
- *
2471
- * @summary Update the project quota
2472
- * @param {UpdateQuotaParameterObject} updateQuotaParameterObject JSON object for updating quota.
2473
- * @param {*} [options] Override http request option.
2474
- * @throws {RequiredError}
2475
- */
2476
- adminUpdateQuota: (updateQuotaParameterObject, options = {}) => __awaiter(this, void 0, void 0, function* () {
2477
- // verify required parameter 'updateQuotaParameterObject' is not null or undefined
2478
- assertParamExists$a('adminUpdateQuota', 'updateQuotaParameterObject', updateQuotaParameterObject);
2479
- const localVarPath = `/Admin`;
2480
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
2481
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$b);
2482
- let baseOptions;
2483
- if (configuration) {
2484
- baseOptions = configuration.baseOptions;
2485
- }
2486
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
2487
- const localVarHeaderParameter = {};
2488
- const localVarQueryParameter = {};
2489
- // authentication JWT token required
2490
- yield setApiKeyToObject$b(localVarHeaderParameter, "Authorization", configuration);
2491
- localVarHeaderParameter['Content-Type'] = 'application/json';
2492
- setSearchParams$b(localVarUrlObj, localVarQueryParameter, options.query);
2493
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2494
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2495
- localVarRequestOptions.data = serializeDataIfNeeded$6(updateQuotaParameterObject, localVarRequestOptions, configuration);
2496
- return {
2497
- url: toPathString$b(localVarUrlObj),
2498
- options: localVarRequestOptions,
2499
- };
2500
- }),
2501
- };
2502
- };
2503
- /**
2504
- * AdminApi - functional programming interface
2505
- * @export
2506
- */
2507
- const AdminApiFp = function (configuration) {
2508
- const localVarAxiosParamCreator = AdminApiAxiosParamCreator(configuration);
2509
- return {
2510
- /**
2511
- *
2512
- * @summary Find the project related to the projectString(GUID or slug)
2513
- * @param {string} projectString Either the id (GUID) of the project or the slug.
2514
- * @param {*} [options] Override http request option.
2515
- * @throws {RequiredError}
2516
- */
2517
- adminGetProject(projectString, options) {
2518
- return __awaiter(this, void 0, void 0, function* () {
2519
- const localVarAxiosArgs = yield localVarAxiosParamCreator.adminGetProject(projectString, options);
2520
- return createRequestFunction$b(localVarAxiosArgs, axios, BASE_PATH$b, configuration);
2521
- });
2522
- },
2523
- /**
2524
- *
2525
- * @summary Update the project quota
2526
- * @param {UpdateQuotaParameterObject} updateQuotaParameterObject JSON object for updating quota.
2527
- * @param {*} [options] Override http request option.
2528
- * @throws {RequiredError}
2529
- */
2530
- adminUpdateQuota(updateQuotaParameterObject, options) {
2531
- return __awaiter(this, void 0, void 0, function* () {
2532
- const localVarAxiosArgs = yield localVarAxiosParamCreator.adminUpdateQuota(updateQuotaParameterObject, options);
2533
- return createRequestFunction$b(localVarAxiosArgs, axios, BASE_PATH$b, configuration);
2534
- });
2535
- },
2536
- };
2537
- };
2538
- /**
2539
- * AdminApi - factory interface
2540
- * @export
2541
- */
2542
- const AdminApiFactory = function (configuration, basePath, axios) {
2543
- const localVarFp = AdminApiFp(configuration);
2544
- return {
2545
- /**
2546
- *
2547
- * @summary Find the project related to the projectString(GUID or slug)
2548
- * @param {string} projectString Either the id (GUID) of the project or the slug.
2549
- * @param {*} [options] Override http request option.
2550
- * @throws {RequiredError}
2551
- */
2552
- adminGetProject(projectString, options) {
2553
- return localVarFp.adminGetProject(projectString, options).then((request) => request(axios, basePath));
2554
- },
2555
- /**
2556
- *
2557
- * @summary Update the project quota
2558
- * @param {UpdateQuotaParameterObject} updateQuotaParameterObject JSON object for updating quota.
2559
- * @param {*} [options] Override http request option.
2560
- * @throws {RequiredError}
2561
- */
2562
- adminUpdateQuota(updateQuotaParameterObject, options) {
2563
- return localVarFp.adminUpdateQuota(updateQuotaParameterObject, options).then((request) => request(axios, basePath));
2564
- },
2565
- };
2566
- };
2567
-
2568
- /* tslint:disable */
2569
- const BASE_PATH$a = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Blob".replace(/\/+$/, "");
2570
- /**
2571
- *
2572
- * @export
2573
- * @class RequiredError
2574
- * @extends {Error}
2575
- */
2576
- class RequiredError$9 extends Error {
2577
- constructor(field, msg) {
2578
- super(msg);
2579
- this.field = field;
2580
- this.name = "RequiredError";
2581
- }
2582
- }
2583
-
2584
- /* tslint:disable */
2585
- /**
2586
- *
2587
- * @export
2588
- */
2589
- const DUMMY_BASE_URL$a = 'https://example.com';
2590
- /**
2591
- *
2592
- * @throws {RequiredError}
2593
- * @export
2594
- */
2595
- const assertParamExists$9 = function (functionName, paramName, paramValue) {
2596
- if (paramValue === null || paramValue === undefined) {
2597
- throw new RequiredError$9(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
2598
- }
2599
- };
2600
- /**
2601
- *
2602
- * @export
2603
- */
2604
- const setApiKeyToObject$a = function (object, keyParamName, configuration) {
2605
- return __awaiter(this, void 0, void 0, function* () {
2606
- if (configuration && configuration.apiKey) {
2607
- const localVarApiKeyValue = typeof configuration.apiKey === 'function'
2608
- ? yield configuration.apiKey(keyParamName)
2609
- : yield configuration.apiKey;
2610
- object[keyParamName] = localVarApiKeyValue;
2611
- }
2612
- });
2613
- };
2614
- /**
2615
- *
2616
- * @export
2617
- */
2618
- const setSearchParams$a = function (url, ...objects) {
2619
- const searchParams = new URLSearchParams(url.search);
2620
- for (const object of objects) {
2621
- for (const key in object) {
2622
- if (Array.isArray(object[key])) {
2623
- searchParams.delete(key);
2624
- for (const item of object[key]) {
2625
- searchParams.append(key, item);
2626
- }
2627
- }
2628
- else {
2629
- searchParams.set(key, object[key]);
2630
- }
2631
- }
2632
- }
2633
- url.search = searchParams.toString();
2634
- };
2635
- /**
2636
- *
2637
- * @export
2638
- */
2639
- const toPathString$a = function (url) {
2640
- return url.pathname + url.search + url.hash;
2641
- };
2642
- /**
2643
- *
2644
- * @export
2645
- */
2646
- const createRequestFunction$a = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
2647
- return (axios = globalAxios, basePath = BASE_PATH) => {
2648
- const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
2649
- return axios.request(axiosRequestArgs);
2650
- };
2651
- };
2652
-
2653
- /* tslint:disable */
2654
- /**
2655
- * BlobApi - axios parameter creator
2656
- * @export
2657
- */
2658
- const BlobApiAxiosParamCreator = function (configuration) {
2659
- return {
2660
- /**
2661
- *
2662
- * @summary This method deletes a given file
2663
- * @param {string} resourceId Id of the resource
2664
- * @param {string} [path] Path to the file
2245
+ * @summary This method deletes a given file
2246
+ * @param {string} resourceId Id of the resource
2247
+ * @param {string} [path] Path to the file
2665
2248
  * @param {*} [options] Override http request option.
2666
2249
  * @throws {RequiredError}
2667
2250
  */
@@ -2727,37 +2310,6 @@ const BlobApiAxiosParamCreator = function (configuration) {
2727
2310
  options: localVarRequestOptions,
2728
2311
  };
2729
2312
  }),
2730
- /**
2731
- *
2732
- * @summary This method returns the amount of allocated space for the given resource
2733
- * @param {string} resourceId Id of a resource
2734
- * @param {*} [options] Override http request option.
2735
- * @throws {RequiredError}
2736
- */
2737
- blobGetQuota: (resourceId, options = {}) => __awaiter(this, void 0, void 0, function* () {
2738
- // verify required parameter 'resourceId' is not null or undefined
2739
- assertParamExists$9('blobGetQuota', 'resourceId', resourceId);
2740
- const localVarPath = `/Blob/{resourceId}/quota`
2741
- .replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)));
2742
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
2743
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$a);
2744
- let baseOptions;
2745
- if (configuration) {
2746
- baseOptions = configuration.baseOptions;
2747
- }
2748
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
2749
- const localVarHeaderParameter = {};
2750
- const localVarQueryParameter = {};
2751
- // authentication JWT token required
2752
- yield setApiKeyToObject$a(localVarHeaderParameter, "Authorization", configuration);
2753
- setSearchParams$a(localVarUrlObj, localVarQueryParameter, options.query);
2754
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2755
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2756
- return {
2757
- url: toPathString$a(localVarUrlObj),
2758
- options: localVarRequestOptions,
2759
- };
2760
- }),
2761
2313
  /**
2762
2314
  *
2763
2315
  * @summary This method uploads a given File
@@ -2839,19 +2391,6 @@ const BlobApiFp = function (configuration) {
2839
2391
  return createRequestFunction$a(localVarAxiosArgs, axios, BASE_PATH$a, configuration);
2840
2392
  });
2841
2393
  },
2842
- /**
2843
- *
2844
- * @summary This method returns the amount of allocated space for the given resource
2845
- * @param {string} resourceId Id of a resource
2846
- * @param {*} [options] Override http request option.
2847
- * @throws {RequiredError}
2848
- */
2849
- blobGetQuota(resourceId, options) {
2850
- return __awaiter(this, void 0, void 0, function* () {
2851
- const localVarAxiosArgs = yield localVarAxiosParamCreator.blobGetQuota(resourceId, options);
2852
- return createRequestFunction$a(localVarAxiosArgs, axios, BASE_PATH$a, configuration);
2853
- });
2854
- },
2855
2394
  /**
2856
2395
  *
2857
2396
  * @summary This method uploads a given File
@@ -2898,16 +2437,6 @@ const BlobApiFactory = function (configuration, basePath, axios) {
2898
2437
  blobGetFileWithParameter(resourceId, path, options) {
2899
2438
  return localVarFp.blobGetFileWithParameter(resourceId, path, options).then((request) => request(axios, basePath));
2900
2439
  },
2901
- /**
2902
- *
2903
- * @summary This method returns the amount of allocated space for the given resource
2904
- * @param {string} resourceId Id of a resource
2905
- * @param {*} [options] Override http request option.
2906
- * @throws {RequiredError}
2907
- */
2908
- blobGetQuota(resourceId, options) {
2909
- return localVarFp.blobGetQuota(resourceId, options).then((request) => request(axios, basePath));
2910
- },
2911
2440
  /**
2912
2441
  *
2913
2442
  * @summary This method uploads a given File
@@ -3967,7 +3496,7 @@ const OrganizationApiFactory = function (configuration, basePath, axios) {
3967
3496
  };
3968
3497
 
3969
3498
  /* tslint:disable */
3970
- const BASE_PATH$6 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Project".replace(/\/+$/, "");
3499
+ const BASE_PATH$6 = "https://d-sp23.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Pid".replace(/\/+$/, "");
3971
3500
  /**
3972
3501
  *
3973
3502
  * @export
@@ -4066,19 +3595,23 @@ const createRequestFunction$6 = function (axiosArgs, globalAxios, BASE_PATH, con
4066
3595
 
4067
3596
  /* tslint:disable */
4068
3597
  /**
4069
- * DisciplineApi - axios parameter creator
3598
+ * PidApi - axios parameter creator
4070
3599
  * @export
4071
3600
  */
4072
- const DisciplineApiAxiosParamCreator = function (configuration) {
3601
+ const PidApiAxiosParamCreator = function (configuration) {
4073
3602
  return {
4074
3603
  /**
4075
3604
  *
4076
- * @summary Returns all available disciplines
3605
+ * @summary Returns a 200, if a PID is valid.
3606
+ * @param {string} pid PID
4077
3607
  * @param {*} [options] Override http request option.
4078
3608
  * @throws {RequiredError}
4079
3609
  */
4080
- disciplineIndex: (options = {}) => __awaiter(this, void 0, void 0, function* () {
4081
- const localVarPath = `/Discipline`;
3610
+ pidIsValid: (pid, options = {}) => __awaiter(this, void 0, void 0, function* () {
3611
+ // verify required parameter 'pid' is not null or undefined
3612
+ assertParamExists$5('pidIsValid', 'pid', pid);
3613
+ const localVarPath = `/Pid/valid/{pid}`
3614
+ .replace(`{${"pid"}}`, encodeURIComponent(String(pid)));
4082
3615
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4083
3616
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
4084
3617
  let baseOptions;
@@ -4098,6 +3631,251 @@ const DisciplineApiAxiosParamCreator = function (configuration) {
4098
3631
  options: localVarRequestOptions,
4099
3632
  };
4100
3633
  }),
3634
+ /**
3635
+ *
3636
+ * @summary Sends a request to the pid owner.
3637
+ * @param {MessageObject} messageObject Entry with the information for the email to the pid owner.
3638
+ * @param {*} [options] Override http request option.
3639
+ * @throws {RequiredError}
3640
+ */
3641
+ pidSendMailToOwner: (messageObject, options = {}) => __awaiter(this, void 0, void 0, function* () {
3642
+ // verify required parameter 'messageObject' is not null or undefined
3643
+ assertParamExists$5('pidSendMailToOwner', 'messageObject', messageObject);
3644
+ const localVarPath = `/Pid/sendMailToOwner`;
3645
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3646
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
3647
+ let baseOptions;
3648
+ if (configuration) {
3649
+ baseOptions = configuration.baseOptions;
3650
+ }
3651
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
3652
+ const localVarHeaderParameter = {};
3653
+ const localVarQueryParameter = {};
3654
+ // authentication JWT token required
3655
+ yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
3656
+ localVarHeaderParameter['Content-Type'] = 'application/json';
3657
+ setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
3658
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3659
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3660
+ localVarRequestOptions.data = serializeDataIfNeeded$4(messageObject, localVarRequestOptions, configuration);
3661
+ return {
3662
+ url: toPathString$6(localVarUrlObj),
3663
+ options: localVarRequestOptions,
3664
+ };
3665
+ }),
3666
+ };
3667
+ };
3668
+ /**
3669
+ * PidApi - functional programming interface
3670
+ * @export
3671
+ */
3672
+ const PidApiFp = function (configuration) {
3673
+ const localVarAxiosParamCreator = PidApiAxiosParamCreator(configuration);
3674
+ return {
3675
+ /**
3676
+ *
3677
+ * @summary Returns a 200, if a PID is valid.
3678
+ * @param {string} pid PID
3679
+ * @param {*} [options] Override http request option.
3680
+ * @throws {RequiredError}
3681
+ */
3682
+ pidIsValid(pid, options) {
3683
+ return __awaiter(this, void 0, void 0, function* () {
3684
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.pidIsValid(pid, options);
3685
+ return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
3686
+ });
3687
+ },
3688
+ /**
3689
+ *
3690
+ * @summary Sends a request to the pid owner.
3691
+ * @param {MessageObject} messageObject Entry with the information for the email to the pid owner.
3692
+ * @param {*} [options] Override http request option.
3693
+ * @throws {RequiredError}
3694
+ */
3695
+ pidSendMailToOwner(messageObject, options) {
3696
+ return __awaiter(this, void 0, void 0, function* () {
3697
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.pidSendMailToOwner(messageObject, options);
3698
+ return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
3699
+ });
3700
+ },
3701
+ };
3702
+ };
3703
+ /**
3704
+ * PidApi - factory interface
3705
+ * @export
3706
+ */
3707
+ const PidApiFactory = function (configuration, basePath, axios) {
3708
+ const localVarFp = PidApiFp(configuration);
3709
+ return {
3710
+ /**
3711
+ *
3712
+ * @summary Returns a 200, if a PID is valid.
3713
+ * @param {string} pid PID
3714
+ * @param {*} [options] Override http request option.
3715
+ * @throws {RequiredError}
3716
+ */
3717
+ pidIsValid(pid, options) {
3718
+ return localVarFp.pidIsValid(pid, options).then((request) => request(axios, basePath));
3719
+ },
3720
+ /**
3721
+ *
3722
+ * @summary Sends a request to the pid owner.
3723
+ * @param {MessageObject} messageObject Entry with the information for the email to the pid owner.
3724
+ * @param {*} [options] Override http request option.
3725
+ * @throws {RequiredError}
3726
+ */
3727
+ pidSendMailToOwner(messageObject, options) {
3728
+ return localVarFp.pidSendMailToOwner(messageObject, options).then((request) => request(axios, basePath));
3729
+ },
3730
+ };
3731
+ };
3732
+
3733
+ /* tslint:disable */
3734
+ const BASE_PATH$5 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Project".replace(/\/+$/, "");
3735
+ /**
3736
+ *
3737
+ * @export
3738
+ * @class RequiredError
3739
+ * @extends {Error}
3740
+ */
3741
+ class RequiredError$4 extends Error {
3742
+ constructor(field, msg) {
3743
+ super(msg);
3744
+ this.field = field;
3745
+ this.name = "RequiredError";
3746
+ }
3747
+ }
3748
+
3749
+ /* tslint:disable */
3750
+ /**
3751
+ *
3752
+ * @export
3753
+ */
3754
+ const DUMMY_BASE_URL$5 = 'https://example.com';
3755
+ /**
3756
+ *
3757
+ * @throws {RequiredError}
3758
+ * @export
3759
+ */
3760
+ const assertParamExists$4 = function (functionName, paramName, paramValue) {
3761
+ if (paramValue === null || paramValue === undefined) {
3762
+ throw new RequiredError$4(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
3763
+ }
3764
+ };
3765
+ /**
3766
+ *
3767
+ * @export
3768
+ */
3769
+ const setApiKeyToObject$5 = function (object, keyParamName, configuration) {
3770
+ return __awaiter(this, void 0, void 0, function* () {
3771
+ if (configuration && configuration.apiKey) {
3772
+ const localVarApiKeyValue = typeof configuration.apiKey === 'function'
3773
+ ? yield configuration.apiKey(keyParamName)
3774
+ : yield configuration.apiKey;
3775
+ object[keyParamName] = localVarApiKeyValue;
3776
+ }
3777
+ });
3778
+ };
3779
+ /**
3780
+ *
3781
+ * @export
3782
+ */
3783
+ const setSearchParams$5 = function (url, ...objects) {
3784
+ const searchParams = new URLSearchParams(url.search);
3785
+ for (const object of objects) {
3786
+ for (const key in object) {
3787
+ if (Array.isArray(object[key])) {
3788
+ searchParams.delete(key);
3789
+ for (const item of object[key]) {
3790
+ searchParams.append(key, item);
3791
+ }
3792
+ }
3793
+ else {
3794
+ searchParams.set(key, object[key]);
3795
+ }
3796
+ }
3797
+ }
3798
+ url.search = searchParams.toString();
3799
+ };
3800
+ /**
3801
+ *
3802
+ * @export
3803
+ */
3804
+ const serializeDataIfNeeded$3 = function (value, requestOptions, configuration) {
3805
+ const nonString = typeof value !== 'string';
3806
+ const needsSerialization = nonString && configuration && configuration.isJsonMime
3807
+ ? configuration.isJsonMime(requestOptions.headers['Content-Type'])
3808
+ : nonString;
3809
+ return needsSerialization
3810
+ ? JSON.stringify(value !== undefined ? value : {})
3811
+ : (value || "");
3812
+ };
3813
+ /**
3814
+ *
3815
+ * @export
3816
+ */
3817
+ const toPathString$5 = function (url) {
3818
+ return url.pathname + url.search + url.hash;
3819
+ };
3820
+ /**
3821
+ *
3822
+ * @export
3823
+ */
3824
+ const createRequestFunction$5 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
3825
+ return (axios = globalAxios, basePath = BASE_PATH) => {
3826
+ const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
3827
+ return axios.request(axiosRequestArgs);
3828
+ };
3829
+ };
3830
+
3831
+ /* tslint:disable */
3832
+ /**
3833
+ *
3834
+ * @export
3835
+ * @enum {string}
3836
+ */
3837
+ var QuotaUnit$1;
3838
+ (function (QuotaUnit) {
3839
+ QuotaUnit["Byte"] = "https://qudt.org/vocab/unit/BYTE";
3840
+ QuotaUnit["KibiByte"] = "https://qudt.org/vocab/unit/KibiBYTE";
3841
+ QuotaUnit["MebiByte"] = "https://qudt.org/vocab/unit/MebiBYTE";
3842
+ QuotaUnit["GibiByte"] = "https://qudt.org/vocab/unit/GibiBYTE";
3843
+ QuotaUnit["TebiByte"] = "https://qudt.org/vocab/unit/TebiBYTE";
3844
+ QuotaUnit["PebiByte"] = "https://qudt.org/vocab/unit/PebiBYTE";
3845
+ })(QuotaUnit$1 || (QuotaUnit$1 = {}));
3846
+ /**
3847
+ * DisciplineApi - axios parameter creator
3848
+ * @export
3849
+ */
3850
+ const DisciplineApiAxiosParamCreator = function (configuration) {
3851
+ return {
3852
+ /**
3853
+ *
3854
+ * @summary Returns all available disciplines
3855
+ * @param {*} [options] Override http request option.
3856
+ * @throws {RequiredError}
3857
+ */
3858
+ disciplineIndex: (options = {}) => __awaiter(this, void 0, void 0, function* () {
3859
+ const localVarPath = `/Discipline`;
3860
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3861
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
3862
+ let baseOptions;
3863
+ if (configuration) {
3864
+ baseOptions = configuration.baseOptions;
3865
+ }
3866
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
3867
+ const localVarHeaderParameter = {};
3868
+ const localVarQueryParameter = {};
3869
+ // authentication JWT token required
3870
+ yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
3871
+ setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
3872
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3873
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3874
+ return {
3875
+ url: toPathString$5(localVarUrlObj),
3876
+ options: localVarRequestOptions,
3877
+ };
3878
+ }),
4101
3879
  };
4102
3880
  };
4103
3881
  /**
@@ -4116,7 +3894,7 @@ const DisciplineApiFp = function (configuration) {
4116
3894
  disciplineIndex(options) {
4117
3895
  return __awaiter(this, void 0, void 0, function* () {
4118
3896
  const localVarAxiosArgs = yield localVarAxiosParamCreator.disciplineIndex(options);
4119
- return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
3897
+ return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
4120
3898
  });
4121
3899
  },
4122
3900
  };
@@ -4154,7 +3932,7 @@ const LicenseApiAxiosParamCreator = function (configuration) {
4154
3932
  licenseIndex: (options = {}) => __awaiter(this, void 0, void 0, function* () {
4155
3933
  const localVarPath = `/License`;
4156
3934
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4157
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
3935
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
4158
3936
  let baseOptions;
4159
3937
  if (configuration) {
4160
3938
  baseOptions = configuration.baseOptions;
@@ -4163,12 +3941,12 @@ const LicenseApiAxiosParamCreator = function (configuration) {
4163
3941
  const localVarHeaderParameter = {};
4164
3942
  const localVarQueryParameter = {};
4165
3943
  // authentication JWT token required
4166
- yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
4167
- setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
3944
+ yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
3945
+ setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
4168
3946
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4169
3947
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4170
3948
  return {
4171
- url: toPathString$6(localVarUrlObj),
3949
+ url: toPathString$5(localVarUrlObj),
4172
3950
  options: localVarRequestOptions,
4173
3951
  };
4174
3952
  }),
@@ -4190,7 +3968,7 @@ const LicenseApiFp = function (configuration) {
4190
3968
  licenseIndex(options) {
4191
3969
  return __awaiter(this, void 0, void 0, function* () {
4192
3970
  const localVarAxiosArgs = yield localVarAxiosParamCreator.licenseIndex(options);
4193
- return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
3971
+ return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
4194
3972
  });
4195
3973
  },
4196
3974
  };
@@ -4228,11 +4006,11 @@ const ProjectApiAxiosParamCreator = function (configuration) {
4228
4006
  */
4229
4007
  projectCreateApplicationProfile: (projectId, options = {}) => __awaiter(this, void 0, void 0, function* () {
4230
4008
  // verify required parameter 'projectId' is not null or undefined
4231
- assertParamExists$5('projectCreateApplicationProfile', 'projectId', projectId);
4009
+ assertParamExists$4('projectCreateApplicationProfile', 'projectId', projectId);
4232
4010
  const localVarPath = `/Project/{projectId}/-/create-profile`
4233
4011
  .replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
4234
4012
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4235
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
4013
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
4236
4014
  let baseOptions;
4237
4015
  if (configuration) {
4238
4016
  baseOptions = configuration.baseOptions;
@@ -4241,29 +4019,29 @@ const ProjectApiAxiosParamCreator = function (configuration) {
4241
4019
  const localVarHeaderParameter = {};
4242
4020
  const localVarQueryParameter = {};
4243
4021
  // authentication JWT token required
4244
- yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
4245
- setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
4022
+ yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
4023
+ setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
4246
4024
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4247
4025
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4248
4026
  return {
4249
- url: toPathString$6(localVarUrlObj),
4027
+ url: toPathString$5(localVarUrlObj),
4250
4028
  options: localVarRequestOptions,
4251
4029
  };
4252
4030
  }),
4253
4031
  /**
4254
4032
  *
4255
- * @summary Deletes the selected project
4033
+ * @summary Deletes a project
4256
4034
  * @param {string} id Id of the project
4257
4035
  * @param {*} [options] Override http request option.
4258
4036
  * @throws {RequiredError}
4259
4037
  */
4260
4038
  projectDelete: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
4261
4039
  // verify required parameter 'id' is not null or undefined
4262
- assertParamExists$5('projectDelete', 'id', id);
4040
+ assertParamExists$4('projectDelete', 'id', id);
4263
4041
  const localVarPath = `/Project/{id}`
4264
4042
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
4265
4043
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4266
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
4044
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
4267
4045
  let baseOptions;
4268
4046
  if (configuration) {
4269
4047
  baseOptions = configuration.baseOptions;
@@ -4272,12 +4050,12 @@ const ProjectApiAxiosParamCreator = function (configuration) {
4272
4050
  const localVarHeaderParameter = {};
4273
4051
  const localVarQueryParameter = {};
4274
4052
  // authentication JWT token required
4275
- yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
4276
- setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
4053
+ yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
4054
+ setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
4277
4055
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4278
4056
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4279
4057
  return {
4280
- url: toPathString$6(localVarUrlObj),
4058
+ url: toPathString$5(localVarUrlObj),
4281
4059
  options: localVarRequestOptions,
4282
4060
  };
4283
4061
  }),
@@ -4290,11 +4068,11 @@ const ProjectApiAxiosParamCreator = function (configuration) {
4290
4068
  */
4291
4069
  projectDeleteInvitation: (invitationId, options = {}) => __awaiter(this, void 0, void 0, function* () {
4292
4070
  // verify required parameter 'invitationId' is not null or undefined
4293
- assertParamExists$5('projectDeleteInvitation', 'invitationId', invitationId);
4071
+ assertParamExists$4('projectDeleteInvitation', 'invitationId', invitationId);
4294
4072
  const localVarPath = `/Project/invitation/{invitationId}`
4295
4073
  .replace(`{${"invitationId"}}`, encodeURIComponent(String(invitationId)));
4296
4074
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4297
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
4075
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
4298
4076
  let baseOptions;
4299
4077
  if (configuration) {
4300
4078
  baseOptions = configuration.baseOptions;
@@ -4303,12 +4081,12 @@ const ProjectApiAxiosParamCreator = function (configuration) {
4303
4081
  const localVarHeaderParameter = {};
4304
4082
  const localVarQueryParameter = {};
4305
4083
  // authentication JWT token required
4306
- yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
4307
- setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
4084
+ yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
4085
+ setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
4308
4086
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4309
4087
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4310
4088
  return {
4311
- url: toPathString$6(localVarUrlObj),
4089
+ url: toPathString$5(localVarUrlObj),
4312
4090
  options: localVarRequestOptions,
4313
4091
  };
4314
4092
  }),
@@ -4321,11 +4099,11 @@ const ProjectApiAxiosParamCreator = function (configuration) {
4321
4099
  */
4322
4100
  projectGet: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
4323
4101
  // verify required parameter 'id' is not null or undefined
4324
- assertParamExists$5('projectGet', 'id', id);
4102
+ assertParamExists$4('projectGet', 'id', id);
4325
4103
  const localVarPath = `/Project/{id}`
4326
4104
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
4327
4105
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4328
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
4106
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
4329
4107
  let baseOptions;
4330
4108
  if (configuration) {
4331
4109
  baseOptions = configuration.baseOptions;
@@ -4334,12 +4112,12 @@ const ProjectApiAxiosParamCreator = function (configuration) {
4334
4112
  const localVarHeaderParameter = {};
4335
4113
  const localVarQueryParameter = {};
4336
4114
  // authentication JWT token required
4337
- yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
4338
- setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
4115
+ yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
4116
+ setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
4339
4117
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4340
4118
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4341
4119
  return {
4342
- url: toPathString$6(localVarUrlObj),
4120
+ url: toPathString$5(localVarUrlObj),
4343
4121
  options: localVarRequestOptions,
4344
4122
  };
4345
4123
  }),
@@ -4352,11 +4130,11 @@ const ProjectApiAxiosParamCreator = function (configuration) {
4352
4130
  */
4353
4131
  projectGetBySlug: (slug, options = {}) => __awaiter(this, void 0, void 0, function* () {
4354
4132
  // verify required parameter 'slug' is not null or undefined
4355
- assertParamExists$5('projectGetBySlug', 'slug', slug);
4133
+ assertParamExists$4('projectGetBySlug', 'slug', slug);
4356
4134
  const localVarPath = `/Project/slug/{slug}`
4357
4135
  .replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
4358
4136
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4359
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
4137
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
4360
4138
  let baseOptions;
4361
4139
  if (configuration) {
4362
4140
  baseOptions = configuration.baseOptions;
@@ -4365,64 +4143,29 @@ const ProjectApiAxiosParamCreator = function (configuration) {
4365
4143
  const localVarHeaderParameter = {};
4366
4144
  const localVarQueryParameter = {};
4367
4145
  // authentication JWT token required
4368
- yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
4369
- setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
4146
+ yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
4147
+ setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
4370
4148
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4371
4149
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4372
4150
  return {
4373
- url: toPathString$6(localVarUrlObj),
4374
- options: localVarRequestOptions,
4375
- };
4376
- }),
4377
- /**
4378
- *
4379
- * @summary Get the max quota for a resource type.
4380
- * @param {string} id Id of the project.
4381
- * @param {string} resourceTypeId Id of the resource
4382
- * @param {*} [options] Override http request option.
4383
- * @throws {RequiredError}
4384
- */
4385
- projectGetQuotaMax: (id, resourceTypeId, options = {}) => __awaiter(this, void 0, void 0, function* () {
4386
- // verify required parameter 'id' is not null or undefined
4387
- assertParamExists$5('projectGetQuotaMax', 'id', id);
4388
- // verify required parameter 'resourceTypeId' is not null or undefined
4389
- assertParamExists$5('projectGetQuotaMax', 'resourceTypeId', resourceTypeId);
4390
- const localVarPath = `/Project/{id}/quota/{resourceTypeId}/max`
4391
- .replace(`{${"id"}}`, encodeURIComponent(String(id)))
4392
- .replace(`{${"resourceTypeId"}}`, encodeURIComponent(String(resourceTypeId)));
4393
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
4394
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
4395
- let baseOptions;
4396
- if (configuration) {
4397
- baseOptions = configuration.baseOptions;
4398
- }
4399
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
4400
- const localVarHeaderParameter = {};
4401
- const localVarQueryParameter = {};
4402
- // authentication JWT token required
4403
- yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
4404
- setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
4405
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4406
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4407
- return {
4408
- url: toPathString$6(localVarUrlObj),
4151
+ url: toPathString$5(localVarUrlObj),
4409
4152
  options: localVarRequestOptions,
4410
4153
  };
4411
4154
  }),
4412
4155
  /**
4413
4156
  *
4414
- * @summary Gets the resources
4157
+ * @summary Gets all resources in a project
4415
4158
  * @param {string} id Id of the project
4416
4159
  * @param {*} [options] Override http request option.
4417
4160
  * @throws {RequiredError}
4418
4161
  */
4419
4162
  projectGetResources: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
4420
4163
  // verify required parameter 'id' is not null or undefined
4421
- assertParamExists$5('projectGetResources', 'id', id);
4164
+ assertParamExists$4('projectGetResources', 'id', id);
4422
4165
  const localVarPath = `/Project/{id}/resources`
4423
4166
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
4424
4167
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4425
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
4168
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
4426
4169
  let baseOptions;
4427
4170
  if (configuration) {
4428
4171
  baseOptions = configuration.baseOptions;
@@ -4431,12 +4174,12 @@ const ProjectApiAxiosParamCreator = function (configuration) {
4431
4174
  const localVarHeaderParameter = {};
4432
4175
  const localVarQueryParameter = {};
4433
4176
  // authentication JWT token required
4434
- yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
4435
- setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
4177
+ yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
4178
+ setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
4436
4179
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4437
4180
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4438
4181
  return {
4439
- url: toPathString$6(localVarUrlObj),
4182
+ url: toPathString$5(localVarUrlObj),
4440
4183
  options: localVarRequestOptions,
4441
4184
  };
4442
4185
  }),
@@ -4449,7 +4192,7 @@ const ProjectApiAxiosParamCreator = function (configuration) {
4449
4192
  projectGetTopLevelProjects: (options = {}) => __awaiter(this, void 0, void 0, function* () {
4450
4193
  const localVarPath = `/Project/-/topLevel`;
4451
4194
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4452
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
4195
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
4453
4196
  let baseOptions;
4454
4197
  if (configuration) {
4455
4198
  baseOptions = configuration.baseOptions;
@@ -4458,12 +4201,12 @@ const ProjectApiAxiosParamCreator = function (configuration) {
4458
4201
  const localVarHeaderParameter = {};
4459
4202
  const localVarQueryParameter = {};
4460
4203
  // authentication JWT token required
4461
- yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
4462
- setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
4204
+ yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
4205
+ setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
4463
4206
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4464
4207
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4465
4208
  return {
4466
- url: toPathString$6(localVarUrlObj),
4209
+ url: toPathString$5(localVarUrlObj),
4467
4210
  options: localVarRequestOptions,
4468
4211
  };
4469
4212
  }),
@@ -4476,7 +4219,7 @@ const ProjectApiAxiosParamCreator = function (configuration) {
4476
4219
  projectIndex: (options = {}) => __awaiter(this, void 0, void 0, function* () {
4477
4220
  const localVarPath = `/Project`;
4478
4221
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4479
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
4222
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
4480
4223
  let baseOptions;
4481
4224
  if (configuration) {
4482
4225
  baseOptions = configuration.baseOptions;
@@ -4485,12 +4228,12 @@ const ProjectApiAxiosParamCreator = function (configuration) {
4485
4228
  const localVarHeaderParameter = {};
4486
4229
  const localVarQueryParameter = {};
4487
4230
  // authentication JWT token required
4488
- yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
4489
- setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
4231
+ yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
4232
+ setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
4490
4233
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4491
4234
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4492
4235
  return {
4493
- url: toPathString$6(localVarUrlObj),
4236
+ url: toPathString$5(localVarUrlObj),
4494
4237
  options: localVarRequestOptions,
4495
4238
  };
4496
4239
  }),
@@ -4503,77 +4246,11 @@ const ProjectApiAxiosParamCreator = function (configuration) {
4503
4246
  */
4504
4247
  projectListInvitations: (projectId, options = {}) => __awaiter(this, void 0, void 0, function* () {
4505
4248
  // verify required parameter 'projectId' is not null or undefined
4506
- assertParamExists$5('projectListInvitations', 'projectId', projectId);
4249
+ assertParamExists$4('projectListInvitations', 'projectId', projectId);
4507
4250
  const localVarPath = `/Project/invitation/list/{projectId}`
4508
4251
  .replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
4509
4252
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4510
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
4511
- let baseOptions;
4512
- if (configuration) {
4513
- baseOptions = configuration.baseOptions;
4514
- }
4515
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
4516
- const localVarHeaderParameter = {};
4517
- const localVarQueryParameter = {};
4518
- // authentication JWT token required
4519
- yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
4520
- setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
4521
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4522
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4523
- return {
4524
- url: toPathString$6(localVarUrlObj),
4525
- options: localVarRequestOptions,
4526
- };
4527
- }),
4528
- /**
4529
- *
4530
- * @summary Retrieves the quota for the selected project and resource Type.
4531
- * @param {string} id Id of the project
4532
- * @param {string} resourceTypeId Id of the resource type
4533
- * @param {*} [options] Override http request option.
4534
- * @throws {RequiredError}
4535
- */
4536
- projectQuota: (id, resourceTypeId, options = {}) => __awaiter(this, void 0, void 0, function* () {
4537
- // verify required parameter 'id' is not null or undefined
4538
- assertParamExists$5('projectQuota', 'id', id);
4539
- // verify required parameter 'resourceTypeId' is not null or undefined
4540
- assertParamExists$5('projectQuota', 'resourceTypeId', resourceTypeId);
4541
- const localVarPath = `/Project/{id}/quota/{resourceTypeId}`
4542
- .replace(`{${"id"}}`, encodeURIComponent(String(id)))
4543
- .replace(`{${"resourceTypeId"}}`, encodeURIComponent(String(resourceTypeId)));
4544
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
4545
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
4546
- let baseOptions;
4547
- if (configuration) {
4548
- baseOptions = configuration.baseOptions;
4549
- }
4550
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
4551
- const localVarHeaderParameter = {};
4552
- const localVarQueryParameter = {};
4553
- // authentication JWT token required
4554
- yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
4555
- setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
4556
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4557
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4558
- return {
4559
- url: toPathString$6(localVarUrlObj),
4560
- options: localVarRequestOptions,
4561
- };
4562
- }),
4563
- /**
4564
- *
4565
- * @summary Retrieves the quota for the selected project.
4566
- * @param {string} id Id of the project
4567
- * @param {*} [options] Override http request option.
4568
- * @throws {RequiredError}
4569
- */
4570
- projectQuotas: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
4571
- // verify required parameter 'id' is not null or undefined
4572
- assertParamExists$5('projectQuotas', 'id', id);
4573
- const localVarPath = `/Project/{id}/quota/-/all`
4574
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
4575
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
4576
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
4253
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
4577
4254
  let baseOptions;
4578
4255
  if (configuration) {
4579
4256
  baseOptions = configuration.baseOptions;
@@ -4582,29 +4259,29 @@ const ProjectApiAxiosParamCreator = function (configuration) {
4582
4259
  const localVarHeaderParameter = {};
4583
4260
  const localVarQueryParameter = {};
4584
4261
  // authentication JWT token required
4585
- yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
4586
- setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
4262
+ yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
4263
+ setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
4587
4264
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4588
4265
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4589
4266
  return {
4590
- url: toPathString$6(localVarUrlObj),
4267
+ url: toPathString$5(localVarUrlObj),
4591
4268
  options: localVarRequestOptions,
4592
4269
  };
4593
4270
  }),
4594
4271
  /**
4595
4272
  *
4596
- * @summary Resolve a project invitation for the current user.
4273
+ * @summary Resolves a project invitation for the current user.
4597
4274
  * @param {string} invitationToken Token for a project invitation stored inside the URL under \".../?invitationToken={token}\"
4598
4275
  * @param {*} [options] Override http request option.
4599
4276
  * @throws {RequiredError}
4600
4277
  */
4601
4278
  projectResolveInvitation: (invitationToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
4602
4279
  // verify required parameter 'invitationToken' is not null or undefined
4603
- assertParamExists$5('projectResolveInvitation', 'invitationToken', invitationToken);
4280
+ assertParamExists$4('projectResolveInvitation', 'invitationToken', invitationToken);
4604
4281
  const localVarPath = `/Project/invitation/resolve/{invitationToken}`
4605
4282
  .replace(`{${"invitationToken"}}`, encodeURIComponent(String(invitationToken)));
4606
4283
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4607
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
4284
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
4608
4285
  let baseOptions;
4609
4286
  if (configuration) {
4610
4287
  baseOptions = configuration.baseOptions;
@@ -4613,28 +4290,28 @@ const ProjectApiAxiosParamCreator = function (configuration) {
4613
4290
  const localVarHeaderParameter = {};
4614
4291
  const localVarQueryParameter = {};
4615
4292
  // authentication JWT token required
4616
- yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
4617
- setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
4293
+ yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
4294
+ setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
4618
4295
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4619
4296
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4620
4297
  return {
4621
- url: toPathString$6(localVarUrlObj),
4298
+ url: toPathString$5(localVarUrlObj),
4622
4299
  options: localVarRequestOptions,
4623
4300
  };
4624
4301
  }),
4625
4302
  /**
4626
4303
  *
4627
- * @summary Create and send a project invitation to a specified mail.
4304
+ * @summary Creates and sends a project invitation to a specified email.
4628
4305
  * @param {SendInvitationObject} sendInvitationObject Informations for sending an invitation. The invitation token is stored inside the URL under \".../?invitationToken={token}\".
4629
4306
  * @param {*} [options] Override http request option.
4630
4307
  * @throws {RequiredError}
4631
4308
  */
4632
4309
  projectSendInvitation: (sendInvitationObject, options = {}) => __awaiter(this, void 0, void 0, function* () {
4633
4310
  // verify required parameter 'sendInvitationObject' is not null or undefined
4634
- assertParamExists$5('projectSendInvitation', 'sendInvitationObject', sendInvitationObject);
4311
+ assertParamExists$4('projectSendInvitation', 'sendInvitationObject', sendInvitationObject);
4635
4312
  const localVarPath = `/Project/invitation`;
4636
4313
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4637
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
4314
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
4638
4315
  let baseOptions;
4639
4316
  if (configuration) {
4640
4317
  baseOptions = configuration.baseOptions;
@@ -4643,14 +4320,14 @@ const ProjectApiAxiosParamCreator = function (configuration) {
4643
4320
  const localVarHeaderParameter = {};
4644
4321
  const localVarQueryParameter = {};
4645
4322
  // authentication JWT token required
4646
- yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
4323
+ yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
4647
4324
  localVarHeaderParameter['Content-Type'] = 'application/json';
4648
- setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
4325
+ setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
4649
4326
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4650
4327
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4651
- localVarRequestOptions.data = serializeDataIfNeeded$4(sendInvitationObject, localVarRequestOptions, configuration);
4328
+ localVarRequestOptions.data = serializeDataIfNeeded$3(sendInvitationObject, localVarRequestOptions, configuration);
4652
4329
  return {
4653
- url: toPathString$6(localVarUrlObj),
4330
+ url: toPathString$5(localVarUrlObj),
4654
4331
  options: localVarRequestOptions,
4655
4332
  };
4656
4333
  }),
@@ -4663,10 +4340,10 @@ const ProjectApiAxiosParamCreator = function (configuration) {
4663
4340
  */
4664
4341
  projectStore: (projectObject, options = {}) => __awaiter(this, void 0, void 0, function* () {
4665
4342
  // verify required parameter 'projectObject' is not null or undefined
4666
- assertParamExists$5('projectStore', 'projectObject', projectObject);
4343
+ assertParamExists$4('projectStore', 'projectObject', projectObject);
4667
4344
  const localVarPath = `/Project`;
4668
4345
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4669
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
4346
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
4670
4347
  let baseOptions;
4671
4348
  if (configuration) {
4672
4349
  baseOptions = configuration.baseOptions;
@@ -4675,20 +4352,20 @@ const ProjectApiAxiosParamCreator = function (configuration) {
4675
4352
  const localVarHeaderParameter = {};
4676
4353
  const localVarQueryParameter = {};
4677
4354
  // authentication JWT token required
4678
- yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
4355
+ yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
4679
4356
  localVarHeaderParameter['Content-Type'] = 'application/json';
4680
- setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
4357
+ setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
4681
4358
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4682
4359
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4683
- localVarRequestOptions.data = serializeDataIfNeeded$4(projectObject, localVarRequestOptions, configuration);
4360
+ localVarRequestOptions.data = serializeDataIfNeeded$3(projectObject, localVarRequestOptions, configuration);
4684
4361
  return {
4685
- url: toPathString$6(localVarUrlObj),
4362
+ url: toPathString$5(localVarUrlObj),
4686
4363
  options: localVarRequestOptions,
4687
4364
  };
4688
4365
  }),
4689
4366
  /**
4690
4367
  *
4691
- * @summary Updates the selected project
4368
+ * @summary Updates a project
4692
4369
  * @param {string} id Id of the project
4693
4370
  * @param {ProjectObject} projectObject A Project Object
4694
4371
  * @param {*} [options] Override http request option.
@@ -4696,53 +4373,13 @@ const ProjectApiAxiosParamCreator = function (configuration) {
4696
4373
  */
4697
4374
  projectUpdate: (id, projectObject, options = {}) => __awaiter(this, void 0, void 0, function* () {
4698
4375
  // verify required parameter 'id' is not null or undefined
4699
- assertParamExists$5('projectUpdate', 'id', id);
4376
+ assertParamExists$4('projectUpdate', 'id', id);
4700
4377
  // verify required parameter 'projectObject' is not null or undefined
4701
- assertParamExists$5('projectUpdate', 'projectObject', projectObject);
4378
+ assertParamExists$4('projectUpdate', 'projectObject', projectObject);
4702
4379
  const localVarPath = `/Project/{id}`
4703
4380
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
4704
4381
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4705
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
4706
- let baseOptions;
4707
- if (configuration) {
4708
- baseOptions = configuration.baseOptions;
4709
- }
4710
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
4711
- const localVarHeaderParameter = {};
4712
- const localVarQueryParameter = {};
4713
- // authentication JWT token required
4714
- yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
4715
- localVarHeaderParameter['Content-Type'] = 'application/json';
4716
- setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
4717
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4718
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4719
- localVarRequestOptions.data = serializeDataIfNeeded$4(projectObject, localVarRequestOptions, configuration);
4720
- return {
4721
- url: toPathString$6(localVarUrlObj),
4722
- options: localVarRequestOptions,
4723
- };
4724
- }),
4725
- /**
4726
- *
4727
- * @summary Update the project quota.
4728
- * @param {string} id Id of the project.
4729
- * @param {string} resourceTypeId Id of the resource.
4730
- * @param {UpdateProjectQuotaObject} updateProjectQuotaObject Object containing the update values.
4731
- * @param {*} [options] Override http request option.
4732
- * @throws {RequiredError}
4733
- */
4734
- projectUpdateQuota: (id, resourceTypeId, updateProjectQuotaObject, options = {}) => __awaiter(this, void 0, void 0, function* () {
4735
- // verify required parameter 'id' is not null or undefined
4736
- assertParamExists$5('projectUpdateQuota', 'id', id);
4737
- // verify required parameter 'resourceTypeId' is not null or undefined
4738
- assertParamExists$5('projectUpdateQuota', 'resourceTypeId', resourceTypeId);
4739
- // verify required parameter 'updateProjectQuotaObject' is not null or undefined
4740
- assertParamExists$5('projectUpdateQuota', 'updateProjectQuotaObject', updateProjectQuotaObject);
4741
- const localVarPath = `/Project/{id}/quota/{resourceTypeId}`
4742
- .replace(`{${"id"}}`, encodeURIComponent(String(id)))
4743
- .replace(`{${"resourceTypeId"}}`, encodeURIComponent(String(resourceTypeId)));
4744
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
4745
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
4382
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
4746
4383
  let baseOptions;
4747
4384
  if (configuration) {
4748
4385
  baseOptions = configuration.baseOptions;
@@ -4751,14 +4388,14 @@ const ProjectApiAxiosParamCreator = function (configuration) {
4751
4388
  const localVarHeaderParameter = {};
4752
4389
  const localVarQueryParameter = {};
4753
4390
  // authentication JWT token required
4754
- yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
4391
+ yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
4755
4392
  localVarHeaderParameter['Content-Type'] = 'application/json';
4756
- setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
4393
+ setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
4757
4394
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4758
4395
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4759
- localVarRequestOptions.data = serializeDataIfNeeded$4(updateProjectQuotaObject, localVarRequestOptions, configuration);
4396
+ localVarRequestOptions.data = serializeDataIfNeeded$3(projectObject, localVarRequestOptions, configuration);
4760
4397
  return {
4761
- url: toPathString$6(localVarUrlObj),
4398
+ url: toPathString$5(localVarUrlObj),
4762
4399
  options: localVarRequestOptions,
4763
4400
  };
4764
4401
  }),
@@ -4781,12 +4418,12 @@ const ProjectApiFp = function (configuration) {
4781
4418
  projectCreateApplicationProfile(projectId, options) {
4782
4419
  return __awaiter(this, void 0, void 0, function* () {
4783
4420
  const localVarAxiosArgs = yield localVarAxiosParamCreator.projectCreateApplicationProfile(projectId, options);
4784
- return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
4421
+ return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
4785
4422
  });
4786
4423
  },
4787
4424
  /**
4788
4425
  *
4789
- * @summary Deletes the selected project
4426
+ * @summary Deletes a project
4790
4427
  * @param {string} id Id of the project
4791
4428
  * @param {*} [options] Override http request option.
4792
4429
  * @throws {RequiredError}
@@ -4794,7 +4431,7 @@ const ProjectApiFp = function (configuration) {
4794
4431
  projectDelete(id, options) {
4795
4432
  return __awaiter(this, void 0, void 0, function* () {
4796
4433
  const localVarAxiosArgs = yield localVarAxiosParamCreator.projectDelete(id, options);
4797
- return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
4434
+ return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
4798
4435
  });
4799
4436
  },
4800
4437
  /**
@@ -4807,7 +4444,7 @@ const ProjectApiFp = function (configuration) {
4807
4444
  projectDeleteInvitation(invitationId, options) {
4808
4445
  return __awaiter(this, void 0, void 0, function* () {
4809
4446
  const localVarAxiosArgs = yield localVarAxiosParamCreator.projectDeleteInvitation(invitationId, options);
4810
- return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
4447
+ return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
4811
4448
  });
4812
4449
  },
4813
4450
  /**
@@ -4820,7 +4457,7 @@ const ProjectApiFp = function (configuration) {
4820
4457
  projectGet(id, options) {
4821
4458
  return __awaiter(this, void 0, void 0, function* () {
4822
4459
  const localVarAxiosArgs = yield localVarAxiosParamCreator.projectGet(id, options);
4823
- return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
4460
+ return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
4824
4461
  });
4825
4462
  },
4826
4463
  /**
@@ -4833,26 +4470,12 @@ const ProjectApiFp = function (configuration) {
4833
4470
  projectGetBySlug(slug, options) {
4834
4471
  return __awaiter(this, void 0, void 0, function* () {
4835
4472
  const localVarAxiosArgs = yield localVarAxiosParamCreator.projectGetBySlug(slug, options);
4836
- return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
4837
- });
4838
- },
4839
- /**
4840
- *
4841
- * @summary Get the max quota for a resource type.
4842
- * @param {string} id Id of the project.
4843
- * @param {string} resourceTypeId Id of the resource
4844
- * @param {*} [options] Override http request option.
4845
- * @throws {RequiredError}
4846
- */
4847
- projectGetQuotaMax(id, resourceTypeId, options) {
4848
- return __awaiter(this, void 0, void 0, function* () {
4849
- const localVarAxiosArgs = yield localVarAxiosParamCreator.projectGetQuotaMax(id, resourceTypeId, options);
4850
- return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
4473
+ return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
4851
4474
  });
4852
4475
  },
4853
4476
  /**
4854
4477
  *
4855
- * @summary Gets the resources
4478
+ * @summary Gets all resources in a project
4856
4479
  * @param {string} id Id of the project
4857
4480
  * @param {*} [options] Override http request option.
4858
4481
  * @throws {RequiredError}
@@ -4860,7 +4483,7 @@ const ProjectApiFp = function (configuration) {
4860
4483
  projectGetResources(id, options) {
4861
4484
  return __awaiter(this, void 0, void 0, function* () {
4862
4485
  const localVarAxiosArgs = yield localVarAxiosParamCreator.projectGetResources(id, options);
4863
- return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
4486
+ return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
4864
4487
  });
4865
4488
  },
4866
4489
  /**
@@ -4872,7 +4495,7 @@ const ProjectApiFp = function (configuration) {
4872
4495
  projectGetTopLevelProjects(options) {
4873
4496
  return __awaiter(this, void 0, void 0, function* () {
4874
4497
  const localVarAxiosArgs = yield localVarAxiosParamCreator.projectGetTopLevelProjects(options);
4875
- return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
4498
+ return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
4876
4499
  });
4877
4500
  },
4878
4501
  /**
@@ -4884,7 +4507,7 @@ const ProjectApiFp = function (configuration) {
4884
4507
  projectIndex(options) {
4885
4508
  return __awaiter(this, void 0, void 0, function* () {
4886
4509
  const localVarAxiosArgs = yield localVarAxiosParamCreator.projectIndex(options);
4887
- return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
4510
+ return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
4888
4511
  });
4889
4512
  },
4890
4513
  /**
@@ -4897,39 +4520,12 @@ const ProjectApiFp = function (configuration) {
4897
4520
  projectListInvitations(projectId, options) {
4898
4521
  return __awaiter(this, void 0, void 0, function* () {
4899
4522
  const localVarAxiosArgs = yield localVarAxiosParamCreator.projectListInvitations(projectId, options);
4900
- return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
4901
- });
4902
- },
4903
- /**
4904
- *
4905
- * @summary Retrieves the quota for the selected project and resource Type.
4906
- * @param {string} id Id of the project
4907
- * @param {string} resourceTypeId Id of the resource type
4908
- * @param {*} [options] Override http request option.
4909
- * @throws {RequiredError}
4910
- */
4911
- projectQuota(id, resourceTypeId, options) {
4912
- return __awaiter(this, void 0, void 0, function* () {
4913
- const localVarAxiosArgs = yield localVarAxiosParamCreator.projectQuota(id, resourceTypeId, options);
4914
- return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
4915
- });
4916
- },
4917
- /**
4918
- *
4919
- * @summary Retrieves the quota for the selected project.
4920
- * @param {string} id Id of the project
4921
- * @param {*} [options] Override http request option.
4922
- * @throws {RequiredError}
4923
- */
4924
- projectQuotas(id, options) {
4925
- return __awaiter(this, void 0, void 0, function* () {
4926
- const localVarAxiosArgs = yield localVarAxiosParamCreator.projectQuotas(id, options);
4927
- return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
4523
+ return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
4928
4524
  });
4929
4525
  },
4930
4526
  /**
4931
4527
  *
4932
- * @summary Resolve a project invitation for the current user.
4528
+ * @summary Resolves a project invitation for the current user.
4933
4529
  * @param {string} invitationToken Token for a project invitation stored inside the URL under \".../?invitationToken={token}\"
4934
4530
  * @param {*} [options] Override http request option.
4935
4531
  * @throws {RequiredError}
@@ -4937,12 +4533,12 @@ const ProjectApiFp = function (configuration) {
4937
4533
  projectResolveInvitation(invitationToken, options) {
4938
4534
  return __awaiter(this, void 0, void 0, function* () {
4939
4535
  const localVarAxiosArgs = yield localVarAxiosParamCreator.projectResolveInvitation(invitationToken, options);
4940
- return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
4536
+ return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
4941
4537
  });
4942
4538
  },
4943
4539
  /**
4944
4540
  *
4945
- * @summary Create and send a project invitation to a specified mail.
4541
+ * @summary Creates and sends a project invitation to a specified email.
4946
4542
  * @param {SendInvitationObject} sendInvitationObject Informations for sending an invitation. The invitation token is stored inside the URL under \".../?invitationToken={token}\".
4947
4543
  * @param {*} [options] Override http request option.
4948
4544
  * @throws {RequiredError}
@@ -4950,7 +4546,7 @@ const ProjectApiFp = function (configuration) {
4950
4546
  projectSendInvitation(sendInvitationObject, options) {
4951
4547
  return __awaiter(this, void 0, void 0, function* () {
4952
4548
  const localVarAxiosArgs = yield localVarAxiosParamCreator.projectSendInvitation(sendInvitationObject, options);
4953
- return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
4549
+ return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
4954
4550
  });
4955
4551
  },
4956
4552
  /**
@@ -4963,12 +4559,12 @@ const ProjectApiFp = function (configuration) {
4963
4559
  projectStore(projectObject, options) {
4964
4560
  return __awaiter(this, void 0, void 0, function* () {
4965
4561
  const localVarAxiosArgs = yield localVarAxiosParamCreator.projectStore(projectObject, options);
4966
- return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
4562
+ return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
4967
4563
  });
4968
4564
  },
4969
4565
  /**
4970
4566
  *
4971
- * @summary Updates the selected project
4567
+ * @summary Updates a project
4972
4568
  * @param {string} id Id of the project
4973
4569
  * @param {ProjectObject} projectObject A Project Object
4974
4570
  * @param {*} [options] Override http request option.
@@ -4977,22 +4573,7 @@ const ProjectApiFp = function (configuration) {
4977
4573
  projectUpdate(id, projectObject, options) {
4978
4574
  return __awaiter(this, void 0, void 0, function* () {
4979
4575
  const localVarAxiosArgs = yield localVarAxiosParamCreator.projectUpdate(id, projectObject, options);
4980
- return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
4981
- });
4982
- },
4983
- /**
4984
- *
4985
- * @summary Update the project quota.
4986
- * @param {string} id Id of the project.
4987
- * @param {string} resourceTypeId Id of the resource.
4988
- * @param {UpdateProjectQuotaObject} updateProjectQuotaObject Object containing the update values.
4989
- * @param {*} [options] Override http request option.
4990
- * @throws {RequiredError}
4991
- */
4992
- projectUpdateQuota(id, resourceTypeId, updateProjectQuotaObject, options) {
4993
- return __awaiter(this, void 0, void 0, function* () {
4994
- const localVarAxiosArgs = yield localVarAxiosParamCreator.projectUpdateQuota(id, resourceTypeId, updateProjectQuotaObject, options);
4995
- return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
4576
+ return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
4996
4577
  });
4997
4578
  },
4998
4579
  };
@@ -5016,7 +4597,7 @@ const ProjectApiFactory = function (configuration, basePath, axios) {
5016
4597
  },
5017
4598
  /**
5018
4599
  *
5019
- * @summary Deletes the selected project
4600
+ * @summary Deletes a project
5020
4601
  * @param {string} id Id of the project
5021
4602
  * @param {*} [options] Override http request option.
5022
4603
  * @throws {RequiredError}
@@ -5056,18 +4637,7 @@ const ProjectApiFactory = function (configuration, basePath, axios) {
5056
4637
  },
5057
4638
  /**
5058
4639
  *
5059
- * @summary Get the max quota for a resource type.
5060
- * @param {string} id Id of the project.
5061
- * @param {string} resourceTypeId Id of the resource
5062
- * @param {*} [options] Override http request option.
5063
- * @throws {RequiredError}
5064
- */
5065
- projectGetQuotaMax(id, resourceTypeId, options) {
5066
- return localVarFp.projectGetQuotaMax(id, resourceTypeId, options).then((request) => request(axios, basePath));
5067
- },
5068
- /**
5069
- *
5070
- * @summary Gets the resources
4640
+ * @summary Gets all resources in a project
5071
4641
  * @param {string} id Id of the project
5072
4642
  * @param {*} [options] Override http request option.
5073
4643
  * @throws {RequiredError}
@@ -5105,28 +4675,7 @@ const ProjectApiFactory = function (configuration, basePath, axios) {
5105
4675
  },
5106
4676
  /**
5107
4677
  *
5108
- * @summary Retrieves the quota for the selected project and resource Type.
5109
- * @param {string} id Id of the project
5110
- * @param {string} resourceTypeId Id of the resource type
5111
- * @param {*} [options] Override http request option.
5112
- * @throws {RequiredError}
5113
- */
5114
- projectQuota(id, resourceTypeId, options) {
5115
- return localVarFp.projectQuota(id, resourceTypeId, options).then((request) => request(axios, basePath));
5116
- },
5117
- /**
5118
- *
5119
- * @summary Retrieves the quota for the selected project.
5120
- * @param {string} id Id of the project
5121
- * @param {*} [options] Override http request option.
5122
- * @throws {RequiredError}
5123
- */
5124
- projectQuotas(id, options) {
5125
- return localVarFp.projectQuotas(id, options).then((request) => request(axios, basePath));
5126
- },
5127
- /**
5128
- *
5129
- * @summary Resolve a project invitation for the current user.
4678
+ * @summary Resolves a project invitation for the current user.
5130
4679
  * @param {string} invitationToken Token for a project invitation stored inside the URL under \".../?invitationToken={token}\"
5131
4680
  * @param {*} [options] Override http request option.
5132
4681
  * @throws {RequiredError}
@@ -5136,7 +4685,7 @@ const ProjectApiFactory = function (configuration, basePath, axios) {
5136
4685
  },
5137
4686
  /**
5138
4687
  *
5139
- * @summary Create and send a project invitation to a specified mail.
4688
+ * @summary Creates and sends a project invitation to a specified email.
5140
4689
  * @param {SendInvitationObject} sendInvitationObject Informations for sending an invitation. The invitation token is stored inside the URL under \".../?invitationToken={token}\".
5141
4690
  * @param {*} [options] Override http request option.
5142
4691
  * @throws {RequiredError}
@@ -5156,7 +4705,7 @@ const ProjectApiFactory = function (configuration, basePath, axios) {
5156
4705
  },
5157
4706
  /**
5158
4707
  *
5159
- * @summary Updates the selected project
4708
+ * @summary Updates a project
5160
4709
  * @param {string} id Id of the project
5161
4710
  * @param {ProjectObject} projectObject A Project Object
5162
4711
  * @param {*} [options] Override http request option.
@@ -5165,17 +4714,212 @@ const ProjectApiFactory = function (configuration, basePath, axios) {
5165
4714
  projectUpdate(id, projectObject, options) {
5166
4715
  return localVarFp.projectUpdate(id, projectObject, options).then((request) => request(axios, basePath));
5167
4716
  },
4717
+ };
4718
+ };
4719
+ /**
4720
+ * ProjectQuotaApi - axios parameter creator
4721
+ * @export
4722
+ */
4723
+ const ProjectQuotaApiAxiosParamCreator = function (configuration) {
4724
+ return {
4725
+ /**
4726
+ *
4727
+ * @summary Retrieves the project quota in GiB of a resource type for the selected project together with all individual resources of this resource type.
4728
+ * @param {string} id Id of the project
4729
+ * @param {string} resourceTypeId Id of the resource type
4730
+ * @param {*} [options] Override http request option.
4731
+ * @throws {RequiredError}
4732
+ */
4733
+ projectQuotaQuota: (id, resourceTypeId, options = {}) => __awaiter(this, void 0, void 0, function* () {
4734
+ // verify required parameter 'id' is not null or undefined
4735
+ assertParamExists$4('projectQuotaQuota', 'id', id);
4736
+ // verify required parameter 'resourceTypeId' is not null or undefined
4737
+ assertParamExists$4('projectQuotaQuota', 'resourceTypeId', resourceTypeId);
4738
+ const localVarPath = `/ProjectQuota/{id}/{resourceTypeId}`
4739
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)))
4740
+ .replace(`{${"resourceTypeId"}}`, encodeURIComponent(String(resourceTypeId)));
4741
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4742
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
4743
+ let baseOptions;
4744
+ if (configuration) {
4745
+ baseOptions = configuration.baseOptions;
4746
+ }
4747
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
4748
+ const localVarHeaderParameter = {};
4749
+ const localVarQueryParameter = {};
4750
+ // authentication JWT token required
4751
+ yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
4752
+ setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
4753
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4754
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4755
+ return {
4756
+ url: toPathString$5(localVarUrlObj),
4757
+ options: localVarRequestOptions,
4758
+ };
4759
+ }),
4760
+ /**
4761
+ *
4762
+ * @summary Retrieves all project quotas in GiB grouped by resource type for the selected project.
4763
+ * @param {string} id Id of the project
4764
+ * @param {*} [options] Override http request option.
4765
+ * @throws {RequiredError}
4766
+ */
4767
+ projectQuotaQuotas: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
4768
+ // verify required parameter 'id' is not null or undefined
4769
+ assertParamExists$4('projectQuotaQuotas', 'id', id);
4770
+ const localVarPath = `/ProjectQuota/{id}/-/all`
4771
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
4772
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4773
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
4774
+ let baseOptions;
4775
+ if (configuration) {
4776
+ baseOptions = configuration.baseOptions;
4777
+ }
4778
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
4779
+ const localVarHeaderParameter = {};
4780
+ const localVarQueryParameter = {};
4781
+ // authentication JWT token required
4782
+ yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
4783
+ setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
4784
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4785
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4786
+ return {
4787
+ url: toPathString$5(localVarUrlObj),
4788
+ options: localVarRequestOptions,
4789
+ };
4790
+ }),
4791
+ /**
4792
+ *
4793
+ * @summary Updates the reserved project quota of a resource type for a selected poject. Quota value in GiB.
4794
+ * @param {string} id Id of the project
4795
+ * @param {string} resourceTypeId Id of the resource type
4796
+ * @param {UpdateProjectQuotaObject} updateProjectQuotaObject Object containing the update values.
4797
+ * @param {*} [options] Override http request option.
4798
+ * @throws {RequiredError}
4799
+ */
4800
+ projectQuotaUpdateQuota: (id, resourceTypeId, updateProjectQuotaObject, options = {}) => __awaiter(this, void 0, void 0, function* () {
4801
+ // verify required parameter 'id' is not null or undefined
4802
+ assertParamExists$4('projectQuotaUpdateQuota', 'id', id);
4803
+ // verify required parameter 'resourceTypeId' is not null or undefined
4804
+ assertParamExists$4('projectQuotaUpdateQuota', 'resourceTypeId', resourceTypeId);
4805
+ // verify required parameter 'updateProjectQuotaObject' is not null or undefined
4806
+ assertParamExists$4('projectQuotaUpdateQuota', 'updateProjectQuotaObject', updateProjectQuotaObject);
4807
+ const localVarPath = `/ProjectQuota/{id}/{resourceTypeId}`
4808
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)))
4809
+ .replace(`{${"resourceTypeId"}}`, encodeURIComponent(String(resourceTypeId)));
4810
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4811
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
4812
+ let baseOptions;
4813
+ if (configuration) {
4814
+ baseOptions = configuration.baseOptions;
4815
+ }
4816
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
4817
+ const localVarHeaderParameter = {};
4818
+ const localVarQueryParameter = {};
4819
+ // authentication JWT token required
4820
+ yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
4821
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4822
+ setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
4823
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4824
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4825
+ localVarRequestOptions.data = serializeDataIfNeeded$3(updateProjectQuotaObject, localVarRequestOptions, configuration);
4826
+ return {
4827
+ url: toPathString$5(localVarUrlObj),
4828
+ options: localVarRequestOptions,
4829
+ };
4830
+ }),
4831
+ };
4832
+ };
4833
+ /**
4834
+ * ProjectQuotaApi - functional programming interface
4835
+ * @export
4836
+ */
4837
+ const ProjectQuotaApiFp = function (configuration) {
4838
+ const localVarAxiosParamCreator = ProjectQuotaApiAxiosParamCreator(configuration);
4839
+ return {
4840
+ /**
4841
+ *
4842
+ * @summary Retrieves the project quota in GiB of a resource type for the selected project together with all individual resources of this resource type.
4843
+ * @param {string} id Id of the project
4844
+ * @param {string} resourceTypeId Id of the resource type
4845
+ * @param {*} [options] Override http request option.
4846
+ * @throws {RequiredError}
4847
+ */
4848
+ projectQuotaQuota(id, resourceTypeId, options) {
4849
+ return __awaiter(this, void 0, void 0, function* () {
4850
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.projectQuotaQuota(id, resourceTypeId, options);
4851
+ return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
4852
+ });
4853
+ },
4854
+ /**
4855
+ *
4856
+ * @summary Retrieves all project quotas in GiB grouped by resource type for the selected project.
4857
+ * @param {string} id Id of the project
4858
+ * @param {*} [options] Override http request option.
4859
+ * @throws {RequiredError}
4860
+ */
4861
+ projectQuotaQuotas(id, options) {
4862
+ return __awaiter(this, void 0, void 0, function* () {
4863
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.projectQuotaQuotas(id, options);
4864
+ return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
4865
+ });
4866
+ },
4867
+ /**
4868
+ *
4869
+ * @summary Updates the reserved project quota of a resource type for a selected poject. Quota value in GiB.
4870
+ * @param {string} id Id of the project
4871
+ * @param {string} resourceTypeId Id of the resource type
4872
+ * @param {UpdateProjectQuotaObject} updateProjectQuotaObject Object containing the update values.
4873
+ * @param {*} [options] Override http request option.
4874
+ * @throws {RequiredError}
4875
+ */
4876
+ projectQuotaUpdateQuota(id, resourceTypeId, updateProjectQuotaObject, options) {
4877
+ return __awaiter(this, void 0, void 0, function* () {
4878
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.projectQuotaUpdateQuota(id, resourceTypeId, updateProjectQuotaObject, options);
4879
+ return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
4880
+ });
4881
+ },
4882
+ };
4883
+ };
4884
+ /**
4885
+ * ProjectQuotaApi - factory interface
4886
+ * @export
4887
+ */
4888
+ const ProjectQuotaApiFactory = function (configuration, basePath, axios) {
4889
+ const localVarFp = ProjectQuotaApiFp(configuration);
4890
+ return {
4891
+ /**
4892
+ *
4893
+ * @summary Retrieves the project quota in GiB of a resource type for the selected project together with all individual resources of this resource type.
4894
+ * @param {string} id Id of the project
4895
+ * @param {string} resourceTypeId Id of the resource type
4896
+ * @param {*} [options] Override http request option.
4897
+ * @throws {RequiredError}
4898
+ */
4899
+ projectQuotaQuota(id, resourceTypeId, options) {
4900
+ return localVarFp.projectQuotaQuota(id, resourceTypeId, options).then((request) => request(axios, basePath));
4901
+ },
4902
+ /**
4903
+ *
4904
+ * @summary Retrieves all project quotas in GiB grouped by resource type for the selected project.
4905
+ * @param {string} id Id of the project
4906
+ * @param {*} [options] Override http request option.
4907
+ * @throws {RequiredError}
4908
+ */
4909
+ projectQuotaQuotas(id, options) {
4910
+ return localVarFp.projectQuotaQuotas(id, options).then((request) => request(axios, basePath));
4911
+ },
5168
4912
  /**
5169
4913
  *
5170
- * @summary Update the project quota.
5171
- * @param {string} id Id of the project.
5172
- * @param {string} resourceTypeId Id of the resource.
4914
+ * @summary Updates the reserved project quota of a resource type for a selected poject. Quota value in GiB.
4915
+ * @param {string} id Id of the project
4916
+ * @param {string} resourceTypeId Id of the resource type
5173
4917
  * @param {UpdateProjectQuotaObject} updateProjectQuotaObject Object containing the update values.
5174
4918
  * @param {*} [options] Override http request option.
5175
4919
  * @throws {RequiredError}
5176
4920
  */
5177
- projectUpdateQuota(id, resourceTypeId, updateProjectQuotaObject, options) {
5178
- return localVarFp.projectUpdateQuota(id, resourceTypeId, updateProjectQuotaObject, options).then((request) => request(axios, basePath));
4921
+ projectQuotaUpdateQuota(id, resourceTypeId, updateProjectQuotaObject, options) {
4922
+ return localVarFp.projectQuotaUpdateQuota(id, resourceTypeId, updateProjectQuotaObject, options).then((request) => request(axios, basePath));
5179
4923
  },
5180
4924
  };
5181
4925
  };
@@ -5187,7 +4931,7 @@ const ProjectRoleApiAxiosParamCreator = function (configuration) {
5187
4931
  return {
5188
4932
  /**
5189
4933
  *
5190
- * @summary deletes project role for the given project
4934
+ * @summary Deletes a user from a project
5191
4935
  * @param {string} projectId Id of the project
5192
4936
  * @param {string} userId Id of the user
5193
4937
  * @param {string} roleId Id of the role
@@ -5196,17 +4940,17 @@ const ProjectRoleApiAxiosParamCreator = function (configuration) {
5196
4940
  */
5197
4941
  projectRoleDelete: (projectId, userId, roleId, options = {}) => __awaiter(this, void 0, void 0, function* () {
5198
4942
  // verify required parameter 'projectId' is not null or undefined
5199
- assertParamExists$5('projectRoleDelete', 'projectId', projectId);
4943
+ assertParamExists$4('projectRoleDelete', 'projectId', projectId);
5200
4944
  // verify required parameter 'userId' is not null or undefined
5201
- assertParamExists$5('projectRoleDelete', 'userId', userId);
4945
+ assertParamExists$4('projectRoleDelete', 'userId', userId);
5202
4946
  // verify required parameter 'roleId' is not null or undefined
5203
- assertParamExists$5('projectRoleDelete', 'roleId', roleId);
4947
+ assertParamExists$4('projectRoleDelete', 'roleId', roleId);
5204
4948
  const localVarPath = `/ProjectRole/project/{projectId}/user/{userId}/role/{roleId}`
5205
4949
  .replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)))
5206
4950
  .replace(`{${"userId"}}`, encodeURIComponent(String(userId)))
5207
4951
  .replace(`{${"roleId"}}`, encodeURIComponent(String(roleId)));
5208
4952
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5209
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
4953
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
5210
4954
  let baseOptions;
5211
4955
  if (configuration) {
5212
4956
  baseOptions = configuration.baseOptions;
@@ -5215,29 +4959,29 @@ const ProjectRoleApiAxiosParamCreator = function (configuration) {
5215
4959
  const localVarHeaderParameter = {};
5216
4960
  const localVarQueryParameter = {};
5217
4961
  // authentication JWT token required
5218
- yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
5219
- setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
4962
+ yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
4963
+ setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
5220
4964
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5221
4965
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
5222
4966
  return {
5223
- url: toPathString$6(localVarUrlObj),
4967
+ url: toPathString$5(localVarUrlObj),
5224
4968
  options: localVarRequestOptions,
5225
4969
  };
5226
4970
  }),
5227
4971
  /**
5228
4972
  *
5229
- * @summary Deletes user from a project
4973
+ * @summary Deletes the current user from a project
5230
4974
  * @param {string} projectId Id of the project
5231
4975
  * @param {*} [options] Override http request option.
5232
4976
  * @throws {RequiredError}
5233
4977
  */
5234
4978
  projectRoleDelete2: (projectId, options = {}) => __awaiter(this, void 0, void 0, function* () {
5235
4979
  // verify required parameter 'projectId' is not null or undefined
5236
- assertParamExists$5('projectRoleDelete2', 'projectId', projectId);
4980
+ assertParamExists$4('projectRoleDelete2', 'projectId', projectId);
5237
4981
  const localVarPath = `/ProjectRole/project/{projectId}/user`
5238
4982
  .replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
5239
4983
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5240
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
4984
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
5241
4985
  let baseOptions;
5242
4986
  if (configuration) {
5243
4987
  baseOptions = configuration.baseOptions;
@@ -5246,29 +4990,29 @@ const ProjectRoleApiAxiosParamCreator = function (configuration) {
5246
4990
  const localVarHeaderParameter = {};
5247
4991
  const localVarQueryParameter = {};
5248
4992
  // authentication JWT token required
5249
- yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
5250
- setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
4993
+ yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
4994
+ setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
5251
4995
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5252
4996
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
5253
4997
  return {
5254
- url: toPathString$6(localVarUrlObj),
4998
+ url: toPathString$5(localVarUrlObj),
5255
4999
  options: localVarRequestOptions,
5256
5000
  };
5257
5001
  }),
5258
5002
  /**
5259
5003
  *
5260
- * @summary Gets all roles for current user and given object
5004
+ * @summary Gets all roles for the current user and a project.
5261
5005
  * @param {string} projectId Id of the project
5262
5006
  * @param {*} [options] Override http request option.
5263
5007
  * @throws {RequiredError}
5264
5008
  */
5265
5009
  projectRoleGet: (projectId, options = {}) => __awaiter(this, void 0, void 0, function* () {
5266
5010
  // verify required parameter 'projectId' is not null or undefined
5267
- assertParamExists$5('projectRoleGet', 'projectId', projectId);
5011
+ assertParamExists$4('projectRoleGet', 'projectId', projectId);
5268
5012
  const localVarPath = `/ProjectRole/project/{projectId}`
5269
5013
  .replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
5270
5014
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5271
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
5015
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
5272
5016
  let baseOptions;
5273
5017
  if (configuration) {
5274
5018
  baseOptions = configuration.baseOptions;
@@ -5277,29 +5021,29 @@ const ProjectRoleApiAxiosParamCreator = function (configuration) {
5277
5021
  const localVarHeaderParameter = {};
5278
5022
  const localVarQueryParameter = {};
5279
5023
  // authentication JWT token required
5280
- yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
5281
- setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
5024
+ yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
5025
+ setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
5282
5026
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5283
5027
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
5284
5028
  return {
5285
- url: toPathString$6(localVarUrlObj),
5029
+ url: toPathString$5(localVarUrlObj),
5286
5030
  options: localVarRequestOptions,
5287
5031
  };
5288
5032
  }),
5289
5033
  /**
5290
5034
  *
5291
- * @summary Lists all users to the given project
5035
+ * @summary Lists all users in a project.
5292
5036
  * @param {string} projectId Id of the project
5293
5037
  * @param {*} [options] Override http request option.
5294
5038
  * @throws {RequiredError}
5295
5039
  */
5296
5040
  projectRoleIndex: (projectId, options = {}) => __awaiter(this, void 0, void 0, function* () {
5297
5041
  // verify required parameter 'projectId' is not null or undefined
5298
- assertParamExists$5('projectRoleIndex', 'projectId', projectId);
5042
+ assertParamExists$4('projectRoleIndex', 'projectId', projectId);
5299
5043
  const localVarPath = `/ProjectRole/{projectId}`
5300
5044
  .replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
5301
5045
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5302
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
5046
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
5303
5047
  let baseOptions;
5304
5048
  if (configuration) {
5305
5049
  baseOptions = configuration.baseOptions;
@@ -5308,25 +5052,28 @@ const ProjectRoleApiAxiosParamCreator = function (configuration) {
5308
5052
  const localVarHeaderParameter = {};
5309
5053
  const localVarQueryParameter = {};
5310
5054
  // authentication JWT token required
5311
- yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
5312
- setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
5055
+ yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
5056
+ setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
5313
5057
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5314
5058
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
5315
5059
  return {
5316
- url: toPathString$6(localVarUrlObj),
5060
+ url: toPathString$5(localVarUrlObj),
5317
5061
  options: localVarRequestOptions,
5318
5062
  };
5319
5063
  }),
5320
5064
  /**
5321
5065
  *
5322
- * @summary sets a project role for the given project
5066
+ * @summary Sets a role for the current user in a project
5067
+ * @param {ProjectRoleObject} projectRoleObject
5323
5068
  * @param {*} [options] Override http request option.
5324
5069
  * @throws {RequiredError}
5325
5070
  */
5326
- projectRoleSet: (options = {}) => __awaiter(this, void 0, void 0, function* () {
5071
+ projectRoleSet: (projectRoleObject, options = {}) => __awaiter(this, void 0, void 0, function* () {
5072
+ // verify required parameter 'projectRoleObject' is not null or undefined
5073
+ assertParamExists$4('projectRoleSet', 'projectRoleObject', projectRoleObject);
5327
5074
  const localVarPath = `/ProjectRole`;
5328
5075
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5329
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
5076
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
5330
5077
  let baseOptions;
5331
5078
  if (configuration) {
5332
5079
  baseOptions = configuration.baseOptions;
@@ -5335,12 +5082,14 @@ const ProjectRoleApiAxiosParamCreator = function (configuration) {
5335
5082
  const localVarHeaderParameter = {};
5336
5083
  const localVarQueryParameter = {};
5337
5084
  // authentication JWT token required
5338
- yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
5339
- setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
5085
+ yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
5086
+ localVarHeaderParameter['Content-Type'] = 'application/json';
5087
+ setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
5340
5088
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5341
5089
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
5090
+ localVarRequestOptions.data = serializeDataIfNeeded$3(projectRoleObject, localVarRequestOptions, configuration);
5342
5091
  return {
5343
- url: toPathString$6(localVarUrlObj),
5092
+ url: toPathString$5(localVarUrlObj),
5344
5093
  options: localVarRequestOptions,
5345
5094
  };
5346
5095
  }),
@@ -5355,7 +5104,7 @@ const ProjectRoleApiFp = function (configuration) {
5355
5104
  return {
5356
5105
  /**
5357
5106
  *
5358
- * @summary deletes project role for the given project
5107
+ * @summary Deletes a user from a project
5359
5108
  * @param {string} projectId Id of the project
5360
5109
  * @param {string} userId Id of the user
5361
5110
  * @param {string} roleId Id of the role
@@ -5365,12 +5114,12 @@ const ProjectRoleApiFp = function (configuration) {
5365
5114
  projectRoleDelete(projectId, userId, roleId, options) {
5366
5115
  return __awaiter(this, void 0, void 0, function* () {
5367
5116
  const localVarAxiosArgs = yield localVarAxiosParamCreator.projectRoleDelete(projectId, userId, roleId, options);
5368
- return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
5117
+ return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
5369
5118
  });
5370
5119
  },
5371
5120
  /**
5372
5121
  *
5373
- * @summary Deletes user from a project
5122
+ * @summary Deletes the current user from a project
5374
5123
  * @param {string} projectId Id of the project
5375
5124
  * @param {*} [options] Override http request option.
5376
5125
  * @throws {RequiredError}
@@ -5378,12 +5127,12 @@ const ProjectRoleApiFp = function (configuration) {
5378
5127
  projectRoleDelete2(projectId, options) {
5379
5128
  return __awaiter(this, void 0, void 0, function* () {
5380
5129
  const localVarAxiosArgs = yield localVarAxiosParamCreator.projectRoleDelete2(projectId, options);
5381
- return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
5130
+ return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
5382
5131
  });
5383
5132
  },
5384
5133
  /**
5385
5134
  *
5386
- * @summary Gets all roles for current user and given object
5135
+ * @summary Gets all roles for the current user and a project.
5387
5136
  * @param {string} projectId Id of the project
5388
5137
  * @param {*} [options] Override http request option.
5389
5138
  * @throws {RequiredError}
@@ -5391,12 +5140,12 @@ const ProjectRoleApiFp = function (configuration) {
5391
5140
  projectRoleGet(projectId, options) {
5392
5141
  return __awaiter(this, void 0, void 0, function* () {
5393
5142
  const localVarAxiosArgs = yield localVarAxiosParamCreator.projectRoleGet(projectId, options);
5394
- return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
5143
+ return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
5395
5144
  });
5396
5145
  },
5397
5146
  /**
5398
5147
  *
5399
- * @summary Lists all users to the given project
5148
+ * @summary Lists all users in a project.
5400
5149
  * @param {string} projectId Id of the project
5401
5150
  * @param {*} [options] Override http request option.
5402
5151
  * @throws {RequiredError}
@@ -5404,19 +5153,20 @@ const ProjectRoleApiFp = function (configuration) {
5404
5153
  projectRoleIndex(projectId, options) {
5405
5154
  return __awaiter(this, void 0, void 0, function* () {
5406
5155
  const localVarAxiosArgs = yield localVarAxiosParamCreator.projectRoleIndex(projectId, options);
5407
- return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
5156
+ return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
5408
5157
  });
5409
5158
  },
5410
5159
  /**
5411
5160
  *
5412
- * @summary sets a project role for the given project
5161
+ * @summary Sets a role for the current user in a project
5162
+ * @param {ProjectRoleObject} projectRoleObject
5413
5163
  * @param {*} [options] Override http request option.
5414
5164
  * @throws {RequiredError}
5415
5165
  */
5416
- projectRoleSet(options) {
5166
+ projectRoleSet(projectRoleObject, options) {
5417
5167
  return __awaiter(this, void 0, void 0, function* () {
5418
- const localVarAxiosArgs = yield localVarAxiosParamCreator.projectRoleSet(options);
5419
- return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
5168
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.projectRoleSet(projectRoleObject, options);
5169
+ return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
5420
5170
  });
5421
5171
  },
5422
5172
  };
@@ -5430,7 +5180,7 @@ const ProjectRoleApiFactory = function (configuration, basePath, axios) {
5430
5180
  return {
5431
5181
  /**
5432
5182
  *
5433
- * @summary deletes project role for the given project
5183
+ * @summary Deletes a user from a project
5434
5184
  * @param {string} projectId Id of the project
5435
5185
  * @param {string} userId Id of the user
5436
5186
  * @param {string} roleId Id of the role
@@ -5442,7 +5192,7 @@ const ProjectRoleApiFactory = function (configuration, basePath, axios) {
5442
5192
  },
5443
5193
  /**
5444
5194
  *
5445
- * @summary Deletes user from a project
5195
+ * @summary Deletes the current user from a project
5446
5196
  * @param {string} projectId Id of the project
5447
5197
  * @param {*} [options] Override http request option.
5448
5198
  * @throws {RequiredError}
@@ -5452,7 +5202,7 @@ const ProjectRoleApiFactory = function (configuration, basePath, axios) {
5452
5202
  },
5453
5203
  /**
5454
5204
  *
5455
- * @summary Gets all roles for current user and given object
5205
+ * @summary Gets all roles for the current user and a project.
5456
5206
  * @param {string} projectId Id of the project
5457
5207
  * @param {*} [options] Override http request option.
5458
5208
  * @throws {RequiredError}
@@ -5462,7 +5212,7 @@ const ProjectRoleApiFactory = function (configuration, basePath, axios) {
5462
5212
  },
5463
5213
  /**
5464
5214
  *
5465
- * @summary Lists all users to the given project
5215
+ * @summary Lists all users in a project.
5466
5216
  * @param {string} projectId Id of the project
5467
5217
  * @param {*} [options] Override http request option.
5468
5218
  * @throws {RequiredError}
@@ -5472,12 +5222,13 @@ const ProjectRoleApiFactory = function (configuration, basePath, axios) {
5472
5222
  },
5473
5223
  /**
5474
5224
  *
5475
- * @summary sets a project role for the given project
5225
+ * @summary Sets a role for the current user in a project
5226
+ * @param {ProjectRoleObject} projectRoleObject
5476
5227
  * @param {*} [options] Override http request option.
5477
5228
  * @throws {RequiredError}
5478
5229
  */
5479
- projectRoleSet(options) {
5480
- return localVarFp.projectRoleSet(options).then((request) => request(axios, basePath));
5230
+ projectRoleSet(projectRoleObject, options) {
5231
+ return localVarFp.projectRoleSet(projectRoleObject, options).then((request) => request(axios, basePath));
5481
5232
  },
5482
5233
  };
5483
5234
  };
@@ -5496,7 +5247,7 @@ const RoleApiAxiosParamCreator = function (configuration) {
5496
5247
  roleIndex: (options = {}) => __awaiter(this, void 0, void 0, function* () {
5497
5248
  const localVarPath = `/Role`;
5498
5249
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5499
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
5250
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
5500
5251
  let baseOptions;
5501
5252
  if (configuration) {
5502
5253
  baseOptions = configuration.baseOptions;
@@ -5505,12 +5256,12 @@ const RoleApiAxiosParamCreator = function (configuration) {
5505
5256
  const localVarHeaderParameter = {};
5506
5257
  const localVarQueryParameter = {};
5507
5258
  // authentication JWT token required
5508
- yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
5509
- setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
5259
+ yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
5260
+ setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
5510
5261
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5511
5262
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
5512
5263
  return {
5513
- url: toPathString$6(localVarUrlObj),
5264
+ url: toPathString$5(localVarUrlObj),
5514
5265
  options: localVarRequestOptions,
5515
5266
  };
5516
5267
  }),
@@ -5532,7 +5283,7 @@ const RoleApiFp = function (configuration) {
5532
5283
  roleIndex(options) {
5533
5284
  return __awaiter(this, void 0, void 0, function* () {
5534
5285
  const localVarAxiosArgs = yield localVarAxiosParamCreator.roleIndex(options);
5535
- return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
5286
+ return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
5536
5287
  });
5537
5288
  },
5538
5289
  };
@@ -5551,511 +5302,28 @@ const RoleApiFactory = function (configuration, basePath, axios) {
5551
5302
  * @throws {RequiredError}
5552
5303
  */
5553
5304
  roleIndex(options) {
5554
- return localVarFp.roleIndex(options).then((request) => request(axios, basePath));
5555
- },
5556
- };
5557
- };
5558
- /**
5559
- * SearchApi - axios parameter creator
5560
- * @export
5561
- */
5562
- const SearchApiAxiosParamCreator = function (configuration) {
5563
- return {
5564
- /**
5565
- *
5566
- * @summary Returns results for the search word
5567
- * @param {string} encodedSearchWord Encoded search word
5568
- * @param {*} [options] Override http request option.
5569
- * @throws {RequiredError}
5570
- */
5571
- searchSearch: (encodedSearchWord, options = {}) => __awaiter(this, void 0, void 0, function* () {
5572
- // verify required parameter 'encodedSearchWord' is not null or undefined
5573
- assertParamExists$5('searchSearch', 'encodedSearchWord', encodedSearchWord);
5574
- const localVarPath = `/Search/all/{encodedSearchWord}`
5575
- .replace(`{${"encodedSearchWord"}}`, encodeURIComponent(String(encodedSearchWord)));
5576
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
5577
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
5578
- let baseOptions;
5579
- if (configuration) {
5580
- baseOptions = configuration.baseOptions;
5581
- }
5582
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
5583
- const localVarHeaderParameter = {};
5584
- const localVarQueryParameter = {};
5585
- // authentication JWT token required
5586
- yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
5587
- setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
5588
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5589
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
5590
- return {
5591
- url: toPathString$6(localVarUrlObj),
5592
- options: localVarRequestOptions,
5593
- };
5594
- }),
5595
- /**
5596
- *
5597
- * @summary Returns searched projects
5598
- * @param {string} projectId Id of the project
5599
- * @param {string} encodedSearchWord Encoded search word
5600
- * @param {*} [options] Override http request option.
5601
- * @throws {RequiredError}
5602
- */
5603
- searchSearchProject: (projectId, encodedSearchWord, options = {}) => __awaiter(this, void 0, void 0, function* () {
5604
- // verify required parameter 'projectId' is not null or undefined
5605
- assertParamExists$5('searchSearchProject', 'projectId', projectId);
5606
- // verify required parameter 'encodedSearchWord' is not null or undefined
5607
- assertParamExists$5('searchSearchProject', 'encodedSearchWord', encodedSearchWord);
5608
- const localVarPath = `/Search/project/{projectId}/{encodedSearchWord}`
5609
- .replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)))
5610
- .replace(`{${"encodedSearchWord"}}`, encodeURIComponent(String(encodedSearchWord)));
5611
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
5612
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
5613
- let baseOptions;
5614
- if (configuration) {
5615
- baseOptions = configuration.baseOptions;
5616
- }
5617
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
5618
- const localVarHeaderParameter = {};
5619
- const localVarQueryParameter = {};
5620
- // authentication JWT token required
5621
- yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
5622
- setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
5623
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5624
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
5625
- return {
5626
- url: toPathString$6(localVarUrlObj),
5627
- options: localVarRequestOptions,
5628
- };
5629
- }),
5630
- };
5631
- };
5632
- /**
5633
- * SearchApi - functional programming interface
5634
- * @export
5635
- */
5636
- const SearchApiFp = function (configuration) {
5637
- const localVarAxiosParamCreator = SearchApiAxiosParamCreator(configuration);
5638
- return {
5639
- /**
5640
- *
5641
- * @summary Returns results for the search word
5642
- * @param {string} encodedSearchWord Encoded search word
5643
- * @param {*} [options] Override http request option.
5644
- * @throws {RequiredError}
5645
- */
5646
- searchSearch(encodedSearchWord, options) {
5647
- return __awaiter(this, void 0, void 0, function* () {
5648
- const localVarAxiosArgs = yield localVarAxiosParamCreator.searchSearch(encodedSearchWord, options);
5649
- return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
5650
- });
5651
- },
5652
- /**
5653
- *
5654
- * @summary Returns searched projects
5655
- * @param {string} projectId Id of the project
5656
- * @param {string} encodedSearchWord Encoded search word
5657
- * @param {*} [options] Override http request option.
5658
- * @throws {RequiredError}
5659
- */
5660
- searchSearchProject(projectId, encodedSearchWord, options) {
5661
- return __awaiter(this, void 0, void 0, function* () {
5662
- const localVarAxiosArgs = yield localVarAxiosParamCreator.searchSearchProject(projectId, encodedSearchWord, options);
5663
- return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
5664
- });
5665
- },
5666
- };
5667
- };
5668
- /**
5669
- * SearchApi - factory interface
5670
- * @export
5671
- */
5672
- const SearchApiFactory = function (configuration, basePath, axios) {
5673
- const localVarFp = SearchApiFp(configuration);
5674
- return {
5675
- /**
5676
- *
5677
- * @summary Returns results for the search word
5678
- * @param {string} encodedSearchWord Encoded search word
5679
- * @param {*} [options] Override http request option.
5680
- * @throws {RequiredError}
5681
- */
5682
- searchSearch(encodedSearchWord, options) {
5683
- return localVarFp.searchSearch(encodedSearchWord, options).then((request) => request(axios, basePath));
5684
- },
5685
- /**
5686
- *
5687
- * @summary Returns searched projects
5688
- * @param {string} projectId Id of the project
5689
- * @param {string} encodedSearchWord Encoded search word
5690
- * @param {*} [options] Override http request option.
5691
- * @throws {RequiredError}
5692
- */
5693
- searchSearchProject(projectId, encodedSearchWord, options) {
5694
- return localVarFp.searchSearchProject(projectId, encodedSearchWord, options).then((request) => request(axios, basePath));
5695
- },
5696
- };
5697
- };
5698
- /**
5699
- * SubProjectApi - axios parameter creator
5700
- * @export
5701
- */
5702
- const SubProjectApiAxiosParamCreator = function (configuration) {
5703
- return {
5704
- /**
5705
- *
5706
- * @summary This method gets the Id of the parent
5707
- * @param {string} parentId Id of parent
5708
- * @param {*} [options] Override http request option.
5709
- * @throws {RequiredError}
5710
- */
5711
- subProjectGet: (parentId, options = {}) => __awaiter(this, void 0, void 0, function* () {
5712
- // verify required parameter 'parentId' is not null or undefined
5713
- assertParamExists$5('subProjectGet', 'parentId', parentId);
5714
- const localVarPath = `/SubProject/{parentId}`
5715
- .replace(`{${"parentId"}}`, encodeURIComponent(String(parentId)));
5716
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
5717
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
5718
- let baseOptions;
5719
- if (configuration) {
5720
- baseOptions = configuration.baseOptions;
5721
- }
5722
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
5723
- const localVarHeaderParameter = {};
5724
- const localVarQueryParameter = {};
5725
- // authentication JWT token required
5726
- yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
5727
- setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
5728
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5729
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
5730
- return {
5731
- url: toPathString$6(localVarUrlObj),
5732
- options: localVarRequestOptions,
5733
- };
5734
- }),
5735
- /**
5736
- *
5737
- * @summary This method retrieves the accessible Parent
5738
- * @param {string} childId Id of the child
5739
- * @param {*} [options] Override http request option.
5740
- * @throws {RequiredError}
5741
- */
5742
- subProjectGetAccessibleParent: (childId, options = {}) => __awaiter(this, void 0, void 0, function* () {
5743
- // verify required parameter 'childId' is not null or undefined
5744
- assertParamExists$5('subProjectGetAccessibleParent', 'childId', childId);
5745
- const localVarPath = `/SubProject/{childId}/accessibleParent`
5746
- .replace(`{${"childId"}}`, encodeURIComponent(String(childId)));
5747
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
5748
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
5749
- let baseOptions;
5750
- if (configuration) {
5751
- baseOptions = configuration.baseOptions;
5752
- }
5753
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
5754
- const localVarHeaderParameter = {};
5755
- const localVarQueryParameter = {};
5756
- // authentication JWT token required
5757
- yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
5758
- setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
5759
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5760
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
5761
- return {
5762
- url: toPathString$6(localVarUrlObj),
5763
- options: localVarRequestOptions,
5764
- };
5765
- }),
5766
- };
5767
- };
5768
- /**
5769
- * SubProjectApi - functional programming interface
5770
- * @export
5771
- */
5772
- const SubProjectApiFp = function (configuration) {
5773
- const localVarAxiosParamCreator = SubProjectApiAxiosParamCreator(configuration);
5774
- return {
5775
- /**
5776
- *
5777
- * @summary This method gets the Id of the parent
5778
- * @param {string} parentId Id of parent
5779
- * @param {*} [options] Override http request option.
5780
- * @throws {RequiredError}
5781
- */
5782
- subProjectGet(parentId, options) {
5783
- return __awaiter(this, void 0, void 0, function* () {
5784
- const localVarAxiosArgs = yield localVarAxiosParamCreator.subProjectGet(parentId, options);
5785
- return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
5786
- });
5787
- },
5788
- /**
5789
- *
5790
- * @summary This method retrieves the accessible Parent
5791
- * @param {string} childId Id of the child
5792
- * @param {*} [options] Override http request option.
5793
- * @throws {RequiredError}
5794
- */
5795
- subProjectGetAccessibleParent(childId, options) {
5796
- return __awaiter(this, void 0, void 0, function* () {
5797
- const localVarAxiosArgs = yield localVarAxiosParamCreator.subProjectGetAccessibleParent(childId, options);
5798
- return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
5799
- });
5800
- },
5801
- };
5802
- };
5803
- /**
5804
- * SubProjectApi - factory interface
5805
- * @export
5806
- */
5807
- const SubProjectApiFactory = function (configuration, basePath, axios) {
5808
- const localVarFp = SubProjectApiFp(configuration);
5809
- return {
5810
- /**
5811
- *
5812
- * @summary This method gets the Id of the parent
5813
- * @param {string} parentId Id of parent
5814
- * @param {*} [options] Override http request option.
5815
- * @throws {RequiredError}
5816
- */
5817
- subProjectGet(parentId, options) {
5818
- return localVarFp.subProjectGet(parentId, options).then((request) => request(axios, basePath));
5819
- },
5820
- /**
5821
- *
5822
- * @summary This method retrieves the accessible Parent
5823
- * @param {string} childId Id of the child
5824
- * @param {*} [options] Override http request option.
5825
- * @throws {RequiredError}
5826
- */
5827
- subProjectGetAccessibleParent(childId, options) {
5828
- return localVarFp.subProjectGetAccessibleParent(childId, options).then((request) => request(axios, basePath));
5829
- },
5830
- };
5831
- };
5832
- /**
5833
- * VisibilityApi - axios parameter creator
5834
- * @export
5835
- */
5836
- const VisibilityApiAxiosParamCreator = function (configuration) {
5837
- return {
5838
- /**
5839
- *
5840
- * @summary Returns all available visibilities
5841
- * @param {*} [options] Override http request option.
5842
- * @throws {RequiredError}
5843
- */
5844
- visibilityIndex: (options = {}) => __awaiter(this, void 0, void 0, function* () {
5845
- const localVarPath = `/Visibility`;
5846
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
5847
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
5848
- let baseOptions;
5849
- if (configuration) {
5850
- baseOptions = configuration.baseOptions;
5851
- }
5852
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
5853
- const localVarHeaderParameter = {};
5854
- const localVarQueryParameter = {};
5855
- // authentication JWT token required
5856
- yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
5857
- setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
5858
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5859
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
5860
- return {
5861
- url: toPathString$6(localVarUrlObj),
5862
- options: localVarRequestOptions,
5863
- };
5864
- }),
5865
- };
5866
- };
5867
- /**
5868
- * VisibilityApi - functional programming interface
5869
- * @export
5870
- */
5871
- const VisibilityApiFp = function (configuration) {
5872
- const localVarAxiosParamCreator = VisibilityApiAxiosParamCreator(configuration);
5873
- return {
5874
- /**
5875
- *
5876
- * @summary Returns all available visibilities
5877
- * @param {*} [options] Override http request option.
5878
- * @throws {RequiredError}
5879
- */
5880
- visibilityIndex(options) {
5881
- return __awaiter(this, void 0, void 0, function* () {
5882
- const localVarAxiosArgs = yield localVarAxiosParamCreator.visibilityIndex(options);
5883
- return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
5884
- });
5885
- },
5886
- };
5887
- };
5888
- /**
5889
- * VisibilityApi - factory interface
5890
- * @export
5891
- */
5892
- const VisibilityApiFactory = function (configuration, basePath, axios) {
5893
- const localVarFp = VisibilityApiFp(configuration);
5894
- return {
5895
- /**
5896
- *
5897
- * @summary Returns all available visibilities
5898
- * @param {*} [options] Override http request option.
5899
- * @throws {RequiredError}
5900
- */
5901
- visibilityIndex(options) {
5902
- return localVarFp.visibilityIndex(options).then((request) => request(axios, basePath));
5903
- },
5904
- };
5905
- };
5906
-
5907
- /* tslint:disable */
5908
- const BASE_PATH$5 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Quota".replace(/\/+$/, "");
5909
- /**
5910
- *
5911
- * @export
5912
- * @class RequiredError
5913
- * @extends {Error}
5914
- */
5915
- class RequiredError$4 extends Error {
5916
- constructor(field, msg) {
5917
- super(msg);
5918
- this.field = field;
5919
- this.name = "RequiredError";
5920
- }
5921
- }
5922
-
5923
- /* tslint:disable */
5924
- /**
5925
- *
5926
- * @export
5927
- */
5928
- const DUMMY_BASE_URL$5 = 'https://example.com';
5929
- /**
5930
- *
5931
- * @throws {RequiredError}
5932
- * @export
5933
- */
5934
- const assertParamExists$4 = function (functionName, paramName, paramValue) {
5935
- if (paramValue === null || paramValue === undefined) {
5936
- throw new RequiredError$4(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
5937
- }
5938
- };
5939
- /**
5940
- *
5941
- * @export
5942
- */
5943
- const setApiKeyToObject$5 = function (object, keyParamName, configuration) {
5944
- return __awaiter(this, void 0, void 0, function* () {
5945
- if (configuration && configuration.apiKey) {
5946
- const localVarApiKeyValue = typeof configuration.apiKey === 'function'
5947
- ? yield configuration.apiKey(keyParamName)
5948
- : yield configuration.apiKey;
5949
- object[keyParamName] = localVarApiKeyValue;
5950
- }
5951
- });
5952
- };
5953
- /**
5954
- *
5955
- * @export
5956
- */
5957
- const setSearchParams$5 = function (url, ...objects) {
5958
- const searchParams = new URLSearchParams(url.search);
5959
- for (const object of objects) {
5960
- for (const key in object) {
5961
- if (Array.isArray(object[key])) {
5962
- searchParams.delete(key);
5963
- for (const item of object[key]) {
5964
- searchParams.append(key, item);
5965
- }
5966
- }
5967
- else {
5968
- searchParams.set(key, object[key]);
5969
- }
5970
- }
5971
- }
5972
- url.search = searchParams.toString();
5973
- };
5974
- /**
5975
- *
5976
- * @export
5977
- */
5978
- const serializeDataIfNeeded$3 = function (value, requestOptions, configuration) {
5979
- const nonString = typeof value !== 'string';
5980
- const needsSerialization = nonString && configuration && configuration.isJsonMime
5981
- ? configuration.isJsonMime(requestOptions.headers['Content-Type'])
5982
- : nonString;
5983
- return needsSerialization
5984
- ? JSON.stringify(value !== undefined ? value : {})
5985
- : (value || "");
5986
- };
5987
- /**
5988
- *
5989
- * @export
5990
- */
5991
- const toPathString$5 = function (url) {
5992
- return url.pathname + url.search + url.hash;
5993
- };
5994
- /**
5995
- *
5996
- * @export
5997
- */
5998
- const createRequestFunction$5 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
5999
- return (axios = globalAxios, basePath = BASE_PATH) => {
6000
- const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
6001
- return axios.request(axiosRequestArgs);
6002
- };
6003
- };
6004
-
6005
- /* tslint:disable */
6006
- /**
6007
- * QuotaApi - axios parameter creator
6008
- * @export
6009
- */
6010
- const QuotaApiAxiosParamCreator = function (configuration) {
6011
- return {
6012
- /**
6013
- *
6014
- * @summary Retrieves the quota for the resource.
6015
- * @param {string} resourceId Id of the resource.
6016
- * @param {*} [options] Override http request option.
6017
- * @throws {RequiredError}
6018
- */
6019
- quotaGetResourceQuota: (resourceId, options = {}) => __awaiter(this, void 0, void 0, function* () {
6020
- // verify required parameter 'resourceId' is not null or undefined
6021
- assertParamExists$4('quotaGetResourceQuota', 'resourceId', resourceId);
6022
- const localVarPath = `/Quota/{resourceId}`
6023
- .replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)));
6024
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
6025
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
6026
- let baseOptions;
6027
- if (configuration) {
6028
- baseOptions = configuration.baseOptions;
6029
- }
6030
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
6031
- const localVarHeaderParameter = {};
6032
- const localVarQueryParameter = {};
6033
- // authentication JWT token required
6034
- yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
6035
- setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
6036
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6037
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6038
- return {
6039
- url: toPathString$5(localVarUrlObj),
6040
- options: localVarRequestOptions,
6041
- };
6042
- }),
5305
+ return localVarFp.roleIndex(options).then((request) => request(axios, basePath));
5306
+ },
5307
+ };
5308
+ };
5309
+ /**
5310
+ * SubProjectApi - axios parameter creator
5311
+ * @export
5312
+ */
5313
+ const SubProjectApiAxiosParamCreator = function (configuration) {
5314
+ return {
6043
5315
  /**
6044
5316
  *
6045
- * @summary Retrieves the quota for the selected project and resource type.
6046
- * @param {string} projectId Id of the project.
6047
- * @param {string} resourceTypeId Id of the resource type.
5317
+ * @summary This method gets the Id of the parent
5318
+ * @param {string} parentId Id of parent
6048
5319
  * @param {*} [options] Override http request option.
6049
5320
  * @throws {RequiredError}
6050
5321
  */
6051
- quotaGetResourceQuotas: (projectId, resourceTypeId, options = {}) => __awaiter(this, void 0, void 0, function* () {
6052
- // verify required parameter 'projectId' is not null or undefined
6053
- assertParamExists$4('quotaGetResourceQuotas', 'projectId', projectId);
6054
- // verify required parameter 'resourceTypeId' is not null or undefined
6055
- assertParamExists$4('quotaGetResourceQuotas', 'resourceTypeId', resourceTypeId);
6056
- const localVarPath = `/Quota/{projectId}/{resourceTypeId}/all`
6057
- .replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)))
6058
- .replace(`{${"resourceTypeId"}}`, encodeURIComponent(String(resourceTypeId)));
5322
+ subProjectGet: (parentId, options = {}) => __awaiter(this, void 0, void 0, function* () {
5323
+ // verify required parameter 'parentId' is not null or undefined
5324
+ assertParamExists$4('subProjectGet', 'parentId', parentId);
5325
+ const localVarPath = `/SubProject/{parentId}`
5326
+ .replace(`{${"parentId"}}`, encodeURIComponent(String(parentId)));
6059
5327
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6060
5328
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
6061
5329
  let baseOptions;
@@ -6077,35 +5345,30 @@ const QuotaApiAxiosParamCreator = function (configuration) {
6077
5345
  }),
6078
5346
  /**
6079
5347
  *
6080
- * @summary Updates the quota for a resource.
6081
- * @param {string} resourceId
6082
- * @param {UpdateResourceObject} updateResourceObject Contains the resource id and the new quota.
5348
+ * @summary This method retrieves the accessible Parent
5349
+ * @param {string} childId Id of the child
6083
5350
  * @param {*} [options] Override http request option.
6084
5351
  * @throws {RequiredError}
6085
5352
  */
6086
- quotaUpdateResourceQuota: (resourceId, updateResourceObject, options = {}) => __awaiter(this, void 0, void 0, function* () {
6087
- // verify required parameter 'resourceId' is not null or undefined
6088
- assertParamExists$4('quotaUpdateResourceQuota', 'resourceId', resourceId);
6089
- // verify required parameter 'updateResourceObject' is not null or undefined
6090
- assertParamExists$4('quotaUpdateResourceQuota', 'updateResourceObject', updateResourceObject);
6091
- const localVarPath = `/Quota/{resourceId}`
6092
- .replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)));
5353
+ subProjectGetAccessibleParent: (childId, options = {}) => __awaiter(this, void 0, void 0, function* () {
5354
+ // verify required parameter 'childId' is not null or undefined
5355
+ assertParamExists$4('subProjectGetAccessibleParent', 'childId', childId);
5356
+ const localVarPath = `/SubProject/{childId}/accessibleParent`
5357
+ .replace(`{${"childId"}}`, encodeURIComponent(String(childId)));
6093
5358
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6094
5359
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
6095
5360
  let baseOptions;
6096
5361
  if (configuration) {
6097
5362
  baseOptions = configuration.baseOptions;
6098
5363
  }
6099
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
5364
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
6100
5365
  const localVarHeaderParameter = {};
6101
5366
  const localVarQueryParameter = {};
6102
5367
  // authentication JWT token required
6103
5368
  yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
6104
- localVarHeaderParameter['Content-Type'] = 'application/json';
6105
5369
  setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
6106
5370
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6107
5371
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6108
- localVarRequestOptions.data = serializeDataIfNeeded$3(updateResourceObject, localVarRequestOptions, configuration);
6109
5372
  return {
6110
5373
  url: toPathString$5(localVarUrlObj),
6111
5374
  options: localVarRequestOptions,
@@ -6114,93 +5377,140 @@ const QuotaApiAxiosParamCreator = function (configuration) {
6114
5377
  };
6115
5378
  };
6116
5379
  /**
6117
- * QuotaApi - functional programming interface
5380
+ * SubProjectApi - functional programming interface
6118
5381
  * @export
6119
5382
  */
6120
- const QuotaApiFp = function (configuration) {
6121
- const localVarAxiosParamCreator = QuotaApiAxiosParamCreator(configuration);
5383
+ const SubProjectApiFp = function (configuration) {
5384
+ const localVarAxiosParamCreator = SubProjectApiAxiosParamCreator(configuration);
6122
5385
  return {
6123
5386
  /**
6124
5387
  *
6125
- * @summary Retrieves the quota for the resource.
6126
- * @param {string} resourceId Id of the resource.
5388
+ * @summary This method gets the Id of the parent
5389
+ * @param {string} parentId Id of parent
6127
5390
  * @param {*} [options] Override http request option.
6128
5391
  * @throws {RequiredError}
6129
5392
  */
6130
- quotaGetResourceQuota(resourceId, options) {
5393
+ subProjectGet(parentId, options) {
6131
5394
  return __awaiter(this, void 0, void 0, function* () {
6132
- const localVarAxiosArgs = yield localVarAxiosParamCreator.quotaGetResourceQuota(resourceId, options);
5395
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.subProjectGet(parentId, options);
6133
5396
  return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
6134
5397
  });
6135
5398
  },
6136
5399
  /**
6137
5400
  *
6138
- * @summary Retrieves the quota for the selected project and resource type.
6139
- * @param {string} projectId Id of the project.
6140
- * @param {string} resourceTypeId Id of the resource type.
5401
+ * @summary This method retrieves the accessible Parent
5402
+ * @param {string} childId Id of the child
6141
5403
  * @param {*} [options] Override http request option.
6142
5404
  * @throws {RequiredError}
6143
5405
  */
6144
- quotaGetResourceQuotas(projectId, resourceTypeId, options) {
5406
+ subProjectGetAccessibleParent(childId, options) {
6145
5407
  return __awaiter(this, void 0, void 0, function* () {
6146
- const localVarAxiosArgs = yield localVarAxiosParamCreator.quotaGetResourceQuotas(projectId, resourceTypeId, options);
5408
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.subProjectGetAccessibleParent(childId, options);
6147
5409
  return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
6148
5410
  });
6149
5411
  },
5412
+ };
5413
+ };
5414
+ /**
5415
+ * SubProjectApi - factory interface
5416
+ * @export
5417
+ */
5418
+ const SubProjectApiFactory = function (configuration, basePath, axios) {
5419
+ const localVarFp = SubProjectApiFp(configuration);
5420
+ return {
6150
5421
  /**
6151
5422
  *
6152
- * @summary Updates the quota for a resource.
6153
- * @param {string} resourceId
6154
- * @param {UpdateResourceObject} updateResourceObject Contains the resource id and the new quota.
5423
+ * @summary This method gets the Id of the parent
5424
+ * @param {string} parentId Id of parent
6155
5425
  * @param {*} [options] Override http request option.
6156
5426
  * @throws {RequiredError}
6157
5427
  */
6158
- quotaUpdateResourceQuota(resourceId, updateResourceObject, options) {
6159
- return __awaiter(this, void 0, void 0, function* () {
6160
- const localVarAxiosArgs = yield localVarAxiosParamCreator.quotaUpdateResourceQuota(resourceId, updateResourceObject, options);
6161
- return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
6162
- });
5428
+ subProjectGet(parentId, options) {
5429
+ return localVarFp.subProjectGet(parentId, options).then((request) => request(axios, basePath));
5430
+ },
5431
+ /**
5432
+ *
5433
+ * @summary This method retrieves the accessible Parent
5434
+ * @param {string} childId Id of the child
5435
+ * @param {*} [options] Override http request option.
5436
+ * @throws {RequiredError}
5437
+ */
5438
+ subProjectGetAccessibleParent(childId, options) {
5439
+ return localVarFp.subProjectGetAccessibleParent(childId, options).then((request) => request(axios, basePath));
6163
5440
  },
6164
5441
  };
6165
5442
  };
6166
5443
  /**
6167
- * QuotaApi - factory interface
5444
+ * VisibilityApi - axios parameter creator
6168
5445
  * @export
6169
5446
  */
6170
- const QuotaApiFactory = function (configuration, basePath, axios) {
6171
- const localVarFp = QuotaApiFp(configuration);
5447
+ const VisibilityApiAxiosParamCreator = function (configuration) {
6172
5448
  return {
6173
5449
  /**
6174
5450
  *
6175
- * @summary Retrieves the quota for the resource.
6176
- * @param {string} resourceId Id of the resource.
5451
+ * @summary Returns all available visibilities
6177
5452
  * @param {*} [options] Override http request option.
6178
5453
  * @throws {RequiredError}
6179
5454
  */
6180
- quotaGetResourceQuota(resourceId, options) {
6181
- return localVarFp.quotaGetResourceQuota(resourceId, options).then((request) => request(axios, basePath));
6182
- },
5455
+ visibilityIndex: (options = {}) => __awaiter(this, void 0, void 0, function* () {
5456
+ const localVarPath = `/Visibility`;
5457
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5458
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
5459
+ let baseOptions;
5460
+ if (configuration) {
5461
+ baseOptions = configuration.baseOptions;
5462
+ }
5463
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
5464
+ const localVarHeaderParameter = {};
5465
+ const localVarQueryParameter = {};
5466
+ // authentication JWT token required
5467
+ yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
5468
+ setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
5469
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5470
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
5471
+ return {
5472
+ url: toPathString$5(localVarUrlObj),
5473
+ options: localVarRequestOptions,
5474
+ };
5475
+ }),
5476
+ };
5477
+ };
5478
+ /**
5479
+ * VisibilityApi - functional programming interface
5480
+ * @export
5481
+ */
5482
+ const VisibilityApiFp = function (configuration) {
5483
+ const localVarAxiosParamCreator = VisibilityApiAxiosParamCreator(configuration);
5484
+ return {
6183
5485
  /**
6184
5486
  *
6185
- * @summary Retrieves the quota for the selected project and resource type.
6186
- * @param {string} projectId Id of the project.
6187
- * @param {string} resourceTypeId Id of the resource type.
5487
+ * @summary Returns all available visibilities
6188
5488
  * @param {*} [options] Override http request option.
6189
5489
  * @throws {RequiredError}
6190
5490
  */
6191
- quotaGetResourceQuotas(projectId, resourceTypeId, options) {
6192
- return localVarFp.quotaGetResourceQuotas(projectId, resourceTypeId, options).then((request) => request(axios, basePath));
5491
+ visibilityIndex(options) {
5492
+ return __awaiter(this, void 0, void 0, function* () {
5493
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.visibilityIndex(options);
5494
+ return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
5495
+ });
6193
5496
  },
5497
+ };
5498
+ };
5499
+ /**
5500
+ * VisibilityApi - factory interface
5501
+ * @export
5502
+ */
5503
+ const VisibilityApiFactory = function (configuration, basePath, axios) {
5504
+ const localVarFp = VisibilityApiFp(configuration);
5505
+ return {
6194
5506
  /**
6195
5507
  *
6196
- * @summary Updates the quota for a resource.
6197
- * @param {string} resourceId
6198
- * @param {UpdateResourceObject} updateResourceObject Contains the resource id and the new quota.
5508
+ * @summary Returns all available visibilities
6199
5509
  * @param {*} [options] Override http request option.
6200
5510
  * @throws {RequiredError}
6201
5511
  */
6202
- quotaUpdateResourceQuota(resourceId, updateResourceObject, options) {
6203
- return localVarFp.quotaUpdateResourceQuota(resourceId, updateResourceObject, options).then((request) => request(axios, basePath));
5512
+ visibilityIndex(options) {
5513
+ return localVarFp.visibilityIndex(options).then((request) => request(axios, basePath));
6204
5514
  },
6205
5515
  };
6206
5516
  };
@@ -6304,6 +5614,20 @@ const createRequestFunction$4 = function (axiosArgs, globalAxios, BASE_PATH, con
6304
5614
  };
6305
5615
 
6306
5616
  /* tslint:disable */
5617
+ /**
5618
+ *
5619
+ * @export
5620
+ * @enum {string}
5621
+ */
5622
+ var QuotaUnit;
5623
+ (function (QuotaUnit) {
5624
+ QuotaUnit["Byte"] = "https://qudt.org/vocab/unit/BYTE";
5625
+ QuotaUnit["KibiByte"] = "https://qudt.org/vocab/unit/KibiBYTE";
5626
+ QuotaUnit["MebiByte"] = "https://qudt.org/vocab/unit/MebiBYTE";
5627
+ QuotaUnit["GibiByte"] = "https://qudt.org/vocab/unit/GibiBYTE";
5628
+ QuotaUnit["TebiByte"] = "https://qudt.org/vocab/unit/TebiBYTE";
5629
+ QuotaUnit["PebiByte"] = "https://qudt.org/vocab/unit/PebiBYTE";
5630
+ })(QuotaUnit || (QuotaUnit = {}));
6307
5631
  /**
6308
5632
  *
6309
5633
  * @export
@@ -6322,7 +5646,7 @@ const ResourceApiAxiosParamCreator = function (configuration) {
6322
5646
  return {
6323
5647
  /**
6324
5648
  *
6325
- * @summary This deletes the specified resource.
5649
+ * @summary Deletes a resource.
6326
5650
  * @param {string} id A GUID as a string that identifies the resource.
6327
5651
  * @param {*} [options] Override http request option.
6328
5652
  * @throws {RequiredError}
@@ -6353,8 +5677,8 @@ const ResourceApiAxiosParamCreator = function (configuration) {
6353
5677
  }),
6354
5678
  /**
6355
5679
  *
6356
- * @summary This returns the resource for the specified id.
6357
- * @param {string} id A GUID as a string that identifies the resource.
5680
+ * @summary Returns the resource with a specified id.
5681
+ * @param {string} id The resource id.
6358
5682
  * @param {*} [options] Override http request option.
6359
5683
  * @throws {RequiredError}
6360
5684
  */
@@ -6384,7 +5708,7 @@ const ResourceApiAxiosParamCreator = function (configuration) {
6384
5708
  }),
6385
5709
  /**
6386
5710
  *
6387
- * @summary This returns a list of all resources the current user has access to.
5711
+ * @summary Returns a list of all resources the current user has access to.
6388
5712
  * @param {*} [options] Override http request option.
6389
5713
  * @throws {RequiredError}
6390
5714
  */
@@ -6411,8 +5735,8 @@ const ResourceApiAxiosParamCreator = function (configuration) {
6411
5735
  }),
6412
5736
  /**
6413
5737
  *
6414
- * @summary This returns if the current user is the creator of the specified resource.
6415
- * @param {string} id A GUID as a string that identifies the resource.
5738
+ * @summary Returns whether or not the current user is creator of a specified resource.
5739
+ * @param {string} id The resource id.
6416
5740
  * @param {*} [options] Override http request option.
6417
5741
  * @throws {RequiredError}
6418
5742
  */
@@ -6442,7 +5766,7 @@ const ResourceApiAxiosParamCreator = function (configuration) {
6442
5766
  }),
6443
5767
  /**
6444
5768
  *
6445
- * @summary This returns the read only status of the given resource.
5769
+ * @summary Sets a read only status of a given resource.
6446
5770
  * @param {string} id A GUID as a string that identifies the resource.
6447
5771
  * @param {boolean} [status] A boolean value that specifies if the resource is archived.
6448
5772
  * @param {*} [options] Override http request option.
@@ -6477,7 +5801,7 @@ const ResourceApiAxiosParamCreator = function (configuration) {
6477
5801
  }),
6478
5802
  /**
6479
5803
  *
6480
- * @summary This stores the provided resource object for the specified project.
5804
+ * @summary Stores the provided resource object in a specified project.
6481
5805
  * @param {string} projectId A GUID as a string that identifies the resource.
6482
5806
  * @param {ResourceObject} resourceObject Entry representing the user
6483
5807
  * @param {*} [options] Override http request option.
@@ -6513,8 +5837,8 @@ const ResourceApiAxiosParamCreator = function (configuration) {
6513
5837
  }),
6514
5838
  /**
6515
5839
  *
6516
- * @summary This returns if the current user is the creator of the specified resource.
6517
- * @param {string} id A GUID as a string that identifies the resource.
5840
+ * @summary Updates a resource.
5841
+ * @param {string} id The resource id.
6518
5842
  * @param {ResourceObject} resourceObject Entry representing the user
6519
5843
  * @param {*} [options] Override http request option.
6520
5844
  * @throws {RequiredError}
@@ -6558,7 +5882,7 @@ const ResourceApiFp = function (configuration) {
6558
5882
  return {
6559
5883
  /**
6560
5884
  *
6561
- * @summary This deletes the specified resource.
5885
+ * @summary Deletes a resource.
6562
5886
  * @param {string} id A GUID as a string that identifies the resource.
6563
5887
  * @param {*} [options] Override http request option.
6564
5888
  * @throws {RequiredError}
@@ -6571,8 +5895,8 @@ const ResourceApiFp = function (configuration) {
6571
5895
  },
6572
5896
  /**
6573
5897
  *
6574
- * @summary This returns the resource for the specified id.
6575
- * @param {string} id A GUID as a string that identifies the resource.
5898
+ * @summary Returns the resource with a specified id.
5899
+ * @param {string} id The resource id.
6576
5900
  * @param {*} [options] Override http request option.
6577
5901
  * @throws {RequiredError}
6578
5902
  */
@@ -6584,7 +5908,7 @@ const ResourceApiFp = function (configuration) {
6584
5908
  },
6585
5909
  /**
6586
5910
  *
6587
- * @summary This returns a list of all resources the current user has access to.
5911
+ * @summary Returns a list of all resources the current user has access to.
6588
5912
  * @param {*} [options] Override http request option.
6589
5913
  * @throws {RequiredError}
6590
5914
  */
@@ -6596,8 +5920,8 @@ const ResourceApiFp = function (configuration) {
6596
5920
  },
6597
5921
  /**
6598
5922
  *
6599
- * @summary This returns if the current user is the creator of the specified resource.
6600
- * @param {string} id A GUID as a string that identifies the resource.
5923
+ * @summary Returns whether or not the current user is creator of a specified resource.
5924
+ * @param {string} id The resource id.
6601
5925
  * @param {*} [options] Override http request option.
6602
5926
  * @throws {RequiredError}
6603
5927
  */
@@ -6609,7 +5933,7 @@ const ResourceApiFp = function (configuration) {
6609
5933
  },
6610
5934
  /**
6611
5935
  *
6612
- * @summary This returns the read only status of the given resource.
5936
+ * @summary Sets a read only status of a given resource.
6613
5937
  * @param {string} id A GUID as a string that identifies the resource.
6614
5938
  * @param {boolean} [status] A boolean value that specifies if the resource is archived.
6615
5939
  * @param {*} [options] Override http request option.
@@ -6623,7 +5947,7 @@ const ResourceApiFp = function (configuration) {
6623
5947
  },
6624
5948
  /**
6625
5949
  *
6626
- * @summary This stores the provided resource object for the specified project.
5950
+ * @summary Stores the provided resource object in a specified project.
6627
5951
  * @param {string} projectId A GUID as a string that identifies the resource.
6628
5952
  * @param {ResourceObject} resourceObject Entry representing the user
6629
5953
  * @param {*} [options] Override http request option.
@@ -6637,8 +5961,8 @@ const ResourceApiFp = function (configuration) {
6637
5961
  },
6638
5962
  /**
6639
5963
  *
6640
- * @summary This returns if the current user is the creator of the specified resource.
6641
- * @param {string} id A GUID as a string that identifies the resource.
5964
+ * @summary Updates a resource.
5965
+ * @param {string} id The resource id.
6642
5966
  * @param {ResourceObject} resourceObject Entry representing the user
6643
5967
  * @param {*} [options] Override http request option.
6644
5968
  * @throws {RequiredError}
@@ -6660,7 +5984,7 @@ const ResourceApiFactory = function (configuration, basePath, axios) {
6660
5984
  return {
6661
5985
  /**
6662
5986
  *
6663
- * @summary This deletes the specified resource.
5987
+ * @summary Deletes a resource.
6664
5988
  * @param {string} id A GUID as a string that identifies the resource.
6665
5989
  * @param {*} [options] Override http request option.
6666
5990
  * @throws {RequiredError}
@@ -6670,8 +5994,8 @@ const ResourceApiFactory = function (configuration, basePath, axios) {
6670
5994
  },
6671
5995
  /**
6672
5996
  *
6673
- * @summary This returns the resource for the specified id.
6674
- * @param {string} id A GUID as a string that identifies the resource.
5997
+ * @summary Returns the resource with a specified id.
5998
+ * @param {string} id The resource id.
6675
5999
  * @param {*} [options] Override http request option.
6676
6000
  * @throws {RequiredError}
6677
6001
  */
@@ -6680,7 +6004,7 @@ const ResourceApiFactory = function (configuration, basePath, axios) {
6680
6004
  },
6681
6005
  /**
6682
6006
  *
6683
- * @summary This returns a list of all resources the current user has access to.
6007
+ * @summary Returns a list of all resources the current user has access to.
6684
6008
  * @param {*} [options] Override http request option.
6685
6009
  * @throws {RequiredError}
6686
6010
  */
@@ -6689,8 +6013,8 @@ const ResourceApiFactory = function (configuration, basePath, axios) {
6689
6013
  },
6690
6014
  /**
6691
6015
  *
6692
- * @summary This returns if the current user is the creator of the specified resource.
6693
- * @param {string} id A GUID as a string that identifies the resource.
6016
+ * @summary Returns whether or not the current user is creator of a specified resource.
6017
+ * @param {string} id The resource id.
6694
6018
  * @param {*} [options] Override http request option.
6695
6019
  * @throws {RequiredError}
6696
6020
  */
@@ -6699,7 +6023,7 @@ const ResourceApiFactory = function (configuration, basePath, axios) {
6699
6023
  },
6700
6024
  /**
6701
6025
  *
6702
- * @summary This returns the read only status of the given resource.
6026
+ * @summary Sets a read only status of a given resource.
6703
6027
  * @param {string} id A GUID as a string that identifies the resource.
6704
6028
  * @param {boolean} [status] A boolean value that specifies if the resource is archived.
6705
6029
  * @param {*} [options] Override http request option.
@@ -6710,7 +6034,7 @@ const ResourceApiFactory = function (configuration, basePath, axios) {
6710
6034
  },
6711
6035
  /**
6712
6036
  *
6713
- * @summary This stores the provided resource object for the specified project.
6037
+ * @summary Stores the provided resource object in a specified project.
6714
6038
  * @param {string} projectId A GUID as a string that identifies the resource.
6715
6039
  * @param {ResourceObject} resourceObject Entry representing the user
6716
6040
  * @param {*} [options] Override http request option.
@@ -6721,8 +6045,8 @@ const ResourceApiFactory = function (configuration, basePath, axios) {
6721
6045
  },
6722
6046
  /**
6723
6047
  *
6724
- * @summary This returns if the current user is the creator of the specified resource.
6725
- * @param {string} id A GUID as a string that identifies the resource.
6048
+ * @summary Updates a resource.
6049
+ * @param {string} id The resource id.
6726
6050
  * @param {ResourceObject} resourceObject Entry representing the user
6727
6051
  * @param {*} [options] Override http request option.
6728
6052
  * @throws {RequiredError}
@@ -6732,6 +6056,147 @@ const ResourceApiFactory = function (configuration, basePath, axios) {
6732
6056
  },
6733
6057
  };
6734
6058
  };
6059
+ /**
6060
+ * ResourceQuotaApi - axios parameter creator
6061
+ * @export
6062
+ */
6063
+ const ResourceQuotaApiAxiosParamCreator = function (configuration) {
6064
+ return {
6065
+ /**
6066
+ *
6067
+ * @summary Retrieves the resource quota for an individual resource.
6068
+ * @param {string} id Id of the resource.
6069
+ * @param {*} [options] Override http request option.
6070
+ * @throws {RequiredError}
6071
+ */
6072
+ resourceQuotaGetResourceQuota: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
6073
+ // verify required parameter 'id' is not null or undefined
6074
+ assertParamExists$3('resourceQuotaGetResourceQuota', 'id', id);
6075
+ const localVarPath = `/ResourceQuota/{id}`
6076
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
6077
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6078
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$4);
6079
+ let baseOptions;
6080
+ if (configuration) {
6081
+ baseOptions = configuration.baseOptions;
6082
+ }
6083
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
6084
+ const localVarHeaderParameter = {};
6085
+ const localVarQueryParameter = {};
6086
+ // authentication JWT token required
6087
+ yield setApiKeyToObject$4(localVarHeaderParameter, "Authorization", configuration);
6088
+ setSearchParams$4(localVarUrlObj, localVarQueryParameter, options.query);
6089
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6090
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6091
+ return {
6092
+ url: toPathString$4(localVarUrlObj),
6093
+ options: localVarRequestOptions,
6094
+ };
6095
+ }),
6096
+ /**
6097
+ *
6098
+ * @summary Updates the resource quota for an individual resource.
6099
+ * @param {string} id Id of the resource.
6100
+ * @param {UpdateResourceObject} updateResourceObject Contains the resource id and the new quota.
6101
+ * @param {*} [options] Override http request option.
6102
+ * @throws {RequiredError}
6103
+ */
6104
+ resourceQuotaUpdateResourceQuota: (id, updateResourceObject, options = {}) => __awaiter(this, void 0, void 0, function* () {
6105
+ // verify required parameter 'id' is not null or undefined
6106
+ assertParamExists$3('resourceQuotaUpdateResourceQuota', 'id', id);
6107
+ // verify required parameter 'updateResourceObject' is not null or undefined
6108
+ assertParamExists$3('resourceQuotaUpdateResourceQuota', 'updateResourceObject', updateResourceObject);
6109
+ const localVarPath = `/ResourceQuota/{id}`
6110
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
6111
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6112
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$4);
6113
+ let baseOptions;
6114
+ if (configuration) {
6115
+ baseOptions = configuration.baseOptions;
6116
+ }
6117
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
6118
+ const localVarHeaderParameter = {};
6119
+ const localVarQueryParameter = {};
6120
+ // authentication JWT token required
6121
+ yield setApiKeyToObject$4(localVarHeaderParameter, "Authorization", configuration);
6122
+ localVarHeaderParameter['Content-Type'] = 'application/json';
6123
+ setSearchParams$4(localVarUrlObj, localVarQueryParameter, options.query);
6124
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6125
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6126
+ localVarRequestOptions.data = serializeDataIfNeeded$2(updateResourceObject, localVarRequestOptions, configuration);
6127
+ return {
6128
+ url: toPathString$4(localVarUrlObj),
6129
+ options: localVarRequestOptions,
6130
+ };
6131
+ }),
6132
+ };
6133
+ };
6134
+ /**
6135
+ * ResourceQuotaApi - functional programming interface
6136
+ * @export
6137
+ */
6138
+ const ResourceQuotaApiFp = function (configuration) {
6139
+ const localVarAxiosParamCreator = ResourceQuotaApiAxiosParamCreator(configuration);
6140
+ return {
6141
+ /**
6142
+ *
6143
+ * @summary Retrieves the resource quota for an individual resource.
6144
+ * @param {string} id Id of the resource.
6145
+ * @param {*} [options] Override http request option.
6146
+ * @throws {RequiredError}
6147
+ */
6148
+ resourceQuotaGetResourceQuota(id, options) {
6149
+ return __awaiter(this, void 0, void 0, function* () {
6150
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceQuotaGetResourceQuota(id, options);
6151
+ return createRequestFunction$4(localVarAxiosArgs, axios, BASE_PATH$4, configuration);
6152
+ });
6153
+ },
6154
+ /**
6155
+ *
6156
+ * @summary Updates the resource quota for an individual resource.
6157
+ * @param {string} id Id of the resource.
6158
+ * @param {UpdateResourceObject} updateResourceObject Contains the resource id and the new quota.
6159
+ * @param {*} [options] Override http request option.
6160
+ * @throws {RequiredError}
6161
+ */
6162
+ resourceQuotaUpdateResourceQuota(id, updateResourceObject, options) {
6163
+ return __awaiter(this, void 0, void 0, function* () {
6164
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceQuotaUpdateResourceQuota(id, updateResourceObject, options);
6165
+ return createRequestFunction$4(localVarAxiosArgs, axios, BASE_PATH$4, configuration);
6166
+ });
6167
+ },
6168
+ };
6169
+ };
6170
+ /**
6171
+ * ResourceQuotaApi - factory interface
6172
+ * @export
6173
+ */
6174
+ const ResourceQuotaApiFactory = function (configuration, basePath, axios) {
6175
+ const localVarFp = ResourceQuotaApiFp(configuration);
6176
+ return {
6177
+ /**
6178
+ *
6179
+ * @summary Retrieves the resource quota for an individual resource.
6180
+ * @param {string} id Id of the resource.
6181
+ * @param {*} [options] Override http request option.
6182
+ * @throws {RequiredError}
6183
+ */
6184
+ resourceQuotaGetResourceQuota(id, options) {
6185
+ return localVarFp.resourceQuotaGetResourceQuota(id, options).then((request) => request(axios, basePath));
6186
+ },
6187
+ /**
6188
+ *
6189
+ * @summary Updates the resource quota for an individual resource.
6190
+ * @param {string} id Id of the resource.
6191
+ * @param {UpdateResourceObject} updateResourceObject Contains the resource id and the new quota.
6192
+ * @param {*} [options] Override http request option.
6193
+ * @throws {RequiredError}
6194
+ */
6195
+ resourceQuotaUpdateResourceQuota(id, updateResourceObject, options) {
6196
+ return localVarFp.resourceQuotaUpdateResourceQuota(id, updateResourceObject, options).then((request) => request(axios, basePath));
6197
+ },
6198
+ };
6199
+ };
6735
6200
  /**
6736
6201
  * ResourceTypeApi - axios parameter creator
6737
6202
  * @export
@@ -6910,7 +6375,7 @@ const ResourceTypeApiFactory = function (configuration, basePath, axios) {
6910
6375
  };
6911
6376
 
6912
6377
  /* tslint:disable */
6913
- const BASE_PATH$3 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Search".replace(/\/+$/, "");
6378
+ const BASE_PATH$3 = "https://d-sp23.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Search".replace(/\/+$/, "");
6914
6379
 
6915
6380
  /* tslint:disable */
6916
6381
  /**
@@ -6973,14 +6438,25 @@ const createRequestFunction$3 = function (axiosArgs, globalAxios, BASE_PATH, con
6973
6438
 
6974
6439
  /* tslint:disable */
6975
6440
  /**
6976
- * SemanticSearchApi - axios parameter creator
6441
+ *
6442
+ * @export
6443
+ * @enum {string}
6444
+ */
6445
+ var ItemType;
6446
+ (function (ItemType) {
6447
+ ItemType["Metadata"] = "Metadata";
6448
+ ItemType["Project"] = "Project";
6449
+ ItemType["Resource"] = "Resource";
6450
+ })(ItemType || (ItemType = {}));
6451
+ /**
6452
+ * SearchApi - axios parameter creator
6977
6453
  * @export
6978
6454
  */
6979
- const SemanticSearchApiAxiosParamCreator = function (configuration) {
6455
+ const SearchApiAxiosParamCreator = function (configuration) {
6980
6456
  return {
6981
6457
  /**
6982
6458
  *
6983
- * @summary Search with SemanticSearch;
6459
+ * @summary Search
6984
6460
  * @param {string} [query] Elasticsearch query
6985
6461
  * @param {boolean} [user] Specify user or only public metadata records could be found
6986
6462
  * @param {boolean} [adv] Set true for advanced Elasticsearch search syntax
@@ -6988,8 +6464,8 @@ const SemanticSearchApiAxiosParamCreator = function (configuration) {
6988
6464
  * @param {*} [options] Override http request option.
6989
6465
  * @throws {RequiredError}
6990
6466
  */
6991
- semanticSearchSearch: (query, user, adv, languages, options = {}) => __awaiter(this, void 0, void 0, function* () {
6992
- const localVarPath = `/SemanticSearch`;
6467
+ searchSearch: (query, user, adv, languages, options = {}) => __awaiter(this, void 0, void 0, function* () {
6468
+ const localVarPath = `/Search`;
6993
6469
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6994
6470
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$3);
6995
6471
  let baseOptions;
@@ -7024,15 +6500,15 @@ const SemanticSearchApiAxiosParamCreator = function (configuration) {
7024
6500
  };
7025
6501
  };
7026
6502
  /**
7027
- * SemanticSearchApi - functional programming interface
6503
+ * SearchApi - functional programming interface
7028
6504
  * @export
7029
6505
  */
7030
- const SemanticSearchApiFp = function (configuration) {
7031
- const localVarAxiosParamCreator = SemanticSearchApiAxiosParamCreator(configuration);
6506
+ const SearchApiFp = function (configuration) {
6507
+ const localVarAxiosParamCreator = SearchApiAxiosParamCreator(configuration);
7032
6508
  return {
7033
6509
  /**
7034
6510
  *
7035
- * @summary Search with SemanticSearch;
6511
+ * @summary Search
7036
6512
  * @param {string} [query] Elasticsearch query
7037
6513
  * @param {boolean} [user] Specify user or only public metadata records could be found
7038
6514
  * @param {boolean} [adv] Set true for advanced Elasticsearch search syntax
@@ -7040,24 +6516,24 @@ const SemanticSearchApiFp = function (configuration) {
7040
6516
  * @param {*} [options] Override http request option.
7041
6517
  * @throws {RequiredError}
7042
6518
  */
7043
- semanticSearchSearch(query, user, adv, languages, options) {
6519
+ searchSearch(query, user, adv, languages, options) {
7044
6520
  return __awaiter(this, void 0, void 0, function* () {
7045
- const localVarAxiosArgs = yield localVarAxiosParamCreator.semanticSearchSearch(query, user, adv, languages, options);
6521
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.searchSearch(query, user, adv, languages, options);
7046
6522
  return createRequestFunction$3(localVarAxiosArgs, axios, BASE_PATH$3, configuration);
7047
6523
  });
7048
6524
  },
7049
6525
  };
7050
6526
  };
7051
6527
  /**
7052
- * SemanticSearchApi - factory interface
6528
+ * SearchApi - factory interface
7053
6529
  * @export
7054
6530
  */
7055
- const SemanticSearchApiFactory = function (configuration, basePath, axios) {
7056
- const localVarFp = SemanticSearchApiFp(configuration);
6531
+ const SearchApiFactory = function (configuration, basePath, axios) {
6532
+ const localVarFp = SearchApiFp(configuration);
7057
6533
  return {
7058
6534
  /**
7059
6535
  *
7060
- * @summary Search with SemanticSearch;
6536
+ * @summary Search
7061
6537
  * @param {string} [query] Elasticsearch query
7062
6538
  * @param {boolean} [user] Specify user or only public metadata records could be found
7063
6539
  * @param {boolean} [adv] Set true for advanced Elasticsearch search syntax
@@ -7065,8 +6541,8 @@ const SemanticSearchApiFactory = function (configuration, basePath, axios) {
7065
6541
  * @param {*} [options] Override http request option.
7066
6542
  * @throws {RequiredError}
7067
6543
  */
7068
- semanticSearchSearch(query, user, adv, languages, options) {
7069
- return localVarFp.semanticSearchSearch(query, user, adv, languages, options).then((request) => request(axios, basePath));
6544
+ searchSearch(query, user, adv, languages, options) {
6545
+ return localVarFp.searchSearch(query, user, adv, languages, options).then((request) => request(axios, basePath));
7070
6546
  },
7071
6547
  };
7072
6548
  };
@@ -7457,7 +6933,7 @@ const TokenApiFactory = function (configuration, basePath, axios) {
7457
6933
  };
7458
6934
 
7459
6935
  /* tslint:disable */
7460
- const BASE_PATH$1 = "https://d-sp23.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Tree".replace(/\/+$/, "");
6936
+ const BASE_PATH$1 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Tree".replace(/\/+$/, "");
7461
6937
  /**
7462
6938
  *
7463
6939
  * @export
@@ -8520,7 +7996,6 @@ const getHostName = () => {
8520
7996
  };
8521
7997
  function implementations(axios) {
8522
7998
  return {
8523
- ActivatedFeaturesApi: ActivatedFeaturesApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.ActivatedFeatures', axios),
8524
7999
  AdminApi: AdminApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Admin', axios),
8525
8000
  BlobApi: BlobApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Blob', axios),
8526
8001
  ContactChangeApi: ContactChangeApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.User', axios),
@@ -8530,14 +8005,15 @@ function implementations(axios) {
8530
8005
  MetadataApi: MetadataApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Metadata', axios),
8531
8006
  NoticeApi: NoticeApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Notices', axios),
8532
8007
  OrganizationApi: OrganizationApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Organization', axios),
8008
+ PidApi: PidApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Pid', axios),
8533
8009
  ProjectApi: ProjectApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios),
8010
+ ProjectQuotaApi: ProjectQuotaApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios),
8534
8011
  ProjectRoleApi: ProjectRoleApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios),
8535
- QuotaApi: QuotaApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Quota', axios),
8536
8012
  ResourceApi: ResourceApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Resources', axios),
8013
+ ResourceQuotaApi: ResourceQuotaApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Resources', axios),
8537
8014
  ResourceTypeApi: ResourceTypeApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Resources', axios),
8538
8015
  RoleApi: RoleApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios),
8539
- SearchApi: SearchApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios),
8540
- SemanticSearchApi: SemanticSearchApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Search', axios),
8016
+ SearchApi: SearchApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Search', axios),
8541
8017
  SubProjectApi: SubProjectApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios),
8542
8018
  TitleApi: TitleApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.User', axios),
8543
8019
  TokenApi: TokenApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Token', axios),
@@ -8587,7 +8063,6 @@ instance.interceptors.response.use((response) => {
8587
8063
  });
8588
8064
 
8589
8065
  const apis = implementations(instance);
8590
- const ActivatedFeaturesApi = apis.ActivatedFeaturesApi;
8591
8066
  const AdminApi = apis.AdminApi;
8592
8067
  const BlobApi = apis.BlobApi;
8593
8068
  const ContactChangeApi = apis.ContactChangeApi;
@@ -8597,14 +8072,15 @@ const LicenseApi = apis.LicenseApi;
8597
8072
  const MetadataApi = apis.MetadataApi;
8598
8073
  const NoticeApi = apis.NoticeApi;
8599
8074
  const OrganizationApi = apis.OrganizationApi;
8075
+ const PidApi = apis.PidApi;
8600
8076
  const ProjectApi = apis.ProjectApi;
8077
+ const ProjectQuotaApi = apis.ProjectQuotaApi;
8601
8078
  const ProjectRoleApi = apis.ProjectRoleApi;
8602
- const QuotaApi = apis.QuotaApi;
8603
8079
  const ResourceApi = apis.ResourceApi;
8080
+ const ResourceQuotaApi = apis.ResourceQuotaApi;
8604
8081
  const ResourceTypeApi = apis.ResourceTypeApi;
8605
8082
  const RoleApi = apis.RoleApi;
8606
8083
  const SearchApi = apis.SearchApi;
8607
- const SemanticSearchApi = apis.SemanticSearchApi;
8608
8084
  const SubProjectApi = apis.SubProjectApi;
8609
8085
  const TitleApi = apis.TitleApi;
8610
8086
  const TokenApi = apis.TokenApi;
@@ -8613,5 +8089,5 @@ const TreeApi = apis.TreeApi;
8613
8089
  const UserApi = apis.UserApi;
8614
8090
  const VisibilityApi = apis.VisibilityApi;
8615
8091
 
8616
- export { ActivatedFeaturesApi, AdminApi, BlobApi, ContactChangeApi, DisciplineApi, LanguageApi, LicenseApi, MetadataApi, NoticeApi, OrganizationApi, ProjectApi, ProjectRoleApi, QuotaApi, ResourceApi, ResourceTypeApi, RoleApi, SearchApi, SemanticSearchApi, SubProjectApi, TOSApi, TitleApi, TokenApi, TreeApi, UserApi, VisibilityApi, apis as default };
8092
+ export { AdminApi, BlobApi, ContactChangeApi, DisciplineApi, LanguageApi, LicenseApi, MetadataApi, NoticeApi, OrganizationApi, PidApi, ProjectApi, ProjectQuotaApi, ProjectRoleApi, ResourceApi, ResourceQuotaApi, ResourceTypeApi, RoleApi, SearchApi, SubProjectApi, TOSApi, TitleApi, TokenApi, TreeApi, UserApi, VisibilityApi, apis as default };
8617
8093
  //# sourceMappingURL=index.js.map