@coscine/api-client 2.4.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 (37) hide show
  1. package/dist/index.js +403 -155
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.umd.js +403 -154
  4. package/dist/index.umd.js.map +1 -1
  5. package/dist/lib/Coscine.Api.Pid/api.js +204 -0
  6. package/dist/lib/Coscine.Api.Pid/api.js.map +1 -0
  7. package/dist/lib/Coscine.Api.Pid/base.js +65 -0
  8. package/dist/lib/Coscine.Api.Pid/base.js.map +1 -0
  9. package/dist/lib/Coscine.Api.Pid/common.js +153 -0
  10. package/dist/lib/Coscine.Api.Pid/common.js.map +1 -0
  11. package/dist/lib/Coscine.Api.Pid/configuration.js +43 -0
  12. package/dist/lib/Coscine.Api.Pid/configuration.js.map +1 -0
  13. package/dist/lib/Coscine.Api.Pid/index.js +28 -0
  14. package/dist/lib/Coscine.Api.Pid/index.js.map +1 -0
  15. package/dist/lib/Coscine.Api.Search/api.js +13 -2
  16. package/dist/lib/Coscine.Api.Search/api.js.map +1 -1
  17. package/dist/lib/Coscine.Api.Search/base.js +2 -2
  18. package/dist/lib/Coscine.Api.Search/common.js +1 -1
  19. package/dist/lib/Coscine.Api.Search/configuration.js +1 -1
  20. package/dist/lib/Coscine.Api.Search/index.js +1 -1
  21. package/dist/lib/apis.js +27 -25
  22. package/dist/lib/apis.js.map +1 -1
  23. package/dist/lib/index.js +2 -1
  24. package/dist/lib/index.js.map +1 -1
  25. package/dist/types/Coscine.Api.Pid/api.d.ts +149 -0
  26. package/dist/types/Coscine.Api.Pid/base.d.ts +55 -0
  27. package/dist/types/Coscine.Api.Pid/common.d.ts +65 -0
  28. package/dist/types/Coscine.Api.Pid/configuration.d.ts +83 -0
  29. package/dist/types/Coscine.Api.Pid/index.d.ts +13 -0
  30. package/dist/types/Coscine.Api.Search/api.d.ts +17 -448
  31. package/dist/types/Coscine.Api.Search/base.d.ts +1 -1
  32. package/dist/types/Coscine.Api.Search/common.d.ts +1 -1
  33. package/dist/types/Coscine.Api.Search/configuration.d.ts +1 -1
  34. package/dist/types/Coscine.Api.Search/index.d.ts +1 -1
  35. package/dist/types/apis.d.ts +4 -0
  36. package/dist/types/index.d.ts +8 -0
  37. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -1849,14 +1849,14 @@ axios$2.exports.default = axios$1;
1849
1849
  var axios = axios$2.exports;
1850
1850
 
1851
1851
  /* tslint:disable */
