@cirrobio/api-client 0.1.12 → 0.1.14

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 (246) hide show
  1. package/.openapi-generator/FILES +110 -110
  2. package/README.md +1 -1
  3. package/dist/apis/AuditApi.d.ts +60 -44
  4. package/dist/apis/AuditApi.js +194 -175
  5. package/dist/apis/BillingApi.d.ts +81 -81
  6. package/dist/apis/BillingApi.js +354 -354
  7. package/dist/apis/DashboardsApi.d.ts +88 -88
  8. package/dist/apis/DashboardsApi.js +374 -374
  9. package/dist/apis/DatasetsApi.d.ts +162 -162
  10. package/dist/apis/DatasetsApi.js +670 -670
  11. package/dist/apis/ExecutionApi.d.ts +110 -110
  12. package/dist/apis/ExecutionApi.js +442 -442
  13. package/dist/apis/FileApi.d.ts +46 -46
  14. package/dist/apis/FileApi.js +200 -200
  15. package/dist/apis/MetadataApi.d.ts +71 -71
  16. package/dist/apis/MetadataApi.js +313 -313
  17. package/dist/apis/MetricsApi.d.ts +41 -41
  18. package/dist/apis/MetricsApi.js +187 -187
  19. package/dist/apis/NotebooksApi.d.ts +101 -101
  20. package/dist/apis/NotebooksApi.js +423 -423
  21. package/dist/apis/ProcessesApi.d.ts +153 -138
  22. package/dist/apis/ProcessesApi.js +654 -589
  23. package/dist/apis/ProjectsApi.d.ts +189 -189
  24. package/dist/apis/ProjectsApi.js +815 -815
  25. package/dist/apis/ReferencesApi.d.ts +91 -91
  26. package/dist/apis/ReferencesApi.js +405 -405
  27. package/dist/apis/SystemApi.d.ts +36 -36
  28. package/dist/apis/SystemApi.js +182 -182
  29. package/dist/apis/UsersApi.d.ts +84 -84
  30. package/dist/apis/UsersApi.js +363 -363
  31. package/dist/apis/index.d.ts +14 -14
  32. package/dist/apis/index.js +32 -32
  33. package/dist/index.d.ts +3 -3
  34. package/dist/index.js +21 -21
  35. package/dist/models/AWSCredentials.d.ts +55 -55
  36. package/dist/models/AWSCredentials.js +62 -62
  37. package/dist/models/AccessType.d.ts +25 -25
  38. package/dist/models/AccessType.js +40 -40
  39. package/dist/models/AllowedDataType.d.ts +44 -44
  40. package/dist/models/AllowedDataType.js +57 -57
  41. package/dist/models/ApproveAccessRequest.d.ts +32 -32
  42. package/dist/models/ApproveAccessRequest.js +51 -51
  43. package/dist/models/ApproveProjectAccessRequest.d.ts +32 -32
  44. package/dist/models/ApproveProjectAccessRequest.js +51 -51
  45. package/dist/models/AuditEvent.d.ts +89 -89
  46. package/dist/models/AuditEvent.js +68 -68
  47. package/dist/models/AuthInfo.d.ts +49 -49
  48. package/dist/models/AuthInfo.js +59 -59
  49. package/dist/models/BillingAccount.d.ts +88 -88
  50. package/dist/models/BillingAccount.js +80 -80
  51. package/dist/models/BillingAccountRequest.d.ts +70 -70
  52. package/dist/models/BillingAccountRequest.js +71 -71
  53. package/dist/models/BillingMethod.d.ts +24 -24
  54. package/dist/models/BillingMethod.js +39 -39
  55. package/dist/models/BudgetPeriod.d.ts +24 -24
  56. package/dist/models/BudgetPeriod.js +39 -39
  57. package/dist/models/CloudAccount.d.ts +50 -50
  58. package/dist/models/CloudAccount.js +58 -58
  59. package/dist/models/CloudAccountType.d.ts +23 -23
  60. package/dist/models/CloudAccountType.js +38 -38
  61. package/dist/models/ColumnDefinition.d.ts +43 -43
  62. package/dist/models/ColumnDefinition.js +54 -54
  63. package/dist/models/Contact.d.ts +49 -49
  64. package/dist/models/Contact.js +59 -59
  65. package/dist/models/CreateNotebookInstanceRequest.d.ts +49 -49
  66. package/dist/models/CreateNotebookInstanceRequest.js +59 -59
  67. package/dist/models/CreateProjectAccessRequest.d.ts +38 -38
  68. package/dist/models/CreateProjectAccessRequest.js +54 -54
  69. package/dist/models/CreateReferenceRequest.d.ts +49 -49
  70. package/dist/models/CreateReferenceRequest.js +59 -59
  71. package/dist/models/CreateResponse.d.ts +37 -37
  72. package/dist/models/CreateResponse.js +53 -53
  73. package/dist/models/CustomPipelineSettings.d.ts +68 -62
  74. package/dist/models/CustomPipelineSettings.js +64 -62
  75. package/dist/models/CustomerType.d.ts +24 -24
  76. package/dist/models/CustomerType.js +39 -39
  77. package/dist/models/Dashboard.d.ts +83 -83
  78. package/dist/models/Dashboard.js +74 -74
  79. package/dist/models/DashboardRequest.d.ts +59 -59
  80. package/dist/models/DashboardRequest.js +62 -62
  81. package/dist/models/Dataset.d.ts +93 -93
  82. package/dist/models/Dataset.js +82 -82
  83. package/dist/models/DatasetAssetsManifest.d.ts +58 -58
  84. package/dist/models/DatasetAssetsManifest.js +61 -61
  85. package/dist/models/DatasetDetail.d.ts +121 -121
  86. package/dist/models/DatasetDetail.js +94 -94
  87. package/dist/models/DatasetViz.d.ts +49 -49
  88. package/dist/models/DatasetViz.js +56 -56
  89. package/dist/models/ErrorMessage.d.ts +31 -31
  90. package/dist/models/ErrorMessage.js +50 -50
  91. package/dist/models/Executor.d.ts +25 -25
  92. package/dist/models/Executor.js +40 -40
  93. package/dist/models/FileAccessRequest.d.ts +44 -44
  94. package/dist/models/FileAccessRequest.js +56 -56
  95. package/dist/models/FileEntry.d.ts +45 -45
  96. package/dist/models/FileEntry.js +54 -54
  97. package/dist/models/FileMappingRule.d.ts +56 -56
  98. package/dist/models/FileMappingRule.js +61 -61
  99. package/dist/models/FileNamePattern.d.ts +43 -43
  100. package/dist/models/FileNamePattern.js +56 -56
  101. package/dist/models/FileRequirements.d.ts +44 -44
  102. package/dist/models/FileRequirements.js +57 -57
  103. package/dist/models/FormSchema.d.ts +41 -41
  104. package/dist/models/FormSchema.js +52 -52
  105. package/dist/models/GenerateSftpCredentialsRequest.d.ts +31 -31
  106. package/dist/models/GenerateSftpCredentialsRequest.js +50 -50
  107. package/dist/models/GetExecutionLogsResponse.d.ts +32 -32
  108. package/dist/models/GetExecutionLogsResponse.js +51 -51
  109. package/dist/models/ImportDataRequest.d.ts +43 -43
  110. package/dist/models/ImportDataRequest.js +56 -56
  111. package/dist/models/InviteUserRequest.d.ts +43 -43
  112. package/dist/models/InviteUserRequest.js +56 -56
  113. package/dist/models/InviteUserResponse.d.ts +31 -31
  114. package/dist/models/InviteUserResponse.js +50 -50
  115. package/dist/models/LogEntry.d.ts +37 -37
  116. package/dist/models/LogEntry.js +53 -53
  117. package/dist/models/LoginProvider.d.ts +49 -49
  118. package/dist/models/LoginProvider.js +59 -59
  119. package/dist/models/MetricRecord.d.ts +45 -45
  120. package/dist/models/MetricRecord.js +55 -55
  121. package/dist/models/NotebookInstance.d.ts +86 -86
  122. package/dist/models/NotebookInstance.js +78 -78
  123. package/dist/models/NotebookInstanceStatusResponse.d.ts +37 -37
  124. package/dist/models/NotebookInstanceStatusResponse.js +53 -53
  125. package/dist/models/OpenNotebookInstanceResponse.d.ts +37 -37
  126. package/dist/models/OpenNotebookInstanceResponse.js +53 -53
  127. package/dist/models/PaginatedResponseDatasetListDto.d.ts +38 -38
  128. package/dist/models/PaginatedResponseDatasetListDto.js +54 -54
  129. package/dist/models/PaginatedResponseSampleDto.d.ts +38 -38
  130. package/dist/models/PaginatedResponseSampleDto.js +54 -54
  131. package/dist/models/PipelineCode.d.ts +50 -50
  132. package/dist/models/PipelineCode.js +60 -60
  133. package/dist/models/PipelineCost.d.ts +43 -43
  134. package/dist/models/PipelineCost.js +54 -54
  135. package/dist/models/PortalErrorResponse.d.ts +50 -50
  136. package/dist/models/PortalErrorResponse.js +60 -60
  137. package/dist/models/Process.d.ts +104 -104
  138. package/dist/models/Process.js +78 -78
  139. package/dist/models/ProcessDetail.d.ts +125 -125
  140. package/dist/models/ProcessDetail.js +91 -91
  141. package/dist/models/Project.d.ts +63 -63
  142. package/dist/models/Project.js +67 -67
  143. package/dist/models/ProjectAccessRequest.d.ts +81 -75
  144. package/dist/models/ProjectAccessRequest.js +76 -73
  145. package/dist/models/ProjectDetail.d.ts +101 -101
  146. package/dist/models/ProjectDetail.js +87 -87
  147. package/dist/models/ProjectMetrics.d.ts +44 -44
  148. package/dist/models/ProjectMetrics.js +56 -56
  149. package/dist/models/ProjectRequest.d.ts +71 -71
  150. package/dist/models/ProjectRequest.js +71 -71
  151. package/dist/models/ProjectRole.d.ts +25 -25
  152. package/dist/models/ProjectRole.js +40 -40
  153. package/dist/models/ProjectSettings.d.ts +122 -122
  154. package/dist/models/ProjectSettings.js +83 -83
  155. package/dist/models/ProjectUser.d.ts +62 -62
  156. package/dist/models/ProjectUser.js +66 -66
  157. package/dist/models/Reference.d.ts +68 -68
  158. package/dist/models/Reference.js +69 -69
  159. package/dist/models/ReferenceType.d.ts +51 -51
  160. package/dist/models/ReferenceType.js +59 -59
  161. package/dist/models/RepositoryType.d.ts +25 -25
  162. package/dist/models/RepositoryType.js +40 -40
  163. package/dist/models/RequestStatus.d.ts +24 -24
  164. package/dist/models/RequestStatus.js +39 -39
  165. package/dist/models/ResourcesInfo.d.ts +49 -49
  166. package/dist/models/ResourcesInfo.js +59 -59
  167. package/dist/models/RunAnalysisRequest.d.ts +69 -69
  168. package/dist/models/RunAnalysisRequest.js +67 -67
  169. package/dist/models/Sample.d.ts +63 -63
  170. package/dist/models/Sample.js +62 -62
  171. package/dist/models/SampleRequest.d.ts +39 -39
  172. package/dist/models/SampleRequest.js +53 -53
  173. package/dist/models/ServiceConnection.d.ts +37 -37
  174. package/dist/models/ServiceConnection.js +53 -53
  175. package/dist/models/SetUserProjectRoleRequest.d.ts +44 -44
  176. package/dist/models/SetUserProjectRoleRequest.js +57 -57
  177. package/dist/models/SftpCredentials.d.ts +49 -49
  178. package/dist/models/SftpCredentials.js +59 -59
  179. package/dist/models/Status.d.ts +30 -30
  180. package/dist/models/Status.js +45 -45
  181. package/dist/models/StopExecutionResponse.d.ts +37 -37
  182. package/dist/models/StopExecutionResponse.js +52 -52
  183. package/dist/models/SyncStatus.d.ts +23 -23
  184. package/dist/models/SyncStatus.js +38 -38
  185. package/dist/models/SystemInfoResponse.d.ts +94 -94
  186. package/dist/models/SystemInfoResponse.js +83 -83
  187. package/dist/models/Table.d.ts +62 -62
  188. package/dist/models/Table.js +62 -62
  189. package/dist/models/Tag.d.ts +43 -43
  190. package/dist/models/Tag.js +56 -56
  191. package/dist/models/Task.d.ts +73 -73
  192. package/dist/models/Task.js +68 -68
  193. package/dist/models/TenantInfo.d.ts +80 -80
  194. package/dist/models/TenantInfo.js +75 -75
  195. package/dist/models/UpdateDatasetRequest.d.ts +50 -50
  196. package/dist/models/UpdateDatasetRequest.js +60 -60
  197. package/dist/models/UpdateUserRequest.d.ts +69 -69
  198. package/dist/models/UpdateUserRequest.js +64 -64
  199. package/dist/models/UploadDatasetCreateResponse.d.ts +43 -43
  200. package/dist/models/UploadDatasetCreateResponse.js +56 -56
  201. package/dist/models/UploadDatasetRequest.d.ts +49 -49
  202. package/dist/models/UploadDatasetRequest.js +59 -59
  203. package/dist/models/User.d.ts +49 -49
  204. package/dist/models/User.js +59 -59
  205. package/dist/models/UserDetail.d.ts +86 -86
  206. package/dist/models/UserDetail.js +78 -78
  207. package/dist/models/UserProjectAssignment.d.ts +50 -50
  208. package/dist/models/UserProjectAssignment.js +60 -60
  209. package/dist/models/ValidateFileRequirementsRequest.d.ts +37 -37
  210. package/dist/models/ValidateFileRequirementsRequest.js +53 -53
  211. package/dist/models/index.d.ts +87 -87
  212. package/dist/models/index.js +105 -105
  213. package/dist/runtime.d.ts +182 -182
  214. package/dist/runtime.js +562 -562
  215. package/package.json +1 -1
  216. package/src/apis/AuditApi.ts +27 -6
  217. package/src/apis/ProcessesApi.ts +61 -0
  218. package/src/models/ApproveAccessRequest.ts +73 -73
  219. package/src/models/CustomPipelineSettings.ts +8 -0
  220. package/src/models/ProjectAccessRequest.ts +9 -0
  221. package/dist/models/CreateDashboardRequest.d.ts +0 -31
  222. package/dist/models/CreateDashboardRequest.js +0 -50
  223. package/dist/models/CustomPipelineSettingsDto1.d.ts +0 -61
  224. package/dist/models/CustomPipelineSettingsDto1.js +0 -65
  225. package/dist/models/CustomProcessRequest.d.ts +0 -99
  226. package/dist/models/CustomProcessRequest.js +0 -83
  227. package/dist/models/CustomProcessRequestPipelineCode.d.ts +0 -50
  228. package/dist/models/CustomProcessRequestPipelineCode.js +0 -58
  229. package/dist/models/DatasetFile.d.ts +0 -45
  230. package/dist/models/DatasetFile.js +0 -54
  231. package/dist/models/DatasetType.d.ts +0 -23
  232. package/dist/models/DatasetType.js +0 -38
  233. package/dist/models/ProcessDetailAllOfPipelineCode.d.ts +0 -50
  234. package/dist/models/ProcessDetailAllOfPipelineCode.js +0 -58
  235. package/dist/models/Region.d.ts +0 -31
  236. package/dist/models/Region.js +0 -50
  237. package/dist/models/RegisterDatasetRequest.d.ts +0 -49
  238. package/dist/models/RegisterDatasetRequest.js +0 -59
  239. package/dist/models/RegisterPublicDataRequest.d.ts +0 -43
  240. package/dist/models/RegisterPublicDataRequest.js +0 -56
  241. package/dist/models/S3Credentials.d.ts +0 -55
  242. package/dist/models/S3Credentials.js +0 -62
  243. package/dist/models/ValidateDataInputsRequest.d.ts +0 -37
  244. package/dist/models/ValidateDataInputsRequest.js +0 -53
  245. package/dist/models/ValidateDataInputsResponse.d.ts +0 -44
  246. package/dist/models/ValidateDataInputsResponse.js +0 -57
