@coraxai/api-client 2.313.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 +287 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +46 -0
- package/dist/apis/APIKeysApi.d.ts +60 -0
- package/dist/apis/APIKeysApi.js +286 -0
- package/dist/apis/AuthApi.d.ts +28 -0
- package/dist/apis/AuthApi.js +142 -0
- package/dist/apis/CapabilitiesApi.d.ts +296 -0
- package/dist/apis/CapabilitiesApi.js +1447 -0
- package/dist/apis/CapabilityEvaluationsApi.d.ts +225 -0
- package/dist/apis/CapabilityEvaluationsApi.js +1089 -0
- package/dist/apis/CapabilityTypesApi.d.ts +55 -0
- package/dist/apis/CapabilityTypesApi.js +279 -0
- package/dist/apis/ComplianceApi.d.ts +241 -0
- package/dist/apis/ComplianceApi.js +1238 -0
- package/dist/apis/ConversationsApi.d.ts +60 -0
- package/dist/apis/ConversationsApi.js +285 -0
- package/dist/apis/CriterionTypesApi.d.ts +47 -0
- package/dist/apis/CriterionTypesApi.js +221 -0
- package/dist/apis/DefaultApi.d.ts +111 -0
- package/dist/apis/DefaultApi.js +522 -0
- package/dist/apis/EvaluationDatasetsApi.d.ts +161 -0
- package/dist/apis/EvaluationDatasetsApi.js +785 -0
- package/dist/apis/KnowledgeCollectionsApi.d.ts +146 -0
- package/dist/apis/KnowledgeCollectionsApi.js +785 -0
- package/dist/apis/MCPServersApi.d.ts +223 -0
- package/dist/apis/MCPServersApi.js +1023 -0
- package/dist/apis/ModelCatalogApi.d.ts +54 -0
- package/dist/apis/ModelCatalogApi.js +274 -0
- package/dist/apis/ModelDeploymentsApi.d.ts +113 -0
- package/dist/apis/ModelDeploymentsApi.js +555 -0
- package/dist/apis/ModelDiscoveryApi.d.ts +31 -0
- package/dist/apis/ModelDiscoveryApi.js +147 -0
- package/dist/apis/ModelProviderTypesApi.d.ts +73 -0
- package/dist/apis/ModelProviderTypesApi.js +353 -0
- package/dist/apis/ModelProvidersApi.d.ts +139 -0
- package/dist/apis/ModelProvidersApi.js +688 -0
- package/dist/apis/ProjectsApi.d.ts +87 -0
- package/dist/apis/ProjectsApi.js +423 -0
- package/dist/apis/RBACAdminApi.d.ts +100 -0
- package/dist/apis/RBACAdminApi.js +551 -0
- package/dist/apis/index.d.ts +19 -0
- package/dist/apis/index.js +37 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +21 -0
- package/dist/models/ActualOutput.d.ts +26 -0
- package/dist/models/ActualOutput.js +39 -0
- package/dist/models/AnthropicConfiguration.d.ts +32 -0
- package/dist/models/AnthropicConfiguration.js +51 -0
- package/dist/models/AnthropicProviderValidationRequest.d.ts +46 -0
- package/dist/models/AnthropicProviderValidationRequest.js +63 -0
- package/dist/models/AnthropicProviderWithDeploymentsCreate.d.ts +59 -0
- package/dist/models/AnthropicProviderWithDeploymentsCreate.js +72 -0
- package/dist/models/ApiKey.d.ts +113 -0
- package/dist/models/ApiKey.js +87 -0
- package/dist/models/ApiKeyCreate.d.ts +50 -0
- package/dist/models/ApiKeyCreate.js +57 -0
- package/dist/models/ApplicablePolicyResponse.d.ts +63 -0
- package/dist/models/ApplicablePolicyResponse.js +70 -0
- package/dist/models/AppliedControl.d.ts +38 -0
- package/dist/models/AppliedControl.js +55 -0
- package/dist/models/ApplyControlsResponse.d.ts +39 -0
- package/dist/models/ApplyControlsResponse.js +56 -0
- package/dist/models/ArrayPropertyInput.d.ts +52 -0
- package/dist/models/ArrayPropertyInput.js +67 -0
- package/dist/models/ArrayPropertyOutput.d.ts +52 -0
- package/dist/models/ArrayPropertyOutput.js +67 -0
- package/dist/models/AssetResponse.d.ts +70 -0
- package/dist/models/AssetResponse.js +71 -0
- package/dist/models/AuthMeResponse.d.ts +71 -0
- package/dist/models/AuthMeResponse.js +74 -0
- package/dist/models/AvailableModel.d.ts +50 -0
- package/dist/models/AvailableModel.js +57 -0
- package/dist/models/AzureAiProviderValidationRequest.d.ts +46 -0
- package/dist/models/AzureAiProviderValidationRequest.js +63 -0
- package/dist/models/AzureAiProviderWithDeploymentsCreate.d.ts +59 -0
- package/dist/models/AzureAiProviderWithDeploymentsCreate.js +72 -0
- package/dist/models/AzureConfiguration.d.ts +38 -0
- package/dist/models/AzureConfiguration.js +55 -0
- package/dist/models/AzureProviderValidationRequest.d.ts +46 -0
- package/dist/models/AzureProviderValidationRequest.js +63 -0
- package/dist/models/AzureProviderWithDeploymentsCreate.d.ts +59 -0
- package/dist/models/AzureProviderWithDeploymentsCreate.js +72 -0
- package/dist/models/AzureSpeechProviderValidationRequest.d.ts +46 -0
- package/dist/models/AzureSpeechProviderValidationRequest.js +63 -0
- package/dist/models/AzureSpeechProviderWithDeploymentsCreate.d.ts +59 -0
- package/dist/models/AzureSpeechProviderWithDeploymentsCreate.js +72 -0
- package/dist/models/BadgeResponse.d.ts +39 -0
- package/dist/models/BadgeResponse.js +54 -0
- package/dist/models/BasicProperty.d.ts +48 -0
- package/dist/models/BasicProperty.js +65 -0
- package/dist/models/BedrockConfiguration.d.ts +44 -0
- package/dist/models/BedrockConfiguration.js +59 -0
- package/dist/models/BedrockProviderValidationRequest.d.ts +46 -0
- package/dist/models/BedrockProviderValidationRequest.js +63 -0
- package/dist/models/BedrockProviderWithDeploymentsCreate.d.ts +59 -0
- package/dist/models/BedrockProviderWithDeploymentsCreate.js +72 -0
- package/dist/models/BlobConfig.d.ts +44 -0
- package/dist/models/BlobConfig.js +53 -0
- package/dist/models/BooleanConfigurationField.d.ts +81 -0
- package/dist/models/BooleanConfigurationField.js +76 -0
- package/dist/models/Capability.d.ts +143 -0
- package/dist/models/Capability.js +113 -0
- package/dist/models/Capability1.d.ts +132 -0
- package/dist/models/Capability1.js +105 -0
- package/dist/models/Capability2.d.ts +138 -0
- package/dist/models/Capability2.js +101 -0
- package/dist/models/CapabilityConfig.d.ts +98 -0
- package/dist/models/CapabilityConfig.js +77 -0
- package/dist/models/CapabilityCriterionOperationType.d.ts +26 -0
- package/dist/models/CapabilityCriterionOperationType.js +52 -0
- package/dist/models/CapabilityCriterionType.d.ts +32 -0
- package/dist/models/CapabilityCriterionType.js +58 -0
- package/dist/models/CapabilityEvaluationConfiguration.d.ts +38 -0
- package/dist/models/CapabilityEvaluationConfiguration.js +51 -0
- package/dist/models/CapabilityEvaluationCreate.d.ts +69 -0
- package/dist/models/CapabilityEvaluationCreate.js +70 -0
- package/dist/models/CapabilityEvaluationCriterionCreate.d.ts +47 -0
- package/dist/models/CapabilityEvaluationCriterionCreate.js +58 -0
- package/dist/models/CapabilityEvaluationCriterionRepresentation.d.ts +62 -0
- package/dist/models/CapabilityEvaluationCriterionRepresentation.js +64 -0
- package/dist/models/CapabilityEvaluationCriterionTypeRepresentation.d.ts +75 -0
- package/dist/models/CapabilityEvaluationCriterionTypeRepresentation.js +77 -0
- package/dist/models/CapabilityEvaluationRepresentation.d.ts +114 -0
- package/dist/models/CapabilityEvaluationRepresentation.js +88 -0
- package/dist/models/CapabilityEvaluationUpdate.d.ts +69 -0
- package/dist/models/CapabilityEvaluationUpdate.js +70 -0
- package/dist/models/CapabilityId.d.ts +26 -0
- package/dist/models/CapabilityId.js +39 -0
- package/dist/models/CapabilityId1.d.ts +26 -0
- package/dist/models/CapabilityId1.js +39 -0
- package/dist/models/CapabilityRepresentation.d.ts +173 -0
- package/dist/models/CapabilityRepresentation.js +129 -0
- package/dist/models/CapabilitySetDefaultVersionRequest.d.ts +32 -0
- package/dist/models/CapabilitySetDefaultVersionRequest.js +51 -0
- package/dist/models/CapabilityType.d.ts +29 -0
- package/dist/models/CapabilityType.js +55 -0
- package/dist/models/CapabilityTypeRepresentation.d.ts +67 -0
- package/dist/models/CapabilityTypeRepresentation.js +65 -0
- package/dist/models/CapabilityTypesRepresentation.d.ts +42 -0
- package/dist/models/CapabilityTypesRepresentation.js +56 -0
- package/dist/models/CapabilityVersion.d.ts +86 -0
- package/dist/models/CapabilityVersion.js +86 -0
- package/dist/models/CatalogSource.d.ts +25 -0
- package/dist/models/CatalogSource.js +51 -0
- package/dist/models/CatalogSourceSnapshot.d.ts +52 -0
- package/dist/models/CatalogSourceSnapshot.js +65 -0
- package/dist/models/CatalogStalenessMetadata.d.ts +40 -0
- package/dist/models/CatalogStalenessMetadata.js +61 -0
- package/dist/models/ChatCapability.d.ts +157 -0
- package/dist/models/ChatCapability.js +113 -0
- package/dist/models/ChatCapabilityCreate.d.ts +100 -0
- package/dist/models/ChatCapabilityCreate.js +83 -0
- package/dist/models/ChatCapabilityUpdate.d.ts +106 -0
- package/dist/models/ChatCapabilityUpdate.js +83 -0
- package/dist/models/ChatConversation.d.ts +90 -0
- package/dist/models/ChatConversation.js +88 -0
- package/dist/models/Collection.d.ts +101 -0
- package/dist/models/Collection.js +87 -0
- package/dist/models/CollectionCreate.d.ts +50 -0
- package/dist/models/CollectionCreate.js +57 -0
- package/dist/models/CollectionUpdate.d.ts +50 -0
- package/dist/models/CollectionUpdate.js +57 -0
- package/dist/models/CompletionCapability.d.ts +180 -0
- package/dist/models/CompletionCapability.js +129 -0
- package/dist/models/CompletionCapabilityCreate.d.ts +123 -0
- package/dist/models/CompletionCapabilityCreate.js +100 -0
- package/dist/models/CompletionCapabilityCreateSchemaDefValue.d.ts +39 -0
- package/dist/models/CompletionCapabilityCreateSchemaDefValue.js +76 -0
- package/dist/models/CompletionCapabilitySchemaDefValue.d.ts +39 -0
- package/dist/models/CompletionCapabilitySchemaDefValue.js +76 -0
- package/dist/models/CompletionCapabilityUpdate.d.ts +121 -0
- package/dist/models/CompletionCapabilityUpdate.js +89 -0
- package/dist/models/ComplianceStatus.d.ts +25 -0
- package/dist/models/ComplianceStatus.js +51 -0
- package/dist/models/ComplianceSummary.d.ts +44 -0
- package/dist/models/ComplianceSummary.js +59 -0
- package/dist/models/ConfigurationField.d.ts +42 -0
- package/dist/models/ConfigurationField.js +79 -0
- package/dist/models/ConfigurationFieldOption.d.ts +38 -0
- package/dist/models/ConfigurationFieldOption.js +55 -0
- package/dist/models/ConflictView.d.ts +46 -0
- package/dist/models/ConflictView.js +63 -0
- package/dist/models/ConnectedCapabilityResponse.d.ts +50 -0
- package/dist/models/ConnectedCapabilityResponse.js +63 -0
- package/dist/models/Content.d.ts +26 -0
- package/dist/models/Content.js +39 -0
- package/dist/models/ControlComplianceStatus.d.ts +25 -0
- package/dist/models/ControlComplianceStatus.js +51 -0
- package/dist/models/ControlResult.d.ts +50 -0
- package/dist/models/ControlResult.js +63 -0
- package/dist/models/Data.d.ts +59 -0
- package/dist/models/Data.js +72 -0
- package/dist/models/DataRetention.d.ts +27 -0
- package/dist/models/DataRetention.js +54 -0
- package/dist/models/DefaultModelDeploymentUpdate.d.ts +38 -0
- package/dist/models/DefaultModelDeploymentUpdate.js +51 -0
- package/dist/models/DeploymentCreate.d.ts +44 -0
- package/dist/models/DeploymentCreate.js +59 -0
- package/dist/models/DeploymentHealthResponse.d.ts +53 -0
- package/dist/models/DeploymentHealthResponse.js +64 -0
- package/dist/models/Document.d.ts +139 -0
- package/dist/models/Document.js +97 -0
- package/dist/models/DocumentEmbeddingResponse.d.ts +74 -0
- package/dist/models/DocumentEmbeddingResponse.js +74 -0
- package/dist/models/DryRunRequest.d.ts +45 -0
- package/dist/models/DryRunRequest.js +56 -0
- package/dist/models/DryRunResponse.d.ts +39 -0
- package/dist/models/DryRunResponse.js +56 -0
- package/dist/models/EnumProperty.d.ts +51 -0
- package/dist/models/EnumProperty.js +66 -0
- package/dist/models/EvaluationCriterionExecutionRepresentation.d.ts +61 -0
- package/dist/models/EvaluationCriterionExecutionRepresentation.js +69 -0
- package/dist/models/EvaluationCriterionExecutionResult.d.ts +39 -0
- package/dist/models/EvaluationCriterionExecutionResult.js +54 -0
- package/dist/models/EvaluationDatasetConfigurationBase.d.ts +53 -0
- package/dist/models/EvaluationDatasetConfigurationBase.js +58 -0
- package/dist/models/EvaluationDatasetCreate.d.ts +51 -0
- package/dist/models/EvaluationDatasetCreate.js +60 -0
- package/dist/models/EvaluationDatasetItemCreate.d.ts +48 -0
- package/dist/models/EvaluationDatasetItemCreate.js +57 -0
- package/dist/models/EvaluationDatasetItemRepresentation.d.ts +69 -0
- package/dist/models/EvaluationDatasetItemRepresentation.js +67 -0
- package/dist/models/EvaluationDatasetItemUpdate.d.ts +54 -0
- package/dist/models/EvaluationDatasetItemUpdate.js +61 -0
- package/dist/models/EvaluationDatasetOutputType.d.ts +25 -0
- package/dist/models/EvaluationDatasetOutputType.js +51 -0
- package/dist/models/EvaluationDatasetRepresentation.d.ts +78 -0
- package/dist/models/EvaluationDatasetRepresentation.js +72 -0
- package/dist/models/EvaluationDatasetUpdate.d.ts +57 -0
- package/dist/models/EvaluationDatasetUpdate.js +64 -0
- package/dist/models/EvaluationExecutionConfiguration.d.ts +39 -0
- package/dist/models/EvaluationExecutionConfiguration.js +52 -0
- package/dist/models/EvaluationExecutionCreate.d.ts +39 -0
- package/dist/models/EvaluationExecutionCreate.js +54 -0
- package/dist/models/EvaluationExecutionData.d.ts +56 -0
- package/dist/models/EvaluationExecutionData.js +63 -0
- package/dist/models/EvaluationExecutionMode.d.ts +25 -0
- package/dist/models/EvaluationExecutionMode.js +51 -0
- package/dist/models/EvaluationExecutionProgress.d.ts +50 -0
- package/dist/models/EvaluationExecutionProgress.js +63 -0
- package/dist/models/EvaluationExecutionRepresentation.d.ts +117 -0
- package/dist/models/EvaluationExecutionRepresentation.js +94 -0
- package/dist/models/EvaluationExecutionStatus.d.ts +28 -0
- package/dist/models/EvaluationExecutionStatus.js +54 -0
- package/dist/models/Execution.d.ts +104 -0
- package/dist/models/Execution.js +86 -0
- package/dist/models/ExecutionCallback.d.ts +107 -0
- package/dist/models/ExecutionCallback.js +93 -0
- package/dist/models/ExecutionContext.d.ts +44 -0
- package/dist/models/ExecutionContext.js +57 -0
- package/dist/models/ExecutionCreate.d.ts +44 -0
- package/dist/models/ExecutionCreate.js +53 -0
- package/dist/models/ExecutionResult.d.ts +50 -0
- package/dist/models/ExecutionResult.js +61 -0
- package/dist/models/ExecutionSparse.d.ts +100 -0
- package/dist/models/ExecutionSparse.js +84 -0
- package/dist/models/ExecutionStatus.d.ts +27 -0
- package/dist/models/ExecutionStatus.js +53 -0
- package/dist/models/ExecutionUsage.d.ts +68 -0
- package/dist/models/ExecutionUsage.js +69 -0
- package/dist/models/ExtractionCapability.d.ts +158 -0
- package/dist/models/ExtractionCapability.js +115 -0
- package/dist/models/ExtractionCapabilityCreate.d.ts +101 -0
- package/dist/models/ExtractionCapabilityCreate.js +85 -0
- package/dist/models/ExtractionCapabilityUpdate.d.ts +107 -0
- package/dist/models/ExtractionCapabilityUpdate.js +87 -0
- package/dist/models/Feedback.d.ts +105 -0
- package/dist/models/Feedback.js +91 -0
- package/dist/models/FeedbackCreate.d.ts +45 -0
- package/dist/models/FeedbackCreate.js +56 -0
- package/dist/models/FeedbackSentiment.d.ts +25 -0
- package/dist/models/FeedbackSentiment.js +51 -0
- package/dist/models/FieldProvenanceAny.d.ts +47 -0
- package/dist/models/FieldProvenanceAny.js +58 -0
- package/dist/models/FieldValueFormat.d.ts +24 -0
- package/dist/models/FieldValueFormat.js +50 -0
- package/dist/models/FileListPage.d.ts +50 -0
- package/dist/models/FileListPage.js +63 -0
- package/dist/models/FileListResponse.d.ts +40 -0
- package/dist/models/FileListResponse.js +57 -0
- package/dist/models/FileResponse.d.ts +62 -0
- package/dist/models/FileResponse.js +67 -0
- package/dist/models/GeminiProviderValidationRequest.d.ts +46 -0
- package/dist/models/GeminiProviderValidationRequest.js +63 -0
- package/dist/models/GeminiProviderWithDeploymentsCreate.d.ts +59 -0
- package/dist/models/GeminiProviderWithDeploymentsCreate.js +72 -0
- package/dist/models/GuardrailEventListResponse.d.ts +51 -0
- package/dist/models/GuardrailEventListResponse.js +64 -0
- package/dist/models/GuardrailEventResponse.d.ts +104 -0
- package/dist/models/GuardrailEventResponse.js +97 -0
- package/dist/models/GuardrailRow.d.ts +72 -0
- package/dist/models/GuardrailRow.js +68 -0
- package/dist/models/HTTPValidationError.d.ts +33 -0
- package/dist/models/HTTPValidationError.js +50 -0
- package/dist/models/HateoasLink.d.ts +39 -0
- package/dist/models/HateoasLink.js +54 -0
- package/dist/models/ImageGenerationCapability.d.ts +164 -0
- package/dist/models/ImageGenerationCapability.js +117 -0
- package/dist/models/ImageGenerationCapabilityCreate.d.ts +101 -0
- package/dist/models/ImageGenerationCapabilityCreate.js +83 -0
- package/dist/models/ImageGenerationCapabilityUpdate.d.ts +107 -0
- package/dist/models/ImageGenerationCapabilityUpdate.js +87 -0
- package/dist/models/InfiniteDataRetention.d.ts +39 -0
- package/dist/models/InfiniteDataRetention.js +56 -0
- package/dist/models/Input.d.ts +26 -0
- package/dist/models/Input.js +39 -0
- package/dist/models/InputAnyOfInner.d.ts +56 -0
- package/dist/models/InputAnyOfInner.js +59 -0
- package/dist/models/Items.d.ts +39 -0
- package/dist/models/Items.js +76 -0
- package/dist/models/Items1.d.ts +39 -0
- package/dist/models/Items1.js +76 -0
- package/dist/models/KeyConfigurationField.d.ts +88 -0
- package/dist/models/KeyConfigurationField.js +79 -0
- package/dist/models/Limits.d.ts +39 -0
- package/dist/models/Limits.js +56 -0
- package/dist/models/MCPAuthModeSchema.d.ts +57 -0
- package/dist/models/MCPAuthModeSchema.js +62 -0
- package/dist/models/MCPAuthSchema.d.ts +39 -0
- package/dist/models/MCPAuthSchema.js +54 -0
- package/dist/models/MCPConfigSchemaResponse.d.ts +50 -0
- package/dist/models/MCPConfigSchemaResponse.js +57 -0
- package/dist/models/MCPConnectionType.d.ts +25 -0
- package/dist/models/MCPConnectionType.js +51 -0
- package/dist/models/MCPResourceReadRequest.d.ts +32 -0
- package/dist/models/MCPResourceReadRequest.js +51 -0
- package/dist/models/MCPResourceReadResponse.d.ts +32 -0
- package/dist/models/MCPResourceReadResponse.js +51 -0
- package/dist/models/MCPServerBase.d.ts +59 -0
- package/dist/models/MCPServerBase.js +62 -0
- package/dist/models/MCPServerResponse.d.ts +86 -0
- package/dist/models/MCPServerResponse.js +78 -0
- package/dist/models/MCPToolCallRequest.d.ts +40 -0
- package/dist/models/MCPToolCallRequest.js +53 -0
- package/dist/models/MCPToolCallResponse.d.ts +54 -0
- package/dist/models/MCPToolCallResponse.js +55 -0
- package/dist/models/MLLMImage.d.ts +56 -0
- package/dist/models/MLLMImage.js +59 -0
- package/dist/models/Message.d.ts +90 -0
- package/dist/models/Message.js +77 -0
- package/dist/models/MetricData.d.ts +86 -0
- package/dist/models/MetricData.js +73 -0
- package/dist/models/MistralProviderValidationRequest.d.ts +46 -0
- package/dist/models/MistralProviderValidationRequest.js +63 -0
- package/dist/models/MistralProviderWithDeploymentsCreate.d.ts +59 -0
- package/dist/models/MistralProviderWithDeploymentsCreate.js +72 -0
- package/dist/models/Modality.d.ts +27 -0
- package/dist/models/Modality.js +53 -0
- package/dist/models/ModalitySupport.d.ts +40 -0
- package/dist/models/ModalitySupport.js +61 -0
- package/dist/models/ModelCapability.d.ts +41 -0
- package/dist/models/ModelCapability.js +67 -0
- package/dist/models/ModelCatalogEntry.d.ts +146 -0
- package/dist/models/ModelCatalogEntry.js +92 -0
- package/dist/models/ModelCatalogEntryResponse.d.ts +41 -0
- package/dist/models/ModelCatalogEntryResponse.js +62 -0
- package/dist/models/ModelCatalogListResponse.d.ts +41 -0
- package/dist/models/ModelCatalogListResponse.js +62 -0
- package/dist/models/ModelConfiguration.d.ts +42 -0
- package/dist/models/ModelConfiguration.js +56 -0
- package/dist/models/ModelDeployment.d.ts +104 -0
- package/dist/models/ModelDeployment.js +86 -0
- package/dist/models/ModelDeploymentCreate.d.ts +65 -0
- package/dist/models/ModelDeploymentCreate.js +66 -0
- package/dist/models/ModelDeploymentUpdate.d.ts +65 -0
- package/dist/models/ModelDeploymentUpdate.js +66 -0
- package/dist/models/ModelHTTPMethod.d.ts +37 -0
- package/dist/models/ModelHTTPMethod.js +63 -0
- package/dist/models/ModelMode.d.ts +41 -0
- package/dist/models/ModelMode.js +67 -0
- package/dist/models/ModelProvider.d.ts +85 -0
- package/dist/models/ModelProvider.js +79 -0
- package/dist/models/ModelProviderCreate.d.ts +46 -0
- package/dist/models/ModelProviderCreate.js +59 -0
- package/dist/models/ModelProviderType.d.ts +72 -0
- package/dist/models/ModelProviderType.js +72 -0
- package/dist/models/ModelProviderUpdate.d.ts +52 -0
- package/dist/models/ModelProviderUpdate.js +63 -0
- package/dist/models/MultiSelectConfigurationField.d.ts +88 -0
- package/dist/models/MultiSelectConfigurationField.js +81 -0
- package/dist/models/NumberConfigurationField.d.ts +99 -0
- package/dist/models/NumberConfigurationField.js +88 -0
- package/dist/models/ObjectPropertyInput.d.ts +54 -0
- package/dist/models/ObjectPropertyInput.js +68 -0
- package/dist/models/ObjectPropertyOutput.d.ts +54 -0
- package/dist/models/ObjectPropertyOutput.js +68 -0
- package/dist/models/OllamaConfiguration.d.ts +32 -0
- package/dist/models/OllamaConfiguration.js +49 -0
- package/dist/models/OllamaProviderValidationRequest.d.ts +46 -0
- package/dist/models/OllamaProviderValidationRequest.js +63 -0
- package/dist/models/OllamaProviderWithDeploymentsCreate.d.ts +59 -0
- package/dist/models/OllamaProviderWithDeploymentsCreate.js +72 -0
- package/dist/models/OpenAIConfiguration.d.ts +32 -0
- package/dist/models/OpenAIConfiguration.js +51 -0
- package/dist/models/OpenAILikeConfiguration.d.ts +38 -0
- package/dist/models/OpenAILikeConfiguration.js +53 -0
- package/dist/models/OpenAILikeProviderValidationRequest.d.ts +46 -0
- package/dist/models/OpenAILikeProviderValidationRequest.js +63 -0
- package/dist/models/OpenAILikeProviderWithDeploymentsCreate.d.ts +59 -0
- package/dist/models/OpenAILikeProviderWithDeploymentsCreate.js +72 -0
- package/dist/models/OpenAIProviderValidationRequest.d.ts +46 -0
- package/dist/models/OpenAIProviderValidationRequest.js +63 -0
- package/dist/models/OpenAIProviderWithDeploymentsCreate.d.ts +59 -0
- package/dist/models/OpenAIProviderWithDeploymentsCreate.js +72 -0
- package/dist/models/OpenRouterProviderValidationRequest.d.ts +46 -0
- package/dist/models/OpenRouterProviderValidationRequest.js +63 -0
- package/dist/models/OpenRouterProviderWithDeploymentsCreate.d.ts +59 -0
- package/dist/models/OpenRouterProviderWithDeploymentsCreate.js +72 -0
- package/dist/models/Page.d.ts +50 -0
- package/dist/models/Page.js +63 -0
- package/dist/models/PagedResponseModelApiKey.d.ts +49 -0
- package/dist/models/PagedResponseModelApiKey.js +61 -0
- package/dist/models/PagedResponseModelCapability.d.ts +49 -0
- package/dist/models/PagedResponseModelCapability.js +61 -0
- package/dist/models/PagedResponseModelCapabilityEvaluationCriterionRepresentation.d.ts +49 -0
- package/dist/models/PagedResponseModelCapabilityEvaluationCriterionRepresentation.js +61 -0
- package/dist/models/PagedResponseModelCapabilityEvaluationCriterionTypeRepresentation.d.ts +49 -0
- package/dist/models/PagedResponseModelCapabilityEvaluationCriterionTypeRepresentation.js +61 -0
- package/dist/models/PagedResponseModelCapabilityEvaluationRepresentation.d.ts +49 -0
- package/dist/models/PagedResponseModelCapabilityEvaluationRepresentation.js +61 -0
- package/dist/models/PagedResponseModelCapabilityVersion.d.ts +49 -0
- package/dist/models/PagedResponseModelCapabilityVersion.js +61 -0
- package/dist/models/PagedResponseModelChatConversation.d.ts +49 -0
- package/dist/models/PagedResponseModelChatConversation.js +61 -0
- package/dist/models/PagedResponseModelCollection.d.ts +49 -0
- package/dist/models/PagedResponseModelCollection.js +61 -0
- package/dist/models/PagedResponseModelDocument.d.ts +49 -0
- package/dist/models/PagedResponseModelDocument.js +61 -0
- package/dist/models/PagedResponseModelEvaluationCriterionExecutionRepresentation.d.ts +49 -0
- package/dist/models/PagedResponseModelEvaluationCriterionExecutionRepresentation.js +61 -0
- package/dist/models/PagedResponseModelEvaluationDatasetItemRepresentation.d.ts +49 -0
- package/dist/models/PagedResponseModelEvaluationDatasetItemRepresentation.js +61 -0
- package/dist/models/PagedResponseModelEvaluationDatasetRepresentation.d.ts +49 -0
- package/dist/models/PagedResponseModelEvaluationDatasetRepresentation.js +61 -0
- package/dist/models/PagedResponseModelEvaluationExecutionRepresentation.d.ts +49 -0
- package/dist/models/PagedResponseModelEvaluationExecutionRepresentation.js +61 -0
- package/dist/models/PagedResponseModelExecutionSparse.d.ts +49 -0
- package/dist/models/PagedResponseModelExecutionSparse.js +61 -0
- package/dist/models/PagedResponseModelFeedback.d.ts +49 -0
- package/dist/models/PagedResponseModelFeedback.js +61 -0
- package/dist/models/PagedResponseModelMCPServerResponse.d.ts +49 -0
- package/dist/models/PagedResponseModelMCPServerResponse.js +61 -0
- package/dist/models/PagedResponseModelModelDeployment.d.ts +49 -0
- package/dist/models/PagedResponseModelModelDeployment.js +61 -0
- package/dist/models/PagedResponseModelModelProvider.d.ts +49 -0
- package/dist/models/PagedResponseModelModelProvider.js +61 -0
- package/dist/models/PagedResponseModelModelProviderType.d.ts +49 -0
- package/dist/models/PagedResponseModelModelProviderType.js +61 -0
- package/dist/models/PagedResponseModelProject.d.ts +49 -0
- package/dist/models/PagedResponseModelProject.js +61 -0
- package/dist/models/PagedResponseModelRole.d.ts +49 -0
- package/dist/models/PagedResponseModelRole.js +61 -0
- package/dist/models/PagedResponseModelUserRBAC.d.ts +49 -0
- package/dist/models/PagedResponseModelUserRBAC.js +61 -0
- package/dist/models/Permission.d.ts +45 -0
- package/dist/models/Permission.js +71 -0
- package/dist/models/PermissionItem.d.ts +44 -0
- package/dist/models/PermissionItem.js +59 -0
- package/dist/models/PiiDetectionDirectionRequirement.d.ts +34 -0
- package/dist/models/PiiDetectionDirectionRequirement.js +59 -0
- package/dist/models/PiiDetectionRequirementInput.d.ts +47 -0
- package/dist/models/PiiDetectionRequirementInput.js +62 -0
- package/dist/models/PiiDetectionRequirementOutput.d.ts +47 -0
- package/dist/models/PiiDetectionRequirementOutput.js +62 -0
- package/dist/models/PiiEnforcementMode.d.ts +26 -0
- package/dist/models/PiiEnforcementMode.js +52 -0
- package/dist/models/PiiEntityCode.d.ts +30 -0
- package/dist/models/PiiEntityCode.js +56 -0
- package/dist/models/PolicyComplianceResult.d.ts +51 -0
- package/dist/models/PolicyComplianceResult.js +64 -0
- package/dist/models/PolicyControlsInput.d.ts +34 -0
- package/dist/models/PolicyControlsInput.js +59 -0
- package/dist/models/PolicyControlsOutput.d.ts +34 -0
- package/dist/models/PolicyControlsOutput.js +59 -0
- package/dist/models/PolicyCreate.d.ts +70 -0
- package/dist/models/PolicyCreate.js +69 -0
- package/dist/models/PolicyImpactResponse.d.ts +38 -0
- package/dist/models/PolicyImpactResponse.js +55 -0
- package/dist/models/PolicyResponse.d.ts +116 -0
- package/dist/models/PolicyResponse.js +98 -0
- package/dist/models/PolicyScopeType.d.ts +26 -0
- package/dist/models/PolicyScopeType.js +52 -0
- package/dist/models/PolicyUpdate.d.ts +70 -0
- package/dist/models/PolicyUpdate.js +63 -0
- package/dist/models/Price.d.ts +51 -0
- package/dist/models/Price.js +56 -0
- package/dist/models/Project.d.ts +101 -0
- package/dist/models/Project.js +87 -0
- package/dist/models/ProjectCreate.d.ts +44 -0
- package/dist/models/ProjectCreate.js +55 -0
- package/dist/models/ProjectUpdate.d.ts +44 -0
- package/dist/models/ProjectUpdate.js +55 -0
- package/dist/models/ProviderHealthResponse.d.ts +58 -0
- package/dist/models/ProviderHealthResponse.js +64 -0
- package/dist/models/ProviderListResponse.d.ts +41 -0
- package/dist/models/ProviderListResponse.js +62 -0
- package/dist/models/ProviderSummary.d.ts +45 -0
- package/dist/models/ProviderSummary.js +62 -0
- package/dist/models/ProviderValidationResponse.d.ts +51 -0
- package/dist/models/ProviderValidationResponse.js +58 -0
- package/dist/models/RawIds.d.ts +39 -0
- package/dist/models/RawIds.js +56 -0
- package/dist/models/RemoveControlsResponse.d.ts +39 -0
- package/dist/models/RemoveControlsResponse.js +56 -0
- package/dist/models/RemovedControl.d.ts +38 -0
- package/dist/models/RemovedControl.js +55 -0
- package/dist/models/Request.d.ts +46 -0
- package/dist/models/Request.js +63 -0
- package/dist/models/ResponseCreateCapabilityV1CapabilitiesPost.d.ts +189 -0
- package/dist/models/ResponseCreateCapabilityV1CapabilitiesPost.js +134 -0
- package/dist/models/Role.d.ts +90 -0
- package/dist/models/Role.js +82 -0
- package/dist/models/RoleCreate.d.ts +45 -0
- package/dist/models/RoleCreate.js +56 -0
- package/dist/models/RoleUpdate.d.ts +45 -0
- package/dist/models/RoleUpdate.js +56 -0
- package/dist/models/ScanCategory.d.ts +24 -0
- package/dist/models/ScanCategory.js +50 -0
- package/dist/models/ScanDirection.d.ts +25 -0
- package/dist/models/ScanDirection.js +51 -0
- package/dist/models/ScanResult.d.ts +75 -0
- package/dist/models/ScanResult.js +70 -0
- package/dist/models/SourceObservation.d.ts +40 -0
- package/dist/models/SourceObservation.js +61 -0
- package/dist/models/SourceObservationAny.d.ts +40 -0
- package/dist/models/SourceObservationAny.js +61 -0
- package/dist/models/SpeechToTextCapability.d.ts +158 -0
- package/dist/models/SpeechToTextCapability.js +115 -0
- package/dist/models/SpeechToTextCapabilityCreate.d.ts +101 -0
- package/dist/models/SpeechToTextCapabilityCreate.js +85 -0
- package/dist/models/SpeechToTextCapabilityUpdate.d.ts +107 -0
- package/dist/models/SpeechToTextCapabilityUpdate.js +87 -0
- package/dist/models/StreamingTransport.d.ts +25 -0
- package/dist/models/StreamingTransport.js +51 -0
- package/dist/models/StringArrayConfigurationField.d.ts +75 -0
- package/dist/models/StringArrayConfigurationField.js +74 -0
- package/dist/models/TestResult.d.ts +97 -0
- package/dist/models/TestResult.js +80 -0
- package/dist/models/TextConfigurationField.d.ts +87 -0
- package/dist/models/TextConfigurationField.js +78 -0
- package/dist/models/TimedDataRetention.d.ts +45 -0
- package/dist/models/TimedDataRetention.js +60 -0
- package/dist/models/ToolCallFunction.d.ts +44 -0
- package/dist/models/ToolCallFunction.js +57 -0
- package/dist/models/ToolCallMessage.d.ts +45 -0
- package/dist/models/ToolCallMessage.js +60 -0
- package/dist/models/UrlConfigurationField.d.ts +87 -0
- package/dist/models/UrlConfigurationField.js +78 -0
- package/dist/models/UserRBAC.d.ts +102 -0
- package/dist/models/UserRBAC.js +86 -0
- package/dist/models/UserUpdate.d.ts +44 -0
- package/dist/models/UserUpdate.js +53 -0
- package/dist/models/ValidationError.d.ts +57 -0
- package/dist/models/ValidationError.js +64 -0
- package/dist/models/ValidationErrorLocInner.d.ts +26 -0
- package/dist/models/ValidationErrorLocInner.js +39 -0
- package/dist/models/VertexAIConfiguration.d.ts +45 -0
- package/dist/models/VertexAIConfiguration.js +62 -0
- package/dist/models/VertexAiProviderValidationRequest.d.ts +46 -0
- package/dist/models/VertexAiProviderValidationRequest.js +63 -0
- package/dist/models/VertexAiProviderWithDeploymentsCreate.d.ts +59 -0
- package/dist/models/VertexAiProviderWithDeploymentsCreate.js +72 -0
- package/dist/models/index.d.ts +259 -0
- package/dist/models/index.js +277 -0
- package/dist/runtime.d.ts +184 -0
- package/dist/runtime.js +564 -0
- package/package.json +19 -0
- package/src/apis/APIKeysApi.ts +216 -0
- package/src/apis/AuthApi.ts +73 -0
- package/src/apis/CapabilitiesApi.ts +1347 -0
- package/src/apis/CapabilityEvaluationsApi.ts +998 -0
- package/src/apis/CapabilityTypesApi.ts +203 -0
- package/src/apis/ComplianceApi.ts +1068 -0
- package/src/apis/ConversationsApi.ts +211 -0
- package/src/apis/CriterionTypesApi.ts +157 -0
- package/src/apis/DefaultApi.ts +409 -0
- package/src/apis/EvaluationDatasetsApi.ts +695 -0
- package/src/apis/KnowledgeCollectionsApi.ts +684 -0
- package/src/apis/MCPServersApi.ts +860 -0
- package/src/apis/ModelCatalogApi.ts +188 -0
- package/src/apis/ModelDeploymentsApi.ts +453 -0
- package/src/apis/ModelDiscoveryApi.ts +93 -0
- package/src/apis/ModelProviderTypesApi.ts +270 -0
- package/src/apis/ModelProvidersApi.ts +571 -0
- package/src/apis/ProjectsApi.ts +340 -0
- package/src/apis/RBACAdminApi.ts +458 -0
- package/src/apis/index.ts +21 -0
- package/src/index.ts +5 -0
- package/src/models/ActualOutput.ts +54 -0
- package/src/models/AnthropicConfiguration.ts +66 -0
- package/src/models/AnthropicProviderValidationRequest.ts +93 -0
- package/src/models/AnthropicProviderWithDeploymentsCreate.ts +118 -0
- package/src/models/ApiKey.ts +182 -0
- package/src/models/ApiKeyCreate.ts +90 -0
- package/src/models/ApplicablePolicyResponse.ts +120 -0
- package/src/models/AppliedControl.ts +75 -0
- package/src/models/ApplyControlsResponse.ts +83 -0
- package/src/models/ArrayPropertyInput.ts +102 -0
- package/src/models/ArrayPropertyOutput.ts +102 -0
- package/src/models/AssetResponse.ts +134 -0
- package/src/models/AuthMeResponse.ts +120 -0
- package/src/models/AvailableModel.ts +90 -0
- package/src/models/AzureAiProviderValidationRequest.ts +93 -0
- package/src/models/AzureAiProviderWithDeploymentsCreate.ts +118 -0
- package/src/models/AzureConfiguration.ts +75 -0
- package/src/models/AzureProviderValidationRequest.ts +93 -0
- package/src/models/AzureProviderWithDeploymentsCreate.ts +118 -0
- package/src/models/AzureSpeechProviderValidationRequest.ts +93 -0
- package/src/models/AzureSpeechProviderWithDeploymentsCreate.ts +118 -0
- package/src/models/BadgeResponse.ts +84 -0
- package/src/models/BasicProperty.ts +88 -0
- package/src/models/BedrockConfiguration.ts +84 -0
- package/src/models/BedrockProviderValidationRequest.ts +93 -0
- package/src/models/BedrockProviderWithDeploymentsCreate.ts +118 -0
- package/src/models/BlobConfig.ts +81 -0
- package/src/models/BooleanConfigurationField.ts +134 -0
- package/src/models/Capability.ts +231 -0
- package/src/models/Capability1.ts +246 -0
- package/src/models/Capability2.ts +251 -0
- package/src/models/CapabilityConfig.ts +163 -0
- package/src/models/CapabilityCriterionOperationType.ts +54 -0
- package/src/models/CapabilityCriterionType.ts +60 -0
- package/src/models/CapabilityEvaluationConfiguration.ts +73 -0
- package/src/models/CapabilityEvaluationCreate.ts +125 -0
- package/src/models/CapabilityEvaluationCriterionCreate.ts +93 -0
- package/src/models/CapabilityEvaluationCriterionRepresentation.ts +116 -0
- package/src/models/CapabilityEvaluationCriterionTypeRepresentation.ts +156 -0
- package/src/models/CapabilityEvaluationRepresentation.ts +189 -0
- package/src/models/CapabilityEvaluationUpdate.ts +125 -0
- package/src/models/CapabilityId.ts +46 -0
- package/src/models/CapabilityId1.ts +46 -0
- package/src/models/CapabilityRepresentation.ts +267 -0
- package/src/models/CapabilitySetDefaultVersionRequest.ts +66 -0
- package/src/models/CapabilityType.ts +57 -0
- package/src/models/CapabilityTypeRepresentation.ts +115 -0
- package/src/models/CapabilityTypesRepresentation.ts +89 -0
- package/src/models/CapabilityVersion.ts +147 -0
- package/src/models/CatalogSource.ts +53 -0
- package/src/models/CatalogSourceSnapshot.ts +106 -0
- package/src/models/CatalogStalenessMetadata.ts +86 -0
- package/src/models/ChatCapability.ts +250 -0
- package/src/models/ChatCapabilityCreate.ts +166 -0
- package/src/models/ChatCapabilityUpdate.ts +173 -0
- package/src/models/ChatConversation.ts +161 -0
- package/src/models/Collection.ts +168 -0
- package/src/models/CollectionCreate.ts +90 -0
- package/src/models/CollectionUpdate.ts +90 -0
- package/src/models/CompletionCapability.ts +284 -0
- package/src/models/CompletionCapabilityCreate.ts +200 -0
- package/src/models/CompletionCapabilityCreateSchemaDefValue.ts +106 -0
- package/src/models/CompletionCapabilitySchemaDefValue.ts +106 -0
- package/src/models/CompletionCapabilityUpdate.ts +196 -0
- package/src/models/ComplianceStatus.ts +53 -0
- package/src/models/ComplianceSummary.ts +84 -0
- package/src/models/ConfigurationField.ts +127 -0
- package/src/models/ConfigurationFieldOption.ts +75 -0
- package/src/models/ConflictView.ts +95 -0
- package/src/models/ConnectedCapabilityResponse.ts +93 -0
- package/src/models/Content.ts +46 -0
- package/src/models/ControlComplianceStatus.ts +53 -0
- package/src/models/ControlResult.ts +93 -0
- package/src/models/Data.ts +202 -0
- package/src/models/DataRetention.ts +72 -0
- package/src/models/DefaultModelDeploymentUpdate.ts +73 -0
- package/src/models/DeploymentCreate.ts +84 -0
- package/src/models/DeploymentHealthResponse.ts +94 -0
- package/src/models/Document.ts +215 -0
- package/src/models/DocumentEmbeddingResponse.ts +127 -0
- package/src/models/DryRunRequest.ts +90 -0
- package/src/models/DryRunResponse.ts +83 -0
- package/src/models/EnumProperty.ts +94 -0
- package/src/models/EvaluationCriterionExecutionRepresentation.ts +125 -0
- package/src/models/EvaluationCriterionExecutionResult.ts +82 -0
- package/src/models/EvaluationDatasetConfigurationBase.ts +100 -0
- package/src/models/EvaluationDatasetCreate.ts +99 -0
- package/src/models/EvaluationDatasetItemCreate.ts +83 -0
- package/src/models/EvaluationDatasetItemRepresentation.ts +116 -0
- package/src/models/EvaluationDatasetItemUpdate.ts +92 -0
- package/src/models/EvaluationDatasetOutputType.ts +53 -0
- package/src/models/EvaluationDatasetRepresentation.ts +139 -0
- package/src/models/EvaluationDatasetUpdate.ts +108 -0
- package/src/models/EvaluationExecutionConfiguration.ts +83 -0
- package/src/models/EvaluationExecutionCreate.ts +82 -0
- package/src/models/EvaluationExecutionData.ts +100 -0
- package/src/models/EvaluationExecutionMode.ts +53 -0
- package/src/models/EvaluationExecutionProgress.ts +93 -0
- package/src/models/EvaluationExecutionRepresentation.ts +211 -0
- package/src/models/EvaluationExecutionStatus.ts +56 -0
- package/src/models/Execution.ts +176 -0
- package/src/models/ExecutionCallback.ts +172 -0
- package/src/models/ExecutionContext.ts +83 -0
- package/src/models/ExecutionCreate.ts +81 -0
- package/src/models/ExecutionResult.ts +92 -0
- package/src/models/ExecutionSparse.ts +168 -0
- package/src/models/ExecutionStatus.ts +55 -0
- package/src/models/ExecutionUsage.ts +117 -0
- package/src/models/ExtractionCapability.ts +249 -0
- package/src/models/ExtractionCapabilityCreate.ts +165 -0
- package/src/models/ExtractionCapabilityUpdate.ts +173 -0
- package/src/models/Feedback.ts +185 -0
- package/src/models/FeedbackCreate.ts +92 -0
- package/src/models/FeedbackSentiment.ts +53 -0
- package/src/models/FieldProvenanceAny.ts +99 -0
- package/src/models/FieldValueFormat.ts +52 -0
- package/src/models/FileListPage.ts +93 -0
- package/src/models/FileListResponse.ts +90 -0
- package/src/models/FileResponse.ts +109 -0
- package/src/models/GeminiProviderValidationRequest.ts +93 -0
- package/src/models/GeminiProviderWithDeploymentsCreate.ts +118 -0
- package/src/models/GuardrailEventListResponse.ts +101 -0
- package/src/models/GuardrailEventResponse.ts +173 -0
- package/src/models/GuardrailRow.ts +132 -0
- package/src/models/HTTPValidationError.ts +73 -0
- package/src/models/HateoasLink.ts +84 -0
- package/src/models/ImageGenerationCapability.ts +257 -0
- package/src/models/ImageGenerationCapabilityCreate.ts +164 -0
- package/src/models/ImageGenerationCapabilityUpdate.ts +173 -0
- package/src/models/InfiniteDataRetention.ts +75 -0
- package/src/models/Input.ts +54 -0
- package/src/models/InputAnyOfInner.ts +106 -0
- package/src/models/Items.ts +106 -0
- package/src/models/Items1.ts +106 -0
- package/src/models/KeyConfigurationField.ts +150 -0
- package/src/models/Limits.ts +76 -0
- package/src/models/MCPAuthModeSchema.ts +107 -0
- package/src/models/MCPAuthSchema.ts +82 -0
- package/src/models/MCPConfigSchemaResponse.ts +101 -0
- package/src/models/MCPConnectionType.ts +53 -0
- package/src/models/MCPResourceReadRequest.ts +66 -0
- package/src/models/MCPResourceReadResponse.ts +66 -0
- package/src/models/MCPServerBase.ts +109 -0
- package/src/models/MCPServerResponse.ts +151 -0
- package/src/models/MCPToolCallRequest.ts +74 -0
- package/src/models/MCPToolCallResponse.ts +89 -0
- package/src/models/MLLMImage.ts +98 -0
- package/src/models/Message.ts +150 -0
- package/src/models/MetricData.ts +140 -0
- package/src/models/MistralProviderValidationRequest.ts +93 -0
- package/src/models/MistralProviderWithDeploymentsCreate.ts +118 -0
- package/src/models/Modality.ts +55 -0
- package/src/models/ModalitySupport.ts +86 -0
- package/src/models/ModelCapability.ts +69 -0
- package/src/models/ModelCatalogEntry.ts +283 -0
- package/src/models/ModelCatalogEntryResponse.ts +93 -0
- package/src/models/ModelCatalogListResponse.ts +93 -0
- package/src/models/ModelConfiguration.ts +89 -0
- package/src/models/ModelDeployment.ts +174 -0
- package/src/models/ModelDeploymentCreate.ts +116 -0
- package/src/models/ModelDeploymentUpdate.ts +116 -0
- package/src/models/ModelHTTPMethod.ts +65 -0
- package/src/models/ModelMode.ts +69 -0
- package/src/models/ModelProvider.ts +143 -0
- package/src/models/ModelProviderCreate.ts +84 -0
- package/src/models/ModelProviderType.ts +132 -0
- package/src/models/ModelProviderUpdate.ts +93 -0
- package/src/models/MultiSelectConfigurationField.ts +151 -0
- package/src/models/NumberConfigurationField.ts +161 -0
- package/src/models/ObjectPropertyInput.ts +102 -0
- package/src/models/ObjectPropertyOutput.ts +102 -0
- package/src/models/OllamaConfiguration.ts +65 -0
- package/src/models/OllamaProviderValidationRequest.ts +93 -0
- package/src/models/OllamaProviderWithDeploymentsCreate.ts +118 -0
- package/src/models/OpenAIConfiguration.ts +66 -0
- package/src/models/OpenAILikeConfiguration.ts +74 -0
- package/src/models/OpenAILikeProviderValidationRequest.ts +93 -0
- package/src/models/OpenAILikeProviderWithDeploymentsCreate.ts +118 -0
- package/src/models/OpenAIProviderValidationRequest.ts +93 -0
- package/src/models/OpenAIProviderWithDeploymentsCreate.ts +118 -0
- package/src/models/OpenRouterProviderValidationRequest.ts +93 -0
- package/src/models/OpenRouterProviderWithDeploymentsCreate.ts +118 -0
- package/src/models/Page.ts +93 -0
- package/src/models/PagedResponseModelApiKey.ts +105 -0
- package/src/models/PagedResponseModelCapability.ts +105 -0
- package/src/models/PagedResponseModelCapabilityEvaluationCriterionRepresentation.ts +105 -0
- package/src/models/PagedResponseModelCapabilityEvaluationCriterionTypeRepresentation.ts +105 -0
- package/src/models/PagedResponseModelCapabilityEvaluationRepresentation.ts +105 -0
- package/src/models/PagedResponseModelCapabilityVersion.ts +105 -0
- package/src/models/PagedResponseModelChatConversation.ts +105 -0
- package/src/models/PagedResponseModelCollection.ts +105 -0
- package/src/models/PagedResponseModelDocument.ts +105 -0
- package/src/models/PagedResponseModelEvaluationCriterionExecutionRepresentation.ts +105 -0
- package/src/models/PagedResponseModelEvaluationDatasetItemRepresentation.ts +105 -0
- package/src/models/PagedResponseModelEvaluationDatasetRepresentation.ts +105 -0
- package/src/models/PagedResponseModelEvaluationExecutionRepresentation.ts +105 -0
- package/src/models/PagedResponseModelExecutionSparse.ts +105 -0
- package/src/models/PagedResponseModelFeedback.ts +105 -0
- package/src/models/PagedResponseModelMCPServerResponse.ts +105 -0
- package/src/models/PagedResponseModelModelDeployment.ts +105 -0
- package/src/models/PagedResponseModelModelProvider.ts +105 -0
- package/src/models/PagedResponseModelModelProviderType.ts +105 -0
- package/src/models/PagedResponseModelProject.ts +105 -0
- package/src/models/PagedResponseModelRole.ts +105 -0
- package/src/models/PagedResponseModelUserRBAC.ts +105 -0
- package/src/models/Permission.ts +73 -0
- package/src/models/PermissionItem.ts +84 -0
- package/src/models/PiiDetectionDirectionRequirement.ts +79 -0
- package/src/models/PiiDetectionRequirementInput.ts +101 -0
- package/src/models/PiiDetectionRequirementOutput.ts +101 -0
- package/src/models/PiiEnforcementMode.ts +54 -0
- package/src/models/PiiEntityCode.ts +58 -0
- package/src/models/PolicyComplianceResult.ts +101 -0
- package/src/models/PolicyControlsInput.ts +77 -0
- package/src/models/PolicyControlsOutput.ts +77 -0
- package/src/models/PolicyCreate.ts +133 -0
- package/src/models/PolicyImpactResponse.ts +75 -0
- package/src/models/PolicyResponse.ts +209 -0
- package/src/models/PolicyScopeType.ts +54 -0
- package/src/models/PolicyUpdate.ts +130 -0
- package/src/models/Price.ts +92 -0
- package/src/models/Project.ts +168 -0
- package/src/models/ProjectCreate.ts +82 -0
- package/src/models/ProjectUpdate.ts +82 -0
- package/src/models/ProviderHealthResponse.ts +99 -0
- package/src/models/ProviderListResponse.ts +93 -0
- package/src/models/ProviderSummary.ts +87 -0
- package/src/models/ProviderValidationResponse.ts +98 -0
- package/src/models/RawIds.ts +76 -0
- package/src/models/RemoveControlsResponse.ts +83 -0
- package/src/models/RemovedControl.ts +75 -0
- package/src/models/Request.ts +177 -0
- package/src/models/ResponseCreateCapabilityV1CapabilitiesPost.ts +330 -0
- package/src/models/Role.ts +158 -0
- package/src/models/RoleCreate.ts +90 -0
- package/src/models/RoleUpdate.ts +90 -0
- package/src/models/ScanCategory.ts +52 -0
- package/src/models/ScanDirection.ts +53 -0
- package/src/models/ScanResult.ts +134 -0
- package/src/models/SourceObservation.ts +88 -0
- package/src/models/SourceObservationAny.ts +88 -0
- package/src/models/SpeechToTextCapability.ts +249 -0
- package/src/models/SpeechToTextCapabilityCreate.ts +165 -0
- package/src/models/SpeechToTextCapabilityUpdate.ts +173 -0
- package/src/models/StreamingTransport.ts +53 -0
- package/src/models/StringArrayConfigurationField.ts +126 -0
- package/src/models/TestResult.ts +171 -0
- package/src/models/TextConfigurationField.ts +142 -0
- package/src/models/TimedDataRetention.ts +84 -0
- package/src/models/ToolCallFunction.ts +83 -0
- package/src/models/ToolCallMessage.ts +92 -0
- package/src/models/UrlConfigurationField.ts +142 -0
- package/src/models/UserRBAC.ts +174 -0
- package/src/models/UserUpdate.ts +81 -0
- package/src/models/ValidationError.ts +108 -0
- package/src/models/ValidationErrorLocInner.ts +46 -0
- package/src/models/VertexAIConfiguration.ts +87 -0
- package/src/models/VertexAiProviderValidationRequest.ts +93 -0
- package/src/models/VertexAiProviderWithDeploymentsCreate.ts +118 -0
- package/src/models/index.ts +261 -0
- package/src/runtime.ts +432 -0
- package/tsconfig.json +20 -0
|
@@ -0,0 +1,998 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Corax API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v2.313.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import * as runtime from '../runtime';
|
|
17
|
+
import type {
|
|
18
|
+
CapabilityEvaluationCreate,
|
|
19
|
+
CapabilityEvaluationCriterionCreate,
|
|
20
|
+
CapabilityEvaluationCriterionRepresentation,
|
|
21
|
+
CapabilityEvaluationRepresentation,
|
|
22
|
+
CapabilityEvaluationUpdate,
|
|
23
|
+
EvaluationExecutionCreate,
|
|
24
|
+
EvaluationExecutionRepresentation,
|
|
25
|
+
HTTPValidationError,
|
|
26
|
+
PagedResponseModelCapabilityEvaluationCriterionRepresentation,
|
|
27
|
+
PagedResponseModelCapabilityEvaluationRepresentation,
|
|
28
|
+
PagedResponseModelEvaluationCriterionExecutionRepresentation,
|
|
29
|
+
PagedResponseModelEvaluationExecutionRepresentation,
|
|
30
|
+
} from '../models/index';
|
|
31
|
+
import {
|
|
32
|
+
CapabilityEvaluationCreateFromJSON,
|
|
33
|
+
CapabilityEvaluationCreateToJSON,
|
|
34
|
+
CapabilityEvaluationCriterionCreateFromJSON,
|
|
35
|
+
CapabilityEvaluationCriterionCreateToJSON,
|
|
36
|
+
CapabilityEvaluationCriterionRepresentationFromJSON,
|
|
37
|
+
CapabilityEvaluationCriterionRepresentationToJSON,
|
|
38
|
+
CapabilityEvaluationRepresentationFromJSON,
|
|
39
|
+
CapabilityEvaluationRepresentationToJSON,
|
|
40
|
+
CapabilityEvaluationUpdateFromJSON,
|
|
41
|
+
CapabilityEvaluationUpdateToJSON,
|
|
42
|
+
EvaluationExecutionCreateFromJSON,
|
|
43
|
+
EvaluationExecutionCreateToJSON,
|
|
44
|
+
EvaluationExecutionRepresentationFromJSON,
|
|
45
|
+
EvaluationExecutionRepresentationToJSON,
|
|
46
|
+
HTTPValidationErrorFromJSON,
|
|
47
|
+
HTTPValidationErrorToJSON,
|
|
48
|
+
PagedResponseModelCapabilityEvaluationCriterionRepresentationFromJSON,
|
|
49
|
+
PagedResponseModelCapabilityEvaluationCriterionRepresentationToJSON,
|
|
50
|
+
PagedResponseModelCapabilityEvaluationRepresentationFromJSON,
|
|
51
|
+
PagedResponseModelCapabilityEvaluationRepresentationToJSON,
|
|
52
|
+
PagedResponseModelEvaluationCriterionExecutionRepresentationFromJSON,
|
|
53
|
+
PagedResponseModelEvaluationCriterionExecutionRepresentationToJSON,
|
|
54
|
+
PagedResponseModelEvaluationExecutionRepresentationFromJSON,
|
|
55
|
+
PagedResponseModelEvaluationExecutionRepresentationToJSON,
|
|
56
|
+
} from '../models/index';
|
|
57
|
+
|
|
58
|
+
export interface CreateEvaluationCriterionV1CapabilityEvaluationsEvaluationIdCriteriaPostRequest {
|
|
59
|
+
evaluationId: string;
|
|
60
|
+
capabilityEvaluationCriterionCreate: CapabilityEvaluationCriterionCreate;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export interface CreateEvaluationV1CapabilityEvaluationsPostRequest {
|
|
64
|
+
capabilityEvaluationCreate: CapabilityEvaluationCreate;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export interface DeleteEvaluationCriterionV1CapabilityEvaluationsEvaluationIdCriteriaCriterionIdDeleteRequest {
|
|
68
|
+
evaluationId: string;
|
|
69
|
+
criterionId: string;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export interface DeleteEvaluationV1CapabilityEvaluationsEvaluationIdDeleteRequest {
|
|
73
|
+
evaluationId: string;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export interface ExecuteEvaluationV1CapabilityEvaluationsEvaluationIdExecutionsPostRequest {
|
|
77
|
+
evaluationId: string;
|
|
78
|
+
evaluationExecutionCreate: EvaluationExecutionCreate;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export interface GetEvaluationCriteriaV1CapabilityEvaluationsEvaluationIdCriteriaGetRequest {
|
|
82
|
+
evaluationId: string;
|
|
83
|
+
page?: number;
|
|
84
|
+
size?: number;
|
|
85
|
+
sort?: string;
|
|
86
|
+
filter?: string | null;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export interface GetEvaluationCriterionV1CapabilityEvaluationsEvaluationIdCriteriaCriterionIdGetRequest {
|
|
90
|
+
evaluationId: string;
|
|
91
|
+
criterionId: string;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export interface GetEvaluationExecutionCriteriaExecutionsV1CapabilityEvaluationsEvaluationIdExecutionsEvaluationExecutionIdCriteriaExecutionsGetRequest {
|
|
95
|
+
evaluationId: string;
|
|
96
|
+
evaluationExecutionId: string;
|
|
97
|
+
page?: number;
|
|
98
|
+
size?: number;
|
|
99
|
+
sort?: string;
|
|
100
|
+
filter?: string | null;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
export interface GetEvaluationExecutionV1CapabilityEvaluationsEvaluationIdExecutionsEvaluationExecutionIdGetRequest {
|
|
104
|
+
evaluationId: string;
|
|
105
|
+
evaluationExecutionId: string;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
export interface GetEvaluationExecutionsV1CapabilityEvaluationsEvaluationIdExecutionsGetRequest {
|
|
109
|
+
evaluationId: string | null;
|
|
110
|
+
capabilityId?: string | null;
|
|
111
|
+
page?: number;
|
|
112
|
+
size?: number;
|
|
113
|
+
sort?: string;
|
|
114
|
+
filter?: string | null;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
export interface GetEvaluationV1CapabilityEvaluationsEvaluationIdGetRequest {
|
|
118
|
+
evaluationId: string;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
export interface ListEvaluationsV1CapabilityEvaluationsGetRequest {
|
|
122
|
+
page?: number;
|
|
123
|
+
size?: number;
|
|
124
|
+
sort?: string;
|
|
125
|
+
filter?: string | null;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
export interface UpdateEvaluationCriterionV1CapabilityEvaluationsEvaluationIdCriteriaCriterionIdPutRequest {
|
|
129
|
+
evaluationId: string;
|
|
130
|
+
criterionId: string;
|
|
131
|
+
capabilityEvaluationCriterionCreate: CapabilityEvaluationCriterionCreate;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
export interface UpdateEvaluationV1CapabilityEvaluationsEvaluationIdPutRequest {
|
|
135
|
+
evaluationId: string;
|
|
136
|
+
capabilityEvaluationUpdate: CapabilityEvaluationUpdate;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
*
|
|
141
|
+
*/
|
|
142
|
+
export class CapabilityEvaluationsApi extends runtime.BaseAPI {
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* Create a new criterion for an evaluation dataset by ID.
|
|
146
|
+
* Create Evaluation Criterion
|
|
147
|
+
*/
|
|
148
|
+
async createEvaluationCriterionV1CapabilityEvaluationsEvaluationIdCriteriaPostRaw(requestParameters: CreateEvaluationCriterionV1CapabilityEvaluationsEvaluationIdCriteriaPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CapabilityEvaluationCriterionRepresentation>> {
|
|
149
|
+
if (requestParameters['evaluationId'] == null) {
|
|
150
|
+
throw new runtime.RequiredError(
|
|
151
|
+
'evaluationId',
|
|
152
|
+
'Required parameter "evaluationId" was null or undefined when calling createEvaluationCriterionV1CapabilityEvaluationsEvaluationIdCriteriaPost().'
|
|
153
|
+
);
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
if (requestParameters['capabilityEvaluationCriterionCreate'] == null) {
|
|
157
|
+
throw new runtime.RequiredError(
|
|
158
|
+
'capabilityEvaluationCriterionCreate',
|
|
159
|
+
'Required parameter "capabilityEvaluationCriterionCreate" was null or undefined when calling createEvaluationCriterionV1CapabilityEvaluationsEvaluationIdCriteriaPost().'
|
|
160
|
+
);
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
const queryParameters: any = {};
|
|
164
|
+
|
|
165
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
166
|
+
|
|
167
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
168
|
+
|
|
169
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
170
|
+
headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key"); // APIKeyHeader authentication
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
174
|
+
const token = this.configuration.accessToken;
|
|
175
|
+
const tokenString = await token("HTTPBearer", []);
|
|
176
|
+
|
|
177
|
+
if (tokenString) {
|
|
178
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
let urlPath = `/v1/capability-evaluations/{evaluation_id}/criteria`;
|
|
183
|
+
urlPath = urlPath.replace(`{${"evaluation_id"}}`, encodeURIComponent(String(requestParameters['evaluationId'])));
|
|
184
|
+
|
|
185
|
+
const response = await this.request({
|
|
186
|
+
path: urlPath,
|
|
187
|
+
method: 'POST',
|
|
188
|
+
headers: headerParameters,
|
|
189
|
+
query: queryParameters,
|
|
190
|
+
body: CapabilityEvaluationCriterionCreateToJSON(requestParameters['capabilityEvaluationCriterionCreate']),
|
|
191
|
+
}, initOverrides);
|
|
192
|
+
|
|
193
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => CapabilityEvaluationCriterionRepresentationFromJSON(jsonValue));
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* Create a new criterion for an evaluation dataset by ID.
|
|
198
|
+
* Create Evaluation Criterion
|
|
199
|
+
*/
|
|
200
|
+
async createEvaluationCriterionV1CapabilityEvaluationsEvaluationIdCriteriaPost(requestParameters: CreateEvaluationCriterionV1CapabilityEvaluationsEvaluationIdCriteriaPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CapabilityEvaluationCriterionRepresentation> {
|
|
201
|
+
const response = await this.createEvaluationCriterionV1CapabilityEvaluationsEvaluationIdCriteriaPostRaw(requestParameters, initOverrides);
|
|
202
|
+
return await response.value();
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* Create a new evaluation.
|
|
207
|
+
* Create Evaluation
|
|
208
|
+
*/
|
|
209
|
+
async createEvaluationV1CapabilityEvaluationsPostRaw(requestParameters: CreateEvaluationV1CapabilityEvaluationsPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CapabilityEvaluationRepresentation>> {
|
|
210
|
+
if (requestParameters['capabilityEvaluationCreate'] == null) {
|
|
211
|
+
throw new runtime.RequiredError(
|
|
212
|
+
'capabilityEvaluationCreate',
|
|
213
|
+
'Required parameter "capabilityEvaluationCreate" was null or undefined when calling createEvaluationV1CapabilityEvaluationsPost().'
|
|
214
|
+
);
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
const queryParameters: any = {};
|
|
218
|
+
|
|
219
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
220
|
+
|
|
221
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
222
|
+
|
|
223
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
224
|
+
headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key"); // APIKeyHeader authentication
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
228
|
+
const token = this.configuration.accessToken;
|
|
229
|
+
const tokenString = await token("HTTPBearer", []);
|
|
230
|
+
|
|
231
|
+
if (tokenString) {
|
|
232
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
let urlPath = `/v1/capability-evaluations`;
|
|
237
|
+
|
|
238
|
+
const response = await this.request({
|
|
239
|
+
path: urlPath,
|
|
240
|
+
method: 'POST',
|
|
241
|
+
headers: headerParameters,
|
|
242
|
+
query: queryParameters,
|
|
243
|
+
body: CapabilityEvaluationCreateToJSON(requestParameters['capabilityEvaluationCreate']),
|
|
244
|
+
}, initOverrides);
|
|
245
|
+
|
|
246
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => CapabilityEvaluationRepresentationFromJSON(jsonValue));
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* Create a new evaluation.
|
|
251
|
+
* Create Evaluation
|
|
252
|
+
*/
|
|
253
|
+
async createEvaluationV1CapabilityEvaluationsPost(requestParameters: CreateEvaluationV1CapabilityEvaluationsPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CapabilityEvaluationRepresentation> {
|
|
254
|
+
const response = await this.createEvaluationV1CapabilityEvaluationsPostRaw(requestParameters, initOverrides);
|
|
255
|
+
return await response.value();
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
/**
|
|
259
|
+
* Delete a specific criterion for an evaluation dataset by ID.
|
|
260
|
+
* Delete Evaluation Criterion
|
|
261
|
+
*/
|
|
262
|
+
async deleteEvaluationCriterionV1CapabilityEvaluationsEvaluationIdCriteriaCriterionIdDeleteRaw(requestParameters: DeleteEvaluationCriterionV1CapabilityEvaluationsEvaluationIdCriteriaCriterionIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
263
|
+
if (requestParameters['evaluationId'] == null) {
|
|
264
|
+
throw new runtime.RequiredError(
|
|
265
|
+
'evaluationId',
|
|
266
|
+
'Required parameter "evaluationId" was null or undefined when calling deleteEvaluationCriterionV1CapabilityEvaluationsEvaluationIdCriteriaCriterionIdDelete().'
|
|
267
|
+
);
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
if (requestParameters['criterionId'] == null) {
|
|
271
|
+
throw new runtime.RequiredError(
|
|
272
|
+
'criterionId',
|
|
273
|
+
'Required parameter "criterionId" was null or undefined when calling deleteEvaluationCriterionV1CapabilityEvaluationsEvaluationIdCriteriaCriterionIdDelete().'
|
|
274
|
+
);
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
const queryParameters: any = {};
|
|
278
|
+
|
|
279
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
280
|
+
|
|
281
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
282
|
+
headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key"); // APIKeyHeader authentication
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
286
|
+
const token = this.configuration.accessToken;
|
|
287
|
+
const tokenString = await token("HTTPBearer", []);
|
|
288
|
+
|
|
289
|
+
if (tokenString) {
|
|
290
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
let urlPath = `/v1/capability-evaluations/{evaluation_id}/criteria/{criterion_id}`;
|
|
295
|
+
urlPath = urlPath.replace(`{${"evaluation_id"}}`, encodeURIComponent(String(requestParameters['evaluationId'])));
|
|
296
|
+
urlPath = urlPath.replace(`{${"criterion_id"}}`, encodeURIComponent(String(requestParameters['criterionId'])));
|
|
297
|
+
|
|
298
|
+
const response = await this.request({
|
|
299
|
+
path: urlPath,
|
|
300
|
+
method: 'DELETE',
|
|
301
|
+
headers: headerParameters,
|
|
302
|
+
query: queryParameters,
|
|
303
|
+
}, initOverrides);
|
|
304
|
+
|
|
305
|
+
return new runtime.VoidApiResponse(response);
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
/**
|
|
309
|
+
* Delete a specific criterion for an evaluation dataset by ID.
|
|
310
|
+
* Delete Evaluation Criterion
|
|
311
|
+
*/
|
|
312
|
+
async deleteEvaluationCriterionV1CapabilityEvaluationsEvaluationIdCriteriaCriterionIdDelete(requestParameters: DeleteEvaluationCriterionV1CapabilityEvaluationsEvaluationIdCriteriaCriterionIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
313
|
+
await this.deleteEvaluationCriterionV1CapabilityEvaluationsEvaluationIdCriteriaCriterionIdDeleteRaw(requestParameters, initOverrides);
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
/**
|
|
317
|
+
* Delete an evaluation dataset by ID.
|
|
318
|
+
* Delete Evaluation
|
|
319
|
+
*/
|
|
320
|
+
async deleteEvaluationV1CapabilityEvaluationsEvaluationIdDeleteRaw(requestParameters: DeleteEvaluationV1CapabilityEvaluationsEvaluationIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
321
|
+
if (requestParameters['evaluationId'] == null) {
|
|
322
|
+
throw new runtime.RequiredError(
|
|
323
|
+
'evaluationId',
|
|
324
|
+
'Required parameter "evaluationId" was null or undefined when calling deleteEvaluationV1CapabilityEvaluationsEvaluationIdDelete().'
|
|
325
|
+
);
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
const queryParameters: any = {};
|
|
329
|
+
|
|
330
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
331
|
+
|
|
332
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
333
|
+
headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key"); // APIKeyHeader authentication
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
337
|
+
const token = this.configuration.accessToken;
|
|
338
|
+
const tokenString = await token("HTTPBearer", []);
|
|
339
|
+
|
|
340
|
+
if (tokenString) {
|
|
341
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
let urlPath = `/v1/capability-evaluations/{evaluation_id}`;
|
|
346
|
+
urlPath = urlPath.replace(`{${"evaluation_id"}}`, encodeURIComponent(String(requestParameters['evaluationId'])));
|
|
347
|
+
|
|
348
|
+
const response = await this.request({
|
|
349
|
+
path: urlPath,
|
|
350
|
+
method: 'DELETE',
|
|
351
|
+
headers: headerParameters,
|
|
352
|
+
query: queryParameters,
|
|
353
|
+
}, initOverrides);
|
|
354
|
+
|
|
355
|
+
return new runtime.VoidApiResponse(response);
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
/**
|
|
359
|
+
* Delete an evaluation dataset by ID.
|
|
360
|
+
* Delete Evaluation
|
|
361
|
+
*/
|
|
362
|
+
async deleteEvaluationV1CapabilityEvaluationsEvaluationIdDelete(requestParameters: DeleteEvaluationV1CapabilityEvaluationsEvaluationIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
363
|
+
await this.deleteEvaluationV1CapabilityEvaluationsEvaluationIdDeleteRaw(requestParameters, initOverrides);
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
/**
|
|
367
|
+
* Start an evaluation execution.
|
|
368
|
+
* Execute Evaluation
|
|
369
|
+
*/
|
|
370
|
+
async executeEvaluationV1CapabilityEvaluationsEvaluationIdExecutionsPostRaw(requestParameters: ExecuteEvaluationV1CapabilityEvaluationsEvaluationIdExecutionsPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<EvaluationExecutionRepresentation>> {
|
|
371
|
+
if (requestParameters['evaluationId'] == null) {
|
|
372
|
+
throw new runtime.RequiredError(
|
|
373
|
+
'evaluationId',
|
|
374
|
+
'Required parameter "evaluationId" was null or undefined when calling executeEvaluationV1CapabilityEvaluationsEvaluationIdExecutionsPost().'
|
|
375
|
+
);
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
if (requestParameters['evaluationExecutionCreate'] == null) {
|
|
379
|
+
throw new runtime.RequiredError(
|
|
380
|
+
'evaluationExecutionCreate',
|
|
381
|
+
'Required parameter "evaluationExecutionCreate" was null or undefined when calling executeEvaluationV1CapabilityEvaluationsEvaluationIdExecutionsPost().'
|
|
382
|
+
);
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
const queryParameters: any = {};
|
|
386
|
+
|
|
387
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
388
|
+
|
|
389
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
390
|
+
|
|
391
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
392
|
+
headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key"); // APIKeyHeader authentication
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
396
|
+
const token = this.configuration.accessToken;
|
|
397
|
+
const tokenString = await token("HTTPBearer", []);
|
|
398
|
+
|
|
399
|
+
if (tokenString) {
|
|
400
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
let urlPath = `/v1/capability-evaluations/{evaluation_id}/executions`;
|
|
405
|
+
urlPath = urlPath.replace(`{${"evaluation_id"}}`, encodeURIComponent(String(requestParameters['evaluationId'])));
|
|
406
|
+
|
|
407
|
+
const response = await this.request({
|
|
408
|
+
path: urlPath,
|
|
409
|
+
method: 'POST',
|
|
410
|
+
headers: headerParameters,
|
|
411
|
+
query: queryParameters,
|
|
412
|
+
body: EvaluationExecutionCreateToJSON(requestParameters['evaluationExecutionCreate']),
|
|
413
|
+
}, initOverrides);
|
|
414
|
+
|
|
415
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => EvaluationExecutionRepresentationFromJSON(jsonValue));
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
/**
|
|
419
|
+
* Start an evaluation execution.
|
|
420
|
+
* Execute Evaluation
|
|
421
|
+
*/
|
|
422
|
+
async executeEvaluationV1CapabilityEvaluationsEvaluationIdExecutionsPost(requestParameters: ExecuteEvaluationV1CapabilityEvaluationsEvaluationIdExecutionsPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<EvaluationExecutionRepresentation> {
|
|
423
|
+
const response = await this.executeEvaluationV1CapabilityEvaluationsEvaluationIdExecutionsPostRaw(requestParameters, initOverrides);
|
|
424
|
+
return await response.value();
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
/**
|
|
428
|
+
* Get all criteria for an evaluation dataset by ID.
|
|
429
|
+
* Get Evaluation Criteria
|
|
430
|
+
*/
|
|
431
|
+
async getEvaluationCriteriaV1CapabilityEvaluationsEvaluationIdCriteriaGetRaw(requestParameters: GetEvaluationCriteriaV1CapabilityEvaluationsEvaluationIdCriteriaGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PagedResponseModelCapabilityEvaluationCriterionRepresentation>> {
|
|
432
|
+
if (requestParameters['evaluationId'] == null) {
|
|
433
|
+
throw new runtime.RequiredError(
|
|
434
|
+
'evaluationId',
|
|
435
|
+
'Required parameter "evaluationId" was null or undefined when calling getEvaluationCriteriaV1CapabilityEvaluationsEvaluationIdCriteriaGet().'
|
|
436
|
+
);
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
const queryParameters: any = {};
|
|
440
|
+
|
|
441
|
+
if (requestParameters['page'] != null) {
|
|
442
|
+
queryParameters['page'] = requestParameters['page'];
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
if (requestParameters['size'] != null) {
|
|
446
|
+
queryParameters['size'] = requestParameters['size'];
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
if (requestParameters['sort'] != null) {
|
|
450
|
+
queryParameters['sort'] = requestParameters['sort'];
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
if (requestParameters['filter'] != null) {
|
|
454
|
+
queryParameters['filter'] = requestParameters['filter'];
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
458
|
+
|
|
459
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
460
|
+
headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key"); // APIKeyHeader authentication
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
464
|
+
const token = this.configuration.accessToken;
|
|
465
|
+
const tokenString = await token("HTTPBearer", []);
|
|
466
|
+
|
|
467
|
+
if (tokenString) {
|
|
468
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
let urlPath = `/v1/capability-evaluations/{evaluation_id}/criteria`;
|
|
473
|
+
urlPath = urlPath.replace(`{${"evaluation_id"}}`, encodeURIComponent(String(requestParameters['evaluationId'])));
|
|
474
|
+
|
|
475
|
+
const response = await this.request({
|
|
476
|
+
path: urlPath,
|
|
477
|
+
method: 'GET',
|
|
478
|
+
headers: headerParameters,
|
|
479
|
+
query: queryParameters,
|
|
480
|
+
}, initOverrides);
|
|
481
|
+
|
|
482
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PagedResponseModelCapabilityEvaluationCriterionRepresentationFromJSON(jsonValue));
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
/**
|
|
486
|
+
* Get all criteria for an evaluation dataset by ID.
|
|
487
|
+
* Get Evaluation Criteria
|
|
488
|
+
*/
|
|
489
|
+
async getEvaluationCriteriaV1CapabilityEvaluationsEvaluationIdCriteriaGet(requestParameters: GetEvaluationCriteriaV1CapabilityEvaluationsEvaluationIdCriteriaGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PagedResponseModelCapabilityEvaluationCriterionRepresentation> {
|
|
490
|
+
const response = await this.getEvaluationCriteriaV1CapabilityEvaluationsEvaluationIdCriteriaGetRaw(requestParameters, initOverrides);
|
|
491
|
+
return await response.value();
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
/**
|
|
495
|
+
* Get a specific criterion for an evaluation dataset by ID.
|
|
496
|
+
* Get Evaluation Criterion
|
|
497
|
+
*/
|
|
498
|
+
async getEvaluationCriterionV1CapabilityEvaluationsEvaluationIdCriteriaCriterionIdGetRaw(requestParameters: GetEvaluationCriterionV1CapabilityEvaluationsEvaluationIdCriteriaCriterionIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CapabilityEvaluationCriterionRepresentation>> {
|
|
499
|
+
if (requestParameters['evaluationId'] == null) {
|
|
500
|
+
throw new runtime.RequiredError(
|
|
501
|
+
'evaluationId',
|
|
502
|
+
'Required parameter "evaluationId" was null or undefined when calling getEvaluationCriterionV1CapabilityEvaluationsEvaluationIdCriteriaCriterionIdGet().'
|
|
503
|
+
);
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
if (requestParameters['criterionId'] == null) {
|
|
507
|
+
throw new runtime.RequiredError(
|
|
508
|
+
'criterionId',
|
|
509
|
+
'Required parameter "criterionId" was null or undefined when calling getEvaluationCriterionV1CapabilityEvaluationsEvaluationIdCriteriaCriterionIdGet().'
|
|
510
|
+
);
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
const queryParameters: any = {};
|
|
514
|
+
|
|
515
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
516
|
+
|
|
517
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
518
|
+
headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key"); // APIKeyHeader authentication
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
522
|
+
const token = this.configuration.accessToken;
|
|
523
|
+
const tokenString = await token("HTTPBearer", []);
|
|
524
|
+
|
|
525
|
+
if (tokenString) {
|
|
526
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
527
|
+
}
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
let urlPath = `/v1/capability-evaluations/{evaluation_id}/criteria/{criterion_id}`;
|
|
531
|
+
urlPath = urlPath.replace(`{${"evaluation_id"}}`, encodeURIComponent(String(requestParameters['evaluationId'])));
|
|
532
|
+
urlPath = urlPath.replace(`{${"criterion_id"}}`, encodeURIComponent(String(requestParameters['criterionId'])));
|
|
533
|
+
|
|
534
|
+
const response = await this.request({
|
|
535
|
+
path: urlPath,
|
|
536
|
+
method: 'GET',
|
|
537
|
+
headers: headerParameters,
|
|
538
|
+
query: queryParameters,
|
|
539
|
+
}, initOverrides);
|
|
540
|
+
|
|
541
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => CapabilityEvaluationCriterionRepresentationFromJSON(jsonValue));
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
/**
|
|
545
|
+
* Get a specific criterion for an evaluation dataset by ID.
|
|
546
|
+
* Get Evaluation Criterion
|
|
547
|
+
*/
|
|
548
|
+
async getEvaluationCriterionV1CapabilityEvaluationsEvaluationIdCriteriaCriterionIdGet(requestParameters: GetEvaluationCriterionV1CapabilityEvaluationsEvaluationIdCriteriaCriterionIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CapabilityEvaluationCriterionRepresentation> {
|
|
549
|
+
const response = await this.getEvaluationCriterionV1CapabilityEvaluationsEvaluationIdCriteriaCriterionIdGetRaw(requestParameters, initOverrides);
|
|
550
|
+
return await response.value();
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
/**
|
|
554
|
+
* Get all criteria executions for a specific evaluation execution. Args: request: The HTTP request object. evaluation_id: The ID of the evaluation. evaluation_execution_id: The ID of the evaluation execution to retrieve criteria executions for. page_params: Pagination parameters. service: The evaluation execution service to use. Returns: A list of criteria executions for the specified evaluation execution.
|
|
555
|
+
* Get Evaluation Execution Criteria Executions
|
|
556
|
+
*/
|
|
557
|
+
async getEvaluationExecutionCriteriaExecutionsV1CapabilityEvaluationsEvaluationIdExecutionsEvaluationExecutionIdCriteriaExecutionsGetRaw(requestParameters: GetEvaluationExecutionCriteriaExecutionsV1CapabilityEvaluationsEvaluationIdExecutionsEvaluationExecutionIdCriteriaExecutionsGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PagedResponseModelEvaluationCriterionExecutionRepresentation>> {
|
|
558
|
+
if (requestParameters['evaluationId'] == null) {
|
|
559
|
+
throw new runtime.RequiredError(
|
|
560
|
+
'evaluationId',
|
|
561
|
+
'Required parameter "evaluationId" was null or undefined when calling getEvaluationExecutionCriteriaExecutionsV1CapabilityEvaluationsEvaluationIdExecutionsEvaluationExecutionIdCriteriaExecutionsGet().'
|
|
562
|
+
);
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
if (requestParameters['evaluationExecutionId'] == null) {
|
|
566
|
+
throw new runtime.RequiredError(
|
|
567
|
+
'evaluationExecutionId',
|
|
568
|
+
'Required parameter "evaluationExecutionId" was null or undefined when calling getEvaluationExecutionCriteriaExecutionsV1CapabilityEvaluationsEvaluationIdExecutionsEvaluationExecutionIdCriteriaExecutionsGet().'
|
|
569
|
+
);
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
const queryParameters: any = {};
|
|
573
|
+
|
|
574
|
+
if (requestParameters['page'] != null) {
|
|
575
|
+
queryParameters['page'] = requestParameters['page'];
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
if (requestParameters['size'] != null) {
|
|
579
|
+
queryParameters['size'] = requestParameters['size'];
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
if (requestParameters['sort'] != null) {
|
|
583
|
+
queryParameters['sort'] = requestParameters['sort'];
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
if (requestParameters['filter'] != null) {
|
|
587
|
+
queryParameters['filter'] = requestParameters['filter'];
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
591
|
+
|
|
592
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
593
|
+
headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key"); // APIKeyHeader authentication
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
597
|
+
const token = this.configuration.accessToken;
|
|
598
|
+
const tokenString = await token("HTTPBearer", []);
|
|
599
|
+
|
|
600
|
+
if (tokenString) {
|
|
601
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
602
|
+
}
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
let urlPath = `/v1/capability-evaluations/{evaluation_id}/executions/{evaluation_execution_id}/criteria-executions`;
|
|
606
|
+
urlPath = urlPath.replace(`{${"evaluation_id"}}`, encodeURIComponent(String(requestParameters['evaluationId'])));
|
|
607
|
+
urlPath = urlPath.replace(`{${"evaluation_execution_id"}}`, encodeURIComponent(String(requestParameters['evaluationExecutionId'])));
|
|
608
|
+
|
|
609
|
+
const response = await this.request({
|
|
610
|
+
path: urlPath,
|
|
611
|
+
method: 'GET',
|
|
612
|
+
headers: headerParameters,
|
|
613
|
+
query: queryParameters,
|
|
614
|
+
}, initOverrides);
|
|
615
|
+
|
|
616
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PagedResponseModelEvaluationCriterionExecutionRepresentationFromJSON(jsonValue));
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
/**
|
|
620
|
+
* Get all criteria executions for a specific evaluation execution. Args: request: The HTTP request object. evaluation_id: The ID of the evaluation. evaluation_execution_id: The ID of the evaluation execution to retrieve criteria executions for. page_params: Pagination parameters. service: The evaluation execution service to use. Returns: A list of criteria executions for the specified evaluation execution.
|
|
621
|
+
* Get Evaluation Execution Criteria Executions
|
|
622
|
+
*/
|
|
623
|
+
async getEvaluationExecutionCriteriaExecutionsV1CapabilityEvaluationsEvaluationIdExecutionsEvaluationExecutionIdCriteriaExecutionsGet(requestParameters: GetEvaluationExecutionCriteriaExecutionsV1CapabilityEvaluationsEvaluationIdExecutionsEvaluationExecutionIdCriteriaExecutionsGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PagedResponseModelEvaluationCriterionExecutionRepresentation> {
|
|
624
|
+
const response = await this.getEvaluationExecutionCriteriaExecutionsV1CapabilityEvaluationsEvaluationIdExecutionsEvaluationExecutionIdCriteriaExecutionsGetRaw(requestParameters, initOverrides);
|
|
625
|
+
return await response.value();
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
/**
|
|
629
|
+
* Get an evaluation execution by ID.
|
|
630
|
+
* Get Evaluation Execution
|
|
631
|
+
*/
|
|
632
|
+
async getEvaluationExecutionV1CapabilityEvaluationsEvaluationIdExecutionsEvaluationExecutionIdGetRaw(requestParameters: GetEvaluationExecutionV1CapabilityEvaluationsEvaluationIdExecutionsEvaluationExecutionIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<EvaluationExecutionRepresentation>> {
|
|
633
|
+
if (requestParameters['evaluationId'] == null) {
|
|
634
|
+
throw new runtime.RequiredError(
|
|
635
|
+
'evaluationId',
|
|
636
|
+
'Required parameter "evaluationId" was null or undefined when calling getEvaluationExecutionV1CapabilityEvaluationsEvaluationIdExecutionsEvaluationExecutionIdGet().'
|
|
637
|
+
);
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
if (requestParameters['evaluationExecutionId'] == null) {
|
|
641
|
+
throw new runtime.RequiredError(
|
|
642
|
+
'evaluationExecutionId',
|
|
643
|
+
'Required parameter "evaluationExecutionId" was null or undefined when calling getEvaluationExecutionV1CapabilityEvaluationsEvaluationIdExecutionsEvaluationExecutionIdGet().'
|
|
644
|
+
);
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
const queryParameters: any = {};
|
|
648
|
+
|
|
649
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
650
|
+
|
|
651
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
652
|
+
headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key"); // APIKeyHeader authentication
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
656
|
+
const token = this.configuration.accessToken;
|
|
657
|
+
const tokenString = await token("HTTPBearer", []);
|
|
658
|
+
|
|
659
|
+
if (tokenString) {
|
|
660
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
661
|
+
}
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
let urlPath = `/v1/capability-evaluations/{evaluation_id}/executions/{evaluation_execution_id}`;
|
|
665
|
+
urlPath = urlPath.replace(`{${"evaluation_id"}}`, encodeURIComponent(String(requestParameters['evaluationId'])));
|
|
666
|
+
urlPath = urlPath.replace(`{${"evaluation_execution_id"}}`, encodeURIComponent(String(requestParameters['evaluationExecutionId'])));
|
|
667
|
+
|
|
668
|
+
const response = await this.request({
|
|
669
|
+
path: urlPath,
|
|
670
|
+
method: 'GET',
|
|
671
|
+
headers: headerParameters,
|
|
672
|
+
query: queryParameters,
|
|
673
|
+
}, initOverrides);
|
|
674
|
+
|
|
675
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => EvaluationExecutionRepresentationFromJSON(jsonValue));
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
/**
|
|
679
|
+
* Get an evaluation execution by ID.
|
|
680
|
+
* Get Evaluation Execution
|
|
681
|
+
*/
|
|
682
|
+
async getEvaluationExecutionV1CapabilityEvaluationsEvaluationIdExecutionsEvaluationExecutionIdGet(requestParameters: GetEvaluationExecutionV1CapabilityEvaluationsEvaluationIdExecutionsEvaluationExecutionIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<EvaluationExecutionRepresentation> {
|
|
683
|
+
const response = await this.getEvaluationExecutionV1CapabilityEvaluationsEvaluationIdExecutionsEvaluationExecutionIdGetRaw(requestParameters, initOverrides);
|
|
684
|
+
return await response.value();
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
/**
|
|
688
|
+
* Get an evaluation execution by ID.
|
|
689
|
+
* Get Evaluation Executions
|
|
690
|
+
*/
|
|
691
|
+
async getEvaluationExecutionsV1CapabilityEvaluationsEvaluationIdExecutionsGetRaw(requestParameters: GetEvaluationExecutionsV1CapabilityEvaluationsEvaluationIdExecutionsGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PagedResponseModelEvaluationExecutionRepresentation>> {
|
|
692
|
+
if (requestParameters['evaluationId'] == null) {
|
|
693
|
+
throw new runtime.RequiredError(
|
|
694
|
+
'evaluationId',
|
|
695
|
+
'Required parameter "evaluationId" was null or undefined when calling getEvaluationExecutionsV1CapabilityEvaluationsEvaluationIdExecutionsGet().'
|
|
696
|
+
);
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
const queryParameters: any = {};
|
|
700
|
+
|
|
701
|
+
if (requestParameters['capabilityId'] != null) {
|
|
702
|
+
queryParameters['capability_id'] = requestParameters['capabilityId'];
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
if (requestParameters['page'] != null) {
|
|
706
|
+
queryParameters['page'] = requestParameters['page'];
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
if (requestParameters['size'] != null) {
|
|
710
|
+
queryParameters['size'] = requestParameters['size'];
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
if (requestParameters['sort'] != null) {
|
|
714
|
+
queryParameters['sort'] = requestParameters['sort'];
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
if (requestParameters['filter'] != null) {
|
|
718
|
+
queryParameters['filter'] = requestParameters['filter'];
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
722
|
+
|
|
723
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
724
|
+
headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key"); // APIKeyHeader authentication
|
|
725
|
+
}
|
|
726
|
+
|
|
727
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
728
|
+
const token = this.configuration.accessToken;
|
|
729
|
+
const tokenString = await token("HTTPBearer", []);
|
|
730
|
+
|
|
731
|
+
if (tokenString) {
|
|
732
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
733
|
+
}
|
|
734
|
+
}
|
|
735
|
+
|
|
736
|
+
let urlPath = `/v1/capability-evaluations/{evaluation_id}/executions`;
|
|
737
|
+
urlPath = urlPath.replace(`{${"evaluation_id"}}`, encodeURIComponent(String(requestParameters['evaluationId'])));
|
|
738
|
+
|
|
739
|
+
const response = await this.request({
|
|
740
|
+
path: urlPath,
|
|
741
|
+
method: 'GET',
|
|
742
|
+
headers: headerParameters,
|
|
743
|
+
query: queryParameters,
|
|
744
|
+
}, initOverrides);
|
|
745
|
+
|
|
746
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PagedResponseModelEvaluationExecutionRepresentationFromJSON(jsonValue));
|
|
747
|
+
}
|
|
748
|
+
|
|
749
|
+
/**
|
|
750
|
+
* Get an evaluation execution by ID.
|
|
751
|
+
* Get Evaluation Executions
|
|
752
|
+
*/
|
|
753
|
+
async getEvaluationExecutionsV1CapabilityEvaluationsEvaluationIdExecutionsGet(requestParameters: GetEvaluationExecutionsV1CapabilityEvaluationsEvaluationIdExecutionsGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PagedResponseModelEvaluationExecutionRepresentation> {
|
|
754
|
+
const response = await this.getEvaluationExecutionsV1CapabilityEvaluationsEvaluationIdExecutionsGetRaw(requestParameters, initOverrides);
|
|
755
|
+
return await response.value();
|
|
756
|
+
}
|
|
757
|
+
|
|
758
|
+
/**
|
|
759
|
+
* Get an evaluation dataset by ID.
|
|
760
|
+
* Get Evaluation
|
|
761
|
+
*/
|
|
762
|
+
async getEvaluationV1CapabilityEvaluationsEvaluationIdGetRaw(requestParameters: GetEvaluationV1CapabilityEvaluationsEvaluationIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CapabilityEvaluationRepresentation>> {
|
|
763
|
+
if (requestParameters['evaluationId'] == null) {
|
|
764
|
+
throw new runtime.RequiredError(
|
|
765
|
+
'evaluationId',
|
|
766
|
+
'Required parameter "evaluationId" was null or undefined when calling getEvaluationV1CapabilityEvaluationsEvaluationIdGet().'
|
|
767
|
+
);
|
|
768
|
+
}
|
|
769
|
+
|
|
770
|
+
const queryParameters: any = {};
|
|
771
|
+
|
|
772
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
773
|
+
|
|
774
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
775
|
+
headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key"); // APIKeyHeader authentication
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
779
|
+
const token = this.configuration.accessToken;
|
|
780
|
+
const tokenString = await token("HTTPBearer", []);
|
|
781
|
+
|
|
782
|
+
if (tokenString) {
|
|
783
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
784
|
+
}
|
|
785
|
+
}
|
|
786
|
+
|
|
787
|
+
let urlPath = `/v1/capability-evaluations/{evaluation_id}`;
|
|
788
|
+
urlPath = urlPath.replace(`{${"evaluation_id"}}`, encodeURIComponent(String(requestParameters['evaluationId'])));
|
|
789
|
+
|
|
790
|
+
const response = await this.request({
|
|
791
|
+
path: urlPath,
|
|
792
|
+
method: 'GET',
|
|
793
|
+
headers: headerParameters,
|
|
794
|
+
query: queryParameters,
|
|
795
|
+
}, initOverrides);
|
|
796
|
+
|
|
797
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => CapabilityEvaluationRepresentationFromJSON(jsonValue));
|
|
798
|
+
}
|
|
799
|
+
|
|
800
|
+
/**
|
|
801
|
+
* Get an evaluation dataset by ID.
|
|
802
|
+
* Get Evaluation
|
|
803
|
+
*/
|
|
804
|
+
async getEvaluationV1CapabilityEvaluationsEvaluationIdGet(requestParameters: GetEvaluationV1CapabilityEvaluationsEvaluationIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CapabilityEvaluationRepresentation> {
|
|
805
|
+
const response = await this.getEvaluationV1CapabilityEvaluationsEvaluationIdGetRaw(requestParameters, initOverrides);
|
|
806
|
+
return await response.value();
|
|
807
|
+
}
|
|
808
|
+
|
|
809
|
+
/**
|
|
810
|
+
* Get all evaluations.
|
|
811
|
+
* List Evaluations
|
|
812
|
+
*/
|
|
813
|
+
async listEvaluationsV1CapabilityEvaluationsGetRaw(requestParameters: ListEvaluationsV1CapabilityEvaluationsGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PagedResponseModelCapabilityEvaluationRepresentation>> {
|
|
814
|
+
const queryParameters: any = {};
|
|
815
|
+
|
|
816
|
+
if (requestParameters['page'] != null) {
|
|
817
|
+
queryParameters['page'] = requestParameters['page'];
|
|
818
|
+
}
|
|
819
|
+
|
|
820
|
+
if (requestParameters['size'] != null) {
|
|
821
|
+
queryParameters['size'] = requestParameters['size'];
|
|
822
|
+
}
|
|
823
|
+
|
|
824
|
+
if (requestParameters['sort'] != null) {
|
|
825
|
+
queryParameters['sort'] = requestParameters['sort'];
|
|
826
|
+
}
|
|
827
|
+
|
|
828
|
+
if (requestParameters['filter'] != null) {
|
|
829
|
+
queryParameters['filter'] = requestParameters['filter'];
|
|
830
|
+
}
|
|
831
|
+
|
|
832
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
833
|
+
|
|
834
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
835
|
+
headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key"); // APIKeyHeader authentication
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
839
|
+
const token = this.configuration.accessToken;
|
|
840
|
+
const tokenString = await token("HTTPBearer", []);
|
|
841
|
+
|
|
842
|
+
if (tokenString) {
|
|
843
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
844
|
+
}
|
|
845
|
+
}
|
|
846
|
+
|
|
847
|
+
let urlPath = `/v1/capability-evaluations`;
|
|
848
|
+
|
|
849
|
+
const response = await this.request({
|
|
850
|
+
path: urlPath,
|
|
851
|
+
method: 'GET',
|
|
852
|
+
headers: headerParameters,
|
|
853
|
+
query: queryParameters,
|
|
854
|
+
}, initOverrides);
|
|
855
|
+
|
|
856
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PagedResponseModelCapabilityEvaluationRepresentationFromJSON(jsonValue));
|
|
857
|
+
}
|
|
858
|
+
|
|
859
|
+
/**
|
|
860
|
+
* Get all evaluations.
|
|
861
|
+
* List Evaluations
|
|
862
|
+
*/
|
|
863
|
+
async listEvaluationsV1CapabilityEvaluationsGet(requestParameters: ListEvaluationsV1CapabilityEvaluationsGetRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PagedResponseModelCapabilityEvaluationRepresentation> {
|
|
864
|
+
const response = await this.listEvaluationsV1CapabilityEvaluationsGetRaw(requestParameters, initOverrides);
|
|
865
|
+
return await response.value();
|
|
866
|
+
}
|
|
867
|
+
|
|
868
|
+
/**
|
|
869
|
+
* Update a specific criterion for an evaluation dataset by ID.
|
|
870
|
+
* Update Evaluation Criterion
|
|
871
|
+
*/
|
|
872
|
+
async updateEvaluationCriterionV1CapabilityEvaluationsEvaluationIdCriteriaCriterionIdPutRaw(requestParameters: UpdateEvaluationCriterionV1CapabilityEvaluationsEvaluationIdCriteriaCriterionIdPutRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CapabilityEvaluationCriterionRepresentation>> {
|
|
873
|
+
if (requestParameters['evaluationId'] == null) {
|
|
874
|
+
throw new runtime.RequiredError(
|
|
875
|
+
'evaluationId',
|
|
876
|
+
'Required parameter "evaluationId" was null or undefined when calling updateEvaluationCriterionV1CapabilityEvaluationsEvaluationIdCriteriaCriterionIdPut().'
|
|
877
|
+
);
|
|
878
|
+
}
|
|
879
|
+
|
|
880
|
+
if (requestParameters['criterionId'] == null) {
|
|
881
|
+
throw new runtime.RequiredError(
|
|
882
|
+
'criterionId',
|
|
883
|
+
'Required parameter "criterionId" was null or undefined when calling updateEvaluationCriterionV1CapabilityEvaluationsEvaluationIdCriteriaCriterionIdPut().'
|
|
884
|
+
);
|
|
885
|
+
}
|
|
886
|
+
|
|
887
|
+
if (requestParameters['capabilityEvaluationCriterionCreate'] == null) {
|
|
888
|
+
throw new runtime.RequiredError(
|
|
889
|
+
'capabilityEvaluationCriterionCreate',
|
|
890
|
+
'Required parameter "capabilityEvaluationCriterionCreate" was null or undefined when calling updateEvaluationCriterionV1CapabilityEvaluationsEvaluationIdCriteriaCriterionIdPut().'
|
|
891
|
+
);
|
|
892
|
+
}
|
|
893
|
+
|
|
894
|
+
const queryParameters: any = {};
|
|
895
|
+
|
|
896
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
897
|
+
|
|
898
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
899
|
+
|
|
900
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
901
|
+
headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key"); // APIKeyHeader authentication
|
|
902
|
+
}
|
|
903
|
+
|
|
904
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
905
|
+
const token = this.configuration.accessToken;
|
|
906
|
+
const tokenString = await token("HTTPBearer", []);
|
|
907
|
+
|
|
908
|
+
if (tokenString) {
|
|
909
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
910
|
+
}
|
|
911
|
+
}
|
|
912
|
+
|
|
913
|
+
let urlPath = `/v1/capability-evaluations/{evaluation_id}/criteria/{criterion_id}`;
|
|
914
|
+
urlPath = urlPath.replace(`{${"evaluation_id"}}`, encodeURIComponent(String(requestParameters['evaluationId'])));
|
|
915
|
+
urlPath = urlPath.replace(`{${"criterion_id"}}`, encodeURIComponent(String(requestParameters['criterionId'])));
|
|
916
|
+
|
|
917
|
+
const response = await this.request({
|
|
918
|
+
path: urlPath,
|
|
919
|
+
method: 'PUT',
|
|
920
|
+
headers: headerParameters,
|
|
921
|
+
query: queryParameters,
|
|
922
|
+
body: CapabilityEvaluationCriterionCreateToJSON(requestParameters['capabilityEvaluationCriterionCreate']),
|
|
923
|
+
}, initOverrides);
|
|
924
|
+
|
|
925
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => CapabilityEvaluationCriterionRepresentationFromJSON(jsonValue));
|
|
926
|
+
}
|
|
927
|
+
|
|
928
|
+
/**
|
|
929
|
+
* Update a specific criterion for an evaluation dataset by ID.
|
|
930
|
+
* Update Evaluation Criterion
|
|
931
|
+
*/
|
|
932
|
+
async updateEvaluationCriterionV1CapabilityEvaluationsEvaluationIdCriteriaCriterionIdPut(requestParameters: UpdateEvaluationCriterionV1CapabilityEvaluationsEvaluationIdCriteriaCriterionIdPutRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CapabilityEvaluationCriterionRepresentation> {
|
|
933
|
+
const response = await this.updateEvaluationCriterionV1CapabilityEvaluationsEvaluationIdCriteriaCriterionIdPutRaw(requestParameters, initOverrides);
|
|
934
|
+
return await response.value();
|
|
935
|
+
}
|
|
936
|
+
|
|
937
|
+
/**
|
|
938
|
+
* Update an evaluation.
|
|
939
|
+
* Update Evaluation
|
|
940
|
+
*/
|
|
941
|
+
async updateEvaluationV1CapabilityEvaluationsEvaluationIdPutRaw(requestParameters: UpdateEvaluationV1CapabilityEvaluationsEvaluationIdPutRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CapabilityEvaluationRepresentation>> {
|
|
942
|
+
if (requestParameters['evaluationId'] == null) {
|
|
943
|
+
throw new runtime.RequiredError(
|
|
944
|
+
'evaluationId',
|
|
945
|
+
'Required parameter "evaluationId" was null or undefined when calling updateEvaluationV1CapabilityEvaluationsEvaluationIdPut().'
|
|
946
|
+
);
|
|
947
|
+
}
|
|
948
|
+
|
|
949
|
+
if (requestParameters['capabilityEvaluationUpdate'] == null) {
|
|
950
|
+
throw new runtime.RequiredError(
|
|
951
|
+
'capabilityEvaluationUpdate',
|
|
952
|
+
'Required parameter "capabilityEvaluationUpdate" was null or undefined when calling updateEvaluationV1CapabilityEvaluationsEvaluationIdPut().'
|
|
953
|
+
);
|
|
954
|
+
}
|
|
955
|
+
|
|
956
|
+
const queryParameters: any = {};
|
|
957
|
+
|
|
958
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
959
|
+
|
|
960
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
961
|
+
|
|
962
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
963
|
+
headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key"); // APIKeyHeader authentication
|
|
964
|
+
}
|
|
965
|
+
|
|
966
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
967
|
+
const token = this.configuration.accessToken;
|
|
968
|
+
const tokenString = await token("HTTPBearer", []);
|
|
969
|
+
|
|
970
|
+
if (tokenString) {
|
|
971
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
972
|
+
}
|
|
973
|
+
}
|
|
974
|
+
|
|
975
|
+
let urlPath = `/v1/capability-evaluations/{evaluation_id}`;
|
|
976
|
+
urlPath = urlPath.replace(`{${"evaluation_id"}}`, encodeURIComponent(String(requestParameters['evaluationId'])));
|
|
977
|
+
|
|
978
|
+
const response = await this.request({
|
|
979
|
+
path: urlPath,
|
|
980
|
+
method: 'PUT',
|
|
981
|
+
headers: headerParameters,
|
|
982
|
+
query: queryParameters,
|
|
983
|
+
body: CapabilityEvaluationUpdateToJSON(requestParameters['capabilityEvaluationUpdate']),
|
|
984
|
+
}, initOverrides);
|
|
985
|
+
|
|
986
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => CapabilityEvaluationRepresentationFromJSON(jsonValue));
|
|
987
|
+
}
|
|
988
|
+
|
|
989
|
+
/**
|
|
990
|
+
* Update an evaluation.
|
|
991
|
+
* Update Evaluation
|
|
992
|
+
*/
|
|
993
|
+
async updateEvaluationV1CapabilityEvaluationsEvaluationIdPut(requestParameters: UpdateEvaluationV1CapabilityEvaluationsEvaluationIdPutRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CapabilityEvaluationRepresentation> {
|
|
994
|
+
const response = await this.updateEvaluationV1CapabilityEvaluationsEvaluationIdPutRaw(requestParameters, initOverrides);
|
|
995
|
+
return await response.value();
|
|
996
|
+
}
|
|
997
|
+
|
|
998
|
+
}
|