@openshift-migration-advisor/planner-sdk 0.8.0-c0804255c486 → 0.9.0-a26ff9932eeb

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 (41) hide show
  1. package/.openapi-generator/FILES +6 -0
  2. package/README.md +6 -2
  3. package/dist/apis/AssessmentApi.d.ts +38 -1
  4. package/dist/apis/AssessmentApi.js +44 -0
  5. package/dist/esm/apis/AssessmentApi.d.ts +38 -1
  6. package/dist/esm/apis/AssessmentApi.js +45 -1
  7. package/dist/esm/models/ComplexityOSNameEntry.d.ts +1 -1
  8. package/dist/esm/models/ComplexityOSScoreEntry.d.ts +1 -1
  9. package/dist/esm/models/EstimationContext.d.ts +40 -0
  10. package/dist/esm/models/EstimationContext.js +43 -0
  11. package/dist/esm/models/MigrationComplexityResponse.d.ts +2 -2
  12. package/dist/esm/models/MigrationEstimationByComplexityResponse.d.ts +50 -0
  13. package/dist/esm/models/MigrationEstimationByComplexityResponse.js +51 -0
  14. package/dist/esm/models/OsDiskEstimationEntry.d.ts +53 -0
  15. package/dist/esm/models/OsDiskEstimationEntry.js +55 -0
  16. package/dist/esm/models/index.d.ts +3 -0
  17. package/dist/esm/models/index.js +3 -0
  18. package/dist/models/ComplexityOSNameEntry.d.ts +1 -1
  19. package/dist/models/ComplexityOSScoreEntry.d.ts +1 -1
  20. package/dist/models/EstimationContext.d.ts +40 -0
  21. package/dist/models/EstimationContext.js +50 -0
  22. package/dist/models/MigrationComplexityResponse.d.ts +2 -2
  23. package/dist/models/MigrationEstimationByComplexityResponse.d.ts +50 -0
  24. package/dist/models/MigrationEstimationByComplexityResponse.js +58 -0
  25. package/dist/models/OsDiskEstimationEntry.d.ts +53 -0
  26. package/dist/models/OsDiskEstimationEntry.js +62 -0
  27. package/dist/models/index.d.ts +3 -0
  28. package/dist/models/index.js +3 -0
  29. package/docs/AssessmentApi.md +76 -0
  30. package/docs/EstimationContext.md +36 -0
  31. package/docs/MigrationEstimationByComplexityResponse.md +38 -0
  32. package/docs/OsDiskEstimationEntry.md +40 -0
  33. package/package.json +1 -1
  34. package/src/apis/AssessmentApi.ts +87 -0
  35. package/src/models/ComplexityOSNameEntry.ts +1 -1
  36. package/src/models/ComplexityOSScoreEntry.ts +1 -1
  37. package/src/models/EstimationContext.ts +73 -0
  38. package/src/models/MigrationComplexityResponse.ts +2 -2
  39. package/src/models/MigrationEstimationByComplexityResponse.ts +98 -0
  40. package/src/models/OsDiskEstimationEntry.ts +100 -0
  41. package/src/models/index.ts +3 -0
