@cirrobio/api-client 0.0.39-alpha → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +6 -0
- package/README.md +1 -1
- package/dist/apis/AuditApi.d.ts +44 -0
- package/dist/apis/AuditApi.js +175 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/AuditEvent.d.ts +89 -0
- package/dist/models/AuditEvent.js +68 -0
- package/dist/models/CloudAccount.d.ts +1 -1
- package/dist/models/ColumnDefinition.d.ts +43 -0
- package/dist/models/ColumnDefinition.js +54 -0
- package/dist/models/DatasetAssetsManifest.d.ts +7 -0
- package/dist/models/DatasetAssetsManifest.js +3 -0
- package/dist/models/ImportDataRequest.d.ts +3 -3
- package/dist/models/ImportDataRequest.js +2 -2
- package/dist/models/LoginProvider.d.ts +49 -0
- package/dist/models/LoginProvider.js +59 -0
- package/dist/models/PipelineCode.d.ts +1 -1
- package/dist/models/PipelineCode.js +2 -2
- package/dist/models/Process.d.ts +21 -3
- package/dist/models/Process.js +10 -2
- package/dist/models/ProcessDetail.d.ts +31 -19
- package/dist/models/ProcessDetail.js +11 -8
- package/dist/models/ProjectSettings.d.ts +1 -1
- package/dist/models/ProjectSettings.js +2 -1
- package/dist/models/RunAnalysisRequest.d.ts +9 -9
- package/dist/models/RunAnalysisRequest.js +3 -4
- package/dist/models/SystemInfoResponse.d.ts +8 -1
- package/dist/models/SystemInfoResponse.js +7 -3
- package/dist/models/Table.d.ts +62 -0
- package/dist/models/Table.js +63 -0
- package/dist/models/TenantInfo.d.ts +80 -0
- package/dist/models/TenantInfo.js +75 -0
- package/dist/models/UploadDatasetRequest.d.ts +4 -4
- package/dist/models/UploadDatasetRequest.js +2 -2
- package/dist/models/index.d.ts +5 -0
- package/dist/models/index.js +5 -0
- package/package.json +1 -1
- package/src/apis/AuditApi.ts +106 -0
- package/src/apis/index.ts +1 -0
- package/src/models/AuditEvent.ts +137 -0
- package/src/models/CloudAccount.ts +1 -1
- package/src/models/ColumnDefinition.ts +81 -0
- package/src/models/DatasetAssetsManifest.ts +14 -0
- package/src/models/ImportDataRequest.ts +4 -5
- package/src/models/LoginProvider.ts +93 -0
- package/src/models/PipelineCode.ts +3 -2
- package/src/models/Process.ts +31 -5
- package/src/models/ProcessDetail.ts +42 -27
- package/src/models/ProjectSettings.ts +3 -2
- package/src/models/RunAnalysisRequest.ts +11 -13
- package/src/models/SystemInfoResponse.ts +19 -4
- package/src/models/Table.ts +114 -0
- package/src/models/TenantInfo.ts +145 -0
- package/src/models/UploadDatasetRequest.ts +5 -6
- package/src/models/index.ts +5 -0
|
@@ -0,0 +1,49 @@
|
|
|
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 LoginProvider
|
|
16
|
+
*/
|
|
17
|
+
export interface LoginProvider {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof LoginProvider
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof LoginProvider
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof LoginProvider
|
|
34
|
+
*/
|
|
35
|
+
description: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof LoginProvider
|
|
40
|
+
*/
|
|
41
|
+
logoUrl: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the LoginProvider interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfLoginProvider(value: object): boolean;
|
|
47
|
+
export declare function LoginProviderFromJSON(json: any): LoginProvider;
|
|
48
|
+
export declare function LoginProviderFromJSONTyped(json: any, ignoreDiscriminator: boolean): LoginProvider;
|
|
49
|
+
export declare function LoginProviderToJSON(value?: LoginProvider | null): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
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.LoginProviderToJSON = exports.LoginProviderFromJSONTyped = exports.LoginProviderFromJSON = exports.instanceOfLoginProvider = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the LoginProvider interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfLoginProvider(value) {
|
|
21
|
+
var isInstance = true;
|
|
22
|
+
isInstance = isInstance && "id" in value;
|
|
23
|
+
isInstance = isInstance && "name" in value;
|
|
24
|
+
isInstance = isInstance && "description" in value;
|
|
25
|
+
isInstance = isInstance && "logoUrl" in value;
|
|
26
|
+
return isInstance;
|
|
27
|
+
}
|
|
28
|
+
exports.instanceOfLoginProvider = instanceOfLoginProvider;
|
|
29
|
+
function LoginProviderFromJSON(json) {
|
|
30
|
+
return LoginProviderFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
exports.LoginProviderFromJSON = LoginProviderFromJSON;
|
|
33
|
+
function LoginProviderFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if ((json === undefined) || (json === null)) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'id': json['id'],
|
|
39
|
+
'name': json['name'],
|
|
40
|
+
'description': json['description'],
|
|
41
|
+
'logoUrl': json['logoUrl'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
exports.LoginProviderFromJSONTyped = LoginProviderFromJSONTyped;
|
|
45
|
+
function LoginProviderToJSON(value) {
|
|
46
|
+
if (value === undefined) {
|
|
47
|
+
return undefined;
|
|
48
|
+
}
|
|
49
|
+
if (value === null) {
|
|
50
|
+
return null;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'id': value.id,
|
|
54
|
+
'name': value.name,
|
|
55
|
+
'description': value.description,
|
|
56
|
+
'logoUrl': value.logoUrl,
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
exports.LoginProviderToJSON = LoginProviderToJSON;
|
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.PipelineCodeToJSON = exports.PipelineCodeFromJSONTyped = exports.PipelineCodeFromJSON = exports.instanceOfPipelineCode = void 0;
|
|
17
|
-
var runtime_1 = require("../runtime");
|
|
18
17
|
var RepositoryType_1 = require("./RepositoryType");
|
|
19
18
|
/**
|
|
20
19
|
* Check if a given object implements the PipelineCode interface.
|
|
@@ -23,6 +22,7 @@ function instanceOfPipelineCode(value) {
|
|
|
23
22
|
var isInstance = true;
|
|
24
23
|
isInstance = isInstance && "repositoryPath" in value;
|
|
25
24
|
isInstance = isInstance && "version" in value;
|
|
25
|
+
isInstance = isInstance && "repositoryType" in value;
|
|
26
26
|
isInstance = isInstance && "entryPoint" in value;
|
|
27
27
|
return isInstance;
|
|
28
28
|
}
|
|
@@ -38,7 +38,7 @@ function PipelineCodeFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
38
|
return {
|
|
39
39
|
'repositoryPath': json['repositoryPath'],
|
|
40
40
|
'version': json['version'],
|
|
41
|
-
'repositoryType':
|
|
41
|
+
'repositoryType': (0, RepositoryType_1.RepositoryTypeFromJSON)(json['repositoryType']),
|
|
42
42
|
'entryPoint': json['entryPoint'],
|
|
43
43
|
};
|
|
44
44
|
}
|
package/dist/models/Process.d.ts
CHANGED
|
@@ -27,19 +27,25 @@ export interface Process {
|
|
|
27
27
|
* @type {string}
|
|
28
28
|
* @memberof Process
|
|
29
29
|
*/
|
|
30
|
-
name
|
|
30
|
+
name: string;
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
33
33
|
* @type {string}
|
|
34
34
|
* @memberof Process
|
|
35
35
|
*/
|
|
36
36
|
description?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Name of the data type this pipeline produces (if it is not defined, use the name)
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof Process
|
|
41
|
+
*/
|
|
42
|
+
dataType?: string | null;
|
|
37
43
|
/**
|
|
38
44
|
*
|
|
39
45
|
* @type {Executor}
|
|
40
46
|
* @memberof Process
|
|
41
47
|
*/
|
|
42
|
-
executor
|
|
48
|
+
executor: Executor;
|
|
43
49
|
/**
|
|
44
50
|
* Link to pipeline documentation
|
|
45
51
|
* @type {string}
|
|
@@ -53,7 +59,7 @@ export interface Process {
|
|
|
53
59
|
*/
|
|
54
60
|
fileRequirementsMessage?: string;
|
|
55
61
|
/**
|
|
56
|
-
* IDs of pipelines that can be
|
|
62
|
+
* IDs of pipelines that can be run downstream
|
|
57
63
|
* @type {Array<string>}
|
|
58
64
|
* @memberof Process
|
|
59
65
|
*/
|
|
@@ -76,6 +82,18 @@ export interface Process {
|
|
|
76
82
|
* @memberof Process
|
|
77
83
|
*/
|
|
78
84
|
linkedProjectIds?: Array<string>;
|
|
85
|
+
/**
|
|
86
|
+
* Whether the pipeline is allowed to have multiple dataset sources
|
|
87
|
+
* @type {boolean}
|
|
88
|
+
* @memberof Process
|
|
89
|
+
*/
|
|
90
|
+
allowMultipleSources?: boolean;
|
|
91
|
+
/**
|
|
92
|
+
* Whether the pipeline is marked as archived
|
|
93
|
+
* @type {boolean}
|
|
94
|
+
* @memberof Process
|
|
95
|
+
*/
|
|
96
|
+
isArchived?: boolean;
|
|
79
97
|
}
|
|
80
98
|
/**
|
|
81
99
|
* Check if a given object implements the Process interface.
|
package/dist/models/Process.js
CHANGED
|
@@ -22,6 +22,8 @@ var Executor_1 = require("./Executor");
|
|
|
22
22
|
function instanceOfProcess(value) {
|
|
23
23
|
var isInstance = true;
|
|
24
24
|
isInstance = isInstance && "id" in value;
|
|
25
|
+
isInstance = isInstance && "name" in value;
|
|
26
|
+
isInstance = isInstance && "executor" in value;
|
|
25
27
|
return isInstance;
|
|
26
28
|
}
|
|
27
29
|
exports.instanceOfProcess = instanceOfProcess;
|
|
@@ -35,15 +37,18 @@ function ProcessFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
37
|
}
|
|
36
38
|
return {
|
|
37
39
|
'id': json['id'],
|
|
38
|
-
'name':
|
|
40
|
+
'name': json['name'],
|
|
39
41
|
'description': !(0, runtime_1.exists)(json, 'description') ? undefined : json['description'],
|
|
40
|
-
'
|
|
42
|
+
'dataType': !(0, runtime_1.exists)(json, 'dataType') ? undefined : json['dataType'],
|
|
43
|
+
'executor': (0, Executor_1.ExecutorFromJSON)(json['executor']),
|
|
41
44
|
'documentationUrl': !(0, runtime_1.exists)(json, 'documentationUrl') ? undefined : json['documentationUrl'],
|
|
42
45
|
'fileRequirementsMessage': !(0, runtime_1.exists)(json, 'fileRequirementsMessage') ? undefined : json['fileRequirementsMessage'],
|
|
43
46
|
'childProcessIds': !(0, runtime_1.exists)(json, 'childProcessIds') ? undefined : json['childProcessIds'],
|
|
44
47
|
'parentProcessIds': !(0, runtime_1.exists)(json, 'parentProcessIds') ? undefined : json['parentProcessIds'],
|
|
45
48
|
'owner': !(0, runtime_1.exists)(json, 'owner') ? undefined : json['owner'],
|
|
46
49
|
'linkedProjectIds': !(0, runtime_1.exists)(json, 'linkedProjectIds') ? undefined : json['linkedProjectIds'],
|
|
50
|
+
'allowMultipleSources': !(0, runtime_1.exists)(json, 'allowMultipleSources') ? undefined : json['allowMultipleSources'],
|
|
51
|
+
'isArchived': !(0, runtime_1.exists)(json, 'isArchived') ? undefined : json['isArchived'],
|
|
47
52
|
};
|
|
48
53
|
}
|
|
49
54
|
exports.ProcessFromJSONTyped = ProcessFromJSONTyped;
|
|
@@ -58,6 +63,7 @@ function ProcessToJSON(value) {
|
|
|
58
63
|
'id': value.id,
|
|
59
64
|
'name': value.name,
|
|
60
65
|
'description': value.description,
|
|
66
|
+
'dataType': value.dataType,
|
|
61
67
|
'executor': (0, Executor_1.ExecutorToJSON)(value.executor),
|
|
62
68
|
'documentationUrl': value.documentationUrl,
|
|
63
69
|
'fileRequirementsMessage': value.fileRequirementsMessage,
|
|
@@ -65,6 +71,8 @@ function ProcessToJSON(value) {
|
|
|
65
71
|
'parentProcessIds': value.parentProcessIds,
|
|
66
72
|
'owner': value.owner,
|
|
67
73
|
'linkedProjectIds': value.linkedProjectIds,
|
|
74
|
+
'allowMultipleSources': value.allowMultipleSources,
|
|
75
|
+
'isArchived': value.isArchived,
|
|
68
76
|
};
|
|
69
77
|
}
|
|
70
78
|
exports.ProcessToJSON = ProcessToJSON;
|
|
@@ -19,13 +19,13 @@ import type { PipelineCode } from './PipelineCode';
|
|
|
19
19
|
*/
|
|
20
20
|
export interface ProcessDetail {
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Unique ID of the Process
|
|
23
23
|
* @type {string}
|
|
24
24
|
* @memberof ProcessDetail
|
|
25
25
|
*/
|
|
26
26
|
id: string;
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
28
|
+
* Friendly name for the process
|
|
29
29
|
* @type {string}
|
|
30
30
|
* @memberof ProcessDetail
|
|
31
31
|
*/
|
|
@@ -36,6 +36,12 @@ export interface ProcessDetail {
|
|
|
36
36
|
* @memberof ProcessDetail
|
|
37
37
|
*/
|
|
38
38
|
description: string;
|
|
39
|
+
/**
|
|
40
|
+
* Name of the data type this pipeline produces (if it is not defined, use the name)
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @memberof ProcessDetail
|
|
43
|
+
*/
|
|
44
|
+
dataType?: string | null;
|
|
39
45
|
/**
|
|
40
46
|
*
|
|
41
47
|
* @type {Executor}
|
|
@@ -43,53 +49,59 @@ export interface ProcessDetail {
|
|
|
43
49
|
*/
|
|
44
50
|
executor: Executor;
|
|
45
51
|
/**
|
|
46
|
-
*
|
|
47
|
-
* @type {string}
|
|
52
|
+
* IDs of pipelines that can be run downstream
|
|
53
|
+
* @type {Array<string>}
|
|
48
54
|
* @memberof ProcessDetail
|
|
49
55
|
*/
|
|
50
|
-
|
|
56
|
+
childProcessIds: Array<string>;
|
|
51
57
|
/**
|
|
52
|
-
*
|
|
58
|
+
* IDs of pipelines that can run this pipeline
|
|
59
|
+
* @type {Array<string>}
|
|
60
|
+
* @memberof ProcessDetail
|
|
61
|
+
*/
|
|
62
|
+
parentProcessIds: Array<string>;
|
|
63
|
+
/**
|
|
64
|
+
* Link to pipeline documentation
|
|
53
65
|
* @type {string}
|
|
54
66
|
* @memberof ProcessDetail
|
|
55
67
|
*/
|
|
56
|
-
|
|
68
|
+
documentationUrl?: string | null;
|
|
57
69
|
/**
|
|
58
|
-
*
|
|
59
|
-
* @type {
|
|
70
|
+
* Description of the files to be uploaded (optional)
|
|
71
|
+
* @type {string}
|
|
60
72
|
* @memberof ProcessDetail
|
|
61
73
|
*/
|
|
62
|
-
|
|
74
|
+
fileRequirementsMessage?: string | null;
|
|
63
75
|
/**
|
|
64
76
|
*
|
|
65
|
-
* @type {
|
|
77
|
+
* @type {PipelineCode}
|
|
66
78
|
* @memberof ProcessDetail
|
|
67
79
|
*/
|
|
68
|
-
|
|
80
|
+
pipelineCode?: PipelineCode | null;
|
|
69
81
|
/**
|
|
70
|
-
*
|
|
82
|
+
* Username of the pipeline creator (blank if Cirro curated)
|
|
71
83
|
* @type {string}
|
|
72
84
|
* @memberof ProcessDetail
|
|
73
85
|
*/
|
|
74
|
-
owner?: string;
|
|
86
|
+
owner?: string | null;
|
|
75
87
|
/**
|
|
76
|
-
*
|
|
88
|
+
* Projects that can run this pipeline
|
|
77
89
|
* @type {Array<string>}
|
|
78
90
|
* @memberof ProcessDetail
|
|
79
91
|
*/
|
|
80
92
|
linkedProjectIds: Array<string>;
|
|
81
93
|
/**
|
|
82
|
-
*
|
|
83
|
-
* @type {
|
|
94
|
+
* Whether the pipeline is allowed to have multiple dataset sources
|
|
95
|
+
* @type {boolean}
|
|
84
96
|
* @memberof ProcessDetail
|
|
85
97
|
*/
|
|
86
|
-
|
|
98
|
+
allowMultipleSources?: boolean;
|
|
87
99
|
/**
|
|
88
100
|
*
|
|
89
101
|
* @type {CustomPipelineSettings}
|
|
90
102
|
* @memberof ProcessDetail
|
|
91
103
|
*/
|
|
92
|
-
customSettings
|
|
104
|
+
customSettings?: CustomPipelineSettings | null;
|
|
93
105
|
/**
|
|
94
106
|
* Whether the process is marked for removal
|
|
95
107
|
* @type {boolean}
|
|
@@ -30,7 +30,6 @@ function instanceOfProcessDetail(value) {
|
|
|
30
30
|
isInstance = isInstance && "childProcessIds" in value;
|
|
31
31
|
isInstance = isInstance && "parentProcessIds" in value;
|
|
32
32
|
isInstance = isInstance && "linkedProjectIds" in value;
|
|
33
|
-
isInstance = isInstance && "customSettings" in value;
|
|
34
33
|
return isInstance;
|
|
35
34
|
}
|
|
36
35
|
exports.instanceOfProcessDetail = instanceOfProcessDetail;
|
|
@@ -46,15 +45,17 @@ function ProcessDetailFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
46
45
|
'id': json['id'],
|
|
47
46
|
'name': json['name'],
|
|
48
47
|
'description': json['description'],
|
|
48
|
+
'dataType': !(0, runtime_1.exists)(json, 'dataType') ? undefined : json['dataType'],
|
|
49
49
|
'executor': (0, Executor_1.ExecutorFromJSON)(json['executor']),
|
|
50
|
-
'documentationUrl': !(0, runtime_1.exists)(json, 'documentationUrl') ? undefined : json['documentationUrl'],
|
|
51
|
-
'fileRequirementsMessage': !(0, runtime_1.exists)(json, 'fileRequirementsMessage') ? undefined : json['fileRequirementsMessage'],
|
|
52
50
|
'childProcessIds': json['childProcessIds'],
|
|
53
51
|
'parentProcessIds': json['parentProcessIds'],
|
|
52
|
+
'documentationUrl': !(0, runtime_1.exists)(json, 'documentationUrl') ? undefined : json['documentationUrl'],
|
|
53
|
+
'fileRequirementsMessage': !(0, runtime_1.exists)(json, 'fileRequirementsMessage') ? undefined : json['fileRequirementsMessage'],
|
|
54
|
+
'pipelineCode': !(0, runtime_1.exists)(json, 'pipelineCode') ? undefined : (0, PipelineCode_1.PipelineCodeFromJSON)(json['pipelineCode']),
|
|
54
55
|
'owner': !(0, runtime_1.exists)(json, 'owner') ? undefined : json['owner'],
|
|
55
56
|
'linkedProjectIds': json['linkedProjectIds'],
|
|
56
|
-
'
|
|
57
|
-
'customSettings': (0, CustomPipelineSettings_1.CustomPipelineSettingsFromJSON)(json['customSettings']),
|
|
57
|
+
'allowMultipleSources': !(0, runtime_1.exists)(json, 'allowMultipleSources') ? undefined : json['allowMultipleSources'],
|
|
58
|
+
'customSettings': !(0, runtime_1.exists)(json, 'customSettings') ? undefined : (0, CustomPipelineSettings_1.CustomPipelineSettingsFromJSON)(json['customSettings']),
|
|
58
59
|
'isArchived': !(0, runtime_1.exists)(json, 'isArchived') ? undefined : json['isArchived'],
|
|
59
60
|
};
|
|
60
61
|
}
|
|
@@ -70,14 +71,16 @@ function ProcessDetailToJSON(value) {
|
|
|
70
71
|
'id': value.id,
|
|
71
72
|
'name': value.name,
|
|
72
73
|
'description': value.description,
|
|
74
|
+
'dataType': value.dataType,
|
|
73
75
|
'executor': (0, Executor_1.ExecutorToJSON)(value.executor),
|
|
74
|
-
'documentationUrl': value.documentationUrl,
|
|
75
|
-
'fileRequirementsMessage': value.fileRequirementsMessage,
|
|
76
76
|
'childProcessIds': value.childProcessIds,
|
|
77
77
|
'parentProcessIds': value.parentProcessIds,
|
|
78
|
+
'documentationUrl': value.documentationUrl,
|
|
79
|
+
'fileRequirementsMessage': value.fileRequirementsMessage,
|
|
80
|
+
'pipelineCode': (0, PipelineCode_1.PipelineCodeToJSON)(value.pipelineCode),
|
|
78
81
|
'owner': value.owner,
|
|
79
82
|
'linkedProjectIds': value.linkedProjectIds,
|
|
80
|
-
'
|
|
83
|
+
'allowMultipleSources': value.allowMultipleSources,
|
|
81
84
|
'customSettings': (0, CustomPipelineSettings_1.CustomPipelineSettingsToJSON)(value.customSettings),
|
|
82
85
|
'isArchived': value.isArchived,
|
|
83
86
|
};
|
|
@@ -21,6 +21,7 @@ var BudgetPeriod_1 = require("./BudgetPeriod");
|
|
|
21
21
|
*/
|
|
22
22
|
function instanceOfProjectSettings(value) {
|
|
23
23
|
var isInstance = true;
|
|
24
|
+
isInstance = isInstance && "budgetPeriod" in value;
|
|
24
25
|
isInstance = isInstance && "serviceConnections" in value;
|
|
25
26
|
return isInstance;
|
|
26
27
|
}
|
|
@@ -35,7 +36,7 @@ function ProjectSettingsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
36
|
}
|
|
36
37
|
return {
|
|
37
38
|
'budgetAmount': !(0, runtime_1.exists)(json, 'budgetAmount') ? undefined : json['budgetAmount'],
|
|
38
|
-
'budgetPeriod':
|
|
39
|
+
'budgetPeriod': (0, BudgetPeriod_1.BudgetPeriodFromJSON)(json['budgetPeriod']),
|
|
39
40
|
'dragenAmi': !(0, runtime_1.exists)(json, 'dragenAmi') ? undefined : json['dragenAmi'],
|
|
40
41
|
'enableCompute': !(0, runtime_1.exists)(json, 'enableCompute') ? undefined : json['enableCompute'],
|
|
41
42
|
'enableDragen': !(0, runtime_1.exists)(json, 'enableDragen') ? undefined : json['enableDragen'],
|
|
@@ -16,37 +16,37 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface RunAnalysisRequest {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Name of the dataset
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof RunAnalysisRequest
|
|
22
22
|
*/
|
|
23
23
|
name: string;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Description of the dataset (optional)
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RunAnalysisRequest
|
|
28
28
|
*/
|
|
29
|
-
description
|
|
29
|
+
description?: string | null;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* Process ID of the workflow
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof RunAnalysisRequest
|
|
34
34
|
*/
|
|
35
35
|
processId: string;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* These datasets contain files that are inputs to this workflow.
|
|
38
38
|
* @type {Array<string>}
|
|
39
39
|
* @memberof RunAnalysisRequest
|
|
40
40
|
*/
|
|
41
41
|
sourceDatasetIds: Array<string>;
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* Used for caching task execution. If the parameters are the same as the dataset specified here, it will re-use the output to minimize duplicate work
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof RunAnalysisRequest
|
|
46
46
|
*/
|
|
47
|
-
resumeDatasetId
|
|
47
|
+
resumeDatasetId?: string | null;
|
|
48
48
|
/**
|
|
49
|
-
*
|
|
49
|
+
* Parameters used in workflow (can be empty)
|
|
50
50
|
* @type {{ [key: string]: any; }}
|
|
51
51
|
* @memberof RunAnalysisRequest
|
|
52
52
|
*/
|
|
@@ -54,7 +54,7 @@ export interface RunAnalysisRequest {
|
|
|
54
54
|
[key: string]: any;
|
|
55
55
|
};
|
|
56
56
|
/**
|
|
57
|
-
*
|
|
57
|
+
* Emails to notify upon workflow success or failure
|
|
58
58
|
* @type {Array<string>}
|
|
59
59
|
* @memberof RunAnalysisRequest
|
|
60
60
|
*/
|
|
@@ -14,16 +14,15 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.RunAnalysisRequestToJSON = exports.RunAnalysisRequestFromJSONTyped = exports.RunAnalysisRequestFromJSON = exports.instanceOfRunAnalysisRequest = void 0;
|
|
17
|
+
var runtime_1 = require("../runtime");
|
|
17
18
|
/**
|
|
18
19
|
* Check if a given object implements the RunAnalysisRequest interface.
|
|
19
20
|
*/
|
|
20
21
|
function instanceOfRunAnalysisRequest(value) {
|
|
21
22
|
var isInstance = true;
|
|
22
23
|
isInstance = isInstance && "name" in value;
|
|
23
|
-
isInstance = isInstance && "description" in value;
|
|
24
24
|
isInstance = isInstance && "processId" in value;
|
|
25
25
|
isInstance = isInstance && "sourceDatasetIds" in value;
|
|
26
|
-
isInstance = isInstance && "resumeDatasetId" in value;
|
|
27
26
|
isInstance = isInstance && "params" in value;
|
|
28
27
|
isInstance = isInstance && "notificationEmails" in value;
|
|
29
28
|
return isInstance;
|
|
@@ -39,10 +38,10 @@ function RunAnalysisRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
39
38
|
}
|
|
40
39
|
return {
|
|
41
40
|
'name': json['name'],
|
|
42
|
-
'description': json['description'],
|
|
41
|
+
'description': !(0, runtime_1.exists)(json, 'description') ? undefined : json['description'],
|
|
43
42
|
'processId': json['processId'],
|
|
44
43
|
'sourceDatasetIds': json['sourceDatasetIds'],
|
|
45
|
-
'resumeDatasetId': json['resumeDatasetId'],
|
|
44
|
+
'resumeDatasetId': !(0, runtime_1.exists)(json, 'resumeDatasetId') ? undefined : json['resumeDatasetId'],
|
|
46
45
|
'params': json['params'],
|
|
47
46
|
'notificationEmails': json['notificationEmails'],
|
|
48
47
|
};
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { ResourcesInfo } from './ResourcesInfo';
|
|
13
|
+
import type { TenantInfo } from './TenantInfo';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
15
16
|
* @export
|
|
@@ -33,7 +34,7 @@ export interface SystemInfoResponse {
|
|
|
33
34
|
* @type {string}
|
|
34
35
|
* @memberof SystemInfoResponse
|
|
35
36
|
*/
|
|
36
|
-
|
|
37
|
+
referencesBucket: string;
|
|
37
38
|
/**
|
|
38
39
|
*
|
|
39
40
|
* @type {string}
|
|
@@ -64,6 +65,12 @@ export interface SystemInfoResponse {
|
|
|
64
65
|
* @memberof SystemInfoResponse
|
|
65
66
|
*/
|
|
66
67
|
resourcesInfo: ResourcesInfo;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {TenantInfo}
|
|
71
|
+
* @memberof SystemInfoResponse
|
|
72
|
+
*/
|
|
73
|
+
tenantInfo: TenantInfo;
|
|
67
74
|
}
|
|
68
75
|
/**
|
|
69
76
|
* Check if a given object implements the SystemInfoResponse interface.
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.SystemInfoResponseToJSON = exports.SystemInfoResponseFromJSONTyped = exports.SystemInfoResponseFromJSON = exports.instanceOfSystemInfoResponse = void 0;
|
|
17
17
|
var ResourcesInfo_1 = require("./ResourcesInfo");
|
|
18
|
+
var TenantInfo_1 = require("./TenantInfo");
|
|
18
19
|
/**
|
|
19
20
|
* Check if a given object implements the SystemInfoResponse interface.
|
|
20
21
|
*/
|
|
@@ -22,12 +23,13 @@ function instanceOfSystemInfoResponse(value) {
|
|
|
22
23
|
var isInstance = true;
|
|
23
24
|
isInstance = isInstance && "sdkAppId" in value;
|
|
24
25
|
isInstance = isInstance && "resourcesBucket" in value;
|
|
25
|
-
isInstance = isInstance && "
|
|
26
|
+
isInstance = isInstance && "referencesBucket" in value;
|
|
26
27
|
isInstance = isInstance && "region" in value;
|
|
27
28
|
isInstance = isInstance && "systemMessage" in value;
|
|
28
29
|
isInstance = isInstance && "commitHash" in value;
|
|
29
30
|
isInstance = isInstance && "version" in value;
|
|
30
31
|
isInstance = isInstance && "resourcesInfo" in value;
|
|
32
|
+
isInstance = isInstance && "tenantInfo" in value;
|
|
31
33
|
return isInstance;
|
|
32
34
|
}
|
|
33
35
|
exports.instanceOfSystemInfoResponse = instanceOfSystemInfoResponse;
|
|
@@ -42,12 +44,13 @@ function SystemInfoResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
42
44
|
return {
|
|
43
45
|
'sdkAppId': json['sdkAppId'],
|
|
44
46
|
'resourcesBucket': json['resourcesBucket'],
|
|
45
|
-
'
|
|
47
|
+
'referencesBucket': json['referencesBucket'],
|
|
46
48
|
'region': json['region'],
|
|
47
49
|
'systemMessage': json['systemMessage'],
|
|
48
50
|
'commitHash': json['commitHash'],
|
|
49
51
|
'version': json['version'],
|
|
50
52
|
'resourcesInfo': (0, ResourcesInfo_1.ResourcesInfoFromJSON)(json['resourcesInfo']),
|
|
53
|
+
'tenantInfo': (0, TenantInfo_1.TenantInfoFromJSON)(json['tenantInfo']),
|
|
51
54
|
};
|
|
52
55
|
}
|
|
53
56
|
exports.SystemInfoResponseFromJSONTyped = SystemInfoResponseFromJSONTyped;
|
|
@@ -61,12 +64,13 @@ function SystemInfoResponseToJSON(value) {
|
|
|
61
64
|
return {
|
|
62
65
|
'sdkAppId': value.sdkAppId,
|
|
63
66
|
'resourcesBucket': value.resourcesBucket,
|
|
64
|
-
'
|
|
67
|
+
'referencesBucket': value.referencesBucket,
|
|
65
68
|
'region': value.region,
|
|
66
69
|
'systemMessage': value.systemMessage,
|
|
67
70
|
'commitHash': value.commitHash,
|
|
68
71
|
'version': value.version,
|
|
69
72
|
'resourcesInfo': (0, ResourcesInfo_1.ResourcesInfoToJSON)(value.resourcesInfo),
|
|
73
|
+
'tenantInfo': (0, TenantInfo_1.TenantInfoToJSON)(value.tenantInfo),
|
|
70
74
|
};
|
|
71
75
|
}
|
|
72
76
|
exports.SystemInfoResponseToJSON = SystemInfoResponseToJSON;
|
|
@@ -0,0 +1,62 @@
|
|
|
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 { ColumnDefinition } from './ColumnDefinition';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface Table
|
|
17
|
+
*/
|
|
18
|
+
export interface Table {
|
|
19
|
+
/**
|
|
20
|
+
* User-friendly name of asset
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof Table
|
|
23
|
+
*/
|
|
24
|
+
name?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof Table
|
|
29
|
+
*/
|
|
30
|
+
desc: string;
|
|
31
|
+
/**
|
|
32
|
+
* Type of file
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof Table
|
|
35
|
+
*/
|
|
36
|
+
type?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Number of rows in table
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof Table
|
|
41
|
+
*/
|
|
42
|
+
rows?: number;
|
|
43
|
+
/**
|
|
44
|
+
* Relative path to asset
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof Table
|
|
47
|
+
*/
|
|
48
|
+
path?: string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {Array<ColumnDefinition>}
|
|
52
|
+
* @memberof Table
|
|
53
|
+
*/
|
|
54
|
+
cols: Array<ColumnDefinition>;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Check if a given object implements the Table interface.
|
|
58
|
+
*/
|
|
59
|
+
export declare function instanceOfTable(value: object): boolean;
|
|
60
|
+
export declare function TableFromJSON(json: any): Table;
|
|
61
|
+
export declare function TableFromJSONTyped(json: any, ignoreDiscriminator: boolean): Table;
|
|
62
|
+
export declare function TableToJSON(value?: Table | null): any;
|