@cirrobio/api-client 0.0.10-alpha → 0.0.12-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.
Files changed (89) hide show
  1. package/.openapi-generator/FILES +7 -2
  2. package/README.md +1 -1
  3. package/dist/apis/BillingApi.d.ts +15 -2
  4. package/dist/apis/BillingApi.js +57 -3
  5. package/dist/apis/DashboardsApi.d.ts +88 -0
  6. package/dist/apis/DashboardsApi.js +374 -0
  7. package/dist/apis/DatasetsApi.d.ts +19 -5
  8. package/dist/apis/DatasetsApi.js +64 -4
  9. package/dist/apis/MetadataApi.d.ts +24 -1
  10. package/dist/apis/MetadataApi.js +112 -1
  11. package/dist/apis/NotebooksApi.d.ts +3 -3
  12. package/dist/apis/NotebooksApi.js +1 -7
  13. package/dist/apis/ProjectsApi.d.ts +13 -0
  14. package/dist/apis/ProjectsApi.js +53 -0
  15. package/dist/apis/index.d.ts +1 -0
  16. package/dist/apis/index.js +1 -0
  17. package/dist/models/BillingAccount.d.ts +6 -0
  18. package/dist/models/BillingAccount.js +3 -0
  19. package/dist/models/BudgetPeriod.d.ts +1 -1
  20. package/dist/models/BudgetPeriod.js +1 -1
  21. package/dist/models/CloudAccount.d.ts +3 -10
  22. package/dist/models/CloudAccount.js +0 -3
  23. package/dist/models/Contact.d.ts +4 -4
  24. package/dist/models/Contact.js +8 -5
  25. package/dist/models/CreateDashboardRequest.d.ts +31 -0
  26. package/dist/models/CreateDashboardRequest.js +50 -0
  27. package/dist/models/CustomPipelineSettings.d.ts +6 -6
  28. package/dist/models/CustomPipelineSettings.js +13 -8
  29. package/dist/models/CustomerType.d.ts +2 -4
  30. package/dist/models/CustomerType.js +2 -4
  31. package/dist/models/Dashboard.d.ts +77 -0
  32. package/dist/models/Dashboard.js +71 -0
  33. package/dist/models/DashboardRequest.d.ts +53 -0
  34. package/dist/models/DashboardRequest.js +59 -0
  35. package/dist/models/Dataset.d.ts +8 -7
  36. package/dist/models/Dataset.js +10 -9
  37. package/dist/models/DatasetDetail.d.ts +11 -10
  38. package/dist/models/DatasetDetail.js +13 -12
  39. package/dist/models/FormSchema.d.ts +1 -1
  40. package/dist/models/NotebookInstanceStatusResponse.d.ts +31 -0
  41. package/dist/models/NotebookInstanceStatusResponse.js +50 -0
  42. package/dist/models/PaginatedResponseDatasetListDto.d.ts +38 -0
  43. package/dist/models/PaginatedResponseDatasetListDto.js +54 -0
  44. package/dist/models/Project.d.ts +9 -2
  45. package/dist/models/Project.js +6 -2
  46. package/dist/models/ProjectDetail.d.ts +7 -6
  47. package/dist/models/ProjectDetail.js +7 -6
  48. package/dist/models/ProjectSettings.d.ts +26 -26
  49. package/dist/models/ProjectSettings.js +14 -26
  50. package/dist/models/RegisterDatasetRequest.d.ts +20 -2
  51. package/dist/models/RegisterDatasetRequest.js +11 -2
  52. package/dist/models/RegisterPublicDataRequest.d.ts +43 -0
  53. package/dist/models/RegisterPublicDataRequest.js +56 -0
  54. package/dist/models/Sample.d.ts +18 -0
  55. package/dist/models/Sample.js +9 -0
  56. package/dist/models/Status.d.ts +29 -0
  57. package/dist/models/Status.js +44 -0
  58. package/dist/models/index.d.ts +6 -2
  59. package/dist/models/index.js +6 -2
  60. package/package.json +1 -1
  61. package/src/apis/BillingApi.ts +46 -3
  62. package/src/apis/DashboardsApi.ts +287 -0
  63. package/src/apis/DatasetsApi.ts +64 -9
  64. package/src/apis/MetadataApi.ts +96 -1
  65. package/src/apis/NotebooksApi.ts +6 -7
  66. package/src/apis/ProjectsApi.ts +43 -0
  67. package/src/apis/index.ts +1 -0
  68. package/src/models/BillingAccount.ts +9 -0
  69. package/src/models/BudgetPeriod.ts +1 -1
  70. package/src/models/CloudAccount.ts +3 -18
  71. package/src/models/Contact.ts +12 -8
  72. package/src/models/CreateDashboardRequest.ts +65 -0
  73. package/src/models/CustomPipelineSettings.ts +19 -13
  74. package/src/models/CustomerType.ts +2 -4
  75. package/src/models/Dashboard.ts +129 -0
  76. package/src/models/DashboardRequest.ts +93 -0
  77. package/src/models/Dataset.ts +22 -16
  78. package/src/models/DatasetDetail.ts +28 -22
  79. package/src/models/FormSchema.ts +1 -1
  80. package/src/models/NotebookInstanceStatusResponse.ts +66 -0
  81. package/src/models/PaginatedResponseDatasetListDto.ts +82 -0
  82. package/src/models/Project.ts +19 -4
  83. package/src/models/ProjectDetail.ts +18 -12
  84. package/src/models/ProjectSettings.ts +39 -52
  85. package/src/models/RegisterDatasetRequest.ts +31 -4
  86. package/src/models/RegisterPublicDataRequest.ts +83 -0
  87. package/src/models/Sample.ts +27 -0
  88. package/src/models/Status.ts +43 -0
  89. package/src/models/index.ts +6 -2
