@cirrobio/api-client 0.0.38-alpha → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/models/CloudAccount.d.ts +1 -1
- package/dist/models/FileAccessRequest.d.ts +2 -2
- package/dist/models/FileAccessRequest.js +3 -4
- package/dist/models/ImportDataRequest.d.ts +3 -3
- package/dist/models/ImportDataRequest.js +2 -2
- package/dist/models/PipelineCode.d.ts +1 -1
- package/dist/models/PipelineCode.js +2 -2
- package/dist/models/Process.d.ts +15 -3
- package/dist/models/Process.js +8 -2
- package/dist/models/ProcessDetail.d.ts +26 -20
- package/dist/models/ProcessDetail.js +9 -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/UploadDatasetRequest.d.ts +4 -4
- package/dist/models/UploadDatasetRequest.js +2 -2
- package/package.json +1 -1
- package/src/models/CloudAccount.ts +1 -1
- package/src/models/FileAccessRequest.ts +4 -6
- package/src/models/ImportDataRequest.ts +4 -5
- package/src/models/PipelineCode.ts +3 -2
- package/src/models/Process.ts +23 -5
- package/src/models/ProcessDetail.ts +35 -28
- package/src/models/ProjectSettings.ts +3 -2
- package/src/models/RunAnalysisRequest.ts +11 -13
- package/src/models/UploadDatasetRequest.ts +5 -6
package/README.md
CHANGED
|
@@ -27,13 +27,13 @@ export interface FileAccessRequest {
|
|
|
27
27
|
* @type {string}
|
|
28
28
|
* @memberof FileAccessRequest
|
|
29
29
|
*/
|
|
30
|
-
datasetId
|
|
30
|
+
datasetId?: string | null;
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
33
33
|
* @type {number}
|
|
34
34
|
* @memberof FileAccessRequest
|
|
35
35
|
*/
|
|
36
|
-
tokenLifetimeHours
|
|
36
|
+
tokenLifetimeHours?: number | null;
|
|
37
37
|
}
|
|
38
38
|
/**
|
|
39
39
|
* Check if a given object implements the FileAccessRequest interface.
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.FileAccessRequestToJSON = exports.FileAccessRequestFromJSONTyped = exports.FileAccessRequestFromJSON = exports.instanceOfFileAccessRequest = void 0;
|
|
17
|
+
var runtime_1 = require("../runtime");
|
|
17
18
|
var AccessType_1 = require("./AccessType");
|
|
18
19
|
/**
|
|
19
20
|
* Check if a given object implements the FileAccessRequest interface.
|
|
@@ -21,8 +22,6 @@ var AccessType_1 = require("./AccessType");
|
|
|
21
22
|
function instanceOfFileAccessRequest(value) {
|
|
22
23
|
var isInstance = true;
|
|
23
24
|
isInstance = isInstance && "accessType" in value;
|
|
24
|
-
isInstance = isInstance && "datasetId" in value;
|
|
25
|
-
isInstance = isInstance && "tokenLifetimeHours" in value;
|
|
26
25
|
return isInstance;
|
|
27
26
|
}
|
|
28
27
|
exports.instanceOfFileAccessRequest = instanceOfFileAccessRequest;
|
|
@@ -36,8 +35,8 @@ function FileAccessRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
35
|
}
|
|
37
36
|
return {
|
|
38
37
|
'accessType': (0, AccessType_1.AccessTypeFromJSON)(json['accessType']),
|
|
39
|
-
'datasetId': json['datasetId'],
|
|
40
|
-
'tokenLifetimeHours': json['tokenLifetimeHours'],
|
|
38
|
+
'datasetId': !(0, runtime_1.exists)(json, 'datasetId') ? undefined : json['datasetId'],
|
|
39
|
+
'tokenLifetimeHours': !(0, runtime_1.exists)(json, 'tokenLifetimeHours') ? undefined : json['tokenLifetimeHours'],
|
|
41
40
|
};
|
|
42
41
|
}
|
|
43
42
|
exports.FileAccessRequestFromJSONTyped = FileAccessRequestFromJSONTyped;
|
|
@@ -16,17 +16,17 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface ImportDataRequest {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Name of the dataset
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof ImportDataRequest
|
|
22
22
|
*/
|
|
23
23
|
name: string;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Description of the dataset
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof ImportDataRequest
|
|
28
28
|
*/
|
|
29
|
-
description
|
|
29
|
+
description?: string;
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
32
|
* @type {Array<string>}
|
|
@@ -14,13 +14,13 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.ImportDataRequestToJSON = exports.ImportDataRequestFromJSONTyped = exports.ImportDataRequestFromJSON = exports.instanceOfImportDataRequest = void 0;
|
|
17
|
+
var runtime_1 = require("../runtime");
|
|
17
18
|
/**
|
|
18
19
|
* Check if a given object implements the ImportDataRequest interface.
|
|
19
20
|
*/
|
|
20
21
|
function instanceOfImportDataRequest(value) {
|
|
21
22
|
var isInstance = true;
|
|
22
23
|
isInstance = isInstance && "name" in value;
|
|
23
|
-
isInstance = isInstance && "description" in value;
|
|
24
24
|
isInstance = isInstance && "publicIds" in value;
|
|
25
25
|
return isInstance;
|
|
26
26
|
}
|
|
@@ -35,7 +35,7 @@ function ImportDataRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
35
|
}
|
|
36
36
|
return {
|
|
37
37
|
'name': json['name'],
|
|
38
|
-
'description': json['description'],
|
|
38
|
+
'description': !(0, runtime_1.exists)(json, 'description') ? undefined : json['description'],
|
|
39
39
|
'publicIds': json['publicIds'],
|
|
40
40
|
};
|
|
41
41
|
}
|
|
@@ -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,12 @@ export interface Process {
|
|
|
76
82
|
* @memberof Process
|
|
77
83
|
*/
|
|
78
84
|
linkedProjectIds?: Array<string>;
|
|
85
|
+
/**
|
|
86
|
+
* Whether the pipeline is marked as archived
|
|
87
|
+
* @type {boolean}
|
|
88
|
+
* @memberof Process
|
|
89
|
+
*/
|
|
90
|
+
isArchived?: boolean;
|
|
79
91
|
}
|
|
80
92
|
/**
|
|
81
93
|
* 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,17 @@ 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
|
+
'isArchived': !(0, runtime_1.exists)(json, 'isArchived') ? undefined : json['isArchived'],
|
|
47
51
|
};
|
|
48
52
|
}
|
|
49
53
|
exports.ProcessFromJSONTyped = ProcessFromJSONTyped;
|
|
@@ -58,6 +62,7 @@ function ProcessToJSON(value) {
|
|
|
58
62
|
'id': value.id,
|
|
59
63
|
'name': value.name,
|
|
60
64
|
'description': value.description,
|
|
65
|
+
'dataType': value.dataType,
|
|
61
66
|
'executor': (0, Executor_1.ExecutorToJSON)(value.executor),
|
|
62
67
|
'documentationUrl': value.documentationUrl,
|
|
63
68
|
'fileRequirementsMessage': value.fileRequirementsMessage,
|
|
@@ -65,6 +70,7 @@ function ProcessToJSON(value) {
|
|
|
65
70
|
'parentProcessIds': value.parentProcessIds,
|
|
66
71
|
'owner': value.owner,
|
|
67
72
|
'linkedProjectIds': value.linkedProjectIds,
|
|
73
|
+
'isArchived': value.isArchived,
|
|
68
74
|
};
|
|
69
75
|
}
|
|
70
76
|
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
|
*/
|
|
@@ -37,59 +37,65 @@ export interface ProcessDetail {
|
|
|
37
37
|
*/
|
|
38
38
|
description: string;
|
|
39
39
|
/**
|
|
40
|
-
*
|
|
41
|
-
* @type {Executor}
|
|
42
|
-
* @memberof ProcessDetail
|
|
43
|
-
*/
|
|
44
|
-
executor: Executor;
|
|
45
|
-
/**
|
|
46
|
-
*
|
|
40
|
+
* Name of the data type this pipeline produces (if it is not defined, use the name)
|
|
47
41
|
* @type {string}
|
|
48
42
|
* @memberof ProcessDetail
|
|
49
43
|
*/
|
|
50
|
-
|
|
44
|
+
dataType?: string | null;
|
|
51
45
|
/**
|
|
52
46
|
*
|
|
53
|
-
* @type {
|
|
47
|
+
* @type {Executor}
|
|
54
48
|
* @memberof ProcessDetail
|
|
55
49
|
*/
|
|
56
|
-
|
|
50
|
+
executor: Executor;
|
|
57
51
|
/**
|
|
58
|
-
*
|
|
52
|
+
* IDs of pipelines that can be run downstream
|
|
59
53
|
* @type {Array<string>}
|
|
60
54
|
* @memberof ProcessDetail
|
|
61
55
|
*/
|
|
62
56
|
childProcessIds: Array<string>;
|
|
63
57
|
/**
|
|
64
|
-
*
|
|
58
|
+
* IDs of pipelines that can run this pipeline
|
|
65
59
|
* @type {Array<string>}
|
|
66
60
|
* @memberof ProcessDetail
|
|
67
61
|
*/
|
|
68
62
|
parentProcessIds: Array<string>;
|
|
69
63
|
/**
|
|
70
|
-
*
|
|
64
|
+
* Link to pipeline documentation
|
|
71
65
|
* @type {string}
|
|
72
66
|
* @memberof ProcessDetail
|
|
73
67
|
*/
|
|
74
|
-
|
|
68
|
+
documentationUrl?: string | null;
|
|
75
69
|
/**
|
|
76
|
-
*
|
|
77
|
-
* @type {
|
|
70
|
+
* Description of the files to be uploaded (optional)
|
|
71
|
+
* @type {string}
|
|
78
72
|
* @memberof ProcessDetail
|
|
79
73
|
*/
|
|
80
|
-
|
|
74
|
+
fileRequirementsMessage?: string | null;
|
|
81
75
|
/**
|
|
82
76
|
*
|
|
83
77
|
* @type {PipelineCode}
|
|
84
78
|
* @memberof ProcessDetail
|
|
85
79
|
*/
|
|
86
80
|
pipelineCode?: PipelineCode | null;
|
|
81
|
+
/**
|
|
82
|
+
* Username of the pipeline creator (blank if Cirro curated)
|
|
83
|
+
* @type {string}
|
|
84
|
+
* @memberof ProcessDetail
|
|
85
|
+
*/
|
|
86
|
+
owner?: string | null;
|
|
87
|
+
/**
|
|
88
|
+
* Projects that can run this pipeline
|
|
89
|
+
* @type {Array<string>}
|
|
90
|
+
* @memberof ProcessDetail
|
|
91
|
+
*/
|
|
92
|
+
linkedProjectIds: Array<string>;
|
|
87
93
|
/**
|
|
88
94
|
*
|
|
89
95
|
* @type {CustomPipelineSettings}
|
|
90
96
|
* @memberof ProcessDetail
|
|
91
97
|
*/
|
|
92
|
-
customSettings
|
|
98
|
+
customSettings?: CustomPipelineSettings | null;
|
|
93
99
|
/**
|
|
94
100
|
* Whether the process is marked for removal
|
|
95
101
|
* @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,16 @@ 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
|
+
'customSettings': !(0, runtime_1.exists)(json, 'customSettings') ? undefined : (0, CustomPipelineSettings_1.CustomPipelineSettingsFromJSON)(json['customSettings']),
|
|
58
58
|
'isArchived': !(0, runtime_1.exists)(json, 'isArchived') ? undefined : json['isArchived'],
|
|
59
59
|
};
|
|
60
60
|
}
|
|
@@ -70,14 +70,15 @@ function ProcessDetailToJSON(value) {
|
|
|
70
70
|
'id': value.id,
|
|
71
71
|
'name': value.name,
|
|
72
72
|
'description': value.description,
|
|
73
|
+
'dataType': value.dataType,
|
|
73
74
|
'executor': (0, Executor_1.ExecutorToJSON)(value.executor),
|
|
74
|
-
'documentationUrl': value.documentationUrl,
|
|
75
|
-
'fileRequirementsMessage': value.fileRequirementsMessage,
|
|
76
75
|
'childProcessIds': value.childProcessIds,
|
|
77
76
|
'parentProcessIds': value.parentProcessIds,
|
|
77
|
+
'documentationUrl': value.documentationUrl,
|
|
78
|
+
'fileRequirementsMessage': value.fileRequirementsMessage,
|
|
79
|
+
'pipelineCode': (0, PipelineCode_1.PipelineCodeToJSON)(value.pipelineCode),
|
|
78
80
|
'owner': value.owner,
|
|
79
81
|
'linkedProjectIds': value.linkedProjectIds,
|
|
80
|
-
'pipelineCode': (0, PipelineCode_1.PipelineCodeToJSON)(value.pipelineCode),
|
|
81
82
|
'customSettings': (0, CustomPipelineSettings_1.CustomPipelineSettingsToJSON)(value.customSettings),
|
|
82
83
|
'isArchived': value.isArchived,
|
|
83
84
|
};
|
|
@@ -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
|
};
|
|
@@ -16,19 +16,19 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface UploadDatasetRequest {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Name of the dataset
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof UploadDatasetRequest
|
|
22
22
|
*/
|
|
23
23
|
name: string;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Description of the dataset
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof UploadDatasetRequest
|
|
28
28
|
*/
|
|
29
|
-
description
|
|
29
|
+
description?: string;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* ID of the ingest process
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof UploadDatasetRequest
|
|
34
34
|
*/
|
|
@@ -14,13 +14,13 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.UploadDatasetRequestToJSON = exports.UploadDatasetRequestFromJSONTyped = exports.UploadDatasetRequestFromJSON = exports.instanceOfUploadDatasetRequest = void 0;
|
|
17
|
+
var runtime_1 = require("../runtime");
|
|
17
18
|
/**
|
|
18
19
|
* Check if a given object implements the UploadDatasetRequest interface.
|
|
19
20
|
*/
|
|
20
21
|
function instanceOfUploadDatasetRequest(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 && "expectedFiles" in value;
|
|
26
26
|
return isInstance;
|
|
@@ -36,7 +36,7 @@ function UploadDatasetRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
36
|
}
|
|
37
37
|
return {
|
|
38
38
|
'name': json['name'],
|
|
39
|
-
'description': json['description'],
|
|
39
|
+
'description': !(0, runtime_1.exists)(json, 'description') ? undefined : json['description'],
|
|
40
40
|
'processId': json['processId'],
|
|
41
41
|
'expectedFiles': json['expectedFiles'],
|
|
42
42
|
};
|
package/package.json
CHANGED
|
@@ -37,13 +37,13 @@ export interface FileAccessRequest {
|
|
|
37
37
|
* @type {string}
|
|
38
38
|
* @memberof FileAccessRequest
|
|
39
39
|
*/
|
|
40
|
-
datasetId
|
|
40
|
+
datasetId?: string | null;
|
|
41
41
|
/**
|
|
42
42
|
*
|
|
43
43
|
* @type {number}
|
|
44
44
|
* @memberof FileAccessRequest
|
|
45
45
|
*/
|
|
46
|
-
tokenLifetimeHours
|
|
46
|
+
tokenLifetimeHours?: number | null;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
/**
|
|
@@ -52,8 +52,6 @@ export interface FileAccessRequest {
|
|
|
52
52
|
export function instanceOfFileAccessRequest(value: object): boolean {
|
|
53
53
|
let isInstance = true;
|
|
54
54
|
isInstance = isInstance && "accessType" in value;
|
|
55
|
-
isInstance = isInstance && "datasetId" in value;
|
|
56
|
-
isInstance = isInstance && "tokenLifetimeHours" in value;
|
|
57
55
|
|
|
58
56
|
return isInstance;
|
|
59
57
|
}
|
|
@@ -69,8 +67,8 @@ export function FileAccessRequestFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
69
67
|
return {
|
|
70
68
|
|
|
71
69
|
'accessType': AccessTypeFromJSON(json['accessType']),
|
|
72
|
-
'datasetId': json['datasetId'],
|
|
73
|
-
'tokenLifetimeHours': json['tokenLifetimeHours'],
|
|
70
|
+
'datasetId': !exists(json, 'datasetId') ? undefined : json['datasetId'],
|
|
71
|
+
'tokenLifetimeHours': !exists(json, 'tokenLifetimeHours') ? undefined : json['tokenLifetimeHours'],
|
|
74
72
|
};
|
|
75
73
|
}
|
|
76
74
|
|
|
@@ -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
|
}
|
|
@@ -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,12 @@ export interface Process {
|
|
|
86
92
|
* @memberof Process
|
|
87
93
|
*/
|
|
88
94
|
linkedProjectIds?: Array<string>;
|
|
95
|
+
/**
|
|
96
|
+
* Whether the pipeline is marked as archived
|
|
97
|
+
* @type {boolean}
|
|
98
|
+
* @memberof Process
|
|
99
|
+
*/
|
|
100
|
+
isArchived?: boolean;
|
|
89
101
|
}
|
|
90
102
|
|
|
91
103
|
/**
|
|
@@ -94,6 +106,8 @@ export interface Process {
|
|
|
94
106
|
export function instanceOfProcess(value: object): boolean {
|
|
95
107
|
let isInstance = true;
|
|
96
108
|
isInstance = isInstance && "id" in value;
|
|
109
|
+
isInstance = isInstance && "name" in value;
|
|
110
|
+
isInstance = isInstance && "executor" in value;
|
|
97
111
|
|
|
98
112
|
return isInstance;
|
|
99
113
|
}
|
|
@@ -109,15 +123,17 @@ export function ProcessFromJSONTyped(json: any, ignoreDiscriminator: boolean): P
|
|
|
109
123
|
return {
|
|
110
124
|
|
|
111
125
|
'id': json['id'],
|
|
112
|
-
'name':
|
|
126
|
+
'name': json['name'],
|
|
113
127
|
'description': !exists(json, 'description') ? undefined : json['description'],
|
|
114
|
-
'
|
|
128
|
+
'dataType': !exists(json, 'dataType') ? undefined : json['dataType'],
|
|
129
|
+
'executor': ExecutorFromJSON(json['executor']),
|
|
115
130
|
'documentationUrl': !exists(json, 'documentationUrl') ? undefined : json['documentationUrl'],
|
|
116
131
|
'fileRequirementsMessage': !exists(json, 'fileRequirementsMessage') ? undefined : json['fileRequirementsMessage'],
|
|
117
132
|
'childProcessIds': !exists(json, 'childProcessIds') ? undefined : json['childProcessIds'],
|
|
118
133
|
'parentProcessIds': !exists(json, 'parentProcessIds') ? undefined : json['parentProcessIds'],
|
|
119
134
|
'owner': !exists(json, 'owner') ? undefined : json['owner'],
|
|
120
135
|
'linkedProjectIds': !exists(json, 'linkedProjectIds') ? undefined : json['linkedProjectIds'],
|
|
136
|
+
'isArchived': !exists(json, 'isArchived') ? undefined : json['isArchived'],
|
|
121
137
|
};
|
|
122
138
|
}
|
|
123
139
|
|
|
@@ -133,6 +149,7 @@ export function ProcessToJSON(value?: Process | null): any {
|
|
|
133
149
|
'id': value.id,
|
|
134
150
|
'name': value.name,
|
|
135
151
|
'description': value.description,
|
|
152
|
+
'dataType': value.dataType,
|
|
136
153
|
'executor': ExecutorToJSON(value.executor),
|
|
137
154
|
'documentationUrl': value.documentationUrl,
|
|
138
155
|
'fileRequirementsMessage': value.fileRequirementsMessage,
|
|
@@ -140,6 +157,7 @@ export function ProcessToJSON(value?: Process | null): any {
|
|
|
140
157
|
'parentProcessIds': value.parentProcessIds,
|
|
141
158
|
'owner': value.owner,
|
|
142
159
|
'linkedProjectIds': value.linkedProjectIds,
|
|
160
|
+
'isArchived': value.isArchived,
|
|
143
161
|
};
|
|
144
162
|
}
|
|
145
163
|
|
|
@@ -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
|
*/
|
|
@@ -57,59 +57,65 @@ export interface ProcessDetail {
|
|
|
57
57
|
*/
|
|
58
58
|
description: string;
|
|
59
59
|
/**
|
|
60
|
-
*
|
|
61
|
-
* @type {Executor}
|
|
62
|
-
* @memberof ProcessDetail
|
|
63
|
-
*/
|
|
64
|
-
executor: Executor;
|
|
65
|
-
/**
|
|
66
|
-
*
|
|
60
|
+
* Name of the data type this pipeline produces (if it is not defined, use the name)
|
|
67
61
|
* @type {string}
|
|
68
62
|
* @memberof ProcessDetail
|
|
69
63
|
*/
|
|
70
|
-
|
|
64
|
+
dataType?: string | null;
|
|
71
65
|
/**
|
|
72
66
|
*
|
|
73
|
-
* @type {
|
|
67
|
+
* @type {Executor}
|
|
74
68
|
* @memberof ProcessDetail
|
|
75
69
|
*/
|
|
76
|
-
|
|
70
|
+
executor: Executor;
|
|
77
71
|
/**
|
|
78
|
-
*
|
|
72
|
+
* IDs of pipelines that can be run downstream
|
|
79
73
|
* @type {Array<string>}
|
|
80
74
|
* @memberof ProcessDetail
|
|
81
75
|
*/
|
|
82
76
|
childProcessIds: Array<string>;
|
|
83
77
|
/**
|
|
84
|
-
*
|
|
78
|
+
* IDs of pipelines that can run this pipeline
|
|
85
79
|
* @type {Array<string>}
|
|
86
80
|
* @memberof ProcessDetail
|
|
87
81
|
*/
|
|
88
82
|
parentProcessIds: Array<string>;
|
|
89
83
|
/**
|
|
90
|
-
*
|
|
84
|
+
* Link to pipeline documentation
|
|
91
85
|
* @type {string}
|
|
92
86
|
* @memberof ProcessDetail
|
|
93
87
|
*/
|
|
94
|
-
|
|
88
|
+
documentationUrl?: string | null;
|
|
95
89
|
/**
|
|
96
|
-
*
|
|
97
|
-
* @type {
|
|
90
|
+
* Description of the files to be uploaded (optional)
|
|
91
|
+
* @type {string}
|
|
98
92
|
* @memberof ProcessDetail
|
|
99
93
|
*/
|
|
100
|
-
|
|
94
|
+
fileRequirementsMessage?: string | null;
|
|
101
95
|
/**
|
|
102
96
|
*
|
|
103
97
|
* @type {PipelineCode}
|
|
104
98
|
* @memberof ProcessDetail
|
|
105
99
|
*/
|
|
106
100
|
pipelineCode?: PipelineCode | null;
|
|
101
|
+
/**
|
|
102
|
+
* Username of the pipeline creator (blank if Cirro curated)
|
|
103
|
+
* @type {string}
|
|
104
|
+
* @memberof ProcessDetail
|
|
105
|
+
*/
|
|
106
|
+
owner?: string | null;
|
|
107
|
+
/**
|
|
108
|
+
* Projects that can run this pipeline
|
|
109
|
+
* @type {Array<string>}
|
|
110
|
+
* @memberof ProcessDetail
|
|
111
|
+
*/
|
|
112
|
+
linkedProjectIds: Array<string>;
|
|
107
113
|
/**
|
|
108
114
|
*
|
|
109
115
|
* @type {CustomPipelineSettings}
|
|
110
116
|
* @memberof ProcessDetail
|
|
111
117
|
*/
|
|
112
|
-
customSettings
|
|
118
|
+
customSettings?: CustomPipelineSettings | null;
|
|
113
119
|
/**
|
|
114
120
|
* Whether the process is marked for removal
|
|
115
121
|
* @type {boolean}
|
|
@@ -130,7 +136,6 @@ export function instanceOfProcessDetail(value: object): boolean {
|
|
|
130
136
|
isInstance = isInstance && "childProcessIds" in value;
|
|
131
137
|
isInstance = isInstance && "parentProcessIds" in value;
|
|
132
138
|
isInstance = isInstance && "linkedProjectIds" in value;
|
|
133
|
-
isInstance = isInstance && "customSettings" in value;
|
|
134
139
|
|
|
135
140
|
return isInstance;
|
|
136
141
|
}
|
|
@@ -148,15 +153,16 @@ export function ProcessDetailFromJSONTyped(json: any, ignoreDiscriminator: boole
|
|
|
148
153
|
'id': json['id'],
|
|
149
154
|
'name': json['name'],
|
|
150
155
|
'description': json['description'],
|
|
156
|
+
'dataType': !exists(json, 'dataType') ? undefined : json['dataType'],
|
|
151
157
|
'executor': ExecutorFromJSON(json['executor']),
|
|
152
|
-
'documentationUrl': !exists(json, 'documentationUrl') ? undefined : json['documentationUrl'],
|
|
153
|
-
'fileRequirementsMessage': !exists(json, 'fileRequirementsMessage') ? undefined : json['fileRequirementsMessage'],
|
|
154
158
|
'childProcessIds': json['childProcessIds'],
|
|
155
159
|
'parentProcessIds': json['parentProcessIds'],
|
|
160
|
+
'documentationUrl': !exists(json, 'documentationUrl') ? undefined : json['documentationUrl'],
|
|
161
|
+
'fileRequirementsMessage': !exists(json, 'fileRequirementsMessage') ? undefined : json['fileRequirementsMessage'],
|
|
162
|
+
'pipelineCode': !exists(json, 'pipelineCode') ? undefined : PipelineCodeFromJSON(json['pipelineCode']),
|
|
156
163
|
'owner': !exists(json, 'owner') ? undefined : json['owner'],
|
|
157
164
|
'linkedProjectIds': json['linkedProjectIds'],
|
|
158
|
-
'
|
|
159
|
-
'customSettings': CustomPipelineSettingsFromJSON(json['customSettings']),
|
|
165
|
+
'customSettings': !exists(json, 'customSettings') ? undefined : CustomPipelineSettingsFromJSON(json['customSettings']),
|
|
160
166
|
'isArchived': !exists(json, 'isArchived') ? undefined : json['isArchived'],
|
|
161
167
|
};
|
|
162
168
|
}
|
|
@@ -173,14 +179,15 @@ export function ProcessDetailToJSON(value?: ProcessDetail | null): any {
|
|
|
173
179
|
'id': value.id,
|
|
174
180
|
'name': value.name,
|
|
175
181
|
'description': value.description,
|
|
182
|
+
'dataType': value.dataType,
|
|
176
183
|
'executor': ExecutorToJSON(value.executor),
|
|
177
|
-
'documentationUrl': value.documentationUrl,
|
|
178
|
-
'fileRequirementsMessage': value.fileRequirementsMessage,
|
|
179
184
|
'childProcessIds': value.childProcessIds,
|
|
180
185
|
'parentProcessIds': value.parentProcessIds,
|
|
186
|
+
'documentationUrl': value.documentationUrl,
|
|
187
|
+
'fileRequirementsMessage': value.fileRequirementsMessage,
|
|
188
|
+
'pipelineCode': PipelineCodeToJSON(value.pipelineCode),
|
|
181
189
|
'owner': value.owner,
|
|
182
190
|
'linkedProjectIds': value.linkedProjectIds,
|
|
183
|
-
'pipelineCode': PipelineCodeToJSON(value.pipelineCode),
|
|
184
191
|
'customSettings': CustomPipelineSettingsToJSON(value.customSettings),
|
|
185
192
|
'isArchived': value.isArchived,
|
|
186
193
|
};
|
|
@@ -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
|
};
|
|
@@ -20,19 +20,19 @@ import { exists, mapValues } from '../runtime';
|
|
|
20
20
|
*/
|
|
21
21
|
export interface UploadDatasetRequest {
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* Name of the dataset
|
|
24
24
|
* @type {string}
|
|
25
25
|
* @memberof UploadDatasetRequest
|
|
26
26
|
*/
|
|
27
27
|
name: string;
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
* Description of the dataset
|
|
30
30
|
* @type {string}
|
|
31
31
|
* @memberof UploadDatasetRequest
|
|
32
32
|
*/
|
|
33
|
-
description
|
|
33
|
+
description?: string;
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
* ID of the ingest process
|
|
36
36
|
* @type {string}
|
|
37
37
|
* @memberof UploadDatasetRequest
|
|
38
38
|
*/
|
|
@@ -51,7 +51,6 @@ export interface UploadDatasetRequest {
|
|
|
51
51
|
export function instanceOfUploadDatasetRequest(value: object): boolean {
|
|
52
52
|
let isInstance = true;
|
|
53
53
|
isInstance = isInstance && "name" in value;
|
|
54
|
-
isInstance = isInstance && "description" in value;
|
|
55
54
|
isInstance = isInstance && "processId" in value;
|
|
56
55
|
isInstance = isInstance && "expectedFiles" in value;
|
|
57
56
|
|
|
@@ -69,7 +68,7 @@ export function UploadDatasetRequestFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
69
68
|
return {
|
|
70
69
|
|
|
71
70
|
'name': json['name'],
|
|
72
|
-
'description': json['description'],
|
|
71
|
+
'description': !exists(json, 'description') ? undefined : json['description'],
|
|
73
72
|
'processId': json['processId'],
|
|
74
73
|
'expectedFiles': json['expectedFiles'],
|
|
75
74
|
};
|