@openshift-migration-advisor/planner-sdk 0.17.0 → 0.18.0-ca1dcff279a4

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 (406) hide show
  1. package/.openapi-generator/FILES +26 -0
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +18 -3
  4. package/dist/apis/AccountApi.d.ts +48 -0
  5. package/dist/apis/AccountApi.js +1 -1
  6. package/dist/apis/AssessmentApi.d.ts +135 -0
  7. package/dist/apis/AssessmentApi.js +84 -0
  8. package/dist/apis/ImageApi.d.ts +6 -0
  9. package/dist/apis/JobApi.d.ts +12 -0
  10. package/dist/apis/PartnerApi.d.ts +24 -0
  11. package/dist/apis/SizingApi.d.ts +3 -0
  12. package/dist/apis/SourceApi.d.ts +21 -0
  13. package/dist/esm/apis/AccountApi.d.ts +48 -0
  14. package/dist/esm/apis/AccountApi.js +1 -1
  15. package/dist/esm/apis/AssessmentApi.d.ts +135 -0
  16. package/dist/esm/apis/AssessmentApi.js +84 -0
  17. package/dist/esm/apis/ImageApi.d.ts +6 -0
  18. package/dist/esm/apis/JobApi.d.ts +12 -0
  19. package/dist/esm/apis/PartnerApi.d.ts +24 -0
  20. package/dist/esm/apis/SizingApi.d.ts +3 -0
  21. package/dist/esm/apis/SourceApi.d.ts +21 -0
  22. package/dist/esm/models/ActiveEnvironmentsInput.d.ts +41 -0
  23. package/dist/esm/models/ActiveEnvironmentsInput.js +51 -0
  24. package/dist/esm/models/Agent.d.ts +0 -14
  25. package/dist/esm/models/Agent.js +6 -5
  26. package/dist/esm/models/AgentProxy.d.ts +0 -6
  27. package/dist/esm/models/AriaAutomationInput.d.ts +51 -0
  28. package/dist/esm/models/AriaAutomationInput.js +61 -0
  29. package/dist/esm/models/AriaOpsInput.d.ts +49 -0
  30. package/dist/esm/models/AriaOpsInput.js +59 -0
  31. package/dist/esm/models/AriaSecureInput.d.ts +41 -0
  32. package/dist/esm/models/AriaSecureInput.js +51 -0
  33. package/dist/esm/models/Assessment.d.ts +0 -20
  34. package/dist/esm/models/Assessment.js +5 -4
  35. package/dist/esm/models/AssessmentForm.d.ts +0 -8
  36. package/dist/esm/models/AssessmentSharing.d.ts +0 -6
  37. package/dist/esm/models/AssessmentSubsetInventory.d.ts +0 -12
  38. package/dist/esm/models/AssessmentSubsetInventory.js +3 -2
  39. package/dist/esm/models/AssessmentUpdate.d.ts +0 -2
  40. package/dist/esm/models/ClusterFeatures.d.ts +4 -6
  41. package/dist/esm/models/ClusterFeatures.js +3 -1
  42. package/dist/esm/models/ClusterRequirementsRequest.d.ts +0 -24
  43. package/dist/esm/models/ClusterRequirementsRequest.js +1 -1
  44. package/dist/esm/models/ClusterRequirementsResponse.d.ts +0 -12
  45. package/dist/esm/models/ClusterRequirementsStoredInput.d.ts +0 -24
  46. package/dist/esm/models/ClusterRequirementsStoredInput.js +3 -3
  47. package/dist/esm/models/ClusterSizing.d.ts +0 -18
  48. package/dist/esm/models/ClusterUtilization.d.ts +0 -14
  49. package/dist/esm/models/ComplexityDiskScoreEntry.d.ts +0 -6
  50. package/dist/esm/models/ComplexityOSNameEntry.d.ts +0 -6
  51. package/dist/esm/models/ComplexityOSScoreEntry.d.ts +0 -4
  52. package/dist/esm/models/CpuOverCommitRatio.js +1 -1
  53. package/dist/esm/models/Customer.d.ts +0 -12
  54. package/dist/esm/models/CustomerDetailsInput.d.ts +34 -0
  55. package/dist/esm/models/CustomerDetailsInput.js +43 -0
  56. package/dist/esm/models/Datastore.d.ts +5 -18
  57. package/dist/esm/models/Datastore.js +3 -0
  58. package/dist/esm/models/DeployedEnvironmentInput.d.ts +40 -0
  59. package/dist/esm/models/DeployedEnvironmentInput.js +50 -0
  60. package/dist/esm/models/DiskSizeTierSummary.d.ts +0 -4
  61. package/dist/esm/models/DiskTypeSummary.d.ts +0 -4
  62. package/dist/esm/models/EnhancementData.d.ts +76 -0
  63. package/dist/esm/models/EnhancementData.js +69 -0
  64. package/dist/esm/models/EstimationContext.d.ts +0 -4
  65. package/dist/esm/models/EstimationDetail.d.ts +0 -8
  66. package/dist/esm/models/Group.d.ts +0 -16
  67. package/dist/esm/models/Group.js +6 -5
  68. package/dist/esm/models/GroupCreate.d.ts +0 -10
  69. package/dist/esm/models/GroupCreate.js +1 -1
  70. package/dist/esm/models/GroupUpdate.d.ts +0 -8
  71. package/dist/esm/models/Histogram.d.ts +0 -6
  72. package/dist/esm/models/Host.d.ts +8 -12
  73. package/dist/esm/models/Host.js +4 -0
  74. package/dist/esm/models/Identity.d.ts +0 -8
  75. package/dist/esm/models/Identity.js +1 -1
  76. package/dist/esm/models/Info.d.ts +0 -8
  77. package/dist/esm/models/Infra.d.ts +0 -24
  78. package/dist/esm/models/Inventory.d.ts +4 -8
  79. package/dist/esm/models/Inventory.js +3 -1
  80. package/dist/esm/models/InventoryData.d.ts +0 -10
  81. package/dist/esm/models/InventoryTotals.d.ts +0 -6
  82. package/dist/esm/models/Ipv4Config.d.ts +0 -8
  83. package/dist/esm/models/IssuesBreakdown.d.ts +46 -0
  84. package/dist/esm/models/IssuesBreakdown.js +59 -0
  85. package/dist/esm/models/Job.d.ts +0 -8
  86. package/dist/esm/models/JobStatus.js +1 -1
  87. package/dist/esm/models/Label.d.ts +0 -4
  88. package/dist/esm/models/Member.d.ts +0 -10
  89. package/dist/esm/models/Member.js +5 -4
  90. package/dist/esm/models/MemberCreate.d.ts +0 -4
  91. package/dist/esm/models/MemberUpdate.d.ts +0 -2
  92. package/dist/esm/models/MemoryOverCommitRatio.js +1 -1
  93. package/dist/esm/models/MigrationComplexityRequest.d.ts +0 -2
  94. package/dist/esm/models/MigrationComplexityResponse.d.ts +0 -10
  95. package/dist/esm/models/MigrationEstimationByComplexityResponse.d.ts +0 -6
  96. package/dist/esm/models/MigrationEstimationRequest.d.ts +0 -6
  97. package/dist/esm/models/MigrationEstimationResponse.d.ts +0 -4
  98. package/dist/esm/models/MigrationIssue.d.ts +0 -8
  99. package/dist/esm/models/ModelError.d.ts +0 -2
  100. package/dist/esm/models/Network.d.ts +0 -10
  101. package/dist/esm/models/Network.js +1 -1
  102. package/dist/esm/models/NsxInput.d.ts +46 -0
  103. package/dist/esm/models/NsxInput.js +56 -0
  104. package/dist/esm/models/OptimizationStatus.d.ts +0 -4
  105. package/dist/esm/models/OptimizationStatus.js +1 -1
  106. package/dist/esm/models/OsDiskEstimationEntry.d.ts +0 -8
  107. package/dist/esm/models/OsInfo.d.ts +14 -6
  108. package/dist/esm/models/OsInfo.js +11 -0
  109. package/dist/esm/models/PartnerRequest.d.ts +0 -26
  110. package/dist/esm/models/PartnerRequest.js +7 -6
  111. package/dist/esm/models/PartnerRequestCreate.d.ts +0 -10
  112. package/dist/esm/models/PartnerRequestStatus.js +1 -1
  113. package/dist/esm/models/PartnerRequestUpdate.d.ts +0 -4
  114. package/dist/esm/models/PartnerSummary.d.ts +0 -8
  115. package/dist/esm/models/PresignedUrl.d.ts +0 -4
  116. package/dist/esm/models/PresignedUrl.js +3 -2
  117. package/dist/esm/models/Savings.d.ts +0 -6
  118. package/dist/esm/models/SchemaEstimationResult.d.ts +0 -6
  119. package/dist/esm/models/SharingSubject.d.ts +0 -6
  120. package/dist/esm/models/SizingOverCommitRatio.d.ts +0 -4
  121. package/dist/esm/models/SizingResourceConsumption.d.ts +0 -8
  122. package/dist/esm/models/SizingResourceLimits.d.ts +0 -4
  123. package/dist/esm/models/Snapshot.d.ts +0 -6
  124. package/dist/esm/models/Snapshot.js +3 -2
  125. package/dist/esm/models/Source.d.ts +0 -24
  126. package/dist/esm/models/Source.js +6 -5
  127. package/dist/esm/models/SourceCreate.d.ts +0 -18
  128. package/dist/esm/models/SourceCreate.js +1 -1
  129. package/dist/esm/models/SourceInfra.d.ts +0 -6
  130. package/dist/esm/models/SourceUpdate.d.ts +0 -18
  131. package/dist/esm/models/SourceUpdate.js +1 -1
  132. package/dist/esm/models/StandaloneClusterRequirementsRequest.d.ts +0 -28
  133. package/dist/esm/models/StandaloneClusterRequirementsRequest.js +1 -1
  134. package/dist/esm/models/StandaloneClusterRequirementsResponse.d.ts +0 -4
  135. package/dist/esm/models/Status.d.ts +0 -6
  136. package/dist/esm/models/StorageIoConfiguration.d.ts +50 -0
  137. package/dist/esm/models/StorageIoConfiguration.js +54 -0
  138. package/dist/esm/models/UpdateInventory.d.ts +0 -4
  139. package/dist/esm/models/VCenter.d.ts +0 -2
  140. package/dist/esm/models/VMResourceBreakdown.d.ts +0 -10
  141. package/dist/esm/models/VMs.d.ts +5 -44
  142. package/dist/esm/models/VMs.js +3 -0
  143. package/dist/esm/models/VMwareSubscriptionInput.d.ts +42 -0
  144. package/dist/esm/models/VMwareSubscriptionInput.js +52 -0
  145. package/dist/esm/models/VMwareVersionCountsInput.d.ts +42 -0
  146. package/dist/esm/models/VMwareVersionCountsInput.js +47 -0
  147. package/dist/esm/models/VmNetwork.d.ts +0 -2
  148. package/dist/esm/models/VsphereCoreInput.d.ts +38 -0
  149. package/dist/esm/models/VsphereCoreInput.js +45 -0
  150. package/dist/esm/models/index.d.ts +13 -0
  151. package/dist/esm/models/index.js +13 -0
  152. package/dist/esm/runtime.d.ts +11 -0
  153. package/dist/esm/runtime.js +47 -1
  154. package/dist/models/ActiveEnvironmentsInput.d.ts +41 -0
  155. package/dist/models/ActiveEnvironmentsInput.js +59 -0
  156. package/dist/models/Agent.d.ts +0 -14
  157. package/dist/models/Agent.js +6 -5
  158. package/dist/models/AgentProxy.d.ts +0 -6
  159. package/dist/models/AriaAutomationInput.d.ts +51 -0
  160. package/dist/models/AriaAutomationInput.js +69 -0
  161. package/dist/models/AriaOpsInput.d.ts +49 -0
  162. package/dist/models/AriaOpsInput.js +67 -0
  163. package/dist/models/AriaSecureInput.d.ts +41 -0
  164. package/dist/models/AriaSecureInput.js +59 -0
  165. package/dist/models/Assessment.d.ts +0 -20
  166. package/dist/models/Assessment.js +5 -4
  167. package/dist/models/AssessmentForm.d.ts +0 -8
  168. package/dist/models/AssessmentSharing.d.ts +0 -6
  169. package/dist/models/AssessmentSubsetInventory.d.ts +0 -12
  170. package/dist/models/AssessmentSubsetInventory.js +3 -2
  171. package/dist/models/AssessmentUpdate.d.ts +0 -2
  172. package/dist/models/ClusterFeatures.d.ts +4 -6
  173. package/dist/models/ClusterFeatures.js +3 -1
  174. package/dist/models/ClusterRequirementsRequest.d.ts +0 -24
  175. package/dist/models/ClusterRequirementsRequest.js +1 -1
  176. package/dist/models/ClusterRequirementsResponse.d.ts +0 -12
  177. package/dist/models/ClusterRequirementsStoredInput.d.ts +0 -24
  178. package/dist/models/ClusterRequirementsStoredInput.js +3 -3
  179. package/dist/models/ClusterSizing.d.ts +0 -18
  180. package/dist/models/ClusterUtilization.d.ts +0 -14
  181. package/dist/models/ComplexityDiskScoreEntry.d.ts +0 -6
  182. package/dist/models/ComplexityOSNameEntry.d.ts +0 -6
  183. package/dist/models/ComplexityOSScoreEntry.d.ts +0 -4
  184. package/dist/models/CpuOverCommitRatio.js +1 -1
  185. package/dist/models/Customer.d.ts +0 -12
  186. package/dist/models/CustomerDetailsInput.d.ts +34 -0
  187. package/dist/models/CustomerDetailsInput.js +50 -0
  188. package/dist/models/Datastore.d.ts +5 -18
  189. package/dist/models/Datastore.js +3 -0
  190. package/dist/models/DeployedEnvironmentInput.d.ts +40 -0
  191. package/dist/models/DeployedEnvironmentInput.js +58 -0
  192. package/dist/models/DiskSizeTierSummary.d.ts +0 -4
  193. package/dist/models/DiskTypeSummary.d.ts +0 -4
  194. package/dist/models/EnhancementData.d.ts +76 -0
  195. package/dist/models/EnhancementData.js +76 -0
  196. package/dist/models/EstimationContext.d.ts +0 -4
  197. package/dist/models/EstimationDetail.d.ts +0 -8
  198. package/dist/models/Group.d.ts +0 -16
  199. package/dist/models/Group.js +6 -5
  200. package/dist/models/GroupCreate.d.ts +0 -10
  201. package/dist/models/GroupCreate.js +1 -1
  202. package/dist/models/GroupUpdate.d.ts +0 -8
  203. package/dist/models/Histogram.d.ts +0 -6
  204. package/dist/models/Host.d.ts +8 -12
  205. package/dist/models/Host.js +4 -0
  206. package/dist/models/Identity.d.ts +0 -8
  207. package/dist/models/Identity.js +1 -1
  208. package/dist/models/Info.d.ts +0 -8
  209. package/dist/models/Infra.d.ts +0 -24
  210. package/dist/models/Inventory.d.ts +4 -8
  211. package/dist/models/Inventory.js +2 -0
  212. package/dist/models/InventoryData.d.ts +0 -10
  213. package/dist/models/InventoryTotals.d.ts +0 -6
  214. package/dist/models/Ipv4Config.d.ts +0 -8
  215. package/dist/models/IssuesBreakdown.d.ts +46 -0
  216. package/dist/models/IssuesBreakdown.js +66 -0
  217. package/dist/models/Job.d.ts +0 -8
  218. package/dist/models/JobStatus.js +1 -1
  219. package/dist/models/Label.d.ts +0 -4
  220. package/dist/models/Member.d.ts +0 -10
  221. package/dist/models/Member.js +5 -4
  222. package/dist/models/MemberCreate.d.ts +0 -4
  223. package/dist/models/MemberUpdate.d.ts +0 -2
  224. package/dist/models/MemoryOverCommitRatio.js +1 -1
  225. package/dist/models/MigrationComplexityRequest.d.ts +0 -2
  226. package/dist/models/MigrationComplexityResponse.d.ts +0 -10
  227. package/dist/models/MigrationEstimationByComplexityResponse.d.ts +0 -6
  228. package/dist/models/MigrationEstimationRequest.d.ts +0 -6
  229. package/dist/models/MigrationEstimationResponse.d.ts +0 -4
  230. package/dist/models/MigrationIssue.d.ts +0 -8
  231. package/dist/models/ModelError.d.ts +0 -2
  232. package/dist/models/Network.d.ts +0 -10
  233. package/dist/models/Network.js +1 -1
  234. package/dist/models/NsxInput.d.ts +46 -0
  235. package/dist/models/NsxInput.js +64 -0
  236. package/dist/models/OptimizationStatus.d.ts +0 -4
  237. package/dist/models/OptimizationStatus.js +1 -1
  238. package/dist/models/OsDiskEstimationEntry.d.ts +0 -8
  239. package/dist/models/OsInfo.d.ts +14 -6
  240. package/dist/models/OsInfo.js +12 -0
  241. package/dist/models/PartnerRequest.d.ts +0 -26
  242. package/dist/models/PartnerRequest.js +7 -6
  243. package/dist/models/PartnerRequestCreate.d.ts +0 -10
  244. package/dist/models/PartnerRequestStatus.js +1 -1
  245. package/dist/models/PartnerRequestUpdate.d.ts +0 -4
  246. package/dist/models/PartnerSummary.d.ts +0 -8
  247. package/dist/models/PresignedUrl.d.ts +0 -4
  248. package/dist/models/PresignedUrl.js +3 -2
  249. package/dist/models/Savings.d.ts +0 -6
  250. package/dist/models/SchemaEstimationResult.d.ts +0 -6
  251. package/dist/models/SharingSubject.d.ts +0 -6
  252. package/dist/models/SizingOverCommitRatio.d.ts +0 -4
  253. package/dist/models/SizingResourceConsumption.d.ts +0 -8
  254. package/dist/models/SizingResourceLimits.d.ts +0 -4
  255. package/dist/models/Snapshot.d.ts +0 -6
  256. package/dist/models/Snapshot.js +3 -2
  257. package/dist/models/Source.d.ts +0 -24
  258. package/dist/models/Source.js +6 -5
  259. package/dist/models/SourceCreate.d.ts +0 -18
  260. package/dist/models/SourceCreate.js +1 -1
  261. package/dist/models/SourceInfra.d.ts +0 -6
  262. package/dist/models/SourceUpdate.d.ts +0 -18
  263. package/dist/models/SourceUpdate.js +1 -1
  264. package/dist/models/StandaloneClusterRequirementsRequest.d.ts +0 -28
  265. package/dist/models/StandaloneClusterRequirementsRequest.js +1 -1
  266. package/dist/models/StandaloneClusterRequirementsResponse.d.ts +0 -4
  267. package/dist/models/Status.d.ts +0 -6
  268. package/dist/models/StorageIoConfiguration.d.ts +50 -0
  269. package/dist/models/StorageIoConfiguration.js +62 -0
  270. package/dist/models/UpdateInventory.d.ts +0 -4
  271. package/dist/models/VCenter.d.ts +0 -2
  272. package/dist/models/VMResourceBreakdown.d.ts +0 -10
  273. package/dist/models/VMs.d.ts +5 -44
  274. package/dist/models/VMs.js +3 -0
  275. package/dist/models/VMwareSubscriptionInput.d.ts +42 -0
  276. package/dist/models/VMwareSubscriptionInput.js +60 -0
  277. package/dist/models/VMwareVersionCountsInput.d.ts +42 -0
  278. package/dist/models/VMwareVersionCountsInput.js +54 -0
  279. package/dist/models/VmNetwork.d.ts +0 -2
  280. package/dist/models/VsphereCoreInput.d.ts +38 -0
  281. package/dist/models/VsphereCoreInput.js +52 -0
  282. package/dist/models/index.d.ts +13 -0
  283. package/dist/models/index.js +13 -0
  284. package/dist/runtime.d.ts +11 -0
  285. package/dist/runtime.js +51 -1
  286. package/docs/ActiveEnvironmentsInput.md +34 -0
  287. package/docs/AriaAutomationInput.md +34 -0
  288. package/docs/AriaOpsInput.md +34 -0
  289. package/docs/AriaSecureInput.md +34 -0
  290. package/docs/AssessmentApi.md +148 -0
  291. package/docs/ClusterFeatures.md +2 -0
  292. package/docs/CustomerDetailsInput.md +36 -0
  293. package/docs/Datastore.md +2 -0
  294. package/docs/DeployedEnvironmentInput.md +34 -0
  295. package/docs/EnhancementData.md +53 -0
  296. package/docs/Host.md +4 -0
  297. package/docs/Inventory.md +2 -0
  298. package/docs/IssuesBreakdown.md +42 -0
  299. package/docs/NsxInput.md +34 -0
  300. package/docs/OsInfo.md +2 -0
  301. package/docs/StorageIoConfiguration.md +40 -0
  302. package/docs/VMs.md +2 -0
  303. package/docs/VMwareSubscriptionInput.md +34 -0
  304. package/docs/VMwareVersionCountsInput.md +40 -0
  305. package/docs/VsphereCoreInput.md +38 -0
  306. package/package.json +1 -1
  307. package/src/apis/AccountApi.ts +49 -1
  308. package/src/apis/AssessmentApi.ts +223 -0
  309. package/src/apis/ImageApi.ts +6 -0
  310. package/src/apis/JobApi.ts +12 -0
  311. package/src/apis/PartnerApi.ts +24 -0
  312. package/src/apis/SizingApi.ts +3 -0
  313. package/src/apis/SourceApi.ts +21 -0
  314. package/src/models/ActiveEnvironmentsInput.ts +77 -0
  315. package/src/models/Agent.ts +6 -20
  316. package/src/models/AgentProxy.ts +0 -6
  317. package/src/models/AriaAutomationInput.ts +87 -0
  318. package/src/models/AriaOpsInput.ts +85 -0
  319. package/src/models/AriaSecureInput.ts +77 -0
  320. package/src/models/Assessment.ts +5 -25
  321. package/src/models/AssessmentForm.ts +0 -8
  322. package/src/models/AssessmentSharing.ts +0 -6
  323. package/src/models/AssessmentSubsetInventory.ts +3 -15
  324. package/src/models/AssessmentUpdate.ts +0 -2
  325. package/src/models/ClusterFeatures.ts +7 -7
  326. package/src/models/ClusterRequirementsRequest.ts +1 -25
  327. package/src/models/ClusterRequirementsResponse.ts +0 -12
  328. package/src/models/ClusterRequirementsStoredInput.ts +3 -27
  329. package/src/models/ClusterSizing.ts +0 -18
  330. package/src/models/ClusterUtilization.ts +0 -14
  331. package/src/models/ComplexityDiskScoreEntry.ts +0 -6
  332. package/src/models/ComplexityOSNameEntry.ts +0 -6
  333. package/src/models/ComplexityOSScoreEntry.ts +0 -4
  334. package/src/models/CpuOverCommitRatio.ts +1 -1
  335. package/src/models/Customer.ts +0 -12
  336. package/src/models/CustomerDetailsInput.ts +69 -0
  337. package/src/models/Datastore.ts +14 -18
  338. package/src/models/DeployedEnvironmentInput.ts +76 -0
  339. package/src/models/DiskSizeTierSummary.ts +0 -4
  340. package/src/models/DiskTypeSummary.ts +0 -4
  341. package/src/models/EnhancementData.ts +188 -0
  342. package/src/models/EstimationContext.ts +0 -4
  343. package/src/models/EstimationDetail.ts +0 -8
  344. package/src/models/Group.ts +6 -22
  345. package/src/models/GroupCreate.ts +1 -11
  346. package/src/models/GroupUpdate.ts +0 -8
  347. package/src/models/Histogram.ts +0 -6
  348. package/src/models/Host.ts +12 -12
  349. package/src/models/Identity.ts +1 -9
  350. package/src/models/Info.ts +0 -8
  351. package/src/models/Infra.ts +0 -24
  352. package/src/models/Inventory.ts +7 -9
  353. package/src/models/InventoryData.ts +0 -10
  354. package/src/models/InventoryTotals.ts +0 -6
  355. package/src/models/Ipv4Config.ts +0 -8
  356. package/src/models/IssuesBreakdown.ts +92 -0
  357. package/src/models/Job.ts +0 -8
  358. package/src/models/JobStatus.ts +1 -1
  359. package/src/models/Label.ts +0 -4
  360. package/src/models/Member.ts +5 -15
  361. package/src/models/MemberCreate.ts +0 -4
  362. package/src/models/MemberUpdate.ts +0 -2
  363. package/src/models/MemoryOverCommitRatio.ts +1 -1
  364. package/src/models/MigrationComplexityRequest.ts +0 -2
  365. package/src/models/MigrationComplexityResponse.ts +0 -10
  366. package/src/models/MigrationEstimationByComplexityResponse.ts +0 -6
  367. package/src/models/MigrationEstimationRequest.ts +0 -6
  368. package/src/models/MigrationEstimationResponse.ts +0 -4
  369. package/src/models/MigrationIssue.ts +0 -8
  370. package/src/models/ModelError.ts +0 -2
  371. package/src/models/Network.ts +1 -11
  372. package/src/models/NsxInput.ts +82 -0
  373. package/src/models/OptimizationStatus.ts +1 -5
  374. package/src/models/OsDiskEstimationEntry.ts +0 -8
  375. package/src/models/OsInfo.ts +19 -6
  376. package/src/models/PartnerRequest.ts +7 -33
  377. package/src/models/PartnerRequestCreate.ts +0 -10
  378. package/src/models/PartnerRequestStatus.ts +1 -1
  379. package/src/models/PartnerRequestUpdate.ts +0 -4
  380. package/src/models/PartnerSummary.ts +0 -8
  381. package/src/models/PresignedUrl.ts +3 -7
  382. package/src/models/Savings.ts +0 -6
  383. package/src/models/SchemaEstimationResult.ts +0 -6
  384. package/src/models/SharingSubject.ts +0 -6
  385. package/src/models/SizingOverCommitRatio.ts +0 -4
  386. package/src/models/SizingResourceConsumption.ts +0 -8
  387. package/src/models/SizingResourceLimits.ts +0 -4
  388. package/src/models/Snapshot.ts +3 -9
  389. package/src/models/Source.ts +6 -30
  390. package/src/models/SourceCreate.ts +1 -19
  391. package/src/models/SourceInfra.ts +0 -6
  392. package/src/models/SourceUpdate.ts +1 -19
  393. package/src/models/StandaloneClusterRequirementsRequest.ts +1 -29
  394. package/src/models/StandaloneClusterRequirementsResponse.ts +0 -4
  395. package/src/models/Status.ts +0 -6
  396. package/src/models/StorageIoConfiguration.ts +92 -0
  397. package/src/models/UpdateInventory.ts +0 -4
  398. package/src/models/VCenter.ts +0 -2
  399. package/src/models/VMResourceBreakdown.ts +0 -10
  400. package/src/models/VMs.ts +13 -44
  401. package/src/models/VMwareSubscriptionInput.ts +78 -0
  402. package/src/models/VMwareVersionCountsInput.ts +81 -0
  403. package/src/models/VmNetwork.ts +0 -2
  404. package/src/models/VsphereCoreInput.ts +75 -0
  405. package/src/models/index.ts +13 -0
  406. package/src/runtime.ts +52 -1
