@breign/client 1.0.124 → 1.0.126
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/AgentApi.d.ts +17 -12
- package/dist/apis/AgentApi.js +29 -14
- package/dist/apis/KnowledgeApi.d.ts +122 -168
- package/dist/apis/KnowledgeApi.js +232 -365
- package/dist/apis/MetricsApi.d.ts +15 -13
- package/dist/apis/MetricsApi.js +27 -21
- package/dist/apis/OrganizationsApi.d.ts +1 -26
- package/dist/apis/OrganizationsApi.js +0 -64
- package/dist/apis/SkillsApi.d.ts +14 -1
- package/dist/apis/SkillsApi.js +29 -0
- package/dist/models/AddModuleRequestUio.d.ts +60 -0
- package/dist/models/AddModuleRequestUio.js +68 -0
- package/dist/models/AgentPatchUio.d.ts +0 -30
- package/dist/models/AgentPatchUio.js +0 -10
- package/dist/models/AgentRefUio.d.ts +38 -0
- package/dist/models/AgentRefUio.js +54 -0
- package/dist/models/AgentRequestUio.d.ts +0 -59
- package/dist/models/AgentRequestUio.js +0 -22
- package/dist/models/AgentUio.d.ts +6 -44
- package/dist/models/AgentUio.js +2 -14
- 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/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/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/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/UploadedStatusUpdateRequestUio.d.ts +39 -0
- package/dist/models/UploadedStatusUpdateRequestUio.js +57 -0
- package/dist/models/index.d.ts +13 -12
- package/dist/models/index.js +13 -12
- package/dist/openapi.json +920 -969
- package/package.json +1 -1
- package/dist/models/AgentRequestProfilePictureUio.d.ts +0 -50
- package/dist/models/AgentRequestProfilePictureUio.js +0 -62
- package/dist/models/DocumentAddRequestUio.d.ts +0 -38
- package/dist/models/DocumentAddRequestUio.js +0 -52
- 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/ImportFileToAgentKnowledge200ResponseUio.d.ts +0 -56
- package/dist/models/ImportFileToAgentKnowledge200ResponseUio.js +0 -56
- 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/UserAgentAccessAgentUio.d.ts +0 -38
- package/dist/models/UserAgentAccessAgentUio.js +0 -54
- package/dist/models/UserAgentAccessRequestUio.d.ts +0 -38
- package/dist/models/UserAgentAccessRequestUio.js +0 -54
- package/dist/models/UserAgentAccessUio.d.ts +0 -45
- package/dist/models/UserAgentAccessUio.js +0 -59
|
@@ -0,0 +1,46 @@
|
|
|
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 CreateKnowledgeBaseResponseUio
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateKnowledgeBaseResponseUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateKnowledgeBaseResponseUio
|
|
22
|
+
*/
|
|
23
|
+
knowledgeBaseId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateKnowledgeBaseResponseUio
|
|
28
|
+
*/
|
|
29
|
+
vectorStoreType: CreateKnowledgeBaseResponseUioVectorStoreTypeEnum;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
export declare const CreateKnowledgeBaseResponseUioVectorStoreTypeEnum: {
|
|
35
|
+
readonly Weaviate: "weaviate";
|
|
36
|
+
readonly Qdrant: "qdrant";
|
|
37
|
+
};
|
|
38
|
+
export type CreateKnowledgeBaseResponseUioVectorStoreTypeEnum = typeof CreateKnowledgeBaseResponseUioVectorStoreTypeEnum[keyof typeof CreateKnowledgeBaseResponseUioVectorStoreTypeEnum];
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the CreateKnowledgeBaseResponseUio interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfCreateKnowledgeBaseResponseUio(value: object): value is CreateKnowledgeBaseResponseUio;
|
|
43
|
+
export declare function CreateKnowledgeBaseResponseUioFromJSON(json: any): CreateKnowledgeBaseResponseUio;
|
|
44
|
+
export declare function CreateKnowledgeBaseResponseUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateKnowledgeBaseResponseUio;
|
|
45
|
+
export declare function CreateKnowledgeBaseResponseUioToJSON(json: any): CreateKnowledgeBaseResponseUio;
|
|
46
|
+
export declare function CreateKnowledgeBaseResponseUioToJSONTyped(value?: CreateKnowledgeBaseResponseUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,62 @@
|
|
|
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.CreateKnowledgeBaseResponseUioVectorStoreTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfCreateKnowledgeBaseResponseUio = instanceOfCreateKnowledgeBaseResponseUio;
|
|
18
|
+
exports.CreateKnowledgeBaseResponseUioFromJSON = CreateKnowledgeBaseResponseUioFromJSON;
|
|
19
|
+
exports.CreateKnowledgeBaseResponseUioFromJSONTyped = CreateKnowledgeBaseResponseUioFromJSONTyped;
|
|
20
|
+
exports.CreateKnowledgeBaseResponseUioToJSON = CreateKnowledgeBaseResponseUioToJSON;
|
|
21
|
+
exports.CreateKnowledgeBaseResponseUioToJSONTyped = CreateKnowledgeBaseResponseUioToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.CreateKnowledgeBaseResponseUioVectorStoreTypeEnum = {
|
|
26
|
+
Weaviate: 'weaviate',
|
|
27
|
+
Qdrant: 'qdrant'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the CreateKnowledgeBaseResponseUio interface.
|
|
31
|
+
*/
|
|
32
|
+
function instanceOfCreateKnowledgeBaseResponseUio(value) {
|
|
33
|
+
if (!('knowledgeBaseId' in value) || value['knowledgeBaseId'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('vectorStoreType' in value) || value['vectorStoreType'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
function CreateKnowledgeBaseResponseUioFromJSON(json) {
|
|
40
|
+
return CreateKnowledgeBaseResponseUioFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function CreateKnowledgeBaseResponseUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'knowledgeBaseId': json['knowledgeBaseId'],
|
|
48
|
+
'vectorStoreType': json['vectorStoreType'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
function CreateKnowledgeBaseResponseUioToJSON(json) {
|
|
52
|
+
return CreateKnowledgeBaseResponseUioToJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
function CreateKnowledgeBaseResponseUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
55
|
+
if (value == null) {
|
|
56
|
+
return value;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
'knowledgeBaseId': value['knowledgeBaseId'],
|
|
60
|
+
'vectorStoreType': value['vectorStoreType'],
|
|
61
|
+
};
|
|
62
|
+
}
|
|
@@ -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 DeleteKnowledgeSitePage200ResponseUio
|
|
16
|
+
*/
|
|
17
|
+
export interface DeleteKnowledgeSitePage200ResponseUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof DeleteKnowledgeSitePage200ResponseUio
|
|
22
|
+
*/
|
|
23
|
+
message: string;
|
|
24
|
+
/**
|
|
25
|
+
* Présent et à `true` quand la connaissance entière a été supprimée
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof DeleteKnowledgeSitePage200ResponseUio
|
|
28
|
+
*/
|
|
29
|
+
lastPage?: boolean;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the DeleteKnowledgeSitePage200ResponseUio interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfDeleteKnowledgeSitePage200ResponseUio(value: object): value is DeleteKnowledgeSitePage200ResponseUio;
|
|
35
|
+
export declare function DeleteKnowledgeSitePage200ResponseUioFromJSON(json: any): DeleteKnowledgeSitePage200ResponseUio;
|
|
36
|
+
export declare function DeleteKnowledgeSitePage200ResponseUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): DeleteKnowledgeSitePage200ResponseUio;
|
|
37
|
+
export declare function DeleteKnowledgeSitePage200ResponseUioToJSON(json: any): DeleteKnowledgeSitePage200ResponseUio;
|
|
38
|
+
export declare function DeleteKnowledgeSitePage200ResponseUioToJSONTyped(value?: DeleteKnowledgeSitePage200ResponseUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* brain-client
|
|
6
|
+
* Api ands models for brain-app and brain-app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfDeleteKnowledgeSitePage200ResponseUio = instanceOfDeleteKnowledgeSitePage200ResponseUio;
|
|
17
|
+
exports.DeleteKnowledgeSitePage200ResponseUioFromJSON = DeleteKnowledgeSitePage200ResponseUioFromJSON;
|
|
18
|
+
exports.DeleteKnowledgeSitePage200ResponseUioFromJSONTyped = DeleteKnowledgeSitePage200ResponseUioFromJSONTyped;
|
|
19
|
+
exports.DeleteKnowledgeSitePage200ResponseUioToJSON = DeleteKnowledgeSitePage200ResponseUioToJSON;
|
|
20
|
+
exports.DeleteKnowledgeSitePage200ResponseUioToJSONTyped = DeleteKnowledgeSitePage200ResponseUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the DeleteKnowledgeSitePage200ResponseUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfDeleteKnowledgeSitePage200ResponseUio(value) {
|
|
25
|
+
if (!('message' in value) || value['message'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function DeleteKnowledgeSitePage200ResponseUioFromJSON(json) {
|
|
30
|
+
return DeleteKnowledgeSitePage200ResponseUioFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function DeleteKnowledgeSitePage200ResponseUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'message': json['message'],
|
|
38
|
+
'lastPage': json['lastPage'] == null ? undefined : json['lastPage'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function DeleteKnowledgeSitePage200ResponseUioToJSON(json) {
|
|
42
|
+
return DeleteKnowledgeSitePage200ResponseUioToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function DeleteKnowledgeSitePage200ResponseUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'message': value['message'],
|
|
50
|
+
'lastPage': value['lastPage'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -127,6 +127,7 @@ export interface FileCreationResponseUio {
|
|
|
127
127
|
export declare const FileCreationResponseUioKnowledgeTypeEnum: {
|
|
128
128
|
readonly File: "file";
|
|
129
129
|
readonly Website: "website";
|
|
130
|
+
readonly Image: "image";
|
|
130
131
|
};
|
|
131
132
|
export type FileCreationResponseUioKnowledgeTypeEnum = typeof FileCreationResponseUioKnowledgeTypeEnum[keyof typeof FileCreationResponseUioKnowledgeTypeEnum];
|
|
132
133
|
/**
|
|
@@ -25,7 +25,8 @@ const FileStatusUio_1 = require("./FileStatusUio");
|
|
|
25
25
|
*/
|
|
26
26
|
exports.FileCreationResponseUioKnowledgeTypeEnum = {
|
|
27
27
|
File: 'file',
|
|
28
|
-
Website: 'website'
|
|
28
|
+
Website: 'website',
|
|
29
|
+
Image: 'image'
|
|
29
30
|
};
|
|
30
31
|
/**
|
|
31
32
|
* Check if a given object implements the FileCreationResponseUio interface.
|
package/dist/models/FileUio.d.ts
CHANGED
|
@@ -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 FileUio {
|
|
|
91
90
|
postURL?: string;
|
|
92
91
|
/**
|
|
93
92
|
*
|
|
94
|
-
* @type {
|
|
93
|
+
* @type {{ [key: string]: any; }}
|
|
95
94
|
* @memberof FileUio
|
|
96
95
|
*/
|
|
97
|
-
formData?:
|
|
96
|
+
formData?: {
|
|
97
|
+
[key: string]: any;
|
|
98
|
+
};
|
|
98
99
|
/**
|
|
99
100
|
*
|
|
100
101
|
* @type {string}
|
|
@@ -126,6 +127,7 @@ export interface FileUio {
|
|
|
126
127
|
export declare const FileUioKnowledgeTypeEnum: {
|
|
127
128
|
readonly File: "file";
|
|
128
129
|
readonly Website: "website";
|
|
130
|
+
readonly Image: "image";
|
|
129
131
|
};
|
|
130
132
|
export type FileUioKnowledgeTypeEnum = typeof FileUioKnowledgeTypeEnum[keyof typeof FileUioKnowledgeTypeEnum];
|
|
131
133
|
/**
|
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']),
|
|
@@ -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
|
+
}
|