@openshift-migration-advisor/planner-sdk 0.5.0 → 0.5.1-0ae313a75a60

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 (271) hide show
  1. package/.openapi-generator/FILES +6 -0
  2. package/README.md +6 -2
  3. package/dist/apis/AssessmentApi.d.ts +39 -2
  4. package/dist/apis/AssessmentApi.js +45 -1
  5. package/dist/apis/HealthApi.d.ts +1 -1
  6. package/dist/apis/HealthApi.js +1 -1
  7. package/dist/apis/ImageApi.d.ts +1 -1
  8. package/dist/apis/ImageApi.js +1 -1
  9. package/dist/apis/InfoApi.d.ts +5 -5
  10. package/dist/apis/InfoApi.js +3 -3
  11. package/dist/apis/JobApi.d.ts +1 -1
  12. package/dist/apis/JobApi.js +1 -1
  13. package/dist/apis/SourceApi.d.ts +1 -1
  14. package/dist/apis/SourceApi.js +1 -1
  15. package/dist/esm/apis/AssessmentApi.d.ts +39 -2
  16. package/dist/esm/apis/AssessmentApi.js +46 -2
  17. package/dist/esm/apis/HealthApi.d.ts +1 -1
  18. package/dist/esm/apis/HealthApi.js +1 -1
  19. package/dist/esm/apis/ImageApi.d.ts +1 -1
  20. package/dist/esm/apis/ImageApi.js +1 -1
  21. package/dist/esm/apis/InfoApi.d.ts +5 -5
  22. package/dist/esm/apis/InfoApi.js +3 -3
  23. package/dist/esm/apis/JobApi.d.ts +1 -1
  24. package/dist/esm/apis/JobApi.js +1 -1
  25. package/dist/esm/apis/SourceApi.d.ts +1 -1
  26. package/dist/esm/apis/SourceApi.js +1 -1
  27. package/dist/esm/models/Agent.d.ts +1 -1
  28. package/dist/esm/models/Agent.js +1 -1
  29. package/dist/esm/models/AgentProxy.d.ts +1 -1
  30. package/dist/esm/models/AgentProxy.js +1 -1
  31. package/dist/esm/models/Assessment.d.ts +1 -1
  32. package/dist/esm/models/Assessment.js +1 -1
  33. package/dist/esm/models/AssessmentForm.d.ts +2 -2
  34. package/dist/esm/models/AssessmentForm.js +1 -1
  35. package/dist/esm/models/AssessmentUpdate.d.ts +1 -1
  36. package/dist/esm/models/AssessmentUpdate.js +1 -1
  37. package/dist/esm/models/ClusterRequirementsRequest.d.ts +13 -1
  38. package/dist/esm/models/ClusterRequirementsRequest.js +5 -1
  39. package/dist/esm/models/ClusterRequirementsResponse.d.ts +1 -1
  40. package/dist/esm/models/ClusterRequirementsResponse.js +1 -1
  41. package/dist/esm/models/ClusterSizing.d.ts +1 -1
  42. package/dist/esm/models/ClusterSizing.js +1 -1
  43. package/dist/esm/models/Datastore.d.ts +1 -1
  44. package/dist/esm/models/Datastore.js +1 -1
  45. package/dist/esm/models/DiskSizeTierSummary.d.ts +1 -1
  46. package/dist/esm/models/DiskSizeTierSummary.js +1 -1
  47. package/dist/esm/models/DiskTypeSummary.d.ts +1 -1
  48. package/dist/esm/models/DiskTypeSummary.js +1 -1
  49. package/dist/esm/models/EstimationDetail.d.ts +38 -0
  50. package/dist/esm/models/EstimationDetail.js +47 -0
  51. package/dist/esm/models/Histogram.d.ts +1 -1
  52. package/dist/esm/models/Histogram.js +1 -1
  53. package/dist/esm/models/Host.d.ts +1 -1
  54. package/dist/esm/models/Host.js +1 -1
  55. package/dist/esm/models/Info.d.ts +2 -2
  56. package/dist/esm/models/Info.js +1 -1
  57. package/dist/esm/models/Infra.d.ts +1 -1
  58. package/dist/esm/models/Infra.js +1 -1
  59. package/dist/esm/models/Inventory.d.ts +1 -1
  60. package/dist/esm/models/Inventory.js +1 -1
  61. package/dist/esm/models/InventoryData.d.ts +1 -1
  62. package/dist/esm/models/InventoryData.js +1 -1
  63. package/dist/esm/models/InventoryTotals.d.ts +1 -1
  64. package/dist/esm/models/InventoryTotals.js +1 -1
  65. package/dist/esm/models/Ipv4Config.d.ts +1 -1
  66. package/dist/esm/models/Ipv4Config.js +1 -1
  67. package/dist/esm/models/Job.d.ts +1 -1
  68. package/dist/esm/models/Job.js +1 -1
  69. package/dist/esm/models/JobStatus.d.ts +1 -1
  70. package/dist/esm/models/JobStatus.js +1 -1
  71. package/dist/esm/models/Label.d.ts +1 -1
  72. package/dist/esm/models/Label.js +1 -1
  73. package/dist/esm/models/MigrationEstimationRequest.d.ts +32 -0
  74. package/dist/esm/models/MigrationEstimationRequest.js +43 -0
  75. package/dist/esm/models/MigrationEstimationResponse.d.ts +41 -0
  76. package/dist/esm/models/MigrationEstimationResponse.js +49 -0
  77. package/dist/esm/models/MigrationIssue.d.ts +1 -1
  78. package/dist/esm/models/MigrationIssue.js +1 -1
  79. package/dist/esm/models/ModelError.d.ts +1 -7
  80. package/dist/esm/models/ModelError.js +1 -3
  81. package/dist/esm/models/Network.d.ts +1 -1
  82. package/dist/esm/models/Network.js +1 -1
  83. package/dist/esm/models/OsInfo.d.ts +1 -1
  84. package/dist/esm/models/OsInfo.js +1 -1
  85. package/dist/esm/models/PresignedUrl.d.ts +1 -1
  86. package/dist/esm/models/PresignedUrl.js +1 -1
  87. package/dist/esm/models/SizingOverCommitRatio.d.ts +1 -1
  88. package/dist/esm/models/SizingOverCommitRatio.js +1 -1
  89. package/dist/esm/models/SizingResourceConsumption.d.ts +1 -1
  90. package/dist/esm/models/SizingResourceConsumption.js +1 -1
  91. package/dist/esm/models/SizingResourceLimits.d.ts +1 -1
  92. package/dist/esm/models/SizingResourceLimits.js +1 -1
  93. package/dist/esm/models/Snapshot.d.ts +1 -1
  94. package/dist/esm/models/Snapshot.js +1 -1
  95. package/dist/esm/models/Source.d.ts +1 -1
  96. package/dist/esm/models/Source.js +1 -1
  97. package/dist/esm/models/SourceCreate.d.ts +1 -1
  98. package/dist/esm/models/SourceCreate.js +1 -1
  99. package/dist/esm/models/SourceInfra.d.ts +1 -1
  100. package/dist/esm/models/SourceInfra.js +1 -1
  101. package/dist/esm/models/SourceUpdate.d.ts +1 -1
  102. package/dist/esm/models/SourceUpdate.js +1 -1
  103. package/dist/esm/models/Status.d.ts +1 -1
  104. package/dist/esm/models/Status.js +1 -1
  105. package/dist/esm/models/UpdateInventory.d.ts +1 -1
  106. package/dist/esm/models/UpdateInventory.js +1 -1
  107. package/dist/esm/models/VCenter.d.ts +1 -1
  108. package/dist/esm/models/VCenter.js +1 -1
  109. package/dist/esm/models/VMResourceBreakdown.d.ts +1 -1
  110. package/dist/esm/models/VMResourceBreakdown.js +1 -1
  111. package/dist/esm/models/VMs.d.ts +1 -1
  112. package/dist/esm/models/VMs.js +1 -1
  113. package/dist/esm/models/VmNetwork.d.ts +1 -1
  114. package/dist/esm/models/VmNetwork.js +1 -1
  115. package/dist/esm/models/index.d.ts +3 -0
  116. package/dist/esm/models/index.js +3 -0
  117. package/dist/esm/runtime.d.ts +1 -1
  118. package/dist/esm/runtime.js +16 -1
  119. package/dist/models/Agent.d.ts +1 -1
  120. package/dist/models/Agent.js +1 -1
  121. package/dist/models/AgentProxy.d.ts +1 -1
  122. package/dist/models/AgentProxy.js +1 -1
  123. package/dist/models/Assessment.d.ts +1 -1
  124. package/dist/models/Assessment.js +1 -1
  125. package/dist/models/AssessmentForm.d.ts +2 -2
  126. package/dist/models/AssessmentForm.js +1 -1
  127. package/dist/models/AssessmentUpdate.d.ts +1 -1
  128. package/dist/models/AssessmentUpdate.js +1 -1
  129. package/dist/models/ClusterRequirementsRequest.d.ts +13 -1
  130. package/dist/models/ClusterRequirementsRequest.js +5 -1
  131. package/dist/models/ClusterRequirementsResponse.d.ts +1 -1
  132. package/dist/models/ClusterRequirementsResponse.js +1 -1
  133. package/dist/models/ClusterSizing.d.ts +1 -1
  134. package/dist/models/ClusterSizing.js +1 -1
  135. package/dist/models/Datastore.d.ts +1 -1
  136. package/dist/models/Datastore.js +1 -1
  137. package/dist/models/DiskSizeTierSummary.d.ts +1 -1
  138. package/dist/models/DiskSizeTierSummary.js +1 -1
  139. package/dist/models/DiskTypeSummary.d.ts +1 -1
  140. package/dist/models/DiskTypeSummary.js +1 -1
  141. package/dist/models/EstimationDetail.d.ts +38 -0
  142. package/dist/models/EstimationDetail.js +54 -0
  143. package/dist/models/Histogram.d.ts +1 -1
  144. package/dist/models/Histogram.js +1 -1
  145. package/dist/models/Host.d.ts +1 -1
  146. package/dist/models/Host.js +1 -1
  147. package/dist/models/Info.d.ts +2 -2
  148. package/dist/models/Info.js +1 -1
  149. package/dist/models/Infra.d.ts +1 -1
  150. package/dist/models/Infra.js +1 -1
  151. package/dist/models/Inventory.d.ts +1 -1
  152. package/dist/models/Inventory.js +1 -1
  153. package/dist/models/InventoryData.d.ts +1 -1
  154. package/dist/models/InventoryData.js +1 -1
  155. package/dist/models/InventoryTotals.d.ts +1 -1
  156. package/dist/models/InventoryTotals.js +1 -1
  157. package/dist/models/Ipv4Config.d.ts +1 -1
  158. package/dist/models/Ipv4Config.js +1 -1
  159. package/dist/models/Job.d.ts +1 -1
  160. package/dist/models/Job.js +1 -1
  161. package/dist/models/JobStatus.d.ts +1 -1
  162. package/dist/models/JobStatus.js +1 -1
  163. package/dist/models/Label.d.ts +1 -1
  164. package/dist/models/Label.js +1 -1
  165. package/dist/models/MigrationEstimationRequest.d.ts +32 -0
  166. package/dist/models/MigrationEstimationRequest.js +50 -0
  167. package/dist/models/MigrationEstimationResponse.d.ts +41 -0
  168. package/dist/models/MigrationEstimationResponse.js +56 -0
  169. package/dist/models/MigrationIssue.d.ts +1 -1
  170. package/dist/models/MigrationIssue.js +1 -1
  171. package/dist/models/ModelError.d.ts +1 -7
  172. package/dist/models/ModelError.js +1 -3
  173. package/dist/models/Network.d.ts +1 -1
  174. package/dist/models/Network.js +1 -1
  175. package/dist/models/OsInfo.d.ts +1 -1
  176. package/dist/models/OsInfo.js +1 -1
  177. package/dist/models/PresignedUrl.d.ts +1 -1
  178. package/dist/models/PresignedUrl.js +1 -1
  179. package/dist/models/SizingOverCommitRatio.d.ts +1 -1
  180. package/dist/models/SizingOverCommitRatio.js +1 -1
  181. package/dist/models/SizingResourceConsumption.d.ts +1 -1
  182. package/dist/models/SizingResourceConsumption.js +1 -1
  183. package/dist/models/SizingResourceLimits.d.ts +1 -1
  184. package/dist/models/SizingResourceLimits.js +1 -1
  185. package/dist/models/Snapshot.d.ts +1 -1
  186. package/dist/models/Snapshot.js +1 -1
  187. package/dist/models/Source.d.ts +1 -1
  188. package/dist/models/Source.js +1 -1
  189. package/dist/models/SourceCreate.d.ts +1 -1
  190. package/dist/models/SourceCreate.js +1 -1
  191. package/dist/models/SourceInfra.d.ts +1 -1
  192. package/dist/models/SourceInfra.js +1 -1
  193. package/dist/models/SourceUpdate.d.ts +1 -1
  194. package/dist/models/SourceUpdate.js +1 -1
  195. package/dist/models/Status.d.ts +1 -1
  196. package/dist/models/Status.js +1 -1
  197. package/dist/models/UpdateInventory.d.ts +1 -1
  198. package/dist/models/UpdateInventory.js +1 -1
  199. package/dist/models/VCenter.d.ts +1 -1
  200. package/dist/models/VCenter.js +1 -1
  201. package/dist/models/VMResourceBreakdown.d.ts +1 -1
  202. package/dist/models/VMResourceBreakdown.js +1 -1
  203. package/dist/models/VMs.d.ts +1 -1
  204. package/dist/models/VMs.js +1 -1
  205. package/dist/models/VmNetwork.d.ts +1 -1
  206. package/dist/models/VmNetwork.js +1 -1
  207. package/dist/models/index.d.ts +3 -0
  208. package/dist/models/index.js +3 -0
  209. package/dist/runtime.d.ts +1 -1
  210. package/dist/runtime.js +16 -1
  211. package/docs/AssessmentApi.md +76 -0
  212. package/docs/ClusterRequirementsRequest.md +4 -0
  213. package/docs/EstimationDetail.md +37 -0
  214. package/docs/Info.md +1 -1
  215. package/docs/InfoApi.md +1 -1
  216. package/docs/MigrationEstimationRequest.md +35 -0
  217. package/docs/MigrationEstimationResponse.md +37 -0
  218. package/docs/ModelError.md +0 -2
  219. package/package.json +1 -1
  220. package/src/apis/AssessmentApi.ts +91 -1
  221. package/src/apis/HealthApi.ts +1 -1
  222. package/src/apis/ImageApi.ts +1 -1
  223. package/src/apis/InfoApi.ts +5 -5
  224. package/src/apis/JobApi.ts +1 -1
  225. package/src/apis/SourceApi.ts +1 -1
  226. package/src/models/Agent.ts +1 -1
  227. package/src/models/AgentProxy.ts +1 -1
  228. package/src/models/Assessment.ts +1 -1
  229. package/src/models/AssessmentForm.ts +2 -2
  230. package/src/models/AssessmentUpdate.ts +1 -1
  231. package/src/models/ClusterRequirementsRequest.ts +17 -1
  232. package/src/models/ClusterRequirementsResponse.ts +1 -1
  233. package/src/models/ClusterSizing.ts +1 -1
  234. package/src/models/Datastore.ts +1 -1
  235. package/src/models/DiskSizeTierSummary.ts +1 -1
  236. package/src/models/DiskTypeSummary.ts +1 -1
  237. package/src/models/EstimationDetail.ts +75 -0
  238. package/src/models/Histogram.ts +1 -1
  239. package/src/models/Host.ts +1 -1
  240. package/src/models/Info.ts +2 -2
  241. package/src/models/Infra.ts +1 -1
  242. package/src/models/Inventory.ts +1 -1
  243. package/src/models/InventoryData.ts +1 -1
  244. package/src/models/InventoryTotals.ts +1 -1
  245. package/src/models/Ipv4Config.ts +1 -1
  246. package/src/models/Job.ts +1 -1
  247. package/src/models/JobStatus.ts +1 -1
  248. package/src/models/Label.ts +1 -1
  249. package/src/models/MigrationEstimationRequest.ts +66 -0
  250. package/src/models/MigrationEstimationResponse.ts +83 -0
  251. package/src/models/MigrationIssue.ts +1 -1
  252. package/src/models/ModelError.ts +1 -9
  253. package/src/models/Network.ts +1 -1
  254. package/src/models/OsInfo.ts +1 -1
  255. package/src/models/PresignedUrl.ts +1 -1
  256. package/src/models/SizingOverCommitRatio.ts +1 -1
  257. package/src/models/SizingResourceConsumption.ts +1 -1
  258. package/src/models/SizingResourceLimits.ts +1 -1
  259. package/src/models/Snapshot.ts +1 -1
  260. package/src/models/Source.ts +1 -1
  261. package/src/models/SourceCreate.ts +1 -1
  262. package/src/models/SourceInfra.ts +1 -1
  263. package/src/models/SourceUpdate.ts +1 -1
  264. package/src/models/Status.ts +1 -1
  265. package/src/models/UpdateInventory.ts +1 -1
  266. package/src/models/VCenter.ts +1 -1
  267. package/src/models/VMResourceBreakdown.ts +1 -1
  268. package/src/models/VMs.ts +1 -1
  269. package/src/models/VmNetwork.ts +1 -1
  270. package/src/models/index.ts +3 -0
  271. package/src/runtime.ts +19 -1
