@coscine/api-client 2.9.2 → 2.11.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 (119) hide show
  1. package/dist/index.js +125 -30
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.umd.js +125 -30
  4. package/dist/index.umd.js.map +1 -1
  5. package/dist/lib/Coscine.Api.Admin/api.js +1 -1
  6. package/dist/lib/Coscine.Api.Admin/base.js +2 -2
  7. package/dist/lib/Coscine.Api.Admin/common.js +1 -1
  8. package/dist/lib/Coscine.Api.Admin/configuration.js +1 -1
  9. package/dist/lib/Coscine.Api.Admin/index.js +1 -1
  10. package/dist/lib/Coscine.Api.Blob/api.js +1 -1
  11. package/dist/lib/Coscine.Api.Blob/base.js +2 -2
  12. package/dist/lib/Coscine.Api.Blob/common.js +1 -1
  13. package/dist/lib/Coscine.Api.Blob/configuration.js +1 -1
  14. package/dist/lib/Coscine.Api.Blob/index.js +1 -1
  15. package/dist/lib/Coscine.Api.Metadata/base.js +1 -1
  16. package/dist/lib/Coscine.Api.Notices/base.js +1 -1
  17. package/dist/lib/Coscine.Api.Organization/api.js +1 -1
  18. package/dist/lib/Coscine.Api.Organization/base.js +2 -2
  19. package/dist/lib/Coscine.Api.Organization/common.js +1 -1
  20. package/dist/lib/Coscine.Api.Organization/configuration.js +1 -1
  21. package/dist/lib/Coscine.Api.Organization/index.js +1 -1
  22. package/dist/lib/Coscine.Api.Pid/api.js +1 -1
  23. package/dist/lib/Coscine.Api.Pid/base.js +2 -2
  24. package/dist/lib/Coscine.Api.Pid/common.js +1 -1
  25. package/dist/lib/Coscine.Api.Pid/configuration.js +1 -1
  26. package/dist/lib/Coscine.Api.Pid/index.js +1 -1
  27. package/dist/lib/Coscine.Api.Project/api.js +9 -5
  28. package/dist/lib/Coscine.Api.Project/api.js.map +1 -1
  29. package/dist/lib/Coscine.Api.Project/base.js +2 -2
  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 +78 -13
  34. package/dist/lib/Coscine.Api.Resources/api.js.map +1 -1
  35. package/dist/lib/Coscine.Api.Resources/base.js +2 -2
  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.STS/base.js +1 -1
  40. package/dist/lib/Coscine.Api.Search/api.js +49 -9
  41. package/dist/lib/Coscine.Api.Search/api.js.map +1 -1
  42. package/dist/lib/Coscine.Api.Search/base.js +1 -1
  43. package/dist/lib/Coscine.Api.Search/common.js +1 -1
  44. package/dist/lib/Coscine.Api.Search/configuration.js +1 -1
  45. package/dist/lib/Coscine.Api.Search/index.js +1 -1
  46. package/dist/lib/Coscine.Api.Token/base.js +1 -1
  47. package/dist/lib/Coscine.Api.Tree/api.js +1 -1
  48. package/dist/lib/Coscine.Api.Tree/base.js +2 -2
  49. package/dist/lib/Coscine.Api.Tree/common.js +1 -1
  50. package/dist/lib/Coscine.Api.Tree/configuration.js +1 -1
  51. package/dist/lib/Coscine.Api.Tree/index.js +1 -1
  52. package/dist/lib/Coscine.Api.User/api.js +1 -1
  53. package/dist/lib/Coscine.Api.User/base.js +2 -2
  54. package/dist/lib/Coscine.Api.User/common.js +1 -1
  55. package/dist/lib/Coscine.Api.User/configuration.js +1 -1
  56. package/dist/lib/Coscine.Api.User/index.js +1 -1
  57. package/dist/types/Coscine.Api.Admin/api.d.ts +1 -1
  58. package/dist/types/Coscine.Api.Admin/base.d.ts +1 -1
  59. package/dist/types/Coscine.Api.Admin/common.d.ts +1 -1
  60. package/dist/types/Coscine.Api.Admin/configuration.d.ts +1 -1
  61. package/dist/types/Coscine.Api.Admin/index.d.ts +1 -1
  62. package/dist/types/Coscine.Api.Blob/api.d.ts +1 -1
  63. package/dist/types/Coscine.Api.Blob/base.d.ts +1 -1
  64. package/dist/types/Coscine.Api.Blob/common.d.ts +1 -1
  65. package/dist/types/Coscine.Api.Blob/configuration.d.ts +1 -1
  66. package/dist/types/Coscine.Api.Blob/index.d.ts +1 -1
  67. package/dist/types/Coscine.Api.Organization/api.d.ts +1 -1
  68. package/dist/types/Coscine.Api.Organization/base.d.ts +1 -1
  69. package/dist/types/Coscine.Api.Organization/common.d.ts +1 -1
  70. package/dist/types/Coscine.Api.Organization/configuration.d.ts +1 -1
  71. package/dist/types/Coscine.Api.Organization/index.d.ts +1 -1
  72. package/dist/types/Coscine.Api.Pid/api.d.ts +1 -1
  73. package/dist/types/Coscine.Api.Pid/base.d.ts +1 -1
  74. package/dist/types/Coscine.Api.Pid/common.d.ts +1 -1
  75. package/dist/types/Coscine.Api.Pid/configuration.d.ts +1 -1
  76. package/dist/types/Coscine.Api.Pid/index.d.ts +1 -1
  77. package/dist/types/Coscine.Api.Project/api.d.ts +9 -5
  78. package/dist/types/Coscine.Api.Project/base.d.ts +1 -1
  79. package/dist/types/Coscine.Api.Project/common.d.ts +1 -1
  80. package/dist/types/Coscine.Api.Project/configuration.d.ts +1 -1
  81. package/dist/types/Coscine.Api.Project/index.d.ts +1 -1
  82. package/dist/types/Coscine.Api.Resources/api.d.ts +46 -13
  83. package/dist/types/Coscine.Api.Resources/base.d.ts +1 -1
  84. package/dist/types/Coscine.Api.Resources/common.d.ts +1 -1
  85. package/dist/types/Coscine.Api.Resources/configuration.d.ts +1 -1
  86. package/dist/types/Coscine.Api.Resources/index.d.ts +1 -1
  87. package/dist/types/Coscine.Api.Search/api.d.ts +38 -6
  88. package/dist/types/Coscine.Api.Search/base.d.ts +1 -1
  89. package/dist/types/Coscine.Api.Search/common.d.ts +1 -1
  90. package/dist/types/Coscine.Api.Search/configuration.d.ts +1 -1
  91. package/dist/types/Coscine.Api.Search/index.d.ts +1 -1
  92. package/dist/types/Coscine.Api.Tree/api.d.ts +1 -1
  93. package/dist/types/Coscine.Api.Tree/base.d.ts +1 -1
  94. package/dist/types/Coscine.Api.Tree/common.d.ts +1 -1
  95. package/dist/types/Coscine.Api.Tree/configuration.d.ts +1 -1
  96. package/dist/types/Coscine.Api.Tree/index.d.ts +1 -1
  97. package/dist/types/Coscine.Api.User/api.d.ts +1 -1
  98. package/dist/types/Coscine.Api.User/base.d.ts +1 -1
  99. package/dist/types/Coscine.Api.User/common.d.ts +1 -1
  100. package/dist/types/Coscine.Api.User/configuration.d.ts +1 -1
  101. package/dist/types/Coscine.Api.User/index.d.ts +1 -1
  102. package/dist/types/apis.d.ts +2 -1
  103. package/dist/types/index.d.ts +4 -2
  104. package/package.json +1 -1
  105. package/dist/lib/Coscine.Api.ActivatedFeatures/api.js +0 -470
  106. package/dist/lib/Coscine.Api.ActivatedFeatures/api.js.map +0 -1
  107. package/dist/lib/Coscine.Api.ActivatedFeatures/base.js +0 -65
  108. package/dist/lib/Coscine.Api.ActivatedFeatures/base.js.map +0 -1
  109. package/dist/lib/Coscine.Api.ActivatedFeatures/common.js +0 -153
  110. package/dist/lib/Coscine.Api.ActivatedFeatures/common.js.map +0 -1
  111. package/dist/lib/Coscine.Api.ActivatedFeatures/configuration.js +0 -43
  112. package/dist/lib/Coscine.Api.ActivatedFeatures/configuration.js.map +0 -1
  113. package/dist/lib/Coscine.Api.ActivatedFeatures/index.js +0 -32
  114. package/dist/lib/Coscine.Api.ActivatedFeatures/index.js.map +0 -1
  115. package/dist/types/Coscine.Api.ActivatedFeatures/api.d.ts +0 -279
  116. package/dist/types/Coscine.Api.ActivatedFeatures/base.d.ts +0 -55
  117. package/dist/types/Coscine.Api.ActivatedFeatures/common.d.ts +0 -65
  118. package/dist/types/Coscine.Api.ActivatedFeatures/configuration.d.ts +0 -83
  119. package/dist/types/Coscine.Api.ActivatedFeatures/index.d.ts +0 -13
