@openshift-migration-advisor/planner-sdk 0.18.0-b5e8e71564be → 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 (395) hide show
  1. package/.openapi-generator/FILES +22 -0
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +16 -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 +0 -20
  57. package/dist/esm/models/DeployedEnvironmentInput.d.ts +40 -0
  58. package/dist/esm/models/DeployedEnvironmentInput.js +50 -0
  59. package/dist/esm/models/DiskSizeTierSummary.d.ts +0 -4
  60. package/dist/esm/models/DiskTypeSummary.d.ts +0 -4
  61. package/dist/esm/models/EnhancementData.d.ts +76 -0
  62. package/dist/esm/models/EnhancementData.js +69 -0
  63. package/dist/esm/models/EstimationContext.d.ts +0 -4
  64. package/dist/esm/models/EstimationDetail.d.ts +0 -8
  65. package/dist/esm/models/Group.d.ts +0 -16
  66. package/dist/esm/models/Group.js +6 -5
  67. package/dist/esm/models/GroupCreate.d.ts +0 -10
  68. package/dist/esm/models/GroupCreate.js +1 -1
  69. package/dist/esm/models/GroupUpdate.d.ts +0 -8
  70. package/dist/esm/models/Histogram.d.ts +0 -6
  71. package/dist/esm/models/Host.d.ts +8 -12
  72. package/dist/esm/models/Host.js +4 -0
  73. package/dist/esm/models/Identity.d.ts +0 -8
  74. package/dist/esm/models/Identity.js +1 -1
  75. package/dist/esm/models/Info.d.ts +0 -8
  76. package/dist/esm/models/Infra.d.ts +0 -24
  77. package/dist/esm/models/Inventory.d.ts +4 -8
  78. package/dist/esm/models/Inventory.js +3 -1
  79. package/dist/esm/models/InventoryData.d.ts +0 -10
  80. package/dist/esm/models/InventoryTotals.d.ts +0 -6
  81. package/dist/esm/models/Ipv4Config.d.ts +0 -8
  82. package/dist/esm/models/IssuesBreakdown.d.ts +0 -10
  83. package/dist/esm/models/Job.d.ts +0 -8
  84. package/dist/esm/models/JobStatus.js +1 -1
  85. package/dist/esm/models/Label.d.ts +0 -4
  86. package/dist/esm/models/Member.d.ts +0 -10
  87. package/dist/esm/models/Member.js +5 -4
  88. package/dist/esm/models/MemberCreate.d.ts +0 -4
  89. package/dist/esm/models/MemberUpdate.d.ts +0 -2
  90. package/dist/esm/models/MemoryOverCommitRatio.js +1 -1
  91. package/dist/esm/models/MigrationComplexityRequest.d.ts +0 -2
  92. package/dist/esm/models/MigrationComplexityResponse.d.ts +0 -10
  93. package/dist/esm/models/MigrationEstimationByComplexityResponse.d.ts +0 -6
  94. package/dist/esm/models/MigrationEstimationRequest.d.ts +0 -6
  95. package/dist/esm/models/MigrationEstimationResponse.d.ts +0 -4
  96. package/dist/esm/models/MigrationIssue.d.ts +0 -8
  97. package/dist/esm/models/ModelError.d.ts +0 -2
  98. package/dist/esm/models/Network.d.ts +0 -10
  99. package/dist/esm/models/Network.js +1 -1
  100. package/dist/esm/models/NsxInput.d.ts +46 -0
  101. package/dist/esm/models/NsxInput.js +56 -0
  102. package/dist/esm/models/OptimizationStatus.d.ts +0 -4
  103. package/dist/esm/models/OptimizationStatus.js +1 -1
  104. package/dist/esm/models/OsDiskEstimationEntry.d.ts +0 -8
  105. package/dist/esm/models/OsInfo.d.ts +0 -8
  106. package/dist/esm/models/OsInfo.js +1 -1
  107. package/dist/esm/models/PartnerRequest.d.ts +0 -26
  108. package/dist/esm/models/PartnerRequest.js +7 -6
  109. package/dist/esm/models/PartnerRequestCreate.d.ts +0 -10
  110. package/dist/esm/models/PartnerRequestStatus.js +1 -1
  111. package/dist/esm/models/PartnerRequestUpdate.d.ts +0 -4
  112. package/dist/esm/models/PartnerSummary.d.ts +0 -8
  113. package/dist/esm/models/PresignedUrl.d.ts +0 -4
  114. package/dist/esm/models/PresignedUrl.js +3 -2
  115. package/dist/esm/models/Savings.d.ts +0 -6
  116. package/dist/esm/models/SchemaEstimationResult.d.ts +0 -6
  117. package/dist/esm/models/SharingSubject.d.ts +0 -6
  118. package/dist/esm/models/SizingOverCommitRatio.d.ts +0 -4
  119. package/dist/esm/models/SizingResourceConsumption.d.ts +0 -8
  120. package/dist/esm/models/SizingResourceLimits.d.ts +0 -4
  121. package/dist/esm/models/Snapshot.d.ts +0 -6
  122. package/dist/esm/models/Snapshot.js +3 -2
  123. package/dist/esm/models/Source.d.ts +0 -24
  124. package/dist/esm/models/Source.js +6 -5
  125. package/dist/esm/models/SourceCreate.d.ts +0 -18
  126. package/dist/esm/models/SourceCreate.js +1 -1
  127. package/dist/esm/models/SourceInfra.d.ts +0 -6
  128. package/dist/esm/models/SourceUpdate.d.ts +0 -18
  129. package/dist/esm/models/SourceUpdate.js +1 -1
  130. package/dist/esm/models/StandaloneClusterRequirementsRequest.d.ts +0 -28
  131. package/dist/esm/models/StandaloneClusterRequirementsRequest.js +1 -1
  132. package/dist/esm/models/StandaloneClusterRequirementsResponse.d.ts +0 -4
  133. package/dist/esm/models/Status.d.ts +0 -6
  134. package/dist/esm/models/StorageIoConfiguration.d.ts +0 -8
  135. package/dist/esm/models/StorageIoConfiguration.js +1 -1
  136. package/dist/esm/models/UpdateInventory.d.ts +0 -4
  137. package/dist/esm/models/VCenter.d.ts +0 -2
  138. package/dist/esm/models/VMResourceBreakdown.d.ts +0 -10
  139. package/dist/esm/models/VMs.d.ts +0 -46
  140. package/dist/esm/models/VMwareSubscriptionInput.d.ts +42 -0
  141. package/dist/esm/models/VMwareSubscriptionInput.js +52 -0
  142. package/dist/esm/models/VMwareVersionCountsInput.d.ts +42 -0
  143. package/dist/esm/models/VMwareVersionCountsInput.js +47 -0
  144. package/dist/esm/models/VmNetwork.d.ts +0 -2
  145. package/dist/esm/models/VsphereCoreInput.d.ts +38 -0
  146. package/dist/esm/models/VsphereCoreInput.js +45 -0
  147. package/dist/esm/models/index.d.ts +11 -0
  148. package/dist/esm/models/index.js +11 -0
  149. package/dist/esm/runtime.d.ts +11 -0
  150. package/dist/esm/runtime.js +47 -1
  151. package/dist/models/ActiveEnvironmentsInput.d.ts +41 -0
  152. package/dist/models/ActiveEnvironmentsInput.js +59 -0
  153. package/dist/models/Agent.d.ts +0 -14
  154. package/dist/models/Agent.js +6 -5
  155. package/dist/models/AgentProxy.d.ts +0 -6
  156. package/dist/models/AriaAutomationInput.d.ts +51 -0
  157. package/dist/models/AriaAutomationInput.js +69 -0
  158. package/dist/models/AriaOpsInput.d.ts +49 -0
  159. package/dist/models/AriaOpsInput.js +67 -0
  160. package/dist/models/AriaSecureInput.d.ts +41 -0
  161. package/dist/models/AriaSecureInput.js +59 -0
  162. package/dist/models/Assessment.d.ts +0 -20
  163. package/dist/models/Assessment.js +5 -4
  164. package/dist/models/AssessmentForm.d.ts +0 -8
  165. package/dist/models/AssessmentSharing.d.ts +0 -6
  166. package/dist/models/AssessmentSubsetInventory.d.ts +0 -12
  167. package/dist/models/AssessmentSubsetInventory.js +3 -2
  168. package/dist/models/AssessmentUpdate.d.ts +0 -2
  169. package/dist/models/ClusterFeatures.d.ts +4 -6
  170. package/dist/models/ClusterFeatures.js +3 -1
  171. package/dist/models/ClusterRequirementsRequest.d.ts +0 -24
  172. package/dist/models/ClusterRequirementsRequest.js +1 -1
  173. package/dist/models/ClusterRequirementsResponse.d.ts +0 -12
  174. package/dist/models/ClusterRequirementsStoredInput.d.ts +0 -24
  175. package/dist/models/ClusterRequirementsStoredInput.js +3 -3
  176. package/dist/models/ClusterSizing.d.ts +0 -18
  177. package/dist/models/ClusterUtilization.d.ts +0 -14
  178. package/dist/models/ComplexityDiskScoreEntry.d.ts +0 -6
  179. package/dist/models/ComplexityOSNameEntry.d.ts +0 -6
  180. package/dist/models/ComplexityOSScoreEntry.d.ts +0 -4
  181. package/dist/models/CpuOverCommitRatio.js +1 -1
  182. package/dist/models/Customer.d.ts +0 -12
  183. package/dist/models/CustomerDetailsInput.d.ts +34 -0
  184. package/dist/models/CustomerDetailsInput.js +50 -0
  185. package/dist/models/Datastore.d.ts +0 -20
  186. package/dist/models/DeployedEnvironmentInput.d.ts +40 -0
  187. package/dist/models/DeployedEnvironmentInput.js +58 -0
  188. package/dist/models/DiskSizeTierSummary.d.ts +0 -4
  189. package/dist/models/DiskTypeSummary.d.ts +0 -4
  190. package/dist/models/EnhancementData.d.ts +76 -0
  191. package/dist/models/EnhancementData.js +76 -0
  192. package/dist/models/EstimationContext.d.ts +0 -4
  193. package/dist/models/EstimationDetail.d.ts +0 -8
  194. package/dist/models/Group.d.ts +0 -16
  195. package/dist/models/Group.js +6 -5
  196. package/dist/models/GroupCreate.d.ts +0 -10
  197. package/dist/models/GroupCreate.js +1 -1
  198. package/dist/models/GroupUpdate.d.ts +0 -8
  199. package/dist/models/Histogram.d.ts +0 -6
  200. package/dist/models/Host.d.ts +8 -12
  201. package/dist/models/Host.js +4 -0
  202. package/dist/models/Identity.d.ts +0 -8
  203. package/dist/models/Identity.js +1 -1
  204. package/dist/models/Info.d.ts +0 -8
  205. package/dist/models/Infra.d.ts +0 -24
  206. package/dist/models/Inventory.d.ts +4 -8
  207. package/dist/models/Inventory.js +2 -0
  208. package/dist/models/InventoryData.d.ts +0 -10
  209. package/dist/models/InventoryTotals.d.ts +0 -6
  210. package/dist/models/Ipv4Config.d.ts +0 -8
  211. package/dist/models/IssuesBreakdown.d.ts +0 -10
  212. package/dist/models/Job.d.ts +0 -8
  213. package/dist/models/JobStatus.js +1 -1
  214. package/dist/models/Label.d.ts +0 -4
  215. package/dist/models/Member.d.ts +0 -10
  216. package/dist/models/Member.js +5 -4
  217. package/dist/models/MemberCreate.d.ts +0 -4
  218. package/dist/models/MemberUpdate.d.ts +0 -2
  219. package/dist/models/MemoryOverCommitRatio.js +1 -1
  220. package/dist/models/MigrationComplexityRequest.d.ts +0 -2
  221. package/dist/models/MigrationComplexityResponse.d.ts +0 -10
  222. package/dist/models/MigrationEstimationByComplexityResponse.d.ts +0 -6
  223. package/dist/models/MigrationEstimationRequest.d.ts +0 -6
  224. package/dist/models/MigrationEstimationResponse.d.ts +0 -4
  225. package/dist/models/MigrationIssue.d.ts +0 -8
  226. package/dist/models/ModelError.d.ts +0 -2
  227. package/dist/models/Network.d.ts +0 -10
  228. package/dist/models/Network.js +1 -1
  229. package/dist/models/NsxInput.d.ts +46 -0
  230. package/dist/models/NsxInput.js +64 -0
  231. package/dist/models/OptimizationStatus.d.ts +0 -4
  232. package/dist/models/OptimizationStatus.js +1 -1
  233. package/dist/models/OsDiskEstimationEntry.d.ts +0 -8
  234. package/dist/models/OsInfo.d.ts +0 -8
  235. package/dist/models/OsInfo.js +1 -1
  236. package/dist/models/PartnerRequest.d.ts +0 -26
  237. package/dist/models/PartnerRequest.js +7 -6
  238. package/dist/models/PartnerRequestCreate.d.ts +0 -10
  239. package/dist/models/PartnerRequestStatus.js +1 -1
  240. package/dist/models/PartnerRequestUpdate.d.ts +0 -4
  241. package/dist/models/PartnerSummary.d.ts +0 -8
  242. package/dist/models/PresignedUrl.d.ts +0 -4
  243. package/dist/models/PresignedUrl.js +3 -2
  244. package/dist/models/Savings.d.ts +0 -6
  245. package/dist/models/SchemaEstimationResult.d.ts +0 -6
  246. package/dist/models/SharingSubject.d.ts +0 -6
  247. package/dist/models/SizingOverCommitRatio.d.ts +0 -4
  248. package/dist/models/SizingResourceConsumption.d.ts +0 -8
  249. package/dist/models/SizingResourceLimits.d.ts +0 -4
  250. package/dist/models/Snapshot.d.ts +0 -6
  251. package/dist/models/Snapshot.js +3 -2
  252. package/dist/models/Source.d.ts +0 -24
  253. package/dist/models/Source.js +6 -5
  254. package/dist/models/SourceCreate.d.ts +0 -18
  255. package/dist/models/SourceCreate.js +1 -1
  256. package/dist/models/SourceInfra.d.ts +0 -6
  257. package/dist/models/SourceUpdate.d.ts +0 -18
  258. package/dist/models/SourceUpdate.js +1 -1
  259. package/dist/models/StandaloneClusterRequirementsRequest.d.ts +0 -28
  260. package/dist/models/StandaloneClusterRequirementsRequest.js +1 -1
  261. package/dist/models/StandaloneClusterRequirementsResponse.d.ts +0 -4
  262. package/dist/models/Status.d.ts +0 -6
  263. package/dist/models/StorageIoConfiguration.d.ts +0 -8
  264. package/dist/models/StorageIoConfiguration.js +1 -1
  265. package/dist/models/UpdateInventory.d.ts +0 -4
  266. package/dist/models/VCenter.d.ts +0 -2
  267. package/dist/models/VMResourceBreakdown.d.ts +0 -10
  268. package/dist/models/VMs.d.ts +0 -46
  269. package/dist/models/VMwareSubscriptionInput.d.ts +42 -0
  270. package/dist/models/VMwareSubscriptionInput.js +60 -0
  271. package/dist/models/VMwareVersionCountsInput.d.ts +42 -0
  272. package/dist/models/VMwareVersionCountsInput.js +54 -0
  273. package/dist/models/VmNetwork.d.ts +0 -2
  274. package/dist/models/VsphereCoreInput.d.ts +38 -0
  275. package/dist/models/VsphereCoreInput.js +52 -0
  276. package/dist/models/index.d.ts +11 -0
  277. package/dist/models/index.js +11 -0
  278. package/dist/runtime.d.ts +11 -0
  279. package/dist/runtime.js +51 -1
  280. package/docs/ActiveEnvironmentsInput.md +34 -0
  281. package/docs/AriaAutomationInput.md +34 -0
  282. package/docs/AriaOpsInput.md +34 -0
  283. package/docs/AriaSecureInput.md +34 -0
  284. package/docs/AssessmentApi.md +148 -0
  285. package/docs/ClusterFeatures.md +2 -0
  286. package/docs/CustomerDetailsInput.md +36 -0
  287. package/docs/DeployedEnvironmentInput.md +34 -0
  288. package/docs/EnhancementData.md +53 -0
  289. package/docs/Host.md +4 -0
  290. package/docs/Inventory.md +2 -0
  291. package/docs/NsxInput.md +34 -0
  292. package/docs/VMwareSubscriptionInput.md +34 -0
  293. package/docs/VMwareVersionCountsInput.md +40 -0
  294. package/docs/VsphereCoreInput.md +38 -0
  295. package/package.json +1 -1
  296. package/src/apis/AccountApi.ts +49 -1
  297. package/src/apis/AssessmentApi.ts +223 -0
  298. package/src/apis/ImageApi.ts +6 -0
  299. package/src/apis/JobApi.ts +12 -0
  300. package/src/apis/PartnerApi.ts +24 -0
  301. package/src/apis/SizingApi.ts +3 -0
  302. package/src/apis/SourceApi.ts +21 -0
  303. package/src/models/ActiveEnvironmentsInput.ts +77 -0
  304. package/src/models/Agent.ts +6 -20
  305. package/src/models/AgentProxy.ts +0 -6
  306. package/src/models/AriaAutomationInput.ts +87 -0
  307. package/src/models/AriaOpsInput.ts +85 -0
  308. package/src/models/AriaSecureInput.ts +77 -0
  309. package/src/models/Assessment.ts +5 -25
  310. package/src/models/AssessmentForm.ts +0 -8
  311. package/src/models/AssessmentSharing.ts +0 -6
  312. package/src/models/AssessmentSubsetInventory.ts +3 -15
  313. package/src/models/AssessmentUpdate.ts +0 -2
  314. package/src/models/ClusterFeatures.ts +7 -7
  315. package/src/models/ClusterRequirementsRequest.ts +1 -25
  316. package/src/models/ClusterRequirementsResponse.ts +0 -12
  317. package/src/models/ClusterRequirementsStoredInput.ts +3 -27
  318. package/src/models/ClusterSizing.ts +0 -18
  319. package/src/models/ClusterUtilization.ts +0 -14
  320. package/src/models/ComplexityDiskScoreEntry.ts +0 -6
  321. package/src/models/ComplexityOSNameEntry.ts +0 -6
  322. package/src/models/ComplexityOSScoreEntry.ts +0 -4
  323. package/src/models/CpuOverCommitRatio.ts +1 -1
  324. package/src/models/Customer.ts +0 -12
  325. package/src/models/CustomerDetailsInput.ts +69 -0
  326. package/src/models/Datastore.ts +0 -20
  327. package/src/models/DeployedEnvironmentInput.ts +76 -0
  328. package/src/models/DiskSizeTierSummary.ts +0 -4
  329. package/src/models/DiskTypeSummary.ts +0 -4
  330. package/src/models/EnhancementData.ts +188 -0
  331. package/src/models/EstimationContext.ts +0 -4
  332. package/src/models/EstimationDetail.ts +0 -8
  333. package/src/models/Group.ts +6 -22
  334. package/src/models/GroupCreate.ts +1 -11
  335. package/src/models/GroupUpdate.ts +0 -8
  336. package/src/models/Histogram.ts +0 -6
  337. package/src/models/Host.ts +12 -12
  338. package/src/models/Identity.ts +1 -9
  339. package/src/models/Info.ts +0 -8
  340. package/src/models/Infra.ts +0 -24
  341. package/src/models/Inventory.ts +7 -9
  342. package/src/models/InventoryData.ts +0 -10
  343. package/src/models/InventoryTotals.ts +0 -6
  344. package/src/models/Ipv4Config.ts +0 -8
  345. package/src/models/IssuesBreakdown.ts +0 -10
  346. package/src/models/Job.ts +0 -8
  347. package/src/models/JobStatus.ts +1 -1
  348. package/src/models/Label.ts +0 -4
  349. package/src/models/Member.ts +5 -15
  350. package/src/models/MemberCreate.ts +0 -4
  351. package/src/models/MemberUpdate.ts +0 -2
  352. package/src/models/MemoryOverCommitRatio.ts +1 -1
  353. package/src/models/MigrationComplexityRequest.ts +0 -2
  354. package/src/models/MigrationComplexityResponse.ts +0 -10
  355. package/src/models/MigrationEstimationByComplexityResponse.ts +0 -6
  356. package/src/models/MigrationEstimationRequest.ts +0 -6
  357. package/src/models/MigrationEstimationResponse.ts +0 -4
  358. package/src/models/MigrationIssue.ts +0 -8
  359. package/src/models/ModelError.ts +0 -2
  360. package/src/models/Network.ts +1 -11
  361. package/src/models/NsxInput.ts +82 -0
  362. package/src/models/OptimizationStatus.ts +1 -5
  363. package/src/models/OsDiskEstimationEntry.ts +0 -8
  364. package/src/models/OsInfo.ts +1 -9
  365. package/src/models/PartnerRequest.ts +7 -33
  366. package/src/models/PartnerRequestCreate.ts +0 -10
  367. package/src/models/PartnerRequestStatus.ts +1 -1
  368. package/src/models/PartnerRequestUpdate.ts +0 -4
  369. package/src/models/PartnerSummary.ts +0 -8
  370. package/src/models/PresignedUrl.ts +3 -7
  371. package/src/models/Savings.ts +0 -6
  372. package/src/models/SchemaEstimationResult.ts +0 -6
  373. package/src/models/SharingSubject.ts +0 -6
  374. package/src/models/SizingOverCommitRatio.ts +0 -4
  375. package/src/models/SizingResourceConsumption.ts +0 -8
  376. package/src/models/SizingResourceLimits.ts +0 -4
  377. package/src/models/Snapshot.ts +3 -9
  378. package/src/models/Source.ts +6 -30
  379. package/src/models/SourceCreate.ts +1 -19
  380. package/src/models/SourceInfra.ts +0 -6
  381. package/src/models/SourceUpdate.ts +1 -19
  382. package/src/models/StandaloneClusterRequirementsRequest.ts +1 -29
  383. package/src/models/StandaloneClusterRequirementsResponse.ts +0 -4
  384. package/src/models/Status.ts +0 -6
  385. package/src/models/StorageIoConfiguration.ts +1 -9
  386. package/src/models/UpdateInventory.ts +0 -4
  387. package/src/models/VCenter.ts +0 -2
  388. package/src/models/VMResourceBreakdown.ts +0 -10
  389. package/src/models/VMs.ts +0 -46
  390. package/src/models/VMwareSubscriptionInput.ts +78 -0
  391. package/src/models/VMwareVersionCountsInput.ts +81 -0
  392. package/src/models/VmNetwork.ts +0 -2
  393. package/src/models/VsphereCoreInput.ts +75 -0
  394. package/src/models/index.ts +11 -0
  395. package/src/runtime.ts +52 -1
