@breign/client 1.0.203 → 1.0.205

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 (48) hide show
  1. package/dist/apis/ToolsApi.d.ts +43 -1
  2. package/dist/apis/ToolsApi.js +105 -0
  3. package/dist/models/AgentToolUio.d.ts +7 -0
  4. package/dist/models/AgentToolUio.js +3 -0
  5. package/dist/models/ToolCreateRequestUio.d.ts +8 -1
  6. package/dist/models/ToolCreateRequestUio.js +3 -0
  7. package/dist/models/ToolOpenApiCreateUio.d.ts +60 -0
  8. package/dist/models/ToolOpenApiCreateUio.js +62 -0
  9. package/dist/models/ToolOpenApiDefinitionInputUio.d.ts +38 -0
  10. package/dist/models/ToolOpenApiDefinitionInputUio.js +50 -0
  11. package/dist/models/ToolOpenApiDetectedAuthUio.d.ts +55 -0
  12. package/dist/models/ToolOpenApiDetectedAuthUio.js +65 -0
  13. package/dist/models/ToolOpenApiInfoUio.d.ts +44 -0
  14. package/dist/models/ToolOpenApiInfoUio.js +58 -0
  15. package/dist/models/ToolOpenApiOAuth2FlowUio.d.ts +50 -0
  16. package/dist/models/ToolOpenApiOAuth2FlowUio.js +60 -0
  17. package/dist/models/ToolOpenApiOperationChangeUio.d.ts +38 -0
  18. package/dist/models/ToolOpenApiOperationChangeUio.js +54 -0
  19. package/dist/models/ToolOpenApiOperationUio.d.ts +117 -0
  20. package/dist/models/ToolOpenApiOperationUio.js +102 -0
  21. package/dist/models/ToolOpenApiPreviewResponseUio.d.ts +71 -0
  22. package/dist/models/ToolOpenApiPreviewResponseUio.js +77 -0
  23. package/dist/models/ToolOpenApiReimportRequestUio.d.ts +44 -0
  24. package/dist/models/ToolOpenApiReimportRequestUio.js +52 -0
  25. package/dist/models/ToolOpenApiReimportResponseUio.d.ts +70 -0
  26. package/dist/models/ToolOpenApiReimportResponseUio.js +74 -0
  27. package/dist/models/ToolOpenApiSourceUio.d.ts +46 -0
  28. package/dist/models/ToolOpenApiSourceUio.js +60 -0
  29. package/dist/models/ToolOpenApiUio.d.ts +94 -0
  30. package/dist/models/ToolOpenApiUio.js +88 -0
  31. package/dist/models/ToolPresetConfigOptionInputUio.d.ts +82 -0
  32. package/dist/models/ToolPresetConfigOptionInputUio.js +76 -0
  33. package/dist/models/ToolPresetConfigOptionUio.d.ts +82 -0
  34. package/dist/models/ToolPresetConfigOptionUio.js +86 -0
  35. package/dist/models/ToolPresetCreateRequestUio.d.ts +7 -0
  36. package/dist/models/ToolPresetCreateRequestUio.js +3 -0
  37. package/dist/models/ToolPresetImportItemUio.d.ts +7 -0
  38. package/dist/models/ToolPresetImportItemUio.js +3 -0
  39. package/dist/models/ToolPresetUio.d.ts +8 -1
  40. package/dist/models/ToolPresetUio.js +3 -0
  41. package/dist/models/ToolPresetUpdateRequestUio.d.ts +7 -0
  42. package/dist/models/ToolPresetUpdateRequestUio.js +3 -0
  43. package/dist/models/ToolSecureUio.d.ts +9 -1
  44. package/dist/models/ToolSecureUio.js +5 -1
  45. package/dist/models/index.d.ts +14 -0
  46. package/dist/models/index.js +14 -0
  47. package/dist/openapi.json +593 -4
  48. package/package.json +1 -1