1852
- const BASE_PATH$a = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Admin".replace(/\/+$/, "");
1852
+ const BASE_PATH$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$9 extends Error {
1859
+ class RequiredError$a extends Error {
1860
1860
  constructor(field, msg) {
1861
1861
  super(msg);
1862
1862
  this.field = field;
@@ -1869,22 +1869,22 @@ class RequiredError$9 extends Error {
1869
1869
  *
1870
1870
  * @export
1871
1871
  */
1872
- const DUMMY_BASE_URL$a = 'https://example.com';
1872
+ const DUMMY_BASE_URL$b = 'https://example.com';
1873
1873
  /**
1874
1874
  *
1875
1875
  * @throws {RequiredError}
1876
1876
  * @export
1877
1877
  */
1878
- const assertParamExists$9 = function (functionName, paramName, paramValue) {
1878
+ const assertParamExists$a = function (functionName, paramName, paramValue) {
1879
1879
  if (paramValue === null || paramValue === undefined) {
1880
- throw new RequiredError$9(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
1880
+ throw new RequiredError$a(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
1881
1881
  }
1882
1882
  };
1883
1883
  /**
1884
1884
  *
1885
1885
  * @export
1886
1886
  */
1887
- const setApiKeyToObject$a = function (object, keyParamName, configuration) {
1887
+ const setApiKeyToObject$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$a = function (object, keyParamName, configuration) {
1898
1898
  *
1899
1899
  * @export
1900
1900
  */
1901
- const setSearchParams$a = 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,7 +1919,7 @@ const setSearchParams$a = function (url, ...objects) {
1919
1919
  *
1920
1920
  * @export
1921
1921
  */
1922
- const serializeDataIfNeeded$5 = function (value, requestOptions, configuration) {
1922
+ const serializeDataIfNeeded$6 = function (value, requestOptions, configuration) {
1923
1923
  const nonString = typeof value !== 'string';
1924
1924
  const needsSerialization = nonString && configuration && configuration.isJsonMime
1925
1925
  ? configuration.isJsonMime(requestOptions.headers['Content-Type'])
@@ -1932,14 +1932,14 @@ const serializeDataIfNeeded$5 = function (value, requestOptions, configuration)
1932
1932
  *
1933
1933
  * @export
1934
1934
  */
1935
- const toPathString$a = function (url) {
1935
+ const toPathString$b = function (url) {
1936
1936
  return url.pathname + url.search + url.hash;
1937
1937
  };
1938
1938
  /**
1939
1939
  *
1940
1940
  * @export
1941
1941
  */
1942
- const createRequestFunction$a = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
1942
+ const createRequestFunction$b = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
1943
1943
  return (axios = globalAxios, basePath = BASE_PATH) => {
1944
1944
  const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
1945
1945
  return axios.request(axiosRequestArgs);
@@ -1976,11 +1976,11 @@ const AdminApiAxiosParamCreator = function (configuration) {
1976
1976
  */
1977
1977
  adminGetProject: (projectString, options = {}) => __awaiter(this, void 0, void 0, function* () {
1978
1978
  // verify required parameter 'projectString' is not null or undefined
1979
- assertParamExists$9('adminGetProject', 'projectString', projectString);
1979
+ assertParamExists$a('adminGetProject', 'projectString', projectString);
1980
1980
  const localVarPath = `/Admin/{projectString}`
1981
1981
  .replace(`{${"projectString"}}`, encodeURIComponent(String(projectString)));
1982
1982
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1983
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$a);
1983
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$b);
1984
1984
  let baseOptions;
1985
1985
  if (configuration) {
1986
1986
  baseOptions = configuration.baseOptions;
@@ -1989,12 +1989,12 @@ const AdminApiAxiosParamCreator = function (configuration) {
1989
1989
  const localVarHeaderParameter = {};
1990
1990
  const localVarQueryParameter = {};
1991
1991
  // authentication JWT token required
1992
- yield setApiKeyToObject$a(localVarHeaderParameter, "Authorization", configuration);
1993
- setSearchParams$a(localVarUrlObj, localVarQueryParameter, options.query);
1992
+ yield setApiKeyToObject$b(localVarHeaderParameter, "Authorization", configuration);
1993
+ setSearchParams$b(localVarUrlObj, localVarQueryParameter, options.query);
1994
1994
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1995
1995
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1996
1996
  return {
1997
- url: toPathString$a(localVarUrlObj),
1997
+ url: toPathString$b(localVarUrlObj),
1998
1998
  options: localVarRequestOptions,
1999
1999
  };
2000
2000
  }),
@@ -2009,16 +2009,16 @@ const AdminApiAxiosParamCreator = function (configuration) {
2009
2009
  */
2010
2010
  adminUpdateQuota: (projectId, resourceTypeId, updateQuotaParameterObject, options = {}) => __awaiter(this, void 0, void 0, function* () {
2011
2011
  // verify required parameter 'projectId' is not null or undefined
2012
- assertParamExists$9('adminUpdateQuota', 'projectId', projectId);
2012
+ assertParamExists$a('adminUpdateQuota', 'projectId', projectId);
2013
2013
  // verify required parameter 'resourceTypeId' is not null or undefined
2014
- assertParamExists$9('adminUpdateQuota', 'resourceTypeId', resourceTypeId);
2014
+ assertParamExists$a('adminUpdateQuota', 'resourceTypeId', resourceTypeId);
2015
2015
  // verify required parameter 'updateQuotaParameterObject' is not null or undefined
2016
- assertParamExists$9('adminUpdateQuota', 'updateQuotaParameterObject', updateQuotaParameterObject);
2016
+ assertParamExists$a('adminUpdateQuota', 'updateQuotaParameterObject', updateQuotaParameterObject);
2017
2017
  const localVarPath = `/Admin/{projectId}/{resourceTypeId}`
2018
2018
  .replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)))
2019
2019
  .replace(`{${"resourceTypeId"}}`, encodeURIComponent(String(resourceTypeId)));
2020
2020
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2021
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$a);
2021
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$b);
2022
2022
  let baseOptions;
2023
2023
  if (configuration) {
2024
2024
  baseOptions = configuration.baseOptions;
@@ -2027,14 +2027,14 @@ const AdminApiAxiosParamCreator = function (configuration) {
2027
2027
  const localVarHeaderParameter = {};
2028
2028
  const localVarQueryParameter = {};
2029
2029
  // authentication JWT token required
2030
- yield setApiKeyToObject$a(localVarHeaderParameter, "Authorization", configuration);
2030
+ yield setApiKeyToObject$b(localVarHeaderParameter, "Authorization", configuration);
2031
2031
  localVarHeaderParameter['Content-Type'] = 'application/json';
2032
- setSearchParams$a(localVarUrlObj, localVarQueryParameter, options.query);
2032
+ setSearchParams$b(localVarUrlObj, localVarQueryParameter, options.query);
2033
2033
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2034
2034
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2035
- localVarRequestOptions.data = serializeDataIfNeeded$5(updateQuotaParameterObject, localVarRequestOptions, configuration);
2035
+ localVarRequestOptions.data = serializeDataIfNeeded$6(updateQuotaParameterObject, localVarRequestOptions, configuration);
2036
2036
  return {
2037
- url: toPathString$a(localVarUrlObj),
2037
+ url: toPathString$b(localVarUrlObj),
2038
2038
  options: localVarRequestOptions,
2039
2039
  };
2040
2040
  }),
@@ -2057,7 +2057,7 @@ const AdminApiFp = function (configuration) {
2057
2057
  adminGetProject(projectString, options) {
2058
2058
  return __awaiter(this, void 0, void 0, function* () {
2059
2059
  const localVarAxiosArgs = yield localVarAxiosParamCreator.adminGetProject(projectString, options);
2060
- return createRequestFunction$a(localVarAxiosArgs, axios, BASE_PATH$a, configuration);
2060
+ return createRequestFunction$b(localVarAxiosArgs, axios, BASE_PATH$b, configuration);
2061
2061
  });
2062
2062
  },
2063
2063
  /**
@@ -2072,7 +2072,7 @@ const AdminApiFp = function (configuration) {
2072
2072
  adminUpdateQuota(projectId, resourceTypeId, updateQuotaParameterObject, options) {
2073
2073
  return __awaiter(this, void 0, void 0, function* () {
2074
2074
  const localVarAxiosArgs = yield localVarAxiosParamCreator.adminUpdateQuota(projectId, resourceTypeId, updateQuotaParameterObject, options);
2075
- return createRequestFunction$a(localVarAxiosArgs, axios, BASE_PATH$a, configuration);
2075
+ return createRequestFunction$b(localVarAxiosArgs, axios, BASE_PATH$b, configuration);
2076
2076
  });
2077
2077
  },
2078
2078
  };
@@ -2149,14 +2149,14 @@ class Configuration {
2149
2149
  }
2150
2150
 
2151
2151
  /* tslint:disable */
2152
- const BASE_PATH$9 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Blob".replace(/\/+$/, "");
2152
+ const BASE_PATH$a = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Blob".replace(/\/+$/, "");
2153
2153
  /**
2154
2154
  *
2155
2155
  * @export
2156
2156
  * @class RequiredError
2157
2157
  * @extends {Error}
2158
2158
  */
2159
- class RequiredError$8 extends Error {
2159
+ class RequiredError$9 extends Error {
2160
2160
  constructor(field, msg) {
2161
2161
  super(msg);
2162
2162
  this.field = field;
@@ -2169,22 +2169,22 @@ class RequiredError$8 extends Error {
2169
2169
  *
2170
2170
  * @export
2171
2171
  */
2172
- const DUMMY_BASE_URL$9 = 'https://example.com';
2172
+ const DUMMY_BASE_URL$a = 'https://example.com';
2173
2173
  /**
2174
2174
  *
2175
2175
  * @throws {RequiredError}
2176
2176
  * @export
2177
2177
  */
2178
- const assertParamExists$8 = function (functionName, paramName, paramValue) {
2178
+ const assertParamExists$9 = function (functionName, paramName, paramValue) {
2179
2179
  if (paramValue === null || paramValue === undefined) {
2180
- throw new RequiredError$8(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
2180
+ throw new RequiredError$9(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
2181
2181
  }
2182
2182
  };
2183
2183
  /**
2184
2184
  *
2185
2185
  * @export
2186
2186
  */
2187
- const setApiKeyToObject$9 = function (object, keyParamName, configuration) {
2187
+ const setApiKeyToObject$a = function (object, keyParamName, configuration) {
2188
2188
  return __awaiter(this, void 0, void 0, function* () {
2189
2189
  if (configuration && configuration.apiKey) {
2190
2190
  const localVarApiKeyValue = typeof configuration.apiKey === 'function'
@@ -2198,7 +2198,7 @@ const setApiKeyToObject$9 = function (object, keyParamName, configuration) {
2198
2198
  *
2199
2199
  * @export
2200
2200
  */
2201
- const setSearchParams$9 = function (url, ...objects) {
2201
+ const setSearchParams$a = function (url, ...objects) {
2202
2202
  const searchParams = new URLSearchParams(url.search);
2203
2203
  for (const object of objects) {
2204
2204
  for (const key in object) {
@@ -2219,14 +2219,14 @@ const setSearchParams$9 = function (url, ...objects) {
2219
2219
  *
2220
2220
  * @export
2221
2221
  */
2222
- const toPathString$9 = function (url) {
2222
+ const toPathString$a = function (url) {
2223
2223
  return url.pathname + url.search + url.hash;
2224
2224
  };
2225
2225
  /**
2226
2226
  *
2227
2227
  * @export
2228
2228
  */
2229
- const createRequestFunction$9 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
2229
+ const createRequestFunction$a = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
2230
2230
  return (axios = globalAxios, basePath = BASE_PATH) => {
2231
2231
  const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
2232
2232
  return axios.request(axiosRequestArgs);
@@ -2250,11 +2250,11 @@ const BlobApiAxiosParamCreator = function (configuration) {
2250
2250
  */
2251
2251
  blobDeleteFileWithParameter: (resourceId, path, options = {}) => __awaiter(this, void 0, void 0, function* () {
2252
2252
  // verify required parameter 'resourceId' is not null or undefined
2253
- assertParamExists$8('blobDeleteFileWithParameter', 'resourceId', resourceId);
2253
+ assertParamExists$9('blobDeleteFileWithParameter', 'resourceId', resourceId);
2254
2254
  const localVarPath = `/Blob/{resourceId}`
2255
2255
  .replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)));
2256
2256
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2257
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$9);
2257
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$a);
2258
2258
  let baseOptions;
2259
2259
  if (configuration) {
2260
2260
  baseOptions = configuration.baseOptions;
@@ -2263,15 +2263,15 @@ const BlobApiAxiosParamCreator = function (configuration) {
2263
2263
  const localVarHeaderParameter = {};
2264
2264
  const localVarQueryParameter = {};
2265
2265
  // authentication JWT token required
2266
- yield setApiKeyToObject$9(localVarHeaderParameter, "Authorization", configuration);
2266
+ yield setApiKeyToObject$a(localVarHeaderParameter, "Authorization", configuration);
2267
2267
  if (path !== undefined) {
2268
2268
  localVarQueryParameter['path'] = path;
2269
2269
  }
2270
- setSearchParams$9(localVarUrlObj, localVarQueryParameter, options.query);
2270
+ setSearchParams$a(localVarUrlObj, localVarQueryParameter, options.query);
2271
2271
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2272
2272
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2273
2273
  return {
2274
- url: toPathString$9(localVarUrlObj),
2274
+ url: toPathString$a(localVarUrlObj),
2275
2275
  options: localVarRequestOptions,
2276
2276
  };
2277
2277
  }),
@@ -2285,11 +2285,11 @@ const BlobApiAxiosParamCreator = function (configuration) {
2285
2285
  */
2286
2286
  blobGetFileWithParameter: (resourceId, path, options = {}) => __awaiter(this, void 0, void 0, function* () {
2287
2287
  // verify required parameter 'resourceId' is not null or undefined
2288
- assertParamExists$8('blobGetFileWithParameter', 'resourceId', resourceId);
2288
+ assertParamExists$9('blobGetFileWithParameter', 'resourceId', resourceId);
2289
2289
  const localVarPath = `/Blob/{resourceId}`
2290
2290
  .replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)));
2291
2291
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2292
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$9);
2292
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$a);
2293
2293
  let baseOptions;
2294
2294
  if (configuration) {
2295
2295
  baseOptions = configuration.baseOptions;
@@ -2298,15 +2298,15 @@ const BlobApiAxiosParamCreator = function (configuration) {
2298
2298
  const localVarHeaderParameter = {};
2299
2299
  const localVarQueryParameter = {};
2300
2300
  // authentication JWT token required
2301
- yield setApiKeyToObject$9(localVarHeaderParameter, "Authorization", configuration);
2301
+ yield setApiKeyToObject$a(localVarHeaderParameter, "Authorization", configuration);
2302
2302
  if (path !== undefined) {
2303
2303
  localVarQueryParameter['path'] = path;
2304
2304
  }
2305
- setSearchParams$9(localVarUrlObj, localVarQueryParameter, options.query);
2305
+ setSearchParams$a(localVarUrlObj, localVarQueryParameter, options.query);
2306
2306
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2307
2307
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2308
2308
  return {
2309
- url: toPathString$9(localVarUrlObj),
2309
+ url: toPathString$a(localVarUrlObj),
2310
2310
  options: localVarRequestOptions,
2311
2311
  };
2312
2312
  }),
@@ -2321,11 +2321,11 @@ const BlobApiAxiosParamCreator = function (configuration) {
2321
2321
  */
2322
2322
  blobUploadFileWithParameter: (resourceId, path, files, options = {}) => __awaiter(this, void 0, void 0, function* () {
2323
2323
  // verify required parameter 'resourceId' is not null or undefined
2324
- assertParamExists$8('blobUploadFileWithParameter', 'resourceId', resourceId);
2324
+ assertParamExists$9('blobUploadFileWithParameter', 'resourceId', resourceId);
2325
2325
  const localVarPath = `/Blob/{resourceId}`
2326
2326
  .replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)));
2327
2327
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2328
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$9);
2328
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$a);
2329
2329
  let baseOptions;
2330
2330
  if (configuration) {
2331
2331
  baseOptions = configuration.baseOptions;
@@ -2335,7 +2335,7 @@ const BlobApiAxiosParamCreator = function (configuration) {
2335
2335
  const localVarQueryParameter = {};
2336
2336
  const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
2337
2337
  // authentication JWT token required
2338
- yield setApiKeyToObject$9(localVarHeaderParameter, "Authorization", configuration);
2338
+ yield setApiKeyToObject$a(localVarHeaderParameter, "Authorization", configuration);
2339
2339
  if (path !== undefined) {
2340
2340
  localVarQueryParameter['path'] = path;
2341
2341
  }
@@ -2345,12 +2345,12 @@ const BlobApiAxiosParamCreator = function (configuration) {
2345
2345
  });
2346
2346
  }
2347
2347
  localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
2348
- setSearchParams$9(localVarUrlObj, localVarQueryParameter, options.query);
2348
+ setSearchParams$a(localVarUrlObj, localVarQueryParameter, options.query);
2349
2349
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2350
2350
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2351
2351
  localVarRequestOptions.data = localVarFormParams;
2352
2352
  return {
2353
- url: toPathString$9(localVarUrlObj),
2353
+ url: toPathString$a(localVarUrlObj),
2354
2354
  options: localVarRequestOptions,
2355
2355
  };
2356
2356
  }),
@@ -2374,7 +2374,7 @@ const BlobApiFp = function (configuration) {
2374
2374
  blobDeleteFileWithParameter(resourceId, path, options) {
2375
2375
  return __awaiter(this, void 0, void 0, function* () {
2376
2376
  const localVarAxiosArgs = yield localVarAxiosParamCreator.blobDeleteFileWithParameter(resourceId, path, options);
2377
- return createRequestFunction$9(localVarAxiosArgs, axios, BASE_PATH$9, configuration);
2377
+ return createRequestFunction$a(localVarAxiosArgs, axios, BASE_PATH$a, configuration);
2378
2378
  });
2379
2379
  },
2380
2380
  /**
@@ -2388,7 +2388,7 @@ const BlobApiFp = function (configuration) {
2388
2388
  blobGetFileWithParameter(resourceId, path, options) {
2389
2389
  return __awaiter(this, void 0, void 0, function* () {
2390
2390
  const localVarAxiosArgs = yield localVarAxiosParamCreator.blobGetFileWithParameter(resourceId, path, options);
2391
- return createRequestFunction$9(localVarAxiosArgs, axios, BASE_PATH$9, configuration);
2391
+ return createRequestFunction$a(localVarAxiosArgs, axios, BASE_PATH$a, configuration);
2392
2392
  });
2393
2393
  },
2394
2394
  /**
@@ -2403,7 +2403,7 @@ const BlobApiFp = function (configuration) {
2403
2403
  blobUploadFileWithParameter(resourceId, path, files, options) {
2404
2404
  return __awaiter(this, void 0, void 0, function* () {
2405
2405
  const localVarAxiosArgs = yield localVarAxiosParamCreator.blobUploadFileWithParameter(resourceId, path, files, options);
2406
- return createRequestFunction$9(localVarAxiosArgs, axios, BASE_PATH$9, configuration);
2406
+ return createRequestFunction$a(localVarAxiosArgs, axios, BASE_PATH$a, configuration);
2407
2407
  });
2408
2408
  },
2409
2409
  };
@@ -2453,14 +2453,14 @@ const BlobApiFactory = function (configuration, basePath, axios) {
2453
2453
  };
2454
2454
 
2455
2455
  /* tslint:disable */
2456
- const BASE_PATH$8 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Metadata".replace(/\/+$/, "");
2456
+ const BASE_PATH$9 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Metadata".replace(/\/+$/, "");
2457
2457
  /**
2458
2458
  *
2459
2459
  * @export
2460
2460
  * @class RequiredError
2461
2461
  * @extends {Error}
2462
2462
  */
2463
- class RequiredError$7 extends Error {
2463
+ class RequiredError$8 extends Error {
2464
2464
  constructor(field, msg) {
2465
2465
  super(msg);
2466
2466
  this.field = field;
@@ -2473,22 +2473,22 @@ class RequiredError$7 extends Error {
2473
2473
  *
2474
2474
  * @export
2475
2475
  */
2476
- const DUMMY_BASE_URL$8 = 'https://example.com';
2476
+ const DUMMY_BASE_URL$9 = 'https://example.com';
2477
2477
  /**
2478
2478
  *
2479
2479
  * @throws {RequiredError}
2480
2480
  * @export
2481
2481
  */
2482
- const assertParamExists$7 = function (functionName, paramName, paramValue) {
2482
+ const assertParamExists$8 = function (functionName, paramName, paramValue) {
2483
2483
  if (paramValue === null || paramValue === undefined) {
2484
- throw new RequiredError$7(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
2484
+ throw new RequiredError$8(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
2485
2485
  }
2486
2486
  };
2487
2487
  /**
2488
2488
  *
2489
2489
  * @export
2490
2490
  */
2491
- const setApiKeyToObject$8 = function (object, keyParamName, configuration) {
2491
+ const setApiKeyToObject$9 = function (object, keyParamName, configuration) {
2492
2492
  return __awaiter(this, void 0, void 0, function* () {
2493
2493
  if (configuration && configuration.apiKey) {
2494
2494
  const localVarApiKeyValue = typeof configuration.apiKey === 'function'
@@ -2502,7 +2502,7 @@ const setApiKeyToObject$8 = function (object, keyParamName, configuration) {
2502
2502
  *
2503
2503
  * @export
2504
2504
  */
2505
- const setSearchParams$8 = function (url, ...objects) {
2505
+ const setSearchParams$9 = function (url, ...objects) {
2506
2506
  const searchParams = new URLSearchParams(url.search);
2507
2507
  for (const object of objects) {
2508
2508
  for (const key in object) {
@@ -2523,7 +2523,7 @@ const setSearchParams$8 = function (url, ...objects) {
2523
2523
  *
2524
2524
  * @export
2525
2525
  */
2526
- const serializeDataIfNeeded$4 = function (value, requestOptions, configuration) {
2526
+ const serializeDataIfNeeded$5 = function (value, requestOptions, configuration) {
2527
2527
  const nonString = typeof value !== 'string';
2528
2528
  const needsSerialization = nonString && configuration && configuration.isJsonMime
2529
2529
  ? configuration.isJsonMime(requestOptions.headers['Content-Type'])
@@ -2536,14 +2536,14 @@ const serializeDataIfNeeded$4 = function (value, requestOptions, configuration)
2536
2536
  *
2537
2537
  * @export
2538
2538
  */
2539
- const toPathString$8 = function (url) {
2539
+ const toPathString$9 = function (url) {
2540
2540
  return url.pathname + url.search + url.hash;
2541
2541
  };
2542
2542
  /**
2543
2543
  *
2544
2544
  * @export
2545
2545
  */
2546
- const createRequestFunction$8 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
2546
+ const createRequestFunction$9 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
2547
2547
  return (axios = globalAxios, basePath = BASE_PATH) => {
2548
2548
  const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
2549
2549
  return axios.request(axiosRequestArgs);
@@ -2566,11 +2566,11 @@ const MetadataApiAxiosParamCreator = function (configuration) {
2566
2566
  */
2567
2567
  metadataGetClassInstances: (className, options = {}) => __awaiter(this, void 0, void 0, function* () {
2568
2568
  // verify required parameter 'className' is not null or undefined
2569
- assertParamExists$7('metadataGetClassInstances', 'className', className);
2569
+ assertParamExists$8('metadataGetClassInstances', 'className', className);
2570
2570
  const localVarPath = `/Metadata/instances/{className}`
2571
2571
  .replace(`{${"className"}}`, encodeURIComponent(String(className)));
2572
2572
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2573
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$8);
2573
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$9);
2574
2574
  let baseOptions;
2575
2575
  if (configuration) {
2576
2576
  baseOptions = configuration.baseOptions;
@@ -2579,12 +2579,12 @@ const MetadataApiAxiosParamCreator = function (configuration) {
2579
2579
  const localVarHeaderParameter = {};
2580
2580
  const localVarQueryParameter = {};
2581
2581
  // authentication JWT token required
2582
- yield setApiKeyToObject$8(localVarHeaderParameter, "Authorization", configuration);
2583
- setSearchParams$8(localVarUrlObj, localVarQueryParameter, options.query);
2582
+ yield setApiKeyToObject$9(localVarHeaderParameter, "Authorization", configuration);
2583
+ setSearchParams$9(localVarUrlObj, localVarQueryParameter, options.query);
2584
2584
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2585
2585
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2586
2586
  return {
2587
- url: toPathString$8(localVarUrlObj),
2587
+ url: toPathString$9(localVarUrlObj),
2588
2588
  options: localVarRequestOptions,
2589
2589
  };
2590
2590
  }),
@@ -2597,11 +2597,11 @@ const MetadataApiAxiosParamCreator = function (configuration) {
2597
2597
  */
2598
2598
  metadataGetProfile: (profile, options = {}) => __awaiter(this, void 0, void 0, function* () {
2599
2599
  // verify required parameter 'profile' is not null or undefined
2600
- assertParamExists$7('metadataGetProfile', 'profile', profile);
2600
+ assertParamExists$8('metadataGetProfile', 'profile', profile);
2601
2601
  const localVarPath = `/Metadata/profiles/{profile}`
2602
2602
  .replace(`{${"profile"}}`, encodeURIComponent(String(profile)));
2603
2603
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2604
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$8);
2604
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$9);
2605
2605
  let baseOptions;
2606
2606
  if (configuration) {
2607
2607
  baseOptions = configuration.baseOptions;
@@ -2610,12 +2610,12 @@ const MetadataApiAxiosParamCreator = function (configuration) {
2610
2610
  const localVarHeaderParameter = {};
2611
2611
  const localVarQueryParameter = {};
2612
2612
  // authentication JWT token required
2613
- yield setApiKeyToObject$8(localVarHeaderParameter, "Authorization", configuration);
2614
- setSearchParams$8(localVarUrlObj, localVarQueryParameter, options.query);
2613
+ yield setApiKeyToObject$9(localVarHeaderParameter, "Authorization", configuration);
2614
+ setSearchParams$9(localVarUrlObj, localVarQueryParameter, options.query);
2615
2615
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2616
2616
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2617
2617
  return {
2618
- url: toPathString$8(localVarUrlObj),
2618
+ url: toPathString$9(localVarUrlObj),
2619
2619
  options: localVarRequestOptions,
2620
2620
  };
2621
2621
  }),
@@ -2628,7 +2628,7 @@ const MetadataApiAxiosParamCreator = function (configuration) {
2628
2628
  metadataGetProfiles: (options = {}) => __awaiter(this, void 0, void 0, function* () {
2629
2629
  const localVarPath = `/Metadata/profiles`;
2630
2630
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2631
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$8);
2631
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$9);
2632
2632
  let baseOptions;
2633
2633
  if (configuration) {
2634
2634
  baseOptions = configuration.baseOptions;
@@ -2637,12 +2637,12 @@ const MetadataApiAxiosParamCreator = function (configuration) {
2637
2637
  const localVarHeaderParameter = {};
2638
2638
  const localVarQueryParameter = {};
2639
2639
  // authentication JWT token required
2640
- yield setApiKeyToObject$8(localVarHeaderParameter, "Authorization", configuration);
2641
- setSearchParams$8(localVarUrlObj, localVarQueryParameter, options.query);
2640
+ yield setApiKeyToObject$9(localVarHeaderParameter, "Authorization", configuration);
2641
+ setSearchParams$9(localVarUrlObj, localVarQueryParameter, options.query);
2642
2642
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2643
2643
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2644
2644
  return {
2645
- url: toPathString$8(localVarUrlObj),
2645
+ url: toPathString$9(localVarUrlObj),
2646
2646
  options: localVarRequestOptions,
2647
2647
  };
2648
2648
  }),
@@ -2655,7 +2655,7 @@ const MetadataApiAxiosParamCreator = function (configuration) {
2655
2655
  metadataGetVocabularies: (options = {}) => __awaiter(this, void 0, void 0, function* () {
2656
2656
  const localVarPath = `/Metadata/vocabularies`;
2657
2657
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2658
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$8);
2658
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$9);
2659
2659
  let baseOptions;
2660
2660
  if (configuration) {
2661
2661
  baseOptions = configuration.baseOptions;
@@ -2664,12 +2664,12 @@ const MetadataApiAxiosParamCreator = function (configuration) {
2664
2664
  const localVarHeaderParameter = {};
2665
2665
  const localVarQueryParameter = {};
2666
2666
  // authentication JWT token required
2667
- yield setApiKeyToObject$8(localVarHeaderParameter, "Authorization", configuration);
2668
- setSearchParams$8(localVarUrlObj, localVarQueryParameter, options.query);
2667
+ yield setApiKeyToObject$9(localVarHeaderParameter, "Authorization", configuration);
2668
+ setSearchParams$9(localVarUrlObj, localVarQueryParameter, options.query);
2669
2669
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2670
2670
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2671
2671
  return {
2672
- url: toPathString$8(localVarUrlObj),
2672
+ url: toPathString$9(localVarUrlObj),
2673
2673
  options: localVarRequestOptions,
2674
2674
  };
2675
2675
  }),
@@ -2682,11 +2682,11 @@ const MetadataApiAxiosParamCreator = function (configuration) {
2682
2682
  */
2683
2683
  metadataGetVocabulary: (path, options = {}) => __awaiter(this, void 0, void 0, function* () {
2684
2684
  // verify required parameter 'path' is not null or undefined
2685
- assertParamExists$7('metadataGetVocabulary', 'path', path);
2685
+ assertParamExists$8('metadataGetVocabulary', 'path', path);
2686
2686
  const localVarPath = `/Metadata/vocabularies/{path}`
2687
2687
  .replace(`{${"path"}}`, encodeURIComponent(String(path)));
2688
2688
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2689
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$8);
2689
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$9);
2690
2690
  let baseOptions;
2691
2691
  if (configuration) {
2692
2692
  baseOptions = configuration.baseOptions;
@@ -2695,12 +2695,12 @@ const MetadataApiAxiosParamCreator = function (configuration) {
2695
2695
  const localVarHeaderParameter = {};
2696
2696
  const localVarQueryParameter = {};
2697
2697
  // authentication JWT token required
2698
- yield setApiKeyToObject$8(localVarHeaderParameter, "Authorization", configuration);
2699
- setSearchParams$8(localVarUrlObj, localVarQueryParameter, options.query);
2698
+ yield setApiKeyToObject$9(localVarHeaderParameter, "Authorization", configuration);
2699
+ setSearchParams$9(localVarUrlObj, localVarQueryParameter, options.query);
2700
2700
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2701
2701
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2702
2702
  return {
2703
- url: toPathString$8(localVarUrlObj),
2703
+ url: toPathString$9(localVarUrlObj),
2704
2704
  options: localVarRequestOptions,
2705
2705
  };
2706
2706
  }),
@@ -2713,10 +2713,10 @@ const MetadataApiAxiosParamCreator = function (configuration) {
2713
2713
  */
2714
2714
  metadataSaveApplicationProfile: (applicationProfile, options = {}) => __awaiter(this, void 0, void 0, function* () {
2715
2715
  // verify required parameter 'applicationProfile' is not null or undefined
2716
- assertParamExists$7('metadataSaveApplicationProfile', 'applicationProfile', applicationProfile);
2716
+ assertParamExists$8('metadataSaveApplicationProfile', 'applicationProfile', applicationProfile);
2717
2717
  const localVarPath = `/Metadata/profiles`;
2718
2718
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2719
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$8);
2719
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$9);
2720
2720
  let baseOptions;
2721
2721
  if (configuration) {
2722
2722
  baseOptions = configuration.baseOptions;
@@ -2725,14 +2725,14 @@ const MetadataApiAxiosParamCreator = function (configuration) {
2725
2725
  const localVarHeaderParameter = {};
2726
2726
  const localVarQueryParameter = {};
2727
2727
  // authentication JWT token required
2728
- yield setApiKeyToObject$8(localVarHeaderParameter, "Authorization", configuration);
2728
+ yield setApiKeyToObject$9(localVarHeaderParameter, "Authorization", configuration);
2729
2729
  localVarHeaderParameter['Content-Type'] = 'application/json';
2730
- setSearchParams$8(localVarUrlObj, localVarQueryParameter, options.query);
2730
+ setSearchParams$9(localVarUrlObj, localVarQueryParameter, options.query);
2731
2731
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2732
2732
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2733
- localVarRequestOptions.data = serializeDataIfNeeded$4(applicationProfile, localVarRequestOptions, configuration);
2733
+ localVarRequestOptions.data = serializeDataIfNeeded$5(applicationProfile, localVarRequestOptions, configuration);
2734
2734
  return {
2735
- url: toPathString$8(localVarUrlObj),
2735
+ url: toPathString$9(localVarUrlObj),
2736
2736
  options: localVarRequestOptions,
2737
2737
  };
2738
2738
  }),
@@ -2755,7 +2755,7 @@ const MetadataApiFp = function (configuration) {
2755
2755
  metadataGetClassInstances(className, options) {
2756
2756
  return __awaiter(this, void 0, void 0, function* () {
2757
2757
  const localVarAxiosArgs = yield localVarAxiosParamCreator.metadataGetClassInstances(className, options);
2758
- return createRequestFunction$8(localVarAxiosArgs, axios, BASE_PATH$8, configuration);
2758
+ return createRequestFunction$9(localVarAxiosArgs, axios, BASE_PATH$9, configuration);
2759
2759
  });
2760
2760
  },
2761
2761
  /**
@@ -2768,7 +2768,7 @@ const MetadataApiFp = function (configuration) {
2768
2768
  metadataGetProfile(profile, options) {
2769
2769
  return __awaiter(this, void 0, void 0, function* () {
2770
2770
  const localVarAxiosArgs = yield localVarAxiosParamCreator.metadataGetProfile(profile, options);
2771
- return createRequestFunction$8(localVarAxiosArgs, axios, BASE_PATH$8, configuration);
2771
+ return createRequestFunction$9(localVarAxiosArgs, axios, BASE_PATH$9, configuration);
2772
2772
  });
2773
2773
  },
2774
2774
  /**
@@ -2780,7 +2780,7 @@ const MetadataApiFp = function (configuration) {
2780
2780
  metadataGetProfiles(options) {
2781
2781
  return __awaiter(this, void 0, void 0, function* () {
2782
2782
  const localVarAxiosArgs = yield localVarAxiosParamCreator.metadataGetProfiles(options);
2783
- return createRequestFunction$8(localVarAxiosArgs, axios, BASE_PATH$8, configuration);
2783
+ return createRequestFunction$9(localVarAxiosArgs, axios, BASE_PATH$9, configuration);
2784
2784
  });
2785
2785
  },
2786
2786
  /**
@@ -2792,7 +2792,7 @@ const MetadataApiFp = function (configuration) {
2792
2792
  metadataGetVocabularies(options) {
2793
2793
  return __awaiter(this, void 0, void 0, function* () {
2794
2794
  const localVarAxiosArgs = yield localVarAxiosParamCreator.metadataGetVocabularies(options);
2795
- return createRequestFunction$8(localVarAxiosArgs, axios, BASE_PATH$8, configuration);
2795
+ return createRequestFunction$9(localVarAxiosArgs, axios, BASE_PATH$9, configuration);
2796
2796
  });
2797
2797
  },
2798
2798
  /**
@@ -2805,7 +2805,7 @@ const MetadataApiFp = function (configuration) {
2805
2805
  metadataGetVocabulary(path, options) {
2806
2806
  return __awaiter(this, void 0, void 0, function* () {
2807
2807
  const localVarAxiosArgs = yield localVarAxiosParamCreator.metadataGetVocabulary(path, options);
2808
- return createRequestFunction$8(localVarAxiosArgs, axios, BASE_PATH$8, configuration);
2808
+ return createRequestFunction$9(localVarAxiosArgs, axios, BASE_PATH$9, configuration);
2809
2809
  });
2810
2810
  },
2811
2811
  /**
@@ -2818,7 +2818,7 @@ const MetadataApiFp = function (configuration) {
2818
2818
  metadataSaveApplicationProfile(applicationProfile, options) {
2819
2819
  return __awaiter(this, void 0, void 0, function* () {
2820
2820
  const localVarAxiosArgs = yield localVarAxiosParamCreator.metadataSaveApplicationProfile(applicationProfile, options);
2821
- return createRequestFunction$8(localVarAxiosArgs, axios, BASE_PATH$8, configuration);
2821
+ return createRequestFunction$9(localVarAxiosArgs, axios, BASE_PATH$9, configuration);
2822
2822
  });
2823
2823
  },
2824
2824
  };
@@ -2892,14 +2892,14 @@ const MetadataApiFactory = function (configuration, basePath, axios) {
2892
2892
  };
2893
2893
 
2894
2894
  /* tslint:disable */
2895
- const BASE_PATH$7 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Notices".replace(/\/+$/, "");
2895
+ const BASE_PATH$8 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Notices".replace(/\/+$/, "");
2896
2896
  /**
2897
2897
  *
2898
2898
  * @export
2899
2899
  * @class RequiredError
2900
2900
  * @extends {Error}
2901
2901
  */
2902
- class RequiredError$6 extends Error {
2902
+ class RequiredError$7 extends Error {
2903
2903
  constructor(field, msg) {
2904
2904
  super(msg);
2905
2905
  this.field = field;
@@ -2912,22 +2912,22 @@ class RequiredError$6 extends Error {
2912
2912
  *
2913
2913
  * @export
2914
2914
  */
2915
- const DUMMY_BASE_URL$7 = 'https://example.com';
2915
+ const DUMMY_BASE_URL$8 = 'https://example.com';
2916
2916
  /**
2917
2917
  *
2918
2918
  * @throws {RequiredError}
2919
2919
  * @export
2920
2920
  */
2921
- const assertParamExists$6 = function (functionName, paramName, paramValue) {
2921
+ const assertParamExists$7 = function (functionName, paramName, paramValue) {
2922
2922
  if (paramValue === null || paramValue === undefined) {
2923
- throw new RequiredError$6(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
2923
+ throw new RequiredError$7(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
2924
2924
  }
2925
2925
  };
2926
2926
  /**
2927
2927
  *
2928
2928
  * @export
2929
2929
  */
2930
- const setApiKeyToObject$7 = function (object, keyParamName, configuration) {
2930
+ const setApiKeyToObject$8 = function (object, keyParamName, configuration) {
2931
2931
  return __awaiter(this, void 0, void 0, function* () {
2932
2932
  if (configuration && configuration.apiKey) {
2933
2933
  const localVarApiKeyValue = typeof configuration.apiKey === 'function'
@@ -2941,7 +2941,7 @@ const setApiKeyToObject$7 = function (object, keyParamName, configuration) {
2941
2941
  *
2942
2942
  * @export
2943
2943
  */
2944
- const setSearchParams$7 = function (url, ...objects) {
2944
+ const setSearchParams$8 = function (url, ...objects) {
2945
2945
  const searchParams = new URLSearchParams(url.search);
2946
2946
  for (const object of objects) {
2947
2947
  for (const key in object) {
@@ -2962,14 +2962,14 @@ const setSearchParams$7 = function (url, ...objects) {
2962
2962
  *
2963
2963
  * @export
2964
2964
  */
2965
- const toPathString$7 = function (url) {
2965
+ const toPathString$8 = function (url) {
2966
2966
  return url.pathname + url.search + url.hash;
2967
2967
  };
2968
2968
  /**
2969
2969
  *
2970
2970
  * @export
2971
2971
  */
2972
- const createRequestFunction$7 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
2972
+ const createRequestFunction$8 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
2973
2973
  return (axios = globalAxios, basePath = BASE_PATH) => {
2974
2974
  const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
2975
2975
  return axios.request(axiosRequestArgs);
@@ -2992,7 +2992,7 @@ const NoticeApiAxiosParamCreator = function (configuration) {
2992
2992
  noticeGetMaintenance: (options = {}) => __awaiter(this, void 0, void 0, function* () {
2993
2993
  const localVarPath = `/Notice/getMaintenance`;
2994
2994
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2995
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
2995
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$8);
2996
2996
  let baseOptions;
2997
2997
  if (configuration) {
2998
2998
  baseOptions = configuration.baseOptions;
@@ -3001,12 +3001,12 @@ const NoticeApiAxiosParamCreator = function (configuration) {
3001
3001
  const localVarHeaderParameter = {};
3002
3002
  const localVarQueryParameter = {};
3003
3003
  // authentication JWT token required
3004
- yield setApiKeyToObject$7(localVarHeaderParameter, "Authorization", configuration);
3005
- setSearchParams$7(localVarUrlObj, localVarQueryParameter, options.query);
3004
+ yield setApiKeyToObject$8(localVarHeaderParameter, "Authorization", configuration);
3005
+ setSearchParams$8(localVarUrlObj, localVarQueryParameter, options.query);
3006
3006
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3007
3007
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3008
3008
  return {
3009
- url: toPathString$7(localVarUrlObj),
3009
+ url: toPathString$8(localVarUrlObj),
3010
3010
  options: localVarRequestOptions,
3011
3011
  };
3012
3012
  }),
@@ -3020,11 +3020,11 @@ const NoticeApiAxiosParamCreator = function (configuration) {
3020
3020
  */
3021
3021
  noticeGetNotice: (documentSlug, language, options = {}) => __awaiter(this, void 0, void 0, function* () {
3022
3022
  // verify required parameter 'documentSlug' is not null or undefined
3023
- assertParamExists$6('noticeGetNotice', 'documentSlug', documentSlug);
3023
+ assertParamExists$7('noticeGetNotice', 'documentSlug', documentSlug);
3024
3024
  const localVarPath = `/Notice/{documentSlug}`
3025
3025
  .replace(`{${"documentSlug"}}`, encodeURIComponent(String(documentSlug)));
3026
3026
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3027
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
3027
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$8);
3028
3028
  let baseOptions;
3029
3029
  if (configuration) {
3030
3030
  baseOptions = configuration.baseOptions;
@@ -3033,15 +3033,15 @@ const NoticeApiAxiosParamCreator = function (configuration) {
3033
3033
  const localVarHeaderParameter = {};
3034
3034
  const localVarQueryParameter = {};
3035
3035
  // authentication JWT token required
3036
- yield setApiKeyToObject$7(localVarHeaderParameter, "Authorization", configuration);
3036
+ yield setApiKeyToObject$8(localVarHeaderParameter, "Authorization", configuration);
3037
3037
  if (language !== undefined) {
3038
3038
  localVarQueryParameter['language'] = language;
3039
3039
  }
3040
- setSearchParams$7(localVarUrlObj, localVarQueryParameter, options.query);
3040
+ setSearchParams$8(localVarUrlObj, localVarQueryParameter, options.query);
3041
3041
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3042
3042
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3043
3043
  return {
3044
- url: toPathString$7(localVarUrlObj),
3044
+ url: toPathString$8(localVarUrlObj),
3045
3045
  options: localVarRequestOptions,
3046
3046
  };
3047
3047
  }),
@@ -3063,7 +3063,7 @@ const NoticeApiFp = function (configuration) {
3063
3063
  noticeGetMaintenance(options) {
3064
3064
  return __awaiter(this, void 0, void 0, function* () {
3065
3065
  const localVarAxiosArgs = yield localVarAxiosParamCreator.noticeGetMaintenance(options);
3066
- return createRequestFunction$7(localVarAxiosArgs, axios, BASE_PATH$7, configuration);
3066
+ return createRequestFunction$8(localVarAxiosArgs, axios, BASE_PATH$8, configuration);
3067
3067
  });
3068
3068
  },
3069
3069
  /**
@@ -3077,7 +3077,7 @@ const NoticeApiFp = function (configuration) {
3077
3077
  noticeGetNotice(documentSlug, language, options) {
3078
3078
  return __awaiter(this, void 0, void 0, function* () {
3079
3079
  const localVarAxiosArgs = yield localVarAxiosParamCreator.noticeGetNotice(documentSlug, language, options);
3080
- return createRequestFunction$7(localVarAxiosArgs, axios, BASE_PATH$7, configuration);
3080
+ return createRequestFunction$8(localVarAxiosArgs, axios, BASE_PATH$8, configuration);
3081
3081
  });
3082
3082
  },
3083
3083
  };
@@ -3113,14 +3113,14 @@ const NoticeApiFactory = function (configuration, basePath, axios) {
3113
3113
  };
3114
3114
 
3115
3115
  /* tslint:disable */
3116
- const BASE_PATH$6 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Organization".replace(/\/+$/, "");
3116
+ const BASE_PATH$7 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Organization".replace(/\/+$/, "");
3117
3117
  /**
3118
3118
  *
3119
3119
  * @export
3120
3120
  * @class RequiredError
3121
3121
  * @extends {Error}
3122
3122
  */
3123
- class RequiredError$5 extends Error {
3123
+ class RequiredError$6 extends Error {
3124
3124
  constructor(field, msg) {
3125
3125
  super(msg);
3126
3126
  this.field = field;
@@ -3133,22 +3133,22 @@ class RequiredError$5 extends Error {
3133
3133
  *
3134
3134
  * @export
3135
3135
  */
3136
- const DUMMY_BASE_URL$6 = 'https://example.com';
3136
+ const DUMMY_BASE_URL$7 = 'https://example.com';
3137
3137
  /**
3138
3138
  *
3139
3139
  * @throws {RequiredError}
3140
3140
  * @export
3141
3141
  */
3142
- const assertParamExists$5 = function (functionName, paramName, paramValue) {
3142
+ const assertParamExists$6 = function (functionName, paramName, paramValue) {
3143
3143
  if (paramValue === null || paramValue === undefined) {
3144
- throw new RequiredError$5(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
3144
+ throw new RequiredError$6(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
3145
3145
  }
3146
3146
  };
3147
3147
  /**
3148
3148
  *
3149
3149
  * @export
3150
3150
  */
3151
- const setApiKeyToObject$6 = function (object, keyParamName, configuration) {
3151
+ const setApiKeyToObject$7 = function (object, keyParamName, configuration) {
3152
3152
  return __awaiter(this, void 0, void 0, function* () {
3153
3153
  if (configuration && configuration.apiKey) {
3154
3154
  const localVarApiKeyValue = typeof configuration.apiKey === 'function'
@@ -3162,7 +3162,7 @@ const setApiKeyToObject$6 = function (object, keyParamName, configuration) {
3162
3162
  *
3163
3163
  * @export
3164
3164
  */
3165
- const setSearchParams$6 = function (url, ...objects) {
3165
+ const setSearchParams$7 = function (url, ...objects) {
3166
3166
  const searchParams = new URLSearchParams(url.search);
3167
3167
  for (const object of objects) {
3168
3168
  for (const key in object) {
@@ -3183,14 +3183,14 @@ const setSearchParams$6 = function (url, ...objects) {
3183
3183
  *
3184
3184
  * @export
3185
3185
  */
3186
- const toPathString$6 = function (url) {
3186
+ const toPathString$7 = function (url) {
3187
3187
  return url.pathname + url.search + url.hash;
3188
3188
  };
3189
3189
  /**
3190
3190
  *
3191
3191
  * @export
3192
3192
  */
3193
- const createRequestFunction$6 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
3193
+ const createRequestFunction$7 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
3194
3194
  return (axios = globalAxios, basePath = BASE_PATH) => {
3195
3195
  const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
3196
3196
  return axios.request(axiosRequestArgs);
@@ -3213,11 +3213,11 @@ const OrganizationApiAxiosParamCreator = function (configuration) {
3213
3213
  */
3214
3214
  organizationGetOrganization: (url, options = {}) => __awaiter(this, void 0, void 0, function* () {
3215
3215
  // verify required parameter 'url' is not null or undefined
3216
- assertParamExists$5('organizationGetOrganization', 'url', url);
3216
+ assertParamExists$6('organizationGetOrganization', 'url', url);
3217
3217
  const localVarPath = `/Organization/{url}`
3218
3218
  .replace(`{${"url"}}`, encodeURIComponent(String(url)));
3219
3219
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3220
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
3220
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
3221
3221
  let baseOptions;
3222
3222
  if (configuration) {
3223
3223
  baseOptions = configuration.baseOptions;
@@ -3226,12 +3226,12 @@ const OrganizationApiAxiosParamCreator = function (configuration) {
3226
3226
  const localVarHeaderParameter = {};
3227
3227
  const localVarQueryParameter = {};
3228
3228
  // authentication JWT token required
3229
- yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
3230
- setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
3229
+ yield setApiKeyToObject$7(localVarHeaderParameter, "Authorization", configuration);
3230
+ setSearchParams$7(localVarUrlObj, localVarQueryParameter, options.query);
3231
3231
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3232
3232
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3233
3233
  return {
3234
- url: toPathString$6(localVarUrlObj),
3234
+ url: toPathString$7(localVarUrlObj),
3235
3235
  options: localVarRequestOptions,
3236
3236
  };
3237
3237
  }),
@@ -3245,7 +3245,7 @@ const OrganizationApiAxiosParamCreator = function (configuration) {
3245
3245
  organizationGetROR: (filter, options = {}) => __awaiter(this, void 0, void 0, function* () {
3246
3246
  const localVarPath = `/Organization/-/ror`;
3247
3247
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3248
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
3248
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
3249
3249
  let baseOptions;
3250
3250
  if (configuration) {
3251
3251
  baseOptions = configuration.baseOptions;
@@ -3254,15 +3254,15 @@ const OrganizationApiAxiosParamCreator = function (configuration) {
3254
3254
  const localVarHeaderParameter = {};
3255
3255
  const localVarQueryParameter = {};
3256
3256
  // authentication JWT token required
3257
- yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
3257
+ yield setApiKeyToObject$7(localVarHeaderParameter, "Authorization", configuration);
3258
3258
  if (filter !== undefined) {
3259
3259
  localVarQueryParameter['filter'] = filter;
3260
3260
  }
3261
- setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
3261
+ setSearchParams$7(localVarUrlObj, localVarQueryParameter, options.query);
3262
3262
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3263
3263
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3264
3264
  return {
3265
- url: toPathString$6(localVarUrlObj),
3265
+ url: toPathString$7(localVarUrlObj),
3266
3266
  options: localVarRequestOptions,
3267
3267
  };
3268
3268
  }),
@@ -3277,7 +3277,7 @@ const OrganizationApiAxiosParamCreator = function (configuration) {
3277
3277
  organizationIndex: (member, filter, options = {}) => __awaiter(this, void 0, void 0, function* () {
3278
3278
  const localVarPath = `/Organization`;
3279
3279
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3280
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
3280
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
3281
3281
  let baseOptions;
3282
3282
  if (configuration) {
3283
3283
  baseOptions = configuration.baseOptions;
@@ -3286,18 +3286,18 @@ const OrganizationApiAxiosParamCreator = function (configuration) {
3286
3286
  const localVarHeaderParameter = {};
3287
3287
  const localVarQueryParameter = {};
3288
3288
  // authentication JWT token required
3289
- yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
3289
+ yield setApiKeyToObject$7(localVarHeaderParameter, "Authorization", configuration);
3290
3290
  if (member !== undefined) {
3291
3291
  localVarQueryParameter['member'] = member;
3292
3292
  }
3293
3293
  if (filter !== undefined) {
3294
3294
  localVarQueryParameter['filter'] = filter;
3295
3295
  }
3296
- setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
3296
+ setSearchParams$7(localVarUrlObj, localVarQueryParameter, options.query);
3297
3297
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3298
3298
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3299
3299
  return {
3300
- url: toPathString$6(localVarUrlObj),
3300
+ url: toPathString$7(localVarUrlObj),
3301
3301
  options: localVarRequestOptions,
3302
3302
  };
3303
3303
  }),
@@ -3310,11 +3310,11 @@ const OrganizationApiAxiosParamCreator = function (configuration) {
3310
3310
  */
3311
3311
  organizationIsMember: (url, options = {}) => __awaiter(this, void 0, void 0, function* () {
3312
3312
  // verify required parameter 'url' is not null or undefined
3313
- assertParamExists$5('organizationIsMember', 'url', url);
3313
+ assertParamExists$6('organizationIsMember', 'url', url);
3314
3314
  const localVarPath = `/Organization/-/isMember/{url}`
3315
3315
  .replace(`{${"url"}}`, encodeURIComponent(String(url)));
3316
3316
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3317
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
3317
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
3318
3318
  let baseOptions;
3319
3319
  if (configuration) {
3320
3320
  baseOptions = configuration.baseOptions;
@@ -3323,12 +3323,12 @@ const OrganizationApiAxiosParamCreator = function (configuration) {
3323
3323
  const localVarHeaderParameter = {};
3324
3324
  const localVarQueryParameter = {};
3325
3325
  // authentication JWT token required
3326
- yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
3327
- setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
3326
+ yield setApiKeyToObject$7(localVarHeaderParameter, "Authorization", configuration);
3327
+ setSearchParams$7(localVarUrlObj, localVarQueryParameter, options.query);
3328
3328
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3329
3329
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3330
3330
  return {
3331
- url: toPathString$6(localVarUrlObj),
3331
+ url: toPathString$7(localVarUrlObj),
3332
3332
  options: localVarRequestOptions,
3333
3333
  };
3334
3334
  }),
@@ -3341,7 +3341,7 @@ const OrganizationApiAxiosParamCreator = function (configuration) {
3341
3341
  organizationIsMember2: (options = {}) => __awaiter(this, void 0, void 0, function* () {
3342
3342
  const localVarPath = `/Organization/-/isMember`;
3343
3343
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3344
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
3344
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
3345
3345
  let baseOptions;
3346
3346
  if (configuration) {
3347
3347
  baseOptions = configuration.baseOptions;
@@ -3350,12 +3350,12 @@ const OrganizationApiAxiosParamCreator = function (configuration) {
3350
3350
  const localVarHeaderParameter = {};
3351
3351
  const localVarQueryParameter = {};
3352
3352
  // authentication JWT token required
3353
- yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
3354
- setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
3353
+ yield setApiKeyToObject$7(localVarHeaderParameter, "Authorization", configuration);
3354
+ setSearchParams$7(localVarUrlObj, localVarQueryParameter, options.query);
3355
3355
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3356
3356
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3357
3357
  return {
3358
- url: toPathString$6(localVarUrlObj),
3358
+ url: toPathString$7(localVarUrlObj),
3359
3359
  options: localVarRequestOptions,
3360
3360
  };
3361
3361
  }),
@@ -3378,7 +3378,7 @@ const OrganizationApiFp = function (configuration) {
3378
3378
  organizationGetOrganization(url, options) {
3379
3379
  return __awaiter(this, void 0, void 0, function* () {
3380
3380
  const localVarAxiosArgs = yield localVarAxiosParamCreator.organizationGetOrganization(url, options);
3381
- return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
3381
+ return createRequestFunction$7(localVarAxiosArgs, axios, BASE_PATH$7, configuration);
3382
3382
  });
3383
3383
  },
3384
3384
  /**
@@ -3391,7 +3391,7 @@ const OrganizationApiFp = function (configuration) {
3391
3391
  organizationGetROR(filter, options) {
3392
3392
  return __awaiter(this, void 0, void 0, function* () {
3393
3393
  const localVarAxiosArgs = yield localVarAxiosParamCreator.organizationGetROR(filter, options);
3394
- return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
3394
+ return createRequestFunction$7(localVarAxiosArgs, axios, BASE_PATH$7, configuration);
3395
3395
  });
3396
3396
  },
3397
3397
  /**
@@ -3405,7 +3405,7 @@ const OrganizationApiFp = function (configuration) {
3405
3405
  organizationIndex(member, filter, options) {
3406
3406
  return __awaiter(this, void 0, void 0, function* () {
3407
3407
  const localVarAxiosArgs = yield localVarAxiosParamCreator.organizationIndex(member, filter, options);
3408
- return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
3408
+ return createRequestFunction$7(localVarAxiosArgs, axios, BASE_PATH$7, configuration);
3409
3409
  });
3410
3410
  },
3411
3411
  /**
@@ -3418,7 +3418,7 @@ const OrganizationApiFp = function (configuration) {
3418
3418
  organizationIsMember(url, options) {
3419
3419
  return __awaiter(this, void 0, void 0, function* () {
3420
3420
  const localVarAxiosArgs = yield localVarAxiosParamCreator.organizationIsMember(url, options);
3421
- return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
3421
+ return createRequestFunction$7(localVarAxiosArgs, axios, BASE_PATH$7, configuration);
3422
3422
  });
3423
3423
  },
3424
3424
  /**
@@ -3430,7 +3430,7 @@ const OrganizationApiFp = function (configuration) {
3430
3430
  organizationIsMember2(options) {
3431
3431
  return __awaiter(this, void 0, void 0, function* () {
3432
3432
  const localVarAxiosArgs = yield localVarAxiosParamCreator.organizationIsMember2(options);
3433
- return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
3433
+ return createRequestFunction$7(localVarAxiosArgs, axios, BASE_PATH$7, configuration);
3434
3434
  });
3435
3435
  },
3436
3436
  };
@@ -3495,6 +3495,241 @@ const OrganizationApiFactory = function (configuration, basePath, axios) {
3495
3495
  };
3496
3496
  };
3497
3497
 
3498
+ /* tslint:disable */
3499
+ const BASE_PATH$6 = "https://d-sp23.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Pid".replace(/\/+$/, "");
3500
+ /**
3501
+ *
3502
+ * @export
3503
+ * @class RequiredError
3504
+ * @extends {Error}
3505
+ */
3506
+ class RequiredError$5 extends Error {
3507
+ constructor(field, msg) {
3508
+ super(msg);
3509
+ this.field = field;
3510
+ this.name = "RequiredError";
3511
+ }
3512
+ }
3513
+
3514
+ /* tslint:disable */
3515
+ /**
3516
+ *
3517
+ * @export
3518
+ */
3519
+ const DUMMY_BASE_URL$6 = 'https://example.com';
3520
+ /**
3521
+ *
3522
+ * @throws {RequiredError}
3523
+ * @export
3524
+ */
3525
+ const assertParamExists$5 = function (functionName, paramName, paramValue) {
3526
+ if (paramValue === null || paramValue === undefined) {
3527
+ throw new RequiredError$5(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
3528
+ }
3529
+ };
3530
+ /**
3531
+ *
3532
+ * @export
3533
+ */
3534
+ const setApiKeyToObject$6 = function (object, keyParamName, configuration) {
3535
+ return __awaiter(this, void 0, void 0, function* () {
3536
+ if (configuration && configuration.apiKey) {
3537
+ const localVarApiKeyValue = typeof configuration.apiKey === 'function'
3538
+ ? yield configuration.apiKey(keyParamName)
3539
+ : yield configuration.apiKey;
3540
+ object[keyParamName] = localVarApiKeyValue;
3541
+ }
3542
+ });
3543
+ };
3544
+ /**
3545
+ *
3546
+ * @export
3547
+ */
3548
+ const setSearchParams$6 = function (url, ...objects) {
3549
+ const searchParams = new URLSearchParams(url.search);
3550
+ for (const object of objects) {
3551
+ for (const key in object) {
3552
+ if (Array.isArray(object[key])) {
3553
+ searchParams.delete(key);
3554
+ for (const item of object[key]) {
3555
+ searchParams.append(key, item);
3556
+ }
3557
+ }
3558
+ else {
3559
+ searchParams.set(key, object[key]);
3560
+ }
3561
+ }
3562
+ }
3563
+ url.search = searchParams.toString();
3564
+ };
3565
+ /**
3566
+ *
3567
+ * @export
3568
+ */
3569
+ const serializeDataIfNeeded$4 = function (value, requestOptions, configuration) {
3570
+ const nonString = typeof value !== 'string';
3571
+ const needsSerialization = nonString && configuration && configuration.isJsonMime
3572
+ ? configuration.isJsonMime(requestOptions.headers['Content-Type'])
3573
+ : nonString;
3574
+ return needsSerialization
3575
+ ? JSON.stringify(value !== undefined ? value : {})
3576
+ : (value || "");
3577
+ };
3578
+ /**
3579
+ *
3580
+ * @export
3581
+ */
3582
+ const toPathString$6 = function (url) {
3583
+ return url.pathname + url.search + url.hash;
3584
+ };
3585
+ /**
3586
+ *
3587
+ * @export
3588
+ */
3589
+ const createRequestFunction$6 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
3590
+ return (axios = globalAxios, basePath = BASE_PATH) => {
3591
+ const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
3592
+ return axios.request(axiosRequestArgs);
3593
+ };
3594
+ };
3595
+
3596
+ /* tslint:disable */
3597
+ /**
3598
+ * PidApi - axios parameter creator
3599
+ * @export
3600
+ */
3601
+ const PidApiAxiosParamCreator = function (configuration) {
3602
+ return {
3603
+ /**
3604
+ *
3605
+ * @summary Returns a 200, if a PID is valid.
3606
+ * @param {string} pid PID
3607
+ * @param {*} [options] Override http request option.
3608
+ * @throws {RequiredError}
3609
+ */
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)));
3615
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3616
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
3617
+ let baseOptions;
3618
+ if (configuration) {
3619
+ baseOptions = configuration.baseOptions;
3620
+ }
3621
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
3622
+ const localVarHeaderParameter = {};
3623
+ const localVarQueryParameter = {};
3624
+ // authentication JWT token required
3625
+ yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
3626
+ setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
3627
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3628
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3629
+ return {
3630
+ url: toPathString$6(localVarUrlObj),
3631
+ options: localVarRequestOptions,
3632
+ };
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
+
3498
3733
  /* tslint:disable */
3499
3734
  const BASE_PATH$5 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Project".replace(/\/+$/, "");
3500
3735
  /**
@@ -6140,7 +6375,7 @@ const ResourceTypeApiFactory = function (configuration, basePath, axios) {
6140
6375
  };
6141
6376
 
6142
6377
  /* tslint:disable */
6143
- 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(/\/+$/, "");
6144
6379
 
6145
6380
  /* tslint:disable */
6146
6381
  /**
@@ -6202,6 +6437,17 @@ const createRequestFunction$3 = function (axiosArgs, globalAxios, BASE_PATH, con
6202
6437
  };
6203
6438
 
6204
6439
  /* tslint:disable */
6440
+ /**
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 = {}));
6205
6451
  /**
6206
6452
  * SearchApi - axios parameter creator
6207
6453
  * @export
@@ -7759,6 +8005,7 @@ function implementations(axios) {
7759
8005
  MetadataApi: MetadataApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Metadata', axios),
7760
8006
  NoticeApi: NoticeApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Notices', axios),
7761
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),
7762
8009
  ProjectApi: ProjectApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios),
7763
8010
  ProjectQuotaApi: ProjectQuotaApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios),
7764
8011
  ProjectRoleApi: ProjectRoleApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios),
@@ -7825,6 +8072,7 @@ const LicenseApi = apis.LicenseApi;
7825
8072
  const MetadataApi = apis.MetadataApi;
7826
8073
  const NoticeApi = apis.NoticeApi;
7827
8074
  const OrganizationApi = apis.OrganizationApi;
8075
+ const PidApi = apis.PidApi;
7828
8076
  const ProjectApi = apis.ProjectApi;
7829
8077
  const ProjectQuotaApi = apis.ProjectQuotaApi;
7830
8078
  const ProjectRoleApi = apis.ProjectRoleApi;
@@ -7841,5 +8089,5 @@ const TreeApi = apis.TreeApi;
7841
8089
  const UserApi = apis.UserApi;
7842
8090
  const VisibilityApi = apis.VisibilityApi;
7843
8091
 
7844
- export { AdminApi, BlobApi, ContactChangeApi, DisciplineApi, LanguageApi, LicenseApi, MetadataApi, NoticeApi, OrganizationApi, ProjectApi, ProjectQuotaApi, ProjectRoleApi, ResourceApi, ResourceQuotaApi, ResourceTypeApi, RoleApi, SearchApi, SubProjectApi, TOSApi, TitleApi, TokenApi, TreeApi, UserApi, VisibilityApi, apis as default };
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 };
7845
8093
  //# sourceMappingURL=index.js.map