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

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 (420) hide show
  1. package/.openapi-generator/FILES +20 -0
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +25 -4
  4. package/dist/apis/AccountApi.d.ts +8 -2
  5. package/dist/apis/AccountApi.js +21 -15
  6. package/dist/apis/AssessmentApi.d.ts +118 -2
  7. package/dist/apis/AssessmentApi.js +151 -17
  8. package/dist/apis/HealthApi.d.ts +1 -1
  9. package/dist/apis/HealthApi.js +1 -1
  10. package/dist/apis/ImageApi.d.ts +2 -2
  11. package/dist/apis/ImageApi.js +3 -3
  12. package/dist/apis/InfoApi.d.ts +2 -2
  13. package/dist/apis/InfoApi.js +3 -3
  14. package/dist/apis/JobApi.d.ts +2 -2
  15. package/dist/apis/JobApi.js +5 -5
  16. package/dist/apis/PartnerApi.d.ts +327 -0
  17. package/dist/apis/PartnerApi.js +383 -0
  18. package/dist/apis/SourceApi.d.ts +6 -2
  19. package/dist/apis/SourceApi.js +16 -12
  20. package/dist/apis/index.d.ts +1 -0
  21. package/dist/apis/index.js +1 -0
  22. package/dist/esm/apis/AccountApi.d.ts +8 -2
  23. package/dist/esm/apis/AccountApi.js +8 -2
  24. package/dist/esm/apis/AssessmentApi.d.ts +118 -2
  25. package/dist/esm/apis/AssessmentApi.js +136 -2
  26. package/dist/esm/apis/HealthApi.d.ts +1 -1
  27. package/dist/esm/apis/HealthApi.js +1 -1
  28. package/dist/esm/apis/ImageApi.d.ts +2 -2
  29. package/dist/esm/apis/ImageApi.js +2 -2
  30. package/dist/esm/apis/InfoApi.d.ts +2 -2
  31. package/dist/esm/apis/InfoApi.js +2 -2
  32. package/dist/esm/apis/JobApi.d.ts +2 -2
  33. package/dist/esm/apis/JobApi.js +2 -2
  34. package/dist/esm/apis/PartnerApi.d.ts +327 -0
  35. package/dist/esm/apis/PartnerApi.js +379 -0
  36. package/dist/esm/apis/SourceApi.d.ts +6 -2
  37. package/dist/esm/apis/SourceApi.js +6 -2
  38. package/dist/esm/apis/index.d.ts +1 -0
  39. package/dist/esm/apis/index.js +1 -0
  40. package/dist/esm/models/Agent.d.ts +1 -1
  41. package/dist/esm/models/Agent.js +1 -1
  42. package/dist/esm/models/AgentProxy.d.ts +1 -1
  43. package/dist/esm/models/AgentProxy.js +1 -1
  44. package/dist/esm/models/Assessment.d.ts +23 -1
  45. package/dist/esm/models/Assessment.js +14 -1
  46. package/dist/esm/models/AssessmentForm.d.ts +1 -1
  47. package/dist/esm/models/AssessmentForm.js +1 -1
  48. package/dist/esm/models/AssessmentSharing.d.ts +45 -0
  49. package/dist/esm/models/AssessmentSharing.js +50 -0
  50. package/dist/esm/models/AssessmentUpdate.d.ts +1 -1
  51. package/dist/esm/models/AssessmentUpdate.js +1 -1
  52. package/dist/esm/models/ClusterRequirementsRequest.d.ts +1 -1
  53. package/dist/esm/models/ClusterRequirementsRequest.js +1 -1
  54. package/dist/esm/models/ClusterRequirementsResponse.d.ts +1 -1
  55. package/dist/esm/models/ClusterRequirementsResponse.js +1 -1
  56. package/dist/esm/models/ClusterRequirementsStoredInput.d.ts +119 -0
  57. package/dist/esm/models/ClusterRequirementsStoredInput.js +87 -0
  58. package/dist/esm/models/ClusterSizing.d.ts +1 -1
  59. package/dist/esm/models/ClusterSizing.js +1 -1
  60. package/dist/esm/models/ComplexityDiskScoreEntry.d.ts +1 -1
  61. package/dist/esm/models/ComplexityDiskScoreEntry.js +1 -1
  62. package/dist/esm/models/ComplexityOSNameEntry.d.ts +1 -1
  63. package/dist/esm/models/ComplexityOSNameEntry.js +1 -1
  64. package/dist/esm/models/ComplexityOSScoreEntry.d.ts +1 -1
  65. package/dist/esm/models/ComplexityOSScoreEntry.js +1 -1
  66. package/dist/esm/models/Customer.d.ts +62 -0
  67. package/dist/esm/models/Customer.js +63 -0
  68. package/dist/esm/models/Datastore.d.ts +1 -1
  69. package/dist/esm/models/Datastore.js +1 -1
  70. package/dist/esm/models/DiskSizeTierSummary.d.ts +1 -1
  71. package/dist/esm/models/DiskSizeTierSummary.js +1 -1
  72. package/dist/esm/models/DiskTypeSummary.d.ts +1 -1
  73. package/dist/esm/models/DiskTypeSummary.js +1 -1
  74. package/dist/esm/models/EstimationContext.d.ts +1 -1
  75. package/dist/esm/models/EstimationContext.js +1 -1
  76. package/dist/esm/models/EstimationDetail.d.ts +1 -1
  77. package/dist/esm/models/EstimationDetail.js +1 -1
  78. package/dist/esm/models/Group.d.ts +1 -1
  79. package/dist/esm/models/Group.js +1 -1
  80. package/dist/esm/models/GroupCreate.d.ts +1 -1
  81. package/dist/esm/models/GroupCreate.js +1 -1
  82. package/dist/esm/models/GroupUpdate.d.ts +1 -1
  83. package/dist/esm/models/GroupUpdate.js +1 -1
  84. package/dist/esm/models/Histogram.d.ts +1 -1
  85. package/dist/esm/models/Histogram.js +1 -1
  86. package/dist/esm/models/Host.d.ts +1 -1
  87. package/dist/esm/models/Host.js +1 -1
  88. package/dist/esm/models/Identity.d.ts +1 -1
  89. package/dist/esm/models/Identity.js +1 -1
  90. package/dist/esm/models/Info.d.ts +1 -1
  91. package/dist/esm/models/Info.js +1 -1
  92. package/dist/esm/models/Infra.d.ts +1 -1
  93. package/dist/esm/models/Infra.js +1 -1
  94. package/dist/esm/models/Inventory.d.ts +1 -1
  95. package/dist/esm/models/Inventory.js +1 -1
  96. package/dist/esm/models/InventoryData.d.ts +1 -1
  97. package/dist/esm/models/InventoryData.js +1 -1
  98. package/dist/esm/models/InventoryTotals.d.ts +1 -1
  99. package/dist/esm/models/InventoryTotals.js +1 -1
  100. package/dist/esm/models/Ipv4Config.d.ts +1 -1
  101. package/dist/esm/models/Ipv4Config.js +1 -1
  102. package/dist/esm/models/Job.d.ts +1 -1
  103. package/dist/esm/models/Job.js +1 -1
  104. package/dist/esm/models/JobStatus.d.ts +1 -1
  105. package/dist/esm/models/JobStatus.js +1 -1
  106. package/dist/esm/models/Label.d.ts +1 -1
  107. package/dist/esm/models/Label.js +1 -1
  108. package/dist/esm/models/Member.d.ts +1 -1
  109. package/dist/esm/models/Member.js +1 -1
  110. package/dist/esm/models/MemberCreate.d.ts +1 -1
  111. package/dist/esm/models/MemberCreate.js +1 -1
  112. package/dist/esm/models/MemberUpdate.d.ts +1 -1
  113. package/dist/esm/models/MemberUpdate.js +1 -1
  114. package/dist/esm/models/MigrationComplexityRequest.d.ts +1 -1
  115. package/dist/esm/models/MigrationComplexityRequest.js +1 -1
  116. package/dist/esm/models/MigrationComplexityResponse.d.ts +1 -1
  117. package/dist/esm/models/MigrationComplexityResponse.js +1 -1
  118. package/dist/esm/models/MigrationEstimationByComplexityResponse.d.ts +1 -1
  119. package/dist/esm/models/MigrationEstimationByComplexityResponse.js +1 -1
  120. package/dist/esm/models/MigrationEstimationRequest.d.ts +1 -1
  121. package/dist/esm/models/MigrationEstimationRequest.js +1 -1
  122. package/dist/esm/models/MigrationEstimationResponse.d.ts +1 -1
  123. package/dist/esm/models/MigrationEstimationResponse.js +1 -1
  124. package/dist/esm/models/MigrationIssue.d.ts +1 -1
  125. package/dist/esm/models/MigrationIssue.js +1 -1
  126. package/dist/esm/models/ModelError.d.ts +1 -1
  127. package/dist/esm/models/ModelError.js +1 -1
  128. package/dist/esm/models/Network.d.ts +1 -1
  129. package/dist/esm/models/Network.js +1 -1
  130. package/dist/esm/models/OsDiskEstimationEntry.d.ts +1 -1
  131. package/dist/esm/models/OsDiskEstimationEntry.js +1 -1
  132. package/dist/esm/models/OsInfo.d.ts +1 -1
  133. package/dist/esm/models/OsInfo.js +1 -1
  134. package/dist/esm/models/PartnerRequest.d.ts +106 -0
  135. package/dist/esm/models/PartnerRequest.js +87 -0
  136. package/dist/esm/models/PartnerRequestCreate.d.ts +56 -0
  137. package/dist/esm/models/PartnerRequestCreate.js +59 -0
  138. package/dist/esm/models/PartnerRequestStatus.d.ts +27 -0
  139. package/dist/esm/models/PartnerRequestStatus.js +45 -0
  140. package/dist/esm/models/PartnerRequestUpdate.d.ts +39 -0
  141. package/dist/esm/models/PartnerRequestUpdate.js +46 -0
  142. package/dist/esm/models/PartnerSummary.d.ts +50 -0
  143. package/dist/esm/models/PartnerSummary.js +55 -0
  144. package/dist/esm/models/PresignedUrl.d.ts +1 -1
  145. package/dist/esm/models/PresignedUrl.js +1 -1
  146. package/dist/esm/models/SchemaEstimationResult.d.ts +1 -1
  147. package/dist/esm/models/SchemaEstimationResult.js +1 -1
  148. package/dist/esm/models/SharingSubject.d.ts +38 -0
  149. package/dist/esm/models/SharingSubject.js +47 -0
  150. package/dist/esm/models/SizingOverCommitRatio.d.ts +1 -1
  151. package/dist/esm/models/SizingOverCommitRatio.js +1 -1
  152. package/dist/esm/models/SizingResourceConsumption.d.ts +1 -1
  153. package/dist/esm/models/SizingResourceConsumption.js +1 -1
  154. package/dist/esm/models/SizingResourceLimits.d.ts +1 -1
  155. package/dist/esm/models/SizingResourceLimits.js +1 -1
  156. package/dist/esm/models/Snapshot.d.ts +1 -1
  157. package/dist/esm/models/Snapshot.js +1 -1
  158. package/dist/esm/models/Source.d.ts +1 -1
  159. package/dist/esm/models/Source.js +1 -1
  160. package/dist/esm/models/SourceCreate.d.ts +27 -1
  161. package/dist/esm/models/SourceCreate.js +14 -1
  162. package/dist/esm/models/SourceInfra.d.ts +1 -1
  163. package/dist/esm/models/SourceInfra.js +1 -1
  164. package/dist/esm/models/SourceUpdate.d.ts +27 -1
  165. package/dist/esm/models/SourceUpdate.js +14 -1
  166. package/dist/esm/models/Status.d.ts +1 -1
  167. package/dist/esm/models/Status.js +1 -1
  168. package/dist/esm/models/UpdateInventory.d.ts +1 -1
  169. package/dist/esm/models/UpdateInventory.js +1 -1
  170. package/dist/esm/models/VCenter.d.ts +1 -1
  171. package/dist/esm/models/VCenter.js +1 -1
  172. package/dist/esm/models/VMResourceBreakdown.d.ts +1 -1
  173. package/dist/esm/models/VMResourceBreakdown.js +1 -1
  174. package/dist/esm/models/VMs.d.ts +10 -1
  175. package/dist/esm/models/VMs.js +3 -1
  176. package/dist/esm/models/VmNetwork.d.ts +1 -1
  177. package/dist/esm/models/VmNetwork.js +1 -1
  178. package/dist/esm/models/index.d.ts +9 -0
  179. package/dist/esm/models/index.js +9 -0
  180. package/dist/esm/runtime.d.ts +1 -1
  181. package/dist/esm/runtime.js +1 -1
  182. package/dist/models/Agent.d.ts +1 -1
  183. package/dist/models/Agent.js +1 -1
  184. package/dist/models/AgentProxy.d.ts +1 -1
  185. package/dist/models/AgentProxy.js +1 -1
  186. package/dist/models/Assessment.d.ts +23 -1
  187. package/dist/models/Assessment.js +15 -2
  188. package/dist/models/AssessmentForm.d.ts +1 -1
  189. package/dist/models/AssessmentForm.js +1 -1
  190. package/dist/models/AssessmentSharing.d.ts +45 -0
  191. package/dist/models/AssessmentSharing.js +57 -0
  192. package/dist/models/AssessmentUpdate.d.ts +1 -1
  193. package/dist/models/AssessmentUpdate.js +1 -1
  194. package/dist/models/ClusterRequirementsRequest.d.ts +1 -1
  195. package/dist/models/ClusterRequirementsRequest.js +1 -1
  196. package/dist/models/ClusterRequirementsResponse.d.ts +1 -1
  197. package/dist/models/ClusterRequirementsResponse.js +1 -1
  198. package/dist/models/ClusterRequirementsStoredInput.d.ts +119 -0
  199. package/dist/models/ClusterRequirementsStoredInput.js +95 -0
  200. package/dist/models/ClusterSizing.d.ts +1 -1
  201. package/dist/models/ClusterSizing.js +1 -1
  202. package/dist/models/ComplexityDiskScoreEntry.d.ts +1 -1
  203. package/dist/models/ComplexityDiskScoreEntry.js +1 -1
  204. package/dist/models/ComplexityOSNameEntry.d.ts +1 -1
  205. package/dist/models/ComplexityOSNameEntry.js +1 -1
  206. package/dist/models/ComplexityOSScoreEntry.d.ts +1 -1
  207. package/dist/models/ComplexityOSScoreEntry.js +1 -1
  208. package/dist/models/Customer.d.ts +62 -0
  209. package/dist/models/Customer.js +70 -0
  210. package/dist/models/Datastore.d.ts +1 -1
  211. package/dist/models/Datastore.js +1 -1
  212. package/dist/models/DiskSizeTierSummary.d.ts +1 -1
  213. package/dist/models/DiskSizeTierSummary.js +1 -1
  214. package/dist/models/DiskTypeSummary.d.ts +1 -1
  215. package/dist/models/DiskTypeSummary.js +1 -1
  216. package/dist/models/EstimationContext.d.ts +1 -1
  217. package/dist/models/EstimationContext.js +1 -1
  218. package/dist/models/EstimationDetail.d.ts +1 -1
  219. package/dist/models/EstimationDetail.js +1 -1
  220. package/dist/models/Group.d.ts +1 -1
  221. package/dist/models/Group.js +1 -1
  222. package/dist/models/GroupCreate.d.ts +1 -1
  223. package/dist/models/GroupCreate.js +1 -1
  224. package/dist/models/GroupUpdate.d.ts +1 -1
  225. package/dist/models/GroupUpdate.js +1 -1
  226. package/dist/models/Histogram.d.ts +1 -1
  227. package/dist/models/Histogram.js +1 -1
  228. package/dist/models/Host.d.ts +1 -1
  229. package/dist/models/Host.js +1 -1
  230. package/dist/models/Identity.d.ts +1 -1
  231. package/dist/models/Identity.js +1 -1
  232. package/dist/models/Info.d.ts +1 -1
  233. package/dist/models/Info.js +1 -1
  234. package/dist/models/Infra.d.ts +1 -1
  235. package/dist/models/Infra.js +1 -1
  236. package/dist/models/Inventory.d.ts +1 -1
  237. package/dist/models/Inventory.js +1 -1
  238. package/dist/models/InventoryData.d.ts +1 -1
  239. package/dist/models/InventoryData.js +1 -1
  240. package/dist/models/InventoryTotals.d.ts +1 -1
  241. package/dist/models/InventoryTotals.js +1 -1
  242. package/dist/models/Ipv4Config.d.ts +1 -1
  243. package/dist/models/Ipv4Config.js +1 -1
  244. package/dist/models/Job.d.ts +1 -1
  245. package/dist/models/Job.js +1 -1
  246. package/dist/models/JobStatus.d.ts +1 -1
  247. package/dist/models/JobStatus.js +1 -1
  248. package/dist/models/Label.d.ts +1 -1
  249. package/dist/models/Label.js +1 -1
  250. package/dist/models/Member.d.ts +1 -1
  251. package/dist/models/Member.js +1 -1
  252. package/dist/models/MemberCreate.d.ts +1 -1
  253. package/dist/models/MemberCreate.js +1 -1
  254. package/dist/models/MemberUpdate.d.ts +1 -1
  255. package/dist/models/MemberUpdate.js +1 -1
  256. package/dist/models/MigrationComplexityRequest.d.ts +1 -1
  257. package/dist/models/MigrationComplexityRequest.js +1 -1
  258. package/dist/models/MigrationComplexityResponse.d.ts +1 -1
  259. package/dist/models/MigrationComplexityResponse.js +1 -1
  260. package/dist/models/MigrationEstimationByComplexityResponse.d.ts +1 -1
  261. package/dist/models/MigrationEstimationByComplexityResponse.js +1 -1
  262. package/dist/models/MigrationEstimationRequest.d.ts +1 -1
  263. package/dist/models/MigrationEstimationRequest.js +1 -1
  264. package/dist/models/MigrationEstimationResponse.d.ts +1 -1
  265. package/dist/models/MigrationEstimationResponse.js +1 -1
  266. package/dist/models/MigrationIssue.d.ts +1 -1
  267. package/dist/models/MigrationIssue.js +1 -1
  268. package/dist/models/ModelError.d.ts +1 -1
  269. package/dist/models/ModelError.js +1 -1
  270. package/dist/models/Network.d.ts +1 -1
  271. package/dist/models/Network.js +1 -1
  272. package/dist/models/OsDiskEstimationEntry.d.ts +1 -1
  273. package/dist/models/OsDiskEstimationEntry.js +1 -1
  274. package/dist/models/OsInfo.d.ts +1 -1
  275. package/dist/models/OsInfo.js +1 -1
  276. package/dist/models/PartnerRequest.d.ts +106 -0
  277. package/dist/models/PartnerRequest.js +94 -0
  278. package/dist/models/PartnerRequestCreate.d.ts +56 -0
  279. package/dist/models/PartnerRequestCreate.js +66 -0
  280. package/dist/models/PartnerRequestStatus.d.ts +27 -0
  281. package/dist/models/PartnerRequestStatus.js +53 -0
  282. package/dist/models/PartnerRequestUpdate.d.ts +39 -0
  283. package/dist/models/PartnerRequestUpdate.js +53 -0
  284. package/dist/models/PartnerSummary.d.ts +50 -0
  285. package/dist/models/PartnerSummary.js +62 -0
  286. package/dist/models/PresignedUrl.d.ts +1 -1
  287. package/dist/models/PresignedUrl.js +1 -1
  288. package/dist/models/SchemaEstimationResult.d.ts +1 -1
  289. package/dist/models/SchemaEstimationResult.js +1 -1
  290. package/dist/models/SharingSubject.d.ts +38 -0
  291. package/dist/models/SharingSubject.js +54 -0
  292. package/dist/models/SizingOverCommitRatio.d.ts +1 -1
  293. package/dist/models/SizingOverCommitRatio.js +1 -1
  294. package/dist/models/SizingResourceConsumption.d.ts +1 -1
  295. package/dist/models/SizingResourceConsumption.js +1 -1
  296. package/dist/models/SizingResourceLimits.d.ts +1 -1
  297. package/dist/models/SizingResourceLimits.js +1 -1
  298. package/dist/models/Snapshot.d.ts +1 -1
  299. package/dist/models/Snapshot.js +1 -1
  300. package/dist/models/Source.d.ts +1 -1
  301. package/dist/models/Source.js +1 -1
  302. package/dist/models/SourceCreate.d.ts +27 -1
  303. package/dist/models/SourceCreate.js +15 -1
  304. package/dist/models/SourceInfra.d.ts +1 -1
  305. package/dist/models/SourceInfra.js +1 -1
  306. package/dist/models/SourceUpdate.d.ts +27 -1
  307. package/dist/models/SourceUpdate.js +15 -1
  308. package/dist/models/Status.d.ts +1 -1
  309. package/dist/models/Status.js +1 -1
  310. package/dist/models/UpdateInventory.d.ts +1 -1
  311. package/dist/models/UpdateInventory.js +1 -1
  312. package/dist/models/VCenter.d.ts +1 -1
  313. package/dist/models/VCenter.js +1 -1
  314. package/dist/models/VMResourceBreakdown.d.ts +1 -1
  315. package/dist/models/VMResourceBreakdown.js +1 -1
  316. package/dist/models/VMs.d.ts +10 -1
  317. package/dist/models/VMs.js +3 -1
  318. package/dist/models/VmNetwork.d.ts +1 -1
  319. package/dist/models/VmNetwork.js +1 -1
  320. package/dist/models/index.d.ts +9 -0
  321. package/dist/models/index.js +9 -0
  322. package/dist/runtime.d.ts +1 -1
  323. package/dist/runtime.js +1 -1
  324. package/docs/Assessment.md +4 -0
  325. package/docs/AssessmentApi.md +222 -0
  326. package/docs/AssessmentSharing.md +38 -0
  327. package/docs/ClusterRequirementsStoredInput.md +55 -0
  328. package/docs/Customer.md +44 -0
  329. package/docs/PartnerApi.md +636 -0
  330. package/docs/PartnerRequest.md +58 -0
  331. package/docs/PartnerRequestCreate.md +42 -0
  332. package/docs/PartnerRequestStatus.md +32 -0
  333. package/docs/PartnerRequestUpdate.md +36 -0
  334. package/docs/PartnerSummary.md +40 -0
  335. package/docs/SharingSubject.md +36 -0
  336. package/docs/SourceApi.md +1 -1
  337. package/docs/SourceCreate.md +6 -0
  338. package/docs/SourceUpdate.md +6 -0
  339. package/docs/VMs.md +2 -0
  340. package/package.json +1 -1
  341. package/src/apis/AccountApi.ts +21 -12
  342. package/src/apis/AssessmentApi.ts +267 -15
  343. package/src/apis/HealthApi.ts +1 -2
  344. package/src/apis/ImageApi.ts +3 -6
  345. package/src/apis/InfoApi.ts +3 -6
  346. package/src/apis/JobApi.ts +3 -6
  347. package/src/apis/PartnerApi.ts +676 -0
  348. package/src/apis/SourceApi.ts +15 -10
  349. package/src/apis/index.ts +1 -0
  350. package/src/models/Agent.ts +1 -1
  351. package/src/models/AgentProxy.ts +1 -1
  352. package/src/models/Assessment.ts +34 -1
  353. package/src/models/AssessmentForm.ts +1 -1
  354. package/src/models/AssessmentSharing.ts +91 -0
  355. package/src/models/AssessmentUpdate.ts +1 -1
  356. package/src/models/ClusterRequirementsRequest.ts +1 -1
  357. package/src/models/ClusterRequirementsResponse.ts +1 -1
  358. package/src/models/ClusterRequirementsStoredInput.ts +178 -0
  359. package/src/models/ClusterSizing.ts +1 -1
  360. package/src/models/ComplexityDiskScoreEntry.ts +1 -1
  361. package/src/models/ComplexityOSNameEntry.ts +1 -1
  362. package/src/models/ComplexityOSScoreEntry.ts +1 -1
  363. package/src/models/Customer.ts +111 -0
  364. package/src/models/Datastore.ts +1 -1
  365. package/src/models/DiskSizeTierSummary.ts +1 -1
  366. package/src/models/DiskTypeSummary.ts +1 -1
  367. package/src/models/EstimationContext.ts +1 -1
  368. package/src/models/EstimationDetail.ts +1 -1
  369. package/src/models/Group.ts +1 -1
  370. package/src/models/GroupCreate.ts +1 -1
  371. package/src/models/GroupUpdate.ts +1 -1
  372. package/src/models/Histogram.ts +1 -1
  373. package/src/models/Host.ts +1 -1
  374. package/src/models/Identity.ts +1 -1
  375. package/src/models/Info.ts +1 -1
  376. package/src/models/Infra.ts +1 -1
  377. package/src/models/Inventory.ts +1 -1
  378. package/src/models/InventoryData.ts +1 -1
  379. package/src/models/InventoryTotals.ts +1 -1
  380. package/src/models/Ipv4Config.ts +1 -1
  381. package/src/models/Job.ts +1 -1
  382. package/src/models/JobStatus.ts +1 -1
  383. package/src/models/Label.ts +1 -1
  384. package/src/models/Member.ts +1 -1
  385. package/src/models/MemberCreate.ts +1 -1
  386. package/src/models/MemberUpdate.ts +1 -1
  387. package/src/models/MigrationComplexityRequest.ts +1 -1
  388. package/src/models/MigrationComplexityResponse.ts +1 -1
  389. package/src/models/MigrationEstimationByComplexityResponse.ts +1 -1
  390. package/src/models/MigrationEstimationRequest.ts +1 -1
  391. package/src/models/MigrationEstimationResponse.ts +1 -1
  392. package/src/models/MigrationIssue.ts +1 -1
  393. package/src/models/ModelError.ts +1 -1
  394. package/src/models/Network.ts +1 -1
  395. package/src/models/OsDiskEstimationEntry.ts +1 -1
  396. package/src/models/OsInfo.ts +1 -1
  397. package/src/models/PartnerRequest.ts +188 -0
  398. package/src/models/PartnerRequestCreate.ts +102 -0
  399. package/src/models/PartnerRequestStatus.ts +55 -0
  400. package/src/models/PartnerRequestUpdate.ts +84 -0
  401. package/src/models/PartnerSummary.ts +93 -0
  402. package/src/models/PresignedUrl.ts +1 -1
  403. package/src/models/SchemaEstimationResult.ts +1 -1
  404. package/src/models/SharingSubject.ts +75 -0
  405. package/src/models/SizingOverCommitRatio.ts +1 -1
  406. package/src/models/SizingResourceConsumption.ts +1 -1
  407. package/src/models/SizingResourceLimits.ts +1 -1
  408. package/src/models/Snapshot.ts +1 -1
  409. package/src/models/Source.ts +1 -1
  410. package/src/models/SourceCreate.ts +36 -1
  411. package/src/models/SourceInfra.ts +1 -1
  412. package/src/models/SourceUpdate.ts +36 -1
  413. package/src/models/Status.ts +1 -1
  414. package/src/models/UpdateInventory.ts +1 -1
  415. package/src/models/VCenter.ts +1 -1
  416. package/src/models/VMResourceBreakdown.ts +1 -1
  417. package/src/models/VMs.ts +10 -1
  418. package/src/models/VmNetwork.ts +1 -1
  419. package/src/models/index.ts +9 -0
  420. package/src/runtime.ts +1 -2
