@openshift-migration-advisor/planner-sdk 0.10.0 → 0.11.0-72642107444

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 (400) hide show
  1. package/.openapi-generator/FILES +30 -0
  2. package/README.md +43 -12
  3. package/dist/apis/AccountApi.d.ts +390 -0
  4. package/dist/apis/AccountApi.js +454 -0
  5. package/dist/apis/AssessmentApi.d.ts +43 -14
  6. package/dist/apis/AssessmentApi.js +54 -9
  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 +3 -3
  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 +3 -3
  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 +5 -5
  19. package/dist/apis/index.d.ts +2 -0
  20. package/dist/apis/index.js +2 -0
  21. package/dist/esm/apis/AccountApi.d.ts +390 -0
  22. package/dist/esm/apis/AccountApi.js +450 -0
  23. package/dist/esm/apis/AssessmentApi.d.ts +43 -14
  24. package/dist/esm/apis/AssessmentApi.js +55 -10
  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 +3 -3
  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 +3 -3
  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 +5 -5
  37. package/dist/esm/apis/index.d.ts +2 -0
  38. package/dist/esm/apis/index.js +2 -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/Datastore.d.ts +1 -1
  64. package/dist/esm/models/Datastore.js +1 -1
  65. package/dist/esm/models/DiskSizeTierSummary.d.ts +1 -1
  66. package/dist/esm/models/DiskSizeTierSummary.js +1 -1
  67. package/dist/esm/models/DiskTypeSummary.d.ts +1 -1
  68. package/dist/esm/models/DiskTypeSummary.js +1 -1
  69. package/dist/esm/models/EstimationContext.d.ts +1 -1
  70. package/dist/esm/models/EstimationContext.js +1 -1
  71. package/dist/esm/models/EstimationDetail.d.ts +1 -1
  72. package/dist/esm/models/EstimationDetail.js +1 -1
  73. package/dist/esm/models/Group.d.ts +82 -0
  74. package/dist/esm/models/Group.js +76 -0
  75. package/dist/esm/models/GroupCreate.d.ts +64 -0
  76. package/dist/esm/models/GroupCreate.js +66 -0
  77. package/dist/esm/models/GroupUpdate.d.ts +50 -0
  78. package/dist/esm/models/GroupUpdate.js +47 -0
  79. package/dist/esm/models/Histogram.d.ts +1 -1
  80. package/dist/esm/models/Histogram.js +1 -1
  81. package/dist/esm/models/Host.d.ts +1 -1
  82. package/dist/esm/models/Host.js +1 -1
  83. package/dist/esm/models/Identity.d.ts +60 -0
  84. package/dist/esm/models/Identity.js +60 -0
  85. package/dist/esm/models/Info.d.ts +1 -1
  86. package/dist/esm/models/Info.js +1 -1
  87. package/dist/esm/models/Infra.d.ts +1 -1
  88. package/dist/esm/models/Infra.js +1 -1
  89. package/dist/esm/models/Inventory.d.ts +1 -1
  90. package/dist/esm/models/Inventory.js +1 -1
  91. package/dist/esm/models/InventoryData.d.ts +1 -1
  92. package/dist/esm/models/InventoryData.js +1 -1
  93. package/dist/esm/models/InventoryTotals.d.ts +1 -1
  94. package/dist/esm/models/InventoryTotals.js +1 -1
  95. package/dist/esm/models/Ipv4Config.d.ts +1 -1
  96. package/dist/esm/models/Ipv4Config.js +1 -1
  97. package/dist/esm/models/Job.d.ts +1 -1
  98. package/dist/esm/models/Job.js +1 -1
  99. package/dist/esm/models/JobStatus.d.ts +1 -1
  100. package/dist/esm/models/JobStatus.js +1 -1
  101. package/dist/esm/models/Label.d.ts +1 -1
  102. package/dist/esm/models/Label.js +1 -1
  103. package/dist/esm/models/Member.d.ts +56 -0
  104. package/dist/esm/models/Member.js +57 -0
  105. package/dist/esm/models/MemberCreate.d.ts +38 -0
  106. package/dist/esm/models/MemberCreate.js +47 -0
  107. package/dist/esm/models/MemberUpdate.d.ts +32 -0
  108. package/dist/esm/models/MemberUpdate.js +41 -0
  109. package/dist/esm/models/MigrationComplexityRequest.d.ts +1 -1
  110. package/dist/esm/models/MigrationComplexityRequest.js +1 -1
  111. package/dist/esm/models/MigrationComplexityResponse.d.ts +1 -1
  112. package/dist/esm/models/MigrationComplexityResponse.js +1 -1
  113. package/dist/esm/models/MigrationEstimationByComplexityResponse.d.ts +1 -1
  114. package/dist/esm/models/MigrationEstimationByComplexityResponse.js +1 -1
  115. package/dist/esm/models/MigrationEstimationRequest.d.ts +2 -2
  116. package/dist/esm/models/MigrationEstimationRequest.js +1 -1
  117. package/dist/esm/models/MigrationEstimationResponse.d.ts +43 -0
  118. package/dist/esm/models/MigrationEstimationResponse.js +50 -0
  119. package/dist/esm/models/MigrationIssue.d.ts +1 -1
  120. package/dist/esm/models/MigrationIssue.js +1 -1
  121. package/dist/esm/models/ModelError.d.ts +1 -1
  122. package/dist/esm/models/ModelError.js +1 -1
  123. package/dist/esm/models/Network.d.ts +1 -1
  124. package/dist/esm/models/Network.js +1 -1
  125. package/dist/esm/models/OsDiskEstimationEntry.d.ts +1 -1
  126. package/dist/esm/models/OsDiskEstimationEntry.js +1 -1
  127. package/dist/esm/models/OsInfo.d.ts +1 -1
  128. package/dist/esm/models/OsInfo.js +1 -1
  129. package/dist/esm/models/PartnerRequest.d.ts +99 -0
  130. package/dist/esm/models/PartnerRequest.js +82 -0
  131. package/dist/esm/models/PartnerRequestCreate.d.ts +56 -0
  132. package/dist/esm/models/PartnerRequestCreate.js +59 -0
  133. package/dist/esm/models/PartnerRequestStatus.d.ts +27 -0
  134. package/dist/esm/models/PartnerRequestStatus.js +45 -0
  135. package/dist/esm/models/PartnerRequestUpdate.d.ts +39 -0
  136. package/dist/esm/models/PartnerRequestUpdate.js +46 -0
  137. package/dist/esm/models/PresignedUrl.d.ts +1 -1
  138. package/dist/esm/models/PresignedUrl.js +1 -1
  139. package/dist/esm/models/SchemaEstimationResult.d.ts +1 -1
  140. package/dist/esm/models/SchemaEstimationResult.js +1 -1
  141. package/dist/esm/models/SizingOverCommitRatio.d.ts +1 -1
  142. package/dist/esm/models/SizingOverCommitRatio.js +1 -1
  143. package/dist/esm/models/SizingResourceConsumption.d.ts +1 -1
  144. package/dist/esm/models/SizingResourceConsumption.js +1 -1
  145. package/dist/esm/models/SizingResourceLimits.d.ts +1 -1
  146. package/dist/esm/models/SizingResourceLimits.js +1 -1
  147. package/dist/esm/models/Snapshot.d.ts +1 -1
  148. package/dist/esm/models/Snapshot.js +1 -1
  149. package/dist/esm/models/Source.d.ts +1 -1
  150. package/dist/esm/models/Source.js +1 -1
  151. package/dist/esm/models/SourceCreate.d.ts +1 -1
  152. package/dist/esm/models/SourceCreate.js +1 -1
  153. package/dist/esm/models/SourceInfra.d.ts +1 -1
  154. package/dist/esm/models/SourceInfra.js +1 -1
  155. package/dist/esm/models/SourceUpdate.d.ts +1 -1
  156. package/dist/esm/models/SourceUpdate.js +1 -1
  157. package/dist/esm/models/Status.d.ts +1 -1
  158. package/dist/esm/models/Status.js +1 -1
  159. package/dist/esm/models/UpdateInventory.d.ts +1 -1
  160. package/dist/esm/models/UpdateInventory.js +1 -1
  161. package/dist/esm/models/VCenter.d.ts +1 -1
  162. package/dist/esm/models/VCenter.js +1 -1
  163. package/dist/esm/models/VMResourceBreakdown.d.ts +1 -1
  164. package/dist/esm/models/VMResourceBreakdown.js +1 -1
  165. package/dist/esm/models/VMs.d.ts +1 -1
  166. package/dist/esm/models/VMs.js +1 -1
  167. package/dist/esm/models/VmNetwork.d.ts +1 -1
  168. package/dist/esm/models/VmNetwork.js +1 -1
  169. package/dist/esm/models/index.d.ts +13 -0
  170. package/dist/esm/models/index.js +13 -0
  171. package/dist/esm/runtime.d.ts +1 -1
  172. package/dist/esm/runtime.js +1 -1
  173. package/dist/models/Agent.d.ts +1 -1
  174. package/dist/models/Agent.js +1 -1
  175. package/dist/models/AgentProxy.d.ts +1 -1
  176. package/dist/models/AgentProxy.js +1 -1
  177. package/dist/models/Assessment.d.ts +1 -1
  178. package/dist/models/Assessment.js +1 -1
  179. package/dist/models/AssessmentForm.d.ts +1 -1
  180. package/dist/models/AssessmentForm.js +1 -1
  181. package/dist/models/AssessmentUpdate.d.ts +1 -1
  182. package/dist/models/AssessmentUpdate.js +1 -1
  183. package/dist/models/ClusterRequirementsRequest.d.ts +1 -1
  184. package/dist/models/ClusterRequirementsRequest.js +1 -1
  185. package/dist/models/ClusterRequirementsResponse.d.ts +1 -1
  186. package/dist/models/ClusterRequirementsResponse.js +1 -1
  187. package/dist/models/ClusterRequirementsStoredInput.d.ts +119 -0
  188. package/dist/models/ClusterRequirementsStoredInput.js +95 -0
  189. package/dist/models/ClusterSizing.d.ts +1 -1
  190. package/dist/models/ClusterSizing.js +1 -1
  191. package/dist/models/ComplexityDiskScoreEntry.d.ts +1 -1
  192. package/dist/models/ComplexityDiskScoreEntry.js +1 -1
  193. package/dist/models/ComplexityOSNameEntry.d.ts +1 -1
  194. package/dist/models/ComplexityOSNameEntry.js +1 -1
  195. package/dist/models/ComplexityOSScoreEntry.d.ts +1 -1
  196. package/dist/models/ComplexityOSScoreEntry.js +1 -1
  197. package/dist/models/Datastore.d.ts +1 -1
  198. package/dist/models/Datastore.js +1 -1
  199. package/dist/models/DiskSizeTierSummary.d.ts +1 -1
  200. package/dist/models/DiskSizeTierSummary.js +1 -1
  201. package/dist/models/DiskTypeSummary.d.ts +1 -1
  202. package/dist/models/DiskTypeSummary.js +1 -1
  203. package/dist/models/EstimationContext.d.ts +1 -1
  204. package/dist/models/EstimationContext.js +1 -1
  205. package/dist/models/EstimationDetail.d.ts +1 -1
  206. package/dist/models/EstimationDetail.js +1 -1
  207. package/dist/models/Group.d.ts +82 -0
  208. package/dist/models/Group.js +84 -0
  209. package/dist/models/GroupCreate.d.ts +64 -0
  210. package/dist/models/GroupCreate.js +74 -0
  211. package/dist/models/GroupUpdate.d.ts +50 -0
  212. package/dist/models/GroupUpdate.js +54 -0
  213. package/dist/models/Histogram.d.ts +1 -1
  214. package/dist/models/Histogram.js +1 -1
  215. package/dist/models/Host.d.ts +1 -1
  216. package/dist/models/Host.js +1 -1
  217. package/dist/models/Identity.d.ts +60 -0
  218. package/dist/models/Identity.js +68 -0
  219. package/dist/models/Info.d.ts +1 -1
  220. package/dist/models/Info.js +1 -1
  221. package/dist/models/Infra.d.ts +1 -1
  222. package/dist/models/Infra.js +1 -1
  223. package/dist/models/Inventory.d.ts +1 -1
  224. package/dist/models/Inventory.js +1 -1
  225. package/dist/models/InventoryData.d.ts +1 -1
  226. package/dist/models/InventoryData.js +1 -1
  227. package/dist/models/InventoryTotals.d.ts +1 -1
  228. package/dist/models/InventoryTotals.js +1 -1
  229. package/dist/models/Ipv4Config.d.ts +1 -1
  230. package/dist/models/Ipv4Config.js +1 -1
  231. package/dist/models/Job.d.ts +1 -1
  232. package/dist/models/Job.js +1 -1
  233. package/dist/models/JobStatus.d.ts +1 -1
  234. package/dist/models/JobStatus.js +1 -1
  235. package/dist/models/Label.d.ts +1 -1
  236. package/dist/models/Label.js +1 -1
  237. package/dist/models/Member.d.ts +56 -0
  238. package/dist/models/Member.js +64 -0
  239. package/dist/models/MemberCreate.d.ts +38 -0
  240. package/dist/models/MemberCreate.js +54 -0
  241. package/dist/models/MemberUpdate.d.ts +32 -0
  242. package/dist/models/MemberUpdate.js +48 -0
  243. package/dist/models/MigrationComplexityRequest.d.ts +1 -1
  244. package/dist/models/MigrationComplexityRequest.js +1 -1
  245. package/dist/models/MigrationComplexityResponse.d.ts +1 -1
  246. package/dist/models/MigrationComplexityResponse.js +1 -1
  247. package/dist/models/MigrationEstimationByComplexityResponse.d.ts +1 -1
  248. package/dist/models/MigrationEstimationByComplexityResponse.js +1 -1
  249. package/dist/models/MigrationEstimationRequest.d.ts +2 -2
  250. package/dist/models/MigrationEstimationRequest.js +1 -1
  251. package/dist/models/MigrationEstimationResponse.d.ts +43 -0
  252. package/dist/models/MigrationEstimationResponse.js +57 -0
  253. package/dist/models/MigrationIssue.d.ts +1 -1
  254. package/dist/models/MigrationIssue.js +1 -1
  255. package/dist/models/ModelError.d.ts +1 -1
  256. package/dist/models/ModelError.js +1 -1
  257. package/dist/models/Network.d.ts +1 -1
  258. package/dist/models/Network.js +1 -1
  259. package/dist/models/OsDiskEstimationEntry.d.ts +1 -1
  260. package/dist/models/OsDiskEstimationEntry.js +1 -1
  261. package/dist/models/OsInfo.d.ts +1 -1
  262. package/dist/models/OsInfo.js +1 -1
  263. package/dist/models/PartnerRequest.d.ts +99 -0
  264. package/dist/models/PartnerRequest.js +89 -0
  265. package/dist/models/PartnerRequestCreate.d.ts +56 -0
  266. package/dist/models/PartnerRequestCreate.js +66 -0
  267. package/dist/models/PartnerRequestStatus.d.ts +27 -0
  268. package/dist/models/PartnerRequestStatus.js +53 -0
  269. package/dist/models/PartnerRequestUpdate.d.ts +39 -0
  270. package/dist/models/PartnerRequestUpdate.js +53 -0
  271. package/dist/models/PresignedUrl.d.ts +1 -1
  272. package/dist/models/PresignedUrl.js +1 -1
  273. package/dist/models/SchemaEstimationResult.d.ts +1 -1
  274. package/dist/models/SchemaEstimationResult.js +1 -1
  275. package/dist/models/SizingOverCommitRatio.d.ts +1 -1
  276. package/dist/models/SizingOverCommitRatio.js +1 -1
  277. package/dist/models/SizingResourceConsumption.d.ts +1 -1
  278. package/dist/models/SizingResourceConsumption.js +1 -1
  279. package/dist/models/SizingResourceLimits.d.ts +1 -1
  280. package/dist/models/SizingResourceLimits.js +1 -1
  281. package/dist/models/Snapshot.d.ts +1 -1
  282. package/dist/models/Snapshot.js +1 -1
  283. package/dist/models/Source.d.ts +1 -1
  284. package/dist/models/Source.js +1 -1
  285. package/dist/models/SourceCreate.d.ts +1 -1
  286. package/dist/models/SourceCreate.js +1 -1
  287. package/dist/models/SourceInfra.d.ts +1 -1
  288. package/dist/models/SourceInfra.js +1 -1
  289. package/dist/models/SourceUpdate.d.ts +1 -1
  290. package/dist/models/SourceUpdate.js +1 -1
  291. package/dist/models/Status.d.ts +1 -1
  292. package/dist/models/Status.js +1 -1
  293. package/dist/models/UpdateInventory.d.ts +1 -1
  294. package/dist/models/UpdateInventory.js +1 -1
  295. package/dist/models/VCenter.d.ts +1 -1
  296. package/dist/models/VCenter.js +1 -1
  297. package/dist/models/VMResourceBreakdown.d.ts +1 -1
  298. package/dist/models/VMResourceBreakdown.js +1 -1
  299. package/dist/models/VMs.d.ts +1 -1
  300. package/dist/models/VMs.js +1 -1
  301. package/dist/models/VmNetwork.d.ts +1 -1
  302. package/dist/models/VmNetwork.js +1 -1
  303. package/dist/models/index.d.ts +13 -0
  304. package/dist/models/index.js +13 -0
  305. package/dist/runtime.d.ts +1 -1
  306. package/dist/runtime.js +1 -1
  307. package/docs/AccountApi.md +734 -0
  308. package/docs/AssessmentApi.md +78 -2
  309. package/docs/ClusterRequirementsStoredInput.md +55 -0
  310. package/docs/Group.md +48 -0
  311. package/docs/GroupCreate.md +42 -0
  312. package/docs/GroupUpdate.md +40 -0
  313. package/docs/Identity.md +40 -0
  314. package/docs/Member.md +42 -0
  315. package/docs/MemberCreate.md +36 -0
  316. package/docs/MemberUpdate.md +34 -0
  317. package/docs/MigrationEstimationResponse.md +37 -0
  318. package/docs/PartnerApi.md +636 -0
  319. package/docs/PartnerRequest.md +56 -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/SourceApi.md +1 -1
  324. package/package.json +1 -1
  325. package/src/apis/AccountApi.ts +834 -0
  326. package/src/apis/AssessmentApi.ts +104 -16
  327. package/src/apis/HealthApi.ts +1 -1
  328. package/src/apis/ImageApi.ts +3 -3
  329. package/src/apis/InfoApi.ts +1 -1
  330. package/src/apis/JobApi.ts +3 -3
  331. package/src/apis/PartnerApi.ts +668 -0
  332. package/src/apis/SourceApi.ts +5 -5
  333. package/src/apis/index.ts +2 -0
  334. package/src/models/Agent.ts +1 -1
  335. package/src/models/AgentProxy.ts +1 -1
  336. package/src/models/Assessment.ts +1 -1
  337. package/src/models/AssessmentForm.ts +1 -1
  338. package/src/models/AssessmentUpdate.ts +1 -1
  339. package/src/models/ClusterRequirementsRequest.ts +1 -1
  340. package/src/models/ClusterRequirementsResponse.ts +1 -1
  341. package/src/models/ClusterRequirementsStoredInput.ts +178 -0
  342. package/src/models/ClusterSizing.ts +1 -1
  343. package/src/models/ComplexityDiskScoreEntry.ts +1 -1
  344. package/src/models/ComplexityOSNameEntry.ts +1 -1
  345. package/src/models/ComplexityOSScoreEntry.ts +1 -1
  346. package/src/models/Datastore.ts +1 -1
  347. package/src/models/DiskSizeTierSummary.ts +1 -1
  348. package/src/models/DiskTypeSummary.ts +1 -1
  349. package/src/models/EstimationContext.ts +1 -1
  350. package/src/models/EstimationDetail.ts +1 -1
  351. package/src/models/Group.ts +139 -0
  352. package/src/models/GroupCreate.ts +113 -0
  353. package/src/models/GroupUpdate.ts +89 -0
  354. package/src/models/Histogram.ts +1 -1
  355. package/src/models/Host.ts +1 -1
  356. package/src/models/Identity.ts +104 -0
  357. package/src/models/Info.ts +1 -1
  358. package/src/models/Infra.ts +1 -1
  359. package/src/models/Inventory.ts +1 -1
  360. package/src/models/InventoryData.ts +1 -1
  361. package/src/models/InventoryTotals.ts +1 -1
  362. package/src/models/Ipv4Config.ts +1 -1
  363. package/src/models/Job.ts +1 -1
  364. package/src/models/JobStatus.ts +1 -1
  365. package/src/models/Label.ts +1 -1
  366. package/src/models/Member.ts +101 -0
  367. package/src/models/MemberCreate.ts +75 -0
  368. package/src/models/MemberUpdate.ts +65 -0
  369. package/src/models/MigrationComplexityRequest.ts +1 -1
  370. package/src/models/MigrationComplexityResponse.ts +1 -1
  371. package/src/models/MigrationEstimationByComplexityResponse.ts +1 -1
  372. package/src/models/MigrationEstimationRequest.ts +2 -2
  373. package/src/models/MigrationEstimationResponse.ts +91 -0
  374. package/src/models/MigrationIssue.ts +1 -1
  375. package/src/models/ModelError.ts +1 -1
  376. package/src/models/Network.ts +1 -1
  377. package/src/models/OsDiskEstimationEntry.ts +1 -1
  378. package/src/models/OsInfo.ts +1 -1
  379. package/src/models/PartnerRequest.ts +172 -0
  380. package/src/models/PartnerRequestCreate.ts +102 -0
  381. package/src/models/PartnerRequestStatus.ts +55 -0
  382. package/src/models/PartnerRequestUpdate.ts +84 -0
  383. package/src/models/PresignedUrl.ts +1 -1
  384. package/src/models/SchemaEstimationResult.ts +1 -1
  385. package/src/models/SizingOverCommitRatio.ts +1 -1
  386. package/src/models/SizingResourceConsumption.ts +1 -1
  387. package/src/models/SizingResourceLimits.ts +1 -1
  388. package/src/models/Snapshot.ts +1 -1
  389. package/src/models/Source.ts +1 -1
  390. package/src/models/SourceCreate.ts +1 -1
  391. package/src/models/SourceInfra.ts +1 -1
  392. package/src/models/SourceUpdate.ts +1 -1
  393. package/src/models/Status.ts +1 -1
  394. package/src/models/UpdateInventory.ts +1 -1
  395. package/src/models/VCenter.ts +1 -1
  396. package/src/models/VMResourceBreakdown.ts +1 -1
  397. package/src/models/VMs.ts +1 -1
  398. package/src/models/VmNetwork.ts +1 -1
  399. package/src/models/index.ts +13 -0
  400. package/src/runtime.ts +1 -1
