@breign/client 1.0.157 → 1.0.159
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/ConversationsApi.d.ts +28 -1
- package/dist/apis/ConversationsApi.js +63 -0
- package/dist/apis/McpApi.d.ts +58 -0
- package/dist/apis/McpApi.js +154 -0
- package/dist/apis/ToolsApi.d.ts +46 -1
- package/dist/apis/ToolsApi.js +107 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/AgentChatOverviewEntryUio.d.ts +6 -0
- package/dist/models/AgentChatOverviewEntryUio.js +2 -0
- package/dist/models/AgentHumanEscalationConfigurationUio.d.ts +44 -0
- package/dist/models/AgentHumanEscalationConfigurationUio.js +52 -0
- package/dist/models/AgentMcpExposureConfigurationUio.d.ts +32 -0
- package/dist/models/AgentMcpExposureConfigurationUio.js +48 -0
- package/dist/models/AgentPatchUio.d.ts +17 -3
- package/dist/models/AgentPatchUio.js +9 -3
- package/dist/models/AgentUio.d.ts +14 -0
- package/dist/models/AgentUio.js +6 -0
- package/dist/models/ChatMessageUio.d.ts +7 -0
- package/dist/models/ChatMessageUio.js +3 -0
- package/dist/models/ConversationHumanRequestRequestedByUio.d.ts +46 -0
- package/dist/models/ConversationHumanRequestRequestedByUio.js +60 -0
- package/dist/models/ConversationHumanRequestUio.d.ts +109 -0
- package/dist/models/ConversationHumanRequestUio.js +93 -0
- package/dist/models/HumanRequestAnswerResultUio.d.ts +40 -0
- package/dist/models/HumanRequestAnswerResultUio.js +58 -0
- package/dist/models/HumanRequestAnswerUio.d.ts +38 -0
- package/dist/models/HumanRequestAnswerUio.js +50 -0
- package/dist/models/HumanRequestSummaryRequestedByUio.d.ts +46 -0
- package/dist/models/HumanRequestSummaryRequestedByUio.js +58 -0
- package/dist/models/HumanRequestSummaryUio.d.ts +93 -0
- package/dist/models/HumanRequestSummaryUio.js +81 -0
- package/dist/models/McpAgentListAgentsInnerUio.d.ts +50 -0
- package/dist/models/McpAgentListAgentsInnerUio.js +58 -0
- package/dist/models/McpAgentListUio.d.ts +33 -0
- package/dist/models/McpAgentListUio.js +51 -0
- package/dist/models/McpCallLogCursorUio.d.ts +38 -0
- package/dist/models/McpCallLogCursorUio.js +54 -0
- package/dist/models/McpCallLogEventUio.d.ts +27 -0
- package/dist/models/McpCallLogEventUio.js +53 -0
- package/dist/models/McpCallLogStatusUio.d.ts +25 -0
- package/dist/models/McpCallLogStatusUio.js +51 -0
- package/dist/models/McpCallLogUio.d.ts +162 -0
- package/dist/models/McpCallLogUio.js +114 -0
- package/dist/models/McpCallLogsDeletedResponseUio.d.ts +32 -0
- package/dist/models/McpCallLogsDeletedResponseUio.js +50 -0
- package/dist/models/McpCallLogsResponseUio.d.ts +58 -0
- package/dist/models/McpCallLogsResponseUio.js +68 -0
- package/dist/models/McpCallToolResultStructuredContentUio.d.ts +23 -0
- package/dist/models/McpCallToolResultStructuredContentUio.js +57 -0
- package/dist/models/McpCallToolResultUio.d.ts +47 -0
- package/dist/models/McpCallToolResultUio.js +56 -0
- package/dist/models/McpJsonRpcErrorUio.d.ts +38 -0
- package/dist/models/McpJsonRpcErrorUio.js +54 -0
- package/dist/models/McpJsonRpcRequestIdUio.d.ts +21 -0
- package/dist/models/McpJsonRpcRequestIdUio.js +37 -0
- package/dist/models/McpJsonRpcRequestUio.d.ts +60 -0
- package/dist/models/McpJsonRpcRequestUio.js +66 -0
- package/dist/models/McpJsonRpcResponseIdUio.d.ts +21 -0
- package/dist/models/McpJsonRpcResponseIdUio.js +37 -0
- package/dist/models/McpJsonRpcResponseUio.d.ts +60 -0
- package/dist/models/McpJsonRpcResponseUio.js +66 -0
- package/dist/models/McpLogsSettingsRequestUio.d.ts +38 -0
- package/dist/models/McpLogsSettingsRequestUio.js +50 -0
- package/dist/models/McpLogsSettingsResponseUio.d.ts +38 -0
- package/dist/models/McpLogsSettingsResponseUio.js +54 -0
- package/dist/models/McpTextContentUio.d.ts +45 -0
- package/dist/models/McpTextContentUio.js +61 -0
- package/dist/models/McpTicketViewUio.d.ts +114 -0
- package/dist/models/McpTicketViewUio.js +90 -0
- package/dist/models/index.d.ts +27 -0
- package/dist/models/index.js +27 -0
- package/dist/openapi.json +1058 -77
- package/package.json +1 -1
|
@@ -0,0 +1,93 @@
|
|
|
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.ConversationHumanRequestUioStatusEnum = void 0;
|
|
17
|
+
exports.instanceOfConversationHumanRequestUio = instanceOfConversationHumanRequestUio;
|
|
18
|
+
exports.ConversationHumanRequestUioFromJSON = ConversationHumanRequestUioFromJSON;
|
|
19
|
+
exports.ConversationHumanRequestUioFromJSONTyped = ConversationHumanRequestUioFromJSONTyped;
|
|
20
|
+
exports.ConversationHumanRequestUioToJSON = ConversationHumanRequestUioToJSON;
|
|
21
|
+
exports.ConversationHumanRequestUioToJSONTyped = ConversationHumanRequestUioToJSONTyped;
|
|
22
|
+
const ConversationHumanRequestRequestedByUio_1 = require("./ConversationHumanRequestRequestedByUio");
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.ConversationHumanRequestUioStatusEnum = {
|
|
27
|
+
Pending: 'pending',
|
|
28
|
+
Answered: 'answered',
|
|
29
|
+
Declined: 'declined',
|
|
30
|
+
Expired: 'expired'
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the ConversationHumanRequestUio interface.
|
|
34
|
+
*/
|
|
35
|
+
function instanceOfConversationHumanRequestUio(value) {
|
|
36
|
+
if (!('callId' in value) || value['callId'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('taskConversationId' in value) || value['taskConversationId'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('taskMessageId' in value) || value['taskMessageId'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('question' in value) || value['question'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
if (!('requestedBy' in value) || value['requestedBy'] === undefined)
|
|
45
|
+
return false;
|
|
46
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
47
|
+
return false;
|
|
48
|
+
return true;
|
|
49
|
+
}
|
|
50
|
+
function ConversationHumanRequestUioFromJSON(json) {
|
|
51
|
+
return ConversationHumanRequestUioFromJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
function ConversationHumanRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
54
|
+
if (json == null) {
|
|
55
|
+
return json;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'callId': json['callId'],
|
|
59
|
+
'taskConversationId': json['taskConversationId'],
|
|
60
|
+
'taskMessageId': json['taskMessageId'],
|
|
61
|
+
'question': json['question'],
|
|
62
|
+
'options': json['options'] == null ? undefined : json['options'],
|
|
63
|
+
'context': json['context'] == null ? undefined : json['context'],
|
|
64
|
+
'requestedBy': (0, ConversationHumanRequestRequestedByUio_1.ConversationHumanRequestRequestedByUioFromJSON)(json['requestedBy']),
|
|
65
|
+
'status': json['status'],
|
|
66
|
+
'answer': json['answer'] == null ? undefined : json['answer'],
|
|
67
|
+
'answeredBy': json['answeredBy'] == null ? undefined : json['answeredBy'],
|
|
68
|
+
'answeredAt': json['answeredAt'] == null ? undefined : json['answeredAt'],
|
|
69
|
+
'expiresAt': json['expiresAt'] == null ? undefined : json['expiresAt'],
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
function ConversationHumanRequestUioToJSON(json) {
|
|
73
|
+
return ConversationHumanRequestUioToJSONTyped(json, false);
|
|
74
|
+
}
|
|
75
|
+
function ConversationHumanRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
76
|
+
if (value == null) {
|
|
77
|
+
return value;
|
|
78
|
+
}
|
|
79
|
+
return {
|
|
80
|
+
'callId': value['callId'],
|
|
81
|
+
'taskConversationId': value['taskConversationId'],
|
|
82
|
+
'taskMessageId': value['taskMessageId'],
|
|
83
|
+
'question': value['question'],
|
|
84
|
+
'options': value['options'],
|
|
85
|
+
'context': value['context'],
|
|
86
|
+
'requestedBy': (0, ConversationHumanRequestRequestedByUio_1.ConversationHumanRequestRequestedByUioToJSON)(value['requestedBy']),
|
|
87
|
+
'status': value['status'],
|
|
88
|
+
'answer': value['answer'],
|
|
89
|
+
'answeredBy': value['answeredBy'],
|
|
90
|
+
'answeredAt': value['answeredAt'],
|
|
91
|
+
'expiresAt': value['expiresAt'],
|
|
92
|
+
};
|
|
93
|
+
}
|
|
@@ -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 HumanRequestAnswerResultUio
|
|
16
|
+
*/
|
|
17
|
+
export interface HumanRequestAnswerResultUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof HumanRequestAnswerResultUio
|
|
22
|
+
*/
|
|
23
|
+
status: HumanRequestAnswerResultUioStatusEnum;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* @export
|
|
27
|
+
*/
|
|
28
|
+
export declare const HumanRequestAnswerResultUioStatusEnum: {
|
|
29
|
+
readonly Answered: "answered";
|
|
30
|
+
readonly Declined: "declined";
|
|
31
|
+
};
|
|
32
|
+
export type HumanRequestAnswerResultUioStatusEnum = typeof HumanRequestAnswerResultUioStatusEnum[keyof typeof HumanRequestAnswerResultUioStatusEnum];
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the HumanRequestAnswerResultUio interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfHumanRequestAnswerResultUio(value: object): value is HumanRequestAnswerResultUio;
|
|
37
|
+
export declare function HumanRequestAnswerResultUioFromJSON(json: any): HumanRequestAnswerResultUio;
|
|
38
|
+
export declare function HumanRequestAnswerResultUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): HumanRequestAnswerResultUio;
|
|
39
|
+
export declare function HumanRequestAnswerResultUioToJSON(json: any): HumanRequestAnswerResultUio;
|
|
40
|
+
export declare function HumanRequestAnswerResultUioToJSONTyped(value?: HumanRequestAnswerResultUio | 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.HumanRequestAnswerResultUioStatusEnum = void 0;
|
|
17
|
+
exports.instanceOfHumanRequestAnswerResultUio = instanceOfHumanRequestAnswerResultUio;
|
|
18
|
+
exports.HumanRequestAnswerResultUioFromJSON = HumanRequestAnswerResultUioFromJSON;
|
|
19
|
+
exports.HumanRequestAnswerResultUioFromJSONTyped = HumanRequestAnswerResultUioFromJSONTyped;
|
|
20
|
+
exports.HumanRequestAnswerResultUioToJSON = HumanRequestAnswerResultUioToJSON;
|
|
21
|
+
exports.HumanRequestAnswerResultUioToJSONTyped = HumanRequestAnswerResultUioToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.HumanRequestAnswerResultUioStatusEnum = {
|
|
26
|
+
Answered: 'answered',
|
|
27
|
+
Declined: 'declined'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the HumanRequestAnswerResultUio interface.
|
|
31
|
+
*/
|
|
32
|
+
function instanceOfHumanRequestAnswerResultUio(value) {
|
|
33
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
function HumanRequestAnswerResultUioFromJSON(json) {
|
|
38
|
+
return HumanRequestAnswerResultUioFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
function HumanRequestAnswerResultUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
+
if (json == null) {
|
|
42
|
+
return json;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'status': json['status'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
function HumanRequestAnswerResultUioToJSON(json) {
|
|
49
|
+
return HumanRequestAnswerResultUioToJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
function HumanRequestAnswerResultUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
52
|
+
if (value == null) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'status': value['status'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -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
|
+
* Réponse à une question. Soit une réponse non vide, soit decline à vrai : l'agent repart alors sur sa meilleure hypothèse.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface HumanRequestAnswerUio
|
|
16
|
+
*/
|
|
17
|
+
export interface HumanRequestAnswerUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof HumanRequestAnswerUio
|
|
22
|
+
*/
|
|
23
|
+
answer?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof HumanRequestAnswerUio
|
|
28
|
+
*/
|
|
29
|
+
decline?: boolean;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the HumanRequestAnswerUio interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfHumanRequestAnswerUio(value: object): value is HumanRequestAnswerUio;
|
|
35
|
+
export declare function HumanRequestAnswerUioFromJSON(json: any): HumanRequestAnswerUio;
|
|
36
|
+
export declare function HumanRequestAnswerUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): HumanRequestAnswerUio;
|
|
37
|
+
export declare function HumanRequestAnswerUioToJSON(json: any): HumanRequestAnswerUio;
|
|
38
|
+
export declare function HumanRequestAnswerUioToJSONTyped(value?: HumanRequestAnswerUio | 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.instanceOfHumanRequestAnswerUio = instanceOfHumanRequestAnswerUio;
|
|
17
|
+
exports.HumanRequestAnswerUioFromJSON = HumanRequestAnswerUioFromJSON;
|
|
18
|
+
exports.HumanRequestAnswerUioFromJSONTyped = HumanRequestAnswerUioFromJSONTyped;
|
|
19
|
+
exports.HumanRequestAnswerUioToJSON = HumanRequestAnswerUioToJSON;
|
|
20
|
+
exports.HumanRequestAnswerUioToJSONTyped = HumanRequestAnswerUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the HumanRequestAnswerUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfHumanRequestAnswerUio(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function HumanRequestAnswerUioFromJSON(json) {
|
|
28
|
+
return HumanRequestAnswerUioFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function HumanRequestAnswerUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'answer': json['answer'] == null ? undefined : json['answer'],
|
|
36
|
+
'decline': json['decline'] == null ? undefined : json['decline'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function HumanRequestAnswerUioToJSON(json) {
|
|
40
|
+
return HumanRequestAnswerUioToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function HumanRequestAnswerUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'answer': value['answer'],
|
|
48
|
+
'decline': value['decline'],
|
|
49
|
+
};
|
|
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 HumanRequestSummaryRequestedByUio
|
|
16
|
+
*/
|
|
17
|
+
export interface HumanRequestSummaryRequestedByUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof HumanRequestSummaryRequestedByUio
|
|
22
|
+
*/
|
|
23
|
+
kind?: HumanRequestSummaryRequestedByUioKindEnum;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof HumanRequestSummaryRequestedByUio
|
|
28
|
+
*/
|
|
29
|
+
label?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
export declare const HumanRequestSummaryRequestedByUioKindEnum: {
|
|
35
|
+
readonly LocalAgent: "local_agent";
|
|
36
|
+
readonly Agent: "agent";
|
|
37
|
+
};
|
|
38
|
+
export type HumanRequestSummaryRequestedByUioKindEnum = typeof HumanRequestSummaryRequestedByUioKindEnum[keyof typeof HumanRequestSummaryRequestedByUioKindEnum];
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the HumanRequestSummaryRequestedByUio interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfHumanRequestSummaryRequestedByUio(value: object): value is HumanRequestSummaryRequestedByUio;
|
|
43
|
+
export declare function HumanRequestSummaryRequestedByUioFromJSON(json: any): HumanRequestSummaryRequestedByUio;
|
|
44
|
+
export declare function HumanRequestSummaryRequestedByUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): HumanRequestSummaryRequestedByUio;
|
|
45
|
+
export declare function HumanRequestSummaryRequestedByUioToJSON(json: any): HumanRequestSummaryRequestedByUio;
|
|
46
|
+
export declare function HumanRequestSummaryRequestedByUioToJSONTyped(value?: HumanRequestSummaryRequestedByUio | 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.HumanRequestSummaryRequestedByUioKindEnum = void 0;
|
|
17
|
+
exports.instanceOfHumanRequestSummaryRequestedByUio = instanceOfHumanRequestSummaryRequestedByUio;
|
|
18
|
+
exports.HumanRequestSummaryRequestedByUioFromJSON = HumanRequestSummaryRequestedByUioFromJSON;
|
|
19
|
+
exports.HumanRequestSummaryRequestedByUioFromJSONTyped = HumanRequestSummaryRequestedByUioFromJSONTyped;
|
|
20
|
+
exports.HumanRequestSummaryRequestedByUioToJSON = HumanRequestSummaryRequestedByUioToJSON;
|
|
21
|
+
exports.HumanRequestSummaryRequestedByUioToJSONTyped = HumanRequestSummaryRequestedByUioToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.HumanRequestSummaryRequestedByUioKindEnum = {
|
|
26
|
+
LocalAgent: 'local_agent',
|
|
27
|
+
Agent: 'agent'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the HumanRequestSummaryRequestedByUio interface.
|
|
31
|
+
*/
|
|
32
|
+
function instanceOfHumanRequestSummaryRequestedByUio(value) {
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
function HumanRequestSummaryRequestedByUioFromJSON(json) {
|
|
36
|
+
return HumanRequestSummaryRequestedByUioFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function HumanRequestSummaryRequestedByUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'kind': json['kind'] == null ? undefined : json['kind'],
|
|
44
|
+
'label': json['label'] == null ? undefined : json['label'],
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
function HumanRequestSummaryRequestedByUioToJSON(json) {
|
|
48
|
+
return HumanRequestSummaryRequestedByUioToJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
function HumanRequestSummaryRequestedByUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'kind': value['kind'],
|
|
56
|
+
'label': value['label'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
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 { HumanRequestSummaryRequestedByUio } from './HumanRequestSummaryRequestedByUio';
|
|
13
|
+
/**
|
|
14
|
+
* Une question en attente de réponse de l'utilisateur courant.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface HumanRequestSummaryUio
|
|
17
|
+
*/
|
|
18
|
+
export interface HumanRequestSummaryUio {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof HumanRequestSummaryUio
|
|
23
|
+
*/
|
|
24
|
+
callId: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof HumanRequestSummaryUio
|
|
29
|
+
*/
|
|
30
|
+
agentId: string;
|
|
31
|
+
/**
|
|
32
|
+
* Conversation de l'utilisateur avec l'agent, où la question est affichée.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof HumanRequestSummaryUio
|
|
35
|
+
*/
|
|
36
|
+
humanConversationId: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof HumanRequestSummaryUio
|
|
41
|
+
*/
|
|
42
|
+
humanMessageId?: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof HumanRequestSummaryUio
|
|
47
|
+
*/
|
|
48
|
+
taskConversationId: string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof HumanRequestSummaryUio
|
|
53
|
+
*/
|
|
54
|
+
taskMessageId: string;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof HumanRequestSummaryUio
|
|
59
|
+
*/
|
|
60
|
+
question: string;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {Array<string>}
|
|
64
|
+
* @memberof HumanRequestSummaryUio
|
|
65
|
+
*/
|
|
66
|
+
options?: Array<string>;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {HumanRequestSummaryRequestedByUio}
|
|
70
|
+
* @memberof HumanRequestSummaryUio
|
|
71
|
+
*/
|
|
72
|
+
requestedBy?: HumanRequestSummaryRequestedByUio;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof HumanRequestSummaryUio
|
|
77
|
+
*/
|
|
78
|
+
expiresAt?: string | null;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof HumanRequestSummaryUio
|
|
83
|
+
*/
|
|
84
|
+
createdAt?: string;
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Check if a given object implements the HumanRequestSummaryUio interface.
|
|
88
|
+
*/
|
|
89
|
+
export declare function instanceOfHumanRequestSummaryUio(value: object): value is HumanRequestSummaryUio;
|
|
90
|
+
export declare function HumanRequestSummaryUioFromJSON(json: any): HumanRequestSummaryUio;
|
|
91
|
+
export declare function HumanRequestSummaryUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): HumanRequestSummaryUio;
|
|
92
|
+
export declare function HumanRequestSummaryUioToJSON(json: any): HumanRequestSummaryUio;
|
|
93
|
+
export declare function HumanRequestSummaryUioToJSONTyped(value?: HumanRequestSummaryUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,81 @@
|
|
|
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.instanceOfHumanRequestSummaryUio = instanceOfHumanRequestSummaryUio;
|
|
17
|
+
exports.HumanRequestSummaryUioFromJSON = HumanRequestSummaryUioFromJSON;
|
|
18
|
+
exports.HumanRequestSummaryUioFromJSONTyped = HumanRequestSummaryUioFromJSONTyped;
|
|
19
|
+
exports.HumanRequestSummaryUioToJSON = HumanRequestSummaryUioToJSON;
|
|
20
|
+
exports.HumanRequestSummaryUioToJSONTyped = HumanRequestSummaryUioToJSONTyped;
|
|
21
|
+
const HumanRequestSummaryRequestedByUio_1 = require("./HumanRequestSummaryRequestedByUio");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the HumanRequestSummaryUio interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfHumanRequestSummaryUio(value) {
|
|
26
|
+
if (!('callId' in value) || value['callId'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('agentId' in value) || value['agentId'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('humanConversationId' in value) || value['humanConversationId'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('taskConversationId' in value) || value['taskConversationId'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('taskMessageId' in value) || value['taskMessageId'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('question' in value) || value['question'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
return true;
|
|
39
|
+
}
|
|
40
|
+
function HumanRequestSummaryUioFromJSON(json) {
|
|
41
|
+
return HumanRequestSummaryUioFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function HumanRequestSummaryUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
+
if (json == null) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'callId': json['callId'],
|
|
49
|
+
'agentId': json['agentId'],
|
|
50
|
+
'humanConversationId': json['humanConversationId'],
|
|
51
|
+
'humanMessageId': json['humanMessageId'] == null ? undefined : json['humanMessageId'],
|
|
52
|
+
'taskConversationId': json['taskConversationId'],
|
|
53
|
+
'taskMessageId': json['taskMessageId'],
|
|
54
|
+
'question': json['question'],
|
|
55
|
+
'options': json['options'] == null ? undefined : json['options'],
|
|
56
|
+
'requestedBy': json['requestedBy'] == null ? undefined : (0, HumanRequestSummaryRequestedByUio_1.HumanRequestSummaryRequestedByUioFromJSON)(json['requestedBy']),
|
|
57
|
+
'expiresAt': json['expiresAt'] == null ? undefined : json['expiresAt'],
|
|
58
|
+
'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
function HumanRequestSummaryUioToJSON(json) {
|
|
62
|
+
return HumanRequestSummaryUioToJSONTyped(json, false);
|
|
63
|
+
}
|
|
64
|
+
function HumanRequestSummaryUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
return {
|
|
69
|
+
'callId': value['callId'],
|
|
70
|
+
'agentId': value['agentId'],
|
|
71
|
+
'humanConversationId': value['humanConversationId'],
|
|
72
|
+
'humanMessageId': value['humanMessageId'],
|
|
73
|
+
'taskConversationId': value['taskConversationId'],
|
|
74
|
+
'taskMessageId': value['taskMessageId'],
|
|
75
|
+
'question': value['question'],
|
|
76
|
+
'options': value['options'],
|
|
77
|
+
'requestedBy': (0, HumanRequestSummaryRequestedByUio_1.HumanRequestSummaryRequestedByUioToJSON)(value['requestedBy']),
|
|
78
|
+
'expiresAt': value['expiresAt'],
|
|
79
|
+
'createdAt': value['createdAt'],
|
|
80
|
+
};
|
|
81
|
+
}
|
|
@@ -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 McpAgentListAgentsInnerUio
|
|
16
|
+
*/
|
|
17
|
+
export interface McpAgentListAgentsInnerUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof McpAgentListAgentsInnerUio
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof McpAgentListAgentsInnerUio
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof McpAgentListAgentsInnerUio
|
|
34
|
+
*/
|
|
35
|
+
role?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof McpAgentListAgentsInnerUio
|
|
40
|
+
*/
|
|
41
|
+
description?: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the McpAgentListAgentsInnerUio interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfMcpAgentListAgentsInnerUio(value: object): value is McpAgentListAgentsInnerUio;
|
|
47
|
+
export declare function McpAgentListAgentsInnerUioFromJSON(json: any): McpAgentListAgentsInnerUio;
|
|
48
|
+
export declare function McpAgentListAgentsInnerUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): McpAgentListAgentsInnerUio;
|
|
49
|
+
export declare function McpAgentListAgentsInnerUioToJSON(json: any): McpAgentListAgentsInnerUio;
|
|
50
|
+
export declare function McpAgentListAgentsInnerUioToJSONTyped(value?: McpAgentListAgentsInnerUio | 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.instanceOfMcpAgentListAgentsInnerUio = instanceOfMcpAgentListAgentsInnerUio;
|
|
17
|
+
exports.McpAgentListAgentsInnerUioFromJSON = McpAgentListAgentsInnerUioFromJSON;
|
|
18
|
+
exports.McpAgentListAgentsInnerUioFromJSONTyped = McpAgentListAgentsInnerUioFromJSONTyped;
|
|
19
|
+
exports.McpAgentListAgentsInnerUioToJSON = McpAgentListAgentsInnerUioToJSON;
|
|
20
|
+
exports.McpAgentListAgentsInnerUioToJSONTyped = McpAgentListAgentsInnerUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the McpAgentListAgentsInnerUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfMcpAgentListAgentsInnerUio(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function McpAgentListAgentsInnerUioFromJSON(json) {
|
|
32
|
+
return McpAgentListAgentsInnerUioFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function McpAgentListAgentsInnerUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'id': json['id'],
|
|
40
|
+
'name': json['name'],
|
|
41
|
+
'role': json['role'] == null ? undefined : json['role'],
|
|
42
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function McpAgentListAgentsInnerUioToJSON(json) {
|
|
46
|
+
return McpAgentListAgentsInnerUioToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function McpAgentListAgentsInnerUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'id': value['id'],
|
|
54
|
+
'name': value['name'],
|
|
55
|
+
'role': value['role'],
|
|
56
|
+
'description': value['description'],
|
|
57
|
+
};
|
|
58
|
+
}
|