@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,85 @@
|
|
|
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.instanceOfFileAttachmentUio = instanceOfFileAttachmentUio;
|
|
17
|
+
exports.FileAttachmentUioFromJSON = FileAttachmentUioFromJSON;
|
|
18
|
+
exports.FileAttachmentUioFromJSONTyped = FileAttachmentUioFromJSONTyped;
|
|
19
|
+
exports.FileAttachmentUioToJSON = FileAttachmentUioToJSON;
|
|
20
|
+
exports.FileAttachmentUioToJSONTyped = FileAttachmentUioToJSONTyped;
|
|
21
|
+
const AttachmentTypeUio_1 = require("./AttachmentTypeUio");
|
|
22
|
+
const FileAttachmentProcessedUio_1 = require("./FileAttachmentProcessedUio");
|
|
23
|
+
const FileAttachmentStatusUio_1 = require("./FileAttachmentStatusUio");
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the FileAttachmentUio interface.
|
|
26
|
+
*/
|
|
27
|
+
function instanceOfFileAttachmentUio(value) {
|
|
28
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('mimeType' in value) || value['mimeType'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('ext' in value) || value['ext'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('size' in value) || value['size'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('key' in value) || value['key'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
return true;
|
|
45
|
+
}
|
|
46
|
+
function FileAttachmentUioFromJSON(json) {
|
|
47
|
+
return FileAttachmentUioFromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function FileAttachmentUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'type': (0, AttachmentTypeUio_1.AttachmentTypeUioFromJSON)(json['type']),
|
|
55
|
+
'id': json['id'],
|
|
56
|
+
'name': json['name'],
|
|
57
|
+
'mimeType': json['mimeType'],
|
|
58
|
+
'ext': json['ext'],
|
|
59
|
+
'size': json['size'],
|
|
60
|
+
'key': json['key'],
|
|
61
|
+
'url': json['url'] == null ? undefined : json['url'],
|
|
62
|
+
'status': (0, FileAttachmentStatusUio_1.FileAttachmentStatusUioFromJSON)(json['status']),
|
|
63
|
+
'processed': json['processed'] == null ? undefined : (0, FileAttachmentProcessedUio_1.FileAttachmentProcessedUioFromJSON)(json['processed']),
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
function FileAttachmentUioToJSON(json) {
|
|
67
|
+
return FileAttachmentUioToJSONTyped(json, false);
|
|
68
|
+
}
|
|
69
|
+
function FileAttachmentUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
70
|
+
if (value == null) {
|
|
71
|
+
return value;
|
|
72
|
+
}
|
|
73
|
+
return {
|
|
74
|
+
'type': (0, AttachmentTypeUio_1.AttachmentTypeUioToJSON)(value['type']),
|
|
75
|
+
'id': value['id'],
|
|
76
|
+
'name': value['name'],
|
|
77
|
+
'mimeType': value['mimeType'],
|
|
78
|
+
'ext': value['ext'],
|
|
79
|
+
'size': value['size'],
|
|
80
|
+
'key': value['key'],
|
|
81
|
+
'url': value['url'],
|
|
82
|
+
'status': (0, FileAttachmentStatusUio_1.FileAttachmentStatusUioToJSON)(value['status']),
|
|
83
|
+
'processed': (0, FileAttachmentProcessedUio_1.FileAttachmentProcessedUioToJSON)(value['processed']),
|
|
84
|
+
};
|
|
85
|
+
}
|
|
@@ -40,6 +40,7 @@ function FileCreationRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
40
40
|
return json;
|
|
41
41
|
}
|
|
42
42
|
return {
|
|
43
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
43
44
|
'contentType': json['contentType'],
|
|
44
45
|
'ext': json['ext'],
|
|
45
46
|
'size': json['size'],
|
|
@@ -54,6 +55,7 @@ function FileCreationRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
54
55
|
return value;
|
|
55
56
|
}
|
|
56
57
|
return {
|
|
58
|
+
'name': value['name'],
|
|
57
59
|
'contentType': value['contentType'],
|
|
58
60
|
'ext': value['ext'],
|
|
59
61
|
'size': value['size'],
|
|
@@ -0,0 +1,83 @@
|
|
|
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 { FileStatusUio } from './FileStatusUio';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface FileCreationResponseUio
|
|
17
|
+
*/
|
|
18
|
+
export interface FileCreationResponseUio {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof FileCreationResponseUio
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof FileCreationResponseUio
|
|
29
|
+
*/
|
|
30
|
+
contentType: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof FileCreationResponseUio
|
|
35
|
+
*/
|
|
36
|
+
ext: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof FileCreationResponseUio
|
|
41
|
+
*/
|
|
42
|
+
key: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {number}
|
|
46
|
+
* @memberof FileCreationResponseUio
|
|
47
|
+
*/
|
|
48
|
+
size: number;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof FileCreationResponseUio
|
|
53
|
+
*/
|
|
54
|
+
createdAt: string;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {FileStatusUio}
|
|
58
|
+
* @memberof FileCreationResponseUio
|
|
59
|
+
*/
|
|
60
|
+
status: FileStatusUio;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof FileCreationResponseUio
|
|
65
|
+
*/
|
|
66
|
+
postURL: string;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {{ [key: string]: any; }}
|
|
70
|
+
* @memberof FileCreationResponseUio
|
|
71
|
+
*/
|
|
72
|
+
formData: {
|
|
73
|
+
[key: string]: any;
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Check if a given object implements the FileCreationResponseUio interface.
|
|
78
|
+
*/
|
|
79
|
+
export declare function instanceOfFileCreationResponseUio(value: object): value is FileCreationResponseUio;
|
|
80
|
+
export declare function FileCreationResponseUioFromJSON(json: any): FileCreationResponseUio;
|
|
81
|
+
export declare function FileCreationResponseUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): FileCreationResponseUio;
|
|
82
|
+
export declare function FileCreationResponseUioToJSON(json: any): FileCreationResponseUio;
|
|
83
|
+
export declare function FileCreationResponseUioToJSONTyped(value?: FileCreationResponseUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,83 @@
|
|
|
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.instanceOfFileCreationResponseUio = instanceOfFileCreationResponseUio;
|
|
17
|
+
exports.FileCreationResponseUioFromJSON = FileCreationResponseUioFromJSON;
|
|
18
|
+
exports.FileCreationResponseUioFromJSONTyped = FileCreationResponseUioFromJSONTyped;
|
|
19
|
+
exports.FileCreationResponseUioToJSON = FileCreationResponseUioToJSON;
|
|
20
|
+
exports.FileCreationResponseUioToJSONTyped = FileCreationResponseUioToJSONTyped;
|
|
21
|
+
const FileStatusUio_1 = require("./FileStatusUio");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the FileCreationResponseUio interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfFileCreationResponseUio(value) {
|
|
26
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('contentType' in value) || value['contentType'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('ext' in value) || value['ext'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('key' in value) || value['key'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('size' in value) || value['size'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('postURL' in value) || value['postURL'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('formData' in value) || value['formData'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
return true;
|
|
45
|
+
}
|
|
46
|
+
function FileCreationResponseUioFromJSON(json) {
|
|
47
|
+
return FileCreationResponseUioFromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function FileCreationResponseUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'id': json['id'],
|
|
55
|
+
'contentType': json['contentType'],
|
|
56
|
+
'ext': json['ext'],
|
|
57
|
+
'key': json['key'],
|
|
58
|
+
'size': json['size'],
|
|
59
|
+
'createdAt': json['createdAt'],
|
|
60
|
+
'status': (0, FileStatusUio_1.FileStatusUioFromJSON)(json['status']),
|
|
61
|
+
'postURL': json['postURL'],
|
|
62
|
+
'formData': json['formData'],
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
function FileCreationResponseUioToJSON(json) {
|
|
66
|
+
return FileCreationResponseUioToJSONTyped(json, false);
|
|
67
|
+
}
|
|
68
|
+
function FileCreationResponseUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
69
|
+
if (value == null) {
|
|
70
|
+
return value;
|
|
71
|
+
}
|
|
72
|
+
return {
|
|
73
|
+
'id': value['id'],
|
|
74
|
+
'contentType': value['contentType'],
|
|
75
|
+
'ext': value['ext'],
|
|
76
|
+
'key': value['key'],
|
|
77
|
+
'size': value['size'],
|
|
78
|
+
'createdAt': value['createdAt'],
|
|
79
|
+
'status': (0, FileStatusUio_1.FileStatusUioToJSON)(value['status']),
|
|
80
|
+
'postURL': value['postURL'],
|
|
81
|
+
'formData': value['formData'],
|
|
82
|
+
};
|
|
83
|
+
}
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
export declare const FileStatusUio: {
|
|
17
17
|
readonly Pending: "PENDING";
|
|
18
18
|
readonly Uploaded: "UPLOADED";
|
|
19
|
+
readonly Indexed: "INDEXED";
|
|
19
20
|
};
|
|
20
21
|
export type FileStatusUio = typeof FileStatusUio[keyof typeof FileStatusUio];
|
|
21
22
|
export declare function instanceOfFileStatusUio(value: any): boolean;
|
|
@@ -25,7 +25,8 @@ exports.FileStatusUioToJSONTyped = FileStatusUioToJSONTyped;
|
|
|
25
25
|
*/
|
|
26
26
|
exports.FileStatusUio = {
|
|
27
27
|
Pending: 'PENDING',
|
|
28
|
-
Uploaded: 'UPLOADED'
|
|
28
|
+
Uploaded: 'UPLOADED',
|
|
29
|
+
Indexed: 'INDEXED'
|
|
29
30
|
};
|
|
30
31
|
function instanceOfFileStatusUio(value) {
|
|
31
32
|
for (const key in exports.FileStatusUio) {
|
|
@@ -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 { FileStatusUio } from './FileStatusUio';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface FileStatusUpdateRequestUio
|
|
17
|
+
*/
|
|
18
|
+
export interface FileStatusUpdateRequestUio {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {FileStatusUio}
|
|
22
|
+
* @memberof FileStatusUpdateRequestUio
|
|
23
|
+
*/
|
|
24
|
+
status: FileStatusUio;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the FileStatusUpdateRequestUio interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfFileStatusUpdateRequestUio(value: object): value is FileStatusUpdateRequestUio;
|
|
30
|
+
export declare function FileStatusUpdateRequestUioFromJSON(json: any): FileStatusUpdateRequestUio;
|
|
31
|
+
export declare function FileStatusUpdateRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): FileStatusUpdateRequestUio;
|
|
32
|
+
export declare function FileStatusUpdateRequestUioToJSON(json: any): FileStatusUpdateRequestUio;
|
|
33
|
+
export declare function FileStatusUpdateRequestUioToJSONTyped(value?: FileStatusUpdateRequestUio | 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.instanceOfFileStatusUpdateRequestUio = instanceOfFileStatusUpdateRequestUio;
|
|
17
|
+
exports.FileStatusUpdateRequestUioFromJSON = FileStatusUpdateRequestUioFromJSON;
|
|
18
|
+
exports.FileStatusUpdateRequestUioFromJSONTyped = FileStatusUpdateRequestUioFromJSONTyped;
|
|
19
|
+
exports.FileStatusUpdateRequestUioToJSON = FileStatusUpdateRequestUioToJSON;
|
|
20
|
+
exports.FileStatusUpdateRequestUioToJSONTyped = FileStatusUpdateRequestUioToJSONTyped;
|
|
21
|
+
const FileStatusUio_1 = require("./FileStatusUio");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the FileStatusUpdateRequestUio interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfFileStatusUpdateRequestUio(value) {
|
|
26
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function FileStatusUpdateRequestUioFromJSON(json) {
|
|
31
|
+
return FileStatusUpdateRequestUioFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function FileStatusUpdateRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'status': (0, FileStatusUio_1.FileStatusUioFromJSON)(json['status']),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function FileStatusUpdateRequestUioToJSON(json) {
|
|
42
|
+
return FileStatusUpdateRequestUioToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function FileStatusUpdateRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'status': (0, FileStatusUio_1.FileStatusUioToJSON)(value['status']),
|
|
50
|
+
};
|
|
51
|
+
}
|
package/dist/models/FileUio.d.ts
CHANGED
|
@@ -48,22 +48,16 @@ export interface FileUio {
|
|
|
48
48
|
size: number;
|
|
49
49
|
/**
|
|
50
50
|
*
|
|
51
|
-
* @type {
|
|
51
|
+
* @type {string}
|
|
52
52
|
* @memberof FileUio
|
|
53
53
|
*/
|
|
54
|
-
createdAt:
|
|
54
|
+
createdAt: string;
|
|
55
55
|
/**
|
|
56
56
|
*
|
|
57
57
|
* @type {FileStatusUio}
|
|
58
58
|
* @memberof FileUio
|
|
59
59
|
*/
|
|
60
60
|
status: FileStatusUio;
|
|
61
|
-
/**
|
|
62
|
-
* URL to upload the image to
|
|
63
|
-
* @type {string}
|
|
64
|
-
* @memberof FileUio
|
|
65
|
-
*/
|
|
66
|
-
postURL: string;
|
|
67
61
|
}
|
|
68
62
|
/**
|
|
69
63
|
* Check if a given object implements the FileUio interface.
|
package/dist/models/FileUio.js
CHANGED
|
@@ -37,8 +37,6 @@ function instanceOfFileUio(value) {
|
|
|
37
37
|
return false;
|
|
38
38
|
if (!('status' in value) || value['status'] === undefined)
|
|
39
39
|
return false;
|
|
40
|
-
if (!('postURL' in value) || value['postURL'] === undefined)
|
|
41
|
-
return false;
|
|
42
40
|
return true;
|
|
43
41
|
}
|
|
44
42
|
function FileUioFromJSON(json) {
|
|
@@ -54,9 +52,8 @@ function FileUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
54
52
|
'ext': json['ext'],
|
|
55
53
|
'key': json['key'],
|
|
56
54
|
'size': json['size'],
|
|
57
|
-
'createdAt':
|
|
55
|
+
'createdAt': json['createdAt'],
|
|
58
56
|
'status': (0, FileStatusUio_1.FileStatusUioFromJSON)(json['status']),
|
|
59
|
-
'postURL': json['postURL'],
|
|
60
57
|
};
|
|
61
58
|
}
|
|
62
59
|
function FileUioToJSON(json) {
|
|
@@ -72,8 +69,7 @@ function FileUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
72
69
|
'ext': value['ext'],
|
|
73
70
|
'key': value['key'],
|
|
74
71
|
'size': value['size'],
|
|
75
|
-
'createdAt':
|
|
72
|
+
'createdAt': value['createdAt'],
|
|
76
73
|
'status': (0, FileStatusUio_1.FileStatusUioToJSON)(value['status']),
|
|
77
|
-
'postURL': value['postURL'],
|
|
78
74
|
};
|
|
79
75
|
}
|
|
@@ -0,0 +1,75 @@
|
|
|
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 { FileStatusUio } from './FileStatusUio';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface FileWithDownloadUrlUio
|
|
17
|
+
*/
|
|
18
|
+
export interface FileWithDownloadUrlUio {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof FileWithDownloadUrlUio
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof FileWithDownloadUrlUio
|
|
29
|
+
*/
|
|
30
|
+
contentType: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof FileWithDownloadUrlUio
|
|
35
|
+
*/
|
|
36
|
+
ext: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof FileWithDownloadUrlUio
|
|
41
|
+
*/
|
|
42
|
+
key: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {number}
|
|
46
|
+
* @memberof FileWithDownloadUrlUio
|
|
47
|
+
*/
|
|
48
|
+
size: number;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof FileWithDownloadUrlUio
|
|
53
|
+
*/
|
|
54
|
+
createdAt: string;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {FileStatusUio}
|
|
58
|
+
* @memberof FileWithDownloadUrlUio
|
|
59
|
+
*/
|
|
60
|
+
status: FileStatusUio;
|
|
61
|
+
/**
|
|
62
|
+
* Temporary URL to download the file
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof FileWithDownloadUrlUio
|
|
65
|
+
*/
|
|
66
|
+
downloadURL: string;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Check if a given object implements the FileWithDownloadUrlUio interface.
|
|
70
|
+
*/
|
|
71
|
+
export declare function instanceOfFileWithDownloadUrlUio(value: object): value is FileWithDownloadUrlUio;
|
|
72
|
+
export declare function FileWithDownloadUrlUioFromJSON(json: any): FileWithDownloadUrlUio;
|
|
73
|
+
export declare function FileWithDownloadUrlUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): FileWithDownloadUrlUio;
|
|
74
|
+
export declare function FileWithDownloadUrlUioToJSON(json: any): FileWithDownloadUrlUio;
|
|
75
|
+
export declare function FileWithDownloadUrlUioToJSONTyped(value?: FileWithDownloadUrlUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,79 @@
|
|
|
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.instanceOfFileWithDownloadUrlUio = instanceOfFileWithDownloadUrlUio;
|
|
17
|
+
exports.FileWithDownloadUrlUioFromJSON = FileWithDownloadUrlUioFromJSON;
|
|
18
|
+
exports.FileWithDownloadUrlUioFromJSONTyped = FileWithDownloadUrlUioFromJSONTyped;
|
|
19
|
+
exports.FileWithDownloadUrlUioToJSON = FileWithDownloadUrlUioToJSON;
|
|
20
|
+
exports.FileWithDownloadUrlUioToJSONTyped = FileWithDownloadUrlUioToJSONTyped;
|
|
21
|
+
const FileStatusUio_1 = require("./FileStatusUio");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the FileWithDownloadUrlUio interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfFileWithDownloadUrlUio(value) {
|
|
26
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('contentType' in value) || value['contentType'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('ext' in value) || value['ext'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('key' in value) || value['key'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('size' in value) || value['size'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('downloadURL' in value) || value['downloadURL'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
function FileWithDownloadUrlUioFromJSON(json) {
|
|
45
|
+
return FileWithDownloadUrlUioFromJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function FileWithDownloadUrlUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
48
|
+
if (json == null) {
|
|
49
|
+
return json;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'id': json['id'],
|
|
53
|
+
'contentType': json['contentType'],
|
|
54
|
+
'ext': json['ext'],
|
|
55
|
+
'key': json['key'],
|
|
56
|
+
'size': json['size'],
|
|
57
|
+
'createdAt': json['createdAt'],
|
|
58
|
+
'status': (0, FileStatusUio_1.FileStatusUioFromJSON)(json['status']),
|
|
59
|
+
'downloadURL': json['downloadURL'],
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
function FileWithDownloadUrlUioToJSON(json) {
|
|
63
|
+
return FileWithDownloadUrlUioToJSONTyped(json, false);
|
|
64
|
+
}
|
|
65
|
+
function FileWithDownloadUrlUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
66
|
+
if (value == null) {
|
|
67
|
+
return value;
|
|
68
|
+
}
|
|
69
|
+
return {
|
|
70
|
+
'id': value['id'],
|
|
71
|
+
'contentType': value['contentType'],
|
|
72
|
+
'ext': value['ext'],
|
|
73
|
+
'key': value['key'],
|
|
74
|
+
'size': value['size'],
|
|
75
|
+
'createdAt': value['createdAt'],
|
|
76
|
+
'status': (0, FileStatusUio_1.FileStatusUioToJSON)(value['status']),
|
|
77
|
+
'downloadURL': value['downloadURL'],
|
|
78
|
+
};
|
|
79
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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 { SuggestionUio } from './SuggestionUio';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface FlowUio
|
|
17
|
+
*/
|
|
18
|
+
export interface FlowUio {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof FlowUio
|
|
23
|
+
*/
|
|
24
|
+
conversationId?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof FlowUio
|
|
29
|
+
*/
|
|
30
|
+
messageId?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {Array<SuggestionUio>}
|
|
34
|
+
* @memberof FlowUio
|
|
35
|
+
*/
|
|
36
|
+
suggestions?: Array<SuggestionUio>;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the FlowUio interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfFlowUio(value: object): value is FlowUio;
|
|
42
|
+
export declare function FlowUioFromJSON(json: any): FlowUio;
|
|
43
|
+
export declare function FlowUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlowUio;
|
|
44
|
+
export declare function FlowUioToJSON(json: any): FlowUio;
|
|
45
|
+
export declare function FlowUioToJSONTyped(value?: FlowUio | null, ignoreDiscriminator?: boolean): any;
|