@cirrobio/api-client 0.1.9 → 0.1.11

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 (235) hide show
  1. package/.openapi-generator/FILES +106 -105
  2. package/README.md +1 -1
  3. package/dist/apis/AuditApi.d.ts +44 -44
  4. package/dist/apis/AuditApi.js +175 -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 +138 -124
  22. package/dist/apis/ProcessesApi.js +589 -529
  23. package/dist/apis/ProjectsApi.d.ts +122 -122
  24. package/dist/apis/ProjectsApi.js +528 -528
  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/AuditEvent.d.ts +89 -89
  42. package/dist/models/AuditEvent.js +68 -68
  43. package/dist/models/AuthInfo.d.ts +49 -49
  44. package/dist/models/AuthInfo.js +59 -59
  45. package/dist/models/BillingAccount.d.ts +88 -88
  46. package/dist/models/BillingAccount.js +80 -80
  47. package/dist/models/BillingAccountRequest.d.ts +70 -70
  48. package/dist/models/BillingAccountRequest.js +71 -71
  49. package/dist/models/BillingMethod.d.ts +24 -24
  50. package/dist/models/BillingMethod.js +39 -39
  51. package/dist/models/BudgetPeriod.d.ts +24 -24
  52. package/dist/models/BudgetPeriod.js +39 -39
  53. package/dist/models/CloudAccount.d.ts +50 -50
  54. package/dist/models/CloudAccount.js +58 -58
  55. package/dist/models/CloudAccountType.d.ts +23 -23
  56. package/dist/models/CloudAccountType.js +38 -38
  57. package/dist/models/ColumnDefinition.d.ts +43 -43
  58. package/dist/models/ColumnDefinition.js +54 -54
  59. package/dist/models/Contact.d.ts +49 -49
  60. package/dist/models/Contact.js +59 -59
  61. package/dist/models/CreateNotebookInstanceRequest.d.ts +49 -49
  62. package/dist/models/CreateNotebookInstanceRequest.js +59 -59
  63. package/dist/models/CreateReferenceRequest.d.ts +49 -49
  64. package/dist/models/CreateReferenceRequest.js +59 -59
  65. package/dist/models/CreateResponse.d.ts +37 -37
  66. package/dist/models/CreateResponse.js +53 -53
  67. package/dist/models/CustomPipelineSettings.d.ts +62 -62
  68. package/dist/models/CustomPipelineSettings.js +62 -62
  69. package/dist/models/CustomerType.d.ts +24 -24
  70. package/dist/models/CustomerType.js +39 -39
  71. package/dist/models/Dashboard.d.ts +83 -83
  72. package/dist/models/Dashboard.js +74 -74
  73. package/dist/models/DashboardRequest.d.ts +59 -59
  74. package/dist/models/DashboardRequest.js +62 -62
  75. package/dist/models/Dataset.d.ts +93 -93
  76. package/dist/models/Dataset.js +82 -82
  77. package/dist/models/DatasetAssetsManifest.d.ts +58 -58
  78. package/dist/models/DatasetAssetsManifest.js +61 -61
  79. package/dist/models/DatasetDetail.d.ts +121 -121
  80. package/dist/models/DatasetDetail.js +94 -94
  81. package/dist/models/DatasetViz.d.ts +49 -49
  82. package/dist/models/DatasetViz.js +56 -56
  83. package/dist/models/ErrorMessage.d.ts +31 -31
  84. package/dist/models/ErrorMessage.js +50 -50
  85. package/dist/models/Executor.d.ts +25 -24
  86. package/dist/models/Executor.js +40 -39
  87. package/dist/models/FileAccessRequest.d.ts +44 -44
  88. package/dist/models/FileAccessRequest.js +56 -56
  89. package/dist/models/FileEntry.d.ts +45 -45
  90. package/dist/models/FileEntry.js +54 -54
  91. package/dist/models/FileMappingRule.d.ts +56 -56
  92. package/dist/models/FileMappingRule.js +61 -61
  93. package/dist/models/FileNamePattern.d.ts +43 -43
  94. package/dist/models/FileNamePattern.js +56 -56
  95. package/dist/models/FileRequirements.d.ts +44 -44
  96. package/dist/models/FileRequirements.js +57 -57
  97. package/dist/models/FormSchema.d.ts +41 -41
  98. package/dist/models/FormSchema.js +52 -52
  99. package/dist/models/GenerateSftpCredentialsRequest.d.ts +31 -31
  100. package/dist/models/GenerateSftpCredentialsRequest.js +50 -50
  101. package/dist/models/GetExecutionLogsResponse.d.ts +32 -32
  102. package/dist/models/GetExecutionLogsResponse.js +51 -51
  103. package/dist/models/ImportDataRequest.d.ts +43 -43
  104. package/dist/models/ImportDataRequest.js +56 -56
  105. package/dist/models/InviteUserRequest.d.ts +43 -43
  106. package/dist/models/InviteUserRequest.js +56 -56
  107. package/dist/models/InviteUserResponse.d.ts +31 -31
  108. package/dist/models/InviteUserResponse.js +50 -50
  109. package/dist/models/LogEntry.d.ts +37 -37
  110. package/dist/models/LogEntry.js +53 -53
  111. package/dist/models/LoginProvider.d.ts +49 -49
  112. package/dist/models/LoginProvider.js +59 -59
  113. package/dist/models/MetricRecord.d.ts +45 -45
  114. package/dist/models/MetricRecord.js +55 -55
  115. package/dist/models/NotebookInstance.d.ts +86 -86
  116. package/dist/models/NotebookInstance.js +78 -78
  117. package/dist/models/NotebookInstanceStatusResponse.d.ts +37 -37
  118. package/dist/models/NotebookInstanceStatusResponse.js +53 -53
  119. package/dist/models/OpenNotebookInstanceResponse.d.ts +37 -37
  120. package/dist/models/OpenNotebookInstanceResponse.js +53 -53
  121. package/dist/models/PaginatedResponseDatasetListDto.d.ts +38 -38
  122. package/dist/models/PaginatedResponseDatasetListDto.js +54 -54
  123. package/dist/models/PaginatedResponseSampleDto.d.ts +38 -38
  124. package/dist/models/PaginatedResponseSampleDto.js +54 -54
  125. package/dist/models/PipelineCode.d.ts +50 -50
  126. package/dist/models/PipelineCode.js +60 -60
  127. package/dist/models/PipelineCost.d.ts +43 -0
  128. package/dist/models/PipelineCost.js +54 -0
  129. package/dist/models/PortalErrorResponse.d.ts +50 -50
  130. package/dist/models/PortalErrorResponse.js +60 -60
  131. package/dist/models/Process.d.ts +104 -104
  132. package/dist/models/Process.js +78 -78
  133. package/dist/models/ProcessDetail.d.ts +125 -125
  134. package/dist/models/ProcessDetail.js +91 -91
  135. package/dist/models/Project.d.ts +63 -63
  136. package/dist/models/Project.js +67 -67
  137. package/dist/models/ProjectDetail.d.ts +101 -101
  138. package/dist/models/ProjectDetail.js +87 -87
  139. package/dist/models/ProjectMetrics.d.ts +44 -44
  140. package/dist/models/ProjectMetrics.js +56 -56
  141. package/dist/models/ProjectRequest.d.ts +71 -71
  142. package/dist/models/ProjectRequest.js +71 -71
  143. package/dist/models/ProjectRole.d.ts +25 -25
  144. package/dist/models/ProjectRole.js +40 -40
  145. package/dist/models/ProjectSettings.d.ts +116 -116
  146. package/dist/models/ProjectSettings.js +81 -81
  147. package/dist/models/ProjectUser.d.ts +62 -62
  148. package/dist/models/ProjectUser.js +66 -66
  149. package/dist/models/Reference.d.ts +68 -68
  150. package/dist/models/Reference.js +69 -69
  151. package/dist/models/ReferenceType.d.ts +51 -51
  152. package/dist/models/ReferenceType.js +59 -59
  153. package/dist/models/RepositoryType.d.ts +25 -25
  154. package/dist/models/RepositoryType.js +40 -40
  155. package/dist/models/ResourcesInfo.d.ts +49 -49
  156. package/dist/models/ResourcesInfo.js +59 -59
  157. package/dist/models/RunAnalysisRequest.d.ts +69 -69
  158. package/dist/models/RunAnalysisRequest.js +67 -67
  159. package/dist/models/Sample.d.ts +63 -63
  160. package/dist/models/Sample.js +65 -65
  161. package/dist/models/SampleRequest.d.ts +39 -39
  162. package/dist/models/SampleRequest.js +53 -53
  163. package/dist/models/ServiceConnection.d.ts +37 -37
  164. package/dist/models/ServiceConnection.js +53 -53
  165. package/dist/models/SetUserProjectRoleRequest.d.ts +44 -44
  166. package/dist/models/SetUserProjectRoleRequest.js +57 -57
  167. package/dist/models/SftpCredentials.d.ts +49 -49
  168. package/dist/models/SftpCredentials.js +59 -59
  169. package/dist/models/Status.d.ts +30 -30
  170. package/dist/models/Status.js +45 -45
  171. package/dist/models/StopExecutionResponse.d.ts +37 -37
  172. package/dist/models/StopExecutionResponse.js +52 -52
  173. package/dist/models/SyncStatus.d.ts +23 -23
  174. package/dist/models/SyncStatus.js +38 -38
  175. package/dist/models/SystemInfoResponse.d.ts +94 -94
  176. package/dist/models/SystemInfoResponse.js +83 -83
  177. package/dist/models/Table.d.ts +62 -62
  178. package/dist/models/Table.js +62 -62
  179. package/dist/models/Tag.d.ts +43 -43
  180. package/dist/models/Tag.js +56 -56
  181. package/dist/models/Task.d.ts +73 -73
  182. package/dist/models/Task.js +68 -68
  183. package/dist/models/TenantInfo.d.ts +80 -80
  184. package/dist/models/TenantInfo.js +75 -75
  185. package/dist/models/UpdateDatasetRequest.d.ts +50 -50
  186. package/dist/models/UpdateDatasetRequest.js +60 -60
  187. package/dist/models/UpdateUserRequest.d.ts +69 -69
  188. package/dist/models/UpdateUserRequest.js +64 -64
  189. package/dist/models/UploadDatasetCreateResponse.d.ts +43 -43
  190. package/dist/models/UploadDatasetCreateResponse.js +56 -56
  191. package/dist/models/UploadDatasetRequest.d.ts +49 -49
  192. package/dist/models/UploadDatasetRequest.js +59 -59
  193. package/dist/models/User.d.ts +49 -49
  194. package/dist/models/User.js +59 -59
  195. package/dist/models/UserDetail.d.ts +86 -86
  196. package/dist/models/UserDetail.js +78 -78
  197. package/dist/models/UserProjectAssignment.d.ts +50 -50
  198. package/dist/models/UserProjectAssignment.js +60 -60
  199. package/dist/models/ValidateFileRequirementsRequest.d.ts +37 -37
  200. package/dist/models/ValidateFileRequirementsRequest.js +53 -53
  201. package/dist/models/index.d.ts +83 -82
  202. package/dist/models/index.js +101 -100
  203. package/dist/runtime.d.ts +182 -182
  204. package/dist/runtime.js +562 -562
  205. package/package.json +1 -1
  206. package/src/apis/ProcessesApi.ts +55 -0
  207. package/src/models/Executor.ts +2 -1
  208. package/src/models/PipelineCost.ts +81 -0
  209. package/src/models/index.ts +1 -0
  210. package/dist/models/CreateDashboardRequest.d.ts +0 -31
  211. package/dist/models/CreateDashboardRequest.js +0 -50
  212. package/dist/models/CustomPipelineSettingsDto1.d.ts +0 -61
  213. package/dist/models/CustomPipelineSettingsDto1.js +0 -65
  214. package/dist/models/CustomProcessRequest.d.ts +0 -99
  215. package/dist/models/CustomProcessRequest.js +0 -83
  216. package/dist/models/CustomProcessRequestPipelineCode.d.ts +0 -50
  217. package/dist/models/CustomProcessRequestPipelineCode.js +0 -58
  218. package/dist/models/DatasetFile.d.ts +0 -45
  219. package/dist/models/DatasetFile.js +0 -54
  220. package/dist/models/DatasetType.d.ts +0 -23
  221. package/dist/models/DatasetType.js +0 -38
  222. package/dist/models/ProcessDetailAllOfPipelineCode.d.ts +0 -50
  223. package/dist/models/ProcessDetailAllOfPipelineCode.js +0 -58
  224. package/dist/models/Region.d.ts +0 -31
  225. package/dist/models/Region.js +0 -50
  226. package/dist/models/RegisterDatasetRequest.d.ts +0 -49
  227. package/dist/models/RegisterDatasetRequest.js +0 -59
  228. package/dist/models/RegisterPublicDataRequest.d.ts +0 -43
  229. package/dist/models/RegisterPublicDataRequest.js +0 -56
  230. package/dist/models/S3Credentials.d.ts +0 -55
  231. package/dist/models/S3Credentials.js +0 -62
  232. package/dist/models/ValidateDataInputsRequest.d.ts +0 -37
  233. package/dist/models/ValidateDataInputsRequest.js +0 -53
  234. package/dist/models/ValidateDataInputsResponse.d.ts +0 -44
  235. package/dist/models/ValidateDataInputsResponse.js +0 -57