@@ -4,7 +4,7 @@
4
4
  * OpenShift Migration Advisor API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: undefined
7
+ * The version of the OpenAPI document: v1alpha1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -12,27 +12,32 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
-
16
15
  import * as runtime from '../runtime.js';
17
- import type {
18
- Source,
19
- SourceCreate,
20
- SourceUpdate,
21
- Status,
22
- UpdateInventory,
23
- } from '../models/index.js';
24
16
  import {
17
+ type Source,
25
18
  SourceFromJSON,
26
19
  SourceToJSON,
20
+ } from '../models/Source.js';
21
+ import {
22
+ type SourceCreate,
27
23
  SourceCreateFromJSON,
28
24
  SourceCreateToJSON,
25
+ } from '../models/SourceCreate.js';
26
+ import {
27
+ type SourceUpdate,
29
28
  SourceUpdateFromJSON,
30
29
  SourceUpdateToJSON,
30
+ } from '../models/SourceUpdate.js';
31
+ import {
32
+ type Status,
31
33
  StatusFromJSON,
32
34
  StatusToJSON,
35
+ } from '../models/Status.js';
36
+ import {
37
+ type UpdateInventory,
33
38
  UpdateInventoryFromJSON,
34
39
  UpdateInventoryToJSON,
35
- } from '../models/index.js';
40
+ } from '../models/UpdateInventory.js';
36
41
 
