@coscine/api-client 1.3.0 → 1.5.1
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 +282 -227
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +282 -227
- package/dist/index.umd.js.map +1 -1
- package/dist/lib/Coscine.Api.ActivatedFeatures/base.js +1 -1
- package/dist/lib/Coscine.Api.Admin/api.js +13 -13
- 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/api.js +1 -1
- package/dist/lib/Coscine.Api.Metadata/base.js +2 -2
- package/dist/lib/Coscine.Api.Metadata/common.js +1 -1
- package/dist/lib/Coscine.Api.Metadata/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Metadata/index.js +1 -1
- package/dist/lib/Coscine.Api.Notices/api.js +1 -1
- package/dist/lib/Coscine.Api.Notices/base.js +2 -2
- package/dist/lib/Coscine.Api.Notices/common.js +1 -1
- package/dist/lib/Coscine.Api.Notices/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Notices/index.js +1 -1
- package/dist/lib/Coscine.Api.Organization/base.js +1 -1
- package/dist/lib/Coscine.Api.Project/api.js +241 -218
- 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.Quota/api.js +1 -1
- package/dist/lib/Coscine.Api.Quota/base.js +2 -2
- package/dist/lib/Coscine.Api.Quota/common.js +1 -1
- package/dist/lib/Coscine.Api.Quota/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Quota/index.js +1 -1
- package/dist/lib/Coscine.Api.Resources/api.js +29 -29
- 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.Search/api.js +1 -1
- package/dist/lib/Coscine.Api.Search/base.js +2 -2
- 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/api.js +1 -1
- package/dist/lib/Coscine.Api.Token/base.js +2 -2
- package/dist/lib/Coscine.Api.Token/common.js +1 -1
- package/dist/lib/Coscine.Api.Token/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Token/index.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/lib/apis.js +8 -1
- package/dist/lib/apis.js.map +1 -1
- package/dist/lib/axios-basic.js +36 -8
- package/dist/lib/axios-basic.js.map +1 -1
- package/dist/types/Coscine.Api.Admin/api.d.ts +13 -13
- 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.Metadata/api.d.ts +1 -1
- package/dist/types/Coscine.Api.Metadata/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Metadata/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Metadata/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Metadata/index.d.ts +1 -1
- package/dist/types/Coscine.Api.Notices/api.d.ts +1 -1
- package/dist/types/Coscine.Api.Notices/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Notices/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Notices/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Notices/index.d.ts +1 -1
- package/dist/types/Coscine.Api.Project/api.d.ts +376 -1694
- 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.Quota/api.d.ts +1 -1
- package/dist/types/Coscine.Api.Quota/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Quota/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Quota/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Quota/index.d.ts +1 -1
- package/dist/types/Coscine.Api.Resources/api.d.ts +176 -38
- 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 +1 -1
- 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.Token/api.d.ts +1 -1
- package/dist/types/Coscine.Api.Token/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Token/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Token/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Token/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 +11 -11
- package/dist/types/index.d.ts +22 -22
- package/package.json +2 -2
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-
|
|
1852
|
+
const BASE_PATH$c = "https://d-sp10.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.ActivatedFeatures".replace(/\/+$/, "");
|
|
1853
1853
|
/**
|
|
1854
1854
|
*
|
|
1855
1855
|
* @export
|
|
@@ -2331,7 +2331,7 @@ class Configuration {
|
|
|
2331
2331
|
}
|
|
2332
2332
|
|
|
2333
2333
|
/* tslint:disable */
|
|
2334
|
-
const BASE_PATH$b = "https://d-
|
|
2334
|
+
const BASE_PATH$b = "https://d-sp10.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Admin".replace(/\/+$/, "");
|
|
2335
2335
|
/**
|
|
2336
2336
|
*
|
|
2337
2337
|
* @export
|
|
@@ -2437,8 +2437,8 @@ const AdminApiAxiosParamCreator = function (configuration) {
|
|
|
2437
2437
|
return {
|
|
2438
2438
|
/**
|
|
2439
2439
|
*
|
|
2440
|
-
* @summary Find the project related to the
|
|
2441
|
-
* @param {string} projectString Either the id (
|
|
2440
|
+
* @summary Find the project related to the projectString(GUID or slug)
|
|
2441
|
+
* @param {string} projectString Either the id (GUID) of the project or the slug.
|
|
2442
2442
|
* @param {*} [options] Override http request option.
|
|
2443
2443
|
* @throws {RequiredError}
|
|
2444
2444
|
*/
|
|
@@ -2469,7 +2469,7 @@ const AdminApiAxiosParamCreator = function (configuration) {
|
|
|
2469
2469
|
/**
|
|
2470
2470
|
*
|
|
2471
2471
|
* @summary Update the project quota
|
|
2472
|
-
* @param {UpdateQuotaParameterObject} updateQuotaParameterObject
|
|
2472
|
+
* @param {UpdateQuotaParameterObject} updateQuotaParameterObject JSON object for updating quota.
|
|
2473
2473
|
* @param {*} [options] Override http request option.
|
|
2474
2474
|
* @throws {RequiredError}
|
|
2475
2475
|
*/
|
|
@@ -2509,8 +2509,8 @@ const AdminApiFp = function (configuration) {
|
|
|
2509
2509
|
return {
|
|
2510
2510
|
/**
|
|
2511
2511
|
*
|
|
2512
|
-
* @summary Find the project related to the
|
|
2513
|
-
* @param {string} projectString Either the id (
|
|
2512
|
+
* @summary Find the project related to the projectString(GUID or slug)
|
|
2513
|
+
* @param {string} projectString Either the id (GUID) of the project or the slug.
|
|
2514
2514
|
* @param {*} [options] Override http request option.
|
|
2515
2515
|
* @throws {RequiredError}
|
|
2516
2516
|
*/
|
|
@@ -2523,7 +2523,7 @@ const AdminApiFp = function (configuration) {
|
|
|
2523
2523
|
/**
|
|
2524
2524
|
*
|
|
2525
2525
|
* @summary Update the project quota
|
|
2526
|
-
* @param {UpdateQuotaParameterObject} updateQuotaParameterObject
|
|
2526
|
+
* @param {UpdateQuotaParameterObject} updateQuotaParameterObject JSON object for updating quota.
|
|
2527
2527
|
* @param {*} [options] Override http request option.
|
|
2528
2528
|
* @throws {RequiredError}
|
|
2529
2529
|
*/
|
|
@@ -2544,8 +2544,8 @@ const AdminApiFactory = function (configuration, basePath, axios) {
|
|
|
2544
2544
|
return {
|
|
2545
2545
|
/**
|
|
2546
2546
|
*
|
|
2547
|
-
* @summary Find the project related to the
|
|
2548
|
-
* @param {string} projectString Either the id (
|
|
2547
|
+
* @summary Find the project related to the projectString(GUID or slug)
|
|
2548
|
+
* @param {string} projectString Either the id (GUID) of the project or the slug.
|
|
2549
2549
|
* @param {*} [options] Override http request option.
|
|
2550
2550
|
* @throws {RequiredError}
|
|
2551
2551
|
*/
|
|
@@ -2555,7 +2555,7 @@ const AdminApiFactory = function (configuration, basePath, axios) {
|
|
|
2555
2555
|
/**
|
|
2556
2556
|
*
|
|
2557
2557
|
* @summary Update the project quota
|
|
2558
|
-
* @param {UpdateQuotaParameterObject} updateQuotaParameterObject
|
|
2558
|
+
* @param {UpdateQuotaParameterObject} updateQuotaParameterObject JSON object for updating quota.
|
|
2559
2559
|
* @param {*} [options] Override http request option.
|
|
2560
2560
|
* @throws {RequiredError}
|
|
2561
2561
|
*/
|
|
@@ -2566,7 +2566,7 @@ const AdminApiFactory = function (configuration, basePath, axios) {
|
|
|
2566
2566
|
};
|
|
2567
2567
|
|
|
2568
2568
|
/* tslint:disable */
|
|
2569
|
-
const BASE_PATH$a = "https://d-
|
|
2569
|
+
const BASE_PATH$a = "https://d-sp10.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Blob".replace(/\/+$/, "");
|
|
2570
2570
|
/**
|
|
2571
2571
|
*
|
|
2572
2572
|
* @export
|
|
@@ -2992,7 +2992,7 @@ const BlobApiFactory = function (configuration, basePath, axios) {
|
|
|
2992
2992
|
};
|
|
2993
2993
|
|
|
2994
2994
|
/* tslint:disable */
|
|
2995
|
-
const BASE_PATH$9 = "https://d-
|
|
2995
|
+
const BASE_PATH$9 = "https://d-sp10.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Metadata".replace(/\/+$/, "");
|
|
2996
2996
|
/**
|
|
2997
2997
|
*
|
|
2998
2998
|
* @export
|
|
@@ -3431,7 +3431,7 @@ const MetadataApiFactory = function (configuration, basePath, axios) {
|
|
|
3431
3431
|
};
|
|
3432
3432
|
|
|
3433
3433
|
/* tslint:disable */
|
|
3434
|
-
const BASE_PATH$8 = "https://d-
|
|
3434
|
+
const BASE_PATH$8 = "https://d-sp10.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Notices".replace(/\/+$/, "");
|
|
3435
3435
|
/**
|
|
3436
3436
|
*
|
|
3437
3437
|
* @export
|
|
@@ -3652,7 +3652,7 @@ const NoticeApiFactory = function (configuration, basePath, axios) {
|
|
|
3652
3652
|
};
|
|
3653
3653
|
|
|
3654
3654
|
/* tslint:disable */
|
|
3655
|
-
const BASE_PATH$7 = "https://d-
|
|
3655
|
+
const BASE_PATH$7 = "https://d-sp10.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Organization".replace(/\/+$/, "");
|
|
3656
3656
|
/**
|
|
3657
3657
|
*
|
|
3658
3658
|
* @export
|
|
@@ -4035,7 +4035,7 @@ const OrganizationApiFactory = function (configuration, basePath, axios) {
|
|
|
4035
4035
|
};
|
|
4036
4036
|
|
|
4037
4037
|
/* tslint:disable */
|
|
4038
|
-
const BASE_PATH$6 = "https://d-
|
|
4038
|
+
const BASE_PATH$6 = "https://d-sp10.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Project".replace(/\/+$/, "");
|
|
4039
4039
|
/**
|
|
4040
4040
|
*
|
|
4041
4041
|
* @export
|
|
@@ -4287,10 +4287,41 @@ const LicenseApiFactory = function (configuration, basePath, axios) {
|
|
|
4287
4287
|
*/
|
|
4288
4288
|
const ProjectApiAxiosParamCreator = function (configuration) {
|
|
4289
4289
|
return {
|
|
4290
|
+
/**
|
|
4291
|
+
*
|
|
4292
|
+
* @summary Call to analytics logger.
|
|
4293
|
+
* @param {string} projectId Project id of the project
|
|
4294
|
+
* @param {*} [options] Override http request option.
|
|
4295
|
+
* @throws {RequiredError}
|
|
4296
|
+
*/
|
|
4297
|
+
projectCreateApplicationProfile: (projectId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4298
|
+
// verify required parameter 'projectId' is not null or undefined
|
|
4299
|
+
assertParamExists$5('projectCreateApplicationProfile', 'projectId', projectId);
|
|
4300
|
+
const localVarPath = `/Project/{projectId}/-/create-profile`
|
|
4301
|
+
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
4302
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4303
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4304
|
+
let baseOptions;
|
|
4305
|
+
if (configuration) {
|
|
4306
|
+
baseOptions = configuration.baseOptions;
|
|
4307
|
+
}
|
|
4308
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
4309
|
+
const localVarHeaderParameter = {};
|
|
4310
|
+
const localVarQueryParameter = {};
|
|
4311
|
+
// authentication JWT token required
|
|
4312
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4313
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4314
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4315
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4316
|
+
return {
|
|
4317
|
+
url: toPathString$6(localVarUrlObj),
|
|
4318
|
+
options: localVarRequestOptions,
|
|
4319
|
+
};
|
|
4320
|
+
}),
|
|
4290
4321
|
/**
|
|
4291
4322
|
*
|
|
4292
4323
|
* @summary Deletes the selected project
|
|
4293
|
-
* @param {string} id Id of the
|
|
4324
|
+
* @param {string} id Id of the project
|
|
4294
4325
|
* @param {*} [options] Override http request option.
|
|
4295
4326
|
* @throws {RequiredError}
|
|
4296
4327
|
*/
|
|
@@ -4351,8 +4382,8 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
4351
4382
|
}),
|
|
4352
4383
|
/**
|
|
4353
4384
|
*
|
|
4354
|
-
* @summary This returns the
|
|
4355
|
-
* @param {string} id Id of the
|
|
4385
|
+
* @summary This returns the project if the user has access to it
|
|
4386
|
+
* @param {string} id Id of the project
|
|
4356
4387
|
* @param {*} [options] Override http request option.
|
|
4357
4388
|
* @throws {RequiredError}
|
|
4358
4389
|
*/
|
|
@@ -4380,21 +4411,52 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
4380
4411
|
options: localVarRequestOptions,
|
|
4381
4412
|
};
|
|
4382
4413
|
}),
|
|
4414
|
+
/**
|
|
4415
|
+
*
|
|
4416
|
+
* @summary This returns the project if the user has access to it
|
|
4417
|
+
* @param {string} slug Slug of the project
|
|
4418
|
+
* @param {*} [options] Override http request option.
|
|
4419
|
+
* @throws {RequiredError}
|
|
4420
|
+
*/
|
|
4421
|
+
projectGetBySlug: (slug, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4422
|
+
// verify required parameter 'slug' is not null or undefined
|
|
4423
|
+
assertParamExists$5('projectGetBySlug', 'slug', slug);
|
|
4424
|
+
const localVarPath = `/Project/slug/{slug}`
|
|
4425
|
+
.replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
|
|
4426
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4427
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4428
|
+
let baseOptions;
|
|
4429
|
+
if (configuration) {
|
|
4430
|
+
baseOptions = configuration.baseOptions;
|
|
4431
|
+
}
|
|
4432
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
4433
|
+
const localVarHeaderParameter = {};
|
|
4434
|
+
const localVarQueryParameter = {};
|
|
4435
|
+
// authentication JWT token required
|
|
4436
|
+
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4437
|
+
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4438
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4439
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4440
|
+
return {
|
|
4441
|
+
url: toPathString$6(localVarUrlObj),
|
|
4442
|
+
options: localVarRequestOptions,
|
|
4443
|
+
};
|
|
4444
|
+
}),
|
|
4383
4445
|
/**
|
|
4384
4446
|
*
|
|
4385
4447
|
* @summary Get the max quota for a resource type.
|
|
4386
|
-
* @param {string}
|
|
4448
|
+
* @param {string} id Id of the project.
|
|
4387
4449
|
* @param {string} resourceTypeId Id of the resource
|
|
4388
4450
|
* @param {*} [options] Override http request option.
|
|
4389
4451
|
* @throws {RequiredError}
|
|
4390
4452
|
*/
|
|
4391
|
-
projectGetQuotaMax: (
|
|
4392
|
-
// verify required parameter '
|
|
4393
|
-
assertParamExists$5('projectGetQuotaMax', '
|
|
4453
|
+
projectGetQuotaMax: (id, resourceTypeId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4454
|
+
// verify required parameter 'id' is not null or undefined
|
|
4455
|
+
assertParamExists$5('projectGetQuotaMax', 'id', id);
|
|
4394
4456
|
// verify required parameter 'resourceTypeId' is not null or undefined
|
|
4395
4457
|
assertParamExists$5('projectGetQuotaMax', 'resourceTypeId', resourceTypeId);
|
|
4396
|
-
const localVarPath = `/Project/{
|
|
4397
|
-
.replace(`{${"
|
|
4458
|
+
const localVarPath = `/Project/{id}/quota/{resourceTypeId}/max`
|
|
4459
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
4398
4460
|
.replace(`{${"resourceTypeId"}}`, encodeURIComponent(String(resourceTypeId)));
|
|
4399
4461
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4400
4462
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
@@ -4418,7 +4480,7 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
4418
4480
|
/**
|
|
4419
4481
|
*
|
|
4420
4482
|
* @summary Gets the resources
|
|
4421
|
-
* @param {string} id Id of the
|
|
4483
|
+
* @param {string} id Id of the project
|
|
4422
4484
|
* @param {*} [options] Override http request option.
|
|
4423
4485
|
* @throws {RequiredError}
|
|
4424
4486
|
*/
|
|
@@ -4534,18 +4596,18 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
4534
4596
|
/**
|
|
4535
4597
|
*
|
|
4536
4598
|
* @summary Retrieves the quota for the selected project and resource Type.
|
|
4537
|
-
* @param {string}
|
|
4599
|
+
* @param {string} id Id of the project
|
|
4538
4600
|
* @param {string} resourceTypeId Id of the resource type
|
|
4539
4601
|
* @param {*} [options] Override http request option.
|
|
4540
4602
|
* @throws {RequiredError}
|
|
4541
4603
|
*/
|
|
4542
|
-
projectQuota: (
|
|
4543
|
-
// verify required parameter '
|
|
4544
|
-
assertParamExists$5('projectQuota', '
|
|
4604
|
+
projectQuota: (id, resourceTypeId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4605
|
+
// verify required parameter 'id' is not null or undefined
|
|
4606
|
+
assertParamExists$5('projectQuota', 'id', id);
|
|
4545
4607
|
// verify required parameter 'resourceTypeId' is not null or undefined
|
|
4546
4608
|
assertParamExists$5('projectQuota', 'resourceTypeId', resourceTypeId);
|
|
4547
|
-
const localVarPath = `/Project/{
|
|
4548
|
-
.replace(`{${"
|
|
4609
|
+
const localVarPath = `/Project/{id}/quota/{resourceTypeId}`
|
|
4610
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
4549
4611
|
.replace(`{${"resourceTypeId"}}`, encodeURIComponent(String(resourceTypeId)));
|
|
4550
4612
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4551
4613
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
@@ -4569,15 +4631,15 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
4569
4631
|
/**
|
|
4570
4632
|
*
|
|
4571
4633
|
* @summary Retrieves the quota for the selected project.
|
|
4572
|
-
* @param {string}
|
|
4634
|
+
* @param {string} id Id of the project
|
|
4573
4635
|
* @param {*} [options] Override http request option.
|
|
4574
4636
|
* @throws {RequiredError}
|
|
4575
4637
|
*/
|
|
4576
|
-
projectQuotas: (
|
|
4577
|
-
// verify required parameter '
|
|
4578
|
-
assertParamExists$5('projectQuotas', '
|
|
4579
|
-
const localVarPath = `/Project/{
|
|
4580
|
-
.replace(`{${"
|
|
4638
|
+
projectQuotas: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4639
|
+
// verify required parameter 'id' is not null or undefined
|
|
4640
|
+
assertParamExists$5('projectQuotas', 'id', id);
|
|
4641
|
+
const localVarPath = `/Project/{id}/quota/-/all`
|
|
4642
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
4581
4643
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4582
4644
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4583
4645
|
let baseOptions;
|
|
@@ -4663,10 +4725,13 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
4663
4725
|
/**
|
|
4664
4726
|
*
|
|
4665
4727
|
* @summary Creates a project
|
|
4728
|
+
* @param {ProjectObject} projectObject A Project Object
|
|
4666
4729
|
* @param {*} [options] Override http request option.
|
|
4667
4730
|
* @throws {RequiredError}
|
|
4668
4731
|
*/
|
|
4669
|
-
projectStore: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4732
|
+
projectStore: (projectObject, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4733
|
+
// verify required parameter 'projectObject' is not null or undefined
|
|
4734
|
+
assertParamExists$5('projectStore', 'projectObject', projectObject);
|
|
4670
4735
|
const localVarPath = `/Project`;
|
|
4671
4736
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4672
4737
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
@@ -4679,9 +4744,11 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
4679
4744
|
const localVarQueryParameter = {};
|
|
4680
4745
|
// authentication JWT token required
|
|
4681
4746
|
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4747
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4682
4748
|
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4683
4749
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4684
4750
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4751
|
+
localVarRequestOptions.data = serializeDataIfNeeded$4(projectObject, localVarRequestOptions, configuration);
|
|
4685
4752
|
return {
|
|
4686
4753
|
url: toPathString$6(localVarUrlObj),
|
|
4687
4754
|
options: localVarRequestOptions,
|
|
@@ -4690,13 +4757,16 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
4690
4757
|
/**
|
|
4691
4758
|
*
|
|
4692
4759
|
* @summary Updates the selected project
|
|
4693
|
-
* @param {string} id Id of the
|
|
4760
|
+
* @param {string} id Id of the project
|
|
4761
|
+
* @param {ProjectObject} projectObject A Project Object
|
|
4694
4762
|
* @param {*} [options] Override http request option.
|
|
4695
4763
|
* @throws {RequiredError}
|
|
4696
4764
|
*/
|
|
4697
|
-
projectUpdate: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4765
|
+
projectUpdate: (id, projectObject, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4698
4766
|
// verify required parameter 'id' is not null or undefined
|
|
4699
4767
|
assertParamExists$5('projectUpdate', 'id', id);
|
|
4768
|
+
// verify required parameter 'projectObject' is not null or undefined
|
|
4769
|
+
assertParamExists$5('projectUpdate', 'projectObject', projectObject);
|
|
4700
4770
|
const localVarPath = `/Project/{id}`
|
|
4701
4771
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
4702
4772
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -4710,9 +4780,11 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
4710
4780
|
const localVarQueryParameter = {};
|
|
4711
4781
|
// authentication JWT token required
|
|
4712
4782
|
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
4783
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4713
4784
|
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
4714
4785
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4715
4786
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4787
|
+
localVarRequestOptions.data = serializeDataIfNeeded$4(projectObject, localVarRequestOptions, configuration);
|
|
4716
4788
|
return {
|
|
4717
4789
|
url: toPathString$6(localVarUrlObj),
|
|
4718
4790
|
options: localVarRequestOptions,
|
|
@@ -4721,21 +4793,21 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
4721
4793
|
/**
|
|
4722
4794
|
*
|
|
4723
4795
|
* @summary Update the project quota.
|
|
4724
|
-
* @param {string}
|
|
4796
|
+
* @param {string} id Id of the project.
|
|
4725
4797
|
* @param {string} resourceTypeId Id of the resource.
|
|
4726
4798
|
* @param {UpdateProjectQuotaObject} updateProjectQuotaObject Object containing the update values.
|
|
4727
4799
|
* @param {*} [options] Override http request option.
|
|
4728
4800
|
* @throws {RequiredError}
|
|
4729
4801
|
*/
|
|
4730
|
-
projectUpdateQuota: (
|
|
4731
|
-
// verify required parameter '
|
|
4732
|
-
assertParamExists$5('projectUpdateQuota', '
|
|
4802
|
+
projectUpdateQuota: (id, resourceTypeId, updateProjectQuotaObject, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4803
|
+
// verify required parameter 'id' is not null or undefined
|
|
4804
|
+
assertParamExists$5('projectUpdateQuota', 'id', id);
|
|
4733
4805
|
// verify required parameter 'resourceTypeId' is not null or undefined
|
|
4734
4806
|
assertParamExists$5('projectUpdateQuota', 'resourceTypeId', resourceTypeId);
|
|
4735
4807
|
// verify required parameter 'updateProjectQuotaObject' is not null or undefined
|
|
4736
4808
|
assertParamExists$5('projectUpdateQuota', 'updateProjectQuotaObject', updateProjectQuotaObject);
|
|
4737
|
-
const localVarPath = `/Project/{
|
|
4738
|
-
.replace(`{${"
|
|
4809
|
+
const localVarPath = `/Project/{id}/quota/{resourceTypeId}`
|
|
4810
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
4739
4811
|
.replace(`{${"resourceTypeId"}}`, encodeURIComponent(String(resourceTypeId)));
|
|
4740
4812
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4741
4813
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
@@ -4767,10 +4839,23 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
4767
4839
|
const ProjectApiFp = function (configuration) {
|
|
4768
4840
|
const localVarAxiosParamCreator = ProjectApiAxiosParamCreator(configuration);
|
|
4769
4841
|
return {
|
|
4842
|
+
/**
|
|
4843
|
+
*
|
|
4844
|
+
* @summary Call to analytics logger.
|
|
4845
|
+
* @param {string} projectId Project id of the project
|
|
4846
|
+
* @param {*} [options] Override http request option.
|
|
4847
|
+
* @throws {RequiredError}
|
|
4848
|
+
*/
|
|
4849
|
+
projectCreateApplicationProfile(projectId, options) {
|
|
4850
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4851
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectCreateApplicationProfile(projectId, options);
|
|
4852
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4853
|
+
});
|
|
4854
|
+
},
|
|
4770
4855
|
/**
|
|
4771
4856
|
*
|
|
4772
4857
|
* @summary Deletes the selected project
|
|
4773
|
-
* @param {string} id Id of the
|
|
4858
|
+
* @param {string} id Id of the project
|
|
4774
4859
|
* @param {*} [options] Override http request option.
|
|
4775
4860
|
* @throws {RequiredError}
|
|
4776
4861
|
*/
|
|
@@ -4795,8 +4880,8 @@ const ProjectApiFp = function (configuration) {
|
|
|
4795
4880
|
},
|
|
4796
4881
|
/**
|
|
4797
4882
|
*
|
|
4798
|
-
* @summary This returns the
|
|
4799
|
-
* @param {string} id Id of the
|
|
4883
|
+
* @summary This returns the project if the user has access to it
|
|
4884
|
+
* @param {string} id Id of the project
|
|
4800
4885
|
* @param {*} [options] Override http request option.
|
|
4801
4886
|
* @throws {RequiredError}
|
|
4802
4887
|
*/
|
|
@@ -4806,24 +4891,37 @@ const ProjectApiFp = function (configuration) {
|
|
|
4806
4891
|
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4807
4892
|
});
|
|
4808
4893
|
},
|
|
4894
|
+
/**
|
|
4895
|
+
*
|
|
4896
|
+
* @summary This returns the project if the user has access to it
|
|
4897
|
+
* @param {string} slug Slug of the project
|
|
4898
|
+
* @param {*} [options] Override http request option.
|
|
4899
|
+
* @throws {RequiredError}
|
|
4900
|
+
*/
|
|
4901
|
+
projectGetBySlug(slug, options) {
|
|
4902
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4903
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectGetBySlug(slug, options);
|
|
4904
|
+
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4905
|
+
});
|
|
4906
|
+
},
|
|
4809
4907
|
/**
|
|
4810
4908
|
*
|
|
4811
4909
|
* @summary Get the max quota for a resource type.
|
|
4812
|
-
* @param {string}
|
|
4910
|
+
* @param {string} id Id of the project.
|
|
4813
4911
|
* @param {string} resourceTypeId Id of the resource
|
|
4814
4912
|
* @param {*} [options] Override http request option.
|
|
4815
4913
|
* @throws {RequiredError}
|
|
4816
4914
|
*/
|
|
4817
|
-
projectGetQuotaMax(
|
|
4915
|
+
projectGetQuotaMax(id, resourceTypeId, options) {
|
|
4818
4916
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4819
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectGetQuotaMax(
|
|
4917
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectGetQuotaMax(id, resourceTypeId, options);
|
|
4820
4918
|
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4821
4919
|
});
|
|
4822
4920
|
},
|
|
4823
4921
|
/**
|
|
4824
4922
|
*
|
|
4825
4923
|
* @summary Gets the resources
|
|
4826
|
-
* @param {string} id Id of the
|
|
4924
|
+
* @param {string} id Id of the project
|
|
4827
4925
|
* @param {*} [options] Override http request option.
|
|
4828
4926
|
* @throws {RequiredError}
|
|
4829
4927
|
*/
|
|
@@ -4873,27 +4971,27 @@ const ProjectApiFp = function (configuration) {
|
|
|
4873
4971
|
/**
|
|
4874
4972
|
*
|
|
4875
4973
|
* @summary Retrieves the quota for the selected project and resource Type.
|
|
4876
|
-
* @param {string}
|
|
4974
|
+
* @param {string} id Id of the project
|
|
4877
4975
|
* @param {string} resourceTypeId Id of the resource type
|
|
4878
4976
|
* @param {*} [options] Override http request option.
|
|
4879
4977
|
* @throws {RequiredError}
|
|
4880
4978
|
*/
|
|
4881
|
-
projectQuota(
|
|
4979
|
+
projectQuota(id, resourceTypeId, options) {
|
|
4882
4980
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4883
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectQuota(
|
|
4981
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectQuota(id, resourceTypeId, options);
|
|
4884
4982
|
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4885
4983
|
});
|
|
4886
4984
|
},
|
|
4887
4985
|
/**
|
|
4888
4986
|
*
|
|
4889
4987
|
* @summary Retrieves the quota for the selected project.
|
|
4890
|
-
* @param {string}
|
|
4988
|
+
* @param {string} id Id of the project
|
|
4891
4989
|
* @param {*} [options] Override http request option.
|
|
4892
4990
|
* @throws {RequiredError}
|
|
4893
4991
|
*/
|
|
4894
|
-
projectQuotas(
|
|
4992
|
+
projectQuotas(id, options) {
|
|
4895
4993
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4896
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectQuotas(
|
|
4994
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectQuotas(id, options);
|
|
4897
4995
|
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4898
4996
|
});
|
|
4899
4997
|
},
|
|
@@ -4926,40 +5024,42 @@ const ProjectApiFp = function (configuration) {
|
|
|
4926
5024
|
/**
|
|
4927
5025
|
*
|
|
4928
5026
|
* @summary Creates a project
|
|
5027
|
+
* @param {ProjectObject} projectObject A Project Object
|
|
4929
5028
|
* @param {*} [options] Override http request option.
|
|
4930
5029
|
* @throws {RequiredError}
|
|
4931
5030
|
*/
|
|
4932
|
-
projectStore(options) {
|
|
5031
|
+
projectStore(projectObject, options) {
|
|
4933
5032
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4934
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectStore(options);
|
|
5033
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectStore(projectObject, options);
|
|
4935
5034
|
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4936
5035
|
});
|
|
4937
5036
|
},
|
|
4938
5037
|
/**
|
|
4939
5038
|
*
|
|
4940
5039
|
* @summary Updates the selected project
|
|
4941
|
-
* @param {string} id Id of the
|
|
5040
|
+
* @param {string} id Id of the project
|
|
5041
|
+
* @param {ProjectObject} projectObject A Project Object
|
|
4942
5042
|
* @param {*} [options] Override http request option.
|
|
4943
5043
|
* @throws {RequiredError}
|
|
4944
5044
|
*/
|
|
4945
|
-
projectUpdate(id, options) {
|
|
5045
|
+
projectUpdate(id, projectObject, options) {
|
|
4946
5046
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4947
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectUpdate(id, options);
|
|
5047
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectUpdate(id, projectObject, options);
|
|
4948
5048
|
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4949
5049
|
});
|
|
4950
5050
|
},
|
|
4951
5051
|
/**
|
|
4952
5052
|
*
|
|
4953
5053
|
* @summary Update the project quota.
|
|
4954
|
-
* @param {string}
|
|
5054
|
+
* @param {string} id Id of the project.
|
|
4955
5055
|
* @param {string} resourceTypeId Id of the resource.
|
|
4956
5056
|
* @param {UpdateProjectQuotaObject} updateProjectQuotaObject Object containing the update values.
|
|
4957
5057
|
* @param {*} [options] Override http request option.
|
|
4958
5058
|
* @throws {RequiredError}
|
|
4959
5059
|
*/
|
|
4960
|
-
projectUpdateQuota(
|
|
5060
|
+
projectUpdateQuota(id, resourceTypeId, updateProjectQuotaObject, options) {
|
|
4961
5061
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4962
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectUpdateQuota(
|
|
5062
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectUpdateQuota(id, resourceTypeId, updateProjectQuotaObject, options);
|
|
4963
5063
|
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
4964
5064
|
});
|
|
4965
5065
|
},
|
|
@@ -4972,10 +5072,20 @@ const ProjectApiFp = function (configuration) {
|
|
|
4972
5072
|
const ProjectApiFactory = function (configuration, basePath, axios) {
|
|
4973
5073
|
const localVarFp = ProjectApiFp(configuration);
|
|
4974
5074
|
return {
|
|
5075
|
+
/**
|
|
5076
|
+
*
|
|
5077
|
+
* @summary Call to analytics logger.
|
|
5078
|
+
* @param {string} projectId Project id of the project
|
|
5079
|
+
* @param {*} [options] Override http request option.
|
|
5080
|
+
* @throws {RequiredError}
|
|
5081
|
+
*/
|
|
5082
|
+
projectCreateApplicationProfile(projectId, options) {
|
|
5083
|
+
return localVarFp.projectCreateApplicationProfile(projectId, options).then((request) => request(axios, basePath));
|
|
5084
|
+
},
|
|
4975
5085
|
/**
|
|
4976
5086
|
*
|
|
4977
5087
|
* @summary Deletes the selected project
|
|
4978
|
-
* @param {string} id Id of the
|
|
5088
|
+
* @param {string} id Id of the project
|
|
4979
5089
|
* @param {*} [options] Override http request option.
|
|
4980
5090
|
* @throws {RequiredError}
|
|
4981
5091
|
*/
|
|
@@ -4994,29 +5104,39 @@ const ProjectApiFactory = function (configuration, basePath, axios) {
|
|
|
4994
5104
|
},
|
|
4995
5105
|
/**
|
|
4996
5106
|
*
|
|
4997
|
-
* @summary This returns the
|
|
4998
|
-
* @param {string} id Id of the
|
|
5107
|
+
* @summary This returns the project if the user has access to it
|
|
5108
|
+
* @param {string} id Id of the project
|
|
4999
5109
|
* @param {*} [options] Override http request option.
|
|
5000
5110
|
* @throws {RequiredError}
|
|
5001
5111
|
*/
|
|
5002
5112
|
projectGet(id, options) {
|
|
5003
5113
|
return localVarFp.projectGet(id, options).then((request) => request(axios, basePath));
|
|
5004
5114
|
},
|
|
5115
|
+
/**
|
|
5116
|
+
*
|
|
5117
|
+
* @summary This returns the project if the user has access to it
|
|
5118
|
+
* @param {string} slug Slug of the project
|
|
5119
|
+
* @param {*} [options] Override http request option.
|
|
5120
|
+
* @throws {RequiredError}
|
|
5121
|
+
*/
|
|
5122
|
+
projectGetBySlug(slug, options) {
|
|
5123
|
+
return localVarFp.projectGetBySlug(slug, options).then((request) => request(axios, basePath));
|
|
5124
|
+
},
|
|
5005
5125
|
/**
|
|
5006
5126
|
*
|
|
5007
5127
|
* @summary Get the max quota for a resource type.
|
|
5008
|
-
* @param {string}
|
|
5128
|
+
* @param {string} id Id of the project.
|
|
5009
5129
|
* @param {string} resourceTypeId Id of the resource
|
|
5010
5130
|
* @param {*} [options] Override http request option.
|
|
5011
5131
|
* @throws {RequiredError}
|
|
5012
5132
|
*/
|
|
5013
|
-
projectGetQuotaMax(
|
|
5014
|
-
return localVarFp.projectGetQuotaMax(
|
|
5133
|
+
projectGetQuotaMax(id, resourceTypeId, options) {
|
|
5134
|
+
return localVarFp.projectGetQuotaMax(id, resourceTypeId, options).then((request) => request(axios, basePath));
|
|
5015
5135
|
},
|
|
5016
5136
|
/**
|
|
5017
5137
|
*
|
|
5018
5138
|
* @summary Gets the resources
|
|
5019
|
-
* @param {string} id Id of the
|
|
5139
|
+
* @param {string} id Id of the project
|
|
5020
5140
|
* @param {*} [options] Override http request option.
|
|
5021
5141
|
* @throws {RequiredError}
|
|
5022
5142
|
*/
|
|
@@ -5054,23 +5174,23 @@ const ProjectApiFactory = function (configuration, basePath, axios) {
|
|
|
5054
5174
|
/**
|
|
5055
5175
|
*
|
|
5056
5176
|
* @summary Retrieves the quota for the selected project and resource Type.
|
|
5057
|
-
* @param {string}
|
|
5177
|
+
* @param {string} id Id of the project
|
|
5058
5178
|
* @param {string} resourceTypeId Id of the resource type
|
|
5059
5179
|
* @param {*} [options] Override http request option.
|
|
5060
5180
|
* @throws {RequiredError}
|
|
5061
5181
|
*/
|
|
5062
|
-
projectQuota(
|
|
5063
|
-
return localVarFp.projectQuota(
|
|
5182
|
+
projectQuota(id, resourceTypeId, options) {
|
|
5183
|
+
return localVarFp.projectQuota(id, resourceTypeId, options).then((request) => request(axios, basePath));
|
|
5064
5184
|
},
|
|
5065
5185
|
/**
|
|
5066
5186
|
*
|
|
5067
5187
|
* @summary Retrieves the quota for the selected project.
|
|
5068
|
-
* @param {string}
|
|
5188
|
+
* @param {string} id Id of the project
|
|
5069
5189
|
* @param {*} [options] Override http request option.
|
|
5070
5190
|
* @throws {RequiredError}
|
|
5071
5191
|
*/
|
|
5072
|
-
projectQuotas(
|
|
5073
|
-
return localVarFp.projectQuotas(
|
|
5192
|
+
projectQuotas(id, options) {
|
|
5193
|
+
return localVarFp.projectQuotas(id, options).then((request) => request(axios, basePath));
|
|
5074
5194
|
},
|
|
5075
5195
|
/**
|
|
5076
5196
|
*
|
|
@@ -5095,33 +5215,35 @@ const ProjectApiFactory = function (configuration, basePath, axios) {
|
|
|
5095
5215
|
/**
|
|
5096
5216
|
*
|
|
5097
5217
|
* @summary Creates a project
|
|
5218
|
+
* @param {ProjectObject} projectObject A Project Object
|
|
5098
5219
|
* @param {*} [options] Override http request option.
|
|
5099
5220
|
* @throws {RequiredError}
|
|
5100
5221
|
*/
|
|
5101
|
-
projectStore(options) {
|
|
5102
|
-
return localVarFp.projectStore(options).then((request) => request(axios, basePath));
|
|
5222
|
+
projectStore(projectObject, options) {
|
|
5223
|
+
return localVarFp.projectStore(projectObject, options).then((request) => request(axios, basePath));
|
|
5103
5224
|
},
|
|
5104
5225
|
/**
|
|
5105
5226
|
*
|
|
5106
5227
|
* @summary Updates the selected project
|
|
5107
|
-
* @param {string} id Id of the
|
|
5228
|
+
* @param {string} id Id of the project
|
|
5229
|
+
* @param {ProjectObject} projectObject A Project Object
|
|
5108
5230
|
* @param {*} [options] Override http request option.
|
|
5109
5231
|
* @throws {RequiredError}
|
|
5110
5232
|
*/
|
|
5111
|
-
projectUpdate(id, options) {
|
|
5112
|
-
return localVarFp.projectUpdate(id, options).then((request) => request(axios, basePath));
|
|
5233
|
+
projectUpdate(id, projectObject, options) {
|
|
5234
|
+
return localVarFp.projectUpdate(id, projectObject, options).then((request) => request(axios, basePath));
|
|
5113
5235
|
},
|
|
5114
5236
|
/**
|
|
5115
5237
|
*
|
|
5116
5238
|
* @summary Update the project quota.
|
|
5117
|
-
* @param {string}
|
|
5239
|
+
* @param {string} id Id of the project.
|
|
5118
5240
|
* @param {string} resourceTypeId Id of the resource.
|
|
5119
5241
|
* @param {UpdateProjectQuotaObject} updateProjectQuotaObject Object containing the update values.
|
|
5120
5242
|
* @param {*} [options] Override http request option.
|
|
5121
5243
|
* @throws {RequiredError}
|
|
5122
5244
|
*/
|
|
5123
|
-
projectUpdateQuota(
|
|
5124
|
-
return localVarFp.projectUpdateQuota(
|
|
5245
|
+
projectUpdateQuota(id, resourceTypeId, updateProjectQuotaObject, options) {
|
|
5246
|
+
return localVarFp.projectUpdateQuota(id, resourceTypeId, updateProjectQuotaObject, options).then((request) => request(axios, basePath));
|
|
5125
5247
|
},
|
|
5126
5248
|
};
|
|
5127
5249
|
};
|
|
@@ -5538,33 +5660,6 @@ const SearchApiAxiosParamCreator = function (configuration) {
|
|
|
5538
5660
|
options: localVarRequestOptions,
|
|
5539
5661
|
};
|
|
5540
5662
|
}),
|
|
5541
|
-
/**
|
|
5542
|
-
*
|
|
5543
|
-
* @summary Searchs no filter
|
|
5544
|
-
* @param {*} [options] Override http request option.
|
|
5545
|
-
* @throws {RequiredError}
|
|
5546
|
-
*/
|
|
5547
|
-
searchSearchNoFilter: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5548
|
-
const localVarPath = `/Search/allNoFilter`;
|
|
5549
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5550
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
5551
|
-
let baseOptions;
|
|
5552
|
-
if (configuration) {
|
|
5553
|
-
baseOptions = configuration.baseOptions;
|
|
5554
|
-
}
|
|
5555
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
5556
|
-
const localVarHeaderParameter = {};
|
|
5557
|
-
const localVarQueryParameter = {};
|
|
5558
|
-
// authentication JWT token required
|
|
5559
|
-
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
5560
|
-
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5561
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5562
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5563
|
-
return {
|
|
5564
|
-
url: toPathString$6(localVarUrlObj),
|
|
5565
|
-
options: localVarRequestOptions,
|
|
5566
|
-
};
|
|
5567
|
-
}),
|
|
5568
5663
|
/**
|
|
5569
5664
|
*
|
|
5570
5665
|
* @summary Returns searched projects
|
|
@@ -5600,37 +5695,6 @@ const SearchApiAxiosParamCreator = function (configuration) {
|
|
|
5600
5695
|
options: localVarRequestOptions,
|
|
5601
5696
|
};
|
|
5602
5697
|
}),
|
|
5603
|
-
/**
|
|
5604
|
-
*
|
|
5605
|
-
* @summary Returns searched projects with no filter
|
|
5606
|
-
* @param {string} projectId Id of the project
|
|
5607
|
-
* @param {*} [options] Override http request option.
|
|
5608
|
-
* @throws {RequiredError}
|
|
5609
|
-
*/
|
|
5610
|
-
searchSearchProjectNoFilter: (projectId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5611
|
-
// verify required parameter 'projectId' is not null or undefined
|
|
5612
|
-
assertParamExists$5('searchSearchProjectNoFilter', 'projectId', projectId);
|
|
5613
|
-
const localVarPath = `/Search/projectNoFilter/{projectId}`
|
|
5614
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
5615
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5616
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
5617
|
-
let baseOptions;
|
|
5618
|
-
if (configuration) {
|
|
5619
|
-
baseOptions = configuration.baseOptions;
|
|
5620
|
-
}
|
|
5621
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
5622
|
-
const localVarHeaderParameter = {};
|
|
5623
|
-
const localVarQueryParameter = {};
|
|
5624
|
-
// authentication JWT token required
|
|
5625
|
-
yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
|
|
5626
|
-
setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
|
|
5627
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5628
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5629
|
-
return {
|
|
5630
|
-
url: toPathString$6(localVarUrlObj),
|
|
5631
|
-
options: localVarRequestOptions,
|
|
5632
|
-
};
|
|
5633
|
-
}),
|
|
5634
5698
|
};
|
|
5635
5699
|
};
|
|
5636
5700
|
/**
|
|
@@ -5653,18 +5717,6 @@ const SearchApiFp = function (configuration) {
|
|
|
5653
5717
|
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5654
5718
|
});
|
|
5655
5719
|
},
|
|
5656
|
-
/**
|
|
5657
|
-
*
|
|
5658
|
-
* @summary Searchs no filter
|
|
5659
|
-
* @param {*} [options] Override http request option.
|
|
5660
|
-
* @throws {RequiredError}
|
|
5661
|
-
*/
|
|
5662
|
-
searchSearchNoFilter(options) {
|
|
5663
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
5664
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.searchSearchNoFilter(options);
|
|
5665
|
-
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5666
|
-
});
|
|
5667
|
-
},
|
|
5668
5720
|
/**
|
|
5669
5721
|
*
|
|
5670
5722
|
* @summary Returns searched projects
|
|
@@ -5679,19 +5731,6 @@ const SearchApiFp = function (configuration) {
|
|
|
5679
5731
|
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5680
5732
|
});
|
|
5681
5733
|
},
|
|
5682
|
-
/**
|
|
5683
|
-
*
|
|
5684
|
-
* @summary Returns searched projects with no filter
|
|
5685
|
-
* @param {string} projectId Id of the project
|
|
5686
|
-
* @param {*} [options] Override http request option.
|
|
5687
|
-
* @throws {RequiredError}
|
|
5688
|
-
*/
|
|
5689
|
-
searchSearchProjectNoFilter(projectId, options) {
|
|
5690
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
5691
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.searchSearchProjectNoFilter(projectId, options);
|
|
5692
|
-
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5693
|
-
});
|
|
5694
|
-
},
|
|
5695
5734
|
};
|
|
5696
5735
|
};
|
|
5697
5736
|
/**
|
|
@@ -5711,15 +5750,6 @@ const SearchApiFactory = function (configuration, basePath, axios) {
|
|
|
5711
5750
|
searchSearch(encodedSearchWord, options) {
|
|
5712
5751
|
return localVarFp.searchSearch(encodedSearchWord, options).then((request) => request(axios, basePath));
|
|
5713
5752
|
},
|
|
5714
|
-
/**
|
|
5715
|
-
*
|
|
5716
|
-
* @summary Searchs no filter
|
|
5717
|
-
* @param {*} [options] Override http request option.
|
|
5718
|
-
* @throws {RequiredError}
|
|
5719
|
-
*/
|
|
5720
|
-
searchSearchNoFilter(options) {
|
|
5721
|
-
return localVarFp.searchSearchNoFilter(options).then((request) => request(axios, basePath));
|
|
5722
|
-
},
|
|
5723
5753
|
/**
|
|
5724
5754
|
*
|
|
5725
5755
|
* @summary Returns searched projects
|
|
@@ -5731,16 +5761,6 @@ const SearchApiFactory = function (configuration, basePath, axios) {
|
|
|
5731
5761
|
searchSearchProject(projectId, encodedSearchWord, options) {
|
|
5732
5762
|
return localVarFp.searchSearchProject(projectId, encodedSearchWord, options).then((request) => request(axios, basePath));
|
|
5733
5763
|
},
|
|
5734
|
-
/**
|
|
5735
|
-
*
|
|
5736
|
-
* @summary Returns searched projects with no filter
|
|
5737
|
-
* @param {string} projectId Id of the project
|
|
5738
|
-
* @param {*} [options] Override http request option.
|
|
5739
|
-
* @throws {RequiredError}
|
|
5740
|
-
*/
|
|
5741
|
-
searchSearchProjectNoFilter(projectId, options) {
|
|
5742
|
-
return localVarFp.searchSearchProjectNoFilter(projectId, options).then((request) => request(axios, basePath));
|
|
5743
|
-
},
|
|
5744
5764
|
};
|
|
5745
5765
|
};
|
|
5746
5766
|
/**
|
|
@@ -5953,7 +5973,7 @@ const VisibilityApiFactory = function (configuration, basePath, axios) {
|
|
|
5953
5973
|
};
|
|
5954
5974
|
|
|
5955
5975
|
/* tslint:disable */
|
|
5956
|
-
const BASE_PATH$5 = "https://d-
|
|
5976
|
+
const BASE_PATH$5 = "https://d-sp10.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Quota".replace(/\/+$/, "");
|
|
5957
5977
|
/**
|
|
5958
5978
|
*
|
|
5959
5979
|
* @export
|
|
@@ -6254,7 +6274,7 @@ const QuotaApiFactory = function (configuration, basePath, axios) {
|
|
|
6254
6274
|
};
|
|
6255
6275
|
|
|
6256
6276
|
/* tslint:disable */
|
|
6257
|
-
const BASE_PATH$4 = "https://d-
|
|
6277
|
+
const BASE_PATH$4 = "https://d-sp10.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Resources".replace(/\/+$/, "");
|
|
6258
6278
|
/**
|
|
6259
6279
|
*
|
|
6260
6280
|
* @export
|
|
@@ -6361,7 +6381,7 @@ const ResourceApiAxiosParamCreator = function (configuration) {
|
|
|
6361
6381
|
/**
|
|
6362
6382
|
*
|
|
6363
6383
|
* @summary This deletes the specified resource.
|
|
6364
|
-
* @param {string} id A
|
|
6384
|
+
* @param {string} id A GUID as a string that identifies the resource.
|
|
6365
6385
|
* @param {*} [options] Override http request option.
|
|
6366
6386
|
* @throws {RequiredError}
|
|
6367
6387
|
*/
|
|
@@ -6392,7 +6412,7 @@ const ResourceApiAxiosParamCreator = function (configuration) {
|
|
|
6392
6412
|
/**
|
|
6393
6413
|
*
|
|
6394
6414
|
* @summary This returns the resource for the specified id.
|
|
6395
|
-
* @param {string} id A
|
|
6415
|
+
* @param {string} id A GUID as a string that identifies the resource.
|
|
6396
6416
|
* @param {*} [options] Override http request option.
|
|
6397
6417
|
* @throws {RequiredError}
|
|
6398
6418
|
*/
|
|
@@ -6450,7 +6470,7 @@ const ResourceApiAxiosParamCreator = function (configuration) {
|
|
|
6450
6470
|
/**
|
|
6451
6471
|
*
|
|
6452
6472
|
* @summary This returns if the current user is the creator of the specified resource.
|
|
6453
|
-
* @param {string} id A
|
|
6473
|
+
* @param {string} id A GUID as a string that identifies the resource.
|
|
6454
6474
|
* @param {*} [options] Override http request option.
|
|
6455
6475
|
* @throws {RequiredError}
|
|
6456
6476
|
*/
|
|
@@ -6480,8 +6500,8 @@ const ResourceApiAxiosParamCreator = function (configuration) {
|
|
|
6480
6500
|
}),
|
|
6481
6501
|
/**
|
|
6482
6502
|
*
|
|
6483
|
-
* @summary This returns the
|
|
6484
|
-
* @param {string} id A
|
|
6503
|
+
* @summary This returns the read only status of the given resource.
|
|
6504
|
+
* @param {string} id A GUID as a string that identifies the resource.
|
|
6485
6505
|
* @param {boolean} [status] A boolean value that specifies if the resource is archived.
|
|
6486
6506
|
* @param {*} [options] Override http request option.
|
|
6487
6507
|
* @throws {RequiredError}
|
|
@@ -6516,7 +6536,7 @@ const ResourceApiAxiosParamCreator = function (configuration) {
|
|
|
6516
6536
|
/**
|
|
6517
6537
|
*
|
|
6518
6538
|
* @summary This stores the provided resource object for the specified project.
|
|
6519
|
-
* @param {string} projectId A
|
|
6539
|
+
* @param {string} projectId A GUID as a string that identifies the resource.
|
|
6520
6540
|
* @param {ResourceObject} resourceObject Entry representing the user
|
|
6521
6541
|
* @param {*} [options] Override http request option.
|
|
6522
6542
|
* @throws {RequiredError}
|
|
@@ -6552,7 +6572,7 @@ const ResourceApiAxiosParamCreator = function (configuration) {
|
|
|
6552
6572
|
/**
|
|
6553
6573
|
*
|
|
6554
6574
|
* @summary This returns if the current user is the creator of the specified resource.
|
|
6555
|
-
* @param {string} id A
|
|
6575
|
+
* @param {string} id A GUID as a string that identifies the resource.
|
|
6556
6576
|
* @param {ResourceObject} resourceObject Entry representing the user
|
|
6557
6577
|
* @param {*} [options] Override http request option.
|
|
6558
6578
|
* @throws {RequiredError}
|
|
@@ -6597,7 +6617,7 @@ const ResourceApiFp = function (configuration) {
|
|
|
6597
6617
|
/**
|
|
6598
6618
|
*
|
|
6599
6619
|
* @summary This deletes the specified resource.
|
|
6600
|
-
* @param {string} id A
|
|
6620
|
+
* @param {string} id A GUID as a string that identifies the resource.
|
|
6601
6621
|
* @param {*} [options] Override http request option.
|
|
6602
6622
|
* @throws {RequiredError}
|
|
6603
6623
|
*/
|
|
@@ -6610,7 +6630,7 @@ const ResourceApiFp = function (configuration) {
|
|
|
6610
6630
|
/**
|
|
6611
6631
|
*
|
|
6612
6632
|
* @summary This returns the resource for the specified id.
|
|
6613
|
-
* @param {string} id A
|
|
6633
|
+
* @param {string} id A GUID as a string that identifies the resource.
|
|
6614
6634
|
* @param {*} [options] Override http request option.
|
|
6615
6635
|
* @throws {RequiredError}
|
|
6616
6636
|
*/
|
|
@@ -6635,7 +6655,7 @@ const ResourceApiFp = function (configuration) {
|
|
|
6635
6655
|
/**
|
|
6636
6656
|
*
|
|
6637
6657
|
* @summary This returns if the current user is the creator of the specified resource.
|
|
6638
|
-
* @param {string} id A
|
|
6658
|
+
* @param {string} id A GUID as a string that identifies the resource.
|
|
6639
6659
|
* @param {*} [options] Override http request option.
|
|
6640
6660
|
* @throws {RequiredError}
|
|
6641
6661
|
*/
|
|
@@ -6647,8 +6667,8 @@ const ResourceApiFp = function (configuration) {
|
|
|
6647
6667
|
},
|
|
6648
6668
|
/**
|
|
6649
6669
|
*
|
|
6650
|
-
* @summary This returns the
|
|
6651
|
-
* @param {string} id A
|
|
6670
|
+
* @summary This returns the read only status of the given resource.
|
|
6671
|
+
* @param {string} id A GUID as a string that identifies the resource.
|
|
6652
6672
|
* @param {boolean} [status] A boolean value that specifies if the resource is archived.
|
|
6653
6673
|
* @param {*} [options] Override http request option.
|
|
6654
6674
|
* @throws {RequiredError}
|
|
@@ -6662,7 +6682,7 @@ const ResourceApiFp = function (configuration) {
|
|
|
6662
6682
|
/**
|
|
6663
6683
|
*
|
|
6664
6684
|
* @summary This stores the provided resource object for the specified project.
|
|
6665
|
-
* @param {string} projectId A
|
|
6685
|
+
* @param {string} projectId A GUID as a string that identifies the resource.
|
|
6666
6686
|
* @param {ResourceObject} resourceObject Entry representing the user
|
|
6667
6687
|
* @param {*} [options] Override http request option.
|
|
6668
6688
|
* @throws {RequiredError}
|
|
@@ -6676,7 +6696,7 @@ const ResourceApiFp = function (configuration) {
|
|
|
6676
6696
|
/**
|
|
6677
6697
|
*
|
|
6678
6698
|
* @summary This returns if the current user is the creator of the specified resource.
|
|
6679
|
-
* @param {string} id A
|
|
6699
|
+
* @param {string} id A GUID as a string that identifies the resource.
|
|
6680
6700
|
* @param {ResourceObject} resourceObject Entry representing the user
|
|
6681
6701
|
* @param {*} [options] Override http request option.
|
|
6682
6702
|
* @throws {RequiredError}
|
|
@@ -6699,7 +6719,7 @@ const ResourceApiFactory = function (configuration, basePath, axios) {
|
|
|
6699
6719
|
/**
|
|
6700
6720
|
*
|
|
6701
6721
|
* @summary This deletes the specified resource.
|
|
6702
|
-
* @param {string} id A
|
|
6722
|
+
* @param {string} id A GUID as a string that identifies the resource.
|
|
6703
6723
|
* @param {*} [options] Override http request option.
|
|
6704
6724
|
* @throws {RequiredError}
|
|
6705
6725
|
*/
|
|
@@ -6709,7 +6729,7 @@ const ResourceApiFactory = function (configuration, basePath, axios) {
|
|
|
6709
6729
|
/**
|
|
6710
6730
|
*
|
|
6711
6731
|
* @summary This returns the resource for the specified id.
|
|
6712
|
-
* @param {string} id A
|
|
6732
|
+
* @param {string} id A GUID as a string that identifies the resource.
|
|
6713
6733
|
* @param {*} [options] Override http request option.
|
|
6714
6734
|
* @throws {RequiredError}
|
|
6715
6735
|
*/
|
|
@@ -6728,7 +6748,7 @@ const ResourceApiFactory = function (configuration, basePath, axios) {
|
|
|
6728
6748
|
/**
|
|
6729
6749
|
*
|
|
6730
6750
|
* @summary This returns if the current user is the creator of the specified resource.
|
|
6731
|
-
* @param {string} id A
|
|
6751
|
+
* @param {string} id A GUID as a string that identifies the resource.
|
|
6732
6752
|
* @param {*} [options] Override http request option.
|
|
6733
6753
|
* @throws {RequiredError}
|
|
6734
6754
|
*/
|
|
@@ -6737,8 +6757,8 @@ const ResourceApiFactory = function (configuration, basePath, axios) {
|
|
|
6737
6757
|
},
|
|
6738
6758
|
/**
|
|
6739
6759
|
*
|
|
6740
|
-
* @summary This returns the
|
|
6741
|
-
* @param {string} id A
|
|
6760
|
+
* @summary This returns the read only status of the given resource.
|
|
6761
|
+
* @param {string} id A GUID as a string that identifies the resource.
|
|
6742
6762
|
* @param {boolean} [status] A boolean value that specifies if the resource is archived.
|
|
6743
6763
|
* @param {*} [options] Override http request option.
|
|
6744
6764
|
* @throws {RequiredError}
|
|
@@ -6749,7 +6769,7 @@ const ResourceApiFactory = function (configuration, basePath, axios) {
|
|
|
6749
6769
|
/**
|
|
6750
6770
|
*
|
|
6751
6771
|
* @summary This stores the provided resource object for the specified project.
|
|
6752
|
-
* @param {string} projectId A
|
|
6772
|
+
* @param {string} projectId A GUID as a string that identifies the resource.
|
|
6753
6773
|
* @param {ResourceObject} resourceObject Entry representing the user
|
|
6754
6774
|
* @param {*} [options] Override http request option.
|
|
6755
6775
|
* @throws {RequiredError}
|
|
@@ -6760,7 +6780,7 @@ const ResourceApiFactory = function (configuration, basePath, axios) {
|
|
|
6760
6780
|
/**
|
|
6761
6781
|
*
|
|
6762
6782
|
* @summary This returns if the current user is the creator of the specified resource.
|
|
6763
|
-
* @param {string} id A
|
|
6783
|
+
* @param {string} id A GUID as a string that identifies the resource.
|
|
6764
6784
|
* @param {ResourceObject} resourceObject Entry representing the user
|
|
6765
6785
|
* @param {*} [options] Override http request option.
|
|
6766
6786
|
* @throws {RequiredError}
|
|
@@ -6948,7 +6968,7 @@ const ResourceTypeApiFactory = function (configuration, basePath, axios) {
|
|
|
6948
6968
|
};
|
|
6949
6969
|
|
|
6950
6970
|
/* tslint:disable */
|
|
6951
|
-
const BASE_PATH$3 = "https://d-
|
|
6971
|
+
const BASE_PATH$3 = "https://d-sp10.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Search".replace(/\/+$/, "");
|
|
6952
6972
|
|
|
6953
6973
|
/* tslint:disable */
|
|
6954
6974
|
/**
|
|
@@ -7110,7 +7130,7 @@ const SemanticSearchApiFactory = function (configuration, basePath, axios) {
|
|
|
7110
7130
|
};
|
|
7111
7131
|
|
|
7112
7132
|
/* tslint:disable */
|
|
7113
|
-
const BASE_PATH$2 = "https://d-
|
|
7133
|
+
const BASE_PATH$2 = "https://d-sp10.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Token".replace(/\/+$/, "");
|
|
7114
7134
|
/**
|
|
7115
7135
|
*
|
|
7116
7136
|
* @export
|
|
@@ -7447,7 +7467,7 @@ const TokenApiFactory = function (configuration, basePath, axios) {
|
|
|
7447
7467
|
};
|
|
7448
7468
|
|
|
7449
7469
|
/* tslint:disable */
|
|
7450
|
-
const BASE_PATH$1 = "https://d-
|
|
7470
|
+
const BASE_PATH$1 = "https://d-sp10.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Tree".replace(/\/+$/, "");
|
|
7451
7471
|
/**
|
|
7452
7472
|
*
|
|
7453
7473
|
* @export
|
|
@@ -7680,7 +7700,7 @@ const TreeApiFactory = function (configuration, basePath, axios) {
|
|
|
7680
7700
|
};
|
|
7681
7701
|
|
|
7682
7702
|
/* tslint:disable */
|
|
7683
|
-
const BASE_PATH = "https://d-
|
|
7703
|
+
const BASE_PATH = "https://d-sp10.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.User".replace(/\/+$/, "");
|
|
7684
7704
|
/**
|
|
7685
7705
|
*
|
|
7686
7706
|
* @export
|
|
@@ -8477,7 +8497,14 @@ const UserApiFactory = function (configuration, basePath, axios) {
|
|
|
8477
8497
|
|
|
8478
8498
|
let accessToken = '';
|
|
8479
8499
|
if (typeof coscine !== 'undefined' && typeof coscine.authorization !== 'undefined') {
|
|
8480
|
-
accessToken = coscine.authorization.bearer;
|
|
8500
|
+
accessToken = 'Bearer ' + coscine.authorization.bearer;
|
|
8501
|
+
}
|
|
8502
|
+
if (typeof window !== 'undefined') {
|
|
8503
|
+
// LocalStorage > Global Variables
|
|
8504
|
+
const localStorageToken = localStorage.getItem('coscine.authorization.bearer');
|
|
8505
|
+
if (localStorageToken) {
|
|
8506
|
+
accessToken = 'Bearer ' + localStorageToken;
|
|
8507
|
+
}
|
|
8481
8508
|
}
|
|
8482
8509
|
const getHostName = () => {
|
|
8483
8510
|
let hostName = typeof window !== 'undefined' ? window.location.hostname : 'coscine.rwth-aachen.de';
|
|
@@ -8532,25 +8559,53 @@ function setHeader(request) {
|
|
|
8532
8559
|
request.headers.common[clientCorrolationIdKey] = coscine.clientcorrolation.id;
|
|
8533
8560
|
}
|
|
8534
8561
|
}
|
|
8562
|
+
if (typeof window !== 'undefined') {
|
|
8563
|
+
// LocalStorage > Global Variables
|
|
8564
|
+
const localStorageToken = localStorage.getItem("coscine.authorization.bearer");
|
|
8565
|
+
if (localStorageToken) {
|
|
8566
|
+
request.headers.common[authHeaderKey] =
|
|
8567
|
+
'Bearer ' + localStorageToken;
|
|
8568
|
+
}
|
|
8569
|
+
const localStorageClientCorrelation = localStorage.getItem("coscine.clientcorrolation.id");
|
|
8570
|
+
if (localStorageClientCorrelation) {
|
|
8571
|
+
request.headers.common[clientCorrolationIdKey] = localStorageClientCorrelation;
|
|
8572
|
+
}
|
|
8573
|
+
}
|
|
8535
8574
|
}
|
|
8536
|
-
|
|
8537
|
-
setHeader(request);
|
|
8575
|
+
function increaseLoading() {
|
|
8538
8576
|
if ((typeof coscine !== "undefined") && (typeof coscine.loading !== "undefined") && (typeof coscine.loading.counter !== "undefined")) {
|
|
8539
8577
|
coscine.loading.counter++;
|
|
8540
8578
|
}
|
|
8579
|
+
if (typeof window !== 'undefined') {
|
|
8580
|
+
const localStorageLoading = localStorage.getItem("coscine.loading.counter");
|
|
8581
|
+
if (localStorageLoading) {
|
|
8582
|
+
localStorage.setItem("coscine.loading.counter", String(Number(localStorageLoading) + 1));
|
|
8583
|
+
}
|
|
8584
|
+
}
|
|
8585
|
+
}
|
|
8586
|
+
function decreaseLoading() {
|
|
8587
|
+
if ((typeof coscine !== "undefined") && (typeof coscine.loading !== "undefined") && (typeof coscine.loading.counter !== "undefined")) {
|
|
8588
|
+
coscine.loading.counter--;
|
|
8589
|
+
}
|
|
8590
|
+
if (typeof window !== 'undefined') {
|
|
8591
|
+
const localStorageLoading = localStorage.getItem("coscine.loading.counter");
|
|
8592
|
+
if (localStorageLoading) {
|
|
8593
|
+
localStorage.setItem("coscine.loading.counter", String(Number(localStorageLoading) - 1));
|
|
8594
|
+
}
|
|
8595
|
+
}
|
|
8596
|
+
}
|
|
8597
|
+
instance.interceptors.request.use((request) => {
|
|
8598
|
+
setHeader(request);
|
|
8599
|
+
increaseLoading();
|
|
8541
8600
|
return request;
|
|
8542
8601
|
}, (error) => {
|
|
8543
8602
|
return Promise.reject(error);
|
|
8544
8603
|
});
|
|
8545
8604
|
instance.interceptors.response.use((response) => {
|
|
8546
|
-
|
|
8547
|
-
coscine.loading.counter--;
|
|
8548
|
-
}
|
|
8605
|
+
decreaseLoading();
|
|
8549
8606
|
return response;
|
|
8550
8607
|
}, (error) => {
|
|
8551
|
-
|
|
8552
|
-
coscine.loading.counter--;
|
|
8553
|
-
}
|
|
8608
|
+
decreaseLoading();
|
|
8554
8609
|
return Promise.reject(error);
|
|
8555
8610
|
});
|
|
8556
8611
|
|