@coscine/api-client 2.9.2 → 2.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +125 -30
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +125 -30
- package/dist/index.umd.js.map +1 -1
- package/dist/lib/Coscine.Api.Admin/api.js +1 -1
- package/dist/lib/Coscine.Api.Admin/base.js +2 -2
- package/dist/lib/Coscine.Api.Admin/common.js +1 -1
- package/dist/lib/Coscine.Api.Admin/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Admin/index.js +1 -1
- package/dist/lib/Coscine.Api.Blob/api.js +1 -1
- package/dist/lib/Coscine.Api.Blob/base.js +2 -2
- package/dist/lib/Coscine.Api.Blob/common.js +1 -1
- package/dist/lib/Coscine.Api.Blob/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Blob/index.js +1 -1
- package/dist/lib/Coscine.Api.Metadata/base.js +1 -1
- package/dist/lib/Coscine.Api.Notices/base.js +1 -1
- package/dist/lib/Coscine.Api.Organization/api.js +1 -1
- package/dist/lib/Coscine.Api.Organization/base.js +2 -2
- package/dist/lib/Coscine.Api.Organization/common.js +1 -1
- package/dist/lib/Coscine.Api.Organization/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Organization/index.js +1 -1
- package/dist/lib/Coscine.Api.Pid/api.js +1 -1
- package/dist/lib/Coscine.Api.Pid/base.js +2 -2
- package/dist/lib/Coscine.Api.Pid/common.js +1 -1
- package/dist/lib/Coscine.Api.Pid/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Pid/index.js +1 -1
- package/dist/lib/Coscine.Api.Project/api.js +9 -5
- package/dist/lib/Coscine.Api.Project/api.js.map +1 -1
- package/dist/lib/Coscine.Api.Project/base.js +2 -2
- package/dist/lib/Coscine.Api.Project/common.js +1 -1
- package/dist/lib/Coscine.Api.Project/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Project/index.js +1 -1
- package/dist/lib/Coscine.Api.Resources/api.js +78 -13
- package/dist/lib/Coscine.Api.Resources/api.js.map +1 -1
- package/dist/lib/Coscine.Api.Resources/base.js +2 -2
- package/dist/lib/Coscine.Api.Resources/common.js +1 -1
- package/dist/lib/Coscine.Api.Resources/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Resources/index.js +1 -1
- package/dist/lib/Coscine.Api.STS/base.js +1 -1
- package/dist/lib/Coscine.Api.Search/api.js +49 -9
- package/dist/lib/Coscine.Api.Search/api.js.map +1 -1
- package/dist/lib/Coscine.Api.Search/base.js +1 -1
- package/dist/lib/Coscine.Api.Search/common.js +1 -1
- package/dist/lib/Coscine.Api.Search/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Search/index.js +1 -1
- package/dist/lib/Coscine.Api.Token/base.js +1 -1
- package/dist/lib/Coscine.Api.Tree/api.js +1 -1
- package/dist/lib/Coscine.Api.Tree/base.js +2 -2
- package/dist/lib/Coscine.Api.Tree/common.js +1 -1
- package/dist/lib/Coscine.Api.Tree/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Tree/index.js +1 -1
- package/dist/lib/Coscine.Api.User/api.js +1 -1
- package/dist/lib/Coscine.Api.User/base.js +2 -2
- package/dist/lib/Coscine.Api.User/common.js +1 -1
- package/dist/lib/Coscine.Api.User/configuration.js +1 -1
- package/dist/lib/Coscine.Api.User/index.js +1 -1
- package/dist/types/Coscine.Api.Admin/api.d.ts +1 -1
- package/dist/types/Coscine.Api.Admin/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Admin/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Admin/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Admin/index.d.ts +1 -1
- package/dist/types/Coscine.Api.Blob/api.d.ts +1 -1
- package/dist/types/Coscine.Api.Blob/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Blob/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Blob/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Blob/index.d.ts +1 -1
- package/dist/types/Coscine.Api.Organization/api.d.ts +1 -1
- package/dist/types/Coscine.Api.Organization/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Organization/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Organization/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Organization/index.d.ts +1 -1
- package/dist/types/Coscine.Api.Pid/api.d.ts +1 -1
- package/dist/types/Coscine.Api.Pid/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Pid/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Pid/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Pid/index.d.ts +1 -1
- package/dist/types/Coscine.Api.Project/api.d.ts +9 -5
- package/dist/types/Coscine.Api.Project/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Project/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Project/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Project/index.d.ts +1 -1
- package/dist/types/Coscine.Api.Resources/api.d.ts +46 -13
- package/dist/types/Coscine.Api.Resources/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Resources/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Resources/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Resources/index.d.ts +1 -1
- package/dist/types/Coscine.Api.Search/api.d.ts +38 -6
- package/dist/types/Coscine.Api.Search/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Search/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Search/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Search/index.d.ts +1 -1
- package/dist/types/Coscine.Api.Tree/api.d.ts +1 -1
- package/dist/types/Coscine.Api.Tree/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Tree/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Tree/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Tree/index.d.ts +1 -1
- package/dist/types/Coscine.Api.User/api.d.ts +1 -1
- package/dist/types/Coscine.Api.User/base.d.ts +1 -1
- package/dist/types/Coscine.Api.User/common.d.ts +1 -1
- package/dist/types/Coscine.Api.User/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.User/index.d.ts +1 -1
- package/dist/types/apis.d.ts +2 -1
- package/dist/types/index.d.ts +4 -2
- package/package.json +1 -1
- package/dist/lib/Coscine.Api.ActivatedFeatures/api.js +0 -470
- package/dist/lib/Coscine.Api.ActivatedFeatures/api.js.map +0 -1
- package/dist/lib/Coscine.Api.ActivatedFeatures/base.js +0 -65
- package/dist/lib/Coscine.Api.ActivatedFeatures/base.js.map +0 -1
- package/dist/lib/Coscine.Api.ActivatedFeatures/common.js +0 -153
- package/dist/lib/Coscine.Api.ActivatedFeatures/common.js.map +0 -1
- package/dist/lib/Coscine.Api.ActivatedFeatures/configuration.js +0 -43
- package/dist/lib/Coscine.Api.ActivatedFeatures/configuration.js.map +0 -1
- package/dist/lib/Coscine.Api.ActivatedFeatures/index.js +0 -32
- package/dist/lib/Coscine.Api.ActivatedFeatures/index.js.map +0 -1
- package/dist/types/Coscine.Api.ActivatedFeatures/api.d.ts +0 -279
- package/dist/types/Coscine.Api.ActivatedFeatures/base.d.ts +0 -55
- package/dist/types/Coscine.Api.ActivatedFeatures/common.d.ts +0 -65
- package/dist/types/Coscine.Api.ActivatedFeatures/configuration.d.ts +0 -83
- package/dist/types/Coscine.Api.ActivatedFeatures/index.d.ts +0 -13
package/dist/index.umd.js
CHANGED
|
@@ -1855,7 +1855,7 @@
|
|
|
1855
1855
|
var axios = axios$2.exports;
|
|
1856
1856
|
|
|
1857
1857
|
/* tslint:disable */
|
|
1858
|
-
const BASE_PATH$c = "https://d-
|
|
1858
|
+
const BASE_PATH$c = "https://d-sp12.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Admin".replace(/\/+$/, "");
|
|
1859
1859
|
/**
|
|
1860
1860
|
*
|
|
1861
1861
|
* @export
|
|
@@ -2121,7 +2121,7 @@
|
|
|
2121
2121
|
* Coscine.Api.Admin
|
|
2122
2122
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
2123
2123
|
*
|
|
2124
|
-
* The version of the OpenAPI document: 3.0.
|
|
2124
|
+
* The version of the OpenAPI document: 3.0.3
|
|
2125
2125
|
*
|
|
2126
2126
|
*
|
|
2127
2127
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2155,7 +2155,7 @@
|
|
|
2155
2155
|
}
|
|
2156
2156
|
|
|
2157
2157
|
/* tslint:disable */
|
|
2158
|
-
const BASE_PATH$b = "https://d-
|
|
2158
|
+
const BASE_PATH$b = "https://d-sp12.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Blob".replace(/\/+$/, "");
|
|
2159
2159
|
/**
|
|
2160
2160
|
*
|
|
2161
2161
|
* @export
|
|
@@ -2459,7 +2459,7 @@
|
|
|
2459
2459
|
};
|
|
2460
2460
|
|
|
2461
2461
|
/* tslint:disable */
|
|
2462
|
-
const BASE_PATH$a = "https://d-
|
|
2462
|
+
const BASE_PATH$a = "https://d-sp12.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Metadata".replace(/\/+$/, "");
|
|
2463
2463
|
/**
|
|
2464
2464
|
*
|
|
2465
2465
|
* @export
|
|
@@ -2898,7 +2898,7 @@
|
|
|
2898
2898
|
};
|
|
2899
2899
|
|
|
2900
2900
|
/* tslint:disable */
|
|
2901
|
-
const BASE_PATH$9 = "https://d-
|
|
2901
|
+
const BASE_PATH$9 = "https://d-sp12.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Notices".replace(/\/+$/, "");
|
|
2902
2902
|
/**
|
|
2903
2903
|
*
|
|
2904
2904
|
* @export
|
|
@@ -3122,7 +3122,7 @@
|
|
|
3122
3122
|
};
|
|
3123
3123
|
|
|
3124
3124
|
/* tslint:disable */
|
|
3125
|
-
const BASE_PATH$8 = "https://d-
|
|
3125
|
+
const BASE_PATH$8 = "https://d-sp12.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Organization".replace(/\/+$/, "");
|
|
3126
3126
|
/**
|
|
3127
3127
|
*
|
|
3128
3128
|
* @export
|
|
@@ -3505,7 +3505,7 @@
|
|
|
3505
3505
|
};
|
|
3506
3506
|
|
|
3507
3507
|
/* tslint:disable */
|
|
3508
|
-
const BASE_PATH$7 = "https://d-
|
|
3508
|
+
const BASE_PATH$7 = "https://d-sp12.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Pid".replace(/\/+$/, "");
|
|
3509
3509
|
/**
|
|
3510
3510
|
*
|
|
3511
3511
|
* @export
|
|
@@ -3740,7 +3740,7 @@
|
|
|
3740
3740
|
};
|
|
3741
3741
|
|
|
3742
3742
|
/* tslint:disable */
|
|
3743
|
-
const BASE_PATH$6 = "https://d-
|
|
3743
|
+
const BASE_PATH$6 = "https://d-sp12.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Project".replace(/\/+$/, "");
|
|
3744
3744
|
/**
|
|
3745
3745
|
*
|
|
3746
3746
|
* @export
|
|
@@ -4008,7 +4008,7 @@
|
|
|
4008
4008
|
return {
|
|
4009
4009
|
/**
|
|
4010
4010
|
*
|
|
4011
|
-
* @summary
|
|
4011
|
+
* @summary Creation of an Application Profile.
|
|
4012
4012
|
* @param {string} projectId Project id of the project
|
|
4013
4013
|
* @param {*} [options] Override http request option.
|
|
4014
4014
|
* @throws {RequiredError}
|
|
@@ -4419,7 +4419,7 @@
|
|
|
4419
4419
|
return {
|
|
4420
4420
|
/**
|
|
4421
4421
|
*
|
|
4422
|
-
* @summary
|
|
4422
|
+
* @summary Creation of an Application Profile.
|
|
4423
4423
|
* @param {string} projectId Project id of the project
|
|
4424
4424
|
* @param {*} [options] Override http request option.
|
|
4425
4425
|
* @throws {RequiredError}
|
|
@@ -4596,7 +4596,7 @@
|
|
|
4596
4596
|
return {
|
|
4597
4597
|
/**
|
|
4598
4598
|
*
|
|
4599
|
-
* @summary
|
|
4599
|
+
* @summary Creation of an Application Profile.
|
|
4600
4600
|
* @param {string} projectId Project id of the project
|
|
4601
4601
|
* @param {*} [options] Override http request option.
|
|
4602
4602
|
* @throws {RequiredError}
|
|
@@ -5357,6 +5357,7 @@
|
|
|
5357
5357
|
* @summary This method retrieves the accessible Parent
|
|
5358
5358
|
* @param {string} childId Id of the child
|
|
5359
5359
|
* @param {*} [options] Override http request option.
|
|
5360
|
+
* @deprecated
|
|
5360
5361
|
* @throws {RequiredError}
|
|
5361
5362
|
*/
|
|
5362
5363
|
subProjectGetAccessibleParent: (childId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5410,6 +5411,7 @@
|
|
|
5410
5411
|
* @summary This method retrieves the accessible Parent
|
|
5411
5412
|
* @param {string} childId Id of the child
|
|
5412
5413
|
* @param {*} [options] Override http request option.
|
|
5414
|
+
* @deprecated
|
|
5413
5415
|
* @throws {RequiredError}
|
|
5414
5416
|
*/
|
|
5415
5417
|
subProjectGetAccessibleParent(childId, options) {
|
|
@@ -5442,6 +5444,7 @@
|
|
|
5442
5444
|
* @summary This method retrieves the accessible Parent
|
|
5443
5445
|
* @param {string} childId Id of the child
|
|
5444
5446
|
* @param {*} [options] Override http request option.
|
|
5447
|
+
* @deprecated
|
|
5445
5448
|
* @throws {RequiredError}
|
|
5446
5449
|
*/
|
|
5447
5450
|
subProjectGetAccessibleParent(childId, options) {
|
|
@@ -5525,7 +5528,7 @@
|
|
|
5525
5528
|
};
|
|
5526
5529
|
|
|
5527
5530
|
/* tslint:disable */
|
|
5528
|
-
const BASE_PATH$5 = "https://d-
|
|
5531
|
+
const BASE_PATH$5 = "https://d-sp25.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Resources".replace(/\/+$/, "");
|
|
5529
5532
|
/**
|
|
5530
5533
|
*
|
|
5531
5534
|
* @export
|
|
@@ -6302,7 +6305,7 @@
|
|
|
6302
6305
|
return {
|
|
6303
6306
|
/**
|
|
6304
6307
|
*
|
|
6305
|
-
* @summary Retrieves the resource quota for an individual resource.
|
|
6308
|
+
* @summary Retrieves the resource used and reserved quota for an individual resource.
|
|
6306
6309
|
* @param {string} id Id of the resource.
|
|
6307
6310
|
* @param {*} [options] Override http request option.
|
|
6308
6311
|
* @throws {RequiredError}
|
|
@@ -6378,7 +6381,7 @@
|
|
|
6378
6381
|
return {
|
|
6379
6382
|
/**
|
|
6380
6383
|
*
|
|
6381
|
-
* @summary Retrieves the resource quota for an individual resource.
|
|
6384
|
+
* @summary Retrieves the resource used and reserved quota for an individual resource.
|
|
6382
6385
|
* @param {string} id Id of the resource.
|
|
6383
6386
|
* @param {*} [options] Override http request option.
|
|
6384
6387
|
* @throws {RequiredError}
|
|
@@ -6414,7 +6417,7 @@
|
|
|
6414
6417
|
return {
|
|
6415
6418
|
/**
|
|
6416
6419
|
*
|
|
6417
|
-
* @summary Retrieves the resource quota for an individual resource.
|
|
6420
|
+
* @summary Retrieves the resource used and reserved quota for an individual resource.
|
|
6418
6421
|
* @param {string} id Id of the resource.
|
|
6419
6422
|
* @param {*} [options] Override http request option.
|
|
6420
6423
|
* @throws {RequiredError}
|
|
@@ -6468,10 +6471,41 @@
|
|
|
6468
6471
|
options: localVarRequestOptions,
|
|
6469
6472
|
};
|
|
6470
6473
|
}),
|
|
6474
|
+
/**
|
|
6475
|
+
*
|
|
6476
|
+
* @summary Returns all enabled resource types according to user\'s affiliation and allocated quota in the project.
|
|
6477
|
+
* @param {string} id Id of the project
|
|
6478
|
+
* @param {*} [options] Override http request option.
|
|
6479
|
+
* @throws {RequiredError}
|
|
6480
|
+
*/
|
|
6481
|
+
resourceTypeGetEnabledResourceTypesAll: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6482
|
+
// verify required parameter 'id' is not null or undefined
|
|
6483
|
+
assertParamExists$3('resourceTypeGetEnabledResourceTypesAll', 'id', id);
|
|
6484
|
+
const localVarPath = `/ResourceType/types/{id}/-/enabled`
|
|
6485
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
6486
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6487
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$5);
|
|
6488
|
+
let baseOptions;
|
|
6489
|
+
if (configuration) {
|
|
6490
|
+
baseOptions = configuration.baseOptions;
|
|
6491
|
+
}
|
|
6492
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6493
|
+
const localVarHeaderParameter = {};
|
|
6494
|
+
const localVarQueryParameter = {};
|
|
6495
|
+
// authentication JWT token required
|
|
6496
|
+
yield setApiKeyToObject$5(localVarHeaderParameter, "Authorization", configuration);
|
|
6497
|
+
setSearchParams$5(localVarUrlObj, localVarQueryParameter, options.query);
|
|
6498
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6499
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6500
|
+
return {
|
|
6501
|
+
url: toPathString$5(localVarUrlObj),
|
|
6502
|
+
options: localVarRequestOptions,
|
|
6503
|
+
};
|
|
6504
|
+
}),
|
|
6471
6505
|
/**
|
|
6472
6506
|
*
|
|
6473
6507
|
* @summary Returns all fields of the specified resource type.
|
|
6474
|
-
* @param {string} id A
|
|
6508
|
+
* @param {string} id A GUID as a string that identifies the resource.
|
|
6475
6509
|
* @param {*} [options] Override http request option.
|
|
6476
6510
|
* @throws {RequiredError}
|
|
6477
6511
|
*/
|
|
@@ -6501,7 +6535,7 @@
|
|
|
6501
6535
|
}),
|
|
6502
6536
|
/**
|
|
6503
6537
|
*
|
|
6504
|
-
* @summary Returns all resource types.
|
|
6538
|
+
* @summary Returns all resource types. Both hidden and active, regardless of user affiliation or quota.
|
|
6505
6539
|
* @param {*} [options] Override http request option.
|
|
6506
6540
|
* @throws {RequiredError}
|
|
6507
6541
|
*/
|
|
@@ -6547,10 +6581,23 @@
|
|
|
6547
6581
|
return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
|
|
6548
6582
|
});
|
|
6549
6583
|
},
|
|
6584
|
+
/**
|
|
6585
|
+
*
|
|
6586
|
+
* @summary Returns all enabled resource types according to user\'s affiliation and allocated quota in the project.
|
|
6587
|
+
* @param {string} id Id of the project
|
|
6588
|
+
* @param {*} [options] Override http request option.
|
|
6589
|
+
* @throws {RequiredError}
|
|
6590
|
+
*/
|
|
6591
|
+
resourceTypeGetEnabledResourceTypesAll(id, options) {
|
|
6592
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6593
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.resourceTypeGetEnabledResourceTypesAll(id, options);
|
|
6594
|
+
return createRequestFunction$5(localVarAxiosArgs, axios, BASE_PATH$5, configuration);
|
|
6595
|
+
});
|
|
6596
|
+
},
|
|
6550
6597
|
/**
|
|
6551
6598
|
*
|
|
6552
6599
|
* @summary Returns all fields of the specified resource type.
|
|
6553
|
-
* @param {string} id A
|
|
6600
|
+
* @param {string} id A GUID as a string that identifies the resource.
|
|
6554
6601
|
* @param {*} [options] Override http request option.
|
|
6555
6602
|
* @throws {RequiredError}
|
|
6556
6603
|
*/
|
|
@@ -6562,7 +6609,7 @@
|
|
|
6562
6609
|
},
|
|
6563
6610
|
/**
|
|
6564
6611
|
*
|
|
6565
|
-
* @summary Returns all resource types.
|
|
6612
|
+
* @summary Returns all resource types. Both hidden and active, regardless of user affiliation or quota.
|
|
6566
6613
|
* @param {*} [options] Override http request option.
|
|
6567
6614
|
* @throws {RequiredError}
|
|
6568
6615
|
*/
|
|
@@ -6590,10 +6637,20 @@
|
|
|
6590
6637
|
resourceTypeGetEnabledResourceTypes(options) {
|
|
6591
6638
|
return localVarFp.resourceTypeGetEnabledResourceTypes(options).then((request) => request(axios, basePath));
|
|
6592
6639
|
},
|
|
6640
|
+
/**
|
|
6641
|
+
*
|
|
6642
|
+
* @summary Returns all enabled resource types according to user\'s affiliation and allocated quota in the project.
|
|
6643
|
+
* @param {string} id Id of the project
|
|
6644
|
+
* @param {*} [options] Override http request option.
|
|
6645
|
+
* @throws {RequiredError}
|
|
6646
|
+
*/
|
|
6647
|
+
resourceTypeGetEnabledResourceTypesAll(id, options) {
|
|
6648
|
+
return localVarFp.resourceTypeGetEnabledResourceTypesAll(id, options).then((request) => request(axios, basePath));
|
|
6649
|
+
},
|
|
6593
6650
|
/**
|
|
6594
6651
|
*
|
|
6595
6652
|
* @summary Returns all fields of the specified resource type.
|
|
6596
|
-
* @param {string} id A
|
|
6653
|
+
* @param {string} id A GUID as a string that identifies the resource.
|
|
6597
6654
|
* @param {*} [options] Override http request option.
|
|
6598
6655
|
* @throws {RequiredError}
|
|
6599
6656
|
*/
|
|
@@ -6602,7 +6659,7 @@
|
|
|
6602
6659
|
},
|
|
6603
6660
|
/**
|
|
6604
6661
|
*
|
|
6605
|
-
* @summary Returns all resource types.
|
|
6662
|
+
* @summary Returns all resource types. Both hidden and active, regardless of user affiliation or quota.
|
|
6606
6663
|
* @param {*} [options] Override http request option.
|
|
6607
6664
|
* @throws {RequiredError}
|
|
6608
6665
|
*/
|
|
@@ -6675,6 +6732,18 @@
|
|
|
6675
6732
|
};
|
|
6676
6733
|
|
|
6677
6734
|
/* tslint:disable */
|
|
6735
|
+
/**
|
|
6736
|
+
*
|
|
6737
|
+
* @export
|
|
6738
|
+
* @enum {string}
|
|
6739
|
+
*/
|
|
6740
|
+
var CategoryFilter;
|
|
6741
|
+
(function (CategoryFilter) {
|
|
6742
|
+
CategoryFilter["None"] = "None";
|
|
6743
|
+
CategoryFilter["Resource"] = "Resource";
|
|
6744
|
+
CategoryFilter["Project"] = "Project";
|
|
6745
|
+
CategoryFilter["Metadata"] = "Metadata";
|
|
6746
|
+
})(CategoryFilter || (CategoryFilter = {}));
|
|
6678
6747
|
/**
|
|
6679
6748
|
*
|
|
6680
6749
|
* @export
|
|
@@ -6686,6 +6755,20 @@
|
|
|
6686
6755
|
ItemType["Project"] = "Project";
|
|
6687
6756
|
ItemType["Resource"] = "Resource";
|
|
6688
6757
|
})(ItemType || (ItemType = {}));
|
|
6758
|
+
/**
|
|
6759
|
+
*
|
|
6760
|
+
* @export
|
|
6761
|
+
* @enum {string}
|
|
6762
|
+
*/
|
|
6763
|
+
var OrderBy;
|
|
6764
|
+
(function (OrderBy) {
|
|
6765
|
+
OrderBy["DateCreatedAsc"] = "Date_Created_Asc";
|
|
6766
|
+
OrderBy["DateCreatedDesc"] = "Date_Created_Desc";
|
|
6767
|
+
OrderBy["ScoreAsc"] = "Score_Asc";
|
|
6768
|
+
OrderBy["ScoreDesc"] = "Score_Desc";
|
|
6769
|
+
OrderBy["TitleAsc"] = "Title_Asc";
|
|
6770
|
+
OrderBy["TitleDesc"] = "Title_Desc";
|
|
6771
|
+
})(OrderBy || (OrderBy = {}));
|
|
6689
6772
|
/**
|
|
6690
6773
|
* SearchApi - axios parameter creator
|
|
6691
6774
|
* @export
|
|
@@ -6699,12 +6782,14 @@
|
|
|
6699
6782
|
* @param {boolean} [includeUsers] Specify user or only public metadata records could be found
|
|
6700
6783
|
* @param {boolean} [useAdvancedSyntax] Set true for advanced Elasticsearch search syntax
|
|
6701
6784
|
* @param {Array<string>} [includedLanguages] Set the used languages
|
|
6785
|
+
* @param {CategoryFilter} [categoryFilter] Set the category filter
|
|
6786
|
+
* @param {OrderBy} [orderBy] Set the order for sorting
|
|
6702
6787
|
* @param {number} [pageNumber] The requested page number
|
|
6703
6788
|
* @param {number} [pageSize] The size of a page
|
|
6704
6789
|
* @param {*} [options] Override http request option.
|
|
6705
6790
|
* @throws {RequiredError}
|
|
6706
6791
|
*/
|
|
6707
|
-
searchSearch: (searchQuery, includeUsers, useAdvancedSyntax, includedLanguages, pageNumber, pageSize, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6792
|
+
searchSearch: (searchQuery, includeUsers, useAdvancedSyntax, includedLanguages, categoryFilter, orderBy, pageNumber, pageSize, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6708
6793
|
const localVarPath = `/Search`;
|
|
6709
6794
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6710
6795
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$4);
|
|
@@ -6729,6 +6814,12 @@
|
|
|
6729
6814
|
if (includedLanguages) {
|
|
6730
6815
|
localVarQueryParameter['IncludedLanguages'] = includedLanguages;
|
|
6731
6816
|
}
|
|
6817
|
+
if (categoryFilter !== undefined) {
|
|
6818
|
+
localVarQueryParameter['CategoryFilter'] = categoryFilter;
|
|
6819
|
+
}
|
|
6820
|
+
if (orderBy !== undefined) {
|
|
6821
|
+
localVarQueryParameter['OrderBy'] = orderBy;
|
|
6822
|
+
}
|
|
6732
6823
|
if (pageNumber !== undefined) {
|
|
6733
6824
|
localVarQueryParameter['PageNumber'] = pageNumber;
|
|
6734
6825
|
}
|
|
@@ -6759,14 +6850,16 @@
|
|
|
6759
6850
|
* @param {boolean} [includeUsers] Specify user or only public metadata records could be found
|
|
6760
6851
|
* @param {boolean} [useAdvancedSyntax] Set true for advanced Elasticsearch search syntax
|
|
6761
6852
|
* @param {Array<string>} [includedLanguages] Set the used languages
|
|
6853
|
+
* @param {CategoryFilter} [categoryFilter] Set the category filter
|
|
6854
|
+
* @param {OrderBy} [orderBy] Set the order for sorting
|
|
6762
6855
|
* @param {number} [pageNumber] The requested page number
|
|
6763
6856
|
* @param {number} [pageSize] The size of a page
|
|
6764
6857
|
* @param {*} [options] Override http request option.
|
|
6765
6858
|
* @throws {RequiredError}
|
|
6766
6859
|
*/
|
|
6767
|
-
searchSearch(searchQuery, includeUsers, useAdvancedSyntax, includedLanguages, pageNumber, pageSize, options) {
|
|
6860
|
+
searchSearch(searchQuery, includeUsers, useAdvancedSyntax, includedLanguages, categoryFilter, orderBy, pageNumber, pageSize, options) {
|
|
6768
6861
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6769
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.searchSearch(searchQuery, includeUsers, useAdvancedSyntax, includedLanguages, pageNumber, pageSize, options);
|
|
6862
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.searchSearch(searchQuery, includeUsers, useAdvancedSyntax, includedLanguages, categoryFilter, orderBy, pageNumber, pageSize, options);
|
|
6770
6863
|
return createRequestFunction$4(localVarAxiosArgs, axios, BASE_PATH$4, configuration);
|
|
6771
6864
|
});
|
|
6772
6865
|
},
|
|
@@ -6786,19 +6879,21 @@
|
|
|
6786
6879
|
* @param {boolean} [includeUsers] Specify user or only public metadata records could be found
|
|
6787
6880
|
* @param {boolean} [useAdvancedSyntax] Set true for advanced Elasticsearch search syntax
|
|
6788
6881
|
* @param {Array<string>} [includedLanguages] Set the used languages
|
|
6882
|
+
* @param {CategoryFilter} [categoryFilter] Set the category filter
|
|
6883
|
+
* @param {OrderBy} [orderBy] Set the order for sorting
|
|
6789
6884
|
* @param {number} [pageNumber] The requested page number
|
|
6790
6885
|
* @param {number} [pageSize] The size of a page
|
|
6791
6886
|
* @param {*} [options] Override http request option.
|
|
6792
6887
|
* @throws {RequiredError}
|
|
6793
6888
|
*/
|
|
6794
|
-
searchSearch(searchQuery, includeUsers, useAdvancedSyntax, includedLanguages, pageNumber, pageSize, options) {
|
|
6795
|
-
return localVarFp.searchSearch(searchQuery, includeUsers, useAdvancedSyntax, includedLanguages, pageNumber, pageSize, options).then((request) => request(axios, basePath));
|
|
6889
|
+
searchSearch(searchQuery, includeUsers, useAdvancedSyntax, includedLanguages, categoryFilter, orderBy, pageNumber, pageSize, options) {
|
|
6890
|
+
return localVarFp.searchSearch(searchQuery, includeUsers, useAdvancedSyntax, includedLanguages, categoryFilter, orderBy, pageNumber, pageSize, options).then((request) => request(axios, basePath));
|
|
6796
6891
|
},
|
|
6797
6892
|
};
|
|
6798
6893
|
};
|
|
6799
6894
|
|
|
6800
6895
|
/* tslint:disable */
|
|
6801
|
-
const BASE_PATH$3 = "https://d-
|
|
6896
|
+
const BASE_PATH$3 = "https://d-sp12.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.STS".replace(/\/+$/, "");
|
|
6802
6897
|
|
|
6803
6898
|
/* tslint:disable */
|
|
6804
6899
|
/**
|
|
@@ -7472,7 +7567,7 @@
|
|
|
7472
7567
|
};
|
|
7473
7568
|
|
|
7474
7569
|
/* tslint:disable */
|
|
7475
|
-
const BASE_PATH$2 = "https://d-
|
|
7570
|
+
const BASE_PATH$2 = "https://d-sp12.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Token".replace(/\/+$/, "");
|
|
7476
7571
|
/**
|
|
7477
7572
|
*
|
|
7478
7573
|
* @export
|
|
@@ -7857,7 +7952,7 @@
|
|
|
7857
7952
|
};
|
|
7858
7953
|
|
|
7859
7954
|
/* tslint:disable */
|
|
7860
|
-
const BASE_PATH$1 = "https://d-
|
|
7955
|
+
const BASE_PATH$1 = "https://d-sp12.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Tree".replace(/\/+$/, "");
|
|
7861
7956
|
/**
|
|
7862
7957
|
*
|
|
7863
7958
|
* @export
|
|
@@ -8102,7 +8197,7 @@
|
|
|
8102
8197
|
};
|
|
8103
8198
|
|
|
8104
8199
|
/* tslint:disable */
|
|
8105
|
-
const BASE_PATH = "https://d-
|
|
8200
|
+
const BASE_PATH = "https://d-sp12.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.User".replace(/\/+$/, "");
|
|
8106
8201
|
/**
|
|
8107
8202
|
*
|
|
8108
8203
|
* @export
|