@@ -21,32 +21,22 @@ import { mapValues } from '../runtime.js';
21
21
  export interface Network {
22
22
  /**
23
23
  *
24
- * @type {NetworkTypeEnum}
25
- * @memberof Network
26
24
  */
27
25
  type: NetworkTypeEnum;
28
26
  /**
29
27
  *
30
- * @type {string}
31
- * @memberof Network
32
28
  */
33
29
  name: string;
34
30
  /**
35
31
  *
36
- * @type {string}
37
- * @memberof Network
38
32
  */
39
33
  vlanId?: string;
40
34
  /**
41
35
  *
42
- * @type {string}
43
- * @memberof Network
44
36
  */
45
37
  dvswitch?: string;
46
38
  /**
47
39
  *
48
- * @type {number}
49
- * @memberof Network
50
40
  */
51
41
  vmsCount?: number;
52
42
  }
@@ -59,7 +49,7 @@ export const NetworkTypeEnum = {
59
49
  Standard: 'standard',
60
50
  Distributed: 'distributed',
61
51
  Dvswitch: 'dvswitch',
62
- Unsupported: 'unsupported'
52
+ Unsupported: 'unsupported',
63
53
  } as const;
64
54
  export type NetworkTypeEnum = typeof NetworkTypeEnum[keyof typeof NetworkTypeEnum];
