@stack-spot/portal-network 1.0.0-betaadp.2 → 1.0.0-dev.1768422812092
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.
- package/CHANGELOG.md +633 -0
- package/dist/api/account.d.ts +413 -277
- package/dist/api/account.d.ts.map +1 -1
- package/dist/api/account.js +261 -176
- package/dist/api/account.js.map +1 -1
- package/dist/api/accountAssetManager.d.ts +309 -0
- package/dist/api/accountAssetManager.d.ts.map +1 -0
- package/dist/api/accountAssetManager.js +169 -0
- package/dist/api/accountAssetManager.js.map +1 -0
- package/dist/api/agent-tools.d.ts +243 -149
- package/dist/api/agent-tools.d.ts.map +1 -1
- package/dist/api/agent-tools.js +77 -5
- package/dist/api/agent-tools.js.map +1 -1
- package/dist/api/agent.d.ts +55 -55
- package/dist/api/agent.d.ts.map +1 -1
- package/dist/api/ai.d.ts +487 -98
- package/dist/api/ai.d.ts.map +1 -1
- package/dist/api/ai.js +427 -146
- package/dist/api/ai.js.map +1 -1
- package/dist/api/cloudPlatform.d.ts +374 -221
- package/dist/api/cloudPlatform.d.ts.map +1 -1
- package/dist/api/cloudPlatform.js +299 -93
- package/dist/api/cloudPlatform.js.map +1 -1
- package/dist/api/cloudPlatformHorizon.d.ts +178 -9
- package/dist/api/cloudPlatformHorizon.d.ts.map +1 -1
- package/dist/api/cloudPlatformHorizon.js +69 -1
- package/dist/api/cloudPlatformHorizon.js.map +1 -1
- package/dist/api/codeShift.d.ts +1125 -83
- package/dist/api/codeShift.d.ts.map +1 -1
- package/dist/api/codeShift.js +538 -16
- package/dist/api/codeShift.js.map +1 -1
- package/dist/api/dataIntegration.d.ts +291 -1
- package/dist/api/dataIntegration.d.ts.map +1 -1
- package/dist/api/dataIntegration.js +254 -0
- package/dist/api/dataIntegration.js.map +1 -1
- package/dist/api/discover.d.ts +380 -0
- package/dist/api/discover.d.ts.map +1 -0
- package/dist/api/discover.js +256 -0
- package/dist/api/discover.js.map +1 -0
- package/dist/api/edpBfa.d.ts +215 -0
- package/dist/api/edpBfa.d.ts.map +1 -0
- package/dist/api/edpBfa.js +87 -0
- package/dist/api/edpBfa.js.map +1 -0
- package/dist/api/genAiInference.d.ts +22 -2
- package/dist/api/genAiInference.d.ts.map +1 -1
- package/dist/api/genAiInference.js +22 -3
- package/dist/api/genAiInference.js.map +1 -1
- package/dist/api/workflows.d.ts +68 -5
- package/dist/api/workflows.d.ts.map +1 -1
- package/dist/api/workflows.js +16 -0
- package/dist/api/workflows.js.map +1 -1
- package/dist/api/workspaceManager.d.ts +16 -10
- package/dist/api/workspaceManager.d.ts.map +1 -1
- package/dist/api/workspaceManager.js +10 -0
- package/dist/api/workspaceManager.js.map +1 -1
- package/dist/api-addresses.d.ts +20 -18
- package/dist/api-addresses.d.ts.map +1 -1
- package/dist/api-addresses.js +81 -21
- package/dist/api-addresses.js.map +1 -1
- package/dist/apis-itau.json +241 -0
- package/dist/apis.json +18 -2
- package/dist/client/account-asset-manager.d.ts +112 -0
- package/dist/client/account-asset-manager.d.ts.map +1 -0
- package/dist/client/account-asset-manager.js +160 -0
- package/dist/client/account-asset-manager.js.map +1 -0
- package/dist/client/account.d.ts +265 -242
- package/dist/client/account.d.ts.map +1 -1
- package/dist/client/account.js +80 -34
- package/dist/client/account.js.map +1 -1
- package/dist/client/agent-tools.d.ts +166 -119
- package/dist/client/agent-tools.d.ts.map +1 -1
- package/dist/client/agent-tools.js +62 -11
- package/dist/client/agent-tools.js.map +1 -1
- package/dist/client/agent.d.ts +46 -46
- package/dist/client/agent.d.ts.map +1 -1
- package/dist/client/ai.d.ts +266 -79
- package/dist/client/ai.d.ts.map +1 -1
- package/dist/client/ai.js +262 -20
- package/dist/client/ai.js.map +1 -1
- package/dist/client/api-management.d.ts +10 -1
- package/dist/client/api-management.d.ts.map +1 -1
- package/dist/client/api-management.js +11 -2
- package/dist/client/api-management.js.map +1 -1
- package/dist/client/cloud-account.d.ts +13 -13
- package/dist/client/cloud-platform-horizon.d.ts +38 -19
- package/dist/client/cloud-platform-horizon.d.ts.map +1 -1
- package/dist/client/cloud-platform-horizon.js +19 -1
- package/dist/client/cloud-platform-horizon.js.map +1 -1
- package/dist/client/cloud-platform.d.ts +213 -46
- package/dist/client/cloud-platform.d.ts.map +1 -1
- package/dist/client/cloud-platform.js +168 -33
- package/dist/client/cloud-platform.js.map +1 -1
- package/dist/client/cloud-runtimes.d.ts +4 -4
- package/dist/client/cloud-services.d.ts +17 -17
- package/dist/client/cloud-services.d.ts.map +1 -1
- package/dist/client/code-shift.d.ts +535 -162
- package/dist/client/code-shift.d.ts.map +1 -1
- package/dist/client/code-shift.js +296 -7
- package/dist/client/code-shift.js.map +1 -1
- package/dist/client/content.d.ts +127 -132
- package/dist/client/content.d.ts.map +1 -1
- package/dist/client/data-integration.d.ts +92 -53
- package/dist/client/data-integration.d.ts.map +1 -1
- package/dist/client/data-integration.js +38 -2
- package/dist/client/data-integration.js.map +1 -1
- package/dist/client/discover.d.ts +84 -0
- package/dist/client/discover.d.ts.map +1 -0
- package/dist/client/discover.js +359 -0
- package/dist/client/discover.js.map +1 -0
- package/dist/client/edp-bfa.d.ts +16 -0
- package/dist/client/edp-bfa.d.ts.map +1 -0
- package/dist/client/edp-bfa.js +24 -0
- package/dist/client/edp-bfa.js.map +1 -0
- package/dist/client/event-bus.d.ts.map +1 -1
- package/dist/client/gen-ai-inference.d.ts +20 -20
- package/dist/client/insights.d.ts +7 -7
- package/dist/client/notification.d.ts +17 -10
- package/dist/client/notification.d.ts.map +1 -1
- package/dist/client/notification.js +10 -1
- package/dist/client/notification.js.map +1 -1
- package/dist/client/runtime-manager.d.ts +8 -8
- package/dist/client/secrets.d.ts.map +1 -1
- package/dist/client/secrets.js +1 -1
- package/dist/client/secrets.js.map +1 -1
- package/dist/client/types.d.ts +50 -7
- package/dist/client/types.d.ts.map +1 -1
- package/dist/client/workflow.d.ts +10 -10
- package/dist/client/workspace-ai.d.ts +53 -53
- package/dist/client/workspace-ai.d.ts.map +1 -1
- package/dist/client/workspace-ai.js +3 -7
- package/dist/client/workspace-ai.js.map +1 -1
- package/dist/client/workspace-manager.d.ts +115 -76
- package/dist/client/workspace-manager.d.ts.map +1 -1
- package/dist/client/workspace-manager.js +47 -2
- package/dist/client/workspace-manager.js.map +1 -1
- package/dist/client/workspace-search.d.ts +2 -2
- package/dist/client/workspace.d.ts +58 -105
- package/dist/client/workspace.d.ts.map +1 -1
- package/dist/error/DefaultAPIError.d.ts.map +1 -1
- package/dist/error/DefaultAPIError.js.map +1 -1
- package/dist/error/StackspotAPIError.d.ts +3 -4
- package/dist/error/StackspotAPIError.d.ts.map +1 -1
- package/dist/error/StackspotAPIError.js +3 -3
- package/dist/error/StackspotAPIError.js.map +1 -1
- package/dist/error/dictionary/accountAssetManager.d.ts +11 -0
- package/dist/error/dictionary/accountAssetManager.d.ts.map +1 -0
- package/dist/error/dictionary/accountAssetManager.js +11 -0
- package/dist/error/dictionary/accountAssetManager.js.map +1 -0
- package/dist/error/dictionary/cloud-platform.d.ts +76 -8
- package/dist/error/dictionary/cloud-platform.d.ts.map +1 -1
- package/dist/error/dictionary/cloud-platform.js +80 -12
- package/dist/error/dictionary/cloud-platform.js.map +1 -1
- package/dist/error/dictionary/workspace-ai.d.ts +9 -0
- package/dist/error/dictionary/workspace-ai.d.ts.map +1 -0
- package/dist/error/dictionary/workspace-ai.js +9 -0
- package/dist/error/dictionary/workspace-ai.js.map +1 -0
- package/dist/index.d.ts +6 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -3
- package/dist/index.js.map +1 -1
- package/dist/network/NetworkClient.d.ts +4 -2
- package/dist/network/NetworkClient.d.ts.map +1 -1
- package/dist/network/NetworkClient.js +16 -4
- package/dist/network/NetworkClient.js.map +1 -1
- package/dist/network/types.d.ts +2 -0
- package/dist/network/types.d.ts.map +1 -1
- package/dist/utils/StreamedJson.d.ts +3 -1
- package/dist/utils/StreamedJson.d.ts.map +1 -1
- package/dist/utils/StreamedJson.js +23 -3
- package/dist/utils/StreamedJson.js.map +1 -1
- package/package.dev.json +3 -0
- package/package.json +10 -9
- package/package.stg.json +3 -0
- package/readme.md +40 -1
- package/src/api/account.ts +701 -540
- package/src/api/accountAssetManager.ts +771 -0
- package/src/api/agent-tools.ts +332 -151
- package/src/api/ai.ts +891 -170
- package/src/api/cloudPlatform.ts +667 -298
- package/src/api/cloudPlatformHorizon.ts +412 -9
- package/src/api/codeShift.ts +2088 -97
- package/src/api/dataIntegration.ts +635 -1
- package/src/api/discover.ts +601 -0
- package/src/api/edpBfa.ts +472 -0
- package/src/api/genAiInference.ts +47 -4
- package/src/api/workflows.ts +100 -5
- package/src/api/workspaceManager.ts +25 -10
- package/src/api-addresses.ts +113 -38
- package/src/apis-itau.json +241 -0
- package/src/apis.json +18 -2
- package/src/client/account-asset-manager.ts +100 -0
- package/src/client/account.ts +71 -40
- package/src/client/agent-tools.ts +57 -17
- package/src/client/ai.ts +232 -20
- package/src/client/api-management.ts +7 -2
- package/src/client/cloud-platform-horizon.ts +12 -4
- package/src/client/cloud-platform.ts +101 -27
- package/src/client/code-shift.ts +196 -8
- package/src/client/data-integration.ts +28 -1
- package/src/client/discover.ts +319 -0
- package/src/client/edp-bfa.ts +24 -0
- package/src/client/notification.ts +6 -1
- package/src/client/secrets.ts +1 -1
- package/src/client/types.ts +55 -9
- package/src/client/workspace-ai.ts +19 -23
- package/src/client/workspace-manager.ts +31 -2
- package/src/error/DefaultAPIError.ts +5 -5
- package/src/error/StackspotAPIError.ts +4 -4
- package/src/error/dictionary/accountAssetManager.ts +12 -0
- package/src/error/dictionary/cloud-platform.ts +80 -12
- package/src/error/dictionary/workspace-ai.ts +10 -0
- package/src/index.ts +7 -4
- package/src/network/NetworkClient.ts +18 -6
- package/src/network/types.ts +3 -0
- package/src/utils/StreamedJson.tsx +19 -4
- package/dist/api/discovery.d.ts +0 -494
- package/dist/api/discovery.d.ts.map +0 -1
- package/dist/api/discovery.js +0 -205
- package/dist/api/discovery.js.map +0 -1
- package/dist/client/adp-mock.d.ts +0 -89
- package/dist/client/adp-mock.d.ts.map +0 -1
- package/dist/client/adp-mock.js +0 -246
- package/dist/client/adp-mock.js.map +0 -1
- package/dist/client/discovery.d.ts +0 -110
- package/dist/client/discovery.d.ts.map +0 -1
- package/dist/client/discovery.js +0 -133
- package/dist/client/discovery.js.map +0 -1
- package/src/api/discovery.ts +0 -729
- package/src/client/adp-mock.ts +0 -244
- package/src/client/discovery.ts +0 -73
|
@@ -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
|
|
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?:
|
|
147
|
+
parameters?: JsonValue[] | null;
|
|
255
148
|
/** Dict of request body (optional) */
|
|
256
|
-
request_body?:
|
|
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 */
|
|
@@ -326,6 +234,7 @@ export type OpenAiTool = {
|
|
|
326
234
|
export type ExecuteAgentToolRequest = {
|
|
327
235
|
arguments?: string | null;
|
|
328
236
|
upload_ids?: string[] | null;
|
|
237
|
+
execution_id?: string | null;
|
|
329
238
|
};
|
|
330
239
|
export type AgentToolExecutionResponse = {
|
|
331
240
|
result: string;
|
|
@@ -348,6 +257,7 @@ export type ListAgentResponse = {
|
|
|
348
257
|
avatar: string | null;
|
|
349
258
|
suggested_prompts: string[] | null;
|
|
350
259
|
knowledge_sources_config: KnowledgeSourcesConfig;
|
|
260
|
+
has_multiagent_tool?: boolean;
|
|
351
261
|
"type"?: string;
|
|
352
262
|
system_prompt?: string;
|
|
353
263
|
creator_name?: string;
|
|
@@ -362,6 +272,9 @@ export type KnowledgeSourcesConfigRequest = {
|
|
|
362
272
|
knowledge_sources?: string[] | null;
|
|
363
273
|
sealed?: boolean | null;
|
|
364
274
|
};
|
|
275
|
+
export type AgentMode = "autonomous" | "plan_approval" | "plan_and_critical_approval";
|
|
276
|
+
export type AgentMemory = "vector" | "buffer";
|
|
277
|
+
export type PlannerType = "simple" | "tool_oriented";
|
|
365
278
|
export type NewAgentRequest = {
|
|
366
279
|
/** LLM model name */
|
|
367
280
|
model_name?: string | null;
|
|
@@ -385,12 +298,23 @@ export type NewAgentRequest = {
|
|
|
385
298
|
builtin_tools_ids?: string[];
|
|
386
299
|
/** Custom tools to assign to the agent */
|
|
387
300
|
custom_tools?: AssignCustomToolsAgentRequest[] | null;
|
|
301
|
+
mcp_toolkit_ids?: string[] | null;
|
|
388
302
|
sub_agents_ids?: string[] | null;
|
|
389
303
|
detail_mode?: boolean;
|
|
390
304
|
structured_output?: string | null;
|
|
391
305
|
llm_settings?: {
|
|
392
306
|
[key: string]: any;
|
|
393
307
|
} | null;
|
|
308
|
+
/** Agent mode */
|
|
309
|
+
mode?: AgentMode;
|
|
310
|
+
/** Agent memory */
|
|
311
|
+
memory?: AgentMemory;
|
|
312
|
+
/** Available models for this particular agent */
|
|
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;
|
|
394
318
|
};
|
|
395
319
|
export type SearchAgentsRequest = {
|
|
396
320
|
/** Agent ids to filter for */
|
|
@@ -500,10 +424,38 @@ export type CustomToolkitDto = {
|
|
|
500
424
|
visibility_level: VisibilityLevelEnum;
|
|
501
425
|
creator_name: string;
|
|
502
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;
|
|
503
454
|
};
|
|
504
455
|
export type AgentToolsDto = {
|
|
505
456
|
builtin_toolkits?: BuiltinToolkitDto[];
|
|
506
457
|
custom_toolkits?: CustomToolkitDto[];
|
|
458
|
+
mcp_toolkits?: ToolkitMcpdto[];
|
|
507
459
|
};
|
|
508
460
|
export type LlmSettingsModel = {
|
|
509
461
|
property_key?: string | null;
|
|
@@ -515,6 +467,11 @@ export type LlmSettingsModel = {
|
|
|
515
467
|
updated_by?: string | null;
|
|
516
468
|
updated_at?: string | null;
|
|
517
469
|
};
|
|
470
|
+
export type AgentLlmModelDto = {
|
|
471
|
+
model_id: string;
|
|
472
|
+
model_name: string;
|
|
473
|
+
is_default?: boolean;
|
|
474
|
+
};
|
|
518
475
|
export type AgentModel = {
|
|
519
476
|
id: string;
|
|
520
477
|
name: string;
|
|
@@ -527,6 +484,7 @@ export type AgentModel = {
|
|
|
527
484
|
conversation_starter?: string[] | null;
|
|
528
485
|
use_only: boolean;
|
|
529
486
|
detail_mode: boolean;
|
|
487
|
+
mode: AgentMode;
|
|
530
488
|
structured_output?: {
|
|
531
489
|
[key: string]: any;
|
|
532
490
|
} | null;
|
|
@@ -540,6 +498,10 @@ export type AgentModel = {
|
|
|
540
498
|
created_at?: string | null;
|
|
541
499
|
updated_by?: string | null;
|
|
542
500
|
updated_at?: string | null;
|
|
501
|
+
available_llm_models?: AgentLlmModelDto[];
|
|
502
|
+
memory?: AgentMemory;
|
|
503
|
+
planner_type?: PlannerType | null;
|
|
504
|
+
max_llm_interactions?: number | null;
|
|
543
505
|
};
|
|
544
506
|
export type UpdateAgentRequest = {
|
|
545
507
|
use_only?: boolean | null;
|
|
@@ -566,11 +528,22 @@ export type UpdateAgentRequest = {
|
|
|
566
528
|
sub_agents_ids?: string[];
|
|
567
529
|
/** Custom tools to assign to the agent */
|
|
568
530
|
custom_tools?: AssignCustomToolsAgentRequest[] | null;
|
|
531
|
+
mcp_toolkit_ids?: string[] | null;
|
|
569
532
|
detail_mode?: boolean | null;
|
|
570
533
|
structured_output?: string | null;
|
|
571
534
|
llm_settings?: {
|
|
572
535
|
[key: string]: any;
|
|
573
536
|
} | null;
|
|
537
|
+
/** Agent mode */
|
|
538
|
+
mode?: AgentMode | null;
|
|
539
|
+
/** Available models for this particular agent */
|
|
540
|
+
available_models_ids?: string[];
|
|
541
|
+
/** Agent memory */
|
|
542
|
+
memory?: AgentMemory;
|
|
543
|
+
/** Agent planner type */
|
|
544
|
+
planner_type?: PlannerType;
|
|
545
|
+
/** Maximum number of LLM interactions allowed for the agent when using simple planner */
|
|
546
|
+
max_llm_interactions?: number | null;
|
|
574
547
|
};
|
|
575
548
|
export type ForkAgentRequest = {
|
|
576
549
|
/** Agent slug to fork */
|
|
@@ -595,6 +568,48 @@ export type ListAgentResponseV2 = {
|
|
|
595
568
|
system_prompt?: string;
|
|
596
569
|
creator_name?: string;
|
|
597
570
|
};
|
|
571
|
+
export type OrderEnum = "a-to-z" | "z-to-a" | "oldest-first" | "newest-first";
|
|
572
|
+
export type ListAgentRequestV3 = {
|
|
573
|
+
/** Agent name to filter the list */
|
|
574
|
+
name?: string | null;
|
|
575
|
+
/** Agent slug to filter the list */
|
|
576
|
+
slug?: string | null;
|
|
577
|
+
/** Paginated param to configure page size */
|
|
578
|
+
size?: number;
|
|
579
|
+
/** Paginated param to configure which page is being requested */
|
|
580
|
+
page?: number;
|
|
581
|
+
/** Filter by a list of agent visibility levels. When provided, overrides the single 'visibility' parameter */
|
|
582
|
+
visibility_list?: (AgentVisibilityLevelEnum | VisibilityLevelEnum)[];
|
|
583
|
+
order?: OrderEnum | null;
|
|
584
|
+
};
|
|
585
|
+
export type KnowledgeSourcesConfigResponseV3 = {
|
|
586
|
+
knowledge_sources: string[];
|
|
587
|
+
max_number_of_kos?: number;
|
|
588
|
+
relevancy_threshold?: number;
|
|
589
|
+
similarity_function?: string;
|
|
590
|
+
post_processing?: boolean;
|
|
591
|
+
};
|
|
592
|
+
export type AgentResponseV3 = {
|
|
593
|
+
id: string;
|
|
594
|
+
name: string;
|
|
595
|
+
slug: string;
|
|
596
|
+
created_by: string | null;
|
|
597
|
+
created_at: string | null;
|
|
598
|
+
visibility_level: string;
|
|
599
|
+
avatar: string | null;
|
|
600
|
+
suggested_prompts: string[] | null;
|
|
601
|
+
knowledge_sources_config: KnowledgeSourcesConfigResponseV3;
|
|
602
|
+
has_multiagent_tool?: boolean;
|
|
603
|
+
"type"?: string;
|
|
604
|
+
system_prompt?: string;
|
|
605
|
+
creator_name?: string;
|
|
606
|
+
is_favorite?: boolean;
|
|
607
|
+
is_recently_used?: boolean;
|
|
608
|
+
};
|
|
609
|
+
export type PaginatedResponseAgentResponseV3 = {
|
|
610
|
+
total_pages: number;
|
|
611
|
+
items: AgentResponseV3[];
|
|
612
|
+
};
|
|
598
613
|
export type InternalListToolkitsRequest = {
|
|
599
614
|
/** List of toolkit IDs to retrieve */
|
|
600
615
|
toolkit_ids: string[];
|
|
@@ -615,6 +630,34 @@ export type ToolkitForkResponse = {
|
|
|
615
630
|
/** List of toolkit IDs that failed to fork */
|
|
616
631
|
error_ids: string[];
|
|
617
632
|
};
|
|
633
|
+
export type PaginatedResponseCustomToolkitSimpleResponse = {
|
|
634
|
+
total_pages: number;
|
|
635
|
+
items: CustomToolkitSimpleResponse[];
|
|
636
|
+
};
|
|
637
|
+
export type ParametersModel = {
|
|
638
|
+
properties: {
|
|
639
|
+
[key: string]: {
|
|
640
|
+
[key: string]: any;
|
|
641
|
+
};
|
|
642
|
+
};
|
|
643
|
+
required?: string[] | null;
|
|
644
|
+
"type": string;
|
|
645
|
+
additionalProperties: boolean;
|
|
646
|
+
};
|
|
647
|
+
export type FunctionModel = {
|
|
648
|
+
name: string;
|
|
649
|
+
description: string;
|
|
650
|
+
parameters: ParametersModel;
|
|
651
|
+
strict?: boolean;
|
|
652
|
+
};
|
|
653
|
+
export type FunctionItem = {
|
|
654
|
+
"type": string;
|
|
655
|
+
"function": FunctionModel;
|
|
656
|
+
};
|
|
657
|
+
export type FunctionsResponse = {
|
|
658
|
+
last_update: string;
|
|
659
|
+
tools: FunctionItem[];
|
|
660
|
+
};
|
|
618
661
|
/**
|
|
619
662
|
* Health Check
|
|
620
663
|
*/
|
|
@@ -651,13 +694,13 @@ export declare function listToolkitsV1ToolkitsGet({ visibility, xAccountId, xUse
|
|
|
651
694
|
/**
|
|
652
695
|
* Create Toolkit
|
|
653
696
|
*/
|
|
654
|
-
export declare function createToolkitV1ToolkitsPost({ xAccountId, xUsername, xUserId, xUserFullName, authorization,
|
|
697
|
+
export declare function createToolkitV1ToolkitsPost({ xAccountId, xUsername, xUserId, xUserFullName, authorization, body }: {
|
|
655
698
|
xAccountId?: string | null;
|
|
656
699
|
xUsername?: string | null;
|
|
657
700
|
xUserId?: string | null;
|
|
658
701
|
xUserFullName?: string | null;
|
|
659
702
|
authorization: string;
|
|
660
|
-
|
|
703
|
+
body: ToolkitRequest | ToolkitMcpRequest;
|
|
661
704
|
}, opts?: Oazapfts.RequestOpts): Promise<CreatedResponse>;
|
|
662
705
|
/**
|
|
663
706
|
* Get Toolkit
|
|
@@ -673,14 +716,14 @@ export declare function getToolkitV1ToolkitsToolkitIdGet({ toolkitId, xAccountId
|
|
|
673
716
|
/**
|
|
674
717
|
* Update Toolkit
|
|
675
718
|
*/
|
|
676
|
-
export declare function updateToolkitV1ToolkitsToolkitIdPatch({ toolkitId, xAccountId, xUsername, xUserId, xUserFullName, authorization,
|
|
719
|
+
export declare function updateToolkitV1ToolkitsToolkitIdPatch({ toolkitId, xAccountId, xUsername, xUserId, xUserFullName, authorization, body }: {
|
|
677
720
|
toolkitId: string;
|
|
678
721
|
xAccountId?: string | null;
|
|
679
722
|
xUsername?: string | null;
|
|
680
723
|
xUserId?: string | null;
|
|
681
724
|
xUserFullName?: string | null;
|
|
682
725
|
authorization: string;
|
|
683
|
-
|
|
726
|
+
body: ToolkitUpdateRequest | ToolkitMcpUpdateRequest;
|
|
684
727
|
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
685
728
|
/**
|
|
686
729
|
* Delete Toolkit
|
|
@@ -868,7 +911,8 @@ export declare function executeToolV1AgentsToolsAgentToolIdExecutePost({ agentTo
|
|
|
868
911
|
/**
|
|
869
912
|
* List Agents
|
|
870
913
|
*/
|
|
871
|
-
export declare function listAgentsV1AgentsGet({ name, slug, visibility, size, page, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
914
|
+
export declare function listAgentsV1AgentsGet({ isPublic, name, slug, visibility, size, page, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
915
|
+
isPublic?: boolean;
|
|
872
916
|
name?: string | null;
|
|
873
917
|
slug?: string | null;
|
|
874
918
|
visibility?: AgentVisibilityLevelEnum | VisibilityLevelEnum;
|
|
@@ -1079,6 +1123,17 @@ export declare function getAgentByKsIdV1AgentsKnowledgeSourceKsIdGet({ ksId, xAc
|
|
|
1079
1123
|
xUserFullName?: string | null;
|
|
1080
1124
|
authorization: string;
|
|
1081
1125
|
}, opts?: Oazapfts.RequestOpts): Promise<ListAgentResponse[]>;
|
|
1126
|
+
/**
|
|
1127
|
+
* Migrate Agent Avatar By Id
|
|
1128
|
+
*/
|
|
1129
|
+
export declare function migrateAgentAvatarByIdV1AgentsAgentIdMigrateAvatarPost({ agentId, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
1130
|
+
agentId: string;
|
|
1131
|
+
xAccountId?: string | null;
|
|
1132
|
+
xUsername?: string | null;
|
|
1133
|
+
xUserId?: string | null;
|
|
1134
|
+
xUserFullName?: string | null;
|
|
1135
|
+
authorization: string;
|
|
1136
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1082
1137
|
/**
|
|
1083
1138
|
* List Agents
|
|
1084
1139
|
*/
|
|
@@ -1105,6 +1160,18 @@ export declare function searchAgentsV2AgentsSearchPost({ xAccountId, xUsername,
|
|
|
1105
1160
|
authorization: string;
|
|
1106
1161
|
searchAgentsRequest: SearchAgentsRequest;
|
|
1107
1162
|
}, opts?: Oazapfts.RequestOpts): Promise<ListAgentResponseV2[]>;
|
|
1163
|
+
/**
|
|
1164
|
+
* List Agents
|
|
1165
|
+
*/
|
|
1166
|
+
export declare function listAgentsV3AgentsGet({ filters, isPublic, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
1167
|
+
filters: ListAgentRequestV3;
|
|
1168
|
+
isPublic?: boolean;
|
|
1169
|
+
xAccountId?: string | null;
|
|
1170
|
+
xUsername?: string | null;
|
|
1171
|
+
xUserId?: string | null;
|
|
1172
|
+
xUserFullName?: string | null;
|
|
1173
|
+
authorization: string;
|
|
1174
|
+
}, opts?: Oazapfts.RequestOpts): Promise<PaginatedResponseAgentResponseV3>;
|
|
1108
1175
|
/**
|
|
1109
1176
|
* Internal List Toolkits By Ids
|
|
1110
1177
|
*/
|
|
@@ -1138,4 +1205,31 @@ export declare function internalForkToolkitsByIdsV1SpotToolkitsForkPost({ xAccou
|
|
|
1138
1205
|
authorization: string;
|
|
1139
1206
|
internalToolkitForkRequest: InternalToolkitForkRequest;
|
|
1140
1207
|
}, opts?: Oazapfts.RequestOpts): Promise<ToolkitForkResponse>;
|
|
1208
|
+
/**
|
|
1209
|
+
* List Toolkits
|
|
1210
|
+
*/
|
|
1211
|
+
export declare function listToolkitsV2ToolkitsGet({ name, visibilityList, size, page, order, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
1212
|
+
name?: string | null;
|
|
1213
|
+
visibilityList?: VisibilityLevelEnum[];
|
|
1214
|
+
size?: number;
|
|
1215
|
+
page?: number;
|
|
1216
|
+
order?: OrderEnum | null;
|
|
1217
|
+
xAccountId?: string | null;
|
|
1218
|
+
xUsername?: string | null;
|
|
1219
|
+
xUserId?: string | null;
|
|
1220
|
+
xUserFullName?: string | null;
|
|
1221
|
+
authorization: string;
|
|
1222
|
+
}, opts?: Oazapfts.RequestOpts): Promise<PaginatedResponseCustomToolkitSimpleResponse>;
|
|
1223
|
+
/**
|
|
1224
|
+
* List Mcp Tools
|
|
1225
|
+
*/
|
|
1226
|
+
export declare function listMcpToolsV1McpToolsToolkitIdGet({ toolkitId, cacheControl, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
1227
|
+
toolkitId: string;
|
|
1228
|
+
cacheControl?: string | null;
|
|
1229
|
+
xAccountId?: string | null;
|
|
1230
|
+
xUsername?: string | null;
|
|
1231
|
+
xUserId?: string | null;
|
|
1232
|
+
xUserFullName?: string | null;
|
|
1233
|
+
authorization: string;
|
|
1234
|
+
}, opts?: Oazapfts.RequestOpts): Promise<FunctionsResponse>;
|
|
1141
1235
|
//# sourceMappingURL=agent-tools.d.ts.map
|