@openshift-migration-advisor/planner-sdk 0.18.0-b5e8e71564be → 0.18.0-e3e46577305b
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 +22 -0
- package/.openapi-generator/VERSION +1 -1
- package/README.md +16 -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 +2 -8
- package/dist/esm/models/ClusterFeatures.js +3 -3
- 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 +0 -20
- 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 +4 -24
- package/dist/esm/models/Infra.js +2 -0
- 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 +0 -10
- 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 +0 -8
- package/dist/esm/models/OsInfo.js +1 -1
- 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 +0 -8
- package/dist/esm/models/StorageIoConfiguration.js +1 -1
- 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 +0 -46
- 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 +11 -0
- package/dist/esm/models/index.js +11 -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 +2 -8
- package/dist/models/ClusterFeatures.js +3 -3
- 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 +0 -20
- 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 +4 -24
- package/dist/models/Infra.js +2 -0
- 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 +0 -10
- 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 +0 -8
- package/dist/models/OsInfo.js +1 -1
- 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 +0 -8
- package/dist/models/StorageIoConfiguration.js +1 -1
- 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 +0 -46
- 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 +11 -0
- package/dist/models/index.js +11 -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 -2
- package/docs/CustomerDetailsInput.md +36 -0
- package/docs/DeployedEnvironmentInput.md +34 -0
- package/docs/EnhancementData.md +53 -0
- package/docs/Host.md +4 -0
- package/docs/Infra.md +2 -0
- package/docs/Inventory.md +2 -0
- package/docs/NsxInput.md +34 -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 +5 -11
- 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 +0 -20
- 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 +6 -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 +0 -10
- 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 +1 -9
- 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 +1 -9
- 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 +0 -46
- 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 +11 -0
- package/src/runtime.ts +52 -1
package/dist/models/Member.d.ts
CHANGED
|
@@ -17,32 +17,22 @@
|
|
|
17
17
|
export interface Member {
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof Member
|
|
22
20
|
*/
|
|
23
21
|
username: string;
|
|
24
22
|
/**
|
|
25
23
|
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof Member
|
|
28
24
|
*/
|
|
29
25
|
email: string;
|
|
30
26
|
/**
|
|
31
27
|
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof Member
|
|
34
28
|
*/
|
|
35
29
|
groupId: string;
|
|
36
30
|
/**
|
|
37
31
|
*
|
|
38
|
-
* @type {Date}
|
|
39
|
-
* @memberof Member
|
|
40
32
|
*/
|
|
41
33
|
createdAt: Date;
|
|
42
34
|
/**
|
|
43
35
|
*
|
|
44
|
-
* @type {Date}
|
|
45
|
-
* @memberof Member
|
|
46
36
|
*/
|
|
47
37
|
updatedAt?: Date;
|
|
48
38
|
}
|
package/dist/models/Member.js
CHANGED
|
@@ -18,6 +18,7 @@ exports.MemberFromJSON = MemberFromJSON;
|
|
|
18
18
|
exports.MemberFromJSONTyped = MemberFromJSONTyped;
|
|
19
19
|
exports.MemberToJSON = MemberToJSON;
|
|
20
20
|
exports.MemberToJSONTyped = MemberToJSONTyped;
|
|
21
|
+
const runtime_js_1 = require("../runtime.js");
|
|
21
22
|
/**
|
|
22
23
|
* Check if a given object implements the Member interface.
|
|
23
24
|
*/
|
|
@@ -43,8 +44,8 @@ function MemberFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
43
44
|
'username': json['username'],
|
|
44
45
|
'email': json['email'],
|
|
45
46
|
'groupId': json['groupId'],
|
|
46
|
-
'createdAt': (
|
|
47
|
-
'updatedAt': json['updatedAt'] == null ? undefined : (
|
|
47
|
+
'createdAt': (json['createdAt'] == null ? json['createdAt'] : (0, runtime_js_1.parseDateTime)(json['createdAt'])),
|
|
48
|
+
'updatedAt': json['updatedAt'] == null ? undefined : ((0, runtime_js_1.parseDateTime)(json['updatedAt'])),
|
|
48
49
|
};
|
|
49
50
|
}
|
|
50
51
|
function MemberToJSON(json) {
|
|
@@ -58,7 +59,7 @@ function MemberToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
58
59
|
'username': value['username'],
|
|
59
60
|
'email': value['email'],
|
|
60
61
|
'groupId': value['groupId'],
|
|
61
|
-
'createdAt': value['createdAt'].
|
|
62
|
-
'updatedAt': value['updatedAt'] == null ? value['updatedAt'] : value['updatedAt']
|
|
62
|
+
'createdAt': value['createdAt'] == null ? value['createdAt'] : (0, runtime_js_1.serializeDateTime)(value['createdAt']),
|
|
63
|
+
'updatedAt': value['updatedAt'] == null ? value['updatedAt'] : (0, runtime_js_1.serializeDateTime)(value['updatedAt']),
|
|
63
64
|
};
|
|
64
65
|
}
|
|
@@ -26,7 +26,7 @@ exports.MemoryOverCommitRatioToJSONTyped = MemoryOverCommitRatioToJSONTyped;
|
|
|
26
26
|
exports.MemoryOverCommitRatio = {
|
|
27
27
|
MemoryOneToOne: '1:1',
|
|
28
28
|
MemoryOneToTwo: '1:2',
|
|
29
|
-
MemoryOneToFour: '1:4'
|
|
29
|
+
MemoryOneToFour: '1:4',
|
|
30
30
|
};
|
|
31
31
|
function instanceOfMemoryOverCommitRatio(value) {
|
|
32
32
|
for (const key in exports.MemoryOverCommitRatio) {
|
|
@@ -21,22 +21,16 @@ export interface MigrationComplexityResponse {
|
|
|
21
21
|
/**
|
|
22
22
|
* Disk-size complexity scores, one entry per score level (1-4). Score 1 is the least complex disk footprint; score 4 is the most complex. Scores correspond to provisioned disk size: 1 (<=10 TB), 2 (<=20 TB), 3 (<=50 TB), 4 (>50 TB). All four score levels are always present.
|
|
23
23
|
*
|
|
24
|
-
* @type {Array<ComplexityDiskScoreEntry>}
|
|
25
|
-
* @memberof MigrationComplexityResponse
|
|
26
24
|
*/
|
|
27
25
|
complexityByDisk: Array<ComplexityDiskScoreEntry>;
|
|
28
26
|
/**
|
|
29
27
|
* OS complexity scores, one entry per score level (0-4). Score 1 indicates the least complex OS to migrate; score 0 indicates an OS with unknown complexity. All five score levels are always present.
|
|
30
28
|
*
|
|
31
|
-
* @type {Array<ComplexityOSScoreEntry>}
|
|
32
|
-
* @memberof MigrationComplexityResponse
|
|
33
29
|
*/
|
|
34
30
|
complexityByOS: Array<ComplexityOSScoreEntry>;
|
|
35
31
|
/**
|
|
36
32
|
* Static lookup table mapping each disk-size tier label to its numeric complexity score. The content is identical for every cluster and reflects the DiskSizeScores configuration in the complexity package.
|
|
37
33
|
*
|
|
38
|
-
* @type {{ [key: string]: number; }}
|
|
39
|
-
* @memberof MigrationComplexityResponse
|
|
40
34
|
*/
|
|
41
35
|
diskSizeRatings: {
|
|
42
36
|
[key: string]: number;
|
|
@@ -44,8 +38,6 @@ export interface MigrationComplexityResponse {
|
|
|
44
38
|
/**
|
|
45
39
|
* Per-OS-name score for every OS found in this cluster's inventory. Keys are the OS name strings exactly as they appear in vms.osInfo; values are the numeric complexity score assigned by ClassifyOS (0 = unknown, 1-4 = increasing complexity). The map contains one entry per distinct OS name in the cluster, regardless of how many VMs run it.
|
|
46
40
|
*
|
|
47
|
-
* @type {{ [key: string]: number; }}
|
|
48
|
-
* @memberof MigrationComplexityResponse
|
|
49
41
|
*/
|
|
50
42
|
osRatings: {
|
|
51
43
|
[key: string]: number;
|
|
@@ -53,8 +45,6 @@ export interface MigrationComplexityResponse {
|
|
|
53
45
|
/**
|
|
54
46
|
* Per-OS-name complexity breakdown. One entry per distinct OS name found in the cluster's inventory. Each entry carries the OS name string, its numeric complexity score (0–4), and the number of VMs running it.
|
|
55
47
|
*
|
|
56
|
-
* @type {Array<ComplexityOSNameEntry>}
|
|
57
|
-
* @memberof MigrationComplexityResponse
|
|
58
48
|
*/
|
|
59
49
|
complexityByOSName: Array<ComplexityOSNameEntry>;
|
|
60
50
|
}
|
|
@@ -19,14 +19,10 @@ import type { EstimationContext } from './EstimationContext.js';
|
|
|
19
19
|
export interface MigrationEstimationByComplexityResponse {
|
|
20
20
|
/**
|
|
21
21
|
* Combined OS+Disk complexity distribution with per-bucket estimation. All 5 score levels (0-4) always present.
|
|
22
|
-
* @type {Array<OsDiskEstimationEntry>}
|
|
23
|
-
* @memberof MigrationEstimationByComplexityResponse
|
|
24
22
|
*/
|
|
25
23
|
complexityByOsDisk: Array<OsDiskEstimationEntry>;
|
|
26
24
|
/**
|
|
27
25
|
* Decision matrix: outer keys are OS scores (0-4), inner keys are disk scores (1-4), values are combined scores.
|
|
28
|
-
* @type {{ [key: string]: { [key: string]: number; }; }}
|
|
29
|
-
* @memberof MigrationEstimationByComplexityResponse
|
|
30
26
|
*/
|
|
31
27
|
complexityMatrix: {
|
|
32
28
|
[key: string]: {
|
|
@@ -35,8 +31,6 @@ export interface MigrationEstimationByComplexityResponse {
|
|
|
35
31
|
};
|
|
36
32
|
/**
|
|
37
33
|
*
|
|
38
|
-
* @type {EstimationContext}
|
|
39
|
-
* @memberof MigrationEstimationByComplexityResponse
|
|
40
34
|
*/
|
|
41
35
|
estimationContext?: EstimationContext;
|
|
42
36
|
}
|
|
@@ -17,22 +17,16 @@
|
|
|
17
17
|
export interface MigrationEstimationRequest {
|
|
18
18
|
/**
|
|
19
19
|
* ID of the cluster to calculate migration estimation for
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof MigrationEstimationRequest
|
|
22
20
|
*/
|
|
23
21
|
clusterId: string;
|
|
24
22
|
/**
|
|
25
23
|
* Schemas to run. Valid values: "network-based", "storage-offload". If omitted, all schemas are run.
|
|
26
24
|
*
|
|
27
|
-
* @type {Array<string>}
|
|
28
|
-
* @memberof MigrationEstimationRequest
|
|
29
25
|
*/
|
|
30
26
|
estimationSchema?: Array<string>;
|
|
31
27
|
/**
|
|
32
28
|
* Optional calculator parameter overrides. Keys must match known calculator param names (e.g. "transfer_rate_mbps", "work_hours_per_day", "troubleshoot_mins_per_vm", "post_migration_engineers"). User-supplied values take precedence over both defaults and inventory-derived values. Unknown keys are rejected with HTTP 400.
|
|
33
29
|
*
|
|
34
|
-
* @type {{ [key: string]: any; }}
|
|
35
|
-
* @memberof MigrationEstimationRequest
|
|
36
30
|
*/
|
|
37
31
|
params?: {
|
|
38
32
|
[key: string]: any;
|
|
@@ -20,16 +20,12 @@ import type { EstimationContext } from './EstimationContext.js';
|
|
|
20
20
|
export interface MigrationEstimationResponse {
|
|
21
21
|
/**
|
|
22
22
|
* Estimation results keyed by schema name (e.g. "network-based", "storage-offload").
|
|
23
|
-
* @type {{ [key: string]: SchemaEstimationResult; }}
|
|
24
|
-
* @memberof MigrationEstimationResponse
|
|
25
23
|
*/
|
|
26
24
|
estimation: {
|
|
27
25
|
[key: string]: SchemaEstimationResult;
|
|
28
26
|
};
|
|
29
27
|
/**
|
|
30
28
|
*
|
|
31
|
-
* @type {EstimationContext}
|
|
32
|
-
* @memberof MigrationEstimationResponse
|
|
33
29
|
*/
|
|
34
30
|
estimationContext: EstimationContext;
|
|
35
31
|
}
|
|
@@ -17,26 +17,18 @@
|
|
|
17
17
|
export interface MigrationIssue {
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof MigrationIssue
|
|
22
20
|
*/
|
|
23
21
|
id?: string;
|
|
24
22
|
/**
|
|
25
23
|
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof MigrationIssue
|
|
28
24
|
*/
|
|
29
25
|
label: string;
|
|
30
26
|
/**
|
|
31
27
|
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof MigrationIssue
|
|
34
28
|
*/
|
|
35
29
|
assessment: string;
|
|
36
30
|
/**
|
|
37
31
|
*
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof MigrationIssue
|
|
40
32
|
*/
|
|
41
33
|
count: number;
|
|
42
34
|
}
|
package/dist/models/Network.d.ts
CHANGED
|
@@ -17,32 +17,22 @@
|
|
|
17
17
|
export interface Network {
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
|
-
* @type {NetworkTypeEnum}
|
|
21
|
-
* @memberof Network
|
|
22
20
|
*/
|
|
23
21
|
type: NetworkTypeEnum;
|
|
24
22
|
/**
|
|
25
23
|
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof Network
|
|
28
24
|
*/
|
|
29
25
|
name: string;
|
|
30
26
|
/**
|
|
31
27
|
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof Network
|
|
34
28
|
*/
|
|
35
29
|
vlanId?: string;
|
|
36
30
|
/**
|
|
37
31
|
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof Network
|
|
40
32
|
*/
|
|
41
33
|
dvswitch?: string;
|
|
42
34
|
/**
|
|
43
35
|
*
|
|
44
|
-
* @type {number}
|
|
45
|
-
* @memberof Network
|
|
46
36
|
*/
|
|
47
37
|
vmsCount?: number;
|
|
48
38
|
}
|
package/dist/models/Network.js
CHANGED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenShift Migration Advisor API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1alpha1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface NsxInput
|
|
16
|
+
*/
|
|
17
|
+
export interface NsxInput {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
features?: Set<NsxInputFeaturesEnum>;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
export declare const NsxInputFeaturesEnum: {
|
|
27
|
+
readonly Microsegmentation: "microsegmentation";
|
|
28
|
+
readonly MultiCloud: "multi_cloud";
|
|
29
|
+
readonly Tunnels: "tunnels";
|
|
30
|
+
readonly DynamicRouting: "dynamic_routing";
|
|
31
|
+
readonly CentralMgmt: "central_mgmt";
|
|
32
|
+
readonly Mpls: "mpls";
|
|
33
|
+
readonly Qos: "qos";
|
|
34
|
+
readonly NotAssessed: "not_assessed";
|
|
35
|
+
readonly NotAvailable: "not_available";
|
|
36
|
+
readonly NotInUse: "not_in_use";
|
|
37
|
+
};
|
|
38
|
+
export type NsxInputFeaturesEnum = typeof NsxInputFeaturesEnum[keyof typeof NsxInputFeaturesEnum];
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the NsxInput interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfNsxInput(value: object): value is NsxInput;
|
|
43
|
+
export declare function NsxInputFromJSON(json: any): NsxInput;
|
|
44
|
+
export declare function NsxInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): NsxInput;
|
|
45
|
+
export declare function NsxInputToJSON(json: any): NsxInput;
|
|
46
|
+
export declare function NsxInputToJSONTyped(value?: NsxInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* OpenShift Migration Advisor API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1alpha1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.NsxInputFeaturesEnum = void 0;
|
|
17
|
+
exports.instanceOfNsxInput = instanceOfNsxInput;
|
|
18
|
+
exports.NsxInputFromJSON = NsxInputFromJSON;
|
|
19
|
+
exports.NsxInputFromJSONTyped = NsxInputFromJSONTyped;
|
|
20
|
+
exports.NsxInputToJSON = NsxInputToJSON;
|
|
21
|
+
exports.NsxInputToJSONTyped = NsxInputToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.NsxInputFeaturesEnum = {
|
|
26
|
+
Microsegmentation: 'microsegmentation',
|
|
27
|
+
MultiCloud: 'multi_cloud',
|
|
28
|
+
Tunnels: 'tunnels',
|
|
29
|
+
DynamicRouting: 'dynamic_routing',
|
|
30
|
+
CentralMgmt: 'central_mgmt',
|
|
31
|
+
Mpls: 'mpls',
|
|
32
|
+
Qos: 'qos',
|
|
33
|
+
NotAssessed: 'not_assessed',
|
|
34
|
+
NotAvailable: 'not_available',
|
|
35
|
+
NotInUse: 'not_in_use',
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the NsxInput interface.
|
|
39
|
+
*/
|
|
40
|
+
function instanceOfNsxInput(value) {
|
|
41
|
+
return true;
|
|
42
|
+
}
|
|
43
|
+
function NsxInputFromJSON(json) {
|
|
44
|
+
return NsxInputFromJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function NsxInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
47
|
+
if (json == null) {
|
|
48
|
+
return json;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'features': json['features'] == null ? undefined : new Set(json['features']),
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
function NsxInputToJSON(json) {
|
|
55
|
+
return NsxInputToJSONTyped(json, false);
|
|
56
|
+
}
|
|
57
|
+
function NsxInputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
58
|
+
if (value == null) {
|
|
59
|
+
return value;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
'features': value['features'] == null ? undefined : Array.from(value['features']),
|
|
63
|
+
};
|
|
64
|
+
}
|
|
@@ -17,14 +17,10 @@
|
|
|
17
17
|
export interface OptimizationStatus {
|
|
18
18
|
/**
|
|
19
19
|
* Whether optimization was attempted based on available utilization data
|
|
20
|
-
* @type {boolean}
|
|
21
|
-
* @memberof OptimizationStatus
|
|
22
20
|
*/
|
|
23
21
|
attempted: boolean;
|
|
24
22
|
/**
|
|
25
23
|
* Reason for optimization result
|
|
26
|
-
* @type {OptimizationStatusReasonEnum}
|
|
27
|
-
* @memberof OptimizationStatus
|
|
28
24
|
*/
|
|
29
25
|
reason: OptimizationStatusReasonEnum;
|
|
30
26
|
}
|
|
@@ -26,7 +26,7 @@ exports.OptimizationStatusReasonEnum = {
|
|
|
26
26
|
NoUtilizationData: 'no_utilization_data',
|
|
27
27
|
LowConfidence: 'low_confidence',
|
|
28
28
|
CalculationError: 'calculation_error',
|
|
29
|
-
Success: 'success'
|
|
29
|
+
Success: 'success',
|
|
30
30
|
};
|
|
31
31
|
/**
|
|
32
32
|
* Check if a given object implements the OptimizationStatus interface.
|
|
@@ -18,26 +18,18 @@ import type { SchemaEstimationResult } from './SchemaEstimationResult.js';
|
|
|
18
18
|
export interface OsDiskEstimationEntry {
|
|
19
19
|
/**
|
|
20
20
|
* Combined OS+Disk complexity score (0-4).
|
|
21
|
-
* @type {number}
|
|
22
|
-
* @memberof OsDiskEstimationEntry
|
|
23
21
|
*/
|
|
24
22
|
score: number;
|
|
25
23
|
/**
|
|
26
24
|
* Number of VMs at this complexity level.
|
|
27
|
-
* @type {number}
|
|
28
|
-
* @memberof OsDiskEstimationEntry
|
|
29
25
|
*/
|
|
30
26
|
vmCount: number;
|
|
31
27
|
/**
|
|
32
28
|
* Total provisioned disk across VMs in this bucket (decimal TB). 0.0 when ComplexityDistribution is absent from the inventory.
|
|
33
|
-
* @type {number}
|
|
34
|
-
* @memberof OsDiskEstimationEntry
|
|
35
29
|
*/
|
|
36
30
|
totalDiskSizeTB: number;
|
|
37
31
|
/**
|
|
38
32
|
* Full estimation breakdown keyed by schema name. Absent for empty buckets (vmCount == 0).
|
|
39
|
-
* @type {{ [key: string]: SchemaEstimationResult; }}
|
|
40
|
-
* @memberof OsDiskEstimationEntry
|
|
41
33
|
*/
|
|
42
34
|
estimation?: {
|
|
43
35
|
[key: string]: SchemaEstimationResult;
|
package/dist/models/OsInfo.d.ts
CHANGED
|
@@ -17,26 +17,18 @@
|
|
|
17
17
|
export interface OsInfo {
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof OsInfo
|
|
22
20
|
*/
|
|
23
21
|
count: number;
|
|
24
22
|
/**
|
|
25
23
|
*
|
|
26
|
-
* @type {boolean}
|
|
27
|
-
* @memberof OsInfo
|
|
28
24
|
*/
|
|
29
25
|
supported: boolean;
|
|
30
26
|
/**
|
|
31
27
|
* OS support tier per Red Hat KCS article 4234591
|
|
32
|
-
* @type {OsInfoSupportTierEnum}
|
|
33
|
-
* @memberof OsInfo
|
|
34
28
|
*/
|
|
35
29
|
supportTier?: OsInfoSupportTierEnum;
|
|
36
30
|
/**
|
|
37
31
|
* Recommended OS upgrade for MTV unsupported OS that can be upgraded to a supported OS
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof OsInfo
|
|
40
32
|
*/
|
|
41
33
|
upgradeRecommendation?: string;
|
|
42
34
|
}
|
package/dist/models/OsInfo.js
CHANGED
|
@@ -26,7 +26,7 @@ exports.OsInfoSupportTierEnum = {
|
|
|
26
26
|
Certified: 'certified',
|
|
27
27
|
VendorSupported: 'vendor_supported',
|
|
28
28
|
CommunitySupported: 'community_supported',
|
|
29
|
-
SpecialHandling: 'special_handling'
|
|
29
|
+
SpecialHandling: 'special_handling',
|
|
30
30
|
};
|
|
31
31
|
/**
|
|
32
32
|
* Check if a given object implements the OsInfo interface.
|
|
@@ -19,80 +19,54 @@ import type { PartnerSummary } from './PartnerSummary.js';
|
|
|
19
19
|
export interface PartnerRequest {
|
|
20
20
|
/**
|
|
21
21
|
*
|
|
22
|
-
* @type {string}
|
|
23
|
-
* @memberof PartnerRequest
|
|
24
22
|
*/
|
|
25
23
|
id: string;
|
|
26
24
|
/**
|
|
27
25
|
*
|
|
28
|
-
* @type {string}
|
|
29
|
-
* @memberof PartnerRequest
|
|
30
26
|
*/
|
|
31
27
|
username: string;
|
|
32
28
|
/**
|
|
33
29
|
*
|
|
34
|
-
* @type {PartnerSummary}
|
|
35
|
-
* @memberof PartnerRequest
|
|
36
30
|
*/
|
|
37
31
|
partner: PartnerSummary;
|
|
38
32
|
/**
|
|
39
33
|
*
|
|
40
|
-
* @type {PartnerRequestStatus}
|
|
41
|
-
* @memberof PartnerRequest
|
|
42
34
|
*/
|
|
43
35
|
requestStatus: PartnerRequestStatus;
|
|
44
36
|
/**
|
|
45
37
|
*
|
|
46
|
-
* @type {string}
|
|
47
|
-
* @memberof PartnerRequest
|
|
48
38
|
*/
|
|
49
39
|
name: string;
|
|
50
40
|
/**
|
|
51
41
|
*
|
|
52
|
-
* @type {string}
|
|
53
|
-
* @memberof PartnerRequest
|
|
54
42
|
*/
|
|
55
43
|
contactName: string;
|
|
56
44
|
/**
|
|
57
45
|
*
|
|
58
|
-
* @type {string}
|
|
59
|
-
* @memberof PartnerRequest
|
|
60
46
|
*/
|
|
61
47
|
contactPhone: string;
|
|
62
48
|
/**
|
|
63
49
|
*
|
|
64
|
-
* @type {string}
|
|
65
|
-
* @memberof PartnerRequest
|
|
66
50
|
*/
|
|
67
51
|
email: string;
|
|
68
52
|
/**
|
|
69
53
|
*
|
|
70
|
-
* @type {string}
|
|
71
|
-
* @memberof PartnerRequest
|
|
72
54
|
*/
|
|
73
55
|
location: string;
|
|
74
56
|
/**
|
|
75
57
|
*
|
|
76
|
-
* @type {string}
|
|
77
|
-
* @memberof PartnerRequest
|
|
78
58
|
*/
|
|
79
59
|
reason?: string | null;
|
|
80
60
|
/**
|
|
81
61
|
*
|
|
82
|
-
* @type {Date}
|
|
83
|
-
* @memberof PartnerRequest
|
|
84
62
|
*/
|
|
85
63
|
acceptedAt?: Date | null;
|
|
86
64
|
/**
|
|
87
65
|
*
|
|
88
|
-
* @type {Date}
|
|
89
|
-
* @memberof PartnerRequest
|
|
90
66
|
*/
|
|
91
67
|
terminatedAt?: Date | null;
|
|
92
68
|
/**
|
|
93
69
|
*
|
|
94
|
-
* @type {Date}
|
|
95
|
-
* @memberof PartnerRequest
|
|
96
70
|
*/
|
|
97
71
|
createdAt: Date;
|
|
98
72
|
}
|
|
@@ -18,6 +18,7 @@ exports.PartnerRequestFromJSON = PartnerRequestFromJSON;
|
|
|
18
18
|
exports.PartnerRequestFromJSONTyped = PartnerRequestFromJSONTyped;
|
|
19
19
|
exports.PartnerRequestToJSON = PartnerRequestToJSON;
|
|
20
20
|
exports.PartnerRequestToJSONTyped = PartnerRequestToJSONTyped;
|
|
21
|
+
const runtime_js_1 = require("../runtime.js");
|
|
21
22
|
const PartnerRequestStatus_js_1 = require("./PartnerRequestStatus.js");
|
|
22
23
|
const PartnerSummary_js_1 = require("./PartnerSummary.js");
|
|
23
24
|
/**
|
|
@@ -64,9 +65,9 @@ function PartnerRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
64
65
|
'email': json['email'],
|
|
65
66
|
'location': json['location'],
|
|
66
67
|
'reason': json['reason'] === undefined ? undefined : json['reason'] === null ? null : json['reason'],
|
|
67
|
-
'acceptedAt': json['acceptedAt'] === undefined ? undefined : json['acceptedAt'] === null ? null : (
|
|
68
|
-
'terminatedAt': json['terminatedAt'] === undefined ? undefined : json['terminatedAt'] === null ? null : (
|
|
69
|
-
'createdAt': (
|
|
68
|
+
'acceptedAt': json['acceptedAt'] === undefined ? undefined : json['acceptedAt'] === null ? null : ((0, runtime_js_1.parseDateTime)(json['acceptedAt'])),
|
|
69
|
+
'terminatedAt': json['terminatedAt'] === undefined ? undefined : json['terminatedAt'] === null ? null : ((0, runtime_js_1.parseDateTime)(json['terminatedAt'])),
|
|
70
|
+
'createdAt': (json['createdAt'] == null ? json['createdAt'] : (0, runtime_js_1.parseDateTime)(json['createdAt'])),
|
|
70
71
|
};
|
|
71
72
|
}
|
|
72
73
|
function PartnerRequestToJSON(json) {
|
|
@@ -87,8 +88,8 @@ function PartnerRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
87
88
|
'email': value['email'],
|
|
88
89
|
'location': value['location'],
|
|
89
90
|
'reason': value['reason'],
|
|
90
|
-
'acceptedAt': value['acceptedAt'] == null ? value['acceptedAt'] : value['acceptedAt']
|
|
91
|
-
'terminatedAt': value['terminatedAt'] == null ? value['terminatedAt'] : value['terminatedAt']
|
|
92
|
-
'createdAt': value['createdAt'].
|
|
91
|
+
'acceptedAt': value['acceptedAt'] == null ? value['acceptedAt'] : (0, runtime_js_1.serializeDateTime)(value['acceptedAt']),
|
|
92
|
+
'terminatedAt': value['terminatedAt'] == null ? value['terminatedAt'] : (0, runtime_js_1.serializeDateTime)(value['terminatedAt']),
|
|
93
|
+
'createdAt': value['createdAt'] == null ? value['createdAt'] : (0, runtime_js_1.serializeDateTime)(value['createdAt']),
|
|
93
94
|
};
|
|
94
95
|
}
|
|
@@ -17,32 +17,22 @@
|
|
|
17
17
|
export interface PartnerRequestCreate {
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof PartnerRequestCreate
|
|
22
20
|
*/
|
|
23
21
|
name: string;
|
|
24
22
|
/**
|
|
25
23
|
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof PartnerRequestCreate
|
|
28
24
|
*/
|
|
29
25
|
contactName: string;
|
|
30
26
|
/**
|
|
31
27
|
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof PartnerRequestCreate
|
|
34
28
|
*/
|
|
35
29
|
contactPhone: string;
|
|
36
30
|
/**
|
|
37
31
|
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof PartnerRequestCreate
|
|
40
32
|
*/
|
|
41
33
|
email: string;
|
|
42
34
|
/**
|
|
43
35
|
*
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof PartnerRequestCreate
|
|
46
36
|
*/
|
|
47
37
|
location: string;
|
|
48
38
|
}
|
|
@@ -27,7 +27,7 @@ exports.PartnerRequestStatus = {
|
|
|
27
27
|
Pending: 'pending',
|
|
28
28
|
Accepted: 'accepted',
|
|
29
29
|
Rejected: 'rejected',
|
|
30
|
-
Cancelled: 'cancelled'
|
|
30
|
+
Cancelled: 'cancelled',
|
|
31
31
|
};
|
|
32
32
|
function instanceOfPartnerRequestStatus(value) {
|
|
33
33
|
for (const key in exports.PartnerRequestStatus) {
|
|
@@ -18,14 +18,10 @@ import type { PartnerRequestStatus } from './PartnerRequestStatus.js';
|
|
|
18
18
|
export interface PartnerRequestUpdate {
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
|
-
* @type {PartnerRequestStatus}
|
|
22
|
-
* @memberof PartnerRequestUpdate
|
|
23
21
|
*/
|
|
24
22
|
status: PartnerRequestStatus;
|
|
25
23
|
/**
|
|
26
24
|
*
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof PartnerRequestUpdate
|
|
29
25
|
*/
|
|
30
26
|
reason?: string;
|
|
31
27
|
}
|