@breign/client 1.0.156 → 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.
Files changed (66) hide show
  1. package/dist/apis/ConversationsApi.d.ts +28 -1
  2. package/dist/apis/ConversationsApi.js +63 -0
  3. package/dist/apis/McpApi.d.ts +58 -0
  4. package/dist/apis/McpApi.js +154 -0
  5. package/dist/apis/MetricsApi.d.ts +16 -1
  6. package/dist/apis/MetricsApi.js +35 -0
  7. package/dist/apis/index.d.ts +1 -0
  8. package/dist/apis/index.js +1 -0
  9. package/dist/models/AgentChatOverviewEntryUio.d.ts +6 -0
  10. package/dist/models/AgentChatOverviewEntryUio.js +2 -0
  11. package/dist/models/AgentHumanEscalationConfigurationUio.d.ts +44 -0
  12. package/dist/models/AgentHumanEscalationConfigurationUio.js +52 -0
  13. package/dist/models/AgentMcpExposureConfigurationUio.d.ts +32 -0
  14. package/dist/models/AgentMcpExposureConfigurationUio.js +48 -0
  15. package/dist/models/AgentPatchUio.d.ts +17 -3
  16. package/dist/models/AgentPatchUio.js +9 -3
  17. package/dist/models/AgentUio.d.ts +14 -0
  18. package/dist/models/AgentUio.js +6 -0
  19. package/dist/models/ChatMessageUio.d.ts +7 -0
  20. package/dist/models/ChatMessageUio.js +3 -0
  21. package/dist/models/ConversationHumanRequestRequestedByUio.d.ts +46 -0
  22. package/dist/models/ConversationHumanRequestRequestedByUio.js +60 -0
  23. package/dist/models/ConversationHumanRequestUio.d.ts +109 -0
  24. package/dist/models/ConversationHumanRequestUio.js +93 -0
  25. package/dist/models/HumanRequestAnswerResultUio.d.ts +40 -0
  26. package/dist/models/HumanRequestAnswerResultUio.js +58 -0
  27. package/dist/models/HumanRequestAnswerUio.d.ts +38 -0
  28. package/dist/models/HumanRequestAnswerUio.js +50 -0
  29. package/dist/models/HumanRequestSummaryRequestedByUio.d.ts +46 -0
  30. package/dist/models/HumanRequestSummaryRequestedByUio.js +58 -0
  31. package/dist/models/HumanRequestSummaryUio.d.ts +93 -0
  32. package/dist/models/HumanRequestSummaryUio.js +81 -0
  33. package/dist/models/McpAgentListAgentsInnerUio.d.ts +50 -0
  34. package/dist/models/McpAgentListAgentsInnerUio.js +58 -0
  35. package/dist/models/McpAgentListUio.d.ts +33 -0
  36. package/dist/models/McpAgentListUio.js +51 -0
  37. package/dist/models/McpCallToolResultStructuredContentUio.d.ts +23 -0
  38. package/dist/models/McpCallToolResultStructuredContentUio.js +57 -0
  39. package/dist/models/McpCallToolResultUio.d.ts +47 -0
  40. package/dist/models/McpCallToolResultUio.js +56 -0
  41. package/dist/models/McpJsonRpcErrorUio.d.ts +38 -0
  42. package/dist/models/McpJsonRpcErrorUio.js +54 -0
  43. package/dist/models/McpJsonRpcRequestIdUio.d.ts +21 -0
  44. package/dist/models/McpJsonRpcRequestIdUio.js +37 -0
  45. package/dist/models/McpJsonRpcRequestUio.d.ts +60 -0
  46. package/dist/models/McpJsonRpcRequestUio.js +66 -0
  47. package/dist/models/McpJsonRpcResponseIdUio.d.ts +21 -0
  48. package/dist/models/McpJsonRpcResponseIdUio.js +37 -0
  49. package/dist/models/McpJsonRpcResponseUio.d.ts +60 -0
  50. package/dist/models/McpJsonRpcResponseUio.js +66 -0
  51. package/dist/models/McpTextContentUio.d.ts +45 -0
  52. package/dist/models/McpTextContentUio.js +61 -0
  53. package/dist/models/McpTicketViewUio.d.ts +114 -0
  54. package/dist/models/McpTicketViewUio.js +90 -0
  55. package/dist/models/ModelConsumptionItemUio.d.ts +81 -0
  56. package/dist/models/ModelConsumptionItemUio.js +83 -0
  57. package/dist/models/ModelConsumptionSliceUio.d.ts +78 -0
  58. package/dist/models/ModelConsumptionSliceUio.js +84 -0
  59. package/dist/models/OrganizationModelConsumptionTotalUio.d.ts +56 -0
  60. package/dist/models/OrganizationModelConsumptionTotalUio.js +66 -0
  61. package/dist/models/OrganizationModelConsumptionUio.d.ts +40 -0
  62. package/dist/models/OrganizationModelConsumptionUio.js +56 -0
  63. package/dist/models/index.d.ts +23 -0
  64. package/dist/models/index.js +23 -0
  65. package/dist/openapi.json +797 -10
  66. package/package.json +1 -1
@@ -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;
@@ -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
+ }