@cirrobio/api-client 0.0.5-alpha → 0.0.7-alpha
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/SystemApi.d.ts +8 -0
- package/dist/apis/SystemApi.js +41 -0
- package/dist/models/BillingMethod.d.ts +6 -6
- package/dist/models/BillingMethod.js +7 -5
- package/dist/models/BudgetPeriod.d.ts +6 -6
- package/dist/models/BudgetPeriod.js +7 -5
- package/dist/models/CustomerType.d.ts +7 -7
- package/dist/models/CustomerType.js +8 -6
- package/dist/models/DatasetType.d.ts +5 -5
- package/dist/models/DatasetType.js +6 -4
- package/dist/models/Executor.d.ts +6 -6
- package/dist/models/Executor.js +7 -5
- package/dist/models/Project.d.ts +7 -0
- package/dist/models/Project.js +4 -0
- package/dist/models/ProjectDetail.d.ts +2 -2
- package/dist/models/ProjectDetail.js +3 -3
- package/dist/models/ProjectRole.d.ts +7 -7
- package/dist/models/ProjectRole.js +8 -6
- package/dist/models/ProjectSettings.d.ts +16 -16
- package/dist/models/ProjectSettings.js +31 -17
- package/package.json +1 -1
- package/src/apis/SystemApi.ts +26 -0
- package/src/models/BillingMethod.ts +6 -7
- package/src/models/BudgetPeriod.ts +6 -7
- package/src/models/CustomerType.ts +7 -8
- package/src/models/DatasetType.ts +5 -6
- package/src/models/Executor.ts +6 -7
- package/src/models/Project.ts +16 -0
- package/src/models/ProjectDetail.ts +5 -5
- package/src/models/ProjectRole.ts +7 -8
- package/src/models/ProjectSettings.ts +47 -32
package/README.md
CHANGED
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @cirrobio/api-client@0.0.
|
|
39
|
+
npm install @cirrobio/api-client@0.0.7-alpha --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/dist/apis/SystemApi.d.ts
CHANGED
|
@@ -33,4 +33,12 @@ export declare class SystemApi extends runtime.BaseAPI {
|
|
|
33
33
|
* Get system info
|
|
34
34
|
*/
|
|
35
35
|
info(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SystemInfoResponse>;
|
|
36
|
+
/**
|
|
37
|
+
* Get system info
|
|
38
|
+
*/
|
|
39
|
+
info1Raw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SystemInfoResponse>>;
|
|
40
|
+
/**
|
|
41
|
+
* Get system info
|
|
42
|
+
*/
|
|
43
|
+
info1(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SystemInfoResponse>;
|
|
36
44
|
}
|
package/dist/apis/SystemApi.js
CHANGED
|
@@ -168,6 +168,47 @@ var SystemApi = /** @class */ (function (_super) {
|
|
|
168
168
|
});
|
|
169
169
|
});
|
|
170
170
|
};
|
|
171
|
+
/**
|
|
172
|
+
* Get system info
|
|
173
|
+
*/
|
|
174
|
+
SystemApi.prototype.info1Raw = function (initOverrides) {
|
|
175
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
176
|
+
var queryParameters, headerParameters, response;
|
|
177
|
+
return __generator(this, function (_a) {
|
|
178
|
+
switch (_a.label) {
|
|
179
|
+
case 0:
|
|
180
|
+
queryParameters = {};
|
|
181
|
+
headerParameters = {};
|
|
182
|
+
return [4 /*yield*/, this.request({
|
|
183
|
+
path: "/info/system",
|
|
184
|
+
method: 'GET',
|
|
185
|
+
headers: headerParameters,
|
|
186
|
+
query: queryParameters,
|
|
187
|
+
}, initOverrides)];
|
|
188
|
+
case 1:
|
|
189
|
+
response = _a.sent();
|
|
190
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.SystemInfoResponseFromJSON)(jsonValue); })];
|
|
191
|
+
}
|
|
192
|
+
});
|
|
193
|
+
});
|
|
194
|
+
};
|
|
195
|
+
/**
|
|
196
|
+
* Get system info
|
|
197
|
+
*/
|
|
198
|
+
SystemApi.prototype.info1 = function (initOverrides) {
|
|
199
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
200
|
+
var response;
|
|
201
|
+
return __generator(this, function (_a) {
|
|
202
|
+
switch (_a.label) {
|
|
203
|
+
case 0: return [4 /*yield*/, this.info1Raw(initOverrides)];
|
|
204
|
+
case 1:
|
|
205
|
+
response = _a.sent();
|
|
206
|
+
return [4 /*yield*/, response.value()];
|
|
207
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
208
|
+
}
|
|
209
|
+
});
|
|
210
|
+
});
|
|
211
|
+
};
|
|
171
212
|
return SystemApi;
|
|
172
213
|
}(runtime.BaseAPI));
|
|
173
214
|
exports.SystemApi = SystemApi;
|
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
/**
|
|
13
13
|
*
|
|
14
14
|
* @export
|
|
15
|
+
* @enum {string}
|
|
15
16
|
*/
|
|
16
|
-
export declare
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
export type BillingMethod = typeof BillingMethod[keyof typeof BillingMethod];
|
|
17
|
+
export declare enum BillingMethod {
|
|
18
|
+
BudgetNumber = "BUDGET_NUMBER",
|
|
19
|
+
PurchaseOrder = "PURCHASE_ORDER",
|
|
20
|
+
Credit = "CREDIT"
|
|
21
|
+
}
|
|
22
22
|
export declare function BillingMethodFromJSON(json: any): BillingMethod;
|
|
23
23
|
export declare function BillingMethodFromJSONTyped(json: any, ignoreDiscriminator: boolean): BillingMethod;
|
|
24
24
|
export declare function BillingMethodToJSON(value?: BillingMethod | null): any;
|
|
@@ -17,12 +17,14 @@ exports.BillingMethodToJSON = exports.BillingMethodFromJSONTyped = exports.Billi
|
|
|
17
17
|
/**
|
|
18
18
|
*
|
|
19
19
|
* @export
|
|
20
|
+
* @enum {string}
|
|
20
21
|
*/
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
22
|
+
var BillingMethod;
|
|
23
|
+
(function (BillingMethod) {
|
|
24
|
+
BillingMethod["BudgetNumber"] = "BUDGET_NUMBER";
|
|
25
|
+
BillingMethod["PurchaseOrder"] = "PURCHASE_ORDER";
|
|
26
|
+
BillingMethod["Credit"] = "CREDIT";
|
|
27
|
+
})(BillingMethod = exports.BillingMethod || (exports.BillingMethod = {}));
|
|
26
28
|
function BillingMethodFromJSON(json) {
|
|
27
29
|
return BillingMethodFromJSONTyped(json, false);
|
|
28
30
|
}
|
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
/**
|
|
13
13
|
*
|
|
14
14
|
* @export
|
|
15
|
+
* @enum {string}
|
|
15
16
|
*/
|
|
16
|
-
export declare
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
export type BudgetPeriod = typeof BudgetPeriod[keyof typeof BudgetPeriod];
|
|
17
|
+
export declare enum BudgetPeriod {
|
|
18
|
+
Annually = "ANNUALLY",
|
|
19
|
+
Quarterly = "QUARTERLY",
|
|
20
|
+
Monthly = "MONTHLY"
|
|
21
|
+
}
|
|
22
22
|
export declare function BudgetPeriodFromJSON(json: any): BudgetPeriod;
|
|
23
23
|
export declare function BudgetPeriodFromJSONTyped(json: any, ignoreDiscriminator: boolean): BudgetPeriod;
|
|
24
24
|
export declare function BudgetPeriodToJSON(value?: BudgetPeriod | null): any;
|
|
@@ -17,12 +17,14 @@ exports.BudgetPeriodToJSON = exports.BudgetPeriodFromJSONTyped = exports.BudgetP
|
|
|
17
17
|
/**
|
|
18
18
|
*
|
|
19
19
|
* @export
|
|
20
|
+
* @enum {string}
|
|
20
21
|
*/
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
22
|
+
var BudgetPeriod;
|
|
23
|
+
(function (BudgetPeriod) {
|
|
24
|
+
BudgetPeriod["Annually"] = "ANNUALLY";
|
|
25
|
+
BudgetPeriod["Quarterly"] = "QUARTERLY";
|
|
26
|
+
BudgetPeriod["Monthly"] = "MONTHLY";
|
|
27
|
+
})(BudgetPeriod = exports.BudgetPeriod || (exports.BudgetPeriod = {}));
|
|
26
28
|
function BudgetPeriodFromJSON(json) {
|
|
27
29
|
return BudgetPeriodFromJSONTyped(json, false);
|
|
28
30
|
}
|
|
@@ -12,14 +12,14 @@
|
|
|
12
12
|
/**
|
|
13
13
|
*
|
|
14
14
|
* @export
|
|
15
|
+
* @enum {string}
|
|
15
16
|
*/
|
|
16
|
-
export declare
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
}
|
|
22
|
-
export type CustomerType = typeof CustomerType[keyof typeof CustomerType];
|
|
17
|
+
export declare enum CustomerType {
|
|
18
|
+
Free = "FREE",
|
|
19
|
+
Usage = "USAGE",
|
|
20
|
+
Marketplace = "MARKETPLACE",
|
|
21
|
+
Contract = "CONTRACT"
|
|
22
|
+
}
|
|
23
23
|
export declare function CustomerTypeFromJSON(json: any): CustomerType;
|
|
24
24
|
export declare function CustomerTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): CustomerType;
|
|
25
25
|
export declare function CustomerTypeToJSON(value?: CustomerType | null): any;
|
|
@@ -17,13 +17,15 @@ exports.CustomerTypeToJSON = exports.CustomerTypeFromJSONTyped = exports.Custome
|
|
|
17
17
|
/**
|
|
18
18
|
*
|
|
19
19
|
* @export
|
|
20
|
+
* @enum {string}
|
|
20
21
|
*/
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
22
|
+
var CustomerType;
|
|
23
|
+
(function (CustomerType) {
|
|
24
|
+
CustomerType["Free"] = "FREE";
|
|
25
|
+
CustomerType["Usage"] = "USAGE";
|
|
26
|
+
CustomerType["Marketplace"] = "MARKETPLACE";
|
|
27
|
+
CustomerType["Contract"] = "CONTRACT";
|
|
28
|
+
})(CustomerType = exports.CustomerType || (exports.CustomerType = {}));
|
|
27
29
|
function CustomerTypeFromJSON(json) {
|
|
28
30
|
return CustomerTypeFromJSONTyped(json, false);
|
|
29
31
|
}
|
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
/**
|
|
13
13
|
*
|
|
14
14
|
* @export
|
|
15
|
+
* @enum {string}
|
|
15
16
|
*/
|
|
16
|
-
export declare
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
20
|
-
export type DatasetType = typeof DatasetType[keyof typeof DatasetType];
|
|
17
|
+
export declare enum DatasetType {
|
|
18
|
+
Upload = "UPLOAD",
|
|
19
|
+
Public = "PUBLIC"
|
|
20
|
+
}
|
|
21
21
|
export declare function DatasetTypeFromJSON(json: any): DatasetType;
|
|
22
22
|
export declare function DatasetTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): DatasetType;
|
|
23
23
|
export declare function DatasetTypeToJSON(value?: DatasetType | null): any;
|
|
@@ -17,11 +17,13 @@ exports.DatasetTypeToJSON = exports.DatasetTypeFromJSONTyped = exports.DatasetTy
|
|
|
17
17
|
/**
|
|
18
18
|
*
|
|
19
19
|
* @export
|
|
20
|
+
* @enum {string}
|
|
20
21
|
*/
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
var DatasetType;
|
|
23
|
+
(function (DatasetType) {
|
|
24
|
+
DatasetType["Upload"] = "UPLOAD";
|
|
25
|
+
DatasetType["Public"] = "PUBLIC";
|
|
26
|
+
})(DatasetType = exports.DatasetType || (exports.DatasetType = {}));
|
|
25
27
|
function DatasetTypeFromJSON(json) {
|
|
26
28
|
return DatasetTypeFromJSONTyped(json, false);
|
|
27
29
|
}
|
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
/**
|
|
13
13
|
* Process executor
|
|
14
14
|
* @export
|
|
15
|
+
* @enum {string}
|
|
15
16
|
*/
|
|
16
|
-
export declare
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
export type Executor = typeof Executor[keyof typeof Executor];
|
|
17
|
+
export declare enum Executor {
|
|
18
|
+
Ingest = "INGEST",
|
|
19
|
+
Nextflow = "NEXTFLOW",
|
|
20
|
+
Cromwell = "CROMWELL"
|
|
21
|
+
}
|
|
22
22
|
export declare function ExecutorFromJSON(json: any): Executor;
|
|
23
23
|
export declare function ExecutorFromJSONTyped(json: any, ignoreDiscriminator: boolean): Executor;
|
|
24
24
|
export declare function ExecutorToJSON(value?: Executor | null): any;
|
package/dist/models/Executor.js
CHANGED
|
@@ -17,12 +17,14 @@ exports.ExecutorToJSON = exports.ExecutorFromJSONTyped = exports.ExecutorFromJSO
|
|
|
17
17
|
/**
|
|
18
18
|
* Process executor
|
|
19
19
|
* @export
|
|
20
|
+
* @enum {string}
|
|
20
21
|
*/
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
22
|
+
var Executor;
|
|
23
|
+
(function (Executor) {
|
|
24
|
+
Executor["Ingest"] = "INGEST";
|
|
25
|
+
Executor["Nextflow"] = "NEXTFLOW";
|
|
26
|
+
Executor["Cromwell"] = "CROMWELL";
|
|
27
|
+
})(Executor = exports.Executor || (exports.Executor = {}));
|
|
26
28
|
function ExecutorFromJSON(json) {
|
|
27
29
|
return ExecutorFromJSONTyped(json, false);
|
|
28
30
|
}
|
package/dist/models/Project.d.ts
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { Tag } from './Tag';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -39,6 +40,12 @@ export interface Project {
|
|
|
39
40
|
* @memberof Project
|
|
40
41
|
*/
|
|
41
42
|
status: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {Array<Tag>}
|
|
46
|
+
* @memberof Project
|
|
47
|
+
*/
|
|
48
|
+
tags: Array<Tag>;
|
|
42
49
|
}
|
|
43
50
|
/**
|
|
44
51
|
* Check if a given object implements the Project interface.
|
package/dist/models/Project.js
CHANGED
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.ProjectToJSON = exports.ProjectFromJSONTyped = exports.ProjectFromJSON = exports.instanceOfProject = void 0;
|
|
17
|
+
var Tag_1 = require("./Tag");
|
|
17
18
|
/**
|
|
18
19
|
* Check if a given object implements the Project interface.
|
|
19
20
|
*/
|
|
@@ -23,6 +24,7 @@ function instanceOfProject(value) {
|
|
|
23
24
|
isInstance = isInstance && "name" in value;
|
|
24
25
|
isInstance = isInstance && "description" in value;
|
|
25
26
|
isInstance = isInstance && "status" in value;
|
|
27
|
+
isInstance = isInstance && "tags" in value;
|
|
26
28
|
return isInstance;
|
|
27
29
|
}
|
|
28
30
|
exports.instanceOfProject = instanceOfProject;
|
|
@@ -39,6 +41,7 @@ function ProjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
39
41
|
'name': json['name'],
|
|
40
42
|
'description': json['description'],
|
|
41
43
|
'status': json['status'],
|
|
44
|
+
'tags': (json['tags'].map(Tag_1.TagFromJSON)),
|
|
42
45
|
};
|
|
43
46
|
}
|
|
44
47
|
exports.ProjectFromJSONTyped = ProjectFromJSONTyped;
|
|
@@ -54,6 +57,7 @@ function ProjectToJSON(value) {
|
|
|
54
57
|
'name': value.name,
|
|
55
58
|
'description': value.description,
|
|
56
59
|
'status': value.status,
|
|
60
|
+
'tags': (value.tags.map(Tag_1.TagToJSON)),
|
|
57
61
|
};
|
|
58
62
|
}
|
|
59
63
|
exports.ProjectToJSON = ProjectToJSON;
|
|
@@ -26,7 +26,7 @@ function instanceOfProjectDetail(value) {
|
|
|
26
26
|
isInstance = isInstance && "name" in value;
|
|
27
27
|
isInstance = isInstance && "description" in value;
|
|
28
28
|
isInstance = isInstance && "billingAccountId" in value;
|
|
29
|
-
isInstance = isInstance && "
|
|
29
|
+
isInstance = isInstance && "contacts" in value;
|
|
30
30
|
isInstance = isInstance && "status" in value;
|
|
31
31
|
isInstance = isInstance && "settings" in value;
|
|
32
32
|
isInstance = isInstance && "statusMessage" in value;
|
|
@@ -50,7 +50,7 @@ function ProjectDetailFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
50
50
|
'name': json['name'],
|
|
51
51
|
'description': json['description'],
|
|
52
52
|
'billingAccountId': json['billingAccountId'],
|
|
53
|
-
'
|
|
53
|
+
'contacts': (json['contacts'].map(Contact_1.ContactFromJSON)),
|
|
54
54
|
'status': json['status'],
|
|
55
55
|
'settings': (0, ProjectSettings_1.ProjectSettingsFromJSON)(json['settings']),
|
|
56
56
|
'statusMessage': json['statusMessage'],
|
|
@@ -73,7 +73,7 @@ function ProjectDetailToJSON(value) {
|
|
|
73
73
|
'name': value.name,
|
|
74
74
|
'description': value.description,
|
|
75
75
|
'billingAccountId': value.billingAccountId,
|
|
76
|
-
'
|
|
76
|
+
'contacts': (value.contacts.map(Contact_1.ContactToJSON)),
|
|
77
77
|
'status': value.status,
|
|
78
78
|
'settings': (0, ProjectSettings_1.ProjectSettingsToJSON)(value.settings),
|
|
79
79
|
'statusMessage': value.statusMessage,
|
|
@@ -12,14 +12,14 @@
|
|
|
12
12
|
/**
|
|
13
13
|
*
|
|
14
14
|
* @export
|
|
15
|
+
* @enum {string}
|
|
15
16
|
*/
|
|
16
|
-
export declare
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
}
|
|
22
|
-
export type ProjectRole = typeof ProjectRole[keyof typeof ProjectRole];
|
|
17
|
+
export declare enum ProjectRole {
|
|
18
|
+
Admin = "ADMIN",
|
|
19
|
+
Contributor = "CONTRIBUTOR",
|
|
20
|
+
Collaborator = "COLLABORATOR",
|
|
21
|
+
None = "NONE"
|
|
22
|
+
}
|
|
23
23
|
export declare function ProjectRoleFromJSON(json: any): ProjectRole;
|
|
24
24
|
export declare function ProjectRoleFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectRole;
|
|
25
25
|
export declare function ProjectRoleToJSON(value?: ProjectRole | null): any;
|
|
@@ -17,13 +17,15 @@ exports.ProjectRoleToJSON = exports.ProjectRoleFromJSONTyped = exports.ProjectRo
|
|
|
17
17
|
/**
|
|
18
18
|
*
|
|
19
19
|
* @export
|
|
20
|
+
* @enum {string}
|
|
20
21
|
*/
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
22
|
+
var ProjectRole;
|
|
23
|
+
(function (ProjectRole) {
|
|
24
|
+
ProjectRole["Admin"] = "ADMIN";
|
|
25
|
+
ProjectRole["Contributor"] = "CONTRIBUTOR";
|
|
26
|
+
ProjectRole["Collaborator"] = "COLLABORATOR";
|
|
27
|
+
ProjectRole["None"] = "NONE";
|
|
28
|
+
})(ProjectRole = exports.ProjectRole || (exports.ProjectRole = {}));
|
|
27
29
|
function ProjectRoleFromJSON(json) {
|
|
28
30
|
return ProjectRoleFromJSONTyped(json, false);
|
|
29
31
|
}
|
|
@@ -18,94 +18,94 @@ import type { BudgetPeriod } from './BudgetPeriod';
|
|
|
18
18
|
export interface ProjectSettings {
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
|
-
* @type {
|
|
21
|
+
* @type {number}
|
|
22
22
|
* @memberof ProjectSettings
|
|
23
23
|
*/
|
|
24
|
-
budgetAmount
|
|
24
|
+
budgetAmount: number;
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
* @type {BudgetPeriod}
|
|
28
28
|
* @memberof ProjectSettings
|
|
29
29
|
*/
|
|
30
|
-
budgetPeriod
|
|
30
|
+
budgetPeriod: BudgetPeriod;
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
33
33
|
* @type {string}
|
|
34
34
|
* @memberof ProjectSettings
|
|
35
35
|
*/
|
|
36
|
-
dragenAmi
|
|
36
|
+
dragenAmi: string;
|
|
37
37
|
/**
|
|
38
38
|
*
|
|
39
39
|
* @type {boolean}
|
|
40
40
|
* @memberof ProjectSettings
|
|
41
41
|
*/
|
|
42
|
-
|
|
42
|
+
enableCompute: boolean;
|
|
43
43
|
/**
|
|
44
44
|
*
|
|
45
45
|
* @type {boolean}
|
|
46
46
|
* @memberof ProjectSettings
|
|
47
47
|
*/
|
|
48
|
-
|
|
48
|
+
enableDragen: boolean;
|
|
49
49
|
/**
|
|
50
50
|
*
|
|
51
51
|
* @type {boolean}
|
|
52
52
|
* @memberof ProjectSettings
|
|
53
53
|
*/
|
|
54
|
-
|
|
54
|
+
enableBackup: boolean;
|
|
55
55
|
/**
|
|
56
56
|
*
|
|
57
57
|
* @type {boolean}
|
|
58
58
|
* @memberof ProjectSettings
|
|
59
59
|
*/
|
|
60
|
-
enableSftp
|
|
60
|
+
enableSftp: boolean;
|
|
61
61
|
/**
|
|
62
62
|
*
|
|
63
63
|
* @type {number}
|
|
64
64
|
* @memberof ProjectSettings
|
|
65
65
|
*/
|
|
66
|
-
maxF1VCPU
|
|
66
|
+
maxF1VCPU: number;
|
|
67
67
|
/**
|
|
68
68
|
*
|
|
69
69
|
* @type {number}
|
|
70
70
|
* @memberof ProjectSettings
|
|
71
71
|
*/
|
|
72
|
-
maxSpotVCPU
|
|
72
|
+
maxSpotVCPU: number;
|
|
73
73
|
/**
|
|
74
74
|
*
|
|
75
75
|
* @type {number}
|
|
76
76
|
* @memberof ProjectSettings
|
|
77
77
|
*/
|
|
78
|
-
retentionPolicyDays
|
|
78
|
+
retentionPolicyDays: number;
|
|
79
79
|
/**
|
|
80
80
|
*
|
|
81
81
|
* @type {Array<string>}
|
|
82
82
|
* @memberof ProjectSettings
|
|
83
83
|
*/
|
|
84
|
-
serviceConnections
|
|
84
|
+
serviceConnections: Array<string>;
|
|
85
85
|
/**
|
|
86
86
|
*
|
|
87
87
|
* @type {boolean}
|
|
88
88
|
* @memberof ProjectSettings
|
|
89
89
|
*/
|
|
90
|
-
createVpc
|
|
90
|
+
createVpc: boolean;
|
|
91
91
|
/**
|
|
92
92
|
*
|
|
93
93
|
* @type {string}
|
|
94
94
|
* @memberof ProjectSettings
|
|
95
95
|
*/
|
|
96
|
-
vpcId
|
|
96
|
+
vpcId: string;
|
|
97
97
|
/**
|
|
98
98
|
*
|
|
99
99
|
* @type {Array<string>}
|
|
100
100
|
* @memberof ProjectSettings
|
|
101
101
|
*/
|
|
102
|
-
batchSubnets
|
|
102
|
+
batchSubnets: Array<string>;
|
|
103
103
|
/**
|
|
104
104
|
*
|
|
105
105
|
* @type {string}
|
|
106
106
|
* @memberof ProjectSettings
|
|
107
107
|
*/
|
|
108
|
-
kmsArn
|
|
108
|
+
kmsArn: string;
|
|
109
109
|
}
|
|
110
110
|
/**
|
|
111
111
|
* Check if a given object implements the ProjectSettings interface.
|
|
@@ -14,13 +14,27 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.ProjectSettingsToJSON = exports.ProjectSettingsFromJSONTyped = exports.ProjectSettingsFromJSON = exports.instanceOfProjectSettings = void 0;
|
|
17
|
-
var runtime_1 = require("../runtime");
|
|
18
17
|
var BudgetPeriod_1 = require("./BudgetPeriod");
|
|
19
18
|
/**
|
|
20
19
|
* Check if a given object implements the ProjectSettings interface.
|
|
21
20
|
*/
|
|
22
21
|
function instanceOfProjectSettings(value) {
|
|
23
22
|
var isInstance = true;
|
|
23
|
+
isInstance = isInstance && "budgetAmount" in value;
|
|
24
|
+
isInstance = isInstance && "budgetPeriod" in value;
|
|
25
|
+
isInstance = isInstance && "dragenAmi" in value;
|
|
26
|
+
isInstance = isInstance && "enableCompute" in value;
|
|
27
|
+
isInstance = isInstance && "enableDragen" in value;
|
|
28
|
+
isInstance = isInstance && "enableBackup" in value;
|
|
29
|
+
isInstance = isInstance && "enableSftp" in value;
|
|
30
|
+
isInstance = isInstance && "maxF1VCPU" in value;
|
|
31
|
+
isInstance = isInstance && "maxSpotVCPU" in value;
|
|
32
|
+
isInstance = isInstance && "retentionPolicyDays" in value;
|
|
33
|
+
isInstance = isInstance && "serviceConnections" in value;
|
|
34
|
+
isInstance = isInstance && "createVpc" in value;
|
|
35
|
+
isInstance = isInstance && "vpcId" in value;
|
|
36
|
+
isInstance = isInstance && "batchSubnets" in value;
|
|
37
|
+
isInstance = isInstance && "kmsArn" in value;
|
|
24
38
|
return isInstance;
|
|
25
39
|
}
|
|
26
40
|
exports.instanceOfProjectSettings = instanceOfProjectSettings;
|
|
@@ -33,21 +47,21 @@ function ProjectSettingsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
33
47
|
return json;
|
|
34
48
|
}
|
|
35
49
|
return {
|
|
36
|
-
'budgetAmount':
|
|
37
|
-
'budgetPeriod':
|
|
38
|
-
'dragenAmi':
|
|
39
|
-
'
|
|
40
|
-
'
|
|
41
|
-
'
|
|
42
|
-
'enableSftp':
|
|
43
|
-
'maxF1VCPU':
|
|
44
|
-
'maxSpotVCPU':
|
|
45
|
-
'retentionPolicyDays':
|
|
46
|
-
'serviceConnections':
|
|
47
|
-
'createVpc':
|
|
48
|
-
'vpcId':
|
|
49
|
-
'batchSubnets':
|
|
50
|
-
'kmsArn':
|
|
50
|
+
'budgetAmount': json['budgetAmount'],
|
|
51
|
+
'budgetPeriod': (0, BudgetPeriod_1.BudgetPeriodFromJSON)(json['budgetPeriod']),
|
|
52
|
+
'dragenAmi': json['dragenAmi'],
|
|
53
|
+
'enableCompute': json['enableCompute'],
|
|
54
|
+
'enableDragen': json['enableDragen'],
|
|
55
|
+
'enableBackup': json['enableBackup'],
|
|
56
|
+
'enableSftp': json['enableSftp'],
|
|
57
|
+
'maxF1VCPU': json['maxF1VCPU'],
|
|
58
|
+
'maxSpotVCPU': json['maxSpotVCPU'],
|
|
59
|
+
'retentionPolicyDays': json['retentionPolicyDays'],
|
|
60
|
+
'serviceConnections': json['serviceConnections'],
|
|
61
|
+
'createVpc': json['createVpc'],
|
|
62
|
+
'vpcId': json['vpcId'],
|
|
63
|
+
'batchSubnets': json['batchSubnets'],
|
|
64
|
+
'kmsArn': json['kmsArn'],
|
|
51
65
|
};
|
|
52
66
|
}
|
|
53
67
|
exports.ProjectSettingsFromJSONTyped = ProjectSettingsFromJSONTyped;
|
|
@@ -62,9 +76,9 @@ function ProjectSettingsToJSON(value) {
|
|
|
62
76
|
'budgetAmount': value.budgetAmount,
|
|
63
77
|
'budgetPeriod': (0, BudgetPeriod_1.BudgetPeriodToJSON)(value.budgetPeriod),
|
|
64
78
|
'dragenAmi': value.dragenAmi,
|
|
65
|
-
'enableBackup': value.enableBackup,
|
|
66
79
|
'enableCompute': value.enableCompute,
|
|
67
80
|
'enableDragen': value.enableDragen,
|
|
81
|
+
'enableBackup': value.enableBackup,
|
|
68
82
|
'enableSftp': value.enableSftp,
|
|
69
83
|
'maxF1VCPU': value.maxF1VCPU,
|
|
70
84
|
'maxSpotVCPU': value.maxSpotVCPU,
|
package/package.json
CHANGED
package/src/apis/SystemApi.ts
CHANGED
|
@@ -92,4 +92,30 @@ export class SystemApi extends runtime.BaseAPI {
|
|
|
92
92
|
return await response.value();
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
+
/**
|
|
96
|
+
* Get system info
|
|
97
|
+
*/
|
|
98
|
+
async info1Raw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SystemInfoResponse>> {
|
|
99
|
+
const queryParameters: any = {};
|
|
100
|
+
|
|
101
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
102
|
+
|
|
103
|
+
const response = await this.request({
|
|
104
|
+
path: `/info/system`,
|
|
105
|
+
method: 'GET',
|
|
106
|
+
headers: headerParameters,
|
|
107
|
+
query: queryParameters,
|
|
108
|
+
}, initOverrides);
|
|
109
|
+
|
|
110
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SystemInfoResponseFromJSON(jsonValue));
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* Get system info
|
|
115
|
+
*/
|
|
116
|
+
async info1(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SystemInfoResponse> {
|
|
117
|
+
const response = await this.info1Raw(initOverrides);
|
|
118
|
+
return await response.value();
|
|
119
|
+
}
|
|
120
|
+
|
|
95
121
|
}
|
|
@@ -12,17 +12,16 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
|
|
16
15
|
/**
|
|
17
16
|
*
|
|
18
17
|
* @export
|
|
18
|
+
* @enum {string}
|
|
19
19
|
*/
|
|
20
|
-
export
|
|
21
|
-
BudgetNumber
|
|
22
|
-
PurchaseOrder
|
|
23
|
-
Credit
|
|
24
|
-
}
|
|
25
|
-
export type BillingMethod = typeof BillingMethod[keyof typeof BillingMethod];
|
|
20
|
+
export enum BillingMethod {
|
|
21
|
+
BudgetNumber = 'BUDGET_NUMBER',
|
|
22
|
+
PurchaseOrder = 'PURCHASE_ORDER',
|
|
23
|
+
Credit = 'CREDIT'
|
|
24
|
+
}
|
|
26
25
|
|
|
27
26
|
|
|
28
27
|
export function BillingMethodFromJSON(json: any): BillingMethod {
|
|
@@ -12,17 +12,16 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
|
|
16
15
|
/**
|
|
17
16
|
*
|
|
18
17
|
* @export
|
|
18
|
+
* @enum {string}
|
|
19
19
|
*/
|
|
20
|
-
export
|
|
21
|
-
Annually
|
|
22
|
-
Quarterly
|
|
23
|
-
Monthly
|
|
24
|
-
}
|
|
25
|
-
export type BudgetPeriod = typeof BudgetPeriod[keyof typeof BudgetPeriod];
|
|
20
|
+
export enum BudgetPeriod {
|
|
21
|
+
Annually = 'ANNUALLY',
|
|
22
|
+
Quarterly = 'QUARTERLY',
|
|
23
|
+
Monthly = 'MONTHLY'
|
|
24
|
+
}
|
|
26
25
|
|
|
27
26
|
|
|
28
27
|
export function BudgetPeriodFromJSON(json: any): BudgetPeriod {
|
|
@@ -12,18 +12,17 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
|
|
16
15
|
/**
|
|
17
16
|
*
|
|
18
17
|
* @export
|
|
18
|
+
* @enum {string}
|
|
19
19
|
*/
|
|
20
|
-
export
|
|
21
|
-
Free
|
|
22
|
-
Usage
|
|
23
|
-
Marketplace
|
|
24
|
-
Contract
|
|
25
|
-
}
|
|
26
|
-
export type CustomerType = typeof CustomerType[keyof typeof CustomerType];
|
|
20
|
+
export enum CustomerType {
|
|
21
|
+
Free = 'FREE',
|
|
22
|
+
Usage = 'USAGE',
|
|
23
|
+
Marketplace = 'MARKETPLACE',
|
|
24
|
+
Contract = 'CONTRACT'
|
|
25
|
+
}
|
|
27
26
|
|
|
28
27
|
|
|
29
28
|
export function CustomerTypeFromJSON(json: any): CustomerType {
|
|
@@ -12,16 +12,15 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
|
|
16
15
|
/**
|
|
17
16
|
*
|
|
18
17
|
* @export
|
|
18
|
+
* @enum {string}
|
|
19
19
|
*/
|
|
20
|
-
export
|
|
21
|
-
Upload
|
|
22
|
-
Public
|
|
23
|
-
}
|
|
24
|
-
export type DatasetType = typeof DatasetType[keyof typeof DatasetType];
|
|
20
|
+
export enum DatasetType {
|
|
21
|
+
Upload = 'UPLOAD',
|
|
22
|
+
Public = 'PUBLIC'
|
|
23
|
+
}
|
|
25
24
|
|
|
26
25
|
|
|
27
26
|
export function DatasetTypeFromJSON(json: any): DatasetType {
|
package/src/models/Executor.ts
CHANGED
|
@@ -12,17 +12,16 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
|
|
16
15
|
/**
|
|
17
16
|
* Process executor
|
|
18
17
|
* @export
|
|
18
|
+
* @enum {string}
|
|
19
19
|
*/
|
|
20
|
-
export
|
|
21
|
-
Ingest
|
|
22
|
-
Nextflow
|
|
23
|
-
Cromwell
|
|
24
|
-
}
|
|
25
|
-
export type Executor = typeof Executor[keyof typeof Executor];
|
|
20
|
+
export enum Executor {
|
|
21
|
+
Ingest = 'INGEST',
|
|
22
|
+
Nextflow = 'NEXTFLOW',
|
|
23
|
+
Cromwell = 'CROMWELL'
|
|
24
|
+
}
|
|
26
25
|
|
|
27
26
|
|
|
28
27
|
export function ExecutorFromJSON(json: any): Executor {
|
package/src/models/Project.ts
CHANGED
|
@@ -13,6 +13,13 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { exists, mapValues } from '../runtime';
|
|
16
|
+
import type { Tag } from './Tag';
|
|
17
|
+
import {
|
|
18
|
+
TagFromJSON,
|
|
19
|
+
TagFromJSONTyped,
|
|
20
|
+
TagToJSON,
|
|
21
|
+
} from './Tag';
|
|
22
|
+
|
|
16
23
|
/**
|
|
17
24
|
*
|
|
18
25
|
* @export
|
|
@@ -43,6 +50,12 @@ export interface Project {
|
|
|
43
50
|
* @memberof Project
|
|
44
51
|
*/
|
|
45
52
|
status: string;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {Array<Tag>}
|
|
56
|
+
* @memberof Project
|
|
57
|
+
*/
|
|
58
|
+
tags: Array<Tag>;
|
|
46
59
|
}
|
|
47
60
|
|
|
48
61
|
/**
|
|
@@ -54,6 +67,7 @@ export function instanceOfProject(value: object): boolean {
|
|
|
54
67
|
isInstance = isInstance && "name" in value;
|
|
55
68
|
isInstance = isInstance && "description" in value;
|
|
56
69
|
isInstance = isInstance && "status" in value;
|
|
70
|
+
isInstance = isInstance && "tags" in value;
|
|
57
71
|
|
|
58
72
|
return isInstance;
|
|
59
73
|
}
|
|
@@ -72,6 +86,7 @@ export function ProjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): P
|
|
|
72
86
|
'name': json['name'],
|
|
73
87
|
'description': json['description'],
|
|
74
88
|
'status': json['status'],
|
|
89
|
+
'tags': ((json['tags'] as Array<any>).map(TagFromJSON)),
|
|
75
90
|
};
|
|
76
91
|
}
|
|
77
92
|
|
|
@@ -88,6 +103,7 @@ export function ProjectToJSON(value?: Project | null): any {
|
|
|
88
103
|
'name': value.name,
|
|
89
104
|
'description': value.description,
|
|
90
105
|
'status': value.status,
|
|
106
|
+
'tags': ((value.tags as Array<any>).map(TagToJSON)),
|
|
91
107
|
};
|
|
92
108
|
}
|
|
93
109
|
|
|
@@ -64,10 +64,10 @@ export interface ProjectDetail {
|
|
|
64
64
|
billingAccountId: string;
|
|
65
65
|
/**
|
|
66
66
|
*
|
|
67
|
-
* @type {Contact}
|
|
67
|
+
* @type {Array<Contact>}
|
|
68
68
|
* @memberof ProjectDetail
|
|
69
69
|
*/
|
|
70
|
-
|
|
70
|
+
contacts: Array<Contact>;
|
|
71
71
|
/**
|
|
72
72
|
*
|
|
73
73
|
* @type {string}
|
|
@@ -121,7 +121,7 @@ export function instanceOfProjectDetail(value: object): boolean {
|
|
|
121
121
|
isInstance = isInstance && "name" in value;
|
|
122
122
|
isInstance = isInstance && "description" in value;
|
|
123
123
|
isInstance = isInstance && "billingAccountId" in value;
|
|
124
|
-
isInstance = isInstance && "
|
|
124
|
+
isInstance = isInstance && "contacts" in value;
|
|
125
125
|
isInstance = isInstance && "status" in value;
|
|
126
126
|
isInstance = isInstance && "settings" in value;
|
|
127
127
|
isInstance = isInstance && "statusMessage" in value;
|
|
@@ -147,7 +147,7 @@ export function ProjectDetailFromJSONTyped(json: any, ignoreDiscriminator: boole
|
|
|
147
147
|
'name': json['name'],
|
|
148
148
|
'description': json['description'],
|
|
149
149
|
'billingAccountId': json['billingAccountId'],
|
|
150
|
-
'
|
|
150
|
+
'contacts': ((json['contacts'] as Array<any>).map(ContactFromJSON)),
|
|
151
151
|
'status': json['status'],
|
|
152
152
|
'settings': ProjectSettingsFromJSON(json['settings']),
|
|
153
153
|
'statusMessage': json['statusMessage'],
|
|
@@ -171,7 +171,7 @@ export function ProjectDetailToJSON(value?: ProjectDetail | null): any {
|
|
|
171
171
|
'name': value.name,
|
|
172
172
|
'description': value.description,
|
|
173
173
|
'billingAccountId': value.billingAccountId,
|
|
174
|
-
'
|
|
174
|
+
'contacts': ((value.contacts as Array<any>).map(ContactToJSON)),
|
|
175
175
|
'status': value.status,
|
|
176
176
|
'settings': ProjectSettingsToJSON(value.settings),
|
|
177
177
|
'statusMessage': value.statusMessage,
|
|
@@ -12,18 +12,17 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
|
|
16
15
|
/**
|
|
17
16
|
*
|
|
18
17
|
* @export
|
|
18
|
+
* @enum {string}
|
|
19
19
|
*/
|
|
20
|
-
export
|
|
21
|
-
Admin
|
|
22
|
-
Contributor
|
|
23
|
-
Collaborator
|
|
24
|
-
None
|
|
25
|
-
}
|
|
26
|
-
export type ProjectRole = typeof ProjectRole[keyof typeof ProjectRole];
|
|
20
|
+
export enum ProjectRole {
|
|
21
|
+
Admin = 'ADMIN',
|
|
22
|
+
Contributor = 'CONTRIBUTOR',
|
|
23
|
+
Collaborator = 'COLLABORATOR',
|
|
24
|
+
None = 'NONE'
|
|
25
|
+
}
|
|
27
26
|
|
|
28
27
|
|
|
29
28
|
export function ProjectRoleFromJSON(json: any): ProjectRole {
|
|
@@ -28,94 +28,94 @@ import {
|
|
|
28
28
|
export interface ProjectSettings {
|
|
29
29
|
/**
|
|
30
30
|
*
|
|
31
|
-
* @type {
|
|
31
|
+
* @type {number}
|
|
32
32
|
* @memberof ProjectSettings
|
|
33
33
|
*/
|
|
34
|
-
budgetAmount
|
|
34
|
+
budgetAmount: number;
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
37
37
|
* @type {BudgetPeriod}
|
|
38
38
|
* @memberof ProjectSettings
|
|
39
39
|
*/
|
|
40
|
-
budgetPeriod
|
|
40
|
+
budgetPeriod: BudgetPeriod;
|
|
41
41
|
/**
|
|
42
42
|
*
|
|
43
43
|
* @type {string}
|
|
44
44
|
* @memberof ProjectSettings
|
|
45
45
|
*/
|
|
46
|
-
dragenAmi
|
|
46
|
+
dragenAmi: string;
|
|
47
47
|
/**
|
|
48
48
|
*
|
|
49
49
|
* @type {boolean}
|
|
50
50
|
* @memberof ProjectSettings
|
|
51
51
|
*/
|
|
52
|
-
|
|
52
|
+
enableCompute: boolean;
|
|
53
53
|
/**
|
|
54
54
|
*
|
|
55
55
|
* @type {boolean}
|
|
56
56
|
* @memberof ProjectSettings
|
|
57
57
|
*/
|
|
58
|
-
|
|
58
|
+
enableDragen: boolean;
|
|
59
59
|
/**
|
|
60
60
|
*
|
|
61
61
|
* @type {boolean}
|
|
62
62
|
* @memberof ProjectSettings
|
|
63
63
|
*/
|
|
64
|
-
|
|
64
|
+
enableBackup: boolean;
|
|
65
65
|
/**
|
|
66
66
|
*
|
|
67
67
|
* @type {boolean}
|
|
68
68
|
* @memberof ProjectSettings
|
|
69
69
|
*/
|
|
70
|
-
enableSftp
|
|
70
|
+
enableSftp: boolean;
|
|
71
71
|
/**
|
|
72
72
|
*
|
|
73
73
|
* @type {number}
|
|
74
74
|
* @memberof ProjectSettings
|
|
75
75
|
*/
|
|
76
|
-
maxF1VCPU
|
|
76
|
+
maxF1VCPU: number;
|
|
77
77
|
/**
|
|
78
78
|
*
|
|
79
79
|
* @type {number}
|
|
80
80
|
* @memberof ProjectSettings
|
|
81
81
|
*/
|
|
82
|
-
maxSpotVCPU
|
|
82
|
+
maxSpotVCPU: number;
|
|
83
83
|
/**
|
|
84
84
|
*
|
|
85
85
|
* @type {number}
|
|
86
86
|
* @memberof ProjectSettings
|
|
87
87
|
*/
|
|
88
|
-
retentionPolicyDays
|
|
88
|
+
retentionPolicyDays: number;
|
|
89
89
|
/**
|
|
90
90
|
*
|
|
91
91
|
* @type {Array<string>}
|
|
92
92
|
* @memberof ProjectSettings
|
|
93
93
|
*/
|
|
94
|
-
serviceConnections
|
|
94
|
+
serviceConnections: Array<string>;
|
|
95
95
|
/**
|
|
96
96
|
*
|
|
97
97
|
* @type {boolean}
|
|
98
98
|
* @memberof ProjectSettings
|
|
99
99
|
*/
|
|
100
|
-
createVpc
|
|
100
|
+
createVpc: boolean;
|
|
101
101
|
/**
|
|
102
102
|
*
|
|
103
103
|
* @type {string}
|
|
104
104
|
* @memberof ProjectSettings
|
|
105
105
|
*/
|
|
106
|
-
vpcId
|
|
106
|
+
vpcId: string;
|
|
107
107
|
/**
|
|
108
108
|
*
|
|
109
109
|
* @type {Array<string>}
|
|
110
110
|
* @memberof ProjectSettings
|
|
111
111
|
*/
|
|
112
|
-
batchSubnets
|
|
112
|
+
batchSubnets: Array<string>;
|
|
113
113
|
/**
|
|
114
114
|
*
|
|
115
115
|
* @type {string}
|
|
116
116
|
* @memberof ProjectSettings
|
|
117
117
|
*/
|
|
118
|
-
kmsArn
|
|
118
|
+
kmsArn: string;
|
|
119
119
|
}
|
|
120
120
|
|
|
121
121
|
/**
|
|
@@ -123,6 +123,21 @@ export interface ProjectSettings {
|
|
|
123
123
|
*/
|
|
124
124
|
export function instanceOfProjectSettings(value: object): boolean {
|
|
125
125
|
let isInstance = true;
|
|
126
|
+
isInstance = isInstance && "budgetAmount" in value;
|
|
127
|
+
isInstance = isInstance && "budgetPeriod" in value;
|
|
128
|
+
isInstance = isInstance && "dragenAmi" in value;
|
|
129
|
+
isInstance = isInstance && "enableCompute" in value;
|
|
130
|
+
isInstance = isInstance && "enableDragen" in value;
|
|
131
|
+
isInstance = isInstance && "enableBackup" in value;
|
|
132
|
+
isInstance = isInstance && "enableSftp" in value;
|
|
133
|
+
isInstance = isInstance && "maxF1VCPU" in value;
|
|
134
|
+
isInstance = isInstance && "maxSpotVCPU" in value;
|
|
135
|
+
isInstance = isInstance && "retentionPolicyDays" in value;
|
|
136
|
+
isInstance = isInstance && "serviceConnections" in value;
|
|
137
|
+
isInstance = isInstance && "createVpc" in value;
|
|
138
|
+
isInstance = isInstance && "vpcId" in value;
|
|
139
|
+
isInstance = isInstance && "batchSubnets" in value;
|
|
140
|
+
isInstance = isInstance && "kmsArn" in value;
|
|
126
141
|
|
|
127
142
|
return isInstance;
|
|
128
143
|
}
|
|
@@ -137,21 +152,21 @@ export function ProjectSettingsFromJSONTyped(json: any, ignoreDiscriminator: boo
|
|
|
137
152
|
}
|
|
138
153
|
return {
|
|
139
154
|
|
|
140
|
-
'budgetAmount':
|
|
141
|
-
'budgetPeriod':
|
|
142
|
-
'dragenAmi':
|
|
143
|
-
'
|
|
144
|
-
'
|
|
145
|
-
'
|
|
146
|
-
'enableSftp':
|
|
147
|
-
'maxF1VCPU':
|
|
148
|
-
'maxSpotVCPU':
|
|
149
|
-
'retentionPolicyDays':
|
|
150
|
-
'serviceConnections':
|
|
151
|
-
'createVpc':
|
|
152
|
-
'vpcId':
|
|
153
|
-
'batchSubnets':
|
|
154
|
-
'kmsArn':
|
|
155
|
+
'budgetAmount': json['budgetAmount'],
|
|
156
|
+
'budgetPeriod': BudgetPeriodFromJSON(json['budgetPeriod']),
|
|
157
|
+
'dragenAmi': json['dragenAmi'],
|
|
158
|
+
'enableCompute': json['enableCompute'],
|
|
159
|
+
'enableDragen': json['enableDragen'],
|
|
160
|
+
'enableBackup': json['enableBackup'],
|
|
161
|
+
'enableSftp': json['enableSftp'],
|
|
162
|
+
'maxF1VCPU': json['maxF1VCPU'],
|
|
163
|
+
'maxSpotVCPU': json['maxSpotVCPU'],
|
|
164
|
+
'retentionPolicyDays': json['retentionPolicyDays'],
|
|
165
|
+
'serviceConnections': json['serviceConnections'],
|
|
166
|
+
'createVpc': json['createVpc'],
|
|
167
|
+
'vpcId': json['vpcId'],
|
|
168
|
+
'batchSubnets': json['batchSubnets'],
|
|
169
|
+
'kmsArn': json['kmsArn'],
|
|
155
170
|
};
|
|
156
171
|
}
|
|
157
172
|
|
|
@@ -167,9 +182,9 @@ export function ProjectSettingsToJSON(value?: ProjectSettings | null): any {
|
|
|
167
182
|
'budgetAmount': value.budgetAmount,
|
|
168
183
|
'budgetPeriod': BudgetPeriodToJSON(value.budgetPeriod),
|
|
169
184
|
'dragenAmi': value.dragenAmi,
|
|
170
|
-
'enableBackup': value.enableBackup,
|
|
171
185
|
'enableCompute': value.enableCompute,
|
|
172
186
|
'enableDragen': value.enableDragen,
|
|
187
|
+
'enableBackup': value.enableBackup,
|
|
173
188
|
'enableSftp': value.enableSftp,
|
|
174
189
|
'maxF1VCPU': value.maxF1VCPU,
|
|
175
190
|
'maxSpotVCPU': value.maxSpotVCPU,
|