65
55
 
@@ -0,0 +1,82 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * OpenShift Migration Advisor API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1alpha1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime.js';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface NsxInput
20
+ */
21
+ export interface NsxInput {
22
+ /**
23
+ *
24
+ */
25
+ features?: Set<NsxInputFeaturesEnum>;
26
+ }
27
+
28
+
29
+ /**
30
+ * @export
31
+ */
32
+ export const NsxInputFeaturesEnum = {
33
+ Microsegmentation: 'microsegmentation',
34
+ MultiCloud: 'multi_cloud',
35
+ Tunnels: 'tunnels',
36
+ DynamicRouting: 'dynamic_routing',
37
+ CentralMgmt: 'central_mgmt',
38
+ Mpls: 'mpls',
39
+ Qos: 'qos',
40
+ NotAssessed: 'not_assessed',
41
+ NotAvailable: 'not_available',
42
+ NotInUse: 'not_in_use',
43
+ } as const;
44
+ export type NsxInputFeaturesEnum = typeof NsxInputFeaturesEnum[keyof typeof NsxInputFeaturesEnum];
45
+
46
+
47
+ /**
48
+ * Check if a given object implements the NsxInput interface.
49
+ */
50
+ export function instanceOfNsxInput(value: object): value is NsxInput {
51
+ return true;
52
+ }
53
+
54
+ export function NsxInputFromJSON(json: any): NsxInput {
55
+ return NsxInputFromJSONTyped(json, false);
56
+ }
57
+
58
+ export function NsxInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): NsxInput {
59
+ if (json == null) {
60
+ return json;
61
+ }
62
+ return {
63
+
64
+ 'features': json['features'] == null ? undefined : new Set(json['features']),
65
+ };
66
+ }
67
+
68
+ export function NsxInputToJSON(json: any): NsxInput {
69
+ return NsxInputToJSONTyped(json, false);
70
+ }
71
+
72
+ export function NsxInputToJSONTyped(value?: NsxInput | null, ignoreDiscriminator: boolean = false): any {
73
+ if (value == null) {
74
+ return value;
75
+ }
76
+
77
+ return {
78
+
79
+ 'features': value['features'] == null ? undefined : Array.from(value['features'] as Set<any>),
80
+ };
81
+ }
82
+
@@ -21,14 +21,10 @@ import { mapValues } from '../runtime.js';
21
21
  export interface OptimizationStatus {
22
22
  /**
23
23
  * Whether optimization was attempted based on available utilization data
24
- * @type {boolean}
25
- * @memberof OptimizationStatus
26
24
  */
27
25
  attempted: boolean;
28
26
  /**
29
27
  * Reason for optimization result
30
- * @type {OptimizationStatusReasonEnum}
31
- * @memberof OptimizationStatus
32
28
  */
33
29
  reason: OptimizationStatusReasonEnum;
34
30
  }
