@coraxai/api-client 2.336.0 → 2.337.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 +1 -0
- package/README.md +2 -2
- package/dist/apis/APIKeysApi.d.ts +1 -1
- package/dist/apis/APIKeysApi.js +1 -1
- package/dist/apis/AuthApi.d.ts +1 -1
- package/dist/apis/AuthApi.js +1 -1
- package/dist/apis/CapabilitiesApi.d.ts +177 -2
- package/dist/apis/CapabilitiesApi.js +970 -103
- package/dist/apis/CapabilityEvaluationsApi.d.ts +1 -1
- package/dist/apis/CapabilityEvaluationsApi.js +1 -1
- package/dist/apis/CapabilityTypesApi.d.ts +1 -1
- package/dist/apis/CapabilityTypesApi.js +1 -1
- package/dist/apis/ComplianceApi.d.ts +1 -1
- package/dist/apis/ComplianceApi.js +1 -1
- package/dist/apis/ConversationsApi.d.ts +1 -1
- package/dist/apis/ConversationsApi.js +1 -1
- package/dist/apis/CriterionTypesApi.d.ts +1 -1
- package/dist/apis/CriterionTypesApi.js +1 -1
- package/dist/apis/DefaultApi.d.ts +1 -1
- package/dist/apis/DefaultApi.js +1 -1
- package/dist/apis/EvaluationDatasetsApi.d.ts +1 -1
- package/dist/apis/EvaluationDatasetsApi.js +1 -1
- package/dist/apis/KnowledgeCollectionsApi.d.ts +1 -1
- package/dist/apis/KnowledgeCollectionsApi.js +1 -1
- package/dist/apis/MCPServersApi.d.ts +1 -1
- package/dist/apis/MCPServersApi.js +1 -1
- package/dist/apis/ModelCatalogApi.d.ts +1 -1
- package/dist/apis/ModelCatalogApi.js +1 -1
- package/dist/apis/ModelDeploymentPoolsApi.d.ts +1 -1
- package/dist/apis/ModelDeploymentPoolsApi.js +1 -1
- package/dist/apis/ModelDeploymentsApi.d.ts +1 -1
- package/dist/apis/ModelDeploymentsApi.js +1 -1
- package/dist/apis/ModelDiscoveryApi.d.ts +1 -1
- package/dist/apis/ModelDiscoveryApi.js +1 -1
- package/dist/apis/ModelProviderTypesApi.d.ts +1 -1
- package/dist/apis/ModelProviderTypesApi.js +1 -1
- package/dist/apis/ModelProvidersApi.d.ts +1 -1
- package/dist/apis/ModelProvidersApi.js +1 -1
- package/dist/apis/ProjectsApi.d.ts +1 -1
- package/dist/apis/ProjectsApi.js +1 -1
- package/dist/apis/RBACAdminApi.d.ts +1 -1
- package/dist/apis/RBACAdminApi.js +1 -1
- package/dist/models/ActualOutput.d.ts +1 -1
- package/dist/models/ActualOutput.js +1 -1
- package/dist/models/AnthropicConfiguration.d.ts +1 -1
- package/dist/models/AnthropicConfiguration.js +1 -1
- package/dist/models/AnthropicProviderValidationRequest.d.ts +1 -1
- package/dist/models/AnthropicProviderValidationRequest.js +1 -1
- package/dist/models/AnthropicProviderWithDeploymentsCreate.d.ts +1 -1
- package/dist/models/AnthropicProviderWithDeploymentsCreate.js +1 -1
- package/dist/models/ApiKey.d.ts +1 -1
- package/dist/models/ApiKey.js +1 -1
- package/dist/models/ApiKeyCreate.d.ts +1 -1
- package/dist/models/ApiKeyCreate.js +1 -1
- package/dist/models/ApplicablePolicyResponse.d.ts +1 -1
- package/dist/models/ApplicablePolicyResponse.js +1 -1
- package/dist/models/AppliedControl.d.ts +1 -1
- package/dist/models/AppliedControl.js +1 -1
- package/dist/models/ApplyControlsResponse.d.ts +1 -1
- package/dist/models/ApplyControlsResponse.js +1 -1
- package/dist/models/AssetResponse.d.ts +1 -1
- package/dist/models/AssetResponse.js +1 -1
- package/dist/models/AuthMeResponse.d.ts +1 -1
- package/dist/models/AuthMeResponse.js +1 -1
- package/dist/models/AvailableModel.d.ts +1 -1
- package/dist/models/AvailableModel.js +1 -1
- package/dist/models/AzureAiProviderValidationRequest.d.ts +1 -1
- package/dist/models/AzureAiProviderValidationRequest.js +1 -1
- package/dist/models/AzureAiProviderWithDeploymentsCreate.d.ts +1 -1
- package/dist/models/AzureAiProviderWithDeploymentsCreate.js +1 -1
- package/dist/models/AzureConfiguration.d.ts +1 -1
- package/dist/models/AzureConfiguration.js +1 -1
- package/dist/models/AzureProviderValidationRequest.d.ts +1 -1
- package/dist/models/AzureProviderValidationRequest.js +1 -1
- package/dist/models/AzureProviderWithDeploymentsCreate.d.ts +1 -1
- package/dist/models/AzureProviderWithDeploymentsCreate.js +1 -1
- package/dist/models/AzureSpeechProviderValidationRequest.d.ts +1 -1
- package/dist/models/AzureSpeechProviderValidationRequest.js +1 -1
- package/dist/models/AzureSpeechProviderWithDeploymentsCreate.d.ts +1 -1
- package/dist/models/AzureSpeechProviderWithDeploymentsCreate.js +1 -1
- package/dist/models/BadgeResponse.d.ts +1 -1
- package/dist/models/BadgeResponse.js +1 -1
- package/dist/models/BedrockConfiguration.d.ts +1 -1
- package/dist/models/BedrockConfiguration.js +1 -1
- package/dist/models/BedrockProviderValidationRequest.d.ts +1 -1
- package/dist/models/BedrockProviderValidationRequest.js +1 -1
- package/dist/models/BedrockProviderWithDeploymentsCreate.d.ts +1 -1
- package/dist/models/BedrockProviderWithDeploymentsCreate.js +1 -1
- package/dist/models/BlobConfig.d.ts +1 -1
- package/dist/models/BlobConfig.js +1 -1
- package/dist/models/BooleanConfigurationField.d.ts +1 -1
- package/dist/models/BooleanConfigurationField.js +1 -1
- package/dist/models/Capability.d.ts +1 -1
- package/dist/models/Capability.js +1 -1
- package/dist/models/Capability1.d.ts +1 -1
- package/dist/models/Capability1.js +1 -1
- package/dist/models/Capability2.d.ts +1 -1
- package/dist/models/Capability2.js +1 -1
- package/dist/models/CapabilityConfig.d.ts +1 -1
- package/dist/models/CapabilityConfig.js +1 -1
- package/dist/models/CapabilityCriterionOperationType.d.ts +1 -1
- package/dist/models/CapabilityCriterionOperationType.js +1 -1
- package/dist/models/CapabilityCriterionType.d.ts +1 -1
- package/dist/models/CapabilityCriterionType.js +1 -1
- package/dist/models/CapabilityEvaluationConfiguration.d.ts +1 -1
- package/dist/models/CapabilityEvaluationConfiguration.js +1 -1
- package/dist/models/CapabilityEvaluationCreate.d.ts +1 -1
- package/dist/models/CapabilityEvaluationCreate.js +1 -1
- package/dist/models/CapabilityEvaluationCriterionCreate.d.ts +1 -1
- package/dist/models/CapabilityEvaluationCriterionCreate.js +1 -1
- package/dist/models/CapabilityEvaluationCriterionRepresentation.d.ts +1 -1
- package/dist/models/CapabilityEvaluationCriterionRepresentation.js +1 -1
- package/dist/models/CapabilityEvaluationCriterionTypeRepresentation.d.ts +1 -1
- package/dist/models/CapabilityEvaluationCriterionTypeRepresentation.js +1 -1
- package/dist/models/CapabilityEvaluationRepresentation.d.ts +1 -1
- package/dist/models/CapabilityEvaluationRepresentation.js +1 -1
- package/dist/models/CapabilityEvaluationUpdate.d.ts +1 -1
- package/dist/models/CapabilityEvaluationUpdate.js +1 -1
- package/dist/models/CapabilityId.d.ts +1 -1
- package/dist/models/CapabilityId.js +1 -1
- package/dist/models/CapabilityId1.d.ts +1 -1
- package/dist/models/CapabilityId1.js +1 -1
- package/dist/models/CapabilityRepresentation.d.ts +1 -1
- package/dist/models/CapabilityRepresentation.js +1 -1
- package/dist/models/CapabilitySetDefaultVersionRequest.d.ts +1 -1
- package/dist/models/CapabilitySetDefaultVersionRequest.js +1 -1
- package/dist/models/CapabilityType.d.ts +1 -1
- package/dist/models/CapabilityType.js +1 -1
- package/dist/models/CapabilityTypeRepresentation.d.ts +1 -1
- package/dist/models/CapabilityTypeRepresentation.js +1 -1
- package/dist/models/CapabilityTypesRepresentation.d.ts +1 -1
- package/dist/models/CapabilityTypesRepresentation.js +1 -1
- package/dist/models/CapabilityVersion.d.ts +1 -1
- package/dist/models/CapabilityVersion.js +1 -1
- package/dist/models/CatalogSource.d.ts +1 -1
- package/dist/models/CatalogSource.js +1 -1
- package/dist/models/CatalogSourceSnapshot.d.ts +1 -1
- package/dist/models/CatalogSourceSnapshot.js +1 -1
- package/dist/models/CatalogStalenessMetadata.d.ts +1 -1
- package/dist/models/CatalogStalenessMetadata.js +1 -1
- package/dist/models/ChatCapability.d.ts +1 -1
- package/dist/models/ChatCapability.js +1 -1
- package/dist/models/ChatCapabilityCreate.d.ts +1 -1
- package/dist/models/ChatCapabilityCreate.js +1 -1
- package/dist/models/ChatCapabilityUpdate.d.ts +1 -1
- package/dist/models/ChatCapabilityUpdate.js +1 -1
- package/dist/models/ChatConversation.d.ts +1 -1
- package/dist/models/ChatConversation.js +1 -1
- package/dist/models/Collection.d.ts +1 -1
- package/dist/models/Collection.js +1 -1
- package/dist/models/CollectionCreate.d.ts +1 -1
- package/dist/models/CollectionCreate.js +1 -1
- package/dist/models/CollectionUpdate.d.ts +1 -1
- package/dist/models/CollectionUpdate.js +1 -1
- package/dist/models/CompletionCapability.d.ts +1 -1
- package/dist/models/CompletionCapability.js +1 -1
- package/dist/models/CompletionCapabilityCreate.d.ts +1 -1
- package/dist/models/CompletionCapabilityCreate.js +1 -1
- package/dist/models/CompletionCapabilityUpdate.d.ts +1 -1
- package/dist/models/CompletionCapabilityUpdate.js +1 -1
- package/dist/models/ComplianceStatus.d.ts +1 -1
- package/dist/models/ComplianceStatus.js +1 -1
- package/dist/models/ComplianceSummary.d.ts +1 -1
- package/dist/models/ComplianceSummary.js +1 -1
- package/dist/models/ConfigurationField.d.ts +1 -1
- package/dist/models/ConfigurationField.js +1 -1
- package/dist/models/ConfigurationFieldOption.d.ts +1 -1
- package/dist/models/ConfigurationFieldOption.js +1 -1
- package/dist/models/ConflictView.d.ts +1 -1
- package/dist/models/ConflictView.js +1 -1
- package/dist/models/ConnectedCapabilityResponse.d.ts +1 -1
- package/dist/models/ConnectedCapabilityResponse.js +1 -1
- package/dist/models/Content.d.ts +1 -1
- package/dist/models/Content.js +1 -1
- package/dist/models/ControlComplianceStatus.d.ts +1 -1
- package/dist/models/ControlComplianceStatus.js +1 -1
- package/dist/models/ControlResult.d.ts +1 -1
- package/dist/models/ControlResult.js +1 -1
- package/dist/models/Data.d.ts +1 -1
- package/dist/models/Data.js +1 -1
- package/dist/models/DataRetention.d.ts +1 -1
- package/dist/models/DataRetention.js +1 -1
- package/dist/models/DefaultModelDeploymentUpdate.d.ts +1 -1
- package/dist/models/DefaultModelDeploymentUpdate.js +1 -1
- package/dist/models/DeploymentCreate.d.ts +1 -1
- package/dist/models/DeploymentCreate.js +1 -1
- package/dist/models/DeploymentHealthResponse.d.ts +1 -1
- package/dist/models/DeploymentHealthResponse.js +1 -1
- package/dist/models/Document.d.ts +1 -1
- package/dist/models/Document.js +1 -1
- package/dist/models/DocumentEmbeddingResponse.d.ts +1 -1
- package/dist/models/DocumentEmbeddingResponse.js +1 -1
- package/dist/models/DryRunRequest.d.ts +1 -1
- package/dist/models/DryRunRequest.js +1 -1
- package/dist/models/DryRunResponse.d.ts +1 -1
- package/dist/models/DryRunResponse.js +1 -1
- package/dist/models/EvaluationCriterionExecutionRepresentation.d.ts +1 -1
- package/dist/models/EvaluationCriterionExecutionRepresentation.js +1 -1
- package/dist/models/EvaluationCriterionExecutionResult.d.ts +1 -1
- package/dist/models/EvaluationCriterionExecutionResult.js +1 -1
- package/dist/models/EvaluationDatasetConfigurationBase.d.ts +1 -1
- package/dist/models/EvaluationDatasetConfigurationBase.js +1 -1
- package/dist/models/EvaluationDatasetCreate.d.ts +1 -1
- package/dist/models/EvaluationDatasetCreate.js +1 -1
- package/dist/models/EvaluationDatasetItemCreate.d.ts +1 -1
- package/dist/models/EvaluationDatasetItemCreate.js +1 -1
- package/dist/models/EvaluationDatasetItemRepresentation.d.ts +1 -1
- package/dist/models/EvaluationDatasetItemRepresentation.js +1 -1
- package/dist/models/EvaluationDatasetItemUpdate.d.ts +1 -1
- package/dist/models/EvaluationDatasetItemUpdate.js +1 -1
- package/dist/models/EvaluationDatasetOutputType.d.ts +1 -1
- package/dist/models/EvaluationDatasetOutputType.js +1 -1
- package/dist/models/EvaluationDatasetRepresentation.d.ts +1 -1
- package/dist/models/EvaluationDatasetRepresentation.js +1 -1
- package/dist/models/EvaluationDatasetUpdate.d.ts +1 -1
- package/dist/models/EvaluationDatasetUpdate.js +1 -1
- package/dist/models/EvaluationExecutionConfiguration.d.ts +1 -1
- package/dist/models/EvaluationExecutionConfiguration.js +1 -1
- package/dist/models/EvaluationExecutionCreate.d.ts +1 -1
- package/dist/models/EvaluationExecutionCreate.js +1 -1
- package/dist/models/EvaluationExecutionData.d.ts +1 -1
- package/dist/models/EvaluationExecutionData.js +1 -1
- package/dist/models/EvaluationExecutionMode.d.ts +1 -1
- package/dist/models/EvaluationExecutionMode.js +1 -1
- package/dist/models/EvaluationExecutionProgress.d.ts +1 -1
- package/dist/models/EvaluationExecutionProgress.js +1 -1
- package/dist/models/EvaluationExecutionRepresentation.d.ts +1 -1
- package/dist/models/EvaluationExecutionRepresentation.js +1 -1
- package/dist/models/EvaluationExecutionStatus.d.ts +1 -1
- package/dist/models/EvaluationExecutionStatus.js +1 -1
- package/dist/models/Execution.d.ts +1 -1
- package/dist/models/Execution.js +1 -1
- package/dist/models/ExecutionCallback.d.ts +1 -1
- package/dist/models/ExecutionCallback.js +1 -1
- package/dist/models/ExecutionContext.d.ts +1 -1
- package/dist/models/ExecutionContext.js +1 -1
- package/dist/models/ExecutionCreate.d.ts +1 -1
- package/dist/models/ExecutionCreate.js +1 -1
- package/dist/models/ExecutionError.d.ts +62 -0
- package/dist/models/ExecutionError.js +63 -0
- package/dist/models/ExecutionResult.d.ts +1 -1
- package/dist/models/ExecutionResult.js +1 -1
- package/dist/models/ExecutionSparse.d.ts +1 -1
- package/dist/models/ExecutionSparse.js +1 -1
- package/dist/models/ExecutionStatus.d.ts +1 -1
- package/dist/models/ExecutionStatus.js +1 -1
- package/dist/models/ExecutionUsage.d.ts +1 -1
- package/dist/models/ExecutionUsage.js +1 -1
- package/dist/models/ExtractionCapability.d.ts +1 -1
- package/dist/models/ExtractionCapability.js +1 -1
- package/dist/models/ExtractionCapabilityCreate.d.ts +1 -1
- package/dist/models/ExtractionCapabilityCreate.js +1 -1
- package/dist/models/ExtractionCapabilityUpdate.d.ts +1 -1
- package/dist/models/ExtractionCapabilityUpdate.js +1 -1
- package/dist/models/Feedback.d.ts +1 -1
- package/dist/models/Feedback.js +1 -1
- package/dist/models/FeedbackCreate.d.ts +1 -1
- package/dist/models/FeedbackCreate.js +1 -1
- package/dist/models/FeedbackSentiment.d.ts +1 -1
- package/dist/models/FeedbackSentiment.js +1 -1
- package/dist/models/FieldProvenanceAny.d.ts +1 -1
- package/dist/models/FieldProvenanceAny.js +1 -1
- package/dist/models/FieldValueFormat.d.ts +1 -1
- package/dist/models/FieldValueFormat.js +1 -1
- package/dist/models/FileListPage.d.ts +1 -1
- package/dist/models/FileListPage.js +1 -1
- package/dist/models/FileListResponse.d.ts +1 -1
- package/dist/models/FileListResponse.js +1 -1
- package/dist/models/FileResponse.d.ts +1 -1
- package/dist/models/FileResponse.js +1 -1
- package/dist/models/GeminiProviderValidationRequest.d.ts +1 -1
- package/dist/models/GeminiProviderValidationRequest.js +1 -1
- package/dist/models/GeminiProviderWithDeploymentsCreate.d.ts +1 -1
- package/dist/models/GeminiProviderWithDeploymentsCreate.js +1 -1
- package/dist/models/GuardrailEventListResponse.d.ts +1 -1
- package/dist/models/GuardrailEventListResponse.js +1 -1
- package/dist/models/GuardrailEventResponse.d.ts +1 -1
- package/dist/models/GuardrailEventResponse.js +1 -1
- package/dist/models/GuardrailRow.d.ts +1 -1
- package/dist/models/GuardrailRow.js +1 -1
- package/dist/models/HTTPValidationError.d.ts +1 -1
- package/dist/models/HTTPValidationError.js +1 -1
- package/dist/models/HateoasLink.d.ts +1 -1
- package/dist/models/HateoasLink.js +1 -1
- package/dist/models/ImageGenerationCapability.d.ts +1 -1
- package/dist/models/ImageGenerationCapability.js +1 -1
- package/dist/models/ImageGenerationCapabilityCreate.d.ts +1 -1
- package/dist/models/ImageGenerationCapabilityCreate.js +1 -1
- package/dist/models/ImageGenerationCapabilityUpdate.d.ts +1 -1
- package/dist/models/ImageGenerationCapabilityUpdate.js +1 -1
- package/dist/models/InfiniteDataRetention.d.ts +1 -1
- package/dist/models/InfiniteDataRetention.js +1 -1
- package/dist/models/Input.d.ts +1 -1
- package/dist/models/Input.js +1 -1
- package/dist/models/InputAnyOfInner.d.ts +1 -1
- package/dist/models/InputAnyOfInner.js +1 -1
- package/dist/models/KeyConfigurationField.d.ts +1 -1
- package/dist/models/KeyConfigurationField.js +1 -1
- package/dist/models/Limits.d.ts +1 -1
- package/dist/models/Limits.js +1 -1
- package/dist/models/MCPAuthModeSchema.d.ts +1 -1
- package/dist/models/MCPAuthModeSchema.js +1 -1
- package/dist/models/MCPAuthSchema.d.ts +1 -1
- package/dist/models/MCPAuthSchema.js +1 -1
- package/dist/models/MCPConfigSchemaResponse.d.ts +1 -1
- package/dist/models/MCPConfigSchemaResponse.js +1 -1
- package/dist/models/MCPConnectionType.d.ts +1 -1
- package/dist/models/MCPConnectionType.js +1 -1
- package/dist/models/MCPResourceReadRequest.d.ts +1 -1
- package/dist/models/MCPResourceReadRequest.js +1 -1
- package/dist/models/MCPResourceReadResponse.d.ts +1 -1
- package/dist/models/MCPResourceReadResponse.js +1 -1
- package/dist/models/MCPServerBase.d.ts +1 -1
- package/dist/models/MCPServerBase.js +1 -1
- package/dist/models/MCPServerResponse.d.ts +1 -1
- package/dist/models/MCPServerResponse.js +1 -1
- package/dist/models/MCPToolCallRequest.d.ts +1 -1
- package/dist/models/MCPToolCallRequest.js +1 -1
- package/dist/models/MCPToolCallResponse.d.ts +1 -1
- package/dist/models/MCPToolCallResponse.js +1 -1
- package/dist/models/MLLMImage.d.ts +1 -1
- package/dist/models/MLLMImage.js +1 -1
- package/dist/models/Message.d.ts +1 -1
- package/dist/models/Message.js +1 -1
- package/dist/models/MetricData.d.ts +1 -1
- package/dist/models/MetricData.js +1 -1
- package/dist/models/MistralProviderValidationRequest.d.ts +1 -1
- package/dist/models/MistralProviderValidationRequest.js +1 -1
- package/dist/models/MistralProviderWithDeploymentsCreate.d.ts +1 -1
- package/dist/models/MistralProviderWithDeploymentsCreate.js +1 -1
- package/dist/models/Modality.d.ts +1 -1
- package/dist/models/Modality.js +1 -1
- package/dist/models/ModalitySupport.d.ts +1 -1
- package/dist/models/ModalitySupport.js +1 -1
- package/dist/models/ModelCapability.d.ts +1 -1
- package/dist/models/ModelCapability.js +1 -1
- package/dist/models/ModelCatalogEntry.d.ts +1 -1
- package/dist/models/ModelCatalogEntry.js +1 -1
- package/dist/models/ModelCatalogEntryResponse.d.ts +1 -1
- package/dist/models/ModelCatalogEntryResponse.js +1 -1
- package/dist/models/ModelCatalogListResponse.d.ts +1 -1
- package/dist/models/ModelCatalogListResponse.js +1 -1
- package/dist/models/ModelConfiguration.d.ts +1 -1
- package/dist/models/ModelConfiguration.js +1 -1
- package/dist/models/ModelDeployment.d.ts +1 -1
- package/dist/models/ModelDeployment.js +1 -1
- package/dist/models/ModelDeploymentCreate.d.ts +1 -1
- package/dist/models/ModelDeploymentCreate.js +1 -1
- package/dist/models/ModelDeploymentPool.d.ts +1 -1
- package/dist/models/ModelDeploymentPool.js +1 -1
- package/dist/models/ModelDeploymentPoolCreate.d.ts +1 -1
- package/dist/models/ModelDeploymentPoolCreate.js +1 -1
- package/dist/models/ModelDeploymentPoolUpdate.d.ts +1 -1
- package/dist/models/ModelDeploymentPoolUpdate.js +1 -1
- package/dist/models/ModelDeploymentUpdate.d.ts +1 -1
- package/dist/models/ModelDeploymentUpdate.js +1 -1
- package/dist/models/ModelHTTPMethod.d.ts +1 -1
- package/dist/models/ModelHTTPMethod.js +1 -1
- package/dist/models/ModelMode.d.ts +1 -1
- package/dist/models/ModelMode.js +1 -1
- package/dist/models/ModelProvider.d.ts +1 -1
- package/dist/models/ModelProvider.js +1 -1
- package/dist/models/ModelProviderCreate.d.ts +1 -1
- package/dist/models/ModelProviderCreate.js +1 -1
- package/dist/models/ModelProviderType.d.ts +1 -1
- package/dist/models/ModelProviderType.js +1 -1
- package/dist/models/ModelProviderUpdate.d.ts +1 -1
- package/dist/models/ModelProviderUpdate.js +1 -1
- package/dist/models/MultiSelectConfigurationField.d.ts +1 -1
- package/dist/models/MultiSelectConfigurationField.js +1 -1
- package/dist/models/NumberConfigurationField.d.ts +1 -1
- package/dist/models/NumberConfigurationField.js +1 -1
- package/dist/models/OllamaConfiguration.d.ts +1 -1
- package/dist/models/OllamaConfiguration.js +1 -1
- package/dist/models/OllamaProviderValidationRequest.d.ts +1 -1
- package/dist/models/OllamaProviderValidationRequest.js +1 -1
- package/dist/models/OllamaProviderWithDeploymentsCreate.d.ts +1 -1
- package/dist/models/OllamaProviderWithDeploymentsCreate.js +1 -1
- package/dist/models/OpenAIConfiguration.d.ts +1 -1
- package/dist/models/OpenAIConfiguration.js +1 -1
- package/dist/models/OpenAILikeConfiguration.d.ts +1 -1
- package/dist/models/OpenAILikeConfiguration.js +1 -1
- package/dist/models/OpenAILikeProviderValidationRequest.d.ts +1 -1
- package/dist/models/OpenAILikeProviderValidationRequest.js +1 -1
- package/dist/models/OpenAILikeProviderWithDeploymentsCreate.d.ts +1 -1
- package/dist/models/OpenAILikeProviderWithDeploymentsCreate.js +1 -1
- package/dist/models/OpenAIProviderValidationRequest.d.ts +1 -1
- package/dist/models/OpenAIProviderValidationRequest.js +1 -1
- package/dist/models/OpenAIProviderWithDeploymentsCreate.d.ts +1 -1
- package/dist/models/OpenAIProviderWithDeploymentsCreate.js +1 -1
- package/dist/models/OpenRouterProviderValidationRequest.d.ts +1 -1
- package/dist/models/OpenRouterProviderValidationRequest.js +1 -1
- package/dist/models/OpenRouterProviderWithDeploymentsCreate.d.ts +1 -1
- package/dist/models/OpenRouterProviderWithDeploymentsCreate.js +1 -1
- package/dist/models/Page.d.ts +1 -1
- package/dist/models/Page.js +1 -1
- package/dist/models/PagedResponseModelApiKey.d.ts +1 -1
- package/dist/models/PagedResponseModelApiKey.js +1 -1
- package/dist/models/PagedResponseModelCapability.d.ts +1 -1
- package/dist/models/PagedResponseModelCapability.js +1 -1
- package/dist/models/PagedResponseModelCapabilityEvaluationCriterionRepresentation.d.ts +1 -1
- package/dist/models/PagedResponseModelCapabilityEvaluationCriterionRepresentation.js +1 -1
- package/dist/models/PagedResponseModelCapabilityEvaluationCriterionTypeRepresentation.d.ts +1 -1
- package/dist/models/PagedResponseModelCapabilityEvaluationCriterionTypeRepresentation.js +1 -1
- package/dist/models/PagedResponseModelCapabilityEvaluationRepresentation.d.ts +1 -1
- package/dist/models/PagedResponseModelCapabilityEvaluationRepresentation.js +1 -1
- package/dist/models/PagedResponseModelCapabilityVersion.d.ts +1 -1
- package/dist/models/PagedResponseModelCapabilityVersion.js +1 -1
- package/dist/models/PagedResponseModelChatConversation.d.ts +1 -1
- package/dist/models/PagedResponseModelChatConversation.js +1 -1
- package/dist/models/PagedResponseModelCollection.d.ts +1 -1
- package/dist/models/PagedResponseModelCollection.js +1 -1
- package/dist/models/PagedResponseModelDocument.d.ts +1 -1
- package/dist/models/PagedResponseModelDocument.js +1 -1
- package/dist/models/PagedResponseModelEvaluationCriterionExecutionRepresentation.d.ts +1 -1
- package/dist/models/PagedResponseModelEvaluationCriterionExecutionRepresentation.js +1 -1
- package/dist/models/PagedResponseModelEvaluationDatasetItemRepresentation.d.ts +1 -1
- package/dist/models/PagedResponseModelEvaluationDatasetItemRepresentation.js +1 -1
- package/dist/models/PagedResponseModelEvaluationDatasetRepresentation.d.ts +1 -1
- package/dist/models/PagedResponseModelEvaluationDatasetRepresentation.js +1 -1
- package/dist/models/PagedResponseModelEvaluationExecutionRepresentation.d.ts +1 -1
- package/dist/models/PagedResponseModelEvaluationExecutionRepresentation.js +1 -1
- package/dist/models/PagedResponseModelExecutionSparse.d.ts +1 -1
- package/dist/models/PagedResponseModelExecutionSparse.js +1 -1
- package/dist/models/PagedResponseModelFeedback.d.ts +1 -1
- package/dist/models/PagedResponseModelFeedback.js +1 -1
- package/dist/models/PagedResponseModelMCPServerResponse.d.ts +1 -1
- package/dist/models/PagedResponseModelMCPServerResponse.js +1 -1
- package/dist/models/PagedResponseModelModelDeployment.d.ts +1 -1
- package/dist/models/PagedResponseModelModelDeployment.js +1 -1
- package/dist/models/PagedResponseModelModelDeploymentPool.d.ts +1 -1
- package/dist/models/PagedResponseModelModelDeploymentPool.js +1 -1
- package/dist/models/PagedResponseModelModelProvider.d.ts +1 -1
- package/dist/models/PagedResponseModelModelProvider.js +1 -1
- package/dist/models/PagedResponseModelModelProviderType.d.ts +1 -1
- package/dist/models/PagedResponseModelModelProviderType.js +1 -1
- package/dist/models/PagedResponseModelProject.d.ts +1 -1
- package/dist/models/PagedResponseModelProject.js +1 -1
- package/dist/models/PagedResponseModelRole.d.ts +1 -1
- package/dist/models/PagedResponseModelRole.js +1 -1
- package/dist/models/PagedResponseModelUserRBAC.d.ts +1 -1
- package/dist/models/PagedResponseModelUserRBAC.js +1 -1
- package/dist/models/Permission.d.ts +1 -1
- package/dist/models/Permission.js +1 -1
- package/dist/models/PermissionItem.d.ts +1 -1
- package/dist/models/PermissionItem.js +1 -1
- package/dist/models/PiiDetectionDirectionRequirement.d.ts +1 -1
- package/dist/models/PiiDetectionDirectionRequirement.js +1 -1
- package/dist/models/PiiDetectionRequirementInput.d.ts +1 -1
- package/dist/models/PiiDetectionRequirementInput.js +1 -1
- package/dist/models/PiiDetectionRequirementOutput.d.ts +1 -1
- package/dist/models/PiiDetectionRequirementOutput.js +1 -1
- package/dist/models/PiiEnforcementMode.d.ts +1 -1
- package/dist/models/PiiEnforcementMode.js +1 -1
- package/dist/models/PiiEntity.d.ts +1 -1
- package/dist/models/PiiEntity.js +1 -1
- package/dist/models/PolicyComplianceResult.d.ts +1 -1
- package/dist/models/PolicyComplianceResult.js +1 -1
- package/dist/models/PolicyControlsInput.d.ts +1 -1
- package/dist/models/PolicyControlsInput.js +1 -1
- package/dist/models/PolicyControlsOutput.d.ts +1 -1
- package/dist/models/PolicyControlsOutput.js +1 -1
- package/dist/models/PolicyCreate.d.ts +1 -1
- package/dist/models/PolicyCreate.js +1 -1
- package/dist/models/PolicyImpactResponse.d.ts +1 -1
- package/dist/models/PolicyImpactResponse.js +1 -1
- package/dist/models/PolicyResponse.d.ts +1 -1
- package/dist/models/PolicyResponse.js +1 -1
- package/dist/models/PolicyScopeType.d.ts +1 -1
- package/dist/models/PolicyScopeType.js +1 -1
- package/dist/models/PolicyUpdate.d.ts +1 -1
- package/dist/models/PolicyUpdate.js +1 -1
- package/dist/models/PoolFallbackMode.d.ts +1 -1
- package/dist/models/PoolFallbackMode.js +1 -1
- package/dist/models/PoolMember.d.ts +1 -1
- package/dist/models/PoolMember.js +1 -1
- package/dist/models/PoolMemberCreate.d.ts +1 -1
- package/dist/models/PoolMemberCreate.js +1 -1
- package/dist/models/PoolMemberUpdate.d.ts +1 -1
- package/dist/models/PoolMemberUpdate.js +1 -1
- package/dist/models/PoolStrategy.d.ts +1 -1
- package/dist/models/PoolStrategy.js +1 -1
- package/dist/models/Price.d.ts +1 -1
- package/dist/models/Price.js +1 -1
- package/dist/models/Project.d.ts +1 -1
- package/dist/models/Project.js +1 -1
- package/dist/models/ProjectCreate.d.ts +1 -1
- package/dist/models/ProjectCreate.js +1 -1
- package/dist/models/ProjectUpdate.d.ts +1 -1
- package/dist/models/ProjectUpdate.js +1 -1
- package/dist/models/ProviderHealthResponse.d.ts +1 -1
- package/dist/models/ProviderHealthResponse.js +1 -1
- package/dist/models/ProviderListResponse.d.ts +1 -1
- package/dist/models/ProviderListResponse.js +1 -1
- package/dist/models/ProviderSummary.d.ts +1 -1
- package/dist/models/ProviderSummary.js +1 -1
- package/dist/models/ProviderValidationResponse.d.ts +1 -1
- package/dist/models/ProviderValidationResponse.js +1 -1
- package/dist/models/RawIds.d.ts +1 -1
- package/dist/models/RawIds.js +1 -1
- package/dist/models/RemoveControlsResponse.d.ts +1 -1
- package/dist/models/RemoveControlsResponse.js +1 -1
- package/dist/models/RemovedControl.d.ts +1 -1
- package/dist/models/RemovedControl.js +1 -1
- package/dist/models/Request.d.ts +1 -1
- package/dist/models/Request.js +1 -1
- package/dist/models/ResponseCreateCapabilityV1CapabilitiesPost.d.ts +1 -1
- package/dist/models/ResponseCreateCapabilityV1CapabilitiesPost.js +1 -1
- package/dist/models/Role.d.ts +1 -1
- package/dist/models/Role.js +1 -1
- package/dist/models/RoleCreate.d.ts +1 -1
- package/dist/models/RoleCreate.js +1 -1
- package/dist/models/RoleUpdate.d.ts +1 -1
- package/dist/models/RoleUpdate.js +1 -1
- package/dist/models/ScanCategory.d.ts +1 -1
- package/dist/models/ScanCategory.js +1 -1
- package/dist/models/ScanDirection.d.ts +1 -1
- package/dist/models/ScanDirection.js +1 -1
- package/dist/models/ScanResult.d.ts +1 -1
- package/dist/models/ScanResult.js +1 -1
- package/dist/models/SchemaPropertyInput.d.ts +1 -1
- package/dist/models/SchemaPropertyInput.js +1 -1
- package/dist/models/SchemaPropertyOutput.d.ts +1 -1
- package/dist/models/SchemaPropertyOutput.js +1 -1
- package/dist/models/SourceObservation.d.ts +1 -1
- package/dist/models/SourceObservation.js +1 -1
- package/dist/models/SourceObservationAny.d.ts +1 -1
- package/dist/models/SourceObservationAny.js +1 -1
- package/dist/models/SpeechToTextCapability.d.ts +1 -1
- package/dist/models/SpeechToTextCapability.js +1 -1
- package/dist/models/SpeechToTextCapabilityCreate.d.ts +1 -1
- package/dist/models/SpeechToTextCapabilityCreate.js +1 -1
- package/dist/models/SpeechToTextCapabilityUpdate.d.ts +1 -1
- package/dist/models/SpeechToTextCapabilityUpdate.js +1 -1
- package/dist/models/StreamingTransport.d.ts +1 -1
- package/dist/models/StreamingTransport.js +1 -1
- package/dist/models/StringArrayConfigurationField.d.ts +1 -1
- package/dist/models/StringArrayConfigurationField.js +1 -1
- package/dist/models/TestResult.d.ts +1 -1
- package/dist/models/TestResult.js +1 -1
- package/dist/models/TextConfigurationField.d.ts +1 -1
- package/dist/models/TextConfigurationField.js +1 -1
- package/dist/models/TimedDataRetention.d.ts +1 -1
- package/dist/models/TimedDataRetention.js +1 -1
- package/dist/models/ToolCallFunction.d.ts +1 -1
- package/dist/models/ToolCallFunction.js +1 -1
- package/dist/models/ToolCallMessage.d.ts +1 -1
- package/dist/models/ToolCallMessage.js +1 -1
- package/dist/models/UrlConfigurationField.d.ts +1 -1
- package/dist/models/UrlConfigurationField.js +1 -1
- package/dist/models/UserRBAC.d.ts +1 -1
- package/dist/models/UserRBAC.js +1 -1
- package/dist/models/UserUpdate.d.ts +1 -1
- package/dist/models/UserUpdate.js +1 -1
- package/dist/models/ValidationError.d.ts +1 -1
- package/dist/models/ValidationError.js +1 -1
- package/dist/models/ValidationErrorLocInner.d.ts +1 -1
- package/dist/models/ValidationErrorLocInner.js +1 -1
- package/dist/models/VertexAIConfiguration.d.ts +1 -1
- package/dist/models/VertexAIConfiguration.js +1 -1
- package/dist/models/VertexAiProviderValidationRequest.d.ts +1 -1
- package/dist/models/VertexAiProviderValidationRequest.js +1 -1
- package/dist/models/VertexAiProviderWithDeploymentsCreate.d.ts +1 -1
- package/dist/models/VertexAiProviderWithDeploymentsCreate.js +1 -1
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +1 -1
- package/package.json +1 -1
- package/src/apis/APIKeysApi.ts +1 -1
- package/src/apis/AuthApi.ts +1 -1
- package/src/apis/CapabilitiesApi.ts +890 -77
- package/src/apis/CapabilityEvaluationsApi.ts +1 -1
- package/src/apis/CapabilityTypesApi.ts +1 -1
- package/src/apis/ComplianceApi.ts +1 -1
- package/src/apis/ConversationsApi.ts +1 -1
- package/src/apis/CriterionTypesApi.ts +1 -1
- package/src/apis/DefaultApi.ts +1 -1
- package/src/apis/EvaluationDatasetsApi.ts +1 -1
- package/src/apis/KnowledgeCollectionsApi.ts +1 -1
- package/src/apis/MCPServersApi.ts +1 -1
- package/src/apis/ModelCatalogApi.ts +1 -1
- package/src/apis/ModelDeploymentPoolsApi.ts +1 -1
- package/src/apis/ModelDeploymentsApi.ts +1 -1
- package/src/apis/ModelDiscoveryApi.ts +1 -1
- package/src/apis/ModelProviderTypesApi.ts +1 -1
- package/src/apis/ModelProvidersApi.ts +1 -1
- package/src/apis/ProjectsApi.ts +1 -1
- package/src/apis/RBACAdminApi.ts +1 -1
- package/src/models/ActualOutput.ts +1 -1
- package/src/models/AnthropicConfiguration.ts +1 -1
- package/src/models/AnthropicProviderValidationRequest.ts +1 -1
- package/src/models/AnthropicProviderWithDeploymentsCreate.ts +1 -1
- package/src/models/ApiKey.ts +1 -1
- package/src/models/ApiKeyCreate.ts +1 -1
- package/src/models/ApplicablePolicyResponse.ts +1 -1
- package/src/models/AppliedControl.ts +1 -1
- package/src/models/ApplyControlsResponse.ts +1 -1
- package/src/models/AssetResponse.ts +1 -1
- package/src/models/AuthMeResponse.ts +1 -1
- package/src/models/AvailableModel.ts +1 -1
- package/src/models/AzureAiProviderValidationRequest.ts +1 -1
- package/src/models/AzureAiProviderWithDeploymentsCreate.ts +1 -1
- package/src/models/AzureConfiguration.ts +1 -1
- package/src/models/AzureProviderValidationRequest.ts +1 -1
- package/src/models/AzureProviderWithDeploymentsCreate.ts +1 -1
- package/src/models/AzureSpeechProviderValidationRequest.ts +1 -1
- package/src/models/AzureSpeechProviderWithDeploymentsCreate.ts +1 -1
- package/src/models/BadgeResponse.ts +1 -1
- package/src/models/BedrockConfiguration.ts +1 -1
- package/src/models/BedrockProviderValidationRequest.ts +1 -1
- package/src/models/BedrockProviderWithDeploymentsCreate.ts +1 -1
- package/src/models/BlobConfig.ts +1 -1
- package/src/models/BooleanConfigurationField.ts +1 -1
- package/src/models/Capability.ts +1 -1
- package/src/models/Capability1.ts +1 -1
- package/src/models/Capability2.ts +1 -1
- package/src/models/CapabilityConfig.ts +1 -1
- package/src/models/CapabilityCriterionOperationType.ts +1 -1
- package/src/models/CapabilityCriterionType.ts +1 -1
- package/src/models/CapabilityEvaluationConfiguration.ts +1 -1
- package/src/models/CapabilityEvaluationCreate.ts +1 -1
- package/src/models/CapabilityEvaluationCriterionCreate.ts +1 -1
- package/src/models/CapabilityEvaluationCriterionRepresentation.ts +1 -1
- package/src/models/CapabilityEvaluationCriterionTypeRepresentation.ts +1 -1
- package/src/models/CapabilityEvaluationRepresentation.ts +1 -1
- package/src/models/CapabilityEvaluationUpdate.ts +1 -1
- package/src/models/CapabilityId.ts +1 -1
- package/src/models/CapabilityId1.ts +1 -1
- package/src/models/CapabilityRepresentation.ts +1 -1
- package/src/models/CapabilitySetDefaultVersionRequest.ts +1 -1
- package/src/models/CapabilityType.ts +1 -1
- package/src/models/CapabilityTypeRepresentation.ts +1 -1
- package/src/models/CapabilityTypesRepresentation.ts +1 -1
- package/src/models/CapabilityVersion.ts +1 -1
- package/src/models/CatalogSource.ts +1 -1
- package/src/models/CatalogSourceSnapshot.ts +1 -1
- package/src/models/CatalogStalenessMetadata.ts +1 -1
- package/src/models/ChatCapability.ts +1 -1
- package/src/models/ChatCapabilityCreate.ts +1 -1
- package/src/models/ChatCapabilityUpdate.ts +1 -1
- package/src/models/ChatConversation.ts +1 -1
- package/src/models/Collection.ts +1 -1
- package/src/models/CollectionCreate.ts +1 -1
- package/src/models/CollectionUpdate.ts +1 -1
- package/src/models/CompletionCapability.ts +1 -1
- package/src/models/CompletionCapabilityCreate.ts +1 -1
- package/src/models/CompletionCapabilityUpdate.ts +1 -1
- package/src/models/ComplianceStatus.ts +1 -1
- package/src/models/ComplianceSummary.ts +1 -1
- package/src/models/ConfigurationField.ts +1 -1
- package/src/models/ConfigurationFieldOption.ts +1 -1
- package/src/models/ConflictView.ts +1 -1
- package/src/models/ConnectedCapabilityResponse.ts +1 -1
- package/src/models/Content.ts +1 -1
- package/src/models/ControlComplianceStatus.ts +1 -1
- package/src/models/ControlResult.ts +1 -1
- package/src/models/Data.ts +1 -1
- package/src/models/DataRetention.ts +1 -1
- package/src/models/DefaultModelDeploymentUpdate.ts +1 -1
- package/src/models/DeploymentCreate.ts +1 -1
- package/src/models/DeploymentHealthResponse.ts +1 -1
- package/src/models/Document.ts +1 -1
- package/src/models/DocumentEmbeddingResponse.ts +1 -1
- package/src/models/DryRunRequest.ts +1 -1
- package/src/models/DryRunResponse.ts +1 -1
- package/src/models/EvaluationCriterionExecutionRepresentation.ts +1 -1
- package/src/models/EvaluationCriterionExecutionResult.ts +1 -1
- package/src/models/EvaluationDatasetConfigurationBase.ts +1 -1
- package/src/models/EvaluationDatasetCreate.ts +1 -1
- package/src/models/EvaluationDatasetItemCreate.ts +1 -1
- package/src/models/EvaluationDatasetItemRepresentation.ts +1 -1
- package/src/models/EvaluationDatasetItemUpdate.ts +1 -1
- package/src/models/EvaluationDatasetOutputType.ts +1 -1
- package/src/models/EvaluationDatasetRepresentation.ts +1 -1
- package/src/models/EvaluationDatasetUpdate.ts +1 -1
- package/src/models/EvaluationExecutionConfiguration.ts +1 -1
- package/src/models/EvaluationExecutionCreate.ts +1 -1
- package/src/models/EvaluationExecutionData.ts +1 -1
- package/src/models/EvaluationExecutionMode.ts +1 -1
- package/src/models/EvaluationExecutionProgress.ts +1 -1
- package/src/models/EvaluationExecutionRepresentation.ts +1 -1
- package/src/models/EvaluationExecutionStatus.ts +1 -1
- package/src/models/Execution.ts +1 -1
- package/src/models/ExecutionCallback.ts +1 -1
- package/src/models/ExecutionContext.ts +1 -1
- package/src/models/ExecutionCreate.ts +1 -1
- package/src/models/ExecutionError.ts +107 -0
- package/src/models/ExecutionResult.ts +1 -1
- package/src/models/ExecutionSparse.ts +1 -1
- package/src/models/ExecutionStatus.ts +1 -1
- package/src/models/ExecutionUsage.ts +1 -1
- package/src/models/ExtractionCapability.ts +1 -1
- package/src/models/ExtractionCapabilityCreate.ts +1 -1
- package/src/models/ExtractionCapabilityUpdate.ts +1 -1
- package/src/models/Feedback.ts +1 -1
- package/src/models/FeedbackCreate.ts +1 -1
- package/src/models/FeedbackSentiment.ts +1 -1
- package/src/models/FieldProvenanceAny.ts +1 -1
- package/src/models/FieldValueFormat.ts +1 -1
- package/src/models/FileListPage.ts +1 -1
- package/src/models/FileListResponse.ts +1 -1
- package/src/models/FileResponse.ts +1 -1
- package/src/models/GeminiProviderValidationRequest.ts +1 -1
- package/src/models/GeminiProviderWithDeploymentsCreate.ts +1 -1
- package/src/models/GuardrailEventListResponse.ts +1 -1
- package/src/models/GuardrailEventResponse.ts +1 -1
- package/src/models/GuardrailRow.ts +1 -1
- package/src/models/HTTPValidationError.ts +1 -1
- package/src/models/HateoasLink.ts +1 -1
- package/src/models/ImageGenerationCapability.ts +1 -1
- package/src/models/ImageGenerationCapabilityCreate.ts +1 -1
- package/src/models/ImageGenerationCapabilityUpdate.ts +1 -1
- package/src/models/InfiniteDataRetention.ts +1 -1
- package/src/models/Input.ts +1 -1
- package/src/models/InputAnyOfInner.ts +1 -1
- package/src/models/KeyConfigurationField.ts +1 -1
- package/src/models/Limits.ts +1 -1
- package/src/models/MCPAuthModeSchema.ts +1 -1
- package/src/models/MCPAuthSchema.ts +1 -1
- package/src/models/MCPConfigSchemaResponse.ts +1 -1
- package/src/models/MCPConnectionType.ts +1 -1
- package/src/models/MCPResourceReadRequest.ts +1 -1
- package/src/models/MCPResourceReadResponse.ts +1 -1
- package/src/models/MCPServerBase.ts +1 -1
- package/src/models/MCPServerResponse.ts +1 -1
- package/src/models/MCPToolCallRequest.ts +1 -1
- package/src/models/MCPToolCallResponse.ts +1 -1
- package/src/models/MLLMImage.ts +1 -1
- package/src/models/Message.ts +1 -1
- package/src/models/MetricData.ts +1 -1
- package/src/models/MistralProviderValidationRequest.ts +1 -1
- package/src/models/MistralProviderWithDeploymentsCreate.ts +1 -1
- package/src/models/Modality.ts +1 -1
- package/src/models/ModalitySupport.ts +1 -1
- package/src/models/ModelCapability.ts +1 -1
- package/src/models/ModelCatalogEntry.ts +1 -1
- package/src/models/ModelCatalogEntryResponse.ts +1 -1
- package/src/models/ModelCatalogListResponse.ts +1 -1
- package/src/models/ModelConfiguration.ts +1 -1
- package/src/models/ModelDeployment.ts +1 -1
- package/src/models/ModelDeploymentCreate.ts +1 -1
- package/src/models/ModelDeploymentPool.ts +1 -1
- package/src/models/ModelDeploymentPoolCreate.ts +1 -1
- package/src/models/ModelDeploymentPoolUpdate.ts +1 -1
- package/src/models/ModelDeploymentUpdate.ts +1 -1
- package/src/models/ModelHTTPMethod.ts +1 -1
- package/src/models/ModelMode.ts +1 -1
- package/src/models/ModelProvider.ts +1 -1
- package/src/models/ModelProviderCreate.ts +1 -1
- package/src/models/ModelProviderType.ts +1 -1
- package/src/models/ModelProviderUpdate.ts +1 -1
- package/src/models/MultiSelectConfigurationField.ts +1 -1
- package/src/models/NumberConfigurationField.ts +1 -1
- package/src/models/OllamaConfiguration.ts +1 -1
- package/src/models/OllamaProviderValidationRequest.ts +1 -1
- package/src/models/OllamaProviderWithDeploymentsCreate.ts +1 -1
- package/src/models/OpenAIConfiguration.ts +1 -1
- package/src/models/OpenAILikeConfiguration.ts +1 -1
- package/src/models/OpenAILikeProviderValidationRequest.ts +1 -1
- package/src/models/OpenAILikeProviderWithDeploymentsCreate.ts +1 -1
- package/src/models/OpenAIProviderValidationRequest.ts +1 -1
- package/src/models/OpenAIProviderWithDeploymentsCreate.ts +1 -1
- package/src/models/OpenRouterProviderValidationRequest.ts +1 -1
- package/src/models/OpenRouterProviderWithDeploymentsCreate.ts +1 -1
- package/src/models/Page.ts +1 -1
- package/src/models/PagedResponseModelApiKey.ts +1 -1
- package/src/models/PagedResponseModelCapability.ts +1 -1
- package/src/models/PagedResponseModelCapabilityEvaluationCriterionRepresentation.ts +1 -1
- package/src/models/PagedResponseModelCapabilityEvaluationCriterionTypeRepresentation.ts +1 -1
- package/src/models/PagedResponseModelCapabilityEvaluationRepresentation.ts +1 -1
- package/src/models/PagedResponseModelCapabilityVersion.ts +1 -1
- package/src/models/PagedResponseModelChatConversation.ts +1 -1
- package/src/models/PagedResponseModelCollection.ts +1 -1
- package/src/models/PagedResponseModelDocument.ts +1 -1
- package/src/models/PagedResponseModelEvaluationCriterionExecutionRepresentation.ts +1 -1
- package/src/models/PagedResponseModelEvaluationDatasetItemRepresentation.ts +1 -1
- package/src/models/PagedResponseModelEvaluationDatasetRepresentation.ts +1 -1
- package/src/models/PagedResponseModelEvaluationExecutionRepresentation.ts +1 -1
- package/src/models/PagedResponseModelExecutionSparse.ts +1 -1
- package/src/models/PagedResponseModelFeedback.ts +1 -1
- package/src/models/PagedResponseModelMCPServerResponse.ts +1 -1
- package/src/models/PagedResponseModelModelDeployment.ts +1 -1
- package/src/models/PagedResponseModelModelDeploymentPool.ts +1 -1
- package/src/models/PagedResponseModelModelProvider.ts +1 -1
- package/src/models/PagedResponseModelModelProviderType.ts +1 -1
- package/src/models/PagedResponseModelProject.ts +1 -1
- package/src/models/PagedResponseModelRole.ts +1 -1
- package/src/models/PagedResponseModelUserRBAC.ts +1 -1
- package/src/models/Permission.ts +1 -1
- package/src/models/PermissionItem.ts +1 -1
- package/src/models/PiiDetectionDirectionRequirement.ts +1 -1
- package/src/models/PiiDetectionRequirementInput.ts +1 -1
- package/src/models/PiiDetectionRequirementOutput.ts +1 -1
- package/src/models/PiiEnforcementMode.ts +1 -1
- package/src/models/PiiEntity.ts +1 -1
- package/src/models/PolicyComplianceResult.ts +1 -1
- package/src/models/PolicyControlsInput.ts +1 -1
- package/src/models/PolicyControlsOutput.ts +1 -1
- package/src/models/PolicyCreate.ts +1 -1
- package/src/models/PolicyImpactResponse.ts +1 -1
- package/src/models/PolicyResponse.ts +1 -1
- package/src/models/PolicyScopeType.ts +1 -1
- package/src/models/PolicyUpdate.ts +1 -1
- package/src/models/PoolFallbackMode.ts +1 -1
- package/src/models/PoolMember.ts +1 -1
- package/src/models/PoolMemberCreate.ts +1 -1
- package/src/models/PoolMemberUpdate.ts +1 -1
- package/src/models/PoolStrategy.ts +1 -1
- package/src/models/Price.ts +1 -1
- package/src/models/Project.ts +1 -1
- package/src/models/ProjectCreate.ts +1 -1
- package/src/models/ProjectUpdate.ts +1 -1
- package/src/models/ProviderHealthResponse.ts +1 -1
- package/src/models/ProviderListResponse.ts +1 -1
- package/src/models/ProviderSummary.ts +1 -1
- package/src/models/ProviderValidationResponse.ts +1 -1
- package/src/models/RawIds.ts +1 -1
- package/src/models/RemoveControlsResponse.ts +1 -1
- package/src/models/RemovedControl.ts +1 -1
- package/src/models/Request.ts +1 -1
- package/src/models/ResponseCreateCapabilityV1CapabilitiesPost.ts +1 -1
- package/src/models/Role.ts +1 -1
- package/src/models/RoleCreate.ts +1 -1
- package/src/models/RoleUpdate.ts +1 -1
- package/src/models/ScanCategory.ts +1 -1
- package/src/models/ScanDirection.ts +1 -1
- package/src/models/ScanResult.ts +1 -1
- package/src/models/SchemaPropertyInput.ts +1 -1
- package/src/models/SchemaPropertyOutput.ts +1 -1
- package/src/models/SourceObservation.ts +1 -1
- package/src/models/SourceObservationAny.ts +1 -1
- package/src/models/SpeechToTextCapability.ts +1 -1
- package/src/models/SpeechToTextCapabilityCreate.ts +1 -1
- package/src/models/SpeechToTextCapabilityUpdate.ts +1 -1
- package/src/models/StreamingTransport.ts +1 -1
- package/src/models/StringArrayConfigurationField.ts +1 -1
- package/src/models/TestResult.ts +1 -1
- package/src/models/TextConfigurationField.ts +1 -1
- package/src/models/TimedDataRetention.ts +1 -1
- package/src/models/ToolCallFunction.ts +1 -1
- package/src/models/ToolCallMessage.ts +1 -1
- package/src/models/UrlConfigurationField.ts +1 -1
- package/src/models/UserRBAC.ts +1 -1
- package/src/models/UserUpdate.ts +1 -1
- package/src/models/ValidationError.ts +1 -1
- package/src/models/ValidationErrorLocInner.ts +1 -1
- package/src/models/VertexAIConfiguration.ts +1 -1
- package/src/models/VertexAiProviderValidationRequest.ts +1 -1
- package/src/models/VertexAiProviderWithDeploymentsCreate.ts +1 -1
- package/src/models/index.ts +1 -0
- package/src/runtime.ts +1 -1
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Corax API
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: v2.
|
|
8
|
+
* The version of the OpenAPI document: v2.337.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -274,6 +274,74 @@ var CapabilitiesApi = /** @class */ (function (_super) {
|
|
|
274
274
|
});
|
|
275
275
|
});
|
|
276
276
|
};
|
|
277
|
+
/**
|
|
278
|
+
* Delete feedback authored for an execution.
|
|
279
|
+
* Delete Feedback
|
|
280
|
+
*/
|
|
281
|
+
CapabilitiesApi.prototype.deleteFeedbackV1CapabilitiesCapabilityIdExecutionsExecutionIdFeedbackDelete_1Raw = function (requestParameters, initOverrides) {
|
|
282
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
283
|
+
var queryParameters, headerParameters, _a, _b, token, tokenString, urlPath, response;
|
|
284
|
+
return __generator(this, function (_c) {
|
|
285
|
+
switch (_c.label) {
|
|
286
|
+
case 0:
|
|
287
|
+
if (requestParameters['executionId'] == null) {
|
|
288
|
+
throw new runtime.RequiredError('executionId', 'Required parameter "executionId" was null or undefined when calling deleteFeedbackV1CapabilitiesCapabilityIdExecutionsExecutionIdFeedbackDelete_1().');
|
|
289
|
+
}
|
|
290
|
+
if (requestParameters['capabilityId'] == null) {
|
|
291
|
+
throw new runtime.RequiredError('capabilityId', 'Required parameter "capabilityId" was null or undefined when calling deleteFeedbackV1CapabilitiesCapabilityIdExecutionsExecutionIdFeedbackDelete_1().');
|
|
292
|
+
}
|
|
293
|
+
queryParameters = {};
|
|
294
|
+
headerParameters = {};
|
|
295
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
|
|
296
|
+
_a = headerParameters;
|
|
297
|
+
_b = "X-API-Key";
|
|
298
|
+
return [4 /*yield*/, this.configuration.apiKey("X-API-Key")];
|
|
299
|
+
case 1:
|
|
300
|
+
_a[_b] = _c.sent(); // APIKeyHeader authentication
|
|
301
|
+
_c.label = 2;
|
|
302
|
+
case 2:
|
|
303
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
|
|
304
|
+
token = this.configuration.accessToken;
|
|
305
|
+
return [4 /*yield*/, token("HTTPBearer", [])];
|
|
306
|
+
case 3:
|
|
307
|
+
tokenString = _c.sent();
|
|
308
|
+
if (tokenString) {
|
|
309
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
310
|
+
}
|
|
311
|
+
_c.label = 4;
|
|
312
|
+
case 4:
|
|
313
|
+
urlPath = "/v1/capabilities/{capability_id}/executions/{execution_id}/feedback";
|
|
314
|
+
urlPath = urlPath.replace("{".concat("execution_id", "}"), encodeURIComponent(String(requestParameters['executionId'])));
|
|
315
|
+
urlPath = urlPath.replace("{".concat("capability_id", "}"), encodeURIComponent(String(requestParameters['capabilityId'])));
|
|
316
|
+
return [4 /*yield*/, this.request({
|
|
317
|
+
path: urlPath,
|
|
318
|
+
method: 'DELETE',
|
|
319
|
+
headers: headerParameters,
|
|
320
|
+
query: queryParameters,
|
|
321
|
+
}, initOverrides)];
|
|
322
|
+
case 5:
|
|
323
|
+
response = _c.sent();
|
|
324
|
+
return [2 /*return*/, new runtime.VoidApiResponse(response)];
|
|
325
|
+
}
|
|
326
|
+
});
|
|
327
|
+
});
|
|
328
|
+
};
|
|
329
|
+
/**
|
|
330
|
+
* Delete feedback authored for an execution.
|
|
331
|
+
* Delete Feedback
|
|
332
|
+
*/
|
|
333
|
+
CapabilitiesApi.prototype.deleteFeedbackV1CapabilitiesCapabilityIdExecutionsExecutionIdFeedbackDelete_1 = function (requestParameters, initOverrides) {
|
|
334
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
335
|
+
return __generator(this, function (_a) {
|
|
336
|
+
switch (_a.label) {
|
|
337
|
+
case 0: return [4 /*yield*/, this.deleteFeedbackV1CapabilitiesCapabilityIdExecutionsExecutionIdFeedbackDelete_1Raw(requestParameters, initOverrides)];
|
|
338
|
+
case 1:
|
|
339
|
+
_a.sent();
|
|
340
|
+
return [2 /*return*/];
|
|
341
|
+
}
|
|
342
|
+
});
|
|
343
|
+
});
|
|
344
|
+
};
|
|
277
345
|
/**
|
|
278
346
|
* Execute a capability with type-specific payload format
|
|
279
347
|
* Execute Capability
|
|
@@ -351,6 +419,83 @@ var CapabilitiesApi = /** @class */ (function (_super) {
|
|
|
351
419
|
});
|
|
352
420
|
});
|
|
353
421
|
};
|
|
422
|
+
/**
|
|
423
|
+
* Execute a capability with type-specific payload format
|
|
424
|
+
* Execute Capability
|
|
425
|
+
*/
|
|
426
|
+
CapabilitiesApi.prototype.executeCapabilityV1CapabilitiesCapabilityIdExecutionsPost_2Raw = function (requestParameters, initOverrides) {
|
|
427
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
428
|
+
var queryParameters, headerParameters, _a, _b, token, tokenString, urlPath, response;
|
|
429
|
+
return __generator(this, function (_c) {
|
|
430
|
+
switch (_c.label) {
|
|
431
|
+
case 0:
|
|
432
|
+
if (requestParameters['capabilityId'] == null) {
|
|
433
|
+
throw new runtime.RequiredError('capabilityId', 'Required parameter "capabilityId" was null or undefined when calling executeCapabilityV1CapabilitiesCapabilityIdExecutionsPost_2().');
|
|
434
|
+
}
|
|
435
|
+
if (requestParameters['executionCreate'] == null) {
|
|
436
|
+
throw new runtime.RequiredError('executionCreate', 'Required parameter "executionCreate" was null or undefined when calling executeCapabilityV1CapabilitiesCapabilityIdExecutionsPost_2().');
|
|
437
|
+
}
|
|
438
|
+
queryParameters = {};
|
|
439
|
+
if (requestParameters['stream'] != null) {
|
|
440
|
+
queryParameters['stream'] = requestParameters['stream'];
|
|
441
|
+
}
|
|
442
|
+
if (requestParameters['streamTransport'] != null) {
|
|
443
|
+
queryParameters['stream_transport'] = requestParameters['streamTransport'];
|
|
444
|
+
}
|
|
445
|
+
headerParameters = {};
|
|
446
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
447
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
|
|
448
|
+
_a = headerParameters;
|
|
449
|
+
_b = "X-API-Key";
|
|
450
|
+
return [4 /*yield*/, this.configuration.apiKey("X-API-Key")];
|
|
451
|
+
case 1:
|
|
452
|
+
_a[_b] = _c.sent(); // APIKeyHeader authentication
|
|
453
|
+
_c.label = 2;
|
|
454
|
+
case 2:
|
|
455
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
|
|
456
|
+
token = this.configuration.accessToken;
|
|
457
|
+
return [4 /*yield*/, token("HTTPBearer", [])];
|
|
458
|
+
case 3:
|
|
459
|
+
tokenString = _c.sent();
|
|
460
|
+
if (tokenString) {
|
|
461
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
462
|
+
}
|
|
463
|
+
_c.label = 4;
|
|
464
|
+
case 4:
|
|
465
|
+
urlPath = "/v1/capabilities/{capability_id}/executions";
|
|
466
|
+
urlPath = urlPath.replace("{".concat("capability_id", "}"), encodeURIComponent(String(requestParameters['capabilityId'])));
|
|
467
|
+
return [4 /*yield*/, this.request({
|
|
468
|
+
path: urlPath,
|
|
469
|
+
method: 'POST',
|
|
470
|
+
headers: headerParameters,
|
|
471
|
+
query: queryParameters,
|
|
472
|
+
body: (0, index_1.ExecutionCreateToJSON)(requestParameters['executionCreate']),
|
|
473
|
+
}, initOverrides)];
|
|
474
|
+
case 5:
|
|
475
|
+
response = _c.sent();
|
|
476
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ExecutionFromJSON)(jsonValue); })];
|
|
477
|
+
}
|
|
478
|
+
});
|
|
479
|
+
});
|
|
480
|
+
};
|
|
481
|
+
/**
|
|
482
|
+
* Execute a capability with type-specific payload format
|
|
483
|
+
* Execute Capability
|
|
484
|
+
*/
|
|
485
|
+
CapabilitiesApi.prototype.executeCapabilityV1CapabilitiesCapabilityIdExecutionsPost_2 = function (requestParameters, initOverrides) {
|
|
486
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
487
|
+
var response;
|
|
488
|
+
return __generator(this, function (_a) {
|
|
489
|
+
switch (_a.label) {
|
|
490
|
+
case 0: return [4 /*yield*/, this.executeCapabilityV1CapabilitiesCapabilityIdExecutionsPost_2Raw(requestParameters, initOverrides)];
|
|
491
|
+
case 1:
|
|
492
|
+
response = _a.sent();
|
|
493
|
+
return [4 /*yield*/, response.value()];
|
|
494
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
495
|
+
}
|
|
496
|
+
});
|
|
497
|
+
});
|
|
498
|
+
};
|
|
354
499
|
/**
|
|
355
500
|
* Get a specific version of a capability
|
|
356
501
|
* Get Capability Version
|
|
@@ -491,6 +636,76 @@ var CapabilitiesApi = /** @class */ (function (_super) {
|
|
|
491
636
|
});
|
|
492
637
|
});
|
|
493
638
|
};
|
|
639
|
+
/**
|
|
640
|
+
* Get callback delivery status for a capability execution
|
|
641
|
+
* Get Execution Callback
|
|
642
|
+
*/
|
|
643
|
+
CapabilitiesApi.prototype.getExecutionCallbackV1CapabilitiesCapabilityIdExecutionsExecutionIdCallbackGet_3Raw = function (requestParameters, initOverrides) {
|
|
644
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
645
|
+
var queryParameters, headerParameters, _a, _b, token, tokenString, urlPath, response;
|
|
646
|
+
return __generator(this, function (_c) {
|
|
647
|
+
switch (_c.label) {
|
|
648
|
+
case 0:
|
|
649
|
+
if (requestParameters['executionId'] == null) {
|
|
650
|
+
throw new runtime.RequiredError('executionId', 'Required parameter "executionId" was null or undefined when calling getExecutionCallbackV1CapabilitiesCapabilityIdExecutionsExecutionIdCallbackGet_3().');
|
|
651
|
+
}
|
|
652
|
+
if (requestParameters['capabilityId'] == null) {
|
|
653
|
+
throw new runtime.RequiredError('capabilityId', 'Required parameter "capabilityId" was null or undefined when calling getExecutionCallbackV1CapabilitiesCapabilityIdExecutionsExecutionIdCallbackGet_3().');
|
|
654
|
+
}
|
|
655
|
+
queryParameters = {};
|
|
656
|
+
headerParameters = {};
|
|
657
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
|
|
658
|
+
_a = headerParameters;
|
|
659
|
+
_b = "X-API-Key";
|
|
660
|
+
return [4 /*yield*/, this.configuration.apiKey("X-API-Key")];
|
|
661
|
+
case 1:
|
|
662
|
+
_a[_b] = _c.sent(); // APIKeyHeader authentication
|
|
663
|
+
_c.label = 2;
|
|
664
|
+
case 2:
|
|
665
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
|
|
666
|
+
token = this.configuration.accessToken;
|
|
667
|
+
return [4 /*yield*/, token("HTTPBearer", [])];
|
|
668
|
+
case 3:
|
|
669
|
+
tokenString = _c.sent();
|
|
670
|
+
if (tokenString) {
|
|
671
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
672
|
+
}
|
|
673
|
+
_c.label = 4;
|
|
674
|
+
case 4:
|
|
675
|
+
urlPath = "/v1/capabilities/{capability_id}/executions/{execution_id}/callback";
|
|
676
|
+
urlPath = urlPath.replace("{".concat("execution_id", "}"), encodeURIComponent(String(requestParameters['executionId'])));
|
|
677
|
+
urlPath = urlPath.replace("{".concat("capability_id", "}"), encodeURIComponent(String(requestParameters['capabilityId'])));
|
|
678
|
+
return [4 /*yield*/, this.request({
|
|
679
|
+
path: urlPath,
|
|
680
|
+
method: 'GET',
|
|
681
|
+
headers: headerParameters,
|
|
682
|
+
query: queryParameters,
|
|
683
|
+
}, initOverrides)];
|
|
684
|
+
case 5:
|
|
685
|
+
response = _c.sent();
|
|
686
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ExecutionCallbackFromJSON)(jsonValue); })];
|
|
687
|
+
}
|
|
688
|
+
});
|
|
689
|
+
});
|
|
690
|
+
};
|
|
691
|
+
/**
|
|
692
|
+
* Get callback delivery status for a capability execution
|
|
693
|
+
* Get Execution Callback
|
|
694
|
+
*/
|
|
695
|
+
CapabilitiesApi.prototype.getExecutionCallbackV1CapabilitiesCapabilityIdExecutionsExecutionIdCallbackGet_3 = function (requestParameters, initOverrides) {
|
|
696
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
697
|
+
var response;
|
|
698
|
+
return __generator(this, function (_a) {
|
|
699
|
+
switch (_a.label) {
|
|
700
|
+
case 0: return [4 /*yield*/, this.getExecutionCallbackV1CapabilitiesCapabilityIdExecutionsExecutionIdCallbackGet_3Raw(requestParameters, initOverrides)];
|
|
701
|
+
case 1:
|
|
702
|
+
response = _a.sent();
|
|
703
|
+
return [4 /*yield*/, response.value()];
|
|
704
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
705
|
+
}
|
|
706
|
+
});
|
|
707
|
+
});
|
|
708
|
+
};
|
|
494
709
|
/**
|
|
495
710
|
* Get a capability execution result
|
|
496
711
|
* Get Execution Result
|
|
@@ -538,21 +753,586 @@ var CapabilitiesApi = /** @class */ (function (_super) {
|
|
|
538
753
|
}, initOverrides)];
|
|
539
754
|
case 5:
|
|
540
755
|
response = _c.sent();
|
|
541
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ExecutionResultFromJSON)(jsonValue); })];
|
|
756
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ExecutionResultFromJSON)(jsonValue); })];
|
|
757
|
+
}
|
|
758
|
+
});
|
|
759
|
+
});
|
|
760
|
+
};
|
|
761
|
+
/**
|
|
762
|
+
* Get a capability execution result
|
|
763
|
+
* Get Execution Result
|
|
764
|
+
*/
|
|
765
|
+
CapabilitiesApi.prototype.getExecutionResultV1CapabilitiesCapabilityIdExecutionsExecutionIdResultGet = function (requestParameters, initOverrides) {
|
|
766
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
767
|
+
var response;
|
|
768
|
+
return __generator(this, function (_a) {
|
|
769
|
+
switch (_a.label) {
|
|
770
|
+
case 0: return [4 /*yield*/, this.getExecutionResultV1CapabilitiesCapabilityIdExecutionsExecutionIdResultGetRaw(requestParameters, initOverrides)];
|
|
771
|
+
case 1:
|
|
772
|
+
response = _a.sent();
|
|
773
|
+
return [4 /*yield*/, response.value()];
|
|
774
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
775
|
+
}
|
|
776
|
+
});
|
|
777
|
+
});
|
|
778
|
+
};
|
|
779
|
+
/**
|
|
780
|
+
* Get a capability execution result
|
|
781
|
+
* Get Execution Result
|
|
782
|
+
*/
|
|
783
|
+
CapabilitiesApi.prototype.getExecutionResultV1CapabilitiesCapabilityIdExecutionsExecutionIdResultGet_4Raw = function (requestParameters, initOverrides) {
|
|
784
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
785
|
+
var queryParameters, headerParameters, _a, _b, token, tokenString, urlPath, response;
|
|
786
|
+
return __generator(this, function (_c) {
|
|
787
|
+
switch (_c.label) {
|
|
788
|
+
case 0:
|
|
789
|
+
if (requestParameters['executionId'] == null) {
|
|
790
|
+
throw new runtime.RequiredError('executionId', 'Required parameter "executionId" was null or undefined when calling getExecutionResultV1CapabilitiesCapabilityIdExecutionsExecutionIdResultGet_4().');
|
|
791
|
+
}
|
|
792
|
+
if (requestParameters['capabilityId'] == null) {
|
|
793
|
+
throw new runtime.RequiredError('capabilityId', 'Required parameter "capabilityId" was null or undefined when calling getExecutionResultV1CapabilitiesCapabilityIdExecutionsExecutionIdResultGet_4().');
|
|
794
|
+
}
|
|
795
|
+
queryParameters = {};
|
|
796
|
+
headerParameters = {};
|
|
797
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
|
|
798
|
+
_a = headerParameters;
|
|
799
|
+
_b = "X-API-Key";
|
|
800
|
+
return [4 /*yield*/, this.configuration.apiKey("X-API-Key")];
|
|
801
|
+
case 1:
|
|
802
|
+
_a[_b] = _c.sent(); // APIKeyHeader authentication
|
|
803
|
+
_c.label = 2;
|
|
804
|
+
case 2:
|
|
805
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
|
|
806
|
+
token = this.configuration.accessToken;
|
|
807
|
+
return [4 /*yield*/, token("HTTPBearer", [])];
|
|
808
|
+
case 3:
|
|
809
|
+
tokenString = _c.sent();
|
|
810
|
+
if (tokenString) {
|
|
811
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
812
|
+
}
|
|
813
|
+
_c.label = 4;
|
|
814
|
+
case 4:
|
|
815
|
+
urlPath = "/v1/capabilities/{capability_id}/executions/{execution_id}/result";
|
|
816
|
+
urlPath = urlPath.replace("{".concat("execution_id", "}"), encodeURIComponent(String(requestParameters['executionId'])));
|
|
817
|
+
urlPath = urlPath.replace("{".concat("capability_id", "}"), encodeURIComponent(String(requestParameters['capabilityId'])));
|
|
818
|
+
return [4 /*yield*/, this.request({
|
|
819
|
+
path: urlPath,
|
|
820
|
+
method: 'GET',
|
|
821
|
+
headers: headerParameters,
|
|
822
|
+
query: queryParameters,
|
|
823
|
+
}, initOverrides)];
|
|
824
|
+
case 5:
|
|
825
|
+
response = _c.sent();
|
|
826
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ExecutionResultFromJSON)(jsonValue); })];
|
|
827
|
+
}
|
|
828
|
+
});
|
|
829
|
+
});
|
|
830
|
+
};
|
|
831
|
+
/**
|
|
832
|
+
* Get a capability execution result
|
|
833
|
+
* Get Execution Result
|
|
834
|
+
*/
|
|
835
|
+
CapabilitiesApi.prototype.getExecutionResultV1CapabilitiesCapabilityIdExecutionsExecutionIdResultGet_4 = function (requestParameters, initOverrides) {
|
|
836
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
837
|
+
var response;
|
|
838
|
+
return __generator(this, function (_a) {
|
|
839
|
+
switch (_a.label) {
|
|
840
|
+
case 0: return [4 /*yield*/, this.getExecutionResultV1CapabilitiesCapabilityIdExecutionsExecutionIdResultGet_4Raw(requestParameters, initOverrides)];
|
|
841
|
+
case 1:
|
|
842
|
+
response = _a.sent();
|
|
843
|
+
return [4 /*yield*/, response.value()];
|
|
844
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
845
|
+
}
|
|
846
|
+
});
|
|
847
|
+
});
|
|
848
|
+
};
|
|
849
|
+
/**
|
|
850
|
+
* Get a capability execution usage
|
|
851
|
+
* Get Execution Usage
|
|
852
|
+
*/
|
|
853
|
+
CapabilitiesApi.prototype.getExecutionUsageV1CapabilitiesCapabilityIdExecutionsExecutionIdUsageGetRaw = function (requestParameters, initOverrides) {
|
|
854
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
855
|
+
var queryParameters, headerParameters, _a, _b, token, tokenString, urlPath, response;
|
|
856
|
+
return __generator(this, function (_c) {
|
|
857
|
+
switch (_c.label) {
|
|
858
|
+
case 0:
|
|
859
|
+
if (requestParameters['executionId'] == null) {
|
|
860
|
+
throw new runtime.RequiredError('executionId', 'Required parameter "executionId" was null or undefined when calling getExecutionUsageV1CapabilitiesCapabilityIdExecutionsExecutionIdUsageGet().');
|
|
861
|
+
}
|
|
862
|
+
if (requestParameters['capabilityId'] == null) {
|
|
863
|
+
throw new runtime.RequiredError('capabilityId', 'Required parameter "capabilityId" was null or undefined when calling getExecutionUsageV1CapabilitiesCapabilityIdExecutionsExecutionIdUsageGet().');
|
|
864
|
+
}
|
|
865
|
+
queryParameters = {};
|
|
866
|
+
headerParameters = {};
|
|
867
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
|
|
868
|
+
_a = headerParameters;
|
|
869
|
+
_b = "X-API-Key";
|
|
870
|
+
return [4 /*yield*/, this.configuration.apiKey("X-API-Key")];
|
|
871
|
+
case 1:
|
|
872
|
+
_a[_b] = _c.sent(); // APIKeyHeader authentication
|
|
873
|
+
_c.label = 2;
|
|
874
|
+
case 2:
|
|
875
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
|
|
876
|
+
token = this.configuration.accessToken;
|
|
877
|
+
return [4 /*yield*/, token("HTTPBearer", [])];
|
|
878
|
+
case 3:
|
|
879
|
+
tokenString = _c.sent();
|
|
880
|
+
if (tokenString) {
|
|
881
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
882
|
+
}
|
|
883
|
+
_c.label = 4;
|
|
884
|
+
case 4:
|
|
885
|
+
urlPath = "/v1/capabilities/{capability_id}/executions/{execution_id}/usage";
|
|
886
|
+
urlPath = urlPath.replace("{".concat("execution_id", "}"), encodeURIComponent(String(requestParameters['executionId'])));
|
|
887
|
+
urlPath = urlPath.replace("{".concat("capability_id", "}"), encodeURIComponent(String(requestParameters['capabilityId'])));
|
|
888
|
+
return [4 /*yield*/, this.request({
|
|
889
|
+
path: urlPath,
|
|
890
|
+
method: 'GET',
|
|
891
|
+
headers: headerParameters,
|
|
892
|
+
query: queryParameters,
|
|
893
|
+
}, initOverrides)];
|
|
894
|
+
case 5:
|
|
895
|
+
response = _c.sent();
|
|
896
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ExecutionUsageFromJSON)(jsonValue); })];
|
|
897
|
+
}
|
|
898
|
+
});
|
|
899
|
+
});
|
|
900
|
+
};
|
|
901
|
+
/**
|
|
902
|
+
* Get a capability execution usage
|
|
903
|
+
* Get Execution Usage
|
|
904
|
+
*/
|
|
905
|
+
CapabilitiesApi.prototype.getExecutionUsageV1CapabilitiesCapabilityIdExecutionsExecutionIdUsageGet = function (requestParameters, initOverrides) {
|
|
906
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
907
|
+
var response;
|
|
908
|
+
return __generator(this, function (_a) {
|
|
909
|
+
switch (_a.label) {
|
|
910
|
+
case 0: return [4 /*yield*/, this.getExecutionUsageV1CapabilitiesCapabilityIdExecutionsExecutionIdUsageGetRaw(requestParameters, initOverrides)];
|
|
911
|
+
case 1:
|
|
912
|
+
response = _a.sent();
|
|
913
|
+
return [4 /*yield*/, response.value()];
|
|
914
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
915
|
+
}
|
|
916
|
+
});
|
|
917
|
+
});
|
|
918
|
+
};
|
|
919
|
+
/**
|
|
920
|
+
* Get a capability execution usage
|
|
921
|
+
* Get Execution Usage
|
|
922
|
+
*/
|
|
923
|
+
CapabilitiesApi.prototype.getExecutionUsageV1CapabilitiesCapabilityIdExecutionsExecutionIdUsageGet_5Raw = function (requestParameters, initOverrides) {
|
|
924
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
925
|
+
var queryParameters, headerParameters, _a, _b, token, tokenString, urlPath, response;
|
|
926
|
+
return __generator(this, function (_c) {
|
|
927
|
+
switch (_c.label) {
|
|
928
|
+
case 0:
|
|
929
|
+
if (requestParameters['executionId'] == null) {
|
|
930
|
+
throw new runtime.RequiredError('executionId', 'Required parameter "executionId" was null or undefined when calling getExecutionUsageV1CapabilitiesCapabilityIdExecutionsExecutionIdUsageGet_5().');
|
|
931
|
+
}
|
|
932
|
+
if (requestParameters['capabilityId'] == null) {
|
|
933
|
+
throw new runtime.RequiredError('capabilityId', 'Required parameter "capabilityId" was null or undefined when calling getExecutionUsageV1CapabilitiesCapabilityIdExecutionsExecutionIdUsageGet_5().');
|
|
934
|
+
}
|
|
935
|
+
queryParameters = {};
|
|
936
|
+
headerParameters = {};
|
|
937
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
|
|
938
|
+
_a = headerParameters;
|
|
939
|
+
_b = "X-API-Key";
|
|
940
|
+
return [4 /*yield*/, this.configuration.apiKey("X-API-Key")];
|
|
941
|
+
case 1:
|
|
942
|
+
_a[_b] = _c.sent(); // APIKeyHeader authentication
|
|
943
|
+
_c.label = 2;
|
|
944
|
+
case 2:
|
|
945
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
|
|
946
|
+
token = this.configuration.accessToken;
|
|
947
|
+
return [4 /*yield*/, token("HTTPBearer", [])];
|
|
948
|
+
case 3:
|
|
949
|
+
tokenString = _c.sent();
|
|
950
|
+
if (tokenString) {
|
|
951
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
952
|
+
}
|
|
953
|
+
_c.label = 4;
|
|
954
|
+
case 4:
|
|
955
|
+
urlPath = "/v1/capabilities/{capability_id}/executions/{execution_id}/usage";
|
|
956
|
+
urlPath = urlPath.replace("{".concat("execution_id", "}"), encodeURIComponent(String(requestParameters['executionId'])));
|
|
957
|
+
urlPath = urlPath.replace("{".concat("capability_id", "}"), encodeURIComponent(String(requestParameters['capabilityId'])));
|
|
958
|
+
return [4 /*yield*/, this.request({
|
|
959
|
+
path: urlPath,
|
|
960
|
+
method: 'GET',
|
|
961
|
+
headers: headerParameters,
|
|
962
|
+
query: queryParameters,
|
|
963
|
+
}, initOverrides)];
|
|
964
|
+
case 5:
|
|
965
|
+
response = _c.sent();
|
|
966
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ExecutionUsageFromJSON)(jsonValue); })];
|
|
967
|
+
}
|
|
968
|
+
});
|
|
969
|
+
});
|
|
970
|
+
};
|
|
971
|
+
/**
|
|
972
|
+
* Get a capability execution usage
|
|
973
|
+
* Get Execution Usage
|
|
974
|
+
*/
|
|
975
|
+
CapabilitiesApi.prototype.getExecutionUsageV1CapabilitiesCapabilityIdExecutionsExecutionIdUsageGet_5 = function (requestParameters, initOverrides) {
|
|
976
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
977
|
+
var response;
|
|
978
|
+
return __generator(this, function (_a) {
|
|
979
|
+
switch (_a.label) {
|
|
980
|
+
case 0: return [4 /*yield*/, this.getExecutionUsageV1CapabilitiesCapabilityIdExecutionsExecutionIdUsageGet_5Raw(requestParameters, initOverrides)];
|
|
981
|
+
case 1:
|
|
982
|
+
response = _a.sent();
|
|
983
|
+
return [4 /*yield*/, response.value()];
|
|
984
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
985
|
+
}
|
|
986
|
+
});
|
|
987
|
+
});
|
|
988
|
+
};
|
|
989
|
+
/**
|
|
990
|
+
* Get a capability execution
|
|
991
|
+
* Get Execution
|
|
992
|
+
*/
|
|
993
|
+
CapabilitiesApi.prototype.getExecutionV1CapabilitiesCapabilityIdExecutionsExecutionIdGetRaw = function (requestParameters, initOverrides) {
|
|
994
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
995
|
+
var queryParameters, headerParameters, _a, _b, token, tokenString, urlPath, response;
|
|
996
|
+
return __generator(this, function (_c) {
|
|
997
|
+
switch (_c.label) {
|
|
998
|
+
case 0:
|
|
999
|
+
if (requestParameters['executionId'] == null) {
|
|
1000
|
+
throw new runtime.RequiredError('executionId', 'Required parameter "executionId" was null or undefined when calling getExecutionV1CapabilitiesCapabilityIdExecutionsExecutionIdGet().');
|
|
1001
|
+
}
|
|
1002
|
+
if (requestParameters['capabilityId'] == null) {
|
|
1003
|
+
throw new runtime.RequiredError('capabilityId', 'Required parameter "capabilityId" was null or undefined when calling getExecutionV1CapabilitiesCapabilityIdExecutionsExecutionIdGet().');
|
|
1004
|
+
}
|
|
1005
|
+
queryParameters = {};
|
|
1006
|
+
headerParameters = {};
|
|
1007
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
|
|
1008
|
+
_a = headerParameters;
|
|
1009
|
+
_b = "X-API-Key";
|
|
1010
|
+
return [4 /*yield*/, this.configuration.apiKey("X-API-Key")];
|
|
1011
|
+
case 1:
|
|
1012
|
+
_a[_b] = _c.sent(); // APIKeyHeader authentication
|
|
1013
|
+
_c.label = 2;
|
|
1014
|
+
case 2:
|
|
1015
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
|
|
1016
|
+
token = this.configuration.accessToken;
|
|
1017
|
+
return [4 /*yield*/, token("HTTPBearer", [])];
|
|
1018
|
+
case 3:
|
|
1019
|
+
tokenString = _c.sent();
|
|
1020
|
+
if (tokenString) {
|
|
1021
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
1022
|
+
}
|
|
1023
|
+
_c.label = 4;
|
|
1024
|
+
case 4:
|
|
1025
|
+
urlPath = "/v1/capabilities/{capability_id}/executions/{execution_id}";
|
|
1026
|
+
urlPath = urlPath.replace("{".concat("execution_id", "}"), encodeURIComponent(String(requestParameters['executionId'])));
|
|
1027
|
+
urlPath = urlPath.replace("{".concat("capability_id", "}"), encodeURIComponent(String(requestParameters['capabilityId'])));
|
|
1028
|
+
return [4 /*yield*/, this.request({
|
|
1029
|
+
path: urlPath,
|
|
1030
|
+
method: 'GET',
|
|
1031
|
+
headers: headerParameters,
|
|
1032
|
+
query: queryParameters,
|
|
1033
|
+
}, initOverrides)];
|
|
1034
|
+
case 5:
|
|
1035
|
+
response = _c.sent();
|
|
1036
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ExecutionFromJSON)(jsonValue); })];
|
|
1037
|
+
}
|
|
1038
|
+
});
|
|
1039
|
+
});
|
|
1040
|
+
};
|
|
1041
|
+
/**
|
|
1042
|
+
* Get a capability execution
|
|
1043
|
+
* Get Execution
|
|
1044
|
+
*/
|
|
1045
|
+
CapabilitiesApi.prototype.getExecutionV1CapabilitiesCapabilityIdExecutionsExecutionIdGet = function (requestParameters, initOverrides) {
|
|
1046
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1047
|
+
var response;
|
|
1048
|
+
return __generator(this, function (_a) {
|
|
1049
|
+
switch (_a.label) {
|
|
1050
|
+
case 0: return [4 /*yield*/, this.getExecutionV1CapabilitiesCapabilityIdExecutionsExecutionIdGetRaw(requestParameters, initOverrides)];
|
|
1051
|
+
case 1:
|
|
1052
|
+
response = _a.sent();
|
|
1053
|
+
return [4 /*yield*/, response.value()];
|
|
1054
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
1055
|
+
}
|
|
1056
|
+
});
|
|
1057
|
+
});
|
|
1058
|
+
};
|
|
1059
|
+
/**
|
|
1060
|
+
* Get a capability execution
|
|
1061
|
+
* Get Execution
|
|
1062
|
+
*/
|
|
1063
|
+
CapabilitiesApi.prototype.getExecutionV1CapabilitiesCapabilityIdExecutionsExecutionIdGet_6Raw = function (requestParameters, initOverrides) {
|
|
1064
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1065
|
+
var queryParameters, headerParameters, _a, _b, token, tokenString, urlPath, response;
|
|
1066
|
+
return __generator(this, function (_c) {
|
|
1067
|
+
switch (_c.label) {
|
|
1068
|
+
case 0:
|
|
1069
|
+
if (requestParameters['executionId'] == null) {
|
|
1070
|
+
throw new runtime.RequiredError('executionId', 'Required parameter "executionId" was null or undefined when calling getExecutionV1CapabilitiesCapabilityIdExecutionsExecutionIdGet_6().');
|
|
1071
|
+
}
|
|
1072
|
+
if (requestParameters['capabilityId'] == null) {
|
|
1073
|
+
throw new runtime.RequiredError('capabilityId', 'Required parameter "capabilityId" was null or undefined when calling getExecutionV1CapabilitiesCapabilityIdExecutionsExecutionIdGet_6().');
|
|
1074
|
+
}
|
|
1075
|
+
queryParameters = {};
|
|
1076
|
+
headerParameters = {};
|
|
1077
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
|
|
1078
|
+
_a = headerParameters;
|
|
1079
|
+
_b = "X-API-Key";
|
|
1080
|
+
return [4 /*yield*/, this.configuration.apiKey("X-API-Key")];
|
|
1081
|
+
case 1:
|
|
1082
|
+
_a[_b] = _c.sent(); // APIKeyHeader authentication
|
|
1083
|
+
_c.label = 2;
|
|
1084
|
+
case 2:
|
|
1085
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
|
|
1086
|
+
token = this.configuration.accessToken;
|
|
1087
|
+
return [4 /*yield*/, token("HTTPBearer", [])];
|
|
1088
|
+
case 3:
|
|
1089
|
+
tokenString = _c.sent();
|
|
1090
|
+
if (tokenString) {
|
|
1091
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
1092
|
+
}
|
|
1093
|
+
_c.label = 4;
|
|
1094
|
+
case 4:
|
|
1095
|
+
urlPath = "/v1/capabilities/{capability_id}/executions/{execution_id}";
|
|
1096
|
+
urlPath = urlPath.replace("{".concat("execution_id", "}"), encodeURIComponent(String(requestParameters['executionId'])));
|
|
1097
|
+
urlPath = urlPath.replace("{".concat("capability_id", "}"), encodeURIComponent(String(requestParameters['capabilityId'])));
|
|
1098
|
+
return [4 /*yield*/, this.request({
|
|
1099
|
+
path: urlPath,
|
|
1100
|
+
method: 'GET',
|
|
1101
|
+
headers: headerParameters,
|
|
1102
|
+
query: queryParameters,
|
|
1103
|
+
}, initOverrides)];
|
|
1104
|
+
case 5:
|
|
1105
|
+
response = _c.sent();
|
|
1106
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ExecutionFromJSON)(jsonValue); })];
|
|
1107
|
+
}
|
|
1108
|
+
});
|
|
1109
|
+
});
|
|
1110
|
+
};
|
|
1111
|
+
/**
|
|
1112
|
+
* Get a capability execution
|
|
1113
|
+
* Get Execution
|
|
1114
|
+
*/
|
|
1115
|
+
CapabilitiesApi.prototype.getExecutionV1CapabilitiesCapabilityIdExecutionsExecutionIdGet_6 = function (requestParameters, initOverrides) {
|
|
1116
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1117
|
+
var response;
|
|
1118
|
+
return __generator(this, function (_a) {
|
|
1119
|
+
switch (_a.label) {
|
|
1120
|
+
case 0: return [4 /*yield*/, this.getExecutionV1CapabilitiesCapabilityIdExecutionsExecutionIdGet_6Raw(requestParameters, initOverrides)];
|
|
1121
|
+
case 1:
|
|
1122
|
+
response = _a.sent();
|
|
1123
|
+
return [4 /*yield*/, response.value()];
|
|
1124
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
1125
|
+
}
|
|
1126
|
+
});
|
|
1127
|
+
});
|
|
1128
|
+
};
|
|
1129
|
+
/**
|
|
1130
|
+
* Read feedback authored for a capability execution
|
|
1131
|
+
* Get Feedback
|
|
1132
|
+
*/
|
|
1133
|
+
CapabilitiesApi.prototype.getFeedbackV1CapabilitiesCapabilityIdExecutionsExecutionIdFeedbackGetRaw = function (requestParameters, initOverrides) {
|
|
1134
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1135
|
+
var queryParameters, headerParameters, _a, _b, token, tokenString, urlPath, response;
|
|
1136
|
+
return __generator(this, function (_c) {
|
|
1137
|
+
switch (_c.label) {
|
|
1138
|
+
case 0:
|
|
1139
|
+
if (requestParameters['executionId'] == null) {
|
|
1140
|
+
throw new runtime.RequiredError('executionId', 'Required parameter "executionId" was null or undefined when calling getFeedbackV1CapabilitiesCapabilityIdExecutionsExecutionIdFeedbackGet().');
|
|
1141
|
+
}
|
|
1142
|
+
if (requestParameters['capabilityId'] == null) {
|
|
1143
|
+
throw new runtime.RequiredError('capabilityId', 'Required parameter "capabilityId" was null or undefined when calling getFeedbackV1CapabilitiesCapabilityIdExecutionsExecutionIdFeedbackGet().');
|
|
1144
|
+
}
|
|
1145
|
+
queryParameters = {};
|
|
1146
|
+
headerParameters = {};
|
|
1147
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
|
|
1148
|
+
_a = headerParameters;
|
|
1149
|
+
_b = "X-API-Key";
|
|
1150
|
+
return [4 /*yield*/, this.configuration.apiKey("X-API-Key")];
|
|
1151
|
+
case 1:
|
|
1152
|
+
_a[_b] = _c.sent(); // APIKeyHeader authentication
|
|
1153
|
+
_c.label = 2;
|
|
1154
|
+
case 2:
|
|
1155
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
|
|
1156
|
+
token = this.configuration.accessToken;
|
|
1157
|
+
return [4 /*yield*/, token("HTTPBearer", [])];
|
|
1158
|
+
case 3:
|
|
1159
|
+
tokenString = _c.sent();
|
|
1160
|
+
if (tokenString) {
|
|
1161
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
1162
|
+
}
|
|
1163
|
+
_c.label = 4;
|
|
1164
|
+
case 4:
|
|
1165
|
+
urlPath = "/v1/capabilities/{capability_id}/executions/{execution_id}/feedback";
|
|
1166
|
+
urlPath = urlPath.replace("{".concat("execution_id", "}"), encodeURIComponent(String(requestParameters['executionId'])));
|
|
1167
|
+
urlPath = urlPath.replace("{".concat("capability_id", "}"), encodeURIComponent(String(requestParameters['capabilityId'])));
|
|
1168
|
+
return [4 /*yield*/, this.request({
|
|
1169
|
+
path: urlPath,
|
|
1170
|
+
method: 'GET',
|
|
1171
|
+
headers: headerParameters,
|
|
1172
|
+
query: queryParameters,
|
|
1173
|
+
}, initOverrides)];
|
|
1174
|
+
case 5:
|
|
1175
|
+
response = _c.sent();
|
|
1176
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.FeedbackFromJSON)(jsonValue); })];
|
|
1177
|
+
}
|
|
1178
|
+
});
|
|
1179
|
+
});
|
|
1180
|
+
};
|
|
1181
|
+
/**
|
|
1182
|
+
* Read feedback authored for a capability execution
|
|
1183
|
+
* Get Feedback
|
|
1184
|
+
*/
|
|
1185
|
+
CapabilitiesApi.prototype.getFeedbackV1CapabilitiesCapabilityIdExecutionsExecutionIdFeedbackGet = function (requestParameters, initOverrides) {
|
|
1186
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1187
|
+
var response;
|
|
1188
|
+
return __generator(this, function (_a) {
|
|
1189
|
+
switch (_a.label) {
|
|
1190
|
+
case 0: return [4 /*yield*/, this.getFeedbackV1CapabilitiesCapabilityIdExecutionsExecutionIdFeedbackGetRaw(requestParameters, initOverrides)];
|
|
1191
|
+
case 1:
|
|
1192
|
+
response = _a.sent();
|
|
1193
|
+
return [4 /*yield*/, response.value()];
|
|
1194
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
1195
|
+
}
|
|
1196
|
+
});
|
|
1197
|
+
});
|
|
1198
|
+
};
|
|
1199
|
+
/**
|
|
1200
|
+
* Read feedback authored for a capability execution
|
|
1201
|
+
* Get Feedback
|
|
1202
|
+
*/
|
|
1203
|
+
CapabilitiesApi.prototype.getFeedbackV1CapabilitiesCapabilityIdExecutionsExecutionIdFeedbackGet_7Raw = function (requestParameters, initOverrides) {
|
|
1204
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1205
|
+
var queryParameters, headerParameters, _a, _b, token, tokenString, urlPath, response;
|
|
1206
|
+
return __generator(this, function (_c) {
|
|
1207
|
+
switch (_c.label) {
|
|
1208
|
+
case 0:
|
|
1209
|
+
if (requestParameters['executionId'] == null) {
|
|
1210
|
+
throw new runtime.RequiredError('executionId', 'Required parameter "executionId" was null or undefined when calling getFeedbackV1CapabilitiesCapabilityIdExecutionsExecutionIdFeedbackGet_7().');
|
|
1211
|
+
}
|
|
1212
|
+
if (requestParameters['capabilityId'] == null) {
|
|
1213
|
+
throw new runtime.RequiredError('capabilityId', 'Required parameter "capabilityId" was null or undefined when calling getFeedbackV1CapabilitiesCapabilityIdExecutionsExecutionIdFeedbackGet_7().');
|
|
1214
|
+
}
|
|
1215
|
+
queryParameters = {};
|
|
1216
|
+
headerParameters = {};
|
|
1217
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
|
|
1218
|
+
_a = headerParameters;
|
|
1219
|
+
_b = "X-API-Key";
|
|
1220
|
+
return [4 /*yield*/, this.configuration.apiKey("X-API-Key")];
|
|
1221
|
+
case 1:
|
|
1222
|
+
_a[_b] = _c.sent(); // APIKeyHeader authentication
|
|
1223
|
+
_c.label = 2;
|
|
1224
|
+
case 2:
|
|
1225
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
|
|
1226
|
+
token = this.configuration.accessToken;
|
|
1227
|
+
return [4 /*yield*/, token("HTTPBearer", [])];
|
|
1228
|
+
case 3:
|
|
1229
|
+
tokenString = _c.sent();
|
|
1230
|
+
if (tokenString) {
|
|
1231
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
1232
|
+
}
|
|
1233
|
+
_c.label = 4;
|
|
1234
|
+
case 4:
|
|
1235
|
+
urlPath = "/v1/capabilities/{capability_id}/executions/{execution_id}/feedback";
|
|
1236
|
+
urlPath = urlPath.replace("{".concat("execution_id", "}"), encodeURIComponent(String(requestParameters['executionId'])));
|
|
1237
|
+
urlPath = urlPath.replace("{".concat("capability_id", "}"), encodeURIComponent(String(requestParameters['capabilityId'])));
|
|
1238
|
+
return [4 /*yield*/, this.request({
|
|
1239
|
+
path: urlPath,
|
|
1240
|
+
method: 'GET',
|
|
1241
|
+
headers: headerParameters,
|
|
1242
|
+
query: queryParameters,
|
|
1243
|
+
}, initOverrides)];
|
|
1244
|
+
case 5:
|
|
1245
|
+
response = _c.sent();
|
|
1246
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.FeedbackFromJSON)(jsonValue); })];
|
|
1247
|
+
}
|
|
1248
|
+
});
|
|
1249
|
+
});
|
|
1250
|
+
};
|
|
1251
|
+
/**
|
|
1252
|
+
* Read feedback authored for a capability execution
|
|
1253
|
+
* Get Feedback
|
|
1254
|
+
*/
|
|
1255
|
+
CapabilitiesApi.prototype.getFeedbackV1CapabilitiesCapabilityIdExecutionsExecutionIdFeedbackGet_7 = function (requestParameters, initOverrides) {
|
|
1256
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1257
|
+
var response;
|
|
1258
|
+
return __generator(this, function (_a) {
|
|
1259
|
+
switch (_a.label) {
|
|
1260
|
+
case 0: return [4 /*yield*/, this.getFeedbackV1CapabilitiesCapabilityIdExecutionsExecutionIdFeedbackGet_7Raw(requestParameters, initOverrides)];
|
|
1261
|
+
case 1:
|
|
1262
|
+
response = _a.sent();
|
|
1263
|
+
return [4 /*yield*/, response.value()];
|
|
1264
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
1265
|
+
}
|
|
1266
|
+
});
|
|
1267
|
+
});
|
|
1268
|
+
};
|
|
1269
|
+
/**
|
|
1270
|
+
* List all capabilities
|
|
1271
|
+
* List Capabilities
|
|
1272
|
+
*/
|
|
1273
|
+
CapabilitiesApi.prototype.listCapabilitiesV1CapabilitiesGetRaw = function (requestParameters, initOverrides) {
|
|
1274
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1275
|
+
var queryParameters, headerParameters, _a, _b, token, tokenString, urlPath, response;
|
|
1276
|
+
return __generator(this, function (_c) {
|
|
1277
|
+
switch (_c.label) {
|
|
1278
|
+
case 0:
|
|
1279
|
+
queryParameters = {};
|
|
1280
|
+
if (requestParameters['page'] != null) {
|
|
1281
|
+
queryParameters['page'] = requestParameters['page'];
|
|
1282
|
+
}
|
|
1283
|
+
if (requestParameters['size'] != null) {
|
|
1284
|
+
queryParameters['size'] = requestParameters['size'];
|
|
1285
|
+
}
|
|
1286
|
+
if (requestParameters['sort'] != null) {
|
|
1287
|
+
queryParameters['sort'] = requestParameters['sort'];
|
|
1288
|
+
}
|
|
1289
|
+
if (requestParameters['filter'] != null) {
|
|
1290
|
+
queryParameters['filter'] = requestParameters['filter'];
|
|
1291
|
+
}
|
|
1292
|
+
headerParameters = {};
|
|
1293
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
|
|
1294
|
+
_a = headerParameters;
|
|
1295
|
+
_b = "X-API-Key";
|
|
1296
|
+
return [4 /*yield*/, this.configuration.apiKey("X-API-Key")];
|
|
1297
|
+
case 1:
|
|
1298
|
+
_a[_b] = _c.sent(); // APIKeyHeader authentication
|
|
1299
|
+
_c.label = 2;
|
|
1300
|
+
case 2:
|
|
1301
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
|
|
1302
|
+
token = this.configuration.accessToken;
|
|
1303
|
+
return [4 /*yield*/, token("HTTPBearer", [])];
|
|
1304
|
+
case 3:
|
|
1305
|
+
tokenString = _c.sent();
|
|
1306
|
+
if (tokenString) {
|
|
1307
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
1308
|
+
}
|
|
1309
|
+
_c.label = 4;
|
|
1310
|
+
case 4:
|
|
1311
|
+
urlPath = "/v1/capabilities";
|
|
1312
|
+
return [4 /*yield*/, this.request({
|
|
1313
|
+
path: urlPath,
|
|
1314
|
+
method: 'GET',
|
|
1315
|
+
headers: headerParameters,
|
|
1316
|
+
query: queryParameters,
|
|
1317
|
+
}, initOverrides)];
|
|
1318
|
+
case 5:
|
|
1319
|
+
response = _c.sent();
|
|
1320
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.PagedResponseModelCapabilityFromJSON)(jsonValue); })];
|
|
542
1321
|
}
|
|
543
1322
|
});
|
|
544
1323
|
});
|
|
545
1324
|
};
|
|
546
1325
|
/**
|
|
547
|
-
*
|
|
548
|
-
*
|
|
1326
|
+
* List all capabilities
|
|
1327
|
+
* List Capabilities
|
|
549
1328
|
*/
|
|
550
|
-
CapabilitiesApi.prototype.
|
|
551
|
-
return __awaiter(this,
|
|
1329
|
+
CapabilitiesApi.prototype.listCapabilitiesV1CapabilitiesGet = function () {
|
|
1330
|
+
return __awaiter(this, arguments, void 0, function (requestParameters, initOverrides) {
|
|
552
1331
|
var response;
|
|
1332
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
553
1333
|
return __generator(this, function (_a) {
|
|
554
1334
|
switch (_a.label) {
|
|
555
|
-
case 0: return [4 /*yield*/, this.
|
|
1335
|
+
case 0: return [4 /*yield*/, this.listCapabilitiesV1CapabilitiesGetRaw(requestParameters, initOverrides)];
|
|
556
1336
|
case 1:
|
|
557
1337
|
response = _a.sent();
|
|
558
1338
|
return [4 /*yield*/, response.value()];
|
|
@@ -562,22 +1342,31 @@ var CapabilitiesApi = /** @class */ (function (_super) {
|
|
|
562
1342
|
});
|
|
563
1343
|
};
|
|
564
1344
|
/**
|
|
565
|
-
*
|
|
566
|
-
*
|
|
1345
|
+
* List all versions of a capability
|
|
1346
|
+
* List Capability Versions
|
|
567
1347
|
*/
|
|
568
|
-
CapabilitiesApi.prototype.
|
|
1348
|
+
CapabilitiesApi.prototype.listCapabilityVersionsV1CapabilitiesCapabilityIdVersionsGetRaw = function (requestParameters, initOverrides) {
|
|
569
1349
|
return __awaiter(this, void 0, void 0, function () {
|
|
570
1350
|
var queryParameters, headerParameters, _a, _b, token, tokenString, urlPath, response;
|
|
571
1351
|
return __generator(this, function (_c) {
|
|
572
1352
|
switch (_c.label) {
|
|
573
1353
|
case 0:
|
|
574
|
-
if (requestParameters['executionId'] == null) {
|
|
575
|
-
throw new runtime.RequiredError('executionId', 'Required parameter "executionId" was null or undefined when calling getExecutionUsageV1CapabilitiesCapabilityIdExecutionsExecutionIdUsageGet().');
|
|
576
|
-
}
|
|
577
1354
|
if (requestParameters['capabilityId'] == null) {
|
|
578
|
-
throw new runtime.RequiredError('capabilityId', 'Required parameter "capabilityId" was null or undefined when calling
|
|
1355
|
+
throw new runtime.RequiredError('capabilityId', 'Required parameter "capabilityId" was null or undefined when calling listCapabilityVersionsV1CapabilitiesCapabilityIdVersionsGet().');
|
|
579
1356
|
}
|
|
580
1357
|
queryParameters = {};
|
|
1358
|
+
if (requestParameters['page'] != null) {
|
|
1359
|
+
queryParameters['page'] = requestParameters['page'];
|
|
1360
|
+
}
|
|
1361
|
+
if (requestParameters['size'] != null) {
|
|
1362
|
+
queryParameters['size'] = requestParameters['size'];
|
|
1363
|
+
}
|
|
1364
|
+
if (requestParameters['sort'] != null) {
|
|
1365
|
+
queryParameters['sort'] = requestParameters['sort'];
|
|
1366
|
+
}
|
|
1367
|
+
if (requestParameters['filter'] != null) {
|
|
1368
|
+
queryParameters['filter'] = requestParameters['filter'];
|
|
1369
|
+
}
|
|
581
1370
|
headerParameters = {};
|
|
582
1371
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
|
|
583
1372
|
_a = headerParameters;
|
|
@@ -597,8 +1386,7 @@ var CapabilitiesApi = /** @class */ (function (_super) {
|
|
|
597
1386
|
}
|
|
598
1387
|
_c.label = 4;
|
|
599
1388
|
case 4:
|
|
600
|
-
urlPath = "/v1/capabilities/{capability_id}/
|
|
601
|
-
urlPath = urlPath.replace("{".concat("execution_id", "}"), encodeURIComponent(String(requestParameters['executionId'])));
|
|
1389
|
+
urlPath = "/v1/capabilities/{capability_id}/versions";
|
|
602
1390
|
urlPath = urlPath.replace("{".concat("capability_id", "}"), encodeURIComponent(String(requestParameters['capabilityId'])));
|
|
603
1391
|
return [4 /*yield*/, this.request({
|
|
604
1392
|
path: urlPath,
|
|
@@ -608,21 +1396,21 @@ var CapabilitiesApi = /** @class */ (function (_super) {
|
|
|
608
1396
|
}, initOverrides)];
|
|
609
1397
|
case 5:
|
|
610
1398
|
response = _c.sent();
|
|
611
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.
|
|
1399
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.PagedResponseModelCapabilityVersionFromJSON)(jsonValue); })];
|
|
612
1400
|
}
|
|
613
1401
|
});
|
|
614
1402
|
});
|
|
615
1403
|
};
|
|
616
1404
|
/**
|
|
617
|
-
*
|
|
618
|
-
*
|
|
1405
|
+
* List all versions of a capability
|
|
1406
|
+
* List Capability Versions
|
|
619
1407
|
*/
|
|
620
|
-
CapabilitiesApi.prototype.
|
|
1408
|
+
CapabilitiesApi.prototype.listCapabilityVersionsV1CapabilitiesCapabilityIdVersionsGet = function (requestParameters, initOverrides) {
|
|
621
1409
|
return __awaiter(this, void 0, void 0, function () {
|
|
622
1410
|
var response;
|
|
623
1411
|
return __generator(this, function (_a) {
|
|
624
1412
|
switch (_a.label) {
|
|
625
|
-
case 0: return [4 /*yield*/, this.
|
|
1413
|
+
case 0: return [4 /*yield*/, this.listCapabilityVersionsV1CapabilitiesCapabilityIdVersionsGetRaw(requestParameters, initOverrides)];
|
|
626
1414
|
case 1:
|
|
627
1415
|
response = _a.sent();
|
|
628
1416
|
return [4 /*yield*/, response.value()];
|
|
@@ -632,20 +1420,20 @@ var CapabilitiesApi = /** @class */ (function (_super) {
|
|
|
632
1420
|
});
|
|
633
1421
|
};
|
|
634
1422
|
/**
|
|
635
|
-
*
|
|
636
|
-
*
|
|
1423
|
+
* List provider errors for a failed execution
|
|
1424
|
+
* List Execution Errors
|
|
637
1425
|
*/
|
|
638
|
-
CapabilitiesApi.prototype.
|
|
1426
|
+
CapabilitiesApi.prototype.listExecutionErrorsV1CapabilitiesCapabilityIdExecutionsExecutionIdErrorsGetRaw = function (requestParameters, initOverrides) {
|
|
639
1427
|
return __awaiter(this, void 0, void 0, function () {
|
|
640
1428
|
var queryParameters, headerParameters, _a, _b, token, tokenString, urlPath, response;
|
|
641
1429
|
return __generator(this, function (_c) {
|
|
642
1430
|
switch (_c.label) {
|
|
643
1431
|
case 0:
|
|
644
1432
|
if (requestParameters['executionId'] == null) {
|
|
645
|
-
throw new runtime.RequiredError('executionId', 'Required parameter "executionId" was null or undefined when calling
|
|
1433
|
+
throw new runtime.RequiredError('executionId', 'Required parameter "executionId" was null or undefined when calling listExecutionErrorsV1CapabilitiesCapabilityIdExecutionsExecutionIdErrorsGet().');
|
|
646
1434
|
}
|
|
647
1435
|
if (requestParameters['capabilityId'] == null) {
|
|
648
|
-
throw new runtime.RequiredError('capabilityId', 'Required parameter "capabilityId" was null or undefined when calling
|
|
1436
|
+
throw new runtime.RequiredError('capabilityId', 'Required parameter "capabilityId" was null or undefined when calling listExecutionErrorsV1CapabilitiesCapabilityIdExecutionsExecutionIdErrorsGet().');
|
|
649
1437
|
}
|
|
650
1438
|
queryParameters = {};
|
|
651
1439
|
headerParameters = {};
|
|
@@ -667,7 +1455,7 @@ var CapabilitiesApi = /** @class */ (function (_super) {
|
|
|
667
1455
|
}
|
|
668
1456
|
_c.label = 4;
|
|
669
1457
|
case 4:
|
|
670
|
-
urlPath = "/v1/capabilities/{capability_id}/executions/{execution_id}";
|
|
1458
|
+
urlPath = "/v1/capabilities/{capability_id}/executions/{execution_id}/errors";
|
|
671
1459
|
urlPath = urlPath.replace("{".concat("execution_id", "}"), encodeURIComponent(String(requestParameters['executionId'])));
|
|
672
1460
|
urlPath = urlPath.replace("{".concat("capability_id", "}"), encodeURIComponent(String(requestParameters['capabilityId'])));
|
|
673
1461
|
return [4 /*yield*/, this.request({
|
|
@@ -678,21 +1466,21 @@ var CapabilitiesApi = /** @class */ (function (_super) {
|
|
|
678
1466
|
}, initOverrides)];
|
|
679
1467
|
case 5:
|
|
680
1468
|
response = _c.sent();
|
|
681
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (
|
|
1469
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return jsonValue.map(index_1.ExecutionErrorFromJSON); })];
|
|
682
1470
|
}
|
|
683
1471
|
});
|
|
684
1472
|
});
|
|
685
1473
|
};
|
|
686
1474
|
/**
|
|
687
|
-
*
|
|
688
|
-
*
|
|
1475
|
+
* List provider errors for a failed execution
|
|
1476
|
+
* List Execution Errors
|
|
689
1477
|
*/
|
|
690
|
-
CapabilitiesApi.prototype.
|
|
1478
|
+
CapabilitiesApi.prototype.listExecutionErrorsV1CapabilitiesCapabilityIdExecutionsExecutionIdErrorsGet = function (requestParameters, initOverrides) {
|
|
691
1479
|
return __awaiter(this, void 0, void 0, function () {
|
|
692
1480
|
var response;
|
|
693
1481
|
return __generator(this, function (_a) {
|
|
694
1482
|
switch (_a.label) {
|
|
695
|
-
case 0: return [4 /*yield*/, this.
|
|
1483
|
+
case 0: return [4 /*yield*/, this.listExecutionErrorsV1CapabilitiesCapabilityIdExecutionsExecutionIdErrorsGetRaw(requestParameters, initOverrides)];
|
|
696
1484
|
case 1:
|
|
697
1485
|
response = _a.sent();
|
|
698
1486
|
return [4 /*yield*/, response.value()];
|
|
@@ -702,20 +1490,20 @@ var CapabilitiesApi = /** @class */ (function (_super) {
|
|
|
702
1490
|
});
|
|
703
1491
|
};
|
|
704
1492
|
/**
|
|
705
|
-
*
|
|
706
|
-
*
|
|
1493
|
+
* List provider errors for a failed execution
|
|
1494
|
+
* List Execution Errors
|
|
707
1495
|
*/
|
|
708
|
-
CapabilitiesApi.prototype.
|
|
1496
|
+
CapabilitiesApi.prototype.listExecutionErrorsV1CapabilitiesCapabilityIdExecutionsExecutionIdErrorsGet_8Raw = function (requestParameters, initOverrides) {
|
|
709
1497
|
return __awaiter(this, void 0, void 0, function () {
|
|
710
1498
|
var queryParameters, headerParameters, _a, _b, token, tokenString, urlPath, response;
|
|
711
1499
|
return __generator(this, function (_c) {
|
|
712
1500
|
switch (_c.label) {
|
|
713
1501
|
case 0:
|
|
714
1502
|
if (requestParameters['executionId'] == null) {
|
|
715
|
-
throw new runtime.RequiredError('executionId', 'Required parameter "executionId" was null or undefined when calling
|
|
1503
|
+
throw new runtime.RequiredError('executionId', 'Required parameter "executionId" was null or undefined when calling listExecutionErrorsV1CapabilitiesCapabilityIdExecutionsExecutionIdErrorsGet_8().');
|
|
716
1504
|
}
|
|
717
1505
|
if (requestParameters['capabilityId'] == null) {
|
|
718
|
-
throw new runtime.RequiredError('capabilityId', 'Required parameter "capabilityId" was null or undefined when calling
|
|
1506
|
+
throw new runtime.RequiredError('capabilityId', 'Required parameter "capabilityId" was null or undefined when calling listExecutionErrorsV1CapabilitiesCapabilityIdExecutionsExecutionIdErrorsGet_8().');
|
|
719
1507
|
}
|
|
720
1508
|
queryParameters = {};
|
|
721
1509
|
headerParameters = {};
|
|
@@ -737,7 +1525,7 @@ var CapabilitiesApi = /** @class */ (function (_super) {
|
|
|
737
1525
|
}
|
|
738
1526
|
_c.label = 4;
|
|
739
1527
|
case 4:
|
|
740
|
-
urlPath = "/v1/capabilities/{capability_id}/executions/{execution_id}/
|
|
1528
|
+
urlPath = "/v1/capabilities/{capability_id}/executions/{execution_id}/errors";
|
|
741
1529
|
urlPath = urlPath.replace("{".concat("execution_id", "}"), encodeURIComponent(String(requestParameters['executionId'])));
|
|
742
1530
|
urlPath = urlPath.replace("{".concat("capability_id", "}"), encodeURIComponent(String(requestParameters['capabilityId'])));
|
|
743
1531
|
return [4 /*yield*/, this.request({
|
|
@@ -748,21 +1536,21 @@ var CapabilitiesApi = /** @class */ (function (_super) {
|
|
|
748
1536
|
}, initOverrides)];
|
|
749
1537
|
case 5:
|
|
750
1538
|
response = _c.sent();
|
|
751
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (
|
|
1539
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return jsonValue.map(index_1.ExecutionErrorFromJSON); })];
|
|
752
1540
|
}
|
|
753
1541
|
});
|
|
754
1542
|
});
|
|
755
1543
|
};
|
|
756
1544
|
/**
|
|
757
|
-
*
|
|
758
|
-
*
|
|
1545
|
+
* List provider errors for a failed execution
|
|
1546
|
+
* List Execution Errors
|
|
759
1547
|
*/
|
|
760
|
-
CapabilitiesApi.prototype.
|
|
1548
|
+
CapabilitiesApi.prototype.listExecutionErrorsV1CapabilitiesCapabilityIdExecutionsExecutionIdErrorsGet_8 = function (requestParameters, initOverrides) {
|
|
761
1549
|
return __awaiter(this, void 0, void 0, function () {
|
|
762
1550
|
var response;
|
|
763
1551
|
return __generator(this, function (_a) {
|
|
764
1552
|
switch (_a.label) {
|
|
765
|
-
case 0: return [4 /*yield*/, this.
|
|
1553
|
+
case 0: return [4 /*yield*/, this.listExecutionErrorsV1CapabilitiesCapabilityIdExecutionsExecutionIdErrorsGet_8Raw(requestParameters, initOverrides)];
|
|
766
1554
|
case 1:
|
|
767
1555
|
response = _a.sent();
|
|
768
1556
|
return [4 /*yield*/, response.value()];
|
|
@@ -772,15 +1560,18 @@ var CapabilitiesApi = /** @class */ (function (_super) {
|
|
|
772
1560
|
});
|
|
773
1561
|
};
|
|
774
1562
|
/**
|
|
775
|
-
* List all
|
|
776
|
-
* List
|
|
1563
|
+
* List all capability executions
|
|
1564
|
+
* List Executions
|
|
777
1565
|
*/
|
|
778
|
-
CapabilitiesApi.prototype.
|
|
1566
|
+
CapabilitiesApi.prototype.listExecutionsV1CapabilitiesCapabilityIdExecutionsGetRaw = function (requestParameters, initOverrides) {
|
|
779
1567
|
return __awaiter(this, void 0, void 0, function () {
|
|
780
1568
|
var queryParameters, headerParameters, _a, _b, token, tokenString, urlPath, response;
|
|
781
1569
|
return __generator(this, function (_c) {
|
|
782
1570
|
switch (_c.label) {
|
|
783
1571
|
case 0:
|
|
1572
|
+
if (requestParameters['capabilityId'] == null) {
|
|
1573
|
+
throw new runtime.RequiredError('capabilityId', 'Required parameter "capabilityId" was null or undefined when calling listExecutionsV1CapabilitiesCapabilityIdExecutionsGet().');
|
|
1574
|
+
}
|
|
784
1575
|
queryParameters = {};
|
|
785
1576
|
if (requestParameters['page'] != null) {
|
|
786
1577
|
queryParameters['page'] = requestParameters['page'];
|
|
@@ -813,7 +1604,8 @@ var CapabilitiesApi = /** @class */ (function (_super) {
|
|
|
813
1604
|
}
|
|
814
1605
|
_c.label = 4;
|
|
815
1606
|
case 4:
|
|
816
|
-
urlPath = "/v1/capabilities";
|
|
1607
|
+
urlPath = "/v1/capabilities/{capability_id}/executions";
|
|
1608
|
+
urlPath = urlPath.replace("{".concat("capability_id", "}"), encodeURIComponent(String(requestParameters['capabilityId'])));
|
|
817
1609
|
return [4 /*yield*/, this.request({
|
|
818
1610
|
path: urlPath,
|
|
819
1611
|
method: 'GET',
|
|
@@ -822,22 +1614,21 @@ var CapabilitiesApi = /** @class */ (function (_super) {
|
|
|
822
1614
|
}, initOverrides)];
|
|
823
1615
|
case 5:
|
|
824
1616
|
response = _c.sent();
|
|
825
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.
|
|
1617
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.PagedResponseModelExecutionSparseFromJSON)(jsonValue); })];
|
|
826
1618
|
}
|
|
827
1619
|
});
|
|
828
1620
|
});
|
|
829
1621
|
};
|
|
830
1622
|
/**
|
|
831
|
-
* List all
|
|
832
|
-
* List
|
|
1623
|
+
* List all capability executions
|
|
1624
|
+
* List Executions
|
|
833
1625
|
*/
|
|
834
|
-
CapabilitiesApi.prototype.
|
|
835
|
-
return __awaiter(this,
|
|
1626
|
+
CapabilitiesApi.prototype.listExecutionsV1CapabilitiesCapabilityIdExecutionsGet = function (requestParameters, initOverrides) {
|
|
1627
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
836
1628
|
var response;
|
|
837
|
-
if (requestParameters === void 0) { requestParameters = {}; }
|
|
838
1629
|
return __generator(this, function (_a) {
|
|
839
1630
|
switch (_a.label) {
|
|
840
|
-
case 0: return [4 /*yield*/, this.
|
|
1631
|
+
case 0: return [4 /*yield*/, this.listExecutionsV1CapabilitiesCapabilityIdExecutionsGetRaw(requestParameters, initOverrides)];
|
|
841
1632
|
case 1:
|
|
842
1633
|
response = _a.sent();
|
|
843
1634
|
return [4 /*yield*/, response.value()];
|
|
@@ -847,17 +1638,17 @@ var CapabilitiesApi = /** @class */ (function (_super) {
|
|
|
847
1638
|
});
|
|
848
1639
|
};
|
|
849
1640
|
/**
|
|
850
|
-
* List all
|
|
851
|
-
* List
|
|
1641
|
+
* List all capability executions
|
|
1642
|
+
* List Executions
|
|
852
1643
|
*/
|
|
853
|
-
CapabilitiesApi.prototype.
|
|
1644
|
+
CapabilitiesApi.prototype.listExecutionsV1CapabilitiesCapabilityIdExecutionsGet_9Raw = function (requestParameters, initOverrides) {
|
|
854
1645
|
return __awaiter(this, void 0, void 0, function () {
|
|
855
1646
|
var queryParameters, headerParameters, _a, _b, token, tokenString, urlPath, response;
|
|
856
1647
|
return __generator(this, function (_c) {
|
|
857
1648
|
switch (_c.label) {
|
|
858
1649
|
case 0:
|
|
859
1650
|
if (requestParameters['capabilityId'] == null) {
|
|
860
|
-
throw new runtime.RequiredError('capabilityId', 'Required parameter "capabilityId" was null or undefined when calling
|
|
1651
|
+
throw new runtime.RequiredError('capabilityId', 'Required parameter "capabilityId" was null or undefined when calling listExecutionsV1CapabilitiesCapabilityIdExecutionsGet_9().');
|
|
861
1652
|
}
|
|
862
1653
|
queryParameters = {};
|
|
863
1654
|
if (requestParameters['page'] != null) {
|
|
@@ -891,7 +1682,7 @@ var CapabilitiesApi = /** @class */ (function (_super) {
|
|
|
891
1682
|
}
|
|
892
1683
|
_c.label = 4;
|
|
893
1684
|
case 4:
|
|
894
|
-
urlPath = "/v1/capabilities/{capability_id}/
|
|
1685
|
+
urlPath = "/v1/capabilities/{capability_id}/executions";
|
|
895
1686
|
urlPath = urlPath.replace("{".concat("capability_id", "}"), encodeURIComponent(String(requestParameters['capabilityId'])));
|
|
896
1687
|
return [4 /*yield*/, this.request({
|
|
897
1688
|
path: urlPath,
|
|
@@ -901,21 +1692,21 @@ var CapabilitiesApi = /** @class */ (function (_super) {
|
|
|
901
1692
|
}, initOverrides)];
|
|
902
1693
|
case 5:
|
|
903
1694
|
response = _c.sent();
|
|
904
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.
|
|
1695
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.PagedResponseModelExecutionSparseFromJSON)(jsonValue); })];
|
|
905
1696
|
}
|
|
906
1697
|
});
|
|
907
1698
|
});
|
|
908
1699
|
};
|
|
909
1700
|
/**
|
|
910
|
-
* List all
|
|
911
|
-
* List
|
|
1701
|
+
* List all capability executions
|
|
1702
|
+
* List Executions
|
|
912
1703
|
*/
|
|
913
|
-
CapabilitiesApi.prototype.
|
|
1704
|
+
CapabilitiesApi.prototype.listExecutionsV1CapabilitiesCapabilityIdExecutionsGet_9 = function (requestParameters, initOverrides) {
|
|
914
1705
|
return __awaiter(this, void 0, void 0, function () {
|
|
915
1706
|
var response;
|
|
916
1707
|
return __generator(this, function (_a) {
|
|
917
1708
|
switch (_a.label) {
|
|
918
|
-
case 0: return [4 /*yield*/, this.
|
|
1709
|
+
case 0: return [4 /*yield*/, this.listExecutionsV1CapabilitiesCapabilityIdExecutionsGet_9Raw(requestParameters, initOverrides)];
|
|
919
1710
|
case 1:
|
|
920
1711
|
response = _a.sent();
|
|
921
1712
|
return [4 /*yield*/, response.value()];
|
|
@@ -925,17 +1716,17 @@ var CapabilitiesApi = /** @class */ (function (_super) {
|
|
|
925
1716
|
});
|
|
926
1717
|
};
|
|
927
1718
|
/**
|
|
928
|
-
* List
|
|
929
|
-
* List
|
|
1719
|
+
* List feedback for a capability
|
|
1720
|
+
* List Feedback
|
|
930
1721
|
*/
|
|
931
|
-
CapabilitiesApi.prototype.
|
|
1722
|
+
CapabilitiesApi.prototype.listFeedbackV1CapabilitiesCapabilityIdFeedbackGetRaw = function (requestParameters, initOverrides) {
|
|
932
1723
|
return __awaiter(this, void 0, void 0, function () {
|
|
933
1724
|
var queryParameters, headerParameters, _a, _b, token, tokenString, urlPath, response;
|
|
934
1725
|
return __generator(this, function (_c) {
|
|
935
1726
|
switch (_c.label) {
|
|
936
1727
|
case 0:
|
|
937
1728
|
if (requestParameters['capabilityId'] == null) {
|
|
938
|
-
throw new runtime.RequiredError('capabilityId', 'Required parameter "capabilityId" was null or undefined when calling
|
|
1729
|
+
throw new runtime.RequiredError('capabilityId', 'Required parameter "capabilityId" was null or undefined when calling listFeedbackV1CapabilitiesCapabilityIdFeedbackGet().');
|
|
939
1730
|
}
|
|
940
1731
|
queryParameters = {};
|
|
941
1732
|
if (requestParameters['page'] != null) {
|
|
@@ -969,7 +1760,7 @@ var CapabilitiesApi = /** @class */ (function (_super) {
|
|
|
969
1760
|
}
|
|
970
1761
|
_c.label = 4;
|
|
971
1762
|
case 4:
|
|
972
|
-
urlPath = "/v1/capabilities/{capability_id}/
|
|
1763
|
+
urlPath = "/v1/capabilities/{capability_id}/feedback";
|
|
973
1764
|
urlPath = urlPath.replace("{".concat("capability_id", "}"), encodeURIComponent(String(requestParameters['capabilityId'])));
|
|
974
1765
|
return [4 /*yield*/, this.request({
|
|
975
1766
|
path: urlPath,
|
|
@@ -979,21 +1770,21 @@ var CapabilitiesApi = /** @class */ (function (_super) {
|
|
|
979
1770
|
}, initOverrides)];
|
|
980
1771
|
case 5:
|
|
981
1772
|
response = _c.sent();
|
|
982
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.
|
|
1773
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.PagedResponseModelFeedbackFromJSON)(jsonValue); })];
|
|
983
1774
|
}
|
|
984
1775
|
});
|
|
985
1776
|
});
|
|
986
1777
|
};
|
|
987
1778
|
/**
|
|
988
|
-
* List
|
|
989
|
-
* List
|
|
1779
|
+
* List feedback for a capability
|
|
1780
|
+
* List Feedback
|
|
990
1781
|
*/
|
|
991
|
-
CapabilitiesApi.prototype.
|
|
1782
|
+
CapabilitiesApi.prototype.listFeedbackV1CapabilitiesCapabilityIdFeedbackGet = function (requestParameters, initOverrides) {
|
|
992
1783
|
return __awaiter(this, void 0, void 0, function () {
|
|
993
1784
|
var response;
|
|
994
1785
|
return __generator(this, function (_a) {
|
|
995
1786
|
switch (_a.label) {
|
|
996
|
-
case 0: return [4 /*yield*/, this.
|
|
1787
|
+
case 0: return [4 /*yield*/, this.listFeedbackV1CapabilitiesCapabilityIdFeedbackGetRaw(requestParameters, initOverrides)];
|
|
997
1788
|
case 1:
|
|
998
1789
|
response = _a.sent();
|
|
999
1790
|
return [4 /*yield*/, response.value()];
|
|
@@ -1003,32 +1794,27 @@ var CapabilitiesApi = /** @class */ (function (_super) {
|
|
|
1003
1794
|
});
|
|
1004
1795
|
};
|
|
1005
1796
|
/**
|
|
1006
|
-
*
|
|
1007
|
-
*
|
|
1797
|
+
* Create or update feedback for a capability execution
|
|
1798
|
+
* Provide Feedback
|
|
1008
1799
|
*/
|
|
1009
|
-
CapabilitiesApi.prototype.
|
|
1800
|
+
CapabilitiesApi.prototype.provideFeedbackV1CapabilitiesCapabilityIdExecutionsExecutionIdFeedbackPostRaw = function (requestParameters, initOverrides) {
|
|
1010
1801
|
return __awaiter(this, void 0, void 0, function () {
|
|
1011
1802
|
var queryParameters, headerParameters, _a, _b, token, tokenString, urlPath, response;
|
|
1012
1803
|
return __generator(this, function (_c) {
|
|
1013
1804
|
switch (_c.label) {
|
|
1014
1805
|
case 0:
|
|
1015
|
-
if (requestParameters['
|
|
1016
|
-
throw new runtime.RequiredError('
|
|
1017
|
-
}
|
|
1018
|
-
queryParameters = {};
|
|
1019
|
-
if (requestParameters['page'] != null) {
|
|
1020
|
-
queryParameters['page'] = requestParameters['page'];
|
|
1021
|
-
}
|
|
1022
|
-
if (requestParameters['size'] != null) {
|
|
1023
|
-
queryParameters['size'] = requestParameters['size'];
|
|
1806
|
+
if (requestParameters['executionId'] == null) {
|
|
1807
|
+
throw new runtime.RequiredError('executionId', 'Required parameter "executionId" was null or undefined when calling provideFeedbackV1CapabilitiesCapabilityIdExecutionsExecutionIdFeedbackPost().');
|
|
1024
1808
|
}
|
|
1025
|
-
if (requestParameters['
|
|
1026
|
-
|
|
1809
|
+
if (requestParameters['capabilityId'] == null) {
|
|
1810
|
+
throw new runtime.RequiredError('capabilityId', 'Required parameter "capabilityId" was null or undefined when calling provideFeedbackV1CapabilitiesCapabilityIdExecutionsExecutionIdFeedbackPost().');
|
|
1027
1811
|
}
|
|
1028
|
-
if (requestParameters['
|
|
1029
|
-
|
|
1812
|
+
if (requestParameters['feedbackCreate'] == null) {
|
|
1813
|
+
throw new runtime.RequiredError('feedbackCreate', 'Required parameter "feedbackCreate" was null or undefined when calling provideFeedbackV1CapabilitiesCapabilityIdExecutionsExecutionIdFeedbackPost().');
|
|
1030
1814
|
}
|
|
1815
|
+
queryParameters = {};
|
|
1031
1816
|
headerParameters = {};
|
|
1817
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
1032
1818
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
|
|
1033
1819
|
_a = headerParameters;
|
|
1034
1820
|
_b = "X-API-Key";
|
|
@@ -1047,31 +1833,33 @@ var CapabilitiesApi = /** @class */ (function (_super) {
|
|
|
1047
1833
|
}
|
|
1048
1834
|
_c.label = 4;
|
|
1049
1835
|
case 4:
|
|
1050
|
-
urlPath = "/v1/capabilities/{capability_id}/feedback";
|
|
1836
|
+
urlPath = "/v1/capabilities/{capability_id}/executions/{execution_id}/feedback";
|
|
1837
|
+
urlPath = urlPath.replace("{".concat("execution_id", "}"), encodeURIComponent(String(requestParameters['executionId'])));
|
|
1051
1838
|
urlPath = urlPath.replace("{".concat("capability_id", "}"), encodeURIComponent(String(requestParameters['capabilityId'])));
|
|
1052
1839
|
return [4 /*yield*/, this.request({
|
|
1053
1840
|
path: urlPath,
|
|
1054
|
-
method: '
|
|
1841
|
+
method: 'POST',
|
|
1055
1842
|
headers: headerParameters,
|
|
1056
1843
|
query: queryParameters,
|
|
1844
|
+
body: (0, index_1.FeedbackCreateToJSON)(requestParameters['feedbackCreate']),
|
|
1057
1845
|
}, initOverrides)];
|
|
1058
1846
|
case 5:
|
|
1059
1847
|
response = _c.sent();
|
|
1060
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.
|
|
1848
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.FeedbackFromJSON)(jsonValue); })];
|
|
1061
1849
|
}
|
|
1062
1850
|
});
|
|
1063
1851
|
});
|
|
1064
1852
|
};
|
|
1065
1853
|
/**
|
|
1066
|
-
*
|
|
1067
|
-
*
|
|
1854
|
+
* Create or update feedback for a capability execution
|
|
1855
|
+
* Provide Feedback
|
|
1068
1856
|
*/
|
|
1069
|
-
CapabilitiesApi.prototype.
|
|
1857
|
+
CapabilitiesApi.prototype.provideFeedbackV1CapabilitiesCapabilityIdExecutionsExecutionIdFeedbackPost = function (requestParameters, initOverrides) {
|
|
1070
1858
|
return __awaiter(this, void 0, void 0, function () {
|
|
1071
1859
|
var response;
|
|
1072
1860
|
return __generator(this, function (_a) {
|
|
1073
1861
|
switch (_a.label) {
|
|
1074
|
-
case 0: return [4 /*yield*/, this.
|
|
1862
|
+
case 0: return [4 /*yield*/, this.provideFeedbackV1CapabilitiesCapabilityIdExecutionsExecutionIdFeedbackPostRaw(requestParameters, initOverrides)];
|
|
1075
1863
|
case 1:
|
|
1076
1864
|
response = _a.sent();
|
|
1077
1865
|
return [4 /*yield*/, response.value()];
|
|
@@ -1084,20 +1872,20 @@ var CapabilitiesApi = /** @class */ (function (_super) {
|
|
|
1084
1872
|
* Create or update feedback for a capability execution
|
|
1085
1873
|
* Provide Feedback
|
|
1086
1874
|
*/
|
|
1087
|
-
CapabilitiesApi.prototype.
|
|
1875
|
+
CapabilitiesApi.prototype.provideFeedbackV1CapabilitiesCapabilityIdExecutionsExecutionIdFeedbackPost_10Raw = function (requestParameters, initOverrides) {
|
|
1088
1876
|
return __awaiter(this, void 0, void 0, function () {
|
|
1089
1877
|
var queryParameters, headerParameters, _a, _b, token, tokenString, urlPath, response;
|
|
1090
1878
|
return __generator(this, function (_c) {
|
|
1091
1879
|
switch (_c.label) {
|
|
1092
1880
|
case 0:
|
|
1093
1881
|
if (requestParameters['executionId'] == null) {
|
|
1094
|
-
throw new runtime.RequiredError('executionId', 'Required parameter "executionId" was null or undefined when calling
|
|
1882
|
+
throw new runtime.RequiredError('executionId', 'Required parameter "executionId" was null or undefined when calling provideFeedbackV1CapabilitiesCapabilityIdExecutionsExecutionIdFeedbackPost_10().');
|
|
1095
1883
|
}
|
|
1096
1884
|
if (requestParameters['capabilityId'] == null) {
|
|
1097
|
-
throw new runtime.RequiredError('capabilityId', 'Required parameter "capabilityId" was null or undefined when calling
|
|
1885
|
+
throw new runtime.RequiredError('capabilityId', 'Required parameter "capabilityId" was null or undefined when calling provideFeedbackV1CapabilitiesCapabilityIdExecutionsExecutionIdFeedbackPost_10().');
|
|
1098
1886
|
}
|
|
1099
1887
|
if (requestParameters['feedbackCreate'] == null) {
|
|
1100
|
-
throw new runtime.RequiredError('feedbackCreate', 'Required parameter "feedbackCreate" was null or undefined when calling
|
|
1888
|
+
throw new runtime.RequiredError('feedbackCreate', 'Required parameter "feedbackCreate" was null or undefined when calling provideFeedbackV1CapabilitiesCapabilityIdExecutionsExecutionIdFeedbackPost_10().');
|
|
1101
1889
|
}
|
|
1102
1890
|
queryParameters = {};
|
|
1103
1891
|
headerParameters = {};
|
|
@@ -1141,12 +1929,12 @@ var CapabilitiesApi = /** @class */ (function (_super) {
|
|
|
1141
1929
|
* Create or update feedback for a capability execution
|
|
1142
1930
|
* Provide Feedback
|
|
1143
1931
|
*/
|
|
1144
|
-
CapabilitiesApi.prototype.
|
|
1932
|
+
CapabilitiesApi.prototype.provideFeedbackV1CapabilitiesCapabilityIdExecutionsExecutionIdFeedbackPost_10 = function (requestParameters, initOverrides) {
|
|
1145
1933
|
return __awaiter(this, void 0, void 0, function () {
|
|
1146
1934
|
var response;
|
|
1147
1935
|
return __generator(this, function (_a) {
|
|
1148
1936
|
switch (_a.label) {
|
|
1149
|
-
case 0: return [4 /*yield*/, this.
|
|
1937
|
+
case 0: return [4 /*yield*/, this.provideFeedbackV1CapabilitiesCapabilityIdExecutionsExecutionIdFeedbackPost_10Raw(requestParameters, initOverrides)];
|
|
1150
1938
|
case 1:
|
|
1151
1939
|
response = _a.sent();
|
|
1152
1940
|
return [4 /*yield*/, response.value()];
|
|
@@ -1371,6 +2159,85 @@ var CapabilitiesApi = /** @class */ (function (_super) {
|
|
|
1371
2159
|
});
|
|
1372
2160
|
});
|
|
1373
2161
|
};
|
|
2162
|
+
/**
|
|
2163
|
+
* Stream incremental updates for a capability execution
|
|
2164
|
+
* Stream Execution Events
|
|
2165
|
+
*/
|
|
2166
|
+
CapabilitiesApi.prototype.streamExecutionEventsV1CapabilitiesCapabilityIdExecutionsExecutionIdStreamGet_11Raw = function (requestParameters, initOverrides) {
|
|
2167
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2168
|
+
var queryParameters, headerParameters, _a, _b, token, tokenString, urlPath, response;
|
|
2169
|
+
return __generator(this, function (_c) {
|
|
2170
|
+
switch (_c.label) {
|
|
2171
|
+
case 0:
|
|
2172
|
+
if (requestParameters['executionId'] == null) {
|
|
2173
|
+
throw new runtime.RequiredError('executionId', 'Required parameter "executionId" was null or undefined when calling streamExecutionEventsV1CapabilitiesCapabilityIdExecutionsExecutionIdStreamGet_11().');
|
|
2174
|
+
}
|
|
2175
|
+
if (requestParameters['capabilityId'] == null) {
|
|
2176
|
+
throw new runtime.RequiredError('capabilityId', 'Required parameter "capabilityId" was null or undefined when calling streamExecutionEventsV1CapabilitiesCapabilityIdExecutionsExecutionIdStreamGet_11().');
|
|
2177
|
+
}
|
|
2178
|
+
queryParameters = {};
|
|
2179
|
+
if (requestParameters['transport'] != null) {
|
|
2180
|
+
queryParameters['transport'] = requestParameters['transport'];
|
|
2181
|
+
}
|
|
2182
|
+
headerParameters = {};
|
|
2183
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
|
|
2184
|
+
_a = headerParameters;
|
|
2185
|
+
_b = "X-API-Key";
|
|
2186
|
+
return [4 /*yield*/, this.configuration.apiKey("X-API-Key")];
|
|
2187
|
+
case 1:
|
|
2188
|
+
_a[_b] = _c.sent(); // APIKeyHeader authentication
|
|
2189
|
+
_c.label = 2;
|
|
2190
|
+
case 2:
|
|
2191
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
|
|
2192
|
+
token = this.configuration.accessToken;
|
|
2193
|
+
return [4 /*yield*/, token("HTTPBearer", [])];
|
|
2194
|
+
case 3:
|
|
2195
|
+
tokenString = _c.sent();
|
|
2196
|
+
if (tokenString) {
|
|
2197
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
2198
|
+
}
|
|
2199
|
+
_c.label = 4;
|
|
2200
|
+
case 4:
|
|
2201
|
+
urlPath = "/v1/capabilities/{capability_id}/executions/{execution_id}/stream";
|
|
2202
|
+
urlPath = urlPath.replace("{".concat("execution_id", "}"), encodeURIComponent(String(requestParameters['executionId'])));
|
|
2203
|
+
urlPath = urlPath.replace("{".concat("capability_id", "}"), encodeURIComponent(String(requestParameters['capabilityId'])));
|
|
2204
|
+
return [4 /*yield*/, this.request({
|
|
2205
|
+
path: urlPath,
|
|
2206
|
+
method: 'GET',
|
|
2207
|
+
headers: headerParameters,
|
|
2208
|
+
query: queryParameters,
|
|
2209
|
+
}, initOverrides)];
|
|
2210
|
+
case 5:
|
|
2211
|
+
response = _c.sent();
|
|
2212
|
+
if (this.isJsonMime(response.headers.get('content-type'))) {
|
|
2213
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
2214
|
+
}
|
|
2215
|
+
else {
|
|
2216
|
+
return [2 /*return*/, new runtime.TextApiResponse(response)];
|
|
2217
|
+
}
|
|
2218
|
+
return [2 /*return*/];
|
|
2219
|
+
}
|
|
2220
|
+
});
|
|
2221
|
+
});
|
|
2222
|
+
};
|
|
2223
|
+
/**
|
|
2224
|
+
* Stream incremental updates for a capability execution
|
|
2225
|
+
* Stream Execution Events
|
|
2226
|
+
*/
|
|
2227
|
+
CapabilitiesApi.prototype.streamExecutionEventsV1CapabilitiesCapabilityIdExecutionsExecutionIdStreamGet_11 = function (requestParameters, initOverrides) {
|
|
2228
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2229
|
+
var response;
|
|
2230
|
+
return __generator(this, function (_a) {
|
|
2231
|
+
switch (_a.label) {
|
|
2232
|
+
case 0: return [4 /*yield*/, this.streamExecutionEventsV1CapabilitiesCapabilityIdExecutionsExecutionIdStreamGet_11Raw(requestParameters, initOverrides)];
|
|
2233
|
+
case 1:
|
|
2234
|
+
response = _a.sent();
|
|
2235
|
+
return [4 /*yield*/, response.value()];
|
|
2236
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
2237
|
+
}
|
|
2238
|
+
});
|
|
2239
|
+
});
|
|
2240
|
+
};
|
|
1374
2241
|
/**
|
|
1375
2242
|
* Update a capability
|
|
1376
2243
|
* Update Capability
|