@breign/client 1.0.20 → 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 (32) hide show
  1. package/dist/apis/EngineApi.d.ts +13 -0
  2. package/dist/apis/EngineApi.js +29 -0
  3. package/dist/apis/ToolsApi.d.ts +63 -1
  4. package/dist/apis/ToolsApi.js +152 -0
  5. package/dist/models/AgentModuleUio.d.ts +1 -1
  6. package/dist/models/AgentModuleUio.js +3 -3
  7. package/dist/models/AgentToolUio.d.ts +9 -1
  8. package/dist/models/AgentToolUio.js +4 -2
  9. package/dist/models/GuardianEngineUio.d.ts +1 -1
  10. package/dist/models/GuardianEngineUio.js +3 -3
  11. package/dist/models/RevealTokenRequestUio.d.ts +32 -0
  12. package/dist/models/RevealTokenRequestUio.js +50 -0
  13. package/dist/models/RevealTokenResponseUio.d.ts +32 -0
  14. package/dist/models/RevealTokenResponseUio.js +50 -0
  15. package/dist/models/SetTokenRequestUio.d.ts +32 -0
  16. package/dist/models/SetTokenRequestUio.js +50 -0
  17. package/dist/models/ToolCreateRequestUio.d.ts +58 -0
  18. package/dist/models/ToolCreateRequestUio.js +64 -0
  19. package/dist/models/ToolSecureConfigurationUio.d.ts +75 -0
  20. package/dist/models/ToolSecureConfigurationUio.js +61 -0
  21. package/dist/models/ToolSecureManifestUio.d.ts +35 -0
  22. package/dist/models/ToolSecureManifestUio.js +50 -0
  23. package/dist/models/ToolSecureMcpDefinitionUio.d.ts +51 -0
  24. package/dist/models/ToolSecureMcpDefinitionUio.js +56 -0
  25. package/dist/models/ToolSecureMcpUio.d.ts +46 -0
  26. package/dist/models/ToolSecureMcpUio.js +55 -0
  27. package/dist/models/ToolSecureUio.d.ts +86 -0
  28. package/dist/models/ToolSecureUio.js +85 -0
  29. package/dist/models/index.d.ts +9 -0
  30. package/dist/models/index.js +9 -0
  31. package/dist/openapi.json +452 -0
  32. package/package.json +1 -1
@@ -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);
package/dist/openapi.json CHANGED
@@ -2993,6 +2993,36 @@
2993
2993
  "summary" : "Delete a provider for an organization",
2994
2994
  "tags" : [ "engine" ]
2995
2995
  },
2996
+ "get" : {
2997
+ "description" : "Get a provider by id",
2998
+ "operationId" : "getProvider",
2999
+ "parameters" : [ {
3000
+ "description" : "ID of the provider",
3001
+ "in" : "path",
3002
+ "name" : "providerId",
3003
+ "required" : true,
3004
+ "schema" : {
3005
+ "type" : "string"
3006
+ }
3007
+ } ],
3008
+ "responses" : {
3009
+ "200" : {
3010
+ "content" : {
3011
+ "application/json" : {
3012
+ "schema" : {
3013
+ "$ref" : "#/components/schemas/Provider"
3014
+ }
3015
+ }
3016
+ },
3017
+ "description" : "Provider retrieved successfully"
3018
+ },
3019
+ "404" : {
3020
+ "description" : "Not found"
3021
+ }
3022
+ },
3023
+ "summary" : "Get a provider",
3024
+ "tags" : [ "engine" ]
3025
+ },
2996
3026
  "put" : {
2997
3027
  "description" : "Update a provider for an organization",
2998
3028
  "operationId" : "updateProvider",
@@ -4472,6 +4502,60 @@
4472
4502
  "tags" : [ "knowledge" ]
4473
4503
  }
4474
4504
  },