@@ -0,0 +1,40 @@
1
+
2
+ # OsDiskEstimationEntry
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `score` | number
10
+ `vmCount` | number
11
+ `totalDiskSizeTB` | number
12
+ `estimation` | [{ [key: string]: SchemaEstimationResult; }](SchemaEstimationResult.md)
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import type { OsDiskEstimationEntry } from '@openshift-migration-advisor/planner-sdk'
18
+
19
+ // TODO: Update the object below with actual values
20
+ const example = {
21
+ "score": null,
22
+ "vmCount": null,
23
+ "totalDiskSizeTB": null,
24
+ "estimation": null,
25
+ } satisfies OsDiskEstimationEntry
26
+
27
+ console.log(example)
28
+
29
+ // Convert the instance to a JSON string
30
+ const exampleJSON: string = JSON.stringify(example)
31
+ console.log(exampleJSON)
32
+
33
+ // Parse the JSON string back to an object
34
+ const exampleParsed = JSON.parse(exampleJSON) as OsDiskEstimationEntry
35
+ console.log(exampleParsed)
36
+ ```
37
+
38
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
39
+
40
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openshift-migration-advisor/planner-sdk",
3
- "version": "0.8.0-c0804255c486",
3
+ "version": "0.9.0-a26ff9932eeb",
4
4
  "description": "OpenAPI client for @openshift-migration-advisor/planner-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -22,6 +22,7 @@ import type {
22
22
  ClusterRequirementsResponse,
23
23
  MigrationComplexityRequest,
24
24
  MigrationComplexityResponse,
25
+ MigrationEstimationByComplexityResponse,
25
26
  MigrationEstimationRequest,
26
27
  SchemaEstimationResult,
27
28
  } from '../models/index.js';
@@ -40,6 +41,8 @@ import {
40
41
  MigrationComplexityRequestToJSON,
41
42
  MigrationComplexityResponseFromJSON,
42
43
  MigrationComplexityResponseToJSON,
44
+ MigrationEstimationByComplexityResponseFromJSON,
45
+ MigrationEstimationByComplexityResponseToJSON,
43
46
  MigrationEstimationRequestFromJSON,
44
47
  MigrationEstimationRequestToJSON,
45
48
  SchemaEstimationResultFromJSON,
@@ -61,6 +64,11 @@ export interface CalculateMigrationEstimationRequest {
61
64
  migrationEstimationRequest: MigrationEstimationRequest;
62
65
  }
63
66
 
67
+ export interface CalculateMigrationEstimationByComplexityRequest {
68
+ id: string;
69
+ migrationEstimationRequest: MigrationEstimationRequest;
70
+ }
71
+
64
72
  export interface CreateAssessmentRequest {
65
73
  assessmentForm: AssessmentForm;
66
74
  }
@@ -161,6 +169,30 @@ export interface AssessmentApiInterface {
161
169
  */
162
170
  calculateMigrationEstimation(requestParameters: CalculateMigrationEstimationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<{ [key: string]: SchemaEstimationResult; }>;
163
171
 
172
+ /**
173
+ * Creates request options for calculateMigrationEstimationByComplexity without sending the request
174
+ * @param {string} id ID of the assessment
175
+ * @param {MigrationEstimationRequest} migrationEstimationRequest
176
+ * @throws {RequiredError}
177
+ * @memberof AssessmentApiInterface
178
+ */
179
+ calculateMigrationEstimationByComplexityRequestOpts(requestParameters: CalculateMigrationEstimationByComplexityRequest): Promise<runtime.RequestOpts>;
180
+
181
+ /**
182
+ * Calculate migration time estimation broken down by combined OS+Disk complexity
183
+ * @param {string} id ID of the assessment
184
+ * @param {MigrationEstimationRequest} migrationEstimationRequest
185
+ * @param {*} [options] Override http request option.
186
+ * @throws {RequiredError}
187
+ * @memberof AssessmentApiInterface
188
+ */
189
+ calculateMigrationEstimationByComplexityRaw(requestParameters: CalculateMigrationEstimationByComplexityRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<MigrationEstimationByComplexityResponse>>;
190
+
191
+ /**
192
+ * Calculate migration time estimation broken down by combined OS+Disk complexity
193
+ */
194
+ calculateMigrationEstimationByComplexity(requestParameters: CalculateMigrationEstimationByComplexityRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MigrationEstimationByComplexityResponse>;
195
+
164
196
  /**
165
197
  * Creates request options for createAssessment without sending the request
166
198
  * @param {AssessmentForm} assessmentForm
@@ -445,6 +477,61 @@ export class AssessmentApi extends runtime.BaseAPI implements AssessmentApiInter
445
477
  return await response.value();
446
478
  }
447
479
 
480
+ /**
481
+ * Creates request options for calculateMigrationEstimationByComplexity without sending the request
482
+ */
483
+ async calculateMigrationEstimationByComplexityRequestOpts(requestParameters: CalculateMigrationEstimationByComplexityRequest): Promise<runtime.RequestOpts> {
484
+ if (requestParameters['id'] == null) {
485
+ throw new runtime.RequiredError(
486
+ 'id',
487
+ 'Required parameter "id" was null or undefined when calling calculateMigrationEstimationByComplexity().'
488
+ );
489
+ }
490
+
491
+ if (requestParameters['migrationEstimationRequest'] == null) {
492
+ throw new runtime.RequiredError(
493
+ 'migrationEstimationRequest',
494
+ 'Required parameter "migrationEstimationRequest" was null or undefined when calling calculateMigrationEstimationByComplexity().'
495
+ );
496
+ }
497
+
498
+ const queryParameters: any = {};
499
+
500
+ const headerParameters: runtime.HTTPHeaders = {};
501
+
502
+ headerParameters['Content-Type'] = 'application/json';
503
+
504
+
505
+ let urlPath = `/api/v1/assessments/{id}/migration-estimation/by-complexity`;
506
+ urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
507
+
508
+ return {
509
+ path: urlPath,
510
+ method: 'POST',
511
+ headers: headerParameters,
512
+ query: queryParameters,
513
+ body: MigrationEstimationRequestToJSON(requestParameters['migrationEstimationRequest']),
514
+ };
515
+ }
516
+
517
+ /**
518
+ * Calculate migration time estimation broken down by combined OS+Disk complexity
519
+ */
520
+ async calculateMigrationEstimationByComplexityRaw(requestParameters: CalculateMigrationEstimationByComplexityRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<MigrationEstimationByComplexityResponse>> {
521
+ const requestOptions = await this.calculateMigrationEstimationByComplexityRequestOpts(requestParameters);
522
+ const response = await this.request(requestOptions, initOverrides);
523
+
524
+ return new runtime.JSONApiResponse(response, (jsonValue) => MigrationEstimationByComplexityResponseFromJSON(jsonValue));
525
+ }
526
+
527
+ /**
528
+ * Calculate migration time estimation broken down by combined OS+Disk complexity
529
+ */
530
+ async calculateMigrationEstimationByComplexity(requestParameters: CalculateMigrationEstimationByComplexityRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MigrationEstimationByComplexityResponse> {
531
+ const response = await this.calculateMigrationEstimationByComplexityRaw(requestParameters, initOverrides);
532
+ return await response.value();
533
+ }
534
+
448
535
  /**
449
536
  * Creates request options for createAssessment without sending the request
450
537
  */
@@ -27,7 +27,7 @@ export interface ComplexityOSNameEntry {
27
27
  */
28
28
  osName: string;
29
29
  /**
30
- * Complexity score assigned by ClassifyOS. 0 = unclassified, 1 = least complex, 4 = most complex.
30
+ * Complexity score assigned by ClassifyOS. 0 = unknown, 1 = least complex, 4 = most complex.
31
31
  *
32
32
  * @type {number}
33
33
  * @memberof ComplexityOSNameEntry
@@ -20,7 +20,7 @@ import { mapValues } from '../runtime.js';
20
20
  */
21
21
  export interface ComplexityOSScoreEntry {
22
22
  /**
23
- * Complexity score from 0 to 4, where 1 indicates the least complex OS to migrate and 0 indicates an OS that could not be classified.
23
+ * Complexity score from 0 to 4, where 1 indicates the least complex OS to migrate and 0 indicates an OS with unknown complexity.
24
24
  *
25
25
  * @type {number}
26
26
  * @memberof ComplexityOSScoreEntry
@@ -0,0 +1,73 @@
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: undefined
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 EstimationContext
20
+ */
21
+ export interface EstimationContext {
22
+ /**
23
+ *
24
+ * @type {Array<string>}
25
+ * @memberof EstimationContext
26
+ */
27
+ schemas?: Array<string>;
28
+ /**
29
+ *
30
+ * @type {{ [key: string]: number; }}
31
+ * @memberof EstimationContext
32
+ */
33
+ params?: { [key: string]: number; };
34
+ }
35
+
36
+ /**
37
+ * Check if a given object implements the EstimationContext interface.
38
+ */
39
+ export function instanceOfEstimationContext(value: object): value is EstimationContext {
40
+ return true;
41
+ }
42
+
43
+ export function EstimationContextFromJSON(json: any): EstimationContext {
44
+ return EstimationContextFromJSONTyped(json, false);
45
+ }
46
+
47
+ export function EstimationContextFromJSONTyped(json: any, ignoreDiscriminator: boolean): EstimationContext {
48
+ if (json == null) {
49
+ return json;
50
+ }
51
+ return {
52
+
53
+ 'schemas': json['schemas'] == null ? undefined : json['schemas'],
54
+ 'params': json['params'] == null ? undefined : json['params'],
55
+ };
56
+ }
57
+
58
+ export function EstimationContextToJSON(json: any): EstimationContext {
59
+ return EstimationContextToJSONTyped(json, false);
60
+ }
61
+
62
+ export function EstimationContextToJSONTyped(value?: EstimationContext | null, ignoreDiscriminator: boolean = false): any {
63
+ if (value == null) {
64
+ return value;
65
+ }
66
+
67
+ return {
68
+
69
+ 'schemas': value['schemas'],
70
+ 'params': value['params'],
71
+ };
72
+ }
73
+
@@ -49,7 +49,7 @@ export interface MigrationComplexityResponse {
49
49
  */
50
50
  complexityByDisk: Array<ComplexityDiskScoreEntry>;
51
51
  /**
52
- * OS complexity scores, one entry per score level (0-4). Score 1 indicates the least complex OS to migrate; score 0 indicates an OS that could not be classified. All five score levels are always present.
52
+ * OS complexity scores, one entry per score level (0-4). Score 1 indicates the least complex OS to migrate; score 0 indicates an OS with unknown complexity. All five score levels are always present.
53
53
  *
54
54
  * @type {Array<ComplexityOSScoreEntry>}
55
55
  * @memberof MigrationComplexityResponse
@@ -63,7 +63,7 @@ export interface MigrationComplexityResponse {
63
63
  */
64
64
  diskSizeRatings: { [key: string]: number; };
65
65
  /**
66
- * Per-OS-name score for every OS found in this cluster's inventory. Keys are the OS name strings exactly as they appear in vms.osInfo; values are the numeric complexity score assigned by ClassifyOS (0 = unclassified, 1-4 = increasing complexity). The map contains one entry per distinct OS name in the cluster, regardless of how many VMs run it.
66
+ * Per-OS-name score for every OS found in this cluster's inventory. Keys are the OS name strings exactly as they appear in vms.osInfo; values are the numeric complexity score assigned by ClassifyOS (0 = unknown, 1-4 = increasing complexity). The map contains one entry per distinct OS name in the cluster, regardless of how many VMs run it.
67
67
  *
68
68
  * @type {{ [key: string]: number; }}
69
69
  * @memberof MigrationComplexityResponse
@@ -0,0 +1,98 @@
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: undefined
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 { OsDiskEstimationEntry } from './OsDiskEstimationEntry.js';
17
+ import {
18
+ OsDiskEstimationEntryFromJSON,
19
+ OsDiskEstimationEntryFromJSONTyped,
20
+ OsDiskEstimationEntryToJSON,
21
+ OsDiskEstimationEntryToJSONTyped,
22
+ } from './OsDiskEstimationEntry.js';
23
+ import type { EstimationContext } from './EstimationContext.js';
24
+ import {
25
+ EstimationContextFromJSON,
26
+ EstimationContextFromJSONTyped,
27
+ EstimationContextToJSON,
28
+ EstimationContextToJSONTyped,
29
+ } from './EstimationContext.js';
30
+
31
+ /**
32
+ *
33
+ * @export
34
+ * @interface MigrationEstimationByComplexityResponse
35
+ */
36
+ export interface MigrationEstimationByComplexityResponse {
37
+ /**
38
+ * Combined OS+Disk complexity distribution with per-bucket estimation. All 5 score levels (0-4) always present.
39
+ * @type {Array<OsDiskEstimationEntry>}
40
+ * @memberof MigrationEstimationByComplexityResponse
41
+ */
42
+ complexityByOsDisk: Array<OsDiskEstimationEntry>;
43
+ /**
44
+ * Decision matrix: outer keys are OS scores (0-4), inner keys are disk scores (1-4), values are combined scores.
45
+ * @type {{ [key: string]: { [key: string]: number; }; }}
46
+ * @memberof MigrationEstimationByComplexityResponse
47
+ */
48
+ complexityMatrix: { [key: string]: { [key: string]: number; }; };
49
+ /**
50
+ *
51
+ * @type {EstimationContext}
52
+ * @memberof MigrationEstimationByComplexityResponse
53
+ */
54
+ estimationContext?: EstimationContext;
55
+ }
56
+
57
+ /**
58
+ * Check if a given object implements the MigrationEstimationByComplexityResponse interface.
59
+ */
60
+ export function instanceOfMigrationEstimationByComplexityResponse(value: object): value is MigrationEstimationByComplexityResponse {
61
+ if (!('complexityByOsDisk' in value) || value['complexityByOsDisk'] === undefined) return false;
62
+ if (!('complexityMatrix' in value) || value['complexityMatrix'] === undefined) return false;
63
+ return true;
64
+ }
65
+
66
+ export function MigrationEstimationByComplexityResponseFromJSON(json: any): MigrationEstimationByComplexityResponse {
67
+ return MigrationEstimationByComplexityResponseFromJSONTyped(json, false);
68
+ }
69
+
70
+ export function MigrationEstimationByComplexityResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): MigrationEstimationByComplexityResponse {
71
+ if (json == null) {
72
+ return json;
73
+ }
74
+ return {
75
+
76
+ 'complexityByOsDisk': ((json['complexityByOsDisk'] as Array<any>).map(OsDiskEstimationEntryFromJSON)),
77
+ 'complexityMatrix': json['complexityMatrix'],
78
+ 'estimationContext': json['estimationContext'] == null ? undefined : EstimationContextFromJSON(json['estimationContext']),
79
+ };
80
+ }
81
+
82
+ export function MigrationEstimationByComplexityResponseToJSON(json: any): MigrationEstimationByComplexityResponse {
83
+ return MigrationEstimationByComplexityResponseToJSONTyped(json, false);
84
+ }
85
+
86
+ export function MigrationEstimationByComplexityResponseToJSONTyped(value?: MigrationEstimationByComplexityResponse | null, ignoreDiscriminator: boolean = false): any {
87
+ if (value == null) {
88
+ return value;
89
+ }
90
+
91
+ return {
92
+
93
+ 'complexityByOsDisk': ((value['complexityByOsDisk'] as Array<any>).map(OsDiskEstimationEntryToJSON)),
94
+ 'complexityMatrix': value['complexityMatrix'],
95
+ 'estimationContext': EstimationContextToJSON(value['estimationContext']),
96
+ };
97
+ }
98
+
@@ -0,0 +1,100 @@
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: undefined
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 { SchemaEstimationResult } from './SchemaEstimationResult.js';
17
+ import {
18
+ SchemaEstimationResultFromJSON,
19
+ SchemaEstimationResultFromJSONTyped,
20
+ SchemaEstimationResultToJSON,
21
+ SchemaEstimationResultToJSONTyped,
22
+ } from './SchemaEstimationResult.js';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface OsDiskEstimationEntry
28
+ */
29
+ export interface OsDiskEstimationEntry {
30
+ /**
31
+ * Combined OS+Disk complexity score (0-4).
32
+ * @type {number}
33
+ * @memberof OsDiskEstimationEntry
34
+ */
35
+ score: number;
36
+ /**
37
+ * Number of VMs at this complexity level.
38
+ * @type {number}
39
+ * @memberof OsDiskEstimationEntry
40
+ */
41
+ vmCount: number;
42
+ /**
43
+ * Total provisioned disk across VMs in this bucket (decimal TB). 0.0 when ComplexityDistribution is absent from the inventory.
44
+ * @type {number}
45
+ * @memberof OsDiskEstimationEntry
46
+ */
47
+ totalDiskSizeTB: number;
48
+ /**
49
+ * Full estimation breakdown keyed by schema name. Absent for empty buckets (vmCount == 0).
50
+ * @type {{ [key: string]: SchemaEstimationResult; }}
51
+ * @memberof OsDiskEstimationEntry
52
+ */
53
+ estimation?: { [key: string]: SchemaEstimationResult; };
54
+ }
55
+
56
+ /**
57
+ * Check if a given object implements the OsDiskEstimationEntry interface.
58
+ */
59
+ export function instanceOfOsDiskEstimationEntry(value: object): value is OsDiskEstimationEntry {
60
+ if (!('score' in value) || value['score'] === undefined) return false;
61
+ if (!('vmCount' in value) || value['vmCount'] === undefined) return false;
62
+ if (!('totalDiskSizeTB' in value) || value['totalDiskSizeTB'] === undefined) return false;
63
+ return true;
64
+ }
65
+
66
+ export function OsDiskEstimationEntryFromJSON(json: any): OsDiskEstimationEntry {
67
+ return OsDiskEstimationEntryFromJSONTyped(json, false);
68
+ }
69
+
70
+ export function OsDiskEstimationEntryFromJSONTyped(json: any, ignoreDiscriminator: boolean): OsDiskEstimationEntry {
71
+ if (json == null) {
72
+ return json;
73
+ }
74
+ return {
75
+
76
+ 'score': json['score'],
77
+ 'vmCount': json['vmCount'],
78
+ 'totalDiskSizeTB': json['totalDiskSizeTB'],
79
+ 'estimation': json['estimation'] == null ? undefined : (mapValues(json['estimation'], SchemaEstimationResultFromJSON)),
80
+ };
81
+ }
82
+
83
+ export function OsDiskEstimationEntryToJSON(json: any): OsDiskEstimationEntry {
84
+ return OsDiskEstimationEntryToJSONTyped(json, false);
85
+ }
86
+
87
+ export function OsDiskEstimationEntryToJSONTyped(value?: OsDiskEstimationEntry | null, ignoreDiscriminator: boolean = false): any {
88
+ if (value == null) {
89
+ return value;
90
+ }
91
+
92
+ return {
93
+
94
+ 'score': value['score'],
95
+ 'vmCount': value['vmCount'],
96
+ 'totalDiskSizeTB': value['totalDiskSizeTB'],
97
+ 'estimation': value['estimation'] == null ? undefined : (mapValues(value['estimation'], SchemaEstimationResultToJSON)),
98
+ };
99
+ }
100
+
@@ -14,6 +14,7 @@ export * from './ComplexityOSScoreEntry.js';
14
14
  export * from './Datastore.js';
15
15
  export * from './DiskSizeTierSummary.js';
16
16
  export * from './DiskTypeSummary.js';
17
+ export * from './EstimationContext.js';
17
18
  export * from './EstimationDetail.js';
18
19
  export * from './Histogram.js';
19
20
  export * from './Host.js';
@@ -28,10 +29,12 @@ export * from './JobStatus.js';
28
29
  export * from './Label.js';
29
30
  export * from './MigrationComplexityRequest.js';
30
31
  export * from './MigrationComplexityResponse.js';
32
+ export * from './MigrationEstimationByComplexityResponse.js';
31
33
  export * from './MigrationEstimationRequest.js';
32
34
  export * from './MigrationIssue.js';
33
35
  export * from './ModelError.js';
34
36
  export * from './Network.js';
37
+ export * from './OsDiskEstimationEntry.js';
35
38
  export * from './OsInfo.js';
36
39
  export * from './PresignedUrl.js';
37
40
  export * from './SchemaEstimationResult.js';