@cirrobio/api-client 0.0.10-alpha → 0.0.11-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 +6 -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 +12 -0
- package/dist/apis/MetadataApi.js +59 -1
- package/dist/apis/ProjectsApi.d.ts +13 -0
- package/dist/apis/ProjectsApi.js +53 -0
- package/dist/apis/SystemApi.d.ts +0 -8
- package/dist/apis/SystemApi.js +0 -41
- 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 +69 -0
- package/dist/models/Dashboard.js +68 -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/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 +12 -0
- package/dist/models/Sample.js +6 -0
- package/dist/models/Status.d.ts +29 -0
- package/dist/models/Status.js +44 -0
- package/dist/models/index.d.ts +5 -2
- package/dist/models/index.js +5 -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 +51 -1
- package/src/apis/ProjectsApi.ts +43 -0
- package/src/apis/SystemApi.ts +0 -26
- 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 +120 -0
- package/src/models/Dataset.ts +22 -16
- package/src/models/DatasetDetail.ts +28 -22
- 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 +18 -0
- package/src/models/Status.ts +43 -0
- package/src/models/index.ts +5 -2
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;
|
|
@@ -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 RegisterPublicDataRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface RegisterPublicDataRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof RegisterPublicDataRequest
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof RegisterPublicDataRequest
|
|
28
|
+
*/
|
|
29
|
+
description: string;
|
|
30
|
+
/**
|
|
31
|
+
* List of SRA/ENA/DDBJ/GEO/Synapse IDs
|
|
32
|
+
* @type {Array<string>}
|
|
33
|
+
* @memberof RegisterPublicDataRequest
|
|
34
|
+
*/
|
|
35
|
+
publicIds?: Array<string>;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the RegisterPublicDataRequest interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfRegisterPublicDataRequest(value: object): boolean;
|
|
41
|
+
export declare function RegisterPublicDataRequestFromJSON(json: any): RegisterPublicDataRequest;
|
|
42
|
+
export declare function RegisterPublicDataRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RegisterPublicDataRequest;
|
|
43
|
+
export declare function RegisterPublicDataRequestToJSON(value?: RegisterPublicDataRequest | 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.RegisterPublicDataRequestToJSON = exports.RegisterPublicDataRequestFromJSONTyped = exports.RegisterPublicDataRequestFromJSON = exports.instanceOfRegisterPublicDataRequest = void 0;
|
|
17
|
+
var runtime_1 = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the RegisterPublicDataRequest interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfRegisterPublicDataRequest(value) {
|
|
22
|
+
var isInstance = true;
|
|
23
|
+
isInstance = isInstance && "name" in value;
|
|
24
|
+
isInstance = isInstance && "description" in value;
|
|
25
|
+
return isInstance;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfRegisterPublicDataRequest = instanceOfRegisterPublicDataRequest;
|
|
28
|
+
function RegisterPublicDataRequestFromJSON(json) {
|
|
29
|
+
return RegisterPublicDataRequestFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
exports.RegisterPublicDataRequestFromJSON = RegisterPublicDataRequestFromJSON;
|
|
32
|
+
function RegisterPublicDataRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if ((json === undefined) || (json === null)) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'name': json['name'],
|
|
38
|
+
'description': json['description'],
|
|
39
|
+
'publicIds': !(0, runtime_1.exists)(json, 'publicIds') ? undefined : json['publicIds'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
exports.RegisterPublicDataRequestFromJSONTyped = RegisterPublicDataRequestFromJSONTyped;
|
|
43
|
+
function RegisterPublicDataRequestToJSON(value) {
|
|
44
|
+
if (value === undefined) {
|
|
45
|
+
return undefined;
|
|
46
|
+
}
|
|
47
|
+
if (value === null) {
|
|
48
|
+
return null;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'name': value.name,
|
|
52
|
+
'description': value.description,
|
|
53
|
+
'publicIds': value.publicIds,
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
exports.RegisterPublicDataRequestToJSON = RegisterPublicDataRequestToJSON;
|
package/dist/models/Sample.d.ts
CHANGED
|
@@ -29,6 +29,18 @@ export interface Sample {
|
|
|
29
29
|
metadata: {
|
|
30
30
|
[key: string]: any;
|
|
31
31
|
};
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {Date}
|
|
35
|
+
* @memberof Sample
|
|
36
|
+
*/
|
|
37
|
+
createdAt: Date;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {Date}
|
|
41
|
+
* @memberof Sample
|
|
42
|
+
*/
|
|
43
|
+
updatedAt: Date;
|
|
32
44
|
}
|
|
33
45
|
/**
|
|
34
46
|
* Check if a given object implements the Sample interface.
|
package/dist/models/Sample.js
CHANGED
|
@@ -21,6 +21,8 @@ function instanceOfSample(value) {
|
|
|
21
21
|
var isInstance = true;
|
|
22
22
|
isInstance = isInstance && "name" in value;
|
|
23
23
|
isInstance = isInstance && "metadata" in value;
|
|
24
|
+
isInstance = isInstance && "createdAt" in value;
|
|
25
|
+
isInstance = isInstance && "updatedAt" in value;
|
|
24
26
|
return isInstance;
|
|
25
27
|
}
|
|
26
28
|
exports.instanceOfSample = instanceOfSample;
|
|
@@ -35,6 +37,8 @@ function SampleFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
37
|
return {
|
|
36
38
|
'name': json['name'],
|
|
37
39
|
'metadata': json['metadata'],
|
|
40
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
41
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
38
42
|
};
|
|
39
43
|
}
|
|
40
44
|
exports.SampleFromJSONTyped = SampleFromJSONTyped;
|
|
@@ -48,6 +52,8 @@ function SampleToJSON(value) {
|
|
|
48
52
|
return {
|
|
49
53
|
'name': value.name,
|
|
50
54
|
'metadata': value.metadata,
|
|
55
|
+
'createdAt': (value.createdAt.toISOString()),
|
|
56
|
+
'updatedAt': (value.updatedAt.toISOString()),
|
|
51
57
|
};
|
|
52
58
|
}
|
|
53
59
|
exports.SampleToJSON = SampleToJSON;
|
|
@@ -0,0 +1,29 @@
|
|
|
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
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare enum Status {
|
|
18
|
+
Completed = "COMPLETED",
|
|
19
|
+
Pending = "PENDING",
|
|
20
|
+
Running = "RUNNING",
|
|
21
|
+
Archived = "ARCHIVED",
|
|
22
|
+
Deleted = "DELETED",
|
|
23
|
+
Deleting = "DELETING",
|
|
24
|
+
Delete = "DELETE",
|
|
25
|
+
Failed = "FAILED"
|
|
26
|
+
}
|
|
27
|
+
export declare function StatusFromJSON(json: any): Status;
|
|
28
|
+
export declare function StatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): Status;
|
|
29
|
+
export declare function StatusToJSON(value?: Status | null): any;
|
|
@@ -0,0 +1,44 @@
|
|
|
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.StatusToJSON = exports.StatusFromJSONTyped = exports.StatusFromJSON = exports.Status = void 0;
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
var Status;
|
|
23
|
+
(function (Status) {
|
|
24
|
+
Status["Completed"] = "COMPLETED";
|
|
25
|
+
Status["Pending"] = "PENDING";
|
|
26
|
+
Status["Running"] = "RUNNING";
|
|
27
|
+
Status["Archived"] = "ARCHIVED";
|
|
28
|
+
Status["Deleted"] = "DELETED";
|
|
29
|
+
Status["Deleting"] = "DELETING";
|
|
30
|
+
Status["Delete"] = "DELETE";
|
|
31
|
+
Status["Failed"] = "FAILED";
|
|
32
|
+
})(Status = exports.Status || (exports.Status = {}));
|
|
33
|
+
function StatusFromJSON(json) {
|
|
34
|
+
return StatusFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
exports.StatusFromJSON = StatusFromJSON;
|
|
37
|
+
function StatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
exports.StatusFromJSONTyped = StatusFromJSONTyped;
|
|
41
|
+
function StatusToJSON(value) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
44
|
+
exports.StatusToJSON = StatusToJSON;
|
package/dist/models/index.d.ts
CHANGED
|
@@ -3,13 +3,14 @@ export * from './BillingMethod';
|
|
|
3
3
|
export * from './BudgetPeriod';
|
|
4
4
|
export * from './CloudAccount';
|
|
5
5
|
export * from './Contact';
|
|
6
|
+
export * from './CreateDashboardRequest';
|
|
6
7
|
export * from './CreateNotebookInstanceRequest';
|
|
7
8
|
export * from './CreateResponse';
|
|
8
9
|
export * from './CustomPipelineSettings';
|
|
9
10
|
export * from './CustomerType';
|
|
11
|
+
export * from './Dashboard';
|
|
10
12
|
export * from './Dataset';
|
|
11
13
|
export * from './DatasetDetail';
|
|
12
|
-
export * from './DatasetType';
|
|
13
14
|
export * from './Executor';
|
|
14
15
|
export * from './FormSchema';
|
|
15
16
|
export * from './GetExecutionLogsResponse';
|
|
@@ -17,6 +18,7 @@ export * from './LogEntry';
|
|
|
17
18
|
export * from './MetricRecord';
|
|
18
19
|
export * from './NotebookInstance';
|
|
19
20
|
export * from './OpenNotebookInstanceResponse';
|
|
21
|
+
export * from './PaginatedResponseDatasetListDto';
|
|
20
22
|
export * from './Process';
|
|
21
23
|
export * from './ProcessDetail';
|
|
22
24
|
export * from './Project';
|
|
@@ -28,11 +30,12 @@ export * from './ProjectSettings';
|
|
|
28
30
|
export * from './ProjectUser';
|
|
29
31
|
export * from './Reference';
|
|
30
32
|
export * from './ReferenceType';
|
|
31
|
-
export * from './Region';
|
|
32
33
|
export * from './RegisterDatasetRequest';
|
|
34
|
+
export * from './RegisterPublicDataRequest';
|
|
33
35
|
export * from './Sample';
|
|
34
36
|
export * from './ServiceConnection';
|
|
35
37
|
export * from './SetUserProjectRoleRequest';
|
|
38
|
+
export * from './Status';
|
|
36
39
|
export * from './StopExecutionResponse';
|
|
37
40
|
export * from './SystemInfoResponse';
|
|
38
41
|
export * from './Tag';
|
package/dist/models/index.js
CHANGED
|
@@ -21,13 +21,14 @@ __exportStar(require("./BillingMethod"), exports);
|
|
|
21
21
|
__exportStar(require("./BudgetPeriod"), exports);
|
|
22
22
|
__exportStar(require("./CloudAccount"), exports);
|
|
23
23
|
__exportStar(require("./Contact"), exports);
|
|
24
|
+
__exportStar(require("./CreateDashboardRequest"), exports);
|
|
24
25
|
__exportStar(require("./CreateNotebookInstanceRequest"), exports);
|
|
25
26
|
__exportStar(require("./CreateResponse"), exports);
|
|
26
27
|
__exportStar(require("./CustomPipelineSettings"), exports);
|
|
27
28
|
__exportStar(require("./CustomerType"), exports);
|
|
29
|
+
__exportStar(require("./Dashboard"), exports);
|
|
28
30
|
__exportStar(require("./Dataset"), exports);
|
|
29
31
|
__exportStar(require("./DatasetDetail"), exports);
|
|
30
|
-
__exportStar(require("./DatasetType"), exports);
|
|
31
32
|
__exportStar(require("./Executor"), exports);
|
|
32
33
|
__exportStar(require("./FormSchema"), exports);
|
|
33
34
|
__exportStar(require("./GetExecutionLogsResponse"), exports);
|
|
@@ -35,6 +36,7 @@ __exportStar(require("./LogEntry"), exports);
|
|
|
35
36
|
__exportStar(require("./MetricRecord"), exports);
|
|
36
37
|
__exportStar(require("./NotebookInstance"), exports);
|
|
37
38
|
__exportStar(require("./OpenNotebookInstanceResponse"), exports);
|
|
39
|
+
__exportStar(require("./PaginatedResponseDatasetListDto"), exports);
|
|
38
40
|
__exportStar(require("./Process"), exports);
|
|
39
41
|
__exportStar(require("./ProcessDetail"), exports);
|
|
40
42
|
__exportStar(require("./Project"), exports);
|
|
@@ -46,11 +48,12 @@ __exportStar(require("./ProjectSettings"), exports);
|
|
|
46
48
|
__exportStar(require("./ProjectUser"), exports);
|
|
47
49
|
__exportStar(require("./Reference"), exports);
|
|
48
50
|
__exportStar(require("./ReferenceType"), exports);
|
|
49
|
-
__exportStar(require("./Region"), exports);
|
|
50
51
|
__exportStar(require("./RegisterDatasetRequest"), exports);
|
|
52
|
+
__exportStar(require("./RegisterPublicDataRequest"), exports);
|
|
51
53
|
__exportStar(require("./Sample"), exports);
|
|
52
54
|
__exportStar(require("./ServiceConnection"), exports);
|
|
53
55
|
__exportStar(require("./SetUserProjectRoleRequest"), exports);
|
|
56
|
+
__exportStar(require("./Status"), exports);
|
|
54
57
|
__exportStar(require("./StopExecutionResponse"), exports);
|
|
55
58
|
__exportStar(require("./SystemInfoResponse"), exports);
|
|
56
59
|
__exportStar(require("./Tag"), exports);
|