37
42
  export interface CreateSourceRequest {
38
43
  sourceCreate: SourceCreate;
package/src/apis/index.ts CHANGED
@@ -6,4 +6,5 @@ export * from './HealthApi.js';
6
6
  export * from './ImageApi.js';
7
7
  export * from './InfoApi.js';
8
8
  export * from './JobApi.js';
9
+ export * from './PartnerApi.js';
9
10
  export * from './SourceApi.js';
@@ -4,7 +4,7 @@
4
4
  * OpenShift Migration Advisor API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: undefined
7
+ * The version of the OpenAPI document: v1alpha1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * OpenShift Migration Advisor API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: undefined
7
+ * The version of the OpenAPI document: v1alpha1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * OpenShift Migration Advisor API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: undefined
7
+ * The version of the OpenAPI document: v1alpha1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -20,6 +20,13 @@ import {
20
20
  SnapshotToJSON,
21
21
  SnapshotToJSONTyped,
22
22
  } from './Snapshot.js';
23
+ import type { AssessmentSharing } from './AssessmentSharing.js';
24
+ import {
25
+ AssessmentSharingFromJSON,
26
+ AssessmentSharingFromJSONTyped,
27
+ AssessmentSharingToJSON,
28
+ AssessmentSharingToJSONTyped,
29
+ } from './AssessmentSharing.js';
23
30
 
24
31
  /**
25
32
  *
@@ -75,6 +82,18 @@ export interface Assessment {
75
82
  * @memberof Assessment
76
83
  */
77
84
  snapshots: Array<Snapshot>;
85
+ /**
86
+ *
87
+ * @type {Array<AssessmentPermissionsEnum>}
88
+ * @memberof Assessment
89
+ */
90
+ permissions?: Array<AssessmentPermissionsEnum>;
91
+ /**
92
+ *
93
+ * @type {AssessmentSharing}
94
+ * @memberof Assessment
95
+ */
96
+ sharing?: AssessmentSharing;
78
97
  }