4505
+ "/tools" : {
4506
+ "post" : {
4507
+ "description" : "Creates a tool in an organization (admin only)",
4508
+ "operationId" : "createTool",
4509
+ "parameters" : [ {
4510
+ "description" : "ID of the organization",
4511
+ "in" : "path",
4512
+ "name" : "organizationId",
4513
+ "required" : true,
4514
+ "schema" : {
4515
+ "type" : "string"
4516
+ }
4517
+ } ],
4518
+ "requestBody" : {
4519
+ "content" : {
4520
+ "application/json" : {
4521
+ "schema" : {
4522
+ "$ref" : "#/components/schemas/ToolCreateRequest"
4523
+ }
4524
+ }
4525
+ },
4526
+ "required" : true
4527
+ },
4528
+ "responses" : {
4529
+ "201" : {
4530
+ "content" : {
4531
+ "application/json" : {
4532
+ "schema" : {
4533
+ "$ref" : "#/components/schemas/AgentTool"
4534
+ }
4535
+ }
4536
+ },
4537
+ "description" : "Tool created successfully"
4538
+ },
4539
+ "400" : {
4540
+ "description" : "Invalid request body / INVALID_TOOL_CONFIGURATION / FAILED_TO_FETCH_MANIFEST / TOOL_NAME_ALREADY_EXISTS"
4541
+ },
4542
+ "401" : {
4543
+ "description" : "Unauthorized"
4544
+ },
4545
+ "403" : {
4546
+ "description" : "Forbidden"
4547
+ },
4548
+ "404" : {
4549
+ "description" : "ORGANIZATION_NOT_FOUND"
4550
+ },
4551
+ "409" : {
4552
+ "description" : "INVALID_TOOL_TYPE"
4553
+ }
4554
+ },
4555
+ "summary" : "Create a new tool",
4556
+ "tags" : [ "tools" ]
4557
+ }
4558
+ },
4475
4559
  "/tools/text-to-speech" : {
4476
4560
  "post" : {
4477
4561
  "description" : "Converts text to speech using the specified provider",
@@ -4598,6 +4682,171 @@
4598
4682
  "tags" : [ "tools" ]
4599
4683
  }
4600
4684
  },
