@cirrobio/api-client 0.12.24 → 0.12.25
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/README.md +1 -1
- package/dist/apis/ProjectsApi.d.ts +28 -1
- package/dist/apis/ProjectsApi.js +79 -0
- package/dist/esm/apis/ProjectsApi.d.ts +28 -1
- package/dist/esm/apis/ProjectsApi.js +80 -1
- package/dist/esm/models/CloudQuota.d.ts +55 -0
- package/dist/esm/models/CloudQuota.js +55 -0
- package/dist/esm/models/RequestQuotaIncreaseCommand.d.ts +43 -0
- package/dist/esm/models/RequestQuotaIncreaseCommand.js +49 -0
- package/dist/esm/models/RequestQuotaIncreaseResponse.d.ts +38 -0
- package/dist/esm/models/RequestQuotaIncreaseResponse.js +47 -0
- package/dist/esm/models/index.d.ts +3 -0
- package/dist/esm/models/index.js +3 -0
- package/dist/models/CloudQuota.d.ts +55 -0
- package/dist/models/CloudQuota.js +62 -0
- package/dist/models/RequestQuotaIncreaseCommand.d.ts +43 -0
- package/dist/models/RequestQuotaIncreaseCommand.js +56 -0
- package/dist/models/RequestQuotaIncreaseResponse.d.ts +38 -0
- package/dist/models/RequestQuotaIncreaseResponse.js +54 -0
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { ApproveProjectAccessRequest, CreateProjectAccessRequest, CreateResponse, Project, ProjectAccessRequest, ProjectCreateOptions, ProjectDetail, ProjectInput, ProjectUser, SetUserProjectRoleRequest, Tag } from '../models/index';
|
|
13
|
+
import type { ApproveProjectAccessRequest, CloudQuota, CreateProjectAccessRequest, CreateResponse, Project, ProjectAccessRequest, ProjectCreateOptions, ProjectDetail, ProjectInput, ProjectUser, RequestQuotaIncreaseCommand, RequestQuotaIncreaseResponse, SetUserProjectRoleRequest, Tag } from '../models/index';
|
|
14
14
|
export interface ApproveAccessRequestRequest {
|
|
15
15
|
projectId: string;
|
|
16
16
|
accessRequestId: string;
|
|
@@ -40,9 +40,16 @@ export interface GetProjectRequest {
|
|
|
40
40
|
export interface GetProjectUsersRequest {
|
|
41
41
|
projectId: string;
|
|
42
42
|
}
|
|
43
|
+
export interface GetQuotasRequest {
|
|
44
|
+
projectId: string;
|
|
45
|
+
}
|
|
43
46
|
export interface RedeployProjectRequest {
|
|
44
47
|
projectId: string;
|
|
45
48
|
}
|
|
49
|
+
export interface RequestQuotaIncreaseRequest {
|
|
50
|
+
projectId: string;
|
|
51
|
+
requestQuotaIncreaseCommand: RequestQuotaIncreaseCommand;
|
|
52
|
+
}
|
|
46
53
|
export interface SetUserProjectRoleOperationRequest {
|
|
47
54
|
projectId: string;
|
|
48
55
|
setUserProjectRoleRequest: SetUserProjectRoleRequest;
|
|
@@ -172,6 +179,16 @@ export declare class ProjectsApi extends runtime.BaseAPI {
|
|
|
172
179
|
* Get projects
|
|
173
180
|
*/
|
|
174
181
|
getProjects(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<Project>>;
|
|
182
|
+
/**
|
|
183
|
+
* Retrieves a list of relevant cloud service quotas for project
|
|
184
|
+
* Get cloud quotas
|
|
185
|
+
*/
|
|
186
|
+
getQuotasRaw(requestParameters: GetQuotasRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<CloudQuota>>>;
|
|
187
|
+
/**
|
|
188
|
+
* Retrieves a list of relevant cloud service quotas for project
|
|
189
|
+
* Get cloud quotas
|
|
190
|
+
*/
|
|
191
|
+
getQuotas(requestParameters: GetQuotasRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<CloudQuota>>;
|
|
175
192
|
/**
|
|
176
193
|
* Redeploys cloud resources for a project
|
|
177
194
|
* Redeploy project
|
|
@@ -182,6 +199,16 @@ export declare class ProjectsApi extends runtime.BaseAPI {
|
|
|
182
199
|
* Redeploy project
|
|
183
200
|
*/
|
|
184
201
|
redeployProject(requestParameters: RedeployProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
202
|
+
/**
|
|
203
|
+
* Request a service quota increase for a project\'s cloud account
|
|
204
|
+
* Request quota increase
|
|
205
|
+
*/
|
|
206
|
+
requestQuotaIncreaseRaw(requestParameters: RequestQuotaIncreaseRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RequestQuotaIncreaseResponse>>;
|
|
207
|
+
/**
|
|
208
|
+
* Request a service quota increase for a project\'s cloud account
|
|
209
|
+
* Request quota increase
|
|
210
|
+
*/
|
|
211
|
+
requestQuotaIncrease(requestParameters: RequestQuotaIncreaseRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RequestQuotaIncreaseResponse>;
|
|
185
212
|
/**
|
|
186
213
|
* Sets a user\'s role within a project
|
|
187
214
|
* Set role
|
package/dist/apis/ProjectsApi.js
CHANGED
|
@@ -445,6 +445,43 @@ class ProjectsApi extends runtime.BaseAPI {
|
|
|
445
445
|
return yield response.value();
|
|
446
446
|
});
|
|
447
447
|
}
|
|
448
|
+
/**
|
|
449
|
+
* Retrieves a list of relevant cloud service quotas for project
|
|
450
|
+
* Get cloud quotas
|
|
451
|
+
*/
|
|
452
|
+
getQuotasRaw(requestParameters, initOverrides) {
|
|
453
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
454
|
+
if (requestParameters.projectId === null || requestParameters.projectId === undefined) {
|
|
455
|
+
throw new runtime.RequiredError('projectId', 'Required parameter requestParameters.projectId was null or undefined when calling getQuotas.');
|
|
456
|
+
}
|
|
457
|
+
const queryParameters = {};
|
|
458
|
+
const headerParameters = {};
|
|
459
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
460
|
+
const token = this.configuration.accessToken;
|
|
461
|
+
const tokenString = yield token("accessToken", []);
|
|
462
|
+
if (tokenString) {
|
|
463
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
const response = yield this.request({
|
|
467
|
+
path: `/projects/{projectId}/cloud-quotas`.replace(`{${"projectId"}}`, encodeURIComponent(String(requestParameters.projectId))),
|
|
468
|
+
method: 'GET',
|
|
469
|
+
headers: headerParameters,
|
|
470
|
+
query: queryParameters,
|
|
471
|
+
}, initOverrides);
|
|
472
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(index_1.CloudQuotaFromJSON));
|
|
473
|
+
});
|
|
474
|
+
}
|
|
475
|
+
/**
|
|
476
|
+
* Retrieves a list of relevant cloud service quotas for project
|
|
477
|
+
* Get cloud quotas
|
|
478
|
+
*/
|
|
479
|
+
getQuotas(requestParameters, initOverrides) {
|
|
480
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
481
|
+
const response = yield this.getQuotasRaw(requestParameters, initOverrides);
|
|
482
|
+
return yield response.value();
|
|
483
|
+
});
|
|
484
|
+
}
|
|
448
485
|
/**
|
|
449
486
|
* Redeploys cloud resources for a project
|
|
450
487
|
* Redeploy project
|
|
@@ -481,6 +518,48 @@ class ProjectsApi extends runtime.BaseAPI {
|
|
|
481
518
|
yield this.redeployProjectRaw(requestParameters, initOverrides);
|
|
482
519
|
});
|
|
483
520
|
}
|
|
521
|
+
/**
|
|
522
|
+
* Request a service quota increase for a project\'s cloud account
|
|
523
|
+
* Request quota increase
|
|
524
|
+
*/
|
|
525
|
+
requestQuotaIncreaseRaw(requestParameters, initOverrides) {
|
|
526
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
527
|
+
if (requestParameters.projectId === null || requestParameters.projectId === undefined) {
|
|
528
|
+
throw new runtime.RequiredError('projectId', 'Required parameter requestParameters.projectId was null or undefined when calling requestQuotaIncrease.');
|
|
529
|
+
}
|
|
530
|
+
if (requestParameters.requestQuotaIncreaseCommand === null || requestParameters.requestQuotaIncreaseCommand === undefined) {
|
|
531
|
+
throw new runtime.RequiredError('requestQuotaIncreaseCommand', 'Required parameter requestParameters.requestQuotaIncreaseCommand was null or undefined when calling requestQuotaIncrease.');
|
|
532
|
+
}
|
|
533
|
+
const queryParameters = {};
|
|
534
|
+
const headerParameters = {};
|
|
535
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
536
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
537
|
+
const token = this.configuration.accessToken;
|
|
538
|
+
const tokenString = yield token("accessToken", []);
|
|
539
|
+
if (tokenString) {
|
|
540
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
541
|
+
}
|
|
542
|
+
}
|
|
543
|
+
const response = yield this.request({
|
|
544
|
+
path: `/projects/{projectId}/cloud-quotas`.replace(`{${"projectId"}}`, encodeURIComponent(String(requestParameters.projectId))),
|
|
545
|
+
method: 'PUT',
|
|
546
|
+
headers: headerParameters,
|
|
547
|
+
query: queryParameters,
|
|
548
|
+
body: (0, index_1.RequestQuotaIncreaseCommandToJSON)(requestParameters.requestQuotaIncreaseCommand),
|
|
549
|
+
}, initOverrides);
|
|
550
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.RequestQuotaIncreaseResponseFromJSON)(jsonValue));
|
|
551
|
+
});
|
|
552
|
+
}
|
|
553
|
+
/**
|
|
554
|
+
* Request a service quota increase for a project\'s cloud account
|
|
555
|
+
* Request quota increase
|
|
556
|
+
*/
|
|
557
|
+
requestQuotaIncrease(requestParameters, initOverrides) {
|
|
558
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
559
|
+
const response = yield this.requestQuotaIncreaseRaw(requestParameters, initOverrides);
|
|
560
|
+
return yield response.value();
|
|
561
|
+
});
|
|
562
|
+
}
|
|
484
563
|
/**
|
|
485
564
|
* Sets a user\'s role within a project
|
|
486
565
|
* Set role
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { ApproveProjectAccessRequest, CreateProjectAccessRequest, CreateResponse, Project, ProjectAccessRequest, ProjectCreateOptions, ProjectDetail, ProjectInput, ProjectUser, SetUserProjectRoleRequest, Tag } from '../models/index';
|
|
13
|
+
import type { ApproveProjectAccessRequest, CloudQuota, CreateProjectAccessRequest, CreateResponse, Project, ProjectAccessRequest, ProjectCreateOptions, ProjectDetail, ProjectInput, ProjectUser, RequestQuotaIncreaseCommand, RequestQuotaIncreaseResponse, SetUserProjectRoleRequest, Tag } from '../models/index';
|
|
14
14
|
export interface ApproveAccessRequestRequest {
|
|
15
15
|
projectId: string;
|
|
16
16
|
accessRequestId: string;
|
|
@@ -40,9 +40,16 @@ export interface GetProjectRequest {
|
|
|
40
40
|
export interface GetProjectUsersRequest {
|
|
41
41
|
projectId: string;
|
|
42
42
|
}
|
|
43
|
+
export interface GetQuotasRequest {
|
|
44
|
+
projectId: string;
|
|
45
|
+
}
|
|
43
46
|
export interface RedeployProjectRequest {
|
|
44
47
|
projectId: string;
|
|
45
48
|
}
|
|
49
|
+
export interface RequestQuotaIncreaseRequest {
|
|
50
|
+
projectId: string;
|
|
51
|
+
requestQuotaIncreaseCommand: RequestQuotaIncreaseCommand;
|
|
52
|
+
}
|
|
46
53
|
export interface SetUserProjectRoleOperationRequest {
|
|
47
54
|
projectId: string;
|
|
48
55
|
setUserProjectRoleRequest: SetUserProjectRoleRequest;
|
|
@@ -172,6 +179,16 @@ export declare class ProjectsApi extends runtime.BaseAPI {
|
|
|
172
179
|
* Get projects
|
|
173
180
|
*/
|
|
174
181
|
getProjects(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<Project>>;
|
|
182
|
+
/**
|
|
183
|
+
* Retrieves a list of relevant cloud service quotas for project
|
|
184
|
+
* Get cloud quotas
|
|
185
|
+
*/
|
|
186
|
+
getQuotasRaw(requestParameters: GetQuotasRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<CloudQuota>>>;
|
|
187
|
+
/**
|
|
188
|
+
* Retrieves a list of relevant cloud service quotas for project
|
|
189
|
+
* Get cloud quotas
|
|
190
|
+
*/
|
|
191
|
+
getQuotas(requestParameters: GetQuotasRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<CloudQuota>>;
|
|
175
192
|
/**
|
|
176
193
|
* Redeploys cloud resources for a project
|
|
177
194
|
* Redeploy project
|
|
@@ -182,6 +199,16 @@ export declare class ProjectsApi extends runtime.BaseAPI {
|
|
|
182
199
|
* Redeploy project
|
|
183
200
|
*/
|
|
184
201
|
redeployProject(requestParameters: RedeployProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
202
|
+
/**
|
|
203
|
+
* Request a service quota increase for a project\'s cloud account
|
|
204
|
+
* Request quota increase
|
|
205
|
+
*/
|
|
206
|
+
requestQuotaIncreaseRaw(requestParameters: RequestQuotaIncreaseRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RequestQuotaIncreaseResponse>>;
|
|
207
|
+
/**
|
|
208
|
+
* Request a service quota increase for a project\'s cloud account
|
|
209
|
+
* Request quota increase
|
|
210
|
+
*/
|
|
211
|
+
requestQuotaIncrease(requestParameters: RequestQuotaIncreaseRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RequestQuotaIncreaseResponse>;
|
|
185
212
|
/**
|
|
186
213
|
* Sets a user\'s role within a project
|
|
187
214
|
* Set role
|
|
@@ -21,7 +21,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
import * as runtime from '../runtime';
|
|
24
|
-
import { ApproveProjectAccessRequestToJSON, CreateProjectAccessRequestToJSON, CreateResponseFromJSON, ProjectFromJSON, ProjectAccessRequestFromJSON, ProjectCreateOptionsFromJSON, ProjectDetailFromJSON, ProjectInputToJSON, ProjectUserFromJSON, SetUserProjectRoleRequestToJSON, TagToJSON, } from '../models/index';
|
|
24
|
+
import { ApproveProjectAccessRequestToJSON, CloudQuotaFromJSON, CreateProjectAccessRequestToJSON, CreateResponseFromJSON, ProjectFromJSON, ProjectAccessRequestFromJSON, ProjectCreateOptionsFromJSON, ProjectDetailFromJSON, ProjectInputToJSON, ProjectUserFromJSON, RequestQuotaIncreaseCommandToJSON, RequestQuotaIncreaseResponseFromJSON, SetUserProjectRoleRequestToJSON, TagToJSON, } from '../models/index';
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
@@ -442,6 +442,43 @@ export class ProjectsApi extends runtime.BaseAPI {
|
|
|
442
442
|
return yield response.value();
|
|
443
443
|
});
|
|
444
444
|
}
|
|
445
|
+
/**
|
|
446
|
+
* Retrieves a list of relevant cloud service quotas for project
|
|
447
|
+
* Get cloud quotas
|
|
448
|
+
*/
|
|
449
|
+
getQuotasRaw(requestParameters, initOverrides) {
|
|
450
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
451
|
+
if (requestParameters.projectId === null || requestParameters.projectId === undefined) {
|
|
452
|
+
throw new runtime.RequiredError('projectId', 'Required parameter requestParameters.projectId was null or undefined when calling getQuotas.');
|
|
453
|
+
}
|
|
454
|
+
const queryParameters = {};
|
|
455
|
+
const headerParameters = {};
|
|
456
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
457
|
+
const token = this.configuration.accessToken;
|
|
458
|
+
const tokenString = yield token("accessToken", []);
|
|
459
|
+
if (tokenString) {
|
|
460
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
461
|
+
}
|
|
462
|
+
}
|
|
463
|
+
const response = yield this.request({
|
|
464
|
+
path: `/projects/{projectId}/cloud-quotas`.replace(`{${"projectId"}}`, encodeURIComponent(String(requestParameters.projectId))),
|
|
465
|
+
method: 'GET',
|
|
466
|
+
headers: headerParameters,
|
|
467
|
+
query: queryParameters,
|
|
468
|
+
}, initOverrides);
|
|
469
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(CloudQuotaFromJSON));
|
|
470
|
+
});
|
|
471
|
+
}
|
|
472
|
+
/**
|
|
473
|
+
* Retrieves a list of relevant cloud service quotas for project
|
|
474
|
+
* Get cloud quotas
|
|
475
|
+
*/
|
|
476
|
+
getQuotas(requestParameters, initOverrides) {
|
|
477
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
478
|
+
const response = yield this.getQuotasRaw(requestParameters, initOverrides);
|
|
479
|
+
return yield response.value();
|
|
480
|
+
});
|
|
481
|
+
}
|
|
445
482
|
/**
|
|
446
483
|
* Redeploys cloud resources for a project
|
|
447
484
|
* Redeploy project
|
|
@@ -478,6 +515,48 @@ export class ProjectsApi extends runtime.BaseAPI {
|
|
|
478
515
|
yield this.redeployProjectRaw(requestParameters, initOverrides);
|
|
479
516
|
});
|
|
480
517
|
}
|
|
518
|
+
/**
|
|
519
|
+
* Request a service quota increase for a project\'s cloud account
|
|
520
|
+
* Request quota increase
|
|
521
|
+
*/
|
|
522
|
+
requestQuotaIncreaseRaw(requestParameters, initOverrides) {
|
|
523
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
524
|
+
if (requestParameters.projectId === null || requestParameters.projectId === undefined) {
|
|
525
|
+
throw new runtime.RequiredError('projectId', 'Required parameter requestParameters.projectId was null or undefined when calling requestQuotaIncrease.');
|
|
526
|
+
}
|
|
527
|
+
if (requestParameters.requestQuotaIncreaseCommand === null || requestParameters.requestQuotaIncreaseCommand === undefined) {
|
|
528
|
+
throw new runtime.RequiredError('requestQuotaIncreaseCommand', 'Required parameter requestParameters.requestQuotaIncreaseCommand was null or undefined when calling requestQuotaIncrease.');
|
|
529
|
+
}
|
|
530
|
+
const queryParameters = {};
|
|
531
|
+
const headerParameters = {};
|
|
532
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
533
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
534
|
+
const token = this.configuration.accessToken;
|
|
535
|
+
const tokenString = yield token("accessToken", []);
|
|
536
|
+
if (tokenString) {
|
|
537
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
538
|
+
}
|
|
539
|
+
}
|
|
540
|
+
const response = yield this.request({
|
|
541
|
+
path: `/projects/{projectId}/cloud-quotas`.replace(`{${"projectId"}}`, encodeURIComponent(String(requestParameters.projectId))),
|
|
542
|
+
method: 'PUT',
|
|
543
|
+
headers: headerParameters,
|
|
544
|
+
query: queryParameters,
|
|
545
|
+
body: RequestQuotaIncreaseCommandToJSON(requestParameters.requestQuotaIncreaseCommand),
|
|
546
|
+
}, initOverrides);
|
|
547
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => RequestQuotaIncreaseResponseFromJSON(jsonValue));
|
|
548
|
+
});
|
|
549
|
+
}
|
|
550
|
+
/**
|
|
551
|
+
* Request a service quota increase for a project\'s cloud account
|
|
552
|
+
* Request quota increase
|
|
553
|
+
*/
|
|
554
|
+
requestQuotaIncrease(requestParameters, initOverrides) {
|
|
555
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
556
|
+
const response = yield this.requestQuotaIncreaseRaw(requestParameters, initOverrides);
|
|
557
|
+
return yield response.value();
|
|
558
|
+
});
|
|
559
|
+
}
|
|
481
560
|
/**
|
|
482
561
|
* Sets a user\'s role within a project
|
|
483
562
|
* Set role
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Cirro Data
|
|
3
|
+
* Cirro Data Platform service API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: latest
|
|
6
|
+
* Contact: support@cirro.bio
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface CloudQuota
|
|
16
|
+
*/
|
|
17
|
+
export interface CloudQuota {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CloudQuota
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CloudQuota
|
|
28
|
+
*/
|
|
29
|
+
description: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CloudQuota
|
|
34
|
+
*/
|
|
35
|
+
service: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CloudQuota
|
|
40
|
+
*/
|
|
41
|
+
code: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof CloudQuota
|
|
46
|
+
*/
|
|
47
|
+
appliedQuota: number;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the CloudQuota interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfCloudQuota(value: object): boolean;
|
|
53
|
+
export declare function CloudQuotaFromJSON(json: any): CloudQuota;
|
|
54
|
+
export declare function CloudQuotaFromJSONTyped(json: any, ignoreDiscriminator: boolean): CloudQuota;
|
|
55
|
+
export declare function CloudQuotaToJSON(value?: CloudQuota | null): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Cirro Data
|
|
5
|
+
* Cirro Data Platform service API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: latest
|
|
8
|
+
* Contact: support@cirro.bio
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the CloudQuota interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfCloudQuota(value) {
|
|
18
|
+
let isInstance = true;
|
|
19
|
+
isInstance = isInstance && "name" in value;
|
|
20
|
+
isInstance = isInstance && "description" in value;
|
|
21
|
+
isInstance = isInstance && "service" in value;
|
|
22
|
+
isInstance = isInstance && "code" in value;
|
|
23
|
+
isInstance = isInstance && "appliedQuota" in value;
|
|
24
|
+
return isInstance;
|
|
25
|
+
}
|
|
26
|
+
export function CloudQuotaFromJSON(json) {
|
|
27
|
+
return CloudQuotaFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function CloudQuotaFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if ((json === undefined) || (json === null)) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'name': json['name'],
|
|
35
|
+
'description': json['description'],
|
|
36
|
+
'service': json['service'],
|
|
37
|
+
'code': json['code'],
|
|
38
|
+
'appliedQuota': json['appliedQuota'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
export function CloudQuotaToJSON(value) {
|
|
42
|
+
if (value === undefined) {
|
|
43
|
+
return undefined;
|
|
44
|
+
}
|
|
45
|
+
if (value === null) {
|
|
46
|
+
return null;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'name': value.name,
|
|
50
|
+
'description': value.description,
|
|
51
|
+
'service': value.service,
|
|
52
|
+
'code': value.code,
|
|
53
|
+
'appliedQuota': value.appliedQuota,
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Cirro Data
|
|
3
|
+
* Cirro Data Platform service API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: latest
|
|
6
|
+
* Contact: support@cirro.bio
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface RequestQuotaIncreaseCommand
|
|
16
|
+
*/
|
|
17
|
+
export interface RequestQuotaIncreaseCommand {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof RequestQuotaIncreaseCommand
|
|
22
|
+
*/
|
|
23
|
+
serviceCode: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof RequestQuotaIncreaseCommand
|
|
28
|
+
*/
|
|
29
|
+
quotaCode: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof RequestQuotaIncreaseCommand
|
|
34
|
+
*/
|
|
35
|
+
value: number;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the RequestQuotaIncreaseCommand interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfRequestQuotaIncreaseCommand(value: object): boolean;
|
|
41
|
+
export declare function RequestQuotaIncreaseCommandFromJSON(json: any): RequestQuotaIncreaseCommand;
|
|
42
|
+
export declare function RequestQuotaIncreaseCommandFromJSONTyped(json: any, ignoreDiscriminator: boolean): RequestQuotaIncreaseCommand;
|
|
43
|
+
export declare function RequestQuotaIncreaseCommandToJSON(value?: RequestQuotaIncreaseCommand | null): any;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Cirro Data
|
|
5
|
+
* Cirro Data Platform service API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: latest
|
|
8
|
+
* Contact: support@cirro.bio
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the RequestQuotaIncreaseCommand interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfRequestQuotaIncreaseCommand(value) {
|
|
18
|
+
let isInstance = true;
|
|
19
|
+
isInstance = isInstance && "serviceCode" in value;
|
|
20
|
+
isInstance = isInstance && "quotaCode" in value;
|
|
21
|
+
isInstance = isInstance && "value" in value;
|
|
22
|
+
return isInstance;
|
|
23
|
+
}
|
|
24
|
+
export function RequestQuotaIncreaseCommandFromJSON(json) {
|
|
25
|
+
return RequestQuotaIncreaseCommandFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function RequestQuotaIncreaseCommandFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if ((json === undefined) || (json === null)) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'serviceCode': json['serviceCode'],
|
|
33
|
+
'quotaCode': json['quotaCode'],
|
|
34
|
+
'value': json['value'],
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export function RequestQuotaIncreaseCommandToJSON(value) {
|
|
38
|
+
if (value === undefined) {
|
|
39
|
+
return undefined;
|
|
40
|
+
}
|
|
41
|
+
if (value === null) {
|
|
42
|
+
return null;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'serviceCode': value.serviceCode,
|
|
46
|
+
'quotaCode': value.quotaCode,
|
|
47
|
+
'value': value.value,
|
|
48
|
+
};
|
|
49
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Cirro Data
|
|
3
|
+
* Cirro Data Platform service API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: latest
|
|
6
|
+
* Contact: support@cirro.bio
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { CloudQuota } from './CloudQuota';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface RequestQuotaIncreaseResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface RequestQuotaIncreaseResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {CloudQuota}
|
|
22
|
+
* @memberof RequestQuotaIncreaseResponse
|
|
23
|
+
*/
|
|
24
|
+
quota: CloudQuota;
|
|
25
|
+
/**
|
|
26
|
+
* Case ID, if a support case has been opened for the quota increase request
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof RequestQuotaIncreaseResponse
|
|
29
|
+
*/
|
|
30
|
+
caseId?: string | null;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the RequestQuotaIncreaseResponse interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfRequestQuotaIncreaseResponse(value: object): boolean;
|
|
36
|
+
export declare function RequestQuotaIncreaseResponseFromJSON(json: any): RequestQuotaIncreaseResponse;
|
|
37
|
+
export declare function RequestQuotaIncreaseResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): RequestQuotaIncreaseResponse;
|
|
38
|
+
export declare function RequestQuotaIncreaseResponseToJSON(value?: RequestQuotaIncreaseResponse | null): any;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Cirro Data
|
|
5
|
+
* Cirro Data Platform service API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: latest
|
|
8
|
+
* Contact: support@cirro.bio
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { exists } from '../runtime';
|
|
15
|
+
import { CloudQuotaFromJSON, CloudQuotaToJSON, } from './CloudQuota';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the RequestQuotaIncreaseResponse interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfRequestQuotaIncreaseResponse(value) {
|
|
20
|
+
let isInstance = true;
|
|
21
|
+
isInstance = isInstance && "quota" in value;
|
|
22
|
+
return isInstance;
|
|
23
|
+
}
|
|
24
|
+
export function RequestQuotaIncreaseResponseFromJSON(json) {
|
|
25
|
+
return RequestQuotaIncreaseResponseFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function RequestQuotaIncreaseResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if ((json === undefined) || (json === null)) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'quota': CloudQuotaFromJSON(json['quota']),
|
|
33
|
+
'caseId': !exists(json, 'caseId') ? undefined : json['caseId'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function RequestQuotaIncreaseResponseToJSON(value) {
|
|
37
|
+
if (value === undefined) {
|
|
38
|
+
return undefined;
|
|
39
|
+
}
|
|
40
|
+
if (value === null) {
|
|
41
|
+
return null;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'quota': CloudQuotaToJSON(value.quota),
|
|
45
|
+
'caseId': value.caseId,
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -23,6 +23,7 @@ export * from './BudgetPeriod';
|
|
|
23
23
|
export * from './ClassificationInput';
|
|
24
24
|
export * from './CloudAccount';
|
|
25
25
|
export * from './CloudAccountType';
|
|
26
|
+
export * from './CloudQuota';
|
|
26
27
|
export * from './ColumnDataType';
|
|
27
28
|
export * from './ColumnDef';
|
|
28
29
|
export * from './ColumnDefinition';
|
|
@@ -132,6 +133,8 @@ export * from './ProjectUser';
|
|
|
132
133
|
export * from './Reference';
|
|
133
134
|
export * from './ReferenceType';
|
|
134
135
|
export * from './RepositoryType';
|
|
136
|
+
export * from './RequestQuotaIncreaseCommand';
|
|
137
|
+
export * from './RequestQuotaIncreaseResponse';
|
|
135
138
|
export * from './RequestStatus';
|
|
136
139
|
export * from './RequirementFulfillmentInput';
|
|
137
140
|
export * from './RequirementInput';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -25,6 +25,7 @@ export * from './BudgetPeriod';
|
|
|
25
25
|
export * from './ClassificationInput';
|
|
26
26
|
export * from './CloudAccount';
|
|
27
27
|
export * from './CloudAccountType';
|
|
28
|
+
export * from './CloudQuota';
|
|
28
29
|
export * from './ColumnDataType';
|
|
29
30
|
export * from './ColumnDef';
|
|
30
31
|
export * from './ColumnDefinition';
|
|
@@ -134,6 +135,8 @@ export * from './ProjectUser';
|
|
|
134
135
|
export * from './Reference';
|
|
135
136
|
export * from './ReferenceType';
|
|
136
137
|
export * from './RepositoryType';
|
|
138
|
+
export * from './RequestQuotaIncreaseCommand';
|
|
139
|
+
export * from './RequestQuotaIncreaseResponse';
|
|
137
140
|
export * from './RequestStatus';
|
|
138
141
|
export * from './RequirementFulfillmentInput';
|
|
139
142
|
export * from './RequirementInput';
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Cirro Data
|
|
3
|
+
* Cirro Data Platform service API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: latest
|
|
6
|
+
* Contact: support@cirro.bio
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface CloudQuota
|
|
16
|
+
*/
|
|
17
|
+
export interface CloudQuota {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CloudQuota
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CloudQuota
|
|
28
|
+
*/
|
|
29
|
+
description: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CloudQuota
|
|
34
|
+
*/
|
|
35
|
+
service: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CloudQuota
|
|
40
|
+
*/
|
|
41
|
+
code: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof CloudQuota
|
|
46
|
+
*/
|
|
47
|
+
appliedQuota: number;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the CloudQuota interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfCloudQuota(value: object): boolean;
|
|
53
|
+
export declare function CloudQuotaFromJSON(json: any): CloudQuota;
|
|
54
|
+
export declare function CloudQuotaFromJSONTyped(json: any, ignoreDiscriminator: boolean): CloudQuota;
|
|
55
|
+
export declare function CloudQuotaToJSON(value?: CloudQuota | null): any;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Cirro Data
|
|
6
|
+
* Cirro Data Platform service API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: latest
|
|
9
|
+
* Contact: support@cirro.bio
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.CloudQuotaToJSON = exports.CloudQuotaFromJSONTyped = exports.CloudQuotaFromJSON = exports.instanceOfCloudQuota = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the CloudQuota interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfCloudQuota(value) {
|
|
21
|
+
let isInstance = true;
|
|
22
|
+
isInstance = isInstance && "name" in value;
|
|
23
|
+
isInstance = isInstance && "description" in value;
|
|
24
|
+
isInstance = isInstance && "service" in value;
|
|
25
|
+
isInstance = isInstance && "code" in value;
|
|
26
|
+
isInstance = isInstance && "appliedQuota" in value;
|
|
27
|
+
return isInstance;
|
|
28
|
+
}
|
|
29
|
+
exports.instanceOfCloudQuota = instanceOfCloudQuota;
|
|
30
|
+
function CloudQuotaFromJSON(json) {
|
|
31
|
+
return CloudQuotaFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
exports.CloudQuotaFromJSON = CloudQuotaFromJSON;
|
|
34
|
+
function CloudQuotaFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if ((json === undefined) || (json === null)) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'name': json['name'],
|
|
40
|
+
'description': json['description'],
|
|
41
|
+
'service': json['service'],
|
|
42
|
+
'code': json['code'],
|
|
43
|
+
'appliedQuota': json['appliedQuota'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
exports.CloudQuotaFromJSONTyped = CloudQuotaFromJSONTyped;
|
|
47
|
+
function CloudQuotaToJSON(value) {
|
|
48
|
+
if (value === undefined) {
|
|
49
|
+
return undefined;
|
|
50
|
+
}
|
|
51
|
+
if (value === null) {
|
|
52
|
+
return null;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'name': value.name,
|
|
56
|
+
'description': value.description,
|
|
57
|
+
'service': value.service,
|
|
58
|
+
'code': value.code,
|
|
59
|
+
'appliedQuota': value.appliedQuota,
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
exports.CloudQuotaToJSON = CloudQuotaToJSON;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Cirro Data
|
|
3
|
+
* Cirro Data Platform service API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: latest
|
|
6
|
+
* Contact: support@cirro.bio
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface RequestQuotaIncreaseCommand
|
|
16
|
+
*/
|
|
17
|
+
export interface RequestQuotaIncreaseCommand {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof RequestQuotaIncreaseCommand
|
|
22
|
+
*/
|
|
23
|
+
serviceCode: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof RequestQuotaIncreaseCommand
|
|
28
|
+
*/
|
|
29
|
+
quotaCode: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof RequestQuotaIncreaseCommand
|
|
34
|
+
*/
|
|
35
|
+
value: number;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the RequestQuotaIncreaseCommand interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfRequestQuotaIncreaseCommand(value: object): boolean;
|
|
41
|
+
export declare function RequestQuotaIncreaseCommandFromJSON(json: any): RequestQuotaIncreaseCommand;
|
|
42
|
+
export declare function RequestQuotaIncreaseCommandFromJSONTyped(json: any, ignoreDiscriminator: boolean): RequestQuotaIncreaseCommand;
|
|
43
|
+
export declare function RequestQuotaIncreaseCommandToJSON(value?: RequestQuotaIncreaseCommand | null): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Cirro Data
|
|
6
|
+
* Cirro Data Platform service API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: latest
|
|
9
|
+
* Contact: support@cirro.bio
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.RequestQuotaIncreaseCommandToJSON = exports.RequestQuotaIncreaseCommandFromJSONTyped = exports.RequestQuotaIncreaseCommandFromJSON = exports.instanceOfRequestQuotaIncreaseCommand = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the RequestQuotaIncreaseCommand interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfRequestQuotaIncreaseCommand(value) {
|
|
21
|
+
let isInstance = true;
|
|
22
|
+
isInstance = isInstance && "serviceCode" in value;
|
|
23
|
+
isInstance = isInstance && "quotaCode" in value;
|
|
24
|
+
isInstance = isInstance && "value" in value;
|
|
25
|
+
return isInstance;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfRequestQuotaIncreaseCommand = instanceOfRequestQuotaIncreaseCommand;
|
|
28
|
+
function RequestQuotaIncreaseCommandFromJSON(json) {
|
|
29
|
+
return RequestQuotaIncreaseCommandFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
exports.RequestQuotaIncreaseCommandFromJSON = RequestQuotaIncreaseCommandFromJSON;
|
|
32
|
+
function RequestQuotaIncreaseCommandFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if ((json === undefined) || (json === null)) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'serviceCode': json['serviceCode'],
|
|
38
|
+
'quotaCode': json['quotaCode'],
|
|
39
|
+
'value': json['value'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
exports.RequestQuotaIncreaseCommandFromJSONTyped = RequestQuotaIncreaseCommandFromJSONTyped;
|
|
43
|
+
function RequestQuotaIncreaseCommandToJSON(value) {
|
|
44
|
+
if (value === undefined) {
|
|
45
|
+
return undefined;
|
|
46
|
+
}
|
|
47
|
+
if (value === null) {
|
|
48
|
+
return null;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'serviceCode': value.serviceCode,
|
|
52
|
+
'quotaCode': value.quotaCode,
|
|
53
|
+
'value': value.value,
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
exports.RequestQuotaIncreaseCommandToJSON = RequestQuotaIncreaseCommandToJSON;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Cirro Data
|
|
3
|
+
* Cirro Data Platform service API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: latest
|
|
6
|
+
* Contact: support@cirro.bio
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { CloudQuota } from './CloudQuota';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface RequestQuotaIncreaseResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface RequestQuotaIncreaseResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {CloudQuota}
|
|
22
|
+
* @memberof RequestQuotaIncreaseResponse
|
|
23
|
+
*/
|
|
24
|
+
quota: CloudQuota;
|
|
25
|
+
/**
|
|
26
|
+
* Case ID, if a support case has been opened for the quota increase request
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof RequestQuotaIncreaseResponse
|
|
29
|
+
*/
|
|
30
|
+
caseId?: string | null;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the RequestQuotaIncreaseResponse interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfRequestQuotaIncreaseResponse(value: object): boolean;
|
|
36
|
+
export declare function RequestQuotaIncreaseResponseFromJSON(json: any): RequestQuotaIncreaseResponse;
|
|
37
|
+
export declare function RequestQuotaIncreaseResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): RequestQuotaIncreaseResponse;
|
|
38
|
+
export declare function RequestQuotaIncreaseResponseToJSON(value?: RequestQuotaIncreaseResponse | null): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Cirro Data
|
|
6
|
+
* Cirro Data Platform service API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: latest
|
|
9
|
+
* Contact: support@cirro.bio
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.RequestQuotaIncreaseResponseToJSON = exports.RequestQuotaIncreaseResponseFromJSONTyped = exports.RequestQuotaIncreaseResponseFromJSON = exports.instanceOfRequestQuotaIncreaseResponse = void 0;
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
18
|
+
const CloudQuota_1 = require("./CloudQuota");
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the RequestQuotaIncreaseResponse interface.
|
|
21
|
+
*/
|
|
22
|
+
function instanceOfRequestQuotaIncreaseResponse(value) {
|
|
23
|
+
let isInstance = true;
|
|
24
|
+
isInstance = isInstance && "quota" in value;
|
|
25
|
+
return isInstance;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfRequestQuotaIncreaseResponse = instanceOfRequestQuotaIncreaseResponse;
|
|
28
|
+
function RequestQuotaIncreaseResponseFromJSON(json) {
|
|
29
|
+
return RequestQuotaIncreaseResponseFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
exports.RequestQuotaIncreaseResponseFromJSON = RequestQuotaIncreaseResponseFromJSON;
|
|
32
|
+
function RequestQuotaIncreaseResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if ((json === undefined) || (json === null)) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'quota': (0, CloudQuota_1.CloudQuotaFromJSON)(json['quota']),
|
|
38
|
+
'caseId': !(0, runtime_1.exists)(json, 'caseId') ? undefined : json['caseId'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
exports.RequestQuotaIncreaseResponseFromJSONTyped = RequestQuotaIncreaseResponseFromJSONTyped;
|
|
42
|
+
function RequestQuotaIncreaseResponseToJSON(value) {
|
|
43
|
+
if (value === undefined) {
|
|
44
|
+
return undefined;
|
|
45
|
+
}
|
|
46
|
+
if (value === null) {
|
|
47
|
+
return null;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'quota': (0, CloudQuota_1.CloudQuotaToJSON)(value.quota),
|
|
51
|
+
'caseId': value.caseId,
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
exports.RequestQuotaIncreaseResponseToJSON = RequestQuotaIncreaseResponseToJSON;
|
package/dist/models/index.d.ts
CHANGED
|
@@ -23,6 +23,7 @@ export * from './BudgetPeriod';
|
|
|
23
23
|
export * from './ClassificationInput';
|
|
24
24
|
export * from './CloudAccount';
|
|
25
25
|
export * from './CloudAccountType';
|
|
26
|
+
export * from './CloudQuota';
|
|
26
27
|
export * from './ColumnDataType';
|
|
27
28
|
export * from './ColumnDef';
|
|
28
29
|
export * from './ColumnDefinition';
|
|
@@ -132,6 +133,8 @@ export * from './ProjectUser';
|
|
|
132
133
|
export * from './Reference';
|
|
133
134
|
export * from './ReferenceType';
|
|
134
135
|
export * from './RepositoryType';
|
|
136
|
+
export * from './RequestQuotaIncreaseCommand';
|
|
137
|
+
export * from './RequestQuotaIncreaseResponse';
|
|
135
138
|
export * from './RequestStatus';
|
|
136
139
|
export * from './RequirementFulfillmentInput';
|
|
137
140
|
export * from './RequirementInput';
|
package/dist/models/index.js
CHANGED
|
@@ -41,6 +41,7 @@ __exportStar(require("./BudgetPeriod"), exports);
|
|
|
41
41
|
__exportStar(require("./ClassificationInput"), exports);
|
|
42
42
|
__exportStar(require("./CloudAccount"), exports);
|
|
43
43
|
__exportStar(require("./CloudAccountType"), exports);
|
|
44
|
+
__exportStar(require("./CloudQuota"), exports);
|
|
44
45
|
__exportStar(require("./ColumnDataType"), exports);
|
|
45
46
|
__exportStar(require("./ColumnDef"), exports);
|
|
46
47
|
__exportStar(require("./ColumnDefinition"), exports);
|
|
@@ -150,6 +151,8 @@ __exportStar(require("./ProjectUser"), exports);
|
|
|
150
151
|
__exportStar(require("./Reference"), exports);
|
|
151
152
|
__exportStar(require("./ReferenceType"), exports);
|
|
152
153
|
__exportStar(require("./RepositoryType"), exports);
|
|
154
|
+
__exportStar(require("./RequestQuotaIncreaseCommand"), exports);
|
|
155
|
+
__exportStar(require("./RequestQuotaIncreaseResponse"), exports);
|
|
153
156
|
__exportStar(require("./RequestStatus"), exports);
|
|
154
157
|
__exportStar(require("./RequirementFulfillmentInput"), exports);
|
|
155
158
|
__exportStar(require("./RequirementInput"), exports);
|