@cirrobio/api-client 0.0.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 +54 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +45 -0
- package/dist/apis/BillingApi.d.ts +68 -0
- package/dist/apis/BillingApi.js +264 -0
- package/dist/apis/DatasetsApi.d.ts +88 -0
- package/dist/apis/DatasetsApi.js +335 -0
- package/dist/apis/ExecutionApi.d.ts +96 -0
- package/dist/apis/ExecutionApi.js +394 -0
- package/dist/apis/MetricsApi.d.ts +31 -0
- package/dist/apis/MetricsApi.js +126 -0
- package/dist/apis/NotebooksApi.d.ts +77 -0
- package/dist/apis/NotebooksApi.js +351 -0
- package/dist/apis/ProcessesApi.d.ts +41 -0
- package/dist/apis/ProcessesApi.js +169 -0
- package/dist/apis/ProjectsApi.d.ts +97 -0
- package/dist/apis/ProjectsApi.js +369 -0
- package/dist/apis/SystemApi.d.ts +46 -0
- package/dist/apis/SystemApi.js +207 -0
- package/dist/apis/UsersApi.d.ts +58 -0
- package/dist/apis/UsersApi.js +226 -0
- package/dist/apis/index.d.ts +9 -0
- package/dist/apis/index.js +27 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +21 -0
- package/dist/models/BillingAccount.d.ts +82 -0
- package/dist/models/BillingAccount.js +77 -0
- package/dist/models/BillingMethod.d.ts +24 -0
- package/dist/models/BillingMethod.js +37 -0
- package/dist/models/BudgetPeriod.d.ts +24 -0
- package/dist/models/BudgetPeriod.js +37 -0
- package/dist/models/CloudAccount.d.ts +50 -0
- package/dist/models/CloudAccount.js +57 -0
- package/dist/models/Contact.d.ts +49 -0
- package/dist/models/Contact.js +56 -0
- package/dist/models/CreateNotebookInstanceRequest.d.ts +49 -0
- package/dist/models/CreateNotebookInstanceRequest.js +59 -0
- package/dist/models/CreateResponse.d.ts +37 -0
- package/dist/models/CreateResponse.js +53 -0
- package/dist/models/CustomerType.d.ts +25 -0
- package/dist/models/CustomerType.js +38 -0
- package/dist/models/Dataset.d.ts +86 -0
- package/dist/models/Dataset.js +78 -0
- package/dist/models/DatasetDetail.d.ts +114 -0
- package/dist/models/DatasetDetail.js +90 -0
- package/dist/models/DatasetType.d.ts +23 -0
- package/dist/models/DatasetType.js +36 -0
- package/dist/models/Executor.d.ts +24 -0
- package/dist/models/Executor.js +37 -0
- package/dist/models/FormSchema.d.ts +41 -0
- package/dist/models/FormSchema.js +52 -0
- package/dist/models/GetExecutionLogsResponse.d.ts +32 -0
- package/dist/models/GetExecutionLogsResponse.js +51 -0
- package/dist/models/LogEntry.d.ts +37 -0
- package/dist/models/LogEntry.js +53 -0
- package/dist/models/NotebookInstance.d.ts +43 -0
- package/dist/models/NotebookInstance.js +56 -0
- package/dist/models/OpenNotebookInstanceResponse.d.ts +37 -0
- package/dist/models/OpenNotebookInstanceResponse.js +53 -0
- package/dist/models/Process.d.ts +68 -0
- package/dist/models/Process.js +63 -0
- package/dist/models/Project.d.ts +49 -0
- package/dist/models/Project.js +59 -0
- package/dist/models/ProjectDetail.d.ts +100 -0
- package/dist/models/ProjectDetail.js +86 -0
- package/dist/models/ProjectMetrics.d.ts +47 -0
- package/dist/models/ProjectMetrics.js +56 -0
- package/dist/models/ProjectRequest.d.ts +71 -0
- package/dist/models/ProjectRequest.js +72 -0
- package/dist/models/ProjectRole.d.ts +25 -0
- package/dist/models/ProjectRole.js +38 -0
- package/dist/models/ProjectSettings.d.ts +92 -0
- package/dist/models/ProjectSettings.js +71 -0
- package/dist/models/ReferenceType.d.ts +31 -0
- package/dist/models/ReferenceType.js +50 -0
- package/dist/models/Region.d.ts +31 -0
- package/dist/models/Region.js +50 -0
- package/dist/models/RegisterDatasetRequest.d.ts +31 -0
- package/dist/models/RegisterDatasetRequest.js +50 -0
- package/dist/models/ServiceConnection.d.ts +31 -0
- package/dist/models/ServiceConnection.js +50 -0
- package/dist/models/SetUserProjectRoleRequest.d.ts +31 -0
- package/dist/models/SetUserProjectRoleRequest.js +50 -0
- package/dist/models/StopExecutionResponse.d.ts +37 -0
- package/dist/models/StopExecutionResponse.js +52 -0
- package/dist/models/SystemInfoResponse.d.ts +55 -0
- package/dist/models/SystemInfoResponse.js +62 -0
- package/dist/models/Tag.d.ts +37 -0
- package/dist/models/Tag.js +53 -0
- package/dist/models/Task.d.ts +73 -0
- package/dist/models/Task.js +68 -0
- package/dist/models/UpdateDatasetRequest.d.ts +31 -0
- package/dist/models/UpdateDatasetRequest.js +50 -0
- package/dist/models/UpdateUserRequest.d.ts +57 -0
- package/dist/models/UpdateUserRequest.js +62 -0
- package/dist/models/User.d.ts +49 -0
- package/dist/models/User.js +59 -0
- package/dist/models/index.d.ts +36 -0
- package/dist/models/index.js +54 -0
- package/dist/runtime.d.ts +182 -0
- package/dist/runtime.js +562 -0
- package/package.json +22 -0
- package/src/apis/BillingApi.ts +178 -0
- package/src/apis/DatasetsApi.ts +257 -0
- package/src/apis/ExecutionApi.ts +317 -0
- package/src/apis/MetricsApi.ts +66 -0
- package/src/apis/NotebooksApi.ts +261 -0
- package/src/apis/ProcessesApi.ts +97 -0
- package/src/apis/ProjectsApi.ts +283 -0
- package/src/apis/SystemApi.ts +118 -0
- package/src/apis/UsersApi.ts +153 -0
- package/src/apis/index.ts +11 -0
- package/src/index.ts +5 -0
- package/src/models/BillingAccount.ts +157 -0
- package/src/models/BillingMethod.ts +39 -0
- package/src/models/BudgetPeriod.ts +39 -0
- package/src/models/CloudAccount.ts +96 -0
- package/src/models/Contact.ts +89 -0
- package/src/models/CreateNotebookInstanceRequest.ts +93 -0
- package/src/models/CreateResponse.ts +75 -0
- package/src/models/CustomerType.ts +40 -0
- package/src/models/Dataset.ts +154 -0
- package/src/models/DatasetDetail.ts +190 -0
- package/src/models/DatasetType.ts +38 -0
- package/src/models/Executor.ts +39 -0
- package/src/models/FormSchema.ts +73 -0
- package/src/models/GetExecutionLogsResponse.ts +73 -0
- package/src/models/LogEntry.ts +74 -0
- package/src/models/NotebookInstance.ts +84 -0
- package/src/models/OpenNotebookInstanceResponse.ts +75 -0
- package/src/models/Process.ts +120 -0
- package/src/models/Project.ts +93 -0
- package/src/models/ProjectDetail.ts +184 -0
- package/src/models/ProjectMetrics.ts +84 -0
- package/src/models/ProjectRequest.ts +145 -0
- package/src/models/ProjectRole.ts +40 -0
- package/src/models/ProjectSettings.ts +152 -0
- package/src/models/ReferenceType.ts +66 -0
- package/src/models/Region.ts +65 -0
- package/src/models/RegisterDatasetRequest.ts +65 -0
- package/src/models/ServiceConnection.ts +66 -0
- package/src/models/SetUserProjectRoleRequest.ts +65 -0
- package/src/models/StopExecutionResponse.ts +73 -0
- package/src/models/SystemInfoResponse.ts +102 -0
- package/src/models/Tag.ts +75 -0
- package/src/models/Task.ts +125 -0
- package/src/models/UpdateDatasetRequest.ts +65 -0
- package/src/models/UpdateUserRequest.ts +102 -0
- package/src/models/User.ts +93 -0
- package/src/models/index.ts +38 -0
- package/src/runtime.ts +431 -0
- package/templates/README.mustache +45 -0
- package/templates/package.mustache +43 -0
- package/tsconfig.json +20 -0
|
@@ -0,0 +1,154 @@
|
|
|
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 { Tag } from './Tag';
|
|
17
|
+
import {
|
|
18
|
+
TagFromJSON,
|
|
19
|
+
TagFromJSONTyped,
|
|
20
|
+
TagToJSON,
|
|
21
|
+
} from './Tag';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface Dataset
|
|
27
|
+
*/
|
|
28
|
+
export interface Dataset {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof Dataset
|
|
33
|
+
*/
|
|
34
|
+
id: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof Dataset
|
|
39
|
+
*/
|
|
40
|
+
name: string;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof Dataset
|
|
45
|
+
*/
|
|
46
|
+
desc: string;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof Dataset
|
|
51
|
+
*/
|
|
52
|
+
processId: string;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {Array<string>}
|
|
56
|
+
* @memberof Dataset
|
|
57
|
+
*/
|
|
58
|
+
sourceDatasets: Array<string>;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof Dataset
|
|
63
|
+
*/
|
|
64
|
+
status: string;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {Array<Tag>}
|
|
68
|
+
* @memberof Dataset
|
|
69
|
+
*/
|
|
70
|
+
tags: Array<Tag>;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof Dataset
|
|
75
|
+
*/
|
|
76
|
+
createdBy: string;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof Dataset
|
|
81
|
+
*/
|
|
82
|
+
createdAt: string;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof Dataset
|
|
87
|
+
*/
|
|
88
|
+
updatedAt: string;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* Check if a given object implements the Dataset interface.
|
|
93
|
+
*/
|
|
94
|
+
export function instanceOfDataset(value: object): boolean {
|
|
95
|
+
let isInstance = true;
|
|
96
|
+
isInstance = isInstance && "id" in value;
|
|
97
|
+
isInstance = isInstance && "name" in value;
|
|
98
|
+
isInstance = isInstance && "desc" in value;
|
|
99
|
+
isInstance = isInstance && "processId" in value;
|
|
100
|
+
isInstance = isInstance && "sourceDatasets" in value;
|
|
101
|
+
isInstance = isInstance && "status" in value;
|
|
102
|
+
isInstance = isInstance && "tags" in value;
|
|
103
|
+
isInstance = isInstance && "createdBy" in value;
|
|
104
|
+
isInstance = isInstance && "createdAt" in value;
|
|
105
|
+
isInstance = isInstance && "updatedAt" in value;
|
|
106
|
+
|
|
107
|
+
return isInstance;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
export function DatasetFromJSON(json: any): Dataset {
|
|
111
|
+
return DatasetFromJSONTyped(json, false);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
export function DatasetFromJSONTyped(json: any, ignoreDiscriminator: boolean): Dataset {
|
|
115
|
+
if ((json === undefined) || (json === null)) {
|
|
116
|
+
return json;
|
|
117
|
+
}
|
|
118
|
+
return {
|
|
119
|
+
|
|
120
|
+
'id': json['id'],
|
|
121
|
+
'name': json['name'],
|
|
122
|
+
'desc': json['desc'],
|
|
123
|
+
'processId': json['processId'],
|
|
124
|
+
'sourceDatasets': json['sourceDatasets'],
|
|
125
|
+
'status': json['status'],
|
|
126
|
+
'tags': ((json['tags'] as Array<any>).map(TagFromJSON)),
|
|
127
|
+
'createdBy': json['createdBy'],
|
|
128
|
+
'createdAt': json['createdAt'],
|
|
129
|
+
'updatedAt': json['updatedAt'],
|
|
130
|
+
};
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
export function DatasetToJSON(value?: Dataset | null): any {
|
|
134
|
+
if (value === undefined) {
|
|
135
|
+
return undefined;
|
|
136
|
+
}
|
|
137
|
+
if (value === null) {
|
|
138
|
+
return null;
|
|
139
|
+
}
|
|
140
|
+
return {
|
|
141
|
+
|
|
142
|
+
'id': value.id,
|
|
143
|
+
'name': value.name,
|
|
144
|
+
'desc': value.desc,
|
|
145
|
+
'processId': value.processId,
|
|
146
|
+
'sourceDatasets': value.sourceDatasets,
|
|
147
|
+
'status': value.status,
|
|
148
|
+
'tags': ((value.tags as Array<any>).map(TagToJSON)),
|
|
149
|
+
'createdBy': value.createdBy,
|
|
150
|
+
'createdAt': value.createdAt,
|
|
151
|
+
'updatedAt': value.updatedAt,
|
|
152
|
+
};
|
|
153
|
+
}
|
|
154
|
+
|
|
@@ -0,0 +1,190 @@
|
|
|
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 { Tag } from './Tag';
|
|
17
|
+
import {
|
|
18
|
+
TagFromJSON,
|
|
19
|
+
TagFromJSONTyped,
|
|
20
|
+
TagToJSON,
|
|
21
|
+
} from './Tag';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface DatasetDetail
|
|
27
|
+
*/
|
|
28
|
+
export interface DatasetDetail {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof DatasetDetail
|
|
33
|
+
*/
|
|
34
|
+
id: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof DatasetDetail
|
|
39
|
+
*/
|
|
40
|
+
name: string;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof DatasetDetail
|
|
45
|
+
*/
|
|
46
|
+
desc: string;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof DatasetDetail
|
|
51
|
+
*/
|
|
52
|
+
s3: string;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof DatasetDetail
|
|
57
|
+
*/
|
|
58
|
+
processId: string;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof DatasetDetail
|
|
63
|
+
*/
|
|
64
|
+
processName: string;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {Array<string>}
|
|
68
|
+
* @memberof DatasetDetail
|
|
69
|
+
*/
|
|
70
|
+
sourceDatasets: Array<string>;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof DatasetDetail
|
|
75
|
+
*/
|
|
76
|
+
status: string;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type {Array<Tag>}
|
|
80
|
+
* @memberof DatasetDetail
|
|
81
|
+
*/
|
|
82
|
+
tags: Array<Tag>;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @type {{ [key: string]: any; }}
|
|
86
|
+
* @memberof DatasetDetail
|
|
87
|
+
*/
|
|
88
|
+
params: { [key: string]: any; };
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @type {{ [key: string]: any; }}
|
|
92
|
+
* @memberof DatasetDetail
|
|
93
|
+
*/
|
|
94
|
+
info: { [key: string]: any; };
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @type {string}
|
|
98
|
+
* @memberof DatasetDetail
|
|
99
|
+
*/
|
|
100
|
+
createdBy: string;
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* @type {string}
|
|
104
|
+
* @memberof DatasetDetail
|
|
105
|
+
*/
|
|
106
|
+
createdAt: string;
|
|
107
|
+
/**
|
|
108
|
+
*
|
|
109
|
+
* @type {string}
|
|
110
|
+
* @memberof DatasetDetail
|
|
111
|
+
*/
|
|
112
|
+
updatedAt: string;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Check if a given object implements the DatasetDetail interface.
|
|
117
|
+
*/
|
|
118
|
+
export function instanceOfDatasetDetail(value: object): boolean {
|
|
119
|
+
let isInstance = true;
|
|
120
|
+
isInstance = isInstance && "id" in value;
|
|
121
|
+
isInstance = isInstance && "name" in value;
|
|
122
|
+
isInstance = isInstance && "desc" in value;
|
|
123
|
+
isInstance = isInstance && "s3" in value;
|
|
124
|
+
isInstance = isInstance && "processId" in value;
|
|
125
|
+
isInstance = isInstance && "processName" in value;
|
|
126
|
+
isInstance = isInstance && "sourceDatasets" in value;
|
|
127
|
+
isInstance = isInstance && "status" in value;
|
|
128
|
+
isInstance = isInstance && "tags" in value;
|
|
129
|
+
isInstance = isInstance && "params" in value;
|
|
130
|
+
isInstance = isInstance && "info" in value;
|
|
131
|
+
isInstance = isInstance && "createdBy" in value;
|
|
132
|
+
isInstance = isInstance && "createdAt" in value;
|
|
133
|
+
isInstance = isInstance && "updatedAt" in value;
|
|
134
|
+
|
|
135
|
+
return isInstance;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
export function DatasetDetailFromJSON(json: any): DatasetDetail {
|
|
139
|
+
return DatasetDetailFromJSONTyped(json, false);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
export function DatasetDetailFromJSONTyped(json: any, ignoreDiscriminator: boolean): DatasetDetail {
|
|
143
|
+
if ((json === undefined) || (json === null)) {
|
|
144
|
+
return json;
|
|
145
|
+
}
|
|
146
|
+
return {
|
|
147
|
+
|
|
148
|
+
'id': json['id'],
|
|
149
|
+
'name': json['name'],
|
|
150
|
+
'desc': json['desc'],
|
|
151
|
+
's3': json['s3'],
|
|
152
|
+
'processId': json['processId'],
|
|
153
|
+
'processName': json['processName'],
|
|
154
|
+
'sourceDatasets': json['sourceDatasets'],
|
|
155
|
+
'status': json['status'],
|
|
156
|
+
'tags': ((json['tags'] as Array<any>).map(TagFromJSON)),
|
|
157
|
+
'params': json['params'],
|
|
158
|
+
'info': json['info'],
|
|
159
|
+
'createdBy': json['createdBy'],
|
|
160
|
+
'createdAt': json['createdAt'],
|
|
161
|
+
'updatedAt': json['updatedAt'],
|
|
162
|
+
};
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
export function DatasetDetailToJSON(value?: DatasetDetail | null): any {
|
|
166
|
+
if (value === undefined) {
|
|
167
|
+
return undefined;
|
|
168
|
+
}
|
|
169
|
+
if (value === null) {
|
|
170
|
+
return null;
|
|
171
|
+
}
|
|
172
|
+
return {
|
|
173
|
+
|
|
174
|
+
'id': value.id,
|
|
175
|
+
'name': value.name,
|
|
176
|
+
'desc': value.desc,
|
|
177
|
+
's3': value.s3,
|
|
178
|
+
'processId': value.processId,
|
|
179
|
+
'processName': value.processName,
|
|
180
|
+
'sourceDatasets': value.sourceDatasets,
|
|
181
|
+
'status': value.status,
|
|
182
|
+
'tags': ((value.tags as Array<any>).map(TagToJSON)),
|
|
183
|
+
'params': value.params,
|
|
184
|
+
'info': value.info,
|
|
185
|
+
'createdBy': value.createdBy,
|
|
186
|
+
'createdAt': value.createdAt,
|
|
187
|
+
'updatedAt': value.updatedAt,
|
|
188
|
+
};
|
|
189
|
+
}
|
|
190
|
+
|
|
@@ -0,0 +1,38 @@
|
|
|
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
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export const DatasetType = {
|
|
21
|
+
Upload: 'UPLOAD',
|
|
22
|
+
Public: 'PUBLIC'
|
|
23
|
+
} as const;
|
|
24
|
+
export type DatasetType = typeof DatasetType[keyof typeof DatasetType];
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
export function DatasetTypeFromJSON(json: any): DatasetType {
|
|
28
|
+
return DatasetTypeFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export function DatasetTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): DatasetType {
|
|
32
|
+
return json as DatasetType;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export function DatasetTypeToJSON(value?: DatasetType | null): any {
|
|
36
|
+
return value as any;
|
|
37
|
+
}
|
|
38
|
+
|
|
@@ -0,0 +1,39 @@
|
|
|
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
|
+
/**
|
|
17
|
+
* Process executor
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export const Executor = {
|
|
21
|
+
Ingest: 'INGEST',
|
|
22
|
+
Nextflow: 'NEXTFLOW',
|
|
23
|
+
Cromwell: 'CROMWELL'
|
|
24
|
+
} as const;
|
|
25
|
+
export type Executor = typeof Executor[keyof typeof Executor];
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
export function ExecutorFromJSON(json: any): Executor {
|
|
29
|
+
return ExecutorFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export function ExecutorFromJSONTyped(json: any, ignoreDiscriminator: boolean): Executor {
|
|
33
|
+
return json as Executor;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export function ExecutorToJSON(value?: Executor | null): any {
|
|
37
|
+
return value as any;
|
|
38
|
+
}
|
|
39
|
+
|
|
@@ -0,0 +1,73 @@
|
|
|
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 FormSchema
|
|
20
|
+
*/
|
|
21
|
+
export interface FormSchema {
|
|
22
|
+
/**
|
|
23
|
+
* JSONSchema representation of the pipeline parameters
|
|
24
|
+
* @type {{ [key: string]: any; }}
|
|
25
|
+
* @memberof FormSchema
|
|
26
|
+
*/
|
|
27
|
+
form?: { [key: string]: any; };
|
|
28
|
+
/**
|
|
29
|
+
* Describes how the form should be rendered, see rjsf
|
|
30
|
+
* @type {{ [key: string]: any; }}
|
|
31
|
+
* @memberof FormSchema
|
|
32
|
+
*/
|
|
33
|
+
ui?: { [key: string]: any; };
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the FormSchema interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfFormSchema(value: object): boolean {
|
|
40
|
+
let isInstance = true;
|
|
41
|
+
|
|
42
|
+
return isInstance;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function FormSchemaFromJSON(json: any): FormSchema {
|
|
46
|
+
return FormSchemaFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function FormSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): FormSchema {
|
|
50
|
+
if ((json === undefined) || (json === null)) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'form': !exists(json, 'form') ? undefined : json['form'],
|
|
56
|
+
'ui': !exists(json, 'ui') ? undefined : json['ui'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function FormSchemaToJSON(value?: FormSchema | null): any {
|
|
61
|
+
if (value === undefined) {
|
|
62
|
+
return undefined;
|
|
63
|
+
}
|
|
64
|
+
if (value === null) {
|
|
65
|
+
return null;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
|
|
69
|
+
'form': value.form,
|
|
70
|
+
'ui': value.ui,
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
@@ -0,0 +1,73 @@
|
|
|
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 { LogEntry } from './LogEntry';
|
|
17
|
+
import {
|
|
18
|
+
LogEntryFromJSON,
|
|
19
|
+
LogEntryFromJSONTyped,
|
|
20
|
+
LogEntryToJSON,
|
|
21
|
+
} from './LogEntry';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface GetExecutionLogsResponse
|
|
27
|
+
*/
|
|
28
|
+
export interface GetExecutionLogsResponse {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {Array<LogEntry>}
|
|
32
|
+
* @memberof GetExecutionLogsResponse
|
|
33
|
+
*/
|
|
34
|
+
events: Array<LogEntry>;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the GetExecutionLogsResponse interface.
|
|
39
|
+
*/
|
|
40
|
+
export function instanceOfGetExecutionLogsResponse(value: object): boolean {
|
|
41
|
+
let isInstance = true;
|
|
42
|
+
isInstance = isInstance && "events" in value;
|
|
43
|
+
|
|
44
|
+
return isInstance;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export function GetExecutionLogsResponseFromJSON(json: any): GetExecutionLogsResponse {
|
|
48
|
+
return GetExecutionLogsResponseFromJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export function GetExecutionLogsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetExecutionLogsResponse {
|
|
52
|
+
if ((json === undefined) || (json === null)) {
|
|
53
|
+
return json;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
|
|
57
|
+
'events': ((json['events'] as Array<any>).map(LogEntryFromJSON)),
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export function GetExecutionLogsResponseToJSON(value?: GetExecutionLogsResponse | null): any {
|
|
62
|
+
if (value === undefined) {
|
|
63
|
+
return undefined;
|
|
64
|
+
}
|
|
65
|
+
if (value === null) {
|
|
66
|
+
return null;
|
|
67
|
+
}
|
|
68
|
+
return {
|
|
69
|
+
|
|
70
|
+
'events': ((value.events as Array<any>).map(LogEntryToJSON)),
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
@@ -0,0 +1,74 @@
|
|
|
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 LogEntry
|
|
20
|
+
*/
|
|
21
|
+
export interface LogEntry {
|
|
22
|
+
/**
|
|
23
|
+
* UNIX timestamp in milliseconds, might be blank if we don't have this info
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof LogEntry
|
|
26
|
+
*/
|
|
27
|
+
timestamp?: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof LogEntry
|
|
32
|
+
*/
|
|
33
|
+
message: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the LogEntry interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfLogEntry(value: object): boolean {
|
|
40
|
+
let isInstance = true;
|
|
41
|
+
isInstance = isInstance && "message" in value;
|
|
42
|
+
|
|
43
|
+
return isInstance;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export function LogEntryFromJSON(json: any): LogEntry {
|
|
47
|
+
return LogEntryFromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export function LogEntryFromJSONTyped(json: any, ignoreDiscriminator: boolean): LogEntry {
|
|
51
|
+
if ((json === undefined) || (json === null)) {
|
|
52
|
+
return json;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
|
|
56
|
+
'timestamp': !exists(json, 'timestamp') ? undefined : json['timestamp'],
|
|
57
|
+
'message': json['message'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export function LogEntryToJSON(value?: LogEntry | null): any {
|
|
62
|
+
if (value === undefined) {
|
|
63
|
+
return undefined;
|
|
64
|
+
}
|
|
65
|
+
if (value === null) {
|
|
66
|
+
return null;
|
|
67
|
+
}
|
|
68
|
+
return {
|
|
69
|
+
|
|
70
|
+
'timestamp': value.timestamp,
|
|
71
|
+
'message': value.message,
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|