@@ -0,0 +1,188 @@
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
+ import type { NsxInput } from './NsxInput.js';
17
+ import {
18
+ NsxInputFromJSON,
19
+ NsxInputFromJSONTyped,
20
+ NsxInputToJSON,
21
+ NsxInputToJSONTyped,
22
+ } from './NsxInput.js';
23
+ import type { AriaSecureInput } from './AriaSecureInput.js';
24
+ import {
25
+ AriaSecureInputFromJSON,
26
+ AriaSecureInputFromJSONTyped,
27
+ AriaSecureInputToJSON,
28
+ AriaSecureInputToJSONTyped,
29
+ } from './AriaSecureInput.js';
30
+ import type { DeployedEnvironmentInput } from './DeployedEnvironmentInput.js';
31
+ import {
32
+ DeployedEnvironmentInputFromJSON,
33
+ DeployedEnvironmentInputFromJSONTyped,
34
+ DeployedEnvironmentInputToJSON,
35
+ DeployedEnvironmentInputToJSONTyped,
36
+ } from './DeployedEnvironmentInput.js';
37
+ import type { VMwareSubscriptionInput } from './VMwareSubscriptionInput.js';
38
+ import {
39
+ VMwareSubscriptionInputFromJSON,
40
+ VMwareSubscriptionInputFromJSONTyped,
41
+ VMwareSubscriptionInputToJSON,
42
+ VMwareSubscriptionInputToJSONTyped,
43
+ } from './VMwareSubscriptionInput.js';
44
+ import type { CustomerDetailsInput } from './CustomerDetailsInput.js';
45
+ import {
46
+ CustomerDetailsInputFromJSON,
47
+ CustomerDetailsInputFromJSONTyped,
48
+ CustomerDetailsInputToJSON,
49
+ CustomerDetailsInputToJSONTyped,
50
+ } from './CustomerDetailsInput.js';
51
+ import type { VMwareVersionCountsInput } from './VMwareVersionCountsInput.js';
52
+ import {
53
+ VMwareVersionCountsInputFromJSON,
54
+ VMwareVersionCountsInputFromJSONTyped,
55
+ VMwareVersionCountsInputToJSON,
56
+ VMwareVersionCountsInputToJSONTyped,
57
+ } from './VMwareVersionCountsInput.js';
58
+ import type { VsphereCoreInput } from './VsphereCoreInput.js';
59
+ import {
60
+ VsphereCoreInputFromJSON,
61
+ VsphereCoreInputFromJSONTyped,
62
+ VsphereCoreInputToJSON,
63
+ VsphereCoreInputToJSONTyped,
64
+ } from './VsphereCoreInput.js';
65
+ import type { AriaAutomationInput } from './AriaAutomationInput.js';
66
+ import {
67
+ AriaAutomationInputFromJSON,
68
+ AriaAutomationInputFromJSONTyped,
69
+ AriaAutomationInputToJSON,
70
+ AriaAutomationInputToJSONTyped,
71
+ } from './AriaAutomationInput.js';
72
+ import type { AriaOpsInput } from './AriaOpsInput.js';
73
+ import {
74
+ AriaOpsInputFromJSON,
75
+ AriaOpsInputFromJSONTyped,
76
+ AriaOpsInputToJSON,
77
+ AriaOpsInputToJSONTyped,
78
+ } from './AriaOpsInput.js';
79
+ import type { ActiveEnvironmentsInput } from './ActiveEnvironmentsInput.js';
80
+ import {
81
+ ActiveEnvironmentsInputFromJSON,
82
+ ActiveEnvironmentsInputFromJSONTyped,
83
+ ActiveEnvironmentsInputToJSON,
84
+ ActiveEnvironmentsInputToJSONTyped,
85
+ } from './ActiveEnvironmentsInput.js';
86
+
87
+ /**
88
+ * VMA enhancement data — fields that cannot be auto-collected by Agent or RVTools
89
+ * @export
90
+ * @interface EnhancementData
91
+ */
92
+ export interface EnhancementData {
93
+ /**
94
+ *
95
+ */
96
+ deployedEnvironment?: DeployedEnvironmentInput;
97
+ /**
98
+ *
99
+ */
100
+ vmwareVersionCounts?: VMwareVersionCountsInput;
101
+ /**
102
+ *
103
+ */
104
+ activeEnvironments?: ActiveEnvironmentsInput;
105
+ /**
106
+ *
107
+ */
108
+ vmwareSubscription?: VMwareSubscriptionInput;
109
+ /**
110
+ *
111
+ */
112
+ vsphereCore?: VsphereCoreInput;
113
+ /**
114
+ *
115
+ */
116
+ nsx?: NsxInput;
117
+ /**
118
+ *
119
+ */
120
+ ariaOps?: AriaOpsInput;
121
+ /**
122
+ *
123
+ */
124
+ ariaAutomation?: AriaAutomationInput;
125
+ /**
126
+ *
127
+ */
128
+ ariaSecure?: AriaSecureInput;
129
+ /**
130
+ *
131
+ */
132
+ customerDetails?: CustomerDetailsInput;
133
+ }
134
+
135
+ /**
136
+ * Check if a given object implements the EnhancementData interface.
137
+ */
138
+ export function instanceOfEnhancementData(value: object): value is EnhancementData {
139
+ return true;
140
+ }
141
+
142
+ export function EnhancementDataFromJSON(json: any): EnhancementData {
143
+ return EnhancementDataFromJSONTyped(json, false);
144
+ }
145
+
146
+ export function EnhancementDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): EnhancementData {
147
+ if (json == null) {
148
+ return json;
149
+ }
150
+ return {
151
+
152
+ 'deployedEnvironment': json['deployedEnvironment'] == null ? undefined : DeployedEnvironmentInputFromJSON(json['deployedEnvironment']),
153
+ 'vmwareVersionCounts': json['vmwareVersionCounts'] == null ? undefined : VMwareVersionCountsInputFromJSON(json['vmwareVersionCounts']),
154
+ 'activeEnvironments': json['activeEnvironments'] == null ? undefined : ActiveEnvironmentsInputFromJSON(json['activeEnvironments']),
155
+ 'vmwareSubscription': json['vmwareSubscription'] == null ? undefined : VMwareSubscriptionInputFromJSON(json['vmwareSubscription']),
156
+ 'vsphereCore': json['vsphereCore'] == null ? undefined : VsphereCoreInputFromJSON(json['vsphereCore']),
157
+ 'nsx': json['nsx'] == null ? undefined : NsxInputFromJSON(json['nsx']),
158
+ 'ariaOps': json['ariaOps'] == null ? undefined : AriaOpsInputFromJSON(json['ariaOps']),
159
+ 'ariaAutomation': json['ariaAutomation'] == null ? undefined : AriaAutomationInputFromJSON(json['ariaAutomation']),
160
+ 'ariaSecure': json['ariaSecure'] == null ? undefined : AriaSecureInputFromJSON(json['ariaSecure']),
161
+ 'customerDetails': json['customerDetails'] == null ? undefined : CustomerDetailsInputFromJSON(json['customerDetails']),
162
+ };
163
+ }
164
+
165
+ export function EnhancementDataToJSON(json: any): EnhancementData {
166
+ return EnhancementDataToJSONTyped(json, false);
167
+ }
168
+
169
+ export function EnhancementDataToJSONTyped(value?: EnhancementData | null, ignoreDiscriminator: boolean = false): any {
170
+ if (value == null) {
171
+ return value;
172
+ }
173
+
174
+ return {
175
+
176
+ 'deployedEnvironment': DeployedEnvironmentInputToJSON(value['deployedEnvironment']),
177
+ 'vmwareVersionCounts': VMwareVersionCountsInputToJSON(value['vmwareVersionCounts']),
178
+ 'activeEnvironments': ActiveEnvironmentsInputToJSON(value['activeEnvironments']),
179
+ 'vmwareSubscription': VMwareSubscriptionInputToJSON(value['vmwareSubscription']),
180
+ 'vsphereCore': VsphereCoreInputToJSON(value['vsphereCore']),
181
+ 'nsx': NsxInputToJSON(value['nsx']),
182
+ 'ariaOps': AriaOpsInputToJSON(value['ariaOps']),
183
+ 'ariaAutomation': AriaAutomationInputToJSON(value['ariaAutomation']),
184
+ 'ariaSecure': AriaSecureInputToJSON(value['ariaSecure']),
185
+ 'customerDetails': CustomerDetailsInputToJSON(value['customerDetails']),
186
+ };
187
+ }
188
+
@@ -21,14 +21,10 @@ import { mapValues } from '../runtime.js';
21
21
  export interface EstimationContext {
22
22
  /**
23
23
  *
24
- * @type {Array<string>}
25
- * @memberof EstimationContext
26
24
  */
27
25
  schemas?: Array<string>;
28
26
  /**
29
27
  *
30
- * @type {{ [key: string]: number; }}
31
- * @memberof EstimationContext
32
28
  */
33
29
  params?: { [key: string]: number; };
34
30
  }
