@stack-spot/portal-network 0.195.0 → 0.196.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 (92) hide show
  1. package/CHANGELOG.md +86 -0
  2. package/dist/api/agent-tools.d.ts +135 -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/agent.d.ts +55 -55
  7. package/dist/api/agent.d.ts.map +1 -1
  8. package/dist/api/ai.d.ts +377 -103
  9. package/dist/api/ai.d.ts.map +1 -1
  10. package/dist/api/ai.js +383 -156
  11. package/dist/api/ai.js.map +1 -1
  12. package/dist/api/cloudPlatformHorizon.d.ts +178 -9
  13. package/dist/api/cloudPlatformHorizon.d.ts.map +1 -1
  14. package/dist/api/cloudPlatformHorizon.js +69 -1
  15. package/dist/api/cloudPlatformHorizon.js.map +1 -1
  16. package/dist/api/codeShift.d.ts +315 -62
  17. package/dist/api/codeShift.d.ts.map +1 -1
  18. package/dist/api/codeShift.js +153 -12
  19. package/dist/api/codeShift.js.map +1 -1
  20. package/dist/api/discover.d.ts +23 -12
  21. package/dist/api/discover.d.ts.map +1 -1
  22. package/dist/api/discover.js +10 -0
  23. package/dist/api/discover.js.map +1 -1
  24. package/dist/api-addresses.d.ts.map +1 -1
  25. package/dist/client/account.d.ts +233 -233
  26. package/dist/client/account.d.ts.map +1 -1
  27. package/dist/client/agent-tools.d.ts +152 -126
  28. package/dist/client/agent-tools.d.ts.map +1 -1
  29. package/dist/client/agent-tools.js +29 -2
  30. package/dist/client/agent-tools.js.map +1 -1
  31. package/dist/client/agent.d.ts +46 -46
  32. package/dist/client/agent.d.ts.map +1 -1
  33. package/dist/client/ai.d.ts +120 -81
  34. package/dist/client/ai.d.ts.map +1 -1
  35. package/dist/client/ai.js +29 -2
  36. package/dist/client/ai.js.map +1 -1
  37. package/dist/client/api-management.d.ts +2 -2
  38. package/dist/client/cloud-account.d.ts +13 -13
  39. package/dist/client/cloud-platform-horizon.d.ts +38 -19
  40. package/dist/client/cloud-platform-horizon.d.ts.map +1 -1
  41. package/dist/client/cloud-platform-horizon.js +19 -1
  42. package/dist/client/cloud-platform-horizon.js.map +1 -1
  43. package/dist/client/cloud-platform.d.ts +50 -50
  44. package/dist/client/cloud-runtimes.d.ts +4 -4
  45. package/dist/client/cloud-services.d.ts +17 -17
  46. package/dist/client/cloud-services.d.ts.map +1 -1
  47. package/dist/client/code-shift.d.ts +349 -258
  48. package/dist/client/code-shift.d.ts.map +1 -1
  49. package/dist/client/code-shift.js +82 -1
  50. package/dist/client/code-shift.js.map +1 -1
  51. package/dist/client/content.d.ts +127 -132
  52. package/dist/client/content.d.ts.map +1 -1
  53. package/dist/client/data-integration.d.ts +55 -55
  54. package/dist/client/data-integration.d.ts.map +1 -1
  55. package/dist/client/discover.d.ts +15 -9
  56. package/dist/client/discover.d.ts.map +1 -1
  57. package/dist/client/discover.js +208 -0
  58. package/dist/client/discover.js.map +1 -1
  59. package/dist/client/event-bus.d.ts.map +1 -1
  60. package/dist/client/gen-ai-inference.d.ts +20 -20
  61. package/dist/client/insights.d.ts +7 -7
  62. package/dist/client/notification.d.ts +10 -10
  63. package/dist/client/runtime-manager.d.ts +8 -8
  64. package/dist/client/types.d.ts +14 -0
  65. package/dist/client/types.d.ts.map +1 -1
  66. package/dist/client/workflow.d.ts +10 -10
  67. package/dist/client/workspace-ai.d.ts +53 -53
  68. package/dist/client/workspace-manager.d.ts +77 -77
  69. package/dist/client/workspace-search.d.ts +2 -2
  70. package/dist/client/workspace.d.ts +58 -105
  71. package/dist/client/workspace.d.ts.map +1 -1
  72. package/dist/error/dictionary/cloud-platform.d.ts +6 -0
  73. package/dist/error/dictionary/cloud-platform.d.ts.map +1 -1
  74. package/dist/error/dictionary/cloud-platform.js +6 -0
  75. package/dist/error/dictionary/cloud-platform.js.map +1 -1
  76. package/dist/utils/StreamedJson.d.ts.map +1 -1
  77. package/dist/utils/StreamedJson.js +9 -1
  78. package/dist/utils/StreamedJson.js.map +1 -1
  79. package/package.json +2 -2
  80. package/src/api/agent-tools.ts +182 -150
  81. package/src/api/ai.ts +733 -185
  82. package/src/api/cloudPlatformHorizon.ts +412 -9
  83. package/src/api/codeShift.ts +607 -69
  84. package/src/api/discover.ts +35 -12
  85. package/src/client/agent-tools.ts +20 -2
  86. package/src/client/ai.ts +25 -10
  87. package/src/client/cloud-platform-horizon.ts +12 -4
  88. package/src/client/code-shift.ts +50 -1
  89. package/src/client/discover.ts +220 -3
  90. package/src/client/types.ts +17 -2
  91. package/src/error/dictionary/cloud-platform.ts +6 -0
  92. package/src/utils/StreamedJson.tsx +9 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,91 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.196.0-beta.1](https://github.com/stack-spot/portal-commons/compare/portal-network-beta@v0.195.0-beta.1...portal-network-beta@v0.196.0-beta.1) (2025-12-03)
4
+
5
+
6
+ ### Features
7
+
8
+ * agent tools upd 12 ([#1856](https://github.com/stack-spot/portal-commons/issues/1856)) ([8362bbe](https://github.com/stack-spot/portal-commons/commit/8362bbe605ea23deffb7c1453dd78bf9558d2a60))
9
+
10
+ ## [0.201.0](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.200.0...portal-network@v0.201.0) (2025-12-01)
11
+
12
+
13
+ ### Features
14
+
15
+ * 3101 python script ([#1840](https://github.com/stack-spot/portal-commons/issues/1840)) ([545a6cb](https://github.com/stack-spot/portal-commons/commit/545a6cb58df36dfde482966a40a00076fc68c4cf))
16
+
17
+ ## [0.200.0](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.199.0...portal-network@v0.200.0) (2025-11-28)
18
+
19
+
20
+ ### Features
21
+
22
+ * 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))
23
+
24
+ ## [0.199.0](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.198.4...portal-network@v0.199.0) (2025-11-25)
25
+
26
+
27
+ ### Features
28
+
29
+ * 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))
30
+ * 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))
31
+
32
+ ## [0.198.4](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.198.3...portal-network@v0.198.4) (2025-11-24)
33
+
34
+
35
+ ### Bug Fixes
36
+
37
+ * agents v3 ([#1817](https://github.com/stack-spot/portal-commons/issues/1817)) ([3202548](https://github.com/stack-spot/portal-commons/commit/3202548501b50e3ebb06490ea03dc0de62540775))
38
+
39
+ ## [0.198.3](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.198.2...portal-network@v0.198.3) (2025-11-24)
40
+
41
+
42
+ ### Bug Fixes
43
+
44
+ * Add memory option ([#1816](https://github.com/stack-spot/portal-commons/issues/1816)) ([487cbca](https://github.com/stack-spot/portal-commons/commit/487cbcad5fa5be53450c011f78e21f9959ded3a3))
45
+
46
+ ## [0.198.2](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.198.1...portal-network@v0.198.2) (2025-11-12)
47
+
48
+
49
+ ### Bug Fixes
50
+
51
+ * add new message error in cloud platform ([#1791](https://github.com/stack-spot/portal-commons/issues/1791)) ([aa9ecf2](https://github.com/stack-spot/portal-commons/commit/aa9ecf207b58b70dfb9d335dfda4fa1cbf27a938))
52
+
53
+ ## [0.198.1](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.198.0...portal-network@v0.198.1) (2025-11-11)
54
+
55
+
56
+ ### Bug Fixes
57
+
58
+ * add type for resources in adp chat ([#1789](https://github.com/stack-spot/portal-commons/issues/1789)) ([9967d20](https://github.com/stack-spot/portal-commons/commit/9967d207a264bb7d412f66745ae82ed1a7533c41))
59
+
60
+ ## [0.198.0](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.197.0...portal-network@v0.198.0) (2025-11-10)
61
+
62
+
63
+ ### Features
64
+
65
+ * add sendChatMessage in discover ([#1785](https://github.com/stack-spot/portal-commons/issues/1785)) ([22a5994](https://github.com/stack-spot/portal-commons/commit/22a5994aff7cb9d2f766b5566dd9d86bdeae7590))
66
+
67
+ ## [0.197.0](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.196.0...portal-network@v0.197.0) (2025-11-10)
68
+
69
+
70
+ ### Features
71
+
72
+ * add PAT Health Check query to CodeShift client ([b5c1234](https://github.com/stack-spot/portal-commons/commit/b5c12348dea37d000aa88628704b3af4ea080a44))
73
+ * add PAT Health Check query to CodeShift client ([#1780](https://github.com/stack-spot/portal-commons/issues/1780)) ([321ddc0](https://github.com/stack-spot/portal-commons/commit/321ddc0b36dd310d81b2eb81e52fef1d743fae82))
74
+
75
+ ## [0.196.0](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.195.1...portal-network@v0.196.0) (2025-11-07)
76
+
77
+
78
+ ### Features
79
+
80
+ * update code shift api and add new requests ([#1778](https://github.com/stack-spot/portal-commons/issues/1778)) ([96fb94a](https://github.com/stack-spot/portal-commons/commit/96fb94a20642ad54eeecf04dfc1f4aa1b4a67f4a))
81
+
82
+ ## [0.195.1](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.195.0...portal-network@v0.195.1) (2025-11-06)
83
+
84
+
85
+ ### Bug Fixes
86
+
87
+ * up types ([#1767](https://github.com/stack-spot/portal-commons/issues/1767)) ([6b4706b](https://github.com/stack-spot/portal-commons/commit/6b4706b0abf7e820c3c5de2ad6b74be42da4191c))
88
+
3
89
  ## [0.195.0](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.194.2...portal-network@v0.195.0) (2025-11-06)
4
90
 
5
91
 
@@ -46,6 +46,21 @@ export type ToolkitRequest = {
46
46
  /** Visibility level (default 'PERSONAL') */
47
47
  visibility_level?: VisibilityLevelEnum;
48
48
  };
49
+ export type ToolkitType = "mcp" | "web_request";
50
+ export type ToolkitMcpRequest = {
51
+ /** Toolkit name (up to 150 characters, required) */
52
+ name: string;
53
+ /** Toolkit description (up to 1024 characters, optional) */
54
+ description?: string | null;
55
+ /** Toolkit avatar (text base64, optional) */
56
+ avatar?: string | null;
57
+ /** Visibility level (default 'PERSONAL') */
58
+ visibility_level?: VisibilityLevelEnum;
59
+ url: string;
60
+ toolkit_type: ToolkitType;
61
+ /** List of secret IDs (optional) */
62
+ secrets?: string[] | null;
63
+ };
49
64
  export type CreatedResponse = {
50
65
  id: string;
51
66
  };
@@ -75,6 +90,8 @@ export type CustomToolkitResponse = {
75
90
  secret_id?: string | null;
76
91
  secrets?: string[] | null;
77
92
  is_usable_by_others: boolean;
93
+ url?: string | null;
94
+ toolkit_type?: ToolkitType | null;
78
95
  };
79
96
  export type ToolkitUpdateRequest = {
80
97
  /** Toolkit name (up to 150 characters, optional) */
@@ -90,6 +107,22 @@ export type ToolkitUpdateRequest = {
90
107
  /** List of secret IDs (optional) */
91
108
  secrets?: string[] | null;
92
109
  };
110
+ export type ToolkitMcpUpdateRequest = {
111
+ /** Toolkit name (up to 150 characters, optional) */
112
+ name?: string | null;
113
+ /** Toolkit description (up to 1024 characters, optional) */
114
+ description?: string | null;
115
+ /** Toolkit avatar (text base64, optional) */
116
+ avatar?: string | null;
117
+ /** Visibility level (optional) */
118
+ visibility_level?: VisibilityLevelEnum | null;
119
+ /** IAM secret ID (optional) */
120
+ secret_id?: string | null;
121
+ /** List of secret IDs (optional) */
122
+ secrets?: string[] | null;
123
+ /** MCP Server URL */
124
+ url?: string | null;
125
+ };
93
126
  export type ToolkitForkRequest = {
94
127
  /** Toolkit name (up to 150 characters, required) */
95
128
  name: string;
@@ -99,148 +132,7 @@ export type ToolkitForkRequest = {
99
132
  avatar?: string | null;
100
133
  };
101
134
  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
- };
135
+ export type JsonValue = any;
244
136
  export type CustomToolRequest = {
245
137
  /** Tool name (up to 256 characters, required) */
246
138
  name: string;
@@ -251,9 +143,9 @@ export type CustomToolRequest = {
251
143
  /** Endpoint URL (required, must use https schema) */
252
144
  url: string;
253
145
  /** Dict of parameters (optional) */
254
- parameters?: Parameter[] | null;
146
+ parameters?: JsonValue[] | null;
255
147
  /** Dict of request body (optional) */
256
- request_body?: RequestBody | null;
148
+ request_body?: JsonValue | null;
257
149
  /** Response transformation (optional) */
258
150
  response_transformation?: string | null;
259
151
  };
@@ -285,10 +177,23 @@ export type AssignToolsToAgentRequest = {
285
177
  builtin_tool_ids?: string[] | null;
286
178
  custom_tools?: AssignCustomToolsAgentRequest[] | null;
287
179
  sub_agents_ids?: string[] | null;
180
+ mcp_toolkit_ids?: string[] | null;
181
+ };
182
+ export type ToolkitMcpResponse = {
183
+ id?: string | null;
184
+ name?: string | null;
185
+ description?: string | null;
186
+ avatar?: string | null;
187
+ visibility_level?: string | null;
188
+ secret_id?: string | null;
189
+ secrets?: string[] | null;
190
+ url?: string | null;
191
+ toolkit_type?: ToolkitType | null;
288
192
  };
289
193
  export type AgentToolsResponse = {
290
194
  builtin_toolkits?: BuiltinToolkitResponse[];
291
195
  custom_toolkits?: CustomToolkitResponse[];
196
+ mcp_toolkits?: ToolkitMcpResponse[];
292
197
  };
293
198
  export type SchemaEnum = "OPENAI";
294
199
  export type FunctionParameter = {
@@ -318,6 +223,8 @@ export type Function = {
318
223
  strict: boolean;
319
224
  };
320
225
  export type OpenAiTool = {
226
+ /** Unique identifier for the tool */
227
+ id?: string | null;
321
228
  /** The type of the tool; must be 'function' */
322
229
  "type": "function";
323
230
  /** The function associated with this tool */
@@ -365,6 +272,7 @@ export type KnowledgeSourcesConfigRequest = {
365
272
  sealed?: boolean | null;
366
273
  };
367
274
  export type AgentMode = "autonomous" | "plan_approval" | "plan_and_critical_approval";
275
+ export type AgentMemory = "vector" | "buffer";
368
276
  export type NewAgentRequest = {
369
277
  /** LLM model name */
370
278
  model_name?: string | null;
@@ -388,6 +296,7 @@ export type NewAgentRequest = {
388
296
  builtin_tools_ids?: string[];
389
297
  /** Custom tools to assign to the agent */
390
298
  custom_tools?: AssignCustomToolsAgentRequest[] | null;
299
+ mcp_toolkit_ids?: string[] | null;
391
300
  sub_agents_ids?: string[] | null;
392
301
  detail_mode?: boolean;
393
302
  structured_output?: string | null;
@@ -396,6 +305,8 @@ export type NewAgentRequest = {
396
305
  } | null;
397
306
  /** Agent mode */
398
307
  mode?: AgentMode;
308
+ /** Agent memory */
309
+ memory?: AgentMemory;
399
310
  /** Available models for this particular agent */
400
311
  available_models_ids?: string[];
401
312
  };
@@ -507,10 +418,30 @@ export type CustomToolkitDto = {
507
418
  visibility_level: VisibilityLevelEnum;
508
419
  creator_name: string;
509
420
  is_usable_by_others: boolean;
421
+ url: string | null;
422
+ toolkit_type: ToolkitType | null;
423
+ };
424
+ export type SecretScope = "ACCOUNT" | "SCOPED" | "SPOT" | "USER" | "UNKNOWN";
425
+ export type SecretDto = {
426
+ id: string;
427
+ scope?: SecretScope | null;
428
+ };
429
+ export type ToolkitMcpdto = {
430
+ secrets: SecretDto[] | null;
431
+ name: string;
432
+ description?: string | null;
433
+ avatar?: string | null;
434
+ visibility_level?: VisibilityLevelEnum;
435
+ id?: string | null;
436
+ url?: string | null;
437
+ tools?: any[] | null;
438
+ /** Toolkit type */
439
+ toolkit_type?: ToolkitType | null;
510
440
  };
511
441
  export type AgentToolsDto = {
512
442
  builtin_toolkits?: BuiltinToolkitDto[];
513
443
  custom_toolkits?: CustomToolkitDto[];
444
+ mcp_toolkits?: ToolkitMcpdto[];
514
445
  };
515
446
  export type LlmSettingsModel = {
516
447
  property_key?: string | null;
@@ -554,6 +485,7 @@ export type AgentModel = {
554
485
  updated_by?: string | null;
555
486
  updated_at?: string | null;
556
487
  available_llm_models?: AgentLlmModelDto[];
488
+ memory?: AgentMemory;
557
489
  };
558
490
  export type UpdateAgentRequest = {
559
491
  use_only?: boolean | null;
@@ -580,6 +512,7 @@ export type UpdateAgentRequest = {
580
512
  sub_agents_ids?: string[];
581
513
  /** Custom tools to assign to the agent */
582
514
  custom_tools?: AssignCustomToolsAgentRequest[] | null;
515
+ mcp_toolkit_ids?: string[] | null;
583
516
  detail_mode?: boolean | null;
584
517
  structured_output?: string | null;
585
518
  llm_settings?: {
@@ -589,6 +522,8 @@ export type UpdateAgentRequest = {
589
522
  mode?: AgentMode | null;
590
523
  /** Available models for this particular agent */
591
524
  available_models_ids?: string[];
525
+ /** Agent memory */
526
+ memory?: AgentMemory;
592
527
  };
593
528
  export type ForkAgentRequest = {
594
529
  /** Agent slug to fork */
@@ -675,6 +610,31 @@ export type ToolkitForkResponse = {
675
610
  /** List of toolkit IDs that failed to fork */
676
611
  error_ids: string[];
677
612
  };
613
+ export type PaginatedResponseCustomToolkitSimpleResponse = {
614
+ total_pages: number;
615
+ items: CustomToolkitSimpleResponse[];
616
+ };
617
+ export type ParametersModel = {
618
+ properties: {
619
+ [key: string]: {
620
+ [key: string]: any;
621
+ };
622
+ };
623
+ required?: string[] | null;
624
+ "type": string;
625
+ additionalProperties: boolean;
626
+ };
627
+ export type FunctionModel = {
628
+ name: string;
629
+ description: string;
630
+ parameters: ParametersModel;
631
+ strict?: boolean;
632
+ };
633
+ export type FunctionItem = {
634
+ "type": string;
635
+ "function": FunctionModel;
636
+ };
637
+ export type FunctionsResponse = FunctionItem[];
678
638
  /**
679
639
  * Health Check
680
640
  */
@@ -711,13 +671,13 @@ export declare function listToolkitsV1ToolkitsGet({ visibility, xAccountId, xUse
711
671
  /**
712
672
  * Create Toolkit
713
673
  */
714
- export declare function createToolkitV1ToolkitsPost({ xAccountId, xUsername, xUserId, xUserFullName, authorization, toolkitRequest }: {
674
+ export declare function createToolkitV1ToolkitsPost({ xAccountId, xUsername, xUserId, xUserFullName, authorization, body }: {
715
675
  xAccountId?: string | null;
716
676
  xUsername?: string | null;
717
677
  xUserId?: string | null;
718
678
  xUserFullName?: string | null;
719
679
  authorization: string;
720
- toolkitRequest: ToolkitRequest;
680
+ body: ToolkitRequest | ToolkitMcpRequest;
721
681
  }, opts?: Oazapfts.RequestOpts): Promise<CreatedResponse>;
722
682
  /**
723
683
  * Get Toolkit
@@ -733,14 +693,14 @@ export declare function getToolkitV1ToolkitsToolkitIdGet({ toolkitId, xAccountId
733
693
  /**
734
694
  * Update Toolkit
735
695
  */
736
- export declare function updateToolkitV1ToolkitsToolkitIdPatch({ toolkitId, xAccountId, xUsername, xUserId, xUserFullName, authorization, toolkitUpdateRequest }: {
696
+ export declare function updateToolkitV1ToolkitsToolkitIdPatch({ toolkitId, xAccountId, xUsername, xUserId, xUserFullName, authorization, body }: {
737
697
  toolkitId: string;
738
698
  xAccountId?: string | null;
739
699
  xUsername?: string | null;
740
700
  xUserId?: string | null;
741
701
  xUserFullName?: string | null;
742
702
  authorization: string;
743
- toolkitUpdateRequest: ToolkitUpdateRequest;
703
+ body: ToolkitUpdateRequest | ToolkitMcpUpdateRequest;
744
704
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
745
705
  /**
746
706
  * Delete Toolkit
@@ -1222,4 +1182,31 @@ export declare function internalForkToolkitsByIdsV1SpotToolkitsForkPost({ xAccou
1222
1182
  authorization: string;
1223
1183
  internalToolkitForkRequest: InternalToolkitForkRequest;
1224
1184
  }, opts?: Oazapfts.RequestOpts): Promise<ToolkitForkResponse>;
1185
+ /**
1186
+ * List Toolkits
1187
+ */
1188
+ export declare function listToolkitsV2ToolkitsGet({ name, visibilityList, size, page, order, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
1189
+ name?: string | null;
1190
+ visibilityList?: VisibilityLevelEnum[];
1191
+ size?: number;
1192
+ page?: number;
1193
+ order?: OrderEnum | null;
1194
+ xAccountId?: string | null;
1195
+ xUsername?: string | null;
1196
+ xUserId?: string | null;
1197
+ xUserFullName?: string | null;
1198
+ authorization: string;
1199
+ }, opts?: Oazapfts.RequestOpts): Promise<PaginatedResponseCustomToolkitSimpleResponse>;
1200
+ /**
1201
+ * List Mcp Tools
1202
+ */
1203
+ export declare function listMcpToolsV1McpToolsToolkitIdGet({ toolkitId, cacheControl, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
1204
+ toolkitId: string;
1205
+ cacheControl?: string | null;
1206
+ xAccountId?: string | null;
1207
+ xUsername?: string | null;
1208
+ xUserId?: string | null;
1209
+ xUserFullName?: string | null;
1210
+ authorization: string;
1211
+ }, opts?: Oazapfts.RequestOpts): Promise<FunctionsResponse>;
1225
1212
  //# sourceMappingURL=agent-tools.d.ts.map