@breign/client 1.0.4 → 1.0.5
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 +329 -0
- package/dist/apis/AgentApi.js +787 -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 +111 -0
- package/dist/apis/EngineApi.js +274 -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/{BrainPatchUio.d.ts → AgentPatchUio.d.ts} +49 -42
- package/dist/models/{BrainPatchUio.js → AgentPatchUio.js} +30 -41
- 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} +25 -25
- package/dist/models/{BrainRequestUio.js → AgentRequestUio.js} +16 -16
- 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/AgentsAgentIdKnowledgeFileImportsPost200ResponseUio.d.ts +56 -0
- package/dist/models/AgentsAgentIdKnowledgeFileImportsPost200ResponseUio.js +56 -0
- 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/ChatMessageRoleUio.d.ts +26 -0
- package/dist/models/ChatMessageRoleUio.js +52 -0
- package/dist/models/ChatMessageUio.d.ts +121 -0
- package/dist/models/ChatMessageUio.js +89 -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 +50 -0
- package/dist/models/DefaultEngineRequestUio.js +62 -0
- package/dist/models/DocumentAddRequestUio.d.ts +38 -0
- package/dist/models/DocumentAddRequestUio.js +52 -0
- package/dist/models/DuplicateAgent201ResponseUio.d.ts +32 -0
- package/dist/models/DuplicateAgent201ResponseUio.js +50 -0
- 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 +66 -0
- package/dist/models/GuardianCreateRequestUio.js +64 -0
- package/dist/models/GuardianEngineTypeUio.d.ts +26 -0
- package/dist/models/GuardianEngineTypeUio.js +52 -0
- package/dist/models/GuardianEngineUio.d.ts +41 -0
- package/dist/models/GuardianEngineUio.js +55 -0
- package/dist/models/GuardianExcludedAgentsRequestUio.d.ts +32 -0
- package/dist/models/GuardianExcludedAgentsRequestUio.js +50 -0
- package/dist/models/GuardianPositionUio.d.ts +25 -0
- package/dist/models/GuardianPositionUio.js +51 -0
- package/dist/models/GuardianPutRequestUio.d.ts +66 -0
- package/dist/models/GuardianPutRequestUio.js +60 -0
- package/dist/models/GuardianRoleUio.d.ts +28 -0
- package/dist/models/GuardianRoleUio.js +54 -0
- package/dist/models/GuardianUio.d.ts +115 -0
- package/dist/models/GuardianUio.js +85 -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/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 +62 -0
- package/dist/models/ProviderCreateRequestUio.js +68 -0
- package/dist/models/ProviderSimpleUio.d.ts +50 -0
- package/dist/models/ProviderSimpleUio.js +62 -0
- package/dist/models/ProviderUio.d.ts +74 -0
- package/dist/models/ProviderUio.js +76 -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 +135 -16
- package/dist/models/index.js +135 -16
- package/dist/openapi.json +6653 -619
- 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/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
|
@@ -13,54 +13,41 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
21
|
-
const
|
|
16
|
+
exports.instanceOfAgentPatchUio = instanceOfAgentPatchUio;
|
|
17
|
+
exports.AgentPatchUioFromJSON = AgentPatchUioFromJSON;
|
|
18
|
+
exports.AgentPatchUioFromJSONTyped = AgentPatchUioFromJSONTyped;
|
|
19
|
+
exports.AgentPatchUioToJSON = AgentPatchUioToJSON;
|
|
20
|
+
exports.AgentPatchUioToJSONTyped = AgentPatchUioToJSONTyped;
|
|
21
|
+
const AgentSubscriptionUio_1 = require("./AgentSubscriptionUio");
|
|
22
22
|
const PersonaUio_1 = require("./PersonaUio");
|
|
23
23
|
const EngineUio_1 = require("./EngineUio");
|
|
24
24
|
const PromptInitUio_1 = require("./PromptInitUio");
|
|
25
|
+
const AgentTypeUio_1 = require("./AgentTypeUio");
|
|
25
26
|
/**
|
|
26
|
-
* Check if a given object implements the
|
|
27
|
+
* Check if a given object implements the AgentPatchUio interface.
|
|
27
28
|
*/
|
|
28
|
-
function
|
|
29
|
-
if (!('id' in value) || value['id'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
if (!('name' in value) || value['name'] === undefined)
|
|
32
|
-
return false;
|
|
33
|
-
if (!('engine' in value) || value['engine'] === undefined)
|
|
34
|
-
return false;
|
|
35
|
-
if (!('modules' in value) || value['modules'] === undefined)
|
|
36
|
-
return false;
|
|
37
|
-
if (!('persona' in value) || value['persona'] === undefined)
|
|
38
|
-
return false;
|
|
39
|
-
if (!('promptInit' in value) || value['promptInit'] === undefined)
|
|
40
|
-
return false;
|
|
41
|
-
if (!('organisationId' in value) || value['organisationId'] === undefined)
|
|
42
|
-
return false;
|
|
29
|
+
function instanceOfAgentPatchUio(value) {
|
|
43
30
|
return true;
|
|
44
31
|
}
|
|
45
|
-
function
|
|
46
|
-
return
|
|
32
|
+
function AgentPatchUioFromJSON(json) {
|
|
33
|
+
return AgentPatchUioFromJSONTyped(json, false);
|
|
47
34
|
}
|
|
48
|
-
function
|
|
35
|
+
function AgentPatchUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
49
36
|
if (json == null) {
|
|
50
37
|
return json;
|
|
51
38
|
}
|
|
52
39
|
return {
|
|
53
|
-
'id': json['id'],
|
|
54
|
-
'name': json['name'],
|
|
55
|
-
'engine': (0, EngineUio_1.EngineUioFromJSON)(json['engine']),
|
|
56
|
-
'modules': json['modules'],
|
|
57
|
-
'persona': (0, PersonaUio_1.PersonaUioFromJSON)(json['persona']),
|
|
58
|
-
'promptInit': (0, PromptInitUio_1.PromptInitUioFromJSON)(json['promptInit']),
|
|
40
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
41
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
42
|
+
'engine': json['engine'] == null ? undefined : (0, EngineUio_1.EngineUioFromJSON)(json['engine']),
|
|
43
|
+
'modules': json['modules'] == null ? undefined : json['modules'],
|
|
44
|
+
'persona': json['persona'] == null ? undefined : (0, PersonaUio_1.PersonaUioFromJSON)(json['persona']),
|
|
45
|
+
'promptInit': json['promptInit'] == null ? undefined : (0, PromptInitUio_1.PromptInitUioFromJSON)(json['promptInit']),
|
|
59
46
|
'flow': json['flow'] == null ? undefined : json['flow'],
|
|
60
|
-
'subscription': json['subscription'] == null ? undefined : (0,
|
|
47
|
+
'subscription': json['subscription'] == null ? undefined : (0, AgentSubscriptionUio_1.AgentSubscriptionUioFromJSON)(json['subscription']),
|
|
61
48
|
'speechOverrides': json['speechOverrides'] == null ? undefined : json['speechOverrides'],
|
|
62
|
-
'
|
|
63
|
-
'organisationId': json['organisationId'],
|
|
49
|
+
'profilePicture': json['profilePicture'] == null ? undefined : json['profilePicture'],
|
|
50
|
+
'organisationId': json['organisationId'] == null ? undefined : json['organisationId'],
|
|
64
51
|
'role': json['role'] == null ? undefined : json['role'],
|
|
65
52
|
'defaultLanguage': json['defaultLanguage'] == null ? undefined : json['defaultLanguage'],
|
|
66
53
|
'description': json['description'] == null ? undefined : json['description'],
|
|
@@ -69,15 +56,16 @@ function BrainPatchUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
69
56
|
'picture': json['picture'] == null ? undefined : json['picture'],
|
|
70
57
|
'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
|
|
71
58
|
'isActivated': json['isActivated'] == null ? undefined : json['isActivated'],
|
|
72
|
-
'
|
|
59
|
+
'knowledgeBaseIds': json['knowledgeBaseIds'] == null ? undefined : json['knowledgeBaseIds'],
|
|
73
60
|
'isTemplate': json['isTemplate'] == null ? undefined : json['isTemplate'],
|
|
74
61
|
'deleted': json['deleted'] == null ? undefined : json['deleted'],
|
|
62
|
+
'agentType': json['agentType'] == null ? undefined : (0, AgentTypeUio_1.AgentTypeUioFromJSON)(json['agentType']),
|
|
75
63
|
};
|
|
76
64
|
}
|
|
77
|
-
function
|
|
78
|
-
return
|
|
65
|
+
function AgentPatchUioToJSON(json) {
|
|
66
|
+
return AgentPatchUioToJSONTyped(json, false);
|
|
79
67
|
}
|
|
80
|
-
function
|
|
68
|
+
function AgentPatchUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
81
69
|
if (value == null) {
|
|
82
70
|
return value;
|
|
83
71
|
}
|
|
@@ -89,9 +77,9 @@ function BrainPatchUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
89
77
|
'persona': (0, PersonaUio_1.PersonaUioToJSON)(value['persona']),
|
|
90
78
|
'promptInit': (0, PromptInitUio_1.PromptInitUioToJSON)(value['promptInit']),
|
|
91
79
|
'flow': value['flow'],
|
|
92
|
-
'subscription': (0,
|
|
80
|
+
'subscription': (0, AgentSubscriptionUio_1.AgentSubscriptionUioToJSON)(value['subscription']),
|
|
93
81
|
'speechOverrides': value['speechOverrides'],
|
|
94
|
-
'
|
|
82
|
+
'profilePicture': value['profilePicture'],
|
|
95
83
|
'organisationId': value['organisationId'],
|
|
96
84
|
'role': value['role'],
|
|
97
85
|
'defaultLanguage': value['defaultLanguage'],
|
|
@@ -101,8 +89,9 @@ function BrainPatchUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
101
89
|
'picture': value['picture'],
|
|
102
90
|
'createdAt': value['createdAt'],
|
|
103
91
|
'isActivated': value['isActivated'],
|
|
104
|
-
'
|
|
92
|
+
'knowledgeBaseIds': value['knowledgeBaseIds'],
|
|
105
93
|
'isTemplate': value['isTemplate'],
|
|
106
94
|
'deleted': value['deleted'],
|
|
95
|
+
'agentType': (0, AgentTypeUio_1.AgentTypeUioToJSON)(value['agentType']),
|
|
107
96
|
};
|
|
108
97
|
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* brain-client
|
|
3
|
+
* Api ands models for brain-app and brain-app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface AgentRequestProfilePictureUio
|
|
16
|
+
*/
|
|
17
|
+
export interface AgentRequestProfilePictureUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AgentRequestProfilePictureUio
|
|
22
|
+
*/
|
|
23
|
+
hash: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof AgentRequestProfilePictureUio
|
|
28
|
+
*/
|
|
29
|
+
size: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof AgentRequestProfilePictureUio
|
|
34
|
+
*/
|
|
35
|
+
contentType: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof AgentRequestProfilePictureUio
|
|
40
|
+
*/
|
|
41
|
+
ext: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the AgentRequestProfilePictureUio interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfAgentRequestProfilePictureUio(value: object): value is AgentRequestProfilePictureUio;
|
|
47
|
+
export declare function AgentRequestProfilePictureUioFromJSON(json: any): AgentRequestProfilePictureUio;
|
|
48
|
+
export declare function AgentRequestProfilePictureUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentRequestProfilePictureUio;
|
|
49
|
+
export declare function AgentRequestProfilePictureUioToJSON(json: any): AgentRequestProfilePictureUio;
|
|
50
|
+
export declare function AgentRequestProfilePictureUioToJSONTyped(value?: AgentRequestProfilePictureUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -13,15 +13,15 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
16
|
+
exports.instanceOfAgentRequestProfilePictureUio = instanceOfAgentRequestProfilePictureUio;
|
|
17
|
+
exports.AgentRequestProfilePictureUioFromJSON = AgentRequestProfilePictureUioFromJSON;
|
|
18
|
+
exports.AgentRequestProfilePictureUioFromJSONTyped = AgentRequestProfilePictureUioFromJSONTyped;
|
|
19
|
+
exports.AgentRequestProfilePictureUioToJSON = AgentRequestProfilePictureUioToJSON;
|
|
20
|
+
exports.AgentRequestProfilePictureUioToJSONTyped = AgentRequestProfilePictureUioToJSONTyped;
|
|
21
21
|
/**
|
|
22
|
-
* Check if a given object implements the
|
|
22
|
+
* Check if a given object implements the AgentRequestProfilePictureUio interface.
|
|
23
23
|
*/
|
|
24
|
-
function
|
|
24
|
+
function instanceOfAgentRequestProfilePictureUio(value) {
|
|
25
25
|
if (!('hash' in value) || value['hash'] === undefined)
|
|
26
26
|
return false;
|
|
27
27
|
if (!('size' in value) || value['size'] === undefined)
|
|
@@ -32,10 +32,10 @@ function instanceOfBrainRequestImageBrainUio(value) {
|
|
|
32
32
|
return false;
|
|
33
33
|
return true;
|
|
34
34
|
}
|
|
35
|
-
function
|
|
36
|
-
return
|
|
35
|
+
function AgentRequestProfilePictureUioFromJSON(json) {
|
|
36
|
+
return AgentRequestProfilePictureUioFromJSONTyped(json, false);
|
|
37
37
|
}
|
|
38
|
-
function
|
|
38
|
+
function AgentRequestProfilePictureUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
39
|
if (json == null) {
|
|
40
40
|
return json;
|
|
41
41
|
}
|
|
@@ -46,10 +46,10 @@ function BrainRequestImageBrainUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
46
46
|
'ext': json['ext'],
|
|
47
47
|
};
|
|
48
48
|
}
|
|
49
|
-
function
|
|
50
|
-
return
|
|
49
|
+
function AgentRequestProfilePictureUioToJSON(json) {
|
|
50
|
+
return AgentRequestProfilePictureUioToJSONTyped(json, false);
|
|
51
51
|
}
|
|
52
|
-
function
|
|
52
|
+
function AgentRequestProfilePictureUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
53
53
|
if (value == null) {
|
|
54
54
|
return value;
|
|
55
55
|
}
|
|
@@ -11,104 +11,104 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { PersonaUio } from './PersonaUio';
|
|
13
13
|
import type { EngineUio } from './EngineUio';
|
|
14
|
-
import type { BrainRequestImageBrainUio } from './BrainRequestImageBrainUio';
|
|
15
14
|
import type { PromptInitUio } from './PromptInitUio';
|
|
15
|
+
import type { AgentRequestProfilePictureUio } from './AgentRequestProfilePictureUio';
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
* @export
|
|
19
|
-
* @interface
|
|
19
|
+
* @interface AgentRequestUio
|
|
20
20
|
*/
|
|
21
|
-
export interface
|
|
21
|
+
export interface AgentRequestUio {
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
24
|
* @type {string}
|
|
25
|
-
* @memberof
|
|
25
|
+
* @memberof AgentRequestUio
|
|
26
26
|
*/
|
|
27
27
|
name: string;
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
* @type {PersonaUio}
|
|
31
|
-
* @memberof
|
|
31
|
+
* @memberof AgentRequestUio
|
|
32
32
|
*/
|
|
33
33
|
persona: PersonaUio;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
36
|
* @type {EngineUio}
|
|
37
|
-
* @memberof
|
|
37
|
+
* @memberof AgentRequestUio
|
|
38
38
|
*/
|
|
39
39
|
engine: EngineUio;
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
42
42
|
* @type {PromptInitUio}
|
|
43
|
-
* @memberof
|
|
43
|
+
* @memberof AgentRequestUio
|
|
44
44
|
*/
|
|
45
45
|
promptInit: PromptInitUio;
|
|
46
46
|
/**
|
|
47
47
|
*
|
|
48
|
-
* @type {
|
|
49
|
-
* @memberof
|
|
48
|
+
* @type {AgentRequestProfilePictureUio}
|
|
49
|
+
* @memberof AgentRequestUio
|
|
50
50
|
*/
|
|
51
|
-
|
|
51
|
+
profilePicture?: AgentRequestProfilePictureUio;
|
|
52
52
|
/**
|
|
53
53
|
*
|
|
54
54
|
* @type {string}
|
|
55
|
-
* @memberof
|
|
55
|
+
* @memberof AgentRequestUio
|
|
56
56
|
*/
|
|
57
57
|
organisationId: string;
|
|
58
58
|
/**
|
|
59
59
|
*
|
|
60
60
|
* @type {string}
|
|
61
|
-
* @memberof
|
|
61
|
+
* @memberof AgentRequestUio
|
|
62
62
|
*/
|
|
63
63
|
role?: string;
|
|
64
64
|
/**
|
|
65
65
|
*
|
|
66
66
|
* @type {string}
|
|
67
|
-
* @memberof
|
|
67
|
+
* @memberof AgentRequestUio
|
|
68
68
|
*/
|
|
69
69
|
defaultLanguage?: string;
|
|
70
70
|
/**
|
|
71
71
|
*
|
|
72
72
|
* @type {string}
|
|
73
|
-
* @memberof
|
|
73
|
+
* @memberof AgentRequestUio
|
|
74
74
|
*/
|
|
75
75
|
description?: string;
|
|
76
76
|
/**
|
|
77
77
|
*
|
|
78
78
|
* @type {string}
|
|
79
|
-
* @memberof
|
|
79
|
+
* @memberof AgentRequestUio
|
|
80
80
|
*/
|
|
81
81
|
template?: string;
|
|
82
82
|
/**
|
|
83
83
|
*
|
|
84
84
|
* @type {string}
|
|
85
|
-
* @memberof
|
|
85
|
+
* @memberof AgentRequestUio
|
|
86
86
|
*/
|
|
87
87
|
color?: string;
|
|
88
88
|
/**
|
|
89
89
|
*
|
|
90
90
|
* @type {string}
|
|
91
|
-
* @memberof
|
|
91
|
+
* @memberof AgentRequestUio
|
|
92
92
|
*/
|
|
93
93
|
picture?: string;
|
|
94
94
|
/**
|
|
95
95
|
*
|
|
96
96
|
* @type {string}
|
|
97
|
-
* @memberof
|
|
97
|
+
* @memberof AgentRequestUio
|
|
98
98
|
*/
|
|
99
99
|
createdAt?: string;
|
|
100
100
|
/**
|
|
101
101
|
*
|
|
102
102
|
* @type {boolean}
|
|
103
|
-
* @memberof
|
|
103
|
+
* @memberof AgentRequestUio
|
|
104
104
|
*/
|
|
105
105
|
isActivated?: boolean;
|
|
106
106
|
}
|
|
107
107
|
/**
|
|
108
|
-
* Check if a given object implements the
|
|
108
|
+
* Check if a given object implements the AgentRequestUio interface.
|
|
109
109
|
*/
|
|
110
|
-
export declare function
|
|
111
|
-
export declare function
|
|
112
|
-
export declare function
|
|
113
|
-
export declare function
|
|
114
|
-
export declare function
|
|
110
|
+
export declare function instanceOfAgentRequestUio(value: object): value is AgentRequestUio;
|
|
111
|
+
export declare function AgentRequestUioFromJSON(json: any): AgentRequestUio;
|
|
112
|
+
export declare function AgentRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentRequestUio;
|
|
113
|
+
export declare function AgentRequestUioToJSON(json: any): AgentRequestUio;
|
|
114
|
+
export declare function AgentRequestUioToJSONTyped(value?: AgentRequestUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -13,19 +13,19 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
16
|
+
exports.instanceOfAgentRequestUio = instanceOfAgentRequestUio;
|
|
17
|
+
exports.AgentRequestUioFromJSON = AgentRequestUioFromJSON;
|
|
18
|
+
exports.AgentRequestUioFromJSONTyped = AgentRequestUioFromJSONTyped;
|
|
19
|
+
exports.AgentRequestUioToJSON = AgentRequestUioToJSON;
|
|
20
|
+
exports.AgentRequestUioToJSONTyped = AgentRequestUioToJSONTyped;
|
|
21
21
|
const PersonaUio_1 = require("./PersonaUio");
|
|
22
22
|
const EngineUio_1 = require("./EngineUio");
|
|
23
|
-
const BrainRequestImageBrainUio_1 = require("./BrainRequestImageBrainUio");
|
|
24
23
|
const PromptInitUio_1 = require("./PromptInitUio");
|
|
24
|
+
const AgentRequestProfilePictureUio_1 = require("./AgentRequestProfilePictureUio");
|
|
25
25
|
/**
|
|
26
|
-
* Check if a given object implements the
|
|
26
|
+
* Check if a given object implements the AgentRequestUio interface.
|
|
27
27
|
*/
|
|
28
|
-
function
|
|
28
|
+
function instanceOfAgentRequestUio(value) {
|
|
29
29
|
if (!('name' in value) || value['name'] === undefined)
|
|
30
30
|
return false;
|
|
31
31
|
if (!('persona' in value) || value['persona'] === undefined)
|
|
@@ -38,10 +38,10 @@ function instanceOfBrainRequestUio(value) {
|
|
|
38
38
|
return false;
|
|
39
39
|
return true;
|
|
40
40
|
}
|
|
41
|
-
function
|
|
42
|
-
return
|
|
41
|
+
function AgentRequestUioFromJSON(json) {
|
|
42
|
+
return AgentRequestUioFromJSONTyped(json, false);
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function AgentRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
45
|
if (json == null) {
|
|
46
46
|
return json;
|
|
47
47
|
}
|
|
@@ -50,7 +50,7 @@ function BrainRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
50
50
|
'persona': (0, PersonaUio_1.PersonaUioFromJSON)(json['persona']),
|
|
51
51
|
'engine': (0, EngineUio_1.EngineUioFromJSON)(json['engine']),
|
|
52
52
|
'promptInit': (0, PromptInitUio_1.PromptInitUioFromJSON)(json['promptInit']),
|
|
53
|
-
'
|
|
53
|
+
'profilePicture': json['profilePicture'] == null ? undefined : (0, AgentRequestProfilePictureUio_1.AgentRequestProfilePictureUioFromJSON)(json['profilePicture']),
|
|
54
54
|
'organisationId': json['organisationId'],
|
|
55
55
|
'role': json['role'] == null ? undefined : json['role'],
|
|
56
56
|
'defaultLanguage': json['defaultLanguage'] == null ? undefined : json['defaultLanguage'],
|
|
@@ -62,10 +62,10 @@ function BrainRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
62
62
|
'isActivated': json['isActivated'] == null ? undefined : json['isActivated'],
|
|
63
63
|
};
|
|
64
64
|
}
|
|
65
|
-
function
|
|
66
|
-
return
|
|
65
|
+
function AgentRequestUioToJSON(json) {
|
|
66
|
+
return AgentRequestUioToJSONTyped(json, false);
|
|
67
67
|
}
|
|
68
|
-
function
|
|
68
|
+
function AgentRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
69
69
|
if (value == null) {
|
|
70
70
|
return value;
|
|
71
71
|
}
|
|
@@ -74,7 +74,7 @@ function BrainRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
74
74
|
'persona': (0, PersonaUio_1.PersonaUioToJSON)(value['persona']),
|
|
75
75
|
'engine': (0, EngineUio_1.EngineUioToJSON)(value['engine']),
|
|
76
76
|
'promptInit': (0, PromptInitUio_1.PromptInitUioToJSON)(value['promptInit']),
|
|
77
|
-
'
|
|
77
|
+
'profilePicture': (0, AgentRequestProfilePictureUio_1.AgentRequestProfilePictureUioToJSON)(value['profilePicture']),
|
|
78
78
|
'organisationId': value['organisationId'],
|
|
79
79
|
'role': value['role'],
|
|
80
80
|
'defaultLanguage': value['defaultLanguage'],
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* brain-client
|
|
3
|
+
* Api ands models for brain-app and brain-app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { AdditionalUio } from './AdditionalUio';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface AgentSubscriptionTextInteractionsUio
|
|
17
|
+
*/
|
|
18
|
+
export interface AgentSubscriptionTextInteractionsUio {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof AgentSubscriptionTextInteractionsUio
|
|
23
|
+
*/
|
|
24
|
+
included: number;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {AdditionalUio}
|
|
28
|
+
* @memberof AgentSubscriptionTextInteractionsUio
|
|
29
|
+
*/
|
|
30
|
+
additional: AdditionalUio;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the AgentSubscriptionTextInteractionsUio interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfAgentSubscriptionTextInteractionsUio(value: object): value is AgentSubscriptionTextInteractionsUio;
|
|
36
|
+
export declare function AgentSubscriptionTextInteractionsUioFromJSON(json: any): AgentSubscriptionTextInteractionsUio;
|
|
37
|
+
export declare function AgentSubscriptionTextInteractionsUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentSubscriptionTextInteractionsUio;
|
|
38
|
+
export declare function AgentSubscriptionTextInteractionsUioToJSON(json: any): AgentSubscriptionTextInteractionsUio;
|
|
39
|
+
export declare function AgentSubscriptionTextInteractionsUioToJSONTyped(value?: AgentSubscriptionTextInteractionsUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -13,26 +13,26 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
16
|
+
exports.instanceOfAgentSubscriptionTextInteractionsUio = instanceOfAgentSubscriptionTextInteractionsUio;
|
|
17
|
+
exports.AgentSubscriptionTextInteractionsUioFromJSON = AgentSubscriptionTextInteractionsUioFromJSON;
|
|
18
|
+
exports.AgentSubscriptionTextInteractionsUioFromJSONTyped = AgentSubscriptionTextInteractionsUioFromJSONTyped;
|
|
19
|
+
exports.AgentSubscriptionTextInteractionsUioToJSON = AgentSubscriptionTextInteractionsUioToJSON;
|
|
20
|
+
exports.AgentSubscriptionTextInteractionsUioToJSONTyped = AgentSubscriptionTextInteractionsUioToJSONTyped;
|
|
21
21
|
const AdditionalUio_1 = require("./AdditionalUio");
|
|
22
22
|
/**
|
|
23
|
-
* Check if a given object implements the
|
|
23
|
+
* Check if a given object implements the AgentSubscriptionTextInteractionsUio interface.
|
|
24
24
|
*/
|
|
25
|
-
function
|
|
25
|
+
function instanceOfAgentSubscriptionTextInteractionsUio(value) {
|
|
26
26
|
if (!('included' in value) || value['included'] === undefined)
|
|
27
27
|
return false;
|
|
28
28
|
if (!('additional' in value) || value['additional'] === undefined)
|
|
29
29
|
return false;
|
|
30
30
|
return true;
|
|
31
31
|
}
|
|
32
|
-
function
|
|
33
|
-
return
|
|
32
|
+
function AgentSubscriptionTextInteractionsUioFromJSON(json) {
|
|
33
|
+
return AgentSubscriptionTextInteractionsUioFromJSONTyped(json, false);
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function AgentSubscriptionTextInteractionsUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
36
|
if (json == null) {
|
|
37
37
|
return json;
|
|
38
38
|
}
|
|
@@ -41,10 +41,10 @@ function BrainSubscriptionTextInteractionsUioFromJSONTyped(json, ignoreDiscrimin
|
|
|
41
41
|
'additional': (0, AdditionalUio_1.AdditionalUioFromJSON)(json['additional']),
|
|
42
42
|
};
|
|
43
43
|
}
|
|
44
|
-
function
|
|
45
|
-
return
|
|
44
|
+
function AgentSubscriptionTextInteractionsUioToJSON(json) {
|
|
45
|
+
return AgentSubscriptionTextInteractionsUioToJSONTyped(json, false);
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function AgentSubscriptionTextInteractionsUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
48
|
if (value == null) {
|
|
49
49
|
return value;
|
|
50
50
|
}
|
|
@@ -0,0 +1,57 @@
|
|
|
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 { AgentSubscriptionTextInteractionsUio } from './AgentSubscriptionTextInteractionsUio';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface AgentSubscriptionUio
|
|
17
|
+
*/
|
|
18
|
+
export interface AgentSubscriptionUio {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {AgentSubscriptionTextInteractionsUio}
|
|
22
|
+
* @memberof AgentSubscriptionUio
|
|
23
|
+
*/
|
|
24
|
+
textInteractions: AgentSubscriptionTextInteractionsUio;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {AgentSubscriptionTextInteractionsUio}
|
|
28
|
+
* @memberof AgentSubscriptionUio
|
|
29
|
+
*/
|
|
30
|
+
voiceInteractions: AgentSubscriptionTextInteractionsUio;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {boolean}
|
|
34
|
+
* @memberof AgentSubscriptionUio
|
|
35
|
+
*/
|
|
36
|
+
canGoBeyondIncluded: boolean;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof AgentSubscriptionUio
|
|
41
|
+
*/
|
|
42
|
+
startDate?: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof AgentSubscriptionUio
|
|
47
|
+
*/
|
|
48
|
+
endDate?: string;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the AgentSubscriptionUio interface.
|
|
52
|
+
*/
|
|
53
|
+
export declare function instanceOfAgentSubscriptionUio(value: object): value is AgentSubscriptionUio;
|
|
54
|
+
export declare function AgentSubscriptionUioFromJSON(json: any): AgentSubscriptionUio;
|
|
55
|
+
export declare function AgentSubscriptionUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentSubscriptionUio;
|
|
56
|
+
export declare function AgentSubscriptionUioToJSON(json: any): AgentSubscriptionUio;
|
|
57
|
+
export declare function AgentSubscriptionUioToJSONTyped(value?: AgentSubscriptionUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,63 @@
|
|
|
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.instanceOfAgentSubscriptionUio = instanceOfAgentSubscriptionUio;
|
|
17
|
+
exports.AgentSubscriptionUioFromJSON = AgentSubscriptionUioFromJSON;
|
|
18
|
+
exports.AgentSubscriptionUioFromJSONTyped = AgentSubscriptionUioFromJSONTyped;
|
|
19
|
+
exports.AgentSubscriptionUioToJSON = AgentSubscriptionUioToJSON;
|
|
20
|
+
exports.AgentSubscriptionUioToJSONTyped = AgentSubscriptionUioToJSONTyped;
|
|
21
|
+
const AgentSubscriptionTextInteractionsUio_1 = require("./AgentSubscriptionTextInteractionsUio");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the AgentSubscriptionUio interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfAgentSubscriptionUio(value) {
|
|
26
|
+
if (!('textInteractions' in value) || value['textInteractions'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('voiceInteractions' in value) || value['voiceInteractions'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('canGoBeyondIncluded' in value) || value['canGoBeyondIncluded'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
function AgentSubscriptionUioFromJSON(json) {
|
|
35
|
+
return AgentSubscriptionUioFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
function AgentSubscriptionUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'textInteractions': (0, AgentSubscriptionTextInteractionsUio_1.AgentSubscriptionTextInteractionsUioFromJSON)(json['textInteractions']),
|
|
43
|
+
'voiceInteractions': (0, AgentSubscriptionTextInteractionsUio_1.AgentSubscriptionTextInteractionsUioFromJSON)(json['voiceInteractions']),
|
|
44
|
+
'canGoBeyondIncluded': json['canGoBeyondIncluded'],
|
|
45
|
+
'startDate': json['startDate'] == null ? undefined : json['startDate'],
|
|
46
|
+
'endDate': json['endDate'] == null ? undefined : json['endDate'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function AgentSubscriptionUioToJSON(json) {
|
|
50
|
+
return AgentSubscriptionUioToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function AgentSubscriptionUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
53
|
+
if (value == null) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'textInteractions': (0, AgentSubscriptionTextInteractionsUio_1.AgentSubscriptionTextInteractionsUioToJSON)(value['textInteractions']),
|
|
58
|
+
'voiceInteractions': (0, AgentSubscriptionTextInteractionsUio_1.AgentSubscriptionTextInteractionsUioToJSON)(value['voiceInteractions']),
|
|
59
|
+
'canGoBeyondIncluded': value['canGoBeyondIncluded'],
|
|
60
|
+
'startDate': value['startDate'],
|
|
61
|
+
'endDate': value['endDate'],
|
|
62
|
+
};
|
|
63
|
+
}
|