@stack-spot/portal-network 0.198.3 → 0.199.0-beta.1

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 (67) hide show
  1. package/CHANGELOG.md +131 -0
  2. package/dist/api/agent-tools.d.ts +150 -148
  3. package/dist/api/agent-tools.d.ts.map +1 -1
  4. package/dist/api/agent-tools.js +41 -4
  5. package/dist/api/agent-tools.js.map +1 -1
  6. package/dist/api/ai.d.ts +288 -19
  7. package/dist/api/ai.d.ts.map +1 -1
  8. package/dist/api/ai.js +196 -11
  9. package/dist/api/ai.js.map +1 -1
  10. package/dist/api/cloudPlatformHorizon.d.ts +178 -9
  11. package/dist/api/cloudPlatformHorizon.d.ts.map +1 -1
  12. package/dist/api/cloudPlatformHorizon.js +69 -1
  13. package/dist/api/cloudPlatformHorizon.js.map +1 -1
  14. package/dist/api/codeShift.d.ts +316 -32
  15. package/dist/api/codeShift.d.ts.map +1 -1
  16. package/dist/api/codeShift.js +172 -8
  17. package/dist/api/codeShift.js.map +1 -1
  18. package/dist/api/dataIntegration.d.ts +291 -1
  19. package/dist/api/dataIntegration.d.ts.map +1 -1
  20. package/dist/api/dataIntegration.js +254 -0
  21. package/dist/api/dataIntegration.js.map +1 -1
  22. package/dist/api/discover.d.ts +72 -0
  23. package/dist/api/discover.d.ts.map +1 -1
  24. package/dist/api/discover.js +68 -2
  25. package/dist/api/discover.js.map +1 -1
  26. package/dist/client/agent-tools.d.ts +36 -3
  27. package/dist/client/agent-tools.d.ts.map +1 -1
  28. package/dist/client/agent-tools.js +35 -4
  29. package/dist/client/agent-tools.js.map +1 -1
  30. package/dist/client/ai.d.ts +137 -2
  31. package/dist/client/ai.d.ts.map +1 -1
  32. package/dist/client/ai.js +102 -2
  33. package/dist/client/ai.js.map +1 -1
  34. package/dist/client/cloud-platform-horizon.d.ts +19 -0
  35. package/dist/client/cloud-platform-horizon.d.ts.map +1 -1
  36. package/dist/client/cloud-platform-horizon.js +19 -1
  37. package/dist/client/cloud-platform-horizon.js.map +1 -1
  38. package/dist/client/code-shift.d.ts +118 -4
  39. package/dist/client/code-shift.d.ts.map +1 -1
  40. package/dist/client/code-shift.js +100 -1
  41. package/dist/client/code-shift.js.map +1 -1
  42. package/dist/client/data-integration.d.ts +30 -0
  43. package/dist/client/data-integration.d.ts.map +1 -1
  44. package/dist/client/data-integration.js +22 -2
  45. package/dist/client/data-integration.js.map +1 -1
  46. package/dist/client/discover.d.ts +14 -0
  47. package/dist/client/discover.d.ts.map +1 -1
  48. package/dist/client/discover.js +28 -1
  49. package/dist/client/discover.js.map +1 -1
  50. package/dist/client/secrets.d.ts.map +1 -1
  51. package/dist/client/secrets.js +1 -1
  52. package/dist/client/secrets.js.map +1 -1
  53. package/dist/client/workspace-ai.d.ts +5 -5
  54. package/package.json +2 -2
  55. package/src/api/agent-tools.ts +199 -152
  56. package/src/api/ai.ts +521 -24
  57. package/src/api/cloudPlatformHorizon.ts +412 -9
  58. package/src/api/codeShift.ts +631 -37
  59. package/src/api/dataIntegration.ts +635 -1
  60. package/src/api/discover.ts +145 -2
  61. package/src/client/agent-tools.ts +26 -4
  62. package/src/client/ai.ts +81 -10
  63. package/src/client/cloud-platform-horizon.ts +12 -4
  64. package/src/client/code-shift.ts +64 -1
  65. package/src/client/data-integration.ts +15 -1
  66. package/src/client/discover.ts +14 -1
  67. package/src/client/secrets.ts +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,136 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.199.0-beta.1](https://github.com/stack-spot/portal-commons/compare/portal-network-beta@v0.198.0-beta.1...portal-network-beta@v0.199.0-beta.1) (2025-12-11)
4
+
5
+
6
+ ### Features
7
+
8
+ * update agent tools ([#1884](https://github.com/stack-spot/portal-commons/issues/1884)) ([5fb3b61](https://github.com/stack-spot/portal-commons/commit/5fb3b616a02b4d1362552839e466fa79ccda27a7))
9
+
10
+ ## [0.198.0-beta.1](https://github.com/stack-spot/portal-commons/compare/portal-network-beta@v0.197.1-beta.1...portal-network-beta@v0.198.0-beta.1) (2025-12-11)
11
+
12
+
13
+ ### Features
14
+
15
+ * qc paginated ([#1875](https://github.com/stack-spot/portal-commons/issues/1875)) ([684da17](https://github.com/stack-spot/portal-commons/commit/684da170add59225ee737c52d2b5c63e460056a5))
16
+ * rating ([#1869](https://github.com/stack-spot/portal-commons/issues/1869)) ([1635948](https://github.com/stack-spot/portal-commons/commit/1635948abc0c25fc97cfc5a479dd6e329736cbb2))
17
+
18
+
19
+ ### Bug Fixes
20
+
21
+ * add delete ([#1880](https://github.com/stack-spot/portal-commons/issues/1880)) ([da91fd7](https://github.com/stack-spot/portal-commons/commit/da91fd7833ee2d82e819225fd23f4c9e4f4f5806))
22
+ * delete module ([#1881](https://github.com/stack-spot/portal-commons/issues/1881)) ([7817d26](https://github.com/stack-spot/portal-commons/commit/7817d260610248cacc62fff45a26b409a9f96f57))
23
+
24
+ ## [0.197.1-beta.1](https://github.com/stack-spot/portal-commons/compare/portal-network-beta@v0.197.0-beta.1...portal-network-beta@v0.197.1-beta.1) (2025-12-09)
25
+
26
+
27
+ ### Features
28
+
29
+ * rating beta ([#1873](https://github.com/stack-spot/portal-commons/issues/1873)) ([a6bb8d9](https://github.com/stack-spot/portal-commons/commit/a6bb8d97ffd0c6169d0c0dc1aed92980771aa1d7))
30
+
31
+ ## [0.197.0-beta.1](https://github.com/stack-spot/portal-commons/compare/portal-network-beta@v0.196.0-beta.1...portal-network-beta@v0.197.0-beta.1) (2025-12-09)
32
+
33
+
34
+ ### Features
35
+
36
+ * 3332 insights ([#1862](https://github.com/stack-spot/portal-commons/issues/1862)) ([9b3aa7c](https://github.com/stack-spot/portal-commons/commit/9b3aa7ca4c5dcbe72cce060b8ade2645e9d23659))
37
+ * python 'feat-3101-python-script' into beta-release ([21bf3ec](https://github.com/stack-spot/portal-commons/commit/21bf3ecf405c13108ca0470d738beb0ceb086e74))
38
+ * tools mcp ([#1858](https://github.com/stack-spot/portal-commons/issues/1858)) ([40d2bfe](https://github.com/stack-spot/portal-commons/commit/40d2bfe0fcea283e8cbb3cff8fc59ebd9f03f281))
39
+ * Upd agent tools ([#1845](https://github.com/stack-spot/portal-commons/issues/1845)) ([5a74800](https://github.com/stack-spot/portal-commons/commit/5a74800f85be09dd713934f46c7286d22167520a))
40
+ ## [0.205.1](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.205.0...portal-network@v0.205.1) (2025-12-10)
41
+
42
+
43
+ ### Bug Fixes
44
+
45
+ * adjusts paginated ([#1860](https://github.com/stack-spot/portal-commons/issues/1860)) ([0bb24c7](https://github.com/stack-spot/portal-commons/commit/0bb24c7cea9b3a77e13d43506f80b161aaa3a5dc))
46
+ * remove qc script ([#1867](https://github.com/stack-spot/portal-commons/issues/1867)) ([612e4de](https://github.com/stack-spot/portal-commons/commit/612e4dea7bd1f11e1fc8ec951cfa4ad7676d4921))
47
+ * Update code shift swagger ([#1865](https://github.com/stack-spot/portal-commons/issues/1865)) ([45e706d](https://github.com/stack-spot/portal-commons/commit/45e706d7d6559a44c9a170145a8525f8047872de))
48
+ * delete module ([#1881](https://github.com/stack-spot/portal-commons/issues/1881)) ([7817d26](https://github.com/stack-spot/portal-commons/commit/7817d260610248cacc62fff45a26b409a9f96f57))
49
+
50
+ ## [0.205.0](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.204.2...portal-network@v0.205.0) (2025-12-09)
51
+
52
+
53
+ ### Features
54
+
55
+ * qc paginated ([#1875](https://github.com/stack-spot/portal-commons/issues/1875)) ([684da17](https://github.com/stack-spot/portal-commons/commit/684da170add59225ee737c52d2b5c63e460056a5))
56
+ * rating ([#1869](https://github.com/stack-spot/portal-commons/issues/1869)) ([1635948](https://github.com/stack-spot/portal-commons/commit/1635948abc0c25fc97cfc5a479dd6e329736cbb2))
57
+
58
+
59
+ ### Bug Fixes
60
+
61
+ * add delete ([#1880](https://github.com/stack-spot/portal-commons/issues/1880)) ([da91fd7](https://github.com/stack-spot/portal-commons/commit/da91fd7833ee2d82e819225fd23f4c9e4f4f5806))
62
+
63
+ ## [0.204.2](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.204.1...portal-network@v0.204.2) (2025-12-08)
64
+
65
+
66
+ ### Bug Fixes
67
+
68
+ * remove qc script ([#1867](https://github.com/stack-spot/portal-commons/issues/1867)) ([612e4de](https://github.com/stack-spot/portal-commons/commit/612e4dea7bd1f11e1fc8ec951cfa4ad7676d4921))
69
+
70
+ ## [0.204.1](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.204.0...portal-network@v0.204.1) (2025-12-08)
71
+
72
+
73
+ ### Bug Fixes
74
+
75
+ * Update code shift swagger ([#1865](https://github.com/stack-spot/portal-commons/issues/1865)) ([45e706d](https://github.com/stack-spot/portal-commons/commit/45e706d7d6559a44c9a170145a8525f8047872de))
76
+
77
+ ## [0.204.0](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.203.0...portal-network@v0.204.0) (2025-12-05)
78
+
79
+
80
+ ### Features
81
+
82
+ * Upd agent tools ([#1845](https://github.com/stack-spot/portal-commons/issues/1845)) ([5a74800](https://github.com/stack-spot/portal-commons/commit/5a74800f85be09dd713934f46c7286d22167520a))
83
+
84
+ ## [0.203.0](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.202.1...portal-network@v0.203.0) (2025-12-04)
85
+
86
+
87
+ ### Features
88
+
89
+ * 3332 insights ([#1862](https://github.com/stack-spot/portal-commons/issues/1862)) ([9b3aa7c](https://github.com/stack-spot/portal-commons/commit/9b3aa7ca4c5dcbe72cce060b8ade2645e9d23659))
90
+
91
+ ## [0.202.1](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.202.0...portal-network@v0.202.1) (2025-12-04)
92
+
93
+
94
+ ### Bug Fixes
95
+
96
+ * adjusts paginated ([#1860](https://github.com/stack-spot/portal-commons/issues/1860)) ([0bb24c7](https://github.com/stack-spot/portal-commons/commit/0bb24c7cea9b3a77e13d43506f80b161aaa3a5dc))
97
+
98
+ ## [0.202.0](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.201.0...portal-network@v0.202.0) (2025-12-03)
99
+
100
+
101
+ ### Features
102
+
103
+ * tools mcp ([#1858](https://github.com/stack-spot/portal-commons/issues/1858)) ([40d2bfe](https://github.com/stack-spot/portal-commons/commit/40d2bfe0fcea283e8cbb3cff8fc59ebd9f03f281))
104
+
105
+ ## [0.201.0](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.200.0...portal-network@v0.201.0) (2025-12-01)
106
+
107
+
108
+ ### Features
109
+
110
+ * 3101 python script ([#1840](https://github.com/stack-spot/portal-commons/issues/1840)) ([545a6cb](https://github.com/stack-spot/portal-commons/commit/545a6cb58df36dfde482966a40a00076fc68c4cf))
111
+
112
+ ## [0.200.0](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.199.0...portal-network@v0.200.0) (2025-11-28)
113
+
114
+
115
+ ### Features
116
+
117
+ * add new request in cloud platform horizon ([#1824](https://github.com/stack-spot/portal-commons/issues/1824)) ([8ac12ca](https://github.com/stack-spot/portal-commons/commit/8ac12ca4aadc72d76e35b89458e98a43390894e8))
118
+
119
+ ## [0.199.0](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.198.4...portal-network@v0.199.0) (2025-11-25)
120
+
121
+
122
+ ### Features
123
+
124
+ * Adds analytics modules execution times queries ([#1821](https://github.com/stack-spot/portal-commons/issues/1821)) ([56c568d](https://github.com/stack-spot/portal-commons/commit/56c568d1a8d2c18ab8dbfd1f5881e78ec893f733))
125
+ * Adds module docs API support ([#1809](https://github.com/stack-spot/portal-commons/issues/1809)) ([f8238d6](https://github.com/stack-spot/portal-commons/commit/f8238d6c772118d95f2f5436b4957d97c4113a08))
126
+
127
+ ## [0.198.4](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.198.3...portal-network@v0.198.4) (2025-11-24)
128
+
129
+
130
+ ### Bug Fixes
131
+
132
+ * agents v3 ([#1817](https://github.com/stack-spot/portal-commons/issues/1817)) ([3202548](https://github.com/stack-spot/portal-commons/commit/3202548501b50e3ebb06490ea03dc0de62540775))
133
+
3
134
  ## [0.198.3](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.198.2...portal-network@v0.198.3) (2025-11-24)
4
135
 
5
136
 
@@ -28,6 +28,7 @@ export type HttpValidationError = {
28
28
  detail?: ValidationError[];
29
29
  };
30
30
  export type VisibilityLevelEnum = "account" | "personal" | "shared" | "workspace" | "favorite";
31
+ export type ToolkitType = "mcp" | "web_request";
31
32
  export type CustomToolkitSimpleResponse = {
32
33
  id: string;
33
34
  name: string;
@@ -35,6 +36,7 @@ export type CustomToolkitSimpleResponse = {
35
36
  avatar?: string | null;
36
37
  visibility_level: VisibilityLevelEnum;
37
38
  creator_name: string | null;
39
+ toolkit_type?: ToolkitType | null;
38
40
  };
39
41
  export type ToolkitRequest = {
40
42
  /** Toolkit name (up to 150 characters, required) */
@@ -46,6 +48,20 @@ export type ToolkitRequest = {
46
48
  /** Visibility level (default 'PERSONAL') */
47
49
  visibility_level?: VisibilityLevelEnum;
48
50
  };
51
+ export type ToolkitMcpRequest = {
52
+ /** Toolkit name (up to 150 characters, required) */
53
+ name: string;
54
+ /** Toolkit description (up to 1024 characters, optional) */
55
+ description?: string | null;
56
+ /** Toolkit avatar (text base64, optional) */
57
+ avatar?: string | null;
58
+ /** Visibility level (default 'PERSONAL') */
59
+ visibility_level?: VisibilityLevelEnum;
60
+ url: string;
61
+ toolkit_type: ToolkitType;
62
+ /** List of secret IDs (optional) */
63
+ secrets?: string[] | null;
64
+ };
49
65
  export type CreatedResponse = {
50
66
  id: string;
51
67
  };
@@ -71,10 +87,12 @@ export type CustomToolkitResponse = {
71
87
  avatar?: string | null;
72
88
  visibility_level: VisibilityLevelEnum;
73
89
  creator_name: string | null;
90
+ toolkit_type?: ToolkitType | null;
74
91
  tools: CustomToolkitToolResponse[];
75
92
  secret_id?: string | null;
76
93
  secrets?: string[] | null;
77
94
  is_usable_by_others: boolean;
95
+ url?: string | null;
78
96
  };
79
97
  export type ToolkitUpdateRequest = {
80
98
  /** Toolkit name (up to 150 characters, optional) */
@@ -90,6 +108,22 @@ export type ToolkitUpdateRequest = {
90
108
  /** List of secret IDs (optional) */
91
109
  secrets?: string[] | null;
92
110
  };
111
+ export type ToolkitMcpUpdateRequest = {
112
+ /** Toolkit name (up to 150 characters, optional) */
113
+ name?: string | null;
114
+ /** Toolkit description (up to 1024 characters, optional) */
115
+ description?: string | null;
116
+ /** Toolkit avatar (text base64, optional) */
117
+ avatar?: string | null;
118
+ /** Visibility level (optional) */
119
+ visibility_level?: VisibilityLevelEnum | null;
120
+ /** IAM secret ID (optional) */
121
+ secret_id?: string | null;
122
+ /** List of secret IDs (optional) */
123
+ secrets?: string[] | null;
124
+ /** MCP Server URL */
125
+ url?: string | null;
126
+ };
93
127
  export type ToolkitForkRequest = {
94
128
  /** Toolkit name (up to 150 characters, required) */
95
129
  name: string;
@@ -99,148 +133,7 @@ export type ToolkitForkRequest = {
99
133
  avatar?: string | null;
100
134
  };
101
135
  export type HttpMethod = "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
102
- export type Reference = {
103
- $ref: string;
104
- summary?: string | null;
105
- description?: string | null;
106
- [key: string]: any;
107
- };
108
- export type DataType = "null" | "string" | "number" | "integer" | "boolean" | "array" | "object";
109
- export type Discriminator = {
110
- propertyName: string;
111
- mapping?: {
112
- [key: string]: string;
113
- } | null;
114
- [key: string]: any;
115
- };
116
- export type Xml = {
117
- name?: string | null;
118
- "namespace"?: string | null;
119
- prefix?: string | null;
120
- attribute?: boolean;
121
- wrapped?: boolean;
122
- [key: string]: any;
123
- };
124
- export type ExternalDocumentation = {
125
- description?: string | null;
126
- url: string;
127
- [key: string]: any;
128
- };
129
- export type Schema = {
130
- allOf?: (Reference | Schema)[] | null;
131
- anyOf?: (Reference | Schema)[] | null;
132
- oneOf?: (Reference | Schema)[] | null;
133
- not?: Reference | Schema | null;
134
- "if"?: Reference | Schema | null;
135
- then?: Reference | Schema | null;
136
- "else"?: Reference | Schema | null;
137
- dependentSchemas?: {
138
- [key: string]: Reference | Schema;
139
- } | null;
140
- prefixItems?: (Reference | Schema)[] | null;
141
- items?: Reference | Schema | null;
142
- contains?: Reference | Schema | null;
143
- properties?: {
144
- [key: string]: Reference | Schema;
145
- } | null;
146
- patternProperties?: {
147
- [key: string]: Reference | Schema;
148
- } | null;
149
- additionalProperties?: Reference | Schema | boolean | null;
150
- propertyNames?: Reference | Schema | null;
151
- unevaluatedItems?: Reference | Schema | null;
152
- unevaluatedProperties?: Reference | Schema | null;
153
- "type"?: DataType | DataType[] | null;
154
- "enum"?: any[] | null;
155
- "const"?: any | null;
156
- multipleOf?: number | null;
157
- maximum?: number | null;
158
- exclusiveMaximum?: number | null;
159
- minimum?: number | null;
160
- exclusiveMinimum?: number | null;
161
- maxLength?: number | null;
162
- minLength?: number | null;
163
- pattern?: string | null;
164
- maxItems?: number | null;
165
- minItems?: number | null;
166
- uniqueItems?: boolean | null;
167
- maxContains?: number | null;
168
- minContains?: number | null;
169
- maxProperties?: number | null;
170
- minProperties?: number | null;
171
- required?: string[] | null;
172
- dependentRequired?: {
173
- [key: string]: string[];
174
- } | null;
175
- format?: string | null;
176
- contentEncoding?: string | null;
177
- contentMediaType?: string | null;
178
- contentSchema?: Reference | Schema | null;
179
- title?: string | null;
180
- description?: string | null;
181
- "default"?: any | null;
182
- deprecated?: boolean | null;
183
- readOnly?: boolean | null;
184
- writeOnly?: boolean | null;
185
- discriminator?: Discriminator | null;
186
- xml?: Xml | null;
187
- externalDocs?: ExternalDocumentation | null;
188
- [key: string]: any;
189
- };
190
- export type Header = {
191
- description?: string | null;
192
- required?: boolean;
193
- deprecated?: boolean;
194
- style?: string | null;
195
- explode?: boolean | null;
196
- schema?: Reference | Schema | null;
197
- content?: {
198
- [key: string]: MediaType;
199
- } | null;
200
- [key: string]: any;
201
- };
202
- export type Encoding = {
203
- contentType?: string | null;
204
- headers?: {
205
- [key: string]: Header | Reference;
206
- } | null;
207
- style?: string | null;
208
- explode?: boolean | null;
209
- allowReserved?: boolean;
210
- [key: string]: any;
211
- };
212
- export type MediaType = {
213
- schema?: Reference | Schema | null;
214
- encoding?: {
215
- [key: string]: Encoding;
216
- } | null;
217
- [key: string]: any;
218
- };
219
- export type ParameterLocation = "query" | "header" | "path" | "cookie";
220
- export type Parameter = {
221
- description?: string | null;
222
- required?: boolean;
223
- deprecated?: boolean;
224
- style?: string | null;
225
- explode?: boolean | null;
226
- schema?: Reference | Schema | null;
227
- content?: {
228
- [key: string]: MediaType;
229
- } | null;
230
- name: string;
231
- "in": ParameterLocation;
232
- allowEmptyValue?: boolean;
233
- allowReserved?: boolean;
234
- [key: string]: any;
235
- };
236
- export type RequestBody = {
237
- description?: string | null;
238
- content: {
239
- [key: string]: MediaType;
240
- };
241
- required?: boolean;
242
- [key: string]: any;
243
- };
136
+ export type JsonValue = any;
244
137
  export type CustomToolRequest = {
245
138
  /** Tool name (up to 256 characters, required) */
246
139
  name: string;
@@ -251,9 +144,9 @@ export type CustomToolRequest = {
251
144
  /** Endpoint URL (required, must use https schema) */
252
145
  url: string;
253
146
  /** Dict of parameters (optional) */
254
- parameters?: Parameter[] | null;
147
+ parameters?: JsonValue[] | null;
255
148
  /** Dict of request body (optional) */
256
- request_body?: RequestBody | null;
149
+ request_body?: JsonValue | null;
257
150
  /** Response transformation (optional) */
258
151
  response_transformation?: string | null;
259
152
  };
@@ -285,10 +178,23 @@ export type AssignToolsToAgentRequest = {
285
178
  builtin_tool_ids?: string[] | null;
286
179
  custom_tools?: AssignCustomToolsAgentRequest[] | null;
287
180
  sub_agents_ids?: string[] | null;
181
+ mcp_toolkit_ids?: string[] | null;
182
+ };
183
+ export type ToolkitMcpResponse = {
184
+ id?: string | null;
185
+ name?: string | null;
186
+ description?: string | null;
187
+ avatar?: string | null;
188
+ visibility_level?: string | null;
189
+ secret_id?: string | null;
190
+ secrets?: string[] | null;
191
+ url?: string | null;
192
+ toolkit_type?: ToolkitType | null;
288
193
  };
289
194
  export type AgentToolsResponse = {
290
195
  builtin_toolkits?: BuiltinToolkitResponse[];
291
196
  custom_toolkits?: CustomToolkitResponse[];
197
+ mcp_toolkits?: ToolkitMcpResponse[];
292
198
  };
293
199
  export type SchemaEnum = "OPENAI";
294
200
  export type FunctionParameter = {
@@ -318,6 +224,8 @@ export type Function = {
318
224
  strict: boolean;
319
225
  };
320
226
  export type OpenAiTool = {
227
+ /** Unique identifier for the tool */
228
+ id?: string | null;
321
229
  /** The type of the tool; must be 'function' */
322
230
  "type": "function";
323
231
  /** The function associated with this tool */
@@ -366,6 +274,7 @@ export type KnowledgeSourcesConfigRequest = {
366
274
  };
367
275
  export type AgentMode = "autonomous" | "plan_approval" | "plan_and_critical_approval";
368
276
  export type AgentMemory = "vector" | "buffer";
277
+ export type PlannerType = "simple" | "tool_oriented";
369
278
  export type NewAgentRequest = {
370
279
  /** LLM model name */
371
280
  model_name?: string | null;
@@ -389,6 +298,7 @@ export type NewAgentRequest = {
389
298
  builtin_tools_ids?: string[];
390
299
  /** Custom tools to assign to the agent */
391
300
  custom_tools?: AssignCustomToolsAgentRequest[] | null;
301
+ mcp_toolkit_ids?: string[] | null;
392
302
  sub_agents_ids?: string[] | null;
393
303
  detail_mode?: boolean;
394
304
  structured_output?: string | null;
@@ -401,6 +311,10 @@ export type NewAgentRequest = {
401
311
  memory?: AgentMemory;
402
312
  /** Available models for this particular agent */
403
313
  available_models_ids?: string[];
314
+ /** Agent planner type */
315
+ planner_type?: PlannerType | null;
316
+ /** Maximum number of LLM interactions allowed for the agent when using simple planner */
317
+ max_llm_interactions?: number | null;
404
318
  };
405
319
  export type SearchAgentsRequest = {
406
320
  /** Agent ids to filter for */
@@ -510,10 +424,38 @@ export type CustomToolkitDto = {
510
424
  visibility_level: VisibilityLevelEnum;
511
425
  creator_name: string;
512
426
  is_usable_by_others: boolean;
427
+ url: string | null;
428
+ toolkit_type: ToolkitType | null;
429
+ };
430
+ export type SecretScope = "ACCOUNT" | "SCOPED" | "SPOT" | "USER" | "UNKNOWN";
431
+ export type SecretDto = {
432
+ id: string;
433
+ scope?: SecretScope | null;
434
+ };
435
+ export type Function2 = {
436
+ name: string;
437
+ description: string;
438
+ parameters: {
439
+ [key: string]: any;
440
+ };
441
+ strict?: boolean;
442
+ };
443
+ export type ToolkitMcpdto = {
444
+ secrets: SecretDto[] | null;
445
+ name: string;
446
+ description?: string | null;
447
+ avatar?: string | null;
448
+ visibility_level?: VisibilityLevelEnum;
449
+ id?: string | null;
450
+ url?: string | null;
451
+ tools?: Function2[] | null;
452
+ /** Toolkit type */
453
+ toolkit_type?: ToolkitType | null;
513
454
  };
514
455
  export type AgentToolsDto = {
515
456
  builtin_toolkits?: BuiltinToolkitDto[];
516
457
  custom_toolkits?: CustomToolkitDto[];
458
+ mcp_toolkits?: ToolkitMcpdto[];
517
459
  };
518
460
  export type LlmSettingsModel = {
519
461
  property_key?: string | null;
@@ -584,6 +526,7 @@ export type UpdateAgentRequest = {
584
526
  sub_agents_ids?: string[];
585
527
  /** Custom tools to assign to the agent */
586
528
  custom_tools?: AssignCustomToolsAgentRequest[] | null;
529
+ mcp_toolkit_ids?: string[] | null;
587
530
  detail_mode?: boolean | null;
588
531
  structured_output?: string | null;
589
532
  llm_settings?: {
@@ -595,6 +538,10 @@ export type UpdateAgentRequest = {
595
538
  available_models_ids?: string[];
596
539
  /** Agent memory */
597
540
  memory?: AgentMemory;
541
+ /** Agent planner type */
542
+ planner_type?: PlannerType;
543
+ /** Maximum number of LLM interactions allowed for the agent when using simple planner */
544
+ max_llm_interactions?: number | null;
598
545
  };
599
546
  export type ForkAgentRequest = {
600
547
  /** Agent slug to fork */
@@ -681,6 +628,34 @@ export type ToolkitForkResponse = {
681
628
  /** List of toolkit IDs that failed to fork */
682
629
  error_ids: string[];
683
630
  };
631
+ export type PaginatedResponseCustomToolkitSimpleResponse = {
632
+ total_pages: number;
633
+ items: CustomToolkitSimpleResponse[];
634
+ };
635
+ export type ParametersModel = {
636
+ properties: {
637
+ [key: string]: {
638
+ [key: string]: any;
639
+ };
640
+ };
641
+ required?: string[] | null;
642
+ "type": string;
643
+ additionalProperties: boolean;
644
+ };
645
+ export type FunctionModel = {
646
+ name: string;
647
+ description: string;
648
+ parameters: ParametersModel;
649
+ strict?: boolean;
650
+ };
651
+ export type FunctionItem = {
652
+ "type": string;
653
+ "function": FunctionModel;
654
+ };
655
+ export type FunctionsResponse = {
656
+ last_update: string;
657
+ tools: FunctionItem[];
658
+ };
684
659
  /**
685
660
  * Health Check
686
661
  */
@@ -717,13 +692,13 @@ export declare function listToolkitsV1ToolkitsGet({ visibility, xAccountId, xUse
717
692
  /**
718
693
  * Create Toolkit
719
694
  */
720
- export declare function createToolkitV1ToolkitsPost({ xAccountId, xUsername, xUserId, xUserFullName, authorization, toolkitRequest }: {
695
+ export declare function createToolkitV1ToolkitsPost({ xAccountId, xUsername, xUserId, xUserFullName, authorization, body }: {
721
696
  xAccountId?: string | null;
722
697
  xUsername?: string | null;
723
698
  xUserId?: string | null;
724
699
  xUserFullName?: string | null;
725
700
  authorization: string;
726
- toolkitRequest: ToolkitRequest;
701
+ body: ToolkitRequest | ToolkitMcpRequest;
727
702
  }, opts?: Oazapfts.RequestOpts): Promise<CreatedResponse>;
728
703
  /**
729
704
  * Get Toolkit
@@ -739,14 +714,14 @@ export declare function getToolkitV1ToolkitsToolkitIdGet({ toolkitId, xAccountId
739
714
  /**
740
715
  * Update Toolkit
741
716
  */
742
- export declare function updateToolkitV1ToolkitsToolkitIdPatch({ toolkitId, xAccountId, xUsername, xUserId, xUserFullName, authorization, toolkitUpdateRequest }: {
717
+ export declare function updateToolkitV1ToolkitsToolkitIdPatch({ toolkitId, xAccountId, xUsername, xUserId, xUserFullName, authorization, body }: {
743
718
  toolkitId: string;
744
719
  xAccountId?: string | null;
745
720
  xUsername?: string | null;
746
721
  xUserId?: string | null;
747
722
  xUserFullName?: string | null;
748
723
  authorization: string;
749
- toolkitUpdateRequest: ToolkitUpdateRequest;
724
+ body: ToolkitUpdateRequest | ToolkitMcpUpdateRequest;
750
725
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
751
726
  /**
752
727
  * Delete Toolkit
@@ -1228,4 +1203,31 @@ export declare function internalForkToolkitsByIdsV1SpotToolkitsForkPost({ xAccou
1228
1203
  authorization: string;
1229
1204
  internalToolkitForkRequest: InternalToolkitForkRequest;
1230
1205
  }, opts?: Oazapfts.RequestOpts): Promise<ToolkitForkResponse>;
1206
+ /**
1207
+ * List Toolkits
1208
+ */
1209
+ export declare function listToolkitsV2ToolkitsGet({ name, visibilityList, size, page, order, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
1210
+ name?: string | null;
1211
+ visibilityList?: VisibilityLevelEnum[];
1212
+ size?: number;
1213
+ page?: number;
1214
+ order?: OrderEnum | null;
1215
+ xAccountId?: string | null;
1216
+ xUsername?: string | null;
1217
+ xUserId?: string | null;
1218
+ xUserFullName?: string | null;
1219
+ authorization: string;
1220
+ }, opts?: Oazapfts.RequestOpts): Promise<PaginatedResponseCustomToolkitSimpleResponse>;
1221
+ /**
1222
+ * List Mcp Tools
1223
+ */
1224
+ export declare function listMcpToolsV1McpToolsToolkitIdGet({ toolkitId, cacheControl, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
1225
+ toolkitId: string;
1226
+ cacheControl?: string | null;
1227
+ xAccountId?: string | null;
1228
+ xUsername?: string | null;
1229
+ xUserId?: string | null;
1230
+ xUserFullName?: string | null;
1231
+ authorization: string;
1232
+ }, opts?: Oazapfts.RequestOpts): Promise<FunctionsResponse>;
1231
1233
  //# sourceMappingURL=agent-tools.d.ts.map