@breign/client 1.0.109 → 1.0.110
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/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/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/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 +18 -1
- package/dist/models/index.js +18 -1
- package/dist/openapi.json +1365 -282
- package/package.json +1 -1
- package/dist/models/AudioFillerExistsResponseUio.d.ts +0 -32
- package/dist/models/AudioFillerExistsResponseUio.js +0 -50
|
@@ -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.instanceOfUpdateSelectedFillers200ResponseUio = instanceOfUpdateSelectedFillers200ResponseUio;
|
|
17
|
+
exports.UpdateSelectedFillers200ResponseUioFromJSON = UpdateSelectedFillers200ResponseUioFromJSON;
|
|
18
|
+
exports.UpdateSelectedFillers200ResponseUioFromJSONTyped = UpdateSelectedFillers200ResponseUioFromJSONTyped;
|
|
19
|
+
exports.UpdateSelectedFillers200ResponseUioToJSON = UpdateSelectedFillers200ResponseUioToJSON;
|
|
20
|
+
exports.UpdateSelectedFillers200ResponseUioToJSONTyped = UpdateSelectedFillers200ResponseUioToJSONTyped;
|
|
21
|
+
const UpdateSelectedFillersRequestDataInnerUio_1 = require("./UpdateSelectedFillersRequestDataInnerUio");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the UpdateSelectedFillers200ResponseUio interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfUpdateSelectedFillers200ResponseUio(value) {
|
|
26
|
+
if (!('message' in value) || value['message'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('updated' in value) || value['updated'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
function UpdateSelectedFillers200ResponseUioFromJSON(json) {
|
|
33
|
+
return UpdateSelectedFillers200ResponseUioFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function UpdateSelectedFillers200ResponseUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'message': json['message'],
|
|
41
|
+
'updated': (json['updated'].map(UpdateSelectedFillersRequestDataInnerUio_1.UpdateSelectedFillersRequestDataInnerUioFromJSON)),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function UpdateSelectedFillers200ResponseUioToJSON(json) {
|
|
45
|
+
return UpdateSelectedFillers200ResponseUioToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function UpdateSelectedFillers200ResponseUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'message': value['message'],
|
|
53
|
+
'updated': (value['updated'].map(UpdateSelectedFillersRequestDataInnerUio_1.UpdateSelectedFillersRequestDataInnerUioToJSON)),
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -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 UpdateSelectedFillersRequestDataInnerUio
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateSelectedFillersRequestDataInnerUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UpdateSelectedFillersRequestDataInnerUio
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof UpdateSelectedFillersRequestDataInnerUio
|
|
28
|
+
*/
|
|
29
|
+
checked: boolean;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the UpdateSelectedFillersRequestDataInnerUio interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfUpdateSelectedFillersRequestDataInnerUio(value: object): value is UpdateSelectedFillersRequestDataInnerUio;
|
|
35
|
+
export declare function UpdateSelectedFillersRequestDataInnerUioFromJSON(json: any): UpdateSelectedFillersRequestDataInnerUio;
|
|
36
|
+
export declare function UpdateSelectedFillersRequestDataInnerUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateSelectedFillersRequestDataInnerUio;
|
|
37
|
+
export declare function UpdateSelectedFillersRequestDataInnerUioToJSON(json: any): UpdateSelectedFillersRequestDataInnerUio;
|
|
38
|
+
export declare function UpdateSelectedFillersRequestDataInnerUioToJSONTyped(value?: UpdateSelectedFillersRequestDataInnerUio | 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.instanceOfUpdateSelectedFillersRequestDataInnerUio = instanceOfUpdateSelectedFillersRequestDataInnerUio;
|
|
17
|
+
exports.UpdateSelectedFillersRequestDataInnerUioFromJSON = UpdateSelectedFillersRequestDataInnerUioFromJSON;
|
|
18
|
+
exports.UpdateSelectedFillersRequestDataInnerUioFromJSONTyped = UpdateSelectedFillersRequestDataInnerUioFromJSONTyped;
|
|
19
|
+
exports.UpdateSelectedFillersRequestDataInnerUioToJSON = UpdateSelectedFillersRequestDataInnerUioToJSON;
|
|
20
|
+
exports.UpdateSelectedFillersRequestDataInnerUioToJSONTyped = UpdateSelectedFillersRequestDataInnerUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the UpdateSelectedFillersRequestDataInnerUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfUpdateSelectedFillersRequestDataInnerUio(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('checked' in value) || value['checked'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function UpdateSelectedFillersRequestDataInnerUioFromJSON(json) {
|
|
32
|
+
return UpdateSelectedFillersRequestDataInnerUioFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function UpdateSelectedFillersRequestDataInnerUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'id': json['id'],
|
|
40
|
+
'checked': json['checked'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function UpdateSelectedFillersRequestDataInnerUioToJSON(json) {
|
|
44
|
+
return UpdateSelectedFillersRequestDataInnerUioToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function UpdateSelectedFillersRequestDataInnerUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'id': value['id'],
|
|
52
|
+
'checked': value['checked'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -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,14 @@ export * from './KnowledgeFilePagePreviewUio';
|
|
|
190
192
|
export * from './KnowledgeFileSummaryKnowledgeBaseIdUio';
|
|
191
193
|
export * from './KnowledgeFileSummaryUio';
|
|
192
194
|
export * from './KnowledgeFilesByIdsRequestUio';
|
|
195
|
+
export * from './KnowledgeSitePageUio';
|
|
193
196
|
export * from './LipsyncUio';
|
|
194
197
|
export * from './ManifestCreateRequestUio';
|
|
195
198
|
export * from './ManifestUio';
|
|
196
199
|
export * from './MessageAudioDownloadUrlUio';
|
|
200
|
+
export * from './MessageStatusErrorUio';
|
|
201
|
+
export * from './MessageStatusToolCallUio';
|
|
202
|
+
export * from './MessageStatusUio';
|
|
197
203
|
export * from './MessageUio';
|
|
198
204
|
export * from './MetricForAgentAgentUio';
|
|
199
205
|
export * from './MetricForAgentIdentifierUio';
|
|
@@ -212,6 +218,8 @@ export * from './OrganizationUio';
|
|
|
212
218
|
export * from './OrganizationUserInviteRequestUio';
|
|
213
219
|
export * from './OrganizationUserInviteResponseUio';
|
|
214
220
|
export * from './OrganizationUserUio';
|
|
221
|
+
export * from './PatchKnowledgeBaseRequestUio';
|
|
222
|
+
export * from './PatchKnowledgeFileRequestUio';
|
|
215
223
|
export * from './PermissionEntryUio';
|
|
216
224
|
export * from './PersonaUio';
|
|
217
225
|
export * from './PinRequestUio';
|
|
@@ -244,6 +252,8 @@ export * from './ScheduledTaskRunUio';
|
|
|
244
252
|
export * from './ScheduledTaskStatusResponseUio';
|
|
245
253
|
export * from './ScheduledTaskStatusToggleUio';
|
|
246
254
|
export * from './ScheduledTaskUio';
|
|
255
|
+
export * from './SearchKnowledgeBase200ResponseInnerUio';
|
|
256
|
+
export * from './SearchKnowledgeBaseRequestUio';
|
|
247
257
|
export * from './SequenceContentsUio';
|
|
248
258
|
export * from './SequenceCreateRequestUio';
|
|
249
259
|
export * from './SequenceUio';
|
|
@@ -260,6 +270,7 @@ export * from './SkillFileUio';
|
|
|
260
270
|
export * from './SkillFileUpdateRequestUio';
|
|
261
271
|
export * from './SkillUio';
|
|
262
272
|
export * from './SkillUpdateRequestUio';
|
|
273
|
+
export * from './StartKnowledgeBaseScrappingRequestUio';
|
|
263
274
|
export * from './SubscriptionMetricUio';
|
|
264
275
|
export * from './SuggestionUio';
|
|
265
276
|
export * from './TTSRequestUio';
|
|
@@ -289,6 +300,12 @@ export * from './ToolUpdateRequestUio';
|
|
|
289
300
|
export * from './ToolUsedUio';
|
|
290
301
|
export * from './TransactionUio';
|
|
291
302
|
export * from './UpdateConversationTitleRequestUio';
|
|
303
|
+
export * from './UpdateSelectedFillers200ResponseUio';
|
|
304
|
+
export * from './UpdateSelectedFillersRequestDataInnerUio';
|
|
305
|
+
export * from './UpdateSelectedFillersRequestUio';
|
|
306
|
+
export * from './UpdateToolStaticCredentialsRequestUio';
|
|
307
|
+
export * from './UploadImageToKnowledgeBaseLibrary200ResponseUio';
|
|
308
|
+
export * from './UploadImageToKnowledgeBaseLibraryRequestUio';
|
|
292
309
|
export * from './UserAccessRolesRequestUio';
|
|
293
310
|
export * from './UserAccessUio';
|
|
294
311
|
export * from './UserAgentAccessAgentUio';
|