@openshift-migration-advisor/agent-sdk 0.20.2 → 0.21.0-7d995d4fcba5

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 (645) hide show
  1. package/.openapi-generator/FILES +64 -48
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +84 -87
  4. package/dist/apis/AgentApi.d.ts +95 -0
  5. package/dist/apis/AgentApi.js +109 -0
  6. package/dist/apis/ApplicationsApi.d.ts +64 -0
  7. package/dist/apis/ApplicationsApi.js +72 -0
  8. package/dist/apis/CollectionsApi.d.ts +231 -0
  9. package/dist/apis/CollectionsApi.js +226 -0
  10. package/dist/apis/CollectorApi.d.ts +154 -0
  11. package/dist/apis/CollectorApi.js +196 -0
  12. package/dist/apis/CredentialsApi.d.ts +168 -0
  13. package/dist/apis/CredentialsApi.js +187 -0
  14. package/dist/apis/ForecasterApi.d.ts +375 -0
  15. package/dist/apis/ForecasterApi.js +397 -0
  16. package/dist/apis/GroupsApi.d.ts +374 -0
  17. package/dist/apis/GroupsApi.js +351 -0
  18. package/dist/apis/InspectorApi.d.ts +202 -0
  19. package/dist/apis/InspectorApi.js +240 -0
  20. package/dist/apis/InventoriesApi.d.ts +94 -0
  21. package/dist/apis/InventoriesApi.js +107 -0
  22. package/dist/apis/RightsizingApi.d.ts +109 -0
  23. package/dist/apis/RightsizingApi.js +116 -0
  24. package/dist/apis/VersionApi.d.ts +56 -0
  25. package/dist/apis/VersionApi.js +68 -0
  26. package/dist/apis/VirtualMachinesApi.d.ts +616 -0
  27. package/dist/apis/VirtualMachinesApi.js +614 -0
  28. package/dist/apis/index.d.ts +12 -1
  29. package/dist/apis/index.js +12 -1
  30. package/dist/esm/apis/AgentApi.d.ts +95 -0
  31. package/dist/esm/apis/AgentApi.js +105 -0
  32. package/dist/esm/apis/ApplicationsApi.d.ts +64 -0
  33. package/dist/esm/apis/ApplicationsApi.js +68 -0
  34. package/dist/esm/apis/CollectionsApi.d.ts +231 -0
  35. package/dist/esm/apis/CollectionsApi.js +222 -0
  36. package/dist/esm/apis/CollectorApi.d.ts +154 -0
  37. package/dist/esm/apis/CollectorApi.js +192 -0
  38. package/dist/esm/apis/CredentialsApi.d.ts +168 -0
  39. package/dist/esm/apis/CredentialsApi.js +183 -0
  40. package/dist/esm/apis/ForecasterApi.d.ts +375 -0
  41. package/dist/esm/apis/ForecasterApi.js +393 -0
  42. package/dist/esm/apis/GroupsApi.d.ts +374 -0
  43. package/dist/esm/apis/GroupsApi.js +347 -0
  44. package/dist/esm/apis/InspectorApi.d.ts +202 -0
  45. package/dist/esm/apis/InspectorApi.js +236 -0
  46. package/dist/esm/apis/InventoriesApi.d.ts +94 -0
  47. package/dist/esm/apis/InventoriesApi.js +103 -0
  48. package/dist/esm/apis/RightsizingApi.d.ts +109 -0
  49. package/dist/esm/apis/RightsizingApi.js +112 -0
  50. package/dist/esm/apis/VersionApi.d.ts +56 -0
  51. package/dist/esm/apis/VersionApi.js +64 -0
  52. package/dist/esm/apis/VirtualMachinesApi.d.ts +616 -0
  53. package/dist/esm/apis/VirtualMachinesApi.js +610 -0
  54. package/dist/esm/apis/index.d.ts +12 -1
  55. package/dist/esm/apis/index.js +12 -1
  56. package/dist/esm/models/AgentModeRequest.d.ts +1 -1
  57. package/dist/esm/models/AgentModeRequest.js +2 -2
  58. package/dist/esm/models/AgentStatus.d.ts +6 -13
  59. package/dist/esm/models/AgentStatus.js +8 -14
  60. package/dist/esm/models/AgentStatusConsoleConnection.d.ts +42 -0
  61. package/dist/esm/models/AgentStatusConsoleConnection.js +52 -0
  62. package/dist/esm/models/ApplicationListResponse.d.ts +1 -1
  63. package/dist/esm/models/ApplicationListResponse.js +1 -1
  64. package/dist/esm/models/ApplicationOverview.d.ts +4 -4
  65. package/dist/esm/models/ApplicationOverview.js +1 -1
  66. package/dist/esm/models/ApplicationVM.d.ts +3 -3
  67. package/dist/esm/models/ApplicationVM.js +1 -1
  68. package/dist/esm/models/BatchUpdateExclusionRequest.d.ts +1 -1
  69. package/dist/esm/models/BatchUpdateExclusionRequest.js +1 -1
  70. package/dist/esm/models/BenchmarkRun.d.ts +6 -6
  71. package/dist/esm/models/BenchmarkRun.js +10 -7
  72. package/dist/esm/models/CapabilityStatus.d.ts +1 -1
  73. package/dist/esm/models/CapabilityStatus.js +1 -1
  74. package/dist/esm/models/CapabilityStatusCapabilities.d.ts +1 -1
  75. package/dist/esm/models/CapabilityStatusCapabilities.js +1 -1
  76. package/dist/esm/models/ClusterFeatures.d.ts +3 -3
  77. package/dist/esm/models/ClusterFeatures.js +4 -4
  78. package/dist/esm/models/ClusterUtilization.d.ts +1 -1
  79. package/dist/esm/models/ClusterUtilization.js +1 -1
  80. package/dist/esm/models/Collection.d.ts +38 -0
  81. package/dist/esm/models/Collection.js +52 -0
  82. package/dist/esm/models/CollectionAggregate.d.ts +50 -0
  83. package/dist/esm/models/CollectionAggregate.js +64 -0
  84. package/dist/esm/models/CollectionComparisonDiff.d.ts +48 -0
  85. package/dist/esm/models/CollectionComparisonDiff.js +60 -0
  86. package/dist/esm/models/CollectionComparisonSummary.d.ts +36 -0
  87. package/dist/esm/models/CollectionComparisonSummary.js +49 -0
  88. package/dist/esm/models/CollectionComparisonSummaryDiff.d.ts +43 -0
  89. package/dist/esm/models/CollectionComparisonSummaryDiff.js +56 -0
  90. package/dist/esm/models/CollectionListResponse.d.ts +31 -0
  91. package/dist/esm/models/CollectionListResponse.js +44 -0
  92. package/dist/esm/models/CollectorStatus.d.ts +2 -1
  93. package/dist/esm/models/CollectorStatus.js +3 -2
  94. package/dist/esm/models/ComparisonDiffEntry.d.ts +38 -0
  95. package/dist/esm/models/ComparisonDiffEntry.js +47 -0
  96. package/dist/esm/models/ComparisonDiffPage.d.ts +42 -0
  97. package/dist/esm/models/ComparisonDiffPage.js +55 -0
  98. package/dist/esm/models/CreateGroupRequest.d.ts +4 -4
  99. package/dist/esm/models/CreateGroupRequest.js +1 -1
  100. package/dist/esm/models/CredentialStatus.d.ts +1 -1
  101. package/dist/esm/models/CredentialStatus.js +1 -1
  102. package/dist/esm/models/Datastore.d.ts +1 -1
  103. package/dist/esm/models/Datastore.js +1 -1
  104. package/dist/esm/models/DatastoreDetail.d.ts +7 -17
  105. package/dist/esm/models/DatastoreDetail.js +1 -10
  106. package/dist/esm/models/DatastorePairRequest.d.ts +42 -0
  107. package/dist/esm/models/{DatastorePair.js → DatastorePairRequest.js} +9 -9
  108. package/dist/esm/models/DeleteLabelGloballyResponse.d.ts +5 -5
  109. package/dist/esm/models/DeleteLabelGloballyResponse.js +5 -5
  110. package/dist/esm/models/DiskSizeTierSummary.d.ts +1 -1
  111. package/dist/esm/models/DiskSizeTierSummary.js +1 -1
  112. package/dist/esm/models/DiskTypeSummary.d.ts +1 -1
  113. package/dist/esm/models/DiskTypeSummary.js +1 -1
  114. package/dist/esm/models/EstimateRange.d.ts +8 -8
  115. package/dist/esm/models/EstimateRange.js +10 -4
  116. package/dist/esm/models/ForecastPairStatus.d.ts +78 -0
  117. package/dist/esm/models/{ForecasterPairStatus.js → ForecastPairStatus.js} +22 -22
  118. package/dist/esm/models/ForecastStats.d.ts +11 -11
  119. package/dist/esm/models/ForecastStats.js +33 -17
  120. package/dist/esm/models/ForecasterStatus.d.ts +7 -7
  121. package/dist/esm/models/ForecasterStatus.js +8 -6
  122. package/dist/esm/models/Group.d.ts +4 -4
  123. package/dist/esm/models/Group.js +6 -5
  124. package/dist/esm/models/GroupListResponse.d.ts +4 -4
  125. package/dist/esm/models/GroupListResponse.js +1 -1
  126. package/dist/esm/models/GroupResponse.d.ts +6 -6
  127. package/dist/esm/models/GroupResponse.js +4 -4
  128. package/dist/esm/models/GuestNetwork.d.ts +6 -6
  129. package/dist/esm/models/GuestNetwork.js +1 -1
  130. package/dist/esm/models/Histogram.d.ts +1 -1
  131. package/dist/esm/models/Histogram.js +1 -1
  132. package/dist/esm/models/Host.d.ts +1 -1
  133. package/dist/esm/models/Host.js +1 -1
  134. package/dist/esm/models/Infra.d.ts +5 -1
  135. package/dist/esm/models/Infra.js +3 -1
  136. package/dist/esm/models/InspectionStatus.d.ts +49 -0
  137. package/dist/esm/models/InspectionStatus.js +57 -0
  138. package/dist/esm/models/InspectorStatus.d.ts +1 -1
  139. package/dist/esm/models/InspectorStatus.js +2 -2
  140. package/dist/esm/models/Inventory.d.ts +3 -17
  141. package/dist/esm/models/Inventory.js +5 -14
  142. package/dist/esm/models/Inventory1.d.ts +49 -0
  143. package/dist/esm/models/Inventory1.js +55 -0
  144. package/dist/esm/models/InventoryData.d.ts +1 -1
  145. package/dist/esm/models/InventoryData.js +1 -1
  146. package/dist/esm/models/IssuesBreakdown.d.ts +1 -1
  147. package/dist/esm/models/IssuesBreakdown.js +1 -1
  148. package/dist/esm/models/MigrationIssue.d.ts +1 -1
  149. package/dist/esm/models/MigrationIssue.js +1 -1
  150. package/dist/esm/models/Network.d.ts +1 -1
  151. package/dist/esm/models/Network.js +2 -2
  152. package/dist/esm/models/OperationCapability.d.ts +1 -1
  153. package/dist/esm/models/OperationCapability.js +1 -1
  154. package/dist/esm/models/OsInfo.d.ts +1 -1
  155. package/dist/esm/models/OsInfo.js +2 -2
  156. package/dist/esm/models/PairCapability.d.ts +3 -13
  157. package/dist/esm/models/PairCapability.js +1 -10
  158. package/dist/esm/models/PairCapabilityRequest.d.ts +3 -8
  159. package/dist/esm/models/PairCapabilityRequest.js +4 -7
  160. package/dist/esm/models/Process.d.ts +1 -1
  161. package/dist/esm/models/Process.js +1 -1
  162. package/dist/esm/models/RightsizingClusterResponse.d.ts +2 -2
  163. package/dist/esm/models/RightsizingClusterResponse.js +1 -1
  164. package/dist/esm/models/RightsizingClusterUtilization.d.ts +13 -15
  165. package/dist/esm/models/RightsizingClusterUtilization.js +1 -1
  166. package/dist/esm/models/StartForecasterRequest.d.ts +43 -0
  167. package/dist/esm/models/{ForecasterStartRequest.js → StartForecasterRequest.js} +12 -15
  168. package/dist/esm/models/StartInspectionRequest.d.ts +3 -8
  169. package/dist/esm/models/StartInspectionRequest.js +1 -4
  170. package/dist/esm/models/StopForecasterPair202Response.d.ts +1 -1
  171. package/dist/esm/models/StopForecasterPair202Response.js +2 -2
  172. package/dist/esm/models/StorageIoConfiguration.d.ts +1 -1
  173. package/dist/esm/models/StorageIoConfiguration.js +2 -2
  174. package/dist/esm/models/UpdateGroupRequest.d.ts +4 -4
  175. package/dist/esm/models/UpdateGroupRequest.js +1 -1
  176. package/dist/esm/models/UpdateInventory.d.ts +3 -3
  177. package/dist/esm/models/UpdateInventory.js +4 -4
  178. package/dist/esm/models/UpdateLabelVMsRequest.d.ts +1 -1
  179. package/dist/esm/models/UpdateLabelVMsRequest.js +1 -1
  180. package/dist/esm/models/VCenter.d.ts +1 -1
  181. package/dist/esm/models/VCenter.js +1 -1
  182. package/dist/esm/models/VMFilterOptionsResponse.d.ts +1 -1
  183. package/dist/esm/models/VMFilterOptionsResponse.js +1 -1
  184. package/dist/esm/models/VMLabelsResponse.d.ts +1 -1
  185. package/dist/esm/models/VMLabelsResponse.js +1 -1
  186. package/dist/esm/models/VMResourceBreakdown.d.ts +1 -1
  187. package/dist/esm/models/VMResourceBreakdown.js +1 -1
  188. package/dist/esm/models/VMs.d.ts +1 -1
  189. package/dist/esm/models/VMs.js +1 -1
  190. package/dist/esm/models/VcenterCredentials.d.ts +1 -1
  191. package/dist/esm/models/VcenterCredentials.js +1 -1
  192. package/dist/esm/models/VddkProperties.d.ts +2 -2
  193. package/dist/esm/models/VddkProperties.js +1 -1
  194. package/dist/esm/models/VersionInfo.d.ts +4 -4
  195. package/dist/esm/models/VersionInfo.js +1 -1
  196. package/dist/esm/models/VirtualMachine.d.ts +15 -11
  197. package/dist/esm/models/VirtualMachine.js +10 -6
  198. package/dist/esm/models/VirtualMachineDetail.d.ts +47 -38
  199. package/dist/esm/models/VirtualMachineDetail.js +23 -16
  200. package/dist/esm/models/VirtualMachineDevice.d.ts +30 -0
  201. package/dist/esm/models/{VMDevice.js → VirtualMachineDevice.js} +9 -9
  202. package/dist/esm/models/VirtualMachineDisk.d.ts +54 -0
  203. package/dist/esm/models/{VMDisk.js → VirtualMachineDisk.js} +9 -9
  204. package/dist/esm/models/VirtualMachineInspectionConcern.d.ts +38 -0
  205. package/dist/esm/models/{VmInspectionConcern.js → VirtualMachineInspectionConcern.js} +9 -9
  206. package/dist/esm/models/VirtualMachineInspectionResults.d.ts +31 -0
  207. package/dist/esm/models/VirtualMachineInspectionResults.js +42 -0
  208. package/dist/esm/models/VirtualMachineIssue.d.ts +50 -0
  209. package/dist/esm/models/{VMIssue.js → VirtualMachineIssue.js} +16 -16
  210. package/dist/esm/models/VirtualMachineListResponse.d.ts +3 -3
  211. package/dist/esm/models/VirtualMachineListResponse.js +4 -4
  212. package/dist/esm/models/VirtualMachineNIC.d.ts +38 -0
  213. package/dist/esm/models/{VMNIC.js → VirtualMachineNIC.js} +9 -13
  214. package/dist/esm/models/VirtualMachineUpdateRequest.d.ts +1 -1
  215. package/dist/esm/models/VirtualMachineUpdateRequest.js +1 -1
  216. package/dist/esm/models/VmUtilizationDetails.d.ts +8 -8
  217. package/dist/esm/models/VmUtilizationDetails.js +1 -1
  218. package/dist/esm/models/index.d.ts +20 -23
  219. package/dist/esm/models/index.js +20 -23
  220. package/dist/esm/runtime.d.ts +12 -1
  221. package/dist/esm/runtime.js +49 -3
  222. package/dist/models/AgentModeRequest.d.ts +1 -1
  223. package/dist/models/AgentModeRequest.js +2 -2
  224. package/dist/models/AgentStatus.d.ts +6 -13
  225. package/dist/models/AgentStatus.js +9 -15
  226. package/dist/models/AgentStatusConsoleConnection.d.ts +42 -0
  227. package/dist/models/AgentStatusConsoleConnection.js +60 -0
  228. package/dist/models/ApplicationListResponse.d.ts +1 -1
  229. package/dist/models/ApplicationListResponse.js +1 -1
  230. package/dist/models/ApplicationOverview.d.ts +4 -4
  231. package/dist/models/ApplicationOverview.js +1 -1
  232. package/dist/models/ApplicationVM.d.ts +3 -3
  233. package/dist/models/ApplicationVM.js +1 -1
  234. package/dist/models/BatchUpdateExclusionRequest.d.ts +1 -1
  235. package/dist/models/BatchUpdateExclusionRequest.js +1 -1
  236. package/dist/models/BenchmarkRun.d.ts +6 -6
  237. package/dist/models/BenchmarkRun.js +10 -7
  238. package/dist/models/CapabilityStatus.d.ts +1 -1
  239. package/dist/models/CapabilityStatus.js +1 -1
  240. package/dist/models/CapabilityStatusCapabilities.d.ts +1 -1
  241. package/dist/models/CapabilityStatusCapabilities.js +1 -1
  242. package/dist/models/ClusterFeatures.d.ts +3 -3
  243. package/dist/models/ClusterFeatures.js +4 -4
  244. package/dist/models/ClusterUtilization.d.ts +1 -1
  245. package/dist/models/ClusterUtilization.js +1 -1
  246. package/dist/models/Collection.d.ts +38 -0
  247. package/dist/models/Collection.js +59 -0
  248. package/dist/models/CollectionAggregate.d.ts +50 -0
  249. package/dist/models/CollectionAggregate.js +71 -0
  250. package/dist/models/CollectionComparisonDiff.d.ts +48 -0
  251. package/dist/models/CollectionComparisonDiff.js +68 -0
  252. package/dist/models/CollectionComparisonSummary.d.ts +36 -0
  253. package/dist/models/CollectionComparisonSummary.js +56 -0
  254. package/dist/models/CollectionComparisonSummaryDiff.d.ts +43 -0
  255. package/dist/models/CollectionComparisonSummaryDiff.js +63 -0
  256. package/dist/models/CollectionListResponse.d.ts +31 -0
  257. package/dist/models/CollectionListResponse.js +51 -0
  258. package/dist/models/CollectorStatus.d.ts +2 -1
  259. package/dist/models/CollectorStatus.js +3 -2
  260. package/dist/models/ComparisonDiffEntry.d.ts +38 -0
  261. package/dist/models/ComparisonDiffEntry.js +54 -0
  262. package/dist/models/ComparisonDiffPage.d.ts +42 -0
  263. package/dist/models/ComparisonDiffPage.js +62 -0
  264. package/dist/models/CreateGroupRequest.d.ts +4 -4
  265. package/dist/models/CreateGroupRequest.js +1 -1
  266. package/dist/models/CredentialStatus.d.ts +1 -1
  267. package/dist/models/CredentialStatus.js +1 -1
  268. package/dist/models/Datastore.d.ts +1 -1
  269. package/dist/models/Datastore.js +1 -1
  270. package/dist/models/DatastoreDetail.d.ts +7 -17
  271. package/dist/models/DatastoreDetail.js +1 -11
  272. package/dist/models/DatastorePairRequest.d.ts +42 -0
  273. package/dist/models/{DatastorePair.js → DatastorePairRequest.js} +14 -14
  274. package/dist/models/DeleteLabelGloballyResponse.d.ts +5 -5
  275. package/dist/models/DeleteLabelGloballyResponse.js +5 -5
  276. package/dist/models/DiskSizeTierSummary.d.ts +1 -1
  277. package/dist/models/DiskSizeTierSummary.js +1 -1
  278. package/dist/models/DiskTypeSummary.d.ts +1 -1
  279. package/dist/models/DiskTypeSummary.js +1 -1
  280. package/dist/models/EstimateRange.d.ts +8 -8
  281. package/dist/models/EstimateRange.js +10 -4
  282. package/dist/models/ForecastPairStatus.d.ts +78 -0
  283. package/dist/models/{ForecasterPairStatus.js → ForecastPairStatus.js} +28 -28
  284. package/dist/models/ForecastStats.d.ts +11 -11
  285. package/dist/models/ForecastStats.js +33 -17
  286. package/dist/models/ForecasterStatus.d.ts +7 -7
  287. package/dist/models/ForecasterStatus.js +8 -6
  288. package/dist/models/Group.d.ts +4 -4
  289. package/dist/models/Group.js +6 -5
  290. package/dist/models/GroupListResponse.d.ts +4 -4
  291. package/dist/models/GroupListResponse.js +1 -1
  292. package/dist/models/GroupResponse.d.ts +6 -6
  293. package/dist/models/GroupResponse.js +4 -4
  294. package/dist/models/GuestNetwork.d.ts +6 -6
  295. package/dist/models/GuestNetwork.js +1 -1
  296. package/dist/models/Histogram.d.ts +1 -1
  297. package/dist/models/Histogram.js +1 -1
  298. package/dist/models/Host.d.ts +1 -1
  299. package/dist/models/Host.js +1 -1
  300. package/dist/models/Infra.d.ts +5 -1
  301. package/dist/models/Infra.js +3 -1
  302. package/dist/models/InspectionStatus.d.ts +49 -0
  303. package/dist/models/InspectionStatus.js +65 -0
  304. package/dist/models/InspectorStatus.d.ts +1 -1
  305. package/dist/models/InspectorStatus.js +2 -2
  306. package/dist/models/Inventory.d.ts +3 -17
  307. package/dist/models/Inventory.js +5 -14
  308. package/dist/models/Inventory1.d.ts +49 -0
  309. package/dist/models/Inventory1.js +62 -0
  310. package/dist/models/InventoryData.d.ts +1 -1
  311. package/dist/models/InventoryData.js +1 -1
  312. package/dist/models/IssuesBreakdown.d.ts +1 -1
  313. package/dist/models/IssuesBreakdown.js +1 -1
  314. package/dist/models/MigrationIssue.d.ts +1 -1
  315. package/dist/models/MigrationIssue.js +1 -1
  316. package/dist/models/Network.d.ts +1 -1
  317. package/dist/models/Network.js +2 -2
  318. package/dist/models/OperationCapability.d.ts +1 -1
  319. package/dist/models/OperationCapability.js +1 -1
  320. package/dist/models/OsInfo.d.ts +1 -1
  321. package/dist/models/OsInfo.js +2 -2
  322. package/dist/models/PairCapability.d.ts +3 -13
  323. package/dist/models/PairCapability.js +1 -11
  324. package/dist/models/PairCapabilityRequest.d.ts +3 -8
  325. package/dist/models/PairCapabilityRequest.js +4 -7
  326. package/dist/models/Process.d.ts +1 -1
  327. package/dist/models/Process.js +1 -1
  328. package/dist/models/RightsizingClusterResponse.d.ts +2 -2
  329. package/dist/models/RightsizingClusterResponse.js +1 -1
  330. package/dist/models/RightsizingClusterUtilization.d.ts +13 -15
  331. package/dist/models/RightsizingClusterUtilization.js +1 -1
  332. package/dist/models/StartForecasterRequest.d.ts +43 -0
  333. package/dist/models/StartForecasterRequest.js +57 -0
  334. package/dist/models/StartInspectionRequest.d.ts +3 -8
  335. package/dist/models/StartInspectionRequest.js +1 -4
  336. package/dist/models/StopForecasterPair202Response.d.ts +1 -1
  337. package/dist/models/StopForecasterPair202Response.js +2 -2
  338. package/dist/models/StorageIoConfiguration.d.ts +1 -1
  339. package/dist/models/StorageIoConfiguration.js +2 -2
  340. package/dist/models/UpdateGroupRequest.d.ts +4 -4
  341. package/dist/models/UpdateGroupRequest.js +1 -1
  342. package/dist/models/UpdateInventory.d.ts +3 -3
  343. package/dist/models/UpdateInventory.js +4 -4
  344. package/dist/models/UpdateLabelVMsRequest.d.ts +1 -1
  345. package/dist/models/UpdateLabelVMsRequest.js +1 -1
  346. package/dist/models/VCenter.d.ts +1 -1
  347. package/dist/models/VCenter.js +1 -1
  348. package/dist/models/VMFilterOptionsResponse.d.ts +1 -1
  349. package/dist/models/VMFilterOptionsResponse.js +1 -1
  350. package/dist/models/VMLabelsResponse.d.ts +1 -1
  351. package/dist/models/VMLabelsResponse.js +1 -1
  352. package/dist/models/VMResourceBreakdown.d.ts +1 -1
  353. package/dist/models/VMResourceBreakdown.js +1 -1
  354. package/dist/models/VMs.d.ts +1 -1
  355. package/dist/models/VMs.js +1 -1
  356. package/dist/models/VcenterCredentials.d.ts +1 -1
  357. package/dist/models/VcenterCredentials.js +1 -1
  358. package/dist/models/VddkProperties.d.ts +2 -2
  359. package/dist/models/VddkProperties.js +1 -1
  360. package/dist/models/VersionInfo.d.ts +4 -4
  361. package/dist/models/VersionInfo.js +1 -1
  362. package/dist/models/VirtualMachine.d.ts +15 -11
  363. package/dist/models/VirtualMachine.js +10 -6
  364. package/dist/models/VirtualMachineDetail.d.ts +47 -38
  365. package/dist/models/VirtualMachineDetail.js +23 -16
  366. package/dist/models/VirtualMachineDevice.d.ts +30 -0
  367. package/dist/models/VirtualMachineDevice.js +48 -0
  368. package/dist/models/VirtualMachineDisk.d.ts +54 -0
  369. package/dist/models/{VMDisk.js → VirtualMachineDisk.js} +14 -14
  370. package/dist/models/VirtualMachineInspectionConcern.d.ts +38 -0
  371. package/dist/models/{VmInspectionConcern.js → VirtualMachineInspectionConcern.js} +14 -14
  372. package/dist/models/VirtualMachineInspectionResults.d.ts +31 -0
  373. package/dist/models/VirtualMachineInspectionResults.js +49 -0
  374. package/dist/models/VirtualMachineIssue.d.ts +50 -0
  375. package/dist/models/VirtualMachineIssue.js +70 -0
  376. package/dist/models/VirtualMachineListResponse.d.ts +3 -3
  377. package/dist/models/VirtualMachineListResponse.js +4 -4
  378. package/dist/models/VirtualMachineNIC.d.ts +38 -0
  379. package/dist/models/{VMNIC.js → VirtualMachineNIC.js} +14 -18
  380. package/dist/models/VirtualMachineUpdateRequest.d.ts +1 -1
  381. package/dist/models/VirtualMachineUpdateRequest.js +1 -1
  382. package/dist/models/VmUtilizationDetails.d.ts +8 -8
  383. package/dist/models/VmUtilizationDetails.js +1 -1
  384. package/dist/models/index.d.ts +20 -23
  385. package/dist/models/index.js +20 -23
  386. package/dist/runtime.d.ts +12 -1
  387. package/dist/runtime.js +53 -3
  388. package/docs/AgentApi.md +136 -0
  389. package/docs/AgentStatus.md +4 -4
  390. package/docs/{ExportInventory500Response.md → AgentStatusConsoleConnection.md} +6 -4
  391. package/docs/ApplicationsApi.md +76 -0
  392. package/docs/BenchmarkRun.md +2 -2
  393. package/docs/ClusterFeatures.md +2 -2
  394. package/docs/{ExportInventory400Response.md → Collection.md} +10 -6
  395. package/docs/{RightsizingClusterListResponse.md → CollectionAggregate.md} +15 -7
  396. package/docs/CollectionComparisonDiff.md +38 -0
  397. package/docs/{ForecasterDatastoresRequest.md → CollectionComparisonSummary.md} +8 -6
  398. package/docs/CollectionComparisonSummaryDiff.md +41 -0
  399. package/docs/CollectionListResponse.md +34 -0
  400. package/docs/CollectionsApi.md +294 -0
  401. package/docs/CollectorApi.md +257 -0
  402. package/docs/{VmInspectionResults.md → ComparisonDiffEntry.md} +10 -7
  403. package/docs/{RightsizingReportListResponse.md → ComparisonDiffPage.md} +10 -6
  404. package/docs/CredentialsApi.md +264 -0
  405. package/docs/{DatastorePair.md → DatastorePairRequest.md} +4 -4
  406. package/docs/DeleteLabelGloballyResponse.md +2 -2
  407. package/docs/EstimateRange.md +0 -1
  408. package/docs/{ForecasterPairStatus.md → ForecastPairStatus.md} +8 -8
  409. package/docs/ForecastStats.md +16 -16
  410. package/docs/ForecasterApi.md +612 -0
  411. package/docs/ForecasterStatus.md +1 -1
  412. package/docs/GroupResponse.md +1 -1
  413. package/docs/GroupsApi.md +527 -0
  414. package/docs/Infra.md +2 -0
  415. package/docs/{VmInspectionStatus.md → InspectionStatus.md} +6 -8
  416. package/docs/InspectorApi.md +336 -0
  417. package/docs/InventoriesApi.md +136 -0
  418. package/docs/Inventory.md +2 -8
  419. package/docs/{GetInventory200Response.md → Inventory1.md} +6 -8
  420. package/docs/PairCapabilityRequest.md +1 -3
  421. package/docs/RightsizingApi.md +148 -0
  422. package/docs/{ForecasterStartRequest.md → StartForecasterRequest.md} +5 -7
  423. package/docs/StartInspectionRequest.md +0 -3
  424. package/docs/UpdateInventory.md +1 -1
  425. package/docs/VMLabelsResponse.md +2 -2
  426. package/docs/VersionApi.md +66 -0
  427. package/docs/VirtualMachine.md +5 -3
  428. package/docs/VirtualMachineDetail.md +9 -5
  429. package/docs/{VMDevice.md → VirtualMachineDevice.md} +4 -4
  430. package/docs/{VMDisk.md → VirtualMachineDisk.md} +4 -4
  431. package/docs/{VmInspectionConcern.md → VirtualMachineInspectionConcern.md} +4 -5
  432. package/docs/VirtualMachineInspectionResults.md +35 -0
  433. package/docs/{VMIssue.md → VirtualMachineIssue.md} +4 -4
  434. package/docs/VirtualMachineListResponse.md +2 -2
  435. package/docs/{VMNIC.md → VirtualMachineNIC.md} +4 -8
  436. package/docs/VirtualMachineUpdateRequest.md +2 -2
  437. package/docs/VirtualMachinesApi.md +984 -0
  438. package/package.json +1 -1
  439. package/src/apis/AgentApi.ts +176 -0
  440. package/src/apis/ApplicationsApi.ts +111 -0
  441. package/src/apis/CollectionsApi.ts +429 -0
  442. package/src/apis/CollectorApi.ts +306 -0
  443. package/src/apis/CredentialsApi.ts +308 -0
  444. package/src/apis/ForecasterApi.ts +721 -0
  445. package/src/apis/GroupsApi.ts +718 -0
  446. package/src/apis/InspectorApi.ts +405 -0
  447. package/src/apis/InventoriesApi.ts +169 -0
  448. package/src/apis/RightsizingApi.ts +205 -0
  449. package/src/apis/VersionApi.ts +94 -0
  450. package/src/apis/VirtualMachinesApi.ts +1216 -0
  451. package/src/apis/index.ts +12 -1
  452. package/src/models/AgentModeRequest.ts +2 -2
  453. package/src/models/AgentStatus.ts +19 -20
  454. package/src/models/AgentStatusConsoleConnection.ts +81 -0
  455. package/src/models/ApplicationListResponse.ts +1 -1
  456. package/src/models/ApplicationOverview.ts +4 -4
  457. package/src/models/ApplicationVM.ts +3 -3
  458. package/src/models/BatchUpdateExclusionRequest.ts +1 -1
  459. package/src/models/BenchmarkRun.ts +14 -13
  460. package/src/models/CapabilityStatus.ts +1 -1
  461. package/src/models/CapabilityStatusCapabilities.ts +1 -1
  462. package/src/models/ClusterFeatures.ts +6 -6
  463. package/src/models/ClusterUtilization.ts +1 -1
  464. package/src/models/Collection.ts +78 -0
  465. package/src/models/CollectionAggregate.ts +99 -0
  466. package/src/models/CollectionComparisonDiff.ts +98 -0
  467. package/src/models/CollectionComparisonSummary.ts +86 -0
  468. package/src/models/CollectionComparisonSummaryDiff.ts +93 -0
  469. package/src/models/CollectionListResponse.ts +72 -0
  470. package/src/models/CollectorStatus.ts +3 -2
  471. package/src/models/ComparisonDiffEntry.ts +76 -0
  472. package/src/models/ComparisonDiffPage.ts +85 -0
  473. package/src/models/CreateGroupRequest.ts +4 -4
  474. package/src/models/CredentialStatus.ts +1 -1
  475. package/src/models/Datastore.ts +1 -1
  476. package/src/models/DatastoreDetail.ts +7 -20
  477. package/src/models/{DatastorePair.ts → DatastorePairRequest.ts} +15 -15
  478. package/src/models/DeleteLabelGloballyResponse.ts +8 -8
  479. package/src/models/DiskSizeTierSummary.ts +1 -1
  480. package/src/models/DiskTypeSummary.ts +1 -1
  481. package/src/models/EstimateRange.ts +14 -11
  482. package/src/models/{ForecasterPairStatus.ts → ForecastPairStatus.ts} +37 -37
  483. package/src/models/ForecastStats.ts +35 -27
  484. package/src/models/ForecasterStatus.ts +15 -14
  485. package/src/models/Group.ts +9 -9
  486. package/src/models/GroupListResponse.ts +4 -4
  487. package/src/models/GroupResponse.ts +13 -13
  488. package/src/models/GuestNetwork.ts +6 -6
  489. package/src/models/Histogram.ts +1 -1
  490. package/src/models/Host.ts +1 -1
  491. package/src/models/Infra.ts +7 -1
  492. package/src/models/InspectionStatus.ts +90 -0
  493. package/src/models/InspectorStatus.ts +2 -2
  494. package/src/models/Inventory.ts +11 -30
  495. package/src/models/Inventory1.ts +97 -0
  496. package/src/models/InventoryData.ts +1 -1
  497. package/src/models/IssuesBreakdown.ts +1 -1
  498. package/src/models/MigrationIssue.ts +1 -1
  499. package/src/models/Network.ts +2 -2
  500. package/src/models/OperationCapability.ts +1 -1
  501. package/src/models/OsInfo.ts +2 -2
  502. package/src/models/PairCapability.ts +3 -16
  503. package/src/models/PairCapabilityRequest.ts +10 -23
  504. package/src/models/Process.ts +1 -1
  505. package/src/models/RightsizingClusterResponse.ts +2 -2
  506. package/src/models/RightsizingClusterUtilization.ts +13 -15
  507. package/src/models/StartForecasterRequest.ts +90 -0
  508. package/src/models/StartInspectionRequest.ts +3 -17
  509. package/src/models/StopForecasterPair202Response.ts +2 -2
  510. package/src/models/StorageIoConfiguration.ts +2 -2
  511. package/src/models/UpdateGroupRequest.ts +4 -4
  512. package/src/models/UpdateInventory.ts +10 -10
  513. package/src/models/UpdateLabelVMsRequest.ts +1 -1
  514. package/src/models/VCenter.ts +1 -1
  515. package/src/models/VMFilterOptionsResponse.ts +1 -1
  516. package/src/models/VMLabelsResponse.ts +1 -1
  517. package/src/models/VMResourceBreakdown.ts +1 -1
  518. package/src/models/VMs.ts +1 -1
  519. package/src/models/VcenterCredentials.ts +1 -1
  520. package/src/models/VddkProperties.ts +2 -2
  521. package/src/models/VersionInfo.ts +4 -4
  522. package/src/models/VirtualMachine.ts +27 -20
  523. package/src/models/VirtualMachineDetail.ts +93 -73
  524. package/src/models/VirtualMachineDevice.ts +63 -0
  525. package/src/models/{VMDisk.ts → VirtualMachineDisk.ts} +17 -17
  526. package/src/models/{VmInspectionConcern.ts → VirtualMachineInspectionConcern.ts} +12 -12
  527. package/src/models/VirtualMachineInspectionResults.ts +71 -0
  528. package/src/models/VirtualMachineIssue.ts +93 -0
  529. package/src/models/VirtualMachineListResponse.ts +6 -6
  530. package/src/models/VirtualMachineNIC.ts +75 -0
  531. package/src/models/VirtualMachineUpdateRequest.ts +1 -1
  532. package/src/models/VmUtilizationDetails.ts +8 -8
  533. package/src/models/index.ts +20 -23
  534. package/src/runtime.ts +54 -3
  535. package/dist/apis/DefaultApi.d.ts +0 -1988
  536. package/dist/apis/DefaultApi.js +0 -2066
  537. package/dist/esm/apis/DefaultApi.d.ts +0 -1988
  538. package/dist/esm/apis/DefaultApi.js +0 -2062
  539. package/dist/esm/models/CollectorStartRequest.d.ts +0 -46
  540. package/dist/esm/models/CollectorStartRequest.js +0 -49
  541. package/dist/esm/models/DatastorePair.d.ts +0 -42
  542. package/dist/esm/models/ExportInventory400Response.d.ts +0 -30
  543. package/dist/esm/models/ExportInventory400Response.js +0 -41
  544. package/dist/esm/models/ExportInventory500Response.d.ts +0 -30
  545. package/dist/esm/models/ExportInventory500Response.js +0 -41
  546. package/dist/esm/models/ForecasterDatastoresRequest.d.ts +0 -31
  547. package/dist/esm/models/ForecasterDatastoresRequest.js +0 -42
  548. package/dist/esm/models/ForecasterPairStatus.d.ts +0 -78
  549. package/dist/esm/models/ForecasterStartRequest.d.ts +0 -48
  550. package/dist/esm/models/GetInventory200Response.d.ts +0 -23
  551. package/dist/esm/models/GetInventory200Response.js +0 -51
  552. package/dist/esm/models/PutForecasterCredentials403Response.d.ts +0 -34
  553. package/dist/esm/models/PutForecasterCredentials403Response.js +0 -43
  554. package/dist/esm/models/RightsizingClusterListResponse.d.ts +0 -35
  555. package/dist/esm/models/RightsizingClusterListResponse.js +0 -48
  556. package/dist/esm/models/RightsizingCollectRequest.d.ts +0 -56
  557. package/dist/esm/models/RightsizingCollectRequest.js +0 -56
  558. package/dist/esm/models/RightsizingMetricStats.d.ts +0 -50
  559. package/dist/esm/models/RightsizingMetricStats.js +0 -63
  560. package/dist/esm/models/RightsizingReport.d.ts +0 -63
  561. package/dist/esm/models/RightsizingReport.js +0 -76
  562. package/dist/esm/models/RightsizingReportListResponse.d.ts +0 -35
  563. package/dist/esm/models/RightsizingReportListResponse.js +0 -48
  564. package/dist/esm/models/RightsizingReportSummary.d.ts +0 -58
  565. package/dist/esm/models/RightsizingReportSummary.js +0 -71
  566. package/dist/esm/models/RightsizingVMReport.d.ts +0 -45
  567. package/dist/esm/models/RightsizingVMReport.js +0 -57
  568. package/dist/esm/models/VMDevice.d.ts +0 -30
  569. package/dist/esm/models/VMDisk.d.ts +0 -54
  570. package/dist/esm/models/VMIssue.d.ts +0 -50
  571. package/dist/esm/models/VMNIC.d.ts +0 -46
  572. package/dist/esm/models/VmInspectionConcern.d.ts +0 -38
  573. package/dist/esm/models/VmInspectionResults.d.ts +0 -31
  574. package/dist/esm/models/VmInspectionResults.js +0 -42
  575. package/dist/esm/models/VmInspectionStatus.d.ts +0 -53
  576. package/dist/esm/models/VmInspectionStatus.js +0 -61
  577. package/dist/models/CollectorStartRequest.d.ts +0 -46
  578. package/dist/models/CollectorStartRequest.js +0 -56
  579. package/dist/models/DatastorePair.d.ts +0 -42
  580. package/dist/models/ExportInventory400Response.d.ts +0 -30
  581. package/dist/models/ExportInventory400Response.js +0 -48
  582. package/dist/models/ExportInventory500Response.d.ts +0 -30
  583. package/dist/models/ExportInventory500Response.js +0 -48
  584. package/dist/models/ForecasterDatastoresRequest.d.ts +0 -31
  585. package/dist/models/ForecasterDatastoresRequest.js +0 -49
  586. package/dist/models/ForecasterPairStatus.d.ts +0 -78
  587. package/dist/models/ForecasterStartRequest.d.ts +0 -48
  588. package/dist/models/ForecasterStartRequest.js +0 -60
  589. package/dist/models/GetInventory200Response.d.ts +0 -23
  590. package/dist/models/GetInventory200Response.js +0 -57
  591. package/dist/models/PutForecasterCredentials403Response.d.ts +0 -34
  592. package/dist/models/PutForecasterCredentials403Response.js +0 -50
  593. package/dist/models/RightsizingClusterListResponse.d.ts +0 -35
  594. package/dist/models/RightsizingClusterListResponse.js +0 -55
  595. package/dist/models/RightsizingCollectRequest.d.ts +0 -56
  596. package/dist/models/RightsizingCollectRequest.js +0 -63
  597. package/dist/models/RightsizingMetricStats.d.ts +0 -50
  598. package/dist/models/RightsizingMetricStats.js +0 -70
  599. package/dist/models/RightsizingReport.d.ts +0 -63
  600. package/dist/models/RightsizingReport.js +0 -83
  601. package/dist/models/RightsizingReportListResponse.d.ts +0 -35
  602. package/dist/models/RightsizingReportListResponse.js +0 -55
  603. package/dist/models/RightsizingReportSummary.d.ts +0 -58
  604. package/dist/models/RightsizingReportSummary.js +0 -78
  605. package/dist/models/RightsizingVMReport.d.ts +0 -45
  606. package/dist/models/RightsizingVMReport.js +0 -64
  607. package/dist/models/VMDevice.d.ts +0 -30
  608. package/dist/models/VMDevice.js +0 -48
  609. package/dist/models/VMDisk.d.ts +0 -54
  610. package/dist/models/VMIssue.d.ts +0 -50
  611. package/dist/models/VMIssue.js +0 -70
  612. package/dist/models/VMNIC.d.ts +0 -46
  613. package/dist/models/VmInspectionConcern.d.ts +0 -38
  614. package/dist/models/VmInspectionResults.d.ts +0 -31
  615. package/dist/models/VmInspectionResults.js +0 -49
  616. package/dist/models/VmInspectionStatus.d.ts +0 -53
  617. package/dist/models/VmInspectionStatus.js +0 -69
  618. package/docs/CollectorStartRequest.md +0 -43
  619. package/docs/DefaultApi.md +0 -3361
  620. package/docs/PutForecasterCredentials403Response.md +0 -36
  621. package/docs/RightsizingCollectRequest.md +0 -46
  622. package/docs/RightsizingMetricStats.md +0 -44
  623. package/docs/RightsizingReport.md +0 -50
  624. package/docs/RightsizingReportSummary.md +0 -49
  625. package/docs/RightsizingVMReport.md +0 -40
  626. package/src/apis/DefaultApi.ts +0 -3986
  627. package/src/models/CollectorStartRequest.ts +0 -87
  628. package/src/models/ExportInventory400Response.ts +0 -63
  629. package/src/models/ExportInventory500Response.ts +0 -63
  630. package/src/models/ForecasterDatastoresRequest.ts +0 -71
  631. package/src/models/ForecasterStartRequest.ts +0 -103
  632. package/src/models/GetInventory200Response.ts +0 -76
  633. package/src/models/PutForecasterCredentials403Response.ts +0 -69
  634. package/src/models/RightsizingClusterListResponse.ts +0 -79
  635. package/src/models/RightsizingCollectRequest.ts +0 -109
  636. package/src/models/RightsizingMetricStats.ts +0 -99
  637. package/src/models/RightsizingReport.ts +0 -128
  638. package/src/models/RightsizingReportListResponse.ts +0 -79
  639. package/src/models/RightsizingReportSummary.ts +0 -113
  640. package/src/models/RightsizingVMReport.ts +0 -93
  641. package/src/models/VMDevice.ts +0 -63
  642. package/src/models/VMIssue.ts +0 -93
  643. package/src/models/VMNIC.ts +0 -87
  644. package/src/models/VmInspectionResults.ts +0 -71
  645. package/src/models/VmInspectionStatus.ts +0 -97