@@ -21,26 +21,18 @@ import { mapValues } from '../runtime.js';
21
21
  export interface EstimationDetail {
22
22
  /**
23
23
  * Estimated duration for this component (point calculators only)
24
- * @type {string}
25
- * @memberof EstimationDetail
26
24
  */
27
25
  duration?: string;
28
26
  /**
29
27
  * Minimum estimated duration (ranged calculators only)
30
- * @type {string}
31
- * @memberof EstimationDetail
32
28
  */
33
29
  minDuration?: string;
34
30
  /**
35
31
  * Maximum estimated duration (ranged calculators only)
36
- * @type {string}
37
- * @memberof EstimationDetail
38
32
  */
39
33
  maxDuration?: string;
40
34
  /**
41
35
  * Explanation of how the estimation was calculated
42
- * @type {string}
43
- * @memberof EstimationDetail
44
36
  */
45
37
  reason: 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,50 +21,34 @@ import { mapValues } from '../runtime.js';
21
21
  export interface Group {
22
22
  /**
23
23
  *
24
- * @type {string}
25
- * @memberof Group
26
24
  */
27
25
  id: string;
28
26
  /**
29
27
  *
30
- * @type {string}
31
- * @memberof Group
32
28
  */
33
29
  name: string;
34
30
  /**
35
31
  *
36
- * @type {string}
37
- * @memberof Group
38
32
  */
39
33
  description?: string;
40
34
  /**
41
35
  *
42
- * @type {GroupKindEnum}
43
- * @memberof Group
44
36
  */
45
37
  kind: GroupKindEnum;
46
38
  /**
47
39
  *
48
- * @type {string}
49
- * @memberof Group
50
40
  */
51
41
  icon: string;
52
42
  /**
53
43
  *
54
- * @type {string}
55
- * @memberof Group
56
44
  */
57
45
  company: string;
58
46
  /**
59
47
  *
60
- * @type {Date}
61
- * @memberof Group
62
48
  */
63
49
  createdAt: Date;
64
50
  /**
65
51
  *
66
- * @type {Date}
67
- * @memberof Group
68
52
  */
69
53
  updatedAt: Date;
70
54
  }
@@ -75,7 +59,7 @@ export interface Group {
75
59
  */
76
60
  export const GroupKindEnum = {
77
61
  Partner: 'partner',
78
- Admin: 'admin'
62
+ Admin: 'admin',
79
63
  } as const;
80
64
  export type GroupKindEnum = typeof GroupKindEnum[keyof typeof GroupKindEnum];
81
65
 
@@ -110,8 +94,8 @@ export function GroupFromJSONTyped(json: any, ignoreDiscriminator: boolean): Gro
110
94
  'kind': json['kind'],
111
95
  'icon': json['icon'],
112
96
  'company': json['company'],
113
- 'createdAt': (new Date(json['createdAt'])),
114
- 'updatedAt': (new Date(json['updatedAt'])),
97
+ 'createdAt': (json['createdAt'] == null ? json['createdAt'] : parseDateTime(json['createdAt'])),
98
+ 'updatedAt': (json['updatedAt'] == null ? json['updatedAt'] : parseDateTime(json['updatedAt'])),
115
99
  };
116
100
  }