@@ -14,6 +14,7 @@ docs/ClusterSizing.md
14
14
  docs/Datastore.md
15
15
  docs/DiskSizeTierSummary.md
16
16
  docs/DiskTypeSummary.md
17
+ docs/EstimationDetail.md
17
18
  docs/HealthApi.md
18
19
  docs/Histogram.md
19
20
  docs/Host.md
@@ -29,6 +30,8 @@ docs/Job.md
29
30
  docs/JobApi.md
30
31
  docs/JobStatus.md
31
32
  docs/Label.md
33
+ docs/MigrationEstimationRequest.md
34
+ docs/MigrationEstimationResponse.md
32
35
  docs/MigrationIssue.md
33
36
  docs/ModelError.md
34
37
  docs/Network.md
@@ -69,6 +72,7 @@ src/models/ClusterSizing.ts
69
72
  src/models/Datastore.ts
70
73
  src/models/DiskSizeTierSummary.ts
71
74
  src/models/DiskTypeSummary.ts
75
+ src/models/EstimationDetail.ts
72
76
  src/models/Histogram.ts
73
77
  src/models/Host.ts
74
78
  src/models/Info.ts
@@ -80,6 +84,8 @@ src/models/Ipv4Config.ts
80
84
  src/models/Job.ts
81
85
  src/models/JobStatus.ts