@@ -24,37 +24,37 @@ export interface CustomPipelineSettings {
24
24
  * @type {string}
25
25
  * @memberof CustomPipelineSettings
26
26
  */
27
- repository?: string;
27
+ repository: string;
28
28
  /**
29
29
  *
30
30
  * @type {string}
31
31
  * @memberof CustomPipelineSettings
32
32
  */
33
- branch?: string;
33
+ branch: string;
34
34
  /**
35
35
  *
36
36
  * @type {string}
37
37
  * @memberof CustomPipelineSettings
38
38
  */
39
- folder?: string;
39
+ folder: string;
40
40
  /**
41
41
  *
42
42
  * @type {Date}
43
43
  * @memberof CustomPipelineSettings
44
44
  */
45
- lastSync?: Date;
45
+ lastSync: Date;
46
46
  /**
47
47
  *
48
48
  * @type {string}
49
49
  * @memberof CustomPipelineSettings
50
50
  */
51
- syncStatus?: string;
51
+ syncStatus: string;
52
52
  /**
53
53
  *
54
54
  * @type {string}
55
55
  * @memberof CustomPipelineSettings
56
56
  */
57
- commitHash?: string;
57
+ commitHash: string;
58
58
  }
59
59
 
60
60
  /**
@@ -62,6 +62,12 @@ export interface CustomPipelineSettings {
62
62
  */
63
63
  export function instanceOfCustomPipelineSettings(value: object): boolean {
64
64
  let isInstance = true;
65
+ isInstance = isInstance && "repository" in value;
66
+ isInstance = isInstance && "branch" in value;
67
+ isInstance = isInstance && "folder" in value;
68
+ isInstance = isInstance && "lastSync" in value;
69
+ isInstance = isInstance && "syncStatus" in value;
70
+ isInstance = isInstance && "commitHash" in value;
65
71
 
66
72
  return isInstance;
67
73
  }
@@ -76,12 +82,12 @@ export function CustomPipelineSettingsFromJSONTyped(json: any, ignoreDiscriminat
76
82
  }
77
83
  return {
78
84
 
79
- 'repository': !exists(json, 'repository') ? undefined : json['repository'],
80
- 'branch': !exists(json, 'branch') ? undefined : json['branch'],
81
- 'folder': !exists(json, 'folder') ? undefined : json['folder'],
82
- 'lastSync': !exists(json, 'lastSync') ? undefined : (new Date(json['lastSync'])),
83
- 'syncStatus': !exists(json, 'syncStatus') ? undefined : json['syncStatus'],
84
- 'commitHash': !exists(json, 'commitHash') ? undefined : json['commitHash'],
85
+ 'repository': json['repository'],
86
+ 'branch': json['branch'],
87
+ 'folder': json['folder'],
88
+ 'lastSync': (new Date(json['lastSync'])),
89
+ 'syncStatus': json['syncStatus'],
90
+ 'commitHash': json['commitHash'],
85
91
  };