79
98
 
80
99
 
@@ -88,6 +107,16 @@ export const AssessmentSourceTypeEnum = {
88
107
  } as const;
89
108
  export type AssessmentSourceTypeEnum = typeof AssessmentSourceTypeEnum[keyof typeof AssessmentSourceTypeEnum];
90
109
 
110
+ /**
111
+ * @export
112
+ */
113
+ export const AssessmentPermissionsEnum = {
114
+ Read: 'read',
115
+ Share: 'share',
116
+ Delete: 'delete'
117
+ } as const;
118
+ export type AssessmentPermissionsEnum = typeof AssessmentPermissionsEnum[keyof typeof AssessmentPermissionsEnum];
119
+
91
120
 
92
121
  /**
93
122
  * Check if a given object implements the Assessment interface.
@@ -119,6 +148,8 @@ export function AssessmentFromJSONTyped(json: any, ignoreDiscriminator: boolean)
119
148
  'sourceId': json['sourceId'] == null ? undefined : json['sourceId'],
120
149
  'createdAt': (new Date(json['createdAt'])),
121
150
  'snapshots': ((json['snapshots'] as Array<any>).map(SnapshotFromJSON)),
151
+ 'permissions': json['permissions'] == null ? undefined : json['permissions'],
152
+ 'sharing': json['sharing'] == null ? undefined : AssessmentSharingFromJSON(json['sharing']),
122
153
  };
123
154
  }
124
155
 
@@ -141,6 +172,8 @@ export function AssessmentToJSONTyped(value?: Assessment | null, ignoreDiscrimin
141
172
  'sourceId': value['sourceId'],
142
173
  'createdAt': value['createdAt'].toISOString(),
143
174
  'snapshots': ((value['snapshots'] as Array<any>).map(SnapshotToJSON)),
175
+ 'permissions': value['permissions'],
176
+ 'sharing': AssessmentSharingToJSON(value['sharing']),
144
177
  };
145
178
  }
146
179
 
@@ -4,7 +4,7 @@
4
4
  * OpenShift Migration Advisor API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: undefined
7
+ * The version of the OpenAPI document: v1alpha1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -0,0 +1,91 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * OpenShift Migration Advisor API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1alpha1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime.js';
16
+ import type { SharingSubject } from './SharingSubject.js';
17
+ import {
18
+ SharingSubjectFromJSON,
19
+ SharingSubjectFromJSONTyped,
20
+ SharingSubjectToJSON,
21
+ SharingSubjectToJSONTyped,
22
+ } from './SharingSubject.js';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface AssessmentSharing
28
+ */
29
+ export interface AssessmentSharing {
30
+ /**
31
+ *
32
+ * @type {boolean}
33
+ * @memberof AssessmentSharing
34
+ */
35
+ isShared: boolean;
36
+ /**
37
+ *
38
+ * @type {Array<SharingSubject>}
39
+ * @memberof AssessmentSharing
40
+ */
41
+ sharedWith: Array<SharingSubject>;
42
+ /**
43
+ *
44
+ * @type {SharingSubject}
45
+ * @memberof AssessmentSharing
46
+ */
47
+ sharedBy?: SharingSubject;
48
+ }
49
+
50
+ /**
51
+ * Check if a given object implements the AssessmentSharing interface.
52
+ */
53
+ export function instanceOfAssessmentSharing(value: object): value is AssessmentSharing {
54
+ if (!('isShared' in value) || value['isShared'] === undefined) return false;
55
+ if (!('sharedWith' in value) || value['sharedWith'] === undefined) return false;
56
+ return true;
57
+ }
58
+
59
+ export function AssessmentSharingFromJSON(json: any): AssessmentSharing {
60
+ return AssessmentSharingFromJSONTyped(json, false);
61
+ }
62
+
63
+ export function AssessmentSharingFromJSONTyped(json: any, ignoreDiscriminator: boolean): AssessmentSharing {
64
+ if (json == null) {
65
+ return json;
66
+ }
67
+ return {
68
+
69
+ 'isShared': json['isShared'],
70
+ 'sharedWith': ((json['sharedWith'] as Array<any>).map(SharingSubjectFromJSON)),
71
+ 'sharedBy': json['sharedBy'] == null ? undefined : SharingSubjectFromJSON(json['sharedBy']),
72
+ };
73
+ }
74
+
75
+ export function AssessmentSharingToJSON(json: any): AssessmentSharing {
76
+ return AssessmentSharingToJSONTyped(json, false);
77
+ }
78
+
79
+ export function AssessmentSharingToJSONTyped(value?: AssessmentSharing | null, ignoreDiscriminator: boolean = false): any {
80
+ if (value == null) {
81
+ return value;
82
+ }
83
+
84
+ return {
85
+
86
+ 'isShared': value['isShared'],
87
+ 'sharedWith': ((value['sharedWith'] as Array<any>).map(SharingSubjectToJSON)),
88
+ 'sharedBy': SharingSubjectToJSON(value['sharedBy']),
89
+ };
90
+ }
91
+
@@ -4,7 +4,7 @@
4
4
  * OpenShift Migration Advisor API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: undefined
