@cirrobio/api-client 0.0.12-alpha → 0.0.14-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.
@@ -37,6 +37,12 @@ export interface Sample {
37
37
  * @memberof Sample
38
38
  */
39
39
  metadata: { [key: string]: any; };
40
+ /**
41
+ *
42
+ * @type {Array<string>}
43
+ * @memberof Sample
44
+ */
45
+ datasetIds: Array<string>;
40
46
  /**
41
47
  *
42
48
  * @type {Date}
@@ -59,6 +65,7 @@ export function instanceOfSample(value: object): boolean {
59
65
  isInstance = isInstance && "id" in value;
60
66
  isInstance = isInstance && "name" in value;
61
67
  isInstance = isInstance && "metadata" in value;
68
+ isInstance = isInstance && "datasetIds" in value;
62
69
  isInstance = isInstance && "createdAt" in value;
63
70
  isInstance = isInstance && "updatedAt" in value;
64
71
 
@@ -78,6 +85,7 @@ export function SampleFromJSONTyped(json: any, ignoreDiscriminator: boolean): Sa
78
85
  'id': json['id'],
79
86
  'name': json['name'],
80
87
  'metadata': json['metadata'],
88
+ 'datasetIds': json['datasetIds'],
81
89
  'createdAt': (new Date(json['createdAt'])),
82
90
  'updatedAt': (new Date(json['updatedAt'])),
83
91
  };
@@ -95,6 +103,7 @@ export function SampleToJSON(value?: Sample | null): any {
95
103
  'id': value.id,
96
104
  'name': value.name,
97
105
  'metadata': value.metadata,
106
+ 'datasetIds': value.datasetIds,
98
107
  'createdAt': (value.createdAt.toISOString()),
99
108
  'updatedAt': (value.updatedAt.toISOString()),
100
109
  };
@@ -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 SampleRequest
20
+ */
21
+ export interface SampleRequest {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof SampleRequest
26
+ */
27
+ name: string;
28
+ /**
29
+ *
30
+ * @type {{ [key: string]: any; }}
31
+ * @memberof SampleRequest
32
+ */
33
+ metadata: { [key: string]: any; };
34
+ }
35
+
36
+ /**
37
+ * Check if a given object implements the SampleRequest interface.
38
+ */
39
+ export function instanceOfSampleRequest(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 SampleRequestFromJSON(json: any): SampleRequest {
48
+ return SampleRequestFromJSONTyped(json, false);
49
+ }
50
+
51
+ export function SampleRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SampleRequest {
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 SampleRequestToJSON(value?: SampleRequest | 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
+
@@ -1,6 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  export * from './BillingAccount';
4
+ export * from './BillingAccountRequest';
4
5
  export * from './BillingMethod';
5
6
  export * from './BudgetPeriod';
6
7
  export * from './CloudAccount';
@@ -22,6 +23,7 @@ export * from './NotebookInstance';
22
23
  export * from './NotebookInstanceStatusResponse';
23
24
  export * from './OpenNotebookInstanceResponse';
24
25
  export * from './PaginatedResponseDatasetListDto';
26
+ export * from './PaginatedResponseSampleDto';
25
27
  export * from './Process';
26
28
  export * from './ProcessDetail';
27
29
  export * from './Project';
@@ -36,6 +38,7 @@ export * from './ReferenceType';
36
38
  export * from './RegisterDatasetRequest';
37
39
  export * from './RegisterPublicDataRequest';
38
40
  export * from './Sample';
41
+ export * from './SampleRequest';
39
42
  export * from './ServiceConnection';
40
43
  export * from './SetUserProjectRoleRequest';
41
44
  export * from './Status';