@openshift-migration-advisor/planner-sdk 0.11.0 → 0.12.0-390afc4a9dfe
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/.openapi-generator/VERSION +1 -1
- package/README.md +23 -4
- package/dist/apis/AccountApi.d.ts +8 -2
- package/dist/apis/AccountApi.js +21 -15
- package/dist/apis/AssessmentApi.d.ts +118 -2
- package/dist/apis/AssessmentApi.js +151 -17
- package/dist/apis/HealthApi.d.ts +1 -1
- package/dist/apis/HealthApi.js +1 -1
- package/dist/apis/ImageApi.d.ts +2 -2
- package/dist/apis/ImageApi.js +3 -3
- package/dist/apis/InfoApi.d.ts +2 -2
- package/dist/apis/InfoApi.js +3 -3
- package/dist/apis/JobApi.d.ts +2 -2
- package/dist/apis/JobApi.js +5 -5
- package/dist/apis/PartnerApi.d.ts +327 -0
- package/dist/apis/PartnerApi.js +383 -0
- package/dist/apis/SourceApi.d.ts +6 -2
- package/dist/apis/SourceApi.js +16 -12
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/AccountApi.d.ts +8 -2
- package/dist/esm/apis/AccountApi.js +8 -2
- package/dist/esm/apis/AssessmentApi.d.ts +118 -2
- package/dist/esm/apis/AssessmentApi.js +136 -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 +2 -2
- package/dist/esm/apis/ImageApi.js +2 -2
- package/dist/esm/apis/InfoApi.d.ts +2 -2
- package/dist/esm/apis/InfoApi.js +2 -2
- package/dist/esm/apis/JobApi.d.ts +2 -2
- package/dist/esm/apis/JobApi.js +2 -2
- package/dist/esm/apis/PartnerApi.d.ts +327 -0
- package/dist/esm/apis/PartnerApi.js +379 -0
- package/dist/esm/apis/SourceApi.d.ts +6 -2
- package/dist/esm/apis/SourceApi.js +6 -2
- 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 +27 -1
- package/dist/esm/models/SourceCreate.js +14 -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 +27 -1
- package/dist/esm/models/SourceUpdate.js +14 -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 +27 -1
- package/dist/models/SourceCreate.js +15 -1
- package/dist/models/SourceInfra.d.ts +1 -1
- package/dist/models/SourceInfra.js +1 -1
- package/dist/models/SourceUpdate.d.ts +27 -1
- package/dist/models/SourceUpdate.js +15 -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/SourceCreate.md +6 -0
- package/docs/SourceUpdate.md +6 -0
- package/docs/VMs.md +2 -0
- package/package.json +1 -1
- package/src/apis/AccountApi.ts +21 -12
- package/src/apis/AssessmentApi.ts +267 -15
- package/src/apis/HealthApi.ts +1 -2
- package/src/apis/ImageApi.ts +3 -6
- package/src/apis/InfoApi.ts +3 -6
- package/src/apis/JobApi.ts +3 -6
- package/src/apis/PartnerApi.ts +676 -0
- package/src/apis/SourceApi.ts +15 -10
- 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 +36 -1
- package/src/models/SourceInfra.ts +1 -1
- package/src/models/SourceUpdate.ts +36 -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 -2
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* OpenShift Migration Advisor API
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: v1alpha1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -24,7 +24,18 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
25
|
exports.AssessmentApi = void 0;
|
|
26
26
|
const runtime = require("../runtime.js");
|
|
27
|
-
const
|
|
27
|
+
const Assessment_js_1 = require("../models/Assessment.js");
|
|
28
|
+
const AssessmentForm_js_1 = require("../models/AssessmentForm.js");
|
|
29
|
+
const AssessmentUpdate_js_1 = require("../models/AssessmentUpdate.js");
|
|
30
|
+
const ClusterRequirementsRequest_js_1 = require("../models/ClusterRequirementsRequest.js");
|
|
31
|
+
const ClusterRequirementsResponse_js_1 = require("../models/ClusterRequirementsResponse.js");
|
|
32
|
+
const ClusterRequirementsStoredInput_js_1 = require("../models/ClusterRequirementsStoredInput.js");
|
|
33
|
+
const MigrationComplexityRequest_js_1 = require("../models/MigrationComplexityRequest.js");
|
|
34
|
+
const MigrationComplexityResponse_js_1 = require("../models/MigrationComplexityResponse.js");
|
|
35
|
+
const MigrationEstimationByComplexityResponse_js_1 = require("../models/MigrationEstimationByComplexityResponse.js");
|
|
36
|
+
const MigrationEstimationRequest_js_1 = require("../models/MigrationEstimationRequest.js");
|
|
37
|
+
const MigrationEstimationResponse_js_1 = require("../models/MigrationEstimationResponse.js");
|
|
38
|
+
const Status_js_1 = require("../models/Status.js");
|
|
28
39
|
/**
|
|
29
40
|
*
|
|
30
41
|
*/
|
|
@@ -50,7 +61,7 @@ class AssessmentApi extends runtime.BaseAPI {
|
|
|
50
61
|
method: 'POST',
|
|
51
62
|
headers: headerParameters,
|
|
52
63
|
query: queryParameters,
|
|
53
|
-
body: (0,
|
|
64
|
+
body: (0, ClusterRequirementsRequest_js_1.ClusterRequirementsRequestToJSON)(requestParameters['clusterRequirementsRequest']),
|
|
54
65
|
};
|
|
55
66
|
});
|
|
56
67
|
}
|
|
@@ -61,7 +72,7 @@ class AssessmentApi extends runtime.BaseAPI {
|
|
|
61
72
|
return __awaiter(this, void 0, void 0, function* () {
|
|
62
73
|
const requestOptions = yield this.calculateAssessmentClusterRequirementsRequestOpts(requestParameters);
|
|
63
74
|
const response = yield this.request(requestOptions, initOverrides);
|
|
64
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0,
|
|
75
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, ClusterRequirementsResponse_js_1.ClusterRequirementsResponseFromJSON)(jsonValue));
|
|
65
76
|
});
|
|
66
77
|
}
|
|
67
78
|
/**
|
|
@@ -94,7 +105,7 @@ class AssessmentApi extends runtime.BaseAPI {
|
|
|
94
105
|
method: 'POST',
|
|
95
106
|
headers: headerParameters,
|
|
96
107
|
query: queryParameters,
|
|
97
|
-
body: (0,
|
|
108
|
+
body: (0, MigrationComplexityRequest_js_1.MigrationComplexityRequestToJSON)(requestParameters['migrationComplexityRequest']),
|
|
98
109
|
};
|
|
99
110
|
});
|
|
100
111
|
}
|
|
@@ -105,7 +116,7 @@ class AssessmentApi extends runtime.BaseAPI {
|
|
|
105
116
|
return __awaiter(this, void 0, void 0, function* () {
|
|
106
117
|
const requestOptions = yield this.calculateMigrationComplexityRequestOpts(requestParameters);
|
|
107
118
|
const response = yield this.request(requestOptions, initOverrides);
|
|
108
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0,
|
|
119
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, MigrationComplexityResponse_js_1.MigrationComplexityResponseFromJSON)(jsonValue));
|
|
109
120
|
});
|
|
110
121
|
}
|
|
111
122
|
/**
|
|
@@ -138,7 +149,7 @@ class AssessmentApi extends runtime.BaseAPI {
|
|
|
138
149
|
method: 'POST',
|
|
139
150
|
headers: headerParameters,
|
|
140
151
|
query: queryParameters,
|
|
141
|
-
body: (0,
|
|
152
|
+
body: (0, MigrationEstimationRequest_js_1.MigrationEstimationRequestToJSON)(requestParameters['migrationEstimationRequest']),
|
|
142
153
|
};
|
|
143
154
|
});
|
|
144
155
|
}
|
|
@@ -149,7 +160,7 @@ class AssessmentApi extends runtime.BaseAPI {
|
|
|
149
160
|
return __awaiter(this, void 0, void 0, function* () {
|
|
150
161
|
const requestOptions = yield this.calculateMigrationEstimationRequestOpts(requestParameters);
|
|
151
162
|
const response = yield this.request(requestOptions, initOverrides);
|
|
152
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0,
|
|
163
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, MigrationEstimationResponse_js_1.MigrationEstimationResponseFromJSON)(jsonValue));
|
|
153
164
|
});
|
|
154
165
|
}
|
|
155
166
|
/**
|
|
@@ -182,7 +193,7 @@ class AssessmentApi extends runtime.BaseAPI {
|
|
|
182
193
|
method: 'POST',
|
|
183
194
|
headers: headerParameters,
|
|
184
195
|
query: queryParameters,
|
|
185
|
-
body: (0,
|
|
196
|
+
body: (0, MigrationEstimationRequest_js_1.MigrationEstimationRequestToJSON)(requestParameters['migrationEstimationRequest']),
|
|
186
197
|
};
|
|
187
198
|
});
|
|
188
199
|
}
|
|
@@ -193,7 +204,7 @@ class AssessmentApi extends runtime.BaseAPI {
|
|
|
193
204
|
return __awaiter(this, void 0, void 0, function* () {
|
|
194
205
|
const requestOptions = yield this.calculateMigrationEstimationByComplexityRequestOpts(requestParameters);
|
|
195
206
|
const response = yield this.request(requestOptions, initOverrides);
|
|
196
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0,
|
|
207
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, MigrationEstimationByComplexityResponse_js_1.MigrationEstimationByComplexityResponseFromJSON)(jsonValue));
|
|
197
208
|
});
|
|
198
209
|
}
|
|
199
210
|
/**
|
|
@@ -222,7 +233,7 @@ class AssessmentApi extends runtime.BaseAPI {
|
|
|
222
233
|
method: 'POST',
|
|
223
234
|
headers: headerParameters,
|
|
224
235
|
query: queryParameters,
|
|
225
|
-
body: (0,
|
|
236
|
+
body: (0, AssessmentForm_js_1.AssessmentFormToJSON)(requestParameters['assessmentForm']),
|
|
226
237
|
};
|
|
227
238
|
});
|
|
228
239
|
}
|
|
@@ -233,7 +244,7 @@ class AssessmentApi extends runtime.BaseAPI {
|
|
|
233
244
|
return __awaiter(this, void 0, void 0, function* () {
|
|
234
245
|
const requestOptions = yield this.createAssessmentRequestOpts(requestParameters);
|
|
235
246
|
const response = yield this.request(requestOptions, initOverrides);
|
|
236
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0,
|
|
247
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, Assessment_js_1.AssessmentFromJSON)(jsonValue));
|
|
237
248
|
});
|
|
238
249
|
}
|
|
239
250
|
/**
|
|
@@ -272,7 +283,7 @@ class AssessmentApi extends runtime.BaseAPI {
|
|
|
272
283
|
return __awaiter(this, void 0, void 0, function* () {
|
|
273
284
|
const requestOptions = yield this.deleteAssessmentRequestOpts(requestParameters);
|
|
274
285
|
const response = yield this.request(requestOptions, initOverrides);
|
|
275
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0,
|
|
286
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, Assessment_js_1.AssessmentFromJSON)(jsonValue));
|
|
276
287
|
});
|
|
277
288
|
}
|
|
278
289
|
/**
|
|
@@ -311,7 +322,7 @@ class AssessmentApi extends runtime.BaseAPI {
|
|
|
311
322
|
return __awaiter(this, void 0, void 0, function* () {
|
|
312
323
|
const requestOptions = yield this.getAssessmentRequestOpts(requestParameters);
|
|
313
324
|
const response = yield this.request(requestOptions, initOverrides);
|
|
314
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0,
|
|
325
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, Assessment_js_1.AssessmentFromJSON)(jsonValue));
|
|
315
326
|
});
|
|
316
327
|
}
|
|
317
328
|
/**
|
|
@@ -323,6 +334,51 @@ class AssessmentApi extends runtime.BaseAPI {
|
|
|
323
334
|
return yield response.value();
|
|
324
335
|
});
|
|
325
336
|
}
|
|
337
|
+
/**
|
|
338
|
+
* Creates request options for getAssessmentClusterRequirementsStoredInput without sending the request
|
|
339
|
+
*/
|
|
340
|
+
getAssessmentClusterRequirementsStoredInputRequestOpts(requestParameters) {
|
|
341
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
342
|
+
if (requestParameters['id'] == null) {
|
|
343
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling getAssessmentClusterRequirementsStoredInput().');
|
|
344
|
+
}
|
|
345
|
+
if (requestParameters['clusterId'] == null) {
|
|
346
|
+
throw new runtime.RequiredError('clusterId', 'Required parameter "clusterId" was null or undefined when calling getAssessmentClusterRequirementsStoredInput().');
|
|
347
|
+
}
|
|
348
|
+
const queryParameters = {};
|
|
349
|
+
if (requestParameters['clusterId'] != null) {
|
|
350
|
+
queryParameters['clusterId'] = requestParameters['clusterId'];
|
|
351
|
+
}
|
|
352
|
+
const headerParameters = {};
|
|
353
|
+
let urlPath = `/api/v1/assessments/{id}/cluster-requirements/stored-input`;
|
|
354
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
355
|
+
return {
|
|
356
|
+
path: urlPath,
|
|
357
|
+
method: 'GET',
|
|
358
|
+
headers: headerParameters,
|
|
359
|
+
query: queryParameters,
|
|
360
|
+
};
|
|
361
|
+
});
|
|
362
|
+
}
|
|
363
|
+
/**
|
|
364
|
+
* Get stored cluster requirements input for an assessment cluster
|
|
365
|
+
*/
|
|
366
|
+
getAssessmentClusterRequirementsStoredInputRaw(requestParameters, initOverrides) {
|
|
367
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
368
|
+
const requestOptions = yield this.getAssessmentClusterRequirementsStoredInputRequestOpts(requestParameters);
|
|
369
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
370
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, ClusterRequirementsStoredInput_js_1.ClusterRequirementsStoredInputFromJSON)(jsonValue));
|
|
371
|
+
});
|
|
372
|
+
}
|
|
373
|
+
/**
|
|
374
|
+
* Get stored cluster requirements input for an assessment cluster
|
|
375
|
+
*/
|
|
376
|
+
getAssessmentClusterRequirementsStoredInput(requestParameters, initOverrides) {
|
|
377
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
378
|
+
const response = yield this.getAssessmentClusterRequirementsStoredInputRaw(requestParameters, initOverrides);
|
|
379
|
+
return yield response.value();
|
|
380
|
+
});
|
|
381
|
+
}
|
|
326
382
|
/**
|
|
327
383
|
* Creates request options for listAssessments without sending the request
|
|
328
384
|
*/
|
|
@@ -349,7 +405,7 @@ class AssessmentApi extends runtime.BaseAPI {
|
|
|
349
405
|
return __awaiter(this, void 0, void 0, function* () {
|
|
350
406
|
const requestOptions = yield this.listAssessmentsRequestOpts(requestParameters);
|
|
351
407
|
const response = yield this.request(requestOptions, initOverrides);
|
|
352
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(
|
|
408
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(Assessment_js_1.AssessmentFromJSON));
|
|
353
409
|
});
|
|
354
410
|
}
|
|
355
411
|
/**
|
|
@@ -361,6 +417,84 @@ class AssessmentApi extends runtime.BaseAPI {
|
|
|
361
417
|
return yield response.value();
|
|
362
418
|
});
|
|
363
419
|
}
|
|
420
|
+
/**
|
|
421
|
+
* Creates request options for shareAssessment without sending the request
|
|
422
|
+
*/
|
|
423
|
+
shareAssessmentRequestOpts(requestParameters) {
|
|
424
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
425
|
+
if (requestParameters['id'] == null) {
|
|
426
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling shareAssessment().');
|
|
427
|
+
}
|
|
428
|
+
const queryParameters = {};
|
|
429
|
+
const headerParameters = {};
|
|
430
|
+
let urlPath = `/api/v1/assessments/{id}/share`;
|
|
431
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
432
|
+
return {
|
|
433
|
+
path: urlPath,
|
|
434
|
+
method: 'POST',
|
|
435
|
+
headers: headerParameters,
|
|
436
|
+
query: queryParameters,
|
|
437
|
+
};
|
|
438
|
+
});
|
|
439
|
+
}
|
|
440
|
+
/**
|
|
441
|
+
* Share an assessment with the user\'s partner organization
|
|
442
|
+
*/
|
|
443
|
+
shareAssessmentRaw(requestParameters, initOverrides) {
|
|
444
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
445
|
+
const requestOptions = yield this.shareAssessmentRequestOpts(requestParameters);
|
|
446
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
447
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, Status_js_1.StatusFromJSON)(jsonValue));
|
|
448
|
+
});
|
|
449
|
+
}
|
|
450
|
+
/**
|
|
451
|
+
* Share an assessment with the user\'s partner organization
|
|
452
|
+
*/
|
|
453
|
+
shareAssessment(requestParameters, initOverrides) {
|
|
454
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
455
|
+
const response = yield this.shareAssessmentRaw(requestParameters, initOverrides);
|
|
456
|
+
return yield response.value();
|
|
457
|
+
});
|
|
458
|
+
}
|
|
459
|
+
/**
|
|
460
|
+
* Creates request options for unshareAssessment without sending the request
|
|
461
|
+
*/
|
|
462
|
+
unshareAssessmentRequestOpts(requestParameters) {
|
|
463
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
464
|
+
if (requestParameters['id'] == null) {
|
|
465
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling unshareAssessment().');
|
|
466
|
+
}
|
|
467
|
+
const queryParameters = {};
|
|
468
|
+
const headerParameters = {};
|
|
469
|
+
let urlPath = `/api/v1/assessments/{id}/share`;
|
|
470
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
471
|
+
return {
|
|
472
|
+
path: urlPath,
|
|
473
|
+
method: 'DELETE',
|
|
474
|
+
headers: headerParameters,
|
|
475
|
+
query: queryParameters,
|
|
476
|
+
};
|
|
477
|
+
});
|
|
478
|
+
}
|
|
479
|
+
/**
|
|
480
|
+
* Unshare an assessment from the user\'s partner organization
|
|
481
|
+
*/
|
|
482
|
+
unshareAssessmentRaw(requestParameters, initOverrides) {
|
|
483
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
484
|
+
const requestOptions = yield this.unshareAssessmentRequestOpts(requestParameters);
|
|
485
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
486
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, Status_js_1.StatusFromJSON)(jsonValue));
|
|
487
|
+
});
|
|
488
|
+
}
|
|
489
|
+
/**
|
|
490
|
+
* Unshare an assessment from the user\'s partner organization
|
|
491
|
+
*/
|
|
492
|
+
unshareAssessment(requestParameters, initOverrides) {
|
|
493
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
494
|
+
const response = yield this.unshareAssessmentRaw(requestParameters, initOverrides);
|
|
495
|
+
return yield response.value();
|
|
496
|
+
});
|
|
497
|
+
}
|
|
364
498
|
/**
|
|
365
499
|
* Creates request options for updateAssessment without sending the request
|
|
366
500
|
*/
|
|
@@ -382,7 +516,7 @@ class AssessmentApi extends runtime.BaseAPI {
|
|
|
382
516
|
method: 'PUT',
|
|
383
517
|
headers: headerParameters,
|
|
384
518
|
query: queryParameters,
|
|
385
|
-
body: (0,
|
|
519
|
+
body: (0, AssessmentUpdate_js_1.AssessmentUpdateToJSON)(requestParameters['assessmentUpdate']),
|
|
386
520
|
};
|
|
387
521
|
});
|
|
388
522
|
}
|
|
@@ -393,7 +527,7 @@ class AssessmentApi extends runtime.BaseAPI {
|
|
|
393
527
|
return __awaiter(this, void 0, void 0, function* () {
|
|
394
528
|
const requestOptions = yield this.updateAssessmentRequestOpts(requestParameters);
|
|
395
529
|
const response = yield this.request(requestOptions, initOverrides);
|
|
396
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0,
|
|
530
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, Assessment_js_1.AssessmentFromJSON)(jsonValue));
|
|
397
531
|
});
|
|
398
532
|
}
|
|
399
533
|
/**
|
package/dist/apis/HealthApi.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* OpenShift Migration Advisor 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: v1alpha1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/apis/HealthApi.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* OpenShift Migration Advisor API
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: v1alpha1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/apis/ImageApi.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* OpenShift Migration Advisor 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: v1alpha1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime.js';
|
|
13
|
-
import type
|
|
13
|
+
import { type PresignedUrl } from '../models/PresignedUrl.js';
|
|
14
14
|
export interface GetSourceDownloadURLRequest {
|
|
15
15
|
id: string;
|
|
16
16
|
}
|
package/dist/apis/ImageApi.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* OpenShift Migration Advisor API
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: v1alpha1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -24,7 +24,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
25
|
exports.ImageApi = void 0;
|
|
26
26
|
const runtime = require("../runtime.js");
|
|
27
|
-
const
|
|
27
|
+
const PresignedUrl_js_1 = require("../models/PresignedUrl.js");
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
*/
|
|
@@ -56,7 +56,7 @@ class ImageApi extends runtime.BaseAPI {
|
|
|
56
56
|
return __awaiter(this, void 0, void 0, function* () {
|
|
57
57
|
const requestOptions = yield this.getSourceDownloadURLRequestOpts(requestParameters);
|
|
58
58
|
const response = yield this.request(requestOptions, initOverrides);
|
|
59
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0,
|
|
59
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, PresignedUrl_js_1.PresignedUrlFromJSON)(jsonValue));
|
|
60
60
|
});
|
|
61
61
|
}
|
|
62
62
|
/**
|
package/dist/apis/InfoApi.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* OpenShift Migration Advisor 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: v1alpha1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime.js';
|
|
13
|
-
import type
|
|
13
|
+
import { type Info } from '../models/Info.js';
|
|
14
14
|
/**
|
|
15
15
|
* InfoApi - interface
|
|
16
16
|
*
|
package/dist/apis/InfoApi.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* OpenShift Migration Advisor API
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: v1alpha1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -24,7 +24,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
25
|
exports.InfoApi = void 0;
|
|
26
26
|
const runtime = require("../runtime.js");
|
|
27
|
-
const
|
|
27
|
+
const Info_js_1 = require("../models/Info.js");
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
*/
|
|
@@ -52,7 +52,7 @@ class InfoApi extends runtime.BaseAPI {
|
|
|
52
52
|
return __awaiter(this, void 0, void 0, function* () {
|
|
53
53
|
const requestOptions = yield this.getInfoRequestOpts();
|
|
54
54
|
const response = yield this.request(requestOptions, initOverrides);
|
|
55
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0,
|
|
55
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, Info_js_1.InfoFromJSON)(jsonValue));
|
|
56
56
|
});
|
|
57
57
|
}
|
|
58
58
|
/**
|
package/dist/apis/JobApi.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* OpenShift Migration Advisor 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: v1alpha1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime.js';
|
|
13
|
-
import type
|
|
13
|
+
import { type Job } from '../models/Job.js';
|
|
14
14
|
export interface CancelJobRequest {
|
|
15
15
|
id: number;
|
|
16
16
|
}
|
package/dist/apis/JobApi.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* OpenShift Migration Advisor API
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: v1alpha1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -24,7 +24,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
25
|
exports.JobApi = void 0;
|
|
26
26
|
const runtime = require("../runtime.js");
|
|
27
|
-
const
|
|
27
|
+
const Job_js_1 = require("../models/Job.js");
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
*/
|
|
@@ -56,7 +56,7 @@ class JobApi extends runtime.BaseAPI {
|
|
|
56
56
|
return __awaiter(this, void 0, void 0, function* () {
|
|
57
57
|
const requestOptions = yield this.cancelJobRequestOpts(requestParameters);
|
|
58
58
|
const response = yield this.request(requestOptions, initOverrides);
|
|
59
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0,
|
|
59
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, Job_js_1.JobFromJSON)(jsonValue));
|
|
60
60
|
});
|
|
61
61
|
}
|
|
62
62
|
/**
|
|
@@ -119,7 +119,7 @@ class JobApi extends runtime.BaseAPI {
|
|
|
119
119
|
return __awaiter(this, void 0, void 0, function* () {
|
|
120
120
|
const requestOptions = yield this.createRVToolsAssessmentRequestOpts(requestParameters);
|
|
121
121
|
const response = yield this.request(requestOptions, initOverrides);
|
|
122
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0,
|
|
122
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, Job_js_1.JobFromJSON)(jsonValue));
|
|
123
123
|
});
|
|
124
124
|
}
|
|
125
125
|
/**
|
|
@@ -158,7 +158,7 @@ class JobApi extends runtime.BaseAPI {
|
|
|
158
158
|
return __awaiter(this, void 0, void 0, function* () {
|
|
159
159
|
const requestOptions = yield this.getJobRequestOpts(requestParameters);
|
|
160
160
|
const response = yield this.request(requestOptions, initOverrides);
|
|
161
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0,
|
|
161
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, Job_js_1.JobFromJSON)(jsonValue));
|
|
162
162
|
});
|
|
163
163
|
}
|
|
164
164
|
/**
|