7
+ * The version of the OpenAPI document: v1alpha1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * OpenShift Migration Advisor API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: undefined
7
+ * The version of the OpenAPI document: v1alpha1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * OpenShift Migration Advisor API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: undefined
7
+ * The version of the OpenAPI document: v1alpha1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -0,0 +1,178 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * OpenShift Migration Advisor API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1alpha1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime.js';
16
+ /**
17
+ * Stored cluster requirements payload for a cluster
18
+ * @export
19
+ * @interface ClusterRequirementsStoredInput
20
+ */
21
+ export interface ClusterRequirementsStoredInput {
22
+ /**
23
+ * ID of the cluster
24
+ * @type {string}
25
+ * @memberof ClusterRequirementsStoredInput
26
+ */
27
+ clusterId: string;
28
+ /**
29
+ * CPU over-commit ratio (e.g., "1:4")
30
+ * @type {ClusterRequirementsStoredInputCpuOverCommitRatioEnum}
31
+ * @memberof ClusterRequirementsStoredInput
32
+ */
33
+ cpuOverCommitRatio?: ClusterRequirementsStoredInputCpuOverCommitRatioEnum;
34
+ /**
35
+ * Memory over-commit ratio (e.g., "1:2")
36
+ * @type {ClusterRequirementsStoredInputMemoryOverCommitRatioEnum}
37
+ * @memberof ClusterRequirementsStoredInput
38
+ */
39
+ memoryOverCommitRatio?: ClusterRequirementsStoredInputMemoryOverCommitRatioEnum;
40
+ /**
41
+ * CPU cores per worker node
42
+ * @type {number}
43
+ * @memberof ClusterRequirementsStoredInput
44
+ */
45
+ workerNodeCPU?: number;
46
+ /**
47
+ * Memory (GB) per worker node
48
+ * @type {number}
49
+ * @memberof ClusterRequirementsStoredInput
50
+ */
51
+ workerNodeMemory?: number;
52
+ /**
53
+ * Number of CPU threads per worker node
54
+ * @type {number}
55
+ * @memberof ClusterRequirementsStoredInput
56
+ */
57
+ workerNodeThreads?: number;
58
+ /**
59
+ * Allow workload scheduling on control plane nodes
60
+ * @type {boolean}
61
+ * @memberof ClusterRequirementsStoredInput
62
+ */
63
+ controlPlaneSchedulable?: boolean;
64
+ /**
65
+ * CPU cores per control plane node
66
+ * @type {number}
67
+ * @memberof ClusterRequirementsStoredInput
68
+ */
69
+ controlPlaneCPU?: number;
70
+ /**
71
+ * Memory in GB per control plane node
72
+ * @type {number}
73
+ * @memberof ClusterRequirementsStoredInput
74
+ */
75
+ controlPlaneMemory?: number;
76
+ /**
77
+ * Number of control plane nodes
78
+ * @type {ClusterRequirementsStoredInputControlPlaneNodeCountEnum}
79
+ * @memberof ClusterRequirementsStoredInput
80
+ */
81
+ controlPlaneNodeCount?: ClusterRequirementsStoredInputControlPlaneNodeCountEnum;
82
+ /**
83
+ * If true, control plane is hosted externally
84
+ * @type {boolean}
85
+ * @memberof ClusterRequirementsStoredInput
86
+ */
87
+ hostedControlPlane?: boolean;
88
+ }
89
+
90
+
91
+ /**
92
+ * @export
93
+ */
94
+ export const ClusterRequirementsStoredInputCpuOverCommitRatioEnum = {
95
+ _11: '1:1',
96
+ _12: '1:2',
97
+ _14: '1:4',
98
+ _16: '1:6'
99
+ } as const;
100
+ export type ClusterRequirementsStoredInputCpuOverCommitRatioEnum = typeof ClusterRequirementsStoredInputCpuOverCommitRatioEnum[keyof typeof ClusterRequirementsStoredInputCpuOverCommitRatioEnum];
101
+
102
+ /**
103
+ * @export
104
+ */
105
+ export const ClusterRequirementsStoredInputMemoryOverCommitRatioEnum = {
106
+ _11: '1:1',
107
+ _12: '1:2',
108
+ _14: '1:4'
109
+ } as const;
110
+ export type ClusterRequirementsStoredInputMemoryOverCommitRatioEnum = typeof ClusterRequirementsStoredInputMemoryOverCommitRatioEnum[keyof typeof ClusterRequirementsStoredInputMemoryOverCommitRatioEnum];
111
+
112
+ /**
113
+ * @export
114
+ */
115
+ export const ClusterRequirementsStoredInputControlPlaneNodeCountEnum = {
116
+ NUMBER_1: 1,
117
+ NUMBER_3: 3
118
+ } as const;
119
+ export type ClusterRequirementsStoredInputControlPlaneNodeCountEnum = typeof ClusterRequirementsStoredInputControlPlaneNodeCountEnum[keyof typeof ClusterRequirementsStoredInputControlPlaneNodeCountEnum];
120
+
121
+
122
+ /**
123
+ * Check if a given object implements the ClusterRequirementsStoredInput interface.
124
+ */
125
+ export function instanceOfClusterRequirementsStoredInput(value: object): value is ClusterRequirementsStoredInput {
126
+ if (!('clusterId' in value) || value['clusterId'] === undefined) return false;
127
+ return true;
128
+ }
129
+
130
+ export function ClusterRequirementsStoredInputFromJSON(json: any): ClusterRequirementsStoredInput {
131
+ return ClusterRequirementsStoredInputFromJSONTyped(json, false);
132
+ }
133
+
134
+ export function ClusterRequirementsStoredInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): ClusterRequirementsStoredInput {
135
+ if (json == null) {
136
+ return json;
137
+ }
138
+ return {
139
+
140
+ 'clusterId': json['clusterId'],
141
+ 'cpuOverCommitRatio': json['cpuOverCommitRatio'] == null ? undefined : json['cpuOverCommitRatio'],
142
+ 'memoryOverCommitRatio': json['memoryOverCommitRatio'] == null ? undefined : json['memoryOverCommitRatio'],
143
+ 'workerNodeCPU': json['workerNodeCPU'] == null ? undefined : json['workerNodeCPU'],
144
+ 'workerNodeMemory': json['workerNodeMemory'] == null ? undefined : json['workerNodeMemory'],
145
+ 'workerNodeThreads': json['workerNodeThreads'] == null ? undefined : json['workerNodeThreads'],
146
+ 'controlPlaneSchedulable': json['controlPlaneSchedulable'] == null ? undefined : json['controlPlaneSchedulable'],
147
+ 'controlPlaneCPU': json['controlPlaneCPU'] == null ? undefined : json['controlPlaneCPU'],
148
+ 'controlPlaneMemory': json['controlPlaneMemory'] == null ? undefined : json['controlPlaneMemory'],
149
+ 'controlPlaneNodeCount': json['controlPlaneNodeCount'] == null ? undefined : json['controlPlaneNodeCount'],
150
+ 'hostedControlPlane': json['hostedControlPlane'] == null ? undefined : json['hostedControlPlane'],
151
+ };
152
+ }
153
+
154
+ export function ClusterRequirementsStoredInputToJSON(json: any): ClusterRequirementsStoredInput {
155
+ return ClusterRequirementsStoredInputToJSONTyped(json, false);
156
+ }
157
+
158
+ export function ClusterRequirementsStoredInputToJSONTyped(value?: ClusterRequirementsStoredInput | null, ignoreDiscriminator: boolean = false): any {
159
+ if (value == null) {
160
+ return value;
161
+ }
162
+
163
+ return {
164
+
165
+ 'clusterId': value['clusterId'],
166
+ 'cpuOverCommitRatio': value['cpuOverCommitRatio'],
167
+ 'memoryOverCommitRatio': value['memoryOverCommitRatio'],
168
+ 'workerNodeCPU': value['workerNodeCPU'],
169
+ 'workerNodeMemory': value['workerNodeMemory'],
170
+ 'workerNodeThreads': value['workerNodeThreads'],
171
+ 'controlPlaneSchedulable': value['controlPlaneSchedulable'],
172
+ 'controlPlaneCPU': value['controlPlaneCPU'],
173
+ 'controlPlaneMemory': value['controlPlaneMemory'],
174
+ 'controlPlaneNodeCount': value['controlPlaneNodeCount'],
175
+ 'hostedControlPlane': value['hostedControlPlane'],
176
+ };
177
+ }
178
+
@@ -4,7 +4,7 @@
4
4
  * OpenShift Migration Advisor API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: undefined
