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