86
92
  }
87
93
 
@@ -97,7 +103,7 @@ export function CustomPipelineSettingsToJSON(value?: CustomPipelineSettings | nu
97
103
  'repository': value.repository,
98
104
  'branch': value.branch,
99
105
  'folder': value.folder,
100
- 'lastSync': value.lastSync === undefined ? undefined : (value.lastSync.toISOString()),
106
+ 'lastSync': (value.lastSync.toISOString()),
101
107
  'syncStatus': value.syncStatus,
102
108
  'commitHash': value.commitHash,
103
109
  };
@@ -18,10 +18,8 @@
18
18
  * @enum {string}
19
19
  */
20
20
  export enum CustomerType {
21
- Free = 'FREE',
22
- Usage = 'USAGE',
23
- Marketplace = 'MARKETPLACE',
24
- Contract = 'CONTRACT'
21
+ Internal = 'INTERNAL',
22
+ External = 'EXTERNAL'
25
23
  }
26
24
 
27
25
 
@@ -0,0 +1,129 @@
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 Dashboard
20
+ */
21
+ export interface Dashboard {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof Dashboard
26
+ */
27
+ id: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof Dashboard
32
+ */
33
+ name: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof Dashboard
38
+ */
39
+ description: string;
40
+ /**
41
+ *
42
+ * @type {{ [key: string]: any; }}
43
+ * @memberof Dashboard
44
+ */
45
+ dashboardData: { [key: string]: any; };
46
+ /**
47
+ *
48
+ * @type {{ [key: string]: any; }}
49
+ * @memberof Dashboard
50
+ */
51
+ info: { [key: string]: any; };
52
+ /**
53
+ *
54
+ * @type {string}
55
+ * @memberof Dashboard
56
+ */
57
+ createdBy: string;
58
+ /**
59
+ *
60
+ * @type {Date}
61
+ * @memberof Dashboard
62
+ */
63
+ createdAt: Date;
64
+ /**
65
+ *
66
+ * @type {Date}
67
+ * @memberof Dashboard
68
+ */
69
+ updatedAt: Date;
70
+ }
71
+
72
+ /**
73
+ * Check if a given object implements the Dashboard interface.
74
+ */
75
+ export function instanceOfDashboard(value: object): boolean {
76
+ let isInstance = true;
77
+ isInstance = isInstance && "id" in value;
78
+ isInstance = isInstance && "name" in value;
79
+ isInstance = isInstance && "description" in value;
80
+ isInstance = isInstance && "dashboardData" in value;
81
+ isInstance = isInstance && "info" in value;
82
+ isInstance = isInstance && "createdBy" in value;
83
+ isInstance = isInstance && "createdAt" in value;
84
+ isInstance = isInstance && "updatedAt" in value;
85
+
86
+ return isInstance;
87
+ }
88
+
89
+ export function DashboardFromJSON(json: any): Dashboard {
90
+ return DashboardFromJSONTyped(json, false);
91
+ }
92
+
93
+ export function DashboardFromJSONTyped(json: any, ignoreDiscriminator: boolean): Dashboard {
94
+ if ((json === undefined) || (json === null)) {
95
+ return json;
96
+ }
97
+ return {
98
+
99
+ 'id': json['id'],
100
+ 'name': json['name'],
101
+ 'description': json['description'],
102
+ 'dashboardData': json['dashboardData'],
103
+ 'info': json['info'],
104
+ 'createdBy': json['createdBy'],
105
+ 'createdAt': (new Date(json['createdAt'])),
106
+ 'updatedAt': (new Date(json['updatedAt'])),
107
+ };
108
+ }
109
+
110
+ export function DashboardToJSON(value?: Dashboard | null): any {
111
+ if (value === undefined) {
112
+ return undefined;
113
+ }
114
+ if (value === null) {
115
+ return null;
116
+ }
117
+ return {
118
+
119
+ 'id': value.id,
120
+ 'name': value.name,
121
+ 'description': value.description,
122
+ 'dashboardData': value.dashboardData,
123
+ 'info': value.info,
124
+ 'createdBy': value.createdBy,
125
+ 'createdAt': (value.createdAt.toISOString()),
126
+ 'updatedAt': (value.updatedAt.toISOString()),
127
+ };
128
+ }
129
+
@@ -0,0 +1,93 @@
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 DashboardRequest
20
+ */
21
+ export interface DashboardRequest {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof DashboardRequest
26
+ */
27
+ name: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof DashboardRequest
32
+ */
33
+ description: string;
34
+ /**
35
+ *
36
+ * @type {{ [key: string]: any; }}
37
+ * @memberof DashboardRequest
38
+ */
39
+ dashboardData: { [key: string]: any; };
40
+ /**
41
+ *
42
+ * @type {{ [key: string]: any; }}
43
+ * @memberof DashboardRequest
44
+ */
45
+ info: { [key: string]: any; };
46
+ }
47
+
48
+ /**
49
+ * Check if a given object implements the DashboardRequest interface.
50
+ */
51
+ export function instanceOfDashboardRequest(value: object): boolean {
52
+ let isInstance = true;
53
+ isInstance = isInstance && "name" in value;
54
+ isInstance = isInstance && "description" in value;
55
+ isInstance = isInstance && "dashboardData" in value;
56
+ isInstance = isInstance && "info" in value;
57
+
58
+ return isInstance;
59
+ }
60
+
61
+ export function DashboardRequestFromJSON(json: any): DashboardRequest {
62
+ return DashboardRequestFromJSONTyped(json, false);
63
+ }
64
+
65
+ export function DashboardRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): DashboardRequest {
66
+ if ((json === undefined) || (json === null)) {
67
+ return json;
68
+ }
69
+ return {
70
+
71
+ 'name': json['name'],
72
+ 'description': json['description'],
73
+ 'dashboardData': json['dashboardData'],
74
+ 'info': json['info'],
75
+ };
76
+ }
77
+
78
+ export function DashboardRequestToJSON(value?: DashboardRequest | null): any {
79
+ if (value === undefined) {
80
+ return undefined;
81
+ }
82
+ if (value === null) {
83
+ return null;
84
+ }
85
+ return {
86
+
87
+ 'name': value.name,
88
+ 'description': value.description,
89
+ 'dashboardData': value.dashboardData,
90
+ 'info': value.info,
91
+ };
92
+ }
93
+
@@ -13,6 +13,12 @@
13
13
  */