@@ -41,7 +37,7 @@ export const OptimizationStatusReasonEnum = {
41
37
  NoUtilizationData: 'no_utilization_data',
42
38
  LowConfidence: 'low_confidence',
43
39
  CalculationError: 'calculation_error',
44
- Success: 'success'
40
+ Success: 'success',
45
41
  } as const;
46
42
  export type OptimizationStatusReasonEnum = typeof OptimizationStatusReasonEnum[keyof typeof OptimizationStatusReasonEnum];
47
43
 
@@ -29,26 +29,18 @@ import {
29
29
  export interface OsDiskEstimationEntry {
30
30
  /**
31
31
  * Combined OS+Disk complexity score (0-4).
32
- * @type {number}
33
- * @memberof OsDiskEstimationEntry
34
32
  */
35
33
  score: number;
36
34
  /**
37
35
  * Number of VMs at this complexity level.
38
- * @type {number}
39
- * @memberof OsDiskEstimationEntry
40
36
  */
41
37
  vmCount: number;
42
38
  /**
43
39
  * Total provisioned disk across VMs in this bucket (decimal TB). 0.0 when ComplexityDistribution is absent from the inventory.
44
- * @type {number}
45
- * @memberof OsDiskEstimationEntry
46
40
  */
47
41
  totalDiskSizeTB: number;
48
42
  /**
49
43
  * Full estimation breakdown keyed by schema name. Absent for empty buckets (vmCount == 0).
50
- * @type {{ [key: string]: SchemaEstimationResult; }}
51
- * @memberof OsDiskEstimationEntry
52
44
  */
53
45
  estimation?: { [key: string]: SchemaEstimationResult; };
54
46
  }
@@ -21,24 +21,35 @@ import { mapValues } from '../runtime.js';
21
21
  export interface OsInfo {
22
22
  /**
23
23
  *
24
- * @type {number}
25
- * @memberof OsInfo
26
24
  */
27
25
  count: number;
28
26
  /**
29
27
  *
30
- * @type {boolean}
31
- * @memberof OsInfo
32
28
  */
33
29
  supported: boolean;
30
+ /**
31
+ * OS support tier per Red Hat KCS article 4234591
32
+ */
33
+ supportTier?: OsInfoSupportTierEnum;
34
34
  /**
35
35
  * Recommended OS upgrade for MTV unsupported OS that can be upgraded to a supported OS
36
- * @type {string}
37
- * @memberof OsInfo
38
36
  */
39
37
  upgradeRecommendation?: string;
40
38
  }
41
39
 
40
+
41
+ /**
42
+ * @export
43
+ */
44
+ export const OsInfoSupportTierEnum = {
45
+ Certified: 'certified',
46
+ VendorSupported: 'vendor_supported',
47
+ CommunitySupported: 'community_supported',
48
+ SpecialHandling: 'special_handling',
49
+ } as const;
50
+ export type OsInfoSupportTierEnum = typeof OsInfoSupportTierEnum[keyof typeof OsInfoSupportTierEnum];
51
+
52
+
42
53
  /**
43
54
  * Check if a given object implements the OsInfo interface.
44
55
  */
@@ -60,6 +71,7 @@ export function OsInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): Os
60
71
 
