@openshift-migration-advisor/agent-sdk 0.20.3 → 0.21.0-3e9e4ee6d5ec
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 +64 -48
- package/.openapi-generator/VERSION +1 -1
- package/README.md +84 -87
- package/dist/apis/AgentApi.d.ts +95 -0
- package/dist/apis/AgentApi.js +109 -0
- package/dist/apis/ApplicationsApi.d.ts +64 -0
- package/dist/apis/ApplicationsApi.js +72 -0
- package/dist/apis/CollectionsApi.d.ts +231 -0
- package/dist/apis/CollectionsApi.js +226 -0
- package/dist/apis/CollectorApi.d.ts +154 -0
- package/dist/apis/CollectorApi.js +196 -0
- package/dist/apis/CredentialsApi.d.ts +168 -0
- package/dist/apis/CredentialsApi.js +187 -0
- package/dist/apis/ForecasterApi.d.ts +375 -0
- package/dist/apis/ForecasterApi.js +397 -0
- package/dist/apis/GroupsApi.d.ts +374 -0
- package/dist/apis/GroupsApi.js +351 -0
- package/dist/apis/InspectorApi.d.ts +202 -0
- package/dist/apis/InspectorApi.js +240 -0
- package/dist/apis/InventoriesApi.d.ts +110 -0
- package/dist/apis/InventoriesApi.js +117 -0
- package/dist/apis/RightsizingApi.d.ts +109 -0
- package/dist/apis/RightsizingApi.js +116 -0
- package/dist/apis/VersionApi.d.ts +56 -0
- package/dist/apis/VersionApi.js +68 -0
- package/dist/apis/VirtualMachinesApi.d.ts +616 -0
- package/dist/apis/VirtualMachinesApi.js +614 -0
- package/dist/apis/index.d.ts +12 -1
- package/dist/apis/index.js +12 -1
- package/dist/esm/apis/AgentApi.d.ts +95 -0
- package/dist/esm/apis/AgentApi.js +105 -0
- package/dist/esm/apis/ApplicationsApi.d.ts +64 -0
- package/dist/esm/apis/ApplicationsApi.js +68 -0
- package/dist/esm/apis/CollectionsApi.d.ts +231 -0
- package/dist/esm/apis/CollectionsApi.js +222 -0
- package/dist/esm/apis/CollectorApi.d.ts +154 -0
- package/dist/esm/apis/CollectorApi.js +192 -0
- package/dist/esm/apis/CredentialsApi.d.ts +168 -0
- package/dist/esm/apis/CredentialsApi.js +183 -0
- package/dist/esm/apis/ForecasterApi.d.ts +375 -0
- package/dist/esm/apis/ForecasterApi.js +393 -0
- package/dist/esm/apis/GroupsApi.d.ts +374 -0
- package/dist/esm/apis/GroupsApi.js +347 -0
- package/dist/esm/apis/InspectorApi.d.ts +202 -0
- package/dist/esm/apis/InspectorApi.js +236 -0
- package/dist/esm/apis/InventoriesApi.d.ts +110 -0
- package/dist/esm/apis/InventoriesApi.js +113 -0
- package/dist/esm/apis/RightsizingApi.d.ts +109 -0
- package/dist/esm/apis/RightsizingApi.js +112 -0
- package/dist/esm/apis/VersionApi.d.ts +56 -0
- package/dist/esm/apis/VersionApi.js +64 -0
- package/dist/esm/apis/VirtualMachinesApi.d.ts +616 -0
- package/dist/esm/apis/VirtualMachinesApi.js +610 -0
- package/dist/esm/apis/index.d.ts +12 -1
- package/dist/esm/apis/index.js +12 -1
- package/dist/esm/models/AgentModeRequest.d.ts +1 -1
- package/dist/esm/models/AgentModeRequest.js +2 -2
- package/dist/esm/models/AgentStatus.d.ts +6 -13
- package/dist/esm/models/AgentStatus.js +8 -14
- package/dist/esm/models/AgentStatusConsoleConnection.d.ts +42 -0
- package/dist/esm/models/AgentStatusConsoleConnection.js +52 -0
- package/dist/esm/models/ApplicationListResponse.d.ts +1 -1
- package/dist/esm/models/ApplicationListResponse.js +1 -1
- package/dist/esm/models/ApplicationOverview.d.ts +4 -4
- package/dist/esm/models/ApplicationOverview.js +1 -1
- package/dist/esm/models/ApplicationVM.d.ts +3 -3
- package/dist/esm/models/ApplicationVM.js +1 -1
- package/dist/esm/models/BatchUpdateExclusionRequest.d.ts +1 -1
- package/dist/esm/models/BatchUpdateExclusionRequest.js +1 -1
- package/dist/esm/models/BenchmarkRun.d.ts +6 -6
- package/dist/esm/models/BenchmarkRun.js +10 -7
- package/dist/esm/models/CapabilityStatus.d.ts +1 -1
- package/dist/esm/models/CapabilityStatus.js +1 -1
- package/dist/esm/models/CapabilityStatusCapabilities.d.ts +1 -1
- package/dist/esm/models/CapabilityStatusCapabilities.js +1 -1
- package/dist/esm/models/ClusterFeatures.d.ts +3 -3
- package/dist/esm/models/ClusterFeatures.js +4 -4
- package/dist/esm/models/ClusterUtilization.d.ts +1 -1
- package/dist/esm/models/ClusterUtilization.js +1 -1
- package/dist/esm/models/Collection.d.ts +38 -0
- package/dist/esm/models/Collection.js +52 -0
- package/dist/esm/models/CollectionAggregate.d.ts +50 -0
- package/dist/esm/models/CollectionAggregate.js +64 -0
- package/dist/esm/models/CollectionComparisonDiff.d.ts +48 -0
- package/dist/esm/models/CollectionComparisonDiff.js +60 -0
- package/dist/esm/models/CollectionComparisonSummary.d.ts +36 -0
- package/dist/esm/models/CollectionComparisonSummary.js +49 -0
- package/dist/esm/models/CollectionComparisonSummaryDiff.d.ts +43 -0
- package/dist/esm/models/CollectionComparisonSummaryDiff.js +56 -0
- package/dist/esm/models/CollectionListResponse.d.ts +31 -0
- package/dist/esm/models/CollectionListResponse.js +44 -0
- package/dist/esm/models/CollectorStatus.d.ts +2 -1
- package/dist/esm/models/CollectorStatus.js +3 -2
- package/dist/esm/models/ComparisonDiffEntry.d.ts +38 -0
- package/dist/esm/models/ComparisonDiffEntry.js +47 -0
- package/dist/esm/models/ComparisonDiffPage.d.ts +42 -0
- package/dist/esm/models/ComparisonDiffPage.js +55 -0
- package/dist/esm/models/CreateGroupRequest.d.ts +4 -4
- package/dist/esm/models/CreateGroupRequest.js +1 -1
- package/dist/esm/models/CredentialStatus.d.ts +1 -1
- package/dist/esm/models/CredentialStatus.js +1 -1
- package/dist/esm/models/Datastore.d.ts +1 -1
- package/dist/esm/models/Datastore.js +1 -1
- package/dist/esm/models/DatastoreDetail.d.ts +7 -17
- package/dist/esm/models/DatastoreDetail.js +1 -10
- package/dist/esm/models/DatastorePairRequest.d.ts +42 -0
- package/dist/esm/models/{DatastorePair.js → DatastorePairRequest.js} +9 -9
- package/dist/esm/models/DeleteLabelGloballyResponse.d.ts +5 -5
- package/dist/esm/models/DeleteLabelGloballyResponse.js +5 -5
- 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/EstimateRange.d.ts +8 -8
- package/dist/esm/models/EstimateRange.js +10 -4
- package/dist/esm/models/ForecastPairStatus.d.ts +78 -0
- package/dist/esm/models/{ForecasterPairStatus.js → ForecastPairStatus.js} +22 -22
- package/dist/esm/models/ForecastStats.d.ts +11 -11
- package/dist/esm/models/ForecastStats.js +33 -17
- package/dist/esm/models/ForecasterStatus.d.ts +7 -7
- package/dist/esm/models/ForecasterStatus.js +8 -6
- package/dist/esm/models/Group.d.ts +8 -4
- package/dist/esm/models/Group.js +8 -5
- package/dist/esm/models/GroupListResponse.d.ts +4 -4
- package/dist/esm/models/GroupListResponse.js +1 -1
- package/dist/esm/models/GroupResponse.d.ts +6 -6
- package/dist/esm/models/GroupResponse.js +4 -4
- package/dist/esm/models/GuestNetwork.d.ts +6 -6
- package/dist/esm/models/GuestNetwork.js +1 -1
- 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/Infra.d.ts +5 -1
- package/dist/esm/models/Infra.js +3 -1
- package/dist/esm/models/InspectionStatus.d.ts +49 -0
- package/dist/esm/models/InspectionStatus.js +57 -0
- package/dist/esm/models/InspectorStatus.d.ts +1 -1
- package/dist/esm/models/InspectorStatus.js +2 -2
- package/dist/esm/models/Inventory.d.ts +3 -21
- package/dist/esm/models/Inventory.js +5 -16
- package/dist/esm/models/Inventory1.d.ts +49 -0
- package/dist/esm/models/Inventory1.js +55 -0
- package/dist/esm/models/InventoryData.d.ts +1 -1
- package/dist/esm/models/InventoryData.js +1 -1
- package/dist/esm/models/IssuesBreakdown.d.ts +1 -1
- package/dist/esm/models/IssuesBreakdown.js +1 -1
- package/dist/esm/models/MigrationIssue.d.ts +1 -1
- package/dist/esm/models/MigrationIssue.js +1 -1
- package/dist/esm/models/Network.d.ts +1 -1
- package/dist/esm/models/Network.js +2 -2
- package/dist/esm/models/OperationCapability.d.ts +1 -1
- package/dist/esm/models/OperationCapability.js +1 -1
- package/dist/esm/models/OsInfo.d.ts +1 -1
- package/dist/esm/models/OsInfo.js +2 -2
- package/dist/esm/models/PairCapability.d.ts +3 -13
- package/dist/esm/models/PairCapability.js +1 -10
- package/dist/esm/models/PairCapabilityRequest.d.ts +3 -8
- package/dist/esm/models/PairCapabilityRequest.js +4 -7
- package/dist/esm/models/Process.d.ts +1 -1
- package/dist/esm/models/Process.js +1 -1
- package/dist/esm/models/RightsizingClusterResponse.d.ts +2 -2
- package/dist/esm/models/RightsizingClusterResponse.js +1 -1
- package/dist/esm/models/RightsizingClusterUtilization.d.ts +13 -15
- package/dist/esm/models/RightsizingClusterUtilization.js +1 -1
- package/dist/esm/models/StartForecasterRequest.d.ts +43 -0
- package/dist/esm/models/{ForecasterStartRequest.js → StartForecasterRequest.js} +12 -15
- package/dist/esm/models/StartInspectionRequest.d.ts +3 -8
- package/dist/esm/models/StartInspectionRequest.js +1 -4
- package/dist/esm/models/StopForecasterPair202Response.d.ts +1 -1
- package/dist/esm/models/StopForecasterPair202Response.js +2 -2
- package/dist/esm/models/StorageIoConfiguration.d.ts +1 -1
- package/dist/esm/models/StorageIoConfiguration.js +2 -2
- package/dist/esm/models/UpdateGroupRequest.d.ts +4 -4
- package/dist/esm/models/UpdateGroupRequest.js +1 -1
- package/dist/esm/models/UpdateInventory.d.ts +3 -3
- package/dist/esm/models/UpdateInventory.js +4 -4
- package/dist/esm/models/UpdateLabelVMsRequest.d.ts +1 -1
- package/dist/esm/models/UpdateLabelVMsRequest.js +1 -1
- package/dist/esm/models/VCenter.d.ts +1 -1
- package/dist/esm/models/VCenter.js +1 -1
- package/dist/esm/models/VMFilterOptionsResponse.d.ts +1 -1
- package/dist/esm/models/VMFilterOptionsResponse.js +1 -1
- package/dist/esm/models/VMLabelsResponse.d.ts +1 -1
- package/dist/esm/models/VMLabelsResponse.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 +5 -1
- package/dist/esm/models/VMs.js +3 -1
- package/dist/esm/models/VcenterCredentials.d.ts +1 -1
- package/dist/esm/models/VcenterCredentials.js +1 -1
- package/dist/esm/models/VddkProperties.d.ts +2 -2
- package/dist/esm/models/VddkProperties.js +1 -1
- package/dist/esm/models/VersionInfo.d.ts +4 -4
- package/dist/esm/models/VersionInfo.js +1 -1
- package/dist/esm/models/VirtualMachine.d.ts +15 -11
- package/dist/esm/models/VirtualMachine.js +10 -6
- package/dist/esm/models/VirtualMachineDetail.d.ts +47 -38
- package/dist/esm/models/VirtualMachineDetail.js +23 -16
- package/dist/esm/models/VirtualMachineDevice.d.ts +30 -0
- package/dist/esm/models/{VMDevice.js → VirtualMachineDevice.js} +9 -9
- package/dist/esm/models/VirtualMachineDisk.d.ts +54 -0
- package/dist/esm/models/{VMDisk.js → VirtualMachineDisk.js} +9 -9
- package/dist/esm/models/VirtualMachineInspectionConcern.d.ts +38 -0
- package/dist/esm/models/{VmInspectionConcern.js → VirtualMachineInspectionConcern.js} +9 -9
- package/dist/esm/models/VirtualMachineInspectionResults.d.ts +31 -0
- package/dist/esm/models/VirtualMachineInspectionResults.js +42 -0
- package/dist/esm/models/VirtualMachineIssue.d.ts +50 -0
- package/dist/esm/models/{VMIssue.js → VirtualMachineIssue.js} +16 -16
- package/dist/esm/models/VirtualMachineListResponse.d.ts +3 -3
- package/dist/esm/models/VirtualMachineListResponse.js +4 -4
- package/dist/esm/models/VirtualMachineNIC.d.ts +38 -0
- package/dist/esm/models/{VMNIC.js → VirtualMachineNIC.js} +9 -13
- package/dist/esm/models/VirtualMachineUpdateRequest.d.ts +1 -1
- package/dist/esm/models/VirtualMachineUpdateRequest.js +1 -1
- package/dist/esm/models/VmUtilizationDetails.d.ts +8 -8
- package/dist/esm/models/VmUtilizationDetails.js +1 -1
- package/dist/esm/models/index.d.ts +20 -23
- package/dist/esm/models/index.js +20 -23
- package/dist/esm/runtime.d.ts +12 -1
- package/dist/esm/runtime.js +49 -3
- package/dist/models/AgentModeRequest.d.ts +1 -1
- package/dist/models/AgentModeRequest.js +2 -2
- package/dist/models/AgentStatus.d.ts +6 -13
- package/dist/models/AgentStatus.js +9 -15
- package/dist/models/AgentStatusConsoleConnection.d.ts +42 -0
- package/dist/models/AgentStatusConsoleConnection.js +60 -0
- package/dist/models/ApplicationListResponse.d.ts +1 -1
- package/dist/models/ApplicationListResponse.js +1 -1
- package/dist/models/ApplicationOverview.d.ts +4 -4
- package/dist/models/ApplicationOverview.js +1 -1
- package/dist/models/ApplicationVM.d.ts +3 -3
- package/dist/models/ApplicationVM.js +1 -1
- package/dist/models/BatchUpdateExclusionRequest.d.ts +1 -1
- package/dist/models/BatchUpdateExclusionRequest.js +1 -1
- package/dist/models/BenchmarkRun.d.ts +6 -6
- package/dist/models/BenchmarkRun.js +10 -7
- package/dist/models/CapabilityStatus.d.ts +1 -1
- package/dist/models/CapabilityStatus.js +1 -1
- package/dist/models/CapabilityStatusCapabilities.d.ts +1 -1
- package/dist/models/CapabilityStatusCapabilities.js +1 -1
- package/dist/models/ClusterFeatures.d.ts +3 -3
- package/dist/models/ClusterFeatures.js +4 -4
- package/dist/models/ClusterUtilization.d.ts +1 -1
- package/dist/models/ClusterUtilization.js +1 -1
- package/dist/models/Collection.d.ts +38 -0
- package/dist/models/Collection.js +59 -0
- package/dist/models/CollectionAggregate.d.ts +50 -0
- package/dist/models/CollectionAggregate.js +71 -0
- package/dist/models/CollectionComparisonDiff.d.ts +48 -0
- package/dist/models/CollectionComparisonDiff.js +68 -0
- package/dist/models/CollectionComparisonSummary.d.ts +36 -0
- package/dist/models/CollectionComparisonSummary.js +56 -0
- package/dist/models/CollectionComparisonSummaryDiff.d.ts +43 -0
- package/dist/models/CollectionComparisonSummaryDiff.js +63 -0
- package/dist/models/CollectionListResponse.d.ts +31 -0
- package/dist/models/CollectionListResponse.js +51 -0
- package/dist/models/CollectorStatus.d.ts +2 -1
- package/dist/models/CollectorStatus.js +3 -2
- package/dist/models/ComparisonDiffEntry.d.ts +38 -0
- package/dist/models/ComparisonDiffEntry.js +54 -0
- package/dist/models/ComparisonDiffPage.d.ts +42 -0
- package/dist/models/ComparisonDiffPage.js +62 -0
- package/dist/models/CreateGroupRequest.d.ts +4 -4
- package/dist/models/CreateGroupRequest.js +1 -1
- package/dist/models/CredentialStatus.d.ts +1 -1
- package/dist/models/CredentialStatus.js +1 -1
- package/dist/models/Datastore.d.ts +1 -1
- package/dist/models/Datastore.js +1 -1
- package/dist/models/DatastoreDetail.d.ts +7 -17
- package/dist/models/DatastoreDetail.js +1 -11
- package/dist/models/DatastorePairRequest.d.ts +42 -0
- package/dist/models/{DatastorePair.js → DatastorePairRequest.js} +14 -14
- package/dist/models/DeleteLabelGloballyResponse.d.ts +5 -5
- package/dist/models/DeleteLabelGloballyResponse.js +5 -5
- 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/EstimateRange.d.ts +8 -8
- package/dist/models/EstimateRange.js +10 -4
- package/dist/models/ForecastPairStatus.d.ts +78 -0
- package/dist/models/{ForecasterPairStatus.js → ForecastPairStatus.js} +28 -28
- package/dist/models/ForecastStats.d.ts +11 -11
- package/dist/models/ForecastStats.js +33 -17
- package/dist/models/ForecasterStatus.d.ts +7 -7
- package/dist/models/ForecasterStatus.js +8 -6
- package/dist/models/Group.d.ts +8 -4
- package/dist/models/Group.js +8 -5
- package/dist/models/GroupListResponse.d.ts +4 -4
- package/dist/models/GroupListResponse.js +1 -1
- package/dist/models/GroupResponse.d.ts +6 -6
- package/dist/models/GroupResponse.js +4 -4
- package/dist/models/GuestNetwork.d.ts +6 -6
- package/dist/models/GuestNetwork.js +1 -1
- 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/Infra.d.ts +5 -1
- package/dist/models/Infra.js +3 -1
- package/dist/models/InspectionStatus.d.ts +49 -0
- package/dist/models/InspectionStatus.js +65 -0
- package/dist/models/InspectorStatus.d.ts +1 -1
- package/dist/models/InspectorStatus.js +2 -2
- package/dist/models/Inventory.d.ts +3 -21
- package/dist/models/Inventory.js +5 -16
- package/dist/models/Inventory1.d.ts +49 -0
- package/dist/models/Inventory1.js +62 -0
- package/dist/models/InventoryData.d.ts +1 -1
- package/dist/models/InventoryData.js +1 -1
- package/dist/models/IssuesBreakdown.d.ts +1 -1
- package/dist/models/IssuesBreakdown.js +1 -1
- package/dist/models/MigrationIssue.d.ts +1 -1
- package/dist/models/MigrationIssue.js +1 -1
- package/dist/models/Network.d.ts +1 -1
- package/dist/models/Network.js +2 -2
- package/dist/models/OperationCapability.d.ts +1 -1
- package/dist/models/OperationCapability.js +1 -1
- package/dist/models/OsInfo.d.ts +1 -1
- package/dist/models/OsInfo.js +2 -2
- package/dist/models/PairCapability.d.ts +3 -13
- package/dist/models/PairCapability.js +1 -11
- package/dist/models/PairCapabilityRequest.d.ts +3 -8
- package/dist/models/PairCapabilityRequest.js +4 -7
- package/dist/models/Process.d.ts +1 -1
- package/dist/models/Process.js +1 -1
- package/dist/models/RightsizingClusterResponse.d.ts +2 -2
- package/dist/models/RightsizingClusterResponse.js +1 -1
- package/dist/models/RightsizingClusterUtilization.d.ts +13 -15
- package/dist/models/RightsizingClusterUtilization.js +1 -1
- package/dist/models/StartForecasterRequest.d.ts +43 -0
- package/dist/models/StartForecasterRequest.js +57 -0
- package/dist/models/StartInspectionRequest.d.ts +3 -8
- package/dist/models/StartInspectionRequest.js +1 -4
- package/dist/models/StopForecasterPair202Response.d.ts +1 -1
- package/dist/models/StopForecasterPair202Response.js +2 -2
- package/dist/models/StorageIoConfiguration.d.ts +1 -1
- package/dist/models/StorageIoConfiguration.js +2 -2
- package/dist/models/UpdateGroupRequest.d.ts +4 -4
- package/dist/models/UpdateGroupRequest.js +1 -1
- package/dist/models/UpdateInventory.d.ts +3 -3
- package/dist/models/UpdateInventory.js +4 -4
- package/dist/models/UpdateLabelVMsRequest.d.ts +1 -1
- package/dist/models/UpdateLabelVMsRequest.js +1 -1
- package/dist/models/VCenter.d.ts +1 -1
- package/dist/models/VCenter.js +1 -1
- package/dist/models/VMFilterOptionsResponse.d.ts +1 -1
- package/dist/models/VMFilterOptionsResponse.js +1 -1
- package/dist/models/VMLabelsResponse.d.ts +1 -1
- package/dist/models/VMLabelsResponse.js +1 -1
- package/dist/models/VMResourceBreakdown.d.ts +1 -1
- package/dist/models/VMResourceBreakdown.js +1 -1
- package/dist/models/VMs.d.ts +5 -1
- package/dist/models/VMs.js +3 -1
- package/dist/models/VcenterCredentials.d.ts +1 -1
- package/dist/models/VcenterCredentials.js +1 -1
- package/dist/models/VddkProperties.d.ts +2 -2
- package/dist/models/VddkProperties.js +1 -1
- package/dist/models/VersionInfo.d.ts +4 -4
- package/dist/models/VersionInfo.js +1 -1
- package/dist/models/VirtualMachine.d.ts +15 -11
- package/dist/models/VirtualMachine.js +10 -6
- package/dist/models/VirtualMachineDetail.d.ts +47 -38
- package/dist/models/VirtualMachineDetail.js +23 -16
- package/dist/models/VirtualMachineDevice.d.ts +30 -0
- package/dist/models/VirtualMachineDevice.js +48 -0
- package/dist/models/VirtualMachineDisk.d.ts +54 -0
- package/dist/models/{VMDisk.js → VirtualMachineDisk.js} +14 -14
- package/dist/models/VirtualMachineInspectionConcern.d.ts +38 -0
- package/dist/models/{VmInspectionConcern.js → VirtualMachineInspectionConcern.js} +14 -14
- package/dist/models/VirtualMachineInspectionResults.d.ts +31 -0
- package/dist/models/VirtualMachineInspectionResults.js +49 -0
- package/dist/models/VirtualMachineIssue.d.ts +50 -0
- package/dist/models/VirtualMachineIssue.js +70 -0
- package/dist/models/VirtualMachineListResponse.d.ts +3 -3
- package/dist/models/VirtualMachineListResponse.js +4 -4
- package/dist/models/VirtualMachineNIC.d.ts +38 -0
- package/dist/models/{VMNIC.js → VirtualMachineNIC.js} +14 -18
- package/dist/models/VirtualMachineUpdateRequest.d.ts +1 -1
- package/dist/models/VirtualMachineUpdateRequest.js +1 -1
- package/dist/models/VmUtilizationDetails.d.ts +8 -8
- package/dist/models/VmUtilizationDetails.js +1 -1
- package/dist/models/index.d.ts +20 -23
- package/dist/models/index.js +20 -23
- package/dist/runtime.d.ts +12 -1
- package/dist/runtime.js +53 -3
- package/docs/AgentApi.md +136 -0
- package/docs/AgentStatus.md +4 -4
- package/docs/{ExportInventory500Response.md → AgentStatusConsoleConnection.md} +6 -4
- package/docs/ApplicationsApi.md +76 -0
- package/docs/BenchmarkRun.md +2 -2
- package/docs/ClusterFeatures.md +2 -2
- package/docs/{ExportInventory400Response.md → Collection.md} +10 -6
- package/docs/{RightsizingClusterListResponse.md → CollectionAggregate.md} +15 -7
- package/docs/CollectionComparisonDiff.md +38 -0
- package/docs/{ForecasterDatastoresRequest.md → CollectionComparisonSummary.md} +8 -6
- package/docs/CollectionComparisonSummaryDiff.md +41 -0
- package/docs/CollectionListResponse.md +34 -0
- package/docs/CollectionsApi.md +294 -0
- package/docs/CollectorApi.md +257 -0
- package/docs/{VmInspectionResults.md → ComparisonDiffEntry.md} +10 -7
- package/docs/{RightsizingReportListResponse.md → ComparisonDiffPage.md} +10 -6
- package/docs/CredentialsApi.md +264 -0
- package/docs/{DatastorePair.md → DatastorePairRequest.md} +4 -4
- package/docs/DeleteLabelGloballyResponse.md +2 -2
- package/docs/EstimateRange.md +0 -1
- package/docs/{ForecasterPairStatus.md → ForecastPairStatus.md} +8 -8
- package/docs/ForecastStats.md +16 -16
- package/docs/ForecasterApi.md +612 -0
- package/docs/ForecasterStatus.md +1 -1
- package/docs/Group.md +2 -0
- package/docs/GroupResponse.md +1 -1
- package/docs/GroupsApi.md +527 -0
- package/docs/Infra.md +2 -0
- package/docs/{VmInspectionStatus.md → InspectionStatus.md} +6 -8
- package/docs/InspectorApi.md +336 -0
- package/docs/InventoriesApi.md +144 -0
- package/docs/Inventory.md +2 -10
- package/docs/{GetInventory200Response.md → Inventory1.md} +4 -8
- package/docs/PairCapabilityRequest.md +1 -3
- package/docs/RightsizingApi.md +148 -0
- package/docs/{ForecasterStartRequest.md → StartForecasterRequest.md} +5 -7
- package/docs/StartInspectionRequest.md +0 -3
- package/docs/UpdateInventory.md +1 -1
- package/docs/VMLabelsResponse.md +2 -2
- package/docs/VMs.md +2 -0
- package/docs/VersionApi.md +66 -0
- package/docs/VirtualMachine.md +5 -3
- package/docs/VirtualMachineDetail.md +9 -5
- package/docs/{VMDevice.md → VirtualMachineDevice.md} +4 -4
- package/docs/{VMDisk.md → VirtualMachineDisk.md} +4 -4
- package/docs/{VmInspectionConcern.md → VirtualMachineInspectionConcern.md} +4 -5
- package/docs/VirtualMachineInspectionResults.md +35 -0
- package/docs/{VMIssue.md → VirtualMachineIssue.md} +4 -4
- package/docs/VirtualMachineListResponse.md +2 -2
- package/docs/{VMNIC.md → VirtualMachineNIC.md} +4 -8
- package/docs/VirtualMachineUpdateRequest.md +2 -2
- package/docs/VirtualMachinesApi.md +984 -0
- package/package.json +1 -1
- package/src/apis/AgentApi.ts +176 -0
- package/src/apis/ApplicationsApi.ts +111 -0
- package/src/apis/CollectionsApi.ts +429 -0
- package/src/apis/CollectorApi.ts +306 -0
- package/src/apis/CredentialsApi.ts +308 -0
- package/src/apis/ForecasterApi.ts +721 -0
- package/src/apis/GroupsApi.ts +718 -0
- package/src/apis/InspectorApi.ts +405 -0
- package/src/apis/InventoriesApi.ts +191 -0
- package/src/apis/RightsizingApi.ts +205 -0
- package/src/apis/VersionApi.ts +94 -0
- package/src/apis/VirtualMachinesApi.ts +1216 -0
- package/src/apis/index.ts +12 -1
- package/src/models/AgentModeRequest.ts +2 -2
- package/src/models/AgentStatus.ts +19 -20
- package/src/models/AgentStatusConsoleConnection.ts +81 -0
- package/src/models/ApplicationListResponse.ts +1 -1
- package/src/models/ApplicationOverview.ts +4 -4
- package/src/models/ApplicationVM.ts +3 -3
- package/src/models/BatchUpdateExclusionRequest.ts +1 -1
- package/src/models/BenchmarkRun.ts +14 -13
- package/src/models/CapabilityStatus.ts +1 -1
- package/src/models/CapabilityStatusCapabilities.ts +1 -1
- package/src/models/ClusterFeatures.ts +6 -6
- package/src/models/ClusterUtilization.ts +1 -1
- package/src/models/Collection.ts +78 -0
- package/src/models/CollectionAggregate.ts +99 -0
- package/src/models/CollectionComparisonDiff.ts +98 -0
- package/src/models/CollectionComparisonSummary.ts +86 -0
- package/src/models/CollectionComparisonSummaryDiff.ts +93 -0
- package/src/models/CollectionListResponse.ts +72 -0
- package/src/models/CollectorStatus.ts +3 -2
- package/src/models/ComparisonDiffEntry.ts +76 -0
- package/src/models/ComparisonDiffPage.ts +85 -0
- package/src/models/CreateGroupRequest.ts +4 -4
- package/src/models/CredentialStatus.ts +1 -1
- package/src/models/Datastore.ts +1 -1
- package/src/models/DatastoreDetail.ts +7 -20
- package/src/models/{DatastorePair.ts → DatastorePairRequest.ts} +15 -15
- package/src/models/DeleteLabelGloballyResponse.ts +8 -8
- package/src/models/DiskSizeTierSummary.ts +1 -1
- package/src/models/DiskTypeSummary.ts +1 -1
- package/src/models/EstimateRange.ts +14 -11
- package/src/models/{ForecasterPairStatus.ts → ForecastPairStatus.ts} +37 -37
- package/src/models/ForecastStats.ts +35 -27
- package/src/models/ForecasterStatus.ts +15 -14
- package/src/models/Group.ts +15 -9
- package/src/models/GroupListResponse.ts +4 -4
- package/src/models/GroupResponse.ts +13 -13
- package/src/models/GuestNetwork.ts +6 -6
- package/src/models/Histogram.ts +1 -1
- package/src/models/Host.ts +1 -1
- package/src/models/Infra.ts +7 -1
- package/src/models/InspectionStatus.ts +90 -0
- package/src/models/InspectorStatus.ts +2 -2
- package/src/models/Inventory.ts +11 -36
- package/src/models/Inventory1.ts +97 -0
- package/src/models/InventoryData.ts +1 -1
- package/src/models/IssuesBreakdown.ts +1 -1
- package/src/models/MigrationIssue.ts +1 -1
- package/src/models/Network.ts +2 -2
- package/src/models/OperationCapability.ts +1 -1
- package/src/models/OsInfo.ts +2 -2
- package/src/models/PairCapability.ts +3 -16
- package/src/models/PairCapabilityRequest.ts +10 -23
- package/src/models/Process.ts +1 -1
- package/src/models/RightsizingClusterResponse.ts +2 -2
- package/src/models/RightsizingClusterUtilization.ts +13 -15
- package/src/models/StartForecasterRequest.ts +90 -0
- package/src/models/StartInspectionRequest.ts +3 -17
- package/src/models/StopForecasterPair202Response.ts +2 -2
- package/src/models/StorageIoConfiguration.ts +2 -2
- package/src/models/UpdateGroupRequest.ts +4 -4
- package/src/models/UpdateInventory.ts +10 -10
- package/src/models/UpdateLabelVMsRequest.ts +1 -1
- package/src/models/VCenter.ts +1 -1
- package/src/models/VMFilterOptionsResponse.ts +1 -1
- package/src/models/VMLabelsResponse.ts +1 -1
- package/src/models/VMResourceBreakdown.ts +1 -1
- package/src/models/VMs.ts +7 -1
- package/src/models/VcenterCredentials.ts +1 -1
- package/src/models/VddkProperties.ts +2 -2
- package/src/models/VersionInfo.ts +4 -4
- package/src/models/VirtualMachine.ts +27 -20
- package/src/models/VirtualMachineDetail.ts +93 -73
- package/src/models/VirtualMachineDevice.ts +63 -0
- package/src/models/{VMDisk.ts → VirtualMachineDisk.ts} +17 -17
- package/src/models/{VmInspectionConcern.ts → VirtualMachineInspectionConcern.ts} +12 -12
- package/src/models/VirtualMachineInspectionResults.ts +71 -0
- package/src/models/VirtualMachineIssue.ts +93 -0
- package/src/models/VirtualMachineListResponse.ts +6 -6
- package/src/models/VirtualMachineNIC.ts +75 -0
- package/src/models/VirtualMachineUpdateRequest.ts +1 -1
- package/src/models/VmUtilizationDetails.ts +8 -8
- package/src/models/index.ts +20 -23
- package/src/runtime.ts +54 -3
- package/dist/apis/DefaultApi.d.ts +0 -1988
- package/dist/apis/DefaultApi.js +0 -2066
- package/dist/esm/apis/DefaultApi.d.ts +0 -1988
- package/dist/esm/apis/DefaultApi.js +0 -2062
- package/dist/esm/models/CollectorStartRequest.d.ts +0 -46
- package/dist/esm/models/CollectorStartRequest.js +0 -49
- package/dist/esm/models/DatastorePair.d.ts +0 -42
- package/dist/esm/models/ExportInventory400Response.d.ts +0 -30
- package/dist/esm/models/ExportInventory400Response.js +0 -41
- package/dist/esm/models/ExportInventory500Response.d.ts +0 -30
- package/dist/esm/models/ExportInventory500Response.js +0 -41
- package/dist/esm/models/ForecasterDatastoresRequest.d.ts +0 -31
- package/dist/esm/models/ForecasterDatastoresRequest.js +0 -42
- package/dist/esm/models/ForecasterPairStatus.d.ts +0 -78
- package/dist/esm/models/ForecasterStartRequest.d.ts +0 -48
- package/dist/esm/models/GetInventory200Response.d.ts +0 -23
- package/dist/esm/models/GetInventory200Response.js +0 -51
- package/dist/esm/models/PutForecasterCredentials403Response.d.ts +0 -34
- package/dist/esm/models/PutForecasterCredentials403Response.js +0 -43
- package/dist/esm/models/RightsizingClusterListResponse.d.ts +0 -35
- package/dist/esm/models/RightsizingClusterListResponse.js +0 -48
- package/dist/esm/models/RightsizingCollectRequest.d.ts +0 -56
- package/dist/esm/models/RightsizingCollectRequest.js +0 -56
- package/dist/esm/models/RightsizingMetricStats.d.ts +0 -50
- package/dist/esm/models/RightsizingMetricStats.js +0 -63
- package/dist/esm/models/RightsizingReport.d.ts +0 -63
- package/dist/esm/models/RightsizingReport.js +0 -76
- package/dist/esm/models/RightsizingReportListResponse.d.ts +0 -35
- package/dist/esm/models/RightsizingReportListResponse.js +0 -48
- package/dist/esm/models/RightsizingReportSummary.d.ts +0 -58
- package/dist/esm/models/RightsizingReportSummary.js +0 -71
- package/dist/esm/models/RightsizingVMReport.d.ts +0 -45
- package/dist/esm/models/RightsizingVMReport.js +0 -57
- package/dist/esm/models/VMDevice.d.ts +0 -30
- package/dist/esm/models/VMDisk.d.ts +0 -54
- package/dist/esm/models/VMIssue.d.ts +0 -50
- package/dist/esm/models/VMNIC.d.ts +0 -46
- package/dist/esm/models/VmInspectionConcern.d.ts +0 -38
- package/dist/esm/models/VmInspectionResults.d.ts +0 -31
- package/dist/esm/models/VmInspectionResults.js +0 -42
- package/dist/esm/models/VmInspectionStatus.d.ts +0 -53
- package/dist/esm/models/VmInspectionStatus.js +0 -61
- package/dist/models/CollectorStartRequest.d.ts +0 -46
- package/dist/models/CollectorStartRequest.js +0 -56
- package/dist/models/DatastorePair.d.ts +0 -42
- package/dist/models/ExportInventory400Response.d.ts +0 -30
- package/dist/models/ExportInventory400Response.js +0 -48
- package/dist/models/ExportInventory500Response.d.ts +0 -30
- package/dist/models/ExportInventory500Response.js +0 -48
- package/dist/models/ForecasterDatastoresRequest.d.ts +0 -31
- package/dist/models/ForecasterDatastoresRequest.js +0 -49
- package/dist/models/ForecasterPairStatus.d.ts +0 -78
- package/dist/models/ForecasterStartRequest.d.ts +0 -48
- package/dist/models/ForecasterStartRequest.js +0 -60
- package/dist/models/GetInventory200Response.d.ts +0 -23
- package/dist/models/GetInventory200Response.js +0 -57
- package/dist/models/PutForecasterCredentials403Response.d.ts +0 -34
- package/dist/models/PutForecasterCredentials403Response.js +0 -50
- package/dist/models/RightsizingClusterListResponse.d.ts +0 -35
- package/dist/models/RightsizingClusterListResponse.js +0 -55
- package/dist/models/RightsizingCollectRequest.d.ts +0 -56
- package/dist/models/RightsizingCollectRequest.js +0 -63
- package/dist/models/RightsizingMetricStats.d.ts +0 -50
- package/dist/models/RightsizingMetricStats.js +0 -70
- package/dist/models/RightsizingReport.d.ts +0 -63
- package/dist/models/RightsizingReport.js +0 -83
- package/dist/models/RightsizingReportListResponse.d.ts +0 -35
- package/dist/models/RightsizingReportListResponse.js +0 -55
- package/dist/models/RightsizingReportSummary.d.ts +0 -58
- package/dist/models/RightsizingReportSummary.js +0 -78
- package/dist/models/RightsizingVMReport.d.ts +0 -45
- package/dist/models/RightsizingVMReport.js +0 -64
- package/dist/models/VMDevice.d.ts +0 -30
- package/dist/models/VMDevice.js +0 -48
- package/dist/models/VMDisk.d.ts +0 -54
- package/dist/models/VMIssue.d.ts +0 -50
- package/dist/models/VMIssue.js +0 -70
- package/dist/models/VMNIC.d.ts +0 -46
- package/dist/models/VmInspectionConcern.d.ts +0 -38
- package/dist/models/VmInspectionResults.d.ts +0 -31
- package/dist/models/VmInspectionResults.js +0 -49
- package/dist/models/VmInspectionStatus.d.ts +0 -53
- package/dist/models/VmInspectionStatus.js +0 -69
- package/docs/CollectorStartRequest.md +0 -43
- package/docs/DefaultApi.md +0 -3361
- package/docs/PutForecasterCredentials403Response.md +0 -36
- package/docs/RightsizingCollectRequest.md +0 -46
- package/docs/RightsizingMetricStats.md +0 -44
- package/docs/RightsizingReport.md +0 -50
- package/docs/RightsizingReportSummary.md +0 -49
- package/docs/RightsizingVMReport.md +0 -40
- package/src/apis/DefaultApi.ts +0 -3986
- package/src/models/CollectorStartRequest.ts +0 -87
- package/src/models/ExportInventory400Response.ts +0 -63
- package/src/models/ExportInventory500Response.ts +0 -63
- package/src/models/ForecasterDatastoresRequest.ts +0 -71
- package/src/models/ForecasterStartRequest.ts +0 -103
- package/src/models/GetInventory200Response.ts +0 -76
- package/src/models/PutForecasterCredentials403Response.ts +0 -69
- package/src/models/RightsizingClusterListResponse.ts +0 -79
- package/src/models/RightsizingCollectRequest.ts +0 -109
- package/src/models/RightsizingMetricStats.ts +0 -99
- package/src/models/RightsizingReport.ts +0 -128
- package/src/models/RightsizingReportListResponse.ts +0 -79
- package/src/models/RightsizingReportSummary.ts +0 -113
- package/src/models/RightsizingVMReport.ts +0 -93
- package/src/models/VMDevice.ts +0 -63
- package/src/models/VMIssue.ts +0 -93
- package/src/models/VMNIC.ts +0 -87
- package/src/models/VmInspectionResults.ts +0 -71
- package/src/models/VmInspectionStatus.ts +0 -97
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Assisted Migration Agent API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v2
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface VirtualMachineIssue
|
|
16
|
+
*/
|
|
17
|
+
export interface VirtualMachineIssue {
|
|
18
|
+
/**
|
|
19
|
+
* Short label
|
|
20
|
+
*/
|
|
21
|
+
label: string;
|
|
22
|
+
/**
|
|
23
|
+
* Detailed description with context and recommendations
|
|
24
|
+
*/
|
|
25
|
+
description: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
category: VirtualMachineIssueCategoryEnum;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
export declare const VirtualMachineIssueCategoryEnum: {
|
|
35
|
+
readonly VirtualMachineIssueCategoryCritical: "Critical";
|
|
36
|
+
readonly VirtualMachineIssueCategoryWarning: "Warning";
|
|
37
|
+
readonly VirtualMachineIssueCategoryInformation: "Information";
|
|
38
|
+
readonly VirtualMachineIssueCategoryAdvisory: "Advisory";
|
|
39
|
+
readonly VirtualMachineIssueCategoryError: "Error";
|
|
40
|
+
readonly VirtualMachineIssueCategoryOther: "Other";
|
|
41
|
+
};
|
|
42
|
+
export type VirtualMachineIssueCategoryEnum = typeof VirtualMachineIssueCategoryEnum[keyof typeof VirtualMachineIssueCategoryEnum];
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the VirtualMachineIssue interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfVirtualMachineIssue(value: object): value is VirtualMachineIssue;
|
|
47
|
+
export declare function VirtualMachineIssueFromJSON(json: any): VirtualMachineIssue;
|
|
48
|
+
export declare function VirtualMachineIssueFromJSONTyped(json: any, ignoreDiscriminator: boolean): VirtualMachineIssue;
|
|
49
|
+
export declare function VirtualMachineIssueToJSON(json: any): VirtualMachineIssue;
|
|
50
|
+
export declare function VirtualMachineIssueToJSONTyped(value?: VirtualMachineIssue | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Assisted Migration Agent API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: v2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -14,18 +14,18 @@
|
|
|
14
14
|
/**
|
|
15
15
|
* @export
|
|
16
16
|
*/
|
|
17
|
-
export const
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
17
|
+
export const VirtualMachineIssueCategoryEnum = {
|
|
18
|
+
VirtualMachineIssueCategoryCritical: 'Critical',
|
|
19
|
+
VirtualMachineIssueCategoryWarning: 'Warning',
|
|
20
|
+
VirtualMachineIssueCategoryInformation: 'Information',
|
|
21
|
+
VirtualMachineIssueCategoryAdvisory: 'Advisory',
|
|
22
|
+
VirtualMachineIssueCategoryError: 'Error',
|
|
23
|
+
VirtualMachineIssueCategoryOther: 'Other',
|
|
24
24
|
};
|
|
25
25
|
/**
|
|
26
|
-
* Check if a given object implements the
|
|
26
|
+
* Check if a given object implements the VirtualMachineIssue interface.
|
|
27
27
|
*/
|
|
28
|
-
export function
|
|
28
|
+
export function instanceOfVirtualMachineIssue(value) {
|
|
29
29
|
if (!('label' in value) || value['label'] === undefined)
|
|
30
30
|
return false;
|
|
31
31
|
if (!('description' in value) || value['description'] === undefined)
|
|
@@ -34,10 +34,10 @@ export function instanceOfVMIssue(value) {
|
|
|
34
34
|
return false;
|
|
35
35
|
return true;
|
|
36
36
|
}
|
|
37
|
-
export function
|
|
38
|
-
return
|
|
37
|
+
export function VirtualMachineIssueFromJSON(json) {
|
|
38
|
+
return VirtualMachineIssueFromJSONTyped(json, false);
|
|
39
39
|
}
|
|
40
|
-
export function
|
|
40
|
+
export function VirtualMachineIssueFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
41
|
if (json == null) {
|
|
42
42
|
return json;
|
|
43
43
|
}
|
|
@@ -47,10 +47,10 @@ export function VMIssueFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
47
47
|
'category': json['category'],
|
|
48
48
|
};
|
|
49
49
|
}
|
|
50
|
-
export function
|
|
51
|
-
return
|
|
50
|
+
export function VirtualMachineIssueToJSON(json) {
|
|
51
|
+
return VirtualMachineIssueToJSONTyped(json, false);
|
|
52
52
|
}
|
|
53
|
-
export function
|
|
53
|
+
export function VirtualMachineIssueToJSONTyped(value, ignoreDiscriminator = false) {
|
|
54
54
|
if (value == null) {
|
|
55
55
|
return value;
|
|
56
56
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Assisted Migration Agent API
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: v2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -19,9 +19,9 @@ export interface VirtualMachineListResponse {
|
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
21
|
*/
|
|
22
|
-
|
|
22
|
+
virtualMachines: Array<VirtualMachine>;
|
|
23
23
|
/**
|
|
24
|
-
* Total number of
|
|
24
|
+
* Total number of VirtualMachines matching the filter
|
|
25
25
|
*/
|
|
26
26
|
total: number;
|
|
27
27
|
/**
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Assisted Migration Agent API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: v2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -16,7 +16,7 @@ import { VirtualMachineFromJSON, VirtualMachineToJSON, } from './VirtualMachine.
|
|
|
16
16
|
* Check if a given object implements the VirtualMachineListResponse interface.
|
|
17
17
|
*/
|
|
18
18
|
export function instanceOfVirtualMachineListResponse(value) {
|
|
19
|
-
if (!('
|
|
19
|
+
if (!('virtualMachines' in value) || value['virtualMachines'] === undefined)
|
|
20
20
|
return false;
|
|
21
21
|
if (!('total' in value) || value['total'] === undefined)
|
|
22
22
|
return false;
|
|
@@ -34,7 +34,7 @@ export function VirtualMachineListResponseFromJSONTyped(json, ignoreDiscriminato
|
|
|
34
34
|
return json;
|
|
35
35
|
}
|
|
36
36
|
return {
|
|
37
|
-
'
|
|
37
|
+
'virtualMachines': (json['virtualMachines'].map(VirtualMachineFromJSON)),
|
|
38
38
|
'total': json['total'],
|
|
39
39
|
'page': json['page'],
|
|
40
40
|
'pageCount': json['pageCount'],
|
|
@@ -48,7 +48,7 @@ export function VirtualMachineListResponseToJSONTyped(value, ignoreDiscriminator
|
|
|
48
48
|
return value;
|
|
49
49
|
}
|
|
50
50
|
return {
|
|
51
|
-
'
|
|
51
|
+
'virtualMachines': (value['virtualMachines'].map(VirtualMachineToJSON)),
|
|
52
52
|
'total': value['total'],
|
|
53
53
|
'page': value['page'],
|
|
54
54
|
'pageCount': value['pageCount'],
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Assisted Migration Agent API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v2
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface VirtualMachineNIC
|
|
16
|
+
*/
|
|
17
|
+
export interface VirtualMachineNIC {
|
|
18
|
+
/**
|
|
19
|
+
* MAC address
|
|
20
|
+
*/
|
|
21
|
+
mac?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Network reference
|
|
24
|
+
*/
|
|
25
|
+
network?: string;
|
|
26
|
+
/**
|
|
27
|
+
* NIC index within the VirtualMachine
|
|
28
|
+
*/
|
|
29
|
+
index?: number;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the VirtualMachineNIC interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfVirtualMachineNIC(value: object): value is VirtualMachineNIC;
|
|
35
|
+
export declare function VirtualMachineNICFromJSON(json: any): VirtualMachineNIC;
|
|
36
|
+
export declare function VirtualMachineNICFromJSONTyped(json: any, ignoreDiscriminator: boolean): VirtualMachineNIC;
|
|
37
|
+
export declare function VirtualMachineNICToJSON(json: any): VirtualMachineNIC;
|
|
38
|
+
export declare function VirtualMachineNICToJSONTyped(value?: VirtualMachineNIC | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Assisted Migration Agent API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: v2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,15 +12,15 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
/**
|
|
15
|
-
* Check if a given object implements the
|
|
15
|
+
* Check if a given object implements the VirtualMachineNIC interface.
|
|
16
16
|
*/
|
|
17
|
-
export function
|
|
17
|
+
export function instanceOfVirtualMachineNIC(value) {
|
|
18
18
|
return true;
|
|
19
19
|
}
|
|
20
|
-
export function
|
|
21
|
-
return
|
|
20
|
+
export function VirtualMachineNICFromJSON(json) {
|
|
21
|
+
return VirtualMachineNICFromJSONTyped(json, false);
|
|
22
22
|
}
|
|
23
|
-
export function
|
|
23
|
+
export function VirtualMachineNICFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
24
|
if (json == null) {
|
|
25
25
|
return json;
|
|
26
26
|
}
|
|
@@ -28,14 +28,12 @@ export function VMNICFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
28
28
|
'mac': json['mac'] == null ? undefined : json['mac'],
|
|
29
29
|
'network': json['network'] == null ? undefined : json['network'],
|
|
30
30
|
'index': json['index'] == null ? undefined : json['index'],
|
|
31
|
-
'ipv4Address': json['ipv4Address'] == null ? undefined : json['ipv4Address'],
|
|
32
|
-
'ipv6Address': json['ipv6Address'] == null ? undefined : json['ipv6Address'],
|
|
33
31
|
};
|
|
34
32
|
}
|
|
35
|
-
export function
|
|
36
|
-
return
|
|
33
|
+
export function VirtualMachineNICToJSON(json) {
|
|
34
|
+
return VirtualMachineNICToJSONTyped(json, false);
|
|
37
35
|
}
|
|
38
|
-
export function
|
|
36
|
+
export function VirtualMachineNICToJSONTyped(value, ignoreDiscriminator = false) {
|
|
39
37
|
if (value == null) {
|
|
40
38
|
return value;
|
|
41
39
|
}
|
|
@@ -43,7 +41,5 @@ export function VMNICToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
43
41
|
'mac': value['mac'],
|
|
44
42
|
'network': value['network'],
|
|
45
43
|
'index': value['index'],
|
|
46
|
-
'ipv4Address': value['ipv4Address'],
|
|
47
|
-
'ipv6Address': value['ipv6Address'],
|
|
48
44
|
};
|
|
49
45
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Assisted Migration Agent API
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: v2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Assisted Migration Agent API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: v2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Assisted Migration Agent API
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: v2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -24,19 +24,19 @@ export interface VmUtilizationDetails {
|
|
|
24
24
|
*/
|
|
25
25
|
vm_name: string;
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
*
|
|
28
28
|
*/
|
|
29
29
|
provisioned_cpus: number;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
*
|
|
32
32
|
*/
|
|
33
33
|
provisioned_memory_mb: number;
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
*
|
|
36
36
|
*/
|
|
37
37
|
provisioned_disk_kb: number;
|
|
38
38
|
/**
|
|
39
|
-
*
|
|
39
|
+
*
|
|
40
40
|
*/
|
|
41
41
|
cpu_avg: number;
|
|
42
42
|
/**
|
|
@@ -52,7 +52,7 @@ export interface VmUtilizationDetails {
|
|
|
52
52
|
*/
|
|
53
53
|
cpu_latest: number;
|
|
54
54
|
/**
|
|
55
|
-
*
|
|
55
|
+
*
|
|
56
56
|
*/
|
|
57
57
|
mem_avg: number;
|
|
58
58
|
/**
|
|
@@ -68,11 +68,11 @@ export interface VmUtilizationDetails {
|
|
|
68
68
|
*/
|
|
69
69
|
mem_latest: number;
|
|
70
70
|
/**
|
|
71
|
-
*
|
|
71
|
+
*
|
|
72
72
|
*/
|
|
73
73
|
disk: number;
|
|
74
74
|
/**
|
|
75
|
-
*
|
|
75
|
+
*
|
|
76
76
|
*/
|
|
77
77
|
confidence: number;
|
|
78
78
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Assisted Migration Agent API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: v2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from './AgentModeRequest.js';
|
|
2
2
|
export * from './AgentStatus.js';
|
|
3
|
+
export * from './AgentStatusConsoleConnection.js';
|
|
3
4
|
export * from './ApplicationListResponse.js';
|
|
4
5
|
export * from './ApplicationOverview.js';
|
|
5
6
|
export * from './ApplicationVM.js';
|
|
@@ -9,25 +10,27 @@ export * from './CapabilityStatus.js';
|
|
|
9
10
|
export * from './CapabilityStatusCapabilities.js';
|
|
10
11
|
export * from './ClusterFeatures.js';
|
|
11
12
|
export * from './ClusterUtilization.js';
|
|
12
|
-
export * from './
|
|
13
|
+
export * from './Collection.js';
|
|
14
|
+
export * from './CollectionAggregate.js';
|
|
15
|
+
export * from './CollectionComparisonDiff.js';
|
|
16
|
+
export * from './CollectionComparisonSummary.js';
|
|
17
|
+
export * from './CollectionComparisonSummaryDiff.js';
|
|
18
|
+
export * from './CollectionListResponse.js';
|
|
13
19
|
export * from './CollectorStatus.js';
|
|
20
|
+
export * from './ComparisonDiffEntry.js';
|
|
21
|
+
export * from './ComparisonDiffPage.js';
|
|
14
22
|
export * from './CreateGroupRequest.js';
|
|
15
23
|
export * from './CredentialStatus.js';
|
|
16
24
|
export * from './Datastore.js';
|
|
17
25
|
export * from './DatastoreDetail.js';
|
|
18
|
-
export * from './
|
|
26
|
+
export * from './DatastorePairRequest.js';
|
|
19
27
|
export * from './DeleteLabelGloballyResponse.js';
|
|
20
28
|
export * from './DiskSizeTierSummary.js';
|
|
21
29
|
export * from './DiskTypeSummary.js';
|
|
22
30
|
export * from './EstimateRange.js';
|
|
23
|
-
export * from './
|
|
24
|
-
export * from './ExportInventory500Response.js';
|
|
31
|
+
export * from './ForecastPairStatus.js';
|
|
25
32
|
export * from './ForecastStats.js';
|
|
26
|
-
export * from './ForecasterDatastoresRequest.js';
|
|
27
|
-
export * from './ForecasterPairStatus.js';
|
|
28
|
-
export * from './ForecasterStartRequest.js';
|
|
29
33
|
export * from './ForecasterStatus.js';
|
|
30
|
-
export * from './GetInventory200Response.js';
|
|
31
34
|
export * from './Group.js';
|
|
32
35
|
export * from './GroupListResponse.js';
|
|
33
36
|
export * from './GroupResponse.js';
|
|
@@ -35,8 +38,10 @@ export * from './GuestNetwork.js';
|
|
|
35
38
|
export * from './Histogram.js';
|
|
36
39
|
export * from './Host.js';
|
|
37
40
|
export * from './Infra.js';
|
|
41
|
+
export * from './InspectionStatus.js';
|
|
38
42
|
export * from './InspectorStatus.js';
|
|
39
43
|
export * from './Inventory.js';
|
|
44
|
+
export * from './Inventory1.js';
|
|
40
45
|
export * from './InventoryData.js';
|
|
41
46
|
export * from './IssuesBreakdown.js';
|
|
42
47
|
export * from './MigrationIssue.js';
|
|
@@ -46,16 +51,9 @@ export * from './OsInfo.js';
|
|
|
46
51
|
export * from './PairCapability.js';
|
|
47
52
|
export * from './PairCapabilityRequest.js';
|
|
48
53
|
export * from './Process.js';
|
|
49
|
-
export * from './PutForecasterCredentials403Response.js';
|
|
50
|
-
export * from './RightsizingClusterListResponse.js';
|
|
51
54
|
export * from './RightsizingClusterResponse.js';
|
|
52
55
|
export * from './RightsizingClusterUtilization.js';
|
|
53
|
-
export * from './
|
|
54
|
-
export * from './RightsizingMetricStats.js';
|
|
55
|
-
export * from './RightsizingReport.js';
|
|
56
|
-
export * from './RightsizingReportListResponse.js';
|
|
57
|
-
export * from './RightsizingReportSummary.js';
|
|
58
|
-
export * from './RightsizingVMReport.js';
|
|
56
|
+
export * from './StartForecasterRequest.js';
|
|
59
57
|
export * from './StartInspectionRequest.js';
|
|
60
58
|
export * from './StopForecasterPair202Response.js';
|
|
61
59
|
export * from './StorageIoConfiguration.js';
|
|
@@ -63,12 +61,8 @@ export * from './UpdateGroupRequest.js';
|
|
|
63
61
|
export * from './UpdateInventory.js';
|
|
64
62
|
export * from './UpdateLabelVMsRequest.js';
|
|
65
63
|
export * from './VCenter.js';
|
|
66
|
-
export * from './VMDevice.js';
|
|
67
|
-
export * from './VMDisk.js';
|
|
68
64
|
export * from './VMFilterOptionsResponse.js';
|
|
69
|
-
export * from './VMIssue.js';
|
|
70
65
|
export * from './VMLabelsResponse.js';
|
|
71
|
-
export * from './VMNIC.js';
|
|
72
66
|
export * from './VMResourceBreakdown.js';
|
|
73
67
|
export * from './VMs.js';
|
|
74
68
|
export * from './VcenterCredentials.js';
|
|
@@ -76,9 +70,12 @@ export * from './VddkProperties.js';
|
|
|
76
70
|
export * from './VersionInfo.js';
|
|
77
71
|
export * from './VirtualMachine.js';
|
|
78
72
|
export * from './VirtualMachineDetail.js';
|
|
73
|
+
export * from './VirtualMachineDevice.js';
|
|
74
|
+
export * from './VirtualMachineDisk.js';
|
|
75
|
+
export * from './VirtualMachineInspectionConcern.js';
|
|
76
|
+
export * from './VirtualMachineInspectionResults.js';
|
|
77
|
+
export * from './VirtualMachineIssue.js';
|
|
79
78
|
export * from './VirtualMachineListResponse.js';
|
|
79
|
+
export * from './VirtualMachineNIC.js';
|
|
80
80
|
export * from './VirtualMachineUpdateRequest.js';
|
|
81
|
-
export * from './VmInspectionConcern.js';
|
|
82
|
-
export * from './VmInspectionResults.js';
|
|
83
|
-
export * from './VmInspectionStatus.js';
|
|
84
81
|
export * from './VmUtilizationDetails.js';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export * from './AgentModeRequest.js';
|
|
4
4
|
export * from './AgentStatus.js';
|
|
5
|
+
export * from './AgentStatusConsoleConnection.js';
|
|
5
6
|
export * from './ApplicationListResponse.js';
|
|
6
7
|
export * from './ApplicationOverview.js';
|
|
7
8
|
export * from './ApplicationVM.js';
|
|
@@ -11,25 +12,27 @@ export * from './CapabilityStatus.js';
|
|
|
11
12
|
export * from './CapabilityStatusCapabilities.js';
|
|
12
13
|
export * from './ClusterFeatures.js';
|
|
13
14
|
export * from './ClusterUtilization.js';
|
|
14
|
-
export * from './
|
|
15
|
+
export * from './Collection.js';
|
|
16
|
+
export * from './CollectionAggregate.js';
|
|
17
|
+
export * from './CollectionComparisonDiff.js';
|
|
18
|
+
export * from './CollectionComparisonSummary.js';
|
|
19
|
+
export * from './CollectionComparisonSummaryDiff.js';
|
|
20
|
+
export * from './CollectionListResponse.js';
|
|
15
21
|
export * from './CollectorStatus.js';
|
|
22
|
+
export * from './ComparisonDiffEntry.js';
|
|
23
|
+
export * from './ComparisonDiffPage.js';
|
|
16
24
|
export * from './CreateGroupRequest.js';
|
|
17
25
|
export * from './CredentialStatus.js';
|
|
18
26
|
export * from './Datastore.js';
|
|
19
27
|
export * from './DatastoreDetail.js';
|
|
20
|
-
export * from './
|
|
28
|
+
export * from './DatastorePairRequest.js';
|
|
21
29
|
export * from './DeleteLabelGloballyResponse.js';
|
|
22
30
|
export * from './DiskSizeTierSummary.js';
|
|
23
31
|
export * from './DiskTypeSummary.js';
|
|
24
32
|
export * from './EstimateRange.js';
|
|
25
|
-
export * from './
|
|
26
|
-
export * from './ExportInventory500Response.js';
|
|
33
|
+
export * from './ForecastPairStatus.js';
|
|
27
34
|
export * from './ForecastStats.js';
|
|
28
|
-
export * from './ForecasterDatastoresRequest.js';
|
|
29
|
-
export * from './ForecasterPairStatus.js';
|
|
30
|
-
export * from './ForecasterStartRequest.js';
|
|
31
35
|
export * from './ForecasterStatus.js';
|
|
32
|
-
export * from './GetInventory200Response.js';
|
|
33
36
|
export * from './Group.js';
|
|
34
37
|
export * from './GroupListResponse.js';
|
|
35
38
|
export * from './GroupResponse.js';
|
|
@@ -37,8 +40,10 @@ export * from './GuestNetwork.js';
|
|
|
37
40
|
export * from './Histogram.js';
|
|
38
41
|
export * from './Host.js';
|
|
39
42
|
export * from './Infra.js';
|
|
43
|
+
export * from './InspectionStatus.js';
|
|
40
44
|
export * from './InspectorStatus.js';
|
|
41
45
|
export * from './Inventory.js';
|
|
46
|
+
export * from './Inventory1.js';
|
|
42
47
|
export * from './InventoryData.js';
|
|
43
48
|
export * from './IssuesBreakdown.js';
|
|
44
49
|
export * from './MigrationIssue.js';
|
|
@@ -48,16 +53,9 @@ export * from './OsInfo.js';
|
|
|
48
53
|
export * from './PairCapability.js';
|
|
49
54
|
export * from './PairCapabilityRequest.js';
|
|
50
55
|
export * from './Process.js';
|
|
51
|
-
export * from './PutForecasterCredentials403Response.js';
|
|
52
|
-
export * from './RightsizingClusterListResponse.js';
|
|
53
56
|
export * from './RightsizingClusterResponse.js';
|
|
54
57
|
export * from './RightsizingClusterUtilization.js';
|
|
55
|
-
export * from './
|
|
56
|
-
export * from './RightsizingMetricStats.js';
|
|
57
|
-
export * from './RightsizingReport.js';
|
|
58
|
-
export * from './RightsizingReportListResponse.js';
|
|
59
|
-
export * from './RightsizingReportSummary.js';
|
|
60
|
-
export * from './RightsizingVMReport.js';
|
|
58
|
+
export * from './StartForecasterRequest.js';
|
|
61
59
|
export * from './StartInspectionRequest.js';
|
|
62
60
|
export * from './StopForecasterPair202Response.js';
|
|
63
61
|
export * from './StorageIoConfiguration.js';
|
|
@@ -65,12 +63,8 @@ export * from './UpdateGroupRequest.js';
|
|
|
65
63
|
export * from './UpdateInventory.js';
|
|
66
64
|
export * from './UpdateLabelVMsRequest.js';
|
|
67
65
|
export * from './VCenter.js';
|
|
68
|
-
export * from './VMDevice.js';
|
|
69
|
-
export * from './VMDisk.js';
|
|
70
66
|
export * from './VMFilterOptionsResponse.js';
|
|
71
|
-
export * from './VMIssue.js';
|
|
72
67
|
export * from './VMLabelsResponse.js';
|
|
73
|
-
export * from './VMNIC.js';
|
|
74
68
|
export * from './VMResourceBreakdown.js';
|
|
75
69
|
export * from './VMs.js';
|
|
76
70
|
export * from './VcenterCredentials.js';
|
|
@@ -78,9 +72,12 @@ export * from './VddkProperties.js';
|
|
|
78
72
|
export * from './VersionInfo.js';
|
|
79
73
|
export * from './VirtualMachine.js';
|
|
80
74
|
export * from './VirtualMachineDetail.js';
|
|
75
|
+
export * from './VirtualMachineDevice.js';
|
|
76
|
+
export * from './VirtualMachineDisk.js';
|
|
77
|
+
export * from './VirtualMachineInspectionConcern.js';
|
|
78
|
+
export * from './VirtualMachineInspectionResults.js';
|
|
79
|
+
export * from './VirtualMachineIssue.js';
|
|
81
80
|
export * from './VirtualMachineListResponse.js';
|
|
81
|
+
export * from './VirtualMachineNIC.js';
|
|
82
82
|
export * from './VirtualMachineUpdateRequest.js';
|
|
83
|
-
export * from './VmInspectionConcern.js';
|
|
84
|
-
export * from './VmInspectionResults.js';
|
|
85
|
-
export * from './VmInspectionStatus.js';
|
|
86
83
|
export * from './VmUtilizationDetails.js';
|
package/dist/esm/runtime.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Assisted Migration Agent API
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: v2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -124,6 +124,17 @@ export interface RequestOpts {
|
|
|
124
124
|
}
|
|
125
125
|
export declare function querystring(params: HTTPQuery, prefix?: string): string;
|
|
126
126
|
export declare function exists(json: any, key: string): boolean;
|
|
127
|
+
/**
|
|
128
|
+
* Every generated date call site routes through these.
|
|
129
|
+
*
|
|
130
|
+
* `format: date` is a calendar date, with no time and no offset, so it is converted
|
|
131
|
+
* against the local calendar on both ends: they have to agree or the date shifts by
|
|
132
|
+
* a day. `format: date-time` is an instant and uses UTC.
|
|
133
|
+
*/
|
|
134
|
+
export declare function serializeDateTime(value: Date): string;
|
|
135
|
+
export declare function serializeDate(value: Date): string;
|
|
136
|
+
export declare function parseDate(value: Date | string): Date;
|
|
137
|
+
export declare function parseDateTime(value: any): Date;
|
|
127
138
|
export declare function mapValues(data: any, fn: (item: any) => any): {
|
|
128
139
|
[key: string]: any;
|
|
129
140
|
};
|
package/dist/esm/runtime.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Assisted Migration Agent API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: v2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -20,7 +20,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
20
20
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
|
-
export const BASE_PATH = "https://raw.githubusercontent.com/api/
|
|
23
|
+
export const BASE_PATH = "https://raw.githubusercontent.com/api/v2".replace(/\/+$/, "");
|
|
24
24
|
export class Configuration {
|
|
25
25
|
constructor(configuration = {}) {
|
|
26
26
|
this.configuration = configuration;
|
|
@@ -278,7 +278,7 @@ function querystringSingleKey(key, value, keyPrefix = '') {
|
|
|
278
278
|
return querystringSingleKey(key, valueAsArray, keyPrefix);
|
|
279
279
|
}
|
|
280
280
|
if (value instanceof Date) {
|
|
281
|
-
return `${encodeURIComponent(fullKey)}=${encodeURIComponent(value
|
|
281
|
+
return `${encodeURIComponent(fullKey)}=${encodeURIComponent(serializeDateTime(value))}`;
|
|
282
282
|
}
|
|
283
283
|
if (value instanceof Object) {
|
|
284
284
|
return querystring(value, fullKey);
|
|
@@ -289,6 +289,52 @@ export function exists(json, key) {
|
|
|
289
289
|
const value = json[key];
|
|
290
290
|
return value !== null && value !== undefined;
|
|
291
291
|
}
|
|
292
|
+
/**
|
|
293
|
+
* Every generated date call site routes through these.
|
|
294
|
+
*
|
|
295
|
+
* `format: date` is a calendar date, with no time and no offset, so it is converted
|
|
296
|
+
* against the local calendar on both ends: they have to agree or the date shifts by
|
|
297
|
+
* a day. `format: date-time` is an instant and uses UTC.
|
|
298
|
+
*/
|
|
299
|
+
export function serializeDateTime(value) {
|
|
300
|
+
return value.toISOString();
|
|
301
|
+
}
|
|
302
|
+
export function serializeDate(value) {
|
|
303
|
+
if (isNaN(value.getTime())) {
|
|
304
|
+
throw new RangeError('Invalid time value');
|
|
305
|
+
}
|
|
306
|
+
const year = ('000' + value.getFullYear()).slice(-4);
|
|
307
|
+
const month = ('0' + (value.getMonth() + 1)).slice(-2);
|
|
308
|
+
const day = ('0' + value.getDate()).slice(-2);
|
|
309
|
+
return `${year}-${month}-${day}`;
|
|
310
|
+
}
|
|
311
|
+
export function parseDate(value) {
|
|
312
|
+
if (value instanceof Date) {
|
|
313
|
+
return value;
|
|
314
|
+
}
|
|
315
|
+
// `new Date("2026-08-05")` would parse as UTC midnight: a different day west of UTC.
|
|
316
|
+
// Local midnight is the stated day everywhere. setFullYear avoids the 1900 offset the
|
|
317
|
+
// multi-argument constructor applies to years 0-99.
|
|
318
|
+
const fullDate = /^(\d{4})-(\d{2})-(\d{2})$/.exec(String(value));
|
|
319
|
+
if (fullDate) {
|
|
320
|
+
const year = Number(fullDate[1]);
|
|
321
|
+
const month = Number(fullDate[2]) - 1;
|
|
322
|
+
const day = Number(fullDate[3]);
|
|
323
|
+
const date = new Date(0);
|
|
324
|
+
date.setFullYear(year, month, day);
|
|
325
|
+
date.setHours(0, 0, 0, 0);
|
|
326
|
+
// Out-of-range components (or a day the local zone skipped) silently roll over,
|
|
327
|
+
// which would hand back a date the server never sent.
|
|
328
|
+
if (date.getFullYear() !== year || date.getMonth() !== month || date.getDate() !== day) {
|
|
329
|
+
return new Date(NaN);
|
|
330
|
+
}
|
|
331
|
+
return date;
|
|
332
|
+
}
|
|
333
|
+
return new Date(value);
|
|
334
|
+
}
|
|
335
|
+
export function parseDateTime(value) {
|
|
336
|
+
return new Date(value);
|
|
337
|
+
}
|
|
292
338
|
export function mapValues(data, fn) {
|
|
293
339
|
const result = {};
|
|
294
340
|
for (const key of Object.keys(data)) {
|