@openshift-migration-advisor/planner-sdk 0.11.0 → 0.12.0
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 +16 -0
- package/README.md +22 -3
- package/dist/apis/AccountApi.d.ts +1 -1
- package/dist/apis/AccountApi.js +1 -1
- package/dist/apis/AssessmentApi.d.ts +107 -2
- package/dist/apis/AssessmentApi.js +124 -1
- package/dist/apis/HealthApi.d.ts +1 -1
- package/dist/apis/HealthApi.js +1 -1
- package/dist/apis/ImageApi.d.ts +1 -1
- package/dist/apis/ImageApi.js +1 -1
- package/dist/apis/InfoApi.d.ts +1 -1
- package/dist/apis/InfoApi.js +1 -1
- package/dist/apis/JobApi.d.ts +1 -1
- package/dist/apis/JobApi.js +1 -1
- package/dist/apis/PartnerApi.d.ts +323 -0
- package/dist/apis/PartnerApi.js +379 -0
- package/dist/apis/SourceApi.d.ts +1 -1
- package/dist/apis/SourceApi.js +1 -1
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/AccountApi.d.ts +1 -1
- package/dist/esm/apis/AccountApi.js +1 -1
- package/dist/esm/apis/AssessmentApi.d.ts +107 -2
- package/dist/esm/apis/AssessmentApi.js +125 -2
- package/dist/esm/apis/HealthApi.d.ts +1 -1
- package/dist/esm/apis/HealthApi.js +1 -1
- package/dist/esm/apis/ImageApi.d.ts +1 -1
- package/dist/esm/apis/ImageApi.js +1 -1
- package/dist/esm/apis/InfoApi.d.ts +1 -1
- package/dist/esm/apis/InfoApi.js +1 -1
- package/dist/esm/apis/JobApi.d.ts +1 -1
- package/dist/esm/apis/JobApi.js +1 -1
- package/dist/esm/apis/PartnerApi.d.ts +323 -0
- package/dist/esm/apis/PartnerApi.js +375 -0
- package/dist/esm/apis/SourceApi.d.ts +1 -1
- package/dist/esm/apis/SourceApi.js +1 -1
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/Agent.d.ts +1 -1
- package/dist/esm/models/Agent.js +1 -1
- package/dist/esm/models/AgentProxy.d.ts +1 -1
- package/dist/esm/models/AgentProxy.js +1 -1
- package/dist/esm/models/Assessment.d.ts +1 -1
- package/dist/esm/models/Assessment.js +1 -1
- package/dist/esm/models/AssessmentForm.d.ts +1 -1
- package/dist/esm/models/AssessmentForm.js +1 -1
- package/dist/esm/models/AssessmentUpdate.d.ts +1 -1
- package/dist/esm/models/AssessmentUpdate.js +1 -1
- package/dist/esm/models/ClusterRequirementsRequest.d.ts +1 -1
- package/dist/esm/models/ClusterRequirementsRequest.js +1 -1
- package/dist/esm/models/ClusterRequirementsResponse.d.ts +1 -1
- package/dist/esm/models/ClusterRequirementsResponse.js +1 -1
- package/dist/esm/models/ClusterRequirementsStoredInput.d.ts +119 -0
- package/dist/esm/models/ClusterRequirementsStoredInput.js +87 -0
- package/dist/esm/models/ClusterSizing.d.ts +1 -1
- package/dist/esm/models/ClusterSizing.js +1 -1
- package/dist/esm/models/ComplexityDiskScoreEntry.d.ts +1 -1
- package/dist/esm/models/ComplexityDiskScoreEntry.js +1 -1
- package/dist/esm/models/ComplexityOSNameEntry.d.ts +1 -1
- package/dist/esm/models/ComplexityOSNameEntry.js +1 -1
- package/dist/esm/models/ComplexityOSScoreEntry.d.ts +1 -1
- package/dist/esm/models/ComplexityOSScoreEntry.js +1 -1
- package/dist/esm/models/Customer.d.ts +62 -0
- package/dist/esm/models/Customer.js +63 -0
- package/dist/esm/models/Datastore.d.ts +1 -1
- package/dist/esm/models/Datastore.js +1 -1
- package/dist/esm/models/DiskSizeTierSummary.d.ts +1 -1
- package/dist/esm/models/DiskSizeTierSummary.js +1 -1
- package/dist/esm/models/DiskTypeSummary.d.ts +1 -1
- package/dist/esm/models/DiskTypeSummary.js +1 -1
- package/dist/esm/models/EstimationContext.d.ts +1 -1
- package/dist/esm/models/EstimationContext.js +1 -1
- package/dist/esm/models/EstimationDetail.d.ts +1 -1
- package/dist/esm/models/EstimationDetail.js +1 -1
- package/dist/esm/models/Group.d.ts +1 -1
- package/dist/esm/models/Group.js +1 -1
- package/dist/esm/models/GroupCreate.d.ts +1 -1
- package/dist/esm/models/GroupCreate.js +1 -1
- package/dist/esm/models/GroupUpdate.d.ts +1 -1
- package/dist/esm/models/GroupUpdate.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/Identity.d.ts +1 -1
- package/dist/esm/models/Identity.js +1 -1
- package/dist/esm/models/Info.d.ts +1 -1
- package/dist/esm/models/Info.js +1 -1
- package/dist/esm/models/Infra.d.ts +1 -1
- package/dist/esm/models/Infra.js +1 -1
- package/dist/esm/models/Inventory.d.ts +1 -1
- package/dist/esm/models/Inventory.js +1 -1
- package/dist/esm/models/InventoryData.d.ts +1 -1
- package/dist/esm/models/InventoryData.js +1 -1
- package/dist/esm/models/InventoryTotals.d.ts +1 -1
- package/dist/esm/models/InventoryTotals.js +1 -1
- package/dist/esm/models/Ipv4Config.d.ts +1 -1
- package/dist/esm/models/Ipv4Config.js +1 -1
- package/dist/esm/models/Job.d.ts +1 -1
- package/dist/esm/models/Job.js +1 -1
- package/dist/esm/models/JobStatus.d.ts +1 -1
- package/dist/esm/models/JobStatus.js +1 -1
- package/dist/esm/models/Label.d.ts +1 -1
- package/dist/esm/models/Label.js +1 -1
- package/dist/esm/models/Member.d.ts +1 -1
- package/dist/esm/models/Member.js +1 -1
- package/dist/esm/models/MemberCreate.d.ts +1 -1
- package/dist/esm/models/MemberCreate.js +1 -1
- package/dist/esm/models/MemberUpdate.d.ts +1 -1
- package/dist/esm/models/MemberUpdate.js +1 -1
- package/dist/esm/models/MigrationComplexityRequest.d.ts +1 -1
- package/dist/esm/models/MigrationComplexityRequest.js +1 -1
- package/dist/esm/models/MigrationComplexityResponse.d.ts +1 -1
- package/dist/esm/models/MigrationComplexityResponse.js +1 -1
- package/dist/esm/models/MigrationEstimationByComplexityResponse.d.ts +1 -1
- package/dist/esm/models/MigrationEstimationByComplexityResponse.js +1 -1
- package/dist/esm/models/MigrationEstimationRequest.d.ts +1 -1
- package/dist/esm/models/MigrationEstimationRequest.js +1 -1
- package/dist/esm/models/MigrationEstimationResponse.d.ts +1 -1
- package/dist/esm/models/MigrationEstimationResponse.js +1 -1
- package/dist/esm/models/MigrationIssue.d.ts +1 -1
- package/dist/esm/models/MigrationIssue.js +1 -1
- package/dist/esm/models/ModelError.d.ts +1 -1
- package/dist/esm/models/ModelError.js +1 -1
- package/dist/esm/models/Network.d.ts +1 -1
- package/dist/esm/models/Network.js +1 -1
- package/dist/esm/models/OsDiskEstimationEntry.d.ts +1 -1
- package/dist/esm/models/OsDiskEstimationEntry.js +1 -1
- package/dist/esm/models/OsInfo.d.ts +1 -1
- package/dist/esm/models/OsInfo.js +1 -1
- package/dist/esm/models/PartnerRequest.d.ts +106 -0
- package/dist/esm/models/PartnerRequest.js +87 -0
- package/dist/esm/models/PartnerRequestCreate.d.ts +56 -0
- package/dist/esm/models/PartnerRequestCreate.js +59 -0
- package/dist/esm/models/PartnerRequestStatus.d.ts +27 -0
- package/dist/esm/models/PartnerRequestStatus.js +45 -0
- package/dist/esm/models/PartnerRequestUpdate.d.ts +39 -0
- package/dist/esm/models/PartnerRequestUpdate.js +46 -0
- package/dist/esm/models/PartnerSummary.d.ts +50 -0
- package/dist/esm/models/PartnerSummary.js +55 -0
- package/dist/esm/models/PresignedUrl.d.ts +1 -1
- package/dist/esm/models/PresignedUrl.js +1 -1
- package/dist/esm/models/SchemaEstimationResult.d.ts +1 -1
- package/dist/esm/models/SchemaEstimationResult.js +1 -1
- package/dist/esm/models/SizingOverCommitRatio.d.ts +1 -1
- package/dist/esm/models/SizingOverCommitRatio.js +1 -1
- package/dist/esm/models/SizingResourceConsumption.d.ts +1 -1
- package/dist/esm/models/SizingResourceConsumption.js +1 -1
- package/dist/esm/models/SizingResourceLimits.d.ts +1 -1
- package/dist/esm/models/SizingResourceLimits.js +1 -1
- package/dist/esm/models/Snapshot.d.ts +1 -1
- package/dist/esm/models/Snapshot.js +1 -1
- package/dist/esm/models/Source.d.ts +1 -1
- package/dist/esm/models/Source.js +1 -1
- package/dist/esm/models/SourceCreate.d.ts +1 -1
- package/dist/esm/models/SourceCreate.js +1 -1
- package/dist/esm/models/SourceInfra.d.ts +1 -1
- package/dist/esm/models/SourceInfra.js +1 -1
- package/dist/esm/models/SourceUpdate.d.ts +1 -1
- package/dist/esm/models/SourceUpdate.js +1 -1
- package/dist/esm/models/Status.d.ts +1 -1
- package/dist/esm/models/Status.js +1 -1
- package/dist/esm/models/UpdateInventory.d.ts +1 -1
- package/dist/esm/models/UpdateInventory.js +1 -1
- package/dist/esm/models/VCenter.d.ts +1 -1
- package/dist/esm/models/VCenter.js +1 -1
- package/dist/esm/models/VMResourceBreakdown.d.ts +1 -1
- package/dist/esm/models/VMResourceBreakdown.js +1 -1
- package/dist/esm/models/VMs.d.ts +10 -1
- package/dist/esm/models/VMs.js +3 -1
- package/dist/esm/models/VmNetwork.d.ts +1 -1
- package/dist/esm/models/VmNetwork.js +1 -1
- package/dist/esm/models/index.d.ts +7 -0
- package/dist/esm/models/index.js +7 -0
- package/dist/esm/runtime.d.ts +1 -1
- package/dist/esm/runtime.js +1 -1
- package/dist/models/Agent.d.ts +1 -1
- package/dist/models/Agent.js +1 -1
- package/dist/models/AgentProxy.d.ts +1 -1
- package/dist/models/AgentProxy.js +1 -1
- package/dist/models/Assessment.d.ts +1 -1
- package/dist/models/Assessment.js +1 -1
- package/dist/models/AssessmentForm.d.ts +1 -1
- package/dist/models/AssessmentForm.js +1 -1
- package/dist/models/AssessmentUpdate.d.ts +1 -1
- package/dist/models/AssessmentUpdate.js +1 -1
- package/dist/models/ClusterRequirementsRequest.d.ts +1 -1
- package/dist/models/ClusterRequirementsRequest.js +1 -1
- package/dist/models/ClusterRequirementsResponse.d.ts +1 -1
- package/dist/models/ClusterRequirementsResponse.js +1 -1
- package/dist/models/ClusterRequirementsStoredInput.d.ts +119 -0
- package/dist/models/ClusterRequirementsStoredInput.js +95 -0
- package/dist/models/ClusterSizing.d.ts +1 -1
- package/dist/models/ClusterSizing.js +1 -1
- package/dist/models/ComplexityDiskScoreEntry.d.ts +1 -1
- package/dist/models/ComplexityDiskScoreEntry.js +1 -1
- package/dist/models/ComplexityOSNameEntry.d.ts +1 -1
- package/dist/models/ComplexityOSNameEntry.js +1 -1
- package/dist/models/ComplexityOSScoreEntry.d.ts +1 -1
- package/dist/models/ComplexityOSScoreEntry.js +1 -1
- package/dist/models/Customer.d.ts +62 -0
- package/dist/models/Customer.js +70 -0
- package/dist/models/Datastore.d.ts +1 -1
- package/dist/models/Datastore.js +1 -1
- package/dist/models/DiskSizeTierSummary.d.ts +1 -1
- package/dist/models/DiskSizeTierSummary.js +1 -1
- package/dist/models/DiskTypeSummary.d.ts +1 -1
- package/dist/models/DiskTypeSummary.js +1 -1
- package/dist/models/EstimationContext.d.ts +1 -1
- package/dist/models/EstimationContext.js +1 -1
- package/dist/models/EstimationDetail.d.ts +1 -1
- package/dist/models/EstimationDetail.js +1 -1
- package/dist/models/Group.d.ts +1 -1
- package/dist/models/Group.js +1 -1
- package/dist/models/GroupCreate.d.ts +1 -1
- package/dist/models/GroupCreate.js +1 -1
- package/dist/models/GroupUpdate.d.ts +1 -1
- package/dist/models/GroupUpdate.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/Identity.d.ts +1 -1
- package/dist/models/Identity.js +1 -1
- package/dist/models/Info.d.ts +1 -1
- package/dist/models/Info.js +1 -1
- package/dist/models/Infra.d.ts +1 -1
- package/dist/models/Infra.js +1 -1
- package/dist/models/Inventory.d.ts +1 -1
- package/dist/models/Inventory.js +1 -1
- package/dist/models/InventoryData.d.ts +1 -1
- package/dist/models/InventoryData.js +1 -1
- package/dist/models/InventoryTotals.d.ts +1 -1
- package/dist/models/InventoryTotals.js +1 -1
- package/dist/models/Ipv4Config.d.ts +1 -1
- package/dist/models/Ipv4Config.js +1 -1
- package/dist/models/Job.d.ts +1 -1
- package/dist/models/Job.js +1 -1
- package/dist/models/JobStatus.d.ts +1 -1
- package/dist/models/JobStatus.js +1 -1
- package/dist/models/Label.d.ts +1 -1
- package/dist/models/Label.js +1 -1
- package/dist/models/Member.d.ts +1 -1
- package/dist/models/Member.js +1 -1
- package/dist/models/MemberCreate.d.ts +1 -1
- package/dist/models/MemberCreate.js +1 -1
- package/dist/models/MemberUpdate.d.ts +1 -1
- package/dist/models/MemberUpdate.js +1 -1
- package/dist/models/MigrationComplexityRequest.d.ts +1 -1
- package/dist/models/MigrationComplexityRequest.js +1 -1
- package/dist/models/MigrationComplexityResponse.d.ts +1 -1
- package/dist/models/MigrationComplexityResponse.js +1 -1
- package/dist/models/MigrationEstimationByComplexityResponse.d.ts +1 -1
- package/dist/models/MigrationEstimationByComplexityResponse.js +1 -1
- package/dist/models/MigrationEstimationRequest.d.ts +1 -1
- package/dist/models/MigrationEstimationRequest.js +1 -1
- package/dist/models/MigrationEstimationResponse.d.ts +1 -1
- package/dist/models/MigrationEstimationResponse.js +1 -1
- package/dist/models/MigrationIssue.d.ts +1 -1
- package/dist/models/MigrationIssue.js +1 -1
- package/dist/models/ModelError.d.ts +1 -1
- package/dist/models/ModelError.js +1 -1
- package/dist/models/Network.d.ts +1 -1
- package/dist/models/Network.js +1 -1
- package/dist/models/OsDiskEstimationEntry.d.ts +1 -1
- package/dist/models/OsDiskEstimationEntry.js +1 -1
- package/dist/models/OsInfo.d.ts +1 -1
- package/dist/models/OsInfo.js +1 -1
- package/dist/models/PartnerRequest.d.ts +106 -0
- package/dist/models/PartnerRequest.js +94 -0
- package/dist/models/PartnerRequestCreate.d.ts +56 -0
- package/dist/models/PartnerRequestCreate.js +66 -0
- package/dist/models/PartnerRequestStatus.d.ts +27 -0
- package/dist/models/PartnerRequestStatus.js +53 -0
- package/dist/models/PartnerRequestUpdate.d.ts +39 -0
- package/dist/models/PartnerRequestUpdate.js +53 -0
- package/dist/models/PartnerSummary.d.ts +50 -0
- package/dist/models/PartnerSummary.js +62 -0
- package/dist/models/PresignedUrl.d.ts +1 -1
- package/dist/models/PresignedUrl.js +1 -1
- package/dist/models/SchemaEstimationResult.d.ts +1 -1
- package/dist/models/SchemaEstimationResult.js +1 -1
- package/dist/models/SizingOverCommitRatio.d.ts +1 -1
- package/dist/models/SizingOverCommitRatio.js +1 -1
- package/dist/models/SizingResourceConsumption.d.ts +1 -1
- package/dist/models/SizingResourceConsumption.js +1 -1
- package/dist/models/SizingResourceLimits.d.ts +1 -1
- package/dist/models/SizingResourceLimits.js +1 -1
- package/dist/models/Snapshot.d.ts +1 -1
- package/dist/models/Snapshot.js +1 -1
- package/dist/models/Source.d.ts +1 -1
- package/dist/models/Source.js +1 -1
- package/dist/models/SourceCreate.d.ts +1 -1
- package/dist/models/SourceCreate.js +1 -1
- package/dist/models/SourceInfra.d.ts +1 -1
- package/dist/models/SourceInfra.js +1 -1
- package/dist/models/SourceUpdate.d.ts +1 -1
- package/dist/models/SourceUpdate.js +1 -1
- package/dist/models/Status.d.ts +1 -1
- package/dist/models/Status.js +1 -1
- package/dist/models/UpdateInventory.d.ts +1 -1
- package/dist/models/UpdateInventory.js +1 -1
- package/dist/models/VCenter.d.ts +1 -1
- package/dist/models/VCenter.js +1 -1
- package/dist/models/VMResourceBreakdown.d.ts +1 -1
- package/dist/models/VMResourceBreakdown.js +1 -1
- package/dist/models/VMs.d.ts +10 -1
- package/dist/models/VMs.js +3 -1
- package/dist/models/VmNetwork.d.ts +1 -1
- package/dist/models/VmNetwork.js +1 -1
- package/dist/models/index.d.ts +7 -0
- package/dist/models/index.js +7 -0
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +1 -1
- package/docs/AssessmentApi.md +222 -0
- package/docs/ClusterRequirementsStoredInput.md +55 -0
- package/docs/Customer.md +44 -0
- package/docs/PartnerApi.md +636 -0
- package/docs/PartnerRequest.md +58 -0
- package/docs/PartnerRequestCreate.md +42 -0
- package/docs/PartnerRequestStatus.md +32 -0
- package/docs/PartnerRequestUpdate.md +36 -0
- package/docs/PartnerSummary.md +40 -0
- package/docs/SourceApi.md +1 -1
- package/docs/VMs.md +2 -0
- package/package.json +1 -1
- package/src/apis/AccountApi.ts +1 -1
- package/src/apis/AssessmentApi.ts +234 -1
- package/src/apis/HealthApi.ts +1 -1
- package/src/apis/ImageApi.ts +1 -1
- package/src/apis/InfoApi.ts +1 -1
- package/src/apis/JobApi.ts +1 -1
- package/src/apis/PartnerApi.ts +671 -0
- package/src/apis/SourceApi.ts +1 -1
- package/src/apis/index.ts +1 -0
- package/src/models/Agent.ts +1 -1
- package/src/models/AgentProxy.ts +1 -1
- package/src/models/Assessment.ts +1 -1
- package/src/models/AssessmentForm.ts +1 -1
- package/src/models/AssessmentUpdate.ts +1 -1
- package/src/models/ClusterRequirementsRequest.ts +1 -1
- package/src/models/ClusterRequirementsResponse.ts +1 -1
- package/src/models/ClusterRequirementsStoredInput.ts +178 -0
- package/src/models/ClusterSizing.ts +1 -1
- package/src/models/ComplexityDiskScoreEntry.ts +1 -1
- package/src/models/ComplexityOSNameEntry.ts +1 -1
- package/src/models/ComplexityOSScoreEntry.ts +1 -1
- package/src/models/Customer.ts +111 -0
- package/src/models/Datastore.ts +1 -1
- package/src/models/DiskSizeTierSummary.ts +1 -1
- package/src/models/DiskTypeSummary.ts +1 -1
- package/src/models/EstimationContext.ts +1 -1
- package/src/models/EstimationDetail.ts +1 -1
- package/src/models/Group.ts +1 -1
- package/src/models/GroupCreate.ts +1 -1
- package/src/models/GroupUpdate.ts +1 -1
- package/src/models/Histogram.ts +1 -1
- package/src/models/Host.ts +1 -1
- package/src/models/Identity.ts +1 -1
- package/src/models/Info.ts +1 -1
- package/src/models/Infra.ts +1 -1
- package/src/models/Inventory.ts +1 -1
- package/src/models/InventoryData.ts +1 -1
- package/src/models/InventoryTotals.ts +1 -1
- package/src/models/Ipv4Config.ts +1 -1
- package/src/models/Job.ts +1 -1
- package/src/models/JobStatus.ts +1 -1
- package/src/models/Label.ts +1 -1
- package/src/models/Member.ts +1 -1
- package/src/models/MemberCreate.ts +1 -1
- package/src/models/MemberUpdate.ts +1 -1
- package/src/models/MigrationComplexityRequest.ts +1 -1
- package/src/models/MigrationComplexityResponse.ts +1 -1
- package/src/models/MigrationEstimationByComplexityResponse.ts +1 -1
- package/src/models/MigrationEstimationRequest.ts +1 -1
- package/src/models/MigrationEstimationResponse.ts +1 -1
- package/src/models/MigrationIssue.ts +1 -1
- package/src/models/ModelError.ts +1 -1
- package/src/models/Network.ts +1 -1
- package/src/models/OsDiskEstimationEntry.ts +1 -1
- package/src/models/OsInfo.ts +1 -1
- package/src/models/PartnerRequest.ts +188 -0
- package/src/models/PartnerRequestCreate.ts +102 -0
- package/src/models/PartnerRequestStatus.ts +55 -0
- package/src/models/PartnerRequestUpdate.ts +84 -0
- package/src/models/PartnerSummary.ts +93 -0
- package/src/models/PresignedUrl.ts +1 -1
- package/src/models/SchemaEstimationResult.ts +1 -1
- package/src/models/SizingOverCommitRatio.ts +1 -1
- package/src/models/SizingResourceConsumption.ts +1 -1
- package/src/models/SizingResourceLimits.ts +1 -1
- package/src/models/Snapshot.ts +1 -1
- package/src/models/Source.ts +1 -1
- package/src/models/SourceCreate.ts +1 -1
- package/src/models/SourceInfra.ts +1 -1
- package/src/models/SourceUpdate.ts +1 -1
- package/src/models/Status.ts +1 -1
- package/src/models/UpdateInventory.ts +1 -1
- package/src/models/VCenter.ts +1 -1
- package/src/models/VMResourceBreakdown.ts +1 -1
- package/src/models/VMs.ts +10 -1
- package/src/models/VmNetwork.ts +1 -1
- package/src/models/index.ts +7 -0
- package/src/runtime.ts +1 -1
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
|
|
2
|
+
# PartnerRequest
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`id` | string
|
|
10
|
+
`username` | string
|
|
11
|
+
`partner` | [PartnerSummary](PartnerSummary.md)
|
|
12
|
+
`requestStatus` | [PartnerRequestStatus](PartnerRequestStatus.md)
|
|
13
|
+
`name` | string
|
|
14
|
+
`contactName` | string
|
|
15
|
+
`contactPhone` | string
|
|
16
|
+
`email` | string
|
|
17
|
+
`location` | string
|
|
18
|
+
`reason` | string
|
|
19
|
+
`acceptedAt` | Date
|
|
20
|
+
`terminatedAt` | Date
|
|
21
|
+
`createdAt` | Date
|
|
22
|
+
|
|
23
|
+
## Example
|
|
24
|
+
|
|
25
|
+
```typescript
|
|
26
|
+
import type { PartnerRequest } from '@openshift-migration-advisor/planner-sdk'
|
|
27
|
+
|
|
28
|
+
// TODO: Update the object below with actual values
|
|
29
|
+
const example = {
|
|
30
|
+
"id": null,
|
|
31
|
+
"username": null,
|
|
32
|
+
"partner": null,
|
|
33
|
+
"requestStatus": null,
|
|
34
|
+
"name": null,
|
|
35
|
+
"contactName": null,
|
|
36
|
+
"contactPhone": null,
|
|
37
|
+
"email": null,
|
|
38
|
+
"location": null,
|
|
39
|
+
"reason": null,
|
|
40
|
+
"acceptedAt": null,
|
|
41
|
+
"terminatedAt": null,
|
|
42
|
+
"createdAt": null,
|
|
43
|
+
} satisfies PartnerRequest
|
|
44
|
+
|
|
45
|
+
console.log(example)
|
|
46
|
+
|
|
47
|
+
// Convert the instance to a JSON string
|
|
48
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
49
|
+
console.log(exampleJSON)
|
|
50
|
+
|
|
51
|
+
// Parse the JSON string back to an object
|
|
52
|
+
const exampleParsed = JSON.parse(exampleJSON) as PartnerRequest
|
|
53
|
+
console.log(exampleParsed)
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
57
|
+
|
|
58
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
|
|
2
|
+
# PartnerRequestCreate
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`name` | string
|
|
10
|
+
`contactName` | string
|
|
11
|
+
`contactPhone` | string
|
|
12
|
+
`email` | string
|
|
13
|
+
`location` | string
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import type { PartnerRequestCreate } from '@openshift-migration-advisor/planner-sdk'
|
|
19
|
+
|
|
20
|
+
// TODO: Update the object below with actual values
|
|
21
|
+
const example = {
|
|
22
|
+
"name": null,
|
|
23
|
+
"contactName": null,
|
|
24
|
+
"contactPhone": null,
|
|
25
|
+
"email": null,
|
|
26
|
+
"location": null,
|
|
27
|
+
} satisfies PartnerRequestCreate
|
|
28
|
+
|
|
29
|
+
console.log(example)
|
|
30
|
+
|
|
31
|
+
// Convert the instance to a JSON string
|
|
32
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
33
|
+
console.log(exampleJSON)
|
|
34
|
+
|
|
35
|
+
// Parse the JSON string back to an object
|
|
36
|
+
const exampleParsed = JSON.parse(exampleJSON) as PartnerRequestCreate
|
|
37
|
+
console.log(exampleParsed)
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
41
|
+
|
|
42
|
+
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
|
|
2
|
+
# PartnerRequestStatus
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import type { PartnerRequestStatus } from '@openshift-migration-advisor/planner-sdk'
|
|
14
|
+
|
|
15
|
+
// TODO: Update the object below with actual values
|
|
16
|
+
const example = {
|
|
17
|
+
} satisfies PartnerRequestStatus
|
|
18
|
+
|
|
19
|
+
console.log(example)
|
|
20
|
+
|
|
21
|
+
// Convert the instance to a JSON string
|
|
22
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
23
|
+
console.log(exampleJSON)
|
|
24
|
+
|
|
25
|
+
// Parse the JSON string back to an object
|
|
26
|
+
const exampleParsed = JSON.parse(exampleJSON) as PartnerRequestStatus
|
|
27
|
+
console.log(exampleParsed)
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
31
|
+
|
|
32
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
|
|
2
|
+
# PartnerRequestUpdate
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`status` | [PartnerRequestStatus](PartnerRequestStatus.md)
|
|
10
|
+
`reason` | string
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import type { PartnerRequestUpdate } from '@openshift-migration-advisor/planner-sdk'
|
|
16
|
+
|
|
17
|
+
// TODO: Update the object below with actual values
|
|
18
|
+
const example = {
|
|
19
|
+
"status": null,
|
|
20
|
+
"reason": null,
|
|
21
|
+
} satisfies PartnerRequestUpdate
|
|
22
|
+
|
|
23
|
+
console.log(example)
|
|
24
|
+
|
|
25
|
+
// Convert the instance to a JSON string
|
|
26
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
27
|
+
console.log(exampleJSON)
|
|
28
|
+
|
|
29
|
+
// Parse the JSON string back to an object
|
|
30
|
+
const exampleParsed = JSON.parse(exampleJSON) as PartnerRequestUpdate
|
|
31
|
+
console.log(exampleParsed)
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
35
|
+
|
|
36
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
|
|
2
|
+
# PartnerSummary
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`id` | string
|
|
10
|
+
`name` | string
|
|
11
|
+
`company` | string
|
|
12
|
+
`icon` | string
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import type { PartnerSummary } from '@openshift-migration-advisor/planner-sdk'
|
|
18
|
+
|
|
19
|
+
// TODO: Update the object below with actual values
|
|
20
|
+
const example = {
|
|
21
|
+
"id": null,
|
|
22
|
+
"name": null,
|
|
23
|
+
"company": null,
|
|
24
|
+
"icon": null,
|
|
25
|
+
} satisfies PartnerSummary
|
|
26
|
+
|
|
27
|
+
console.log(example)
|
|
28
|
+
|
|
29
|
+
// Convert the instance to a JSON string
|
|
30
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
31
|
+
console.log(exampleJSON)
|
|
32
|
+
|
|
33
|
+
// Parse the JSON string back to an object
|
|
34
|
+
const exampleParsed = JSON.parse(exampleJSON) as PartnerSummary
|
|
35
|
+
console.log(exampleParsed)
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
39
|
+
|
|
40
|
+
|
package/docs/SourceApi.md
CHANGED
|
@@ -151,7 +151,7 @@ No authorization required
|
|
|
151
151
|
| **401** | Unauthorized | - |
|
|
152
152
|
| **403** | Forbidden | - |
|
|
153
153
|
| **404** | NotFound | - |
|
|
154
|
-
| **500** |
|
|
154
|
+
| **500** | Internal Server Error | - |
|
|
155
155
|
|
|
156
156
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
157
157
|
|
package/docs/VMs.md
CHANGED
|
@@ -12,6 +12,7 @@ Name | Type
|
|
|
12
12
|
`totalWithSharedDisks` | number
|
|
13
13
|
`cpuCores` | [VMResourceBreakdown](VMResourceBreakdown.md)
|
|
14
14
|
`diskSizeTier` | [{ [key: string]: DiskSizeTierSummary; }](DiskSizeTierSummary.md)
|
|
15
|
+
`diskComplexityTier` | [{ [key: string]: DiskSizeTierSummary; }](DiskSizeTierSummary.md)
|
|
15
16
|
`diskTypes` | [{ [key: string]: DiskTypeSummary; }](DiskTypeSummary.md)
|
|
16
17
|
`distributionByCpuTier` | { [key: string]: number; }
|
|
17
18
|
`distributionByMemoryTier` | { [key: string]: number; }
|
|
@@ -41,6 +42,7 @@ const example = {
|
|
|
41
42
|
"totalWithSharedDisks": null,
|
|
42
43
|
"cpuCores": null,
|
|
43
44
|
"diskSizeTier": null,
|
|
45
|
+
"diskComplexityTier": null,
|
|
44
46
|
"diskTypes": null,
|
|
45
47
|
"distributionByCpuTier": null,
|
|
46
48
|
"distributionByMemoryTier": null,
|
package/package.json
CHANGED
package/src/apis/AccountApi.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* OpenShift Migration Advisor 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: v1alpha1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* OpenShift Migration Advisor 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: v1alpha1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -20,11 +20,13 @@ import type {
|
|
|
20
20
|
AssessmentUpdate,
|
|
21
21
|
ClusterRequirementsRequest,
|
|
22
22
|
ClusterRequirementsResponse,
|
|
23
|
+
ClusterRequirementsStoredInput,
|
|
23
24
|
MigrationComplexityRequest,
|
|
24
25
|
MigrationComplexityResponse,
|
|
25
26
|
MigrationEstimationByComplexityResponse,
|
|
26
27
|
MigrationEstimationRequest,
|
|
27
28
|
MigrationEstimationResponse,
|
|
29
|
+
Status,
|
|
28
30
|
} from '../models/index.js';
|
|
29
31
|
import {
|
|
30
32
|
AssessmentFromJSON,
|
|
@@ -37,6 +39,8 @@ import {
|
|
|
37
39
|
ClusterRequirementsRequestToJSON,
|
|
38
40
|
ClusterRequirementsResponseFromJSON,
|
|
39
41
|
ClusterRequirementsResponseToJSON,
|
|
42
|
+
ClusterRequirementsStoredInputFromJSON,
|
|
43
|
+
ClusterRequirementsStoredInputToJSON,
|
|
40
44
|
MigrationComplexityRequestFromJSON,
|
|
41
45
|
MigrationComplexityRequestToJSON,
|
|
42
46
|
MigrationComplexityResponseFromJSON,
|
|
@@ -47,6 +51,8 @@ import {
|
|
|
47
51
|
MigrationEstimationRequestToJSON,
|
|
48
52
|
MigrationEstimationResponseFromJSON,
|
|
49
53
|
MigrationEstimationResponseToJSON,
|
|
54
|
+
StatusFromJSON,
|
|
55
|
+
StatusToJSON,
|
|
50
56
|
} from '../models/index.js';
|
|
51
57
|
|
|
52
58
|
export interface CalculateAssessmentClusterRequirementsRequest {
|
|
@@ -81,10 +87,23 @@ export interface GetAssessmentRequest {
|
|
|
81
87
|
id: string;
|
|
82
88
|
}
|
|
83
89
|
|
|
90
|
+
export interface GetAssessmentClusterRequirementsStoredInputRequest {
|
|
91
|
+
id: string;
|
|
92
|
+
clusterId: string;
|
|
93
|
+
}
|
|
94
|
+
|
|
84
95
|
export interface ListAssessmentsRequest {
|
|
85
96
|
sourceId?: string;
|
|
86
97
|
}
|
|
87
98
|
|
|
99
|
+
export interface ShareAssessmentRequest {
|
|
100
|
+
id: string;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
export interface UnshareAssessmentRequest {
|
|
104
|
+
id: string;
|
|
105
|
+
}
|
|
106
|
+
|
|
88
107
|
export interface UpdateAssessmentRequest {
|
|
89
108
|
id: string;
|
|
90
109
|
assessmentUpdate: AssessmentUpdate;
|
|
@@ -259,6 +278,30 @@ export interface AssessmentApiInterface {
|
|
|
259
278
|
*/
|
|
260
279
|
getAssessment(requestParameters: GetAssessmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Assessment>;
|
|
261
280
|
|
|
281
|
+
/**
|
|
282
|
+
* Creates request options for getAssessmentClusterRequirementsStoredInput without sending the request
|
|
283
|
+
* @param {string} id ID of the assessment
|
|
284
|
+
* @param {string} clusterId ID of the VMware cluster
|
|
285
|
+
* @throws {RequiredError}
|
|
286
|
+
* @memberof AssessmentApiInterface
|
|
287
|
+
*/
|
|
288
|
+
getAssessmentClusterRequirementsStoredInputRequestOpts(requestParameters: GetAssessmentClusterRequirementsStoredInputRequest): Promise<runtime.RequestOpts>;
|
|
289
|
+
|
|
290
|
+
/**
|
|
291
|
+
* Get stored cluster requirements input for an assessment cluster
|
|
292
|
+
* @param {string} id ID of the assessment
|
|
293
|
+
* @param {string} clusterId ID of the VMware cluster
|
|
294
|
+
* @param {*} [options] Override http request option.
|
|
295
|
+
* @throws {RequiredError}
|
|
296
|
+
* @memberof AssessmentApiInterface
|
|
297
|
+
*/
|
|
298
|
+
getAssessmentClusterRequirementsStoredInputRaw(requestParameters: GetAssessmentClusterRequirementsStoredInputRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ClusterRequirementsStoredInput>>;
|
|
299
|
+
|
|
300
|
+
/**
|
|
301
|
+
* Get stored cluster requirements input for an assessment cluster
|
|
302
|
+
*/
|
|
303
|
+
getAssessmentClusterRequirementsStoredInput(requestParameters: GetAssessmentClusterRequirementsStoredInputRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ClusterRequirementsStoredInput>;
|
|
304
|
+
|
|
262
305
|
/**
|
|
263
306
|
* Creates request options for listAssessments without sending the request
|
|
264
307
|
* @param {string} [sourceId] Filter assessments by source ID
|
|
@@ -281,6 +324,50 @@ export interface AssessmentApiInterface {
|
|
|
281
324
|
*/
|
|
282
325
|
listAssessments(requestParameters: ListAssessmentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<Assessment>>;
|
|
283
326
|
|
|
327
|
+
/**
|
|
328
|
+
* Creates request options for shareAssessment without sending the request
|
|
329
|
+
* @param {string} id ID of the assessment
|
|
330
|
+
* @throws {RequiredError}
|
|
331
|
+
* @memberof AssessmentApiInterface
|
|
332
|
+
*/
|
|
333
|
+
shareAssessmentRequestOpts(requestParameters: ShareAssessmentRequest): Promise<runtime.RequestOpts>;
|
|
334
|
+
|
|
335
|
+
/**
|
|
336
|
+
* Share an assessment with the user\'s partner organization
|
|
337
|
+
* @param {string} id ID of the assessment
|
|
338
|
+
* @param {*} [options] Override http request option.
|
|
339
|
+
* @throws {RequiredError}
|
|
340
|
+
* @memberof AssessmentApiInterface
|
|
341
|
+
*/
|
|
342
|
+
shareAssessmentRaw(requestParameters: ShareAssessmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Status>>;
|
|
343
|
+
|
|
344
|
+
/**
|
|
345
|
+
* Share an assessment with the user\'s partner organization
|
|
346
|
+
*/
|
|
347
|
+
shareAssessment(requestParameters: ShareAssessmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Status>;
|
|
348
|
+
|
|
349
|
+
/**
|
|
350
|
+
* Creates request options for unshareAssessment without sending the request
|
|
351
|
+
* @param {string} id ID of the assessment
|
|
352
|
+
* @throws {RequiredError}
|
|
353
|
+
* @memberof AssessmentApiInterface
|
|
354
|
+
*/
|
|
355
|
+
unshareAssessmentRequestOpts(requestParameters: UnshareAssessmentRequest): Promise<runtime.RequestOpts>;
|
|
356
|
+
|
|
357
|
+
/**
|
|
358
|
+
* Unshare an assessment from the user\'s partner organization
|
|
359
|
+
* @param {string} id ID of the assessment
|
|
360
|
+
* @param {*} [options] Override http request option.
|
|
361
|
+
* @throws {RequiredError}
|
|
362
|
+
* @memberof AssessmentApiInterface
|
|
363
|
+
*/
|
|
364
|
+
unshareAssessmentRaw(requestParameters: UnshareAssessmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Status>>;
|
|
365
|
+
|
|
366
|
+
/**
|
|
367
|
+
* Unshare an assessment from the user\'s partner organization
|
|
368
|
+
*/
|
|
369
|
+
unshareAssessment(requestParameters: UnshareAssessmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Status>;
|
|
370
|
+
|
|
284
371
|
/**
|
|
285
372
|
* Creates request options for updateAssessment without sending the request
|
|
286
373
|
* @param {string} id ID of the assessment
|
|
@@ -669,6 +756,62 @@ export class AssessmentApi extends runtime.BaseAPI implements AssessmentApiInter
|
|
|
669
756
|
return await response.value();
|
|
670
757
|
}
|
|
671
758
|
|
|
759
|
+
/**
|
|
760
|
+
* Creates request options for getAssessmentClusterRequirementsStoredInput without sending the request
|
|
761
|
+
*/
|
|
762
|
+
async getAssessmentClusterRequirementsStoredInputRequestOpts(requestParameters: GetAssessmentClusterRequirementsStoredInputRequest): Promise<runtime.RequestOpts> {
|
|
763
|
+
if (requestParameters['id'] == null) {
|
|
764
|
+
throw new runtime.RequiredError(
|
|
765
|
+
'id',
|
|
766
|
+
'Required parameter "id" was null or undefined when calling getAssessmentClusterRequirementsStoredInput().'
|
|
767
|
+
);
|
|
768
|
+
}
|
|
769
|
+
|
|
770
|
+
if (requestParameters['clusterId'] == null) {
|
|
771
|
+
throw new runtime.RequiredError(
|
|
772
|
+
'clusterId',
|
|
773
|
+
'Required parameter "clusterId" was null or undefined when calling getAssessmentClusterRequirementsStoredInput().'
|
|
774
|
+
);
|
|
775
|
+
}
|
|
776
|
+
|
|
777
|
+
const queryParameters: any = {};
|
|
778
|
+
|
|
779
|
+
if (requestParameters['clusterId'] != null) {
|
|
780
|
+
queryParameters['clusterId'] = requestParameters['clusterId'];
|
|
781
|
+
}
|
|
782
|
+
|
|
783
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
784
|
+
|
|
785
|
+
|
|
786
|
+
let urlPath = `/api/v1/assessments/{id}/cluster-requirements/stored-input`;
|
|
787
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
788
|
+
|
|
789
|
+
return {
|
|
790
|
+
path: urlPath,
|
|
791
|
+
method: 'GET',
|
|
792
|
+
headers: headerParameters,
|
|
793
|
+
query: queryParameters,
|
|
794
|
+
};
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
/**
|
|
798
|
+
* Get stored cluster requirements input for an assessment cluster
|
|
799
|
+
*/
|
|
800
|
+
async getAssessmentClusterRequirementsStoredInputRaw(requestParameters: GetAssessmentClusterRequirementsStoredInputRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ClusterRequirementsStoredInput>> {
|
|
801
|
+
const requestOptions = await this.getAssessmentClusterRequirementsStoredInputRequestOpts(requestParameters);
|
|
802
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
803
|
+
|
|
804
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ClusterRequirementsStoredInputFromJSON(jsonValue));
|
|
805
|
+
}
|
|
806
|
+
|
|
807
|
+
/**
|
|
808
|
+
* Get stored cluster requirements input for an assessment cluster
|
|
809
|
+
*/
|
|
810
|
+
async getAssessmentClusterRequirementsStoredInput(requestParameters: GetAssessmentClusterRequirementsStoredInputRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ClusterRequirementsStoredInput> {
|
|
811
|
+
const response = await this.getAssessmentClusterRequirementsStoredInputRaw(requestParameters, initOverrides);
|
|
812
|
+
return await response.value();
|
|
813
|
+
}
|
|
814
|
+
|
|
672
815
|
/**
|
|
673
816
|
* Creates request options for listAssessments without sending the request
|
|
674
817
|
*/
|
|
@@ -710,6 +853,96 @@ export class AssessmentApi extends runtime.BaseAPI implements AssessmentApiInter
|
|
|
710
853
|
return await response.value();
|
|
711
854
|
}
|
|
712
855
|
|
|
856
|
+
/**
|
|
857
|
+
* Creates request options for shareAssessment without sending the request
|
|
858
|
+
*/
|
|
859
|
+
async shareAssessmentRequestOpts(requestParameters: ShareAssessmentRequest): Promise<runtime.RequestOpts> {
|
|
860
|
+
if (requestParameters['id'] == null) {
|
|
861
|
+
throw new runtime.RequiredError(
|
|
862
|
+
'id',
|
|
863
|
+
'Required parameter "id" was null or undefined when calling shareAssessment().'
|
|
864
|
+
);
|
|
865
|
+
}
|
|
866
|
+
|
|
867
|
+
const queryParameters: any = {};
|
|
868
|
+
|
|
869
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
870
|
+
|
|
871
|
+
|
|
872
|
+
let urlPath = `/api/v1/assessments/{id}/share`;
|
|
873
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
874
|
+
|
|
875
|
+
return {
|
|
876
|
+
path: urlPath,
|
|
877
|
+
method: 'POST',
|
|
878
|
+
headers: headerParameters,
|
|
879
|
+
query: queryParameters,
|
|
880
|
+
};
|
|
881
|
+
}
|
|
882
|
+
|
|
883
|
+
/**
|
|
884
|
+
* Share an assessment with the user\'s partner organization
|
|
885
|
+
*/
|
|
886
|
+
async shareAssessmentRaw(requestParameters: ShareAssessmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Status>> {
|
|
887
|
+
const requestOptions = await this.shareAssessmentRequestOpts(requestParameters);
|
|
888
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
889
|
+
|
|
890
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => StatusFromJSON(jsonValue));
|
|
891
|
+
}
|
|
892
|
+
|
|
893
|
+
/**
|
|
894
|
+
* Share an assessment with the user\'s partner organization
|
|
895
|
+
*/
|
|
896
|
+
async shareAssessment(requestParameters: ShareAssessmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Status> {
|
|
897
|
+
const response = await this.shareAssessmentRaw(requestParameters, initOverrides);
|
|
898
|
+
return await response.value();
|
|
899
|
+
}
|
|
900
|
+
|
|
901
|
+
/**
|
|
902
|
+
* Creates request options for unshareAssessment without sending the request
|
|
903
|
+
*/
|
|
904
|
+
async unshareAssessmentRequestOpts(requestParameters: UnshareAssessmentRequest): Promise<runtime.RequestOpts> {
|
|
905
|
+
if (requestParameters['id'] == null) {
|
|
906
|
+
throw new runtime.RequiredError(
|
|
907
|
+
'id',
|
|
908
|
+
'Required parameter "id" was null or undefined when calling unshareAssessment().'
|
|
909
|
+
);
|
|
910
|
+
}
|
|
911
|
+
|
|
912
|
+
const queryParameters: any = {};
|
|
913
|
+
|
|
914
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
915
|
+
|
|
916
|
+
|
|
917
|
+
let urlPath = `/api/v1/assessments/{id}/share`;
|
|
918
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
919
|
+
|
|
920
|
+
return {
|
|
921
|
+
path: urlPath,
|
|
922
|
+
method: 'DELETE',
|
|
923
|
+
headers: headerParameters,
|
|
924
|
+
query: queryParameters,
|
|
925
|
+
};
|
|
926
|
+
}
|
|
927
|
+
|
|
928
|
+
/**
|
|
929
|
+
* Unshare an assessment from the user\'s partner organization
|
|
930
|
+
*/
|
|
931
|
+
async unshareAssessmentRaw(requestParameters: UnshareAssessmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Status>> {
|
|
932
|
+
const requestOptions = await this.unshareAssessmentRequestOpts(requestParameters);
|
|
933
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
934
|
+
|
|
935
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => StatusFromJSON(jsonValue));
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
/**
|
|
939
|
+
* Unshare an assessment from the user\'s partner organization
|
|
940
|
+
*/
|
|
941
|
+
async unshareAssessment(requestParameters: UnshareAssessmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Status> {
|
|
942
|
+
const response = await this.unshareAssessmentRaw(requestParameters, initOverrides);
|
|
943
|
+
return await response.value();
|
|
944
|
+
}
|
|
945
|
+
|
|
713
946
|
/**
|
|
714
947
|
* Creates request options for updateAssessment without sending the request
|
|
715
948
|
*/
|
package/src/apis/HealthApi.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* OpenShift Migration Advisor 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: v1alpha1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/src/apis/ImageApi.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* OpenShift Migration Advisor 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: v1alpha1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/src/apis/InfoApi.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* OpenShift Migration Advisor 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: v1alpha1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/src/apis/JobApi.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* OpenShift Migration Advisor 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: v1alpha1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|