61
72
  'count': json['count'],
62
73
  'supported': json['supported'],
74
+ 'supportTier': json['supportTier'] == null ? undefined : json['supportTier'],
63
75
  'upgradeRecommendation': json['upgradeRecommendation'] == null ? undefined : json['upgradeRecommendation'],
64
76
  };
65
77
  }
@@ -77,6 +89,7 @@ export function OsInfoToJSONTyped(value?: OsInfo | null, ignoreDiscriminator: bo
77
89
 
78
90
  'count': value['count'],
79
91
  'supported': value['supported'],
92
+ 'supportTier': value['supportTier'],
80
93
  'upgradeRecommendation': value['upgradeRecommendation'],
81
94
  };
82
95
  }
@@ -12,7 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
- import { mapValues } from '../runtime.js';
15
+ import { mapValues, parseDate, parseDateTime, serializeDate, serializeDateTime } from '../runtime.js';
16
16
  import type { PartnerRequestStatus } from './PartnerRequestStatus.js';
17
17
  import {
18
18
  PartnerRequestStatusFromJSON,
@@ -36,80 +36,54 @@ import {
36
36
  export interface PartnerRequest {
37
37
  /**
38
38
  *
39
- * @type {string}
40
- * @memberof PartnerRequest
41
39
  */
42
40
  id: string;
43
41
  /**
44
42
  *
45
- * @type {string}
46
- * @memberof PartnerRequest
47
43
  */
48
44
  username: string;
49
45
  /**
50
46
  *
51
- * @type {PartnerSummary}
52
- * @memberof PartnerRequest
53
47
  */
54
48
  partner: PartnerSummary;
55
49
  /**
56
50
  *
57
- * @type {PartnerRequestStatus}
58
- * @memberof PartnerRequest
59
51
  */
60
52
  requestStatus: PartnerRequestStatus;
61
53
  /**
62
54
  *
63
- * @type {string}
64
- * @memberof PartnerRequest
65
55
  */
66
56
  name: string;
67
57
  /**
68
58
  *
69
- * @type {string}
70
- * @memberof PartnerRequest
71
59
  */
72
60
  contactName: string;
73
61
  /**
74
62
  *
75
- * @type {string}
76
- * @memberof PartnerRequest
77
63
  */
78
64
  contactPhone: string;
79
65
  /**
80
66
  *
81
- * @type {string}
82
- * @memberof PartnerRequest
83
67
  */
84
68
  email: string;
85
69
  /**
86
70
  *
87
- * @type {string}
88
- * @memberof PartnerRequest
89
71
  */
90
72
  location: string;
91
73
  /**
92
74
  *
93
- * @type {string}
94
- * @memberof PartnerRequest
95
75
  */
96
76
  reason?: string | null;
97
77
  /**
98
78
  *
99
- * @type {Date}
100
- * @memberof PartnerRequest
101
79
  */
102
80
  acceptedAt?: Date | null;
103
81
  /**
104
82
  *
105
- * @type {Date}
106
- * @memberof PartnerRequest
107
83
  */
108
84
  terminatedAt?: Date | null;
109
85
  /**
110
86
  *
111
- * @type {Date}
112
- * @memberof PartnerRequest
113
87
  */
114
88
  createdAt: Date;
115
89
  }
@@ -153,9 +127,9 @@ export function PartnerRequestFromJSONTyped(json: any, ignoreDiscriminator: bool
153
127
  'email': json['email'],
154
128
  'location': json['location'],
155
129
  'reason': json['reason'] === undefined ? undefined : json['reason'] === null ? null : json['reason'],
156
- 'acceptedAt': json['acceptedAt'] === undefined ? undefined : json['acceptedAt'] === null ? null : (new Date(json['acceptedAt'])),
157
- 'terminatedAt': json['terminatedAt'] === undefined ? undefined : json['terminatedAt'] === null ? null : (new Date(json['terminatedAt'])),
158
- 'createdAt': (new Date(json['createdAt'])),
130
+ 'acceptedAt': json['acceptedAt'] === undefined ? undefined : json['acceptedAt'] === null ? null : (parseDateTime(json['acceptedAt'])),
131
+ 'terminatedAt': json['terminatedAt'] === undefined ? undefined : json['terminatedAt'] === null ? null : (parseDateTime(json['terminatedAt'])),
132
+ 'createdAt': (json['createdAt'] == null ? json['createdAt'] : parseDateTime(json['createdAt'])),
159
133
  };
160
134
  }
161
135
 
@@ -180,9 +154,9 @@ export function PartnerRequestToJSONTyped(value?: PartnerRequest | null, ignoreD
180
154
  'email': value['email'],
181
155
  'location': value['location'],
182
156
  'reason': value['reason'],
183
- 'acceptedAt': value['acceptedAt'] == null ? value['acceptedAt'] : value['acceptedAt'].toISOString(),
184
- 'terminatedAt': value['terminatedAt'] == null ? value['terminatedAt'] : value['terminatedAt'].toISOString(),
185
- 'createdAt': value['createdAt'].toISOString(),
157
+ 'acceptedAt': value['acceptedAt'] == null ? value['acceptedAt'] : serializeDateTime(value['acceptedAt']),
158
+ 'terminatedAt': value['terminatedAt'] == null ? value['terminatedAt'] : serializeDateTime(value['terminatedAt']),
159
+ 'createdAt': value['createdAt'] == null ? value['createdAt'] : serializeDateTime(value['createdAt']),
186
160
  };
187
161
  }
