@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,57 @@
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.CloudAccountToJSON = exports.CloudAccountFromJSONTyped = exports.CloudAccountFromJSON = exports.instanceOfCloudAccount = void 0;
17
+ var runtime_1 = require("../runtime");
18
+ var Region_1 = require("./Region");
19
+ /**
20
+ * Check if a given object implements the CloudAccount interface.
21
+ */
22
+ function instanceOfCloudAccount(value) {
23
+ var isInstance = true;
24
+ return isInstance;
25
+ }
26
+ exports.instanceOfCloudAccount = instanceOfCloudAccount;
27
+ function CloudAccountFromJSON(json) {
28
+ return CloudAccountFromJSONTyped(json, false);
29
+ }
30
+ exports.CloudAccountFromJSON = CloudAccountFromJSON;
31
+ function CloudAccountFromJSONTyped(json, ignoreDiscriminator) {
32
+ if ((json === undefined) || (json === null)) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'region': !(0, runtime_1.exists)(json, 'region') ? undefined : (0, Region_1.RegionFromJSON)(json['region']),
37
+ 'accountId': !(0, runtime_1.exists)(json, 'accountId') ? undefined : json['accountId'],
38
+ 'accountName': !(0, runtime_1.exists)(json, 'accountName') ? undefined : json['accountName'],
39
+ 'regionName': !(0, runtime_1.exists)(json, 'regionName') ? undefined : json['regionName'],
40
+ };
41
+ }
42
+ exports.CloudAccountFromJSONTyped = CloudAccountFromJSONTyped;
43
+ function CloudAccountToJSON(value) {
44
+ if (value === undefined) {
45
+ return undefined;
46
+ }
47
+ if (value === null) {
48
+ return null;
49
+ }
50
+ return {
51
+ 'region': (0, Region_1.RegionToJSON)(value.region),
52
+ 'accountId': value.accountId,
53
+ 'accountName': value.accountName,
54
+ 'regionName': value.regionName,
55
+ };
56
+ }
57
+ exports.CloudAccountToJSON = CloudAccountToJSON;
@@ -0,0 +1,49 @@
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 Contact
16
+ */
17
+ export interface Contact {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof Contact
22
+ */
23
+ name?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof Contact
28
+ */
29
+ organization?: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof Contact
34
+ */
35
+ email?: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof Contact
40
+ */
41
+ phone?: string;
42
+ }
43
+ /**
44
+ * Check if a given object implements the Contact interface.
45
+ */
46
+ export declare function instanceOfContact(value: object): boolean;
47
+ export declare function ContactFromJSON(json: any): Contact;
48
+ export declare function ContactFromJSONTyped(json: any, ignoreDiscriminator: boolean): Contact;
49
+ export declare function ContactToJSON(value?: Contact | null): any;
@@ -0,0 +1,56 @@
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.ContactToJSON = exports.ContactFromJSONTyped = exports.ContactFromJSON = exports.instanceOfContact = void 0;
17
+ var runtime_1 = require("../runtime");
18
+ /**
19
+ * Check if a given object implements the Contact interface.
20
+ */
21
+ function instanceOfContact(value) {
22
+ var isInstance = true;
23
+ return isInstance;
24
+ }
25
+ exports.instanceOfContact = instanceOfContact;
26
+ function ContactFromJSON(json) {
27
+ return ContactFromJSONTyped(json, false);
28
+ }
29
+ exports.ContactFromJSON = ContactFromJSON;
30
+ function ContactFromJSONTyped(json, ignoreDiscriminator) {
31
+ if ((json === undefined) || (json === null)) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
36
+ 'organization': !(0, runtime_1.exists)(json, 'organization') ? undefined : json['organization'],
37
+ 'email': !(0, runtime_1.exists)(json, 'email') ? undefined : json['email'],
38
+ 'phone': !(0, runtime_1.exists)(json, 'phone') ? undefined : json['phone'],
39
+ };
40
+ }
41
+ exports.ContactFromJSONTyped = ContactFromJSONTyped;
42
+ function ContactToJSON(value) {
43
+ if (value === undefined) {
44
+ return undefined;
45
+ }
46
+ if (value === null) {
47
+ return null;
48
+ }
49
+ return {
50
+ 'name': value.name,
51
+ 'organization': value.organization,
52
+ 'email': value.email,
53
+ 'phone': value.phone,
54
+ };
55
+ }
56
+ exports.ContactToJSON = ContactToJSON;
@@ -0,0 +1,49 @@
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 CreateNotebookInstanceRequest
16
+ */
17
+ export interface CreateNotebookInstanceRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof CreateNotebookInstanceRequest
22
+ */
23
+ name: string;
24
+ /**
25
+ * AWS EC2 Instance Type (see list of available options)
26
+ * @type {string}
27
+ * @memberof CreateNotebookInstanceRequest
28
+ */
29
+ instanceType: string;
30
+ /**
31
+ *
32
+ * @type {Array<string>}
33
+ * @memberof CreateNotebookInstanceRequest
34
+ */
35
+ acceleratorTypes: Array<string>;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof CreateNotebookInstanceRequest
40
+ */
41
+ volumeSizeGB: number;
42
+ }
43
+ /**
44
+ * Check if a given object implements the CreateNotebookInstanceRequest interface.
45
+ */
46
+ export declare function instanceOfCreateNotebookInstanceRequest(value: object): boolean;
47
+ export declare function CreateNotebookInstanceRequestFromJSON(json: any): CreateNotebookInstanceRequest;
48
+ export declare function CreateNotebookInstanceRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateNotebookInstanceRequest;
49
+ export declare function CreateNotebookInstanceRequestToJSON(value?: CreateNotebookInstanceRequest | null): any;
@@ -0,0 +1,59 @@
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.CreateNotebookInstanceRequestToJSON = exports.CreateNotebookInstanceRequestFromJSONTyped = exports.CreateNotebookInstanceRequestFromJSON = exports.instanceOfCreateNotebookInstanceRequest = void 0;
17
+ /**
18
+ * Check if a given object implements the CreateNotebookInstanceRequest interface.
19
+ */
20
+ function instanceOfCreateNotebookInstanceRequest(value) {
21
+ var isInstance = true;
22
+ isInstance = isInstance && "name" in value;
23
+ isInstance = isInstance && "instanceType" in value;
24
+ isInstance = isInstance && "acceleratorTypes" in value;
25
+ isInstance = isInstance && "volumeSizeGB" in value;
26
+ return isInstance;
27
+ }
28
+ exports.instanceOfCreateNotebookInstanceRequest = instanceOfCreateNotebookInstanceRequest;
29
+ function CreateNotebookInstanceRequestFromJSON(json) {
30
+ return CreateNotebookInstanceRequestFromJSONTyped(json, false);
31
+ }
32
+ exports.CreateNotebookInstanceRequestFromJSON = CreateNotebookInstanceRequestFromJSON;
33
+ function CreateNotebookInstanceRequestFromJSONTyped(json, ignoreDiscriminator) {
34
+ if ((json === undefined) || (json === null)) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'name': json['name'],
39
+ 'instanceType': json['instanceType'],
40
+ 'acceleratorTypes': json['acceleratorTypes'],
41
+ 'volumeSizeGB': json['volumeSizeGB'],
42
+ };
43
+ }
44
+ exports.CreateNotebookInstanceRequestFromJSONTyped = CreateNotebookInstanceRequestFromJSONTyped;
45
+ function CreateNotebookInstanceRequestToJSON(value) {
46
+ if (value === undefined) {
47
+ return undefined;
48
+ }
49
+ if (value === null) {
50
+ return null;
51
+ }
52
+ return {
53
+ 'name': value.name,
54
+ 'instanceType': value.instanceType,
55
+ 'acceleratorTypes': value.acceleratorTypes,
56
+ 'volumeSizeGB': value.volumeSizeGB,
57
+ };
58
+ }
59
+ exports.CreateNotebookInstanceRequestToJSON = CreateNotebookInstanceRequestToJSON;
@@ -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 CreateResponse
16
+ */
17
+ export interface CreateResponse {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof CreateResponse
22
+ */
23
+ id: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof CreateResponse
28
+ */
29
+ message: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the CreateResponse interface.
33
+ */
34
+ export declare function instanceOfCreateResponse(value: object): boolean;
35
+ export declare function CreateResponseFromJSON(json: any): CreateResponse;
36
+ export declare function CreateResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateResponse;
37
+ export declare function CreateResponseToJSON(value?: CreateResponse | 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.CreateResponseToJSON = exports.CreateResponseFromJSONTyped = exports.CreateResponseFromJSON = exports.instanceOfCreateResponse = void 0;
17
+ /**
18
+ * Check if a given object implements the CreateResponse interface.
19
+ */
20
+ function instanceOfCreateResponse(value) {
21
+ var isInstance = true;
22
+ isInstance = isInstance && "id" in value;
23
+ isInstance = isInstance && "message" in value;
24
+ return isInstance;
25
+ }
26
+ exports.instanceOfCreateResponse = instanceOfCreateResponse;
27
+ function CreateResponseFromJSON(json) {
28
+ return CreateResponseFromJSONTyped(json, false);
29
+ }
30
+ exports.CreateResponseFromJSON = CreateResponseFromJSON;
31
+ function CreateResponseFromJSONTyped(json, ignoreDiscriminator) {
32
+ if ((json === undefined) || (json === null)) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'id': json['id'],
37
+ 'message': json['message'],
38
+ };
39
+ }
40
+ exports.CreateResponseFromJSONTyped = CreateResponseFromJSONTyped;
41
+ function CreateResponseToJSON(value) {
42
+ if (value === undefined) {
43
+ return undefined;
44
+ }
45
+ if (value === null) {
46
+ return null;
47
+ }
48
+ return {
49
+ 'id': value.id,
50
+ 'message': value.message,
51
+ };
52
+ }
53
+ exports.CreateResponseToJSON = CreateResponseToJSON;
@@ -0,0 +1,25 @@
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 CustomerType: {
17
+ readonly Free: "FREE";
18
+ readonly Usage: "USAGE";
19
+ readonly Marketplace: "MARKETPLACE";
20
+ readonly Contract: "CONTRACT";
21
+ };
22
+ export type CustomerType = typeof CustomerType[keyof typeof CustomerType];
23
+ export declare function CustomerTypeFromJSON(json: any): CustomerType;
24
+ export declare function CustomerTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): CustomerType;
25
+ export declare function CustomerTypeToJSON(value?: CustomerType | null): any;
@@ -0,0 +1,38 @@
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.CustomerTypeToJSON = exports.CustomerTypeFromJSONTyped = exports.CustomerTypeFromJSON = exports.CustomerType = void 0;
17
+ /**
18
+ *
19
+ * @export
20
+ */
21
+ exports.CustomerType = {
22
+ Free: 'FREE',
23
+ Usage: 'USAGE',
24
+ Marketplace: 'MARKETPLACE',
25
+ Contract: 'CONTRACT'
26
+ };
27
+ function CustomerTypeFromJSON(json) {
28
+ return CustomerTypeFromJSONTyped(json, false);
29
+ }
30
+ exports.CustomerTypeFromJSON = CustomerTypeFromJSON;
31
+ function CustomerTypeFromJSONTyped(json, ignoreDiscriminator) {
32
+ return json;
33
+ }
34
+ exports.CustomerTypeFromJSONTyped = CustomerTypeFromJSONTyped;
35
+ function CustomerTypeToJSON(value) {
36
+ return value;
37
+ }
38
+ exports.CustomerTypeToJSON = CustomerTypeToJSON;
@@ -0,0 +1,86 @@
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 Dataset
17
+ */
18
+ export interface Dataset {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof Dataset
23
+ */
24
+ id: string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof Dataset
29
+ */
30
+ name: string;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof Dataset
35
+ */
36
+ desc: string;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof Dataset
41
+ */
42
+ processId: string;
43
+ /**
44
+ *
45
+ * @type {Array<string>}
46
+ * @memberof Dataset
47
+ */
48
+ sourceDatasets: Array<string>;
49
+ /**
50
+ *
51
+ * @type {string}
52
+ * @memberof Dataset
53
+ */
54
+ status: string;
55
+ /**
56
+ *
57
+ * @type {Array<Tag>}
58
+ * @memberof Dataset
59
+ */
60
+ tags: Array<Tag>;
61
+ /**
62
+ *
63
+ * @type {string}
64
+ * @memberof Dataset
65
+ */
66
+ createdBy: string;
67
+ /**
68
+ *
69
+ * @type {string}
70
+ * @memberof Dataset
71
+ */
72
+ createdAt: string;
73
+ /**
74
+ *
75
+ * @type {string}
76
+ * @memberof Dataset
77
+ */
78
+ updatedAt: string;
79
+ }
80
+ /**
81
+ * Check if a given object implements the Dataset interface.
82
+ */
83
+ export declare function instanceOfDataset(value: object): boolean;
84
+ export declare function DatasetFromJSON(json: any): Dataset;
85
+ export declare function DatasetFromJSONTyped(json: any, ignoreDiscriminator: boolean): Dataset;
86
+ export declare function DatasetToJSON(value?: Dataset | null): any;
@@ -0,0 +1,78 @@
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.DatasetToJSON = exports.DatasetFromJSONTyped = exports.DatasetFromJSON = exports.instanceOfDataset = void 0;
17
+ var Tag_1 = require("./Tag");
18
+ /**
19
+ * Check if a given object implements the Dataset interface.
20
+ */
21
+ function instanceOfDataset(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 && "processId" in value;
27
+ isInstance = isInstance && "sourceDatasets" in value;
28
+ isInstance = isInstance && "status" in value;
29
+ isInstance = isInstance && "tags" in value;
30
+ isInstance = isInstance && "createdBy" in value;
31
+ isInstance = isInstance && "createdAt" in value;
32
+ isInstance = isInstance && "updatedAt" in value;
33
+ return isInstance;
34
+ }
35
+ exports.instanceOfDataset = instanceOfDataset;
36
+ function DatasetFromJSON(json) {
37
+ return DatasetFromJSONTyped(json, false);
38
+ }
39
+ exports.DatasetFromJSON = DatasetFromJSON;
40
+ function DatasetFromJSONTyped(json, ignoreDiscriminator) {
41
+ if ((json === undefined) || (json === null)) {
42
+ return json;
43
+ }
44
+ return {
45
+ 'id': json['id'],
46
+ 'name': json['name'],
47
+ 'desc': json['desc'],
48
+ 'processId': json['processId'],
49
+ 'sourceDatasets': json['sourceDatasets'],
50
+ 'status': json['status'],
51
+ 'tags': (json['tags'].map(Tag_1.TagFromJSON)),
52
+ 'createdBy': json['createdBy'],
53
+ 'createdAt': json['createdAt'],
54
+ 'updatedAt': json['updatedAt'],
55
+ };
56
+ }
57
+ exports.DatasetFromJSONTyped = DatasetFromJSONTyped;
58
+ function DatasetToJSON(value) {
59
+ if (value === undefined) {
60
+ return undefined;
61
+ }
62
+ if (value === null) {
63
+ return null;
64
+ }
65
+ return {
66
+ 'id': value.id,
67
+ 'name': value.name,
68
+ 'desc': value.desc,
69
+ 'processId': value.processId,
70
+ 'sourceDatasets': value.sourceDatasets,
71
+ 'status': value.status,
72
+ 'tags': (value.tags.map(Tag_1.TagToJSON)),
73
+ 'createdBy': value.createdBy,
74
+ 'createdAt': value.createdAt,
75
+ 'updatedAt': value.updatedAt,
76
+ };
77
+ }
78
+ exports.DatasetToJSON = DatasetToJSON;