@@ -1,116 +1,116 @@
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 { BudgetPeriod } from './BudgetPeriod';
13
- /**
14
- *
15
- * @export
16
- * @interface ProjectSettings
17
- */
18
- export interface ProjectSettings {
19
- /**
20
- * Total allowed cost for the budget period
21
- * @type {number}
22
- * @memberof ProjectSettings
23
- */
24
- budgetAmount: number;
25
- /**
26
- *
27
- * @type {BudgetPeriod}
28
- * @memberof ProjectSettings
29
- */
30
- budgetPeriod: BudgetPeriod;
31
- /**
32
- * AMI ID for the DRAGEN compute environment (if enabled)
33
- * @type {string}
34
- * @memberof ProjectSettings
35
- */
36
- dragenAmi?: string | null;
37
- /**
38
- * Enables the default compute environment
39
- * @type {boolean}
40
- * @memberof ProjectSettings
41
- */
42
- enableCompute?: boolean;
43
- /**
44
- * Enables the DRAGEN compute environment
45
- * @type {boolean}
46
- * @memberof ProjectSettings
47
- */
48
- enableDragen?: boolean;
49
- /**
50
- * Enables the AWS Backup service for S3
51
- * @type {boolean}
52
- * @memberof ProjectSettings
53
- */
54
- enableBackup?: boolean;
55
- /**
56
- * Enables access to files over SFTP
57
- * @type {boolean}
58
- * @memberof ProjectSettings
59
- */
60
- enableSftp?: boolean;
61
- /**
62
- * Service quota limit for On Demand F1 instances
63
- * @type {number}
64
- * @memberof ProjectSettings
65
- */
66
- maxF1VCPU?: number;
67
- /**
68
- * Service quota limit for SPOT instances
69
- * @type {number}
70
- * @memberof ProjectSettings
71
- */
72
- maxSpotVCPU?: number;
73
- /**
74
- * Days to keep deleted datasets before being permanently erased
75
- * @type {number}
76
- * @memberof ProjectSettings
77
- */
78
- retentionPolicyDays?: number;
79
- /**
80
- * List of service connections to enable
81
- * @type {Array<string>}
82
- * @memberof ProjectSettings
83
- */
84
- serviceConnections?: Array<string>;
85
- /**
86
- * VPC that the compute environment will use
87
- * @type {string}
88
- * @memberof ProjectSettings
89
- */
90
- vpcId?: string | null;
91
- /**
92
- * List of subnets that the compute environment will use
93
- * @type {Array<string>}
94
- * @memberof ProjectSettings
95
- */
96
- batchSubnets?: Array<string> | null;
97
- /**
98
- * List of subnets that the sagemaker instances will use
99
- * @type {Array<string>}
100
- * @memberof ProjectSettings
101
- */
102
- sagemakerSubnets?: Array<string> | null;
103
- /**
104
- * KMS Key ARN to encrypt S3 objects, if not provided, default bucket encryption will be used
105
- * @type {string}
106
- * @memberof ProjectSettings
107
- */
108
- kmsArn?: string | null;
109
- }
110
- /**
111
- * Check if a given object implements the ProjectSettings interface.
112
- */
113
- export declare function instanceOfProjectSettings(value: object): boolean;
114
- export declare function ProjectSettingsFromJSON(json: any): ProjectSettings;
115
- export declare function ProjectSettingsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectSettings;
116
- export declare function ProjectSettingsToJSON(value?: ProjectSettings | 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
+ import type { BudgetPeriod } from './BudgetPeriod';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ProjectSettings
17
+ */
18
+ export interface ProjectSettings {
19
+ /**
20
+ * Total allowed cost for the budget period
21
+ * @type {number}
22
+ * @memberof ProjectSettings
23
+ */
24
+ budgetAmount: number;
25
+ /**
26
+ *
27
+ * @type {BudgetPeriod}
28
+ * @memberof ProjectSettings
29
+ */
30
+ budgetPeriod: BudgetPeriod;
31
+ /**
32
+ * AMI ID for the DRAGEN compute environment (if enabled)
33
+ * @type {string}
34
+ * @memberof ProjectSettings
35
+ */
36
+ dragenAmi?: string | null;
37
+ /**
38
+ * Enables the default compute environment
39
+ * @type {boolean}
40
+ * @memberof ProjectSettings
41
+ */
42
+ enableCompute?: boolean;
43
+ /**
44
+ * Enables the DRAGEN compute environment
45
+ * @type {boolean}
46
+ * @memberof ProjectSettings
47
+ */
48
+ enableDragen?: boolean;
49
+ /**
50
+ * Enables the AWS Backup service for S3
51
+ * @type {boolean}
52
+ * @memberof ProjectSettings
53
+ */
54
+ enableBackup?: boolean;
55
+ /**
56
+ * Enables access to files over SFTP
57
+ * @type {boolean}
58
+ * @memberof ProjectSettings
59
+ */
60
+ enableSftp?: boolean;
61
+ /**
62
+ * Service quota limit for On Demand F1 instances
63
+ * @type {number}
64
+ * @memberof ProjectSettings
65
+ */
66
+ maxF1VCPU?: number;
67
+ /**
68
+ * Service quota limit for SPOT instances
69
+ * @type {number}
70
+ * @memberof ProjectSettings
71
+ */
72
+ maxSpotVCPU?: number;
73
+ /**
74
+ * Days to keep deleted datasets before being permanently erased
75
+ * @type {number}
76
+ * @memberof ProjectSettings
77
+ */
78
+ retentionPolicyDays?: number;
79
+ /**
80
+ * List of service connections to enable
81
+ * @type {Array<string>}
82
+ * @memberof ProjectSettings
83
+ */
84
+ serviceConnections?: Array<string>;
85
+ /**
86
+ * VPC that the compute environment will use
87
+ * @type {string}
88
+ * @memberof ProjectSettings
89
+ */
90
+ vpcId?: string | null;
91
+ /**
92
+ * List of subnets that the compute environment will use
93
+ * @type {Array<string>}
94
+ * @memberof ProjectSettings
95
+ */
96
+ batchSubnets?: Array<string> | null;
97
+ /**
98
+ * List of subnets that the sagemaker instances will use
99
+ * @type {Array<string>}
100
+ * @memberof ProjectSettings
101
+ */
102
+ sagemakerSubnets?: Array<string> | null;
103
+ /**
104
+ * KMS Key ARN to encrypt S3 objects, if not provided, default bucket encryption will be used
105
+ * @type {string}
106
+ * @memberof ProjectSettings
107
+ */
108
+ kmsArn?: string | null;
109
+ }
110
+ /**
111
+ * Check if a given object implements the ProjectSettings interface.
112
+ */
113
+ export declare function instanceOfProjectSettings(value: object): boolean;
114
+ export declare function ProjectSettingsFromJSON(json: any): ProjectSettings;
115
+ export declare function ProjectSettingsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectSettings;
116
+ export declare function ProjectSettingsToJSON(value?: ProjectSettings | null): any;
@@ -1,81 +1,81 @@
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.ProjectSettingsToJSON = exports.ProjectSettingsFromJSONTyped = exports.ProjectSettingsFromJSON = exports.instanceOfProjectSettings = void 0;
17
- var runtime_1 = require("../runtime");
18
- var BudgetPeriod_1 = require("./BudgetPeriod");
19
- /**
20
- * Check if a given object implements the ProjectSettings interface.
21
- */
22
- function instanceOfProjectSettings(value) {
23
- var isInstance = true;
24
- isInstance = isInstance && "budgetAmount" in value;
25
- isInstance = isInstance && "budgetPeriod" in value;
26
- return isInstance;
27
- }
28
- exports.instanceOfProjectSettings = instanceOfProjectSettings;
29
- function ProjectSettingsFromJSON(json) {
30
- return ProjectSettingsFromJSONTyped(json, false);
31
- }
32
- exports.ProjectSettingsFromJSON = ProjectSettingsFromJSON;
33
- function ProjectSettingsFromJSONTyped(json, ignoreDiscriminator) {
34
- if ((json === undefined) || (json === null)) {
35
- return json;
36
- }
37
- return {
38
- 'budgetAmount': json['budgetAmount'],
39
- 'budgetPeriod': (0, BudgetPeriod_1.BudgetPeriodFromJSON)(json['budgetPeriod']),
40
- 'dragenAmi': !(0, runtime_1.exists)(json, 'dragenAmi') ? undefined : json['dragenAmi'],
41
- 'enableCompute': !(0, runtime_1.exists)(json, 'enableCompute') ? undefined : json['enableCompute'],
42
- 'enableDragen': !(0, runtime_1.exists)(json, 'enableDragen') ? undefined : json['enableDragen'],
43
- 'enableBackup': !(0, runtime_1.exists)(json, 'enableBackup') ? undefined : json['enableBackup'],
44
- 'enableSftp': !(0, runtime_1.exists)(json, 'enableSftp') ? undefined : json['enableSftp'],
45
- 'maxF1VCPU': !(0, runtime_1.exists)(json, 'maxF1VCPU') ? undefined : json['maxF1VCPU'],
46
- 'maxSpotVCPU': !(0, runtime_1.exists)(json, 'maxSpotVCPU') ? undefined : json['maxSpotVCPU'],
47
- 'retentionPolicyDays': !(0, runtime_1.exists)(json, 'retentionPolicyDays') ? undefined : json['retentionPolicyDays'],
48
- 'serviceConnections': !(0, runtime_1.exists)(json, 'serviceConnections') ? undefined : json['serviceConnections'],
49
- 'vpcId': !(0, runtime_1.exists)(json, 'vpcId') ? undefined : json['vpcId'],
50
- 'batchSubnets': !(0, runtime_1.exists)(json, 'batchSubnets') ? undefined : json['batchSubnets'],
51
- 'sagemakerSubnets': !(0, runtime_1.exists)(json, 'sagemakerSubnets') ? undefined : json['sagemakerSubnets'],
52
- 'kmsArn': !(0, runtime_1.exists)(json, 'kmsArn') ? undefined : json['kmsArn'],
53
- };
54
- }
55
- exports.ProjectSettingsFromJSONTyped = ProjectSettingsFromJSONTyped;
56
- function ProjectSettingsToJSON(value) {
57
- if (value === undefined) {
58
- return undefined;
59
- }
60
- if (value === null) {
61
- return null;
62
- }
63
- return {
64
- 'budgetAmount': value.budgetAmount,
65
- 'budgetPeriod': (0, BudgetPeriod_1.BudgetPeriodToJSON)(value.budgetPeriod),
66
- 'dragenAmi': value.dragenAmi,
67
- 'enableCompute': value.enableCompute,
68
- 'enableDragen': value.enableDragen,
69
- 'enableBackup': value.enableBackup,
70
- 'enableSftp': value.enableSftp,
71
- 'maxF1VCPU': value.maxF1VCPU,
72
- 'maxSpotVCPU': value.maxSpotVCPU,
73
- 'retentionPolicyDays': value.retentionPolicyDays,
74
- 'serviceConnections': value.serviceConnections,
75
- 'vpcId': value.vpcId,
76
- 'batchSubnets': value.batchSubnets,
77
- 'sagemakerSubnets': value.sagemakerSubnets,
78
- 'kmsArn': value.kmsArn,
79
- };
80
- }
81
- exports.ProjectSettingsToJSON = ProjectSettingsToJSON;
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.ProjectSettingsToJSON = exports.ProjectSettingsFromJSONTyped = exports.ProjectSettingsFromJSON = exports.instanceOfProjectSettings = void 0;
17
+ var runtime_1 = require("../runtime");
18
+ var BudgetPeriod_1 = require("./BudgetPeriod");
19
+ /**
20
+ * Check if a given object implements the ProjectSettings interface.
21
+ */
22
+ function instanceOfProjectSettings(value) {
23
+ var isInstance = true;
24
+ isInstance = isInstance && "budgetAmount" in value;
25
+ isInstance = isInstance && "budgetPeriod" in value;
26
+ return isInstance;
27
+ }
28
+ exports.instanceOfProjectSettings = instanceOfProjectSettings;
29
+ function ProjectSettingsFromJSON(json) {
30
+ return ProjectSettingsFromJSONTyped(json, false);
31
+ }
32
+ exports.ProjectSettingsFromJSON = ProjectSettingsFromJSON;
33
+ function ProjectSettingsFromJSONTyped(json, ignoreDiscriminator) {
34
+ if ((json === undefined) || (json === null)) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'budgetAmount': json['budgetAmount'],
39
+ 'budgetPeriod': (0, BudgetPeriod_1.BudgetPeriodFromJSON)(json['budgetPeriod']),
40
+ 'dragenAmi': !(0, runtime_1.exists)(json, 'dragenAmi') ? undefined : json['dragenAmi'],
41
+ 'enableCompute': !(0, runtime_1.exists)(json, 'enableCompute') ? undefined : json['enableCompute'],
42
+ 'enableDragen': !(0, runtime_1.exists)(json, 'enableDragen') ? undefined : json['enableDragen'],
43
+ 'enableBackup': !(0, runtime_1.exists)(json, 'enableBackup') ? undefined : json['enableBackup'],
44
+ 'enableSftp': !(0, runtime_1.exists)(json, 'enableSftp') ? undefined : json['enableSftp'],
45
+ 'maxF1VCPU': !(0, runtime_1.exists)(json, 'maxF1VCPU') ? undefined : json['maxF1VCPU'],
46
+ 'maxSpotVCPU': !(0, runtime_1.exists)(json, 'maxSpotVCPU') ? undefined : json['maxSpotVCPU'],
47
+ 'retentionPolicyDays': !(0, runtime_1.exists)(json, 'retentionPolicyDays') ? undefined : json['retentionPolicyDays'],
48
+ 'serviceConnections': !(0, runtime_1.exists)(json, 'serviceConnections') ? undefined : json['serviceConnections'],
49
+ 'vpcId': !(0, runtime_1.exists)(json, 'vpcId') ? undefined : json['vpcId'],
50
+ 'batchSubnets': !(0, runtime_1.exists)(json, 'batchSubnets') ? undefined : json['batchSubnets'],
51
+ 'sagemakerSubnets': !(0, runtime_1.exists)(json, 'sagemakerSubnets') ? undefined : json['sagemakerSubnets'],
52
+ 'kmsArn': !(0, runtime_1.exists)(json, 'kmsArn') ? undefined : json['kmsArn'],
53
+ };
54
+ }
55
+ exports.ProjectSettingsFromJSONTyped = ProjectSettingsFromJSONTyped;
56
+ function ProjectSettingsToJSON(value) {
57
+ if (value === undefined) {
58
+ return undefined;
59
+ }
60
+ if (value === null) {
61
+ return null;
62
+ }
63
+ return {
64
+ 'budgetAmount': value.budgetAmount,
65
+ 'budgetPeriod': (0, BudgetPeriod_1.BudgetPeriodToJSON)(value.budgetPeriod),
66
+ 'dragenAmi': value.dragenAmi,
67
+ 'enableCompute': value.enableCompute,
68
+ 'enableDragen': value.enableDragen,
69
+ 'enableBackup': value.enableBackup,
70
+ 'enableSftp': value.enableSftp,
71
+ 'maxF1VCPU': value.maxF1VCPU,
72
+ 'maxSpotVCPU': value.maxSpotVCPU,
73
+ 'retentionPolicyDays': value.retentionPolicyDays,
74
+ 'serviceConnections': value.serviceConnections,
75
+ 'vpcId': value.vpcId,
76
+ 'batchSubnets': value.batchSubnets,
77
+ 'sagemakerSubnets': value.sagemakerSubnets,
78
+ 'kmsArn': value.kmsArn,
79
+ };
80
+ }
81
+ exports.ProjectSettingsToJSON = ProjectSettingsToJSON;
@@ -1,62 +1,62 @@
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 { ProjectRole } from './ProjectRole';
13
- /**
14
- *
15
- * @export
16
- * @interface ProjectUser
17
- */
18
- export interface ProjectUser {
19
- /**
20
- *
21
- * @type {string}
22
- * @memberof ProjectUser
23
- */
24
- name: string;
25
- /**
26
- *
27
- * @type {string}
28
- * @memberof ProjectUser
29
- */
30
- username: string;
31
- /**
32
- *
33
- * @type {string}
34
- * @memberof ProjectUser
35
- */
36
- organization: string;
37
- /**
38
- *
39
- * @type {string}
40
- * @memberof ProjectUser
41
- */
42
- department: string;
43
- /**
44
- *
45
- * @type {string}
46
- * @memberof ProjectUser
47
- */
48
- email: string;
49
- /**
50
- *
51
- * @type {ProjectRole}
52
- * @memberof ProjectUser
53
- */
54
- role: ProjectRole;
55
- }
56
- /**
57
- * Check if a given object implements the ProjectUser interface.
58
- */
59
- export declare function instanceOfProjectUser(value: object): boolean;
60
- export declare function ProjectUserFromJSON(json: any): ProjectUser;
61
- export declare function ProjectUserFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectUser;
62
- export declare function ProjectUserToJSON(value?: ProjectUser | 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
+ import type { ProjectRole } from './ProjectRole';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ProjectUser
17
+ */
18
+ export interface ProjectUser {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof ProjectUser
23
+ */
24
+ name: string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof ProjectUser
29
+ */
30
+ username: string;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof ProjectUser
35
+ */
36
+ organization: string;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof ProjectUser
41
+ */
42
+ department: string;
43
+ /**
44
+ *
45
+ * @type {string}
46
+ * @memberof ProjectUser
47
+ */
48
+ email: string;
49
+ /**
50
+ *
51
+ * @type {ProjectRole}
52
+ * @memberof ProjectUser
53
+ */
54
+ role: ProjectRole;
55
+ }
56
+ /**
57
+ * Check if a given object implements the ProjectUser interface.
58
+ */
59
+ export declare function instanceOfProjectUser(value: object): boolean;
60
+ export declare function ProjectUserFromJSON(json: any): ProjectUser;
61
+ export declare function ProjectUserFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectUser;
62
+ export declare function ProjectUserToJSON(value?: ProjectUser | null): any;
@@ -1,66 +1,66 @@
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.ProjectUserToJSON = exports.ProjectUserFromJSONTyped = exports.ProjectUserFromJSON = exports.instanceOfProjectUser = void 0;
17
- var ProjectRole_1 = require("./ProjectRole");
18
- /**
19
- * Check if a given object implements the ProjectUser interface.
20
- */
21
- function instanceOfProjectUser(value) {
22
- var isInstance = true;
23
- isInstance = isInstance && "name" in value;
24
- isInstance = isInstance && "username" in value;
25
- isInstance = isInstance && "organization" in value;
26
- isInstance = isInstance && "department" in value;
27
- isInstance = isInstance && "email" in value;
28
- isInstance = isInstance && "role" in value;
29
- return isInstance;
30
- }
31
- exports.instanceOfProjectUser = instanceOfProjectUser;
32
- function ProjectUserFromJSON(json) {
33
- return ProjectUserFromJSONTyped(json, false);
34
- }
35
- exports.ProjectUserFromJSON = ProjectUserFromJSON;
36
- function ProjectUserFromJSONTyped(json, ignoreDiscriminator) {
37
- if ((json === undefined) || (json === null)) {
38
- return json;
39
- }
40
- return {
41
- 'name': json['name'],
42
- 'username': json['username'],
43
- 'organization': json['organization'],
44
- 'department': json['department'],
45
- 'email': json['email'],
46
- 'role': (0, ProjectRole_1.ProjectRoleFromJSON)(json['role']),
47
- };
48
- }
49
- exports.ProjectUserFromJSONTyped = ProjectUserFromJSONTyped;
50
- function ProjectUserToJSON(value) {
51
- if (value === undefined) {
52
- return undefined;
53
- }
54
- if (value === null) {
55
- return null;
56
- }
57
- return {
58
- 'name': value.name,
59
- 'username': value.username,
60
- 'organization': value.organization,
61
- 'department': value.department,
62
- 'email': value.email,
63
- 'role': (0, ProjectRole_1.ProjectRoleToJSON)(value.role),
64
- };
65
- }
66
- exports.ProjectUserToJSON = ProjectUserToJSON;
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.ProjectUserToJSON = exports.ProjectUserFromJSONTyped = exports.ProjectUserFromJSON = exports.instanceOfProjectUser = void 0;
17
+ var ProjectRole_1 = require("./ProjectRole");
18
+ /**
19
+ * Check if a given object implements the ProjectUser interface.
20
+ */
21
+ function instanceOfProjectUser(value) {
22
+ var isInstance = true;
23
+ isInstance = isInstance && "name" in value;
24
+ isInstance = isInstance && "username" in value;
25
+ isInstance = isInstance && "organization" in value;
26
+ isInstance = isInstance && "department" in value;
27
+ isInstance = isInstance && "email" in value;
28
+ isInstance = isInstance && "role" in value;
29
+ return isInstance;
30
+ }
31
+ exports.instanceOfProjectUser = instanceOfProjectUser;
32
+ function ProjectUserFromJSON(json) {
33
+ return ProjectUserFromJSONTyped(json, false);
34
+ }
35
+ exports.ProjectUserFromJSON = ProjectUserFromJSON;
36
+ function ProjectUserFromJSONTyped(json, ignoreDiscriminator) {
37
+ if ((json === undefined) || (json === null)) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'name': json['name'],
42
+ 'username': json['username'],
43
+ 'organization': json['organization'],
44
+ 'department': json['department'],
45
+ 'email': json['email'],
46
+ 'role': (0, ProjectRole_1.ProjectRoleFromJSON)(json['role']),
47
+ };
48
+ }
49
+ exports.ProjectUserFromJSONTyped = ProjectUserFromJSONTyped;
50
+ function ProjectUserToJSON(value) {
51
+ if (value === undefined) {
52
+ return undefined;
53
+ }
54
+ if (value === null) {
55
+ return null;
56
+ }
57
+ return {
58
+ 'name': value.name,
59
+ 'username': value.username,
60
+ 'organization': value.organization,
61
+ 'department': value.department,
62
+ 'email': value.email,
63
+ 'role': (0, ProjectRole_1.ProjectRoleToJSON)(value.role),
64
+ };
65
+ }
66
+ exports.ProjectUserToJSON = ProjectUserToJSON;