@cirrobio/api-client 0.0.10-alpha → 0.0.12-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/.openapi-generator/FILES +7 -2
- package/README.md +1 -1
- package/dist/apis/BillingApi.d.ts +15 -2
- package/dist/apis/BillingApi.js +57 -3
- package/dist/apis/DashboardsApi.d.ts +88 -0
- package/dist/apis/DashboardsApi.js +374 -0
- package/dist/apis/DatasetsApi.d.ts +19 -5
- package/dist/apis/DatasetsApi.js +64 -4
- package/dist/apis/MetadataApi.d.ts +24 -1
- package/dist/apis/MetadataApi.js +112 -1
- package/dist/apis/NotebooksApi.d.ts +3 -3
- package/dist/apis/NotebooksApi.js +1 -7
- package/dist/apis/ProjectsApi.d.ts +13 -0
- package/dist/apis/ProjectsApi.js +53 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/BillingAccount.d.ts +6 -0
- package/dist/models/BillingAccount.js +3 -0
- package/dist/models/BudgetPeriod.d.ts +1 -1
- package/dist/models/BudgetPeriod.js +1 -1
- package/dist/models/CloudAccount.d.ts +3 -10
- package/dist/models/CloudAccount.js +0 -3
- package/dist/models/Contact.d.ts +4 -4
- package/dist/models/Contact.js +8 -5
- package/dist/models/CreateDashboardRequest.d.ts +31 -0
- package/dist/models/CreateDashboardRequest.js +50 -0
- package/dist/models/CustomPipelineSettings.d.ts +6 -6
- package/dist/models/CustomPipelineSettings.js +13 -8
- package/dist/models/CustomerType.d.ts +2 -4
- package/dist/models/CustomerType.js +2 -4
- package/dist/models/Dashboard.d.ts +77 -0
- package/dist/models/Dashboard.js +71 -0
- package/dist/models/DashboardRequest.d.ts +53 -0
- package/dist/models/DashboardRequest.js +59 -0
- package/dist/models/Dataset.d.ts +8 -7
- package/dist/models/Dataset.js +10 -9
- package/dist/models/DatasetDetail.d.ts +11 -10
- package/dist/models/DatasetDetail.js +13 -12
- package/dist/models/FormSchema.d.ts +1 -1
- package/dist/models/NotebookInstanceStatusResponse.d.ts +31 -0
- package/dist/models/NotebookInstanceStatusResponse.js +50 -0
- package/dist/models/PaginatedResponseDatasetListDto.d.ts +38 -0
- package/dist/models/PaginatedResponseDatasetListDto.js +54 -0
- package/dist/models/Project.d.ts +9 -2
- package/dist/models/Project.js +6 -2
- package/dist/models/ProjectDetail.d.ts +7 -6
- package/dist/models/ProjectDetail.js +7 -6
- package/dist/models/ProjectSettings.d.ts +26 -26
- package/dist/models/ProjectSettings.js +14 -26
- package/dist/models/RegisterDatasetRequest.d.ts +20 -2
- package/dist/models/RegisterDatasetRequest.js +11 -2
- package/dist/models/RegisterPublicDataRequest.d.ts +43 -0
- package/dist/models/RegisterPublicDataRequest.js +56 -0
- package/dist/models/Sample.d.ts +18 -0
- package/dist/models/Sample.js +9 -0
- package/dist/models/Status.d.ts +29 -0
- package/dist/models/Status.js +44 -0
- package/dist/models/index.d.ts +6 -2
- package/dist/models/index.js +6 -2
- package/package.json +1 -1
- package/src/apis/BillingApi.ts +46 -3
- package/src/apis/DashboardsApi.ts +287 -0
- package/src/apis/DatasetsApi.ts +64 -9
- package/src/apis/MetadataApi.ts +96 -1
- package/src/apis/NotebooksApi.ts +6 -7
- package/src/apis/ProjectsApi.ts +43 -0
- package/src/apis/index.ts +1 -0
- package/src/models/BillingAccount.ts +9 -0
- package/src/models/BudgetPeriod.ts +1 -1
- package/src/models/CloudAccount.ts +3 -18
- package/src/models/Contact.ts +12 -8
- package/src/models/CreateDashboardRequest.ts +65 -0
- package/src/models/CustomPipelineSettings.ts +19 -13
- package/src/models/CustomerType.ts +2 -4
- package/src/models/Dashboard.ts +129 -0
- package/src/models/DashboardRequest.ts +93 -0
- package/src/models/Dataset.ts +22 -16
- package/src/models/DatasetDetail.ts +28 -22
- package/src/models/FormSchema.ts +1 -1
- package/src/models/NotebookInstanceStatusResponse.ts +66 -0
- package/src/models/PaginatedResponseDatasetListDto.ts +82 -0
- package/src/models/Project.ts +19 -4
- package/src/models/ProjectDetail.ts +18 -12
- package/src/models/ProjectSettings.ts +39 -52
- package/src/models/RegisterDatasetRequest.ts +31 -4
- package/src/models/RegisterPublicDataRequest.ts +83 -0
- package/src/models/Sample.ts +27 -0
- package/src/models/Status.ts +43 -0
- package/src/models/index.ts +6 -2
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.DatasetDetailToJSON = exports.DatasetDetailFromJSONTyped = exports.DatasetDetailFromJSON = exports.instanceOfDatasetDetail = void 0;
|
|
17
|
+
var Status_1 = require("./Status");
|
|
17
18
|
var Tag_1 = require("./Tag");
|
|
18
19
|
/**
|
|
19
20
|
* Check if a given object implements the DatasetDetail interface.
|
|
@@ -22,12 +23,12 @@ function instanceOfDatasetDetail(value) {
|
|
|
22
23
|
var isInstance = true;
|
|
23
24
|
isInstance = isInstance && "id" in value;
|
|
24
25
|
isInstance = isInstance && "name" in value;
|
|
25
|
-
isInstance = isInstance && "
|
|
26
|
+
isInstance = isInstance && "description" in value;
|
|
26
27
|
isInstance = isInstance && "s3" in value;
|
|
27
28
|
isInstance = isInstance && "processId" in value;
|
|
28
|
-
isInstance = isInstance && "processName" in value;
|
|
29
29
|
isInstance = isInstance && "sourceDatasets" in value;
|
|
30
30
|
isInstance = isInstance && "status" in value;
|
|
31
|
+
isInstance = isInstance && "statusMessage" in value;
|
|
31
32
|
isInstance = isInstance && "tags" in value;
|
|
32
33
|
isInstance = isInstance && "params" in value;
|
|
33
34
|
isInstance = isInstance && "info" in value;
|
|
@@ -48,18 +49,18 @@ function DatasetDetailFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
48
49
|
return {
|
|
49
50
|
'id': json['id'],
|
|
50
51
|
'name': json['name'],
|
|
51
|
-
'
|
|
52
|
+
'description': json['description'],
|
|
52
53
|
's3': json['s3'],
|
|
53
54
|
'processId': json['processId'],
|
|
54
|
-
'processName': json['processName'],
|
|
55
55
|
'sourceDatasets': json['sourceDatasets'],
|
|
56
|
-
'status': json['status'],
|
|
56
|
+
'status': (0, Status_1.StatusFromJSON)(json['status']),
|
|
57
|
+
'statusMessage': json['statusMessage'],
|
|
57
58
|
'tags': (json['tags'].map(Tag_1.TagFromJSON)),
|
|
58
59
|
'params': json['params'],
|
|
59
60
|
'info': json['info'],
|
|
60
61
|
'createdBy': json['createdBy'],
|
|
61
|
-
'createdAt': json['createdAt'],
|
|
62
|
-
'updatedAt': json['updatedAt'],
|
|
62
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
63
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
63
64
|
};
|
|
64
65
|
}
|
|
65
66
|
exports.DatasetDetailFromJSONTyped = DatasetDetailFromJSONTyped;
|
|
@@ -73,18 +74,18 @@ function DatasetDetailToJSON(value) {
|
|
|
73
74
|
return {
|
|
74
75
|
'id': value.id,
|
|
75
76
|
'name': value.name,
|
|
76
|
-
'
|
|
77
|
+
'description': value.description,
|
|
77
78
|
's3': value.s3,
|
|
78
79
|
'processId': value.processId,
|
|
79
|
-
'processName': value.processName,
|
|
80
80
|
'sourceDatasets': value.sourceDatasets,
|
|
81
|
-
'status': value.status,
|
|
81
|
+
'status': (0, Status_1.StatusToJSON)(value.status),
|
|
82
|
+
'statusMessage': value.statusMessage,
|
|
82
83
|
'tags': (value.tags.map(Tag_1.TagToJSON)),
|
|
83
84
|
'params': value.params,
|
|
84
85
|
'info': value.info,
|
|
85
86
|
'createdBy': value.createdBy,
|
|
86
|
-
'createdAt': value.createdAt,
|
|
87
|
-
'updatedAt': value.updatedAt,
|
|
87
|
+
'createdAt': (value.createdAt.toISOString()),
|
|
88
|
+
'updatedAt': (value.updatedAt.toISOString()),
|
|
88
89
|
};
|
|
89
90
|
}
|
|
90
91
|
exports.DatasetDetailToJSON = DatasetDetailToJSON;
|
|
@@ -0,0 +1,31 @@
|
|
|
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 NotebookInstanceStatusResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface NotebookInstanceStatusResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof NotebookInstanceStatusResponse
|
|
22
|
+
*/
|
|
23
|
+
status: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the NotebookInstanceStatusResponse interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfNotebookInstanceStatusResponse(value: object): boolean;
|
|
29
|
+
export declare function NotebookInstanceStatusResponseFromJSON(json: any): NotebookInstanceStatusResponse;
|
|
30
|
+
export declare function NotebookInstanceStatusResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): NotebookInstanceStatusResponse;
|
|
31
|
+
export declare function NotebookInstanceStatusResponseToJSON(value?: NotebookInstanceStatusResponse | null): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
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.NotebookInstanceStatusResponseToJSON = exports.NotebookInstanceStatusResponseFromJSONTyped = exports.NotebookInstanceStatusResponseFromJSON = exports.instanceOfNotebookInstanceStatusResponse = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the NotebookInstanceStatusResponse interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfNotebookInstanceStatusResponse(value) {
|
|
21
|
+
var isInstance = true;
|
|
22
|
+
isInstance = isInstance && "status" in value;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfNotebookInstanceStatusResponse = instanceOfNotebookInstanceStatusResponse;
|
|
26
|
+
function NotebookInstanceStatusResponseFromJSON(json) {
|
|
27
|
+
return NotebookInstanceStatusResponseFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
exports.NotebookInstanceStatusResponseFromJSON = NotebookInstanceStatusResponseFromJSON;
|
|
30
|
+
function NotebookInstanceStatusResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if ((json === undefined) || (json === null)) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'status': json['status'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
exports.NotebookInstanceStatusResponseFromJSONTyped = NotebookInstanceStatusResponseFromJSONTyped;
|
|
39
|
+
function NotebookInstanceStatusResponseToJSON(value) {
|
|
40
|
+
if (value === undefined) {
|
|
41
|
+
return undefined;
|
|
42
|
+
}
|
|
43
|
+
if (value === null) {
|
|
44
|
+
return null;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'status': value.status,
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
exports.NotebookInstanceStatusResponseToJSON = NotebookInstanceStatusResponseToJSON;
|
|
@@ -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 { Dataset } from './Dataset';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PaginatedResponseDatasetListDto
|
|
17
|
+
*/
|
|
18
|
+
export interface PaginatedResponseDatasetListDto {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<Dataset>}
|
|
22
|
+
* @memberof PaginatedResponseDatasetListDto
|
|
23
|
+
*/
|
|
24
|
+
data: Array<Dataset>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof PaginatedResponseDatasetListDto
|
|
29
|
+
*/
|
|
30
|
+
nextToken: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the PaginatedResponseDatasetListDto interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfPaginatedResponseDatasetListDto(value: object): boolean;
|
|
36
|
+
export declare function PaginatedResponseDatasetListDtoFromJSON(json: any): PaginatedResponseDatasetListDto;
|
|
37
|
+
export declare function PaginatedResponseDatasetListDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedResponseDatasetListDto;
|
|
38
|
+
export declare function PaginatedResponseDatasetListDtoToJSON(value?: PaginatedResponseDatasetListDto | 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.PaginatedResponseDatasetListDtoToJSON = exports.PaginatedResponseDatasetListDtoFromJSONTyped = exports.PaginatedResponseDatasetListDtoFromJSON = exports.instanceOfPaginatedResponseDatasetListDto = void 0;
|
|
17
|
+
var Dataset_1 = require("./Dataset");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the PaginatedResponseDatasetListDto interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfPaginatedResponseDatasetListDto(value) {
|
|
22
|
+
var isInstance = true;
|
|
23
|
+
isInstance = isInstance && "data" in value;
|
|
24
|
+
isInstance = isInstance && "nextToken" in value;
|
|
25
|
+
return isInstance;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfPaginatedResponseDatasetListDto = instanceOfPaginatedResponseDatasetListDto;
|
|
28
|
+
function PaginatedResponseDatasetListDtoFromJSON(json) {
|
|
29
|
+
return PaginatedResponseDatasetListDtoFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
exports.PaginatedResponseDatasetListDtoFromJSON = PaginatedResponseDatasetListDtoFromJSON;
|
|
32
|
+
function PaginatedResponseDatasetListDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if ((json === undefined) || (json === null)) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'data': (json['data'].map(Dataset_1.DatasetFromJSON)),
|
|
38
|
+
'nextToken': json['nextToken'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
exports.PaginatedResponseDatasetListDtoFromJSONTyped = PaginatedResponseDatasetListDtoFromJSONTyped;
|
|
42
|
+
function PaginatedResponseDatasetListDtoToJSON(value) {
|
|
43
|
+
if (value === undefined) {
|
|
44
|
+
return undefined;
|
|
45
|
+
}
|
|
46
|
+
if (value === null) {
|
|
47
|
+
return null;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'data': (value.data.map(Dataset_1.DatasetToJSON)),
|
|
51
|
+
'nextToken': value.nextToken,
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
exports.PaginatedResponseDatasetListDtoToJSON = PaginatedResponseDatasetListDtoToJSON;
|
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 { Status } from './Status';
|
|
12
13
|
import type { Tag } from './Tag';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
@@ -36,16 +37,22 @@ export interface Project {
|
|
|
36
37
|
description: string;
|
|
37
38
|
/**
|
|
38
39
|
*
|
|
39
|
-
* @type {
|
|
40
|
+
* @type {Status}
|
|
40
41
|
* @memberof Project
|
|
41
42
|
*/
|
|
42
|
-
status:
|
|
43
|
+
status: Status;
|
|
43
44
|
/**
|
|
44
45
|
*
|
|
45
46
|
* @type {Array<Tag>}
|
|
46
47
|
* @memberof Project
|
|
47
48
|
*/
|
|
48
49
|
tags: Array<Tag>;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof Project
|
|
54
|
+
*/
|
|
55
|
+
billingAccountId: string;
|
|
49
56
|
}
|
|
50
57
|
/**
|
|
51
58
|
* 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 Status_1 = require("./Status");
|
|
17
18
|
var Tag_1 = require("./Tag");
|
|
18
19
|
/**
|
|
19
20
|
* Check if a given object implements the Project interface.
|
|
@@ -25,6 +26,7 @@ function instanceOfProject(value) {
|
|
|
25
26
|
isInstance = isInstance && "description" in value;
|
|
26
27
|
isInstance = isInstance && "status" in value;
|
|
27
28
|
isInstance = isInstance && "tags" in value;
|
|
29
|
+
isInstance = isInstance && "billingAccountId" in value;
|
|
28
30
|
return isInstance;
|
|
29
31
|
}
|
|
30
32
|
exports.instanceOfProject = instanceOfProject;
|
|
@@ -40,8 +42,9 @@ function ProjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
40
42
|
'id': json['id'],
|
|
41
43
|
'name': json['name'],
|
|
42
44
|
'description': json['description'],
|
|
43
|
-
'status': json['status'],
|
|
45
|
+
'status': (0, Status_1.StatusFromJSON)(json['status']),
|
|
44
46
|
'tags': (json['tags'].map(Tag_1.TagFromJSON)),
|
|
47
|
+
'billingAccountId': json['billingAccountId'],
|
|
45
48
|
};
|
|
46
49
|
}
|
|
47
50
|
exports.ProjectFromJSONTyped = ProjectFromJSONTyped;
|
|
@@ -56,8 +59,9 @@ function ProjectToJSON(value) {
|
|
|
56
59
|
'id': value.id,
|
|
57
60
|
'name': value.name,
|
|
58
61
|
'description': value.description,
|
|
59
|
-
'status': value.status,
|
|
62
|
+
'status': (0, Status_1.StatusToJSON)(value.status),
|
|
60
63
|
'tags': (value.tags.map(Tag_1.TagToJSON)),
|
|
64
|
+
'billingAccountId': value.billingAccountId,
|
|
61
65
|
};
|
|
62
66
|
}
|
|
63
67
|
exports.ProjectToJSON = ProjectToJSON;
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { Contact } from './Contact';
|
|
13
13
|
import type { ProjectSettings } from './ProjectSettings';
|
|
14
|
+
import type { Status } from './Status';
|
|
14
15
|
import type { Tag } from './Tag';
|
|
15
16
|
/**
|
|
16
17
|
*
|
|
@@ -50,10 +51,10 @@ export interface ProjectDetail {
|
|
|
50
51
|
contacts: Array<Contact>;
|
|
51
52
|
/**
|
|
52
53
|
*
|
|
53
|
-
* @type {
|
|
54
|
+
* @type {Status}
|
|
54
55
|
* @memberof ProjectDetail
|
|
55
56
|
*/
|
|
56
|
-
status:
|
|
57
|
+
status: Status;
|
|
57
58
|
/**
|
|
58
59
|
*
|
|
59
60
|
* @type {ProjectSettings}
|
|
@@ -80,16 +81,16 @@ export interface ProjectDetail {
|
|
|
80
81
|
createdBy: string;
|
|
81
82
|
/**
|
|
82
83
|
*
|
|
83
|
-
* @type {
|
|
84
|
+
* @type {Date}
|
|
84
85
|
* @memberof ProjectDetail
|
|
85
86
|
*/
|
|
86
|
-
createdAt:
|
|
87
|
+
createdAt: Date;
|
|
87
88
|
/**
|
|
88
89
|
*
|
|
89
|
-
* @type {
|
|
90
|
+
* @type {Date}
|
|
90
91
|
* @memberof ProjectDetail
|
|
91
92
|
*/
|
|
92
|
-
updatedAt:
|
|
93
|
+
updatedAt: Date;
|
|
93
94
|
}
|
|
94
95
|
/**
|
|
95
96
|
* Check if a given object implements the ProjectDetail interface.
|
|
@@ -16,6 +16,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
16
16
|
exports.ProjectDetailToJSON = exports.ProjectDetailFromJSONTyped = exports.ProjectDetailFromJSON = exports.instanceOfProjectDetail = void 0;
|
|
17
17
|
var Contact_1 = require("./Contact");
|
|
18
18
|
var ProjectSettings_1 = require("./ProjectSettings");
|
|
19
|
+
var Status_1 = require("./Status");
|
|
19
20
|
var Tag_1 = require("./Tag");
|
|
20
21
|
/**
|
|
21
22
|
* Check if a given object implements the ProjectDetail interface.
|
|
@@ -51,13 +52,13 @@ function ProjectDetailFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
51
52
|
'description': json['description'],
|
|
52
53
|
'billingAccountId': json['billingAccountId'],
|
|
53
54
|
'contacts': (json['contacts'].map(Contact_1.ContactFromJSON)),
|
|
54
|
-
'status': json['status'],
|
|
55
|
+
'status': (0, Status_1.StatusFromJSON)(json['status']),
|
|
55
56
|
'settings': (0, ProjectSettings_1.ProjectSettingsFromJSON)(json['settings']),
|
|
56
57
|
'statusMessage': json['statusMessage'],
|
|
57
58
|
'tags': (json['tags'].map(Tag_1.TagFromJSON)),
|
|
58
59
|
'createdBy': json['createdBy'],
|
|
59
|
-
'createdAt': json['createdAt'],
|
|
60
|
-
'updatedAt': json['updatedAt'],
|
|
60
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
61
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
61
62
|
};
|
|
62
63
|
}
|
|
63
64
|
exports.ProjectDetailFromJSONTyped = ProjectDetailFromJSONTyped;
|
|
@@ -74,13 +75,13 @@ function ProjectDetailToJSON(value) {
|
|
|
74
75
|
'description': value.description,
|
|
75
76
|
'billingAccountId': value.billingAccountId,
|
|
76
77
|
'contacts': (value.contacts.map(Contact_1.ContactToJSON)),
|
|
77
|
-
'status': value.status,
|
|
78
|
+
'status': (0, Status_1.StatusToJSON)(value.status),
|
|
78
79
|
'settings': (0, ProjectSettings_1.ProjectSettingsToJSON)(value.settings),
|
|
79
80
|
'statusMessage': value.statusMessage,
|
|
80
81
|
'tags': (value.tags.map(Tag_1.TagToJSON)),
|
|
81
82
|
'createdBy': value.createdBy,
|
|
82
|
-
'createdAt': value.createdAt,
|
|
83
|
-
'updatedAt': value.updatedAt,
|
|
83
|
+
'createdAt': (value.createdAt.toISOString()),
|
|
84
|
+
'updatedAt': (value.updatedAt.toISOString()),
|
|
84
85
|
};
|
|
85
86
|
}
|
|
86
87
|
exports.ProjectDetailToJSON = ProjectDetailToJSON;
|
|
@@ -17,11 +17,11 @@ import type { BudgetPeriod } from './BudgetPeriod';
|
|
|
17
17
|
*/
|
|
18
18
|
export interface ProjectSettings {
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Total allowed cost for the budget period
|
|
21
21
|
* @type {number}
|
|
22
22
|
* @memberof ProjectSettings
|
|
23
23
|
*/
|
|
24
|
-
budgetAmount
|
|
24
|
+
budgetAmount?: number;
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
* @type {BudgetPeriod}
|
|
@@ -29,53 +29,53 @@ export interface ProjectSettings {
|
|
|
29
29
|
*/
|
|
30
30
|
budgetPeriod: BudgetPeriod;
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* AMI ID for the DRAGEN compute environment (if enabled)
|
|
33
33
|
* @type {string}
|
|
34
34
|
* @memberof ProjectSettings
|
|
35
35
|
*/
|
|
36
|
-
dragenAmi
|
|
36
|
+
dragenAmi?: string | null;
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
38
|
+
* Enables the default compute environment
|
|
39
39
|
* @type {boolean}
|
|
40
40
|
* @memberof ProjectSettings
|
|
41
41
|
*/
|
|
42
|
-
enableCompute
|
|
42
|
+
enableCompute?: boolean;
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
44
|
+
* Enables the DRAGEN compute environment
|
|
45
45
|
* @type {boolean}
|
|
46
46
|
* @memberof ProjectSettings
|
|
47
47
|
*/
|
|
48
|
-
enableDragen
|
|
48
|
+
enableDragen?: boolean;
|
|
49
49
|
/**
|
|
50
|
-
*
|
|
50
|
+
* Enables the AWS Backup service for S3
|
|
51
51
|
* @type {boolean}
|
|
52
52
|
* @memberof ProjectSettings
|
|
53
53
|
*/
|
|
54
|
-
enableBackup
|
|
54
|
+
enableBackup?: boolean;
|
|
55
55
|
/**
|
|
56
|
-
*
|
|
56
|
+
* Enables access to files over SFTP
|
|
57
57
|
* @type {boolean}
|
|
58
58
|
* @memberof ProjectSettings
|
|
59
59
|
*/
|
|
60
|
-
enableSftp
|
|
60
|
+
enableSftp?: boolean;
|
|
61
61
|
/**
|
|
62
|
-
*
|
|
62
|
+
* Service quota limit for On Demand F1 instances
|
|
63
63
|
* @type {number}
|
|
64
64
|
* @memberof ProjectSettings
|
|
65
65
|
*/
|
|
66
|
-
maxF1VCPU
|
|
66
|
+
maxF1VCPU?: number;
|
|
67
67
|
/**
|
|
68
|
-
*
|
|
68
|
+
* Service quota limit for SPOT instances
|
|
69
69
|
* @type {number}
|
|
70
70
|
* @memberof ProjectSettings
|
|
71
71
|
*/
|
|
72
|
-
maxSpotVCPU
|
|
72
|
+
maxSpotVCPU?: number;
|
|
73
73
|
/**
|
|
74
|
-
*
|
|
74
|
+
* Days to keep deleted datasets before being permanently erased
|
|
75
75
|
* @type {number}
|
|
76
76
|
* @memberof ProjectSettings
|
|
77
77
|
*/
|
|
78
|
-
retentionPolicyDays
|
|
78
|
+
retentionPolicyDays?: number;
|
|
79
79
|
/**
|
|
80
80
|
*
|
|
81
81
|
* @type {Array<string>}
|
|
@@ -83,29 +83,29 @@ export interface ProjectSettings {
|
|
|
83
83
|
*/
|
|
84
84
|
serviceConnections: Array<string>;
|
|
85
85
|
/**
|
|
86
|
-
*
|
|
86
|
+
* Creates a default VPC for the compute environment, if false, VPC ID must be provided
|
|
87
87
|
* @type {boolean}
|
|
88
88
|
* @memberof ProjectSettings
|
|
89
89
|
*/
|
|
90
|
-
createVpc
|
|
90
|
+
createVpc?: boolean;
|
|
91
91
|
/**
|
|
92
|
-
*
|
|
92
|
+
* VPC that the compute environment will use
|
|
93
93
|
* @type {string}
|
|
94
94
|
* @memberof ProjectSettings
|
|
95
95
|
*/
|
|
96
|
-
vpcId
|
|
96
|
+
vpcId?: string | null;
|
|
97
97
|
/**
|
|
98
|
-
*
|
|
98
|
+
* List of subnets that the compute environment will use
|
|
99
99
|
* @type {Array<string>}
|
|
100
100
|
* @memberof ProjectSettings
|
|
101
101
|
*/
|
|
102
|
-
batchSubnets
|
|
102
|
+
batchSubnets?: Array<string> | null;
|
|
103
103
|
/**
|
|
104
|
-
*
|
|
104
|
+
* KMS Key ARN to encrypt S3 objects, one will be created if the arn is not provided
|
|
105
105
|
* @type {string}
|
|
106
106
|
* @memberof ProjectSettings
|
|
107
107
|
*/
|
|
108
|
-
kmsArn
|
|
108
|
+
kmsArn?: string | null;
|
|
109
109
|
}
|
|
110
110
|
/**
|
|
111
111
|
* Check if a given object implements the ProjectSettings interface.
|
|
@@ -14,27 +14,15 @@
|
|
|
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");
|
|
17
18
|
var BudgetPeriod_1 = require("./BudgetPeriod");
|
|
18
19
|
/**
|
|
19
20
|
* Check if a given object implements the ProjectSettings interface.
|
|
20
21
|
*/
|
|
21
22
|
function instanceOfProjectSettings(value) {
|
|
22
23
|
var isInstance = true;
|
|
23
|
-
isInstance = isInstance && "budgetAmount" in value;
|
|
24
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
25
|
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;
|
|
38
26
|
return isInstance;
|
|
39
27
|
}
|
|
40
28
|
exports.instanceOfProjectSettings = instanceOfProjectSettings;
|
|
@@ -47,21 +35,21 @@ function ProjectSettingsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
47
35
|
return json;
|
|
48
36
|
}
|
|
49
37
|
return {
|
|
50
|
-
'budgetAmount': json['budgetAmount'],
|
|
38
|
+
'budgetAmount': !(0, runtime_1.exists)(json, 'budgetAmount') ? undefined : json['budgetAmount'],
|
|
51
39
|
'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'],
|
|
40
|
+
'dragenAmi': !(0, runtime_1.exists)(json, 'dragenAmi') ? undefined : json['dragenAmi'],
|
|
41
|
+
'enableCompute': !(0, runtime_1.exists)(json, 'enableCompute') ? undefined : json['enableCompute'],
|
|
42
|
+
'enableDragen': !(0, runtime_1.exists)(json, 'enableDragen') ? undefined : json['enableDragen'],
|
|
43
|
+
'enableBackup': !(0, runtime_1.exists)(json, 'enableBackup') ? undefined : json['enableBackup'],
|
|
44
|
+
'enableSftp': !(0, runtime_1.exists)(json, 'enableSftp') ? undefined : json['enableSftp'],
|
|
45
|
+
'maxF1VCPU': !(0, runtime_1.exists)(json, 'maxF1VCPU') ? undefined : json['maxF1VCPU'],
|
|
46
|
+
'maxSpotVCPU': !(0, runtime_1.exists)(json, 'maxSpotVCPU') ? undefined : json['maxSpotVCPU'],
|
|
47
|
+
'retentionPolicyDays': !(0, runtime_1.exists)(json, 'retentionPolicyDays') ? undefined : json['retentionPolicyDays'],
|
|
60
48
|
'serviceConnections': json['serviceConnections'],
|
|
61
|
-
'createVpc': json['createVpc'],
|
|
62
|
-
'vpcId': json['vpcId'],
|
|
63
|
-
'batchSubnets': json['batchSubnets'],
|
|
64
|
-
'kmsArn': json['kmsArn'],
|
|
49
|
+
'createVpc': !(0, runtime_1.exists)(json, 'createVpc') ? undefined : json['createVpc'],
|
|
50
|
+
'vpcId': !(0, runtime_1.exists)(json, 'vpcId') ? undefined : json['vpcId'],
|
|
51
|
+
'batchSubnets': !(0, runtime_1.exists)(json, 'batchSubnets') ? undefined : json['batchSubnets'],
|
|
52
|
+
'kmsArn': !(0, runtime_1.exists)(json, 'kmsArn') ? undefined : json['kmsArn'],
|
|
65
53
|
};
|
|
66
54
|
}
|
|
67
55
|
exports.ProjectSettingsFromJSONTyped = ProjectSettingsFromJSONTyped;
|
|
@@ -17,10 +17,28 @@
|
|
|
17
17
|
export interface RegisterDatasetRequest {
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
|
-
* @type {
|
|
20
|
+
* @type {string}
|
|
21
21
|
* @memberof RegisterDatasetRequest
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
name: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof RegisterDatasetRequest
|
|
28
|
+
*/
|
|
29
|
+
description: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof RegisterDatasetRequest
|
|
34
|
+
*/
|
|
35
|
+
processId: string;
|
|
36
|
+
/**
|
|
37
|
+
* List of file names (with relative paths) that will be uploaded
|
|
38
|
+
* @type {Array<string>}
|
|
39
|
+
* @memberof RegisterDatasetRequest
|
|
40
|
+
*/
|
|
41
|
+
expectedFiles?: Array<string>;
|
|
24
42
|
}
|
|
25
43
|
/**
|
|
26
44
|
* Check if a given object implements the RegisterDatasetRequest interface.
|
|
@@ -20,6 +20,9 @@ var runtime_1 = require("../runtime");
|
|
|
20
20
|
*/
|
|
21
21
|
function instanceOfRegisterDatasetRequest(value) {
|
|
22
22
|
var isInstance = true;
|
|
23
|
+
isInstance = isInstance && "name" in value;
|
|
24
|
+
isInstance = isInstance && "description" in value;
|
|
25
|
+
isInstance = isInstance && "processId" in value;
|
|
23
26
|
return isInstance;
|
|
24
27
|
}
|
|
25
28
|
exports.instanceOfRegisterDatasetRequest = instanceOfRegisterDatasetRequest;
|
|
@@ -32,7 +35,10 @@ function RegisterDatasetRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
32
35
|
return json;
|
|
33
36
|
}
|
|
34
37
|
return {
|
|
35
|
-
'
|
|
38
|
+
'name': json['name'],
|
|
39
|
+
'description': json['description'],
|
|
40
|
+
'processId': json['processId'],
|
|
41
|
+
'expectedFiles': !(0, runtime_1.exists)(json, 'expectedFiles') ? undefined : json['expectedFiles'],
|
|
36
42
|
};
|
|
37
43
|
}
|
|
38
44
|
exports.RegisterDatasetRequestFromJSONTyped = RegisterDatasetRequestFromJSONTyped;
|
|
@@ -44,7 +50,10 @@ function RegisterDatasetRequestToJSON(value) {
|
|
|
44
50
|
return null;
|
|
45
51
|
}
|
|
46
52
|
return {
|
|
47
|
-
'
|
|
53
|
+
'name': value.name,
|
|
54
|
+
'description': value.description,
|
|
55
|
+
'processId': value.processId,
|
|
56
|
+
'expectedFiles': value.expectedFiles,
|
|
48
57
|
};
|
|
49
58
|
}
|
|
50
59
|
exports.RegisterDatasetRequestToJSON = RegisterDatasetRequestToJSON;
|