@openshift-migration-advisor/planner-sdk 0.11.0 → 0.12.0

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 (404) hide show
  1. package/.openapi-generator/FILES +16 -0
  2. package/README.md +22 -3
  3. package/dist/apis/AccountApi.d.ts +1 -1
  4. package/dist/apis/AccountApi.js +1 -1
  5. package/dist/apis/AssessmentApi.d.ts +107 -2
  6. package/dist/apis/AssessmentApi.js +124 -1
  7. package/dist/apis/HealthApi.d.ts +1 -1
  8. package/dist/apis/HealthApi.js +1 -1
  9. package/dist/apis/ImageApi.d.ts +1 -1
  10. package/dist/apis/ImageApi.js +1 -1
  11. package/dist/apis/InfoApi.d.ts +1 -1
  12. package/dist/apis/InfoApi.js +1 -1
  13. package/dist/apis/JobApi.d.ts +1 -1
  14. package/dist/apis/JobApi.js +1 -1
  15. package/dist/apis/PartnerApi.d.ts +323 -0
  16. package/dist/apis/PartnerApi.js +379 -0
  17. package/dist/apis/SourceApi.d.ts +1 -1
  18. package/dist/apis/SourceApi.js +1 -1
  19. package/dist/apis/index.d.ts +1 -0
  20. package/dist/apis/index.js +1 -0
  21. package/dist/esm/apis/AccountApi.d.ts +1 -1
  22. package/dist/esm/apis/AccountApi.js +1 -1
  23. package/dist/esm/apis/AssessmentApi.d.ts +107 -2
  24. package/dist/esm/apis/AssessmentApi.js +125 -2
  25. package/dist/esm/apis/HealthApi.d.ts +1 -1
  26. package/dist/esm/apis/HealthApi.js +1 -1
  27. package/dist/esm/apis/ImageApi.d.ts +1 -1
  28. package/dist/esm/apis/ImageApi.js +1 -1
  29. package/dist/esm/apis/InfoApi.d.ts +1 -1
  30. package/dist/esm/apis/InfoApi.js +1 -1
  31. package/dist/esm/apis/JobApi.d.ts +1 -1
  32. package/dist/esm/apis/JobApi.js +1 -1
  33. package/dist/esm/apis/PartnerApi.d.ts +323 -0
  34. package/dist/esm/apis/PartnerApi.js +375 -0
  35. package/dist/esm/apis/SourceApi.d.ts +1 -1
  36. package/dist/esm/apis/SourceApi.js +1 -1
  37. package/dist/esm/apis/index.d.ts +1 -0
  38. package/dist/esm/apis/index.js +1 -0
  39. package/dist/esm/models/Agent.d.ts +1 -1
  40. package/dist/esm/models/Agent.js +1 -1
  41. package/dist/esm/models/AgentProxy.d.ts +1 -1
  42. package/dist/esm/models/AgentProxy.js +1 -1
  43. package/dist/esm/models/Assessment.d.ts +1 -1
  44. package/dist/esm/models/Assessment.js +1 -1
  45. package/dist/esm/models/AssessmentForm.d.ts +1 -1
  46. package/dist/esm/models/AssessmentForm.js +1 -1
  47. package/dist/esm/models/AssessmentUpdate.d.ts +1 -1
  48. package/dist/esm/models/AssessmentUpdate.js +1 -1
  49. package/dist/esm/models/ClusterRequirementsRequest.d.ts +1 -1
  50. package/dist/esm/models/ClusterRequirementsRequest.js +1 -1
  51. package/dist/esm/models/ClusterRequirementsResponse.d.ts +1 -1
  52. package/dist/esm/models/ClusterRequirementsResponse.js +1 -1
  53. package/dist/esm/models/ClusterRequirementsStoredInput.d.ts +119 -0
  54. package/dist/esm/models/ClusterRequirementsStoredInput.js +87 -0
  55. package/dist/esm/models/ClusterSizing.d.ts +1 -1
  56. package/dist/esm/models/ClusterSizing.js +1 -1
  57. package/dist/esm/models/ComplexityDiskScoreEntry.d.ts +1 -1
  58. package/dist/esm/models/ComplexityDiskScoreEntry.js +1 -1
  59. package/dist/esm/models/ComplexityOSNameEntry.d.ts +1 -1
  60. package/dist/esm/models/ComplexityOSNameEntry.js +1 -1
  61. package/dist/esm/models/ComplexityOSScoreEntry.d.ts +1 -1
  62. package/dist/esm/models/ComplexityOSScoreEntry.js +1 -1
  63. package/dist/esm/models/Customer.d.ts +62 -0
  64. package/dist/esm/models/Customer.js +63 -0
  65. package/dist/esm/models/Datastore.d.ts +1 -1
  66. package/dist/esm/models/Datastore.js +1 -1
  67. package/dist/esm/models/DiskSizeTierSummary.d.ts +1 -1
  68. package/dist/esm/models/DiskSizeTierSummary.js +1 -1
  69. package/dist/esm/models/DiskTypeSummary.d.ts +1 -1
  70. package/dist/esm/models/DiskTypeSummary.js +1 -1
  71. package/dist/esm/models/EstimationContext.d.ts +1 -1
  72. package/dist/esm/models/EstimationContext.js +1 -1
  73. package/dist/esm/models/EstimationDetail.d.ts +1 -1
  74. package/dist/esm/models/EstimationDetail.js +1 -1
  75. package/dist/esm/models/Group.d.ts +1 -1
  76. package/dist/esm/models/Group.js +1 -1
  77. package/dist/esm/models/GroupCreate.d.ts +1 -1
  78. package/dist/esm/models/GroupCreate.js +1 -1
  79. package/dist/esm/models/GroupUpdate.d.ts +1 -1
  80. package/dist/esm/models/GroupUpdate.js +1 -1
  81. package/dist/esm/models/Histogram.d.ts +1 -1
  82. package/dist/esm/models/Histogram.js +1 -1
  83. package/dist/esm/models/Host.d.ts +1 -1
  84. package/dist/esm/models/Host.js +1 -1
  85. package/dist/esm/models/Identity.d.ts +1 -1
  86. package/dist/esm/models/Identity.js +1 -1
  87. package/dist/esm/models/Info.d.ts +1 -1
  88. package/dist/esm/models/Info.js +1 -1
  89. package/dist/esm/models/Infra.d.ts +1 -1
  90. package/dist/esm/models/Infra.js +1 -1
  91. package/dist/esm/models/Inventory.d.ts +1 -1
  92. package/dist/esm/models/Inventory.js +1 -1
  93. package/dist/esm/models/InventoryData.d.ts +1 -1
  94. package/dist/esm/models/InventoryData.js +1 -1
  95. package/dist/esm/models/InventoryTotals.d.ts +1 -1
  96. package/dist/esm/models/InventoryTotals.js +1 -1
  97. package/dist/esm/models/Ipv4Config.d.ts +1 -1
  98. package/dist/esm/models/Ipv4Config.js +1 -1
  99. package/dist/esm/models/Job.d.ts +1 -1
  100. package/dist/esm/models/Job.js +1 -1
  101. package/dist/esm/models/JobStatus.d.ts +1 -1
  102. package/dist/esm/models/JobStatus.js +1 -1
  103. package/dist/esm/models/Label.d.ts +1 -1
  104. package/dist/esm/models/Label.js +1 -1
  105. package/dist/esm/models/Member.d.ts +1 -1
  106. package/dist/esm/models/Member.js +1 -1
  107. package/dist/esm/models/MemberCreate.d.ts +1 -1
  108. package/dist/esm/models/MemberCreate.js +1 -1
  109. package/dist/esm/models/MemberUpdate.d.ts +1 -1
  110. package/dist/esm/models/MemberUpdate.js +1 -1
  111. package/dist/esm/models/MigrationComplexityRequest.d.ts +1 -1
  112. package/dist/esm/models/MigrationComplexityRequest.js +1 -1
  113. package/dist/esm/models/MigrationComplexityResponse.d.ts +1 -1
  114. package/dist/esm/models/MigrationComplexityResponse.js +1 -1
  115. package/dist/esm/models/MigrationEstimationByComplexityResponse.d.ts +1 -1
  116. package/dist/esm/models/MigrationEstimationByComplexityResponse.js +1 -1
  117. package/dist/esm/models/MigrationEstimationRequest.d.ts +1 -1
  118. package/dist/esm/models/MigrationEstimationRequest.js +1 -1
  119. package/dist/esm/models/MigrationEstimationResponse.d.ts +1 -1
  120. package/dist/esm/models/MigrationEstimationResponse.js +1 -1
  121. package/dist/esm/models/MigrationIssue.d.ts +1 -1
  122. package/dist/esm/models/MigrationIssue.js +1 -1
  123. package/dist/esm/models/ModelError.d.ts +1 -1
  124. package/dist/esm/models/ModelError.js +1 -1
  125. package/dist/esm/models/Network.d.ts +1 -1
  126. package/dist/esm/models/Network.js +1 -1
  127. package/dist/esm/models/OsDiskEstimationEntry.d.ts +1 -1
  128. package/dist/esm/models/OsDiskEstimationEntry.js +1 -1
  129. package/dist/esm/models/OsInfo.d.ts +1 -1
  130. package/dist/esm/models/OsInfo.js +1 -1
  131. package/dist/esm/models/PartnerRequest.d.ts +106 -0
  132. package/dist/esm/models/PartnerRequest.js +87 -0
  133. package/dist/esm/models/PartnerRequestCreate.d.ts +56 -0
  134. package/dist/esm/models/PartnerRequestCreate.js +59 -0
  135. package/dist/esm/models/PartnerRequestStatus.d.ts +27 -0
  136. package/dist/esm/models/PartnerRequestStatus.js +45 -0
  137. package/dist/esm/models/PartnerRequestUpdate.d.ts +39 -0
  138. package/dist/esm/models/PartnerRequestUpdate.js +46 -0
  139. package/dist/esm/models/PartnerSummary.d.ts +50 -0
  140. package/dist/esm/models/PartnerSummary.js +55 -0
  141. package/dist/esm/models/PresignedUrl.d.ts +1 -1
  142. package/dist/esm/models/PresignedUrl.js +1 -1
  143. package/dist/esm/models/SchemaEstimationResult.d.ts +1 -1
  144. package/dist/esm/models/SchemaEstimationResult.js +1 -1
  145. package/dist/esm/models/SizingOverCommitRatio.d.ts +1 -1
  146. package/dist/esm/models/SizingOverCommitRatio.js +1 -1
  147. package/dist/esm/models/SizingResourceConsumption.d.ts +1 -1
  148. package/dist/esm/models/SizingResourceConsumption.js +1 -1
  149. package/dist/esm/models/SizingResourceLimits.d.ts +1 -1
  150. package/dist/esm/models/SizingResourceLimits.js +1 -1
  151. package/dist/esm/models/Snapshot.d.ts +1 -1
  152. package/dist/esm/models/Snapshot.js +1 -1
  153. package/dist/esm/models/Source.d.ts +1 -1
  154. package/dist/esm/models/Source.js +1 -1
  155. package/dist/esm/models/SourceCreate.d.ts +1 -1
  156. package/dist/esm/models/SourceCreate.js +1 -1
  157. package/dist/esm/models/SourceInfra.d.ts +1 -1
  158. package/dist/esm/models/SourceInfra.js +1 -1
  159. package/dist/esm/models/SourceUpdate.d.ts +1 -1
  160. package/dist/esm/models/SourceUpdate.js +1 -1
  161. package/dist/esm/models/Status.d.ts +1 -1
  162. package/dist/esm/models/Status.js +1 -1
  163. package/dist/esm/models/UpdateInventory.d.ts +1 -1
  164. package/dist/esm/models/UpdateInventory.js +1 -1
  165. package/dist/esm/models/VCenter.d.ts +1 -1
  166. package/dist/esm/models/VCenter.js +1 -1
  167. package/dist/esm/models/VMResourceBreakdown.d.ts +1 -1
  168. package/dist/esm/models/VMResourceBreakdown.js +1 -1
  169. package/dist/esm/models/VMs.d.ts +10 -1
  170. package/dist/esm/models/VMs.js +3 -1
  171. package/dist/esm/models/VmNetwork.d.ts +1 -1
  172. package/dist/esm/models/VmNetwork.js +1 -1
  173. package/dist/esm/models/index.d.ts +7 -0
  174. package/dist/esm/models/index.js +7 -0
  175. package/dist/esm/runtime.d.ts +1 -1
  176. package/dist/esm/runtime.js +1 -1
  177. package/dist/models/Agent.d.ts +1 -1
  178. package/dist/models/Agent.js +1 -1
  179. package/dist/models/AgentProxy.d.ts +1 -1
  180. package/dist/models/AgentProxy.js +1 -1
  181. package/dist/models/Assessment.d.ts +1 -1
  182. package/dist/models/Assessment.js +1 -1
  183. package/dist/models/AssessmentForm.d.ts +1 -1
  184. package/dist/models/AssessmentForm.js +1 -1
  185. package/dist/models/AssessmentUpdate.d.ts +1 -1
  186. package/dist/models/AssessmentUpdate.js +1 -1
  187. package/dist/models/ClusterRequirementsRequest.d.ts +1 -1
  188. package/dist/models/ClusterRequirementsRequest.js +1 -1
  189. package/dist/models/ClusterRequirementsResponse.d.ts +1 -1
  190. package/dist/models/ClusterRequirementsResponse.js +1 -1
  191. package/dist/models/ClusterRequirementsStoredInput.d.ts +119 -0
  192. package/dist/models/ClusterRequirementsStoredInput.js +95 -0
  193. package/dist/models/ClusterSizing.d.ts +1 -1
  194. package/dist/models/ClusterSizing.js +1 -1
  195. package/dist/models/ComplexityDiskScoreEntry.d.ts +1 -1
  196. package/dist/models/ComplexityDiskScoreEntry.js +1 -1
  197. package/dist/models/ComplexityOSNameEntry.d.ts +1 -1
  198. package/dist/models/ComplexityOSNameEntry.js +1 -1
  199. package/dist/models/ComplexityOSScoreEntry.d.ts +1 -1
  200. package/dist/models/ComplexityOSScoreEntry.js +1 -1
  201. package/dist/models/Customer.d.ts +62 -0
  202. package/dist/models/Customer.js +70 -0
  203. package/dist/models/Datastore.d.ts +1 -1
  204. package/dist/models/Datastore.js +1 -1
  205. package/dist/models/DiskSizeTierSummary.d.ts +1 -1
  206. package/dist/models/DiskSizeTierSummary.js +1 -1
  207. package/dist/models/DiskTypeSummary.d.ts +1 -1
  208. package/dist/models/DiskTypeSummary.js +1 -1
  209. package/dist/models/EstimationContext.d.ts +1 -1
  210. package/dist/models/EstimationContext.js +1 -1
  211. package/dist/models/EstimationDetail.d.ts +1 -1
  212. package/dist/models/EstimationDetail.js +1 -1
  213. package/dist/models/Group.d.ts +1 -1
  214. package/dist/models/Group.js +1 -1
  215. package/dist/models/GroupCreate.d.ts +1 -1
  216. package/dist/models/GroupCreate.js +1 -1
  217. package/dist/models/GroupUpdate.d.ts +1 -1
  218. package/dist/models/GroupUpdate.js +1 -1
  219. package/dist/models/Histogram.d.ts +1 -1
  220. package/dist/models/Histogram.js +1 -1
  221. package/dist/models/Host.d.ts +1 -1
  222. package/dist/models/Host.js +1 -1
  223. package/dist/models/Identity.d.ts +1 -1
  224. package/dist/models/Identity.js +1 -1
  225. package/dist/models/Info.d.ts +1 -1
  226. package/dist/models/Info.js +1 -1
  227. package/dist/models/Infra.d.ts +1 -1
  228. package/dist/models/Infra.js +1 -1
  229. package/dist/models/Inventory.d.ts +1 -1
  230. package/dist/models/Inventory.js +1 -1
  231. package/dist/models/InventoryData.d.ts +1 -1
  232. package/dist/models/InventoryData.js +1 -1
  233. package/dist/models/InventoryTotals.d.ts +1 -1
  234. package/dist/models/InventoryTotals.js +1 -1
  235. package/dist/models/Ipv4Config.d.ts +1 -1
  236. package/dist/models/Ipv4Config.js +1 -1
  237. package/dist/models/Job.d.ts +1 -1
  238. package/dist/models/Job.js +1 -1
  239. package/dist/models/JobStatus.d.ts +1 -1
  240. package/dist/models/JobStatus.js +1 -1
  241. package/dist/models/Label.d.ts +1 -1
  242. package/dist/models/Label.js +1 -1
  243. package/dist/models/Member.d.ts +1 -1
  244. package/dist/models/Member.js +1 -1
  245. package/dist/models/MemberCreate.d.ts +1 -1
  246. package/dist/models/MemberCreate.js +1 -1
  247. package/dist/models/MemberUpdate.d.ts +1 -1
  248. package/dist/models/MemberUpdate.js +1 -1
  249. package/dist/models/MigrationComplexityRequest.d.ts +1 -1
  250. package/dist/models/MigrationComplexityRequest.js +1 -1
  251. package/dist/models/MigrationComplexityResponse.d.ts +1 -1
  252. package/dist/models/MigrationComplexityResponse.js +1 -1
  253. package/dist/models/MigrationEstimationByComplexityResponse.d.ts +1 -1
  254. package/dist/models/MigrationEstimationByComplexityResponse.js +1 -1
  255. package/dist/models/MigrationEstimationRequest.d.ts +1 -1
  256. package/dist/models/MigrationEstimationRequest.js +1 -1
  257. package/dist/models/MigrationEstimationResponse.d.ts +1 -1
  258. package/dist/models/MigrationEstimationResponse.js +1 -1
  259. package/dist/models/MigrationIssue.d.ts +1 -1
  260. package/dist/models/MigrationIssue.js +1 -1
  261. package/dist/models/ModelError.d.ts +1 -1
  262. package/dist/models/ModelError.js +1 -1
  263. package/dist/models/Network.d.ts +1 -1
  264. package/dist/models/Network.js +1 -1
  265. package/dist/models/OsDiskEstimationEntry.d.ts +1 -1
  266. package/dist/models/OsDiskEstimationEntry.js +1 -1
  267. package/dist/models/OsInfo.d.ts +1 -1
  268. package/dist/models/OsInfo.js +1 -1
  269. package/dist/models/PartnerRequest.d.ts +106 -0
  270. package/dist/models/PartnerRequest.js +94 -0
  271. package/dist/models/PartnerRequestCreate.d.ts +56 -0
  272. package/dist/models/PartnerRequestCreate.js +66 -0
  273. package/dist/models/PartnerRequestStatus.d.ts +27 -0
  274. package/dist/models/PartnerRequestStatus.js +53 -0
  275. package/dist/models/PartnerRequestUpdate.d.ts +39 -0
  276. package/dist/models/PartnerRequestUpdate.js +53 -0
  277. package/dist/models/PartnerSummary.d.ts +50 -0
  278. package/dist/models/PartnerSummary.js +62 -0
  279. package/dist/models/PresignedUrl.d.ts +1 -1
  280. package/dist/models/PresignedUrl.js +1 -1
  281. package/dist/models/SchemaEstimationResult.d.ts +1 -1
  282. package/dist/models/SchemaEstimationResult.js +1 -1
  283. package/dist/models/SizingOverCommitRatio.d.ts +1 -1
  284. package/dist/models/SizingOverCommitRatio.js +1 -1
  285. package/dist/models/SizingResourceConsumption.d.ts +1 -1
  286. package/dist/models/SizingResourceConsumption.js +1 -1
  287. package/dist/models/SizingResourceLimits.d.ts +1 -1
  288. package/dist/models/SizingResourceLimits.js +1 -1
  289. package/dist/models/Snapshot.d.ts +1 -1
  290. package/dist/models/Snapshot.js +1 -1
  291. package/dist/models/Source.d.ts +1 -1
  292. package/dist/models/Source.js +1 -1
  293. package/dist/models/SourceCreate.d.ts +1 -1
  294. package/dist/models/SourceCreate.js +1 -1
  295. package/dist/models/SourceInfra.d.ts +1 -1
  296. package/dist/models/SourceInfra.js +1 -1
  297. package/dist/models/SourceUpdate.d.ts +1 -1
  298. package/dist/models/SourceUpdate.js +1 -1
  299. package/dist/models/Status.d.ts +1 -1
  300. package/dist/models/Status.js +1 -1
  301. package/dist/models/UpdateInventory.d.ts +1 -1
  302. package/dist/models/UpdateInventory.js +1 -1
  303. package/dist/models/VCenter.d.ts +1 -1
  304. package/dist/models/VCenter.js +1 -1
  305. package/dist/models/VMResourceBreakdown.d.ts +1 -1
  306. package/dist/models/VMResourceBreakdown.js +1 -1
  307. package/dist/models/VMs.d.ts +10 -1
  308. package/dist/models/VMs.js +3 -1
  309. package/dist/models/VmNetwork.d.ts +1 -1
  310. package/dist/models/VmNetwork.js +1 -1
  311. package/dist/models/index.d.ts +7 -0
  312. package/dist/models/index.js +7 -0
  313. package/dist/runtime.d.ts +1 -1
  314. package/dist/runtime.js +1 -1
  315. package/docs/AssessmentApi.md +222 -0
  316. package/docs/ClusterRequirementsStoredInput.md +55 -0
  317. package/docs/Customer.md +44 -0
  318. package/docs/PartnerApi.md +636 -0
  319. package/docs/PartnerRequest.md +58 -0
  320. package/docs/PartnerRequestCreate.md +42 -0
  321. package/docs/PartnerRequestStatus.md +32 -0
  322. package/docs/PartnerRequestUpdate.md +36 -0
  323. package/docs/PartnerSummary.md +40 -0
  324. package/docs/SourceApi.md +1 -1
  325. package/docs/VMs.md +2 -0
  326. package/package.json +1 -1
  327. package/src/apis/AccountApi.ts +1 -1
  328. package/src/apis/AssessmentApi.ts +234 -1
  329. package/src/apis/HealthApi.ts +1 -1
  330. package/src/apis/ImageApi.ts +1 -1
  331. package/src/apis/InfoApi.ts +1 -1
  332. package/src/apis/JobApi.ts +1 -1
  333. package/src/apis/PartnerApi.ts +671 -0
  334. package/src/apis/SourceApi.ts +1 -1
  335. package/src/apis/index.ts +1 -0
  336. package/src/models/Agent.ts +1 -1
  337. package/src/models/AgentProxy.ts +1 -1
  338. package/src/models/Assessment.ts +1 -1
  339. package/src/models/AssessmentForm.ts +1 -1
  340. package/src/models/AssessmentUpdate.ts +1 -1
  341. package/src/models/ClusterRequirementsRequest.ts +1 -1
  342. package/src/models/ClusterRequirementsResponse.ts +1 -1
  343. package/src/models/ClusterRequirementsStoredInput.ts +178 -0
  344. package/src/models/ClusterSizing.ts +1 -1
  345. package/src/models/ComplexityDiskScoreEntry.ts +1 -1
  346. package/src/models/ComplexityOSNameEntry.ts +1 -1
  347. package/src/models/ComplexityOSScoreEntry.ts +1 -1
  348. package/src/models/Customer.ts +111 -0
  349. package/src/models/Datastore.ts +1 -1
  350. package/src/models/DiskSizeTierSummary.ts +1 -1
  351. package/src/models/DiskTypeSummary.ts +1 -1
  352. package/src/models/EstimationContext.ts +1 -1
  353. package/src/models/EstimationDetail.ts +1 -1
  354. package/src/models/Group.ts +1 -1
  355. package/src/models/GroupCreate.ts +1 -1
  356. package/src/models/GroupUpdate.ts +1 -1
  357. package/src/models/Histogram.ts +1 -1
  358. package/src/models/Host.ts +1 -1
  359. package/src/models/Identity.ts +1 -1
  360. package/src/models/Info.ts +1 -1
  361. package/src/models/Infra.ts +1 -1
  362. package/src/models/Inventory.ts +1 -1
  363. package/src/models/InventoryData.ts +1 -1
  364. package/src/models/InventoryTotals.ts +1 -1
  365. package/src/models/Ipv4Config.ts +1 -1
  366. package/src/models/Job.ts +1 -1
  367. package/src/models/JobStatus.ts +1 -1
  368. package/src/models/Label.ts +1 -1
  369. package/src/models/Member.ts +1 -1
  370. package/src/models/MemberCreate.ts +1 -1
  371. package/src/models/MemberUpdate.ts +1 -1
  372. package/src/models/MigrationComplexityRequest.ts +1 -1
  373. package/src/models/MigrationComplexityResponse.ts +1 -1
  374. package/src/models/MigrationEstimationByComplexityResponse.ts +1 -1
  375. package/src/models/MigrationEstimationRequest.ts +1 -1
  376. package/src/models/MigrationEstimationResponse.ts +1 -1
  377. package/src/models/MigrationIssue.ts +1 -1
  378. package/src/models/ModelError.ts +1 -1
  379. package/src/models/Network.ts +1 -1
  380. package/src/models/OsDiskEstimationEntry.ts +1 -1
  381. package/src/models/OsInfo.ts +1 -1
  382. package/src/models/PartnerRequest.ts +188 -0
  383. package/src/models/PartnerRequestCreate.ts +102 -0
  384. package/src/models/PartnerRequestStatus.ts +55 -0
  385. package/src/models/PartnerRequestUpdate.ts +84 -0
  386. package/src/models/PartnerSummary.ts +93 -0
  387. package/src/models/PresignedUrl.ts +1 -1
  388. package/src/models/SchemaEstimationResult.ts +1 -1
  389. package/src/models/SizingOverCommitRatio.ts +1 -1
  390. package/src/models/SizingResourceConsumption.ts +1 -1
  391. package/src/models/SizingResourceLimits.ts +1 -1
  392. package/src/models/Snapshot.ts +1 -1
  393. package/src/models/Source.ts +1 -1
  394. package/src/models/SourceCreate.ts +1 -1
  395. package/src/models/SourceInfra.ts +1 -1
  396. package/src/models/SourceUpdate.ts +1 -1
  397. package/src/models/Status.ts +1 -1
  398. package/src/models/UpdateInventory.ts +1 -1
  399. package/src/models/VCenter.ts +1 -1
  400. package/src/models/VMResourceBreakdown.ts +1 -1
  401. package/src/models/VMs.ts +10 -1
  402. package/src/models/VmNetwork.ts +1 -1
  403. package/src/models/index.ts +7 -0
  404. package/src/runtime.ts +1 -1
