@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,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 DocumentAddRequestUio
|
|
16
|
+
*/
|
|
17
|
+
export interface DocumentAddRequestUio {
|
|
18
|
+
/**
|
|
19
|
+
* The text document to add to the knowledge base
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof DocumentAddRequestUio
|
|
22
|
+
*/
|
|
23
|
+
document: string;
|
|
24
|
+
/**
|
|
25
|
+
* Optional custom ID for the document
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof DocumentAddRequestUio
|
|
28
|
+
*/
|
|
29
|
+
customId?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the DocumentAddRequestUio interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfDocumentAddRequestUio(value: object): value is DocumentAddRequestUio;
|
|
35
|
+
export declare function DocumentAddRequestUioFromJSON(json: any): DocumentAddRequestUio;
|
|
36
|
+
export declare function DocumentAddRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): DocumentAddRequestUio;
|
|
37
|
+
export declare function DocumentAddRequestUioToJSON(json: any): DocumentAddRequestUio;
|
|
38
|
+
export declare function DocumentAddRequestUioToJSONTyped(value?: DocumentAddRequestUio | 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.instanceOfDocumentAddRequestUio = instanceOfDocumentAddRequestUio;
|
|
17
|
+
exports.DocumentAddRequestUioFromJSON = DocumentAddRequestUioFromJSON;
|
|
18
|
+
exports.DocumentAddRequestUioFromJSONTyped = DocumentAddRequestUioFromJSONTyped;
|
|
19
|
+
exports.DocumentAddRequestUioToJSON = DocumentAddRequestUioToJSON;
|
|
20
|
+
exports.DocumentAddRequestUioToJSONTyped = DocumentAddRequestUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the DocumentAddRequestUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfDocumentAddRequestUio(value) {
|
|
25
|
+
if (!('document' in value) || value['document'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function DocumentAddRequestUioFromJSON(json) {
|
|
30
|
+
return DocumentAddRequestUioFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function DocumentAddRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'document': json['document'],
|
|
38
|
+
'customId': json['customId'] == null ? undefined : json['customId'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function DocumentAddRequestUioToJSON(json) {
|
|
42
|
+
return DocumentAddRequestUioToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function DocumentAddRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'document': value['document'],
|
|
50
|
+
'customId': value['customId'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { EngineTypeUio } from './EngineTypeUio';
|
|
13
12
|
/**
|
|
14
13
|
*
|
|
15
14
|
* @export
|
|
@@ -18,18 +17,16 @@ import type { EngineTypeUio } from './EngineTypeUio';
|
|
|
18
17
|
export interface EngineUio {
|
|
19
18
|
/**
|
|
20
19
|
*
|
|
21
|
-
* @type {
|
|
20
|
+
* @type {string}
|
|
22
21
|
* @memberof EngineUio
|
|
23
22
|
*/
|
|
24
|
-
|
|
23
|
+
providerId: string;
|
|
25
24
|
/**
|
|
26
25
|
*
|
|
27
|
-
* @type {
|
|
26
|
+
* @type {string}
|
|
28
27
|
* @memberof EngineUio
|
|
29
28
|
*/
|
|
30
|
-
|
|
31
|
-
[key: string]: any;
|
|
32
|
-
};
|
|
29
|
+
model: string;
|
|
33
30
|
}
|
|
34
31
|
/**
|
|
35
32
|
* Check if a given object implements the EngineUio interface.
|
package/dist/models/EngineUio.js
CHANGED
|
@@ -18,14 +18,13 @@ exports.EngineUioFromJSON = EngineUioFromJSON;
|
|
|
18
18
|
exports.EngineUioFromJSONTyped = EngineUioFromJSONTyped;
|
|
19
19
|
exports.EngineUioToJSON = EngineUioToJSON;
|
|
20
20
|
exports.EngineUioToJSONTyped = EngineUioToJSONTyped;
|
|
21
|
-
const EngineTypeUio_1 = require("./EngineTypeUio");
|
|
22
21
|
/**
|
|
23
22
|
* Check if a given object implements the EngineUio interface.
|
|
24
23
|
*/
|
|
25
24
|
function instanceOfEngineUio(value) {
|
|
26
|
-
if (!('
|
|
25
|
+
if (!('providerId' in value) || value['providerId'] === undefined)
|
|
27
26
|
return false;
|
|
28
|
-
if (!('
|
|
27
|
+
if (!('model' in value) || value['model'] === undefined)
|
|
29
28
|
return false;
|
|
30
29
|
return true;
|
|
31
30
|
}
|
|
@@ -37,8 +36,8 @@ function EngineUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
36
|
return json;
|
|
38
37
|
}
|
|
39
38
|
return {
|
|
40
|
-
'
|
|
41
|
-
'
|
|
39
|
+
'providerId': json['providerId'],
|
|
40
|
+
'model': json['model'],
|
|
42
41
|
};
|
|
43
42
|
}
|
|
44
43
|
function EngineUioToJSON(json) {
|
|
@@ -49,7 +48,7 @@ function EngineUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
49
48
|
return value;
|
|
50
49
|
}
|
|
51
50
|
return {
|
|
52
|
-
'
|
|
53
|
-
'
|
|
51
|
+
'providerId': value['providerId'],
|
|
52
|
+
'model': value['model'],
|
|
54
53
|
};
|
|
55
54
|
}
|
|
@@ -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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface FileAttachmentProcessedOneOf1Uio
|
|
16
|
+
*/
|
|
17
|
+
export interface FileAttachmentProcessedOneOf1Uio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof FileAttachmentProcessedOneOf1Uio
|
|
22
|
+
*/
|
|
23
|
+
type: FileAttachmentProcessedOneOf1UioTypeEnum;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof FileAttachmentProcessedOneOf1Uio
|
|
28
|
+
*/
|
|
29
|
+
index: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
export declare const FileAttachmentProcessedOneOf1UioTypeEnum: {
|
|
35
|
+
readonly Indexed: "indexed";
|
|
36
|
+
};
|
|
37
|
+
export type FileAttachmentProcessedOneOf1UioTypeEnum = typeof FileAttachmentProcessedOneOf1UioTypeEnum[keyof typeof FileAttachmentProcessedOneOf1UioTypeEnum];
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the FileAttachmentProcessedOneOf1Uio interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfFileAttachmentProcessedOneOf1Uio(value: object): value is FileAttachmentProcessedOneOf1Uio;
|
|
42
|
+
export declare function FileAttachmentProcessedOneOf1UioFromJSON(json: any): FileAttachmentProcessedOneOf1Uio;
|
|
43
|
+
export declare function FileAttachmentProcessedOneOf1UioFromJSONTyped(json: any, ignoreDiscriminator: boolean): FileAttachmentProcessedOneOf1Uio;
|
|
44
|
+
export declare function FileAttachmentProcessedOneOf1UioToJSON(json: any): FileAttachmentProcessedOneOf1Uio;
|
|
45
|
+
export declare function FileAttachmentProcessedOneOf1UioToJSONTyped(value?: FileAttachmentProcessedOneOf1Uio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,61 @@
|
|
|
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.FileAttachmentProcessedOneOf1UioTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfFileAttachmentProcessedOneOf1Uio = instanceOfFileAttachmentProcessedOneOf1Uio;
|
|
18
|
+
exports.FileAttachmentProcessedOneOf1UioFromJSON = FileAttachmentProcessedOneOf1UioFromJSON;
|
|
19
|
+
exports.FileAttachmentProcessedOneOf1UioFromJSONTyped = FileAttachmentProcessedOneOf1UioFromJSONTyped;
|
|
20
|
+
exports.FileAttachmentProcessedOneOf1UioToJSON = FileAttachmentProcessedOneOf1UioToJSON;
|
|
21
|
+
exports.FileAttachmentProcessedOneOf1UioToJSONTyped = FileAttachmentProcessedOneOf1UioToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.FileAttachmentProcessedOneOf1UioTypeEnum = {
|
|
26
|
+
Indexed: 'indexed'
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Check if a given object implements the FileAttachmentProcessedOneOf1Uio interface.
|
|
30
|
+
*/
|
|
31
|
+
function instanceOfFileAttachmentProcessedOneOf1Uio(value) {
|
|
32
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('index' in value) || value['index'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
function FileAttachmentProcessedOneOf1UioFromJSON(json) {
|
|
39
|
+
return FileAttachmentProcessedOneOf1UioFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function FileAttachmentProcessedOneOf1UioFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
|
+
if (json == null) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'type': json['type'],
|
|
47
|
+
'index': json['index'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function FileAttachmentProcessedOneOf1UioToJSON(json) {
|
|
51
|
+
return FileAttachmentProcessedOneOf1UioToJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
function FileAttachmentProcessedOneOf1UioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'type': value['type'],
|
|
59
|
+
'index': value['index'],
|
|
60
|
+
};
|
|
61
|
+
}
|
|
@@ -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 { AttachmentTypeUio } from './AttachmentTypeUio';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface FileAttachmentProcessedOneOfUio
|
|
17
|
+
*/
|
|
18
|
+
export interface FileAttachmentProcessedOneOfUio {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {AttachmentTypeUio}
|
|
22
|
+
* @memberof FileAttachmentProcessedOneOfUio
|
|
23
|
+
*/
|
|
24
|
+
type: AttachmentTypeUio;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof FileAttachmentProcessedOneOfUio
|
|
29
|
+
*/
|
|
30
|
+
key: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof FileAttachmentProcessedOneOfUio
|
|
35
|
+
*/
|
|
36
|
+
content?: string;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the FileAttachmentProcessedOneOfUio interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfFileAttachmentProcessedOneOfUio(value: object): value is FileAttachmentProcessedOneOfUio;
|
|
42
|
+
export declare function FileAttachmentProcessedOneOfUioFromJSON(json: any): FileAttachmentProcessedOneOfUio;
|
|
43
|
+
export declare function FileAttachmentProcessedOneOfUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): FileAttachmentProcessedOneOfUio;
|
|
44
|
+
export declare function FileAttachmentProcessedOneOfUioToJSON(json: any): FileAttachmentProcessedOneOfUio;
|
|
45
|
+
export declare function FileAttachmentProcessedOneOfUioToJSONTyped(value?: FileAttachmentProcessedOneOfUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,57 @@
|
|
|
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.instanceOfFileAttachmentProcessedOneOfUio = instanceOfFileAttachmentProcessedOneOfUio;
|
|
17
|
+
exports.FileAttachmentProcessedOneOfUioFromJSON = FileAttachmentProcessedOneOfUioFromJSON;
|
|
18
|
+
exports.FileAttachmentProcessedOneOfUioFromJSONTyped = FileAttachmentProcessedOneOfUioFromJSONTyped;
|
|
19
|
+
exports.FileAttachmentProcessedOneOfUioToJSON = FileAttachmentProcessedOneOfUioToJSON;
|
|
20
|
+
exports.FileAttachmentProcessedOneOfUioToJSONTyped = FileAttachmentProcessedOneOfUioToJSONTyped;
|
|
21
|
+
const AttachmentTypeUio_1 = require("./AttachmentTypeUio");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the FileAttachmentProcessedOneOfUio interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfFileAttachmentProcessedOneOfUio(value) {
|
|
26
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('key' in value) || value['key'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
function FileAttachmentProcessedOneOfUioFromJSON(json) {
|
|
33
|
+
return FileAttachmentProcessedOneOfUioFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function FileAttachmentProcessedOneOfUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'type': (0, AttachmentTypeUio_1.AttachmentTypeUioFromJSON)(json['type']),
|
|
41
|
+
'key': json['key'],
|
|
42
|
+
'content': json['content'] == null ? undefined : json['content'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function FileAttachmentProcessedOneOfUioToJSON(json) {
|
|
46
|
+
return FileAttachmentProcessedOneOfUioToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function FileAttachmentProcessedOneOfUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'type': (0, AttachmentTypeUio_1.AttachmentTypeUioToJSON)(value['type']),
|
|
54
|
+
'key': value['key'],
|
|
55
|
+
'content': value['content'],
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
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 { FileAttachmentProcessedOneOf1Uio } from './FileAttachmentProcessedOneOf1Uio';
|
|
13
|
+
import type { FileAttachmentProcessedOneOfUio } from './FileAttachmentProcessedOneOfUio';
|
|
14
|
+
/**
|
|
15
|
+
* @type FileAttachmentProcessedUio
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
*/
|
|
19
|
+
export type FileAttachmentProcessedUio = FileAttachmentProcessedOneOf1Uio | FileAttachmentProcessedOneOfUio;
|
|
20
|
+
export declare function FileAttachmentProcessedUioFromJSON(json: any): FileAttachmentProcessedUio;
|
|
21
|
+
export declare function FileAttachmentProcessedUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): FileAttachmentProcessedUio;
|
|
22
|
+
export declare function FileAttachmentProcessedUioToJSON(json: any): any;
|
|
23
|
+
export declare function FileAttachmentProcessedUioToJSONTyped(value?: FileAttachmentProcessedUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,57 @@
|
|
|
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.FileAttachmentProcessedUioFromJSON = FileAttachmentProcessedUioFromJSON;
|
|
17
|
+
exports.FileAttachmentProcessedUioFromJSONTyped = FileAttachmentProcessedUioFromJSONTyped;
|
|
18
|
+
exports.FileAttachmentProcessedUioToJSON = FileAttachmentProcessedUioToJSON;
|
|
19
|
+
exports.FileAttachmentProcessedUioToJSONTyped = FileAttachmentProcessedUioToJSONTyped;
|
|
20
|
+
const FileAttachmentProcessedOneOf1Uio_1 = require("./FileAttachmentProcessedOneOf1Uio");
|
|
21
|
+
const FileAttachmentProcessedOneOfUio_1 = require("./FileAttachmentProcessedOneOfUio");
|
|
22
|
+
function FileAttachmentProcessedUioFromJSON(json) {
|
|
23
|
+
return FileAttachmentProcessedUioFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
function FileAttachmentProcessedUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
if (typeof json !== 'object') {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
if ((0, FileAttachmentProcessedOneOf1Uio_1.instanceOfFileAttachmentProcessedOneOf1Uio)(json)) {
|
|
33
|
+
return (0, FileAttachmentProcessedOneOf1Uio_1.FileAttachmentProcessedOneOf1UioFromJSONTyped)(json, true);
|
|
34
|
+
}
|
|
35
|
+
if ((0, FileAttachmentProcessedOneOfUio_1.instanceOfFileAttachmentProcessedOneOfUio)(json)) {
|
|
36
|
+
return (0, FileAttachmentProcessedOneOfUio_1.FileAttachmentProcessedOneOfUioFromJSONTyped)(json, true);
|
|
37
|
+
}
|
|
38
|
+
return {};
|
|
39
|
+
}
|
|
40
|
+
function FileAttachmentProcessedUioToJSON(json) {
|
|
41
|
+
return FileAttachmentProcessedUioToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function FileAttachmentProcessedUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
if (typeof value !== 'object') {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
if ((0, FileAttachmentProcessedOneOf1Uio_1.instanceOfFileAttachmentProcessedOneOf1Uio)(value)) {
|
|
51
|
+
return (0, FileAttachmentProcessedOneOf1Uio_1.FileAttachmentProcessedOneOf1UioToJSON)(value);
|
|
52
|
+
}
|
|
53
|
+
if ((0, FileAttachmentProcessedOneOfUio_1.instanceOfFileAttachmentProcessedOneOfUio)(value)) {
|
|
54
|
+
return (0, FileAttachmentProcessedOneOfUio_1.FileAttachmentProcessedOneOfUioToJSON)(value);
|
|
55
|
+
}
|
|
56
|
+
return {};
|
|
57
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
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 FileAttachmentStatusUio: {
|
|
17
|
+
readonly ToUpload: "TO_UPLOAD";
|
|
18
|
+
readonly Processing: "PROCESSING";
|
|
19
|
+
readonly Processed: "PROCESSED";
|
|
20
|
+
readonly Error: "ERROR";
|
|
21
|
+
};
|
|
22
|
+
export type FileAttachmentStatusUio = typeof FileAttachmentStatusUio[keyof typeof FileAttachmentStatusUio];
|
|
23
|
+
export declare function instanceOfFileAttachmentStatusUio(value: any): boolean;
|
|
24
|
+
export declare function FileAttachmentStatusUioFromJSON(json: any): FileAttachmentStatusUio;
|
|
25
|
+
export declare function FileAttachmentStatusUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): FileAttachmentStatusUio;
|
|
26
|
+
export declare function FileAttachmentStatusUioToJSON(value?: FileAttachmentStatusUio | null): any;
|
|
27
|
+
export declare function FileAttachmentStatusUioToJSONTyped(value: any, ignoreDiscriminator: boolean): FileAttachmentStatusUio;
|
|
@@ -0,0 +1,53 @@
|
|
|
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.FileAttachmentStatusUio = void 0;
|
|
17
|
+
exports.instanceOfFileAttachmentStatusUio = instanceOfFileAttachmentStatusUio;
|
|
18
|
+
exports.FileAttachmentStatusUioFromJSON = FileAttachmentStatusUioFromJSON;
|
|
19
|
+
exports.FileAttachmentStatusUioFromJSONTyped = FileAttachmentStatusUioFromJSONTyped;
|
|
20
|
+
exports.FileAttachmentStatusUioToJSON = FileAttachmentStatusUioToJSON;
|
|
21
|
+
exports.FileAttachmentStatusUioToJSONTyped = FileAttachmentStatusUioToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.FileAttachmentStatusUio = {
|
|
27
|
+
ToUpload: 'TO_UPLOAD',
|
|
28
|
+
Processing: 'PROCESSING',
|
|
29
|
+
Processed: 'PROCESSED',
|
|
30
|
+
Error: 'ERROR'
|
|
31
|
+
};
|
|
32
|
+
function instanceOfFileAttachmentStatusUio(value) {
|
|
33
|
+
for (const key in exports.FileAttachmentStatusUio) {
|
|
34
|
+
if (Object.prototype.hasOwnProperty.call(exports.FileAttachmentStatusUio, key)) {
|
|
35
|
+
if (exports.FileAttachmentStatusUio[key] === value) {
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
return false;
|
|
41
|
+
}
|
|
42
|
+
function FileAttachmentStatusUioFromJSON(json) {
|
|
43
|
+
return FileAttachmentStatusUioFromJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function FileAttachmentStatusUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
function FileAttachmentStatusUioToJSON(value) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
function FileAttachmentStatusUioToJSONTyped(value, ignoreDiscriminator) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
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 { AttachmentTypeUio } from './AttachmentTypeUio';
|
|
13
|
+
import type { FileAttachmentProcessedUio } from './FileAttachmentProcessedUio';
|
|
14
|
+
import type { FileAttachmentStatusUio } from './FileAttachmentStatusUio';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface FileAttachmentUio
|
|
19
|
+
*/
|
|
20
|
+
export interface FileAttachmentUio {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {AttachmentTypeUio}
|
|
24
|
+
* @memberof FileAttachmentUio
|
|
25
|
+
*/
|
|
26
|
+
type: AttachmentTypeUio;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof FileAttachmentUio
|
|
31
|
+
*/
|
|
32
|
+
id: string;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof FileAttachmentUio
|
|
37
|
+
*/
|
|
38
|
+
name: string;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @memberof FileAttachmentUio
|
|
43
|
+
*/
|
|
44
|
+
mimeType: string;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {string}
|
|
48
|
+
* @memberof FileAttachmentUio
|
|
49
|
+
*/
|
|
50
|
+
ext: string;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {number}
|
|
54
|
+
* @memberof FileAttachmentUio
|
|
55
|
+
*/
|
|
56
|
+
size: number;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {string}
|
|
60
|
+
* @memberof FileAttachmentUio
|
|
61
|
+
*/
|
|
62
|
+
key: string;
|
|
63
|
+
/**
|
|
64
|
+
* URL to access the attachment
|
|
65
|
+
* @type {string}
|
|
66
|
+
* @memberof FileAttachmentUio
|
|
67
|
+
*/
|
|
68
|
+
url?: string;
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
* @type {FileAttachmentStatusUio}
|
|
72
|
+
* @memberof FileAttachmentUio
|
|
73
|
+
*/
|
|
74
|
+
status: FileAttachmentStatusUio;
|
|
75
|
+
/**
|
|
76
|
+
*
|
|
77
|
+
* @type {FileAttachmentProcessedUio}
|
|
78
|
+
* @memberof FileAttachmentUio
|
|
79
|
+
*/
|
|
80
|
+
processed?: FileAttachmentProcessedUio;
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Check if a given object implements the FileAttachmentUio interface.
|
|
84
|
+
*/
|
|
85
|
+
export declare function instanceOfFileAttachmentUio(value: object): value is FileAttachmentUio;
|
|
86
|
+
export declare function FileAttachmentUioFromJSON(json: any): FileAttachmentUio;
|
|
87
|
+
export declare function FileAttachmentUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): FileAttachmentUio;
|
|
88
|
+
export declare function FileAttachmentUioToJSON(json: any): FileAttachmentUio;
|
|
89
|
+
export declare function FileAttachmentUioToJSONTyped(value?: FileAttachmentUio | null, ignoreDiscriminator?: boolean): any;
|