117
101
 
@@ -132,8 +116,8 @@ export function GroupToJSONTyped(value?: Group | null, ignoreDiscriminator: bool
132
116
  'kind': value['kind'],
133
117
  'icon': value['icon'],
134
118
  'company': value['company'],
135
- 'createdAt': value['createdAt'].toISOString(),
136
- 'updatedAt': value['updatedAt'].toISOString(),
119
+ 'createdAt': value['createdAt'] == null ? value['createdAt'] : serializeDateTime(value['createdAt']),
120
+ 'updatedAt': value['updatedAt'] == null ? value['updatedAt'] : serializeDateTime(value['updatedAt']),
137
121
  };
138
122
  }
139
123
 
@@ -21,32 +21,22 @@ import { mapValues } from '../runtime.js';
21
21
  export interface GroupCreate {
22
22
  /**
23
23
  *
24
- * @type {string}
25
- * @memberof GroupCreate
26
24
  */
27
25
  name: string;
28
26
  /**
29
27
  *
30
- * @type {string}
31
- * @memberof GroupCreate
32
28
  */
33
29
  description: string;
34
30
  /**
35
31
  *
36
- * @type {GroupCreateKindEnum}
37
- * @memberof GroupCreate
38
32
  */
39
33
  kind: GroupCreateKindEnum;
40
34
  /**
41
35
  *
42
- * @type {string}
43
- * @memberof GroupCreate
44
36
  */
45
37
  icon: string;
46
38
  /**
47
39
  *
48
- * @type {string}
49
- * @memberof GroupCreate
50
40
  */
51
41
  company: string;
52
42
  }
