@openshift-migration-advisor/planner-sdk 0.5.0 → 0.5.1-3f0453c2e303
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.
- package/.openapi-generator/FILES +6 -0
- package/README.md +6 -2
- package/dist/apis/AssessmentApi.d.ts +39 -2
- package/dist/apis/AssessmentApi.js +45 -1
- package/dist/apis/HealthApi.d.ts +1 -1
- package/dist/apis/HealthApi.js +1 -1
- package/dist/apis/ImageApi.d.ts +1 -1
- package/dist/apis/ImageApi.js +1 -1
- package/dist/apis/InfoApi.d.ts +5 -5
- package/dist/apis/InfoApi.js +3 -3
- package/dist/apis/JobApi.d.ts +1 -1
- package/dist/apis/JobApi.js +1 -1
- package/dist/apis/SourceApi.d.ts +1 -1
- package/dist/apis/SourceApi.js +1 -1
- package/dist/esm/apis/AssessmentApi.d.ts +39 -2
- package/dist/esm/apis/AssessmentApi.js +46 -2
- package/dist/esm/apis/HealthApi.d.ts +1 -1
- package/dist/esm/apis/HealthApi.js +1 -1
- package/dist/esm/apis/ImageApi.d.ts +1 -1
- package/dist/esm/apis/ImageApi.js +1 -1
- package/dist/esm/apis/InfoApi.d.ts +5 -5
- package/dist/esm/apis/InfoApi.js +3 -3
- package/dist/esm/apis/JobApi.d.ts +1 -1
- package/dist/esm/apis/JobApi.js +1 -1
- package/dist/esm/apis/SourceApi.d.ts +1 -1
- package/dist/esm/apis/SourceApi.js +1 -1
- package/dist/esm/models/Agent.d.ts +1 -1
- package/dist/esm/models/Agent.js +1 -1
- package/dist/esm/models/AgentProxy.d.ts +1 -1
- package/dist/esm/models/AgentProxy.js +1 -1
- package/dist/esm/models/Assessment.d.ts +1 -1
- package/dist/esm/models/Assessment.js +1 -1
- package/dist/esm/models/AssessmentForm.d.ts +2 -2
- package/dist/esm/models/AssessmentForm.js +1 -1
- package/dist/esm/models/AssessmentUpdate.d.ts +1 -1
- package/dist/esm/models/AssessmentUpdate.js +1 -1
- package/dist/esm/models/ClusterRequirementsRequest.d.ts +1 -1
- package/dist/esm/models/ClusterRequirementsRequest.js +1 -1
- package/dist/esm/models/ClusterRequirementsResponse.d.ts +1 -1
- package/dist/esm/models/ClusterRequirementsResponse.js +1 -1
- package/dist/esm/models/ClusterSizing.d.ts +1 -1
- package/dist/esm/models/ClusterSizing.js +1 -1
- package/dist/esm/models/Datastore.d.ts +1 -1
- package/dist/esm/models/Datastore.js +1 -1
- package/dist/esm/models/DiskSizeTierSummary.d.ts +1 -1
- package/dist/esm/models/DiskSizeTierSummary.js +1 -1
- package/dist/esm/models/DiskTypeSummary.d.ts +1 -1
- package/dist/esm/models/DiskTypeSummary.js +1 -1
- package/dist/esm/models/EstimationDetail.d.ts +38 -0
- package/dist/esm/models/EstimationDetail.js +47 -0
- package/dist/esm/models/Histogram.d.ts +1 -1
- package/dist/esm/models/Histogram.js +1 -1
- package/dist/esm/models/Host.d.ts +1 -1
- package/dist/esm/models/Host.js +1 -1
- package/dist/esm/models/Info.d.ts +2 -2
- package/dist/esm/models/Info.js +1 -1
- package/dist/esm/models/Infra.d.ts +1 -1
- package/dist/esm/models/Infra.js +1 -1
- package/dist/esm/models/Inventory.d.ts +1 -1
- package/dist/esm/models/Inventory.js +1 -1
- package/dist/esm/models/InventoryData.d.ts +1 -1
- package/dist/esm/models/InventoryData.js +1 -1
- package/dist/esm/models/InventoryTotals.d.ts +1 -1
- package/dist/esm/models/InventoryTotals.js +1 -1
- package/dist/esm/models/Ipv4Config.d.ts +1 -1
- package/dist/esm/models/Ipv4Config.js +1 -1
- package/dist/esm/models/Job.d.ts +1 -1
- package/dist/esm/models/Job.js +1 -1
- package/dist/esm/models/JobStatus.d.ts +1 -1
- package/dist/esm/models/JobStatus.js +1 -1
- package/dist/esm/models/Label.d.ts +1 -1
- package/dist/esm/models/Label.js +1 -1
- package/dist/esm/models/MigrationEstimationRequest.d.ts +32 -0
- package/dist/esm/models/MigrationEstimationRequest.js +43 -0
- package/dist/esm/models/MigrationEstimationResponse.d.ts +41 -0
- package/dist/esm/models/MigrationEstimationResponse.js +49 -0
- package/dist/esm/models/MigrationIssue.d.ts +1 -1
- package/dist/esm/models/MigrationIssue.js +1 -1
- package/dist/esm/models/ModelError.d.ts +1 -7
- package/dist/esm/models/ModelError.js +1 -3
- package/dist/esm/models/Network.d.ts +1 -1
- package/dist/esm/models/Network.js +1 -1
- package/dist/esm/models/OsInfo.d.ts +1 -1
- package/dist/esm/models/OsInfo.js +1 -1
- package/dist/esm/models/PresignedUrl.d.ts +1 -1
- package/dist/esm/models/PresignedUrl.js +1 -1
- package/dist/esm/models/SizingOverCommitRatio.d.ts +1 -1
- package/dist/esm/models/SizingOverCommitRatio.js +1 -1
- package/dist/esm/models/SizingResourceConsumption.d.ts +1 -1
- package/dist/esm/models/SizingResourceConsumption.js +1 -1
- package/dist/esm/models/SizingResourceLimits.d.ts +1 -1
- package/dist/esm/models/SizingResourceLimits.js +1 -1
- package/dist/esm/models/Snapshot.d.ts +1 -1
- package/dist/esm/models/Snapshot.js +1 -1
- package/dist/esm/models/Source.d.ts +1 -1
- package/dist/esm/models/Source.js +1 -1
- package/dist/esm/models/SourceCreate.d.ts +1 -1
- package/dist/esm/models/SourceCreate.js +1 -1
- package/dist/esm/models/SourceInfra.d.ts +1 -1
- package/dist/esm/models/SourceInfra.js +1 -1
- package/dist/esm/models/SourceUpdate.d.ts +1 -1
- package/dist/esm/models/SourceUpdate.js +1 -1
- package/dist/esm/models/Status.d.ts +1 -1
- package/dist/esm/models/Status.js +1 -1
- package/dist/esm/models/UpdateInventory.d.ts +1 -1
- package/dist/esm/models/UpdateInventory.js +1 -1
- package/dist/esm/models/VCenter.d.ts +1 -1
- package/dist/esm/models/VCenter.js +1 -1
- package/dist/esm/models/VMResourceBreakdown.d.ts +1 -1
- package/dist/esm/models/VMResourceBreakdown.js +1 -1
- package/dist/esm/models/VMs.d.ts +1 -1
- package/dist/esm/models/VMs.js +1 -1
- package/dist/esm/models/VmNetwork.d.ts +1 -1
- package/dist/esm/models/VmNetwork.js +1 -1
- package/dist/esm/models/index.d.ts +3 -0
- package/dist/esm/models/index.js +3 -0
- package/dist/esm/runtime.d.ts +1 -1
- package/dist/esm/runtime.js +16 -1
- package/dist/models/Agent.d.ts +1 -1
- package/dist/models/Agent.js +1 -1
- package/dist/models/AgentProxy.d.ts +1 -1
- package/dist/models/AgentProxy.js +1 -1
- package/dist/models/Assessment.d.ts +1 -1
- package/dist/models/Assessment.js +1 -1
- package/dist/models/AssessmentForm.d.ts +2 -2
- package/dist/models/AssessmentForm.js +1 -1
- package/dist/models/AssessmentUpdate.d.ts +1 -1
- package/dist/models/AssessmentUpdate.js +1 -1
- package/dist/models/ClusterRequirementsRequest.d.ts +1 -1
- package/dist/models/ClusterRequirementsRequest.js +1 -1
- package/dist/models/ClusterRequirementsResponse.d.ts +1 -1
- package/dist/models/ClusterRequirementsResponse.js +1 -1
- package/dist/models/ClusterSizing.d.ts +1 -1
- package/dist/models/ClusterSizing.js +1 -1
- package/dist/models/Datastore.d.ts +1 -1
- package/dist/models/Datastore.js +1 -1
- package/dist/models/DiskSizeTierSummary.d.ts +1 -1
- package/dist/models/DiskSizeTierSummary.js +1 -1
- package/dist/models/DiskTypeSummary.d.ts +1 -1
- package/dist/models/DiskTypeSummary.js +1 -1
- package/dist/models/EstimationDetail.d.ts +38 -0
- package/dist/models/EstimationDetail.js +54 -0
- package/dist/models/Histogram.d.ts +1 -1
- package/dist/models/Histogram.js +1 -1
- package/dist/models/Host.d.ts +1 -1
- package/dist/models/Host.js +1 -1
- package/dist/models/Info.d.ts +2 -2
- package/dist/models/Info.js +1 -1
- package/dist/models/Infra.d.ts +1 -1
- package/dist/models/Infra.js +1 -1
- package/dist/models/Inventory.d.ts +1 -1
- package/dist/models/Inventory.js +1 -1
- package/dist/models/InventoryData.d.ts +1 -1
- package/dist/models/InventoryData.js +1 -1
- package/dist/models/InventoryTotals.d.ts +1 -1
- package/dist/models/InventoryTotals.js +1 -1
- package/dist/models/Ipv4Config.d.ts +1 -1
- package/dist/models/Ipv4Config.js +1 -1
- package/dist/models/Job.d.ts +1 -1
- package/dist/models/Job.js +1 -1
- package/dist/models/JobStatus.d.ts +1 -1
- package/dist/models/JobStatus.js +1 -1
- package/dist/models/Label.d.ts +1 -1
- package/dist/models/Label.js +1 -1
- package/dist/models/MigrationEstimationRequest.d.ts +32 -0
- package/dist/models/MigrationEstimationRequest.js +50 -0
- package/dist/models/MigrationEstimationResponse.d.ts +41 -0
- package/dist/models/MigrationEstimationResponse.js +56 -0
- package/dist/models/MigrationIssue.d.ts +1 -1
- package/dist/models/MigrationIssue.js +1 -1
- package/dist/models/ModelError.d.ts +1 -7
- package/dist/models/ModelError.js +1 -3
- package/dist/models/Network.d.ts +1 -1
- package/dist/models/Network.js +1 -1
- package/dist/models/OsInfo.d.ts +1 -1
- package/dist/models/OsInfo.js +1 -1
- package/dist/models/PresignedUrl.d.ts +1 -1
- package/dist/models/PresignedUrl.js +1 -1
- package/dist/models/SizingOverCommitRatio.d.ts +1 -1
- package/dist/models/SizingOverCommitRatio.js +1 -1
- package/dist/models/SizingResourceConsumption.d.ts +1 -1
- package/dist/models/SizingResourceConsumption.js +1 -1
- package/dist/models/SizingResourceLimits.d.ts +1 -1
- package/dist/models/SizingResourceLimits.js +1 -1
- package/dist/models/Snapshot.d.ts +1 -1
- package/dist/models/Snapshot.js +1 -1
- package/dist/models/Source.d.ts +1 -1
- package/dist/models/Source.js +1 -1
- package/dist/models/SourceCreate.d.ts +1 -1
- package/dist/models/SourceCreate.js +1 -1
- package/dist/models/SourceInfra.d.ts +1 -1
- package/dist/models/SourceInfra.js +1 -1
- package/dist/models/SourceUpdate.d.ts +1 -1
- package/dist/models/SourceUpdate.js +1 -1
- package/dist/models/Status.d.ts +1 -1
- package/dist/models/Status.js +1 -1
- package/dist/models/UpdateInventory.d.ts +1 -1
- package/dist/models/UpdateInventory.js +1 -1
- package/dist/models/VCenter.d.ts +1 -1
- package/dist/models/VCenter.js +1 -1
- package/dist/models/VMResourceBreakdown.d.ts +1 -1
- package/dist/models/VMResourceBreakdown.js +1 -1
- package/dist/models/VMs.d.ts +1 -1
- package/dist/models/VMs.js +1 -1
- package/dist/models/VmNetwork.d.ts +1 -1
- package/dist/models/VmNetwork.js +1 -1
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +16 -1
- package/docs/AssessmentApi.md +76 -0
- package/docs/EstimationDetail.md +37 -0
- package/docs/Info.md +1 -1
- package/docs/InfoApi.md +1 -1
- package/docs/MigrationEstimationRequest.md +35 -0
- package/docs/MigrationEstimationResponse.md +37 -0
- package/docs/ModelError.md +0 -2
- package/package.json +1 -1
- package/src/apis/AssessmentApi.ts +91 -1
- package/src/apis/HealthApi.ts +1 -1
- package/src/apis/ImageApi.ts +1 -1
- package/src/apis/InfoApi.ts +5 -5
- package/src/apis/JobApi.ts +1 -1
- package/src/apis/SourceApi.ts +1 -1
- package/src/models/Agent.ts +1 -1
- package/src/models/AgentProxy.ts +1 -1
- package/src/models/Assessment.ts +1 -1
- package/src/models/AssessmentForm.ts +2 -2
- package/src/models/AssessmentUpdate.ts +1 -1
- package/src/models/ClusterRequirementsRequest.ts +1 -1
- package/src/models/ClusterRequirementsResponse.ts +1 -1
- package/src/models/ClusterSizing.ts +1 -1
- package/src/models/Datastore.ts +1 -1
- package/src/models/DiskSizeTierSummary.ts +1 -1
- package/src/models/DiskTypeSummary.ts +1 -1
- package/src/models/EstimationDetail.ts +75 -0
- package/src/models/Histogram.ts +1 -1
- package/src/models/Host.ts +1 -1
- package/src/models/Info.ts +2 -2
- package/src/models/Infra.ts +1 -1
- package/src/models/Inventory.ts +1 -1
- package/src/models/InventoryData.ts +1 -1
- package/src/models/InventoryTotals.ts +1 -1
- package/src/models/Ipv4Config.ts +1 -1
- package/src/models/Job.ts +1 -1
- package/src/models/JobStatus.ts +1 -1
- package/src/models/Label.ts +1 -1
- package/src/models/MigrationEstimationRequest.ts +66 -0
- package/src/models/MigrationEstimationResponse.ts +83 -0
- package/src/models/MigrationIssue.ts +1 -1
- package/src/models/ModelError.ts +1 -9
- package/src/models/Network.ts +1 -1
- package/src/models/OsInfo.ts +1 -1
- package/src/models/PresignedUrl.ts +1 -1
- package/src/models/SizingOverCommitRatio.ts +1 -1
- package/src/models/SizingResourceConsumption.ts +1 -1
- package/src/models/SizingResourceLimits.ts +1 -1
- package/src/models/Snapshot.ts +1 -1
- package/src/models/Source.ts +1 -1
- package/src/models/SourceCreate.ts +1 -1
- package/src/models/SourceInfra.ts +1 -1
- package/src/models/SourceUpdate.ts +1 -1
- package/src/models/Status.ts +1 -1
- package/src/models/UpdateInventory.ts +1 -1
- package/src/models/VCenter.ts +1 -1
- package/src/models/VMResourceBreakdown.ts +1 -1
- package/src/models/VMs.ts +1 -1
- package/src/models/VmNetwork.ts +1 -1
- package/src/models/index.ts +3 -0
- package/src/runtime.ts +19 -1
|
@@ -0,0 +1,83 @@
|
|
|
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 { EstimationDetail } from './EstimationDetail.js';
|
|
17
|
+
import {
|
|
18
|
+
EstimationDetailFromJSON,
|
|
19
|
+
EstimationDetailFromJSONTyped,
|
|
20
|
+
EstimationDetailToJSON,
|
|
21
|
+
EstimationDetailToJSONTyped,
|
|
22
|
+
} from './EstimationDetail.js';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Migration time estimation results
|
|
26
|
+
* @export
|
|
27
|
+
* @interface MigrationEstimationResponse
|
|
28
|
+
*/
|
|
29
|
+
export interface MigrationEstimationResponse {
|
|
30
|
+
/**
|
|
31
|
+
* Total estimated migration duration (formatted as duration string, e.g., "2h30m")
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof MigrationEstimationResponse
|
|
34
|
+
*/
|
|
35
|
+
totalDuration: string;
|
|
36
|
+
/**
|
|
37
|
+
* Breakdown of estimation by calculator
|
|
38
|
+
* @type {{ [key: string]: EstimationDetail; }}
|
|
39
|
+
* @memberof MigrationEstimationResponse
|
|
40
|
+
*/
|
|
41
|
+
breakdown: { [key: string]: EstimationDetail; };
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the MigrationEstimationResponse interface.
|
|
46
|
+
*/
|
|
47
|
+
export function instanceOfMigrationEstimationResponse(value: object): value is MigrationEstimationResponse {
|
|
48
|
+
if (!('totalDuration' in value) || value['totalDuration'] === undefined) return false;
|
|
49
|
+
if (!('breakdown' in value) || value['breakdown'] === undefined) return false;
|
|
50
|
+
return true;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function MigrationEstimationResponseFromJSON(json: any): MigrationEstimationResponse {
|
|
54
|
+
return MigrationEstimationResponseFromJSONTyped(json, false);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export function MigrationEstimationResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): MigrationEstimationResponse {
|
|
58
|
+
if (json == null) {
|
|
59
|
+
return json;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'totalDuration': json['totalDuration'],
|
|
64
|
+
'breakdown': (mapValues(json['breakdown'], EstimationDetailFromJSON)),
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function MigrationEstimationResponseToJSON(json: any): MigrationEstimationResponse {
|
|
69
|
+
return MigrationEstimationResponseToJSONTyped(json, false);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function MigrationEstimationResponseToJSONTyped(value?: MigrationEstimationResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
73
|
+
if (value == null) {
|
|
74
|
+
return value;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
return {
|
|
78
|
+
|
|
79
|
+
'totalDuration': value['totalDuration'],
|
|
80
|
+
'breakdown': (mapValues(value['breakdown'], EstimationDetailToJSON)),
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Migration
|
|
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
|
package/src/models/ModelError.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Migration
|
|
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
|
|
@@ -25,12 +25,6 @@ export interface ModelError {
|
|
|
25
25
|
* @memberof ModelError
|
|
26
26
|
*/
|
|
27
27
|
message: string;
|
|
28
|
-
/**
|
|
29
|
-
* Id of the request generating the error
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof ModelError
|
|
32
|
-
*/
|
|
33
|
-
requestId?: string;
|
|
34
28
|
}
|
|
35
29
|
|
|
36
30
|
/**
|
|
@@ -52,7 +46,6 @@ export function ModelErrorFromJSONTyped(json: any, ignoreDiscriminator: boolean)
|
|
|
52
46
|
return {
|
|
53
47
|
|
|
54
48
|
'message': json['message'],
|
|
55
|
-
'requestId': json['requestId'] == null ? undefined : json['requestId'],
|
|
56
49
|
};
|
|
57
50
|
}
|
|
58
51
|
|
|
@@ -68,7 +61,6 @@ export function ModelErrorToJSONTyped(value?: ModelError | null, ignoreDiscrimin
|
|
|
68
61
|
return {
|
|
69
62
|
|
|
70
63
|
'message': value['message'],
|
|
71
|
-
'requestId': value['requestId'],
|
|
72
64
|
};
|
|
73
65
|
}
|
|
74
66
|
|
package/src/models/Network.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Migration
|
|
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
|
package/src/models/OsInfo.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Migration
|
|
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,7 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Migration
|
|
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,7 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Migration
|
|
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,7 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Migration
|
|
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,7 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Migration
|
|
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
|
package/src/models/Snapshot.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Migration
|
|
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
|
package/src/models/Source.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Migration
|
|
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,7 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Migration
|
|
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,7 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Migration
|
|
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,7 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Migration
|
|
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
|
package/src/models/Status.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Migration
|
|
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,7 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Migration
|
|
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
|
package/src/models/VCenter.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Migration
|
|
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,7 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Migration
|
|
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
|
package/src/models/VMs.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Migration
|
|
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
|
package/src/models/VmNetwork.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Migration
|
|
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
|
package/src/models/index.ts
CHANGED
|
@@ -11,6 +11,7 @@ export * from './ClusterSizing.js';
|
|
|
11
11
|
export * from './Datastore.js';
|
|
12
12
|
export * from './DiskSizeTierSummary.js';
|
|
13
13
|
export * from './DiskTypeSummary.js';
|
|
14
|
+
export * from './EstimationDetail.js';
|
|
14
15
|
export * from './Histogram.js';
|
|
15
16
|
export * from './Host.js';
|
|
16
17
|
export * from './Info.js';
|
|
@@ -22,6 +23,8 @@ export * from './Ipv4Config.js';
|
|
|
22
23
|
export * from './Job.js';
|
|
23
24
|
export * from './JobStatus.js';
|
|
24
25
|
export * from './Label.js';
|
|
26
|
+
export * from './MigrationEstimationRequest.js';
|
|
27
|
+
export * from './MigrationEstimationResponse.js';
|
|
25
28
|
export * from './MigrationIssue.js';
|
|
26
29
|
export * from './ModelError.js';
|
|
27
30
|
export * from './Network.js';
|
package/src/runtime.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Migration
|
|
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
|
|
@@ -261,6 +261,12 @@ export class ResponseError extends Error {
|
|
|
261
261
|
override name: "ResponseError" = "ResponseError";
|
|
262
262
|
constructor(public response: Response, msg?: string) {
|
|
263
263
|
super(msg);
|
|
264
|
+
|
|
265
|
+
// restore prototype chain
|
|
266
|
+
const actualProto = new.target.prototype;
|
|
267
|
+
if (Object.setPrototypeOf) {
|
|
268
|
+
Object.setPrototypeOf(this, actualProto);
|
|
269
|
+
}
|
|
264
270
|
}
|
|
265
271
|
}
|
|
266
272
|
|
|
@@ -268,6 +274,12 @@ export class FetchError extends Error {
|
|
|
268
274
|
override name: "FetchError" = "FetchError";
|
|
269
275
|
constructor(public cause: Error, msg?: string) {
|
|
270
276
|
super(msg);
|
|
277
|
+
|
|
278
|
+
// restore prototype chain
|
|
279
|
+
const actualProto = new.target.prototype;
|
|
280
|
+
if (Object.setPrototypeOf) {
|
|
281
|
+
Object.setPrototypeOf(this, actualProto);
|
|
282
|
+
}
|
|
271
283
|
}
|
|
272
284
|
}
|
|
273
285
|
|
|
@@ -275,6 +287,12 @@ export class RequiredError extends Error {
|
|
|
275
287
|
override name: "RequiredError" = "RequiredError";
|
|
276
288
|
constructor(public field: string, msg?: string) {
|
|
277
289
|
super(msg);
|
|
290
|
+
|
|
291
|
+
// restore prototype chain
|
|
292
|
+
const actualProto = new.target.prototype;
|
|
293
|
+
if (Object.setPrototypeOf) {
|
|
294
|
+
Object.setPrototypeOf(this, actualProto);
|
|
295
|
+
}
|
|
278
296
|
}
|
|
279
297
|
}
|
|
280
298
|
|