@breign/client 1.0.105 → 1.0.107
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 +10 -1
- package/dist/apis/AgentApi.js +13 -3
- package/dist/apis/AppApi.d.ts +10 -1
- package/dist/apis/AppApi.js +13 -3
- package/dist/apis/ConversationsApi.d.ts +10 -1
- package/dist/apis/ConversationsApi.js +13 -3
- package/dist/apis/PromptsApi.d.ts +16 -1
- package/dist/apis/PromptsApi.js +37 -0
- package/dist/models/AuthCodeConfirmRequestUio.d.ts +4 -4
- package/dist/models/AuthCodeConfirmRequestUio.js +4 -6
- package/dist/models/AuthCodeRequestUio.d.ts +13 -6
- package/dist/models/AuthCodeRequestUio.js +13 -6
- package/dist/models/AuthCodeRequestUserUio.d.ts +32 -0
- package/dist/models/AuthCodeRequestUserUio.js +50 -0
- package/dist/models/ChatMessageUio.d.ts +14 -0
- package/dist/models/ChatMessageUio.js +10 -0
- package/dist/models/OrganizationMemberUio.d.ts +3 -3
- package/dist/models/OrganizationMemberUio.js +3 -3
- package/dist/models/SetMessageReaction200ResponseUio.d.ts +46 -0
- package/dist/models/SetMessageReaction200ResponseUio.js +62 -0
- package/dist/models/SetMessageReactionRequestUio.d.ts +40 -0
- package/dist/models/SetMessageReactionRequestUio.js +58 -0
- package/dist/models/UserUio.d.ts +3 -3
- package/dist/models/UserUio.js +3 -3
- package/dist/models/index.d.ts +3 -2
- package/dist/models/index.js +3 -2
- package/dist/openapi.json +178 -59
- package/package.json +1 -1
- package/dist/models/AuthTypeUio.d.ts +0 -24
- package/dist/models/AuthTypeUio.js +0 -50
- package/dist/models/OrganizationMemberUserUio.d.ts +0 -32
- package/dist/models/OrganizationMemberUserUio.js +0 -50
|
@@ -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 SetMessageReaction200ResponseUio
|
|
16
|
+
*/
|
|
17
|
+
export interface SetMessageReaction200ResponseUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SetMessageReaction200ResponseUio
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SetMessageReaction200ResponseUio
|
|
28
|
+
*/
|
|
29
|
+
reaction: SetMessageReaction200ResponseUioReactionEnum | null;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
export declare const SetMessageReaction200ResponseUioReactionEnum: {
|
|
35
|
+
readonly Positive: "positive";
|
|
36
|
+
readonly Negative: "negative";
|
|
37
|
+
};
|
|
38
|
+
export type SetMessageReaction200ResponseUioReactionEnum = typeof SetMessageReaction200ResponseUioReactionEnum[keyof typeof SetMessageReaction200ResponseUioReactionEnum];
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the SetMessageReaction200ResponseUio interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfSetMessageReaction200ResponseUio(value: object): value is SetMessageReaction200ResponseUio;
|
|
43
|
+
export declare function SetMessageReaction200ResponseUioFromJSON(json: any): SetMessageReaction200ResponseUio;
|
|
44
|
+
export declare function SetMessageReaction200ResponseUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): SetMessageReaction200ResponseUio;
|
|
45
|
+
export declare function SetMessageReaction200ResponseUioToJSON(json: any): SetMessageReaction200ResponseUio;
|
|
46
|
+
export declare function SetMessageReaction200ResponseUioToJSONTyped(value?: SetMessageReaction200ResponseUio | 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.SetMessageReaction200ResponseUioReactionEnum = void 0;
|
|
17
|
+
exports.instanceOfSetMessageReaction200ResponseUio = instanceOfSetMessageReaction200ResponseUio;
|
|
18
|
+
exports.SetMessageReaction200ResponseUioFromJSON = SetMessageReaction200ResponseUioFromJSON;
|
|
19
|
+
exports.SetMessageReaction200ResponseUioFromJSONTyped = SetMessageReaction200ResponseUioFromJSONTyped;
|
|
20
|
+
exports.SetMessageReaction200ResponseUioToJSON = SetMessageReaction200ResponseUioToJSON;
|
|
21
|
+
exports.SetMessageReaction200ResponseUioToJSONTyped = SetMessageReaction200ResponseUioToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.SetMessageReaction200ResponseUioReactionEnum = {
|
|
26
|
+
Positive: 'positive',
|
|
27
|
+
Negative: 'negative'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the SetMessageReaction200ResponseUio interface.
|
|
31
|
+
*/
|
|
32
|
+
function instanceOfSetMessageReaction200ResponseUio(value) {
|
|
33
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('reaction' in value) || value['reaction'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
function SetMessageReaction200ResponseUioFromJSON(json) {
|
|
40
|
+
return SetMessageReaction200ResponseUioFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function SetMessageReaction200ResponseUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'id': json['id'],
|
|
48
|
+
'reaction': json['reaction'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
function SetMessageReaction200ResponseUioToJSON(json) {
|
|
52
|
+
return SetMessageReaction200ResponseUioToJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
function SetMessageReaction200ResponseUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
55
|
+
if (value == null) {
|
|
56
|
+
return value;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
'id': value['id'],
|
|
60
|
+
'reaction': value['reaction'],
|
|
61
|
+
};
|
|
62
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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 SetMessageReactionRequestUio
|
|
16
|
+
*/
|
|
17
|
+
export interface SetMessageReactionRequestUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SetMessageReactionRequestUio
|
|
22
|
+
*/
|
|
23
|
+
reaction: SetMessageReactionRequestUioReactionEnum | null;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* @export
|
|
27
|
+
*/
|
|
28
|
+
export declare const SetMessageReactionRequestUioReactionEnum: {
|
|
29
|
+
readonly Positive: "positive";
|
|
30
|
+
readonly Negative: "negative";
|
|
31
|
+
};
|
|
32
|
+
export type SetMessageReactionRequestUioReactionEnum = typeof SetMessageReactionRequestUioReactionEnum[keyof typeof SetMessageReactionRequestUioReactionEnum];
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the SetMessageReactionRequestUio interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfSetMessageReactionRequestUio(value: object): value is SetMessageReactionRequestUio;
|
|
37
|
+
export declare function SetMessageReactionRequestUioFromJSON(json: any): SetMessageReactionRequestUio;
|
|
38
|
+
export declare function SetMessageReactionRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): SetMessageReactionRequestUio;
|
|
39
|
+
export declare function SetMessageReactionRequestUioToJSON(json: any): SetMessageReactionRequestUio;
|
|
40
|
+
export declare function SetMessageReactionRequestUioToJSONTyped(value?: SetMessageReactionRequestUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,58 @@
|
|
|
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.SetMessageReactionRequestUioReactionEnum = void 0;
|
|
17
|
+
exports.instanceOfSetMessageReactionRequestUio = instanceOfSetMessageReactionRequestUio;
|
|
18
|
+
exports.SetMessageReactionRequestUioFromJSON = SetMessageReactionRequestUioFromJSON;
|
|
19
|
+
exports.SetMessageReactionRequestUioFromJSONTyped = SetMessageReactionRequestUioFromJSONTyped;
|
|
20
|
+
exports.SetMessageReactionRequestUioToJSON = SetMessageReactionRequestUioToJSON;
|
|
21
|
+
exports.SetMessageReactionRequestUioToJSONTyped = SetMessageReactionRequestUioToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.SetMessageReactionRequestUioReactionEnum = {
|
|
26
|
+
Positive: 'positive',
|
|
27
|
+
Negative: 'negative'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the SetMessageReactionRequestUio interface.
|
|
31
|
+
*/
|
|
32
|
+
function instanceOfSetMessageReactionRequestUio(value) {
|
|
33
|
+
if (!('reaction' in value) || value['reaction'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
function SetMessageReactionRequestUioFromJSON(json) {
|
|
38
|
+
return SetMessageReactionRequestUioFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
function SetMessageReactionRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
+
if (json == null) {
|
|
42
|
+
return json;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'reaction': json['reaction'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
function SetMessageReactionRequestUioToJSON(json) {
|
|
49
|
+
return SetMessageReactionRequestUioToJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
function SetMessageReactionRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
52
|
+
if (value == null) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'reaction': value['reaction'],
|
|
57
|
+
};
|
|
58
|
+
}
|
package/dist/models/UserUio.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
12
|
+
import type { AuthCodeRequestUserUio } from './AuthCodeRequestUserUio';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -30,10 +30,10 @@ export interface UserUio {
|
|
|
30
30
|
isAdmin?: boolean;
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
33
|
-
* @type {
|
|
33
|
+
* @type {AuthCodeRequestUserUio}
|
|
34
34
|
* @memberof UserUio
|
|
35
35
|
*/
|
|
36
|
-
user?:
|
|
36
|
+
user?: AuthCodeRequestUserUio;
|
|
37
37
|
/**
|
|
38
38
|
*
|
|
39
39
|
* @type {string}
|
package/dist/models/UserUio.js
CHANGED
|
@@ -18,7 +18,7 @@ exports.UserUioFromJSON = UserUioFromJSON;
|
|
|
18
18
|
exports.UserUioFromJSONTyped = UserUioFromJSONTyped;
|
|
19
19
|
exports.UserUioToJSON = UserUioToJSON;
|
|
20
20
|
exports.UserUioToJSONTyped = UserUioToJSONTyped;
|
|
21
|
-
const
|
|
21
|
+
const AuthCodeRequestUserUio_1 = require("./AuthCodeRequestUserUio");
|
|
22
22
|
/**
|
|
23
23
|
* Check if a given object implements the UserUio interface.
|
|
24
24
|
*/
|
|
@@ -35,7 +35,7 @@ function UserUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
35
|
return {
|
|
36
36
|
'id': json['id'] == null ? undefined : json['id'],
|
|
37
37
|
'isAdmin': json['isAdmin'] == null ? undefined : json['isAdmin'],
|
|
38
|
-
'user': json['user'] == null ? undefined : (0,
|
|
38
|
+
'user': json['user'] == null ? undefined : (0, AuthCodeRequestUserUio_1.AuthCodeRequestUserUioFromJSON)(json['user']),
|
|
39
39
|
'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
|
|
40
40
|
'brains': json['brains'] == null ? undefined : json['brains'],
|
|
41
41
|
'canCreateAgents': json['canCreateAgents'] == null ? undefined : json['canCreateAgents'],
|
|
@@ -55,7 +55,7 @@ function UserUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
55
55
|
return {
|
|
56
56
|
'id': value['id'],
|
|
57
57
|
'isAdmin': value['isAdmin'],
|
|
58
|
-
'user': (0,
|
|
58
|
+
'user': (0, AuthCodeRequestUserUio_1.AuthCodeRequestUserUioToJSON)(value['user']),
|
|
59
59
|
'createdAt': value['createdAt'],
|
|
60
60
|
'brains': value['brains'],
|
|
61
61
|
'canCreateAgents': value['canCreateAgents'],
|
package/dist/models/index.d.ts
CHANGED
|
@@ -77,8 +77,8 @@ export * from './AudioFillerExistsResponseUio';
|
|
|
77
77
|
export * from './AuthCodeConfirmRequestUio';
|
|
78
78
|
export * from './AuthCodeConfirmResponseUio';
|
|
79
79
|
export * from './AuthCodeRequestUio';
|
|
80
|
+
export * from './AuthCodeRequestUserUio';
|
|
80
81
|
export * from './AuthCodeResponseUio';
|
|
81
|
-
export * from './AuthTypeUio';
|
|
82
82
|
export * from './BodyWithIdUio';
|
|
83
83
|
export * from './BodyWithMessageUio';
|
|
84
84
|
export * from './ChatContextAttachmentUio';
|
|
@@ -203,7 +203,6 @@ export * from './ModelDefinitionUio';
|
|
|
203
203
|
export * from './ModelUio';
|
|
204
204
|
export * from './OrganizationEngineUio';
|
|
205
205
|
export * from './OrganizationMemberUio';
|
|
206
|
-
export * from './OrganizationMemberUserUio';
|
|
207
206
|
export * from './OrganizationPermissionKeyUio';
|
|
208
207
|
export * from './OrganizationUio';
|
|
209
208
|
export * from './OrganizationUserInviteRequestUio';
|
|
@@ -244,6 +243,8 @@ export * from './ScheduledTaskUio';
|
|
|
244
243
|
export * from './SequenceContentsUio';
|
|
245
244
|
export * from './SequenceCreateRequestUio';
|
|
246
245
|
export * from './SequenceUio';
|
|
246
|
+
export * from './SetMessageReaction200ResponseUio';
|
|
247
|
+
export * from './SetMessageReactionRequestUio';
|
|
247
248
|
export * from './SetTokenRequestUio';
|
|
248
249
|
export * from './SetupToolRequestUio';
|
|
249
250
|
export * from './SimpleAgentUio';
|
package/dist/models/index.js
CHANGED
|
@@ -95,8 +95,8 @@ __exportStar(require("./AudioFillerExistsResponseUio"), exports);
|
|
|
95
95
|
__exportStar(require("./AuthCodeConfirmRequestUio"), exports);
|
|
96
96
|
__exportStar(require("./AuthCodeConfirmResponseUio"), exports);
|
|
97
97
|
__exportStar(require("./AuthCodeRequestUio"), exports);
|
|
98
|
+
__exportStar(require("./AuthCodeRequestUserUio"), exports);
|
|
98
99
|
__exportStar(require("./AuthCodeResponseUio"), exports);
|
|
99
|
-
__exportStar(require("./AuthTypeUio"), exports);
|
|
100
100
|
__exportStar(require("./BodyWithIdUio"), exports);
|
|
101
101
|
__exportStar(require("./BodyWithMessageUio"), exports);
|
|
102
102
|
__exportStar(require("./ChatContextAttachmentUio"), exports);
|
|
@@ -221,7 +221,6 @@ __exportStar(require("./ModelDefinitionUio"), exports);
|
|
|
221
221
|
__exportStar(require("./ModelUio"), exports);
|
|
222
222
|
__exportStar(require("./OrganizationEngineUio"), exports);
|
|
223
223
|
__exportStar(require("./OrganizationMemberUio"), exports);
|
|
224
|
-
__exportStar(require("./OrganizationMemberUserUio"), exports);
|
|
225
224
|
__exportStar(require("./OrganizationPermissionKeyUio"), exports);
|
|
226
225
|
__exportStar(require("./OrganizationUio"), exports);
|
|
227
226
|
__exportStar(require("./OrganizationUserInviteRequestUio"), exports);
|
|
@@ -262,6 +261,8 @@ __exportStar(require("./ScheduledTaskUio"), exports);
|
|
|
262
261
|
__exportStar(require("./SequenceContentsUio"), exports);
|
|
263
262
|
__exportStar(require("./SequenceCreateRequestUio"), exports);
|
|
264
263
|
__exportStar(require("./SequenceUio"), exports);
|
|
264
|
+
__exportStar(require("./SetMessageReaction200ResponseUio"), exports);
|
|
265
|
+
__exportStar(require("./SetMessageReactionRequestUio"), exports);
|
|
265
266
|
__exportStar(require("./SetTokenRequestUio"), exports);
|
|
266
267
|
__exportStar(require("./SetupToolRequestUio"), exports);
|
|
267
268
|
__exportStar(require("./SimpleAgentUio"), exports);
|
package/dist/openapi.json
CHANGED
|
@@ -1507,6 +1507,14 @@
|
|
|
1507
1507
|
"enum" : [ "asc", "desc" ],
|
|
1508
1508
|
"type" : "string"
|
|
1509
1509
|
}
|
|
1510
|
+
}, {
|
|
1511
|
+
"description" : "Filter conversations that have at least one message with this reaction",
|
|
1512
|
+
"in" : "query",
|
|
1513
|
+
"name" : "messageReaction",
|
|
1514
|
+
"schema" : {
|
|
1515
|
+
"enum" : [ "positive", "negative" ],
|
|
1516
|
+
"type" : "string"
|
|
1517
|
+
}
|
|
1510
1518
|
} ],
|
|
1511
1519
|
"responses" : {
|
|
1512
1520
|
"200" : {
|
|
@@ -3468,6 +3476,14 @@
|
|
|
3468
3476
|
"default" : 0,
|
|
3469
3477
|
"type" : "integer"
|
|
3470
3478
|
}
|
|
3479
|
+
}, {
|
|
3480
|
+
"description" : "Filter conversations that have at least one message with this reaction",
|
|
3481
|
+
"in" : "query",
|
|
3482
|
+
"name" : "messageReaction",
|
|
3483
|
+
"schema" : {
|
|
3484
|
+
"enum" : [ "positive", "negative" ],
|
|
3485
|
+
"type" : "string"
|
|
3486
|
+
}
|
|
3471
3487
|
} ],
|
|
3472
3488
|
"responses" : {
|
|
3473
3489
|
"200" : {
|
|
@@ -4284,6 +4300,14 @@
|
|
|
4284
4300
|
"enum" : [ "EXTERNAL", "INTERNAL" ],
|
|
4285
4301
|
"type" : "string"
|
|
4286
4302
|
}
|
|
4303
|
+
}, {
|
|
4304
|
+
"description" : "Filter conversations that have at least one message with this reaction",
|
|
4305
|
+
"in" : "query",
|
|
4306
|
+
"name" : "messageReaction",
|
|
4307
|
+
"schema" : {
|
|
4308
|
+
"enum" : [ "positive", "negative" ],
|
|
4309
|
+
"type" : "string"
|
|
4310
|
+
}
|
|
4287
4311
|
} ],
|
|
4288
4312
|
"responses" : {
|
|
4289
4313
|
"200" : {
|
|
@@ -9534,6 +9558,65 @@
|
|
|
9534
9558
|
"tags" : [ "prompts" ]
|
|
9535
9559
|
}
|
|
9536
9560
|
},
|
|
9561
|
+
"/conversations/{conversationId}/messages/{messageId}/reaction" : {
|
|
9562
|
+
"patch" : {
|
|
9563
|
+
"description" : "Set or clear user reaction (thumb up/down) on a conversation message.",
|
|
9564
|
+
"operationId" : "setMessageReaction",
|
|
9565
|
+
"parameters" : [ {
|
|
9566
|
+
"description" : "The ID of the conversation",
|
|
9567
|
+
"in" : "path",
|
|
9568
|
+
"name" : "conversationId",
|
|
9569
|
+
"required" : true,
|
|
9570
|
+
"schema" : {
|
|
9571
|
+
"type" : "string"
|
|
9572
|
+
}
|
|
9573
|
+
}, {
|
|
9574
|
+
"description" : "The ID of the message",
|
|
9575
|
+
"in" : "path",
|
|
9576
|
+
"name" : "messageId",
|
|
9577
|
+
"required" : true,
|
|
9578
|
+
"schema" : {
|
|
9579
|
+
"type" : "string"
|
|
9580
|
+
}
|
|
9581
|
+
} ],
|
|
9582
|
+
"requestBody" : {
|
|
9583
|
+
"content" : {
|
|
9584
|
+
"application/json" : {
|
|
9585
|
+
"schema" : {
|
|
9586
|
+
"$ref" : "#/components/schemas/setMessageReaction_request"
|
|
9587
|
+
}
|
|
9588
|
+
}
|
|
9589
|
+
},
|
|
9590
|
+
"required" : true
|
|
9591
|
+
},
|
|
9592
|
+
"responses" : {
|
|
9593
|
+
"200" : {
|
|
9594
|
+
"content" : {
|
|
9595
|
+
"application/json" : {
|
|
9596
|
+
"schema" : {
|
|
9597
|
+
"$ref" : "#/components/schemas/setMessageReaction_200_response"
|
|
9598
|
+
}
|
|
9599
|
+
}
|
|
9600
|
+
},
|
|
9601
|
+
"description" : "Reaction updated successfully"
|
|
9602
|
+
},
|
|
9603
|
+
"400" : {
|
|
9604
|
+
"description" : "Invalid request"
|
|
9605
|
+
},
|
|
9606
|
+
"401" : {
|
|
9607
|
+
"description" : "Unauthorized"
|
|
9608
|
+
},
|
|
9609
|
+
"403" : {
|
|
9610
|
+
"description" : "Forbidden - User cannot access this conversation"
|
|
9611
|
+
},
|
|
9612
|
+
"404" : {
|
|
9613
|
+
"description" : "Conversation or message not found"
|
|
9614
|
+
}
|
|
9615
|
+
},
|
|
9616
|
+
"summary" : "Set reaction on a message",
|
|
9617
|
+
"tags" : [ "prompts" ]
|
|
9618
|
+
}
|
|
9619
|
+
},
|
|
9537
9620
|
"/apps/{appId}/languages/{language}/fillers/{fillerId}/audio" : {
|
|
9538
9621
|
"get" : {
|
|
9539
9622
|
"description" : "Get audio filler by ID",
|
|
@@ -9829,6 +9912,15 @@
|
|
|
9829
9912
|
"type" : "string"
|
|
9830
9913
|
}
|
|
9831
9914
|
},
|
|
9915
|
+
"messageReaction" : {
|
|
9916
|
+
"description" : "Filter conversations that have at least one message with this reaction",
|
|
9917
|
+
"in" : "query",
|
|
9918
|
+
"name" : "messageReaction",
|
|
9919
|
+
"schema" : {
|
|
9920
|
+
"enum" : [ "positive", "negative" ],
|
|
9921
|
+
"type" : "string"
|
|
9922
|
+
}
|
|
9923
|
+
},
|
|
9832
9924
|
"ephemeral" : {
|
|
9833
9925
|
"description" : "If true, the resource will not appear in history and will be deleted after a certain time.",
|
|
9834
9926
|
"in" : "query",
|
|
@@ -11431,6 +11523,11 @@
|
|
|
11431
11523
|
"content" : {
|
|
11432
11524
|
"type" : "string"
|
|
11433
11525
|
},
|
|
11526
|
+
"reaction" : {
|
|
11527
|
+
"enum" : [ "positive", "negative" ],
|
|
11528
|
+
"nullable" : true,
|
|
11529
|
+
"type" : "string"
|
|
11530
|
+
},
|
|
11434
11531
|
"askConfirmation" : {
|
|
11435
11532
|
"type" : "boolean"
|
|
11436
11533
|
},
|
|
@@ -12674,10 +12771,11 @@
|
|
|
12674
12771
|
"AuthCodeRequest" : {
|
|
12675
12772
|
"properties" : {
|
|
12676
12773
|
"user" : {
|
|
12677
|
-
"$ref" : "#/components/schemas/
|
|
12774
|
+
"$ref" : "#/components/schemas/AuthCodeRequest_user"
|
|
12678
12775
|
},
|
|
12679
12776
|
"type" : {
|
|
12680
|
-
"
|
|
12777
|
+
"enum" : [ "API_KEY", "JWT" ],
|
|
12778
|
+
"type" : "string"
|
|
12681
12779
|
}
|
|
12682
12780
|
},
|
|
12683
12781
|
"required" : [ "type", "user" ],
|
|
@@ -12698,7 +12796,7 @@
|
|
|
12698
12796
|
"AuthCodeConfirmRequest" : {
|
|
12699
12797
|
"properties" : {
|
|
12700
12798
|
"user" : {
|
|
12701
|
-
"$ref" : "#/components/schemas/
|
|
12799
|
+
"$ref" : "#/components/schemas/AuthCodeRequest_user"
|
|
12702
12800
|
},
|
|
12703
12801
|
"code" : {
|
|
12704
12802
|
"type" : "string"
|
|
@@ -12707,7 +12805,7 @@
|
|
|
12707
12805
|
"type" : "string"
|
|
12708
12806
|
}
|
|
12709
12807
|
},
|
|
12710
|
-
"required" : [ "code", "
|
|
12808
|
+
"required" : [ "code", "user" ],
|
|
12711
12809
|
"type" : "object"
|
|
12712
12810
|
},
|
|
12713
12811
|
"AuthCodeConfirmResponse" : {
|
|
@@ -13738,7 +13836,7 @@
|
|
|
13738
13836
|
"type" : "string"
|
|
13739
13837
|
},
|
|
13740
13838
|
"user" : {
|
|
13741
|
-
"$ref" : "#/components/schemas/
|
|
13839
|
+
"$ref" : "#/components/schemas/AuthCodeRequest_user"
|
|
13742
13840
|
}
|
|
13743
13841
|
},
|
|
13744
13842
|
"required" : [ "createdAt", "id", "role", "user" ],
|
|
@@ -14778,51 +14876,6 @@
|
|
|
14778
14876
|
"required" : [ "id", "src", "type" ],
|
|
14779
14877
|
"type" : "object"
|
|
14780
14878
|
},
|
|
14781
|
-
"User" : {
|
|
14782
|
-
"properties" : {
|
|
14783
|
-
"id" : {
|
|
14784
|
-
"type" : "string"
|
|
14785
|
-
},
|
|
14786
|
-
"isAdmin" : {
|
|
14787
|
-
"type" : "boolean"
|
|
14788
|
-
},
|
|
14789
|
-
"user" : {
|
|
14790
|
-
"$ref" : "#/components/schemas/OrganizationMember_user"
|
|
14791
|
-
},
|
|
14792
|
-
"createdAt" : {
|
|
14793
|
-
"type" : "string"
|
|
14794
|
-
},
|
|
14795
|
-
"brains" : {
|
|
14796
|
-
"items" : {
|
|
14797
|
-
"type" : "string"
|
|
14798
|
-
},
|
|
14799
|
-
"type" : "array"
|
|
14800
|
-
},
|
|
14801
|
-
"canCreateAgents" : {
|
|
14802
|
-
"type" : "boolean"
|
|
14803
|
-
},
|
|
14804
|
-
"maxAgents" : {
|
|
14805
|
-
"nullable" : true
|
|
14806
|
-
},
|
|
14807
|
-
"apiKeys" : {
|
|
14808
|
-
"items" : {
|
|
14809
|
-
"type" : "string"
|
|
14810
|
-
},
|
|
14811
|
-
"type" : "array"
|
|
14812
|
-
},
|
|
14813
|
-
"locked" : {
|
|
14814
|
-
"type" : "boolean"
|
|
14815
|
-
},
|
|
14816
|
-
"allAgents" : {
|
|
14817
|
-
"type" : "boolean"
|
|
14818
|
-
}
|
|
14819
|
-
},
|
|
14820
|
-
"type" : "object"
|
|
14821
|
-
},
|
|
14822
|
-
"AuthType" : {
|
|
14823
|
-
"enum" : [ "API_KEY" ],
|
|
14824
|
-
"type" : "string"
|
|
14825
|
-
},
|
|
14826
14879
|
"AudioFileType" : {
|
|
14827
14880
|
"enum" : [ "reference" ],
|
|
14828
14881
|
"type" : "string"
|
|
@@ -14941,6 +14994,47 @@
|
|
|
14941
14994
|
"enum" : [ "ELEVENLABS" ],
|
|
14942
14995
|
"type" : "string"
|
|
14943
14996
|
},
|
|
14997
|
+
"User" : {
|
|
14998
|
+
"properties" : {
|
|
14999
|
+
"id" : {
|
|
15000
|
+
"type" : "string"
|
|
15001
|
+
},
|
|
15002
|
+
"isAdmin" : {
|
|
15003
|
+
"type" : "boolean"
|
|
15004
|
+
},
|
|
15005
|
+
"user" : {
|
|
15006
|
+
"$ref" : "#/components/schemas/AuthCodeRequest_user"
|
|
15007
|
+
},
|
|
15008
|
+
"createdAt" : {
|
|
15009
|
+
"type" : "string"
|
|
15010
|
+
},
|
|
15011
|
+
"brains" : {
|
|
15012
|
+
"items" : {
|
|
15013
|
+
"type" : "string"
|
|
15014
|
+
},
|
|
15015
|
+
"type" : "array"
|
|
15016
|
+
},
|
|
15017
|
+
"canCreateAgents" : {
|
|
15018
|
+
"type" : "boolean"
|
|
15019
|
+
},
|
|
15020
|
+
"maxAgents" : {
|
|
15021
|
+
"nullable" : true
|
|
15022
|
+
},
|
|
15023
|
+
"apiKeys" : {
|
|
15024
|
+
"items" : {
|
|
15025
|
+
"type" : "string"
|
|
15026
|
+
},
|
|
15027
|
+
"type" : "array"
|
|
15028
|
+
},
|
|
15029
|
+
"locked" : {
|
|
15030
|
+
"type" : "boolean"
|
|
15031
|
+
},
|
|
15032
|
+
"allAgents" : {
|
|
15033
|
+
"type" : "boolean"
|
|
15034
|
+
}
|
|
15035
|
+
},
|
|
15036
|
+
"type" : "object"
|
|
15037
|
+
},
|
|
14944
15038
|
"deleteMessageAudio_200_response" : {
|
|
14945
15039
|
"properties" : {
|
|
14946
15040
|
"message" : {
|
|
@@ -15055,6 +15149,31 @@
|
|
|
15055
15149
|
},
|
|
15056
15150
|
"type" : "object"
|
|
15057
15151
|
},
|
|
15152
|
+
"setMessageReaction_request" : {
|
|
15153
|
+
"properties" : {
|
|
15154
|
+
"reaction" : {
|
|
15155
|
+
"enum" : [ "positive", "negative" ],
|
|
15156
|
+
"nullable" : true,
|
|
15157
|
+
"type" : "string"
|
|
15158
|
+
}
|
|
15159
|
+
},
|
|
15160
|
+
"required" : [ "reaction" ],
|
|
15161
|
+
"type" : "object"
|
|
15162
|
+
},
|
|
15163
|
+
"setMessageReaction_200_response" : {
|
|
15164
|
+
"properties" : {
|
|
15165
|
+
"id" : {
|
|
15166
|
+
"type" : "string"
|
|
15167
|
+
},
|
|
15168
|
+
"reaction" : {
|
|
15169
|
+
"enum" : [ "positive", "negative" ],
|
|
15170
|
+
"nullable" : true,
|
|
15171
|
+
"type" : "string"
|
|
15172
|
+
}
|
|
15173
|
+
},
|
|
15174
|
+
"required" : [ "id", "reaction" ],
|
|
15175
|
+
"type" : "object"
|
|
15176
|
+
},
|
|
15058
15177
|
"KnowledgeBase_files_inner" : {
|
|
15059
15178
|
"properties" : {
|
|
15060
15179
|
"id" : {
|
|
@@ -15774,6 +15893,15 @@
|
|
|
15774
15893
|
"required" : [ "source", "task", "value" ],
|
|
15775
15894
|
"type" : "object"
|
|
15776
15895
|
},
|
|
15896
|
+
"AuthCodeRequest_user" : {
|
|
15897
|
+
"properties" : {
|
|
15898
|
+
"email" : {
|
|
15899
|
+
"type" : "string"
|
|
15900
|
+
}
|
|
15901
|
+
},
|
|
15902
|
+
"required" : [ "email" ],
|
|
15903
|
+
"type" : "object"
|
|
15904
|
+
},
|
|
15777
15905
|
"ChunkCreateRequest_content_inner" : {
|
|
15778
15906
|
"properties" : {
|
|
15779
15907
|
"fileName" : {
|
|
@@ -15852,15 +15980,6 @@
|
|
|
15852
15980
|
"required" : [ "id" ],
|
|
15853
15981
|
"type" : "object"
|
|
15854
15982
|
},
|
|
15855
|
-
"OrganizationMember_user" : {
|
|
15856
|
-
"properties" : {
|
|
15857
|
-
"email" : {
|
|
15858
|
-
"type" : "string"
|
|
15859
|
-
}
|
|
15860
|
-
},
|
|
15861
|
-
"required" : [ "email" ],
|
|
15862
|
-
"type" : "object"
|
|
15863
|
-
},
|
|
15864
15983
|
"KnowledgeFileSummary_knowledgeBaseId" : {
|
|
15865
15984
|
"oneOf" : [ {
|
|
15866
15985
|
"type" : "string"
|