@breign/client 1.0.19 → 1.0.21

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 (34) hide show
  1. package/dist/apis/EngineApi.d.ts +13 -0
  2. package/dist/apis/EngineApi.js +29 -0
  3. package/dist/apis/KnowledgeApi.d.ts +14 -0
  4. package/dist/apis/KnowledgeApi.js +31 -0
  5. package/dist/apis/ToolsApi.d.ts +63 -1
  6. package/dist/apis/ToolsApi.js +152 -0
  7. package/dist/models/AgentModuleUio.d.ts +1 -1
  8. package/dist/models/AgentModuleUio.js +3 -3
  9. package/dist/models/AgentToolUio.d.ts +9 -1
  10. package/dist/models/AgentToolUio.js +4 -2
  11. package/dist/models/GuardianEngineUio.d.ts +1 -1
  12. package/dist/models/GuardianEngineUio.js +3 -3
  13. package/dist/models/RevealTokenRequestUio.d.ts +32 -0
  14. package/dist/models/RevealTokenRequestUio.js +50 -0
  15. package/dist/models/RevealTokenResponseUio.d.ts +32 -0
  16. package/dist/models/RevealTokenResponseUio.js +50 -0
  17. package/dist/models/SetTokenRequestUio.d.ts +32 -0
  18. package/dist/models/SetTokenRequestUio.js +50 -0
  19. package/dist/models/ToolCreateRequestUio.d.ts +58 -0
  20. package/dist/models/ToolCreateRequestUio.js +64 -0
  21. package/dist/models/ToolSecureConfigurationUio.d.ts +75 -0
  22. package/dist/models/ToolSecureConfigurationUio.js +61 -0
  23. package/dist/models/ToolSecureManifestUio.d.ts +35 -0
  24. package/dist/models/ToolSecureManifestUio.js +50 -0
  25. package/dist/models/ToolSecureMcpDefinitionUio.d.ts +51 -0
  26. package/dist/models/ToolSecureMcpDefinitionUio.js +56 -0
  27. package/dist/models/ToolSecureMcpUio.d.ts +46 -0
  28. package/dist/models/ToolSecureMcpUio.js +55 -0
  29. package/dist/models/ToolSecureUio.d.ts +86 -0
  30. package/dist/models/ToolSecureUio.js +85 -0
  31. package/dist/models/index.d.ts +9 -0
  32. package/dist/models/index.js +9 -0
  33. package/dist/openapi.json +511 -0
  34. package/package.json +1 -1