@@ -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).
@@ -288,7 +288,7 @@ export class SourceApi extends runtime.BaseAPI implements SourceApiInterface {
288
288
 
289
289
 
290
290
  let urlPath = `/api/v1/sources/{id}`;
291
- urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
291
+ urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
292
292
 
293
293
  return {
294
294
  path: urlPath,
@@ -370,7 +370,7 @@ export class SourceApi extends runtime.BaseAPI implements SourceApiInterface {
370
370
 
371
371
 
372
372
  let urlPath = `/api/v1/sources/{id}`;
373
- urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
373
+ urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
374
374
 
375
375
  return {
376
376
  path: urlPath,
@@ -461,7 +461,7 @@ export class SourceApi extends runtime.BaseAPI implements SourceApiInterface {
461
461
 
462
462
 
463
463
  let urlPath = `/api/v1/sources/{id}/inventory`;
464
- urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
464
+ urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
465
465
 
466
466
  return {
467
467
  path: urlPath,
@@ -516,7 +516,7 @@ export class SourceApi extends runtime.BaseAPI implements SourceApiInterface {
516
516
 
517
517
 
518
518
  let urlPath = `/api/v1/sources/{id}`;
519
- urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
519
+ urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
520
520
 
521
521
  return {
522
522
  path: urlPath,
package/src/apis/index.ts CHANGED
@@ -1,8 +1,10 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
+ export * from './AccountApi.js';
3
4
  export * from './AssessmentApi.js';
4
5
  export * from './HealthApi.js';
5
6
  export * from './ImageApi.js';
6
7
  export * from './InfoApi.js';
7
8
  export * from './JobApi.js';
9
+ export * from './PartnerApi.js';
8
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).
@@ -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,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).
@@ -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).
@@ -0,0 +1,139 @@
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 Group
20
+ */
21
+ export interface Group {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof Group
26
+ */
27
+ id: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof Group
32
+ */
33
+ name: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof Group
38
+ */
39
+ description?: string;
40
+ /**
41
+ *
42
+ * @type {GroupKindEnum}
43
+ * @memberof Group
44
+ */
45
+ kind: GroupKindEnum;
46
+ /**
47
+ *
48
+ * @type {string}
49
+ * @memberof Group
50
+ */
51
+ icon: string;
52
+ /**
53
+ *
54
+ * @type {string}
55
+ * @memberof Group
56
+ */
57
+ company: string;
58
+ /**
59
+ *
60
+ * @type {Date}
61
+ * @memberof Group
62
+ */
63
+ createdAt: Date;
64
+ /**
65
+ *
66
+ * @type {Date}
67
+ * @memberof Group
68
+ */
69
+ updatedAt: Date;
70
+ }
71
+
72
+
73
+ /**
74
+ * @export
75
+ */
76
+ export const GroupKindEnum = {
77
+ Partner: 'partner',
78
+ Admin: 'admin'
79
+ } as const;
80
+ export type GroupKindEnum = typeof GroupKindEnum[keyof typeof GroupKindEnum];
81
+
82
+
83
+ /**
84
+ * Check if a given object implements the Group interface.
85
+ */
86
+ export function instanceOfGroup(value: object): value is Group {
87
+ if (!('id' in value) || value['id'] === undefined) return false;
88
+ if (!('name' in value) || value['name'] === undefined) return false;
89
+ if (!('kind' in value) || value['kind'] === undefined) return false;
90
+ if (!('icon' in value) || value['icon'] === undefined) return false;
91
+ if (!('company' in value) || value['company'] === undefined) return false;
92
+ if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
93
+ if (!('updatedAt' in value) || value['updatedAt'] === undefined) return false;
94
+ return true;
95
+ }
96
+
97
+ export function GroupFromJSON(json: any): Group {
98
+ return GroupFromJSONTyped(json, false);
99
+ }
100
+
101
+ export function GroupFromJSONTyped(json: any, ignoreDiscriminator: boolean): Group {
102
+ if (json == null) {
103
+ return json;
104
+ }
105
+ return {
106
+
107
+ 'id': json['id'],
108
+ 'name': json['name'],
109
+ 'description': json['description'] == null ? undefined : json['description'],
110
+ 'kind': json['kind'],
111
+ 'icon': json['icon'],
112
+ 'company': json['company'],
113
+ 'createdAt': (new Date(json['createdAt'])),
114
+ 'updatedAt': (new Date(json['updatedAt'])),
115
+ };
116
+ }
117
+
118
+ export function GroupToJSON(json: any): Group {
119
+ return GroupToJSONTyped(json, false);
120
+ }
121
+
122
+ export function GroupToJSONTyped(value?: Group | null, ignoreDiscriminator: boolean = false): any {
123
+ if (value == null) {
124
+ return value;
125
+ }
126
+
127
+ return {
128
+
129
+ 'id': value['id'],
130
+ 'name': value['name'],
131
+ 'description': value['description'],
132
+ 'kind': value['kind'],
133
+ 'icon': value['icon'],
134
+ 'company': value['company'],
135
+ 'createdAt': value['createdAt'].toISOString(),
136
+ 'updatedAt': value['updatedAt'].toISOString(),
137
+ };
138
+ }
139
+
@@ -0,0 +1,113 @@
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 GroupCreate
20
+ */
21
+ export interface GroupCreate {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof GroupCreate
26
+ */
27
+ name: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof GroupCreate
32
+ */
33
+ description: string;
34
+ /**
35
+ *
36
+ * @type {GroupCreateKindEnum}
37
+ * @memberof GroupCreate
38
+ */
39
+ kind: GroupCreateKindEnum;
40
+ /**
41
+ *
42
+ * @type {string}
43
+ * @memberof GroupCreate
44
+ */
45
+ icon: string;
46
+ /**
47
+ *
48
+ * @type {string}
49
+ * @memberof GroupCreate
50
+ */
51
+ company: string;
52
+ }
53
+
54
+
55
+ /**
56
+ * @export
57
+ */
58
+ export const GroupCreateKindEnum = {
59
+ Partner: 'partner',
60
+ Admin: 'admin'
61
+ } as const;
62
+ export type GroupCreateKindEnum = typeof GroupCreateKindEnum[keyof typeof GroupCreateKindEnum];
63
+
64
+
65
+ /**
66
+ * Check if a given object implements the GroupCreate interface.
67
+ */
68
+ export function instanceOfGroupCreate(value: object): value is GroupCreate {
69
+ if (!('name' in value) || value['name'] === undefined) return false;
70
+ if (!('description' in value) || value['description'] === undefined) return false;
71
+ if (!('kind' in value) || value['kind'] === undefined) return false;
72
+ if (!('icon' in value) || value['icon'] === undefined) return false;
73
+ if (!('company' in value) || value['company'] === undefined) return false;
74
+ return true;
75
+ }
76
+
77
+ export function GroupCreateFromJSON(json: any): GroupCreate {
78
+ return GroupCreateFromJSONTyped(json, false);
79
+ }
80
+
81
+ export function GroupCreateFromJSONTyped(json: any, ignoreDiscriminator: boolean): GroupCreate {
82
+ if (json == null) {
83
+ return json;
84
+ }
85
+ return {
86
+
87
+ 'name': json['name'],
88
+ 'description': json['description'],
89
+ 'kind': json['kind'],
90
+ 'icon': json['icon'],
91
+ 'company': json['company'],
92
+ };
93
+ }
94
+
95
+ export function GroupCreateToJSON(json: any): GroupCreate {
96
+ return GroupCreateToJSONTyped(json, false);
97
+ }
98
+
99
+ export function GroupCreateToJSONTyped(value?: GroupCreate | null, ignoreDiscriminator: boolean = false): any {
100
+ if (value == null) {
101
+ return value;
102
+ }
103
+
104
+ return {
105
+
106
+ 'name': value['name'],
107
+ 'description': value['description'],
108
+ 'kind': value['kind'],
109
+ 'icon': value['icon'],
110
+ 'company': value['company'],
111
+ };
112
+ }
113
+