@openshift-migration-advisor/planner-sdk 0.17.0 → 0.18.0-ca1dcff279a4
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 +26 -0
- package/.openapi-generator/VERSION +1 -1
- package/README.md +18 -3
- package/dist/apis/AccountApi.d.ts +48 -0
- package/dist/apis/AccountApi.js +1 -1
- package/dist/apis/AssessmentApi.d.ts +135 -0
- package/dist/apis/AssessmentApi.js +84 -0
- package/dist/apis/ImageApi.d.ts +6 -0
- package/dist/apis/JobApi.d.ts +12 -0
- package/dist/apis/PartnerApi.d.ts +24 -0
- package/dist/apis/SizingApi.d.ts +3 -0
- package/dist/apis/SourceApi.d.ts +21 -0
- package/dist/esm/apis/AccountApi.d.ts +48 -0
- package/dist/esm/apis/AccountApi.js +1 -1
- package/dist/esm/apis/AssessmentApi.d.ts +135 -0
- package/dist/esm/apis/AssessmentApi.js +84 -0
- package/dist/esm/apis/ImageApi.d.ts +6 -0
- package/dist/esm/apis/JobApi.d.ts +12 -0
- package/dist/esm/apis/PartnerApi.d.ts +24 -0
- package/dist/esm/apis/SizingApi.d.ts +3 -0
- package/dist/esm/apis/SourceApi.d.ts +21 -0
- package/dist/esm/models/ActiveEnvironmentsInput.d.ts +41 -0
- package/dist/esm/models/ActiveEnvironmentsInput.js +51 -0
- package/dist/esm/models/Agent.d.ts +0 -14
- package/dist/esm/models/Agent.js +6 -5
- package/dist/esm/models/AgentProxy.d.ts +0 -6
- package/dist/esm/models/AriaAutomationInput.d.ts +51 -0
- package/dist/esm/models/AriaAutomationInput.js +61 -0
- package/dist/esm/models/AriaOpsInput.d.ts +49 -0
- package/dist/esm/models/AriaOpsInput.js +59 -0
- package/dist/esm/models/AriaSecureInput.d.ts +41 -0
- package/dist/esm/models/AriaSecureInput.js +51 -0
- package/dist/esm/models/Assessment.d.ts +0 -20
- package/dist/esm/models/Assessment.js +5 -4
- package/dist/esm/models/AssessmentForm.d.ts +0 -8
- package/dist/esm/models/AssessmentSharing.d.ts +0 -6
- package/dist/esm/models/AssessmentSubsetInventory.d.ts +0 -12
- package/dist/esm/models/AssessmentSubsetInventory.js +3 -2
- package/dist/esm/models/AssessmentUpdate.d.ts +0 -2
- package/dist/esm/models/ClusterFeatures.d.ts +4 -6
- package/dist/esm/models/ClusterFeatures.js +3 -1
- package/dist/esm/models/ClusterRequirementsRequest.d.ts +0 -24
- package/dist/esm/models/ClusterRequirementsRequest.js +1 -1
- package/dist/esm/models/ClusterRequirementsResponse.d.ts +0 -12
- package/dist/esm/models/ClusterRequirementsStoredInput.d.ts +0 -24
- package/dist/esm/models/ClusterRequirementsStoredInput.js +3 -3
- package/dist/esm/models/ClusterSizing.d.ts +0 -18
- package/dist/esm/models/ClusterUtilization.d.ts +0 -14
- package/dist/esm/models/ComplexityDiskScoreEntry.d.ts +0 -6
- package/dist/esm/models/ComplexityOSNameEntry.d.ts +0 -6
- package/dist/esm/models/ComplexityOSScoreEntry.d.ts +0 -4
- package/dist/esm/models/CpuOverCommitRatio.js +1 -1
- package/dist/esm/models/Customer.d.ts +0 -12
- package/dist/esm/models/CustomerDetailsInput.d.ts +34 -0
- package/dist/esm/models/CustomerDetailsInput.js +43 -0
- package/dist/esm/models/Datastore.d.ts +5 -18
- package/dist/esm/models/Datastore.js +3 -0
- package/dist/esm/models/DeployedEnvironmentInput.d.ts +40 -0
- package/dist/esm/models/DeployedEnvironmentInput.js +50 -0
- package/dist/esm/models/DiskSizeTierSummary.d.ts +0 -4
- package/dist/esm/models/DiskTypeSummary.d.ts +0 -4
- package/dist/esm/models/EnhancementData.d.ts +76 -0
- package/dist/esm/models/EnhancementData.js +69 -0
- package/dist/esm/models/EstimationContext.d.ts +0 -4
- package/dist/esm/models/EstimationDetail.d.ts +0 -8
- package/dist/esm/models/Group.d.ts +0 -16
- package/dist/esm/models/Group.js +6 -5
- package/dist/esm/models/GroupCreate.d.ts +0 -10
- package/dist/esm/models/GroupCreate.js +1 -1
- package/dist/esm/models/GroupUpdate.d.ts +0 -8
- package/dist/esm/models/Histogram.d.ts +0 -6
- package/dist/esm/models/Host.d.ts +8 -12
- package/dist/esm/models/Host.js +4 -0
- package/dist/esm/models/Identity.d.ts +0 -8
- package/dist/esm/models/Identity.js +1 -1
- package/dist/esm/models/Info.d.ts +0 -8
- package/dist/esm/models/Infra.d.ts +0 -24
- package/dist/esm/models/Inventory.d.ts +4 -8
- package/dist/esm/models/Inventory.js +3 -1
- package/dist/esm/models/InventoryData.d.ts +0 -10
- package/dist/esm/models/InventoryTotals.d.ts +0 -6
- package/dist/esm/models/Ipv4Config.d.ts +0 -8
- package/dist/esm/models/IssuesBreakdown.d.ts +46 -0
- package/dist/esm/models/IssuesBreakdown.js +59 -0
- package/dist/esm/models/Job.d.ts +0 -8
- package/dist/esm/models/JobStatus.js +1 -1
- package/dist/esm/models/Label.d.ts +0 -4
- package/dist/esm/models/Member.d.ts +0 -10
- package/dist/esm/models/Member.js +5 -4
- package/dist/esm/models/MemberCreate.d.ts +0 -4
- package/dist/esm/models/MemberUpdate.d.ts +0 -2
- package/dist/esm/models/MemoryOverCommitRatio.js +1 -1
- package/dist/esm/models/MigrationComplexityRequest.d.ts +0 -2
- package/dist/esm/models/MigrationComplexityResponse.d.ts +0 -10
- package/dist/esm/models/MigrationEstimationByComplexityResponse.d.ts +0 -6
- package/dist/esm/models/MigrationEstimationRequest.d.ts +0 -6
- package/dist/esm/models/MigrationEstimationResponse.d.ts +0 -4
- package/dist/esm/models/MigrationIssue.d.ts +0 -8
- package/dist/esm/models/ModelError.d.ts +0 -2
- package/dist/esm/models/Network.d.ts +0 -10
- package/dist/esm/models/Network.js +1 -1
- package/dist/esm/models/NsxInput.d.ts +46 -0
- package/dist/esm/models/NsxInput.js +56 -0
- package/dist/esm/models/OptimizationStatus.d.ts +0 -4
- package/dist/esm/models/OptimizationStatus.js +1 -1
- package/dist/esm/models/OsDiskEstimationEntry.d.ts +0 -8
- package/dist/esm/models/OsInfo.d.ts +14 -6
- package/dist/esm/models/OsInfo.js +11 -0
- package/dist/esm/models/PartnerRequest.d.ts +0 -26
- package/dist/esm/models/PartnerRequest.js +7 -6
- package/dist/esm/models/PartnerRequestCreate.d.ts +0 -10
- package/dist/esm/models/PartnerRequestStatus.js +1 -1
- package/dist/esm/models/PartnerRequestUpdate.d.ts +0 -4
- package/dist/esm/models/PartnerSummary.d.ts +0 -8
- package/dist/esm/models/PresignedUrl.d.ts +0 -4
- package/dist/esm/models/PresignedUrl.js +3 -2
- package/dist/esm/models/Savings.d.ts +0 -6
- package/dist/esm/models/SchemaEstimationResult.d.ts +0 -6
- package/dist/esm/models/SharingSubject.d.ts +0 -6
- package/dist/esm/models/SizingOverCommitRatio.d.ts +0 -4
- package/dist/esm/models/SizingResourceConsumption.d.ts +0 -8
- package/dist/esm/models/SizingResourceLimits.d.ts +0 -4
- package/dist/esm/models/Snapshot.d.ts +0 -6
- package/dist/esm/models/Snapshot.js +3 -2
- package/dist/esm/models/Source.d.ts +0 -24
- package/dist/esm/models/Source.js +6 -5
- package/dist/esm/models/SourceCreate.d.ts +0 -18
- package/dist/esm/models/SourceCreate.js +1 -1
- package/dist/esm/models/SourceInfra.d.ts +0 -6
- package/dist/esm/models/SourceUpdate.d.ts +0 -18
- package/dist/esm/models/SourceUpdate.js +1 -1
- package/dist/esm/models/StandaloneClusterRequirementsRequest.d.ts +0 -28
- package/dist/esm/models/StandaloneClusterRequirementsRequest.js +1 -1
- package/dist/esm/models/StandaloneClusterRequirementsResponse.d.ts +0 -4
- package/dist/esm/models/Status.d.ts +0 -6
- package/dist/esm/models/StorageIoConfiguration.d.ts +50 -0
- package/dist/esm/models/StorageIoConfiguration.js +54 -0
- package/dist/esm/models/UpdateInventory.d.ts +0 -4
- package/dist/esm/models/VCenter.d.ts +0 -2
- package/dist/esm/models/VMResourceBreakdown.d.ts +0 -10
- package/dist/esm/models/VMs.d.ts +5 -44
- package/dist/esm/models/VMs.js +3 -0
- package/dist/esm/models/VMwareSubscriptionInput.d.ts +42 -0
- package/dist/esm/models/VMwareSubscriptionInput.js +52 -0
- package/dist/esm/models/VMwareVersionCountsInput.d.ts +42 -0
- package/dist/esm/models/VMwareVersionCountsInput.js +47 -0
- package/dist/esm/models/VmNetwork.d.ts +0 -2
- package/dist/esm/models/VsphereCoreInput.d.ts +38 -0
- package/dist/esm/models/VsphereCoreInput.js +45 -0
- package/dist/esm/models/index.d.ts +13 -0
- package/dist/esm/models/index.js +13 -0
- package/dist/esm/runtime.d.ts +11 -0
- package/dist/esm/runtime.js +47 -1
- package/dist/models/ActiveEnvironmentsInput.d.ts +41 -0
- package/dist/models/ActiveEnvironmentsInput.js +59 -0
- package/dist/models/Agent.d.ts +0 -14
- package/dist/models/Agent.js +6 -5
- package/dist/models/AgentProxy.d.ts +0 -6
- package/dist/models/AriaAutomationInput.d.ts +51 -0
- package/dist/models/AriaAutomationInput.js +69 -0
- package/dist/models/AriaOpsInput.d.ts +49 -0
- package/dist/models/AriaOpsInput.js +67 -0
- package/dist/models/AriaSecureInput.d.ts +41 -0
- package/dist/models/AriaSecureInput.js +59 -0
- package/dist/models/Assessment.d.ts +0 -20
- package/dist/models/Assessment.js +5 -4
- package/dist/models/AssessmentForm.d.ts +0 -8
- package/dist/models/AssessmentSharing.d.ts +0 -6
- package/dist/models/AssessmentSubsetInventory.d.ts +0 -12
- package/dist/models/AssessmentSubsetInventory.js +3 -2
- package/dist/models/AssessmentUpdate.d.ts +0 -2
- package/dist/models/ClusterFeatures.d.ts +4 -6
- package/dist/models/ClusterFeatures.js +3 -1
- package/dist/models/ClusterRequirementsRequest.d.ts +0 -24
- package/dist/models/ClusterRequirementsRequest.js +1 -1
- package/dist/models/ClusterRequirementsResponse.d.ts +0 -12
- package/dist/models/ClusterRequirementsStoredInput.d.ts +0 -24
- package/dist/models/ClusterRequirementsStoredInput.js +3 -3
- package/dist/models/ClusterSizing.d.ts +0 -18
- package/dist/models/ClusterUtilization.d.ts +0 -14
- package/dist/models/ComplexityDiskScoreEntry.d.ts +0 -6
- package/dist/models/ComplexityOSNameEntry.d.ts +0 -6
- package/dist/models/ComplexityOSScoreEntry.d.ts +0 -4
- package/dist/models/CpuOverCommitRatio.js +1 -1
- package/dist/models/Customer.d.ts +0 -12
- package/dist/models/CustomerDetailsInput.d.ts +34 -0
- package/dist/models/CustomerDetailsInput.js +50 -0
- package/dist/models/Datastore.d.ts +5 -18
- package/dist/models/Datastore.js +3 -0
- package/dist/models/DeployedEnvironmentInput.d.ts +40 -0
- package/dist/models/DeployedEnvironmentInput.js +58 -0
- package/dist/models/DiskSizeTierSummary.d.ts +0 -4
- package/dist/models/DiskTypeSummary.d.ts +0 -4
- package/dist/models/EnhancementData.d.ts +76 -0
- package/dist/models/EnhancementData.js +76 -0
- package/dist/models/EstimationContext.d.ts +0 -4
- package/dist/models/EstimationDetail.d.ts +0 -8
- package/dist/models/Group.d.ts +0 -16
- package/dist/models/Group.js +6 -5
- package/dist/models/GroupCreate.d.ts +0 -10
- package/dist/models/GroupCreate.js +1 -1
- package/dist/models/GroupUpdate.d.ts +0 -8
- package/dist/models/Histogram.d.ts +0 -6
- package/dist/models/Host.d.ts +8 -12
- package/dist/models/Host.js +4 -0
- package/dist/models/Identity.d.ts +0 -8
- package/dist/models/Identity.js +1 -1
- package/dist/models/Info.d.ts +0 -8
- package/dist/models/Infra.d.ts +0 -24
- package/dist/models/Inventory.d.ts +4 -8
- package/dist/models/Inventory.js +2 -0
- package/dist/models/InventoryData.d.ts +0 -10
- package/dist/models/InventoryTotals.d.ts +0 -6
- package/dist/models/Ipv4Config.d.ts +0 -8
- package/dist/models/IssuesBreakdown.d.ts +46 -0
- package/dist/models/IssuesBreakdown.js +66 -0
- package/dist/models/Job.d.ts +0 -8
- package/dist/models/JobStatus.js +1 -1
- package/dist/models/Label.d.ts +0 -4
- package/dist/models/Member.d.ts +0 -10
- package/dist/models/Member.js +5 -4
- package/dist/models/MemberCreate.d.ts +0 -4
- package/dist/models/MemberUpdate.d.ts +0 -2
- package/dist/models/MemoryOverCommitRatio.js +1 -1
- package/dist/models/MigrationComplexityRequest.d.ts +0 -2
- package/dist/models/MigrationComplexityResponse.d.ts +0 -10
- package/dist/models/MigrationEstimationByComplexityResponse.d.ts +0 -6
- package/dist/models/MigrationEstimationRequest.d.ts +0 -6
- package/dist/models/MigrationEstimationResponse.d.ts +0 -4
- package/dist/models/MigrationIssue.d.ts +0 -8
- package/dist/models/ModelError.d.ts +0 -2
- package/dist/models/Network.d.ts +0 -10
- package/dist/models/Network.js +1 -1
- package/dist/models/NsxInput.d.ts +46 -0
- package/dist/models/NsxInput.js +64 -0
- package/dist/models/OptimizationStatus.d.ts +0 -4
- package/dist/models/OptimizationStatus.js +1 -1
- package/dist/models/OsDiskEstimationEntry.d.ts +0 -8
- package/dist/models/OsInfo.d.ts +14 -6
- package/dist/models/OsInfo.js +12 -0
- package/dist/models/PartnerRequest.d.ts +0 -26
- package/dist/models/PartnerRequest.js +7 -6
- package/dist/models/PartnerRequestCreate.d.ts +0 -10
- package/dist/models/PartnerRequestStatus.js +1 -1
- package/dist/models/PartnerRequestUpdate.d.ts +0 -4
- package/dist/models/PartnerSummary.d.ts +0 -8
- package/dist/models/PresignedUrl.d.ts +0 -4
- package/dist/models/PresignedUrl.js +3 -2
- package/dist/models/Savings.d.ts +0 -6
- package/dist/models/SchemaEstimationResult.d.ts +0 -6
- package/dist/models/SharingSubject.d.ts +0 -6
- package/dist/models/SizingOverCommitRatio.d.ts +0 -4
- package/dist/models/SizingResourceConsumption.d.ts +0 -8
- package/dist/models/SizingResourceLimits.d.ts +0 -4
- package/dist/models/Snapshot.d.ts +0 -6
- package/dist/models/Snapshot.js +3 -2
- package/dist/models/Source.d.ts +0 -24
- package/dist/models/Source.js +6 -5
- package/dist/models/SourceCreate.d.ts +0 -18
- package/dist/models/SourceCreate.js +1 -1
- package/dist/models/SourceInfra.d.ts +0 -6
- package/dist/models/SourceUpdate.d.ts +0 -18
- package/dist/models/SourceUpdate.js +1 -1
- package/dist/models/StandaloneClusterRequirementsRequest.d.ts +0 -28
- package/dist/models/StandaloneClusterRequirementsRequest.js +1 -1
- package/dist/models/StandaloneClusterRequirementsResponse.d.ts +0 -4
- package/dist/models/Status.d.ts +0 -6
- package/dist/models/StorageIoConfiguration.d.ts +50 -0
- package/dist/models/StorageIoConfiguration.js +62 -0
- package/dist/models/UpdateInventory.d.ts +0 -4
- package/dist/models/VCenter.d.ts +0 -2
- package/dist/models/VMResourceBreakdown.d.ts +0 -10
- package/dist/models/VMs.d.ts +5 -44
- package/dist/models/VMs.js +3 -0
- package/dist/models/VMwareSubscriptionInput.d.ts +42 -0
- package/dist/models/VMwareSubscriptionInput.js +60 -0
- package/dist/models/VMwareVersionCountsInput.d.ts +42 -0
- package/dist/models/VMwareVersionCountsInput.js +54 -0
- package/dist/models/VmNetwork.d.ts +0 -2
- package/dist/models/VsphereCoreInput.d.ts +38 -0
- package/dist/models/VsphereCoreInput.js +52 -0
- package/dist/models/index.d.ts +13 -0
- package/dist/models/index.js +13 -0
- package/dist/runtime.d.ts +11 -0
- package/dist/runtime.js +51 -1
- package/docs/ActiveEnvironmentsInput.md +34 -0
- package/docs/AriaAutomationInput.md +34 -0
- package/docs/AriaOpsInput.md +34 -0
- package/docs/AriaSecureInput.md +34 -0
- package/docs/AssessmentApi.md +148 -0
- package/docs/ClusterFeatures.md +2 -0
- package/docs/CustomerDetailsInput.md +36 -0
- package/docs/Datastore.md +2 -0
- package/docs/DeployedEnvironmentInput.md +34 -0
- package/docs/EnhancementData.md +53 -0
- package/docs/Host.md +4 -0
- package/docs/Inventory.md +2 -0
- package/docs/IssuesBreakdown.md +42 -0
- package/docs/NsxInput.md +34 -0
- package/docs/OsInfo.md +2 -0
- package/docs/StorageIoConfiguration.md +40 -0
- package/docs/VMs.md +2 -0
- package/docs/VMwareSubscriptionInput.md +34 -0
- package/docs/VMwareVersionCountsInput.md +40 -0
- package/docs/VsphereCoreInput.md +38 -0
- package/package.json +1 -1
- package/src/apis/AccountApi.ts +49 -1
- package/src/apis/AssessmentApi.ts +223 -0
- package/src/apis/ImageApi.ts +6 -0
- package/src/apis/JobApi.ts +12 -0
- package/src/apis/PartnerApi.ts +24 -0
- package/src/apis/SizingApi.ts +3 -0
- package/src/apis/SourceApi.ts +21 -0
- package/src/models/ActiveEnvironmentsInput.ts +77 -0
- package/src/models/Agent.ts +6 -20
- package/src/models/AgentProxy.ts +0 -6
- package/src/models/AriaAutomationInput.ts +87 -0
- package/src/models/AriaOpsInput.ts +85 -0
- package/src/models/AriaSecureInput.ts +77 -0
- package/src/models/Assessment.ts +5 -25
- package/src/models/AssessmentForm.ts +0 -8
- package/src/models/AssessmentSharing.ts +0 -6
- package/src/models/AssessmentSubsetInventory.ts +3 -15
- package/src/models/AssessmentUpdate.ts +0 -2
- package/src/models/ClusterFeatures.ts +7 -7
- package/src/models/ClusterRequirementsRequest.ts +1 -25
- package/src/models/ClusterRequirementsResponse.ts +0 -12
- package/src/models/ClusterRequirementsStoredInput.ts +3 -27
- package/src/models/ClusterSizing.ts +0 -18
- package/src/models/ClusterUtilization.ts +0 -14
- package/src/models/ComplexityDiskScoreEntry.ts +0 -6
- package/src/models/ComplexityOSNameEntry.ts +0 -6
- package/src/models/ComplexityOSScoreEntry.ts +0 -4
- package/src/models/CpuOverCommitRatio.ts +1 -1
- package/src/models/Customer.ts +0 -12
- package/src/models/CustomerDetailsInput.ts +69 -0
- package/src/models/Datastore.ts +14 -18
- package/src/models/DeployedEnvironmentInput.ts +76 -0
- package/src/models/DiskSizeTierSummary.ts +0 -4
- package/src/models/DiskTypeSummary.ts +0 -4
- package/src/models/EnhancementData.ts +188 -0
- package/src/models/EstimationContext.ts +0 -4
- package/src/models/EstimationDetail.ts +0 -8
- package/src/models/Group.ts +6 -22
- package/src/models/GroupCreate.ts +1 -11
- package/src/models/GroupUpdate.ts +0 -8
- package/src/models/Histogram.ts +0 -6
- package/src/models/Host.ts +12 -12
- package/src/models/Identity.ts +1 -9
- package/src/models/Info.ts +0 -8
- package/src/models/Infra.ts +0 -24
- package/src/models/Inventory.ts +7 -9
- package/src/models/InventoryData.ts +0 -10
- package/src/models/InventoryTotals.ts +0 -6
- package/src/models/Ipv4Config.ts +0 -8
- package/src/models/IssuesBreakdown.ts +92 -0
- package/src/models/Job.ts +0 -8
- package/src/models/JobStatus.ts +1 -1
- package/src/models/Label.ts +0 -4
- package/src/models/Member.ts +5 -15
- package/src/models/MemberCreate.ts +0 -4
- package/src/models/MemberUpdate.ts +0 -2
- package/src/models/MemoryOverCommitRatio.ts +1 -1
- package/src/models/MigrationComplexityRequest.ts +0 -2
- package/src/models/MigrationComplexityResponse.ts +0 -10
- package/src/models/MigrationEstimationByComplexityResponse.ts +0 -6
- package/src/models/MigrationEstimationRequest.ts +0 -6
- package/src/models/MigrationEstimationResponse.ts +0 -4
- package/src/models/MigrationIssue.ts +0 -8
- package/src/models/ModelError.ts +0 -2
- package/src/models/Network.ts +1 -11
- package/src/models/NsxInput.ts +82 -0
- package/src/models/OptimizationStatus.ts +1 -5
- package/src/models/OsDiskEstimationEntry.ts +0 -8
- package/src/models/OsInfo.ts +19 -6
- package/src/models/PartnerRequest.ts +7 -33
- package/src/models/PartnerRequestCreate.ts +0 -10
- package/src/models/PartnerRequestStatus.ts +1 -1
- package/src/models/PartnerRequestUpdate.ts +0 -4
- package/src/models/PartnerSummary.ts +0 -8
- package/src/models/PresignedUrl.ts +3 -7
- package/src/models/Savings.ts +0 -6
- package/src/models/SchemaEstimationResult.ts +0 -6
- package/src/models/SharingSubject.ts +0 -6
- package/src/models/SizingOverCommitRatio.ts +0 -4
- package/src/models/SizingResourceConsumption.ts +0 -8
- package/src/models/SizingResourceLimits.ts +0 -4
- package/src/models/Snapshot.ts +3 -9
- package/src/models/Source.ts +6 -30
- package/src/models/SourceCreate.ts +1 -19
- package/src/models/SourceInfra.ts +0 -6
- package/src/models/SourceUpdate.ts +1 -19
- package/src/models/StandaloneClusterRequirementsRequest.ts +1 -29
- package/src/models/StandaloneClusterRequirementsResponse.ts +0 -4
- package/src/models/Status.ts +0 -6
- package/src/models/StorageIoConfiguration.ts +92 -0
- package/src/models/UpdateInventory.ts +0 -4
- package/src/models/VCenter.ts +0 -2
- package/src/models/VMResourceBreakdown.ts +0 -10
- package/src/models/VMs.ts +13 -44
- package/src/models/VMwareSubscriptionInput.ts +78 -0
- package/src/models/VMwareVersionCountsInput.ts +81 -0
- package/src/models/VmNetwork.ts +0 -2
- package/src/models/VsphereCoreInput.ts +75 -0
- package/src/models/index.ts +13 -0
- package/src/runtime.ts +52 -1
package/src/apis/SourceApi.ts
CHANGED
|
@@ -35,24 +35,45 @@ import {
|
|
|
35
35
|
} from '../models/UpdateInventory.js';
|
|
36
36
|
|
|
37
37
|
export interface CreateSourceRequest {
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
*/
|
|
38
41
|
sourceCreate: SourceCreate;
|
|
39
42
|
}
|
|
40
43
|
|
|
41
44
|
export interface DeleteSourceRequest {
|
|
45
|
+
/**
|
|
46
|
+
* ID of the source
|
|
47
|
+
*/
|
|
42
48
|
id: string;
|
|
43
49
|
}
|
|
44
50
|
|
|
45
51
|
export interface GetSourceRequest {
|
|
52
|
+
/**
|
|
53
|
+
* ID of the source
|
|
54
|
+
*/
|
|
46
55
|
id: string;
|
|
47
56
|
}
|
|
48
57
|
|
|
49
58
|
export interface UpdateInventoryRequest {
|
|
59
|
+
/**
|
|
60
|
+
* ID of the source
|
|
61
|
+
*/
|
|
50
62
|
id: string;
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
*/
|
|
51
66
|
updateInventory: UpdateInventory;
|
|
52
67
|
}
|
|
53
68
|
|
|
54
69
|
export interface UpdateSourceRequest {
|
|
70
|
+
/**
|
|
71
|
+
* ID of the source
|
|
72
|
+
*/
|
|
55
73
|
id: string;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
*/
|
|
56
77
|
sourceUpdate: SourceUpdate;
|
|
57
78
|
}
|
|
58
79
|
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* OpenShift Migration Advisor API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1alpha1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime.js';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface ActiveEnvironmentsInput
|
|
20
|
+
*/
|
|
21
|
+
export interface ActiveEnvironmentsInput {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
environments?: Set<ActiveEnvironmentsInputEnvironmentsEnum>;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* @export
|
|
31
|
+
*/
|
|
32
|
+
export const ActiveEnvironmentsInputEnvironmentsEnum = {
|
|
33
|
+
Production: 'production',
|
|
34
|
+
Qa: 'qa',
|
|
35
|
+
Dev: 'dev',
|
|
36
|
+
Other: 'other',
|
|
37
|
+
NotAssessed: 'not_assessed',
|
|
38
|
+
} as const;
|
|
39
|
+
export type ActiveEnvironmentsInputEnvironmentsEnum = typeof ActiveEnvironmentsInputEnvironmentsEnum[keyof typeof ActiveEnvironmentsInputEnvironmentsEnum];
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the ActiveEnvironmentsInput interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfActiveEnvironmentsInput(value: object): value is ActiveEnvironmentsInput {
|
|
46
|
+
return true;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function ActiveEnvironmentsInputFromJSON(json: any): ActiveEnvironmentsInput {
|
|
50
|
+
return ActiveEnvironmentsInputFromJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function ActiveEnvironmentsInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): ActiveEnvironmentsInput {
|
|
54
|
+
if (json == null) {
|
|
55
|
+
return json;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
|
|
59
|
+
'environments': json['environments'] == null ? undefined : new Set(json['environments']),
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function ActiveEnvironmentsInputToJSON(json: any): ActiveEnvironmentsInput {
|
|
64
|
+
return ActiveEnvironmentsInputToJSONTyped(json, false);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function ActiveEnvironmentsInputToJSONTyped(value?: ActiveEnvironmentsInput | null, ignoreDiscriminator: boolean = false): any {
|
|
68
|
+
if (value == null) {
|
|
69
|
+
return value;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
return {
|
|
73
|
+
|
|
74
|
+
'environments': value['environments'] == null ? undefined : Array.from(value['environments'] as Set<any>),
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
|
package/src/models/Agent.ts
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import { mapValues } from '../runtime.js';
|
|
15
|
+
import { mapValues, parseDate, parseDateTime, serializeDate, serializeDateTime } from '../runtime.js';
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
* @export
|
|
@@ -21,44 +21,30 @@ import { mapValues } from '../runtime.js';
|
|
|
21
21
|
export interface Agent {
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof Agent
|
|
26
24
|
*/
|
|
27
25
|
id: string;
|
|
28
26
|
/**
|
|
29
27
|
*
|
|
30
|
-
* @type {AgentStatusEnum}
|
|
31
|
-
* @memberof Agent
|
|
32
28
|
*/
|
|
33
29
|
status: AgentStatusEnum;
|
|
34
30
|
/**
|
|
35
31
|
*
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof Agent
|
|
38
32
|
*/
|
|
39
33
|
statusInfo: string;
|
|
40
34
|
/**
|
|
41
35
|
*
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof Agent
|
|
44
36
|
*/
|
|
45
37
|
credentialUrl: string;
|
|
46
38
|
/**
|
|
47
39
|
*
|
|
48
|
-
* @type {Date}
|
|
49
|
-
* @memberof Agent
|
|
50
40
|
*/
|
|
51
41
|
createdAt: Date;
|
|
52
42
|
/**
|
|
53
43
|
*
|
|
54
|
-
* @type {Date}
|
|
55
|
-
* @memberof Agent
|
|
56
44
|
*/
|
|
57
45
|
updatedAt: Date;
|
|
58
46
|
/**
|
|
59
47
|
*
|
|
60
|
-
* @type {string}
|
|
61
|
-
* @memberof Agent
|
|
62
48
|
*/
|
|
63
49
|
version: string;
|
|
64
50
|
}
|
|
@@ -73,7 +59,7 @@ export const AgentStatusEnum = {
|
|
|
73
59
|
Error: 'error',
|
|
74
60
|
GatheringInitialInventory: 'gathering-initial-inventory',
|
|
75
61
|
UpToDate: 'up-to-date',
|
|
76
|
-
SourceGone: 'source-gone'
|
|
62
|
+
SourceGone: 'source-gone',
|
|
77
63
|
} as const;
|
|
78
64
|
export type AgentStatusEnum = typeof AgentStatusEnum[keyof typeof AgentStatusEnum];
|
|
79
65
|
|
|
@@ -106,8 +92,8 @@ export function AgentFromJSONTyped(json: any, ignoreDiscriminator: boolean): Age
|
|
|
106
92
|
'status': json['status'],
|
|
107
93
|
'statusInfo': json['statusInfo'],
|
|
108
94
|
'credentialUrl': json['credentialUrl'],
|
|
109
|
-
'createdAt': (
|
|
110
|
-
'updatedAt': (
|
|
95
|
+
'createdAt': (json['createdAt'] == null ? json['createdAt'] : parseDateTime(json['createdAt'])),
|
|
96
|
+
'updatedAt': (json['updatedAt'] == null ? json['updatedAt'] : parseDateTime(json['updatedAt'])),
|
|
111
97
|
'version': json['version'],
|
|
112
98
|
};
|
|
113
99
|
}
|
|
@@ -127,8 +113,8 @@ export function AgentToJSONTyped(value?: Agent | null, ignoreDiscriminator: bool
|
|
|
127
113
|
'status': value['status'],
|
|
128
114
|
'statusInfo': value['statusInfo'],
|
|
129
115
|
'credentialUrl': value['credentialUrl'],
|
|
130
|
-
'createdAt': value['createdAt']
|
|
131
|
-
'updatedAt': value['updatedAt']
|
|
116
|
+
'createdAt': value['createdAt'] == null ? value['createdAt'] : serializeDateTime(value['createdAt']),
|
|
117
|
+
'updatedAt': value['updatedAt'] == null ? value['updatedAt'] : serializeDateTime(value['updatedAt']),
|
|
132
118
|
'version': value['version'],
|
|
133
119
|
};
|
|
134
120
|
}
|
package/src/models/AgentProxy.ts
CHANGED
|
@@ -21,20 +21,14 @@ import { mapValues } from '../runtime.js';
|
|
|
21
21
|
export interface AgentProxy {
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof AgentProxy
|
|
26
24
|
*/
|
|
27
25
|
httpUrl?: string | null;
|
|
28
26
|
/**
|
|
29
27
|
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof AgentProxy
|
|
32
28
|
*/
|
|
33
29
|
httpsUrl?: string | null;
|
|
34
30
|
/**
|
|
35
31
|
*
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof AgentProxy
|
|
38
32
|
*/
|
|
39
33
|
noProxy?: string | null;
|
|
40
34
|
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* OpenShift Migration Advisor API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1alpha1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime.js';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface AriaAutomationInput
|
|
20
|
+
*/
|
|
21
|
+
export interface AriaAutomationInput {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
features?: Set<AriaAutomationInputFeaturesEnum>;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* @export
|
|
31
|
+
*/
|
|
32
|
+
export const AriaAutomationInputFeaturesEnum = {
|
|
33
|
+
InfraProvisioning: 'infra_provisioning',
|
|
34
|
+
CloudAssembly: 'cloud_assembly',
|
|
35
|
+
ServiceCatalog: 'service_catalog',
|
|
36
|
+
Blueprints: 'blueprints',
|
|
37
|
+
ConfigMgmt: 'config_mgmt',
|
|
38
|
+
Hcx: 'hcx',
|
|
39
|
+
Orchestrator: 'orchestrator',
|
|
40
|
+
Terraform: 'terraform',
|
|
41
|
+
Dsm: 'dsm',
|
|
42
|
+
TanzuK8s: 'tanzu_k8s',
|
|
43
|
+
TanzuApp: 'tanzu_app',
|
|
44
|
+
K8sNamespaces: 'k8s_namespaces',
|
|
45
|
+
NotAssessed: 'not_assessed',
|
|
46
|
+
NotAvailable: 'not_available',
|
|
47
|
+
NotInUse: 'not_in_use',
|
|
48
|
+
} as const;
|
|
49
|
+
export type AriaAutomationInputFeaturesEnum = typeof AriaAutomationInputFeaturesEnum[keyof typeof AriaAutomationInputFeaturesEnum];
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Check if a given object implements the AriaAutomationInput interface.
|
|
54
|
+
*/
|
|
55
|
+
export function instanceOfAriaAutomationInput(value: object): value is AriaAutomationInput {
|
|
56
|
+
return true;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function AriaAutomationInputFromJSON(json: any): AriaAutomationInput {
|
|
60
|
+
return AriaAutomationInputFromJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function AriaAutomationInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): AriaAutomationInput {
|
|
64
|
+
if (json == null) {
|
|
65
|
+
return json;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
|
|
69
|
+
'features': json['features'] == null ? undefined : new Set(json['features']),
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export function AriaAutomationInputToJSON(json: any): AriaAutomationInput {
|
|
74
|
+
return AriaAutomationInputToJSONTyped(json, false);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export function AriaAutomationInputToJSONTyped(value?: AriaAutomationInput | null, ignoreDiscriminator: boolean = false): any {
|
|
78
|
+
if (value == null) {
|
|
79
|
+
return value;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
return {
|
|
83
|
+
|
|
84
|
+
'features': value['features'] == null ? undefined : Array.from(value['features'] as Set<any>),
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* OpenShift Migration Advisor API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1alpha1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime.js';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface AriaOpsInput
|
|
20
|
+
*/
|
|
21
|
+
export interface AriaOpsInput {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
features?: Set<AriaOpsInputFeaturesEnum>;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* @export
|
|
31
|
+
*/
|
|
32
|
+
export const AriaOpsInputFeaturesEnum = {
|
|
33
|
+
PerformanceAnalytics: 'performance_analytics',
|
|
34
|
+
HealthScore: 'health_score',
|
|
35
|
+
Alerting: 'alerting',
|
|
36
|
+
LogInsight: 'log_insight',
|
|
37
|
+
ItsmIntegration: 'itsm_integration',
|
|
38
|
+
Rightsizing: 'rightsizing',
|
|
39
|
+
AutoOptimization: 'auto_optimization',
|
|
40
|
+
TrueVisibility: 'true_visibility',
|
|
41
|
+
CapacityPlanning: 'capacity_planning',
|
|
42
|
+
AnomalyDetection: 'anomaly_detection',
|
|
43
|
+
NotAssessed: 'not_assessed',
|
|
44
|
+
NotAvailable: 'not_available',
|
|
45
|
+
NotInUse: 'not_in_use',
|
|
46
|
+
} as const;
|
|
47
|
+
export type AriaOpsInputFeaturesEnum = typeof AriaOpsInputFeaturesEnum[keyof typeof AriaOpsInputFeaturesEnum];
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the AriaOpsInput interface.
|
|
52
|
+
*/
|
|
53
|
+
export function instanceOfAriaOpsInput(value: object): value is AriaOpsInput {
|
|
54
|
+
return true;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export function AriaOpsInputFromJSON(json: any): AriaOpsInput {
|
|
58
|
+
return AriaOpsInputFromJSONTyped(json, false);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export function AriaOpsInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): AriaOpsInput {
|
|
62
|
+
if (json == null) {
|
|
63
|
+
return json;
|
|
64
|
+
}
|
|
65
|
+
return {
|
|
66
|
+
|
|
67
|
+
'features': json['features'] == null ? undefined : new Set(json['features']),
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export function AriaOpsInputToJSON(json: any): AriaOpsInput {
|
|
72
|
+
return AriaOpsInputToJSONTyped(json, false);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export function AriaOpsInputToJSONTyped(value?: AriaOpsInput | null, ignoreDiscriminator: boolean = false): any {
|
|
76
|
+
if (value == null) {
|
|
77
|
+
return value;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
return {
|
|
81
|
+
|
|
82
|
+
'features': value['features'] == null ? undefined : Array.from(value['features'] as Set<any>),
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* OpenShift Migration Advisor API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1alpha1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime.js';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface AriaSecureInput
|
|
20
|
+
*/
|
|
21
|
+
export interface AriaSecureInput {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
features?: Set<AriaSecureInputFeaturesEnum>;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* @export
|
|
31
|
+
*/
|
|
32
|
+
export const AriaSecureInputFeaturesEnum = {
|
|
33
|
+
PolicyGovernance: 'policy_governance',
|
|
34
|
+
ComplianceMonitoring: 'compliance_monitoring',
|
|
35
|
+
NotAssessed: 'not_assessed',
|
|
36
|
+
NotAvailable: 'not_available',
|
|
37
|
+
NotInUse: 'not_in_use',
|
|
38
|
+
} as const;
|
|
39
|
+
export type AriaSecureInputFeaturesEnum = typeof AriaSecureInputFeaturesEnum[keyof typeof AriaSecureInputFeaturesEnum];
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the AriaSecureInput interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfAriaSecureInput(value: object): value is AriaSecureInput {
|
|
46
|
+
return true;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function AriaSecureInputFromJSON(json: any): AriaSecureInput {
|
|
50
|
+
return AriaSecureInputFromJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function AriaSecureInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): AriaSecureInput {
|
|
54
|
+
if (json == null) {
|
|
55
|
+
return json;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
|
|
59
|
+
'features': json['features'] == null ? undefined : new Set(json['features']),
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function AriaSecureInputToJSON(json: any): AriaSecureInput {
|
|
64
|
+
return AriaSecureInputToJSONTyped(json, false);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function AriaSecureInputToJSONTyped(value?: AriaSecureInput | null, ignoreDiscriminator: boolean = false): any {
|
|
68
|
+
if (value == null) {
|
|
69
|
+
return value;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
return {
|
|
73
|
+
|
|
74
|
+
'features': value['features'] == null ? undefined : Array.from(value['features'] as Set<any>),
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
|
package/src/models/Assessment.ts
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import { mapValues } from '../runtime.js';
|
|
15
|
+
import { mapValues, parseDate, parseDateTime, serializeDate, serializeDateTime } from '../runtime.js';
|
|
16
16
|
import type { Snapshot } from './Snapshot.js';
|
|
17
17
|
import {
|
|
18
18
|
SnapshotFromJSON,
|
|
@@ -36,62 +36,42 @@ import {
|
|
|
36
36
|
export interface Assessment {
|
|
37
37
|
/**
|
|
38
38
|
*
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof Assessment
|
|
41
39
|
*/
|
|
42
40
|
id: string;
|
|
43
41
|
/**
|
|
44
42
|
*
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof Assessment
|
|
47
43
|
*/
|
|
48
44
|
name: string;
|
|
49
45
|
/**
|
|
50
46
|
* Owner's first name
|
|
51
|
-
* @type {string}
|
|
52
|
-
* @memberof Assessment
|
|
53
47
|
*/
|
|
54
48
|
ownerFirstName?: string;
|
|
55
49
|
/**
|
|
56
50
|
* Owner's last name
|
|
57
|
-
* @type {string}
|
|
58
|
-
* @memberof Assessment
|
|
59
51
|
*/
|
|
60
52
|
ownerLastName?: string;
|
|
61
53
|
/**
|
|
62
54
|
*
|
|
63
|
-
* @type {AssessmentSourceTypeEnum}
|
|
64
|
-
* @memberof Assessment
|
|
65
55
|
*/
|
|
66
56
|
sourceType: AssessmentSourceTypeEnum;
|
|
67
57
|
/**
|
|
68
58
|
*
|
|
69
|
-
* @type {string}
|
|
70
|
-
* @memberof Assessment
|
|
71
59
|
*/
|
|
72
60
|
sourceId?: string;
|
|
73
61
|
/**
|
|
74
62
|
*
|
|
75
|
-
* @type {Date}
|
|
76
|
-
* @memberof Assessment
|
|
77
63
|
*/
|
|
78
64
|
createdAt: Date;
|
|
79
65
|
/**
|
|
80
66
|
*
|
|
81
|
-
* @type {Array<Snapshot>}
|
|
82
|
-
* @memberof Assessment
|
|
83
67
|
*/
|
|
84
68
|
snapshots: Array<Snapshot>;
|
|
85
69
|
/**
|
|
86
70
|
*
|
|
87
|
-
* @type {Array<AssessmentPermissionsEnum>}
|
|
88
|
-
* @memberof Assessment
|
|
89
71
|
*/
|
|
90
72
|
permissions?: Array<AssessmentPermissionsEnum>;
|
|
91
73
|
/**
|
|
92
74
|
*
|
|
93
|
-
* @type {AssessmentSharing}
|
|
94
|
-
* @memberof Assessment
|
|
95
75
|
*/
|
|
96
76
|
sharing?: AssessmentSharing;
|
|
97
77
|
}
|
|
@@ -103,7 +83,7 @@ export interface Assessment {
|
|
|
103
83
|
export const AssessmentSourceTypeEnum = {
|
|
104
84
|
Inventory: 'inventory',
|
|
105
85
|
Rvtools: 'rvtools',
|
|
106
|
-
Source: 'source'
|
|
86
|
+
Source: 'source',
|
|
107
87
|
} as const;
|
|
108
88
|
export type AssessmentSourceTypeEnum = typeof AssessmentSourceTypeEnum[keyof typeof AssessmentSourceTypeEnum];
|
|
109
89
|
|
|
@@ -113,7 +93,7 @@ export type AssessmentSourceTypeEnum = typeof AssessmentSourceTypeEnum[keyof typ
|
|
|
113
93
|
export const AssessmentPermissionsEnum = {
|
|
114
94
|
Read: 'read',
|
|
115
95
|
Share: 'share',
|
|
116
|
-
Delete: 'delete'
|
|
96
|
+
Delete: 'delete',
|
|
117
97
|
} as const;
|
|
118
98
|
export type AssessmentPermissionsEnum = typeof AssessmentPermissionsEnum[keyof typeof AssessmentPermissionsEnum];
|
|
119
99
|
|
|
@@ -146,7 +126,7 @@ export function AssessmentFromJSONTyped(json: any, ignoreDiscriminator: boolean)
|
|
|
146
126
|
'ownerLastName': json['ownerLastName'] == null ? undefined : json['ownerLastName'],
|
|
147
127
|
'sourceType': json['sourceType'],
|
|
148
128
|
'sourceId': json['sourceId'] == null ? undefined : json['sourceId'],
|
|
149
|
-
'createdAt': (
|
|
129
|
+
'createdAt': (json['createdAt'] == null ? json['createdAt'] : parseDateTime(json['createdAt'])),
|
|
150
130
|
'snapshots': ((json['snapshots'] as Array<any>).map(SnapshotFromJSON)),
|
|
151
131
|
'permissions': json['permissions'] == null ? undefined : json['permissions'],
|
|
152
132
|
'sharing': json['sharing'] == null ? undefined : AssessmentSharingFromJSON(json['sharing']),
|
|
@@ -170,7 +150,7 @@ export function AssessmentToJSONTyped(value?: Assessment | null, ignoreDiscrimin
|
|
|
170
150
|
'ownerLastName': value['ownerLastName'],
|
|
171
151
|
'sourceType': value['sourceType'],
|
|
172
152
|
'sourceId': value['sourceId'],
|
|
173
|
-
'createdAt': value['createdAt']
|
|
153
|
+
'createdAt': value['createdAt'] == null ? value['createdAt'] : serializeDateTime(value['createdAt']),
|
|
174
154
|
'snapshots': ((value['snapshots'] as Array<any>).map(SnapshotToJSON)),
|
|
175
155
|
'permissions': value['permissions'],
|
|
176
156
|
'sharing': AssessmentSharingToJSON(value['sharing']),
|
|
@@ -29,8 +29,6 @@ import {
|
|
|
29
29
|
export interface AssessmentForm {
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof AssessmentForm
|
|
34
32
|
*/
|
|
35
33
|
name: string;
|
|
36
34
|
/**
|
|
@@ -38,20 +36,14 @@ export interface AssessmentForm {
|
|
|
38
36
|
* * `inventory` - Manual inventory upload via JSON
|
|
39
37
|
* * `agent` - Collected by OpenShift Migration Advisor agent
|
|
40
38
|
*
|
|
41
|
-
* @type {string}
|
|
42
|
-
* @memberof AssessmentForm
|
|
43
39
|
*/
|
|
44
40
|
sourceType: string;
|
|
45
41
|
/**
|
|
46
42
|
*
|
|
47
|
-
* @type {string}
|
|
48
|
-
* @memberof AssessmentForm
|
|
49
43
|
*/
|
|
50
44
|
sourceId?: string;
|
|
51
45
|
/**
|
|
52
46
|
*
|
|
53
|
-
* @type {Inventory}
|
|
54
|
-
* @memberof AssessmentForm
|
|
55
47
|
*/
|
|
56
48
|
inventory?: Inventory;
|
|
57
49
|
}
|
|
@@ -29,20 +29,14 @@ import {
|
|
|
29
29
|
export interface AssessmentSharing {
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
|
-
* @type {boolean}
|
|
33
|
-
* @memberof AssessmentSharing
|
|
34
32
|
*/
|
|
35
33
|
isShared: boolean;
|
|
36
34
|
/**
|
|
37
35
|
*
|
|
38
|
-
* @type {Array<SharingSubject>}
|
|
39
|
-
* @memberof AssessmentSharing
|
|
40
36
|
*/
|
|
41
37
|
sharedWith: Array<SharingSubject>;
|
|
42
38
|
/**
|
|
43
39
|
*
|
|
44
|
-
* @type {SharingSubject}
|
|
45
|
-
* @memberof AssessmentSharing
|
|
46
40
|
*/
|
|
47
41
|
sharedBy?: SharingSubject;
|
|
48
42
|
}
|