@breign/client 1.0.125 → 1.0.127
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/dist/apis/AiGatewayApi.d.ts +100 -0
- package/dist/apis/AiGatewayApi.js +248 -0
- package/dist/apis/AppApi.d.ts +17 -3
- package/dist/apis/AppApi.js +36 -2
- package/dist/apis/AuthApi.d.ts +40 -1
- package/dist/apis/AuthApi.js +82 -0
- package/dist/apis/ConfigurationApi.d.ts +16 -3
- package/dist/apis/ConfigurationApi.js +33 -2
- package/dist/apis/ConversationsApi.d.ts +32 -3
- package/dist/apis/ConversationsApi.js +76 -2
- package/dist/apis/EngineApi.d.ts +17 -16
- package/dist/apis/EngineApi.js +33 -30
- package/dist/apis/EnginesApi.d.ts +3 -3
- package/dist/apis/EnginesApi.js +4 -4
- package/dist/apis/KnowledgeApi.d.ts +127 -61
- package/dist/apis/KnowledgeApi.js +257 -108
- package/dist/apis/OrganizationsApi.d.ts +10 -111
- package/dist/apis/OrganizationsApi.js +12 -264
- package/dist/apis/PromptsApi.d.ts +3 -3
- package/dist/apis/PromptsApi.js +1 -1
- package/dist/apis/ToolsApi.d.ts +1 -2
- package/dist/apis/ToolsApi.js +3 -6
- package/dist/apis/UsersApi.d.ts +127 -0
- package/dist/apis/UsersApi.js +308 -0
- package/dist/apis/index.d.ts +2 -0
- package/dist/apis/index.js +2 -0
- package/dist/models/AiGatewayChatCompletionRequestUio.d.ts +57 -0
- package/dist/models/AiGatewayChatCompletionRequestUio.js +61 -0
- package/dist/models/AiGatewayChatCompletionResponseUio.d.ts +47 -0
- package/dist/models/AiGatewayChatCompletionResponseUio.js +54 -0
- package/dist/models/AiGatewayEmbeddingRequestUio.d.ts +38 -0
- package/dist/models/AiGatewayEmbeddingRequestUio.js +54 -0
- package/dist/models/AiGatewayEmbeddingResponseUio.d.ts +47 -0
- package/dist/models/AiGatewayEmbeddingResponseUio.js +54 -0
- package/dist/models/AiGatewayErrorUio.d.ts +33 -0
- package/dist/models/AiGatewayErrorUio.js +51 -0
- package/dist/models/AiGatewayMessageUio.d.ts +47 -0
- package/dist/models/AiGatewayMessageUio.js +63 -0
- package/dist/models/AiGatewayModelListDataInnerUio.d.ts +57 -0
- package/dist/models/AiGatewayModelListDataInnerUio.js +69 -0
- package/dist/models/AiGatewayModelListUio.d.ts +46 -0
- package/dist/models/AiGatewayModelListUio.js +62 -0
- package/dist/models/AiGatewayModelUio.d.ts +57 -0
- package/dist/models/AiGatewayModelUio.js +69 -0
- package/dist/models/ApiKeyCreateRequestUio.d.ts +32 -0
- package/dist/models/ApiKeyCreateRequestUio.js +50 -0
- package/dist/models/ApiKeyCreatedUio.d.ts +44 -0
- package/dist/models/{ApiKeyUio.js → ApiKeyCreatedUio.js} +13 -13
- package/dist/models/ApiKeyRefUio.d.ts +38 -0
- package/dist/models/ApiKeyRefUio.js +54 -0
- package/dist/models/AppInstanceEphemeralCreateRequestUio.d.ts +1 -1
- package/dist/models/AppInstanceEphemeralCreateRequestUio.js +3 -1
- package/dist/models/AppReplaceRequestUio.d.ts +94 -0
- package/dist/models/AppReplaceRequestUio.js +82 -0
- package/dist/models/AppTextToSpeechResponseUio.d.ts +3 -3
- package/dist/models/AppTextToSpeechResponseUio.js +3 -3
- package/dist/models/AppUpdateRequestEphemeralInstancesUio.d.ts +38 -0
- package/dist/models/AppUpdateRequestEphemeralInstancesUio.js +50 -0
- package/dist/models/AppUpdateRequestUio.d.ts +12 -12
- package/dist/models/AppUpdateRequestUio.js +3 -3
- package/dist/models/AttachmentProcessedRequestUio.d.ts +50 -0
- package/dist/models/AttachmentProcessedRequestUio.js +62 -0
- package/dist/models/AuthCodeConfirmRequestUio.d.ts +1 -1
- package/dist/models/AuthCodeConfirmRequestUio.js +3 -1
- package/dist/models/AuthCodeConfirmResponseUio.d.ts +15 -3
- package/dist/models/AuthCodeConfirmResponseUio.js +6 -3
- package/dist/models/ChunkCreateRequestContentInnerUio.d.ts +1 -1
- package/dist/models/ChunkCreateRequestContentInnerUio.js +1 -3
- package/dist/models/ChunkCreateRequestUio.d.ts +3 -3
- package/dist/models/ChunkCreateRequestUio.js +10 -4
- package/dist/models/ConfigurationDefaultFillerPhrasesUio.d.ts +7 -6
- package/dist/models/ConfigurationDefaultFillerPhrasesUio.js +7 -8
- package/dist/models/ConfigurationDefaultFillerPhrasesUpdateRequestUio.d.ts +39 -0
- package/dist/models/ConfigurationDefaultFillerPhrasesUpdateRequestUio.js +55 -0
- package/dist/models/ContextLocationRequestUio.d.ts +38 -0
- package/dist/models/ContextLocationRequestUio.js +54 -0
- package/dist/models/ConversationDetailUio.d.ts +101 -0
- package/dist/models/ConversationDetailUio.js +75 -0
- package/dist/models/CreateKnowledgeBaseRequestEmbeddingConfigUio.d.ts +44 -0
- package/dist/models/CreateKnowledgeBaseRequestEmbeddingConfigUio.js +58 -0
- package/dist/models/CreateKnowledgeBaseRequestUio.d.ts +59 -0
- package/dist/models/CreateKnowledgeBaseRequestUio.js +65 -0
- package/dist/models/CreateKnowledgeBaseResponseUio.d.ts +46 -0
- package/dist/models/CreateKnowledgeBaseResponseUio.js +62 -0
- package/dist/models/DeleteKnowledgeSitePage200ResponseUio.d.ts +38 -0
- package/dist/models/DeleteKnowledgeSitePage200ResponseUio.js +52 -0
- package/dist/models/DeleteOrganizationUser200ResponseUio.d.ts +32 -0
- package/dist/models/DeleteOrganizationUser200ResponseUio.js +50 -0
- package/dist/models/DeleteProvider200ResponseKnowledgeBasesAffectedInnerUio.d.ts +50 -0
- package/dist/models/DeleteProvider200ResponseKnowledgeBasesAffectedInnerUio.js +54 -0
- package/dist/models/DeleteProvider200ResponseUio.d.ts +45 -0
- package/dist/models/DeleteProvider200ResponseUio.js +55 -0
- package/dist/models/EmbeddingProviderModelsInnerUio.d.ts +44 -0
- package/dist/models/EmbeddingProviderModelsInnerUio.js +58 -0
- package/dist/models/EmbeddingProviderUio.d.ts +57 -0
- package/dist/models/EmbeddingProviderUio.js +65 -0
- package/dist/models/FileCreationResponseUio.d.ts +1 -0
- package/dist/models/FileCreationResponseUio.js +2 -1
- package/dist/models/FileUio.d.ts +5 -3
- package/dist/models/FileUio.js +4 -4
- package/dist/models/FileWithDownloadUrlUio.d.ts +5 -3
- package/dist/models/FileWithDownloadUrlUio.js +4 -4
- package/dist/models/FillerPhraseUio.d.ts +38 -0
- package/dist/models/FillerPhraseUio.js +54 -0
- package/dist/models/GetJwks200ResponseUio.d.ts +34 -0
- package/dist/models/GetJwks200ResponseUio.js +50 -0
- package/dist/models/ImageKnowledgeUio.d.ts +13 -6
- package/dist/models/ImageKnowledgeUio.js +23 -6
- package/dist/models/KnowledgeBaseConfigurationUio.d.ts +14 -0
- package/dist/models/KnowledgeBaseConfigurationUio.js +10 -1
- package/dist/models/KnowledgeBaseConfigurationUpdateRequestAuthenticationOneOfUio.d.ts +45 -0
- package/dist/models/KnowledgeBaseConfigurationUpdateRequestAuthenticationOneOfUio.js +57 -0
- package/dist/models/KnowledgeBaseConfigurationUpdateRequestAuthenticationUio.d.ts +22 -0
- package/dist/models/KnowledgeBaseConfigurationUpdateRequestAuthenticationUio.js +50 -0
- package/dist/models/KnowledgeBaseConfigurationUpdateRequestUio.d.ts +157 -0
- package/dist/models/KnowledgeBaseConfigurationUpdateRequestUio.js +102 -0
- package/dist/models/KnowledgeBaseUio.d.ts +6 -62
- package/dist/models/KnowledgeBaseUio.js +2 -22
- package/dist/models/KnowledgeFileCreationRequestUio.d.ts +68 -0
- package/dist/models/KnowledgeFileCreationRequestUio.js +64 -0
- package/dist/models/KnowledgeFileParsingCallbackRequestUio.d.ts +51 -0
- package/dist/models/KnowledgeFileParsingCallbackRequestUio.js +58 -0
- package/dist/models/KnowledgeFileSummaryUio.d.ts +2 -3
- package/dist/models/KnowledgeFileSummaryUio.js +2 -3
- package/dist/models/KnowledgeFileUio.d.ts +140 -0
- package/dist/models/KnowledgeFileUio.js +92 -0
- package/dist/models/MarkAttachmentProcessed400ResponseUio.d.ts +40 -0
- package/dist/models/MarkAttachmentProcessed400ResponseUio.js +52 -0
- package/dist/models/MessageUio.d.ts +7 -1
- package/dist/models/MessageUio.js +2 -0
- package/dist/models/OpenAiChatCompletionRequestStreamOptionsUio.d.ts +32 -0
- package/dist/models/OpenAiChatCompletionRequestStreamOptionsUio.js +48 -0
- package/dist/models/OpenAiChatCompletionRequestUio.d.ts +64 -0
- package/dist/models/OpenAiChatCompletionRequestUio.js +64 -0
- package/dist/models/OpenAiChatCompletionResponseUio.d.ts +67 -0
- package/dist/models/OpenAiChatCompletionResponseUio.js +60 -0
- package/dist/models/OrganizationMemberUio.d.ts +3 -3
- package/dist/models/OrganizationMemberUio.js +3 -3
- package/dist/models/OrganizationMemberUserUio.d.ts +32 -0
- package/dist/models/OrganizationMemberUserUio.js +50 -0
- package/dist/models/PinRequestUio.d.ts +3 -3
- package/dist/models/PinRequestUio.js +3 -3
- package/dist/models/ProviderValiationRequestUio.d.ts +1 -1
- package/dist/models/ProviderValiationRequestUio.js +1 -3
- package/dist/models/SetContextLocation400ResponseUio.d.ts +40 -0
- package/dist/models/SetContextLocation400ResponseUio.js +52 -0
- package/dist/models/TTSRequestUio.d.ts +1 -1
- package/dist/models/TTSRequestUio.js +1 -3
- package/dist/models/UploadedStatusUpdateRequestUio.d.ts +39 -0
- package/dist/models/UploadedStatusUpdateRequestUio.js +57 -0
- package/dist/models/UserCreateRequestUio.d.ts +45 -0
- package/dist/models/UserCreateRequestUio.js +57 -0
- package/dist/models/UserDetailUio.d.ts +88 -0
- package/dist/models/UserDetailUio.js +80 -0
- package/dist/models/UserIdentifierRequestUio.d.ts +32 -0
- package/dist/models/UserIdentifierRequestUio.js +50 -0
- package/dist/models/UserIdentifierUio.d.ts +38 -0
- package/dist/models/UserIdentifierUio.js +52 -0
- package/dist/models/UserLockRequestUio.d.ts +32 -0
- package/dist/models/UserLockRequestUio.js +50 -0
- package/dist/models/UserUpdateRequestUio.d.ts +63 -0
- package/dist/models/UserUpdateRequestUio.js +59 -0
- package/dist/models/index.d.ts +48 -20
- package/dist/models/index.js +48 -20
- package/dist/openapi.json +3768 -2025
- package/package.json +1 -1
- package/dist/models/AccessRoleCreateRequestUio.d.ts +0 -45
- package/dist/models/AccessRoleCreateRequestUio.js +0 -55
- package/dist/models/AccessRolePermissionsRequestUio.d.ts +0 -33
- package/dist/models/AccessRolePermissionsRequestUio.js +0 -51
- package/dist/models/AccessRoleUio.d.ts +0 -75
- package/dist/models/AccessRoleUio.js +0 -75
- package/dist/models/AccessRoleUpdateRequestUio.d.ts +0 -38
- package/dist/models/AccessRoleUpdateRequestUio.js +0 -52
- package/dist/models/ApiKeyUio.d.ts +0 -44
- package/dist/models/AudioFile1Uio.d.ts +0 -45
- package/dist/models/AudioFile1Uio.js +0 -59
- package/dist/models/Conversation1Uio.d.ts +0 -46
- package/dist/models/Conversation1Uio.js +0 -60
- package/dist/models/FileFormDataUio.d.ts +0 -38
- package/dist/models/FileFormDataUio.js +0 -50
- package/dist/models/FileStatusUpdateRequestUio.d.ts +0 -33
- package/dist/models/FileStatusUpdateRequestUio.js +0 -51
- package/dist/models/KnowledgeBaseFilesInnerUio.d.ts +0 -44
- package/dist/models/KnowledgeBaseFilesInnerUio.js +0 -58
- package/dist/models/KnowledgeBasePrivacyUio.d.ts +0 -25
- package/dist/models/KnowledgeBasePrivacyUio.js +0 -51
- package/dist/models/KnowledgeFilePagePreviewUio.d.ts +0 -44
- package/dist/models/KnowledgeFilePagePreviewUio.js +0 -56
- package/dist/models/KnowledgeFileSummaryKnowledgeBaseIdUio.d.ts +0 -21
- package/dist/models/KnowledgeFileSummaryKnowledgeBaseIdUio.js +0 -37
- package/dist/models/OrganizationPermissionKeyUio.d.ts +0 -59
- package/dist/models/OrganizationPermissionKeyUio.js +0 -85
- package/dist/models/PermissionEntryUio.d.ts +0 -39
- package/dist/models/PermissionEntryUio.js +0 -55
- package/dist/models/ProviderSimpleUio.d.ts +0 -57
- package/dist/models/ProviderSimpleUio.js +0 -65
- package/dist/models/UserAccessRolesRequestUio.d.ts +0 -32
- package/dist/models/UserAccessRolesRequestUio.js +0 -50
- package/dist/models/UserAccessUio.d.ts +0 -39
- package/dist/models/UserAccessUio.js +0 -55
- package/dist/models/UserDirectPermissionsRequestUio.d.ts +0 -33
- package/dist/models/UserDirectPermissionsRequestUio.js +0 -51
- package/dist/models/UserUio.d.ts +0 -87
- package/dist/models/UserUio.js +0 -67
package/dist/models/FileUio.js
CHANGED
|
@@ -19,14 +19,14 @@ exports.FileUioFromJSON = FileUioFromJSON;
|
|
|
19
19
|
exports.FileUioFromJSONTyped = FileUioFromJSONTyped;
|
|
20
20
|
exports.FileUioToJSON = FileUioToJSON;
|
|
21
21
|
exports.FileUioToJSONTyped = FileUioToJSONTyped;
|
|
22
|
-
const FileFormDataUio_1 = require("./FileFormDataUio");
|
|
23
22
|
const FileStatusUio_1 = require("./FileStatusUio");
|
|
24
23
|
/**
|
|
25
24
|
* @export
|
|
26
25
|
*/
|
|
27
26
|
exports.FileUioKnowledgeTypeEnum = {
|
|
28
27
|
File: 'file',
|
|
29
|
-
Website: 'website'
|
|
28
|
+
Website: 'website',
|
|
29
|
+
Image: 'image'
|
|
30
30
|
};
|
|
31
31
|
/**
|
|
32
32
|
* Check if a given object implements the FileUio interface.
|
|
@@ -56,7 +56,7 @@ function FileUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
56
56
|
'key': json['key'] == null ? undefined : json['key'],
|
|
57
57
|
'size': json['size'] == null ? undefined : json['size'],
|
|
58
58
|
'postURL': json['postURL'] == null ? undefined : json['postURL'],
|
|
59
|
-
'formData': json['formData'] == null ? undefined :
|
|
59
|
+
'formData': json['formData'] == null ? undefined : json['formData'],
|
|
60
60
|
'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
|
|
61
61
|
'updatedAt': json['updatedAt'] == null ? undefined : json['updatedAt'],
|
|
62
62
|
'status': json['status'] == null ? undefined : (0, FileStatusUio_1.FileStatusUioFromJSON)(json['status']),
|
|
@@ -83,7 +83,7 @@ function FileUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
83
83
|
'key': value['key'],
|
|
84
84
|
'size': value['size'],
|
|
85
85
|
'postURL': value['postURL'],
|
|
86
|
-
'formData':
|
|
86
|
+
'formData': value['formData'],
|
|
87
87
|
'createdAt': value['createdAt'],
|
|
88
88
|
'updatedAt': value['updatedAt'],
|
|
89
89
|
'status': (0, FileStatusUio_1.FileStatusUioToJSON)(value['status']),
|
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { FileFormDataUio } from './FileFormDataUio';
|
|
13
12
|
import type { FileStatusUio } from './FileStatusUio';
|
|
14
13
|
/**
|
|
15
14
|
*
|
|
@@ -91,10 +90,12 @@ export interface FileWithDownloadUrlUio {
|
|
|
91
90
|
postURL?: string;
|
|
92
91
|
/**
|
|
93
92
|
*
|
|
94
|
-
* @type {
|
|
93
|
+
* @type {{ [key: string]: any; }}
|
|
95
94
|
* @memberof FileWithDownloadUrlUio
|
|
96
95
|
*/
|
|
97
|
-
formData?:
|
|
96
|
+
formData?: {
|
|
97
|
+
[key: string]: any;
|
|
98
|
+
};
|
|
98
99
|
/**
|
|
99
100
|
*
|
|
100
101
|
* @type {string}
|
|
@@ -132,6 +133,7 @@ export interface FileWithDownloadUrlUio {
|
|
|
132
133
|
export declare const FileWithDownloadUrlUioKnowledgeTypeEnum: {
|
|
133
134
|
readonly File: "file";
|
|
134
135
|
readonly Website: "website";
|
|
136
|
+
readonly Image: "image";
|
|
135
137
|
};
|
|
136
138
|
export type FileWithDownloadUrlUioKnowledgeTypeEnum = typeof FileWithDownloadUrlUioKnowledgeTypeEnum[keyof typeof FileWithDownloadUrlUioKnowledgeTypeEnum];
|
|
137
139
|
/**
|
|
@@ -19,14 +19,14 @@ exports.FileWithDownloadUrlUioFromJSON = FileWithDownloadUrlUioFromJSON;
|
|
|
19
19
|
exports.FileWithDownloadUrlUioFromJSONTyped = FileWithDownloadUrlUioFromJSONTyped;
|
|
20
20
|
exports.FileWithDownloadUrlUioToJSON = FileWithDownloadUrlUioToJSON;
|
|
21
21
|
exports.FileWithDownloadUrlUioToJSONTyped = FileWithDownloadUrlUioToJSONTyped;
|
|
22
|
-
const FileFormDataUio_1 = require("./FileFormDataUio");
|
|
23
22
|
const FileStatusUio_1 = require("./FileStatusUio");
|
|
24
23
|
/**
|
|
25
24
|
* @export
|
|
26
25
|
*/
|
|
27
26
|
exports.FileWithDownloadUrlUioKnowledgeTypeEnum = {
|
|
28
27
|
File: 'file',
|
|
29
|
-
Website: 'website'
|
|
28
|
+
Website: 'website',
|
|
29
|
+
Image: 'image'
|
|
30
30
|
};
|
|
31
31
|
/**
|
|
32
32
|
* Check if a given object implements the FileWithDownloadUrlUio interface.
|
|
@@ -58,7 +58,7 @@ function FileWithDownloadUrlUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
58
58
|
'key': json['key'] == null ? undefined : json['key'],
|
|
59
59
|
'size': json['size'] == null ? undefined : json['size'],
|
|
60
60
|
'postURL': json['postURL'] == null ? undefined : json['postURL'],
|
|
61
|
-
'formData': json['formData'] == null ? undefined :
|
|
61
|
+
'formData': json['formData'] == null ? undefined : json['formData'],
|
|
62
62
|
'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
|
|
63
63
|
'updatedAt': json['updatedAt'] == null ? undefined : json['updatedAt'],
|
|
64
64
|
'status': json['status'] == null ? undefined : (0, FileStatusUio_1.FileStatusUioFromJSON)(json['status']),
|
|
@@ -86,7 +86,7 @@ function FileWithDownloadUrlUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
86
86
|
'key': value['key'],
|
|
87
87
|
'size': value['size'],
|
|
88
88
|
'postURL': value['postURL'],
|
|
89
|
-
'formData':
|
|
89
|
+
'formData': value['formData'],
|
|
90
90
|
'createdAt': value['createdAt'],
|
|
91
91
|
'updatedAt': value['updatedAt'],
|
|
92
92
|
'status': (0, FileStatusUio_1.FileStatusUioToJSON)(value['status']),
|
|
@@ -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 FillerPhraseUio
|
|
16
|
+
*/
|
|
17
|
+
export interface FillerPhraseUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof FillerPhraseUio
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof FillerPhraseUio
|
|
28
|
+
*/
|
|
29
|
+
text: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the FillerPhraseUio interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfFillerPhraseUio(value: object): value is FillerPhraseUio;
|
|
35
|
+
export declare function FillerPhraseUioFromJSON(json: any): FillerPhraseUio;
|
|
36
|
+
export declare function FillerPhraseUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): FillerPhraseUio;
|
|
37
|
+
export declare function FillerPhraseUioToJSON(json: any): FillerPhraseUio;
|
|
38
|
+
export declare function FillerPhraseUioToJSONTyped(value?: FillerPhraseUio | 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.instanceOfFillerPhraseUio = instanceOfFillerPhraseUio;
|
|
17
|
+
exports.FillerPhraseUioFromJSON = FillerPhraseUioFromJSON;
|
|
18
|
+
exports.FillerPhraseUioFromJSONTyped = FillerPhraseUioFromJSONTyped;
|
|
19
|
+
exports.FillerPhraseUioToJSON = FillerPhraseUioToJSON;
|
|
20
|
+
exports.FillerPhraseUioToJSONTyped = FillerPhraseUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the FillerPhraseUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfFillerPhraseUio(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('text' in value) || value['text'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function FillerPhraseUioFromJSON(json) {
|
|
32
|
+
return FillerPhraseUioFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function FillerPhraseUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'id': json['id'],
|
|
40
|
+
'text': json['text'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function FillerPhraseUioToJSON(json) {
|
|
44
|
+
return FillerPhraseUioToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function FillerPhraseUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'id': value['id'],
|
|
52
|
+
'text': value['text'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
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 GetJwks200ResponseUio
|
|
16
|
+
*/
|
|
17
|
+
export interface GetJwks200ResponseUio {
|
|
18
|
+
/**
|
|
19
|
+
* Contient l'unique clé publique Ed25519 de signature, exportée au format JWK. `alg` vaut toujours `Ed25519`.
|
|
20
|
+
* @type {Array<{ [key: string]: any; }>}
|
|
21
|
+
* @memberof GetJwks200ResponseUio
|
|
22
|
+
*/
|
|
23
|
+
keys: Array<{
|
|
24
|
+
[key: string]: any;
|
|
25
|
+
}>;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Check if a given object implements the GetJwks200ResponseUio interface.
|
|
29
|
+
*/
|
|
30
|
+
export declare function instanceOfGetJwks200ResponseUio(value: object): value is GetJwks200ResponseUio;
|
|
31
|
+
export declare function GetJwks200ResponseUioFromJSON(json: any): GetJwks200ResponseUio;
|
|
32
|
+
export declare function GetJwks200ResponseUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetJwks200ResponseUio;
|
|
33
|
+
export declare function GetJwks200ResponseUioToJSON(json: any): GetJwks200ResponseUio;
|
|
34
|
+
export declare function GetJwks200ResponseUioToJSONTyped(value?: GetJwks200ResponseUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
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.instanceOfGetJwks200ResponseUio = instanceOfGetJwks200ResponseUio;
|
|
17
|
+
exports.GetJwks200ResponseUioFromJSON = GetJwks200ResponseUioFromJSON;
|
|
18
|
+
exports.GetJwks200ResponseUioFromJSONTyped = GetJwks200ResponseUioFromJSONTyped;
|
|
19
|
+
exports.GetJwks200ResponseUioToJSON = GetJwks200ResponseUioToJSON;
|
|
20
|
+
exports.GetJwks200ResponseUioToJSONTyped = GetJwks200ResponseUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the GetJwks200ResponseUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfGetJwks200ResponseUio(value) {
|
|
25
|
+
if (!('keys' in value) || value['keys'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function GetJwks200ResponseUioFromJSON(json) {
|
|
30
|
+
return GetJwks200ResponseUioFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function GetJwks200ResponseUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'keys': json['keys'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function GetJwks200ResponseUioToJSON(json) {
|
|
41
|
+
return GetJwks200ResponseUioToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function GetJwks200ResponseUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'keys': value['keys'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { FileStatusUio } from './FileStatusUio';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -20,19 +21,19 @@ export interface ImageKnowledgeUio {
|
|
|
20
21
|
* @type {string}
|
|
21
22
|
* @memberof ImageKnowledgeUio
|
|
22
23
|
*/
|
|
23
|
-
id
|
|
24
|
+
id: string;
|
|
24
25
|
/**
|
|
25
26
|
*
|
|
26
27
|
* @type {string}
|
|
27
28
|
* @memberof ImageKnowledgeUio
|
|
28
29
|
*/
|
|
29
|
-
knowledgeBaseId
|
|
30
|
+
knowledgeBaseId: string;
|
|
30
31
|
/**
|
|
31
32
|
*
|
|
32
33
|
* @type {string}
|
|
33
34
|
* @memberof ImageKnowledgeUio
|
|
34
35
|
*/
|
|
35
|
-
name
|
|
36
|
+
name: string;
|
|
36
37
|
/**
|
|
37
38
|
*
|
|
38
39
|
* @type {string}
|
|
@@ -56,13 +57,13 @@ export interface ImageKnowledgeUio {
|
|
|
56
57
|
* @type {string}
|
|
57
58
|
* @memberof ImageKnowledgeUio
|
|
58
59
|
*/
|
|
59
|
-
key
|
|
60
|
+
key: string;
|
|
60
61
|
/**
|
|
61
62
|
*
|
|
62
63
|
* @type {string}
|
|
63
64
|
* @memberof ImageKnowledgeUio
|
|
64
65
|
*/
|
|
65
|
-
createdAt
|
|
66
|
+
createdAt: string;
|
|
66
67
|
/**
|
|
67
68
|
*
|
|
68
69
|
* @type {string}
|
|
@@ -71,10 +72,16 @@ export interface ImageKnowledgeUio {
|
|
|
71
72
|
updatedAt?: string;
|
|
72
73
|
/**
|
|
73
74
|
*
|
|
75
|
+
* @type {FileStatusUio}
|
|
76
|
+
* @memberof ImageKnowledgeUio
|
|
77
|
+
*/
|
|
78
|
+
status: FileStatusUio;
|
|
79
|
+
/**
|
|
80
|
+
* URL publique de l'image. Toujours renseignée par le backend : soit stockée (MongoDB), soit dérivée de `key` à la lecture (PostgreSQL).
|
|
74
81
|
* @type {string}
|
|
75
82
|
* @memberof ImageKnowledgeUio
|
|
76
83
|
*/
|
|
77
|
-
url
|
|
84
|
+
url: string;
|
|
78
85
|
}
|
|
79
86
|
/**
|
|
80
87
|
* Check if a given object implements the ImageKnowledgeUio interface.
|
|
@@ -18,10 +18,25 @@ exports.ImageKnowledgeUioFromJSON = ImageKnowledgeUioFromJSON;
|
|
|
18
18
|
exports.ImageKnowledgeUioFromJSONTyped = ImageKnowledgeUioFromJSONTyped;
|
|
19
19
|
exports.ImageKnowledgeUioToJSON = ImageKnowledgeUioToJSON;
|
|
20
20
|
exports.ImageKnowledgeUioToJSONTyped = ImageKnowledgeUioToJSONTyped;
|
|
21
|
+
const FileStatusUio_1 = require("./FileStatusUio");
|
|
21
22
|
/**
|
|
22
23
|
* Check if a given object implements the ImageKnowledgeUio interface.
|
|
23
24
|
*/
|
|
24
25
|
function instanceOfImageKnowledgeUio(value) {
|
|
26
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('knowledgeBaseId' in value) || value['knowledgeBaseId'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('key' in value) || value['key'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('url' in value) || value['url'] === undefined)
|
|
39
|
+
return false;
|
|
25
40
|
return true;
|
|
26
41
|
}
|
|
27
42
|
function ImageKnowledgeUioFromJSON(json) {
|
|
@@ -32,16 +47,17 @@ function ImageKnowledgeUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
32
47
|
return json;
|
|
33
48
|
}
|
|
34
49
|
return {
|
|
35
|
-
'id': json['id']
|
|
36
|
-
'knowledgeBaseId': json['knowledgeBaseId']
|
|
37
|
-
'name': json['name']
|
|
50
|
+
'id': json['id'],
|
|
51
|
+
'knowledgeBaseId': json['knowledgeBaseId'],
|
|
52
|
+
'name': json['name'],
|
|
38
53
|
'contentType': json['contentType'] == null ? undefined : json['contentType'],
|
|
39
54
|
'ext': json['ext'] == null ? undefined : json['ext'],
|
|
40
55
|
'size': json['size'] == null ? undefined : json['size'],
|
|
41
|
-
'key': json['key']
|
|
42
|
-
'createdAt': json['createdAt']
|
|
56
|
+
'key': json['key'],
|
|
57
|
+
'createdAt': json['createdAt'],
|
|
43
58
|
'updatedAt': json['updatedAt'] == null ? undefined : json['updatedAt'],
|
|
44
|
-
'
|
|
59
|
+
'status': (0, FileStatusUio_1.FileStatusUioFromJSON)(json['status']),
|
|
60
|
+
'url': json['url'],
|
|
45
61
|
};
|
|
46
62
|
}
|
|
47
63
|
function ImageKnowledgeUioToJSON(json) {
|
|
@@ -61,6 +77,7 @@ function ImageKnowledgeUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
61
77
|
'key': value['key'],
|
|
62
78
|
'createdAt': value['createdAt'],
|
|
63
79
|
'updatedAt': value['updatedAt'],
|
|
80
|
+
'status': (0, FileStatusUio_1.FileStatusUioToJSON)(value['status']),
|
|
64
81
|
'url': value['url'],
|
|
65
82
|
};
|
|
66
83
|
}
|
|
@@ -16,6 +16,12 @@ import type { KnowledgeBaseConfigurationAuthenticationUio } from './KnowledgeBas
|
|
|
16
16
|
* @interface KnowledgeBaseConfigurationUio
|
|
17
17
|
*/
|
|
18
18
|
export interface KnowledgeBaseConfigurationUio {
|
|
19
|
+
/**
|
|
20
|
+
* Dérivé du module installé sur la knowledge base. Lecture seule : ce champ n'est pas accepté par le PUT.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof KnowledgeBaseConfigurationUio
|
|
23
|
+
*/
|
|
24
|
+
vectorStoreType?: KnowledgeBaseConfigurationUioVectorStoreTypeEnum;
|
|
19
25
|
/**
|
|
20
26
|
*
|
|
21
27
|
* @type {string}
|
|
@@ -137,6 +143,14 @@ export interface KnowledgeBaseConfigurationUio {
|
|
|
137
143
|
*/
|
|
138
144
|
embeddingDimensions?: number | null;
|
|
139
145
|
}
|
|
146
|
+
/**
|
|
147
|
+
* @export
|
|
148
|
+
*/
|
|
149
|
+
export declare const KnowledgeBaseConfigurationUioVectorStoreTypeEnum: {
|
|
150
|
+
readonly Weaviate: "weaviate";
|
|
151
|
+
readonly Qdrant: "qdrant";
|
|
152
|
+
};
|
|
153
|
+
export type KnowledgeBaseConfigurationUioVectorStoreTypeEnum = typeof KnowledgeBaseConfigurationUioVectorStoreTypeEnum[keyof typeof KnowledgeBaseConfigurationUioVectorStoreTypeEnum];
|
|
140
154
|
/**
|
|
141
155
|
* @export
|
|
142
156
|
*/
|
|
@@ -13,13 +13,20 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.KnowledgeBaseConfigurationUioFusionTypeEnum = exports.KnowledgeBaseConfigurationUioSchemeEnum = void 0;
|
|
16
|
+
exports.KnowledgeBaseConfigurationUioFusionTypeEnum = exports.KnowledgeBaseConfigurationUioSchemeEnum = exports.KnowledgeBaseConfigurationUioVectorStoreTypeEnum = void 0;
|
|
17
17
|
exports.instanceOfKnowledgeBaseConfigurationUio = instanceOfKnowledgeBaseConfigurationUio;
|
|
18
18
|
exports.KnowledgeBaseConfigurationUioFromJSON = KnowledgeBaseConfigurationUioFromJSON;
|
|
19
19
|
exports.KnowledgeBaseConfigurationUioFromJSONTyped = KnowledgeBaseConfigurationUioFromJSONTyped;
|
|
20
20
|
exports.KnowledgeBaseConfigurationUioToJSON = KnowledgeBaseConfigurationUioToJSON;
|
|
21
21
|
exports.KnowledgeBaseConfigurationUioToJSONTyped = KnowledgeBaseConfigurationUioToJSONTyped;
|
|
22
22
|
const KnowledgeBaseConfigurationAuthenticationUio_1 = require("./KnowledgeBaseConfigurationAuthenticationUio");
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.KnowledgeBaseConfigurationUioVectorStoreTypeEnum = {
|
|
27
|
+
Weaviate: 'weaviate',
|
|
28
|
+
Qdrant: 'qdrant'
|
|
29
|
+
};
|
|
23
30
|
/**
|
|
24
31
|
* @export
|
|
25
32
|
*/
|
|
@@ -48,6 +55,7 @@ function KnowledgeBaseConfigurationUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
48
55
|
return json;
|
|
49
56
|
}
|
|
50
57
|
return {
|
|
58
|
+
'vectorStoreType': json['vectorStoreType'] == null ? undefined : json['vectorStoreType'],
|
|
51
59
|
'host': json['host'] == null ? undefined : json['host'],
|
|
52
60
|
'scheme': json['scheme'] == null ? undefined : json['scheme'],
|
|
53
61
|
'authentication': json['authentication'] == null ? undefined : (0, KnowledgeBaseConfigurationAuthenticationUio_1.KnowledgeBaseConfigurationAuthenticationUioFromJSON)(json['authentication']),
|
|
@@ -78,6 +86,7 @@ function KnowledgeBaseConfigurationUioToJSONTyped(value, ignoreDiscriminator = f
|
|
|
78
86
|
return value;
|
|
79
87
|
}
|
|
80
88
|
return {
|
|
89
|
+
'vectorStoreType': value['vectorStoreType'],
|
|
81
90
|
'host': value['host'],
|
|
82
91
|
'scheme': value['scheme'],
|
|
83
92
|
'authentication': (0, KnowledgeBaseConfigurationAuthenticationUio_1.KnowledgeBaseConfigurationAuthenticationUioToJSON)(value['authentication']),
|
|
@@ -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 KnowledgeBaseConfigurationUpdateRequestAuthenticationOneOfUio
|
|
16
|
+
*/
|
|
17
|
+
export interface KnowledgeBaseConfigurationUpdateRequestAuthenticationOneOfUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof KnowledgeBaseConfigurationUpdateRequestAuthenticationOneOfUio
|
|
22
|
+
*/
|
|
23
|
+
type?: KnowledgeBaseConfigurationUpdateRequestAuthenticationOneOfUioTypeEnum;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof KnowledgeBaseConfigurationUpdateRequestAuthenticationOneOfUio
|
|
28
|
+
*/
|
|
29
|
+
apiKey?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
export declare const KnowledgeBaseConfigurationUpdateRequestAuthenticationOneOfUioTypeEnum: {
|
|
35
|
+
readonly ApiKey: "API_KEY";
|
|
36
|
+
};
|
|
37
|
+
export type KnowledgeBaseConfigurationUpdateRequestAuthenticationOneOfUioTypeEnum = typeof KnowledgeBaseConfigurationUpdateRequestAuthenticationOneOfUioTypeEnum[keyof typeof KnowledgeBaseConfigurationUpdateRequestAuthenticationOneOfUioTypeEnum];
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the KnowledgeBaseConfigurationUpdateRequestAuthenticationOneOfUio interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfKnowledgeBaseConfigurationUpdateRequestAuthenticationOneOfUio(value: object): value is KnowledgeBaseConfigurationUpdateRequestAuthenticationOneOfUio;
|
|
42
|
+
export declare function KnowledgeBaseConfigurationUpdateRequestAuthenticationOneOfUioFromJSON(json: any): KnowledgeBaseConfigurationUpdateRequestAuthenticationOneOfUio;
|
|
43
|
+
export declare function KnowledgeBaseConfigurationUpdateRequestAuthenticationOneOfUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): KnowledgeBaseConfigurationUpdateRequestAuthenticationOneOfUio;
|
|
44
|
+
export declare function KnowledgeBaseConfigurationUpdateRequestAuthenticationOneOfUioToJSON(json: any): KnowledgeBaseConfigurationUpdateRequestAuthenticationOneOfUio;
|
|
45
|
+
export declare function KnowledgeBaseConfigurationUpdateRequestAuthenticationOneOfUioToJSONTyped(value?: KnowledgeBaseConfigurationUpdateRequestAuthenticationOneOfUio | 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.KnowledgeBaseConfigurationUpdateRequestAuthenticationOneOfUioTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfKnowledgeBaseConfigurationUpdateRequestAuthenticationOneOfUio = instanceOfKnowledgeBaseConfigurationUpdateRequestAuthenticationOneOfUio;
|
|
18
|
+
exports.KnowledgeBaseConfigurationUpdateRequestAuthenticationOneOfUioFromJSON = KnowledgeBaseConfigurationUpdateRequestAuthenticationOneOfUioFromJSON;
|
|
19
|
+
exports.KnowledgeBaseConfigurationUpdateRequestAuthenticationOneOfUioFromJSONTyped = KnowledgeBaseConfigurationUpdateRequestAuthenticationOneOfUioFromJSONTyped;
|
|
20
|
+
exports.KnowledgeBaseConfigurationUpdateRequestAuthenticationOneOfUioToJSON = KnowledgeBaseConfigurationUpdateRequestAuthenticationOneOfUioToJSON;
|
|
21
|
+
exports.KnowledgeBaseConfigurationUpdateRequestAuthenticationOneOfUioToJSONTyped = KnowledgeBaseConfigurationUpdateRequestAuthenticationOneOfUioToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.KnowledgeBaseConfigurationUpdateRequestAuthenticationOneOfUioTypeEnum = {
|
|
26
|
+
ApiKey: 'API_KEY'
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Check if a given object implements the KnowledgeBaseConfigurationUpdateRequestAuthenticationOneOfUio interface.
|
|
30
|
+
*/
|
|
31
|
+
function instanceOfKnowledgeBaseConfigurationUpdateRequestAuthenticationOneOfUio(value) {
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
function KnowledgeBaseConfigurationUpdateRequestAuthenticationOneOfUioFromJSON(json) {
|
|
35
|
+
return KnowledgeBaseConfigurationUpdateRequestAuthenticationOneOfUioFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
function KnowledgeBaseConfigurationUpdateRequestAuthenticationOneOfUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
43
|
+
'apiKey': json['apiKey'] == null ? undefined : json['apiKey'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function KnowledgeBaseConfigurationUpdateRequestAuthenticationOneOfUioToJSON(json) {
|
|
47
|
+
return KnowledgeBaseConfigurationUpdateRequestAuthenticationOneOfUioToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function KnowledgeBaseConfigurationUpdateRequestAuthenticationOneOfUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'type': value['type'],
|
|
55
|
+
'apiKey': value['apiKey'],
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
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 { KnowledgeBaseConfigurationUpdateRequestAuthenticationOneOfUio } from './KnowledgeBaseConfigurationUpdateRequestAuthenticationOneOfUio';
|
|
13
|
+
/**
|
|
14
|
+
* @type KnowledgeBaseConfigurationUpdateRequestAuthenticationUio
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export type KnowledgeBaseConfigurationUpdateRequestAuthenticationUio = KnowledgeBaseConfigurationUpdateRequestAuthenticationOneOfUio | string;
|
|
19
|
+
export declare function KnowledgeBaseConfigurationUpdateRequestAuthenticationUioFromJSON(json: any): KnowledgeBaseConfigurationUpdateRequestAuthenticationUio;
|
|
20
|
+
export declare function KnowledgeBaseConfigurationUpdateRequestAuthenticationUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): KnowledgeBaseConfigurationUpdateRequestAuthenticationUio;
|
|
21
|
+
export declare function KnowledgeBaseConfigurationUpdateRequestAuthenticationUioToJSON(json: any): any;
|
|
22
|
+
export declare function KnowledgeBaseConfigurationUpdateRequestAuthenticationUioToJSONTyped(value?: KnowledgeBaseConfigurationUpdateRequestAuthenticationUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
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.KnowledgeBaseConfigurationUpdateRequestAuthenticationUioFromJSON = KnowledgeBaseConfigurationUpdateRequestAuthenticationUioFromJSON;
|
|
17
|
+
exports.KnowledgeBaseConfigurationUpdateRequestAuthenticationUioFromJSONTyped = KnowledgeBaseConfigurationUpdateRequestAuthenticationUioFromJSONTyped;
|
|
18
|
+
exports.KnowledgeBaseConfigurationUpdateRequestAuthenticationUioToJSON = KnowledgeBaseConfigurationUpdateRequestAuthenticationUioToJSON;
|
|
19
|
+
exports.KnowledgeBaseConfigurationUpdateRequestAuthenticationUioToJSONTyped = KnowledgeBaseConfigurationUpdateRequestAuthenticationUioToJSONTyped;
|
|
20
|
+
const KnowledgeBaseConfigurationUpdateRequestAuthenticationOneOfUio_1 = require("./KnowledgeBaseConfigurationUpdateRequestAuthenticationOneOfUio");
|
|
21
|
+
function KnowledgeBaseConfigurationUpdateRequestAuthenticationUioFromJSON(json) {
|
|
22
|
+
return KnowledgeBaseConfigurationUpdateRequestAuthenticationUioFromJSONTyped(json, false);
|
|
23
|
+
}
|
|
24
|
+
function KnowledgeBaseConfigurationUpdateRequestAuthenticationUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
+
if (json == null) {
|
|
26
|
+
return json;
|
|
27
|
+
}
|
|
28
|
+
if (typeof json !== 'object') {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
if ((0, KnowledgeBaseConfigurationUpdateRequestAuthenticationOneOfUio_1.instanceOfKnowledgeBaseConfigurationUpdateRequestAuthenticationOneOfUio)(json)) {
|
|
32
|
+
return (0, KnowledgeBaseConfigurationUpdateRequestAuthenticationOneOfUio_1.KnowledgeBaseConfigurationUpdateRequestAuthenticationOneOfUioFromJSONTyped)(json, true);
|
|
33
|
+
}
|
|
34
|
+
return {};
|
|
35
|
+
}
|
|
36
|
+
function KnowledgeBaseConfigurationUpdateRequestAuthenticationUioToJSON(json) {
|
|
37
|
+
return KnowledgeBaseConfigurationUpdateRequestAuthenticationUioToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function KnowledgeBaseConfigurationUpdateRequestAuthenticationUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
if (typeof value !== 'object') {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
if ((0, KnowledgeBaseConfigurationUpdateRequestAuthenticationOneOfUio_1.instanceOfKnowledgeBaseConfigurationUpdateRequestAuthenticationOneOfUio)(value)) {
|
|
47
|
+
return (0, KnowledgeBaseConfigurationUpdateRequestAuthenticationOneOfUio_1.KnowledgeBaseConfigurationUpdateRequestAuthenticationOneOfUioToJSON)(value);
|
|
48
|
+
}
|
|
49
|
+
return {};
|
|
50
|
+
}
|