4685
+ "/tools/{toolId}" : {
4686
+ "delete" : {
4687
+ "operationId" : "deleteTool",
4688
+ "parameters" : [ {
4689
+ "description" : "Tool identifier",
4690
+ "in" : "path",
4691
+ "name" : "toolId",
4692
+ "required" : true,
4693
+ "schema" : {
4694
+ "type" : "string"
4695
+ }
4696
+ } ],
4697
+ "responses" : {
4698
+ "204" : {
4699
+ "description" : "Deleted"
4700
+ },
4701
+ "401" : {
4702
+ "description" : "Unauthorized"
4703
+ },
4704
+ "403" : {
4705
+ "description" : "Forbidden"
4706
+ },
4707
+ "404" : {
4708
+ "description" : "TOOL_NOT_FOUND"
4709
+ }
4710
+ },
4711
+ "summary" : "Delete a tool",
4712
+ "tags" : [ "tools" ]
4713
+ },
4714
+ "get" : {
4715
+ "operationId" : "getToolSecure",
4716
+ "parameters" : [ {
4717
+ "description" : "Tool identifier",
4718
+ "in" : "path",
4719
+ "name" : "toolId",
4720
+ "required" : true,
4721
+ "schema" : {
4722
+ "type" : "string"
4723
+ }
4724
+ } ],
4725
+ "responses" : {
4726
+ "200" : {
4727
+ "content" : {
4728
+ "application/json" : {
4729
+ "schema" : {
4730
+ "$ref" : "#/components/schemas/ToolSecure"
4731
+ }
4732
+ }
4733
+ },
4734
+ "description" : "Tool details (UI-safe)"
4735
+ },
4736
+ "401" : {
4737
+ "description" : "Unauthorized"
4738
+ },
4739
+ "403" : {
4740
+ "description" : "Forbidden"
4741
+ },
4742
+ "404" : {
4743
+ "description" : "Tool not found"
4744
+ }
4745
+ },
4746
+ "summary" : "Get a specific tool (UI-safe)",
4747
+ "tags" : [ "tools" ]
4748
+ }
4749
+ },
4750
+ "/tools/{toolId}/token" : {
4751
+ "put" : {
4752
+ "operationId" : "setToolToken",
4753
+ "parameters" : [ {
4754
+ "description" : "Tool identifier",
4755
+ "in" : "path",
4756
+ "name" : "toolId",
4757
+ "required" : true,
4758
+ "schema" : {
4759
+ "type" : "string"
4760
+ }
4761
+ } ],
4762
+ "requestBody" : {
4763
+ "content" : {
4764
+ "application/json" : {
4765
+ "schema" : {
4766
+ "$ref" : "#/components/schemas/SetTokenRequest"
4767
+ }
4768
+ }
4769
+ },
4770
+ "required" : true
4771
+ },
4772
+ "responses" : {
4773
+ "204" : {
4774
+ "description" : "Token updated successfully (no content)"
4775
+ },
4776
+ "400" : {
4777
+ "description" : "Bad request (validation error)"
4778
+ },
4779
+ "401" : {
4780
+ "description" : "Unauthorized"
4781
+ },
4782
+ "403" : {
4783
+ "description" : "Forbidden"
4784
+ },
4785
+ "404" : {
4786
+ "description" : "Tool not found"
4787
+ }
4788
+ },
4789
+ "security" : [ {
4790
+ "ApiKeyAuth" : [ ]
4791
+ } ],
4792
+ "summary" : "Set or update the tool secret token",
4793
+ "tags" : [ "tools" ]
4794
+ }
4795
+ },
4796
+ "/tools/{toolId}/configuration/token" : {
4797
+ "post" : {
4798
+ "description" : "Returns the raw token if it exists and the caller is authorized.",
4799
+ "operationId" : "revealToolToken",
4800
+ "parameters" : [ {
4801
+ "description" : "Tool identifier",
4802
+ "in" : "path",
4803
+ "name" : "toolId",
4804
+ "required" : true,
4805
+ "schema" : {
4806
+ "type" : "string"
4807
+ }
4808
+ } ],
4809
+ "requestBody" : {
4810
+ "content" : {
4811
+ "application/json" : {
4812
+ "schema" : {
4813
+ "$ref" : "#/components/schemas/RevealTokenRequest"
4814
+ }
4815
+ }
4816
+ },
4817
+ "required" : true
4818
+ },
4819
+ "responses" : {
4820
+ "200" : {
4821
+ "content" : {
4822
+ "application/json" : {
4823
+ "schema" : {
4824
+ "$ref" : "#/components/schemas/RevealTokenResponse"
4825
+ }
4826
+ }
4827
+ },
4828
+ "description" : "Raw token revealed"
4829
+ },
4830
+ "400" : {
4831
+ "description" : "Bad request (validation error)"
4832
+ },
4833
+ "401" : {
4834
+ "description" : "Unauthorized"
4835
+ },
4836
+ "403" : {
4837
+ "description" : "Forbidden"
4838
+ },
4839
+ "404" : {
4840
+ "description" : "Tool not found or token not set"
4841
+ }
4842
+ },
4843
+ "security" : [ {
4844
+ "ApiKeyAuth" : [ ]
4845
+ } ],
4846
+ "summary" : "Reveal stored tool token (masked in GET)",
4847
+ "tags" : [ "tools" ]
4848
+ }
4849
+ },
4601
4850
  "/remote/pin-requests" : {
4602
4851
  "post" : {
4603
4852
  "description" : "Creates a PIN request for remote access",
@@ -5202,6 +5451,15 @@
5202
5451
  "type" : "string"
5203
5452
  }
5204
5453
  },