82
86
  src/models/Label.ts
87
+ src/models/MigrationEstimationRequest.ts
88
+ src/models/MigrationEstimationResponse.ts
83
89
  src/models/MigrationIssue.ts
84
90
  src/models/ModelError.ts
85
91
  src/models/Network.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @openshift-migration-advisor/planner-sdk@0.5.0
1
+ # @openshift-migration-advisor/planner-sdk@0.5.1-0ae313a75a60
2
2
 
3
3
  A TypeScript SDK client for the raw.githubusercontent.com API.
4
4
 
@@ -53,6 +53,7 @@ All URIs are relative to *https://raw.githubusercontent.com*
53
53
  | Class | Method | HTTP request | Description
54
54
  | ----- | ------ | ------------ | -------------
55
55
  *AssessmentApi* | [**calculateAssessmentClusterRequirements**](docs/AssessmentApi.md#calculateassessmentclusterrequirements) | **POST** /api/v1/assessments/{id}/cluster-requirements |
56
+ *AssessmentApi* | [**calculateMigrationEstimation**](docs/AssessmentApi.md#calculatemigrationestimation) | **POST** /api/v1/assessments/{id}/migration-estimation |
56
57
  *AssessmentApi* | [**createAssessment**](docs/AssessmentApi.md#createassessment) | **POST** /api/v1/assessments |
57
58
  *AssessmentApi* | [**deleteAssessment**](docs/AssessmentApi.md#deleteassessment) | **DELETE** /api/v1/assessments/{id} |
58
59
  *AssessmentApi* | [**getAssessment**](docs/AssessmentApi.md#getassessment) | **GET** /api/v1/assessments/{id} |
@@ -87,6 +88,7 @@ All URIs are relative to *https://raw.githubusercontent.com*
87
88
  - [Datastore](docs/Datastore.md)
88
89
  - [DiskSizeTierSummary](docs/DiskSizeTierSummary.md)
89
90
  - [DiskTypeSummary](docs/DiskTypeSummary.md)
91
+ - [EstimationDetail](docs/EstimationDetail.md)
90
92
  - [Histogram](docs/Histogram.md)
91
93
  - [Host](docs/Host.md)
92
94
  - [Info](docs/Info.md)
@@ -98,6 +100,8 @@ All URIs are relative to *https://raw.githubusercontent.com*
98
100
  - [Job](docs/Job.md)
99
101
  - [JobStatus](docs/JobStatus.md)
100
102
  - [Label](docs/Label.md)
103
+ - [MigrationEstimationRequest](docs/MigrationEstimationRequest.md)
104
+ - [MigrationEstimationResponse](docs/MigrationEstimationResponse.md)
101
105
  - [MigrationIssue](docs/MigrationIssue.md)
102
106
  - [ModelError](docs/ModelError.md)
103
107
  - [Network](docs/Network.md)
@@ -130,7 +134,7 @@ and is automatically generated by the
130
134
  [OpenAPI Generator](https://openapi-generator.tech) project:
131
135
 
132
136
  - API version: `undefined`
133
- - Package version: `0.5.0`
137
+ - Package version: `0.5.1-0ae313a75a60`
134
138
  - Generator version: `7.21.0-SNAPSHOT`
135
139
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
136
140
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Migration Planner API
2
+ * OpenShift Migration Advisor API
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
5
  * The version of the OpenAPI document: undefined
@@ -10,11 +10,15 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime.js';
13
- import type { Assessment, AssessmentForm, AssessmentUpdate, ClusterRequirementsRequest, ClusterRequirementsResponse } from '../models/index.js';
13
+ import type { Assessment, AssessmentForm, AssessmentUpdate, ClusterRequirementsRequest, ClusterRequirementsResponse, MigrationEstimationRequest, MigrationEstimationResponse } from '../models/index.js';
14
14
  export interface CalculateAssessmentClusterRequirementsRequest {
15
15
  id: string;
16
16
  clusterRequirementsRequest: ClusterRequirementsRequest;
17
17
  }
18
+ export interface CalculateMigrationEstimationRequest {
19
+ id: string;
20
+ migrationEstimationRequest: MigrationEstimationRequest;
21
+ }
18
22
  export interface CreateAssessmentRequest {
19
23
  assessmentForm: AssessmentForm;
20
24
  }
@@ -59,6 +63,27 @@ export interface AssessmentApiInterface {
59
63
  * Calculate cluster requirements for an assessment
60
64
  */
61
65
  calculateAssessmentClusterRequirements(requestParameters: CalculateAssessmentClusterRequirementsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ClusterRequirementsResponse>;
66
+ /**
67
+ * Creates request options for calculateMigrationEstimation without sending the request
68
+ * @param {string} id ID of the assessment
69
+ * @param {MigrationEstimationRequest} migrationEstimationRequest
70
+ * @throws {RequiredError}
71
+ * @memberof AssessmentApiInterface
72
+ */
73
+ calculateMigrationEstimationRequestOpts(requestParameters: CalculateMigrationEstimationRequest): Promise<runtime.RequestOpts>;
74
+ /**
75
+ * Calculate migration time estimation for an assessment
76
+ * @param {string} id ID of the assessment
77
+ * @param {MigrationEstimationRequest} migrationEstimationRequest
78
+ * @param {*} [options] Override http request option.
79
+ * @throws {RequiredError}
80
+ * @memberof AssessmentApiInterface
81
+ */
82
+ calculateMigrationEstimationRaw(requestParameters: CalculateMigrationEstimationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<MigrationEstimationResponse>>;
83
+ /**
84
+ * Calculate migration time estimation for an assessment
85
+ */
86
+ calculateMigrationEstimation(requestParameters: CalculateMigrationEstimationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MigrationEstimationResponse>;
62
87
  /**
63
88
  * Creates request options for createAssessment without sending the request
64
89
  * @param {AssessmentForm} assessmentForm
@@ -173,6 +198,18 @@ export declare class AssessmentApi extends runtime.BaseAPI implements Assessment
173
198
  * Calculate cluster requirements for an assessment
174
199
  */
175
200
  calculateAssessmentClusterRequirements(requestParameters: CalculateAssessmentClusterRequirementsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ClusterRequirementsResponse>;
201
+ /**
202
+ * Creates request options for calculateMigrationEstimation without sending the request
203
+ */
204
+ calculateMigrationEstimationRequestOpts(requestParameters: CalculateMigrationEstimationRequest): Promise<runtime.RequestOpts>;
205
+ /**
206
+ * Calculate migration time estimation for an assessment
207
+ */
208
+ calculateMigrationEstimationRaw(requestParameters: CalculateMigrationEstimationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<MigrationEstimationResponse>>;
209
+ /**
210
+ * Calculate migration time estimation for an assessment
211
+ */
212
+ calculateMigrationEstimation(requestParameters: CalculateMigrationEstimationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MigrationEstimationResponse>;
176
213
  /**
177
214
  * Creates request options for createAssessment without sending the request
178
215
  */
@@ -2,7 +2,7 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * Migration Planner API
5
+ * OpenShift Migration Advisor API
6
6
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
  *
8
8
  * The version of the OpenAPI document: undefined
@@ -73,6 +73,50 @@ class AssessmentApi extends runtime.BaseAPI {
73
73
  return yield response.value();
74
74
  });
75
75
  }
76
+ /**
77
+ * Creates request options for calculateMigrationEstimation without sending the request
78
+ */
79
+ calculateMigrationEstimationRequestOpts(requestParameters) {
80
+ return __awaiter(this, void 0, void 0, function* () {
81
+ if (requestParameters['id'] == null) {
82
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling calculateMigrationEstimation().');
83
+ }
84
+ if (requestParameters['migrationEstimationRequest'] == null) {
85
+ throw new runtime.RequiredError('migrationEstimationRequest', 'Required parameter "migrationEstimationRequest" was null or undefined when calling calculateMigrationEstimation().');
86
+ }
87
+ const queryParameters = {};
88
+ const headerParameters = {};
89
+ headerParameters['Content-Type'] = 'application/json';
90
+ let urlPath = `/api/v1/assessments/{id}/migration-estimation`;
91
+ urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
92
+ return {
93
+ path: urlPath,
94
+ method: 'POST',
95
+ headers: headerParameters,
96
+ query: queryParameters,
97
+ body: (0, index_js_1.MigrationEstimationRequestToJSON)(requestParameters['migrationEstimationRequest']),
98
+ };
99
+ });
100
+ }
101
+ /**
102
+ * Calculate migration time estimation for an assessment
103
+ */
104
+ calculateMigrationEstimationRaw(requestParameters, initOverrides) {
105
+ return __awaiter(this, void 0, void 0, function* () {
106
+ const requestOptions = yield this.calculateMigrationEstimationRequestOpts(requestParameters);
107
+ const response = yield this.request(requestOptions, initOverrides);
108
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_js_1.MigrationEstimationResponseFromJSON)(jsonValue));
109
+ });
110
+ }
111
+ /**
112
+ * Calculate migration time estimation for an assessment
113
+ */
114
+ calculateMigrationEstimation(requestParameters, initOverrides) {
115
+ return __awaiter(this, void 0, void 0, function* () {
116
+ const response = yield this.calculateMigrationEstimationRaw(requestParameters, initOverrides);
117
+ return yield response.value();
118
+ });
119
+ }
76
120
  /**
77
121
  * Creates request options for createAssessment without sending the request
78
122
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Migration Planner API
2
+ * OpenShift Migration Advisor API
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
5
  * The version of the OpenAPI document: undefined
@@ -2,7 +2,7 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * Migration Planner API
5
+ * OpenShift Migration Advisor API
6
6
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
  *
8
8
  * The version of the OpenAPI document: undefined
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Migration Planner API
2
+ * OpenShift Migration Advisor API
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
5
  * The version of the OpenAPI document: undefined
@@ -2,7 +2,7 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * Migration Planner API
5
+ * OpenShift Migration Advisor API
6
6
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
  *
8
8
  * The version of the OpenAPI document: undefined
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Migration Planner API
2
+ * OpenShift Migration Advisor API
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
5
  * The version of the OpenAPI document: undefined
@@ -25,14 +25,14 @@ export interface InfoApiInterface {
25
25
  */
26
26
  getInfoRequestOpts(): Promise<runtime.RequestOpts>;
27
27
  /**
28
- * Get migration planner information
28
+ * Get OpenShift Migration Advisor information
29
29
  * @param {*} [options] Override http request option.
30
30
  * @throws {RequiredError}
31
31
  * @memberof InfoApiInterface
32
32
  */
33
33
  getInfoRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Info>>;
34
34
  /**
35
- * Get migration planner information
35
+ * Get OpenShift Migration Advisor information
36
36
  */
37
37
  getInfo(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Info>;
38
38
  }
@@ -45,11 +45,11 @@ export declare class InfoApi extends runtime.BaseAPI implements InfoApiInterface
45
45
  */
46
46
  getInfoRequestOpts(): Promise<runtime.RequestOpts>;
47
47
  /**
48
- * Get migration planner information
48
+ * Get OpenShift Migration Advisor information
49
49
  */
50
50
  getInfoRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Info>>;
51
51
  /**
52
- * Get migration planner information
52
+ * Get OpenShift Migration Advisor information
53
53
  */
54
54
  getInfo(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Info>;
55
55
  }
@@ -2,7 +2,7 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * Migration Planner API
5
+ * OpenShift Migration Advisor API
6
6
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
  *
8
8
  * The version of the OpenAPI document: undefined
@@ -46,7 +46,7 @@ class InfoApi extends runtime.BaseAPI {
46
46
  });
47
47
  }
48
48
  /**
49
- * Get migration planner information
49
+ * Get OpenShift Migration Advisor information
50
50
  */
51
51
  getInfoRaw(initOverrides) {
52
52
  return __awaiter(this, void 0, void 0, function* () {
@@ -56,7 +56,7 @@ class InfoApi extends runtime.BaseAPI {
56
56
  });
57
57
  }
58
58
  /**
59
- * Get migration planner information
59
+ * Get OpenShift Migration Advisor information
60
60
  */
61
61
  getInfo(initOverrides) {
62
62
  return __awaiter(this, void 0, void 0, function* () {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Migration Planner API
2
+ * OpenShift Migration Advisor API
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
5
  * The version of the OpenAPI document: undefined
@@ -2,7 +2,7 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * Migration Planner API
5
+ * OpenShift Migration Advisor API
6
6
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
  *
8
8
  * The version of the OpenAPI document: undefined
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Migration Planner API
2
+ * OpenShift Migration Advisor API
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
5
  * The version of the OpenAPI document: undefined
@@ -2,7 +2,7 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * Migration Planner API
5
+ * OpenShift Migration Advisor API
6
6
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
  *
8
8
  * The version of the OpenAPI document: undefined
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Migration Planner API
2
+ * OpenShift Migration Advisor API
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
5
  * The version of the OpenAPI document: undefined
@@ -10,11 +10,15 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime.js';
13
- import type { Assessment, AssessmentForm, AssessmentUpdate, ClusterRequirementsRequest, ClusterRequirementsResponse } from '../models/index.js';
13
+ import type { Assessment, AssessmentForm, AssessmentUpdate, ClusterRequirementsRequest, ClusterRequirementsResponse, MigrationEstimationRequest, MigrationEstimationResponse } from '../models/index.js';
14
14
  export interface CalculateAssessmentClusterRequirementsRequest {
15
15
  id: string;
16
16
  clusterRequirementsRequest: ClusterRequirementsRequest;
17
17
  }
18
+ export interface CalculateMigrationEstimationRequest {
19
+ id: string;
20
+ migrationEstimationRequest: MigrationEstimationRequest;
21
+ }
18
22
  export interface CreateAssessmentRequest {
19
23
  assessmentForm: AssessmentForm;
20
24
  }
@@ -59,6 +63,27 @@ export interface AssessmentApiInterface {
59
63
  * Calculate cluster requirements for an assessment
60
64
  */
61
65
  calculateAssessmentClusterRequirements(requestParameters: CalculateAssessmentClusterRequirementsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ClusterRequirementsResponse>;
66
+ /**
67
+ * Creates request options for calculateMigrationEstimation without sending the request
68
+ * @param {string} id ID of the assessment
69
+ * @param {MigrationEstimationRequest} migrationEstimationRequest
70
+ * @throws {RequiredError}
71
+ * @memberof AssessmentApiInterface
72
+ */
73
+ calculateMigrationEstimationRequestOpts(requestParameters: CalculateMigrationEstimationRequest): Promise<runtime.RequestOpts>;
74
+ /**
75
+ * Calculate migration time estimation for an assessment
76
+ * @param {string} id ID of the assessment
77
+ * @param {MigrationEstimationRequest} migrationEstimationRequest
78
+ * @param {*} [options] Override http request option.
79
+ * @throws {RequiredError}
80
+ * @memberof AssessmentApiInterface
81
+ */
82
+ calculateMigrationEstimationRaw(requestParameters: CalculateMigrationEstimationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<MigrationEstimationResponse>>;
83
+ /**
84
+ * Calculate migration time estimation for an assessment
85
+ */
86
+ calculateMigrationEstimation(requestParameters: CalculateMigrationEstimationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MigrationEstimationResponse>;
62
87
  /**
63
88
  * Creates request options for createAssessment without sending the request
64
89
  * @param {AssessmentForm} assessmentForm
@@ -173,6 +198,18 @@ export declare class AssessmentApi extends runtime.BaseAPI implements Assessment
173
198
  * Calculate cluster requirements for an assessment
174
199
  */
175
200
  calculateAssessmentClusterRequirements(requestParameters: CalculateAssessmentClusterRequirementsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ClusterRequirementsResponse>;
201
+ /**
202
+ * Creates request options for calculateMigrationEstimation without sending the request
203
+ */
204
+ calculateMigrationEstimationRequestOpts(requestParameters: CalculateMigrationEstimationRequest): Promise<runtime.RequestOpts>;
205
+ /**
206
+ * Calculate migration time estimation for an assessment
207
+ */
208
+ calculateMigrationEstimationRaw(requestParameters: CalculateMigrationEstimationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<MigrationEstimationResponse>>;
209
+ /**
210
+ * Calculate migration time estimation for an assessment
211
+ */
212
+ calculateMigrationEstimation(requestParameters: CalculateMigrationEstimationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MigrationEstimationResponse>;
176
213
  /**
177
214
  * Creates request options for createAssessment without sending the request
178
215
  */
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Migration Planner API
4
+ * OpenShift Migration Advisor API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
7
  * The version of the OpenAPI document: undefined
@@ -21,7 +21,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
21
21
  });
22
22
  };
23
23
  import * as runtime from '../runtime.js';
24
- import { AssessmentFromJSON, AssessmentFormToJSON, AssessmentUpdateToJSON, ClusterRequirementsRequestToJSON, ClusterRequirementsResponseFromJSON, } from '../models/index.js';
24
+ import { AssessmentFromJSON, AssessmentFormToJSON, AssessmentUpdateToJSON, ClusterRequirementsRequestToJSON, ClusterRequirementsResponseFromJSON, MigrationEstimationRequestToJSON, MigrationEstimationResponseFromJSON, } from '../models/index.js';
25
25
  /**
26
26
  *
27
27
  */
@@ -70,6 +70,50 @@ export class AssessmentApi extends runtime.BaseAPI {
70
70
  return yield response.value();
71
71
  });
72
72
  }
73
+ /**
74
+ * Creates request options for calculateMigrationEstimation without sending the request
75
+ */
76
+ calculateMigrationEstimationRequestOpts(requestParameters) {
77
+ return __awaiter(this, void 0, void 0, function* () {
78
+ if (requestParameters['id'] == null) {
79
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling calculateMigrationEstimation().');
80
+ }
81
+ if (requestParameters['migrationEstimationRequest'] == null) {
82
+ throw new runtime.RequiredError('migrationEstimationRequest', 'Required parameter "migrationEstimationRequest" was null or undefined when calling calculateMigrationEstimation().');
83
+ }
84
+ const queryParameters = {};
85
+ const headerParameters = {};
86
+ headerParameters['Content-Type'] = 'application/json';
87
+ let urlPath = `/api/v1/assessments/{id}/migration-estimation`;
88
+ urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
89
+ return {
90
+ path: urlPath,
91
+ method: 'POST',
92
+ headers: headerParameters,
93
+ query: queryParameters,
94
+ body: MigrationEstimationRequestToJSON(requestParameters['migrationEstimationRequest']),
95
+ };
96
+ });
97
+ }
98
+ /**
99
+ * Calculate migration time estimation for an assessment
100
+ */
101
+ calculateMigrationEstimationRaw(requestParameters, initOverrides) {
102
+ return __awaiter(this, void 0, void 0, function* () {
103
+ const requestOptions = yield this.calculateMigrationEstimationRequestOpts(requestParameters);
104
+ const response = yield this.request(requestOptions, initOverrides);
105
+ return new runtime.JSONApiResponse(response, (jsonValue) => MigrationEstimationResponseFromJSON(jsonValue));
106
+ });
107
+ }
108
+ /**
109
+ * Calculate migration time estimation for an assessment
110
+ */
111
+ calculateMigrationEstimation(requestParameters, initOverrides) {
112
+ return __awaiter(this, void 0, void 0, function* () {
113
+ const response = yield this.calculateMigrationEstimationRaw(requestParameters, initOverrides);
114
+ return yield response.value();
115
+ });
116
+ }
73
117
  /**
74
118
  * Creates request options for createAssessment without sending the request
75
119
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Migration Planner API
2
+ * OpenShift Migration Advisor API
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
5
  * The version of the OpenAPI document: undefined
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Migration Planner API
4
+ * OpenShift Migration Advisor API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
7
  * The version of the OpenAPI document: undefined
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Migration Planner API
2
+ * OpenShift Migration Advisor API
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
5
  * The version of the OpenAPI document: undefined
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Migration Planner API
4
+ * OpenShift Migration Advisor API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
7
  * The version of the OpenAPI document: undefined
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Migration Planner API
2
+ * OpenShift Migration Advisor API
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
5
  * The version of the OpenAPI document: undefined
@@ -25,14 +25,14 @@ export interface InfoApiInterface {
25
25
  */
26
26
  getInfoRequestOpts(): Promise<runtime.RequestOpts>;
27
27
  /**
28
- * Get migration planner information
28
+ * Get OpenShift Migration Advisor information
29
29
  * @param {*} [options] Override http request option.
30
30
  * @throws {RequiredError}
31
31
  * @memberof InfoApiInterface
32
32
  */
33
33
  getInfoRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Info>>;
34
34
  /**
35
- * Get migration planner information
35
+ * Get OpenShift Migration Advisor information
36
36
  */
37
37
  getInfo(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Info>;
38
38
  }
@@ -45,11 +45,11 @@ export declare class InfoApi extends runtime.BaseAPI implements InfoApiInterface
45
45
  */
46
46
  getInfoRequestOpts(): Promise<runtime.RequestOpts>;
47
47
  /**
48
- * Get migration planner information
48
+ * Get OpenShift Migration Advisor information
49
49
  */
50
50
  getInfoRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Info>>;
51
51
  /**
52
- * Get migration planner information
52
+ * Get OpenShift Migration Advisor information
53
53
  */
54
54
  getInfo(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Info>;
55
55
  }
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Migration Planner API
4
+ * OpenShift Migration Advisor API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
7
  * The version of the OpenAPI document: undefined
@@ -43,7 +43,7 @@ export class InfoApi extends runtime.BaseAPI {
43
43
  });
44
44
  }
45
45
  /**
46
- * Get migration planner information
46
+ * Get OpenShift Migration Advisor information
47
47
  */
48
48
  getInfoRaw(initOverrides) {
49
49
  return __awaiter(this, void 0, void 0, function* () {
@@ -53,7 +53,7 @@ export class InfoApi extends runtime.BaseAPI {
53
53
  });
54
54
  }
55
55
  /**
56
- * Get migration planner information
56
+ * Get OpenShift Migration Advisor information
57
57
  */
58
58
  getInfo(initOverrides) {
59
59
  return __awaiter(this, void 0, void 0, function* () {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Migration Planner API
2
+ * OpenShift Migration Advisor API
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
5
  * The version of the OpenAPI document: undefined
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Migration Planner API
4
+ * OpenShift Migration Advisor API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
7
  * The version of the OpenAPI document: undefined
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Migration Planner API
2
+ * OpenShift Migration Advisor API
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
5
  * The version of the OpenAPI document: undefined
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Migration Planner API
4
+ * OpenShift Migration Advisor API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
7
  * The version of the OpenAPI document: undefined
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Migration Planner API
2
+ * OpenShift Migration Advisor API
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
5
  * The version of the OpenAPI document: undefined
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Migration Planner API
4
+ * OpenShift Migration Advisor API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
7
  * The version of the OpenAPI document: undefined
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Migration Planner API
2
+ * OpenShift Migration Advisor API
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
5
  * The version of the OpenAPI document: undefined