188
162
 
@@ -21,32 +21,22 @@ import { mapValues } from '../runtime.js';
21
21
  export interface PartnerRequestCreate {
22
22
  /**
23
23
  *
24
- * @type {string}
25
- * @memberof PartnerRequestCreate
26
24
  */
27
25
  name: string;
28
26
  /**
29
27
  *
30
- * @type {string}
31
- * @memberof PartnerRequestCreate
32
28
  */
33
29
  contactName: string;
34
30
  /**
35
31
  *
36
- * @type {string}
37
- * @memberof PartnerRequestCreate
38
32
  */
39
33
  contactPhone: string;
40
34
  /**
41
35
  *
42
- * @type {string}
43
- * @memberof PartnerRequestCreate
44
36
  */
45
37
  email: string;
46
38
  /**
47
39
  *
48
- * @type {string}
49
- * @memberof PartnerRequestCreate
50
40
  */
51
41
  location: string;
52
42
  }
@@ -21,7 +21,7 @@ export const PartnerRequestStatus = {
21
21
  Pending: 'pending',
22
22
  Accepted: 'accepted',
23
23
  Rejected: 'rejected',
24
- Cancelled: 'cancelled'
24
+ Cancelled: 'cancelled',
25
25
  } as const;
26
26
  export type PartnerRequestStatus = typeof PartnerRequestStatus[keyof typeof PartnerRequestStatus];