@@ -0,0 +1,44 @@
1
+
2
+ # Customer
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `username` | string
10
+ `name` | string
11
+ `contactName` | string
12
+ `contactPhone` | string
13
+ `email` | string
14
+ `location` | string
15
+
16
+ ## Example
17
+
18
+ ```typescript
19
+ import type { Customer } from '@openshift-migration-advisor/planner-sdk'
20
+
21
+ // TODO: Update the object below with actual values
22
+ const example = {
23
+ "username": null,
24
+ "name": null,
25
+ "contactName": null,
26
+ "contactPhone": null,
27
+ "email": null,
28
+ "location": null,
29
+ } satisfies Customer
30
+
31
+ console.log(example)
32
+
33
+ // Convert the instance to a JSON string
34
+ const exampleJSON: string = JSON.stringify(example)
35
+ console.log(exampleJSON)
36
+
37
+ // Parse the JSON string back to an object
38
+ const exampleParsed = JSON.parse(exampleJSON) as Customer
39
+ console.log(exampleParsed)
40
+ ```
41
+
42
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
43
+
44
+
@@ -0,0 +1,636 @@
1
+ # PartnerApi
2
+
3
+ All URIs are relative to *https://raw.githubusercontent.com*
4
+
5
+ | Method | HTTP request | Description |
6
+ |------------- | ------------- | -------------|
7
+ | [**cancelPartnerRequest**](PartnerApi.md#cancelpartnerrequest) | **DELETE** /api/v1/partners/requests/{id} | |
8
+ | [**createPartnerRequest**](PartnerApi.md#createpartnerrequest) | **POST** /api/v1/partners/{id}/request | |
9
+ | [**getPartner**](PartnerApi.md#getpartner) | **GET** /api/v1/partners/{id} | |
10
+ | [**leavePartner**](PartnerApi.md#leavepartner) | **DELETE** /api/v1/partners/{id} | |
11
+ | [**listCustomers**](PartnerApi.md#listcustomers) | **GET** /api/v1/customers | |
12
+ | [**listPartnerRequests**](PartnerApi.md#listpartnerrequests) | **GET** /api/v1/partners/requests | |
13
+ | [**listPartners**](PartnerApi.md#listpartners) | **GET** /api/v1/partners | |
14
+ | [**removeCustomer**](PartnerApi.md#removecustomer) | **DELETE** /api/v1/customers/{username} | |
15
+ | [**updatePartnerRequest**](PartnerApi.md#updatepartnerrequest) | **PUT** /api/v1/partners/requests/{id} | |
16
+
17
+
18
+
19
+ ## cancelPartnerRequest
20
+
21
+ > cancelPartnerRequest(id)
22
+
23
+
24
+
25
+ Cancel a pending partner request
26
+
27
+ ### Example
28
+
29
+ ```ts
30
+ import {
31
+ Configuration,
32
+ PartnerApi,
33
+ } from '@openshift-migration-advisor/planner-sdk';
34
+ import type { CancelPartnerRequestRequest } from '@openshift-migration-advisor/planner-sdk';
35
+
36
+ async function example() {
37
+ console.log("🚀 Testing @openshift-migration-advisor/planner-sdk SDK...");
38
+ const api = new PartnerApi();
39
+
40
+ const body = {
41
+ // string | Partner request ID
42
+ id: 38400000-8cf0-11bd-b23e-10b96e4ef00d,
43
+ } satisfies CancelPartnerRequestRequest;
44
+
45
+ try {
46
+ const data = await api.cancelPartnerRequest(body);
47
+ console.log(data);
48
+ } catch (error) {
49
+ console.error(error);
50
+ }
51
+ }
52
+
53
+ // Run the test
54
+ example().catch(console.error);
55
+ ```
56
+
57
+ ### Parameters
58
+
59
+
60
+ | Name | Type | Description | Notes |
61
+ |------------- | ------------- | ------------- | -------------|
62
+ | **id** | `string` | Partner request ID | [Defaults to `undefined`] |
63
+
64
+ ### Return type
65
+
66
+ `void` (Empty response body)
67
+
68
+ ### Authorization
69
+
70
+ No authorization required
71
+
72
+ ### HTTP request headers
73
+
74
+ - **Content-Type**: Not defined
75
+ - **Accept**: `application/json`
76
+
77
+
78
+ ### HTTP response details
79
+ | Status code | Description | Response headers |
80
+ |-------------|-------------|------------------|
81
+ | **200** | OK | - |
82
+ | **401** | Unauthorized | - |
83
+ | **404** | Not Found | - |
84
+ | **500** | Internal error | - |
85
+
86
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
87
+
88
+
89
+ ## createPartnerRequest
90
+
91
+ > PartnerRequest createPartnerRequest(id, partnerRequestCreate)
92
+
93
+
94
+
95
+ Submit a partner request. Only regular users can make this request.
96
+
97
+ ### Example
98
+
99
+ ```ts
100
+ import {
101
+ Configuration,
102
+ PartnerApi,
103
+ } from '@openshift-migration-advisor/planner-sdk';
104
+ import type { CreatePartnerRequestRequest } from '@openshift-migration-advisor/planner-sdk';
105
+
106
+ async function example() {
107
+ console.log("🚀 Testing @openshift-migration-advisor/planner-sdk SDK...");
108
+ const api = new PartnerApi();
109
+
110
+ const body = {
111
+ // string | Partner group ID
112
+ id: 38400000-8cf0-11bd-b23e-10b96e4ef00d,
113
+ // PartnerRequestCreate
114
+ partnerRequestCreate: ...,
115
+ } satisfies CreatePartnerRequestRequest;
116
+
117
+ try {
118
+ const data = await api.createPartnerRequest(body);
119
+ console.log(data);
120
+ } catch (error) {
121
+ console.error(error);
122
+ }
123
+ }
124
+
125
+ // Run the test
126
+ example().catch(console.error);
127
+ ```
128
+
129
+ ### Parameters
130
+
131
+
132
+ | Name | Type | Description | Notes |
133
+ |------------- | ------------- | ------------- | -------------|
134
+ | **id** | `string` | Partner group ID | [Defaults to `undefined`] |
135
+ | **partnerRequestCreate** | [PartnerRequestCreate](PartnerRequestCreate.md) | | |
136
+
137
+ ### Return type
138
+
139
+ [**PartnerRequest**](PartnerRequest.md)
140
+
141
+ ### Authorization
142
+
143
+ No authorization required
144
+
145
+ ### HTTP request headers
146
+
147
+ - **Content-Type**: `application/json`
148
+ - **Accept**: `application/json`
149
+
150
+
151
+ ### HTTP response details
152
+ | Status code | Description | Response headers |
153
+ |-------------|-------------|------------------|
154
+ | **201** | Created | - |
155
+ | **400** | Bad Request | - |
156
+ | **401** | Unauthorized | - |
157
+ | **403** | Forbidden | - |
158
+ | **404** | Not Found | - |
159
+ | **500** | Internal error | - |
160
+
161
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
162
+
163
+
164
+ ## getPartner
165
+
166
+ > Group getPartner(id)
167
+
168
+
169
+
170
+ Get my partner organization details
171
+
172
+ ### Example
173
+
174
+ ```ts
175
+ import {
176
+ Configuration,
177
+ PartnerApi,
178
+ } from '@openshift-migration-advisor/planner-sdk';
179
+ import type { GetPartnerRequest } from '@openshift-migration-advisor/planner-sdk';
180
+
181
+ async function example() {
182
+ console.log("🚀 Testing @openshift-migration-advisor/planner-sdk SDK...");
183
+ const api = new PartnerApi();
184
+
185
+ const body = {
186
+ // string | Partner group ID
187
+ id: 38400000-8cf0-11bd-b23e-10b96e4ef00d,
188
+ } satisfies GetPartnerRequest;
189
+
190
+ try {
191
+ const data = await api.getPartner(body);
192
+ console.log(data);
193
+ } catch (error) {
194
+ console.error(error);
195
+ }
196
+ }
197
+
198
+ // Run the test
199
+ example().catch(console.error);
200
+ ```
201
+
202
+ ### Parameters
203
+
204
+
205
+ | Name | Type | Description | Notes |
206
+ |------------- | ------------- | ------------- | -------------|
207
+ | **id** | `string` | Partner group ID | [Defaults to `undefined`] |
208
+
209
+ ### Return type
210
+
211
+ [**Group**](Group.md)
212
+
213
+ ### Authorization
214
+
215
+ No authorization required
216
+
217
+ ### HTTP request headers
218
+
219
+ - **Content-Type**: Not defined
220
+ - **Accept**: `application/json`
221
+
222
+
223
+ ### HTTP response details
224
+ | Status code | Description | Response headers |
225
+ |-------------|-------------|------------------|
226
+ | **200** | OK | - |
227
+ | **401** | Unauthorized | - |
228
+ | **403** | Forbidden | - |
229
+ | **404** | Not Found | - |
230
+ | **500** | Internal error | - |
231
+
232
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
233
+
234
+
235
+ ## leavePartner
236
+
237
+ > leavePartner(id)
238
+
239
+
240
+
241
+ Leave partner organization
242
+
243
+ ### Example
244
+
245
+ ```ts
246
+ import {
247
+ Configuration,
248
+ PartnerApi,
249
+ } from '@openshift-migration-advisor/planner-sdk';
250
+ import type { LeavePartnerRequest } from '@openshift-migration-advisor/planner-sdk';
251
+
252
+ async function example() {
253
+ console.log("🚀 Testing @openshift-migration-advisor/planner-sdk SDK...");
254
+ const api = new PartnerApi();
255
+
256
+ const body = {
257
+ // string | Partner group ID
258
+ id: 38400000-8cf0-11bd-b23e-10b96e4ef00d,
259
+ } satisfies LeavePartnerRequest;
260
+
261
+ try {
262
+ const data = await api.leavePartner(body);
263
+ console.log(data);
264
+ } catch (error) {
265
+ console.error(error);
266
+ }
267
+ }
268
+
269
+ // Run the test
270
+ example().catch(console.error);
271
+ ```
272
+
273
+ ### Parameters
274
+
275
+
276
+ | Name | Type | Description | Notes |
277
+ |------------- | ------------- | ------------- | -------------|
278
+ | **id** | `string` | Partner group ID | [Defaults to `undefined`] |
279
+
280
+ ### Return type
281
+
282
+ `void` (Empty response body)
283
+
284
+ ### Authorization
285
+
286
+ No authorization required
287
+
288
+ ### HTTP request headers
289
+
290
+ - **Content-Type**: Not defined
291
+ - **Accept**: `application/json`
292
+
293
+
294
+ ### HTTP response details
295
+ | Status code | Description | Response headers |
296
+ |-------------|-------------|------------------|
297
+ | **200** | OK | - |
298
+ | **401** | Unauthorized | - |
299
+ | **403** | Forbidden | - |
300
+ | **404** | Not Found | - |
301
+ | **500** | Internal error | - |
302
+
303
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
304
+
305
+
306
+ ## listCustomers
307
+
308
+ > Array<Customer> listCustomers()
309
+
310
+
311
+
312
+ List customers for my partner organization
313
+
314
+ ### Example
315
+
316
+ ```ts
317
+ import {
318
+ Configuration,
319
+ PartnerApi,
320
+ } from '@openshift-migration-advisor/planner-sdk';
321
+ import type { ListCustomersRequest } from '@openshift-migration-advisor/planner-sdk';
322
+
323
+ async function example() {
324
+ console.log("🚀 Testing @openshift-migration-advisor/planner-sdk SDK...");
325
+ const api = new PartnerApi();
326
+
327
+ try {
328
+ const data = await api.listCustomers();
329
+ console.log(data);
330
+ } catch (error) {
331
+ console.error(error);
332
+ }
333
+ }
334
+
335
+ // Run the test
336
+ example().catch(console.error);
337
+ ```
338
+
339
+ ### Parameters
340
+
341
+ This endpoint does not need any parameter.
342
+
343
+ ### Return type
344
+
345
+ [**Array<Customer>**](Customer.md)
346
+
347
+ ### Authorization
348
+
349
+ No authorization required
350
+
351
+ ### HTTP request headers
352
+
353
+ - **Content-Type**: Not defined
354
+ - **Accept**: `application/json`
355
+
356
+
357
+ ### HTTP response details
358
+ | Status code | Description | Response headers |
359
+ |-------------|-------------|------------------|
360
+ | **200** | OK | - |
361
+ | **400** | Bad Request | - |
362
+ | **401** | Unauthorized | - |
363
+ | **403** | Forbidden | - |
364
+ | **500** | Internal error | - |
365
+
366
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
367
+
368
+
369
+ ## listPartnerRequests
370
+
371
+ > Array<PartnerRequest> listPartnerRequests()
372
+
373
+
374
+
375
+ List my partner requests
376
+
377
+ ### Example
378
+
379
+ ```ts
380
+ import {
381
+ Configuration,
382
+ PartnerApi,
383
+ } from '@openshift-migration-advisor/planner-sdk';
384
+ import type { ListPartnerRequestsRequest } from '@openshift-migration-advisor/planner-sdk';
385
+
386
+ async function example() {
387
+ console.log("🚀 Testing @openshift-migration-advisor/planner-sdk SDK...");
388
+ const api = new PartnerApi();
389
+
390
+ try {
391
+ const data = await api.listPartnerRequests();
392
+ console.log(data);
393
+ } catch (error) {
394
+ console.error(error);
395
+ }
396
+ }
397
+
398
+ // Run the test
399
+ example().catch(console.error);
400
+ ```
401
+
402
+ ### Parameters
403
+
404
+ This endpoint does not need any parameter.
405
+
406
+ ### Return type
407
+
408
+ [**Array<PartnerRequest>**](PartnerRequest.md)
409
+
410
+ ### Authorization
411
+
412
+ No authorization required
413
+
414
+ ### HTTP request headers
415
+
416
+ - **Content-Type**: Not defined
417
+ - **Accept**: `application/json`
418
+
419
+
420
+ ### HTTP response details
421
+ | Status code | Description | Response headers |
422
+ |-------------|-------------|------------------|
423
+ | **200** | OK | - |
424
+ | **401** | Unauthorized | - |
425
+ | **500** | Internal error | - |
426
+
427
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
428
+
429
+
430
+ ## listPartners
431
+
432
+ > Array<Group> listPartners()
433
+
434
+
435
+
436
+ List available partner organizations
437
+
438
+ ### Example
439
+
440
+ ```ts
441
+ import {
442
+ Configuration,
443
+ PartnerApi,
444
+ } from '@openshift-migration-advisor/planner-sdk';
445
+ import type { ListPartnersRequest } from '@openshift-migration-advisor/planner-sdk';
446
+
447
+ async function example() {
448
+ console.log("🚀 Testing @openshift-migration-advisor/planner-sdk SDK...");
449
+ const api = new PartnerApi();
450
+
451
+ try {
452
+ const data = await api.listPartners();
453
+ console.log(data);
454
+ } catch (error) {
455
+ console.error(error);
456
+ }
457
+ }
458
+
459
+ // Run the test
460
+ example().catch(console.error);
461
+ ```
462
+
463
+ ### Parameters
464
+
465
+ This endpoint does not need any parameter.
466
+
467
+ ### Return type
468
+
469
+ [**Array<Group>**](Group.md)
470
+
471
+ ### Authorization
472
+
473
+ No authorization required
474
+
475
+ ### HTTP request headers
476
+
477
+ - **Content-Type**: Not defined
478
+ - **Accept**: `application/json`
479
+
480
+
481
+ ### HTTP response details
482
+ | Status code | Description | Response headers |
483
+ |-------------|-------------|------------------|
484
+ | **200** | OK | - |
485
+ | **401** | Unauthorized | - |
486
+ | **500** | Internal error | - |
487
+
488
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
489
+
490
+
491
+ ## removeCustomer
492
+
493
+ > removeCustomer(username)
494
+
495
+
496
+
497
+ Remove a customer from partner organization
498
+
499
+ ### Example
500
+
501
+ ```ts
502
+ import {
503
+ Configuration,
504
+ PartnerApi,
505
+ } from '@openshift-migration-advisor/planner-sdk';
506
+ import type { RemoveCustomerRequest } from '@openshift-migration-advisor/planner-sdk';
507
+
508
+ async function example() {
509
+ console.log("🚀 Testing @openshift-migration-advisor/planner-sdk SDK...");
510
+ const api = new PartnerApi();
511
+
512
+ const body = {
513
+ // string | Customer username
514
+ username: username_example,
515
+ } satisfies RemoveCustomerRequest;
516
+
517
+ try {
518
+ const data = await api.removeCustomer(body);
519
+ console.log(data);
520
+ } catch (error) {
521
+ console.error(error);
522
+ }
523
+ }
524
+
525
+ // Run the test
526
+ example().catch(console.error);
527
+ ```
528
+
529
+ ### Parameters
530
+
531
+
532
+ | Name | Type | Description | Notes |
533
+ |------------- | ------------- | ------------- | -------------|
534
+ | **username** | `string` | Customer username | [Defaults to `undefined`] |
535
+
536
+ ### Return type
537
+
538
+ `void` (Empty response body)
539
+
540
+ ### Authorization
541
+
542
+ No authorization required
543
+
544
+ ### HTTP request headers
545
+
546
+ - **Content-Type**: Not defined
547
+ - **Accept**: `application/json`
548
+
549
+
550
+ ### HTTP response details
551
+ | Status code | Description | Response headers |
552
+ |-------------|-------------|------------------|
553
+ | **200** | OK | - |
554
+ | **400** | Bad Request | - |
555
+ | **401** | Unauthorized | - |
556
+ | **403** | Forbidden | - |
557
+ | **404** | Not Found | - |
558
+ | **500** | Internal error | - |
559
+
560
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
561
+
562
+
563
+ ## updatePartnerRequest
564
+
565
+ > PartnerRequest updatePartnerRequest(id, partnerRequestUpdate)
566
+
567
+
568
+
569
+ Accept or reject a customer request
570
+
571
+ ### Example
572
+
573
+ ```ts
574
+ import {
575
+ Configuration,
576
+ PartnerApi,
577
+ } from '@openshift-migration-advisor/planner-sdk';
578
+ import type { UpdatePartnerRequestRequest } from '@openshift-migration-advisor/planner-sdk';
579
+
580
+ async function example() {
581
+ console.log("🚀 Testing @openshift-migration-advisor/planner-sdk SDK...");
582
+ const api = new PartnerApi();
583
+
584
+ const body = {
585
+ // string | Partner request ID
586
+ id: 38400000-8cf0-11bd-b23e-10b96e4ef00d,
587
+ // PartnerRequestUpdate
588
+ partnerRequestUpdate: ...,
589
+ } satisfies UpdatePartnerRequestRequest;
590
+
591
+ try {
592
+ const data = await api.updatePartnerRequest(body);
593
+ console.log(data);
594
+ } catch (error) {
595
+ console.error(error);
596
+ }
597
+ }
598
+
599
+ // Run the test
600
+ example().catch(console.error);
601
+ ```
602
+
603
+ ### Parameters
604
+
605
+
606
+ | Name | Type | Description | Notes |
607
+ |------------- | ------------- | ------------- | -------------|
608
+ | **id** | `string` | Partner request ID | [Defaults to `undefined`] |
609
+ | **partnerRequestUpdate** | [PartnerRequestUpdate](PartnerRequestUpdate.md) | | |
610
+
611
+ ### Return type
612
+
613
+ [**PartnerRequest**](PartnerRequest.md)
614
+
615
+ ### Authorization
616
+
617
+ No authorization required
618
+
619
+ ### HTTP request headers
620
+
621
+ - **Content-Type**: `application/json`
622
+ - **Accept**: `application/json`
623
+
624
+
625
+ ### HTTP response details
626
+ | Status code | Description | Response headers |
627
+ |-------------|-------------|------------------|
628
+ | **200** | OK | - |
629
+ | **400** | Bad Request | - |
630
+ | **401** | Unauthorized | - |
631
+ | **403** | Forbidden | - |
632
+ | **404** | Not Found | - |
633
+ | **500** | Internal error | - |
634
+
635
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
636
+