@cirrobio/api-client 0.0.29-alpha → 0.0.31-alpha
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +4 -2
- package/README.md +1 -1
- package/dist/apis/ReferencesApi.d.ts +2 -2
- package/dist/apis/ReferencesApi.js +1 -1
- package/dist/models/CustomPipelineSettings.d.ts +6 -5
- package/dist/models/CustomPipelineSettings.js +3 -2
- package/dist/models/DatasetAssetsManifest.d.ts +3 -3
- package/dist/models/DatasetAssetsManifest.js +3 -3
- package/dist/models/ErrorMessage.d.ts +31 -0
- package/dist/models/ErrorMessage.js +50 -0
- package/dist/models/FileEntry.d.ts +45 -0
- package/dist/models/FileEntry.js +54 -0
- package/dist/models/PipelineCode.d.ts +3 -3
- package/dist/models/PipelineCode.js +4 -2
- package/dist/models/PortalErrorResponse.d.ts +50 -0
- package/dist/models/PortalErrorResponse.js +60 -0
- package/dist/models/Process.d.ts +3 -3
- package/dist/models/Process.js +1 -2
- package/dist/models/ProcessDetail.d.ts +8 -8
- package/dist/models/ProcessDetail.js +8 -12
- package/dist/models/ProjectRequest.d.ts +2 -2
- package/dist/models/ProjectRequest.js +4 -5
- package/dist/models/ProjectSettings.d.ts +1 -1
- package/dist/models/ProjectSettings.js +1 -2
- package/dist/models/Reference.d.ts +3 -2
- package/dist/models/Reference.js +3 -2
- package/dist/models/SyncStatus.d.ts +23 -0
- package/dist/models/SyncStatus.js +38 -0
- package/dist/models/ValidateFileRequirementsRequest.d.ts +4 -4
- package/dist/models/ValidateFileRequirementsRequest.js +3 -3
- package/dist/models/index.d.ts +4 -2
- package/dist/models/index.js +4 -2
- package/package.json +1 -1
- package/src/apis/ProcessesApi.ts +6 -0
- package/src/apis/ReferencesApi.ts +3 -3
- package/src/models/CustomPipelineSettings.ts +14 -7
- package/src/models/DatasetAssetsManifest.ts +10 -10
- package/src/models/ErrorMessage.ts +66 -0
- package/src/models/{DatasetFile.ts → FileEntry.ts} +11 -11
- package/src/models/PipelineCode.ts +7 -5
- package/src/models/PortalErrorResponse.ts +100 -0
- package/src/models/Process.ts +4 -5
- package/src/models/ProcessDetail.ts +18 -23
- package/src/models/ProjectRequest.ts +5 -7
- package/src/models/ProjectSettings.ts +2 -3
- package/src/models/Reference.ts +11 -4
- package/src/models/SyncStatus.ts +37 -0
- package/src/models/ValidateFileRequirementsRequest.ts +7 -7
- package/src/models/index.ts +4 -2
- package/src/models/ProcessDetailAllOfPipelineCode.ts +0 -97
|
@@ -16,43 +16,43 @@ import { exists, mapValues } from '../runtime';
|
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
* @export
|
|
19
|
-
* @interface
|
|
19
|
+
* @interface FileEntry
|
|
20
20
|
*/
|
|
21
|
-
export interface
|
|
21
|
+
export interface FileEntry {
|
|
22
22
|
/**
|
|
23
23
|
* Relative path to file
|
|
24
24
|
* @type {string}
|
|
25
|
-
* @memberof
|
|
25
|
+
* @memberof FileEntry
|
|
26
26
|
*/
|
|
27
27
|
path?: string;
|
|
28
28
|
/**
|
|
29
29
|
* File size (in bytes)
|
|
30
30
|
* @type {number}
|
|
31
|
-
* @memberof
|
|
31
|
+
* @memberof FileEntry
|
|
32
32
|
*/
|
|
33
33
|
size?: number;
|
|
34
34
|
/**
|
|
35
35
|
* Metadata associated with the file
|
|
36
36
|
* @type {{ [key: string]: string; }}
|
|
37
|
-
* @memberof
|
|
37
|
+
* @memberof FileEntry
|
|
38
38
|
*/
|
|
39
39
|
metadata?: { [key: string]: string; };
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
/**
|
|
43
|
-
* Check if a given object implements the
|
|
43
|
+
* Check if a given object implements the FileEntry interface.
|
|
44
44
|
*/
|
|
45
|
-
export function
|
|
45
|
+
export function instanceOfFileEntry(value: object): boolean {
|
|
46
46
|
let isInstance = true;
|
|
47
47
|
|
|
48
48
|
return isInstance;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
export function
|
|
52
|
-
return
|
|
51
|
+
export function FileEntryFromJSON(json: any): FileEntry {
|
|
52
|
+
return FileEntryFromJSONTyped(json, false);
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
export function
|
|
55
|
+
export function FileEntryFromJSONTyped(json: any, ignoreDiscriminator: boolean): FileEntry {
|
|
56
56
|
if ((json === undefined) || (json === null)) {
|
|
57
57
|
return json;
|
|
58
58
|
}
|
|
@@ -64,7 +64,7 @@ export function DatasetFileFromJSONTyped(json: any, ignoreDiscriminator: boolean
|
|
|
64
64
|
};
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
export function
|
|
67
|
+
export function FileEntryToJSON(value?: FileEntry | null): any {
|
|
68
68
|
if (value === undefined) {
|
|
69
69
|
return undefined;
|
|
70
70
|
}
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
} from './RepositoryType';
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
|
-
* Used to describe the pipeline analysis code
|
|
24
|
+
* Used to describe the pipeline analysis code, not required for ingest processes
|
|
25
25
|
* @export
|
|
26
26
|
* @interface PipelineCode
|
|
27
27
|
*/
|
|
@@ -37,7 +37,7 @@ export interface PipelineCode {
|
|
|
37
37
|
* @type {string}
|
|
38
38
|
* @memberof PipelineCode
|
|
39
39
|
*/
|
|
40
|
-
version
|
|
40
|
+
version: string;
|
|
41
41
|
/**
|
|
42
42
|
*
|
|
43
43
|
* @type {RepositoryType}
|
|
@@ -49,7 +49,7 @@ export interface PipelineCode {
|
|
|
49
49
|
* @type {string}
|
|
50
50
|
* @memberof PipelineCode
|
|
51
51
|
*/
|
|
52
|
-
entryPoint
|
|
52
|
+
entryPoint: string;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
/**
|
|
@@ -58,6 +58,8 @@ export interface PipelineCode {
|
|
|
58
58
|
export function instanceOfPipelineCode(value: object): boolean {
|
|
59
59
|
let isInstance = true;
|
|
60
60
|
isInstance = isInstance && "repositoryPath" in value;
|
|
61
|
+
isInstance = isInstance && "version" in value;
|
|
62
|
+
isInstance = isInstance && "entryPoint" in value;
|
|
61
63
|
|
|
62
64
|
return isInstance;
|
|
63
65
|
}
|
|
@@ -73,9 +75,9 @@ export function PipelineCodeFromJSONTyped(json: any, ignoreDiscriminator: boolea
|
|
|
73
75
|
return {
|
|
74
76
|
|
|
75
77
|
'repositoryPath': json['repositoryPath'],
|
|
76
|
-
'version':
|
|
78
|
+
'version': json['version'],
|
|
77
79
|
'repositoryType': !exists(json, 'repositoryType') ? undefined : RepositoryTypeFromJSON(json['repositoryType']),
|
|
78
|
-
'entryPoint':
|
|
80
|
+
'entryPoint': json['entryPoint'],
|
|
79
81
|
};
|
|
80
82
|
}
|
|
81
83
|
|
|
@@ -0,0 +1,100 @@
|
|
|
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
|
+
import type { ErrorMessage } from './ErrorMessage';
|
|
17
|
+
import {
|
|
18
|
+
ErrorMessageFromJSON,
|
|
19
|
+
ErrorMessageFromJSONTyped,
|
|
20
|
+
ErrorMessageToJSON,
|
|
21
|
+
} from './ErrorMessage';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface PortalErrorResponse
|
|
27
|
+
*/
|
|
28
|
+
export interface PortalErrorResponse {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {number}
|
|
32
|
+
* @memberof PortalErrorResponse
|
|
33
|
+
*/
|
|
34
|
+
statusCode: number;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof PortalErrorResponse
|
|
39
|
+
*/
|
|
40
|
+
errorCode: string;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof PortalErrorResponse
|
|
45
|
+
*/
|
|
46
|
+
errorDetail: string;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {Array<ErrorMessage>}
|
|
50
|
+
* @memberof PortalErrorResponse
|
|
51
|
+
*/
|
|
52
|
+
errors: Array<ErrorMessage>;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Check if a given object implements the PortalErrorResponse interface.
|
|
57
|
+
*/
|
|
58
|
+
export function instanceOfPortalErrorResponse(value: object): boolean {
|
|
59
|
+
let isInstance = true;
|
|
60
|
+
isInstance = isInstance && "statusCode" in value;
|
|
61
|
+
isInstance = isInstance && "errorCode" in value;
|
|
62
|
+
isInstance = isInstance && "errorDetail" in value;
|
|
63
|
+
isInstance = isInstance && "errors" in value;
|
|
64
|
+
|
|
65
|
+
return isInstance;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function PortalErrorResponseFromJSON(json: any): PortalErrorResponse {
|
|
69
|
+
return PortalErrorResponseFromJSONTyped(json, false);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function PortalErrorResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PortalErrorResponse {
|
|
73
|
+
if ((json === undefined) || (json === null)) {
|
|
74
|
+
return json;
|
|
75
|
+
}
|
|
76
|
+
return {
|
|
77
|
+
|
|
78
|
+
'statusCode': json['statusCode'],
|
|
79
|
+
'errorCode': json['errorCode'],
|
|
80
|
+
'errorDetail': json['errorDetail'],
|
|
81
|
+
'errors': ((json['errors'] as Array<any>).map(ErrorMessageFromJSON)),
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export function PortalErrorResponseToJSON(value?: PortalErrorResponse | null): any {
|
|
86
|
+
if (value === undefined) {
|
|
87
|
+
return undefined;
|
|
88
|
+
}
|
|
89
|
+
if (value === null) {
|
|
90
|
+
return null;
|
|
91
|
+
}
|
|
92
|
+
return {
|
|
93
|
+
|
|
94
|
+
'statusCode': value.statusCode,
|
|
95
|
+
'errorCode': value.errorCode,
|
|
96
|
+
'errorDetail': value.errorDetail,
|
|
97
|
+
'errors': ((value.errors as Array<any>).map(ErrorMessageToJSON)),
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
|
package/src/models/Process.ts
CHANGED
|
@@ -43,7 +43,7 @@ export interface Process {
|
|
|
43
43
|
* @type {string}
|
|
44
44
|
* @memberof Process
|
|
45
45
|
*/
|
|
46
|
-
description
|
|
46
|
+
description?: string;
|
|
47
47
|
/**
|
|
48
48
|
*
|
|
49
49
|
* @type {Executor}
|
|
@@ -61,7 +61,7 @@ export interface Process {
|
|
|
61
61
|
* @type {string}
|
|
62
62
|
* @memberof Process
|
|
63
63
|
*/
|
|
64
|
-
fileRequirementsMessage?: string
|
|
64
|
+
fileRequirementsMessage?: string;
|
|
65
65
|
/**
|
|
66
66
|
* IDs of pipelines that can be ran downstream
|
|
67
67
|
* @type {Array<string>}
|
|
@@ -69,7 +69,7 @@ export interface Process {
|
|
|
69
69
|
*/
|
|
70
70
|
childProcessIds?: Array<string>;
|
|
71
71
|
/**
|
|
72
|
-
* IDs of pipelines that can
|
|
72
|
+
* IDs of pipelines that can run this pipeline
|
|
73
73
|
* @type {Array<string>}
|
|
74
74
|
* @memberof Process
|
|
75
75
|
*/
|
|
@@ -94,7 +94,6 @@ export interface Process {
|
|
|
94
94
|
export function instanceOfProcess(value: object): boolean {
|
|
95
95
|
let isInstance = true;
|
|
96
96
|
isInstance = isInstance && "id" in value;
|
|
97
|
-
isInstance = isInstance && "description" in value;
|
|
98
97
|
|
|
99
98
|
return isInstance;
|
|
100
99
|
}
|
|
@@ -111,7 +110,7 @@ export function ProcessFromJSONTyped(json: any, ignoreDiscriminator: boolean): P
|
|
|
111
110
|
|
|
112
111
|
'id': json['id'],
|
|
113
112
|
'name': !exists(json, 'name') ? undefined : json['name'],
|
|
114
|
-
'description': json['description'],
|
|
113
|
+
'description': !exists(json, 'description') ? undefined : json['description'],
|
|
115
114
|
'executor': !exists(json, 'executor') ? undefined : ExecutorFromJSON(json['executor']),
|
|
116
115
|
'documentationUrl': !exists(json, 'documentationUrl') ? undefined : json['documentationUrl'],
|
|
117
116
|
'fileRequirementsMessage': !exists(json, 'fileRequirementsMessage') ? undefined : json['fileRequirementsMessage'],
|
|
@@ -25,12 +25,12 @@ import {
|
|
|
25
25
|
ExecutorFromJSONTyped,
|
|
26
26
|
ExecutorToJSON,
|
|
27
27
|
} from './Executor';
|
|
28
|
-
import type {
|
|
28
|
+
import type { PipelineCode } from './PipelineCode';
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
} from './
|
|
30
|
+
PipelineCodeFromJSON,
|
|
31
|
+
PipelineCodeFromJSONTyped,
|
|
32
|
+
PipelineCodeToJSON,
|
|
33
|
+
} from './PipelineCode';
|
|
34
34
|
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
@@ -67,13 +67,13 @@ export interface ProcessDetail {
|
|
|
67
67
|
* @type {string}
|
|
68
68
|
* @memberof ProcessDetail
|
|
69
69
|
*/
|
|
70
|
-
documentationUrl
|
|
70
|
+
documentationUrl?: string | null;
|
|
71
71
|
/**
|
|
72
72
|
*
|
|
73
73
|
* @type {string}
|
|
74
74
|
* @memberof ProcessDetail
|
|
75
75
|
*/
|
|
76
|
-
fileRequirementsMessage
|
|
76
|
+
fileRequirementsMessage?: string | null;
|
|
77
77
|
/**
|
|
78
78
|
*
|
|
79
79
|
* @type {Array<string>}
|
|
@@ -91,7 +91,7 @@ export interface ProcessDetail {
|
|
|
91
91
|
* @type {string}
|
|
92
92
|
* @memberof ProcessDetail
|
|
93
93
|
*/
|
|
94
|
-
owner
|
|
94
|
+
owner?: string;
|
|
95
95
|
/**
|
|
96
96
|
*
|
|
97
97
|
* @type {Array<string>}
|
|
@@ -100,10 +100,10 @@ export interface ProcessDetail {
|
|
|
100
100
|
linkedProjectIds: Array<string>;
|
|
101
101
|
/**
|
|
102
102
|
*
|
|
103
|
-
* @type {
|
|
103
|
+
* @type {PipelineCode}
|
|
104
104
|
* @memberof ProcessDetail
|
|
105
105
|
*/
|
|
106
|
-
pipelineCode
|
|
106
|
+
pipelineCode?: PipelineCode | null;
|
|
107
107
|
/**
|
|
108
108
|
*
|
|
109
109
|
* @type {CustomPipelineSettings}
|
|
@@ -111,11 +111,11 @@ export interface ProcessDetail {
|
|
|
111
111
|
*/
|
|
112
112
|
customSettings: CustomPipelineSettings;
|
|
113
113
|
/**
|
|
114
|
-
*
|
|
114
|
+
* Whether the process is marked for removal
|
|
115
115
|
* @type {boolean}
|
|
116
116
|
* @memberof ProcessDetail
|
|
117
117
|
*/
|
|
118
|
-
isArchived
|
|
118
|
+
isArchived?: boolean;
|
|
119
119
|
}
|
|
120
120
|
|
|
121
121
|
/**
|
|
@@ -127,15 +127,10 @@ export function instanceOfProcessDetail(value: object): boolean {
|
|
|
127
127
|
isInstance = isInstance && "name" in value;
|
|
128
128
|
isInstance = isInstance && "description" in value;
|
|
129
129
|
isInstance = isInstance && "executor" in value;
|
|
130
|
-
isInstance = isInstance && "documentationUrl" in value;
|
|
131
|
-
isInstance = isInstance && "fileRequirementsMessage" in value;
|
|
132
130
|
isInstance = isInstance && "childProcessIds" in value;
|
|
133
131
|
isInstance = isInstance && "parentProcessIds" in value;
|
|
134
|
-
isInstance = isInstance && "owner" in value;
|
|
135
132
|
isInstance = isInstance && "linkedProjectIds" in value;
|
|
136
|
-
isInstance = isInstance && "pipelineCode" in value;
|
|
137
133
|
isInstance = isInstance && "customSettings" in value;
|
|
138
|
-
isInstance = isInstance && "isArchived" in value;
|
|
139
134
|
|
|
140
135
|
return isInstance;
|
|
141
136
|
}
|
|
@@ -154,15 +149,15 @@ export function ProcessDetailFromJSONTyped(json: any, ignoreDiscriminator: boole
|
|
|
154
149
|
'name': json['name'],
|
|
155
150
|
'description': json['description'],
|
|
156
151
|
'executor': ExecutorFromJSON(json['executor']),
|
|
157
|
-
'documentationUrl': json['documentationUrl'],
|
|
158
|
-
'fileRequirementsMessage': json['fileRequirementsMessage'],
|
|
152
|
+
'documentationUrl': !exists(json, 'documentationUrl') ? undefined : json['documentationUrl'],
|
|
153
|
+
'fileRequirementsMessage': !exists(json, 'fileRequirementsMessage') ? undefined : json['fileRequirementsMessage'],
|
|
159
154
|
'childProcessIds': json['childProcessIds'],
|
|
160
155
|
'parentProcessIds': json['parentProcessIds'],
|
|
161
|
-
'owner': json['owner'],
|
|
156
|
+
'owner': !exists(json, 'owner') ? undefined : json['owner'],
|
|
162
157
|
'linkedProjectIds': json['linkedProjectIds'],
|
|
163
|
-
'pipelineCode':
|
|
158
|
+
'pipelineCode': !exists(json, 'pipelineCode') ? undefined : PipelineCodeFromJSON(json['pipelineCode']),
|
|
164
159
|
'customSettings': CustomPipelineSettingsFromJSON(json['customSettings']),
|
|
165
|
-
'isArchived': json['isArchived'],
|
|
160
|
+
'isArchived': !exists(json, 'isArchived') ? undefined : json['isArchived'],
|
|
166
161
|
};
|
|
167
162
|
}
|
|
168
163
|
|
|
@@ -185,7 +180,7 @@ export function ProcessDetailToJSON(value?: ProcessDetail | null): any {
|
|
|
185
180
|
'parentProcessIds': value.parentProcessIds,
|
|
186
181
|
'owner': value.owner,
|
|
187
182
|
'linkedProjectIds': value.linkedProjectIds,
|
|
188
|
-
'pipelineCode':
|
|
183
|
+
'pipelineCode': PipelineCodeToJSON(value.pipelineCode),
|
|
189
184
|
'customSettings': CustomPipelineSettingsToJSON(value.customSettings),
|
|
190
185
|
'isArchived': value.isArchived,
|
|
191
186
|
};
|
|
@@ -79,13 +79,13 @@ export interface ProjectRequest {
|
|
|
79
79
|
* @type {CloudAccount}
|
|
80
80
|
* @memberof ProjectRequest
|
|
81
81
|
*/
|
|
82
|
-
account
|
|
82
|
+
account?: CloudAccount | null;
|
|
83
83
|
/**
|
|
84
84
|
*
|
|
85
85
|
* @type {Array<Tag>}
|
|
86
86
|
* @memberof ProjectRequest
|
|
87
87
|
*/
|
|
88
|
-
tags
|
|
88
|
+
tags?: Array<Tag> | null;
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
/**
|
|
@@ -98,8 +98,6 @@ export function instanceOfProjectRequest(value: object): boolean {
|
|
|
98
98
|
isInstance = isInstance && "billingAccountId" in value;
|
|
99
99
|
isInstance = isInstance && "settings" in value;
|
|
100
100
|
isInstance = isInstance && "contacts" in value;
|
|
101
|
-
isInstance = isInstance && "account" in value;
|
|
102
|
-
isInstance = isInstance && "tags" in value;
|
|
103
101
|
|
|
104
102
|
return isInstance;
|
|
105
103
|
}
|
|
@@ -119,8 +117,8 @@ export function ProjectRequestFromJSONTyped(json: any, ignoreDiscriminator: bool
|
|
|
119
117
|
'billingAccountId': json['billingAccountId'],
|
|
120
118
|
'settings': ProjectSettingsFromJSON(json['settings']),
|
|
121
119
|
'contacts': ((json['contacts'] as Array<any>).map(ContactFromJSON)),
|
|
122
|
-
'account': CloudAccountFromJSON(json['account']),
|
|
123
|
-
'tags': (json['tags'] === null ? null : (json['tags'] as Array<any>).map(TagFromJSON)),
|
|
120
|
+
'account': !exists(json, 'account') ? undefined : CloudAccountFromJSON(json['account']),
|
|
121
|
+
'tags': !exists(json, 'tags') ? undefined : (json['tags'] === null ? null : (json['tags'] as Array<any>).map(TagFromJSON)),
|
|
124
122
|
};
|
|
125
123
|
}
|
|
126
124
|
|
|
@@ -139,7 +137,7 @@ export function ProjectRequestToJSON(value?: ProjectRequest | null): any {
|
|
|
139
137
|
'settings': ProjectSettingsToJSON(value.settings),
|
|
140
138
|
'contacts': ((value.contacts as Array<any>).map(ContactToJSON)),
|
|
141
139
|
'account': CloudAccountToJSON(value.account),
|
|
142
|
-
'tags': (value.tags === null ? null : (value.tags as Array<any>).map(TagToJSON)),
|
|
140
|
+
'tags': value.tags === undefined ? undefined : (value.tags === null ? null : (value.tags as Array<any>).map(TagToJSON)),
|
|
143
141
|
};
|
|
144
142
|
}
|
|
145
143
|
|
|
@@ -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,7 +123,6 @@ export interface ProjectSettings {
|
|
|
123
123
|
*/
|
|
124
124
|
export function instanceOfProjectSettings(value: object): boolean {
|
|
125
125
|
let isInstance = true;
|
|
126
|
-
isInstance = isInstance && "budgetPeriod" in value;
|
|
127
126
|
isInstance = isInstance && "serviceConnections" in value;
|
|
128
127
|
|
|
129
128
|
return isInstance;
|
|
@@ -140,7 +139,7 @@ export function ProjectSettingsFromJSONTyped(json: any, ignoreDiscriminator: boo
|
|
|
140
139
|
return {
|
|
141
140
|
|
|
142
141
|
'budgetAmount': !exists(json, 'budgetAmount') ? undefined : json['budgetAmount'],
|
|
143
|
-
'budgetPeriod': BudgetPeriodFromJSON(json['budgetPeriod']),
|
|
142
|
+
'budgetPeriod': !exists(json, 'budgetPeriod') ? undefined : BudgetPeriodFromJSON(json['budgetPeriod']),
|
|
144
143
|
'dragenAmi': !exists(json, 'dragenAmi') ? undefined : json['dragenAmi'],
|
|
145
144
|
'enableCompute': !exists(json, 'enableCompute') ? undefined : json['enableCompute'],
|
|
146
145
|
'enableDragen': !exists(json, 'enableDragen') ? undefined : json['enableDragen'],
|
package/src/models/Reference.ts
CHANGED
|
@@ -13,6 +13,13 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { exists, mapValues } from '../runtime';
|
|
16
|
+
import type { FileEntry } from './FileEntry';
|
|
17
|
+
import {
|
|
18
|
+
FileEntryFromJSON,
|
|
19
|
+
FileEntryFromJSONTyped,
|
|
20
|
+
FileEntryToJSON,
|
|
21
|
+
} from './FileEntry';
|
|
22
|
+
|
|
16
23
|
/**
|
|
17
24
|
*
|
|
18
25
|
* @export
|
|
@@ -33,10 +40,10 @@ export interface Reference {
|
|
|
33
40
|
referenceType: string;
|
|
34
41
|
/**
|
|
35
42
|
*
|
|
36
|
-
* @type {Array<
|
|
43
|
+
* @type {Array<FileEntry>}
|
|
37
44
|
* @memberof Reference
|
|
38
45
|
*/
|
|
39
|
-
files: Array<
|
|
46
|
+
files: Array<FileEntry>;
|
|
40
47
|
/**
|
|
41
48
|
*
|
|
42
49
|
* @type {string}
|
|
@@ -77,7 +84,7 @@ export function ReferenceFromJSONTyped(json: any, ignoreDiscriminator: boolean):
|
|
|
77
84
|
|
|
78
85
|
'name': json['name'],
|
|
79
86
|
'referenceType': json['referenceType'],
|
|
80
|
-
'files': json['files'],
|
|
87
|
+
'files': ((json['files'] as Array<any>).map(FileEntryFromJSON)),
|
|
81
88
|
'createdBy': json['createdBy'],
|
|
82
89
|
'createdAt': (new Date(json['createdAt'])),
|
|
83
90
|
};
|
|
@@ -94,7 +101,7 @@ export function ReferenceToJSON(value?: Reference | null): any {
|
|
|
94
101
|
|
|
95
102
|
'name': value.name,
|
|
96
103
|
'referenceType': value.referenceType,
|
|
97
|
-
'files': value.files,
|
|
104
|
+
'files': ((value.files as Array<any>).map(FileEntryToJSON)),
|
|
98
105
|
'createdBy': value.createdBy,
|
|
99
106
|
'createdAt': (value.createdAt.toISOString()),
|
|
100
107
|
};
|
|
@@ -0,0 +1,37 @@
|
|
|
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
|
+
/**
|
|
16
|
+
* Status of last sync
|
|
17
|
+
* @export
|
|
18
|
+
* @enum {string}
|
|
19
|
+
*/
|
|
20
|
+
export enum SyncStatus {
|
|
21
|
+
Successful = 'SUCCESSFUL',
|
|
22
|
+
Failed = 'FAILED'
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
export function SyncStatusFromJSON(json: any): SyncStatus {
|
|
27
|
+
return SyncStatusFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export function SyncStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): SyncStatus {
|
|
31
|
+
return json as SyncStatus;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export function SyncStatusToJSON(value?: SyncStatus | null): any {
|
|
35
|
+
return value as any;
|
|
36
|
+
}
|
|
37
|
+
|
|
@@ -21,16 +21,16 @@ import { exists, mapValues } from '../runtime';
|
|
|
21
21
|
export interface ValidateFileRequirementsRequest {
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
|
-
* @type {string}
|
|
24
|
+
* @type {Array<string>}
|
|
25
25
|
* @memberof ValidateFileRequirementsRequest
|
|
26
26
|
*/
|
|
27
|
-
|
|
27
|
+
fileNames: Array<string>;
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
|
-
* @type {
|
|
30
|
+
* @type {string}
|
|
31
31
|
* @memberof ValidateFileRequirementsRequest
|
|
32
32
|
*/
|
|
33
|
-
|
|
33
|
+
sampleSheet: string;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
/**
|
|
@@ -38,8 +38,8 @@ export interface ValidateFileRequirementsRequest {
|
|
|
38
38
|
*/
|
|
39
39
|
export function instanceOfValidateFileRequirementsRequest(value: object): boolean {
|
|
40
40
|
let isInstance = true;
|
|
41
|
-
isInstance = isInstance && "sampleSheet" in value;
|
|
42
41
|
isInstance = isInstance && "fileNames" in value;
|
|
42
|
+
isInstance = isInstance && "sampleSheet" in value;
|
|
43
43
|
|
|
44
44
|
return isInstance;
|
|
45
45
|
}
|
|
@@ -54,8 +54,8 @@ export function ValidateFileRequirementsRequestFromJSONTyped(json: any, ignoreDi
|
|
|
54
54
|
}
|
|
55
55
|
return {
|
|
56
56
|
|
|
57
|
-
'sampleSheet': json['sampleSheet'],
|
|
58
57
|
'fileNames': json['fileNames'],
|
|
58
|
+
'sampleSheet': json['sampleSheet'],
|
|
59
59
|
};
|
|
60
60
|
}
|
|
61
61
|
|
|
@@ -68,8 +68,8 @@ export function ValidateFileRequirementsRequestToJSON(value?: ValidateFileRequir
|
|
|
68
68
|
}
|
|
69
69
|
return {
|
|
70
70
|
|
|
71
|
-
'sampleSheet': value.sampleSheet,
|
|
72
71
|
'fileNames': value.fileNames,
|
|
72
|
+
'sampleSheet': value.sampleSheet,
|
|
73
73
|
};
|
|
74
74
|
}
|
|
75
75
|
|
package/src/models/index.ts
CHANGED
|
@@ -16,9 +16,10 @@ export * from './DashboardRequest';
|
|
|
16
16
|
export * from './Dataset';
|
|
17
17
|
export * from './DatasetAssetsManifest';
|
|
18
18
|
export * from './DatasetDetail';
|
|
19
|
-
export * from './DatasetFile';
|
|
20
19
|
export * from './DatasetViz';
|
|
20
|
+
export * from './ErrorMessage';
|
|
21
21
|
export * from './Executor';
|
|
22
|
+
export * from './FileEntry';
|
|
22
23
|
export * from './FileNamePattern';
|
|
23
24
|
export * from './FileRequirements';
|
|
24
25
|
export * from './FormSchema';
|
|
@@ -35,9 +36,9 @@ export * from './OpenNotebookInstanceResponse';
|
|
|
35
36
|
export * from './PaginatedResponseDatasetListDto';
|
|
36
37
|
export * from './PaginatedResponseSampleDto';
|
|
37
38
|
export * from './PipelineCode';
|
|
39
|
+
export * from './PortalErrorResponse';
|
|
38
40
|
export * from './Process';
|
|
39
41
|
export * from './ProcessDetail';
|
|
40
|
-
export * from './ProcessDetailAllOfPipelineCode';
|
|
41
42
|
export * from './Project';
|
|
42
43
|
export * from './ProjectDetail';
|
|
43
44
|
export * from './ProjectMetrics';
|
|
@@ -57,6 +58,7 @@ export * from './SetUserProjectRoleRequest';
|
|
|
57
58
|
export * from './SftpCredentials';
|
|
58
59
|
export * from './Status';
|
|
59
60
|
export * from './StopExecutionResponse';
|
|
61
|
+
export * from './SyncStatus';
|
|
60
62
|
export * from './SystemInfoResponse';
|
|
61
63
|
export * from './Tag';
|
|
62
64
|
export * from './Task';
|