@@ -0,0 +1,82 @@
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 ToolPresetConfigOptionUio
16
+ */
17
+ export interface ToolPresetConfigOptionUio {
18
+ /**
19
+ * Variable name, used as {{key}} in the preset URL
20
+ * @type {string}
21
+ * @memberof ToolPresetConfigOptionUio
22
+ */
23
+ key: string;
24
+ /**
25
+ * url: base http(s) address without query or fragment, which must start the preset URL. text: URL-encoded value, allowed anywhere.
26
+ * @type {string}
27
+ * @memberof ToolPresetConfigOptionUio
28
+ */
29
+ type: ToolPresetConfigOptionUioTypeEnum;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof ToolPresetConfigOptionUio
34
+ */
35
+ labelEn: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof ToolPresetConfigOptionUio
40
+ */
41
+ labelFr: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof ToolPresetConfigOptionUio
46
+ */
47
+ descriptionEn: string;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof ToolPresetConfigOptionUio
52
+ */
53
+ descriptionFr: string;
54
+ /**
55
+ * Used when the organization leaves the field empty
56
+ * @type {string}
57
+ * @memberof ToolPresetConfigOptionUio
58
+ */
59
+ defaultValue: string;
60
+ /**
61
+ *
62
+ * @type {boolean}
63
+ * @memberof ToolPresetConfigOptionUio
64
+ */
65
+ required: boolean;
66
+ }
67
+ /**
68
+ * @export
69
+ */
70
+ export declare const ToolPresetConfigOptionUioTypeEnum: {
71
+ readonly Url: "url";
72
+ readonly Text: "text";
73
+ };
74
+ export type ToolPresetConfigOptionUioTypeEnum = typeof ToolPresetConfigOptionUioTypeEnum[keyof typeof ToolPresetConfigOptionUioTypeEnum];
75
+ /**
76
+ * Check if a given object implements the ToolPresetConfigOptionUio interface.
77
+ */
78
+ export declare function instanceOfToolPresetConfigOptionUio(value: object): value is ToolPresetConfigOptionUio;
79
+ export declare function ToolPresetConfigOptionUioFromJSON(json: any): ToolPresetConfigOptionUio;
80
+ export declare function ToolPresetConfigOptionUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): ToolPresetConfigOptionUio;
81
+ export declare function ToolPresetConfigOptionUioToJSON(json: any): ToolPresetConfigOptionUio;
82
+ export declare function ToolPresetConfigOptionUioToJSONTyped(value?: ToolPresetConfigOptionUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,86 @@
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.ToolPresetConfigOptionUioTypeEnum = void 0;
17
+ exports.instanceOfToolPresetConfigOptionUio = instanceOfToolPresetConfigOptionUio;
18
+ exports.ToolPresetConfigOptionUioFromJSON = ToolPresetConfigOptionUioFromJSON;
19
+ exports.ToolPresetConfigOptionUioFromJSONTyped = ToolPresetConfigOptionUioFromJSONTyped;
20
+ exports.ToolPresetConfigOptionUioToJSON = ToolPresetConfigOptionUioToJSON;
21
+ exports.ToolPresetConfigOptionUioToJSONTyped = ToolPresetConfigOptionUioToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.ToolPresetConfigOptionUioTypeEnum = {
26
+ Url: 'url',
27
+ Text: 'text'
28
+ };
29
+ /**
30
+ * Check if a given object implements the ToolPresetConfigOptionUio interface.
31
+ */
32
+ function instanceOfToolPresetConfigOptionUio(value) {
33
+ if (!('key' in value) || value['key'] === undefined)
34
+ return false;
35
+ if (!('type' in value) || value['type'] === undefined)
36
+ return false;
37
+ if (!('labelEn' in value) || value['labelEn'] === undefined)
38
+ return false;
39
+ if (!('labelFr' in value) || value['labelFr'] === undefined)
40
+ return false;
41
+ if (!('descriptionEn' in value) || value['descriptionEn'] === undefined)
42
+ return false;
43
+ if (!('descriptionFr' in value) || value['descriptionFr'] === undefined)
44
+ return false;
45
+ if (!('defaultValue' in value) || value['defaultValue'] === undefined)
46
+ return false;
47
+ if (!('required' in value) || value['required'] === undefined)
48
+ return false;
49
+ return true;
50
+ }
51
+ function ToolPresetConfigOptionUioFromJSON(json) {
52
+ return ToolPresetConfigOptionUioFromJSONTyped(json, false);
53
+ }
54
+ function ToolPresetConfigOptionUioFromJSONTyped(json, ignoreDiscriminator) {
55
+ if (json == null) {
56
+ return json;
57
+ }
58
+ return {
59
+ 'key': json['key'],
60
+ 'type': json['type'],
61
+ 'labelEn': json['labelEn'],
62
+ 'labelFr': json['labelFr'],
63
+ 'descriptionEn': json['descriptionEn'],
64
+ 'descriptionFr': json['descriptionFr'],
65
+ 'defaultValue': json['defaultValue'],
66
+ 'required': json['required'],
67
+ };
68
+ }
69
+ function ToolPresetConfigOptionUioToJSON(json) {
70
+ return ToolPresetConfigOptionUioToJSONTyped(json, false);
71
+ }
72
+ function ToolPresetConfigOptionUioToJSONTyped(value, ignoreDiscriminator = false) {
73
+ if (value == null) {
74
+ return value;
75
+ }
76
+ return {
77
+ 'key': value['key'],
78
+ 'type': value['type'],
79
+ 'labelEn': value['labelEn'],
80
+ 'labelFr': value['labelFr'],
81
+ 'descriptionEn': value['descriptionEn'],
82
+ 'descriptionFr': value['descriptionFr'],
83
+ 'defaultValue': value['defaultValue'],
84
+ 'required': value['required'],
85
+ };
86
+ }
@@ -11,6 +11,7 @@
11
11
  */
12
12
  import type { ToolPresetTransportUio } from './ToolPresetTransportUio';
13
13
  import type { ToolPresetOAuthRegistrationUio } from './ToolPresetOAuthRegistrationUio';
14
+ import type { ToolPresetConfigOptionInputUio } from './ToolPresetConfigOptionInputUio';
14
15
  /**
15
16
  *
16
17
  * @export
@@ -47,6 +48,12 @@ export interface ToolPresetCreateRequestUio {
47
48
  * @memberof ToolPresetCreateRequestUio
48
49
  */
49
50
  url: string;
51
+ /**
52
+ *
53
+ * @type {Array<ToolPresetConfigOptionInputUio>}
54
+ * @memberof ToolPresetCreateRequestUio
55
+ */
56
+ configOptions?: Array<ToolPresetConfigOptionInputUio>;
50
57
  /**
51
58
  *
52
59
  * @type {string}
@@ -20,6 +20,7 @@ exports.ToolPresetCreateRequestUioToJSON = ToolPresetCreateRequestUioToJSON;
20
20
  exports.ToolPresetCreateRequestUioToJSONTyped = ToolPresetCreateRequestUioToJSONTyped;
21
21
  const ToolPresetTransportUio_1 = require("./ToolPresetTransportUio");
22
22
  const ToolPresetOAuthRegistrationUio_1 = require("./ToolPresetOAuthRegistrationUio");
23
+ const ToolPresetConfigOptionInputUio_1 = require("./ToolPresetConfigOptionInputUio");
23
24
  /**
24
25
  * Check if a given object implements the ToolPresetCreateRequestUio interface.
25
26
  */
@@ -47,6 +48,7 @@ function ToolPresetCreateRequestUioFromJSONTyped(json, ignoreDiscriminator) {
47
48
  'descriptionEn': json['descriptionEn'] == null ? undefined : json['descriptionEn'],
48
49
  'descriptionFr': json['descriptionFr'] == null ? undefined : json['descriptionFr'],
49
50
  'url': json['url'],
51
+ 'configOptions': json['configOptions'] == null ? undefined : (json['configOptions'].map(ToolPresetConfigOptionInputUio_1.ToolPresetConfigOptionInputUioFromJSON)),
50
52
  'logoUrl': json['logoUrl'] == null ? undefined : json['logoUrl'],
51
53
  'transport': json['transport'] == null ? undefined : (0, ToolPresetTransportUio_1.ToolPresetTransportUioFromJSON)(json['transport']),
52
54
  'authMethods': json['authMethods'] == null ? undefined : json['authMethods'],
@@ -72,6 +74,7 @@ function ToolPresetCreateRequestUioToJSONTyped(value, ignoreDiscriminator = fals
72
74
  'descriptionEn': value['descriptionEn'],
73
75
  'descriptionFr': value['descriptionFr'],
74
76
  'url': value['url'],
77
+ 'configOptions': value['configOptions'] == null ? undefined : (value['configOptions'].map(ToolPresetConfigOptionInputUio_1.ToolPresetConfigOptionInputUioToJSON)),
75
78
  'logoUrl': value['logoUrl'],
76
79
  'transport': (0, ToolPresetTransportUio_1.ToolPresetTransportUioToJSON)(value['transport']),
77
80
  'authMethods': value['authMethods'],
@@ -11,6 +11,7 @@
11
11
  */
12
12
  import type { ToolPresetTransportUio } from './ToolPresetTransportUio';
13
13
  import type { ToolPresetOAuthRegistrationUio } from './ToolPresetOAuthRegistrationUio';
14
+ import type { ToolPresetConfigOptionInputUio } from './ToolPresetConfigOptionInputUio';
14
15
  /**
15
16
  *
16
17
  * @export
@@ -65,6 +66,12 @@ export interface ToolPresetImportItemUio {
65
66
  * @memberof ToolPresetImportItemUio
66
67
  */
67
68
  url: string;
69
+ /**
70
+ *
71
+ * @type {Array<ToolPresetConfigOptionInputUio>}
72
+ * @memberof ToolPresetImportItemUio
73
+ */
74
+ configOptions?: Array<ToolPresetConfigOptionInputUio>;
68
75
  /**
69
76
  *
70
77
  * @type {string}
@@ -20,6 +20,7 @@ exports.ToolPresetImportItemUioToJSON = ToolPresetImportItemUioToJSON;
20
20
  exports.ToolPresetImportItemUioToJSONTyped = ToolPresetImportItemUioToJSONTyped;
21
21
  const ToolPresetTransportUio_1 = require("./ToolPresetTransportUio");
22
22
  const ToolPresetOAuthRegistrationUio_1 = require("./ToolPresetOAuthRegistrationUio");
23
+ const ToolPresetConfigOptionInputUio_1 = require("./ToolPresetConfigOptionInputUio");
23
24
  /**
24
25
  * Check if a given object implements the ToolPresetImportItemUio interface.
25
26
  */
@@ -50,6 +51,7 @@ function ToolPresetImportItemUioFromJSONTyped(json, ignoreDiscriminator) {
50
51
  'descriptionEn': json['descriptionEn'] == null ? undefined : json['descriptionEn'],
51
52
  'descriptionFr': json['descriptionFr'] == null ? undefined : json['descriptionFr'],
52
53
  'url': json['url'],
54
+ 'configOptions': json['configOptions'] == null ? undefined : (json['configOptions'].map(ToolPresetConfigOptionInputUio_1.ToolPresetConfigOptionInputUioFromJSON)),
53
55
  'logoUrl': json['logoUrl'] == null ? undefined : json['logoUrl'],
54
56
  'transport': json['transport'] == null ? undefined : (0, ToolPresetTransportUio_1.ToolPresetTransportUioFromJSON)(json['transport']),
55
57
  'authMethods': json['authMethods'] == null ? undefined : json['authMethods'],
@@ -78,6 +80,7 @@ function ToolPresetImportItemUioToJSONTyped(value, ignoreDiscriminator = false)
78
80
  'descriptionEn': value['descriptionEn'],
79
81
  'descriptionFr': value['descriptionFr'],
80
82
  'url': value['url'],
83
+ 'configOptions': value['configOptions'] == null ? undefined : (value['configOptions'].map(ToolPresetConfigOptionInputUio_1.ToolPresetConfigOptionInputUioToJSON)),
81
84
  'logoUrl': value['logoUrl'],
82
85
  'transport': (0, ToolPresetTransportUio_1.ToolPresetTransportUioToJSON)(value['transport']),
83
86
  'authMethods': value['authMethods'],
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { ToolPresetTransportUio } from './ToolPresetTransportUio';
13
+ import type { ToolPresetConfigOptionUio } from './ToolPresetConfigOptionUio';
13
14
  import type { ToolPresetOAuthRegistrationUio } from './ToolPresetOAuthRegistrationUio';
14
15
  /**
15
16
  *
@@ -48,11 +49,17 @@ export interface ToolPresetUio {
48
49
  */
49
50
  descriptionFr: string;
50
51
  /**
51
- * MCP server URL
52
+ * MCP server URL, possibly with {{key}} variables declared in configOptions
52
53
  * @type {string}
53
54
  * @memberof ToolPresetUio
54
55
  */
55
56
  url: string;
57
+ /**
58
+ * Options the organization fills in when adding the tool. Optional so that a client talking to an API without this field keeps working.
59
+ * @type {Array<ToolPresetConfigOptionUio>}
60
+ * @memberof ToolPresetUio
61
+ */
62
+ configOptions?: Array<ToolPresetConfigOptionUio>;
56
63
  /**
57
64
  *
58
65
  * @type {string}
@@ -19,6 +19,7 @@ exports.ToolPresetUioFromJSONTyped = ToolPresetUioFromJSONTyped;
19
19
  exports.ToolPresetUioToJSON = ToolPresetUioToJSON;
20
20
  exports.ToolPresetUioToJSONTyped = ToolPresetUioToJSONTyped;
21
21
  const ToolPresetTransportUio_1 = require("./ToolPresetTransportUio");
22
+ const ToolPresetConfigOptionUio_1 = require("./ToolPresetConfigOptionUio");
22
23
  const ToolPresetOAuthRegistrationUio_1 = require("./ToolPresetOAuthRegistrationUio");
23
24
  /**
24
25
  * Check if a given object implements the ToolPresetUio interface.
@@ -68,6 +69,7 @@ function ToolPresetUioFromJSONTyped(json, ignoreDiscriminator) {
68
69
  'descriptionEn': json['descriptionEn'],
69
70
  'descriptionFr': json['descriptionFr'],
70
71
  'url': json['url'],
72
+ 'configOptions': json['configOptions'] == null ? undefined : (json['configOptions'].map(ToolPresetConfigOptionUio_1.ToolPresetConfigOptionUioFromJSON)),
71
73
  'logoUrl': json['logoUrl'] == null ? undefined : json['logoUrl'],
72
74
  'transport': (0, ToolPresetTransportUio_1.ToolPresetTransportUioFromJSON)(json['transport']),
73
75
  'authMethods': json['authMethods'],
@@ -96,6 +98,7 @@ function ToolPresetUioToJSONTyped(value, ignoreDiscriminator = false) {
96
98
  'descriptionEn': value['descriptionEn'],
97
99
  'descriptionFr': value['descriptionFr'],
98
100
  'url': value['url'],
101
+ 'configOptions': value['configOptions'] == null ? undefined : (value['configOptions'].map(ToolPresetConfigOptionUio_1.ToolPresetConfigOptionUioToJSON)),
99
102
  'logoUrl': value['logoUrl'],
100
103
  'transport': (0, ToolPresetTransportUio_1.ToolPresetTransportUioToJSON)(value['transport']),
101
104
  'authMethods': value['authMethods'],
@@ -11,6 +11,7 @@
11
11
  */
12
12
  import type { ToolPresetTransportUio } from './ToolPresetTransportUio';
13
13
  import type { ToolPresetOAuthRegistrationUio } from './ToolPresetOAuthRegistrationUio';
14
+ import type { ToolPresetConfigOptionInputUio } from './ToolPresetConfigOptionInputUio';
14
15
  /**
15
16
  *
16
17
  * @export
@@ -47,6 +48,12 @@ export interface ToolPresetUpdateRequestUio {
47
48
  * @memberof ToolPresetUpdateRequestUio
48
49
  */
49
50
  url?: string;
51
+ /**
52
+ *
53
+ * @type {Array<ToolPresetConfigOptionInputUio>}
54
+ * @memberof ToolPresetUpdateRequestUio
55
+ */
56
+ configOptions?: Array<ToolPresetConfigOptionInputUio>;
50
57
  /**
51
58
  *
52
59
  * @type {string}
@@ -20,6 +20,7 @@ exports.ToolPresetUpdateRequestUioToJSON = ToolPresetUpdateRequestUioToJSON;
20
20
  exports.ToolPresetUpdateRequestUioToJSONTyped = ToolPresetUpdateRequestUioToJSONTyped;
21
21
  const ToolPresetTransportUio_1 = require("./ToolPresetTransportUio");
22
22
  const ToolPresetOAuthRegistrationUio_1 = require("./ToolPresetOAuthRegistrationUio");
23
+ const ToolPresetConfigOptionInputUio_1 = require("./ToolPresetConfigOptionInputUio");
23
24
  /**
24
25
  * Check if a given object implements the ToolPresetUpdateRequestUio interface.
25
26
  */
@@ -39,6 +40,7 @@ function ToolPresetUpdateRequestUioFromJSONTyped(json, ignoreDiscriminator) {
39
40
  'descriptionEn': json['descriptionEn'] == null ? undefined : json['descriptionEn'],
40
41
  'descriptionFr': json['descriptionFr'] == null ? undefined : json['descriptionFr'],
41
42
  'url': json['url'] == null ? undefined : json['url'],
43
+ 'configOptions': json['configOptions'] == null ? undefined : (json['configOptions'].map(ToolPresetConfigOptionInputUio_1.ToolPresetConfigOptionInputUioFromJSON)),
42
44
  'logoUrl': json['logoUrl'] == null ? undefined : json['logoUrl'],
43
45
  'transport': json['transport'] == null ? undefined : (0, ToolPresetTransportUio_1.ToolPresetTransportUioFromJSON)(json['transport']),
44
46
  'authMethods': json['authMethods'] == null ? undefined : json['authMethods'],
@@ -64,6 +66,7 @@ function ToolPresetUpdateRequestUioToJSONTyped(value, ignoreDiscriminator = fals
64
66
  'descriptionEn': value['descriptionEn'],
65
67
  'descriptionFr': value['descriptionFr'],
66
68
  'url': value['url'],
69
+ 'configOptions': value['configOptions'] == null ? undefined : (value['configOptions'].map(ToolPresetConfigOptionInputUio_1.ToolPresetConfigOptionInputUioToJSON)),
67
70
  'logoUrl': value['logoUrl'],
68
71
  'transport': (0, ToolPresetTransportUio_1.ToolPresetTransportUioToJSON)(value['transport']),
69
72
  'authMethods': value['authMethods'],
@@ -11,6 +11,7 @@
11
11
  */
12
12
  import type { ToolSecureManifestUio } from './ToolSecureManifestUio';
13
13
  import type { ToolSecureMcpUio } from './ToolSecureMcpUio';
14
+ import type { ToolOpenApiUio } from './ToolOpenApiUio';
14
15
  import type { ToolSecureConfigurationUio } from './ToolSecureConfigurationUio';
15
16
  /**
16
17
  *
@@ -44,7 +45,7 @@ export interface ToolSecureUio {
44
45
  */
45
46
  description?: string | null;
46
47
  /**
47
- * tool_api | mcp
48
+ * tool_api | mcp | openapi
48
49
  * @type {string}
49
50
  * @memberof ToolSecureUio
50
51
  */
@@ -73,6 +74,12 @@ export interface ToolSecureUio {
73
74
  * @memberof ToolSecureUio
74
75
  */
75
76
  mcp?: ToolSecureMcpUio | null;
77
+ /**
78
+ * Only for `openapi` tools — the actions generated from the definition.
79
+ * @type {ToolOpenApiUio}
80
+ * @memberof ToolSecureUio
81
+ */
82
+ openapi?: ToolOpenApiUio | null;
76
83
  /**
77
84
  * Indicates if the tool has completed its setup (for oauth2 tools).
78
85
  * @type {boolean}
@@ -86,6 +93,7 @@ export interface ToolSecureUio {
86
93
  export declare const ToolSecureUioTypeEnum: {
87
94
  readonly ToolApi: "tool_api";
88
95
  readonly Mcp: "mcp";
96
+ readonly Openapi: "openapi";
89
97
  };
90
98
  export type ToolSecureUioTypeEnum = typeof ToolSecureUioTypeEnum[keyof typeof ToolSecureUioTypeEnum];
91
99
  /**
@@ -21,13 +21,15 @@ exports.ToolSecureUioToJSON = ToolSecureUioToJSON;
21
21
  exports.ToolSecureUioToJSONTyped = ToolSecureUioToJSONTyped;
22
22
  const ToolSecureManifestUio_1 = require("./ToolSecureManifestUio");
23
23
  const ToolSecureMcpUio_1 = require("./ToolSecureMcpUio");
24
+ const ToolOpenApiUio_1 = require("./ToolOpenApiUio");
24
25
  const ToolSecureConfigurationUio_1 = require("./ToolSecureConfigurationUio");
25
26
  /**
26
27
  * @export
27
28
  */
28
29
  exports.ToolSecureUioTypeEnum = {
29
30
  ToolApi: 'tool_api',
30
- Mcp: 'mcp'
31
+ Mcp: 'mcp',
32
+ Openapi: 'openapi'
31
33
  };
32
34
  /**
33
35
  * @export
@@ -70,6 +72,7 @@ function ToolSecureUioFromJSONTyped(json, ignoreDiscriminator) {
70
72
  'configuration': (0, ToolSecureConfigurationUio_1.ToolSecureConfigurationUioFromJSON)(json['configuration']),
71
73
  'manifest': json['manifest'] == null ? undefined : (0, ToolSecureManifestUio_1.ToolSecureManifestUioFromJSON)(json['manifest']),
72
74
  'mcp': json['mcp'] == null ? undefined : (0, ToolSecureMcpUio_1.ToolSecureMcpUioFromJSON)(json['mcp']),
75
+ 'openapi': json['openapi'] == null ? undefined : (0, ToolOpenApiUio_1.ToolOpenApiUioFromJSON)(json['openapi']),
73
76
  'isSetup': json['isSetup'] == null ? undefined : json['isSetup'],
74
77
  };
75
78
  }
@@ -91,6 +94,7 @@ function ToolSecureUioToJSONTyped(value, ignoreDiscriminator = false) {
91
94
  'configuration': (0, ToolSecureConfigurationUio_1.ToolSecureConfigurationUioToJSON)(value['configuration']),
92
95
  'manifest': (0, ToolSecureManifestUio_1.ToolSecureManifestUioToJSON)(value['manifest']),
93
96
  'mcp': (0, ToolSecureMcpUio_1.ToolSecureMcpUioToJSON)(value['mcp']),
97
+ 'openapi': (0, ToolOpenApiUio_1.ToolOpenApiUioToJSON)(value['openapi']),
94
98
  'isSetup': value['isSetup'],
95
99
  };
96
100
  }
@@ -729,6 +729,20 @@ export * from './ToolCallUio';
729
729
  export * from './ToolCallsResponseUio';
730
730
  export * from './ToolConnectionStatusResponseUio';
731
731
  export * from './ToolCreateRequestUio';
732
+ export * from './ToolOpenApiCreateUio';
733
+ export * from './ToolOpenApiDefinitionInputUio';
734
+ export * from './ToolOpenApiDetectedAuthUio';
735
+ export * from './ToolOpenApiInfoUio';
736
+ export * from './ToolOpenApiOAuth2FlowUio';
737
+ export * from './ToolOpenApiOperationChangeUio';
738
+ export * from './ToolOpenApiOperationUio';
739
+ export * from './ToolOpenApiPreviewResponseUio';
740
+ export * from './ToolOpenApiReimportRequestUio';
741
+ export * from './ToolOpenApiReimportResponseUio';
742
+ export * from './ToolOpenApiSourceUio';
743
+ export * from './ToolOpenApiUio';
744
+ export * from './ToolPresetConfigOptionInputUio';
745
+ export * from './ToolPresetConfigOptionUio';
732
746
  export * from './ToolPresetCreateRequestUio';
733
747
  export * from './ToolPresetDeleteAllResponseUio';
734
748
  export * from './ToolPresetImportItemUio';
@@ -747,6 +747,20 @@ __exportStar(require("./ToolCallUio"), exports);
747
747
  __exportStar(require("./ToolCallsResponseUio"), exports);
748
748
  __exportStar(require("./ToolConnectionStatusResponseUio"), exports);
749
749
  __exportStar(require("./ToolCreateRequestUio"), exports);
750
+ __exportStar(require("./ToolOpenApiCreateUio"), exports);
751
+ __exportStar(require("./ToolOpenApiDefinitionInputUio"), exports);
752
+ __exportStar(require("./ToolOpenApiDetectedAuthUio"), exports);
753
+ __exportStar(require("./ToolOpenApiInfoUio"), exports);
754
+ __exportStar(require("./ToolOpenApiOAuth2FlowUio"), exports);
755
+ __exportStar(require("./ToolOpenApiOperationChangeUio"), exports);
756
+ __exportStar(require("./ToolOpenApiOperationUio"), exports);
757
+ __exportStar(require("./ToolOpenApiPreviewResponseUio"), exports);
758
+ __exportStar(require("./ToolOpenApiReimportRequestUio"), exports);
759
+ __exportStar(require("./ToolOpenApiReimportResponseUio"), exports);
760
+ __exportStar(require("./ToolOpenApiSourceUio"), exports);
761
+ __exportStar(require("./ToolOpenApiUio"), exports);
762
+ __exportStar(require("./ToolPresetConfigOptionInputUio"), exports);
763
+ __exportStar(require("./ToolPresetConfigOptionUio"), exports);
750
764
  __exportStar(require("./ToolPresetCreateRequestUio"), exports);
751
765
  __exportStar(require("./ToolPresetDeleteAllResponseUio"), exports);
752
766
  __exportStar(require("./ToolPresetImportItemUio"), exports);