7
+ * The version of the OpenAPI document: v1alpha1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * OpenShift Migration Advisor API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: undefined
7
+ * The version of the OpenAPI document: v1alpha1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * OpenShift Migration Advisor API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: undefined
7
+ * The version of the OpenAPI document: v1alpha1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * OpenShift Migration Advisor API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: undefined
7
+ * The version of the OpenAPI document: v1alpha1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -0,0 +1,111 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * OpenShift Migration Advisor API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1alpha1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime.js';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface Customer
20
+ */
21
+ export interface Customer {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof Customer
26
+ */
27
+ username: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof Customer
32
+ */
33
+ name: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof Customer
38
+ */
39
+ contactName: string;
40
+ /**
41
+ *
42
+ * @type {string}
43
+ * @memberof Customer
44
+ */
45
+ contactPhone: string;
46
+ /**
47
+ *
48
+ * @type {string}
49
+ * @memberof Customer
50
+ */
51
+ email: string;
52
+ /**
53
+ *
54
+ * @type {string}
55
+ * @memberof Customer
56
+ */
57
+ location: string;
58
+ }
59
+
60
+ /**
61
+ * Check if a given object implements the Customer interface.
62
+ */
63
+ export function instanceOfCustomer(value: object): value is Customer {
64
+ if (!('username' in value) || value['username'] === undefined) return false;
65
+ if (!('name' in value) || value['name'] === undefined) return false;
66
+ if (!('contactName' in value) || value['contactName'] === undefined) return false;
67
+ if (!('contactPhone' in value) || value['contactPhone'] === undefined) return false;
68
+ if (!('email' in value) || value['email'] === undefined) return false;
69
+ if (!('location' in value) || value['location'] === undefined) return false;
70
+ return true;
71
+ }
72
+
73
+ export function CustomerFromJSON(json: any): Customer {
74
+ return CustomerFromJSONTyped(json, false);
75
+ }
76
+
77
+ export function CustomerFromJSONTyped(json: any, ignoreDiscriminator: boolean): Customer {
78
+ if (json == null) {
79
+ return json;
80
+ }
81
+ return {
82
+
83
+ 'username': json['username'],
84
+ 'name': json['name'],
85
+ 'contactName': json['contactName'],
86
+ 'contactPhone': json['contactPhone'],
87
+ 'email': json['email'],
88
+ 'location': json['location'],
89
+ };
90
+ }
91
+
92
+ export function CustomerToJSON(json: any): Customer {
93
+ return CustomerToJSONTyped(json, false);
94
+ }
95
+
96
+ export function CustomerToJSONTyped(value?: Customer | null, ignoreDiscriminator: boolean = false): any {
97
+ if (value == null) {
98
+ return value;
99
+ }
100
+
101
+ return {
102
+
103
+ 'username': value['username'],
104
+ 'name': value['name'],
105
+ 'contactName': value['contactName'],
106
+ 'contactPhone': value['contactPhone'],
107
+ 'email': value['email'],
108
+ 'location': value['location'],
109
+ };
110
+ }
111
+
@@ -4,7 +4,7 @@
4
4
  * OpenShift Migration Advisor API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: undefined
7
+ * The version of the OpenAPI document: v1alpha1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * OpenShift Migration Advisor API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: undefined
7
+ * The version of the OpenAPI document: v1alpha1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * OpenShift Migration Advisor API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: undefined
7
+ * The version of the OpenAPI document: v1alpha1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * OpenShift Migration Advisor API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: undefined
7
+ * The version of the OpenAPI document: v1alpha1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * OpenShift Migration Advisor API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: undefined
7
+ * The version of the OpenAPI document: v1alpha1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * OpenShift Migration Advisor API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: undefined
7
+ * The version of the OpenAPI document: v1alpha1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).