@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
|
@@ -25,6 +25,12 @@ import {
|
|
|
25
25
|
FileEntryFromJSONTyped,
|
|
26
26
|
FileEntryToJSON,
|
|
27
27
|
} from './FileEntry';
|
|
28
|
+
import type { Table } from './Table';
|
|
29
|
+
import {
|
|
30
|
+
TableFromJSON,
|
|
31
|
+
TableFromJSONTyped,
|
|
32
|
+
TableToJSON,
|
|
33
|
+
} from './Table';
|
|
28
34
|
|
|
29
35
|
/**
|
|
30
36
|
*
|
|
@@ -50,6 +56,12 @@ export interface DatasetAssetsManifest {
|
|
|
50
56
|
* @memberof DatasetAssetsManifest
|
|
51
57
|
*/
|
|
52
58
|
viz?: Array<DatasetViz>;
|
|
59
|
+
/**
|
|
60
|
+
* List of web optimized tables for the dataset
|
|
61
|
+
* @type {Array<Table>}
|
|
62
|
+
* @memberof DatasetAssetsManifest
|
|
63
|
+
*/
|
|
64
|
+
tables?: Array<Table>;
|
|
53
65
|
}
|
|
54
66
|
|
|
55
67
|
/**
|
|
@@ -74,6 +86,7 @@ export function DatasetAssetsManifestFromJSONTyped(json: any, ignoreDiscriminato
|
|
|
74
86
|
'domain': !exists(json, 'domain') ? undefined : json['domain'],
|
|
75
87
|
'files': !exists(json, 'files') ? undefined : ((json['files'] as Array<any>).map(FileEntryFromJSON)),
|
|
76
88
|
'viz': !exists(json, 'viz') ? undefined : ((json['viz'] as Array<any>).map(DatasetVizFromJSON)),
|
|
89
|
+
'tables': !exists(json, 'tables') ? undefined : ((json['tables'] as Array<any>).map(TableFromJSON)),
|
|
77
90
|
};
|
|
78
91
|
}
|
|
79
92
|
|
|
@@ -89,6 +102,7 @@ export function DatasetAssetsManifestToJSON(value?: DatasetAssetsManifest | null
|
|
|
89
102
|
'domain': value.domain,
|
|
90
103
|
'files': value.files === undefined ? undefined : ((value.files as Array<any>).map(FileEntryToJSON)),
|
|
91
104
|
'viz': value.viz === undefined ? undefined : ((value.viz as Array<any>).map(DatasetVizToJSON)),
|
|
105
|
+
'tables': value.tables === undefined ? undefined : ((value.tables as Array<any>).map(TableToJSON)),
|
|
92
106
|
};
|
|
93
107
|
}
|
|
94
108
|
|
|
@@ -20,17 +20,17 @@ import { exists, mapValues } from '../runtime';
|
|
|
20
20
|
*/
|
|
21
21
|
export interface ImportDataRequest {
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* Name of the dataset
|
|
24
24
|
* @type {string}
|
|
25
25
|
* @memberof ImportDataRequest
|
|
26
26
|
*/
|
|
27
27
|
name: string;
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
* Description of the dataset
|
|
30
30
|
* @type {string}
|
|
31
31
|
* @memberof ImportDataRequest
|
|
32
32
|
*/
|
|
33
|
-
description
|
|
33
|
+
description?: string;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
36
|
* @type {Array<string>}
|
|
@@ -45,7 +45,6 @@ export interface ImportDataRequest {
|
|
|
45
45
|
export function instanceOfImportDataRequest(value: object): boolean {
|
|
46
46
|
let isInstance = true;
|
|
47
47
|
isInstance = isInstance && "name" in value;
|
|
48
|
-
isInstance = isInstance && "description" in value;
|
|
49
48
|
isInstance = isInstance && "publicIds" in value;
|
|
50
49
|
|
|
51
50
|
return isInstance;
|
|
@@ -62,7 +61,7 @@ export function ImportDataRequestFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
62
61
|
return {
|
|
63
62
|
|
|
64
63
|
'name': json['name'],
|
|
65
|
-
'description': json['description'],
|
|
64
|
+
'description': !exists(json, 'description') ? undefined : json['description'],
|
|
66
65
|
'publicIds': json['publicIds'],
|
|
67
66
|
};
|
|
68
67
|
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Cirro Data
|
|
5
|
+
* Cirro Data Platform service API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: latest
|
|
8
|
+
* Contact: support@cirro.bio
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { exists, mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface LoginProvider
|
|
20
|
+
*/
|
|
21
|
+
export interface LoginProvider {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof LoginProvider
|
|
26
|
+
*/
|
|
27
|
+
id: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof LoginProvider
|
|
32
|
+
*/
|
|
33
|
+
name: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof LoginProvider
|
|
38
|
+
*/
|
|
39
|
+
description: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof LoginProvider
|
|
44
|
+
*/
|
|
45
|
+
logoUrl: string;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the LoginProvider interface.
|
|
50
|
+
*/
|
|
51
|
+
export function instanceOfLoginProvider(value: object): boolean {
|
|
52
|
+
let isInstance = true;
|
|
53
|
+
isInstance = isInstance && "id" in value;
|
|
54
|
+
isInstance = isInstance && "name" in value;
|
|
55
|
+
isInstance = isInstance && "description" in value;
|
|
56
|
+
isInstance = isInstance && "logoUrl" in value;
|
|
57
|
+
|
|
58
|
+
return isInstance;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export function LoginProviderFromJSON(json: any): LoginProvider {
|
|
62
|
+
return LoginProviderFromJSONTyped(json, false);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export function LoginProviderFromJSONTyped(json: any, ignoreDiscriminator: boolean): LoginProvider {
|
|
66
|
+
if ((json === undefined) || (json === null)) {
|
|
67
|
+
return json;
|
|
68
|
+
}
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'id': json['id'],
|
|
72
|
+
'name': json['name'],
|
|
73
|
+
'description': json['description'],
|
|
74
|
+
'logoUrl': json['logoUrl'],
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export function LoginProviderToJSON(value?: LoginProvider | null): any {
|
|
79
|
+
if (value === undefined) {
|
|
80
|
+
return undefined;
|
|
81
|
+
}
|
|
82
|
+
if (value === null) {
|
|
83
|
+
return null;
|
|
84
|
+
}
|
|
85
|
+
return {
|
|
86
|
+
|
|
87
|
+
'id': value.id,
|
|
88
|
+
'name': value.name,
|
|
89
|
+
'description': value.description,
|
|
90
|
+
'logoUrl': value.logoUrl,
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
|
|
@@ -43,7 +43,7 @@ export interface PipelineCode {
|
|
|
43
43
|
* @type {RepositoryType}
|
|
44
44
|
* @memberof PipelineCode
|
|
45
45
|
*/
|
|
46
|
-
repositoryType
|
|
46
|
+
repositoryType: RepositoryType;
|
|
47
47
|
/**
|
|
48
48
|
* Main script for running the pipeline
|
|
49
49
|
* @type {string}
|
|
@@ -59,6 +59,7 @@ export function instanceOfPipelineCode(value: object): boolean {
|
|
|
59
59
|
let isInstance = true;
|
|
60
60
|
isInstance = isInstance && "repositoryPath" in value;
|
|
61
61
|
isInstance = isInstance && "version" in value;
|
|
62
|
+
isInstance = isInstance && "repositoryType" in value;
|
|
62
63
|
isInstance = isInstance && "entryPoint" in value;
|
|
63
64
|
|
|
64
65
|
return isInstance;
|
|
@@ -76,7 +77,7 @@ export function PipelineCodeFromJSONTyped(json: any, ignoreDiscriminator: boolea
|
|
|
76
77
|
|
|
77
78
|
'repositoryPath': json['repositoryPath'],
|
|
78
79
|
'version': json['version'],
|
|
79
|
-
'repositoryType':
|
|
80
|
+
'repositoryType': RepositoryTypeFromJSON(json['repositoryType']),
|
|
80
81
|
'entryPoint': json['entryPoint'],
|
|
81
82
|
};
|
|
82
83
|
}
|
package/src/models/Process.ts
CHANGED
|
@@ -37,19 +37,25 @@ export interface Process {
|
|
|
37
37
|
* @type {string}
|
|
38
38
|
* @memberof Process
|
|
39
39
|
*/
|
|
40
|
-
name
|
|
40
|
+
name: string;
|
|
41
41
|
/**
|
|
42
42
|
*
|
|
43
43
|
* @type {string}
|
|
44
44
|
* @memberof Process
|
|
45
45
|
*/
|
|
46
46
|
description?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Name of the data type this pipeline produces (if it is not defined, use the name)
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof Process
|
|
51
|
+
*/
|
|
52
|
+
dataType?: string | null;
|
|
47
53
|
/**
|
|
48
54
|
*
|
|
49
55
|
* @type {Executor}
|
|
50
56
|
* @memberof Process
|
|
51
57
|
*/
|
|
52
|
-
executor
|
|
58
|
+
executor: Executor;
|
|
53
59
|
/**
|
|
54
60
|
* Link to pipeline documentation
|
|
55
61
|
* @type {string}
|
|
@@ -63,7 +69,7 @@ export interface Process {
|
|
|
63
69
|
*/
|
|
64
70
|
fileRequirementsMessage?: string;
|
|
65
71
|
/**
|
|
66
|
-
* IDs of pipelines that can be
|
|
72
|
+
* IDs of pipelines that can be run downstream
|
|
67
73
|
* @type {Array<string>}
|
|
68
74
|
* @memberof Process
|
|
69
75
|
*/
|
|
@@ -86,6 +92,18 @@ export interface Process {
|
|
|
86
92
|
* @memberof Process
|
|
87
93
|
*/
|
|
88
94
|
linkedProjectIds?: Array<string>;
|
|
95
|
+
/**
|
|
96
|
+
* Whether the pipeline is allowed to have multiple dataset sources
|
|
97
|
+
* @type {boolean}
|
|
98
|
+
* @memberof Process
|
|
99
|
+
*/
|
|
100
|
+
allowMultipleSources?: boolean;
|
|
101
|
+
/**
|
|
102
|
+
* Whether the pipeline is marked as archived
|
|
103
|
+
* @type {boolean}
|
|
104
|
+
* @memberof Process
|
|
105
|
+
*/
|
|
106
|
+
isArchived?: boolean;
|
|
89
107
|
}
|
|
90
108
|
|
|
91
109
|
/**
|
|
@@ -94,6 +112,8 @@ export interface Process {
|
|
|
94
112
|
export function instanceOfProcess(value: object): boolean {
|
|
95
113
|
let isInstance = true;
|
|
96
114
|
isInstance = isInstance && "id" in value;
|
|
115
|
+
isInstance = isInstance && "name" in value;
|
|
116
|
+
isInstance = isInstance && "executor" in value;
|
|
97
117
|
|
|
98
118
|
return isInstance;
|
|
99
119
|
}
|
|
@@ -109,15 +129,18 @@ export function ProcessFromJSONTyped(json: any, ignoreDiscriminator: boolean): P
|
|
|
109
129
|
return {
|
|
110
130
|
|
|
111
131
|
'id': json['id'],
|
|
112
|
-
'name':
|
|
132
|
+
'name': json['name'],
|
|
113
133
|
'description': !exists(json, 'description') ? undefined : json['description'],
|
|
114
|
-
'
|
|
134
|
+
'dataType': !exists(json, 'dataType') ? undefined : json['dataType'],
|
|
135
|
+
'executor': ExecutorFromJSON(json['executor']),
|
|
115
136
|
'documentationUrl': !exists(json, 'documentationUrl') ? undefined : json['documentationUrl'],
|
|
116
137
|
'fileRequirementsMessage': !exists(json, 'fileRequirementsMessage') ? undefined : json['fileRequirementsMessage'],
|
|
117
138
|
'childProcessIds': !exists(json, 'childProcessIds') ? undefined : json['childProcessIds'],
|
|
118
139
|
'parentProcessIds': !exists(json, 'parentProcessIds') ? undefined : json['parentProcessIds'],
|
|
119
140
|
'owner': !exists(json, 'owner') ? undefined : json['owner'],
|
|
120
141
|
'linkedProjectIds': !exists(json, 'linkedProjectIds') ? undefined : json['linkedProjectIds'],
|
|
142
|
+
'allowMultipleSources': !exists(json, 'allowMultipleSources') ? undefined : json['allowMultipleSources'],
|
|
143
|
+
'isArchived': !exists(json, 'isArchived') ? undefined : json['isArchived'],
|
|
121
144
|
};
|
|
122
145
|
}
|
|
123
146
|
|
|
@@ -133,6 +156,7 @@ export function ProcessToJSON(value?: Process | null): any {
|
|
|
133
156
|
'id': value.id,
|
|
134
157
|
'name': value.name,
|
|
135
158
|
'description': value.description,
|
|
159
|
+
'dataType': value.dataType,
|
|
136
160
|
'executor': ExecutorToJSON(value.executor),
|
|
137
161
|
'documentationUrl': value.documentationUrl,
|
|
138
162
|
'fileRequirementsMessage': value.fileRequirementsMessage,
|
|
@@ -140,6 +164,8 @@ export function ProcessToJSON(value?: Process | null): any {
|
|
|
140
164
|
'parentProcessIds': value.parentProcessIds,
|
|
141
165
|
'owner': value.owner,
|
|
142
166
|
'linkedProjectIds': value.linkedProjectIds,
|
|
167
|
+
'allowMultipleSources': value.allowMultipleSources,
|
|
168
|
+
'isArchived': value.isArchived,
|
|
143
169
|
};
|
|
144
170
|
}
|
|
145
171
|
|
|
@@ -39,13 +39,13 @@ import {
|
|
|
39
39
|
*/
|
|
40
40
|
export interface ProcessDetail {
|
|
41
41
|
/**
|
|
42
|
-
*
|
|
42
|
+
* Unique ID of the Process
|
|
43
43
|
* @type {string}
|
|
44
44
|
* @memberof ProcessDetail
|
|
45
45
|
*/
|
|
46
46
|
id: string;
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
48
|
+
* Friendly name for the process
|
|
49
49
|
* @type {string}
|
|
50
50
|
* @memberof ProcessDetail
|
|
51
51
|
*/
|
|
@@ -56,6 +56,12 @@ export interface ProcessDetail {
|
|
|
56
56
|
* @memberof ProcessDetail
|
|
57
57
|
*/
|
|
58
58
|
description: string;
|
|
59
|
+
/**
|
|
60
|
+
* Name of the data type this pipeline produces (if it is not defined, use the name)
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof ProcessDetail
|
|
63
|
+
*/
|
|
64
|
+
dataType?: string | null;
|
|
59
65
|
/**
|
|
60
66
|
*
|
|
61
67
|
* @type {Executor}
|
|
@@ -63,53 +69,59 @@ export interface ProcessDetail {
|
|
|
63
69
|
*/
|
|
64
70
|
executor: Executor;
|
|
65
71
|
/**
|
|
66
|
-
*
|
|
67
|
-
* @type {string}
|
|
72
|
+
* IDs of pipelines that can be run downstream
|
|
73
|
+
* @type {Array<string>}
|
|
68
74
|
* @memberof ProcessDetail
|
|
69
75
|
*/
|
|
70
|
-
|
|
76
|
+
childProcessIds: Array<string>;
|
|
71
77
|
/**
|
|
72
|
-
*
|
|
78
|
+
* IDs of pipelines that can run this pipeline
|
|
79
|
+
* @type {Array<string>}
|
|
80
|
+
* @memberof ProcessDetail
|
|
81
|
+
*/
|
|
82
|
+
parentProcessIds: Array<string>;
|
|
83
|
+
/**
|
|
84
|
+
* Link to pipeline documentation
|
|
73
85
|
* @type {string}
|
|
74
86
|
* @memberof ProcessDetail
|
|
75
87
|
*/
|
|
76
|
-
|
|
88
|
+
documentationUrl?: string | null;
|
|
77
89
|
/**
|
|
78
|
-
*
|
|
79
|
-
* @type {
|
|
90
|
+
* Description of the files to be uploaded (optional)
|
|
91
|
+
* @type {string}
|
|
80
92
|
* @memberof ProcessDetail
|
|
81
93
|
*/
|
|
82
|
-
|
|
94
|
+
fileRequirementsMessage?: string | null;
|
|
83
95
|
/**
|
|
84
96
|
*
|
|
85
|
-
* @type {
|
|
97
|
+
* @type {PipelineCode}
|
|
86
98
|
* @memberof ProcessDetail
|
|
87
99
|
*/
|
|
88
|
-
|
|
100
|
+
pipelineCode?: PipelineCode | null;
|
|
89
101
|
/**
|
|
90
|
-
*
|
|
102
|
+
* Username of the pipeline creator (blank if Cirro curated)
|
|
91
103
|
* @type {string}
|
|
92
104
|
* @memberof ProcessDetail
|
|
93
105
|
*/
|
|
94
|
-
owner?: string;
|
|
106
|
+
owner?: string | null;
|
|
95
107
|
/**
|
|
96
|
-
*
|
|
108
|
+
* Projects that can run this pipeline
|
|
97
109
|
* @type {Array<string>}
|
|
98
110
|
* @memberof ProcessDetail
|
|
99
111
|
*/
|
|
100
112
|
linkedProjectIds: Array<string>;
|
|
101
113
|
/**
|
|
102
|
-
*
|
|
103
|
-
* @type {
|
|
114
|
+
* Whether the pipeline is allowed to have multiple dataset sources
|
|
115
|
+
* @type {boolean}
|
|
104
116
|
* @memberof ProcessDetail
|
|
105
117
|
*/
|
|
106
|
-
|
|
118
|
+
allowMultipleSources?: boolean;
|
|
107
119
|
/**
|
|
108
120
|
*
|
|
109
121
|
* @type {CustomPipelineSettings}
|
|
110
122
|
* @memberof ProcessDetail
|
|
111
123
|
*/
|
|
112
|
-
customSettings
|
|
124
|
+
customSettings?: CustomPipelineSettings | null;
|
|
113
125
|
/**
|
|
114
126
|
* Whether the process is marked for removal
|
|
115
127
|
* @type {boolean}
|
|
@@ -130,7 +142,6 @@ export function instanceOfProcessDetail(value: object): boolean {
|
|
|
130
142
|
isInstance = isInstance && "childProcessIds" in value;
|
|
131
143
|
isInstance = isInstance && "parentProcessIds" in value;
|
|
132
144
|
isInstance = isInstance && "linkedProjectIds" in value;
|
|
133
|
-
isInstance = isInstance && "customSettings" in value;
|
|
134
145
|
|
|
135
146
|
return isInstance;
|
|
136
147
|
}
|
|
@@ -148,15 +159,17 @@ export function ProcessDetailFromJSONTyped(json: any, ignoreDiscriminator: boole
|
|
|
148
159
|
'id': json['id'],
|
|
149
160
|
'name': json['name'],
|
|
150
161
|
'description': json['description'],
|
|
162
|
+
'dataType': !exists(json, 'dataType') ? undefined : json['dataType'],
|
|
151
163
|
'executor': ExecutorFromJSON(json['executor']),
|
|
152
|
-
'documentationUrl': !exists(json, 'documentationUrl') ? undefined : json['documentationUrl'],
|
|
153
|
-
'fileRequirementsMessage': !exists(json, 'fileRequirementsMessage') ? undefined : json['fileRequirementsMessage'],
|
|
154
164
|
'childProcessIds': json['childProcessIds'],
|
|
155
165
|
'parentProcessIds': json['parentProcessIds'],
|
|
166
|
+
'documentationUrl': !exists(json, 'documentationUrl') ? undefined : json['documentationUrl'],
|
|
167
|
+
'fileRequirementsMessage': !exists(json, 'fileRequirementsMessage') ? undefined : json['fileRequirementsMessage'],
|
|
168
|
+
'pipelineCode': !exists(json, 'pipelineCode') ? undefined : PipelineCodeFromJSON(json['pipelineCode']),
|
|
156
169
|
'owner': !exists(json, 'owner') ? undefined : json['owner'],
|
|
157
170
|
'linkedProjectIds': json['linkedProjectIds'],
|
|
158
|
-
'
|
|
159
|
-
'customSettings': CustomPipelineSettingsFromJSON(json['customSettings']),
|
|
171
|
+
'allowMultipleSources': !exists(json, 'allowMultipleSources') ? undefined : json['allowMultipleSources'],
|
|
172
|
+
'customSettings': !exists(json, 'customSettings') ? undefined : CustomPipelineSettingsFromJSON(json['customSettings']),
|
|
160
173
|
'isArchived': !exists(json, 'isArchived') ? undefined : json['isArchived'],
|
|
161
174
|
};
|
|
162
175
|
}
|
|
@@ -173,14 +186,16 @@ export function ProcessDetailToJSON(value?: ProcessDetail | null): any {
|
|
|
173
186
|
'id': value.id,
|
|
174
187
|
'name': value.name,
|
|
175
188
|
'description': value.description,
|
|
189
|
+
'dataType': value.dataType,
|
|
176
190
|
'executor': ExecutorToJSON(value.executor),
|
|
177
|
-
'documentationUrl': value.documentationUrl,
|
|
178
|
-
'fileRequirementsMessage': value.fileRequirementsMessage,
|
|
179
191
|
'childProcessIds': value.childProcessIds,
|
|
180
192
|
'parentProcessIds': value.parentProcessIds,
|
|
193
|
+
'documentationUrl': value.documentationUrl,
|
|
194
|
+
'fileRequirementsMessage': value.fileRequirementsMessage,
|
|
195
|
+
'pipelineCode': PipelineCodeToJSON(value.pipelineCode),
|
|
181
196
|
'owner': value.owner,
|
|
182
197
|
'linkedProjectIds': value.linkedProjectIds,
|
|
183
|
-
'
|
|
198
|
+
'allowMultipleSources': value.allowMultipleSources,
|
|
184
199
|
'customSettings': CustomPipelineSettingsToJSON(value.customSettings),
|
|
185
200
|
'isArchived': value.isArchived,
|
|
186
201
|
};
|
|
@@ -37,7 +37,7 @@ export interface ProjectSettings {
|
|
|
37
37
|
* @type {BudgetPeriod}
|
|
38
38
|
* @memberof ProjectSettings
|
|
39
39
|
*/
|
|
40
|
-
budgetPeriod
|
|
40
|
+
budgetPeriod: BudgetPeriod;
|
|
41
41
|
/**
|
|
42
42
|
* AMI ID for the DRAGEN compute environment (if enabled)
|
|
43
43
|
* @type {string}
|
|
@@ -123,6 +123,7 @@ export interface ProjectSettings {
|
|
|
123
123
|
*/
|
|
124
124
|
export function instanceOfProjectSettings(value: object): boolean {
|
|
125
125
|
let isInstance = true;
|
|
126
|
+
isInstance = isInstance && "budgetPeriod" in value;
|
|
126
127
|
isInstance = isInstance && "serviceConnections" in value;
|
|
127
128
|
|
|
128
129
|
return isInstance;
|
|
@@ -139,7 +140,7 @@ export function ProjectSettingsFromJSONTyped(json: any, ignoreDiscriminator: boo
|
|
|
139
140
|
return {
|
|
140
141
|
|
|
141
142
|
'budgetAmount': !exists(json, 'budgetAmount') ? undefined : json['budgetAmount'],
|
|
142
|
-
'budgetPeriod':
|
|
143
|
+
'budgetPeriod': BudgetPeriodFromJSON(json['budgetPeriod']),
|
|
143
144
|
'dragenAmi': !exists(json, 'dragenAmi') ? undefined : json['dragenAmi'],
|
|
144
145
|
'enableCompute': !exists(json, 'enableCompute') ? undefined : json['enableCompute'],
|
|
145
146
|
'enableDragen': !exists(json, 'enableDragen') ? undefined : json['enableDragen'],
|
|
@@ -20,43 +20,43 @@ import { exists, mapValues } from '../runtime';
|
|
|
20
20
|
*/
|
|
21
21
|
export interface RunAnalysisRequest {
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* Name of the dataset
|
|
24
24
|
* @type {string}
|
|
25
25
|
* @memberof RunAnalysisRequest
|
|
26
26
|
*/
|
|
27
27
|
name: string;
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
* Description of the dataset (optional)
|
|
30
30
|
* @type {string}
|
|
31
31
|
* @memberof RunAnalysisRequest
|
|
32
32
|
*/
|
|
33
|
-
description
|
|
33
|
+
description?: string | null;
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
* Process ID of the workflow
|
|
36
36
|
* @type {string}
|
|
37
37
|
* @memberof RunAnalysisRequest
|
|
38
38
|
*/
|
|
39
39
|
processId: string;
|
|
40
40
|
/**
|
|
41
|
-
*
|
|
41
|
+
* These datasets contain files that are inputs to this workflow.
|
|
42
42
|
* @type {Array<string>}
|
|
43
43
|
* @memberof RunAnalysisRequest
|
|
44
44
|
*/
|
|
45
45
|
sourceDatasetIds: Array<string>;
|
|
46
46
|
/**
|
|
47
|
-
*
|
|
47
|
+
* 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
|
|
48
48
|
* @type {string}
|
|
49
49
|
* @memberof RunAnalysisRequest
|
|
50
50
|
*/
|
|
51
|
-
resumeDatasetId
|
|
51
|
+
resumeDatasetId?: string | null;
|
|
52
52
|
/**
|
|
53
|
-
*
|
|
53
|
+
* Parameters used in workflow (can be empty)
|
|
54
54
|
* @type {{ [key: string]: any; }}
|
|
55
55
|
* @memberof RunAnalysisRequest
|
|
56
56
|
*/
|
|
57
57
|
params: { [key: string]: any; };
|
|
58
58
|
/**
|
|
59
|
-
*
|
|
59
|
+
* Emails to notify upon workflow success or failure
|
|
60
60
|
* @type {Array<string>}
|
|
61
61
|
* @memberof RunAnalysisRequest
|
|
62
62
|
*/
|
|
@@ -69,10 +69,8 @@ export interface RunAnalysisRequest {
|
|
|
69
69
|
export function instanceOfRunAnalysisRequest(value: object): boolean {
|
|
70
70
|
let isInstance = true;
|
|
71
71
|
isInstance = isInstance && "name" in value;
|
|
72
|
-
isInstance = isInstance && "description" in value;
|
|
73
72
|
isInstance = isInstance && "processId" in value;
|
|
74
73
|
isInstance = isInstance && "sourceDatasetIds" in value;
|
|
75
|
-
isInstance = isInstance && "resumeDatasetId" in value;
|
|
76
74
|
isInstance = isInstance && "params" in value;
|
|
77
75
|
isInstance = isInstance && "notificationEmails" in value;
|
|
78
76
|
|
|
@@ -90,10 +88,10 @@ export function RunAnalysisRequestFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
90
88
|
return {
|
|
91
89
|
|
|
92
90
|
'name': json['name'],
|
|
93
|
-
'description': json['description'],
|
|
91
|
+
'description': !exists(json, 'description') ? undefined : json['description'],
|
|
94
92
|
'processId': json['processId'],
|
|
95
93
|
'sourceDatasetIds': json['sourceDatasetIds'],
|
|
96
|
-
'resumeDatasetId': json['resumeDatasetId'],
|
|
94
|
+
'resumeDatasetId': !exists(json, 'resumeDatasetId') ? undefined : json['resumeDatasetId'],
|
|
97
95
|
'params': json['params'],
|
|
98
96
|
'notificationEmails': json['notificationEmails'],
|
|
99
97
|
};
|
|
@@ -19,6 +19,12 @@ import {
|
|
|
19
19
|
ResourcesInfoFromJSONTyped,
|
|
20
20
|
ResourcesInfoToJSON,
|
|
21
21
|
} from './ResourcesInfo';
|
|
22
|
+
import type { TenantInfo } from './TenantInfo';
|
|
23
|
+
import {
|
|
24
|
+
TenantInfoFromJSON,
|
|
25
|
+
TenantInfoFromJSONTyped,
|
|
26
|
+
TenantInfoToJSON,
|
|
27
|
+
} from './TenantInfo';
|
|
22
28
|
|
|
23
29
|
/**
|
|
24
30
|
*
|
|
@@ -43,7 +49,7 @@ export interface SystemInfoResponse {
|
|
|
43
49
|
* @type {string}
|
|
44
50
|
* @memberof SystemInfoResponse
|
|
45
51
|
*/
|
|
46
|
-
|
|
52
|
+
referencesBucket: string;
|
|
47
53
|
/**
|
|
48
54
|
*
|
|
49
55
|
* @type {string}
|
|
@@ -74,6 +80,12 @@ export interface SystemInfoResponse {
|
|
|
74
80
|
* @memberof SystemInfoResponse
|
|
75
81
|
*/
|
|
76
82
|
resourcesInfo: ResourcesInfo;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @type {TenantInfo}
|
|
86
|
+
* @memberof SystemInfoResponse
|
|
87
|
+
*/
|
|
88
|
+
tenantInfo: TenantInfo;
|
|
77
89
|
}
|
|
78
90
|
|
|
79
91
|
/**
|
|
@@ -83,12 +95,13 @@ export function instanceOfSystemInfoResponse(value: object): boolean {
|
|
|
83
95
|
let isInstance = true;
|
|
84
96
|
isInstance = isInstance && "sdkAppId" in value;
|
|
85
97
|
isInstance = isInstance && "resourcesBucket" in value;
|
|
86
|
-
isInstance = isInstance && "
|
|
98
|
+
isInstance = isInstance && "referencesBucket" in value;
|
|
87
99
|
isInstance = isInstance && "region" in value;
|
|
88
100
|
isInstance = isInstance && "systemMessage" in value;
|
|
89
101
|
isInstance = isInstance && "commitHash" in value;
|
|
90
102
|
isInstance = isInstance && "version" in value;
|
|
91
103
|
isInstance = isInstance && "resourcesInfo" in value;
|
|
104
|
+
isInstance = isInstance && "tenantInfo" in value;
|
|
92
105
|
|
|
93
106
|
return isInstance;
|
|
94
107
|
}
|
|
@@ -105,12 +118,13 @@ export function SystemInfoResponseFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
105
118
|
|
|
106
119
|
'sdkAppId': json['sdkAppId'],
|
|
107
120
|
'resourcesBucket': json['resourcesBucket'],
|
|
108
|
-
'
|
|
121
|
+
'referencesBucket': json['referencesBucket'],
|
|
109
122
|
'region': json['region'],
|
|
110
123
|
'systemMessage': json['systemMessage'],
|
|
111
124
|
'commitHash': json['commitHash'],
|
|
112
125
|
'version': json['version'],
|
|
113
126
|
'resourcesInfo': ResourcesInfoFromJSON(json['resourcesInfo']),
|
|
127
|
+
'tenantInfo': TenantInfoFromJSON(json['tenantInfo']),
|
|
114
128
|
};
|
|
115
129
|
}
|
|
116
130
|
|
|
@@ -125,12 +139,13 @@ export function SystemInfoResponseToJSON(value?: SystemInfoResponse | null): any
|
|
|
125
139
|
|
|
126
140
|
'sdkAppId': value.sdkAppId,
|
|
127
141
|
'resourcesBucket': value.resourcesBucket,
|
|
128
|
-
'
|
|
142
|
+
'referencesBucket': value.referencesBucket,
|
|
129
143
|
'region': value.region,
|
|
130
144
|
'systemMessage': value.systemMessage,
|
|
131
145
|
'commitHash': value.commitHash,
|
|
132
146
|
'version': value.version,
|
|
133
147
|
'resourcesInfo': ResourcesInfoToJSON(value.resourcesInfo),
|
|
148
|
+
'tenantInfo': TenantInfoToJSON(value.tenantInfo),
|
|
134
149
|
};
|
|
135
150
|
}
|
|
136
151
|
|