@@ -0,0 +1,405 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Assisted Migration Agent API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v2
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 * as runtime from '../runtime.js';
16
+ import {
17
+ type InspectorStatus,
18
+ InspectorStatusFromJSON,
19
+ InspectorStatusToJSON,
20
+ } from '../models/InspectorStatus.js';
21
+ import {
22
+ type StartInspectionRequest,
23
+ StartInspectionRequestFromJSON,
24
+ StartInspectionRequestToJSON,
25
+ } from '../models/StartInspectionRequest.js';
26
+ import {
27
+ type VddkProperties,
28
+ VddkPropertiesFromJSON,
29
+ VddkPropertiesToJSON,
30
+ } from '../models/VddkProperties.js';
31
+
32
+ export interface GetInspectorStatusRequest {
33
+ /**
34
+ * Include VDDK metadata in the response
35
+ */
36
+ includeVddk?: boolean;
37
+ }
38
+
39
+ export interface PutInspectorVddkRequest {
40
+ /**
41
+ *
42
+ */
43
+ file: Blob;
44
+ }
45
+
46
+ export interface StartInspectionOperationRequest {
47
+ /**
48
+ *
49
+ */
50
+ startInspectionRequest: StartInspectionRequest;
51
+ }
52
+
53
+ /**
54
+ * InspectorApi - interface
55
+ *
56
+ * @export
57
+ * @interface InspectorApiInterface
58
+ */
59
+ export interface InspectorApiInterface {
60
+ /**
61
+ * Creates request options for getInspectorStatus without sending the request
62
+ * @param {boolean} [includeVddk] Include VDDK metadata in the response
63
+ * @throws {RequiredError}
64
+ * @memberof InspectorApiInterface
65
+ */
66
+ getInspectorStatusRequestOpts(requestParameters: GetInspectorStatusRequest): Promise<runtime.RequestOpts>;
67
+
68
+ /**
69
+ *
70
+ * @summary Get inspector status
71
+ * @param {boolean} [includeVddk] Include VDDK metadata in the response
72
+ * @param {*} [options] Override http request option.
73
+ * @throws {RequiredError}
74
+ * @memberof InspectorApiInterface
75
+ */
76
+ getInspectorStatusRaw(requestParameters: GetInspectorStatusRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<InspectorStatus>>;
77
+
78
+ /**
79
+ * Get inspector status
80
+ */
81
+ getInspectorStatus(requestParameters: GetInspectorStatusRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<InspectorStatus>;
82
+
83
+ /**
84
+ * Creates request options for getInspectorVddkStatus without sending the request
85
+ * @throws {RequiredError}
86
+ * @memberof InspectorApiInterface
87
+ */
88
+ getInspectorVddkStatusRequestOpts(): Promise<runtime.RequestOpts>;
89
+
90
+ /**
91
+ *
92
+ * @summary Get VDDK upload status
93
+ * @param {*} [options] Override http request option.
94
+ * @throws {RequiredError}
95
+ * @memberof InspectorApiInterface
96
+ */
97
+ getInspectorVddkStatusRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VddkProperties>>;
98
+
99
+ /**
100
+ * Get VDDK upload status
101
+ */
102
+ getInspectorVddkStatus(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VddkProperties>;
103
+
104
+ /**
105
+ * Creates request options for putInspectorVddk without sending the request
106
+ * @param {Blob} file
107
+ * @throws {RequiredError}
108
+ * @memberof InspectorApiInterface
109
+ */
110
+ putInspectorVddkRequestOpts(requestParameters: PutInspectorVddkRequest): Promise<runtime.RequestOpts>;
111
+
112
+ /**
113
+ *
114
+ * @summary Upload VDDK tarball
115
+ * @param {Blob} file
116
+ * @param {*} [options] Override http request option.
117
+ * @throws {RequiredError}
118
+ * @memberof InspectorApiInterface
119
+ */
120
+ putInspectorVddkRaw(requestParameters: PutInspectorVddkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VddkProperties>>;
121
+
122
+ /**
123
+ * Upload VDDK tarball
124
+ */
125
+ putInspectorVddk(requestParameters: PutInspectorVddkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VddkProperties>;
126
+
127
+ /**
128
+ * Creates request options for startInspection without sending the request
129
+ * @param {StartInspectionRequest} startInspectionRequest
130
+ * @throws {RequiredError}
131
+ * @memberof InspectorApiInterface
132
+ */
133
+ startInspectionRequestOpts(requestParameters: StartInspectionOperationRequest): Promise<runtime.RequestOpts>;
134
+
135
+ /**
136
+ *
137
+ * @summary Start deep inspection for VMs
138
+ * @param {StartInspectionRequest} startInspectionRequest
139
+ * @param {*} [options] Override http request option.
140
+ * @throws {RequiredError}
141
+ * @memberof InspectorApiInterface
142
+ */
143
+ startInspectionRaw(requestParameters: StartInspectionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<InspectorStatus>>;
144
+
145
+ /**
146
+ * Start deep inspection for VMs
147
+ */
148
+ startInspection(requestParameters: StartInspectionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<InspectorStatus>;
149
+
150
+ /**
151
+ * Creates request options for stopInspection without sending the request
152
+ * @throws {RequiredError}
153
+ * @memberof InspectorApiInterface
154
+ */
155
+ stopInspectionRequestOpts(): Promise<runtime.RequestOpts>;
156
+
157
+ /**
158
+ *
159
+ * @summary Stop inspector
160
+ * @param {*} [options] Override http request option.
161
+ * @throws {RequiredError}
162
+ * @memberof InspectorApiInterface
163
+ */
164
+ stopInspectionRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<InspectorStatus>>;
165
+
166
+ /**
167
+ * Stop inspector
168
+ */
169
+ stopInspection(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<InspectorStatus>;
170
+
171
+ }
172
+
173
+ /**
174
+ *
175
+ */
176
+ export class InspectorApi extends runtime.BaseAPI implements InspectorApiInterface {
177
+
178
+ /**
179
+ * Creates request options for getInspectorStatus without sending the request
180
+ */
181
+ async getInspectorStatusRequestOpts(requestParameters: GetInspectorStatusRequest): Promise<runtime.RequestOpts> {
182
+ const queryParameters: any = {};
183
+
184
+ if (requestParameters['includeVddk'] != null) {
185
+ queryParameters['includeVddk'] = requestParameters['includeVddk'];
186
+ }
187
+
188
+ const headerParameters: runtime.HTTPHeaders = {};
189
+
190
+
191
+ let urlPath = `/inspector`;
192
+
193
+ return {
194
+ path: urlPath,
195
+ method: 'GET',
196
+ headers: headerParameters,
197
+ query: queryParameters,
198
+ };
199
+ }
200
+
201
+ /**
202
+ * Get inspector status
203
+ */
204
+ async getInspectorStatusRaw(requestParameters: GetInspectorStatusRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<InspectorStatus>> {
205
+ const requestOptions = await this.getInspectorStatusRequestOpts(requestParameters);
206
+ const response = await this.request(requestOptions, initOverrides);
207
+
208
+ return new runtime.JSONApiResponse(response, (jsonValue) => InspectorStatusFromJSON(jsonValue));
209
+ }
210
+
211
+ /**
212
+ * Get inspector status
213
+ */
214
+ async getInspectorStatus(requestParameters: GetInspectorStatusRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<InspectorStatus> {
215
+ const response = await this.getInspectorStatusRaw(requestParameters, initOverrides);
216
+ return await response.value();
217
+ }
218
+
219
+ /**
220
+ * Creates request options for getInspectorVddkStatus without sending the request
221
+ */
222
+ async getInspectorVddkStatusRequestOpts(): Promise<runtime.RequestOpts> {
223
+ const queryParameters: any = {};
224
+
225
+ const headerParameters: runtime.HTTPHeaders = {};
226
+
227
+
228
+ let urlPath = `/inspector/vddk`;
229
+
230
+ return {
231
+ path: urlPath,
232
+ method: 'GET',
233
+ headers: headerParameters,
234
+ query: queryParameters,
235
+ };
236
+ }
237
+
238
+ /**
239
+ * Get VDDK upload status
240
+ */
241
+ async getInspectorVddkStatusRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VddkProperties>> {
242
+ const requestOptions = await this.getInspectorVddkStatusRequestOpts();
243
+ const response = await this.request(requestOptions, initOverrides);
244
+
245
+ return new runtime.JSONApiResponse(response, (jsonValue) => VddkPropertiesFromJSON(jsonValue));
246
+ }
247
+
248
+ /**
249
+ * Get VDDK upload status
250
+ */
251
+ async getInspectorVddkStatus(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VddkProperties> {
252
+ const response = await this.getInspectorVddkStatusRaw(initOverrides);
253
+ return await response.value();
254
+ }
255
+
256
+ /**
257
+ * Creates request options for putInspectorVddk without sending the request
258
+ */
259
+ async putInspectorVddkRequestOpts(requestParameters: PutInspectorVddkRequest): Promise<runtime.RequestOpts> {
260
+ if (requestParameters['file'] == null) {
261
+ throw new runtime.RequiredError(
262
+ 'file',
263
+ 'Required parameter "file" was null or undefined when calling putInspectorVddk().'
264
+ );
265
+ }
266
+
267
+ const queryParameters: any = {};
268
+
269
+ const headerParameters: runtime.HTTPHeaders = {};
270
+
271
+ const consumes: runtime.Consume[] = [
272
+ { contentType: 'multipart/form-data' },
273
+ ];
274
+ // @ts-ignore: canConsumeForm may be unused
275
+ const canConsumeForm = runtime.canConsumeForm(consumes);
276
+
277
+ let formParams: { append(param: string, value: any): any };
278
+ let useForm = false;
279
+ // use FormData to transmit files using content-type "multipart/form-data"
280
+ useForm = canConsumeForm;
281
+ if (useForm) {
282
+ formParams = new FormData();
283
+ } else {
284
+ formParams = new URLSearchParams();
285
+ }
286
+
287
+ if (requestParameters['file'] != null) {
288
+ formParams.append('file', requestParameters['file'] as any);
289
+ }
290
+
291
+
292
+ let urlPath = `/inspector/vddk`;
293
+
294
+ return {
295
+ path: urlPath,
296
+ method: 'PUT',
297
+ headers: headerParameters,
298
+ query: queryParameters,
299
+ body: formParams,
300
+ };
301
+ }
302
+
303
+ /**
304
+ * Upload VDDK tarball
305
+ */
306
+ async putInspectorVddkRaw(requestParameters: PutInspectorVddkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VddkProperties>> {
307
+ const requestOptions = await this.putInspectorVddkRequestOpts(requestParameters);
308
+ const response = await this.request(requestOptions, initOverrides);
309
+
310
+ return new runtime.JSONApiResponse(response, (jsonValue) => VddkPropertiesFromJSON(jsonValue));
311
+ }
312
+
313
+ /**
314
+ * Upload VDDK tarball
315
+ */
316
+ async putInspectorVddk(requestParameters: PutInspectorVddkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VddkProperties> {
317
+ const response = await this.putInspectorVddkRaw(requestParameters, initOverrides);
318
+ return await response.value();
319
+ }
320
+
321
+ /**
322
+ * Creates request options for startInspection without sending the request
323
+ */
324
+ async startInspectionRequestOpts(requestParameters: StartInspectionOperationRequest): Promise<runtime.RequestOpts> {
325
+ if (requestParameters['startInspectionRequest'] == null) {
326
+ throw new runtime.RequiredError(
327
+ 'startInspectionRequest',
328
+ 'Required parameter "startInspectionRequest" was null or undefined when calling startInspection().'
329
+ );
330
+ }
331
+
332
+ const queryParameters: any = {};
333
+
334
+ const headerParameters: runtime.HTTPHeaders = {};
335
+
336
+ headerParameters['Content-Type'] = 'application/json';
337
+
338
+
339
+ let urlPath = `/inspector`;
340
+
341
+ return {
342
+ path: urlPath,
343
+ method: 'POST',
344
+ headers: headerParameters,
345
+ query: queryParameters,
346
+ body: StartInspectionRequestToJSON(requestParameters['startInspectionRequest']),
347
+ };
348
+ }
349
+
350
+ /**
351
+ * Start deep inspection for VMs
352
+ */
353
+ async startInspectionRaw(requestParameters: StartInspectionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<InspectorStatus>> {
354
+ const requestOptions = await this.startInspectionRequestOpts(requestParameters);
355
+ const response = await this.request(requestOptions, initOverrides);
356
+
357
+ return new runtime.JSONApiResponse(response, (jsonValue) => InspectorStatusFromJSON(jsonValue));
358
+ }
359
+
360
+ /**
361
+ * Start deep inspection for VMs
362
+ */
363
+ async startInspection(requestParameters: StartInspectionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<InspectorStatus> {
364
+ const response = await this.startInspectionRaw(requestParameters, initOverrides);
365
+ return await response.value();
366
+ }
367
+
368
+ /**
369
+ * Creates request options for stopInspection without sending the request
370
+ */
371
+ async stopInspectionRequestOpts(): Promise<runtime.RequestOpts> {
372
+ const queryParameters: any = {};
373
+
374
+ const headerParameters: runtime.HTTPHeaders = {};
375
+
376
+
377
+ let urlPath = `/inspector`;
378
+
379
+ return {
380
+ path: urlPath,
381
+ method: 'DELETE',
382
+ headers: headerParameters,
383
+ query: queryParameters,
384
+ };
385
+ }
386
+
387
+ /**
388
+ * Stop inspector
389
+ */
390
+ async stopInspectionRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<InspectorStatus>> {
391
+ const requestOptions = await this.stopInspectionRequestOpts();
392
+ const response = await this.request(requestOptions, initOverrides);
393
+
394
+ return new runtime.JSONApiResponse(response, (jsonValue) => InspectorStatusFromJSON(jsonValue));
395
+ }
396
+
397
+ /**
398
+ * Stop inspector
399
+ */
400
+ async stopInspection(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<InspectorStatus> {
401
+ const response = await this.stopInspectionRaw(initOverrides);
402
+ return await response.value();
403
+ }
404
+
405
+ }
@@ -0,0 +1,169 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Assisted Migration Agent API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v2
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 * as runtime from '../runtime.js';
16
+ import {
17
+ type Inventory,
18
+ InventoryFromJSON,
19
+ InventoryToJSON,
20
+ } from '../models/Inventory.js';
21
+
22
+ export interface GetInventoryRequest {
23
+ /**
24
+ * Collection ID
25
+ */
26
+ id: string;
27
+ }
28
+
29
+ /**
30
+ * InventoriesApi - interface
31
+ *
32
+ * @export
33
+ * @interface InventoriesApiInterface
34
+ */
35
+ export interface InventoriesApiInterface {
36
+ /**
37
+ * Creates request options for getInventory without sending the request
38
+ * @param {string} id Collection ID
39
+ * @throws {RequiredError}
40
+ * @memberof InventoriesApiInterface
41
+ */
42
+ getInventoryRequestOpts(requestParameters: GetInventoryRequest): Promise<runtime.RequestOpts>;
43
+
44
+ /**
45
+ *
46
+ * @summary Get collected inventory for a collection
47
+ * @param {string} id Collection ID
48
+ * @param {*} [options] Override http request option.
49
+ * @throws {RequiredError}
50
+ * @memberof InventoriesApiInterface
51
+ */
52
+ getInventoryRaw(requestParameters: GetInventoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Inventory>>;
53
+
54
+ /**
55
+ * Get collected inventory for a collection
56
+ */
57
+ getInventory(requestParameters: GetInventoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Inventory>;
58
+
59
+ /**
60
+ * Creates request options for getLatestInventory without sending the request
61
+ * @throws {RequiredError}
62
+ * @memberof InventoriesApiInterface
63
+ */
64
+ getLatestInventoryRequestOpts(): Promise<runtime.RequestOpts>;
65
+
66
+ /**
67
+ *
68
+ * @summary Get inventory from the latest collection
69
+ * @param {*} [options] Override http request option.
70
+ * @throws {RequiredError}
71
+ * @memberof InventoriesApiInterface
72
+ */
73
+ getLatestInventoryRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Inventory>>;
74
+
75
+ /**
76
+ * Get inventory from the latest collection
77
+ */
78
+ getLatestInventory(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Inventory>;
79
+
80
+ }
81
+
82
+ /**
83
+ *
84
+ */
85
+ export class InventoriesApi extends runtime.BaseAPI implements InventoriesApiInterface {
86
+
87
+ /**
88
+ * Creates request options for getInventory without sending the request
89
+ */
90
+ async getInventoryRequestOpts(requestParameters: GetInventoryRequest): Promise<runtime.RequestOpts> {
91
+ if (requestParameters['id'] == null) {
92
+ throw new runtime.RequiredError(
93
+ 'id',
94
+ 'Required parameter "id" was null or undefined when calling getInventory().'
95
+ );
96
+ }
97
+
98
+ const queryParameters: any = {};
99
+
100
+ const headerParameters: runtime.HTTPHeaders = {};
101
+
102
+
103
+ let urlPath = `/collections/{id}/inventory`;
104
+ urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
105
+
106
+ return {
107
+ path: urlPath,
108
+ method: 'GET',
109
+ headers: headerParameters,
110
+ query: queryParameters,
111
+ };
112
+ }
113
+
114
+ /**
115
+ * Get collected inventory for a collection
116
+ */
117
+ async getInventoryRaw(requestParameters: GetInventoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Inventory>> {
118
+ const requestOptions = await this.getInventoryRequestOpts(requestParameters);
119
+ const response = await this.request(requestOptions, initOverrides);
120
+
121
+ return new runtime.JSONApiResponse(response, (jsonValue) => InventoryFromJSON(jsonValue));
122
+ }
123
+
124
+ /**
125
+ * Get collected inventory for a collection
126
+ */
127
+ async getInventory(requestParameters: GetInventoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Inventory> {
128
+ const response = await this.getInventoryRaw(requestParameters, initOverrides);
129
+ return await response.value();
130
+ }
131
+
132
+ /**
133
+ * Creates request options for getLatestInventory without sending the request
134
+ */
135
+ async getLatestInventoryRequestOpts(): Promise<runtime.RequestOpts> {
136
+ const queryParameters: any = {};
137
+
138
+ const headerParameters: runtime.HTTPHeaders = {};
139
+
140
+
141
+ let urlPath = `/inventory`;
142
+
143
+ return {
144
+ path: urlPath,
145
+ method: 'GET',
146
+ headers: headerParameters,
147
+ query: queryParameters,
148
+ };
149
+ }
150
+
151
+ /**
152
+ * Get inventory from the latest collection
153
+ */
154
+ async getLatestInventoryRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Inventory>> {
155
+ const requestOptions = await this.getLatestInventoryRequestOpts();
156
+ const response = await this.request(requestOptions, initOverrides);
157
+
158
+ return new runtime.JSONApiResponse(response, (jsonValue) => InventoryFromJSON(jsonValue));
159
+ }
160
+
161
+ /**
162
+ * Get inventory from the latest collection
163
+ */
164
+ async getLatestInventory(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Inventory> {
165
+ const response = await this.getLatestInventoryRaw(initOverrides);
166
+ return await response.value();
167
+ }
168
+
169
+ }