@@ -0,0 +1,86 @@
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 { ToolSecureManifestUio } from './ToolSecureManifestUio';
13
+ import type { ToolSecureMcpUio } from './ToolSecureMcpUio';
14
+ import type { ToolSecureConfigurationUio } from './ToolSecureConfigurationUio';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface ToolSecureUio
19
+ */
20
+ export interface ToolSecureUio {
21
+ [key: string]: any | any;
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof ToolSecureUio
26
+ */
27
+ id: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof ToolSecureUio
32
+ */
33
+ orgId: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof ToolSecureUio
38
+ */
39
+ name: string;
40
+ /**
41
+ *
42
+ * @type {string}
43
+ * @memberof ToolSecureUio
44
+ */
45
+ description?: string | null;
46
+ /**
47
+ * tool_api | mcp
48
+ * @type {string}
49
+ * @memberof ToolSecureUio
50
+ */
51
+ type: ToolSecureUioTypeEnum;
52
+ /**
53
+ *
54
+ * @type {ToolSecureConfigurationUio}
55
+ * @memberof ToolSecureUio
56
+ */
57
+ configuration: ToolSecureConfigurationUio;
58
+ /**
59
+ *
60
+ * @type {ToolSecureManifestUio}
61
+ * @memberof ToolSecureUio
62
+ */
63
+ manifest?: ToolSecureManifestUio | null;
64
+ /**
65
+ *
66
+ * @type {ToolSecureMcpUio}
67
+ * @memberof ToolSecureUio
68
+ */
69
+ mcp?: ToolSecureMcpUio | null;
70
+ }
71
+ /**
72
+ * @export
73
+ */
74
+ export declare const ToolSecureUioTypeEnum: {
75
+ readonly ToolApi: "tool_api";
76
+ readonly Mcp: "mcp";
77
+ };
78
+ export type ToolSecureUioTypeEnum = typeof ToolSecureUioTypeEnum[keyof typeof ToolSecureUioTypeEnum];
79
+ /**
80
+ * Check if a given object implements the ToolSecureUio interface.
81
+ */
82
+ export declare function instanceOfToolSecureUio(value: object): value is ToolSecureUio;
83
+ export declare function ToolSecureUioFromJSON(json: any): ToolSecureUio;
84
+ export declare function ToolSecureUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): ToolSecureUio;
85
+ export declare function ToolSecureUioToJSON(json: any): ToolSecureUio;
86
+ export declare function ToolSecureUioToJSONTyped(value?: ToolSecureUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,85 @@
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.ToolSecureUioTypeEnum = void 0;
17
+ exports.instanceOfToolSecureUio = instanceOfToolSecureUio;
18
+ exports.ToolSecureUioFromJSON = ToolSecureUioFromJSON;
19
+ exports.ToolSecureUioFromJSONTyped = ToolSecureUioFromJSONTyped;
20
+ exports.ToolSecureUioToJSON = ToolSecureUioToJSON;
21
+ exports.ToolSecureUioToJSONTyped = ToolSecureUioToJSONTyped;
22
+ const ToolSecureManifestUio_1 = require("./ToolSecureManifestUio");
23
+ const ToolSecureMcpUio_1 = require("./ToolSecureMcpUio");
24
+ const ToolSecureConfigurationUio_1 = require("./ToolSecureConfigurationUio");
25
+ /**
26
+ * @export
27
+ */
28
+ exports.ToolSecureUioTypeEnum = {
29
+ ToolApi: 'tool_api',
30
+ Mcp: 'mcp'
31
+ };
32
+ /**
33
+ * Check if a given object implements the ToolSecureUio interface.
34
+ */
35
+ function instanceOfToolSecureUio(value) {
36
+ if (!('id' in value) || value['id'] === undefined)
37
+ return false;
38
+ if (!('orgId' in value) || value['orgId'] === undefined)
39
+ return false;
40
+ if (!('name' in value) || value['name'] === undefined)
41
+ return false;
42
+ if (!('type' in value) || value['type'] === undefined)
43
+ return false;
44
+ if (!('configuration' in value) || value['configuration'] === undefined)
45
+ return false;
46
+ return true;
47
+ }
48
+ function ToolSecureUioFromJSON(json) {
49
+ return ToolSecureUioFromJSONTyped(json, false);
50
+ }
51
+ function ToolSecureUioFromJSONTyped(json, ignoreDiscriminator) {
52
+ if (json == null) {
53
+ return json;
54
+ }
55
+ return {
56
+ ...json,
57
+ 'id': json['_id'],
58
+ 'orgId': json['orgId'],
59
+ 'name': json['name'],
60
+ 'description': json['description'] == null ? undefined : json['description'],
61
+ 'type': json['type'],
62
+ 'configuration': (0, ToolSecureConfigurationUio_1.ToolSecureConfigurationUioFromJSON)(json['configuration']),
63
+ 'manifest': json['manifest'] == null ? undefined : (0, ToolSecureManifestUio_1.ToolSecureManifestUioFromJSON)(json['manifest']),
64
+ 'mcp': json['mcp'] == null ? undefined : (0, ToolSecureMcpUio_1.ToolSecureMcpUioFromJSON)(json['mcp']),
65
+ };
66
+ }
67
+ function ToolSecureUioToJSON(json) {
68
+ return ToolSecureUioToJSONTyped(json, false);
69
+ }
70
+ function ToolSecureUioToJSONTyped(value, ignoreDiscriminator = false) {
71
+ if (value == null) {
72
+ return value;
73
+ }
74
+ return {
75
+ ...value,
76
+ '_id': value['id'],
77
+ 'orgId': value['orgId'],
78
+ 'name': value['name'],
79
+ 'description': value['description'],
80
+ 'type': value['type'],
81
+ 'configuration': (0, ToolSecureConfigurationUio_1.ToolSecureConfigurationUioToJSON)(value['configuration']),
82
+ 'manifest': (0, ToolSecureManifestUio_1.ToolSecureManifestUioToJSON)(value['manifest']),
83
+ 'mcp': (0, ToolSecureMcpUio_1.ToolSecureMcpUioToJSON)(value['mcp']),
84
+ };
85
+ }
@@ -142,8 +142,11 @@ export * from './ProviderSimpleUio';
142
142
  export * from './ProviderTypeUio';
143
143
  export * from './ProviderUio';
144
144
  export * from './ProviderValiationRequestUio';
145
+ export * from './RevealTokenRequestUio';
146
+ export * from './RevealTokenResponseUio';
145
147
  export * from './S3UploadBodyUio';
146
148
  export * from './STTResponseUio';
149
+ export * from './SetTokenRequestUio';
147
150
  export * from './SimpleAgentUio';
148
151
  export * from './SubscriptionMetricUio';
149
152
  export * from './SuggestionUio';
@@ -151,9 +154,15 @@ export * from './TTSRequestUio';
151
154
  export * from './TTSResponseUio';
152
155
  export * from './TextToSpeechProviderUio';
153
156
  export * from './ToolActionUio';
157
+ export * from './ToolCreateRequestUio';
154
158
  export * from './ToolResultUio';
155
159
  export * from './ToolResultsToolUio';
156
160
  export * from './ToolResultsUio';
161
+ export * from './ToolSecureConfigurationUio';
162
+ export * from './ToolSecureManifestUio';
163
+ export * from './ToolSecureMcpDefinitionUio';
164
+ export * from './ToolSecureMcpUio';
165
+ export * from './ToolSecureUio';
157
166
  export * from './TransactionUio';
158
167
  export * from './UserUio';
159
168
  export * from './UserUserUio';
@@ -160,8 +160,11 @@ __exportStar(require("./ProviderSimpleUio"), exports);
160
160
  __exportStar(require("./ProviderTypeUio"), exports);
161
161
  __exportStar(require("./ProviderUio"), exports);
162
162
  __exportStar(require("./ProviderValiationRequestUio"), exports);
163
+ __exportStar(require("./RevealTokenRequestUio"), exports);
164
+ __exportStar(require("./RevealTokenResponseUio"), exports);
163
165
  __exportStar(require("./S3UploadBodyUio"), exports);
164
166
  __exportStar(require("./STTResponseUio"), exports);
167
+ __exportStar(require("./SetTokenRequestUio"), exports);
165
168
  __exportStar(require("./SimpleAgentUio"), exports);
166
169
  __exportStar(require("./SubscriptionMetricUio"), exports);
167
170
  __exportStar(require("./SuggestionUio"), exports);
@@ -169,9 +172,15 @@ __exportStar(require("./TTSRequestUio"), exports);
169
172
  __exportStar(require("./TTSResponseUio"), exports);
170
173
  __exportStar(require("./TextToSpeechProviderUio"), exports);
171
174
  __exportStar(require("./ToolActionUio"), exports);
175
+ __exportStar(require("./ToolCreateRequestUio"), exports);
172
176
  __exportStar(require("./ToolResultUio"), exports);
173
177
  __exportStar(require("./ToolResultsToolUio"), exports);
174
178
  __exportStar(require("./ToolResultsUio"), exports);
179
+ __exportStar(require("./ToolSecureConfigurationUio"), exports);
180
+ __exportStar(require("./ToolSecureManifestUio"), exports);
181
+ __exportStar(require("./ToolSecureMcpDefinitionUio"), exports);
182
+ __exportStar(require("./ToolSecureMcpUio"), exports);
183
+ __exportStar(require("./ToolSecureUio"), exports);
175
184
  __exportStar(require("./TransactionUio"), exports);
176
185
  __exportStar(require("./UserUio"), exports);
177
186
  __exportStar(require("./UserUserUio"), exports);