@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
|
@@ -13,25 +13,26 @@
|
|
|
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.instanceOfAgentUio = instanceOfAgentUio;
|
|
17
|
+
exports.AgentUioFromJSON = AgentUioFromJSON;
|
|
18
|
+
exports.AgentUioFromJSONTyped = AgentUioFromJSONTyped;
|
|
19
|
+
exports.AgentUioToJSON = AgentUioToJSON;
|
|
20
|
+
exports.AgentUioToJSONTyped = AgentUioToJSONTyped;
|
|
21
|
+
const AgentSubscriptionUio_1 = require("./AgentSubscriptionUio");
|
|
22
|
+
const AgentToolUio_1 = require("./AgentToolUio");
|
|
22
23
|
const PersonaUio_1 = require("./PersonaUio");
|
|
23
24
|
const EngineUio_1 = require("./EngineUio");
|
|
24
25
|
const PromptInitUio_1 = require("./PromptInitUio");
|
|
26
|
+
const AgentKnowledgeBaseUio_1 = require("./AgentKnowledgeBaseUio");
|
|
27
|
+
const AgentTypeUio_1 = require("./AgentTypeUio");
|
|
25
28
|
/**
|
|
26
|
-
* Check if a given object implements the
|
|
29
|
+
* Check if a given object implements the AgentUio interface.
|
|
27
30
|
*/
|
|
28
|
-
function
|
|
31
|
+
function instanceOfAgentUio(value) {
|
|
29
32
|
if (!('id' in value) || value['id'] === undefined)
|
|
30
33
|
return false;
|
|
31
34
|
if (!('name' in value) || value['name'] === undefined)
|
|
32
35
|
return false;
|
|
33
|
-
if (!('engine' in value) || value['engine'] === undefined)
|
|
34
|
-
return false;
|
|
35
36
|
if (!('modules' in value) || value['modules'] === undefined)
|
|
36
37
|
return false;
|
|
37
38
|
if (!('persona' in value) || value['persona'] === undefined)
|
|
@@ -42,24 +43,26 @@ function instanceOfBrainUio(value) {
|
|
|
42
43
|
return false;
|
|
43
44
|
return true;
|
|
44
45
|
}
|
|
45
|
-
function
|
|
46
|
-
return
|
|
46
|
+
function AgentUioFromJSON(json) {
|
|
47
|
+
return AgentUioFromJSONTyped(json, false);
|
|
47
48
|
}
|
|
48
|
-
function
|
|
49
|
+
function AgentUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
49
50
|
if (json == null) {
|
|
50
51
|
return json;
|
|
51
52
|
}
|
|
52
53
|
return {
|
|
53
54
|
'id': json['id'],
|
|
54
55
|
'name': json['name'],
|
|
55
|
-
'engine': (0, EngineUio_1.EngineUioFromJSON)(json['engine']),
|
|
56
|
+
'engine': json['engine'] == null ? undefined : (0, EngineUio_1.EngineUioFromJSON)(json['engine']),
|
|
56
57
|
'modules': json['modules'],
|
|
58
|
+
'tools': json['tools'] == null ? undefined : (json['tools'].map(AgentToolUio_1.AgentToolUioFromJSON)),
|
|
59
|
+
'knowledgeBases': json['knowledgeBases'] == null ? undefined : (json['knowledgeBases'].map(AgentKnowledgeBaseUio_1.AgentKnowledgeBaseUioFromJSON)),
|
|
57
60
|
'persona': (0, PersonaUio_1.PersonaUioFromJSON)(json['persona']),
|
|
58
61
|
'promptInit': (0, PromptInitUio_1.PromptInitUioFromJSON)(json['promptInit']),
|
|
59
62
|
'flow': json['flow'] == null ? undefined : json['flow'],
|
|
60
|
-
'subscription': json['subscription'] == null ? undefined : (0,
|
|
63
|
+
'subscription': json['subscription'] == null ? undefined : (0, AgentSubscriptionUio_1.AgentSubscriptionUioFromJSON)(json['subscription']),
|
|
61
64
|
'speechOverrides': json['speechOverrides'] == null ? undefined : json['speechOverrides'],
|
|
62
|
-
'
|
|
65
|
+
'profilePicture': json['profilePicture'] == null ? undefined : json['profilePicture'],
|
|
63
66
|
'organisationId': json['organisationId'],
|
|
64
67
|
'role': json['role'] == null ? undefined : json['role'],
|
|
65
68
|
'defaultLanguage': json['defaultLanguage'] == null ? undefined : json['defaultLanguage'],
|
|
@@ -68,16 +71,17 @@ function BrainUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
68
71
|
'color': json['color'] == null ? undefined : json['color'],
|
|
69
72
|
'picture': json['picture'] == null ? undefined : json['picture'],
|
|
70
73
|
'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
|
|
74
|
+
'updatedAt': json['updatedAt'] == null ? undefined : json['updatedAt'],
|
|
71
75
|
'isActivated': json['isActivated'] == null ? undefined : json['isActivated'],
|
|
72
|
-
'knowledgeBaseId': json['knowledgeBaseId'] == null ? undefined : json['knowledgeBaseId'],
|
|
73
76
|
'isTemplate': json['isTemplate'] == null ? undefined : json['isTemplate'],
|
|
74
77
|
'deleted': json['deleted'] == null ? undefined : json['deleted'],
|
|
78
|
+
'agentType': json['agentType'] == null ? undefined : (0, AgentTypeUio_1.AgentTypeUioFromJSON)(json['agentType']),
|
|
75
79
|
};
|
|
76
80
|
}
|
|
77
|
-
function
|
|
78
|
-
return
|
|
81
|
+
function AgentUioToJSON(json) {
|
|
82
|
+
return AgentUioToJSONTyped(json, false);
|
|
79
83
|
}
|
|
80
|
-
function
|
|
84
|
+
function AgentUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
81
85
|
if (value == null) {
|
|
82
86
|
return value;
|
|
83
87
|
}
|
|
@@ -86,12 +90,14 @@ function BrainUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
86
90
|
'name': value['name'],
|
|
87
91
|
'engine': (0, EngineUio_1.EngineUioToJSON)(value['engine']),
|
|
88
92
|
'modules': value['modules'],
|
|
93
|
+
'tools': value['tools'] == null ? undefined : (value['tools'].map(AgentToolUio_1.AgentToolUioToJSON)),
|
|
94
|
+
'knowledgeBases': value['knowledgeBases'] == null ? undefined : (value['knowledgeBases'].map(AgentKnowledgeBaseUio_1.AgentKnowledgeBaseUioToJSON)),
|
|
89
95
|
'persona': (0, PersonaUio_1.PersonaUioToJSON)(value['persona']),
|
|
90
96
|
'promptInit': (0, PromptInitUio_1.PromptInitUioToJSON)(value['promptInit']),
|
|
91
97
|
'flow': value['flow'],
|
|
92
|
-
'subscription': (0,
|
|
98
|
+
'subscription': (0, AgentSubscriptionUio_1.AgentSubscriptionUioToJSON)(value['subscription']),
|
|
93
99
|
'speechOverrides': value['speechOverrides'],
|
|
94
|
-
'
|
|
100
|
+
'profilePicture': value['profilePicture'],
|
|
95
101
|
'organisationId': value['organisationId'],
|
|
96
102
|
'role': value['role'],
|
|
97
103
|
'defaultLanguage': value['defaultLanguage'],
|
|
@@ -100,9 +106,10 @@ function BrainUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
100
106
|
'color': value['color'],
|
|
101
107
|
'picture': value['picture'],
|
|
102
108
|
'createdAt': value['createdAt'],
|
|
109
|
+
'updatedAt': value['updatedAt'],
|
|
103
110
|
'isActivated': value['isActivated'],
|
|
104
|
-
'knowledgeBaseId': value['knowledgeBaseId'],
|
|
105
111
|
'isTemplate': value['isTemplate'],
|
|
106
112
|
'deleted': value['deleted'],
|
|
113
|
+
'agentType': (0, AgentTypeUio_1.AgentTypeUioToJSON)(value['agentType']),
|
|
107
114
|
};
|
|
108
115
|
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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 AgentUsageMetricsIdUio
|
|
16
|
+
*/
|
|
17
|
+
export interface AgentUsageMetricsIdUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AgentUsageMetricsIdUio
|
|
22
|
+
*/
|
|
23
|
+
provider?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AgentUsageMetricsIdUio
|
|
28
|
+
*/
|
|
29
|
+
model?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof AgentUsageMetricsIdUio
|
|
34
|
+
*/
|
|
35
|
+
type?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the AgentUsageMetricsIdUio interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfAgentUsageMetricsIdUio(value: object): value is AgentUsageMetricsIdUio;
|
|
41
|
+
export declare function AgentUsageMetricsIdUioFromJSON(json: any): AgentUsageMetricsIdUio;
|
|
42
|
+
export declare function AgentUsageMetricsIdUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentUsageMetricsIdUio;
|
|
43
|
+
export declare function AgentUsageMetricsIdUioToJSON(json: any): AgentUsageMetricsIdUio;
|
|
44
|
+
export declare function AgentUsageMetricsIdUioToJSONTyped(value?: AgentUsageMetricsIdUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -13,21 +13,21 @@
|
|
|
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.instanceOfAgentUsageMetricsIdUio = instanceOfAgentUsageMetricsIdUio;
|
|
17
|
+
exports.AgentUsageMetricsIdUioFromJSON = AgentUsageMetricsIdUioFromJSON;
|
|
18
|
+
exports.AgentUsageMetricsIdUioFromJSONTyped = AgentUsageMetricsIdUioFromJSONTyped;
|
|
19
|
+
exports.AgentUsageMetricsIdUioToJSON = AgentUsageMetricsIdUioToJSON;
|
|
20
|
+
exports.AgentUsageMetricsIdUioToJSONTyped = AgentUsageMetricsIdUioToJSONTyped;
|
|
21
21
|
/**
|
|
22
|
-
* Check if a given object implements the
|
|
22
|
+
* Check if a given object implements the AgentUsageMetricsIdUio interface.
|
|
23
23
|
*/
|
|
24
|
-
function
|
|
24
|
+
function instanceOfAgentUsageMetricsIdUio(value) {
|
|
25
25
|
return true;
|
|
26
26
|
}
|
|
27
|
-
function
|
|
28
|
-
return
|
|
27
|
+
function AgentUsageMetricsIdUioFromJSON(json) {
|
|
28
|
+
return AgentUsageMetricsIdUioFromJSONTyped(json, false);
|
|
29
29
|
}
|
|
30
|
-
function
|
|
30
|
+
function AgentUsageMetricsIdUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
31
|
if (json == null) {
|
|
32
32
|
return json;
|
|
33
33
|
}
|
|
@@ -37,10 +37,10 @@ function BrainUsageMetricsIdUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
37
|
'type': json['type'] == null ? undefined : json['type'],
|
|
38
38
|
};
|
|
39
39
|
}
|
|
40
|
-
function
|
|
41
|
-
return
|
|
40
|
+
function AgentUsageMetricsIdUioToJSON(json) {
|
|
41
|
+
return AgentUsageMetricsIdUioToJSONTyped(json, false);
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function AgentUsageMetricsIdUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
44
|
if (value == null) {
|
|
45
45
|
return value;
|
|
46
46
|
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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 { AgentUsageMetricsIdUio } from './AgentUsageMetricsIdUio';
|
|
13
|
+
import type { TransactionUio } from './TransactionUio';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface AgentUsageMetricsUio
|
|
18
|
+
*/
|
|
19
|
+
export interface AgentUsageMetricsUio {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {AgentUsageMetricsIdUio}
|
|
23
|
+
* @memberof AgentUsageMetricsUio
|
|
24
|
+
*/
|
|
25
|
+
id?: AgentUsageMetricsIdUio;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {number}
|
|
29
|
+
* @memberof AgentUsageMetricsUio
|
|
30
|
+
*/
|
|
31
|
+
total?: number;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {TransactionUio}
|
|
35
|
+
* @memberof AgentUsageMetricsUio
|
|
36
|
+
*/
|
|
37
|
+
cost?: TransactionUio;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the AgentUsageMetricsUio interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfAgentUsageMetricsUio(value: object): value is AgentUsageMetricsUio;
|
|
43
|
+
export declare function AgentUsageMetricsUioFromJSON(json: any): AgentUsageMetricsUio;
|
|
44
|
+
export declare function AgentUsageMetricsUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentUsageMetricsUio;
|
|
45
|
+
export declare function AgentUsageMetricsUioToJSON(json: any): AgentUsageMetricsUio;
|
|
46
|
+
export declare function AgentUsageMetricsUioToJSONTyped(value?: AgentUsageMetricsUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -13,41 +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.instanceOfAgentUsageMetricsUio = instanceOfAgentUsageMetricsUio;
|
|
17
|
+
exports.AgentUsageMetricsUioFromJSON = AgentUsageMetricsUioFromJSON;
|
|
18
|
+
exports.AgentUsageMetricsUioFromJSONTyped = AgentUsageMetricsUioFromJSONTyped;
|
|
19
|
+
exports.AgentUsageMetricsUioToJSON = AgentUsageMetricsUioToJSON;
|
|
20
|
+
exports.AgentUsageMetricsUioToJSONTyped = AgentUsageMetricsUioToJSONTyped;
|
|
21
|
+
const AgentUsageMetricsIdUio_1 = require("./AgentUsageMetricsIdUio");
|
|
22
22
|
const TransactionUio_1 = require("./TransactionUio");
|
|
23
23
|
/**
|
|
24
|
-
* Check if a given object implements the
|
|
24
|
+
* Check if a given object implements the AgentUsageMetricsUio interface.
|
|
25
25
|
*/
|
|
26
|
-
function
|
|
26
|
+
function instanceOfAgentUsageMetricsUio(value) {
|
|
27
27
|
return true;
|
|
28
28
|
}
|
|
29
|
-
function
|
|
30
|
-
return
|
|
29
|
+
function AgentUsageMetricsUioFromJSON(json) {
|
|
30
|
+
return AgentUsageMetricsUioFromJSONTyped(json, false);
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function AgentUsageMetricsUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
33
|
if (json == null) {
|
|
34
34
|
return json;
|
|
35
35
|
}
|
|
36
36
|
return {
|
|
37
|
-
'id': json['_id'] == null ? undefined : (0,
|
|
37
|
+
'id': json['_id'] == null ? undefined : (0, AgentUsageMetricsIdUio_1.AgentUsageMetricsIdUioFromJSON)(json['_id']),
|
|
38
38
|
'total': json['total'] == null ? undefined : json['total'],
|
|
39
39
|
'cost': json['cost'] == null ? undefined : (0, TransactionUio_1.TransactionUioFromJSON)(json['cost']),
|
|
40
40
|
};
|
|
41
41
|
}
|
|
42
|
-
function
|
|
43
|
-
return
|
|
42
|
+
function AgentUsageMetricsUioToJSON(json) {
|
|
43
|
+
return AgentUsageMetricsUioToJSONTyped(json, false);
|
|
44
44
|
}
|
|
45
|
-
function
|
|
45
|
+
function AgentUsageMetricsUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
46
|
if (value == null) {
|
|
47
47
|
return value;
|
|
48
48
|
}
|
|
49
49
|
return {
|
|
50
|
-
'_id': (0,
|
|
50
|
+
'_id': (0, AgentUsageMetricsIdUio_1.AgentUsageMetricsIdUioToJSON)(value['id']),
|
|
51
51
|
'total': value['total'],
|
|
52
52
|
'cost': (0, TransactionUio_1.TransactionUioToJSON)(value['cost']),
|
|
53
53
|
};
|
|
@@ -0,0 +1,44 @@
|
|
|
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 ApiKeyUio
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiKeyUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ApiKeyUio
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ApiKeyUio
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ApiKeyUio
|
|
34
|
+
*/
|
|
35
|
+
keySecret: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the ApiKeyUio interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfApiKeyUio(value: object): value is ApiKeyUio;
|
|
41
|
+
export declare function ApiKeyUioFromJSON(json: any): ApiKeyUio;
|
|
42
|
+
export declare function ApiKeyUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiKeyUio;
|
|
43
|
+
export declare function ApiKeyUioToJSON(json: any): ApiKeyUio;
|
|
44
|
+
export declare function ApiKeyUioToJSONTyped(value?: ApiKeyUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -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.instanceOfApiKeyUio = instanceOfApiKeyUio;
|
|
17
|
+
exports.ApiKeyUioFromJSON = ApiKeyUioFromJSON;
|
|
18
|
+
exports.ApiKeyUioFromJSONTyped = ApiKeyUioFromJSONTyped;
|
|
19
|
+
exports.ApiKeyUioToJSON = ApiKeyUioToJSON;
|
|
20
|
+
exports.ApiKeyUioToJSONTyped = ApiKeyUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ApiKeyUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfApiKeyUio(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('keySecret' in value) || value['keySecret'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function ApiKeyUioFromJSON(json) {
|
|
34
|
+
return ApiKeyUioFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function ApiKeyUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'id': json['id'],
|
|
42
|
+
'name': json['name'],
|
|
43
|
+
'keySecret': json['keySecret'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function ApiKeyUioToJSON(json) {
|
|
47
|
+
return ApiKeyUioToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function ApiKeyUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'id': value['id'],
|
|
55
|
+
'name': value['name'],
|
|
56
|
+
'keySecret': value['keySecret'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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 AppChatCreateRequestUio
|
|
16
|
+
*/
|
|
17
|
+
export interface AppChatCreateRequestUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AppChatCreateRequestUio
|
|
22
|
+
*/
|
|
23
|
+
message: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AppChatCreateRequestUio
|
|
28
|
+
*/
|
|
29
|
+
lang: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof AppChatCreateRequestUio
|
|
34
|
+
*/
|
|
35
|
+
customUserId?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the AppChatCreateRequestUio interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfAppChatCreateRequestUio(value: object): value is AppChatCreateRequestUio;
|
|
41
|
+
export declare function AppChatCreateRequestUioFromJSON(json: any): AppChatCreateRequestUio;
|
|
42
|
+
export declare function AppChatCreateRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AppChatCreateRequestUio;
|
|
43
|
+
export declare function AppChatCreateRequestUioToJSON(json: any): AppChatCreateRequestUio;
|
|
44
|
+
export declare function AppChatCreateRequestUioToJSONTyped(value?: AppChatCreateRequestUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
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.instanceOfAppChatCreateRequestUio = instanceOfAppChatCreateRequestUio;
|
|
17
|
+
exports.AppChatCreateRequestUioFromJSON = AppChatCreateRequestUioFromJSON;
|
|
18
|
+
exports.AppChatCreateRequestUioFromJSONTyped = AppChatCreateRequestUioFromJSONTyped;
|
|
19
|
+
exports.AppChatCreateRequestUioToJSON = AppChatCreateRequestUioToJSON;
|
|
20
|
+
exports.AppChatCreateRequestUioToJSONTyped = AppChatCreateRequestUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AppChatCreateRequestUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAppChatCreateRequestUio(value) {
|
|
25
|
+
if (!('message' in value) || value['message'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('lang' in value) || value['lang'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function AppChatCreateRequestUioFromJSON(json) {
|
|
32
|
+
return AppChatCreateRequestUioFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function AppChatCreateRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'message': json['message'],
|
|
40
|
+
'lang': json['lang'],
|
|
41
|
+
'customUserId': json['customUserId'] == null ? undefined : json['customUserId'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function AppChatCreateRequestUioToJSON(json) {
|
|
45
|
+
return AppChatCreateRequestUioToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function AppChatCreateRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'message': value['message'],
|
|
53
|
+
'lang': value['lang'],
|
|
54
|
+
'customUserId': value['customUserId'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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 AppChatCreateResponseUio
|
|
16
|
+
*/
|
|
17
|
+
export interface AppChatCreateResponseUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AppChatCreateResponseUio
|
|
22
|
+
*/
|
|
23
|
+
conversationId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AppChatCreateResponseUio
|
|
28
|
+
*/
|
|
29
|
+
messageId?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the AppChatCreateResponseUio interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfAppChatCreateResponseUio(value: object): value is AppChatCreateResponseUio;
|
|
35
|
+
export declare function AppChatCreateResponseUioFromJSON(json: any): AppChatCreateResponseUio;
|
|
36
|
+
export declare function AppChatCreateResponseUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AppChatCreateResponseUio;
|
|
37
|
+
export declare function AppChatCreateResponseUioToJSON(json: any): AppChatCreateResponseUio;
|
|
38
|
+
export declare function AppChatCreateResponseUioToJSONTyped(value?: AppChatCreateResponseUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,52 @@
|
|
|
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.instanceOfAppChatCreateResponseUio = instanceOfAppChatCreateResponseUio;
|
|
17
|
+
exports.AppChatCreateResponseUioFromJSON = AppChatCreateResponseUioFromJSON;
|
|
18
|
+
exports.AppChatCreateResponseUioFromJSONTyped = AppChatCreateResponseUioFromJSONTyped;
|
|
19
|
+
exports.AppChatCreateResponseUioToJSON = AppChatCreateResponseUioToJSON;
|
|
20
|
+
exports.AppChatCreateResponseUioToJSONTyped = AppChatCreateResponseUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AppChatCreateResponseUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAppChatCreateResponseUio(value) {
|
|
25
|
+
if (!('conversationId' in value) || value['conversationId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function AppChatCreateResponseUioFromJSON(json) {
|
|
30
|
+
return AppChatCreateResponseUioFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function AppChatCreateResponseUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'conversationId': json['conversationId'],
|
|
38
|
+
'messageId': json['messageId'] == null ? undefined : json['messageId'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function AppChatCreateResponseUioToJSON(json) {
|
|
42
|
+
return AppChatCreateResponseUioToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function AppChatCreateResponseUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'conversationId': value['conversationId'],
|
|
50
|
+
'messageId': value['messageId'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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 AppChatSayRequestUio
|
|
16
|
+
*/
|
|
17
|
+
export interface AppChatSayRequestUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AppChatSayRequestUio
|
|
22
|
+
*/
|
|
23
|
+
message: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AppChatSayRequestUio
|
|
28
|
+
*/
|
|
29
|
+
lang?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the AppChatSayRequestUio interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfAppChatSayRequestUio(value: object): value is AppChatSayRequestUio;
|
|
35
|
+
export declare function AppChatSayRequestUioFromJSON(json: any): AppChatSayRequestUio;
|
|
36
|
+
export declare function AppChatSayRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AppChatSayRequestUio;
|
|
37
|
+
export declare function AppChatSayRequestUioToJSON(json: any): AppChatSayRequestUio;
|
|
38
|
+
export declare function AppChatSayRequestUioToJSONTyped(value?: AppChatSayRequestUio | null, ignoreDiscriminator?: boolean): any;
|