@breign/client 1.0.4 → 1.0.6
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/README.md +51 -0
- package/dist/apis/AgentApi.d.ts +330 -0
- package/dist/apis/AgentApi.js +790 -0
- package/dist/apis/AppApi.d.ts +348 -0
- package/dist/apis/AppApi.js +837 -0
- package/dist/apis/AuthApi.d.ts +45 -0
- package/dist/apis/AuthApi.js +122 -0
- package/dist/apis/ChunksApi.d.ts +95 -0
- package/dist/apis/ChunksApi.js +235 -0
- package/dist/apis/ConfigurationApi.d.ts +74 -0
- package/dist/apis/ConfigurationApi.js +197 -0
- package/dist/apis/ContentsApi.d.ts +44 -0
- package/dist/apis/ContentsApi.js +115 -0
- package/dist/apis/ConversationsApi.d.ts +87 -0
- package/dist/apis/ConversationsApi.js +214 -0
- package/dist/apis/EngineApi.d.ts +112 -0
- package/dist/apis/EngineApi.js +280 -0
- package/dist/apis/FilesApi.d.ts +67 -0
- package/dist/apis/FilesApi.js +171 -0
- package/dist/apis/GeneralApi.d.ts +28 -0
- package/dist/apis/GeneralApi.js +83 -0
- package/dist/apis/GuardiansApi.d.ts +122 -0
- package/dist/apis/GuardiansApi.js +304 -0
- package/dist/apis/KnowledgeApi.d.ts +171 -0
- package/dist/apis/KnowledgeApi.js +436 -0
- package/dist/apis/ManifestsApi.d.ts +81 -0
- package/dist/apis/ManifestsApi.js +205 -0
- package/dist/apis/MetricsApi.d.ts +46 -0
- package/dist/apis/MetricsApi.js +121 -0
- package/dist/apis/OrganizationsApi.d.ts +31 -0
- package/dist/apis/OrganizationsApi.js +86 -0
- package/dist/apis/PromptsApi.d.ts +101 -0
- package/dist/apis/PromptsApi.js +254 -0
- package/dist/apis/RemotesApi.d.ts +31 -0
- package/dist/apis/RemotesApi.js +88 -0
- package/dist/apis/ToolsApi.d.ts +47 -0
- package/dist/apis/ToolsApi.js +128 -0
- package/dist/apis/index.d.ts +18 -1
- package/dist/apis/index.js +18 -1
- package/dist/models/AgentDuplicateRequestUio.d.ts +56 -0
- package/dist/models/AgentDuplicateRequestUio.js +58 -0
- package/dist/models/{BrainFlowCreateUio.d.ts → AgentFlowCreateUio.d.ts} +12 -12
- package/dist/models/{BrainFlowCreateUio.js → AgentFlowCreateUio.js} +13 -13
- package/dist/models/{BrainFlowUio.d.ts → AgentFlowUio.d.ts} +15 -15
- package/dist/models/{BrainFlowUio.js → AgentFlowUio.js} +16 -16
- package/dist/models/AgentKnowledgeBaseUio.d.ts +57 -0
- package/dist/models/AgentKnowledgeBaseUio.js +67 -0
- package/dist/models/AgentMetricsEventUio.d.ts +65 -0
- package/dist/models/{BrainMetricsEventUio.js → AgentMetricsEventUio.js} +20 -20
- package/dist/models/{BrainMetricsOverviewUio.d.ts → AgentMetricsOverviewUio.d.ts} +14 -14
- package/dist/models/{BrainMetricsOverviewUio.js → AgentMetricsOverviewUio.js} +13 -13
- package/dist/models/AgentMetricsUnitsTypeUio.d.ts +27 -0
- package/dist/models/AgentMetricsUnitsTypeUio.js +53 -0
- package/dist/models/AgentMetricsValueUio.d.ts +57 -0
- package/dist/models/{BrainMetricsValueUio.js → AgentMetricsValueUio.js} +16 -16
- package/dist/models/AgentModuleTypeUio.d.ts +25 -0
- package/dist/models/AgentModuleTypeUio.js +51 -0
- package/dist/models/AgentModuleUio.d.ts +51 -0
- package/dist/models/{BrainModuleUio.js → AgentModuleUio.js} +16 -16
- package/dist/models/AgentPatchEngineUio.d.ts +38 -0
- package/dist/models/AgentPatchEngineUio.js +54 -0
- package/dist/models/AgentPatchUio.d.ts +173 -0
- package/dist/models/{BrainPatchUio.js → AgentPatchUio.js} +32 -43
- package/dist/models/AgentRequestProfilePictureUio.d.ts +50 -0
- package/dist/models/{BrainRequestImageBrainUio.js → AgentRequestProfilePictureUio.js} +13 -13
- package/dist/models/{BrainRequestUio.d.ts → AgentRequestUio.d.ts} +26 -26
- package/dist/models/{BrainRequestUio.js → AgentRequestUio.js} +17 -19
- package/dist/models/AgentSubscriptionTextInteractionsUio.d.ts +39 -0
- package/dist/models/{BrainSubscriptionTextInteractionsUio.js → AgentSubscriptionTextInteractionsUio.js} +13 -13
- package/dist/models/AgentSubscriptionUio.d.ts +57 -0
- package/dist/models/AgentSubscriptionUio.js +63 -0
- package/dist/models/AgentToolUio.d.ts +78 -0
- package/dist/models/AgentToolUio.js +72 -0
- package/dist/models/AgentTypeUio.d.ts +27 -0
- package/dist/models/AgentTypeUio.js +53 -0
- package/dist/models/{BrainUio.d.ts → AgentUio.d.ts} +60 -39
- package/dist/models/{BrainUio.js → AgentUio.js} +30 -23
- package/dist/models/AgentUsageMetricsIdUio.d.ts +44 -0
- package/dist/models/{BrainUsageMetricsIdUio.js → AgentUsageMetricsIdUio.js} +13 -13
- package/dist/models/AgentUsageMetricsUio.d.ts +46 -0
- package/dist/models/{BrainUsageMetricsUio.js → AgentUsageMetricsUio.js} +16 -16
- package/dist/models/ApiKeyUio.d.ts +44 -0
- package/dist/models/ApiKeyUio.js +58 -0
- package/dist/models/AppChatCreateRequestUio.d.ts +44 -0
- package/dist/models/AppChatCreateRequestUio.js +56 -0
- package/dist/models/AppChatCreateResponseUio.d.ts +38 -0
- package/dist/models/AppChatCreateResponseUio.js +52 -0
- package/dist/models/AppChatSayRequestUio.d.ts +38 -0
- package/dist/models/AppChatSayRequestUio.js +52 -0
- package/dist/models/AppChatSayResponseUio.d.ts +32 -0
- package/dist/models/AppChatSayResponseUio.js +50 -0
- package/dist/models/AppChatSubmitMessageRequestUio.d.ts +32 -0
- package/dist/models/AppChatSubmitMessageRequestUio.js +50 -0
- package/dist/models/AppConfigurationUio.d.ts +33 -0
- package/dist/models/AppConfigurationUio.js +52 -0
- package/dist/models/AppConfigurationUpdateRequestUio.d.ts +33 -0
- package/dist/models/AppConfigurationUpdateRequestUio.js +50 -0
- package/dist/models/AppCreateRequestUio.d.ts +87 -0
- package/dist/models/AppCreateRequestUio.js +73 -0
- package/dist/models/AppFlowCreateRequestUio.d.ts +44 -0
- package/dist/models/AppFlowCreateRequestUio.js +54 -0
- package/dist/models/AppInstanceCreateRequestUio.d.ts +32 -0
- package/dist/models/AppInstanceCreateRequestUio.js +50 -0
- package/dist/models/AppLightUio.d.ts +80 -0
- package/dist/models/AppLightUio.js +80 -0
- package/dist/models/AppProbeRequestUio.d.ts +33 -0
- package/dist/models/AppProbeRequestUio.js +52 -0
- package/dist/models/AppProbeResponseUio.d.ts +39 -0
- package/dist/models/AppProbeResponseUio.js +56 -0
- package/dist/models/AppStatusRequestUio.d.ts +33 -0
- package/dist/models/AppStatusRequestUio.js +51 -0
- package/dist/models/AppStatusResponseUio.d.ts +45 -0
- package/dist/models/AppStatusResponseUio.js +57 -0
- package/dist/models/AppStatusUio.d.ts +25 -0
- package/dist/models/AppStatusUio.js +51 -0
- package/dist/models/AppSubmitMessageRequestUio.d.ts +34 -0
- package/dist/models/AppSubmitMessageRequestUio.js +50 -0
- package/dist/models/AppTextToSpeechRequestUio.d.ts +38 -0
- package/dist/models/AppTextToSpeechRequestUio.js +54 -0
- package/dist/models/AppTextToSpeechResponseUio.d.ts +33 -0
- package/dist/models/AppTextToSpeechResponseUio.js +51 -0
- package/dist/models/AppUio.d.ts +139 -0
- package/dist/models/AppUio.js +109 -0
- package/dist/models/AppUpdateRequestUio.d.ts +81 -0
- package/dist/models/AppUpdateRequestUio.js +65 -0
- package/dist/models/AttachmentCreateRequestUio.d.ts +57 -0
- package/dist/models/AttachmentCreateRequestUio.js +67 -0
- package/dist/models/AttachmentTypeUio.d.ts +24 -0
- package/dist/models/AttachmentTypeUio.js +50 -0
- package/dist/models/AudioFile1Uio.d.ts +45 -0
- package/dist/models/AudioFile1Uio.js +59 -0
- package/dist/models/AudioFileOrBufferUio.d.ts +22 -0
- package/dist/models/AudioFileOrBufferUio.js +50 -0
- package/dist/models/AudioFileTypeUio.d.ts +24 -0
- package/dist/models/AudioFileTypeUio.js +50 -0
- package/dist/models/AudioFileUio.d.ts +45 -0
- package/dist/models/AudioFileUio.js +59 -0
- package/dist/models/AuthCodeConfirmRequestUio.d.ts +45 -0
- package/dist/models/AuthCodeConfirmRequestUio.js +59 -0
- package/dist/models/AuthCodeConfirmResponseUio.d.ts +39 -0
- package/dist/models/AuthCodeConfirmResponseUio.js +55 -0
- package/dist/models/AuthCodeRequestUio.d.ts +40 -0
- package/dist/models/AuthCodeRequestUio.js +56 -0
- package/dist/models/AuthCodeResponseUio.d.ts +38 -0
- package/dist/models/AuthCodeResponseUio.js +54 -0
- package/dist/models/AuthTypeUio.d.ts +24 -0
- package/dist/models/AuthTypeUio.js +50 -0
- package/dist/models/BodyWithIdUio.d.ts +32 -0
- package/dist/models/BodyWithIdUio.js +50 -0
- package/dist/models/BodyWithMessageUio.d.ts +32 -0
- package/dist/models/BodyWithMessageUio.js +50 -0
- package/dist/models/ChatContextUio.d.ts +39 -0
- package/dist/models/ChatContextUio.js +53 -0
- package/dist/models/ChatMessageAudioInnerUio.d.ts +38 -0
- package/dist/models/ChatMessageAudioInnerUio.js +54 -0
- package/dist/models/ChatMessageRoleUio.d.ts +26 -0
- package/dist/models/ChatMessageRoleUio.js +52 -0
- package/dist/models/ChatMessageUio.d.ts +128 -0
- package/dist/models/ChatMessageUio.js +92 -0
- package/dist/models/ChatMessageWithFlowNodeUio.d.ts +129 -0
- package/dist/models/ChatMessageWithFlowNodeUio.js +95 -0
- package/dist/models/ChatUio.d.ts +100 -0
- package/dist/models/ChatUio.js +86 -0
- package/dist/models/ChunkContentCreateUio.d.ts +77 -0
- package/dist/models/ChunkContentCreateUio.js +77 -0
- package/dist/models/ChunkContentUio.d.ts +69 -0
- package/dist/models/ChunkContentUio.js +71 -0
- package/dist/models/ChunkCreateRequestContentInnerUio.d.ts +50 -0
- package/dist/models/ChunkCreateRequestContentInnerUio.js +62 -0
- package/dist/models/ChunkCreateRequestUio.d.ts +45 -0
- package/dist/models/ChunkCreateRequestUio.js +53 -0
- package/dist/models/ChunkCreateResponseUio.d.ts +57 -0
- package/dist/models/ChunkCreateResponseUio.js +67 -0
- package/dist/models/ChunkUio.d.ts +57 -0
- package/dist/models/ChunkUio.js +67 -0
- package/dist/models/ConfigurationDefaultFillerPhrasesUio.d.ts +44 -0
- package/dist/models/ConfigurationDefaultFillerPhrasesUio.js +58 -0
- package/dist/models/ContextUio.d.ts +33 -0
- package/dist/models/ContextUio.js +51 -0
- package/dist/models/ConversationUio.d.ts +39 -0
- package/dist/models/ConversationUio.js +55 -0
- package/dist/models/DefaultClientPricesUio.d.ts +39 -0
- package/dist/models/DefaultClientPricesUio.js +55 -0
- package/dist/models/DefaultEngineRequestUio.d.ts +44 -0
- package/dist/models/DefaultEngineRequestUio.js +58 -0
- package/dist/models/DocumentAddRequestUio.d.ts +38 -0
- package/dist/models/DocumentAddRequestUio.js +52 -0
- package/dist/models/EngineUio.d.ts +4 -7
- package/dist/models/EngineUio.js +6 -7
- package/dist/models/FileAttachmentProcessedOneOf1Uio.d.ts +45 -0
- package/dist/models/FileAttachmentProcessedOneOf1Uio.js +61 -0
- package/dist/models/FileAttachmentProcessedOneOfUio.d.ts +45 -0
- package/dist/models/FileAttachmentProcessedOneOfUio.js +57 -0
- package/dist/models/FileAttachmentProcessedUio.d.ts +23 -0
- package/dist/models/FileAttachmentProcessedUio.js +57 -0
- package/dist/models/FileAttachmentStatusUio.d.ts +27 -0
- package/dist/models/FileAttachmentStatusUio.js +53 -0
- package/dist/models/FileAttachmentUio.d.ts +89 -0
- package/dist/models/FileAttachmentUio.js +85 -0
- package/dist/models/FileCreationRequestUio.d.ts +6 -0
- package/dist/models/FileCreationRequestUio.js +2 -0
- package/dist/models/FileCreationResponseUio.d.ts +83 -0
- package/dist/models/FileCreationResponseUio.js +83 -0
- package/dist/models/FileStatusUio.d.ts +1 -0
- package/dist/models/FileStatusUio.js +2 -1
- package/dist/models/FileStatusUpdateRequestUio.d.ts +33 -0
- package/dist/models/FileStatusUpdateRequestUio.js +51 -0
- package/dist/models/FileUio.d.ts +2 -8
- package/dist/models/FileUio.js +2 -6
- package/dist/models/FileWithDownloadUrlUio.d.ts +75 -0
- package/dist/models/FileWithDownloadUrlUio.js +79 -0
- package/dist/models/FlowUio.d.ts +45 -0
- package/dist/models/FlowUio.js +53 -0
- package/dist/models/GuardianCreateRequestUio.d.ts +73 -0
- package/dist/models/GuardianCreateRequestUio.js +69 -0
- package/dist/models/GuardianEngineUio.d.ts +34 -0
- package/dist/models/GuardianEngineUio.js +50 -0
- package/dist/models/GuardianPositionUio.d.ts +25 -0
- package/dist/models/GuardianPositionUio.js +51 -0
- package/dist/models/GuardianPutRequestUio.d.ts +73 -0
- package/dist/models/GuardianPutRequestUio.js +63 -0
- package/dist/models/GuardianRoleUio.d.ts +28 -0
- package/dist/models/GuardianRoleUio.js +54 -0
- package/dist/models/GuardianTypeUio.d.ts +26 -0
- package/dist/models/GuardianTypeUio.js +52 -0
- package/dist/models/GuardianUio.d.ts +122 -0
- package/dist/models/GuardianUio.js +90 -0
- package/dist/models/HealthCheckResponseComponentsApiUio.d.ts +33 -0
- package/dist/models/HealthCheckResponseComponentsApiUio.js +49 -0
- package/dist/models/HealthCheckResponseComponentsUio.d.ts +39 -0
- package/dist/models/HealthCheckResponseComponentsUio.js +51 -0
- package/dist/models/HealthCheckResponseUio.d.ts +51 -0
- package/dist/models/HealthCheckResponseUio.js +55 -0
- package/dist/models/HealthStatusUio.d.ts +26 -0
- package/dist/models/HealthStatusUio.js +52 -0
- package/dist/models/ImportFileToAgentKnowledge200ResponseUio.d.ts +56 -0
- package/dist/models/ImportFileToAgentKnowledge200ResponseUio.js +56 -0
- package/dist/models/InputUio.d.ts +38 -0
- package/dist/models/InputUio.js +54 -0
- package/dist/models/InstanceUio.d.ts +57 -0
- package/dist/models/InstanceUio.js +67 -0
- package/dist/models/KnowledgeBasePrivacyUio.d.ts +25 -0
- package/dist/models/KnowledgeBasePrivacyUio.js +51 -0
- package/dist/models/LipsyncUio.d.ts +45 -0
- package/dist/models/LipsyncUio.js +56 -0
- package/dist/models/ManifestCreateRequestUio.d.ts +51 -0
- package/dist/models/ManifestCreateRequestUio.js +60 -0
- package/dist/models/ManifestUio.d.ts +57 -0
- package/dist/models/ManifestUio.js +66 -0
- package/dist/models/MessageUio.d.ts +32 -0
- package/dist/models/MessageUio.js +50 -0
- package/dist/models/MetricForAgentAgentUio.d.ts +38 -0
- package/dist/models/MetricForAgentAgentUio.js +54 -0
- package/dist/models/MetricForAgentIdentifierUio.d.ts +32 -0
- package/dist/models/MetricForAgentIdentifierUio.js +50 -0
- package/dist/models/MetricForAgentMetricUio.d.ts +57 -0
- package/dist/models/MetricForAgentMetricUio.js +67 -0
- package/dist/models/MetricForAgentMetricWithCostUio.d.ts +64 -0
- package/dist/models/MetricForAgentMetricWithCostUio.js +70 -0
- package/dist/models/MetricForAgentUio.d.ts +55 -0
- package/dist/models/MetricForAgentUio.js +63 -0
- package/dist/models/MetricIdentifierUio.d.ts +57 -0
- package/dist/models/MetricIdentifierUio.js +67 -0
- package/dist/models/MetricUio.d.ts +45 -0
- package/dist/models/MetricUio.js +59 -0
- package/dist/models/ModelUio.d.ts +38 -0
- package/dist/models/ModelUio.js +54 -0
- package/dist/models/OrganizationUio.d.ts +47 -0
- package/dist/models/OrganizationUio.js +60 -0
- package/dist/models/PinRequestUio.d.ts +39 -0
- package/dist/models/PinRequestUio.js +55 -0
- package/dist/models/PriceConfigurationModelConfigUio.d.ts +44 -0
- package/dist/models/PriceConfigurationModelConfigUio.js +58 -0
- package/dist/models/PriceConfigurationModelUio.d.ts +37 -0
- package/dist/models/PriceConfigurationModelUio.js +50 -0
- package/dist/models/PriceConfigurationUio.d.ts +35 -0
- package/dist/models/PriceConfigurationUio.js +52 -0
- package/dist/models/PriceUio.d.ts +38 -0
- package/dist/models/PriceUio.js +54 -0
- package/dist/models/PromptCreateRequestUio.d.ts +44 -0
- package/dist/models/PromptCreateRequestUio.js +56 -0
- package/dist/models/PromptCreateResponseUio.d.ts +58 -0
- package/dist/models/PromptCreateResponseUio.js +66 -0
- package/dist/models/PromptFlowCreateRequestUio.d.ts +38 -0
- package/dist/models/PromptFlowCreateRequestUio.js +52 -0
- package/dist/models/PromptFlowCreateResponseUio.d.ts +51 -0
- package/dist/models/PromptFlowCreateResponseUio.js +61 -0
- package/dist/models/ProviderCreateRequestUio.d.ts +57 -0
- package/dist/models/ProviderCreateRequestUio.js +63 -0
- package/dist/models/ProviderSimpleUio.d.ts +50 -0
- package/dist/models/ProviderSimpleUio.js +62 -0
- package/dist/models/ProviderTypeUio.d.ts +27 -0
- package/dist/models/ProviderTypeUio.js +53 -0
- package/dist/models/ProviderUio.d.ts +69 -0
- package/dist/models/ProviderUio.js +71 -0
- package/dist/models/ProviderValiationRequestUio.d.ts +38 -0
- package/dist/models/ProviderValiationRequestUio.js +54 -0
- package/dist/models/S3UploadBodyUio.d.ts +40 -0
- package/dist/models/S3UploadBodyUio.js +54 -0
- package/dist/models/STTResponseUio.d.ts +32 -0
- package/dist/models/STTResponseUio.js +50 -0
- package/dist/models/SimpleAgentUio.d.ts +38 -0
- package/dist/models/SimpleAgentUio.js +54 -0
- package/dist/models/SubscriptionMetricUio.d.ts +4 -4
- package/dist/models/SubscriptionMetricUio.js +4 -4
- package/dist/models/SuggestionUio.d.ts +38 -0
- package/dist/models/SuggestionUio.js +54 -0
- package/dist/models/TTSRequestUio.d.ts +45 -0
- package/dist/models/TTSRequestUio.js +59 -0
- package/dist/models/TTSResponseUio.d.ts +45 -0
- package/dist/models/TTSResponseUio.js +57 -0
- package/dist/models/TextToSpeechProviderUio.d.ts +24 -0
- package/dist/models/TextToSpeechProviderUio.js +50 -0
- package/dist/models/ToolActionUio.d.ts +33 -0
- package/dist/models/ToolActionUio.js +52 -0
- package/dist/models/ToolResultUio.d.ts +51 -0
- package/dist/models/ToolResultUio.js +57 -0
- package/dist/models/ToolResultsToolUio.d.ts +38 -0
- package/dist/models/ToolResultsToolUio.js +52 -0
- package/dist/models/ToolResultsUio.d.ts +40 -0
- package/dist/models/ToolResultsUio.js +52 -0
- package/dist/models/UserUio.d.ts +32 -0
- package/dist/models/UserUio.js +50 -0
- package/dist/models/index.d.ts +137 -17
- package/dist/models/index.js +137 -17
- package/dist/openapi.json +6740 -616
- package/package.json +1 -1
- package/dist/apis/BrainApi.d.ts +0 -290
- package/dist/apis/BrainApi.js +0 -697
- package/dist/models/BrainMetricsEventUio.d.ts +0 -65
- package/dist/models/BrainMetricsUnitsTypeUio.d.ts +0 -27
- package/dist/models/BrainMetricsUnitsTypeUio.js +0 -53
- package/dist/models/BrainMetricsValueUio.d.ts +0 -57
- package/dist/models/BrainModuleTypeUio.d.ts +0 -25
- package/dist/models/BrainModuleTypeUio.js +0 -51
- package/dist/models/BrainModuleUio.d.ts +0 -51
- package/dist/models/BrainPatchUio.d.ts +0 -166
- package/dist/models/BrainRequestImageBrainUio.d.ts +0 -50
- package/dist/models/BrainSubscriptionTextInteractionsUio.d.ts +0 -39
- package/dist/models/BrainSubscriptionUio.d.ts +0 -57
- package/dist/models/BrainSubscriptionUio.js +0 -63
- package/dist/models/BrainUsageMetricsIdUio.d.ts +0 -44
- package/dist/models/BrainUsageMetricsUio.d.ts +0 -46
- package/dist/models/EngineTypeUio.d.ts +0 -25
- package/dist/models/EngineTypeUio.js +0 -51
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* brain-client
|
|
6
|
+
* Api ands models for brain-app and brain-app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfAgentDuplicateRequestUio = instanceOfAgentDuplicateRequestUio;
|
|
17
|
+
exports.AgentDuplicateRequestUioFromJSON = AgentDuplicateRequestUioFromJSON;
|
|
18
|
+
exports.AgentDuplicateRequestUioFromJSONTyped = AgentDuplicateRequestUioFromJSONTyped;
|
|
19
|
+
exports.AgentDuplicateRequestUioToJSON = AgentDuplicateRequestUioToJSON;
|
|
20
|
+
exports.AgentDuplicateRequestUioToJSONTyped = AgentDuplicateRequestUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AgentDuplicateRequestUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAgentDuplicateRequestUio(value) {
|
|
25
|
+
if (!('organisationId' in value) || value['organisationId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function AgentDuplicateRequestUioFromJSON(json) {
|
|
30
|
+
return AgentDuplicateRequestUioFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function AgentDuplicateRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'organisationId': json['organisationId'],
|
|
38
|
+
'duplicateKnowledge': json['duplicateKnowledge'] == null ? undefined : json['duplicateKnowledge'],
|
|
39
|
+
'duplicateFlows': json['duplicateFlows'] == null ? undefined : json['duplicateFlows'],
|
|
40
|
+
'duplicateTools': json['duplicateTools'] == null ? undefined : json['duplicateTools'],
|
|
41
|
+
'duplicateModeration': json['duplicateModeration'] == null ? undefined : json['duplicateModeration'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function AgentDuplicateRequestUioToJSON(json) {
|
|
45
|
+
return AgentDuplicateRequestUioToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function AgentDuplicateRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'organisationId': value['organisationId'],
|
|
53
|
+
'duplicateKnowledge': value['duplicateKnowledge'],
|
|
54
|
+
'duplicateFlows': value['duplicateFlows'],
|
|
55
|
+
'duplicateTools': value['duplicateTools'],
|
|
56
|
+
'duplicateModeration': value['duplicateModeration'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -15,39 +15,39 @@ import type { FlowEntrypointsUio } from './FlowEntrypointsUio';
|
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
17
17
|
* @export
|
|
18
|
-
* @interface
|
|
18
|
+
* @interface AgentFlowCreateUio
|
|
19
19
|
*/
|
|
20
|
-
export interface
|
|
20
|
+
export interface AgentFlowCreateUio {
|
|
21
21
|
/**
|
|
22
22
|
*
|
|
23
23
|
* @type {FlowEntrypointsUio}
|
|
24
|
-
* @memberof
|
|
24
|
+
* @memberof AgentFlowCreateUio
|
|
25
25
|
*/
|
|
26
26
|
entrypoints?: FlowEntrypointsUio;
|
|
27
27
|
/**
|
|
28
28
|
*
|
|
29
29
|
* @type {object}
|
|
30
|
-
* @memberof
|
|
30
|
+
* @memberof AgentFlowCreateUio
|
|
31
31
|
*/
|
|
32
32
|
exits?: object;
|
|
33
33
|
/**
|
|
34
34
|
*
|
|
35
35
|
* @type {FlowContentsUio}
|
|
36
|
-
* @memberof
|
|
36
|
+
* @memberof AgentFlowCreateUio
|
|
37
37
|
*/
|
|
38
38
|
contents?: FlowContentsUio;
|
|
39
39
|
/**
|
|
40
40
|
*
|
|
41
41
|
* @type {Array<FlowOptionsUio>}
|
|
42
|
-
* @memberof
|
|
42
|
+
* @memberof AgentFlowCreateUio
|
|
43
43
|
*/
|
|
44
44
|
options?: Array<FlowOptionsUio>;
|
|
45
45
|
}
|
|
46
46
|
/**
|
|
47
|
-
* Check if a given object implements the
|
|
47
|
+
* Check if a given object implements the AgentFlowCreateUio interface.
|
|
48
48
|
*/
|
|
49
|
-
export declare function
|
|
50
|
-
export declare function
|
|
51
|
-
export declare function
|
|
52
|
-
export declare function
|
|
53
|
-
export declare function
|
|
49
|
+
export declare function instanceOfAgentFlowCreateUio(value: object): value is AgentFlowCreateUio;
|
|
50
|
+
export declare function AgentFlowCreateUioFromJSON(json: any): AgentFlowCreateUio;
|
|
51
|
+
export declare function AgentFlowCreateUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentFlowCreateUio;
|
|
52
|
+
export declare function AgentFlowCreateUioToJSON(json: any): AgentFlowCreateUio;
|
|
53
|
+
export declare function AgentFlowCreateUioToJSONTyped(value?: AgentFlowCreateUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -13,24 +13,24 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
16
|
+
exports.instanceOfAgentFlowCreateUio = instanceOfAgentFlowCreateUio;
|
|
17
|
+
exports.AgentFlowCreateUioFromJSON = AgentFlowCreateUioFromJSON;
|
|
18
|
+
exports.AgentFlowCreateUioFromJSONTyped = AgentFlowCreateUioFromJSONTyped;
|
|
19
|
+
exports.AgentFlowCreateUioToJSON = AgentFlowCreateUioToJSON;
|
|
20
|
+
exports.AgentFlowCreateUioToJSONTyped = AgentFlowCreateUioToJSONTyped;
|
|
21
21
|
const FlowContentsUio_1 = require("./FlowContentsUio");
|
|
22
22
|
const FlowOptionsUio_1 = require("./FlowOptionsUio");
|
|
23
23
|
const FlowEntrypointsUio_1 = require("./FlowEntrypointsUio");
|
|
24
24
|
/**
|
|
25
|
-
* Check if a given object implements the
|
|
25
|
+
* Check if a given object implements the AgentFlowCreateUio interface.
|
|
26
26
|
*/
|
|
27
|
-
function
|
|
27
|
+
function instanceOfAgentFlowCreateUio(value) {
|
|
28
28
|
return true;
|
|
29
29
|
}
|
|
30
|
-
function
|
|
31
|
-
return
|
|
30
|
+
function AgentFlowCreateUioFromJSON(json) {
|
|
31
|
+
return AgentFlowCreateUioFromJSONTyped(json, false);
|
|
32
32
|
}
|
|
33
|
-
function
|
|
33
|
+
function AgentFlowCreateUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
34
|
if (json == null) {
|
|
35
35
|
return json;
|
|
36
36
|
}
|
|
@@ -41,10 +41,10 @@ function BrainFlowCreateUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
41
41
|
'options': json['options'] == null ? undefined : (json['options'].map(FlowOptionsUio_1.FlowOptionsUioFromJSON)),
|
|
42
42
|
};
|
|
43
43
|
}
|
|
44
|
-
function
|
|
45
|
-
return
|
|
44
|
+
function AgentFlowCreateUioToJSON(json) {
|
|
45
|
+
return AgentFlowCreateUioToJSONTyped(json, false);
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function AgentFlowCreateUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
48
|
if (value == null) {
|
|
49
49
|
return value;
|
|
50
50
|
}
|
|
@@ -15,51 +15,51 @@ import type { FlowEntrypointsUio } from './FlowEntrypointsUio';
|
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
17
17
|
* @export
|
|
18
|
-
* @interface
|
|
18
|
+
* @interface AgentFlowUio
|
|
19
19
|
*/
|
|
20
|
-
export interface
|
|
20
|
+
export interface AgentFlowUio {
|
|
21
21
|
/**
|
|
22
22
|
*
|
|
23
23
|
* @type {FlowEntrypointsUio}
|
|
24
|
-
* @memberof
|
|
24
|
+
* @memberof AgentFlowUio
|
|
25
25
|
*/
|
|
26
26
|
entrypoints?: FlowEntrypointsUio;
|
|
27
27
|
/**
|
|
28
28
|
*
|
|
29
29
|
* @type {object}
|
|
30
|
-
* @memberof
|
|
30
|
+
* @memberof AgentFlowUio
|
|
31
31
|
*/
|
|
32
32
|
exits?: object;
|
|
33
33
|
/**
|
|
34
34
|
*
|
|
35
35
|
* @type {FlowContentsUio}
|
|
36
|
-
* @memberof
|
|
36
|
+
* @memberof AgentFlowUio
|
|
37
37
|
*/
|
|
38
38
|
contents?: FlowContentsUio;
|
|
39
39
|
/**
|
|
40
40
|
*
|
|
41
41
|
* @type {Array<FlowOptionsUio>}
|
|
42
|
-
* @memberof
|
|
42
|
+
* @memberof AgentFlowUio
|
|
43
43
|
*/
|
|
44
44
|
options?: Array<FlowOptionsUio>;
|
|
45
45
|
/**
|
|
46
46
|
*
|
|
47
47
|
* @type {string}
|
|
48
|
-
* @memberof
|
|
48
|
+
* @memberof AgentFlowUio
|
|
49
49
|
*/
|
|
50
50
|
id: string;
|
|
51
51
|
/**
|
|
52
52
|
*
|
|
53
53
|
* @type {string}
|
|
54
|
-
* @memberof
|
|
54
|
+
* @memberof AgentFlowUio
|
|
55
55
|
*/
|
|
56
|
-
|
|
56
|
+
agentId: string;
|
|
57
57
|
}
|
|
58
58
|
/**
|
|
59
|
-
* Check if a given object implements the
|
|
59
|
+
* Check if a given object implements the AgentFlowUio interface.
|
|
60
60
|
*/
|
|
61
|
-
export declare function
|
|
62
|
-
export declare function
|
|
63
|
-
export declare function
|
|
64
|
-
export declare function
|
|
65
|
-
export declare function
|
|
61
|
+
export declare function instanceOfAgentFlowUio(value: object): value is AgentFlowUio;
|
|
62
|
+
export declare function AgentFlowUioFromJSON(json: any): AgentFlowUio;
|
|
63
|
+
export declare function AgentFlowUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentFlowUio;
|
|
64
|
+
export declare function AgentFlowUioToJSON(json: any): AgentFlowUio;
|
|
65
|
+
export declare function AgentFlowUioToJSONTyped(value?: AgentFlowUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -13,28 +13,28 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
16
|
+
exports.instanceOfAgentFlowUio = instanceOfAgentFlowUio;
|
|
17
|
+
exports.AgentFlowUioFromJSON = AgentFlowUioFromJSON;
|
|
18
|
+
exports.AgentFlowUioFromJSONTyped = AgentFlowUioFromJSONTyped;
|
|
19
|
+
exports.AgentFlowUioToJSON = AgentFlowUioToJSON;
|
|
20
|
+
exports.AgentFlowUioToJSONTyped = AgentFlowUioToJSONTyped;
|
|
21
21
|
const FlowContentsUio_1 = require("./FlowContentsUio");
|
|
22
22
|
const FlowOptionsUio_1 = require("./FlowOptionsUio");
|
|
23
23
|
const FlowEntrypointsUio_1 = require("./FlowEntrypointsUio");
|
|
24
24
|
/**
|
|
25
|
-
* Check if a given object implements the
|
|
25
|
+
* Check if a given object implements the AgentFlowUio interface.
|
|
26
26
|
*/
|
|
27
|
-
function
|
|
27
|
+
function instanceOfAgentFlowUio(value) {
|
|
28
28
|
if (!('id' in value) || value['id'] === undefined)
|
|
29
29
|
return false;
|
|
30
|
-
if (!('
|
|
30
|
+
if (!('agentId' in value) || value['agentId'] === undefined)
|
|
31
31
|
return false;
|
|
32
32
|
return true;
|
|
33
33
|
}
|
|
34
|
-
function
|
|
35
|
-
return
|
|
34
|
+
function AgentFlowUioFromJSON(json) {
|
|
35
|
+
return AgentFlowUioFromJSONTyped(json, false);
|
|
36
36
|
}
|
|
37
|
-
function
|
|
37
|
+
function AgentFlowUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
38
|
if (json == null) {
|
|
39
39
|
return json;
|
|
40
40
|
}
|
|
@@ -44,13 +44,13 @@ function BrainFlowUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
44
44
|
'contents': json['contents'] == null ? undefined : (0, FlowContentsUio_1.FlowContentsUioFromJSON)(json['contents']),
|
|
45
45
|
'options': json['options'] == null ? undefined : (json['options'].map(FlowOptionsUio_1.FlowOptionsUioFromJSON)),
|
|
46
46
|
'id': json['id'],
|
|
47
|
-
'
|
|
47
|
+
'agentId': json['agentId'],
|
|
48
48
|
};
|
|
49
49
|
}
|
|
50
|
-
function
|
|
51
|
-
return
|
|
50
|
+
function AgentFlowUioToJSON(json) {
|
|
51
|
+
return AgentFlowUioToJSONTyped(json, false);
|
|
52
52
|
}
|
|
53
|
-
function
|
|
53
|
+
function AgentFlowUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
54
54
|
if (value == null) {
|
|
55
55
|
return value;
|
|
56
56
|
}
|
|
@@ -60,6 +60,6 @@ function BrainFlowUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
60
60
|
'contents': (0, FlowContentsUio_1.FlowContentsUioToJSON)(value['contents']),
|
|
61
61
|
'options': value['options'] == null ? undefined : (value['options'].map(FlowOptionsUio_1.FlowOptionsUioToJSON)),
|
|
62
62
|
'id': value['id'],
|
|
63
|
-
'
|
|
63
|
+
'agentId': value['agentId'],
|
|
64
64
|
};
|
|
65
65
|
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* brain-client
|
|
3
|
+
* Api ands models for brain-app and brain-app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { KnowledgeBasePrivacyUio } from './KnowledgeBasePrivacyUio';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface AgentKnowledgeBaseUio
|
|
17
|
+
*/
|
|
18
|
+
export interface AgentKnowledgeBaseUio {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof AgentKnowledgeBaseUio
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof AgentKnowledgeBaseUio
|
|
29
|
+
*/
|
|
30
|
+
name: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {KnowledgeBasePrivacyUio}
|
|
34
|
+
* @memberof AgentKnowledgeBaseUio
|
|
35
|
+
*/
|
|
36
|
+
privacy: KnowledgeBasePrivacyUio;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof AgentKnowledgeBaseUio
|
|
41
|
+
*/
|
|
42
|
+
organisationId: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {Array<string>}
|
|
46
|
+
* @memberof AgentKnowledgeBaseUio
|
|
47
|
+
*/
|
|
48
|
+
authorizedAgents: Array<string>;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the AgentKnowledgeBaseUio interface.
|
|
52
|
+
*/
|
|
53
|
+
export declare function instanceOfAgentKnowledgeBaseUio(value: object): value is AgentKnowledgeBaseUio;
|
|
54
|
+
export declare function AgentKnowledgeBaseUioFromJSON(json: any): AgentKnowledgeBaseUio;
|
|
55
|
+
export declare function AgentKnowledgeBaseUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentKnowledgeBaseUio;
|
|
56
|
+
export declare function AgentKnowledgeBaseUioToJSON(json: any): AgentKnowledgeBaseUio;
|
|
57
|
+
export declare function AgentKnowledgeBaseUioToJSONTyped(value?: AgentKnowledgeBaseUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* brain-client
|
|
6
|
+
* Api ands models for brain-app and brain-app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfAgentKnowledgeBaseUio = instanceOfAgentKnowledgeBaseUio;
|
|
17
|
+
exports.AgentKnowledgeBaseUioFromJSON = AgentKnowledgeBaseUioFromJSON;
|
|
18
|
+
exports.AgentKnowledgeBaseUioFromJSONTyped = AgentKnowledgeBaseUioFromJSONTyped;
|
|
19
|
+
exports.AgentKnowledgeBaseUioToJSON = AgentKnowledgeBaseUioToJSON;
|
|
20
|
+
exports.AgentKnowledgeBaseUioToJSONTyped = AgentKnowledgeBaseUioToJSONTyped;
|
|
21
|
+
const KnowledgeBasePrivacyUio_1 = require("./KnowledgeBasePrivacyUio");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the AgentKnowledgeBaseUio interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfAgentKnowledgeBaseUio(value) {
|
|
26
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('privacy' in value) || value['privacy'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('organisationId' in value) || value['organisationId'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('authorizedAgents' in value) || value['authorizedAgents'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
function AgentKnowledgeBaseUioFromJSON(json) {
|
|
39
|
+
return AgentKnowledgeBaseUioFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function AgentKnowledgeBaseUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
|
+
if (json == null) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'id': json['id'],
|
|
47
|
+
'name': json['name'],
|
|
48
|
+
'privacy': (0, KnowledgeBasePrivacyUio_1.KnowledgeBasePrivacyUioFromJSON)(json['privacy']),
|
|
49
|
+
'organisationId': json['organisationId'],
|
|
50
|
+
'authorizedAgents': json['authorizedAgents'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
function AgentKnowledgeBaseUioToJSON(json) {
|
|
54
|
+
return AgentKnowledgeBaseUioToJSONTyped(json, false);
|
|
55
|
+
}
|
|
56
|
+
function AgentKnowledgeBaseUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
'id': value['id'],
|
|
62
|
+
'name': value['name'],
|
|
63
|
+
'privacy': (0, KnowledgeBasePrivacyUio_1.KnowledgeBasePrivacyUioToJSON)(value['privacy']),
|
|
64
|
+
'organisationId': value['organisationId'],
|
|
65
|
+
'authorizedAgents': value['authorizedAgents'],
|
|
66
|
+
};
|
|
67
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* brain-client
|
|
3
|
+
* Api ands models for brain-app and brain-app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { AgentMetricsValueUio } from './AgentMetricsValueUio';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface AgentMetricsEventUio
|
|
17
|
+
*/
|
|
18
|
+
export interface AgentMetricsEventUio {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof AgentMetricsEventUio
|
|
23
|
+
*/
|
|
24
|
+
agentId: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof AgentMetricsEventUio
|
|
29
|
+
*/
|
|
30
|
+
appId?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {{ [key: string]: any; }}
|
|
34
|
+
* @memberof AgentMetricsEventUio
|
|
35
|
+
*/
|
|
36
|
+
source: {
|
|
37
|
+
[key: string]: any;
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @memberof AgentMetricsEventUio
|
|
43
|
+
*/
|
|
44
|
+
timestamp: string;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {string}
|
|
48
|
+
* @memberof AgentMetricsEventUio
|
|
49
|
+
*/
|
|
50
|
+
task: string;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {Array<AgentMetricsValueUio>}
|
|
54
|
+
* @memberof AgentMetricsEventUio
|
|
55
|
+
*/
|
|
56
|
+
value: Array<AgentMetricsValueUio>;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Check if a given object implements the AgentMetricsEventUio interface.
|
|
60
|
+
*/
|
|
61
|
+
export declare function instanceOfAgentMetricsEventUio(value: object): value is AgentMetricsEventUio;
|
|
62
|
+
export declare function AgentMetricsEventUioFromJSON(json: any): AgentMetricsEventUio;
|
|
63
|
+
export declare function AgentMetricsEventUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentMetricsEventUio;
|
|
64
|
+
export declare function AgentMetricsEventUioToJSON(json: any): AgentMetricsEventUio;
|
|
65
|
+
export declare function AgentMetricsEventUioToJSONTyped(value?: AgentMetricsEventUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -13,17 +13,17 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
21
|
-
const
|
|
16
|
+
exports.instanceOfAgentMetricsEventUio = instanceOfAgentMetricsEventUio;
|
|
17
|
+
exports.AgentMetricsEventUioFromJSON = AgentMetricsEventUioFromJSON;
|
|
18
|
+
exports.AgentMetricsEventUioFromJSONTyped = AgentMetricsEventUioFromJSONTyped;
|
|
19
|
+
exports.AgentMetricsEventUioToJSON = AgentMetricsEventUioToJSON;
|
|
20
|
+
exports.AgentMetricsEventUioToJSONTyped = AgentMetricsEventUioToJSONTyped;
|
|
21
|
+
const AgentMetricsValueUio_1 = require("./AgentMetricsValueUio");
|
|
22
22
|
/**
|
|
23
|
-
* Check if a given object implements the
|
|
23
|
+
* Check if a given object implements the AgentMetricsEventUio interface.
|
|
24
24
|
*/
|
|
25
|
-
function
|
|
26
|
-
if (!('
|
|
25
|
+
function instanceOfAgentMetricsEventUio(value) {
|
|
26
|
+
if (!('agentId' in value) || value['agentId'] === undefined)
|
|
27
27
|
return false;
|
|
28
28
|
if (!('source' in value) || value['source'] === undefined)
|
|
29
29
|
return false;
|
|
@@ -35,35 +35,35 @@ function instanceOfBrainMetricsEventUio(value) {
|
|
|
35
35
|
return false;
|
|
36
36
|
return true;
|
|
37
37
|
}
|
|
38
|
-
function
|
|
39
|
-
return
|
|
38
|
+
function AgentMetricsEventUioFromJSON(json) {
|
|
39
|
+
return AgentMetricsEventUioFromJSONTyped(json, false);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function AgentMetricsEventUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
42
|
if (json == null) {
|
|
43
43
|
return json;
|
|
44
44
|
}
|
|
45
45
|
return {
|
|
46
|
-
'
|
|
47
|
-
'
|
|
46
|
+
'agentId': json['agentId'],
|
|
47
|
+
'appId': json['appId'] == null ? undefined : json['appId'],
|
|
48
48
|
'source': json['source'],
|
|
49
49
|
'timestamp': json['timestamp'],
|
|
50
50
|
'task': json['task'],
|
|
51
|
-
'value': (json['value'].map(
|
|
51
|
+
'value': (json['value'].map(AgentMetricsValueUio_1.AgentMetricsValueUioFromJSON)),
|
|
52
52
|
};
|
|
53
53
|
}
|
|
54
|
-
function
|
|
55
|
-
return
|
|
54
|
+
function AgentMetricsEventUioToJSON(json) {
|
|
55
|
+
return AgentMetricsEventUioToJSONTyped(json, false);
|
|
56
56
|
}
|
|
57
|
-
function
|
|
57
|
+
function AgentMetricsEventUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
58
58
|
if (value == null) {
|
|
59
59
|
return value;
|
|
60
60
|
}
|
|
61
61
|
return {
|
|
62
|
-
'brainId': value['brainId'],
|
|
63
62
|
'agentId': value['agentId'],
|
|
63
|
+
'appId': value['appId'],
|
|
64
64
|
'source': value['source'],
|
|
65
65
|
'timestamp': value['timestamp'],
|
|
66
66
|
'task': value['task'],
|
|
67
|
-
'value': (value['value'].map(
|
|
67
|
+
'value': (value['value'].map(AgentMetricsValueUio_1.AgentMetricsValueUioToJSON)),
|
|
68
68
|
};
|
|
69
69
|
}
|
|
@@ -14,51 +14,51 @@ import type { CostMetricUio } from './CostMetricUio';
|
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
16
16
|
* @export
|
|
17
|
-
* @interface
|
|
17
|
+
* @interface AgentMetricsOverviewUio
|
|
18
18
|
*/
|
|
19
|
-
export interface
|
|
19
|
+
export interface AgentMetricsOverviewUio {
|
|
20
20
|
/**
|
|
21
21
|
*
|
|
22
22
|
* @type {number}
|
|
23
|
-
* @memberof
|
|
23
|
+
* @memberof AgentMetricsOverviewUio
|
|
24
24
|
*/
|
|
25
25
|
textConversationCount: number;
|
|
26
26
|
/**
|
|
27
27
|
*
|
|
28
28
|
* @type {number}
|
|
29
|
-
* @memberof
|
|
29
|
+
* @memberof AgentMetricsOverviewUio
|
|
30
30
|
*/
|
|
31
31
|
voiceConversationCount: number;
|
|
32
32
|
/**
|
|
33
33
|
*
|
|
34
34
|
* @type {number}
|
|
35
|
-
* @memberof
|
|
35
|
+
* @memberof AgentMetricsOverviewUio
|
|
36
36
|
*/
|
|
37
37
|
userTextMessagesCount: number;
|
|
38
38
|
/**
|
|
39
39
|
*
|
|
40
40
|
* @type {number}
|
|
41
|
-
* @memberof
|
|
41
|
+
* @memberof AgentMetricsOverviewUio
|
|
42
42
|
*/
|
|
43
43
|
userVoiceMessagesCount: number;
|
|
44
44
|
/**
|
|
45
45
|
*
|
|
46
46
|
* @type {SubscriptionMetricUio}
|
|
47
|
-
* @memberof
|
|
47
|
+
* @memberof AgentMetricsOverviewUio
|
|
48
48
|
*/
|
|
49
49
|
subscription?: SubscriptionMetricUio;
|
|
50
50
|
/**
|
|
51
51
|
*
|
|
52
52
|
* @type {CostMetricUio}
|
|
53
|
-
* @memberof
|
|
53
|
+
* @memberof AgentMetricsOverviewUio
|
|
54
54
|
*/
|
|
55
55
|
costs?: CostMetricUio;
|
|
56
56
|
}
|
|
57
57
|
/**
|
|
58
|
-
* Check if a given object implements the
|
|
58
|
+
* Check if a given object implements the AgentMetricsOverviewUio interface.
|
|
59
59
|
*/
|
|
60
|
-
export declare function
|
|
61
|
-
export declare function
|
|
62
|
-
export declare function
|
|
63
|
-
export declare function
|
|
64
|
-
export declare function
|
|
60
|
+
export declare function instanceOfAgentMetricsOverviewUio(value: object): value is AgentMetricsOverviewUio;
|
|
61
|
+
export declare function AgentMetricsOverviewUioFromJSON(json: any): AgentMetricsOverviewUio;
|
|
62
|
+
export declare function AgentMetricsOverviewUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentMetricsOverviewUio;
|
|
63
|
+
export declare function AgentMetricsOverviewUioToJSON(json: any): AgentMetricsOverviewUio;
|
|
64
|
+
export declare function AgentMetricsOverviewUioToJSONTyped(value?: AgentMetricsOverviewUio | null, ignoreDiscriminator?: boolean): any;
|