@breign/client 1.0.109 → 1.0.111
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/AppApi.d.ts +92 -18
- package/dist/apis/AppApi.js +196 -32
- package/dist/apis/KnowledgeApi.d.ts +120 -8
- package/dist/apis/KnowledgeApi.js +268 -30
- package/dist/apis/PromptsApi.d.ts +3 -3
- package/dist/apis/PromptsApi.js +3 -2
- package/dist/apis/SkillsApi.d.ts +46 -1
- package/dist/apis/SkillsApi.js +109 -0
- package/dist/apis/ToolsApi.d.ts +42 -1
- package/dist/apis/ToolsApi.js +87 -0
- package/dist/models/AddCustomFiller201ResponseFillerUio.d.ts +50 -0
- package/dist/models/AddCustomFiller201ResponseFillerUio.js +62 -0
- package/dist/models/AddCustomFiller201ResponseUio.d.ts +39 -0
- package/dist/models/AddCustomFiller201ResponseUio.js +55 -0
- package/dist/models/AddCustomFillerRequestUio.d.ts +32 -0
- package/dist/models/AddCustomFillerRequestUio.js +50 -0
- package/dist/models/AgentPatchUio.d.ts +1 -1
- package/dist/models/AgentUio.d.ts +1 -1
- package/dist/models/FileCreationRequestUio.d.ts +6 -0
- package/dist/models/FileCreationRequestUio.js +2 -0
- package/dist/models/FileCreationResponseUio.d.ts +38 -0
- package/dist/models/FileCreationResponseUio.js +18 -0
- package/dist/models/FileUio.d.ts +38 -0
- package/dist/models/FileUio.js +18 -0
- package/dist/models/FileWithDownloadUrlUio.d.ts +38 -0
- package/dist/models/FileWithDownloadUrlUio.js +18 -0
- package/dist/models/KnowledgeSitePageUio.d.ts +129 -0
- package/dist/models/KnowledgeSitePageUio.js +101 -0
- package/dist/models/LibrarySkillEntryUio.d.ts +87 -0
- package/dist/models/LibrarySkillEntryUio.js +83 -0
- package/dist/models/LibrarySkillInstallRequestUio.d.ts +38 -0
- package/dist/models/LibrarySkillInstallRequestUio.js +52 -0
- package/dist/models/LibrarySkillSyncRequestUio.d.ts +32 -0
- package/dist/models/LibrarySkillSyncRequestUio.js +48 -0
- package/dist/models/LibrarySkillVersionFilesInnerUio.d.ts +38 -0
- package/dist/models/LibrarySkillVersionFilesInnerUio.js +54 -0
- package/dist/models/LibrarySkillVersionUio.d.ts +105 -0
- package/dist/models/LibrarySkillVersionUio.js +89 -0
- package/dist/models/LibrarySkillsPageUio.d.ts +63 -0
- package/dist/models/LibrarySkillsPageUio.js +71 -0
- package/dist/models/MessageStatusErrorUio.d.ts +38 -0
- package/dist/models/MessageStatusErrorUio.js +50 -0
- package/dist/models/MessageStatusToolCallUio.d.ts +38 -0
- package/dist/models/MessageStatusToolCallUio.js +54 -0
- package/dist/models/MessageStatusUio.d.ts +79 -0
- package/dist/models/MessageStatusUio.js +73 -0
- package/dist/models/PatchKnowledgeBaseRequestUio.d.ts +38 -0
- package/dist/models/PatchKnowledgeBaseRequestUio.js +54 -0
- package/dist/models/PatchKnowledgeFileRequestUio.d.ts +32 -0
- package/dist/models/PatchKnowledgeFileRequestUio.js +50 -0
- package/dist/models/SearchKnowledgeBase200ResponseInnerUio.d.ts +52 -0
- package/dist/models/SearchKnowledgeBase200ResponseInnerUio.js +60 -0
- package/dist/models/SearchKnowledgeBaseRequestUio.d.ts +38 -0
- package/dist/models/SearchKnowledgeBaseRequestUio.js +52 -0
- package/dist/models/SkillAssignRequestUio.js +2 -2
- package/dist/models/SkillUio.d.ts +12 -0
- package/dist/models/SkillUio.js +4 -0
- package/dist/models/SkillUpdateRequestUio.d.ts +12 -0
- package/dist/models/SkillUpdateRequestUio.js +4 -0
- package/dist/models/StartKnowledgeBaseScrappingRequestUio.d.ts +88 -0
- package/dist/models/StartKnowledgeBaseScrappingRequestUio.js +74 -0
- package/dist/models/UpdateSelectedFillers200ResponseUio.d.ts +39 -0
- package/dist/models/UpdateSelectedFillers200ResponseUio.js +55 -0
- package/dist/models/UpdateSelectedFillersRequestDataInnerUio.d.ts +38 -0
- package/dist/models/UpdateSelectedFillersRequestDataInnerUio.js +54 -0
- package/dist/models/UpdateSelectedFillersRequestUio.d.ts +33 -0
- package/dist/models/UpdateSelectedFillersRequestUio.js +51 -0
- package/dist/models/UpdateToolStaticCredentialsRequestUio.d.ts +38 -0
- package/dist/models/UpdateToolStaticCredentialsRequestUio.js +50 -0
- package/dist/models/UploadImageToKnowledgeBaseLibrary200ResponseUio.d.ts +41 -0
- package/dist/models/UploadImageToKnowledgeBaseLibrary200ResponseUio.js +55 -0
- package/dist/models/UploadImageToKnowledgeBaseLibraryRequestUio.d.ts +50 -0
- package/dist/models/UploadImageToKnowledgeBaseLibraryRequestUio.js +62 -0
- package/dist/models/index.d.ts +24 -1
- package/dist/models/index.js +24 -1
- package/dist/openapi.json +1711 -267
- package/package.json +1 -1
- package/dist/models/AudioFillerExistsResponseUio.d.ts +0 -32
- package/dist/models/AudioFillerExistsResponseUio.js +0 -50
|
@@ -0,0 +1,33 @@
|
|
|
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 { UpdateSelectedFillersRequestDataInnerUio } from './UpdateSelectedFillersRequestDataInnerUio';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface UpdateSelectedFillersRequestUio
|
|
17
|
+
*/
|
|
18
|
+
export interface UpdateSelectedFillersRequestUio {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<UpdateSelectedFillersRequestDataInnerUio>}
|
|
22
|
+
* @memberof UpdateSelectedFillersRequestUio
|
|
23
|
+
*/
|
|
24
|
+
data: Array<UpdateSelectedFillersRequestDataInnerUio>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the UpdateSelectedFillersRequestUio interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfUpdateSelectedFillersRequestUio(value: object): value is UpdateSelectedFillersRequestUio;
|
|
30
|
+
export declare function UpdateSelectedFillersRequestUioFromJSON(json: any): UpdateSelectedFillersRequestUio;
|
|
31
|
+
export declare function UpdateSelectedFillersRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateSelectedFillersRequestUio;
|
|
32
|
+
export declare function UpdateSelectedFillersRequestUioToJSON(json: any): UpdateSelectedFillersRequestUio;
|
|
33
|
+
export declare function UpdateSelectedFillersRequestUioToJSONTyped(value?: UpdateSelectedFillersRequestUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
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.instanceOfUpdateSelectedFillersRequestUio = instanceOfUpdateSelectedFillersRequestUio;
|
|
17
|
+
exports.UpdateSelectedFillersRequestUioFromJSON = UpdateSelectedFillersRequestUioFromJSON;
|
|
18
|
+
exports.UpdateSelectedFillersRequestUioFromJSONTyped = UpdateSelectedFillersRequestUioFromJSONTyped;
|
|
19
|
+
exports.UpdateSelectedFillersRequestUioToJSON = UpdateSelectedFillersRequestUioToJSON;
|
|
20
|
+
exports.UpdateSelectedFillersRequestUioToJSONTyped = UpdateSelectedFillersRequestUioToJSONTyped;
|
|
21
|
+
const UpdateSelectedFillersRequestDataInnerUio_1 = require("./UpdateSelectedFillersRequestDataInnerUio");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the UpdateSelectedFillersRequestUio interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfUpdateSelectedFillersRequestUio(value) {
|
|
26
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function UpdateSelectedFillersRequestUioFromJSON(json) {
|
|
31
|
+
return UpdateSelectedFillersRequestUioFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function UpdateSelectedFillersRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'data': (json['data'].map(UpdateSelectedFillersRequestDataInnerUio_1.UpdateSelectedFillersRequestDataInnerUioFromJSON)),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function UpdateSelectedFillersRequestUioToJSON(json) {
|
|
42
|
+
return UpdateSelectedFillersRequestUioToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function UpdateSelectedFillersRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'data': (value['data'].map(UpdateSelectedFillersRequestDataInnerUio_1.UpdateSelectedFillersRequestDataInnerUioToJSON)),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* brain-client
|
|
3
|
+
* Api ands models for brain-app and brain-app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface UpdateToolStaticCredentialsRequestUio
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateToolStaticCredentialsRequestUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UpdateToolStaticCredentialsRequestUio
|
|
22
|
+
*/
|
|
23
|
+
bearerToken?: string | null;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof UpdateToolStaticCredentialsRequestUio
|
|
28
|
+
*/
|
|
29
|
+
headerValue?: string | null;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the UpdateToolStaticCredentialsRequestUio interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfUpdateToolStaticCredentialsRequestUio(value: object): value is UpdateToolStaticCredentialsRequestUio;
|
|
35
|
+
export declare function UpdateToolStaticCredentialsRequestUioFromJSON(json: any): UpdateToolStaticCredentialsRequestUio;
|
|
36
|
+
export declare function UpdateToolStaticCredentialsRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateToolStaticCredentialsRequestUio;
|
|
37
|
+
export declare function UpdateToolStaticCredentialsRequestUioToJSON(json: any): UpdateToolStaticCredentialsRequestUio;
|
|
38
|
+
export declare function UpdateToolStaticCredentialsRequestUioToJSONTyped(value?: UpdateToolStaticCredentialsRequestUio | 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.instanceOfUpdateToolStaticCredentialsRequestUio = instanceOfUpdateToolStaticCredentialsRequestUio;
|
|
17
|
+
exports.UpdateToolStaticCredentialsRequestUioFromJSON = UpdateToolStaticCredentialsRequestUioFromJSON;
|
|
18
|
+
exports.UpdateToolStaticCredentialsRequestUioFromJSONTyped = UpdateToolStaticCredentialsRequestUioFromJSONTyped;
|
|
19
|
+
exports.UpdateToolStaticCredentialsRequestUioToJSON = UpdateToolStaticCredentialsRequestUioToJSON;
|
|
20
|
+
exports.UpdateToolStaticCredentialsRequestUioToJSONTyped = UpdateToolStaticCredentialsRequestUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the UpdateToolStaticCredentialsRequestUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfUpdateToolStaticCredentialsRequestUio(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function UpdateToolStaticCredentialsRequestUioFromJSON(json) {
|
|
28
|
+
return UpdateToolStaticCredentialsRequestUioFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function UpdateToolStaticCredentialsRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'bearerToken': json['bearerToken'] == null ? undefined : json['bearerToken'],
|
|
36
|
+
'headerValue': json['headerValue'] == null ? undefined : json['headerValue'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function UpdateToolStaticCredentialsRequestUioToJSON(json) {
|
|
40
|
+
return UpdateToolStaticCredentialsRequestUioToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function UpdateToolStaticCredentialsRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'bearerToken': value['bearerToken'],
|
|
48
|
+
'headerValue': value['headerValue'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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 { ImageKnowledgeUio } from './ImageKnowledgeUio';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface UploadImageToKnowledgeBaseLibrary200ResponseUio
|
|
17
|
+
*/
|
|
18
|
+
export interface UploadImageToKnowledgeBaseLibrary200ResponseUio {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {ImageKnowledgeUio}
|
|
22
|
+
* @memberof UploadImageToKnowledgeBaseLibrary200ResponseUio
|
|
23
|
+
*/
|
|
24
|
+
image: ImageKnowledgeUio;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {{ [key: string]: any; }}
|
|
28
|
+
* @memberof UploadImageToKnowledgeBaseLibrary200ResponseUio
|
|
29
|
+
*/
|
|
30
|
+
presigned: {
|
|
31
|
+
[key: string]: any;
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Check if a given object implements the UploadImageToKnowledgeBaseLibrary200ResponseUio interface.
|
|
36
|
+
*/
|
|
37
|
+
export declare function instanceOfUploadImageToKnowledgeBaseLibrary200ResponseUio(value: object): value is UploadImageToKnowledgeBaseLibrary200ResponseUio;
|
|
38
|
+
export declare function UploadImageToKnowledgeBaseLibrary200ResponseUioFromJSON(json: any): UploadImageToKnowledgeBaseLibrary200ResponseUio;
|
|
39
|
+
export declare function UploadImageToKnowledgeBaseLibrary200ResponseUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): UploadImageToKnowledgeBaseLibrary200ResponseUio;
|
|
40
|
+
export declare function UploadImageToKnowledgeBaseLibrary200ResponseUioToJSON(json: any): UploadImageToKnowledgeBaseLibrary200ResponseUio;
|
|
41
|
+
export declare function UploadImageToKnowledgeBaseLibrary200ResponseUioToJSONTyped(value?: UploadImageToKnowledgeBaseLibrary200ResponseUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
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.instanceOfUploadImageToKnowledgeBaseLibrary200ResponseUio = instanceOfUploadImageToKnowledgeBaseLibrary200ResponseUio;
|
|
17
|
+
exports.UploadImageToKnowledgeBaseLibrary200ResponseUioFromJSON = UploadImageToKnowledgeBaseLibrary200ResponseUioFromJSON;
|
|
18
|
+
exports.UploadImageToKnowledgeBaseLibrary200ResponseUioFromJSONTyped = UploadImageToKnowledgeBaseLibrary200ResponseUioFromJSONTyped;
|
|
19
|
+
exports.UploadImageToKnowledgeBaseLibrary200ResponseUioToJSON = UploadImageToKnowledgeBaseLibrary200ResponseUioToJSON;
|
|
20
|
+
exports.UploadImageToKnowledgeBaseLibrary200ResponseUioToJSONTyped = UploadImageToKnowledgeBaseLibrary200ResponseUioToJSONTyped;
|
|
21
|
+
const ImageKnowledgeUio_1 = require("./ImageKnowledgeUio");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the UploadImageToKnowledgeBaseLibrary200ResponseUio interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfUploadImageToKnowledgeBaseLibrary200ResponseUio(value) {
|
|
26
|
+
if (!('image' in value) || value['image'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('presigned' in value) || value['presigned'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
function UploadImageToKnowledgeBaseLibrary200ResponseUioFromJSON(json) {
|
|
33
|
+
return UploadImageToKnowledgeBaseLibrary200ResponseUioFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function UploadImageToKnowledgeBaseLibrary200ResponseUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'image': (0, ImageKnowledgeUio_1.ImageKnowledgeUioFromJSON)(json['image']),
|
|
41
|
+
'presigned': json['presigned'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function UploadImageToKnowledgeBaseLibrary200ResponseUioToJSON(json) {
|
|
45
|
+
return UploadImageToKnowledgeBaseLibrary200ResponseUioToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function UploadImageToKnowledgeBaseLibrary200ResponseUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'image': (0, ImageKnowledgeUio_1.ImageKnowledgeUioToJSON)(value['image']),
|
|
53
|
+
'presigned': value['presigned'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* brain-client
|
|
3
|
+
* Api ands models for brain-app and brain-app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface UploadImageToKnowledgeBaseLibraryRequestUio
|
|
16
|
+
*/
|
|
17
|
+
export interface UploadImageToKnowledgeBaseLibraryRequestUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UploadImageToKnowledgeBaseLibraryRequestUio
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
/**
|
|
25
|
+
* File size in bytes
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof UploadImageToKnowledgeBaseLibraryRequestUio
|
|
28
|
+
*/
|
|
29
|
+
size: number;
|
|
30
|
+
/**
|
|
31
|
+
* MIME type of the image file
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof UploadImageToKnowledgeBaseLibraryRequestUio
|
|
34
|
+
*/
|
|
35
|
+
contentType: string;
|
|
36
|
+
/**
|
|
37
|
+
* File extension
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof UploadImageToKnowledgeBaseLibraryRequestUio
|
|
40
|
+
*/
|
|
41
|
+
ext: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the UploadImageToKnowledgeBaseLibraryRequestUio interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfUploadImageToKnowledgeBaseLibraryRequestUio(value: object): value is UploadImageToKnowledgeBaseLibraryRequestUio;
|
|
47
|
+
export declare function UploadImageToKnowledgeBaseLibraryRequestUioFromJSON(json: any): UploadImageToKnowledgeBaseLibraryRequestUio;
|
|
48
|
+
export declare function UploadImageToKnowledgeBaseLibraryRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): UploadImageToKnowledgeBaseLibraryRequestUio;
|
|
49
|
+
export declare function UploadImageToKnowledgeBaseLibraryRequestUioToJSON(json: any): UploadImageToKnowledgeBaseLibraryRequestUio;
|
|
50
|
+
export declare function UploadImageToKnowledgeBaseLibraryRequestUioToJSONTyped(value?: UploadImageToKnowledgeBaseLibraryRequestUio | 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.instanceOfUploadImageToKnowledgeBaseLibraryRequestUio = instanceOfUploadImageToKnowledgeBaseLibraryRequestUio;
|
|
17
|
+
exports.UploadImageToKnowledgeBaseLibraryRequestUioFromJSON = UploadImageToKnowledgeBaseLibraryRequestUioFromJSON;
|
|
18
|
+
exports.UploadImageToKnowledgeBaseLibraryRequestUioFromJSONTyped = UploadImageToKnowledgeBaseLibraryRequestUioFromJSONTyped;
|
|
19
|
+
exports.UploadImageToKnowledgeBaseLibraryRequestUioToJSON = UploadImageToKnowledgeBaseLibraryRequestUioToJSON;
|
|
20
|
+
exports.UploadImageToKnowledgeBaseLibraryRequestUioToJSONTyped = UploadImageToKnowledgeBaseLibraryRequestUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the UploadImageToKnowledgeBaseLibraryRequestUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfUploadImageToKnowledgeBaseLibraryRequestUio(value) {
|
|
25
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('size' in value) || value['size'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('contentType' in value) || value['contentType'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('ext' in value) || value['ext'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
function UploadImageToKnowledgeBaseLibraryRequestUioFromJSON(json) {
|
|
36
|
+
return UploadImageToKnowledgeBaseLibraryRequestUioFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function UploadImageToKnowledgeBaseLibraryRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'name': json['name'],
|
|
44
|
+
'size': json['size'],
|
|
45
|
+
'contentType': json['contentType'],
|
|
46
|
+
'ext': json['ext'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function UploadImageToKnowledgeBaseLibraryRequestUioToJSON(json) {
|
|
50
|
+
return UploadImageToKnowledgeBaseLibraryRequestUioToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function UploadImageToKnowledgeBaseLibraryRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
53
|
+
if (value == null) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'name': value['name'],
|
|
58
|
+
'size': value['size'],
|
|
59
|
+
'contentType': value['contentType'],
|
|
60
|
+
'ext': value['ext'],
|
|
61
|
+
};
|
|
62
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -2,6 +2,9 @@ export * from './AccessRoleCreateRequestUio';
|
|
|
2
2
|
export * from './AccessRolePermissionsRequestUio';
|
|
3
3
|
export * from './AccessRoleUio';
|
|
4
4
|
export * from './AccessRoleUpdateRequestUio';
|
|
5
|
+
export * from './AddCustomFiller201ResponseFillerUio';
|
|
6
|
+
export * from './AddCustomFiller201ResponseUio';
|
|
7
|
+
export * from './AddCustomFillerRequestUio';
|
|
5
8
|
export * from './AdditionalUio';
|
|
6
9
|
export * from './AdvancedFlowEditorEdgeUio';
|
|
7
10
|
export * from './AdvancedFlowEditorNodePositionUio';
|
|
@@ -73,7 +76,6 @@ export * from './AudioFile1Uio';
|
|
|
73
76
|
export * from './AudioFileOrBufferUio';
|
|
74
77
|
export * from './AudioFileTypeUio';
|
|
75
78
|
export * from './AudioFileUio';
|
|
76
|
-
export * from './AudioFillerExistsResponseUio';
|
|
77
79
|
export * from './AuthCodeConfirmRequestUio';
|
|
78
80
|
export * from './AuthCodeConfirmResponseUio';
|
|
79
81
|
export * from './AuthCodeRequestUio';
|
|
@@ -190,10 +192,20 @@ export * from './KnowledgeFilePagePreviewUio';
|
|
|
190
192
|
export * from './KnowledgeFileSummaryKnowledgeBaseIdUio';
|
|
191
193
|
export * from './KnowledgeFileSummaryUio';
|
|
192
194
|
export * from './KnowledgeFilesByIdsRequestUio';
|
|
195
|
+
export * from './KnowledgeSitePageUio';
|
|
196
|
+
export * from './LibrarySkillEntryUio';
|
|
197
|
+
export * from './LibrarySkillInstallRequestUio';
|
|
198
|
+
export * from './LibrarySkillSyncRequestUio';
|
|
199
|
+
export * from './LibrarySkillVersionFilesInnerUio';
|
|
200
|
+
export * from './LibrarySkillVersionUio';
|
|
201
|
+
export * from './LibrarySkillsPageUio';
|
|
193
202
|
export * from './LipsyncUio';
|
|
194
203
|
export * from './ManifestCreateRequestUio';
|
|
195
204
|
export * from './ManifestUio';
|
|
196
205
|
export * from './MessageAudioDownloadUrlUio';
|
|
206
|
+
export * from './MessageStatusErrorUio';
|
|
207
|
+
export * from './MessageStatusToolCallUio';
|
|
208
|
+
export * from './MessageStatusUio';
|
|
197
209
|
export * from './MessageUio';
|
|
198
210
|
export * from './MetricForAgentAgentUio';
|
|
199
211
|
export * from './MetricForAgentIdentifierUio';
|
|
@@ -212,6 +224,8 @@ export * from './OrganizationUio';
|
|
|
212
224
|
export * from './OrganizationUserInviteRequestUio';
|
|
213
225
|
export * from './OrganizationUserInviteResponseUio';
|
|
214
226
|
export * from './OrganizationUserUio';
|
|
227
|
+
export * from './PatchKnowledgeBaseRequestUio';
|
|
228
|
+
export * from './PatchKnowledgeFileRequestUio';
|
|
215
229
|
export * from './PermissionEntryUio';
|
|
216
230
|
export * from './PersonaUio';
|
|
217
231
|
export * from './PinRequestUio';
|
|
@@ -244,6 +258,8 @@ export * from './ScheduledTaskRunUio';
|
|
|
244
258
|
export * from './ScheduledTaskStatusResponseUio';
|
|
245
259
|
export * from './ScheduledTaskStatusToggleUio';
|
|
246
260
|
export * from './ScheduledTaskUio';
|
|
261
|
+
export * from './SearchKnowledgeBase200ResponseInnerUio';
|
|
262
|
+
export * from './SearchKnowledgeBaseRequestUio';
|
|
247
263
|
export * from './SequenceContentsUio';
|
|
248
264
|
export * from './SequenceCreateRequestUio';
|
|
249
265
|
export * from './SequenceUio';
|
|
@@ -260,6 +276,7 @@ export * from './SkillFileUio';
|
|
|
260
276
|
export * from './SkillFileUpdateRequestUio';
|
|
261
277
|
export * from './SkillUio';
|
|
262
278
|
export * from './SkillUpdateRequestUio';
|
|
279
|
+
export * from './StartKnowledgeBaseScrappingRequestUio';
|
|
263
280
|
export * from './SubscriptionMetricUio';
|
|
264
281
|
export * from './SuggestionUio';
|
|
265
282
|
export * from './TTSRequestUio';
|
|
@@ -289,6 +306,12 @@ export * from './ToolUpdateRequestUio';
|
|
|
289
306
|
export * from './ToolUsedUio';
|
|
290
307
|
export * from './TransactionUio';
|
|
291
308
|
export * from './UpdateConversationTitleRequestUio';
|
|
309
|
+
export * from './UpdateSelectedFillers200ResponseUio';
|
|
310
|
+
export * from './UpdateSelectedFillersRequestDataInnerUio';
|
|
311
|
+
export * from './UpdateSelectedFillersRequestUio';
|
|
312
|
+
export * from './UpdateToolStaticCredentialsRequestUio';
|
|
313
|
+
export * from './UploadImageToKnowledgeBaseLibrary200ResponseUio';
|
|
314
|
+
export * from './UploadImageToKnowledgeBaseLibraryRequestUio';
|
|
292
315
|
export * from './UserAccessRolesRequestUio';
|
|
293
316
|
export * from './UserAccessUio';
|
|
294
317
|
export * from './UserAgentAccessAgentUio';
|
package/dist/models/index.js
CHANGED
|
@@ -20,6 +20,9 @@ __exportStar(require("./AccessRoleCreateRequestUio"), exports);
|
|
|
20
20
|
__exportStar(require("./AccessRolePermissionsRequestUio"), exports);
|
|
21
21
|
__exportStar(require("./AccessRoleUio"), exports);
|
|
22
22
|
__exportStar(require("./AccessRoleUpdateRequestUio"), exports);
|
|
23
|
+
__exportStar(require("./AddCustomFiller201ResponseFillerUio"), exports);
|
|
24
|
+
__exportStar(require("./AddCustomFiller201ResponseUio"), exports);
|
|
25
|
+
__exportStar(require("./AddCustomFillerRequestUio"), exports);
|
|
23
26
|
__exportStar(require("./AdditionalUio"), exports);
|
|
24
27
|
__exportStar(require("./AdvancedFlowEditorEdgeUio"), exports);
|
|
25
28
|
__exportStar(require("./AdvancedFlowEditorNodePositionUio"), exports);
|
|
@@ -91,7 +94,6 @@ __exportStar(require("./AudioFile1Uio"), exports);
|
|
|
91
94
|
__exportStar(require("./AudioFileOrBufferUio"), exports);
|
|
92
95
|
__exportStar(require("./AudioFileTypeUio"), exports);
|
|
93
96
|
__exportStar(require("./AudioFileUio"), exports);
|
|
94
|
-
__exportStar(require("./AudioFillerExistsResponseUio"), exports);
|
|
95
97
|
__exportStar(require("./AuthCodeConfirmRequestUio"), exports);
|
|
96
98
|
__exportStar(require("./AuthCodeConfirmResponseUio"), exports);
|
|
97
99
|
__exportStar(require("./AuthCodeRequestUio"), exports);
|
|
@@ -208,10 +210,20 @@ __exportStar(require("./KnowledgeFilePagePreviewUio"), exports);
|
|
|
208
210
|
__exportStar(require("./KnowledgeFileSummaryKnowledgeBaseIdUio"), exports);
|
|
209
211
|
__exportStar(require("./KnowledgeFileSummaryUio"), exports);
|
|
210
212
|
__exportStar(require("./KnowledgeFilesByIdsRequestUio"), exports);
|
|
213
|
+
__exportStar(require("./KnowledgeSitePageUio"), exports);
|
|
214
|
+
__exportStar(require("./LibrarySkillEntryUio"), exports);
|
|
215
|
+
__exportStar(require("./LibrarySkillInstallRequestUio"), exports);
|
|
216
|
+
__exportStar(require("./LibrarySkillSyncRequestUio"), exports);
|
|
217
|
+
__exportStar(require("./LibrarySkillVersionFilesInnerUio"), exports);
|
|
218
|
+
__exportStar(require("./LibrarySkillVersionUio"), exports);
|
|
219
|
+
__exportStar(require("./LibrarySkillsPageUio"), exports);
|
|
211
220
|
__exportStar(require("./LipsyncUio"), exports);
|
|
212
221
|
__exportStar(require("./ManifestCreateRequestUio"), exports);
|
|
213
222
|
__exportStar(require("./ManifestUio"), exports);
|
|
214
223
|
__exportStar(require("./MessageAudioDownloadUrlUio"), exports);
|
|
224
|
+
__exportStar(require("./MessageStatusErrorUio"), exports);
|
|
225
|
+
__exportStar(require("./MessageStatusToolCallUio"), exports);
|
|
226
|
+
__exportStar(require("./MessageStatusUio"), exports);
|
|
215
227
|
__exportStar(require("./MessageUio"), exports);
|
|
216
228
|
__exportStar(require("./MetricForAgentAgentUio"), exports);
|
|
217
229
|
__exportStar(require("./MetricForAgentIdentifierUio"), exports);
|
|
@@ -230,6 +242,8 @@ __exportStar(require("./OrganizationUio"), exports);
|
|
|
230
242
|
__exportStar(require("./OrganizationUserInviteRequestUio"), exports);
|
|
231
243
|
__exportStar(require("./OrganizationUserInviteResponseUio"), exports);
|
|
232
244
|
__exportStar(require("./OrganizationUserUio"), exports);
|
|
245
|
+
__exportStar(require("./PatchKnowledgeBaseRequestUio"), exports);
|
|
246
|
+
__exportStar(require("./PatchKnowledgeFileRequestUio"), exports);
|
|
233
247
|
__exportStar(require("./PermissionEntryUio"), exports);
|
|
234
248
|
__exportStar(require("./PersonaUio"), exports);
|
|
235
249
|
__exportStar(require("./PinRequestUio"), exports);
|
|
@@ -262,6 +276,8 @@ __exportStar(require("./ScheduledTaskRunUio"), exports);
|
|
|
262
276
|
__exportStar(require("./ScheduledTaskStatusResponseUio"), exports);
|
|
263
277
|
__exportStar(require("./ScheduledTaskStatusToggleUio"), exports);
|
|
264
278
|
__exportStar(require("./ScheduledTaskUio"), exports);
|
|
279
|
+
__exportStar(require("./SearchKnowledgeBase200ResponseInnerUio"), exports);
|
|
280
|
+
__exportStar(require("./SearchKnowledgeBaseRequestUio"), exports);
|
|
265
281
|
__exportStar(require("./SequenceContentsUio"), exports);
|
|
266
282
|
__exportStar(require("./SequenceCreateRequestUio"), exports);
|
|
267
283
|
__exportStar(require("./SequenceUio"), exports);
|
|
@@ -278,6 +294,7 @@ __exportStar(require("./SkillFileUio"), exports);
|
|
|
278
294
|
__exportStar(require("./SkillFileUpdateRequestUio"), exports);
|
|
279
295
|
__exportStar(require("./SkillUio"), exports);
|
|
280
296
|
__exportStar(require("./SkillUpdateRequestUio"), exports);
|
|
297
|
+
__exportStar(require("./StartKnowledgeBaseScrappingRequestUio"), exports);
|
|
281
298
|
__exportStar(require("./SubscriptionMetricUio"), exports);
|
|
282
299
|
__exportStar(require("./SuggestionUio"), exports);
|
|
283
300
|
__exportStar(require("./TTSRequestUio"), exports);
|
|
@@ -307,6 +324,12 @@ __exportStar(require("./ToolUpdateRequestUio"), exports);
|
|
|
307
324
|
__exportStar(require("./ToolUsedUio"), exports);
|
|
308
325
|
__exportStar(require("./TransactionUio"), exports);
|
|
309
326
|
__exportStar(require("./UpdateConversationTitleRequestUio"), exports);
|
|
327
|
+
__exportStar(require("./UpdateSelectedFillers200ResponseUio"), exports);
|
|
328
|
+
__exportStar(require("./UpdateSelectedFillersRequestDataInnerUio"), exports);
|
|
329
|
+
__exportStar(require("./UpdateSelectedFillersRequestUio"), exports);
|
|
330
|
+
__exportStar(require("./UpdateToolStaticCredentialsRequestUio"), exports);
|
|
331
|
+
__exportStar(require("./UploadImageToKnowledgeBaseLibrary200ResponseUio"), exports);
|
|
332
|
+
__exportStar(require("./UploadImageToKnowledgeBaseLibraryRequestUio"), exports);
|
|
310
333
|
__exportStar(require("./UserAccessRolesRequestUio"), exports);
|
|
311
334
|
__exportStar(require("./UserAccessUio"), exports);
|
|
312
335
|
__exportStar(require("./UserAgentAccessAgentUio"), exports);
|