@cirrobio/api-client 0.0.3-alpha → 0.0.4-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 -0
- package/README.md +1 -1
- package/dist/apis/MetadataApi.d.ts +29 -0
- package/dist/apis/MetadataApi.js +133 -0
- package/dist/apis/NotebooksApi.js +6 -6
- package/dist/apis/ProcessesApi.d.ts +22 -6
- package/dist/apis/ProcessesApi.js +66 -7
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/CustomPipelineSettings.d.ts +61 -0
- package/dist/models/CustomPipelineSettings.js +60 -0
- package/dist/models/Process.d.ts +19 -1
- package/dist/models/Process.js +8 -1
- package/dist/models/ProcessDetail.d.ts +99 -0
- package/dist/models/ProcessDetail.js +85 -0
- package/dist/models/ProjectMetrics.d.ts +8 -6
- package/dist/models/ProjectMetrics.js +3 -4
- package/dist/models/ProjectSettings.d.ts +24 -0
- package/dist/models/ProjectSettings.js +8 -0
- package/dist/models/ReferenceType.d.ts +20 -0
- package/dist/models/ReferenceType.js +9 -0
- package/dist/models/Sample.d.ts +39 -0
- package/dist/models/Sample.js +53 -0
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/package.json +1 -1
- package/src/apis/MetadataApi.ts +72 -0
- package/src/apis/NotebooksApi.ts +6 -6
- package/src/apis/ProcessesApi.ts +63 -8
- package/src/apis/index.ts +1 -0
- package/src/models/CustomPipelineSettings.ts +105 -0
- package/src/models/Process.ts +27 -2
- package/src/models/ProcessDetail.ts +177 -0
- package/src/models/ProjectMetrics.ts +7 -9
- package/src/models/ProjectSettings.ts +32 -0
- package/src/models/ReferenceType.ts +27 -0
- package/src/models/Sample.ts +75 -0
- package/src/models/index.ts +3 -0
|
@@ -0,0 +1,75 @@
|
|
|
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 Sample
|
|
20
|
+
*/
|
|
21
|
+
export interface Sample {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof Sample
|
|
26
|
+
*/
|
|
27
|
+
name: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {{ [key: string]: any; }}
|
|
31
|
+
* @memberof Sample
|
|
32
|
+
*/
|
|
33
|
+
metadata: { [key: string]: any; };
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the Sample interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfSample(value: object): boolean {
|
|
40
|
+
let isInstance = true;
|
|
41
|
+
isInstance = isInstance && "name" in value;
|
|
42
|
+
isInstance = isInstance && "metadata" in value;
|
|
43
|
+
|
|
44
|
+
return isInstance;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export function SampleFromJSON(json: any): Sample {
|
|
48
|
+
return SampleFromJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export function SampleFromJSONTyped(json: any, ignoreDiscriminator: boolean): Sample {
|
|
52
|
+
if ((json === undefined) || (json === null)) {
|
|
53
|
+
return json;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
|
|
57
|
+
'name': json['name'],
|
|
58
|
+
'metadata': json['metadata'],
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export function SampleToJSON(value?: Sample | null): any {
|
|
63
|
+
if (value === undefined) {
|
|
64
|
+
return undefined;
|
|
65
|
+
}
|
|
66
|
+
if (value === null) {
|
|
67
|
+
return null;
|
|
68
|
+
}
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'name': value.name,
|
|
72
|
+
'metadata': value.metadata,
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -7,6 +7,7 @@ export * from './CloudAccount';
|
|
|
7
7
|
export * from './Contact';
|
|
8
8
|
export * from './CreateNotebookInstanceRequest';
|
|
9
9
|
export * from './CreateResponse';
|
|
10
|
+
export * from './CustomPipelineSettings';
|
|
10
11
|
export * from './CustomerType';
|
|
11
12
|
export * from './Dataset';
|
|
12
13
|
export * from './DatasetDetail';
|
|
@@ -18,6 +19,7 @@ export * from './LogEntry';
|
|
|
18
19
|
export * from './NotebookInstance';
|
|
19
20
|
export * from './OpenNotebookInstanceResponse';
|
|
20
21
|
export * from './Process';
|
|
22
|
+
export * from './ProcessDetail';
|
|
21
23
|
export * from './Project';
|
|
22
24
|
export * from './ProjectDetail';
|
|
23
25
|
export * from './ProjectMetrics';
|
|
@@ -27,6 +29,7 @@ export * from './ProjectSettings';
|
|
|
27
29
|
export * from './ReferenceType';
|
|
28
30
|
export * from './Region';
|
|
29
31
|
export * from './RegisterDatasetRequest';
|
|
32
|
+
export * from './Sample';
|
|
30
33
|
export * from './ServiceConnection';
|
|
31
34
|
export * from './SetUserProjectRoleRequest';
|
|
32
35
|
export * from './StopExecutionResponse';
|