package/dist/index.js CHANGED
@@ -1849,7 +1849,7 @@ axios$2.exports.default = axios$1;
1849
1849
  var axios = axios$2.exports;
1850
1850
 
1851
1851
  /* tslint:disable */
1852
- const BASE_PATH$c = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Admin".replace(/\/+$/, "");
1852
+ const BASE_PATH$c = "https://d-sp12.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Admin".replace(/\/+$/, "");
1853
1853
  /**
1854
1854
  *
1855
1855
  * @export
@@ -2115,7 +2115,7 @@ const AdminApiFactory = function (configuration, basePath, axios) {
2115
2115
  * Coscine.Api.Admin
2116
2116
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
2117
2117
  *
2118
- * The version of the OpenAPI document: 3.0.2
2118
+ * The version of the OpenAPI document: 3.0.5
2119
2119
  *
2120
2120
  *
2121
2121
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2149,7 +2149,7 @@ class Configuration {
2149
2149
  }
2150
2150
 
2151
2151
  /* tslint:disable */
2152
- const BASE_PATH$b = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Blob".replace(/\/+$/, "");
2152
+ const BASE_PATH$b = "https://d-sp12.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Blob".replace(/\/+$/, "");
2153
2153
  /**
2154
2154
  *
2155
2155
  * @export
@@ -2453,7 +2453,7 @@ const BlobApiFactory = function (configuration, basePath, axios) {
2453
2453
  };
2454
2454
 
2455
2455
  /* tslint:disable */
