@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,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.instanceOfMcpCallLogsDeletedResponseUio = instanceOfMcpCallLogsDeletedResponseUio;
|
|
17
|
+
exports.McpCallLogsDeletedResponseUioFromJSON = McpCallLogsDeletedResponseUioFromJSON;
|
|
18
|
+
exports.McpCallLogsDeletedResponseUioFromJSONTyped = McpCallLogsDeletedResponseUioFromJSONTyped;
|
|
19
|
+
exports.McpCallLogsDeletedResponseUioToJSON = McpCallLogsDeletedResponseUioToJSON;
|
|
20
|
+
exports.McpCallLogsDeletedResponseUioToJSONTyped = McpCallLogsDeletedResponseUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the McpCallLogsDeletedResponseUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfMcpCallLogsDeletedResponseUio(value) {
|
|
25
|
+
if (!('deleted' in value) || value['deleted'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function McpCallLogsDeletedResponseUioFromJSON(json) {
|
|
30
|
+
return McpCallLogsDeletedResponseUioFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function McpCallLogsDeletedResponseUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'deleted': json['deleted'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function McpCallLogsDeletedResponseUioToJSON(json) {
|
|
41
|
+
return McpCallLogsDeletedResponseUioToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function McpCallLogsDeletedResponseUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'deleted': value['deleted'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
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 { McpCallLogUio } from './McpCallLogUio';
|
|
13
|
+
import type { McpCallLogCursorUio } from './McpCallLogCursorUio';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface McpCallLogsResponseUio
|
|
18
|
+
*/
|
|
19
|
+
export interface McpCallLogsResponseUio {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Array<McpCallLogUio>}
|
|
23
|
+
* @memberof McpCallLogsResponseUio
|
|
24
|
+
*/
|
|
25
|
+
logs: Array<McpCallLogUio>;
|
|
26
|
+
/**
|
|
27
|
+
* Null once the last page has been served.
|
|
28
|
+
* @type {McpCallLogCursorUio}
|
|
29
|
+
* @memberof McpCallLogsResponseUio
|
|
30
|
+
*/
|
|
31
|
+
nextCursor: McpCallLogCursorUio | null;
|
|
32
|
+
/**
|
|
33
|
+
* Whether this tool is currently capturing arguments and responses.
|
|
34
|
+
* @type {boolean}
|
|
35
|
+
* @memberof McpCallLogsResponseUio
|
|
36
|
+
*/
|
|
37
|
+
payloadLogging: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Whether this tool records all of its activity. Off by default: only failures and configuration changes are kept, which is what an investigation actually reads.
|
|
40
|
+
* @type {boolean}
|
|
41
|
+
* @memberof McpCallLogsResponseUio
|
|
42
|
+
*/
|
|
43
|
+
verboseLogging: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* How long traces are kept before the nightly purge drops them.
|
|
46
|
+
* @type {number}
|
|
47
|
+
* @memberof McpCallLogsResponseUio
|
|
48
|
+
*/
|
|
49
|
+
retentionDays: number;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Check if a given object implements the McpCallLogsResponseUio interface.
|
|
53
|
+
*/
|
|
54
|
+
export declare function instanceOfMcpCallLogsResponseUio(value: object): value is McpCallLogsResponseUio;
|
|
55
|
+
export declare function McpCallLogsResponseUioFromJSON(json: any): McpCallLogsResponseUio;
|
|
56
|
+
export declare function McpCallLogsResponseUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): McpCallLogsResponseUio;
|
|
57
|
+
export declare function McpCallLogsResponseUioToJSON(json: any): McpCallLogsResponseUio;
|
|
58
|
+
export declare function McpCallLogsResponseUioToJSONTyped(value?: McpCallLogsResponseUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,68 @@
|
|
|
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.instanceOfMcpCallLogsResponseUio = instanceOfMcpCallLogsResponseUio;
|
|
17
|
+
exports.McpCallLogsResponseUioFromJSON = McpCallLogsResponseUioFromJSON;
|
|
18
|
+
exports.McpCallLogsResponseUioFromJSONTyped = McpCallLogsResponseUioFromJSONTyped;
|
|
19
|
+
exports.McpCallLogsResponseUioToJSON = McpCallLogsResponseUioToJSON;
|
|
20
|
+
exports.McpCallLogsResponseUioToJSONTyped = McpCallLogsResponseUioToJSONTyped;
|
|
21
|
+
const McpCallLogUio_1 = require("./McpCallLogUio");
|
|
22
|
+
const McpCallLogCursorUio_1 = require("./McpCallLogCursorUio");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the McpCallLogsResponseUio interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfMcpCallLogsResponseUio(value) {
|
|
27
|
+
if (!('logs' in value) || value['logs'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('nextCursor' in value) || value['nextCursor'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('payloadLogging' in value) || value['payloadLogging'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('verboseLogging' in value) || value['verboseLogging'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('retentionDays' in value) || value['retentionDays'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
function McpCallLogsResponseUioFromJSON(json) {
|
|
40
|
+
return McpCallLogsResponseUioFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function McpCallLogsResponseUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'logs': (json['logs'].map(McpCallLogUio_1.McpCallLogUioFromJSON)),
|
|
48
|
+
'nextCursor': (0, McpCallLogCursorUio_1.McpCallLogCursorUioFromJSON)(json['nextCursor']),
|
|
49
|
+
'payloadLogging': json['payloadLogging'],
|
|
50
|
+
'verboseLogging': json['verboseLogging'],
|
|
51
|
+
'retentionDays': json['retentionDays'],
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
function McpCallLogsResponseUioToJSON(json) {
|
|
55
|
+
return McpCallLogsResponseUioToJSONTyped(json, false);
|
|
56
|
+
}
|
|
57
|
+
function McpCallLogsResponseUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
58
|
+
if (value == null) {
|
|
59
|
+
return value;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
'logs': (value['logs'].map(McpCallLogUio_1.McpCallLogUioToJSON)),
|
|
63
|
+
'nextCursor': (0, McpCallLogCursorUio_1.McpCallLogCursorUioToJSON)(value['nextCursor']),
|
|
64
|
+
'payloadLogging': value['payloadLogging'],
|
|
65
|
+
'verboseLogging': value['verboseLogging'],
|
|
66
|
+
'retentionDays': value['retentionDays'],
|
|
67
|
+
};
|
|
68
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
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 { McpAgentListUio } from './McpAgentListUio';
|
|
13
|
+
import type { McpTicketViewUio } from './McpTicketViewUio';
|
|
14
|
+
/**
|
|
15
|
+
* @type McpCallToolResultStructuredContentUio
|
|
16
|
+
* McpTicketView pour ask_agent et wait_for_reply, McpAgentList pour list_agents.
|
|
17
|
+
* @export
|
|
18
|
+
*/
|
|
19
|
+
export type McpCallToolResultStructuredContentUio = McpAgentListUio | McpTicketViewUio;
|
|
20
|
+
export declare function McpCallToolResultStructuredContentUioFromJSON(json: any): McpCallToolResultStructuredContentUio;
|
|
21
|
+
export declare function McpCallToolResultStructuredContentUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): McpCallToolResultStructuredContentUio;
|
|
22
|
+
export declare function McpCallToolResultStructuredContentUioToJSON(json: any): any;
|
|
23
|
+
export declare function McpCallToolResultStructuredContentUioToJSONTyped(value?: McpCallToolResultStructuredContentUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,57 @@
|
|
|
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.McpCallToolResultStructuredContentUioFromJSON = McpCallToolResultStructuredContentUioFromJSON;
|
|
17
|
+
exports.McpCallToolResultStructuredContentUioFromJSONTyped = McpCallToolResultStructuredContentUioFromJSONTyped;
|
|
18
|
+
exports.McpCallToolResultStructuredContentUioToJSON = McpCallToolResultStructuredContentUioToJSON;
|
|
19
|
+
exports.McpCallToolResultStructuredContentUioToJSONTyped = McpCallToolResultStructuredContentUioToJSONTyped;
|
|
20
|
+
const McpAgentListUio_1 = require("./McpAgentListUio");
|
|
21
|
+
const McpTicketViewUio_1 = require("./McpTicketViewUio");
|
|
22
|
+
function McpCallToolResultStructuredContentUioFromJSON(json) {
|
|
23
|
+
return McpCallToolResultStructuredContentUioFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
function McpCallToolResultStructuredContentUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
if (typeof json !== 'object') {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
if ((0, McpAgentListUio_1.instanceOfMcpAgentListUio)(json)) {
|
|
33
|
+
return (0, McpAgentListUio_1.McpAgentListUioFromJSONTyped)(json, true);
|
|
34
|
+
}
|
|
35
|
+
if ((0, McpTicketViewUio_1.instanceOfMcpTicketViewUio)(json)) {
|
|
36
|
+
return (0, McpTicketViewUio_1.McpTicketViewUioFromJSONTyped)(json, true);
|
|
37
|
+
}
|
|
38
|
+
return {};
|
|
39
|
+
}
|
|
40
|
+
function McpCallToolResultStructuredContentUioToJSON(json) {
|
|
41
|
+
return McpCallToolResultStructuredContentUioToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function McpCallToolResultStructuredContentUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
if (typeof value !== 'object') {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
if ((0, McpAgentListUio_1.instanceOfMcpAgentListUio)(value)) {
|
|
51
|
+
return (0, McpAgentListUio_1.McpAgentListUioToJSON)(value);
|
|
52
|
+
}
|
|
53
|
+
if ((0, McpTicketViewUio_1.instanceOfMcpTicketViewUio)(value)) {
|
|
54
|
+
return (0, McpTicketViewUio_1.McpTicketViewUioToJSON)(value);
|
|
55
|
+
}
|
|
56
|
+
return {};
|
|
57
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
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 { McpCallToolResultStructuredContentUio } from './McpCallToolResultStructuredContentUio';
|
|
13
|
+
import type { McpTextContentUio } from './McpTextContentUio';
|
|
14
|
+
/**
|
|
15
|
+
* Résultat d'un tools/call (CallToolResult MCP). Les autres méthodes (initialize, tools/list) rendent leur propre résultat, conforme à la spécification MCP.
|
|
16
|
+
* @export
|
|
17
|
+
* @interface McpCallToolResultUio
|
|
18
|
+
*/
|
|
19
|
+
export interface McpCallToolResultUio {
|
|
20
|
+
[key: string]: any | any;
|
|
21
|
+
/**
|
|
22
|
+
* Texte destiné au modèle, consigne suivante comprise.
|
|
23
|
+
* @type {Array<McpTextContentUio>}
|
|
24
|
+
* @memberof McpCallToolResultUio
|
|
25
|
+
*/
|
|
26
|
+
content?: Array<McpTextContentUio>;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {McpCallToolResultStructuredContentUio}
|
|
30
|
+
* @memberof McpCallToolResultUio
|
|
31
|
+
*/
|
|
32
|
+
structuredContent?: McpCallToolResultStructuredContentUio;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {boolean}
|
|
36
|
+
* @memberof McpCallToolResultUio
|
|
37
|
+
*/
|
|
38
|
+
isError?: boolean;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Check if a given object implements the McpCallToolResultUio interface.
|
|
42
|
+
*/
|
|
43
|
+
export declare function instanceOfMcpCallToolResultUio(value: object): value is McpCallToolResultUio;
|
|
44
|
+
export declare function McpCallToolResultUioFromJSON(json: any): McpCallToolResultUio;
|
|
45
|
+
export declare function McpCallToolResultUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): McpCallToolResultUio;
|
|
46
|
+
export declare function McpCallToolResultUioToJSON(json: any): McpCallToolResultUio;
|
|
47
|
+
export declare function McpCallToolResultUioToJSONTyped(value?: McpCallToolResultUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
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.instanceOfMcpCallToolResultUio = instanceOfMcpCallToolResultUio;
|
|
17
|
+
exports.McpCallToolResultUioFromJSON = McpCallToolResultUioFromJSON;
|
|
18
|
+
exports.McpCallToolResultUioFromJSONTyped = McpCallToolResultUioFromJSONTyped;
|
|
19
|
+
exports.McpCallToolResultUioToJSON = McpCallToolResultUioToJSON;
|
|
20
|
+
exports.McpCallToolResultUioToJSONTyped = McpCallToolResultUioToJSONTyped;
|
|
21
|
+
const McpCallToolResultStructuredContentUio_1 = require("./McpCallToolResultStructuredContentUio");
|
|
22
|
+
const McpTextContentUio_1 = require("./McpTextContentUio");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the McpCallToolResultUio interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfMcpCallToolResultUio(value) {
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function McpCallToolResultUioFromJSON(json) {
|
|
30
|
+
return McpCallToolResultUioFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function McpCallToolResultUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
...json,
|
|
38
|
+
'content': json['content'] == null ? undefined : (json['content'].map(McpTextContentUio_1.McpTextContentUioFromJSON)),
|
|
39
|
+
'structuredContent': json['structuredContent'] == null ? undefined : (0, McpCallToolResultStructuredContentUio_1.McpCallToolResultStructuredContentUioFromJSON)(json['structuredContent']),
|
|
40
|
+
'isError': json['isError'] == null ? undefined : json['isError'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function McpCallToolResultUioToJSON(json) {
|
|
44
|
+
return McpCallToolResultUioToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function McpCallToolResultUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
...value,
|
|
52
|
+
'content': value['content'] == null ? undefined : (value['content'].map(McpTextContentUio_1.McpTextContentUioToJSON)),
|
|
53
|
+
'structuredContent': (0, McpCallToolResultStructuredContentUio_1.McpCallToolResultStructuredContentUioToJSON)(value['structuredContent']),
|
|
54
|
+
'isError': value['isError'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -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;
|