@@ -57,7 +47,7 @@ export interface GroupCreate {
57
47
  */
58
48
  export const GroupCreateKindEnum = {
59
49
  Partner: 'partner',
60
- Admin: 'admin'
50
+ Admin: 'admin',
61
51
  } as const;
62
52
  export type GroupCreateKindEnum = typeof GroupCreateKindEnum[keyof typeof GroupCreateKindEnum];
63
53
 
@@ -21,26 +21,18 @@ import { mapValues } from '../runtime.js';
21
21
  export interface GroupUpdate {
22
22
  /**
23
23
  *
24
- * @type {string}
25
- * @memberof GroupUpdate
26
24
  */
27
25
  name?: string;
28
26
  /**
29
27
  *
30
- * @type {string}
31
- * @memberof GroupUpdate
32
28
  */
33
29
  description?: string;
34
30
  /**
35
31
  *
36
- * @type {string}
37
- * @memberof GroupUpdate
38
32
  */
39
33
  icon?: string;
40
34
  /**
41
35
  *
42
- * @type {string}
43
- * @memberof GroupUpdate
44
36
  */
45
37
  company?: string;
46
38
  }
@@ -21,20 +21,14 @@ import { mapValues } from '../runtime.js';
21
21
  export interface Histogram {
22
22
  /**
23
23
  *
24
- * @type {number}
25
- * @memberof Histogram
26
24
  */
27
25
  minValue: number;
28
26
  /**
29
27
  *
30
- * @type {number}
31
- * @memberof Histogram
32
28
  */
33
29
  step: number;
34
30
  /**
35
31
  *
36
- * @type {Array<number>}
37
- * @memberof Histogram
38
32
  */
39
33
  data: Array<number>;
40
34
  }
@@ -21,40 +21,36 @@ import { mapValues } from '../runtime.js';
21
21
  export interface Host {
22
22
  /**
23
23
  * Unique identifier for this host
24
- * @type {string}
25
- * @memberof Host
26
24
  */
27
25
  id?: string;
28
26
  /**
29
27
  *
30
- * @type {string}
31
- * @memberof Host
32
28
  */
33
29
  vendor: string;
34
30
  /**
35
31
  *
36
- * @type {string}
37
- * @memberof Host
38
32
  */
39
33
  model: string;
40
34
  /**
41
35
  * Number of CPU cores
42
- * @type {number}
43
- * @memberof Host
44
36
  */
45
37
  cpuCores?: number | null;
46
38
  /**
47
39
  * Number of CPU sockets
48
- * @type {number}
49
- * @memberof Host
50
40
  */
51
41
  cpuSockets?: number | null;
52
42
  /**
53
43
  * Host memory in MB
54
- * @type {number}
55
- * @memberof Host
56
44
  */
57
45
  memoryMB?: number | null;
46
+ /**
47
+ * Whether vMotion is supported on this host (HostSystem.capability.vmotionSupported)
48
+ */
49
+ vmotionSupported?: boolean;
50
+ /**
51
+ * Whether Storage vMotion is supported on this host (HostSystem.capability.storageVMotionSupported)
52
+ */
53
+ storageVmotionSupported?: boolean;
58
54
  }
59
55
 
60
56
  /**
@@ -82,6 +78,8 @@ export function HostFromJSONTyped(json: any, ignoreDiscriminator: boolean): Host
82
78
  'cpuCores': json['cpuCores'] === undefined ? undefined : json['cpuCores'] === null ? null : json['cpuCores'],
83
79
  'cpuSockets': json['cpuSockets'] === undefined ? undefined : json['cpuSockets'] === null ? null : json['cpuSockets'],
84
80
  'memoryMB': json['memoryMB'] === undefined ? undefined : json['memoryMB'] === null ? null : json['memoryMB'],
81
+ 'vmotionSupported': json['vmotionSupported'] == null ? undefined : json['vmotionSupported'],
82
+ 'storageVmotionSupported': json['storageVmotionSupported'] == null ? undefined : json['storageVmotionSupported'],
85
83
  };
86
84
  }
87
85
 
@@ -102,6 +100,8 @@ export function HostToJSONTyped(value?: Host | null, ignoreDiscriminator: boolea
102
100
  'cpuCores': value['cpuCores'],
103
101
  'cpuSockets': value['cpuSockets'],
104
102
  'memoryMB': value['memoryMB'],
103
+ 'vmotionSupported': value['vmotionSupported'],
104
+ 'storageVmotionSupported': value['storageVmotionSupported'],
105
105
  };
106
106
  }
107
107
 
@@ -21,26 +21,18 @@ import { mapValues } from '../runtime.js';
21
21
  export interface Identity {
22
22
  /**
23
23
  *
24
- * @type {string}
25
- * @memberof Identity
26
24
  */
27
25
  username: string;
28
26
  /**
29
27
  *
30
- * @type {IdentityKindEnum}
31
- * @memberof Identity
32
28
  */
33
29
  kind: IdentityKindEnum;
34
30
  /**
35
31
  *
36
- * @type {string}
37
- * @memberof Identity
38
32
  */
39
33
  groupId?: string | null;
40
34
  /**
41
35
  *
42
- * @type {string}
43
- * @memberof Identity
44
36
  */
45
37
  partnerId?: string | null;
46
38
  }
