@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
|
@@ -0,0 +1,70 @@
|
|
|
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.instanceOfMetricForAgentMetricWithCostUio = instanceOfMetricForAgentMetricWithCostUio;
|
|
17
|
+
exports.MetricForAgentMetricWithCostUioFromJSON = MetricForAgentMetricWithCostUioFromJSON;
|
|
18
|
+
exports.MetricForAgentMetricWithCostUioFromJSONTyped = MetricForAgentMetricWithCostUioFromJSONTyped;
|
|
19
|
+
exports.MetricForAgentMetricWithCostUioToJSON = MetricForAgentMetricWithCostUioToJSON;
|
|
20
|
+
exports.MetricForAgentMetricWithCostUioToJSONTyped = MetricForAgentMetricWithCostUioToJSONTyped;
|
|
21
|
+
const AgentMetricsUnitsTypeUio_1 = require("./AgentMetricsUnitsTypeUio");
|
|
22
|
+
const TransactionUio_1 = require("./TransactionUio");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the MetricForAgentMetricWithCostUio interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfMetricForAgentMetricWithCostUio(value) {
|
|
27
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('model' in value) || value['model'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('provider' in value) || value['provider'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('units' in value) || value['units'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('total' in value) || value['total'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
function MetricForAgentMetricWithCostUioFromJSON(json) {
|
|
40
|
+
return MetricForAgentMetricWithCostUioFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function MetricForAgentMetricWithCostUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'type': json['type'],
|
|
48
|
+
'model': json['model'],
|
|
49
|
+
'provider': json['provider'],
|
|
50
|
+
'units': (0, AgentMetricsUnitsTypeUio_1.AgentMetricsUnitsTypeUioFromJSON)(json['units']),
|
|
51
|
+
'total': json['total'],
|
|
52
|
+
'cost': json['cost'] == null ? undefined : (0, TransactionUio_1.TransactionUioFromJSON)(json['cost']),
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
function MetricForAgentMetricWithCostUioToJSON(json) {
|
|
56
|
+
return MetricForAgentMetricWithCostUioToJSONTyped(json, false);
|
|
57
|
+
}
|
|
58
|
+
function MetricForAgentMetricWithCostUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
59
|
+
if (value == null) {
|
|
60
|
+
return value;
|
|
61
|
+
}
|
|
62
|
+
return {
|
|
63
|
+
'type': value['type'],
|
|
64
|
+
'model': value['model'],
|
|
65
|
+
'provider': value['provider'],
|
|
66
|
+
'units': (0, AgentMetricsUnitsTypeUio_1.AgentMetricsUnitsTypeUioToJSON)(value['units']),
|
|
67
|
+
'total': value['total'],
|
|
68
|
+
'cost': (0, TransactionUio_1.TransactionUioToJSON)(value['cost']),
|
|
69
|
+
};
|
|
70
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
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 { MetricForAgentMetricWithCostUio } from './MetricForAgentMetricWithCostUio';
|
|
13
|
+
import type { MetricForAgentIdentifierUio } from './MetricForAgentIdentifierUio';
|
|
14
|
+
import type { MetricForAgentAgentUio } from './MetricForAgentAgentUio';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface MetricForAgentUio
|
|
19
|
+
*/
|
|
20
|
+
export interface MetricForAgentUio {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {MetricForAgentIdentifierUio}
|
|
24
|
+
* @memberof MetricForAgentUio
|
|
25
|
+
*/
|
|
26
|
+
identifier: MetricForAgentIdentifierUio;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {MetricForAgentAgentUio}
|
|
30
|
+
* @memberof MetricForAgentUio
|
|
31
|
+
*/
|
|
32
|
+
agent: MetricForAgentAgentUio;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {Array<MetricForAgentMetricWithCostUio>}
|
|
36
|
+
* @memberof MetricForAgentUio
|
|
37
|
+
*/
|
|
38
|
+
metrics: Array<MetricForAgentMetricWithCostUio>;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {{ [key: string]: string; }}
|
|
42
|
+
* @memberof MetricForAgentUio
|
|
43
|
+
*/
|
|
44
|
+
agentCost?: {
|
|
45
|
+
[key: string]: string;
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the MetricForAgentUio interface.
|
|
50
|
+
*/
|
|
51
|
+
export declare function instanceOfMetricForAgentUio(value: object): value is MetricForAgentUio;
|
|
52
|
+
export declare function MetricForAgentUioFromJSON(json: any): MetricForAgentUio;
|
|
53
|
+
export declare function MetricForAgentUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): MetricForAgentUio;
|
|
54
|
+
export declare function MetricForAgentUioToJSON(json: any): MetricForAgentUio;
|
|
55
|
+
export declare function MetricForAgentUioToJSONTyped(value?: MetricForAgentUio | 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.instanceOfMetricForAgentUio = instanceOfMetricForAgentUio;
|
|
17
|
+
exports.MetricForAgentUioFromJSON = MetricForAgentUioFromJSON;
|
|
18
|
+
exports.MetricForAgentUioFromJSONTyped = MetricForAgentUioFromJSONTyped;
|
|
19
|
+
exports.MetricForAgentUioToJSON = MetricForAgentUioToJSON;
|
|
20
|
+
exports.MetricForAgentUioToJSONTyped = MetricForAgentUioToJSONTyped;
|
|
21
|
+
const MetricForAgentMetricWithCostUio_1 = require("./MetricForAgentMetricWithCostUio");
|
|
22
|
+
const MetricForAgentIdentifierUio_1 = require("./MetricForAgentIdentifierUio");
|
|
23
|
+
const MetricForAgentAgentUio_1 = require("./MetricForAgentAgentUio");
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the MetricForAgentUio interface.
|
|
26
|
+
*/
|
|
27
|
+
function instanceOfMetricForAgentUio(value) {
|
|
28
|
+
if (!('identifier' in value) || value['identifier'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('agent' in value) || value['agent'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('metrics' in value) || value['metrics'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
function MetricForAgentUioFromJSON(json) {
|
|
37
|
+
return MetricForAgentUioFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function MetricForAgentUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'identifier': (0, MetricForAgentIdentifierUio_1.MetricForAgentIdentifierUioFromJSON)(json['identifier']),
|
|
45
|
+
'agent': (0, MetricForAgentAgentUio_1.MetricForAgentAgentUioFromJSON)(json['agent']),
|
|
46
|
+
'metrics': (json['metrics'].map(MetricForAgentMetricWithCostUio_1.MetricForAgentMetricWithCostUioFromJSON)),
|
|
47
|
+
'agentCost': json['agentCost'] == null ? undefined : json['agentCost'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function MetricForAgentUioToJSON(json) {
|
|
51
|
+
return MetricForAgentUioToJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
function MetricForAgentUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'identifier': (0, MetricForAgentIdentifierUio_1.MetricForAgentIdentifierUioToJSON)(value['identifier']),
|
|
59
|
+
'agent': (0, MetricForAgentAgentUio_1.MetricForAgentAgentUioToJSON)(value['agent']),
|
|
60
|
+
'metrics': (value['metrics'].map(MetricForAgentMetricWithCostUio_1.MetricForAgentMetricWithCostUioToJSON)),
|
|
61
|
+
'agentCost': value['agentCost'],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
@@ -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 { AgentMetricsUnitsTypeUio } from './AgentMetricsUnitsTypeUio';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface MetricIdentifierUio
|
|
17
|
+
*/
|
|
18
|
+
export interface MetricIdentifierUio {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof MetricIdentifierUio
|
|
23
|
+
*/
|
|
24
|
+
agentId: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof MetricIdentifierUio
|
|
29
|
+
*/
|
|
30
|
+
type: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof MetricIdentifierUio
|
|
35
|
+
*/
|
|
36
|
+
model: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof MetricIdentifierUio
|
|
41
|
+
*/
|
|
42
|
+
provider: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {AgentMetricsUnitsTypeUio}
|
|
46
|
+
* @memberof MetricIdentifierUio
|
|
47
|
+
*/
|
|
48
|
+
units: AgentMetricsUnitsTypeUio;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the MetricIdentifierUio interface.
|
|
52
|
+
*/
|
|
53
|
+
export declare function instanceOfMetricIdentifierUio(value: object): value is MetricIdentifierUio;
|
|
54
|
+
export declare function MetricIdentifierUioFromJSON(json: any): MetricIdentifierUio;
|
|
55
|
+
export declare function MetricIdentifierUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): MetricIdentifierUio;
|
|
56
|
+
export declare function MetricIdentifierUioToJSON(json: any): MetricIdentifierUio;
|
|
57
|
+
export declare function MetricIdentifierUioToJSONTyped(value?: MetricIdentifierUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,67 @@
|
|
|
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.instanceOfMetricIdentifierUio = instanceOfMetricIdentifierUio;
|
|
17
|
+
exports.MetricIdentifierUioFromJSON = MetricIdentifierUioFromJSON;
|
|
18
|
+
exports.MetricIdentifierUioFromJSONTyped = MetricIdentifierUioFromJSONTyped;
|
|
19
|
+
exports.MetricIdentifierUioToJSON = MetricIdentifierUioToJSON;
|
|
20
|
+
exports.MetricIdentifierUioToJSONTyped = MetricIdentifierUioToJSONTyped;
|
|
21
|
+
const AgentMetricsUnitsTypeUio_1 = require("./AgentMetricsUnitsTypeUio");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the MetricIdentifierUio interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfMetricIdentifierUio(value) {
|
|
26
|
+
if (!('agentId' in value) || value['agentId'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('model' in value) || value['model'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('provider' in value) || value['provider'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('units' in value) || value['units'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
function MetricIdentifierUioFromJSON(json) {
|
|
39
|
+
return MetricIdentifierUioFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function MetricIdentifierUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
|
+
if (json == null) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'agentId': json['agentId'],
|
|
47
|
+
'type': json['type'],
|
|
48
|
+
'model': json['model'],
|
|
49
|
+
'provider': json['provider'],
|
|
50
|
+
'units': (0, AgentMetricsUnitsTypeUio_1.AgentMetricsUnitsTypeUioFromJSON)(json['units']),
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
function MetricIdentifierUioToJSON(json) {
|
|
54
|
+
return MetricIdentifierUioToJSONTyped(json, false);
|
|
55
|
+
}
|
|
56
|
+
function MetricIdentifierUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
'agentId': value['agentId'],
|
|
62
|
+
'type': value['type'],
|
|
63
|
+
'model': value['model'],
|
|
64
|
+
'provider': value['provider'],
|
|
65
|
+
'units': (0, AgentMetricsUnitsTypeUio_1.AgentMetricsUnitsTypeUioToJSON)(value['units']),
|
|
66
|
+
};
|
|
67
|
+
}
|
|
@@ -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 { MetricIdentifierUio } from './MetricIdentifierUio';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface MetricUio
|
|
17
|
+
*/
|
|
18
|
+
export interface MetricUio {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {MetricIdentifierUio}
|
|
22
|
+
* @memberof MetricUio
|
|
23
|
+
*/
|
|
24
|
+
identifier: MetricIdentifierUio;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof MetricUio
|
|
29
|
+
*/
|
|
30
|
+
total: number;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof MetricUio
|
|
35
|
+
*/
|
|
36
|
+
count: number;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the MetricUio interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfMetricUio(value: object): value is MetricUio;
|
|
42
|
+
export declare function MetricUioFromJSON(json: any): MetricUio;
|
|
43
|
+
export declare function MetricUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): MetricUio;
|
|
44
|
+
export declare function MetricUioToJSON(json: any): MetricUio;
|
|
45
|
+
export declare function MetricUioToJSONTyped(value?: MetricUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
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.instanceOfMetricUio = instanceOfMetricUio;
|
|
17
|
+
exports.MetricUioFromJSON = MetricUioFromJSON;
|
|
18
|
+
exports.MetricUioFromJSONTyped = MetricUioFromJSONTyped;
|
|
19
|
+
exports.MetricUioToJSON = MetricUioToJSON;
|
|
20
|
+
exports.MetricUioToJSONTyped = MetricUioToJSONTyped;
|
|
21
|
+
const MetricIdentifierUio_1 = require("./MetricIdentifierUio");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the MetricUio interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfMetricUio(value) {
|
|
26
|
+
if (!('identifier' in value) || value['identifier'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('total' in value) || value['total'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('count' in value) || value['count'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
function MetricUioFromJSON(json) {
|
|
35
|
+
return MetricUioFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
function MetricUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'identifier': (0, MetricIdentifierUio_1.MetricIdentifierUioFromJSON)(json['identifier']),
|
|
43
|
+
'total': json['total'],
|
|
44
|
+
'count': json['count'],
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
function MetricUioToJSON(json) {
|
|
48
|
+
return MetricUioToJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
function MetricUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'identifier': (0, MetricIdentifierUio_1.MetricIdentifierUioToJSON)(value['identifier']),
|
|
56
|
+
'total': value['total'],
|
|
57
|
+
'count': value['count'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -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 ModelUio
|
|
16
|
+
*/
|
|
17
|
+
export interface ModelUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ModelUio
|
|
22
|
+
*/
|
|
23
|
+
label: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ModelUio
|
|
28
|
+
*/
|
|
29
|
+
value: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the ModelUio interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfModelUio(value: object): value is ModelUio;
|
|
35
|
+
export declare function ModelUioFromJSON(json: any): ModelUio;
|
|
36
|
+
export declare function ModelUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): ModelUio;
|
|
37
|
+
export declare function ModelUioToJSON(json: any): ModelUio;
|
|
38
|
+
export declare function ModelUioToJSONTyped(value?: ModelUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
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.instanceOfModelUio = instanceOfModelUio;
|
|
17
|
+
exports.ModelUioFromJSON = ModelUioFromJSON;
|
|
18
|
+
exports.ModelUioFromJSONTyped = ModelUioFromJSONTyped;
|
|
19
|
+
exports.ModelUioToJSON = ModelUioToJSON;
|
|
20
|
+
exports.ModelUioToJSONTyped = ModelUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ModelUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfModelUio(value) {
|
|
25
|
+
if (!('label' in value) || value['label'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('value' in value) || value['value'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function ModelUioFromJSON(json) {
|
|
32
|
+
return ModelUioFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function ModelUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'label': json['label'],
|
|
40
|
+
'value': json['value'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function ModelUioToJSON(json) {
|
|
44
|
+
return ModelUioToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function ModelUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'label': value['label'],
|
|
52
|
+
'value': value['value'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
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 { AgentModuleUio } from './AgentModuleUio';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface OrganizationUio
|
|
17
|
+
*/
|
|
18
|
+
export interface OrganizationUio {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof OrganizationUio
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof OrganizationUio
|
|
29
|
+
*/
|
|
30
|
+
name: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {{ [key: string]: AgentModuleUio; }}
|
|
34
|
+
* @memberof OrganizationUio
|
|
35
|
+
*/
|
|
36
|
+
modules: {
|
|
37
|
+
[key: string]: AgentModuleUio;
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Check if a given object implements the OrganizationUio interface.
|
|
42
|
+
*/
|
|
43
|
+
export declare function instanceOfOrganizationUio(value: object): value is OrganizationUio;
|
|
44
|
+
export declare function OrganizationUioFromJSON(json: any): OrganizationUio;
|
|
45
|
+
export declare function OrganizationUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationUio;
|
|
46
|
+
export declare function OrganizationUioToJSON(json: any): OrganizationUio;
|
|
47
|
+
export declare function OrganizationUioToJSONTyped(value?: OrganizationUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,60 @@
|
|
|
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.instanceOfOrganizationUio = instanceOfOrganizationUio;
|
|
17
|
+
exports.OrganizationUioFromJSON = OrganizationUioFromJSON;
|
|
18
|
+
exports.OrganizationUioFromJSONTyped = OrganizationUioFromJSONTyped;
|
|
19
|
+
exports.OrganizationUioToJSON = OrganizationUioToJSON;
|
|
20
|
+
exports.OrganizationUioToJSONTyped = OrganizationUioToJSONTyped;
|
|
21
|
+
const runtime_1 = require("../runtime");
|
|
22
|
+
const AgentModuleUio_1 = require("./AgentModuleUio");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the OrganizationUio interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfOrganizationUio(value) {
|
|
27
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('modules' in value) || value['modules'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
function OrganizationUioFromJSON(json) {
|
|
36
|
+
return OrganizationUioFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function OrganizationUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'id': json['id'],
|
|
44
|
+
'name': json['name'],
|
|
45
|
+
'modules': ((0, runtime_1.mapValues)(json['modules'], AgentModuleUio_1.AgentModuleUioFromJSON)),
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
function OrganizationUioToJSON(json) {
|
|
49
|
+
return OrganizationUioToJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
function OrganizationUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
52
|
+
if (value == null) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'id': value['id'],
|
|
57
|
+
'name': value['name'],
|
|
58
|
+
'modules': ((0, runtime_1.mapValues)(value['modules'], AgentModuleUio_1.AgentModuleUioToJSON)),
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -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 { UserUio } from './UserUio';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PinRequestUio
|
|
17
|
+
*/
|
|
18
|
+
export interface PinRequestUio {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {UserUio}
|
|
22
|
+
* @memberof PinRequestUio
|
|
23
|
+
*/
|
|
24
|
+
user: UserUio;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof PinRequestUio
|
|
29
|
+
*/
|
|
30
|
+
pin: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the PinRequestUio interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfPinRequestUio(value: object): value is PinRequestUio;
|
|
36
|
+
export declare function PinRequestUioFromJSON(json: any): PinRequestUio;
|
|
37
|
+
export declare function PinRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): PinRequestUio;
|
|
38
|
+
export declare function PinRequestUioToJSON(json: any): PinRequestUio;
|
|
39
|
+
export declare function PinRequestUioToJSONTyped(value?: PinRequestUio | null, ignoreDiscriminator?: boolean): any;
|