5454
+ "toolIdPath" : {
5455
+ "description" : "Tool identifier",
5456
+ "in" : "path",
5457
+ "name" : "toolId",
5458
+ "required" : true,
5459
+ "schema" : {
5460
+ "type" : "string"
5461
+ }
5462
+ },
5205
5463
  "messageIdPath" : {
5206
5464
  "description" : "The ID of the message",
5207
5465
  "in" : "path",
@@ -5492,6 +5750,10 @@
5492
5750
  "additionalProperties" : true,
5493
5751
  "type" : "object"
5494
5752
  },
5753
+ "mcp" : {
5754
+ "additionalProperties" : true,
5755
+ "type" : "object"
5756
+ },
5495
5757
  "restricted" : {
5496
5758
  "type" : "boolean"
5497
5759
  }
@@ -7581,6 +7843,36 @@
7581
7843
  "required" : [ "status" ],
7582
7844
  "type" : "object"
7583
7845
  },
7846
+ "ToolCreateRequest" : {
7847
+ "additionalProperties" : false,
7848
+ "properties" : {
7849
+ "name" : {
7850
+ "maxLength" : 150,
7851
+ "minLength" : 2,
7852
+ "type" : "string"
7853
+ },
7854
+ "orgId" : {
7855
+ "type" : "string"
7856
+ },
7857
+ "description" : {
7858
+ "maxLength" : 1000,
7859
+ "minLength" : 0,
7860
+ "nullable" : true,
7861
+ "type" : "string"
7862
+ },
7863
+ "type" : {
7864
+ "description" : "e.g. tool_api | mcp",
7865
+ "type" : "string"
7866
+ },
7867
+ "configuration" : {
7868
+ "additionalProperties" : true,
7869
+ "type" : "object"
7870
+ }
7871
+ },
7872
+ "required" : [ "configuration", "name", "orgId", "type" ],
7873
+ "title" : "ToolCreateRequest",
7874
+ "type" : "object"
7875
+ },
7584
7876
  "TTSRequest" : {
7585
7877
  "properties" : {
7586
7878
  "text" : {
@@ -7620,6 +7912,78 @@
7620
7912
  "required" : [ "transcription" ],
7621
7913
  "type" : "object"
7622
7914
  },
7915
+ "ToolSecure" : {
7916
+ "additionalProperties" : true,
7917
+ "properties" : {
7918
+ "_id" : {
7919
+ "type" : "string"
7920
+ },
7921
+ "orgId" : {
7922
+ "type" : "string"
7923
+ },
7924
+ "name" : {
7925
+ "type" : "string"
7926
+ },
7927
+ "description" : {
7928
+ "nullable" : true,
7929
+ "type" : "string"
7930
+ },
7931
+ "type" : {
7932
+ "description" : "tool_api | mcp",
7933
+ "enum" : [ "tool_api", "mcp" ],
7934
+ "type" : "string"
7935
+ },
7936
+ "configuration" : {
7937
+ "$ref" : "#/components/schemas/ToolSecure_configuration"
7938
+ },
7939
+ "manifest" : {
7940
+ "$ref" : "#/components/schemas/ToolSecure_manifest"
7941
+ },
7942
+ "mcp" : {
7943
+ "$ref" : "#/components/schemas/ToolSecure_mcp"
7944
+ }
7945
+ },
7946
+ "required" : [ "_id", "configuration", "name", "orgId", "type" ],
7947
+ "title" : "ToolSecure",
7948
+ "type" : "object"
7949
+ },
7950
+ "SetTokenRequest" : {
7951
+ "additionalProperties" : false,
7952
+ "properties" : {
7953
+ "token" : {
7954
+ "description" : "New raw secret token to store",
7955
+ "minLength" : 1,
7956
+ "type" : "string"
7957
+ }
7958
+ },
7959
+ "required" : [ "token" ],
7960
+ "title" : "SetTokenRequest",
7961
+ "type" : "object"
7962
+ },
7963
+ "RevealTokenRequest" : {
7964
+ "additionalProperties" : false,
7965
+ "properties" : {
7966
+ "confirm" : {
7967
+ "description" : "Must be true to reveal the stored token",
7968
+ "type" : "boolean"
7969
+ }
7970
+ },
7971
+ "required" : [ "confirm" ],
7972
+ "title" : "RevealTokenRequest",
7973
+ "type" : "object"
7974
+ },
7975
+ "RevealTokenResponse" : {
7976
+ "additionalProperties" : false,
7977
+ "properties" : {
7978
+ "token" : {
7979
+ "description" : "Raw secret token",
7980
+ "type" : "string"
7981
+ }
7982
+ },
7983
+ "required" : [ "token" ],
7984
+ "title" : "RevealTokenResponse",
7985
+ "type" : "object"
7986
+ },
7623
7987
  "PinRequest" : {
7624
7988
  "properties" : {
7625
7989
  "user" : {
@@ -8126,6 +8490,94 @@
8126
8490
  "required" : [ "id", "name" ],
8127
8491
  "type" : "object"
8128
8492
  },
8493
+ "ToolSecure_configuration" : {
8494
+ "additionalProperties" : true,
8495
+ "properties" : {
8496
+ "tokenMasked" : {
8497
+ "readOnly" : true,
8498
+ "type" : "string"
8499
+ },
8500
+ "tokenPreview" : {
8501
+ "readOnly" : true,
8502
+ "type" : "string"
8503
+ },
8504
+ "hasToken" : {
8505
+ "readOnly" : true,
8506
+ "type" : "boolean"
8507
+ },
8508
+ "manifest" : {
8509
+ "description" : "URL du manifest .well-known",
8510
+ "type" : "string"
8511
+ },
8512
+ "url" : {
8513
+ "description" : "MCP endpoint",
8514
+ "type" : "string"
8515
+ },
8516
+ "transport" : {
8517
+ "description" : "ex: http, sse",
8518
+ "type" : "string"
8519
+ },
8520
+ "authType" : {
8521
+ "type" : "string"
8522
+ },
8523
+ "allowedTools" : {
8524
+ "items" : {
8525
+ "type" : "string"
8526
+ },
8527
+ "type" : "array"
8528
+ }
8529
+ },
8530
+ "type" : "object"
8531
+ },
8532
+ "ToolSecure_manifest" : {
8533
+ "additionalProperties" : true,
8534
+ "nullable" : true,
8535
+ "properties" : {
8536
+ "definition" : {
8537
+ "additionalProperties" : true,
8538
+ "type" : "object"
8539
+ }
8540
+ },
8541
+ "type" : "object"
8542
+ },
8543
+ "ToolSecure_mcp_definition" : {
8544
+ "additionalProperties" : true,
8545
+ "properties" : {
8546
+ "url" : {
8547
+ "type" : "string"
8548
+ },
8549
+ "transport" : {
8550
+ "type" : "string"
8551
+ },
8552
+ "authType" : {
8553
+ "type" : "string"
8554
+ },
8555
+ "retrievedAt" : {
8556
+ "format" : "date-time",
8557
+ "type" : "string"
8558
+ }
8559
+ },
8560
+ "type" : "object"
8561
+ },
8562
+ "ToolSecure_mcp" : {
8563
+ "additionalProperties" : true,
8564
+ "nullable" : true,
8565
+ "properties" : {
8566
+ "definition" : {
8567
+ "$ref" : "#/components/schemas/ToolSecure_mcp_definition"
8568
+ },
8569
+ "introspection" : {
8570
+ "nullable" : true
8571
+ },
8572
+ "allowedTools" : {
8573
+ "items" : {
8574
+ "type" : "string"
8575
+ },
8576
+ "type" : "array"
8577
+ }
8578
+ },
8579
+ "type" : "object"
8580
+ },
8129
8581
  "Conversation_flowNode_entrypoints" : {
8130
8582
  "properties" : {
8131
8583
  "intents" : {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@breign/client",
3
- "version": "1.0.20",
3
+ "version": "1.0.21",
4
4
  "main": "dist/index.js",
5
5
  "exports": {
6
6
  ".": "./dist/index.js",