2456
- const BASE_PATH$a = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Metadata".replace(/\/+$/, "");
2456
+ const BASE_PATH$a = "https://d-sp12.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Metadata".replace(/\/+$/, "");
2457
2457
  /**
2458
2458
  *
2459
2459
  * @export
@@ -2892,7 +2892,7 @@ const MetadataApiFactory = function (configuration, basePath, axios) {
2892
2892
  };
2893
2893
 
2894
2894
  /* tslint:disable */
2895
- const BASE_PATH$9 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Notices".replace(/\/+$/, "");
2895
+ const BASE_PATH$9 = "https://d-sp12.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Notices".replace(/\/+$/, "");
2896
2896
  /**
2897
2897
  *
2898
2898
  * @export
@@ -3116,7 +3116,7 @@ const NoticeApiFactory = function (configuration, basePath, axios) {
3116
3116
  };
3117
3117
 
3118
3118
  /* tslint:disable */
3119
- const BASE_PATH$8 = "https://d-sp23.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Organization".replace(/\/+$/, "");
3119
+ const BASE_PATH$8 = "https://d-sp12.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Organization".replace(/\/+$/, "");
3120
3120
  /**
3121
3121
  *
3122
3122
  * @export
@@ -3499,7 +3499,7 @@ const OrganizationApiFactory = function (configuration, basePath, axios) {
3499
3499
  };
3500
3500
 
3501
3501
  /* tslint:disable */
