@coscine/api-client 1.5.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 +157 -191
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +157 -191
- 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 +168 -210
- 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 +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/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 +336 -1687
- 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 +1 -1
- 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 +7 -8
- package/dist/types/index.d.ts +14 -16
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Coscine.Api.Project
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 2.
|
|
8
|
+
* The version of the OpenAPI document: 2.7.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -264,7 +264,7 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
264
264
|
/**
|
|
265
265
|
*
|
|
266
266
|
* @summary Deletes the selected project
|
|
267
|
-
* @param {string} id Id of the
|
|
267
|
+
* @param {string} id Id of the project
|
|
268
268
|
* @param {*} [options] Override http request option.
|
|
269
269
|
* @throws {RequiredError}
|
|
270
270
|
*/
|
|
@@ -354,21 +354,52 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
354
354
|
options: localVarRequestOptions,
|
|
355
355
|
};
|
|
356
356
|
}),
|
|
357
|
+
/**
|
|
358
|
+
*
|
|
359
|
+
* @summary This returns the project if the user has access to it
|
|
360
|
+
* @param {string} slug Slug of the project
|
|
361
|
+
* @param {*} [options] Override http request option.
|
|
362
|
+
* @throws {RequiredError}
|
|
363
|
+
*/
|
|
364
|
+
projectGetBySlug: (slug, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
365
|
+
// verify required parameter 'slug' is not null or undefined
|
|
366
|
+
(0, common_1.assertParamExists)('projectGetBySlug', 'slug', slug);
|
|
367
|
+
const localVarPath = `/Project/slug/{slug}`
|
|
368
|
+
.replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
|
|
369
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
370
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
371
|
+
let baseOptions;
|
|
372
|
+
if (configuration) {
|
|
373
|
+
baseOptions = configuration.baseOptions;
|
|
374
|
+
}
|
|
375
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
376
|
+
const localVarHeaderParameter = {};
|
|
377
|
+
const localVarQueryParameter = {};
|
|
378
|
+
// authentication JWT token required
|
|
379
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
380
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
381
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
382
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
383
|
+
return {
|
|
384
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
385
|
+
options: localVarRequestOptions,
|
|
386
|
+
};
|
|
387
|
+
}),
|
|
357
388
|
/**
|
|
358
389
|
*
|
|
359
390
|
* @summary Get the max quota for a resource type.
|
|
360
|
-
* @param {string}
|
|
391
|
+
* @param {string} id Id of the project.
|
|
361
392
|
* @param {string} resourceTypeId Id of the resource
|
|
362
393
|
* @param {*} [options] Override http request option.
|
|
363
394
|
* @throws {RequiredError}
|
|
364
395
|
*/
|
|
365
|
-
projectGetQuotaMax: (
|
|
366
|
-
// verify required parameter '
|
|
367
|
-
(0, common_1.assertParamExists)('projectGetQuotaMax', '
|
|
396
|
+
projectGetQuotaMax: (id, resourceTypeId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
397
|
+
// verify required parameter 'id' is not null or undefined
|
|
398
|
+
(0, common_1.assertParamExists)('projectGetQuotaMax', 'id', id);
|
|
368
399
|
// verify required parameter 'resourceTypeId' is not null or undefined
|
|
369
400
|
(0, common_1.assertParamExists)('projectGetQuotaMax', 'resourceTypeId', resourceTypeId);
|
|
370
|
-
const localVarPath = `/Project/{
|
|
371
|
-
.replace(`{${"
|
|
401
|
+
const localVarPath = `/Project/{id}/quota/{resourceTypeId}/max`
|
|
402
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
372
403
|
.replace(`{${"resourceTypeId"}}`, encodeURIComponent(String(resourceTypeId)));
|
|
373
404
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
374
405
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -392,7 +423,7 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
392
423
|
/**
|
|
393
424
|
*
|
|
394
425
|
* @summary Gets the resources
|
|
395
|
-
* @param {string} id Id of the
|
|
426
|
+
* @param {string} id Id of the project
|
|
396
427
|
* @param {*} [options] Override http request option.
|
|
397
428
|
* @throws {RequiredError}
|
|
398
429
|
*/
|
|
@@ -508,18 +539,18 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
508
539
|
/**
|
|
509
540
|
*
|
|
510
541
|
* @summary Retrieves the quota for the selected project and resource Type.
|
|
511
|
-
* @param {string}
|
|
542
|
+
* @param {string} id Id of the project
|
|
512
543
|
* @param {string} resourceTypeId Id of the resource type
|
|
513
544
|
* @param {*} [options] Override http request option.
|
|
514
545
|
* @throws {RequiredError}
|
|
515
546
|
*/
|
|
516
|
-
projectQuota: (
|
|
517
|
-
// verify required parameter '
|
|
518
|
-
(0, common_1.assertParamExists)('projectQuota', '
|
|
547
|
+
projectQuota: (id, resourceTypeId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
548
|
+
// verify required parameter 'id' is not null or undefined
|
|
549
|
+
(0, common_1.assertParamExists)('projectQuota', 'id', id);
|
|
519
550
|
// verify required parameter 'resourceTypeId' is not null or undefined
|
|
520
551
|
(0, common_1.assertParamExists)('projectQuota', 'resourceTypeId', resourceTypeId);
|
|
521
|
-
const localVarPath = `/Project/{
|
|
522
|
-
.replace(`{${"
|
|
552
|
+
const localVarPath = `/Project/{id}/quota/{resourceTypeId}`
|
|
553
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
523
554
|
.replace(`{${"resourceTypeId"}}`, encodeURIComponent(String(resourceTypeId)));
|
|
524
555
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
525
556
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -543,15 +574,15 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
543
574
|
/**
|
|
544
575
|
*
|
|
545
576
|
* @summary Retrieves the quota for the selected project.
|
|
546
|
-
* @param {string}
|
|
577
|
+
* @param {string} id Id of the project
|
|
547
578
|
* @param {*} [options] Override http request option.
|
|
548
579
|
* @throws {RequiredError}
|
|
549
580
|
*/
|
|
550
|
-
projectQuotas: (
|
|
551
|
-
// verify required parameter '
|
|
552
|
-
(0, common_1.assertParamExists)('projectQuotas', '
|
|
553
|
-
const localVarPath = `/Project/{
|
|
554
|
-
.replace(`{${"
|
|
581
|
+
projectQuotas: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
582
|
+
// verify required parameter 'id' is not null or undefined
|
|
583
|
+
(0, common_1.assertParamExists)('projectQuotas', 'id', id);
|
|
584
|
+
const localVarPath = `/Project/{id}/quota/-/all`
|
|
585
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
555
586
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
556
587
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
557
588
|
let baseOptions;
|
|
@@ -637,10 +668,13 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
637
668
|
/**
|
|
638
669
|
*
|
|
639
670
|
* @summary Creates a project
|
|
671
|
+
* @param {ProjectObject} projectObject A Project Object
|
|
640
672
|
* @param {*} [options] Override http request option.
|
|
641
673
|
* @throws {RequiredError}
|
|
642
674
|
*/
|
|
643
|
-
projectStore: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
675
|
+
projectStore: (projectObject, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
676
|
+
// verify required parameter 'projectObject' is not null or undefined
|
|
677
|
+
(0, common_1.assertParamExists)('projectStore', 'projectObject', projectObject);
|
|
644
678
|
const localVarPath = `/Project`;
|
|
645
679
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
646
680
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -653,9 +687,11 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
653
687
|
const localVarQueryParameter = {};
|
|
654
688
|
// authentication JWT token required
|
|
655
689
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
690
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
656
691
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
657
692
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
658
693
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
694
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(projectObject, localVarRequestOptions, configuration);
|
|
659
695
|
return {
|
|
660
696
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
661
697
|
options: localVarRequestOptions,
|
|
@@ -664,13 +700,16 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
664
700
|
/**
|
|
665
701
|
*
|
|
666
702
|
* @summary Updates the selected project
|
|
667
|
-
* @param {string} id Id of the
|
|
703
|
+
* @param {string} id Id of the project
|
|
704
|
+
* @param {ProjectObject} projectObject A Project Object
|
|
668
705
|
* @param {*} [options] Override http request option.
|
|
669
706
|
* @throws {RequiredError}
|
|
670
707
|
*/
|
|
671
|
-
projectUpdate: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
708
|
+
projectUpdate: (id, projectObject, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
672
709
|
// verify required parameter 'id' is not null or undefined
|
|
673
710
|
(0, common_1.assertParamExists)('projectUpdate', 'id', id);
|
|
711
|
+
// verify required parameter 'projectObject' is not null or undefined
|
|
712
|
+
(0, common_1.assertParamExists)('projectUpdate', 'projectObject', projectObject);
|
|
674
713
|
const localVarPath = `/Project/{id}`
|
|
675
714
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
676
715
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -684,9 +723,11 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
684
723
|
const localVarQueryParameter = {};
|
|
685
724
|
// authentication JWT token required
|
|
686
725
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
726
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
687
727
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
688
728
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
689
729
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
730
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(projectObject, localVarRequestOptions, configuration);
|
|
690
731
|
return {
|
|
691
732
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
692
733
|
options: localVarRequestOptions,
|
|
@@ -695,21 +736,21 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
695
736
|
/**
|
|
696
737
|
*
|
|
697
738
|
* @summary Update the project quota.
|
|
698
|
-
* @param {string}
|
|
739
|
+
* @param {string} id Id of the project.
|
|
699
740
|
* @param {string} resourceTypeId Id of the resource.
|
|
700
741
|
* @param {UpdateProjectQuotaObject} updateProjectQuotaObject Object containing the update values.
|
|
701
742
|
* @param {*} [options] Override http request option.
|
|
702
743
|
* @throws {RequiredError}
|
|
703
744
|
*/
|
|
704
|
-
projectUpdateQuota: (
|
|
705
|
-
// verify required parameter '
|
|
706
|
-
(0, common_1.assertParamExists)('projectUpdateQuota', '
|
|
745
|
+
projectUpdateQuota: (id, resourceTypeId, updateProjectQuotaObject, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
746
|
+
// verify required parameter 'id' is not null or undefined
|
|
747
|
+
(0, common_1.assertParamExists)('projectUpdateQuota', 'id', id);
|
|
707
748
|
// verify required parameter 'resourceTypeId' is not null or undefined
|
|
708
749
|
(0, common_1.assertParamExists)('projectUpdateQuota', 'resourceTypeId', resourceTypeId);
|
|
709
750
|
// verify required parameter 'updateProjectQuotaObject' is not null or undefined
|
|
710
751
|
(0, common_1.assertParamExists)('projectUpdateQuota', 'updateProjectQuotaObject', updateProjectQuotaObject);
|
|
711
|
-
const localVarPath = `/Project/{
|
|
712
|
-
.replace(`{${"
|
|
752
|
+
const localVarPath = `/Project/{id}/quota/{resourceTypeId}`
|
|
753
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
713
754
|
.replace(`{${"resourceTypeId"}}`, encodeURIComponent(String(resourceTypeId)));
|
|
714
755
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
715
756
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -758,7 +799,7 @@ const ProjectApiFp = function (configuration) {
|
|
|
758
799
|
/**
|
|
759
800
|
*
|
|
760
801
|
* @summary Deletes the selected project
|
|
761
|
-
* @param {string} id Id of the
|
|
802
|
+
* @param {string} id Id of the project
|
|
762
803
|
* @param {*} [options] Override http request option.
|
|
763
804
|
* @throws {RequiredError}
|
|
764
805
|
*/
|
|
@@ -794,24 +835,37 @@ const ProjectApiFp = function (configuration) {
|
|
|
794
835
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
795
836
|
});
|
|
796
837
|
},
|
|
838
|
+
/**
|
|
839
|
+
*
|
|
840
|
+
* @summary This returns the project if the user has access to it
|
|
841
|
+
* @param {string} slug Slug of the project
|
|
842
|
+
* @param {*} [options] Override http request option.
|
|
843
|
+
* @throws {RequiredError}
|
|
844
|
+
*/
|
|
845
|
+
projectGetBySlug(slug, options) {
|
|
846
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
847
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectGetBySlug(slug, options);
|
|
848
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
849
|
+
});
|
|
850
|
+
},
|
|
797
851
|
/**
|
|
798
852
|
*
|
|
799
853
|
* @summary Get the max quota for a resource type.
|
|
800
|
-
* @param {string}
|
|
854
|
+
* @param {string} id Id of the project.
|
|
801
855
|
* @param {string} resourceTypeId Id of the resource
|
|
802
856
|
* @param {*} [options] Override http request option.
|
|
803
857
|
* @throws {RequiredError}
|
|
804
858
|
*/
|
|
805
|
-
projectGetQuotaMax(
|
|
859
|
+
projectGetQuotaMax(id, resourceTypeId, options) {
|
|
806
860
|
return __awaiter(this, void 0, void 0, function* () {
|
|
807
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectGetQuotaMax(
|
|
861
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectGetQuotaMax(id, resourceTypeId, options);
|
|
808
862
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
809
863
|
});
|
|
810
864
|
},
|
|
811
865
|
/**
|
|
812
866
|
*
|
|
813
867
|
* @summary Gets the resources
|
|
814
|
-
* @param {string} id Id of the
|
|
868
|
+
* @param {string} id Id of the project
|
|
815
869
|
* @param {*} [options] Override http request option.
|
|
816
870
|
* @throws {RequiredError}
|
|
817
871
|
*/
|
|
@@ -861,27 +915,27 @@ const ProjectApiFp = function (configuration) {
|
|
|
861
915
|
/**
|
|
862
916
|
*
|
|
863
917
|
* @summary Retrieves the quota for the selected project and resource Type.
|
|
864
|
-
* @param {string}
|
|
918
|
+
* @param {string} id Id of the project
|
|
865
919
|
* @param {string} resourceTypeId Id of the resource type
|
|
866
920
|
* @param {*} [options] Override http request option.
|
|
867
921
|
* @throws {RequiredError}
|
|
868
922
|
*/
|
|
869
|
-
projectQuota(
|
|
923
|
+
projectQuota(id, resourceTypeId, options) {
|
|
870
924
|
return __awaiter(this, void 0, void 0, function* () {
|
|
871
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectQuota(
|
|
925
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectQuota(id, resourceTypeId, options);
|
|
872
926
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
873
927
|
});
|
|
874
928
|
},
|
|
875
929
|
/**
|
|
876
930
|
*
|
|
877
931
|
* @summary Retrieves the quota for the selected project.
|
|
878
|
-
* @param {string}
|
|
932
|
+
* @param {string} id Id of the project
|
|
879
933
|
* @param {*} [options] Override http request option.
|
|
880
934
|
* @throws {RequiredError}
|
|
881
935
|
*/
|
|
882
|
-
projectQuotas(
|
|
936
|
+
projectQuotas(id, options) {
|
|
883
937
|
return __awaiter(this, void 0, void 0, function* () {
|
|
884
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectQuotas(
|
|
938
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectQuotas(id, options);
|
|
885
939
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
886
940
|
});
|
|
887
941
|
},
|
|
@@ -914,40 +968,42 @@ const ProjectApiFp = function (configuration) {
|
|
|
914
968
|
/**
|
|
915
969
|
*
|
|
916
970
|
* @summary Creates a project
|
|
971
|
+
* @param {ProjectObject} projectObject A Project Object
|
|
917
972
|
* @param {*} [options] Override http request option.
|
|
918
973
|
* @throws {RequiredError}
|
|
919
974
|
*/
|
|
920
|
-
projectStore(options) {
|
|
975
|
+
projectStore(projectObject, options) {
|
|
921
976
|
return __awaiter(this, void 0, void 0, function* () {
|
|
922
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectStore(options);
|
|
977
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectStore(projectObject, options);
|
|
923
978
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
924
979
|
});
|
|
925
980
|
},
|
|
926
981
|
/**
|
|
927
982
|
*
|
|
928
983
|
* @summary Updates the selected project
|
|
929
|
-
* @param {string} id Id of the
|
|
984
|
+
* @param {string} id Id of the project
|
|
985
|
+
* @param {ProjectObject} projectObject A Project Object
|
|
930
986
|
* @param {*} [options] Override http request option.
|
|
931
987
|
* @throws {RequiredError}
|
|
932
988
|
*/
|
|
933
|
-
projectUpdate(id, options) {
|
|
989
|
+
projectUpdate(id, projectObject, options) {
|
|
934
990
|
return __awaiter(this, void 0, void 0, function* () {
|
|
935
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectUpdate(id, options);
|
|
991
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectUpdate(id, projectObject, options);
|
|
936
992
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
937
993
|
});
|
|
938
994
|
},
|
|
939
995
|
/**
|
|
940
996
|
*
|
|
941
997
|
* @summary Update the project quota.
|
|
942
|
-
* @param {string}
|
|
998
|
+
* @param {string} id Id of the project.
|
|
943
999
|
* @param {string} resourceTypeId Id of the resource.
|
|
944
1000
|
* @param {UpdateProjectQuotaObject} updateProjectQuotaObject Object containing the update values.
|
|
945
1001
|
* @param {*} [options] Override http request option.
|
|
946
1002
|
* @throws {RequiredError}
|
|
947
1003
|
*/
|
|
948
|
-
projectUpdateQuota(
|
|
1004
|
+
projectUpdateQuota(id, resourceTypeId, updateProjectQuotaObject, options) {
|
|
949
1005
|
return __awaiter(this, void 0, void 0, function* () {
|
|
950
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectUpdateQuota(
|
|
1006
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectUpdateQuota(id, resourceTypeId, updateProjectQuotaObject, options);
|
|
951
1007
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
952
1008
|
});
|
|
953
1009
|
},
|
|
@@ -974,7 +1030,7 @@ const ProjectApiFactory = function (configuration, basePath, axios) {
|
|
|
974
1030
|
/**
|
|
975
1031
|
*
|
|
976
1032
|
* @summary Deletes the selected project
|
|
977
|
-
* @param {string} id Id of the
|
|
1033
|
+
* @param {string} id Id of the project
|
|
978
1034
|
* @param {*} [options] Override http request option.
|
|
979
1035
|
* @throws {RequiredError}
|
|
980
1036
|
*/
|
|
@@ -1001,21 +1057,31 @@ const ProjectApiFactory = function (configuration, basePath, axios) {
|
|
|
1001
1057
|
projectGet(id, options) {
|
|
1002
1058
|
return localVarFp.projectGet(id, options).then((request) => request(axios, basePath));
|
|
1003
1059
|
},
|
|
1060
|
+
/**
|
|
1061
|
+
*
|
|
1062
|
+
* @summary This returns the project if the user has access to it
|
|
1063
|
+
* @param {string} slug Slug of the project
|
|
1064
|
+
* @param {*} [options] Override http request option.
|
|
1065
|
+
* @throws {RequiredError}
|
|
1066
|
+
*/
|
|
1067
|
+
projectGetBySlug(slug, options) {
|
|
1068
|
+
return localVarFp.projectGetBySlug(slug, options).then((request) => request(axios, basePath));
|
|
1069
|
+
},
|
|
1004
1070
|
/**
|
|
1005
1071
|
*
|
|
1006
1072
|
* @summary Get the max quota for a resource type.
|
|
1007
|
-
* @param {string}
|
|
1073
|
+
* @param {string} id Id of the project.
|
|
1008
1074
|
* @param {string} resourceTypeId Id of the resource
|
|
1009
1075
|
* @param {*} [options] Override http request option.
|
|
1010
1076
|
* @throws {RequiredError}
|
|
1011
1077
|
*/
|
|
1012
|
-
projectGetQuotaMax(
|
|
1013
|
-
return localVarFp.projectGetQuotaMax(
|
|
1078
|
+
projectGetQuotaMax(id, resourceTypeId, options) {
|
|
1079
|
+
return localVarFp.projectGetQuotaMax(id, resourceTypeId, options).then((request) => request(axios, basePath));
|
|
1014
1080
|
},
|
|
1015
1081
|
/**
|
|
1016
1082
|
*
|
|
1017
1083
|
* @summary Gets the resources
|
|
1018
|
-
* @param {string} id Id of the
|
|
1084
|
+
* @param {string} id Id of the project
|
|
1019
1085
|
* @param {*} [options] Override http request option.
|
|
1020
1086
|
* @throws {RequiredError}
|
|
1021
1087
|
*/
|
|
@@ -1053,23 +1119,23 @@ const ProjectApiFactory = function (configuration, basePath, axios) {
|
|
|
1053
1119
|
/**
|
|
1054
1120
|
*
|
|
1055
1121
|
* @summary Retrieves the quota for the selected project and resource Type.
|
|
1056
|
-
* @param {string}
|
|
1122
|
+
* @param {string} id Id of the project
|
|
1057
1123
|
* @param {string} resourceTypeId Id of the resource type
|
|
1058
1124
|
* @param {*} [options] Override http request option.
|
|
1059
1125
|
* @throws {RequiredError}
|
|
1060
1126
|
*/
|
|
1061
|
-
projectQuota(
|
|
1062
|
-
return localVarFp.projectQuota(
|
|
1127
|
+
projectQuota(id, resourceTypeId, options) {
|
|
1128
|
+
return localVarFp.projectQuota(id, resourceTypeId, options).then((request) => request(axios, basePath));
|
|
1063
1129
|
},
|
|
1064
1130
|
/**
|
|
1065
1131
|
*
|
|
1066
1132
|
* @summary Retrieves the quota for the selected project.
|
|
1067
|
-
* @param {string}
|
|
1133
|
+
* @param {string} id Id of the project
|
|
1068
1134
|
* @param {*} [options] Override http request option.
|
|
1069
1135
|
* @throws {RequiredError}
|
|
1070
1136
|
*/
|
|
1071
|
-
projectQuotas(
|
|
1072
|
-
return localVarFp.projectQuotas(
|
|
1137
|
+
projectQuotas(id, options) {
|
|
1138
|
+
return localVarFp.projectQuotas(id, options).then((request) => request(axios, basePath));
|
|
1073
1139
|
},
|
|
1074
1140
|
/**
|
|
1075
1141
|
*
|
|
@@ -1094,33 +1160,35 @@ const ProjectApiFactory = function (configuration, basePath, axios) {
|
|
|
1094
1160
|
/**
|
|
1095
1161
|
*
|
|
1096
1162
|
* @summary Creates a project
|
|
1163
|
+
* @param {ProjectObject} projectObject A Project Object
|
|
1097
1164
|
* @param {*} [options] Override http request option.
|
|
1098
1165
|
* @throws {RequiredError}
|
|
1099
1166
|
*/
|
|
1100
|
-
projectStore(options) {
|
|
1101
|
-
return localVarFp.projectStore(options).then((request) => request(axios, basePath));
|
|
1167
|
+
projectStore(projectObject, options) {
|
|
1168
|
+
return localVarFp.projectStore(projectObject, options).then((request) => request(axios, basePath));
|
|
1102
1169
|
},
|
|
1103
1170
|
/**
|
|
1104
1171
|
*
|
|
1105
1172
|
* @summary Updates the selected project
|
|
1106
|
-
* @param {string} id Id of the
|
|
1173
|
+
* @param {string} id Id of the project
|
|
1174
|
+
* @param {ProjectObject} projectObject A Project Object
|
|
1107
1175
|
* @param {*} [options] Override http request option.
|
|
1108
1176
|
* @throws {RequiredError}
|
|
1109
1177
|
*/
|
|
1110
|
-
projectUpdate(id, options) {
|
|
1111
|
-
return localVarFp.projectUpdate(id, options).then((request) => request(axios, basePath));
|
|
1178
|
+
projectUpdate(id, projectObject, options) {
|
|
1179
|
+
return localVarFp.projectUpdate(id, projectObject, options).then((request) => request(axios, basePath));
|
|
1112
1180
|
},
|
|
1113
1181
|
/**
|
|
1114
1182
|
*
|
|
1115
1183
|
* @summary Update the project quota.
|
|
1116
|
-
* @param {string}
|
|
1184
|
+
* @param {string} id Id of the project.
|
|
1117
1185
|
* @param {string} resourceTypeId Id of the resource.
|
|
1118
1186
|
* @param {UpdateProjectQuotaObject} updateProjectQuotaObject Object containing the update values.
|
|
1119
1187
|
* @param {*} [options] Override http request option.
|
|
1120
1188
|
* @throws {RequiredError}
|
|
1121
1189
|
*/
|
|
1122
|
-
projectUpdateQuota(
|
|
1123
|
-
return localVarFp.projectUpdateQuota(
|
|
1190
|
+
projectUpdateQuota(id, resourceTypeId, updateProjectQuotaObject, options) {
|
|
1191
|
+
return localVarFp.projectUpdateQuota(id, resourceTypeId, updateProjectQuotaObject, options).then((request) => request(axios, basePath));
|
|
1124
1192
|
},
|
|
1125
1193
|
};
|
|
1126
1194
|
};
|
|
@@ -1146,7 +1214,7 @@ class ProjectApi extends base_1.BaseAPI {
|
|
|
1146
1214
|
/**
|
|
1147
1215
|
*
|
|
1148
1216
|
* @summary Deletes the selected project
|
|
1149
|
-
* @param {string} id Id of the
|
|
1217
|
+
* @param {string} id Id of the project
|
|
1150
1218
|
* @param {*} [options] Override http request option.
|
|
1151
1219
|
* @throws {RequiredError}
|
|
1152
1220
|
* @memberof ProjectApi
|
|
@@ -1176,22 +1244,33 @@ class ProjectApi extends base_1.BaseAPI {
|
|
|
1176
1244
|
projectGet(id, options) {
|
|
1177
1245
|
return (0, exports.ProjectApiFp)(this.configuration).projectGet(id, options).then((request) => request(this.axios, this.basePath));
|
|
1178
1246
|
}
|
|
1247
|
+
/**
|
|
1248
|
+
*
|
|
1249
|
+
* @summary This returns the project if the user has access to it
|
|
1250
|
+
* @param {string} slug Slug of the project
|
|
1251
|
+
* @param {*} [options] Override http request option.
|
|
1252
|
+
* @throws {RequiredError}
|
|
1253
|
+
* @memberof ProjectApi
|
|
1254
|
+
*/
|
|
1255
|
+
projectGetBySlug(slug, options) {
|
|
1256
|
+
return (0, exports.ProjectApiFp)(this.configuration).projectGetBySlug(slug, options).then((request) => request(this.axios, this.basePath));
|
|
1257
|
+
}
|
|
1179
1258
|
/**
|
|
1180
1259
|
*
|
|
1181
1260
|
* @summary Get the max quota for a resource type.
|
|
1182
|
-
* @param {string}
|
|
1261
|
+
* @param {string} id Id of the project.
|
|
1183
1262
|
* @param {string} resourceTypeId Id of the resource
|
|
1184
1263
|
* @param {*} [options] Override http request option.
|
|
1185
1264
|
* @throws {RequiredError}
|
|
1186
1265
|
* @memberof ProjectApi
|
|
1187
1266
|
*/
|
|
1188
|
-
projectGetQuotaMax(
|
|
1189
|
-
return (0, exports.ProjectApiFp)(this.configuration).projectGetQuotaMax(
|
|
1267
|
+
projectGetQuotaMax(id, resourceTypeId, options) {
|
|
1268
|
+
return (0, exports.ProjectApiFp)(this.configuration).projectGetQuotaMax(id, resourceTypeId, options).then((request) => request(this.axios, this.basePath));
|
|
1190
1269
|
}
|
|
1191
1270
|
/**
|
|
1192
1271
|
*
|
|
1193
1272
|
* @summary Gets the resources
|
|
1194
|
-
* @param {string} id Id of the
|
|
1273
|
+
* @param {string} id Id of the project
|
|
1195
1274
|
* @param {*} [options] Override http request option.
|
|
1196
1275
|
* @throws {RequiredError}
|
|
1197
1276
|
* @memberof ProjectApi
|
|
@@ -1233,25 +1312,25 @@ class ProjectApi extends base_1.BaseAPI {
|
|
|
1233
1312
|
/**
|
|
1234
1313
|
*
|
|
1235
1314
|
* @summary Retrieves the quota for the selected project and resource Type.
|
|
1236
|
-
* @param {string}
|
|
1315
|
+
* @param {string} id Id of the project
|
|
1237
1316
|
* @param {string} resourceTypeId Id of the resource type
|
|
1238
1317
|
* @param {*} [options] Override http request option.
|
|
1239
1318
|
* @throws {RequiredError}
|
|
1240
1319
|
* @memberof ProjectApi
|
|
1241
1320
|
*/
|
|
1242
|
-
projectQuota(
|
|
1243
|
-
return (0, exports.ProjectApiFp)(this.configuration).projectQuota(
|
|
1321
|
+
projectQuota(id, resourceTypeId, options) {
|
|
1322
|
+
return (0, exports.ProjectApiFp)(this.configuration).projectQuota(id, resourceTypeId, options).then((request) => request(this.axios, this.basePath));
|
|
1244
1323
|
}
|
|
1245
1324
|
/**
|
|
1246
1325
|
*
|
|
1247
1326
|
* @summary Retrieves the quota for the selected project.
|
|
1248
|
-
* @param {string}
|
|
1327
|
+
* @param {string} id Id of the project
|
|
1249
1328
|
* @param {*} [options] Override http request option.
|
|
1250
1329
|
* @throws {RequiredError}
|
|
1251
1330
|
* @memberof ProjectApi
|
|
1252
1331
|
*/
|
|
1253
|
-
projectQuotas(
|
|
1254
|
-
return (0, exports.ProjectApiFp)(this.configuration).projectQuotas(
|
|
1332
|
+
projectQuotas(id, options) {
|
|
1333
|
+
return (0, exports.ProjectApiFp)(this.configuration).projectQuotas(id, options).then((request) => request(this.axios, this.basePath));
|
|
1255
1334
|
}
|
|
1256
1335
|
/**
|
|
1257
1336
|
*
|
|
@@ -1278,36 +1357,38 @@ class ProjectApi extends base_1.BaseAPI {
|
|
|
1278
1357
|
/**
|
|
1279
1358
|
*
|
|
1280
1359
|
* @summary Creates a project
|
|
1360
|
+
* @param {ProjectObject} projectObject A Project Object
|
|
1281
1361
|
* @param {*} [options] Override http request option.
|
|
1282
1362
|
* @throws {RequiredError}
|
|
1283
1363
|
* @memberof ProjectApi
|
|
1284
1364
|
*/
|
|
1285
|
-
projectStore(options) {
|
|
1286
|
-
return (0, exports.ProjectApiFp)(this.configuration).projectStore(options).then((request) => request(this.axios, this.basePath));
|
|
1365
|
+
projectStore(projectObject, options) {
|
|
1366
|
+
return (0, exports.ProjectApiFp)(this.configuration).projectStore(projectObject, options).then((request) => request(this.axios, this.basePath));
|
|
1287
1367
|
}
|
|
1288
1368
|
/**
|
|
1289
1369
|
*
|
|
1290
1370
|
* @summary Updates the selected project
|
|
1291
|
-
* @param {string} id Id of the
|
|
1371
|
+
* @param {string} id Id of the project
|
|
1372
|
+
* @param {ProjectObject} projectObject A Project Object
|
|
1292
1373
|
* @param {*} [options] Override http request option.
|
|
1293
1374
|
* @throws {RequiredError}
|
|
1294
1375
|
* @memberof ProjectApi
|
|
1295
1376
|
*/
|
|
1296
|
-
projectUpdate(id, options) {
|
|
1297
|
-
return (0, exports.ProjectApiFp)(this.configuration).projectUpdate(id, options).then((request) => request(this.axios, this.basePath));
|
|
1377
|
+
projectUpdate(id, projectObject, options) {
|
|
1378
|
+
return (0, exports.ProjectApiFp)(this.configuration).projectUpdate(id, projectObject, options).then((request) => request(this.axios, this.basePath));
|
|
1298
1379
|
}
|
|
1299
1380
|
/**
|
|
1300
1381
|
*
|
|
1301
1382
|
* @summary Update the project quota.
|
|
1302
|
-
* @param {string}
|
|
1383
|
+
* @param {string} id Id of the project.
|
|
1303
1384
|
* @param {string} resourceTypeId Id of the resource.
|
|
1304
1385
|
* @param {UpdateProjectQuotaObject} updateProjectQuotaObject Object containing the update values.
|
|
1305
1386
|
* @param {*} [options] Override http request option.
|
|
1306
1387
|
* @throws {RequiredError}
|
|
1307
1388
|
* @memberof ProjectApi
|
|
1308
1389
|
*/
|
|
1309
|
-
projectUpdateQuota(
|
|
1310
|
-
return (0, exports.ProjectApiFp)(this.configuration).projectUpdateQuota(
|
|
1390
|
+
projectUpdateQuota(id, resourceTypeId, updateProjectQuotaObject, options) {
|
|
1391
|
+
return (0, exports.ProjectApiFp)(this.configuration).projectUpdateQuota(id, resourceTypeId, updateProjectQuotaObject, options).then((request) => request(this.axios, this.basePath));
|
|
1311
1392
|
}
|
|
1312
1393
|
}
|
|
1313
1394
|
exports.ProjectApi = ProjectApi;
|
|
@@ -1814,33 +1895,6 @@ const SearchApiAxiosParamCreator = function (configuration) {
|
|
|
1814
1895
|
options: localVarRequestOptions,
|
|
1815
1896
|
};
|
|
1816
1897
|
}),
|
|
1817
|
-
/**
|
|
1818
|
-
*
|
|
1819
|
-
* @summary Searchs no filter
|
|
1820
|
-
* @param {*} [options] Override http request option.
|
|
1821
|
-
* @throws {RequiredError}
|
|
1822
|
-
*/
|
|
1823
|
-
searchSearchNoFilter: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1824
|
-
const localVarPath = `/Search/allNoFilter`;
|
|
1825
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1826
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1827
|
-
let baseOptions;
|
|
1828
|
-
if (configuration) {
|
|
1829
|
-
baseOptions = configuration.baseOptions;
|
|
1830
|
-
}
|
|
1831
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1832
|
-
const localVarHeaderParameter = {};
|
|
1833
|
-
const localVarQueryParameter = {};
|
|
1834
|
-
// authentication JWT token required
|
|
1835
|
-
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1836
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
1837
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1838
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1839
|
-
return {
|
|
1840
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1841
|
-
options: localVarRequestOptions,
|
|
1842
|
-
};
|
|
1843
|
-
}),
|
|
1844
1898
|
/**
|
|
1845
1899
|
*
|
|
1846
1900
|
* @summary Returns searched projects
|
|
@@ -1876,37 +1930,6 @@ const SearchApiAxiosParamCreator = function (configuration) {
|
|
|
1876
1930
|
options: localVarRequestOptions,
|
|
1877
1931
|
};
|
|
1878
1932
|
}),
|
|
1879
|
-
/**
|
|
1880
|
-
*
|
|
1881
|
-
* @summary Returns searched projects with no filter
|
|
1882
|
-
* @param {string} projectId Id of the project
|
|
1883
|
-
* @param {*} [options] Override http request option.
|
|
1884
|
-
* @throws {RequiredError}
|
|
1885
|
-
*/
|
|
1886
|
-
searchSearchProjectNoFilter: (projectId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1887
|
-
// verify required parameter 'projectId' is not null or undefined
|
|
1888
|
-
(0, common_1.assertParamExists)('searchSearchProjectNoFilter', 'projectId', projectId);
|
|
1889
|
-
const localVarPath = `/Search/projectNoFilter/{projectId}`
|
|
1890
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
1891
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1892
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1893
|
-
let baseOptions;
|
|
1894
|
-
if (configuration) {
|
|
1895
|
-
baseOptions = configuration.baseOptions;
|
|
1896
|
-
}
|
|
1897
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1898
|
-
const localVarHeaderParameter = {};
|
|
1899
|
-
const localVarQueryParameter = {};
|
|
1900
|
-
// authentication JWT token required
|
|
1901
|
-
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1902
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
1903
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1904
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1905
|
-
return {
|
|
1906
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1907
|
-
options: localVarRequestOptions,
|
|
1908
|
-
};
|
|
1909
|
-
}),
|
|
1910
1933
|
};
|
|
1911
1934
|
};
|
|
1912
1935
|
exports.SearchApiAxiosParamCreator = SearchApiAxiosParamCreator;
|
|
@@ -1930,18 +1953,6 @@ const SearchApiFp = function (configuration) {
|
|
|
1930
1953
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1931
1954
|
});
|
|
1932
1955
|
},
|
|
1933
|
-
/**
|
|
1934
|
-
*
|
|
1935
|
-
* @summary Searchs no filter
|
|
1936
|
-
* @param {*} [options] Override http request option.
|
|
1937
|
-
* @throws {RequiredError}
|
|
1938
|
-
*/
|
|
1939
|
-
searchSearchNoFilter(options) {
|
|
1940
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1941
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.searchSearchNoFilter(options);
|
|
1942
|
-
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1943
|
-
});
|
|
1944
|
-
},
|
|
1945
1956
|
/**
|
|
1946
1957
|
*
|
|
1947
1958
|
* @summary Returns searched projects
|
|
@@ -1956,19 +1967,6 @@ const SearchApiFp = function (configuration) {
|
|
|
1956
1967
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1957
1968
|
});
|
|
1958
1969
|
},
|
|
1959
|
-
/**
|
|
1960
|
-
*
|
|
1961
|
-
* @summary Returns searched projects with no filter
|
|
1962
|
-
* @param {string} projectId Id of the project
|
|
1963
|
-
* @param {*} [options] Override http request option.
|
|
1964
|
-
* @throws {RequiredError}
|
|
1965
|
-
*/
|
|
1966
|
-
searchSearchProjectNoFilter(projectId, options) {
|
|
1967
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1968
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.searchSearchProjectNoFilter(projectId, options);
|
|
1969
|
-
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1970
|
-
});
|
|
1971
|
-
},
|
|
1972
1970
|
};
|
|
1973
1971
|
};
|
|
1974
1972
|
exports.SearchApiFp = SearchApiFp;
|
|
@@ -1989,15 +1987,6 @@ const SearchApiFactory = function (configuration, basePath, axios) {
|
|
|
1989
1987
|
searchSearch(encodedSearchWord, options) {
|
|
1990
1988
|
return localVarFp.searchSearch(encodedSearchWord, options).then((request) => request(axios, basePath));
|
|
1991
1989
|
},
|
|
1992
|
-
/**
|
|
1993
|
-
*
|
|
1994
|
-
* @summary Searchs no filter
|
|
1995
|
-
* @param {*} [options] Override http request option.
|
|
1996
|
-
* @throws {RequiredError}
|
|
1997
|
-
*/
|
|
1998
|
-
searchSearchNoFilter(options) {
|
|
1999
|
-
return localVarFp.searchSearchNoFilter(options).then((request) => request(axios, basePath));
|
|
2000
|
-
},
|
|
2001
1990
|
/**
|
|
2002
1991
|
*
|
|
2003
1992
|
* @summary Returns searched projects
|
|
@@ -2009,16 +1998,6 @@ const SearchApiFactory = function (configuration, basePath, axios) {
|
|
|
2009
1998
|
searchSearchProject(projectId, encodedSearchWord, options) {
|
|
2010
1999
|
return localVarFp.searchSearchProject(projectId, encodedSearchWord, options).then((request) => request(axios, basePath));
|
|
2011
2000
|
},
|
|
2012
|
-
/**
|
|
2013
|
-
*
|
|
2014
|
-
* @summary Returns searched projects with no filter
|
|
2015
|
-
* @param {string} projectId Id of the project
|
|
2016
|
-
* @param {*} [options] Override http request option.
|
|
2017
|
-
* @throws {RequiredError}
|
|
2018
|
-
*/
|
|
2019
|
-
searchSearchProjectNoFilter(projectId, options) {
|
|
2020
|
-
return localVarFp.searchSearchProjectNoFilter(projectId, options).then((request) => request(axios, basePath));
|
|
2021
|
-
},
|
|
2022
2001
|
};
|
|
2023
2002
|
};
|
|
2024
2003
|
exports.SearchApiFactory = SearchApiFactory;
|
|
@@ -2040,16 +2019,6 @@ class SearchApi extends base_1.BaseAPI {
|
|
|
2040
2019
|
searchSearch(encodedSearchWord, options) {
|
|
2041
2020
|
return (0, exports.SearchApiFp)(this.configuration).searchSearch(encodedSearchWord, options).then((request) => request(this.axios, this.basePath));
|
|
2042
2021
|
}
|
|
2043
|
-
/**
|
|
2044
|
-
*
|
|
2045
|
-
* @summary Searchs no filter
|
|
2046
|
-
* @param {*} [options] Override http request option.
|
|
2047
|
-
* @throws {RequiredError}
|
|
2048
|
-
* @memberof SearchApi
|
|
2049
|
-
*/
|
|
2050
|
-
searchSearchNoFilter(options) {
|
|
2051
|
-
return (0, exports.SearchApiFp)(this.configuration).searchSearchNoFilter(options).then((request) => request(this.axios, this.basePath));
|
|
2052
|
-
}
|
|
2053
2022
|
/**
|
|
2054
2023
|
*
|
|
2055
2024
|
* @summary Returns searched projects
|
|
@@ -2062,17 +2031,6 @@ class SearchApi extends base_1.BaseAPI {
|
|
|
2062
2031
|
searchSearchProject(projectId, encodedSearchWord, options) {
|
|
2063
2032
|
return (0, exports.SearchApiFp)(this.configuration).searchSearchProject(projectId, encodedSearchWord, options).then((request) => request(this.axios, this.basePath));
|
|
2064
2033
|
}
|
|
2065
|
-
/**
|
|
2066
|
-
*
|
|
2067
|
-
* @summary Returns searched projects with no filter
|
|
2068
|
-
* @param {string} projectId Id of the project
|
|
2069
|
-
* @param {*} [options] Override http request option.
|
|
2070
|
-
* @throws {RequiredError}
|
|
2071
|
-
* @memberof SearchApi
|
|
2072
|
-
*/
|
|
2073
|
-
searchSearchProjectNoFilter(projectId, options) {
|
|
2074
|
-
return (0, exports.SearchApiFp)(this.configuration).searchSearchProjectNoFilter(projectId, options).then((request) => request(this.axios, this.basePath));
|
|
2075
|
-
}
|
|
2076
2034
|
}
|
|
2077
2035
|
exports.SearchApi = SearchApi;
|
|
2078
2036
|
/**
|