27
27
 
@@ -29,14 +29,10 @@ import {
29
29
  export interface PartnerRequestUpdate {
30
30
  /**
31
31
  *
32
- * @type {PartnerRequestStatus}
33
- * @memberof PartnerRequestUpdate
34
32
  */
35
33
  status: PartnerRequestStatus;
36
34
  /**
37
35
  *
38
- * @type {string}
39
- * @memberof PartnerRequestUpdate
40
36
  */
41
37
  reason?: string;
42
38
  }
@@ -21,26 +21,18 @@ import { mapValues } from '../runtime.js';
21
21
  export interface PartnerSummary {
22
22
  /**
23
23
  *
24
- * @type {string}
25
- * @memberof PartnerSummary
26
24
  */
27
25
  id: string;
28
26
  /**
29
27
  *
30
- * @type {string}
31
- * @memberof PartnerSummary
32
28
  */
33
29
  name: string;
34
30
  /**
35
31
  *
36
- * @type {string}
37
- * @memberof PartnerSummary
38
32
  */
39
33
  company: string;
40
34
  /**
41
35
  *
42
- * @type {string}
43
- * @memberof PartnerSummary
44
36
  */
45
37
  icon: string;
46
38
  }
@@ -12,7 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
- import { mapValues } from '../runtime.js';
15
+ import { mapValues, parseDate, parseDateTime, serializeDate, serializeDateTime } from '../runtime.js';
16
16
  /**
17
17
  *
18
18
  * @export
@@ -21,14 +21,10 @@ import { mapValues } from '../runtime.js';
21
21
  export interface PresignedUrl {
22
22
  /**
23
23
  * Pre-signed URL for downloading the source discovery image.
24
- * @type {string}
25
- * @memberof PresignedUrl
26
24
  */
27
25
  url: string;
28
26
  /**
29
27
  * Expiration time for the URL token.
30
- * @type {Date}
31
- * @memberof PresignedUrl
32
28
  */
33
29
  expiresAt?: Date;
34
30
  }
@@ -52,7 +48,7 @@ export function PresignedUrlFromJSONTyped(json: any, ignoreDiscriminator: boolea
52
48
  return {
53
49
 
54
50
  'url': json['url'],
55
- 'expiresAt': json['expires_at'] == null ? undefined : (new Date(json['expires_at'])),
51
+ 'expiresAt': json['expires_at'] == null ? undefined : (parseDateTime(json['expires_at'])),
56
52
  };
57
53
  }
58
54
 
@@ -68,7 +64,7 @@ export function PresignedUrlToJSONTyped(value?: PresignedUrl | null, ignoreDiscr
68
64
  return {
69
65
 
70
66
  'url': value['url'],
71
- 'expires_at': value['expiresAt'] == null ? value['expiresAt'] : value['expiresAt'].toISOString(),
67
+ 'expires_at': value['expiresAt'] == null ? value['expiresAt'] : serializeDateTime(value['expiresAt']),
72
68
  };
73
69
  }