3502
- const BASE_PATH$7 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Pid".replace(/\/+$/, "");
3502
+ const BASE_PATH$7 = "https://d-sp12.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Pid".replace(/\/+$/, "");
3503
3503
  /**
3504
3504
  *
3505
3505
  * @export
@@ -3734,7 +3734,7 @@ const PidApiFactory = function (configuration, basePath, axios) {
3734
3734
  };
3735
3735
 
3736
3736
  /* tslint:disable */
3737
- const BASE_PATH$6 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Project".replace(/\/+$/, "");
3737
+ const BASE_PATH$6 = "https://d-sp12.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Project".replace(/\/+$/, "");
3738
3738
  /**
3739
3739
  *
3740
3740
  * @export
@@ -4002,7 +4002,7 @@ const ProjectApiAxiosParamCreator = function (configuration) {
4002
4002
  return {
4003
4003
  /**
4004
4004
  *
4005
- * @summary Call to analytics logger.
4005
+ * @summary Creation of an Application Profile.
4006
4006
  * @param {string} projectId Project id of the project
4007
4007
  * @param {*} [options] Override http request option.
4008
4008
  * @throws {RequiredError}
@@ -4413,7 +4413,7 @@ const ProjectApiFp = function (configuration) {
4413
4413
  return {
4414
4414
  /**
4415
4415
  *
4416
- * @summary Call to analytics logger.
4416
+ * @summary Creation of an Application Profile.
4417
4417
  * @param {string} projectId Project id of the project
4418
4418
  * @param {*} [options] Override http request option.
4419
4419
  * @throws {RequiredError}
@@ -4590,7 +4590,7 @@ const ProjectApiFactory = function (configuration, basePath, axios) {
4590
4590
  return {
4591
4591
  /**
4592
4592
  *
4593
- * @summary Call to analytics logger.
4593
+ * @summary Creation of an Application Profile.
4594
4594
  * @param {string} projectId Project id of the project
4595
4595
  * @param {*} [options] Override http request option.
4596
4596
  * @throws {RequiredError}
@@ -5351,6 +5351,7 @@ const SubProjectApiAxiosParamCreator = function (configuration) {
5351
5351
  * @summary This method retrieves the accessible Parent
5352
5352
  * @param {string} childId Id of the child
5353
5353
  * @param {*} [options] Override http request option.
5354
+ * @deprecated
5354
5355
  * @throws {RequiredError}
5355
5356
  */