14
14
 
15
15
  import { exists, mapValues } from '../runtime';
16
+ import type { Status } from './Status';
17
+ import {
18
+ StatusFromJSON,
19
+ StatusFromJSONTyped,
20
+ StatusToJSON,
21
+ } from './Status';
16
22
  import type { Tag } from './Tag';
17
23
  import {
18
24
  TagFromJSON,
@@ -43,7 +49,7 @@ export interface Dataset {
43
49
  * @type {string}
44
50
  * @memberof Dataset
45
51
  */
46
- desc: string;
52
+ description: string;
47
53
  /**
48
54
  *
49
55
  * @type {string}
@@ -58,10 +64,10 @@ export interface Dataset {
58
64
  sourceDatasets: Array<string>;
59
65
  /**
60
66
  *
61
- * @type {string}
67
+ * @type {Status}
62
68
  * @memberof Dataset
63
69
  */
64
- status: string;
70
+ status: Status;
65
71
  /**
66
72
  *
67
73
  * @type {Array<Tag>}
@@ -76,16 +82,16 @@ export interface Dataset {
76
82
  createdBy: string;
77
83
  /**
78
84
  *
79
- * @type {string}
85
+ * @type {Date}
80
86
  * @memberof Dataset
81
87
  */
82
- createdAt: string;
88
+ createdAt: Date;
83
89
  /**
84
90
  *
85
- * @type {string}
91
+ * @type {Date}
86
92
  * @memberof Dataset
87
93
  */
88
- updatedAt: string;
94
+ updatedAt: Date;
89
95
  }
90
96
 
91
97
  /**
@@ -95,7 +101,7 @@ export function instanceOfDataset(value: object): boolean {
95
101
  let isInstance = true;
96
102
  isInstance = isInstance && "id" in value;
97
103
  isInstance = isInstance && "name" in value;
98
- isInstance = isInstance && "desc" in value;
104
+ isInstance = isInstance && "description" in value;
99
105
  isInstance = isInstance && "processId" in value;
100
106
  isInstance = isInstance && "sourceDatasets" in value;
101
107
  isInstance = isInstance && "status" in value;
@@ -119,14 +125,14 @@ export function DatasetFromJSONTyped(json: any, ignoreDiscriminator: boolean): D
119
125
 
120
126
  'id': json['id'],
121
127
  'name': json['name'],
122
- 'desc': json['desc'],
128
+ 'description': json['description'],
123
129
  'processId': json['processId'],
124
130
  'sourceDatasets': json['sourceDatasets'],
125
- 'status': json['status'],
131
+ 'status': StatusFromJSON(json['status']),
126
132
  'tags': ((json['tags'] as Array<any>).map(TagFromJSON)),
127
133
  'createdBy': json['createdBy'],
128
- 'createdAt': json['createdAt'],
129
- 'updatedAt': json['updatedAt'],
134
+ 'createdAt': (new Date(json['createdAt'])),
135
+ 'updatedAt': (new Date(json['updatedAt'])),
130
136
  };
131
137
  }
132
138
 
@@ -141,14 +147,14 @@ export function DatasetToJSON(value?: Dataset | null): any {
141
147
 
142
148
  'id': value.id,
143
149
  'name': value.name,
144
- 'desc': value.desc,
150
+ 'description': value.description,
145
151
  'processId': value.processId,
146
152
  'sourceDatasets': value.sourceDatasets,
147
- 'status': value.status,
153
+ 'status': StatusToJSON(value.status),
148
154
  'tags': ((value.tags as Array<any>).map(TagToJSON)),
149
155
  'createdBy': value.createdBy,
150
- 'createdAt': value.createdAt,
151
- 'updatedAt': value.updatedAt,
156
+ 'createdAt': (value.createdAt.toISOString()),
157
+ 'updatedAt': (value.updatedAt.toISOString()),
152
158
  };
153
159
  }
154
160
 
@@ -13,6 +13,12 @@
13
13
  */
14
14
 
15
15
  import { exists, mapValues } from '../runtime';
16
+ import type { Status } from './Status';
17
+ import {
18
+ StatusFromJSON,
19
+ StatusFromJSONTyped,
20
+ StatusToJSON,
21
+ } from './Status';
16
22
  import type { Tag } from './Tag';
17
23
  import {
18
24
  TagFromJSON,
@@ -43,7 +49,7 @@ export interface DatasetDetail {
43
49
  * @type {string}
44
50
  * @memberof DatasetDetail
45
51
  */
46
- desc: string;
52
+ description: string;
47
53
  /**
48
54
  *
49
55
  * @type {string}
@@ -58,22 +64,22 @@ export interface DatasetDetail {
58
64
  processId: string;
59
65
  /**
60
66
  *
61
- * @type {string}
67
+ * @type {Array<string>}
62
68
  * @memberof DatasetDetail
63
69
  */
64
- processName: string;
70
+ sourceDatasets: Array<string>;
65
71
  /**
66
72
  *
67
- * @type {Array<string>}
73
+ * @type {Status}
68
74
  * @memberof DatasetDetail
69
75
  */
70
- sourceDatasets: Array<string>;
76
+ status: Status;
71
77
  /**
72
78
  *
73
79
  * @type {string}
74
80
  * @memberof DatasetDetail
75
81
  */
76
- status: string;
82
+ statusMessage: string;
77
83
  /**
78
84
  *
79
85
  * @type {Array<Tag>}
@@ -100,16 +106,16 @@ export interface DatasetDetail {
100
106
  createdBy: string;
101
107
  /**
102
108
  *
103
- * @type {string}
109
+ * @type {Date}
104
110
  * @memberof DatasetDetail
105
111
  */
106
- createdAt: string;
112
+ createdAt: Date;
107
113
  /**
108
114
  *
109
- * @type {string}
115
+ * @type {Date}
110
116
  * @memberof DatasetDetail
111
117
  */
112
- updatedAt: string;
118
+ updatedAt: Date;
113
119
  }
114
120
 
115
121
  /**
@@ -119,12 +125,12 @@ export function instanceOfDatasetDetail(value: object): boolean {
119
125
  let isInstance = true;
120
126
  isInstance = isInstance && "id" in value;
121
127
  isInstance = isInstance && "name" in value;
122
- isInstance = isInstance && "desc" in value;
128
+ isInstance = isInstance && "description" in value;
123
129
  isInstance = isInstance && "s3" in value;
124
130
  isInstance = isInstance && "processId" in value;
125
- isInstance = isInstance && "processName" in value;
126
131
  isInstance = isInstance && "sourceDatasets" in value;
127
132
  isInstance = isInstance && "status" in value;
133
+ isInstance = isInstance && "statusMessage" in value;
128
134
  isInstance = isInstance && "tags" in value;
129
135
  isInstance = isInstance && "params" in value;
130
136
  isInstance = isInstance && "info" in value;
@@ -147,18 +153,18 @@ export function DatasetDetailFromJSONTyped(json: any, ignoreDiscriminator: boole
147
153
 
148
154
  'id': json['id'],
149
155
  'name': json['name'],
150
- 'desc': json['desc'],
156
+ 'description': json['description'],
151
157
  's3': json['s3'],
152
158
  'processId': json['processId'],
153
- 'processName': json['processName'],
154
159
  'sourceDatasets': json['sourceDatasets'],
155
- 'status': json['status'],
160
+ 'status': StatusFromJSON(json['status']),
161
+ 'statusMessage': json['statusMessage'],
156
162
  'tags': ((json['tags'] as Array<any>).map(TagFromJSON)),
157
163
  'params': json['params'],
158
164
  'info': json['info'],
159
165
  'createdBy': json['createdBy'],
160
- 'createdAt': json['createdAt'],
161
- 'updatedAt': json['updatedAt'],
166
+ 'createdAt': (new Date(json['createdAt'])),
167
+ 'updatedAt': (new Date(json['updatedAt'])),
162
168
  };
163
169
  }
164
170
 
@@ -173,18 +179,18 @@ export function DatasetDetailToJSON(value?: DatasetDetail | null): any {
173
179
 
174
180
  'id': value.id,
175
181
  'name': value.name,
176
- 'desc': value.desc,
182
+ 'description': value.description,
177
183
  's3': value.s3,
178
184
  'processId': value.processId,
179
- 'processName': value.processName,
180
185
  'sourceDatasets': value.sourceDatasets,
181
- 'status': value.status,
186
+ 'status': StatusToJSON(value.status),
187
+ 'statusMessage': value.statusMessage,
182
188
  'tags': ((value.tags as Array<any>).map(TagToJSON)),
183
189
  'params': value.params,
184
190
  'info': value.info,
185
191
  'createdBy': value.createdBy,
186
- 'createdAt': value.createdAt,
187
- 'updatedAt': value.updatedAt,
192
+ 'createdAt': (value.createdAt.toISOString()),
193
+ 'updatedAt': (value.updatedAt.toISOString()),
188
194
  };
189
195
  }
190
196
 
@@ -20,7 +20,7 @@ import { exists, mapValues } from '../runtime';
20
20
  */
21
21
  export interface FormSchema {
22
22
  /**
23
- * JSONSchema representation of the pipeline parameters
23
+ * JSONSchema representation of the parameters
24
24
  * @type {{ [key: string]: any; }}
25
25
  * @memberof FormSchema
26
26
  */
@@ -0,0 +1,66 @@
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 NotebookInstanceStatusResponse
20
+ */
21
+ export interface NotebookInstanceStatusResponse {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof NotebookInstanceStatusResponse
26
+ */
27
+ status: string;
28
+ }
29
+
30
+ /**
31
+ * Check if a given object implements the NotebookInstanceStatusResponse interface.
32
+ */
33
+ export function instanceOfNotebookInstanceStatusResponse(value: object): boolean {
34
+ let isInstance = true;
35
+ isInstance = isInstance && "status" in value;
36
+
37
+ return isInstance;
38
+ }
39
+
40
+ export function NotebookInstanceStatusResponseFromJSON(json: any): NotebookInstanceStatusResponse {
41
+ return NotebookInstanceStatusResponseFromJSONTyped(json, false);
42
+ }
43
+
44
+ export function NotebookInstanceStatusResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): NotebookInstanceStatusResponse {
45
+ if ((json === undefined) || (json === null)) {
46
+ return json;
47
+ }
48
+ return {
49
+
50
+ 'status': json['status'],
51
+ };
52
+ }
53
+
54
+ export function NotebookInstanceStatusResponseToJSON(value?: NotebookInstanceStatusResponse | null): any {
55
+ if (value === undefined) {
56
+ return undefined;
57
+ }
58
+ if (value === null) {
59
+ return null;
60
+ }
61
+ return {
62
+
63
+ 'status': value.status,
64
+ };
65
+ }
66
+