@breign/client 1.0.157 → 1.0.158
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/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/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/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 +19 -0
- package/dist/models/index.js +19 -0
- package/dist/openapi.json +628 -0
- package/package.json +1 -1
|
@@ -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 McpJsonRpcErrorUio
|
|
16
|
+
*/
|
|
17
|
+
export interface McpJsonRpcErrorUio {
|
|
18
|
+
/**
|
|
19
|
+
* -32000 méthode HTTP non supportée, -32001 clé API personnelle requise, -32603 erreur interne ; les codes JSON-RPC standards pour les requêtes mal formées.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof McpJsonRpcErrorUio
|
|
22
|
+
*/
|
|
23
|
+
code: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof McpJsonRpcErrorUio
|
|
28
|
+
*/
|
|
29
|
+
message: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the McpJsonRpcErrorUio interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfMcpJsonRpcErrorUio(value: object): value is McpJsonRpcErrorUio;
|
|
35
|
+
export declare function McpJsonRpcErrorUioFromJSON(json: any): McpJsonRpcErrorUio;
|
|
36
|
+
export declare function McpJsonRpcErrorUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): McpJsonRpcErrorUio;
|
|
37
|
+
export declare function McpJsonRpcErrorUioToJSON(json: any): McpJsonRpcErrorUio;
|
|
38
|
+
export declare function McpJsonRpcErrorUioToJSONTyped(value?: McpJsonRpcErrorUio | 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.instanceOfMcpJsonRpcErrorUio = instanceOfMcpJsonRpcErrorUio;
|
|
17
|
+
exports.McpJsonRpcErrorUioFromJSON = McpJsonRpcErrorUioFromJSON;
|
|
18
|
+
exports.McpJsonRpcErrorUioFromJSONTyped = McpJsonRpcErrorUioFromJSONTyped;
|
|
19
|
+
exports.McpJsonRpcErrorUioToJSON = McpJsonRpcErrorUioToJSON;
|
|
20
|
+
exports.McpJsonRpcErrorUioToJSONTyped = McpJsonRpcErrorUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the McpJsonRpcErrorUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfMcpJsonRpcErrorUio(value) {
|
|
25
|
+
if (!('code' in value) || value['code'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('message' in value) || value['message'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function McpJsonRpcErrorUioFromJSON(json) {
|
|
32
|
+
return McpJsonRpcErrorUioFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function McpJsonRpcErrorUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'code': json['code'],
|
|
40
|
+
'message': json['message'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function McpJsonRpcErrorUioToJSON(json) {
|
|
44
|
+
return McpJsonRpcErrorUioToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function McpJsonRpcErrorUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'code': value['code'],
|
|
52
|
+
'message': value['message'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
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
|
+
* @type McpJsonRpcRequestIdUio
|
|
14
|
+
* Absent sur une notification.
|
|
15
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export type McpJsonRpcRequestIdUio = number | string;
|
|
18
|
+
export declare function McpJsonRpcRequestIdUioFromJSON(json: any): McpJsonRpcRequestIdUio;
|
|
19
|
+
export declare function McpJsonRpcRequestIdUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): McpJsonRpcRequestIdUio;
|
|
20
|
+
export declare function McpJsonRpcRequestIdUioToJSON(json: any): any;
|
|
21
|
+
export declare function McpJsonRpcRequestIdUioToJSONTyped(value?: McpJsonRpcRequestIdUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,37 @@
|
|
|
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.McpJsonRpcRequestIdUioFromJSON = McpJsonRpcRequestIdUioFromJSON;
|
|
17
|
+
exports.McpJsonRpcRequestIdUioFromJSONTyped = McpJsonRpcRequestIdUioFromJSONTyped;
|
|
18
|
+
exports.McpJsonRpcRequestIdUioToJSON = McpJsonRpcRequestIdUioToJSON;
|
|
19
|
+
exports.McpJsonRpcRequestIdUioToJSONTyped = McpJsonRpcRequestIdUioToJSONTyped;
|
|
20
|
+
function McpJsonRpcRequestIdUioFromJSON(json) {
|
|
21
|
+
return McpJsonRpcRequestIdUioFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
function McpJsonRpcRequestIdUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {};
|
|
28
|
+
}
|
|
29
|
+
function McpJsonRpcRequestIdUioToJSON(json) {
|
|
30
|
+
return McpJsonRpcRequestIdUioToJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function McpJsonRpcRequestIdUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
33
|
+
if (value == null) {
|
|
34
|
+
return value;
|
|
35
|
+
}
|
|
36
|
+
return {};
|
|
37
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
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 { McpJsonRpcRequestIdUio } from './McpJsonRpcRequestIdUio';
|
|
13
|
+
/**
|
|
14
|
+
* Message JSON-RPC 2.0 du Model Context Protocol (transport Streamable HTTP). Les méthodes utiles sont initialize, notifications/initialized, tools/list et tools/call. Un lot (tableau de messages) est aussi accepté par le transport.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface McpJsonRpcRequestUio
|
|
17
|
+
*/
|
|
18
|
+
export interface McpJsonRpcRequestUio {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof McpJsonRpcRequestUio
|
|
23
|
+
*/
|
|
24
|
+
jsonrpc: McpJsonRpcRequestUioJsonrpcEnum;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {McpJsonRpcRequestIdUio}
|
|
28
|
+
* @memberof McpJsonRpcRequestUio
|
|
29
|
+
*/
|
|
30
|
+
id?: McpJsonRpcRequestIdUio;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof McpJsonRpcRequestUio
|
|
35
|
+
*/
|
|
36
|
+
method: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {{ [key: string]: any; }}
|
|
40
|
+
* @memberof McpJsonRpcRequestUio
|
|
41
|
+
*/
|
|
42
|
+
params?: {
|
|
43
|
+
[key: string]: any;
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* @export
|
|
48
|
+
*/
|
|
49
|
+
export declare const McpJsonRpcRequestUioJsonrpcEnum: {
|
|
50
|
+
readonly _20: "2.0";
|
|
51
|
+
};
|
|
52
|
+
export type McpJsonRpcRequestUioJsonrpcEnum = typeof McpJsonRpcRequestUioJsonrpcEnum[keyof typeof McpJsonRpcRequestUioJsonrpcEnum];
|
|
53
|
+
/**
|
|
54
|
+
* Check if a given object implements the McpJsonRpcRequestUio interface.
|
|
55
|
+
*/
|
|
56
|
+
export declare function instanceOfMcpJsonRpcRequestUio(value: object): value is McpJsonRpcRequestUio;
|
|
57
|
+
export declare function McpJsonRpcRequestUioFromJSON(json: any): McpJsonRpcRequestUio;
|
|
58
|
+
export declare function McpJsonRpcRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): McpJsonRpcRequestUio;
|
|
59
|
+
export declare function McpJsonRpcRequestUioToJSON(json: any): McpJsonRpcRequestUio;
|
|
60
|
+
export declare function McpJsonRpcRequestUioToJSONTyped(value?: McpJsonRpcRequestUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,66 @@
|
|
|
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.McpJsonRpcRequestUioJsonrpcEnum = void 0;
|
|
17
|
+
exports.instanceOfMcpJsonRpcRequestUio = instanceOfMcpJsonRpcRequestUio;
|
|
18
|
+
exports.McpJsonRpcRequestUioFromJSON = McpJsonRpcRequestUioFromJSON;
|
|
19
|
+
exports.McpJsonRpcRequestUioFromJSONTyped = McpJsonRpcRequestUioFromJSONTyped;
|
|
20
|
+
exports.McpJsonRpcRequestUioToJSON = McpJsonRpcRequestUioToJSON;
|
|
21
|
+
exports.McpJsonRpcRequestUioToJSONTyped = McpJsonRpcRequestUioToJSONTyped;
|
|
22
|
+
const McpJsonRpcRequestIdUio_1 = require("./McpJsonRpcRequestIdUio");
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.McpJsonRpcRequestUioJsonrpcEnum = {
|
|
27
|
+
_20: '2.0'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the McpJsonRpcRequestUio interface.
|
|
31
|
+
*/
|
|
32
|
+
function instanceOfMcpJsonRpcRequestUio(value) {
|
|
33
|
+
if (!('jsonrpc' in value) || value['jsonrpc'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('method' in value) || value['method'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
function McpJsonRpcRequestUioFromJSON(json) {
|
|
40
|
+
return McpJsonRpcRequestUioFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function McpJsonRpcRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'jsonrpc': json['jsonrpc'],
|
|
48
|
+
'id': json['id'] == null ? undefined : (0, McpJsonRpcRequestIdUio_1.McpJsonRpcRequestIdUioFromJSON)(json['id']),
|
|
49
|
+
'method': json['method'],
|
|
50
|
+
'params': json['params'] == null ? undefined : json['params'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
function McpJsonRpcRequestUioToJSON(json) {
|
|
54
|
+
return McpJsonRpcRequestUioToJSONTyped(json, false);
|
|
55
|
+
}
|
|
56
|
+
function McpJsonRpcRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
'jsonrpc': value['jsonrpc'],
|
|
62
|
+
'id': (0, McpJsonRpcRequestIdUio_1.McpJsonRpcRequestIdUioToJSON)(value['id']),
|
|
63
|
+
'method': value['method'],
|
|
64
|
+
'params': value['params'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
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
|
+
* @type McpJsonRpcResponseIdUio
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export type McpJsonRpcResponseIdUio = number | string;
|
|
18
|
+
export declare function McpJsonRpcResponseIdUioFromJSON(json: any): McpJsonRpcResponseIdUio;
|
|
19
|
+
export declare function McpJsonRpcResponseIdUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): McpJsonRpcResponseIdUio;
|
|
20
|
+
export declare function McpJsonRpcResponseIdUioToJSON(json: any): any;
|
|
21
|
+
export declare function McpJsonRpcResponseIdUioToJSONTyped(value?: McpJsonRpcResponseIdUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,37 @@
|
|
|
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.McpJsonRpcResponseIdUioFromJSON = McpJsonRpcResponseIdUioFromJSON;
|
|
17
|
+
exports.McpJsonRpcResponseIdUioFromJSONTyped = McpJsonRpcResponseIdUioFromJSONTyped;
|
|
18
|
+
exports.McpJsonRpcResponseIdUioToJSON = McpJsonRpcResponseIdUioToJSON;
|
|
19
|
+
exports.McpJsonRpcResponseIdUioToJSONTyped = McpJsonRpcResponseIdUioToJSONTyped;
|
|
20
|
+
function McpJsonRpcResponseIdUioFromJSON(json) {
|
|
21
|
+
return McpJsonRpcResponseIdUioFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
function McpJsonRpcResponseIdUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {};
|
|
28
|
+
}
|
|
29
|
+
function McpJsonRpcResponseIdUioToJSON(json) {
|
|
30
|
+
return McpJsonRpcResponseIdUioToJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function McpJsonRpcResponseIdUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
33
|
+
if (value == null) {
|
|
34
|
+
return value;
|
|
35
|
+
}
|
|
36
|
+
return {};
|
|
37
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
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 { McpJsonRpcResponseIdUio } from './McpJsonRpcResponseIdUio';
|
|
13
|
+
import type { McpCallToolResultUio } from './McpCallToolResultUio';
|
|
14
|
+
import type { McpJsonRpcErrorUio } from './McpJsonRpcErrorUio';
|
|
15
|
+
/**
|
|
16
|
+
* Réponse JSON-RPC 2.0 ; `result` ou `error`, jamais les deux.
|
|
17
|
+
* @export
|
|
18
|
+
* @interface McpJsonRpcResponseUio
|
|
19
|
+
*/
|
|
20
|
+
export interface McpJsonRpcResponseUio {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof McpJsonRpcResponseUio
|
|
25
|
+
*/
|
|
26
|
+
jsonrpc: McpJsonRpcResponseUioJsonrpcEnum;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {McpJsonRpcResponseIdUio}
|
|
30
|
+
* @memberof McpJsonRpcResponseUio
|
|
31
|
+
*/
|
|
32
|
+
id?: McpJsonRpcResponseIdUio | null;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {McpCallToolResultUio}
|
|
36
|
+
* @memberof McpJsonRpcResponseUio
|
|
37
|
+
*/
|
|
38
|
+
result?: McpCallToolResultUio;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {McpJsonRpcErrorUio}
|
|
42
|
+
* @memberof McpJsonRpcResponseUio
|
|
43
|
+
*/
|
|
44
|
+
error?: McpJsonRpcErrorUio;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* @export
|
|
48
|
+
*/
|
|
49
|
+
export declare const McpJsonRpcResponseUioJsonrpcEnum: {
|
|
50
|
+
readonly _20: "2.0";
|
|
51
|
+
};
|
|
52
|
+
export type McpJsonRpcResponseUioJsonrpcEnum = typeof McpJsonRpcResponseUioJsonrpcEnum[keyof typeof McpJsonRpcResponseUioJsonrpcEnum];
|
|
53
|
+
/**
|
|
54
|
+
* Check if a given object implements the McpJsonRpcResponseUio interface.
|
|
55
|
+
*/
|
|
56
|
+
export declare function instanceOfMcpJsonRpcResponseUio(value: object): value is McpJsonRpcResponseUio;
|
|
57
|
+
export declare function McpJsonRpcResponseUioFromJSON(json: any): McpJsonRpcResponseUio;
|
|
58
|
+
export declare function McpJsonRpcResponseUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): McpJsonRpcResponseUio;
|
|
59
|
+
export declare function McpJsonRpcResponseUioToJSON(json: any): McpJsonRpcResponseUio;
|
|
60
|
+
export declare function McpJsonRpcResponseUioToJSONTyped(value?: McpJsonRpcResponseUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,66 @@
|
|
|
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.McpJsonRpcResponseUioJsonrpcEnum = void 0;
|
|
17
|
+
exports.instanceOfMcpJsonRpcResponseUio = instanceOfMcpJsonRpcResponseUio;
|
|
18
|
+
exports.McpJsonRpcResponseUioFromJSON = McpJsonRpcResponseUioFromJSON;
|
|
19
|
+
exports.McpJsonRpcResponseUioFromJSONTyped = McpJsonRpcResponseUioFromJSONTyped;
|
|
20
|
+
exports.McpJsonRpcResponseUioToJSON = McpJsonRpcResponseUioToJSON;
|
|
21
|
+
exports.McpJsonRpcResponseUioToJSONTyped = McpJsonRpcResponseUioToJSONTyped;
|
|
22
|
+
const McpJsonRpcResponseIdUio_1 = require("./McpJsonRpcResponseIdUio");
|
|
23
|
+
const McpCallToolResultUio_1 = require("./McpCallToolResultUio");
|
|
24
|
+
const McpJsonRpcErrorUio_1 = require("./McpJsonRpcErrorUio");
|
|
25
|
+
/**
|
|
26
|
+
* @export
|
|
27
|
+
*/
|
|
28
|
+
exports.McpJsonRpcResponseUioJsonrpcEnum = {
|
|
29
|
+
_20: '2.0'
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the McpJsonRpcResponseUio interface.
|
|
33
|
+
*/
|
|
34
|
+
function instanceOfMcpJsonRpcResponseUio(value) {
|
|
35
|
+
if (!('jsonrpc' in value) || value['jsonrpc'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
function McpJsonRpcResponseUioFromJSON(json) {
|
|
40
|
+
return McpJsonRpcResponseUioFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function McpJsonRpcResponseUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'jsonrpc': json['jsonrpc'],
|
|
48
|
+
'id': json['id'] == null ? undefined : (0, McpJsonRpcResponseIdUio_1.McpJsonRpcResponseIdUioFromJSON)(json['id']),
|
|
49
|
+
'result': json['result'] == null ? undefined : (0, McpCallToolResultUio_1.McpCallToolResultUioFromJSON)(json['result']),
|
|
50
|
+
'error': json['error'] == null ? undefined : (0, McpJsonRpcErrorUio_1.McpJsonRpcErrorUioFromJSON)(json['error']),
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
function McpJsonRpcResponseUioToJSON(json) {
|
|
54
|
+
return McpJsonRpcResponseUioToJSONTyped(json, false);
|
|
55
|
+
}
|
|
56
|
+
function McpJsonRpcResponseUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
'jsonrpc': value['jsonrpc'],
|
|
62
|
+
'id': (0, McpJsonRpcResponseIdUio_1.McpJsonRpcResponseIdUioToJSON)(value['id']),
|
|
63
|
+
'result': (0, McpCallToolResultUio_1.McpCallToolResultUioToJSON)(value['result']),
|
|
64
|
+
'error': (0, McpJsonRpcErrorUio_1.McpJsonRpcErrorUioToJSON)(value['error']),
|
|
65
|
+
};
|
|
66
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* brain-client
|
|
3
|
+
* Api ands models for brain-app and brain-app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface McpTextContentUio
|
|
16
|
+
*/
|
|
17
|
+
export interface McpTextContentUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof McpTextContentUio
|
|
22
|
+
*/
|
|
23
|
+
type: McpTextContentUioTypeEnum;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof McpTextContentUio
|
|
28
|
+
*/
|
|
29
|
+
text: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
export declare const McpTextContentUioTypeEnum: {
|
|
35
|
+
readonly Text: "text";
|
|
36
|
+
};
|
|
37
|
+
export type McpTextContentUioTypeEnum = typeof McpTextContentUioTypeEnum[keyof typeof McpTextContentUioTypeEnum];
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the McpTextContentUio interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfMcpTextContentUio(value: object): value is McpTextContentUio;
|
|
42
|
+
export declare function McpTextContentUioFromJSON(json: any): McpTextContentUio;
|
|
43
|
+
export declare function McpTextContentUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): McpTextContentUio;
|
|
44
|
+
export declare function McpTextContentUioToJSON(json: any): McpTextContentUio;
|
|
45
|
+
export declare function McpTextContentUioToJSONTyped(value?: McpTextContentUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,61 @@
|
|
|
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.McpTextContentUioTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfMcpTextContentUio = instanceOfMcpTextContentUio;
|
|
18
|
+
exports.McpTextContentUioFromJSON = McpTextContentUioFromJSON;
|
|
19
|
+
exports.McpTextContentUioFromJSONTyped = McpTextContentUioFromJSONTyped;
|
|
20
|
+
exports.McpTextContentUioToJSON = McpTextContentUioToJSON;
|
|
21
|
+
exports.McpTextContentUioToJSONTyped = McpTextContentUioToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.McpTextContentUioTypeEnum = {
|
|
26
|
+
Text: 'text'
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Check if a given object implements the McpTextContentUio interface.
|
|
30
|
+
*/
|
|
31
|
+
function instanceOfMcpTextContentUio(value) {
|
|
32
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('text' in value) || value['text'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
function McpTextContentUioFromJSON(json) {
|
|
39
|
+
return McpTextContentUioFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function McpTextContentUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
|
+
if (json == null) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'type': json['type'],
|
|
47
|
+
'text': json['text'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function McpTextContentUioToJSON(json) {
|
|
51
|
+
return McpTextContentUioToJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
function McpTextContentUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'type': value['type'],
|
|
59
|
+
'text': value['text'],
|
|
60
|
+
};
|
|
61
|
+
}
|
|
@@ -0,0 +1,114 @@
|
|
|
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
|
+
* Contenu structuré rendu par les outils ask_agent et wait_for_reply. Tant que le statut est pending ou waiting_human, l'agent local rappelle wait_for_reply avec le ticket.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface McpTicketViewUio
|
|
16
|
+
*/
|
|
17
|
+
export interface McpTicketViewUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof McpTicketViewUio
|
|
22
|
+
*/
|
|
23
|
+
status: McpTicketViewUioStatusEnum;
|
|
24
|
+
/**
|
|
25
|
+
* `<conversationId>/<messageId>` du message qui portera la réponse.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof McpTicketViewUio
|
|
28
|
+
*/
|
|
29
|
+
ticket: string;
|
|
30
|
+
/**
|
|
31
|
+
* Fil à passer à ask_agent pour poursuivre dans la même conversation.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof McpTicketViewUio
|
|
34
|
+
*/
|
|
35
|
+
conversationId: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof McpTicketViewUio
|
|
40
|
+
*/
|
|
41
|
+
messageId: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof McpTicketViewUio
|
|
46
|
+
*/
|
|
47
|
+
agentName?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Présent quand status vaut completed.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof McpTicketViewUio
|
|
52
|
+
*/
|
|
53
|
+
reply?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Ce que fait l'agent quand status vaut pending.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof McpTicketViewUio
|
|
58
|
+
*/
|
|
59
|
+
activity?: string;
|
|
60
|
+
/**
|
|
61
|
+
* Question posée à un humain quand status vaut waiting_human.
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof McpTicketViewUio
|
|
64
|
+
*/
|
|
65
|
+
question?: string;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {Array<string>}
|
|
69
|
+
* @memberof McpTicketViewUio
|
|
70
|
+
*/
|
|
71
|
+
options?: Array<string>;
|
|
72
|
+
/**
|
|
73
|
+
* Nom ou e-mail de l'humain attendu.
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof McpTicketViewUio
|
|
76
|
+
*/
|
|
77
|
+
human?: string;
|
|
78
|
+
/**
|
|
79
|
+
* Agent qui pose la question, quand ce n'est pas l'agent interrogé (escalade en chaîne).
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof McpTicketViewUio
|
|
82
|
+
*/
|
|
83
|
+
askingAgentName?: string;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {Date}
|
|
87
|
+
* @memberof McpTicketViewUio
|
|
88
|
+
*/
|
|
89
|
+
expiresAt?: Date;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof McpTicketViewUio
|
|
94
|
+
*/
|
|
95
|
+
error?: string;
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* @export
|
|
99
|
+
*/
|
|
100
|
+
export declare const McpTicketViewUioStatusEnum: {
|
|
101
|
+
readonly Pending: "pending";
|
|
102
|
+
readonly WaitingHuman: "waiting_human";
|
|
103
|
+
readonly Completed: "completed";
|
|
104
|
+
readonly Failed: "failed";
|
|
105
|
+
};
|
|
106
|
+
export type McpTicketViewUioStatusEnum = typeof McpTicketViewUioStatusEnum[keyof typeof McpTicketViewUioStatusEnum];
|
|
107
|
+
/**
|
|
108
|
+
* Check if a given object implements the McpTicketViewUio interface.
|
|
109
|
+
*/
|
|
110
|
+
export declare function instanceOfMcpTicketViewUio(value: object): value is McpTicketViewUio;
|
|
111
|
+
export declare function McpTicketViewUioFromJSON(json: any): McpTicketViewUio;
|
|
112
|
+
export declare function McpTicketViewUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): McpTicketViewUio;
|
|
113
|
+
export declare function McpTicketViewUioToJSON(json: any): McpTicketViewUio;
|
|
114
|
+
export declare function McpTicketViewUioToJSONTyped(value?: McpTicketViewUio | null, ignoreDiscriminator?: boolean): any;
|