5356
5357
  subProjectGetAccessibleParent: (childId, options = {}) => __awaiter(this, void 0, void 0, function* () {
@@ -5404,6 +5405,7 @@ const SubProjectApiFp = function (configuration) {
5404
5405
  * @summary This method retrieves the accessible Parent
5405
5406
  * @param {string} childId Id of the child
5406
5407
  * @param {*} [options] Override http request option.
5408
+ * @deprecated
5407
5409
  * @throws {RequiredError}
5408
5410
  */
5409
5411
  subProjectGetAccessibleParent(childId, options) {
@@ -5436,6 +5438,7 @@ const SubProjectApiFactory = function (configuration, basePath, axios) {
5436
5438
  * @summary This method retrieves the accessible Parent
5437
5439
  * @param {string} childId Id of the child
5438
5440
  * @param {*} [options] Override http request option.
5441
+ * @deprecated
5439
5442
  * @throws {RequiredError}
5440
5443
  */
5441
5444
  subProjectGetAccessibleParent(childId, options) {
@@ -5519,7 +5522,7 @@ const VisibilityApiFactory = function (configuration, basePath, axios) {
5519
5522
  };
5520
5523
 
5521
5524
  /* tslint:disable */
5522
- const BASE_PATH$5 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Resources".replace(/\/+$/, "");
5525
+ const BASE_PATH$5 = "https://d-sp12.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Resources".replace(/\/+$/, "");
5523
5526
  /**
5524
5527
  *
5525
5528
  * @export
@@ -6296,7 +6299,7 @@ const ResourceQuotaApiAxiosParamCreator = function (configuration) {
6296
6299
  return {
6297
6300
  /**
6298
6301
  *
6299
- * @summary Retrieves the resource quota for an individual resource.
6302
+ * @summary Retrieves the resource used and reserved quota for an individual resource.
6300
6303
  * @param {string} id Id of the resource.
6301
6304
  * @param {*} [options] Override http request option.
6302
6305
  * @throws {RequiredError}
@@ -6372,7 +6375,7 @@ const ResourceQuotaApiFp = function (configuration) {
6372
6375
  return {
6373
6376
  /**
6374
6377
  *
6375
- * @summary Retrieves the resource quota for an individual resource.
6378
+ * @summary Retrieves the resource used and reserved quota for an individual resource.
6376
6379
  * @param {string} id Id of the resource.
6377
6380
  * @param {*} [options] Override http request option.
6378
6381
  * @throws {RequiredError}
@@ -6408,7 +6411,7 @@ const ResourceQuotaApiFactory = function (configuration, basePath, axios) {
6408
6411
  return {
6409
6412
  /**
6410
6413
  *
6411
- * @summary Retrieves the resource quota for an individual resource.
6414
+ * @summary Retrieves the resource used and reserved quota for an individual resource.
6412
6415
  * @param {string} id Id of the resource.
6413
6416
  * @param {*} [options] Override http request option.
6414
6417
  * @throws {RequiredError}
@@ -6462,10 +6465,41 @@ const ResourceTypeApiAxiosParamCreator = function (configuration) {
6462
6465
  options: localVarRequestOptions,
6463
6466
  };
6464
6467
  }),
6468
+ /**
6469
+ *
6470
+ * @summary Returns all enabled resource types according to user\'s affiliation and allocated quota in the project.
6471
+ * @param {string} id Id of the project
6472
+ * @param {*} [options] Override http request option.
6473
+ * @throws {RequiredError}
6474
+ */
6475
+ resourceTypeGetEnabledResourceTypesAll: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
6476
+ // verify required parameter 'id' is not null or undefined
6477
+ assertParamExists$3('resourceTypeGetEnabledResourceTypesAll', 'id', id);
6478
+ const localVarPath = `/ResourceType/types/{id}/-/enabled`
6479
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
6480
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6481
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
6482
+ let baseOptions;
6483
+ if (configuration) {
6484
+ baseOptions = configuration.baseOptions;
6485
+ }
6486
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
6487
+ const localVarHeaderParameter = {};
6488
+ const localVarQueryParameter = {};
6489
+ // authentication JWT token required
6490
+ yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
6491
+ setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
6492
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6493
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6494
+ return {
6495
+ url: toPathString$5(localVarUrlObj),
6496
+ options: localVarRequestOptions,
6497
+ };
6498
+ }),
6465
6499
  /**
6466
6500
  *
6467
6501
  * @summary Returns all fields of the specified resource type.
6468
- * @param {string} id A guid as a string that identifies the resource.
6502
+ * @param {string} id A GUID as a string that identifies the resource.
6469
6503
  * @param {*} [options] Override http request option.
6470
6504
  * @throws {RequiredError}
6471
6505
  */
@@ -6495,7 +6529,7 @@ const ResourceTypeApiAxiosParamCreator = function (configuration) {
6495
6529
  }),
6496
6530
  /**
6497
6531
  *
6498
- * @summary Returns all resource types.
6532
+ * @summary Returns all resource types. Both hidden and active, regardless of user affiliation or quota.
6499
6533
  * @param {*} [options] Override http request option.
6500
6534
  * @throws {RequiredError}
6501
6535
  */
@@ -6541,10 +6575,23 @@ const ResourceTypeApiFp = function (configuration) {
6541
6575
  return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
6542
6576
  });
6543
6577
  },
6578
+ /**
6579
+ *
6580
+ * @summary Returns all enabled resource types according to user\'s affiliation and allocated quota in the project.
6581
+ * @param {string} id Id of the project
6582
+ * @param {*} [options] Override http request option.
6583
+ * @throws {RequiredError}
6584
+ */
6585
+ resourceTypeGetEnabledResourceTypesAll(id, options) {
6586
+ return __awaiter(this, void 0, void 0, function* () {
6587
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceTypeGetEnabledResourceTypesAll(id, options);
6588
+ return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
6589
+ });
6590
+ },
6544
6591
  /**
6545
6592
  *
6546
6593
  * @summary Returns all fields of the specified resource type.
6547
- * @param {string} id A guid as a string that identifies the resource.
6594
+ * @param {string} id A GUID as a string that identifies the resource.
6548
6595
  * @param {*} [options] Override http request option.
6549
6596
  * @throws {RequiredError}
6550
6597
  */
@@ -6556,7 +6603,7 @@ const ResourceTypeApiFp = function (configuration) {
6556
6603
  },
6557
6604
  /**
6558
6605
  *
6559
- * @summary Returns all resource types.
6606
+ * @summary Returns all resource types. Both hidden and active, regardless of user affiliation or quota.
6560
6607
  * @param {*} [options] Override http request option.
6561
6608
  * @throws {RequiredError}
6562
6609
  */
@@ -6584,10 +6631,20 @@ const ResourceTypeApiFactory = function (configuration, basePath, axios) {
6584
6631
  resourceTypeGetEnabledResourceTypes(options) {
6585
6632
  return localVarFp.resourceTypeGetEnabledResourceTypes(options).then((request) => request(axios, basePath));
6586
6633
  },
6634
+ /**
6635
+ *
6636
+ * @summary Returns all enabled resource types according to user\'s affiliation and allocated quota in the project.
6637
+ * @param {string} id Id of the project
6638
+ * @param {*} [options] Override http request option.
6639
+ * @throws {RequiredError}
6640
+ */
6641
+ resourceTypeGetEnabledResourceTypesAll(id, options) {
6642
+ return localVarFp.resourceTypeGetEnabledResourceTypesAll(id, options).then((request) => request(axios, basePath));
6643
+ },
6587
6644
  /**
6588
6645
  *
6589
6646
  * @summary Returns all fields of the specified resource type.
6590
- * @param {string} id A guid as a string that identifies the resource.
6647
+ * @param {string} id A GUID as a string that identifies the resource.
6591
6648
  * @param {*} [options] Override http request option.
6592
6649
  * @throws {RequiredError}
6593
6650
  */
@@ -6596,7 +6653,7 @@ const ResourceTypeApiFactory = function (configuration, basePath, axios) {
6596
6653
  },
6597
6654
  /**
6598
6655
  *
6599
- * @summary Returns all resource types.
6656
+ * @summary Returns all resource types. Both hidden and active, regardless of user affiliation or quota.
6600
6657
  * @param {*} [options] Override http request option.
6601
6658
  * @throws {RequiredError}
6602
6659
  */
@@ -6669,6 +6726,18 @@ const createRequestFunction$4 = function (axiosArgs, globalAxios, BASE_PATH, con
6669
6726
  };
6670
6727
 
6671
6728
  /* tslint:disable */
6729
+ /**
6730
+ *
6731
+ * @export
6732
+ * @enum {string}
6733
+ */
6734
+ var CategoryFilter;
6735
+ (function (CategoryFilter) {
6736
+ CategoryFilter["None"] = "None";
6737
+ CategoryFilter["Resource"] = "Resource";
6738
+ CategoryFilter["Project"] = "Project";
6739
+ CategoryFilter["Metadata"] = "Metadata";
6740
+ })(CategoryFilter || (CategoryFilter = {}));
6672
6741
  /**
6673
6742
  *
6674
6743
  * @export
@@ -6680,6 +6749,20 @@ var ItemType;
6680
6749
  ItemType["Project"] = "Project";
6681
6750
  ItemType["Resource"] = "Resource";
6682
6751
  })(ItemType || (ItemType = {}));
6752
+ /**
6753
+ *
6754
+ * @export
6755
+ * @enum {string}
6756
+ */
6757
+ var OrderBy;
6758
+ (function (OrderBy) {
6759
+ OrderBy["DateCreatedAsc"] = "Date_Created_Asc";
6760
+ OrderBy["DateCreatedDesc"] = "Date_Created_Desc";
6761
+ OrderBy["ScoreAsc"] = "Score_Asc";
6762
+ OrderBy["ScoreDesc"] = "Score_Desc";
6763
+ OrderBy["NameAsc"] = "Name_Asc";
6764
+ OrderBy["NameDesc"] = "Name_Desc";
6765
+ })(OrderBy || (OrderBy = {}));
6683
6766
  /**
6684
6767
  * SearchApi - axios parameter creator
6685
6768
  * @export
@@ -6693,12 +6776,14 @@ const SearchApiAxiosParamCreator = function (configuration) {
6693
6776
  * @param {boolean} [includeUsers] Specify user or only public metadata records could be found
6694
6777
  * @param {boolean} [useAdvancedSyntax] Set true for advanced Elasticsearch search syntax
6695
6778
  * @param {Array<string>} [includedLanguages] Set the used languages
6779
+ * @param {CategoryFilter} [categoryFilter] Set the category filter
6780
+ * @param {OrderBy} [orderBy] Set the order for sorting
6696
6781
  * @param {number} [pageNumber] The requested page number
6697
6782
  * @param {number} [pageSize] The size of a page
6698
6783
  * @param {*} [options] Override http request option.
6699
6784
  * @throws {RequiredError}
6700
6785
  */
6701
- searchSearch: (searchQuery, includeUsers, useAdvancedSyntax, includedLanguages, pageNumber, pageSize, options = {}) => __awaiter(this, void 0, void 0, function* () {
6786
+ searchSearch: (searchQuery, includeUsers, useAdvancedSyntax, includedLanguages, categoryFilter, orderBy, pageNumber, pageSize, options = {}) => __awaiter(this, void 0, void 0, function* () {
6702
6787
  const localVarPath = `/Search`;
6703
6788
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6704
6789
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$4);
@@ -6723,6 +6808,12 @@ const SearchApiAxiosParamCreator = function (configuration) {
6723
6808
  if (includedLanguages) {
6724
6809
  localVarQueryParameter['IncludedLanguages'] = includedLanguages;
6725
6810
  }
6811
+ if (categoryFilter !== undefined) {
6812
+ localVarQueryParameter['CategoryFilter'] = categoryFilter;
6813
+ }
6814
+ if (orderBy !== undefined) {
6815
+ localVarQueryParameter['OrderBy'] = orderBy;
6816
+ }
6726
6817
  if (pageNumber !== undefined) {
6727
6818
  localVarQueryParameter['PageNumber'] = pageNumber;
6728
6819
  }
@@ -6753,14 +6844,16 @@ const SearchApiFp = function (configuration) {
6753
6844
  * @param {boolean} [includeUsers] Specify user or only public metadata records could be found
6754
6845
  * @param {boolean} [useAdvancedSyntax] Set true for advanced Elasticsearch search syntax
6755
6846
  * @param {Array<string>} [includedLanguages] Set the used languages
6847
+ * @param {CategoryFilter} [categoryFilter] Set the category filter
6848
+ * @param {OrderBy} [orderBy] Set the order for sorting
6756
6849
  * @param {number} [pageNumber] The requested page number
6757
6850
  * @param {number} [pageSize] The size of a page
6758
6851
  * @param {*} [options] Override http request option.
6759
6852
  * @throws {RequiredError}
6760
6853
  */
6761
- searchSearch(searchQuery, includeUsers, useAdvancedSyntax, includedLanguages, pageNumber, pageSize, options) {
6854
+ searchSearch(searchQuery, includeUsers, useAdvancedSyntax, includedLanguages, categoryFilter, orderBy, pageNumber, pageSize, options) {
6762
6855
  return __awaiter(this, void 0, void 0, function* () {
6763
- const localVarAxiosArgs = yield localVarAxiosParamCreator.searchSearch(searchQuery, includeUsers, useAdvancedSyntax, includedLanguages, pageNumber, pageSize, options);
6856
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.searchSearch(searchQuery, includeUsers, useAdvancedSyntax, includedLanguages, categoryFilter, orderBy, pageNumber, pageSize, options);
6764
6857
  return createRequestFunction$4(localVarAxiosArgs, axios, BASE_PATH$4, configuration);
6765
6858
  });
6766
6859
  },
@@ -6780,19 +6873,21 @@ const SearchApiFactory = function (configuration, basePath, axios) {
6780
6873
  * @param {boolean} [includeUsers] Specify user or only public metadata records could be found
6781
6874
  * @param {boolean} [useAdvancedSyntax] Set true for advanced Elasticsearch search syntax
6782
6875
  * @param {Array<string>} [includedLanguages] Set the used languages
6876
+ * @param {CategoryFilter} [categoryFilter] Set the category filter
6877
+ * @param {OrderBy} [orderBy] Set the order for sorting
6783
6878
  * @param {number} [pageNumber] The requested page number
6784
6879
  * @param {number} [pageSize] The size of a page
6785
6880
  * @param {*} [options] Override http request option.
6786
6881
  * @throws {RequiredError}
6787
6882
  */
6788
- searchSearch(searchQuery, includeUsers, useAdvancedSyntax, includedLanguages, pageNumber, pageSize, options) {
6789
- return localVarFp.searchSearch(searchQuery, includeUsers, useAdvancedSyntax, includedLanguages, pageNumber, pageSize, options).then((request) => request(axios, basePath));
6883
+ searchSearch(searchQuery, includeUsers, useAdvancedSyntax, includedLanguages, categoryFilter, orderBy, pageNumber, pageSize, options) {
6884
+ return localVarFp.searchSearch(searchQuery, includeUsers, useAdvancedSyntax, includedLanguages, categoryFilter, orderBy, pageNumber, pageSize, options).then((request) => request(axios, basePath));
6790
6885
  },
6791
6886
  };
6792
6887
  };
6793
6888
 
6794
6889
  /* tslint:disable */
6795
- const BASE_PATH$3 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.STS".replace(/\/+$/, "");
6890
+ const BASE_PATH$3 = "https://d-sp12.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.STS".replace(/\/+$/, "");
6796
6891
 
6797
6892
  /* tslint:disable */
6798
6893
  /**
@@ -7466,7 +7561,7 @@ const ShibbolethApiFactory = function (configuration, basePath, axios) {
7466
7561
  };
7467
7562
 
7468
7563
  /* tslint:disable */
7469
- const BASE_PATH$2 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Token".replace(/\/+$/, "");
7564
+ const BASE_PATH$2 = "https://d-sp12.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Token".replace(/\/+$/, "");
7470
7565
  /**
7471
7566
  *
7472
7567
  * @export
@@ -7851,7 +7946,7 @@ const TokenApiFactory = function (configuration, basePath, axios) {
7851
7946
  };
7852
7947
 
7853
7948
  /* tslint:disable */
7854
- const BASE_PATH$1 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Tree".replace(/\/+$/, "");
7949
+ const BASE_PATH$1 = "https://d-sp12.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Tree".replace(/\/+$/, "");
7855
7950
  /**
7856
7951
  *
7857
7952
  * @export
@@ -8096,7 +8191,7 @@ const TreeApiFactory = function (configuration, basePath, axios) {
8096
8191
  };
8097
8192
 
8098
8193
  /* tslint:disable */
8099
- const BASE_PATH = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.User".replace(/\/+$/, "");
8194
+ const BASE_PATH = "https://d-sp12.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.User".replace(/\/+$/, "");
8100
8195
  /**
8101
8196
  *
8102
8197
  * @export