@@ -53,7 +45,7 @@ export const IdentityKindEnum = {
53
45
  Partner: 'partner',
54
46
  Customer: 'customer',
55
47
  Regular: 'regular',
56
- Admin: 'admin'
48
+ Admin: 'admin',
57
49
  } as const;
58
50
  export type IdentityKindEnum = typeof IdentityKindEnum[keyof typeof IdentityKindEnum];
59
51
 
@@ -21,26 +21,18 @@ import { mapValues } from '../runtime.js';
21
21
  export interface Info {
22
22
  /**
23
23
  * Git commit hash
24
- * @type {string}
25
- * @memberof Info
26
24
  */
27
25
  gitCommit: string;
28
26
  /**
29
27
  * Version name, based on git tag
30
- * @type {string}
31
- * @memberof Info
32
28
  */
33
29
  versionName: string;
34
30
  /**
35
31
  * Agent git commit hash
36
- * @type {string}
37
- * @memberof Info
38
32
  */
39
33
  agentGitCommit?: string | null;
40
34
  /**
41
35
  * Agent version name, based on git tag
42
- * @type {string}
43
- * @memberof Info
44
36
  */
45
37
  agentVersionName?: string | null;
46
38
  }
@@ -43,77 +43,53 @@ import {
43
43
  export interface Infra {
44
44
  /**
45
45
  *
46
- * @type {number}
47
- * @memberof Infra
48
46
  */
49
47
  totalHosts: number;
50
48
  /**
51
49
  *
52
- * @type {number}
53
- * @memberof Infra
54
50
  */
55
51
  totalDatacenters?: number;
56
52
  /**
57
53
  *
58
- * @type {number}
59
- * @memberof Infra
60
54
  * @deprecated
61
55
  */
62
56
  totalClusters?: number;
63
57
  /**
64
58
  *
65
- * @type {Array<number>}
66
- * @memberof Infra
67
59
  */
68
60
  clustersPerDatacenter?: Array<number>;
69
61
  /**
70
62
  * CPU Overcommitment Ratio. Calculated as total Allocated vCPUs / Total Physical Cores
71
- * @type {number}
72
- * @memberof Infra
73
63
  */
74
64
  cpuOverCommitment?: number;
75
65
  /**
76
66
  * RAM memory Overcommitment Ratio. Calculated as total Allocated memory / Total memory available
77
- * @type {number}
78
- * @memberof Infra
79
67
  */
80
68
  memoryOverCommitment?: number;
81
69
  /**
82
70
  *
83
- * @type {Array<Host>}
84
- * @memberof Infra
85
71
  */
86
72
  hosts?: Array<Host>;
87
73
  /**
88
74
  *
89
- * @type {Array<number>}
90
- * @memberof Infra
91
75
  * @deprecated
92
76
  */
93
77
  hostsPerCluster?: Array<number>;
94
78
  /**
95
79
  *
96
- * @type {Array<number>}
97
- * @memberof Infra
98
80
  * @deprecated
99
81
  */
100
82
  vmsPerCluster?: Array<number>;
101
83
  /**
102
84
  *
103
- * @type {{ [key: string]: number; }}
104
- * @memberof Infra
105
85
  */
106
86
  hostPowerStates: { [key: string]: number; };
107
87
  /**
108
88
  *
109
- * @type {Array<Network>}
110
- * @memberof Infra
111
89
  */
112
90
  networks: Array<Network>;
113
91
  /**
114
92
  *
115
- * @type {Array<Datastore>}
116
- * @memberof Infra
117
93
  */
118
94
  datastores: Array<Datastore>;
119
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 { InventoryData } from './InventoryData.js';
17
17
  import {
18
18
  InventoryDataFromJSON,
@@ -29,28 +29,24 @@ import {
29
29
  export interface Inventory {
30
30
  /**
31
31
  * ID of the vCenter
32
- * @type {string}
33
- * @memberof Inventory
34
32
  */
35
33
  vcenterId: string;
36
34
  /**
37
35
  * Version of the vCenter api. For example "8.0.3.0"
38
- * @type {string}
39
- * @memberof Inventory
40
36
  */
41
37
  vcenterVersion?: string;
42
38
  /**
43
39
  * Map of cluster names to their inventory data
44
- * @type {{ [key: string]: InventoryData; }}
45
- * @memberof Inventory
46
40
  */
47
41
  clusters: { [key: string]: InventoryData; };
48
42
  /**
49
43
  *
50
- * @type {InventoryData}
51
- * @memberof Inventory
52
44
  */
53
45
  vcenter?: InventoryData;
46
+ /**
47
+ * Timestamp when the inventory data was created or collected
48
+ */
49
+ createdAt?: Date;
54
50
  }
55
51
 
56
52
  /**
@@ -76,6 +72,7 @@ export function InventoryFromJSONTyped(json: any, ignoreDiscriminator: boolean):
76
72
  'vcenterVersion': json['vcenter_version'] == null ? undefined : json['vcenter_version'],
77
73
  'clusters': (mapValues(json['clusters'], InventoryDataFromJSON)),
78
74
  'vcenter': json['vcenter'] == null ? undefined : InventoryDataFromJSON(json['vcenter']),
75
+ 'createdAt': json['created_at'] == null ? undefined : (parseDateTime(json['created_at'])),
79
76
  };
80
77
  }
81
78
 
@@ -94,6 +91,7 @@ export function InventoryToJSONTyped(value?: Inventory | null, ignoreDiscriminat
94
91
  'vcenter_version': value['vcenterVersion'],
95
92
  'clusters': (mapValues(value['clusters'], InventoryDataToJSON)),
96
93
  'vcenter': InventoryDataToJSON(value['vcenter']),
94
+ 'created_at': value['createdAt'] == null ? value['createdAt'] : serializeDateTime(value['createdAt']),
97
95
  };
98
96
  }
99
97