@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,173 @@
|
|
|
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 { AgentSubscriptionUio } from './AgentSubscriptionUio';
|
|
13
|
+
import type { PersonaUio } from './PersonaUio';
|
|
14
|
+
import type { PromptInitUio } from './PromptInitUio';
|
|
15
|
+
import type { AgentPatchEngineUio } from './AgentPatchEngineUio';
|
|
16
|
+
import type { AgentTypeUio } from './AgentTypeUio';
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface AgentPatchUio
|
|
21
|
+
*/
|
|
22
|
+
export interface AgentPatchUio {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof AgentPatchUio
|
|
27
|
+
*/
|
|
28
|
+
id?: string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof AgentPatchUio
|
|
33
|
+
*/
|
|
34
|
+
name?: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {AgentPatchEngineUio}
|
|
38
|
+
* @memberof AgentPatchUio
|
|
39
|
+
*/
|
|
40
|
+
engine?: AgentPatchEngineUio | null;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {{ [key: string]: any; }}
|
|
44
|
+
* @memberof AgentPatchUio
|
|
45
|
+
*/
|
|
46
|
+
modules?: {
|
|
47
|
+
[key: string]: any;
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {PersonaUio}
|
|
52
|
+
* @memberof AgentPatchUio
|
|
53
|
+
*/
|
|
54
|
+
persona?: PersonaUio;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {PromptInitUio}
|
|
58
|
+
* @memberof AgentPatchUio
|
|
59
|
+
*/
|
|
60
|
+
promptInit?: PromptInitUio;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof AgentPatchUio
|
|
65
|
+
*/
|
|
66
|
+
flow?: string | null;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {AgentSubscriptionUio}
|
|
70
|
+
* @memberof AgentPatchUio
|
|
71
|
+
*/
|
|
72
|
+
subscription?: AgentSubscriptionUio;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {{ [key: string]: string; }}
|
|
76
|
+
* @memberof AgentPatchUio
|
|
77
|
+
*/
|
|
78
|
+
speechOverrides?: {
|
|
79
|
+
[key: string]: string;
|
|
80
|
+
};
|
|
81
|
+
/**
|
|
82
|
+
*
|
|
83
|
+
* @type {string}
|
|
84
|
+
* @memberof AgentPatchUio
|
|
85
|
+
*/
|
|
86
|
+
profilePicture?: string;
|
|
87
|
+
/**
|
|
88
|
+
*
|
|
89
|
+
* @type {string}
|
|
90
|
+
* @memberof AgentPatchUio
|
|
91
|
+
*/
|
|
92
|
+
organisationId?: string;
|
|
93
|
+
/**
|
|
94
|
+
*
|
|
95
|
+
* @type {string}
|
|
96
|
+
* @memberof AgentPatchUio
|
|
97
|
+
*/
|
|
98
|
+
role?: string;
|
|
99
|
+
/**
|
|
100
|
+
*
|
|
101
|
+
* @type {string}
|
|
102
|
+
* @memberof AgentPatchUio
|
|
103
|
+
*/
|
|
104
|
+
defaultLanguage?: string;
|
|
105
|
+
/**
|
|
106
|
+
*
|
|
107
|
+
* @type {string}
|
|
108
|
+
* @memberof AgentPatchUio
|
|
109
|
+
*/
|
|
110
|
+
description?: string;
|
|
111
|
+
/**
|
|
112
|
+
*
|
|
113
|
+
* @type {string}
|
|
114
|
+
* @memberof AgentPatchUio
|
|
115
|
+
*/
|
|
116
|
+
template?: string;
|
|
117
|
+
/**
|
|
118
|
+
*
|
|
119
|
+
* @type {string}
|
|
120
|
+
* @memberof AgentPatchUio
|
|
121
|
+
*/
|
|
122
|
+
color?: string;
|
|
123
|
+
/**
|
|
124
|
+
*
|
|
125
|
+
* @type {string}
|
|
126
|
+
* @memberof AgentPatchUio
|
|
127
|
+
*/
|
|
128
|
+
picture?: string;
|
|
129
|
+
/**
|
|
130
|
+
*
|
|
131
|
+
* @type {string}
|
|
132
|
+
* @memberof AgentPatchUio
|
|
133
|
+
*/
|
|
134
|
+
createdAt?: string;
|
|
135
|
+
/**
|
|
136
|
+
*
|
|
137
|
+
* @type {boolean}
|
|
138
|
+
* @memberof AgentPatchUio
|
|
139
|
+
*/
|
|
140
|
+
isActivated?: boolean;
|
|
141
|
+
/**
|
|
142
|
+
*
|
|
143
|
+
* @type {Array<string>}
|
|
144
|
+
* @memberof AgentPatchUio
|
|
145
|
+
*/
|
|
146
|
+
knowledgeBaseIds?: Array<string>;
|
|
147
|
+
/**
|
|
148
|
+
*
|
|
149
|
+
* @type {boolean}
|
|
150
|
+
* @memberof AgentPatchUio
|
|
151
|
+
*/
|
|
152
|
+
isTemplate?: boolean;
|
|
153
|
+
/**
|
|
154
|
+
*
|
|
155
|
+
* @type {boolean}
|
|
156
|
+
* @memberof AgentPatchUio
|
|
157
|
+
*/
|
|
158
|
+
deleted?: boolean;
|
|
159
|
+
/**
|
|
160
|
+
*
|
|
161
|
+
* @type {AgentTypeUio}
|
|
162
|
+
* @memberof AgentPatchUio
|
|
163
|
+
*/
|
|
164
|
+
agentType?: AgentTypeUio;
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* Check if a given object implements the AgentPatchUio interface.
|
|
168
|
+
*/
|
|
169
|
+
export declare function instanceOfAgentPatchUio(value: object): value is AgentPatchUio;
|
|
170
|
+
export declare function AgentPatchUioFromJSON(json: any): AgentPatchUio;
|
|
171
|
+
export declare function AgentPatchUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentPatchUio;
|
|
172
|
+
export declare function AgentPatchUioToJSON(json: any): AgentPatchUio;
|
|
173
|
+
export declare function AgentPatchUioToJSONTyped(value?: AgentPatchUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -13,54 +13,41 @@
|
|
|
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.instanceOfAgentPatchUio = instanceOfAgentPatchUio;
|
|
17
|
+
exports.AgentPatchUioFromJSON = AgentPatchUioFromJSON;
|
|
18
|
+
exports.AgentPatchUioFromJSONTyped = AgentPatchUioFromJSONTyped;
|
|
19
|
+
exports.AgentPatchUioToJSON = AgentPatchUioToJSON;
|
|
20
|
+
exports.AgentPatchUioToJSONTyped = AgentPatchUioToJSONTyped;
|
|
21
|
+
const AgentSubscriptionUio_1 = require("./AgentSubscriptionUio");
|
|
22
22
|
const PersonaUio_1 = require("./PersonaUio");
|
|
23
|
-
const EngineUio_1 = require("./EngineUio");
|
|
24
23
|
const PromptInitUio_1 = require("./PromptInitUio");
|
|
24
|
+
const AgentPatchEngineUio_1 = require("./AgentPatchEngineUio");
|
|
25
|
+
const AgentTypeUio_1 = require("./AgentTypeUio");
|
|
25
26
|
/**
|
|
26
|
-
* Check if a given object implements the
|
|
27
|
+
* Check if a given object implements the AgentPatchUio interface.
|
|
27
28
|
*/
|
|
28
|
-
function
|
|
29
|
-
if (!('id' in value) || value['id'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
if (!('name' in value) || value['name'] === undefined)
|
|
32
|
-
return false;
|
|
33
|
-
if (!('engine' in value) || value['engine'] === undefined)
|
|
34
|
-
return false;
|
|
35
|
-
if (!('modules' in value) || value['modules'] === undefined)
|
|
36
|
-
return false;
|
|
37
|
-
if (!('persona' in value) || value['persona'] === undefined)
|
|
38
|
-
return false;
|
|
39
|
-
if (!('promptInit' in value) || value['promptInit'] === undefined)
|
|
40
|
-
return false;
|
|
41
|
-
if (!('organisationId' in value) || value['organisationId'] === undefined)
|
|
42
|
-
return false;
|
|
29
|
+
function instanceOfAgentPatchUio(value) {
|
|
43
30
|
return true;
|
|
44
31
|
}
|
|
45
|
-
function
|
|
46
|
-
return
|
|
32
|
+
function AgentPatchUioFromJSON(json) {
|
|
33
|
+
return AgentPatchUioFromJSONTyped(json, false);
|
|
47
34
|
}
|
|
48
|
-
function
|
|
35
|
+
function AgentPatchUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
49
36
|
if (json == null) {
|
|
50
37
|
return json;
|
|
51
38
|
}
|
|
52
39
|
return {
|
|
53
|
-
'id': json['id'],
|
|
54
|
-
'name': json['name'],
|
|
55
|
-
'engine': (0,
|
|
56
|
-
'modules': json['modules'],
|
|
57
|
-
'persona': (0, PersonaUio_1.PersonaUioFromJSON)(json['persona']),
|
|
58
|
-
'promptInit': (0, PromptInitUio_1.PromptInitUioFromJSON)(json['promptInit']),
|
|
40
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
41
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
42
|
+
'engine': json['engine'] == null ? undefined : (0, AgentPatchEngineUio_1.AgentPatchEngineUioFromJSON)(json['engine']),
|
|
43
|
+
'modules': json['modules'] == null ? undefined : json['modules'],
|
|
44
|
+
'persona': json['persona'] == null ? undefined : (0, PersonaUio_1.PersonaUioFromJSON)(json['persona']),
|
|
45
|
+
'promptInit': json['promptInit'] == null ? undefined : (0, PromptInitUio_1.PromptInitUioFromJSON)(json['promptInit']),
|
|
59
46
|
'flow': json['flow'] == null ? undefined : json['flow'],
|
|
60
|
-
'subscription': json['subscription'] == null ? undefined : (0,
|
|
47
|
+
'subscription': json['subscription'] == null ? undefined : (0, AgentSubscriptionUio_1.AgentSubscriptionUioFromJSON)(json['subscription']),
|
|
61
48
|
'speechOverrides': json['speechOverrides'] == null ? undefined : json['speechOverrides'],
|
|
62
|
-
'
|
|
63
|
-
'organisationId': json['organisationId'],
|
|
49
|
+
'profilePicture': json['profilePicture'] == null ? undefined : json['profilePicture'],
|
|
50
|
+
'organisationId': json['organisationId'] == null ? undefined : json['organisationId'],
|
|
64
51
|
'role': json['role'] == null ? undefined : json['role'],
|
|
65
52
|
'defaultLanguage': json['defaultLanguage'] == null ? undefined : json['defaultLanguage'],
|
|
66
53
|
'description': json['description'] == null ? undefined : json['description'],
|
|
@@ -69,29 +56,30 @@ function BrainPatchUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
69
56
|
'picture': json['picture'] == null ? undefined : json['picture'],
|
|
70
57
|
'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
|
|
71
58
|
'isActivated': json['isActivated'] == null ? undefined : json['isActivated'],
|
|
72
|
-
'
|
|
59
|
+
'knowledgeBaseIds': json['knowledgeBaseIds'] == null ? undefined : json['knowledgeBaseIds'],
|
|
73
60
|
'isTemplate': json['isTemplate'] == null ? undefined : json['isTemplate'],
|
|
74
61
|
'deleted': json['deleted'] == null ? undefined : json['deleted'],
|
|
62
|
+
'agentType': json['agentType'] == null ? undefined : (0, AgentTypeUio_1.AgentTypeUioFromJSON)(json['agentType']),
|
|
75
63
|
};
|
|
76
64
|
}
|
|
77
|
-
function
|
|
78
|
-
return
|
|
65
|
+
function AgentPatchUioToJSON(json) {
|
|
66
|
+
return AgentPatchUioToJSONTyped(json, false);
|
|
79
67
|
}
|
|
80
|
-
function
|
|
68
|
+
function AgentPatchUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
81
69
|
if (value == null) {
|
|
82
70
|
return value;
|
|
83
71
|
}
|
|
84
72
|
return {
|
|
85
73
|
'id': value['id'],
|
|
86
74
|
'name': value['name'],
|
|
87
|
-
'engine': (0,
|
|
75
|
+
'engine': (0, AgentPatchEngineUio_1.AgentPatchEngineUioToJSON)(value['engine']),
|
|
88
76
|
'modules': value['modules'],
|
|
89
77
|
'persona': (0, PersonaUio_1.PersonaUioToJSON)(value['persona']),
|
|
90
78
|
'promptInit': (0, PromptInitUio_1.PromptInitUioToJSON)(value['promptInit']),
|
|
91
79
|
'flow': value['flow'],
|
|
92
|
-
'subscription': (0,
|
|
80
|
+
'subscription': (0, AgentSubscriptionUio_1.AgentSubscriptionUioToJSON)(value['subscription']),
|
|
93
81
|
'speechOverrides': value['speechOverrides'],
|
|
94
|
-
'
|
|
82
|
+
'profilePicture': value['profilePicture'],
|
|
95
83
|
'organisationId': value['organisationId'],
|
|
96
84
|
'role': value['role'],
|
|
97
85
|
'defaultLanguage': value['defaultLanguage'],
|
|
@@ -101,8 +89,9 @@ function BrainPatchUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
101
89
|
'picture': value['picture'],
|
|
102
90
|
'createdAt': value['createdAt'],
|
|
103
91
|
'isActivated': value['isActivated'],
|
|
104
|
-
'
|
|
92
|
+
'knowledgeBaseIds': value['knowledgeBaseIds'],
|
|
105
93
|
'isTemplate': value['isTemplate'],
|
|
106
94
|
'deleted': value['deleted'],
|
|
95
|
+
'agentType': (0, AgentTypeUio_1.AgentTypeUioToJSON)(value['agentType']),
|
|
107
96
|
};
|
|
108
97
|
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface AgentRequestProfilePictureUio
|
|
16
|
+
*/
|
|
17
|
+
export interface AgentRequestProfilePictureUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AgentRequestProfilePictureUio
|
|
22
|
+
*/
|
|
23
|
+
hash: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof AgentRequestProfilePictureUio
|
|
28
|
+
*/
|
|
29
|
+
size: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof AgentRequestProfilePictureUio
|
|
34
|
+
*/
|
|
35
|
+
contentType: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof AgentRequestProfilePictureUio
|
|
40
|
+
*/
|
|
41
|
+
ext: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the AgentRequestProfilePictureUio interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfAgentRequestProfilePictureUio(value: object): value is AgentRequestProfilePictureUio;
|
|
47
|
+
export declare function AgentRequestProfilePictureUioFromJSON(json: any): AgentRequestProfilePictureUio;
|
|
48
|
+
export declare function AgentRequestProfilePictureUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentRequestProfilePictureUio;
|
|
49
|
+
export declare function AgentRequestProfilePictureUioToJSON(json: any): AgentRequestProfilePictureUio;
|
|
50
|
+
export declare function AgentRequestProfilePictureUioToJSONTyped(value?: AgentRequestProfilePictureUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -13,15 +13,15 @@
|
|
|
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.instanceOfAgentRequestProfilePictureUio = instanceOfAgentRequestProfilePictureUio;
|
|
17
|
+
exports.AgentRequestProfilePictureUioFromJSON = AgentRequestProfilePictureUioFromJSON;
|
|
18
|
+
exports.AgentRequestProfilePictureUioFromJSONTyped = AgentRequestProfilePictureUioFromJSONTyped;
|
|
19
|
+
exports.AgentRequestProfilePictureUioToJSON = AgentRequestProfilePictureUioToJSON;
|
|
20
|
+
exports.AgentRequestProfilePictureUioToJSONTyped = AgentRequestProfilePictureUioToJSONTyped;
|
|
21
21
|
/**
|
|
22
|
-
* Check if a given object implements the
|
|
22
|
+
* Check if a given object implements the AgentRequestProfilePictureUio interface.
|
|
23
23
|
*/
|
|
24
|
-
function
|
|
24
|
+
function instanceOfAgentRequestProfilePictureUio(value) {
|
|
25
25
|
if (!('hash' in value) || value['hash'] === undefined)
|
|
26
26
|
return false;
|
|
27
27
|
if (!('size' in value) || value['size'] === undefined)
|
|
@@ -32,10 +32,10 @@ function instanceOfBrainRequestImageBrainUio(value) {
|
|
|
32
32
|
return false;
|
|
33
33
|
return true;
|
|
34
34
|
}
|
|
35
|
-
function
|
|
36
|
-
return
|
|
35
|
+
function AgentRequestProfilePictureUioFromJSON(json) {
|
|
36
|
+
return AgentRequestProfilePictureUioFromJSONTyped(json, false);
|
|
37
37
|
}
|
|
38
|
-
function
|
|
38
|
+
function AgentRequestProfilePictureUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
39
|
if (json == null) {
|
|
40
40
|
return json;
|
|
41
41
|
}
|
|
@@ -46,10 +46,10 @@ function BrainRequestImageBrainUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
46
46
|
'ext': json['ext'],
|
|
47
47
|
};
|
|
48
48
|
}
|
|
49
|
-
function
|
|
50
|
-
return
|
|
49
|
+
function AgentRequestProfilePictureUioToJSON(json) {
|
|
50
|
+
return AgentRequestProfilePictureUioToJSONTyped(json, false);
|
|
51
51
|
}
|
|
52
|
-
function
|
|
52
|
+
function AgentRequestProfilePictureUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
53
53
|
if (value == null) {
|
|
54
54
|
return value;
|
|
55
55
|
}
|
|
@@ -11,104 +11,104 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { PersonaUio } from './PersonaUio';
|
|
13
13
|
import type { EngineUio } from './EngineUio';
|
|
14
|
-
import type { BrainRequestImageBrainUio } from './BrainRequestImageBrainUio';
|
|
15
14
|
import type { PromptInitUio } from './PromptInitUio';
|
|
15
|
+
import type { AgentRequestProfilePictureUio } from './AgentRequestProfilePictureUio';
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
* @export
|
|
19
|
-
* @interface
|
|
19
|
+
* @interface AgentRequestUio
|
|
20
20
|
*/
|
|
21
|
-
export interface
|
|
21
|
+
export interface AgentRequestUio {
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
24
|
* @type {string}
|
|
25
|
-
* @memberof
|
|
25
|
+
* @memberof AgentRequestUio
|
|
26
26
|
*/
|
|
27
27
|
name: string;
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
* @type {PersonaUio}
|
|
31
|
-
* @memberof
|
|
31
|
+
* @memberof AgentRequestUio
|
|
32
32
|
*/
|
|
33
33
|
persona: PersonaUio;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
36
|
* @type {EngineUio}
|
|
37
|
-
* @memberof
|
|
37
|
+
* @memberof AgentRequestUio
|
|
38
38
|
*/
|
|
39
|
-
engine
|
|
39
|
+
engine?: EngineUio;
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
42
42
|
* @type {PromptInitUio}
|
|
43
|
-
* @memberof
|
|
43
|
+
* @memberof AgentRequestUio
|
|
44
44
|
*/
|
|
45
45
|
promptInit: PromptInitUio;
|
|
46
46
|
/**
|
|
47
47
|
*
|
|
48
|
-
* @type {
|
|
49
|
-
* @memberof
|
|
48
|
+
* @type {AgentRequestProfilePictureUio}
|
|
49
|
+
* @memberof AgentRequestUio
|
|
50
50
|
*/
|
|
51
|
-
|
|
51
|
+
profilePicture?: AgentRequestProfilePictureUio;
|
|
52
52
|
/**
|
|
53
53
|
*
|
|
54
54
|
* @type {string}
|
|
55
|
-
* @memberof
|
|
55
|
+
* @memberof AgentRequestUio
|
|
56
56
|
*/
|
|
57
57
|
organisationId: string;
|
|
58
58
|
/**
|
|
59
59
|
*
|
|
60
60
|
* @type {string}
|
|
61
|
-
* @memberof
|
|
61
|
+
* @memberof AgentRequestUio
|
|
62
62
|
*/
|
|
63
63
|
role?: string;
|
|
64
64
|
/**
|
|
65
65
|
*
|
|
66
66
|
* @type {string}
|
|
67
|
-
* @memberof
|
|
67
|
+
* @memberof AgentRequestUio
|
|
68
68
|
*/
|
|
69
69
|
defaultLanguage?: string;
|
|
70
70
|
/**
|
|
71
71
|
*
|
|
72
72
|
* @type {string}
|
|
73
|
-
* @memberof
|
|
73
|
+
* @memberof AgentRequestUio
|
|
74
74
|
*/
|
|
75
75
|
description?: string;
|
|
76
76
|
/**
|
|
77
77
|
*
|
|
78
78
|
* @type {string}
|
|
79
|
-
* @memberof
|
|
79
|
+
* @memberof AgentRequestUio
|
|
80
80
|
*/
|
|
81
81
|
template?: string;
|
|
82
82
|
/**
|
|
83
83
|
*
|
|
84
84
|
* @type {string}
|
|
85
|
-
* @memberof
|
|
85
|
+
* @memberof AgentRequestUio
|
|
86
86
|
*/
|
|
87
87
|
color?: string;
|
|
88
88
|
/**
|
|
89
89
|
*
|
|
90
90
|
* @type {string}
|
|
91
|
-
* @memberof
|
|
91
|
+
* @memberof AgentRequestUio
|
|
92
92
|
*/
|
|
93
93
|
picture?: string;
|
|
94
94
|
/**
|
|
95
95
|
*
|
|
96
96
|
* @type {string}
|
|
97
|
-
* @memberof
|
|
97
|
+
* @memberof AgentRequestUio
|
|
98
98
|
*/
|
|
99
99
|
createdAt?: string;
|
|
100
100
|
/**
|
|
101
101
|
*
|
|
102
102
|
* @type {boolean}
|
|
103
|
-
* @memberof
|
|
103
|
+
* @memberof AgentRequestUio
|
|
104
104
|
*/
|
|
105
105
|
isActivated?: boolean;
|
|
106
106
|
}
|
|
107
107
|
/**
|
|
108
|
-
* Check if a given object implements the
|
|
108
|
+
* Check if a given object implements the AgentRequestUio interface.
|
|
109
109
|
*/
|
|
110
|
-
export declare function
|
|
111
|
-
export declare function
|
|
112
|
-
export declare function
|
|
113
|
-
export declare function
|
|
114
|
-
export declare function
|
|
110
|
+
export declare function instanceOfAgentRequestUio(value: object): value is AgentRequestUio;
|
|
111
|
+
export declare function AgentRequestUioFromJSON(json: any): AgentRequestUio;
|
|
112
|
+
export declare function AgentRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentRequestUio;
|
|
113
|
+
export declare function AgentRequestUioToJSON(json: any): AgentRequestUio;
|
|
114
|
+
export declare function AgentRequestUioToJSONTyped(value?: AgentRequestUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -13,44 +13,42 @@
|
|
|
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.instanceOfAgentRequestUio = instanceOfAgentRequestUio;
|
|
17
|
+
exports.AgentRequestUioFromJSON = AgentRequestUioFromJSON;
|
|
18
|
+
exports.AgentRequestUioFromJSONTyped = AgentRequestUioFromJSONTyped;
|
|
19
|
+
exports.AgentRequestUioToJSON = AgentRequestUioToJSON;
|
|
20
|
+
exports.AgentRequestUioToJSONTyped = AgentRequestUioToJSONTyped;
|
|
21
21
|
const PersonaUio_1 = require("./PersonaUio");
|
|
22
22
|
const EngineUio_1 = require("./EngineUio");
|
|
23
|
-
const BrainRequestImageBrainUio_1 = require("./BrainRequestImageBrainUio");
|
|
24
23
|
const PromptInitUio_1 = require("./PromptInitUio");
|
|
24
|
+
const AgentRequestProfilePictureUio_1 = require("./AgentRequestProfilePictureUio");
|
|
25
25
|
/**
|
|
26
|
-
* Check if a given object implements the
|
|
26
|
+
* Check if a given object implements the AgentRequestUio interface.
|
|
27
27
|
*/
|
|
28
|
-
function
|
|
28
|
+
function instanceOfAgentRequestUio(value) {
|
|
29
29
|
if (!('name' in value) || value['name'] === undefined)
|
|
30
30
|
return false;
|
|
31
31
|
if (!('persona' in value) || value['persona'] === undefined)
|
|
32
32
|
return false;
|
|
33
|
-
if (!('engine' in value) || value['engine'] === undefined)
|
|
34
|
-
return false;
|
|
35
33
|
if (!('promptInit' in value) || value['promptInit'] === undefined)
|
|
36
34
|
return false;
|
|
37
35
|
if (!('organisationId' in value) || value['organisationId'] === undefined)
|
|
38
36
|
return false;
|
|
39
37
|
return true;
|
|
40
38
|
}
|
|
41
|
-
function
|
|
42
|
-
return
|
|
39
|
+
function AgentRequestUioFromJSON(json) {
|
|
40
|
+
return AgentRequestUioFromJSONTyped(json, false);
|
|
43
41
|
}
|
|
44
|
-
function
|
|
42
|
+
function AgentRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
43
|
if (json == null) {
|
|
46
44
|
return json;
|
|
47
45
|
}
|
|
48
46
|
return {
|
|
49
47
|
'name': json['name'],
|
|
50
48
|
'persona': (0, PersonaUio_1.PersonaUioFromJSON)(json['persona']),
|
|
51
|
-
'engine': (0, EngineUio_1.EngineUioFromJSON)(json['engine']),
|
|
49
|
+
'engine': json['engine'] == null ? undefined : (0, EngineUio_1.EngineUioFromJSON)(json['engine']),
|
|
52
50
|
'promptInit': (0, PromptInitUio_1.PromptInitUioFromJSON)(json['promptInit']),
|
|
53
|
-
'
|
|
51
|
+
'profilePicture': json['profilePicture'] == null ? undefined : (0, AgentRequestProfilePictureUio_1.AgentRequestProfilePictureUioFromJSON)(json['profilePicture']),
|
|
54
52
|
'organisationId': json['organisationId'],
|
|
55
53
|
'role': json['role'] == null ? undefined : json['role'],
|
|
56
54
|
'defaultLanguage': json['defaultLanguage'] == null ? undefined : json['defaultLanguage'],
|
|
@@ -62,10 +60,10 @@ function BrainRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
62
60
|
'isActivated': json['isActivated'] == null ? undefined : json['isActivated'],
|
|
63
61
|
};
|
|
64
62
|
}
|
|
65
|
-
function
|
|
66
|
-
return
|
|
63
|
+
function AgentRequestUioToJSON(json) {
|
|
64
|
+
return AgentRequestUioToJSONTyped(json, false);
|
|
67
65
|
}
|
|
68
|
-
function
|
|
66
|
+
function AgentRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
69
67
|
if (value == null) {
|
|
70
68
|
return value;
|
|
71
69
|
}
|
|
@@ -74,7 +72,7 @@ function BrainRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
74
72
|
'persona': (0, PersonaUio_1.PersonaUioToJSON)(value['persona']),
|
|
75
73
|
'engine': (0, EngineUio_1.EngineUioToJSON)(value['engine']),
|
|
76
74
|
'promptInit': (0, PromptInitUio_1.PromptInitUioToJSON)(value['promptInit']),
|
|
77
|
-
'
|
|
75
|
+
'profilePicture': (0, AgentRequestProfilePictureUio_1.AgentRequestProfilePictureUioToJSON)(value['profilePicture']),
|
|
78
76
|
'organisationId': value['organisationId'],
|
|
79
77
|
'role': value['role'],
|
|
80
78
|
'defaultLanguage': value['defaultLanguage'],
|
|
@@ -0,0 +1,39 @@
|
|
|
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 { AdditionalUio } from './AdditionalUio';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface AgentSubscriptionTextInteractionsUio
|
|
17
|
+
*/
|
|
18
|
+
export interface AgentSubscriptionTextInteractionsUio {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof AgentSubscriptionTextInteractionsUio
|
|
23
|
+
*/
|
|
24
|
+
included: number;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {AdditionalUio}
|
|
28
|
+
* @memberof AgentSubscriptionTextInteractionsUio
|
|
29
|
+
*/
|
|
30
|
+
additional: AdditionalUio;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the AgentSubscriptionTextInteractionsUio interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfAgentSubscriptionTextInteractionsUio(value: object): value is AgentSubscriptionTextInteractionsUio;
|
|
36
|
+
export declare function AgentSubscriptionTextInteractionsUioFromJSON(json: any): AgentSubscriptionTextInteractionsUio;
|
|
37
|
+
export declare function AgentSubscriptionTextInteractionsUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentSubscriptionTextInteractionsUio;
|
|
38
|
+
export declare function AgentSubscriptionTextInteractionsUioToJSON(json: any): AgentSubscriptionTextInteractionsUio;
|
|
39
|
+
export declare function AgentSubscriptionTextInteractionsUioToJSONTyped(value?: AgentSubscriptionTextInteractionsUio | null, ignoreDiscriminator?: boolean): any;
|