74
70
 
@@ -21,20 +21,14 @@ import { mapValues } from '../runtime.js';
21
21
  export interface Savings {
22
22
  /**
23
23
  * Number of nodes saved compared to baseline
24
- * @type {number}
25
- * @memberof Savings
26
24
  */
27
25
  nodesSaved: number;
28
26
  /**
29
27
  * Percentage reduction in nodes
30
- * @type {number}
31
- * @memberof Savings
32
28
  */
33
29
  percentageReduction: number;
34
30
  /**
35
31
  * Human-readable description of savings source
36
- * @type {string}
37
- * @memberof Savings
38
32
  */
39
33
  description: string;
40
34
  }
@@ -29,20 +29,14 @@ import {
29
29
  export interface SchemaEstimationResult {
30
30
  /**
31
31
  * Minimum total estimated duration across all calculators
32
- * @type {string}
33
- * @memberof SchemaEstimationResult
34
32
  */
35
33
  minTotalDuration: string;
36
34
  /**
37
35
  * Maximum total estimated duration across all calculators
38
- * @type {string}
39
- * @memberof SchemaEstimationResult
40
36
  */
41
37
  maxTotalDuration: string;
42
38
  /**
43
39
  * Per-calculator results
44
- * @type {{ [key: string]: EstimationDetail; }}
45
- * @memberof SchemaEstimationResult
46
40
  */
47
41
  breakdown: { [key: string]: EstimationDetail; };
48
42
  }
@@ -21,20 +21,14 @@ import { mapValues } from '../runtime.js';
21
21
  export interface SharingSubject {
22
22
  /**
23
23
  *
24
- * @type {string}
25
- * @memberof SharingSubject
26
24
  */
27
25
  type: string;
28
26
  /**
29
27
  *
30
- * @type {string}
31
- * @memberof SharingSubject
32
28
  */
33
29
  id: string;
34
30
  /**
35
31
  *
36
- * @type {string}
37
- * @memberof SharingSubject
38
32
  */
39
33
  name: string;
40
34
  }
@@ -21,14 +21,10 @@ import { mapValues } from '../runtime.js';
21
21
  export interface SizingOverCommitRatio {
22
22
  /**
23
23
  * CPU over-commit ratio
24
- * @type {number}
25
- * @memberof SizingOverCommitRatio
26
24
  */
27
25
  cpu: number;
28
26
  /**
29
27
  * Memory over-commit ratio
30
- * @type {number}
31
- * @memberof SizingOverCommitRatio
32
28
  */
33
29
  memory: number;
34
30
  }
@@ -36,26 +36,18 @@ import {
36
36
  export interface SizingResourceConsumption {
37
37
  /**
38
38
  * Total CPU requested
39
- * @type {number}
40
- * @memberof SizingResourceConsumption
41
39
  */
42
40
  cpu: number;
43
41
  /**
44
42
  * Total memory (GB) requested
45
- * @type {number}
46
- * @memberof SizingResourceConsumption
47
43
  */
48
44
  memory: number;
49
45
  /**
50
46
  *
51
- * @type {SizingResourceLimits}
52
- * @memberof SizingResourceConsumption
53
47
  */
54
48
  limits?: SizingResourceLimits;
55
49
  /**
56
50
  *
57
- * @type {SizingOverCommitRatio}
58
- * @memberof SizingResourceConsumption
59
51
  */
60
52
  overCommitRatio?: SizingOverCommitRatio;
61
53
  }
@@ -21,14 +21,10 @@ import { mapValues } from '../runtime.js';
21
21
  export interface SizingResourceLimits {
22
22
  /**
23
23
  * Total CPU limits
24
- * @type {number}
25
- * @memberof SizingResourceLimits
26
24
  */
27
25
  cpu: number;
28
26
  /**
29
27
  * Total memory (GB) limits
30
- * @type {number}
31
- * @memberof SizingResourceLimits
32
28
  */
33
29
  memory: number;
34
30
  }
@@ -12,7 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
- import { mapValues } from '../runtime.js';
15
+ import { mapValues, parseDate, parseDateTime, serializeDate, serializeDateTime } from '../runtime.js';
16
16
  import type { AssessmentSubsetInventory } from './AssessmentSubsetInventory.js';
17
17
  import {
18
18
  AssessmentSubsetInventoryFromJSON,
@@ -36,20 +36,14 @@ import {
36
36
  export interface Snapshot {
37
37
  /**
38
38
  *
39
- * @type {Inventory}
40
- * @memberof Snapshot
41
39
  */
42
40
  inventory: Inventory;
43
41
  /**
44
42
  *
45
- * @type {Date}
46
- * @memberof Snapshot
47
43
  */
48
44
  createdAt: Date;
49
45
  /**
50
46
  *
51
- * @type {Array<AssessmentSubsetInventory>}
52
- * @memberof Snapshot
53
47
  */
54
48
  subsetInventories?: Array<AssessmentSubsetInventory> | null;
55
49
  }
@@ -74,7 +68,7 @@ export function SnapshotFromJSONTyped(json: any, ignoreDiscriminator: boolean):
74
68
  return {
75
69
 
76
70
  'inventory': InventoryFromJSON(json['inventory']),
77
- 'createdAt': (new Date(json['createdAt'])),
71
+ 'createdAt': (json['createdAt'] == null ? json['createdAt'] : parseDateTime(json['createdAt'])),
78
72
  'subsetInventories': json['subsetInventories'] === undefined ? undefined : json['subsetInventories'] === null ? null : ((json['subsetInventories'] as Array<any>).map(AssessmentSubsetInventoryFromJSON)),
79
73
  };
80
74
  }
@@ -91,7 +85,7 @@ export function SnapshotToJSONTyped(value?: Snapshot | null, ignoreDiscriminator
91
85
  return {
92
86
 
93
87
  'inventory': InventoryToJSON(value['inventory']),
94
- 'createdAt': value['createdAt'].toISOString(),
88
+ 'createdAt': value['createdAt'] == null ? value['createdAt'] : serializeDateTime(value['createdAt']),
95
89
  'subsetInventories': value['subsetInventories'] == null ? undefined : ((value['subsetInventories'] as Array<any>).map(AssessmentSubsetInventoryToJSON)),
96
90
  };
97
91
  }