@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,122 @@
|
|
|
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 { GuardianRoleUio } from './GuardianRoleUio';
|
|
13
|
+
import type { GuardianEngineUio } from './GuardianEngineUio';
|
|
14
|
+
import type { GuardianTypeUio } from './GuardianTypeUio';
|
|
15
|
+
import type { GuardianPositionUio } from './GuardianPositionUio';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface GuardianUio
|
|
20
|
+
*/
|
|
21
|
+
export interface GuardianUio {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof GuardianUio
|
|
26
|
+
*/
|
|
27
|
+
id: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof GuardianUio
|
|
32
|
+
*/
|
|
33
|
+
name?: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {GuardianTypeUio}
|
|
37
|
+
* @memberof GuardianUio
|
|
38
|
+
*/
|
|
39
|
+
type: GuardianTypeUio;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof GuardianUio
|
|
44
|
+
*/
|
|
45
|
+
description?: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {Array<string>}
|
|
49
|
+
* @memberof GuardianUio
|
|
50
|
+
*/
|
|
51
|
+
forbiddenMessages?: Array<string>;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof GuardianUio
|
|
56
|
+
*/
|
|
57
|
+
agentId?: string;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof GuardianUio
|
|
62
|
+
*/
|
|
63
|
+
organisationId?: string;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {GuardianRoleUio}
|
|
67
|
+
* @memberof GuardianUio
|
|
68
|
+
*/
|
|
69
|
+
role: GuardianRoleUio;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {string}
|
|
73
|
+
* @memberof GuardianUio
|
|
74
|
+
*/
|
|
75
|
+
instanceId?: string;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {string}
|
|
79
|
+
* @memberof GuardianUio
|
|
80
|
+
*/
|
|
81
|
+
createdAt: string;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @type {GuardianEngineUio}
|
|
85
|
+
* @memberof GuardianUio
|
|
86
|
+
*/
|
|
87
|
+
engine: GuardianEngineUio;
|
|
88
|
+
/**
|
|
89
|
+
*
|
|
90
|
+
* @type {Array<GuardianPositionUio>}
|
|
91
|
+
* @memberof GuardianUio
|
|
92
|
+
*/
|
|
93
|
+
position?: Array<GuardianPositionUio>;
|
|
94
|
+
/**
|
|
95
|
+
*
|
|
96
|
+
* @type {string}
|
|
97
|
+
* @memberof GuardianUio
|
|
98
|
+
*/
|
|
99
|
+
updatedAt?: string;
|
|
100
|
+
/**
|
|
101
|
+
*
|
|
102
|
+
* @type {{ [key: string]: number; }}
|
|
103
|
+
* @memberof GuardianUio
|
|
104
|
+
*/
|
|
105
|
+
thresholds?: {
|
|
106
|
+
[key: string]: number;
|
|
107
|
+
};
|
|
108
|
+
/**
|
|
109
|
+
*
|
|
110
|
+
* @type {Array<string>}
|
|
111
|
+
* @memberof GuardianUio
|
|
112
|
+
*/
|
|
113
|
+
excludedAgents?: Array<string>;
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* Check if a given object implements the GuardianUio interface.
|
|
117
|
+
*/
|
|
118
|
+
export declare function instanceOfGuardianUio(value: object): value is GuardianUio;
|
|
119
|
+
export declare function GuardianUioFromJSON(json: any): GuardianUio;
|
|
120
|
+
export declare function GuardianUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): GuardianUio;
|
|
121
|
+
export declare function GuardianUioToJSON(json: any): GuardianUio;
|
|
122
|
+
export declare function GuardianUioToJSONTyped(value?: GuardianUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,90 @@
|
|
|
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.instanceOfGuardianUio = instanceOfGuardianUio;
|
|
17
|
+
exports.GuardianUioFromJSON = GuardianUioFromJSON;
|
|
18
|
+
exports.GuardianUioFromJSONTyped = GuardianUioFromJSONTyped;
|
|
19
|
+
exports.GuardianUioToJSON = GuardianUioToJSON;
|
|
20
|
+
exports.GuardianUioToJSONTyped = GuardianUioToJSONTyped;
|
|
21
|
+
const GuardianRoleUio_1 = require("./GuardianRoleUio");
|
|
22
|
+
const GuardianEngineUio_1 = require("./GuardianEngineUio");
|
|
23
|
+
const GuardianTypeUio_1 = require("./GuardianTypeUio");
|
|
24
|
+
const GuardianPositionUio_1 = require("./GuardianPositionUio");
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the GuardianUio interface.
|
|
27
|
+
*/
|
|
28
|
+
function instanceOfGuardianUio(value) {
|
|
29
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('role' in value) || value['role'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('engine' in value) || value['engine'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
return true;
|
|
40
|
+
}
|
|
41
|
+
function GuardianUioFromJSON(json) {
|
|
42
|
+
return GuardianUioFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function GuardianUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
if (json == null) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'id': json['id'],
|
|
50
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
51
|
+
'type': (0, GuardianTypeUio_1.GuardianTypeUioFromJSON)(json['type']),
|
|
52
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
53
|
+
'forbiddenMessages': json['forbiddenMessages'] == null ? undefined : json['forbiddenMessages'],
|
|
54
|
+
'agentId': json['agentId'] == null ? undefined : json['agentId'],
|
|
55
|
+
'organisationId': json['organisationId'] == null ? undefined : json['organisationId'],
|
|
56
|
+
'role': (0, GuardianRoleUio_1.GuardianRoleUioFromJSON)(json['role']),
|
|
57
|
+
'instanceId': json['instanceId'] == null ? undefined : json['instanceId'],
|
|
58
|
+
'createdAt': json['createdAt'],
|
|
59
|
+
'engine': (0, GuardianEngineUio_1.GuardianEngineUioFromJSON)(json['engine']),
|
|
60
|
+
'position': json['position'] == null ? undefined : (json['position'].map(GuardianPositionUio_1.GuardianPositionUioFromJSON)),
|
|
61
|
+
'updatedAt': json['updatedAt'] == null ? undefined : json['updatedAt'],
|
|
62
|
+
'thresholds': json['thresholds'] == null ? undefined : json['thresholds'],
|
|
63
|
+
'excludedAgents': json['excludedAgents'] == null ? undefined : json['excludedAgents'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
function GuardianUioToJSON(json) {
|
|
67
|
+
return GuardianUioToJSONTyped(json, false);
|
|
68
|
+
}
|
|
69
|
+
function GuardianUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
70
|
+
if (value == null) {
|
|
71
|
+
return value;
|
|
72
|
+
}
|
|
73
|
+
return {
|
|
74
|
+
'id': value['id'],
|
|
75
|
+
'name': value['name'],
|
|
76
|
+
'type': (0, GuardianTypeUio_1.GuardianTypeUioToJSON)(value['type']),
|
|
77
|
+
'description': value['description'],
|
|
78
|
+
'forbiddenMessages': value['forbiddenMessages'],
|
|
79
|
+
'agentId': value['agentId'],
|
|
80
|
+
'organisationId': value['organisationId'],
|
|
81
|
+
'role': (0, GuardianRoleUio_1.GuardianRoleUioToJSON)(value['role']),
|
|
82
|
+
'instanceId': value['instanceId'],
|
|
83
|
+
'createdAt': value['createdAt'],
|
|
84
|
+
'engine': (0, GuardianEngineUio_1.GuardianEngineUioToJSON)(value['engine']),
|
|
85
|
+
'position': value['position'] == null ? undefined : (value['position'].map(GuardianPositionUio_1.GuardianPositionUioToJSON)),
|
|
86
|
+
'updatedAt': value['updatedAt'],
|
|
87
|
+
'thresholds': value['thresholds'],
|
|
88
|
+
'excludedAgents': value['excludedAgents'],
|
|
89
|
+
};
|
|
90
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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 { HealthStatusUio } from './HealthStatusUio';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface HealthCheckResponseComponentsApiUio
|
|
17
|
+
*/
|
|
18
|
+
export interface HealthCheckResponseComponentsApiUio {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {HealthStatusUio}
|
|
22
|
+
* @memberof HealthCheckResponseComponentsApiUio
|
|
23
|
+
*/
|
|
24
|
+
status?: HealthStatusUio;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the HealthCheckResponseComponentsApiUio interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfHealthCheckResponseComponentsApiUio(value: object): value is HealthCheckResponseComponentsApiUio;
|
|
30
|
+
export declare function HealthCheckResponseComponentsApiUioFromJSON(json: any): HealthCheckResponseComponentsApiUio;
|
|
31
|
+
export declare function HealthCheckResponseComponentsApiUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): HealthCheckResponseComponentsApiUio;
|
|
32
|
+
export declare function HealthCheckResponseComponentsApiUioToJSON(json: any): HealthCheckResponseComponentsApiUio;
|
|
33
|
+
export declare function HealthCheckResponseComponentsApiUioToJSONTyped(value?: HealthCheckResponseComponentsApiUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,49 @@
|
|
|
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.instanceOfHealthCheckResponseComponentsApiUio = instanceOfHealthCheckResponseComponentsApiUio;
|
|
17
|
+
exports.HealthCheckResponseComponentsApiUioFromJSON = HealthCheckResponseComponentsApiUioFromJSON;
|
|
18
|
+
exports.HealthCheckResponseComponentsApiUioFromJSONTyped = HealthCheckResponseComponentsApiUioFromJSONTyped;
|
|
19
|
+
exports.HealthCheckResponseComponentsApiUioToJSON = HealthCheckResponseComponentsApiUioToJSON;
|
|
20
|
+
exports.HealthCheckResponseComponentsApiUioToJSONTyped = HealthCheckResponseComponentsApiUioToJSONTyped;
|
|
21
|
+
const HealthStatusUio_1 = require("./HealthStatusUio");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the HealthCheckResponseComponentsApiUio interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfHealthCheckResponseComponentsApiUio(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function HealthCheckResponseComponentsApiUioFromJSON(json) {
|
|
29
|
+
return HealthCheckResponseComponentsApiUioFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function HealthCheckResponseComponentsApiUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'status': json['status'] == null ? undefined : (0, HealthStatusUio_1.HealthStatusUioFromJSON)(json['status']),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function HealthCheckResponseComponentsApiUioToJSON(json) {
|
|
40
|
+
return HealthCheckResponseComponentsApiUioToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function HealthCheckResponseComponentsApiUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'status': (0, HealthStatusUio_1.HealthStatusUioToJSON)(value['status']),
|
|
48
|
+
};
|
|
49
|
+
}
|
|
@@ -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 { HealthCheckResponseComponentsApiUio } from './HealthCheckResponseComponentsApiUio';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface HealthCheckResponseComponentsUio
|
|
17
|
+
*/
|
|
18
|
+
export interface HealthCheckResponseComponentsUio {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {HealthCheckResponseComponentsApiUio}
|
|
22
|
+
* @memberof HealthCheckResponseComponentsUio
|
|
23
|
+
*/
|
|
24
|
+
api?: HealthCheckResponseComponentsApiUio;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {HealthCheckResponseComponentsApiUio}
|
|
28
|
+
* @memberof HealthCheckResponseComponentsUio
|
|
29
|
+
*/
|
|
30
|
+
database?: HealthCheckResponseComponentsApiUio;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the HealthCheckResponseComponentsUio interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfHealthCheckResponseComponentsUio(value: object): value is HealthCheckResponseComponentsUio;
|
|
36
|
+
export declare function HealthCheckResponseComponentsUioFromJSON(json: any): HealthCheckResponseComponentsUio;
|
|
37
|
+
export declare function HealthCheckResponseComponentsUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): HealthCheckResponseComponentsUio;
|
|
38
|
+
export declare function HealthCheckResponseComponentsUioToJSON(json: any): HealthCheckResponseComponentsUio;
|
|
39
|
+
export declare function HealthCheckResponseComponentsUioToJSONTyped(value?: HealthCheckResponseComponentsUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
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.instanceOfHealthCheckResponseComponentsUio = instanceOfHealthCheckResponseComponentsUio;
|
|
17
|
+
exports.HealthCheckResponseComponentsUioFromJSON = HealthCheckResponseComponentsUioFromJSON;
|
|
18
|
+
exports.HealthCheckResponseComponentsUioFromJSONTyped = HealthCheckResponseComponentsUioFromJSONTyped;
|
|
19
|
+
exports.HealthCheckResponseComponentsUioToJSON = HealthCheckResponseComponentsUioToJSON;
|
|
20
|
+
exports.HealthCheckResponseComponentsUioToJSONTyped = HealthCheckResponseComponentsUioToJSONTyped;
|
|
21
|
+
const HealthCheckResponseComponentsApiUio_1 = require("./HealthCheckResponseComponentsApiUio");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the HealthCheckResponseComponentsUio interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfHealthCheckResponseComponentsUio(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function HealthCheckResponseComponentsUioFromJSON(json) {
|
|
29
|
+
return HealthCheckResponseComponentsUioFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function HealthCheckResponseComponentsUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'api': json['api'] == null ? undefined : (0, HealthCheckResponseComponentsApiUio_1.HealthCheckResponseComponentsApiUioFromJSON)(json['api']),
|
|
37
|
+
'database': json['database'] == null ? undefined : (0, HealthCheckResponseComponentsApiUio_1.HealthCheckResponseComponentsApiUioFromJSON)(json['database']),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function HealthCheckResponseComponentsUioToJSON(json) {
|
|
41
|
+
return HealthCheckResponseComponentsUioToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function HealthCheckResponseComponentsUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'api': (0, HealthCheckResponseComponentsApiUio_1.HealthCheckResponseComponentsApiUioToJSON)(value['api']),
|
|
49
|
+
'database': (0, HealthCheckResponseComponentsApiUio_1.HealthCheckResponseComponentsApiUioToJSON)(value['database']),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
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 { HealthCheckResponseComponentsUio } from './HealthCheckResponseComponentsUio';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface HealthCheckResponseUio
|
|
17
|
+
*/
|
|
18
|
+
export interface HealthCheckResponseUio {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof HealthCheckResponseUio
|
|
23
|
+
*/
|
|
24
|
+
status?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof HealthCheckResponseUio
|
|
29
|
+
*/
|
|
30
|
+
version?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof HealthCheckResponseUio
|
|
35
|
+
*/
|
|
36
|
+
timestamp?: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {HealthCheckResponseComponentsUio}
|
|
40
|
+
* @memberof HealthCheckResponseUio
|
|
41
|
+
*/
|
|
42
|
+
components?: HealthCheckResponseComponentsUio;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the HealthCheckResponseUio interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfHealthCheckResponseUio(value: object): value is HealthCheckResponseUio;
|
|
48
|
+
export declare function HealthCheckResponseUioFromJSON(json: any): HealthCheckResponseUio;
|
|
49
|
+
export declare function HealthCheckResponseUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): HealthCheckResponseUio;
|
|
50
|
+
export declare function HealthCheckResponseUioToJSON(json: any): HealthCheckResponseUio;
|
|
51
|
+
export declare function HealthCheckResponseUioToJSONTyped(value?: HealthCheckResponseUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
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.instanceOfHealthCheckResponseUio = instanceOfHealthCheckResponseUio;
|
|
17
|
+
exports.HealthCheckResponseUioFromJSON = HealthCheckResponseUioFromJSON;
|
|
18
|
+
exports.HealthCheckResponseUioFromJSONTyped = HealthCheckResponseUioFromJSONTyped;
|
|
19
|
+
exports.HealthCheckResponseUioToJSON = HealthCheckResponseUioToJSON;
|
|
20
|
+
exports.HealthCheckResponseUioToJSONTyped = HealthCheckResponseUioToJSONTyped;
|
|
21
|
+
const HealthCheckResponseComponentsUio_1 = require("./HealthCheckResponseComponentsUio");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the HealthCheckResponseUio interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfHealthCheckResponseUio(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function HealthCheckResponseUioFromJSON(json) {
|
|
29
|
+
return HealthCheckResponseUioFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function HealthCheckResponseUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'status': json['status'] == null ? undefined : json['status'],
|
|
37
|
+
'version': json['version'] == null ? undefined : json['version'],
|
|
38
|
+
'timestamp': json['timestamp'] == null ? undefined : json['timestamp'],
|
|
39
|
+
'components': json['components'] == null ? undefined : (0, HealthCheckResponseComponentsUio_1.HealthCheckResponseComponentsUioFromJSON)(json['components']),
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function HealthCheckResponseUioToJSON(json) {
|
|
43
|
+
return HealthCheckResponseUioToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function HealthCheckResponseUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'status': value['status'],
|
|
51
|
+
'version': value['version'],
|
|
52
|
+
'timestamp': value['timestamp'],
|
|
53
|
+
'components': (0, HealthCheckResponseComponentsUio_1.HealthCheckResponseComponentsUioToJSON)(value['components']),
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
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
|
+
*/
|
|
16
|
+
export declare const HealthStatusUio: {
|
|
17
|
+
readonly Ok: "ok";
|
|
18
|
+
readonly Degraded: "degraded";
|
|
19
|
+
readonly Down: "down";
|
|
20
|
+
};
|
|
21
|
+
export type HealthStatusUio = typeof HealthStatusUio[keyof typeof HealthStatusUio];
|
|
22
|
+
export declare function instanceOfHealthStatusUio(value: any): boolean;
|
|
23
|
+
export declare function HealthStatusUioFromJSON(json: any): HealthStatusUio;
|
|
24
|
+
export declare function HealthStatusUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): HealthStatusUio;
|
|
25
|
+
export declare function HealthStatusUioToJSON(value?: HealthStatusUio | null): any;
|
|
26
|
+
export declare function HealthStatusUioToJSONTyped(value: any, ignoreDiscriminator: boolean): HealthStatusUio;
|
|
@@ -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.HealthStatusUio = void 0;
|
|
17
|
+
exports.instanceOfHealthStatusUio = instanceOfHealthStatusUio;
|
|
18
|
+
exports.HealthStatusUioFromJSON = HealthStatusUioFromJSON;
|
|
19
|
+
exports.HealthStatusUioFromJSONTyped = HealthStatusUioFromJSONTyped;
|
|
20
|
+
exports.HealthStatusUioToJSON = HealthStatusUioToJSON;
|
|
21
|
+
exports.HealthStatusUioToJSONTyped = HealthStatusUioToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.HealthStatusUio = {
|
|
27
|
+
Ok: 'ok',
|
|
28
|
+
Degraded: 'degraded',
|
|
29
|
+
Down: 'down'
|
|
30
|
+
};
|
|
31
|
+
function instanceOfHealthStatusUio(value) {
|
|
32
|
+
for (const key in exports.HealthStatusUio) {
|
|
33
|
+
if (Object.prototype.hasOwnProperty.call(exports.HealthStatusUio, key)) {
|
|
34
|
+
if (exports.HealthStatusUio[key] === value) {
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
return false;
|
|
40
|
+
}
|
|
41
|
+
function HealthStatusUioFromJSON(json) {
|
|
42
|
+
return HealthStatusUioFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function HealthStatusUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
function HealthStatusUioToJSON(value) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
function HealthStatusUioToJSONTyped(value, ignoreDiscriminator) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
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 ImportFileToAgentKnowledge200ResponseUio
|
|
16
|
+
*/
|
|
17
|
+
export interface ImportFileToAgentKnowledge200ResponseUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ImportFileToAgentKnowledge200ResponseUio
|
|
22
|
+
*/
|
|
23
|
+
id?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ImportFileToAgentKnowledge200ResponseUio
|
|
28
|
+
*/
|
|
29
|
+
name?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ImportFileToAgentKnowledge200ResponseUio
|
|
34
|
+
*/
|
|
35
|
+
type?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ImportFileToAgentKnowledge200ResponseUio
|
|
40
|
+
*/
|
|
41
|
+
size?: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof ImportFileToAgentKnowledge200ResponseUio
|
|
46
|
+
*/
|
|
47
|
+
chunkCount?: number;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the ImportFileToAgentKnowledge200ResponseUio interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfImportFileToAgentKnowledge200ResponseUio(value: object): value is ImportFileToAgentKnowledge200ResponseUio;
|
|
53
|
+
export declare function ImportFileToAgentKnowledge200ResponseUioFromJSON(json: any): ImportFileToAgentKnowledge200ResponseUio;
|
|
54
|
+
export declare function ImportFileToAgentKnowledge200ResponseUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImportFileToAgentKnowledge200ResponseUio;
|
|
55
|
+
export declare function ImportFileToAgentKnowledge200ResponseUioToJSON(json: any): ImportFileToAgentKnowledge200ResponseUio;
|
|
56
|
+
export declare function ImportFileToAgentKnowledge200ResponseUioToJSONTyped(value?: ImportFileToAgentKnowledge200ResponseUio | null, ignoreDiscriminator?: boolean): any;
|