@@ -1,63 +1,63 @@
1
- /**
2
- * Cirro Data
3
- * Cirro Data Platform service API
4
- *
5
- * The version of the OpenAPI document: latest
6
- * Contact: support@cirro.bio
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface Sample
16
- */
17
- export interface Sample {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof Sample
22
- */
23
- id: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof Sample
28
- */
29
- name: string;
30
- /**
31
- *
32
- * @type {{ [key: string]: any; }}
33
- * @memberof Sample
34
- */
35
- metadata?: {
36
- [key: string]: any;
37
- } | null;
38
- /**
39
- *
40
- * @type {Array<string>}
41
- * @memberof Sample
42
- */
43
- datasetIds?: Array<string> | null;
44
- /**
45
- *
46
- * @type {Date}
47
- * @memberof Sample
48
- */
49
- createdAt?: Date | null;
50
- /**
51
- *
52
- * @type {Date}
53
- * @memberof Sample
54
- */
55
- updatedAt?: Date | null;
56
- }
57
- /**
58
- * Check if a given object implements the Sample interface.
59
- */
60
- export declare function instanceOfSample(value: object): boolean;
61
- export declare function SampleFromJSON(json: any): Sample;
62
- export declare function SampleFromJSONTyped(json: any, ignoreDiscriminator: boolean): Sample;
63
- export declare function SampleToJSON(value?: Sample | null): any;
1
+ /**
2
+ * Cirro Data
3
+ * Cirro Data Platform service API
4
+ *
5
+ * The version of the OpenAPI document: latest
6
+ * Contact: support@cirro.bio
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface Sample
16
+ */
17
+ export interface Sample {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof Sample
22
+ */
23
+ id: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof Sample
28
+ */
29
+ name: string;
30
+ /**
31
+ *
32
+ * @type {{ [key: string]: any; }}
33
+ * @memberof Sample
34
+ */
35
+ metadata?: {
36
+ [key: string]: any;
37
+ } | null;
38
+ /**
39
+ *
40
+ * @type {Array<string>}
41
+ * @memberof Sample
42
+ */
43
+ datasetIds?: Array<string> | null;
44
+ /**
45
+ *
46
+ * @type {Date}
47
+ * @memberof Sample
48
+ */
49
+ createdAt?: Date | null;
50
+ /**
51
+ *
52
+ * @type {Date}
53
+ * @memberof Sample
54
+ */
55
+ updatedAt?: Date | null;
56
+ }
57
+ /**
58
+ * Check if a given object implements the Sample interface.
59
+ */
60
+ export declare function instanceOfSample(value: object): boolean;
61
+ export declare function SampleFromJSON(json: any): Sample;
62
+ export declare function SampleFromJSONTyped(json: any, ignoreDiscriminator: boolean): Sample;
63
+ export declare function SampleToJSON(value?: Sample | null): any;
@@ -1,62 +1,62 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Cirro Data
6
- * Cirro Data Platform service API
7
- *
8
- * The version of the OpenAPI document: latest
9
- * Contact: support@cirro.bio
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.SampleToJSON = exports.SampleFromJSONTyped = exports.SampleFromJSON = exports.instanceOfSample = void 0;
17
- var runtime_1 = require("../runtime");
18
- /**
19
- * Check if a given object implements the Sample interface.
20
- */
21
- function instanceOfSample(value) {
22
- var isInstance = true;
23
- isInstance = isInstance && "id" in value;
24
- isInstance = isInstance && "name" in value;
25
- return isInstance;
26
- }
27
- exports.instanceOfSample = instanceOfSample;
28
- function SampleFromJSON(json) {
29
- return SampleFromJSONTyped(json, false);
30
- }
31
- exports.SampleFromJSON = SampleFromJSON;
32
- function SampleFromJSONTyped(json, ignoreDiscriminator) {
33
- if ((json === undefined) || (json === null)) {
34
- return json;
35
- }
36
- return {
37
- 'id': json['id'],
38
- 'name': json['name'],
39
- 'metadata': !(0, runtime_1.exists)(json, 'metadata') ? undefined : json['metadata'],
40
- 'datasetIds': !(0, runtime_1.exists)(json, 'datasetIds') ? undefined : json['datasetIds'],
41
- 'createdAt': !(0, runtime_1.exists)(json, 'createdAt') ? undefined : (json['createdAt'] === null ? null : new Date(json['createdAt'])),
42
- 'updatedAt': !(0, runtime_1.exists)(json, 'updatedAt') ? undefined : (json['updatedAt'] === null ? null : new Date(json['updatedAt'])),
43
- };
44
- }
45
- exports.SampleFromJSONTyped = SampleFromJSONTyped;
46
- function SampleToJSON(value) {
47
- if (value === undefined) {
48
- return undefined;
49
- }
50
- if (value === null) {
51
- return null;
52
- }
53
- return {
54
- 'id': value.id,
55
- 'name': value.name,
56
- 'metadata': value.metadata,
57
- 'datasetIds': value.datasetIds,
58
- 'createdAt': value.createdAt === undefined ? undefined : (value.createdAt === null ? null : value.createdAt.toISOString()),
59
- 'updatedAt': value.updatedAt === undefined ? undefined : (value.updatedAt === null ? null : value.updatedAt.toISOString()),
60
- };
61
- }
62
- exports.SampleToJSON = SampleToJSON;
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Cirro Data
6
+ * Cirro Data Platform service API
7
+ *
8
+ * The version of the OpenAPI document: latest
9
+ * Contact: support@cirro.bio
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.SampleToJSON = exports.SampleFromJSONTyped = exports.SampleFromJSON = exports.instanceOfSample = void 0;
17
+ var runtime_1 = require("../runtime");
18
+ /**
19
+ * Check if a given object implements the Sample interface.
20
+ */
21
+ function instanceOfSample(value) {
22
+ var isInstance = true;
23
+ isInstance = isInstance && "id" in value;
24
+ isInstance = isInstance && "name" in value;
25
+ return isInstance;
26
+ }
27
+ exports.instanceOfSample = instanceOfSample;
28
+ function SampleFromJSON(json) {
29
+ return SampleFromJSONTyped(json, false);
30
+ }
31
+ exports.SampleFromJSON = SampleFromJSON;
32
+ function SampleFromJSONTyped(json, ignoreDiscriminator) {
33
+ if ((json === undefined) || (json === null)) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'id': json['id'],
38
+ 'name': json['name'],
39
+ 'metadata': !(0, runtime_1.exists)(json, 'metadata') ? undefined : json['metadata'],
40
+ 'datasetIds': !(0, runtime_1.exists)(json, 'datasetIds') ? undefined : json['datasetIds'],
41
+ 'createdAt': !(0, runtime_1.exists)(json, 'createdAt') ? undefined : (json['createdAt'] === null ? null : new Date(json['createdAt'])),
42
+ 'updatedAt': !(0, runtime_1.exists)(json, 'updatedAt') ? undefined : (json['updatedAt'] === null ? null : new Date(json['updatedAt'])),
43
+ };
44
+ }
45
+ exports.SampleFromJSONTyped = SampleFromJSONTyped;
46
+ function SampleToJSON(value) {
47
+ if (value === undefined) {
48
+ return undefined;
49
+ }
50
+ if (value === null) {
51
+ return null;
52
+ }
53
+ return {
54
+ 'id': value.id,
55
+ 'name': value.name,
56
+ 'metadata': value.metadata,
57
+ 'datasetIds': value.datasetIds,
58
+ 'createdAt': value.createdAt === undefined ? undefined : (value.createdAt === null ? null : value.createdAt.toISOString()),
59
+ 'updatedAt': value.updatedAt === undefined ? undefined : (value.updatedAt === null ? null : value.updatedAt.toISOString()),
60
+ };
61
+ }
62
+ exports.SampleToJSON = SampleToJSON;
@@ -1,39 +1,39 @@
1
- /**
2
- * Cirro Data
3
- * Cirro Data Platform service API
4
- *
5
- * The version of the OpenAPI document: latest
6
- * Contact: support@cirro.bio
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface SampleRequest
16
- */
17
- export interface SampleRequest {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof SampleRequest
22
- */
23
- name: string;
24
- /**
25
- *
26
- * @type {{ [key: string]: any; }}
27
- * @memberof SampleRequest
28
- */
29
- metadata: {
30
- [key: string]: any;
31
- };
32
- }
33
- /**
34
- * Check if a given object implements the SampleRequest interface.
35
- */
36
- export declare function instanceOfSampleRequest(value: object): boolean;
37
- export declare function SampleRequestFromJSON(json: any): SampleRequest;
38
- export declare function SampleRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SampleRequest;
39
- export declare function SampleRequestToJSON(value?: SampleRequest | null): any;
1
+ /**
2
+ * Cirro Data
3
+ * Cirro Data Platform service API
4
+ *
5
+ * The version of the OpenAPI document: latest
6
+ * Contact: support@cirro.bio
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface SampleRequest
16
+ */
17
+ export interface SampleRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof SampleRequest
22
+ */
23
+ name: string;
24
+ /**
25
+ *
26
+ * @type {{ [key: string]: any; }}
27
+ * @memberof SampleRequest
28
+ */
29
+ metadata: {
30
+ [key: string]: any;
31
+ };
32
+ }
33
+ /**
34
+ * Check if a given object implements the SampleRequest interface.
35
+ */
36
+ export declare function instanceOfSampleRequest(value: object): boolean;
37
+ export declare function SampleRequestFromJSON(json: any): SampleRequest;
38
+ export declare function SampleRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SampleRequest;
39
+ export declare function SampleRequestToJSON(value?: SampleRequest | null): any;
@@ -1,53 +1,53 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Cirro Data
6
- * Cirro Data Platform service API
7
- *
8
- * The version of the OpenAPI document: latest
9
- * Contact: support@cirro.bio
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.SampleRequestToJSON = exports.SampleRequestFromJSONTyped = exports.SampleRequestFromJSON = exports.instanceOfSampleRequest = void 0;
17
- /**
18
- * Check if a given object implements the SampleRequest interface.
19
- */
20
- function instanceOfSampleRequest(value) {
21
- var isInstance = true;
22
- isInstance = isInstance && "name" in value;
23
- isInstance = isInstance && "metadata" in value;
24
- return isInstance;
25
- }
26
- exports.instanceOfSampleRequest = instanceOfSampleRequest;
27
- function SampleRequestFromJSON(json) {
28
- return SampleRequestFromJSONTyped(json, false);
29
- }
30
- exports.SampleRequestFromJSON = SampleRequestFromJSON;
31
- function SampleRequestFromJSONTyped(json, ignoreDiscriminator) {
32
- if ((json === undefined) || (json === null)) {
33
- return json;
34
- }
35
- return {
36
- 'name': json['name'],
37
- 'metadata': json['metadata'],
38
- };
39
- }
40
- exports.SampleRequestFromJSONTyped = SampleRequestFromJSONTyped;
41
- function SampleRequestToJSON(value) {
42
- if (value === undefined) {
43
- return undefined;
44
- }
45
- if (value === null) {
46
- return null;
47
- }
48
- return {
49
- 'name': value.name,
50
- 'metadata': value.metadata,
51
- };
52
- }
53
- exports.SampleRequestToJSON = SampleRequestToJSON;
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Cirro Data
6
+ * Cirro Data Platform service API
7
+ *
8
+ * The version of the OpenAPI document: latest
9
+ * Contact: support@cirro.bio
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.SampleRequestToJSON = exports.SampleRequestFromJSONTyped = exports.SampleRequestFromJSON = exports.instanceOfSampleRequest = void 0;
17
+ /**
18
+ * Check if a given object implements the SampleRequest interface.
19
+ */
20
+ function instanceOfSampleRequest(value) {
21
+ var isInstance = true;
22
+ isInstance = isInstance && "name" in value;
23
+ isInstance = isInstance && "metadata" in value;
24
+ return isInstance;
25
+ }
26
+ exports.instanceOfSampleRequest = instanceOfSampleRequest;
27
+ function SampleRequestFromJSON(json) {
28
+ return SampleRequestFromJSONTyped(json, false);
29
+ }
30
+ exports.SampleRequestFromJSON = SampleRequestFromJSON;
31
+ function SampleRequestFromJSONTyped(json, ignoreDiscriminator) {
32
+ if ((json === undefined) || (json === null)) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'name': json['name'],
37
+ 'metadata': json['metadata'],
38
+ };
39
+ }
40
+ exports.SampleRequestFromJSONTyped = SampleRequestFromJSONTyped;
41
+ function SampleRequestToJSON(value) {
42
+ if (value === undefined) {
43
+ return undefined;
44
+ }
45
+ if (value === null) {
46
+ return null;
47
+ }
48
+ return {
49
+ 'name': value.name,
50
+ 'metadata': value.metadata,
51
+ };
52
+ }
53
+ exports.SampleRequestToJSON = SampleRequestToJSON;
@@ -1,37 +1,37 @@
1
- /**
2
- * Cirro Data
3
- * Cirro Data Platform service API
4
- *
5
- * The version of the OpenAPI document: latest
6
- * Contact: support@cirro.bio
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface ServiceConnection
16
- */
17
- export interface ServiceConnection {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof ServiceConnection
22
- */
23
- name: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof ServiceConnection
28
- */
29
- description: string;
30
- }
31
- /**
32
- * Check if a given object implements the ServiceConnection interface.
33
- */
34
- export declare function instanceOfServiceConnection(value: object): boolean;
35
- export declare function ServiceConnectionFromJSON(json: any): ServiceConnection;
36
- export declare function ServiceConnectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): ServiceConnection;
37
- export declare function ServiceConnectionToJSON(value?: ServiceConnection | null): any;
1
+ /**
2
+ * Cirro Data
3
+ * Cirro Data Platform service API
4
+ *
5
+ * The version of the OpenAPI document: latest
6
+ * Contact: support@cirro.bio
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface ServiceConnection
16
+ */
17
+ export interface ServiceConnection {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ServiceConnection
22
+ */
23
+ name: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof ServiceConnection
28
+ */
29
+ description: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the ServiceConnection interface.
33
+ */
34
+ export declare function instanceOfServiceConnection(value: object): boolean;
35
+ export declare function ServiceConnectionFromJSON(json: any): ServiceConnection;
36
+ export declare function ServiceConnectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): ServiceConnection;
37
+ export declare function ServiceConnectionToJSON(value?: ServiceConnection | null): any;
@@ -1,53 +1,53 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Cirro Data
6
- * Cirro Data Platform service API
7
- *
8
- * The version of the OpenAPI document: latest
9
- * Contact: support@cirro.bio
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.ServiceConnectionToJSON = exports.ServiceConnectionFromJSONTyped = exports.ServiceConnectionFromJSON = exports.instanceOfServiceConnection = void 0;
17
- /**
18
- * Check if a given object implements the ServiceConnection interface.
19
- */
20
- function instanceOfServiceConnection(value) {
21
- var isInstance = true;
22
- isInstance = isInstance && "name" in value;
23
- isInstance = isInstance && "description" in value;
24
- return isInstance;
25
- }
26
- exports.instanceOfServiceConnection = instanceOfServiceConnection;
27
- function ServiceConnectionFromJSON(json) {
28
- return ServiceConnectionFromJSONTyped(json, false);
29
- }
30
- exports.ServiceConnectionFromJSON = ServiceConnectionFromJSON;
31
- function ServiceConnectionFromJSONTyped(json, ignoreDiscriminator) {
32
- if ((json === undefined) || (json === null)) {
33
- return json;
34
- }
35
- return {
36
- 'name': json['name'],
37
- 'description': json['description'],
38
- };
39
- }
40
- exports.ServiceConnectionFromJSONTyped = ServiceConnectionFromJSONTyped;
41
- function ServiceConnectionToJSON(value) {
42
- if (value === undefined) {
43
- return undefined;
44
- }
45
- if (value === null) {
46
- return null;
47
- }
48
- return {
49
- 'name': value.name,
50
- 'description': value.description,
51
- };
52
- }
53
- exports.ServiceConnectionToJSON = ServiceConnectionToJSON;
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Cirro Data
6
+ * Cirro Data Platform service API
7
+ *
8
+ * The version of the OpenAPI document: latest
9
+ * Contact: support@cirro.bio
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.ServiceConnectionToJSON = exports.ServiceConnectionFromJSONTyped = exports.ServiceConnectionFromJSON = exports.instanceOfServiceConnection = void 0;
17
+ /**
18
+ * Check if a given object implements the ServiceConnection interface.
19
+ */
20
+ function instanceOfServiceConnection(value) {
21
+ var isInstance = true;
22
+ isInstance = isInstance && "name" in value;
23
+ isInstance = isInstance && "description" in value;
24
+ return isInstance;
25
+ }
26
+ exports.instanceOfServiceConnection = instanceOfServiceConnection;
27
+ function ServiceConnectionFromJSON(json) {
28
+ return ServiceConnectionFromJSONTyped(json, false);
29
+ }
30
+ exports.ServiceConnectionFromJSON = ServiceConnectionFromJSON;
31
+ function ServiceConnectionFromJSONTyped(json, ignoreDiscriminator) {
32
+ if ((json === undefined) || (json === null)) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'name': json['name'],
37
+ 'description': json['description'],
38
+ };
39
+ }
40
+ exports.ServiceConnectionFromJSONTyped = ServiceConnectionFromJSONTyped;
41
+ function ServiceConnectionToJSON(value) {
42
+ if (value === undefined) {
43
+ return undefined;
44
+ }
45
+ if (value === null) {
46
+ return null;
47
+ }
48
+ return {
49
+ 'name': value.name,
50
+ 'description': value.description,
51
+ };
52
+ }
53
+ exports.ServiceConnectionToJSON = ServiceConnectionToJSON;