@crestal/nation-sdk 0.6.28 → 0.6.30
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/.openapi-generator/FILES +2 -2
- package/README.md +4 -4
- package/api.ts +424 -430
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +420 -426
- package/dist/api.js +16 -16
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/{AgentOutput.md → Agent.md} +3 -3
- package/docs/AgentApi.md +1 -1
- package/docs/AgentAssetsResponse.md +2 -0
- package/docs/{AgentInput.md → AgentCreate.md} +4 -8
- package/docs/AgentGenerateRequest.md +1 -1
- package/docs/LLMModelInfoWithProviderName.md +2 -2
- package/docs/UserApi.md +2 -2
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Nation IntentKit API
|
|
3
3
|
* API for Nation IntentKit services
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.6.
|
|
5
|
+
* The version of the OpenAPI document: 0.6.30
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -14,800 +14,668 @@ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
|
14
14
|
import type { RequestArgs } from './base';
|
|
15
15
|
import { BaseAPI } from './base';
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface AgentApiKeyResponse
|
|
20
|
-
*/
|
|
21
|
-
export interface AgentApiKeyResponse {
|
|
22
|
-
/**
|
|
23
|
-
* The private API key for the agent (sk-)
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof AgentApiKeyResponse
|
|
26
|
-
*/
|
|
27
|
-
'api_key': string;
|
|
28
|
-
/**
|
|
29
|
-
* The public API key for the agent (pk-)
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof AgentApiKeyResponse
|
|
32
|
-
*/
|
|
33
|
-
'api_key_public': string;
|
|
34
|
-
/**
|
|
35
|
-
* The base URL for the API
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof AgentApiKeyResponse
|
|
38
|
-
*/
|
|
39
|
-
'base_url': string;
|
|
40
|
-
/**
|
|
41
|
-
* API documentation URL
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof AgentApiKeyResponse
|
|
44
|
-
*/
|
|
45
|
-
'api_doc': string;
|
|
46
|
-
/**
|
|
47
|
-
* OpenAPI JSON URL for AI integration
|
|
48
|
-
* @type {string}
|
|
49
|
-
* @memberof AgentApiKeyResponse
|
|
50
|
-
*/
|
|
51
|
-
'doc_for_ai': string;
|
|
52
|
-
}
|
|
53
|
-
/**
|
|
54
|
-
* Response model for agent assets.
|
|
17
|
+
* Agent model.
|
|
55
18
|
* @export
|
|
56
|
-
* @interface
|
|
19
|
+
* @interface Agent
|
|
57
20
|
*/
|
|
58
|
-
export interface
|
|
59
|
-
/**
|
|
60
|
-
* ID of the agent
|
|
61
|
-
* @type {string}
|
|
62
|
-
* @memberof AgentAssetsResponse
|
|
63
|
-
*/
|
|
64
|
-
'agent_id': string;
|
|
21
|
+
export interface Agent {
|
|
65
22
|
/**
|
|
66
23
|
*
|
|
67
24
|
* @type {string}
|
|
68
|
-
* @memberof
|
|
25
|
+
* @memberof Agent
|
|
69
26
|
*/
|
|
70
|
-
'
|
|
27
|
+
'name': string | null;
|
|
71
28
|
/**
|
|
72
29
|
*
|
|
73
30
|
* @type {string}
|
|
74
|
-
* @memberof
|
|
31
|
+
* @memberof Agent
|
|
75
32
|
*/
|
|
76
|
-
'
|
|
33
|
+
'slug'?: string | null;
|
|
77
34
|
/**
|
|
78
35
|
*
|
|
79
36
|
* @type {string}
|
|
80
|
-
* @memberof
|
|
37
|
+
* @memberof Agent
|
|
81
38
|
*/
|
|
82
|
-
'
|
|
39
|
+
'description'?: string | null;
|
|
83
40
|
/**
|
|
84
41
|
*
|
|
85
42
|
* @type {string}
|
|
86
|
-
* @memberof
|
|
43
|
+
* @memberof Agent
|
|
87
44
|
*/
|
|
88
|
-
'
|
|
45
|
+
'external_website'?: string | null;
|
|
89
46
|
/**
|
|
90
47
|
*
|
|
91
48
|
* @type {string}
|
|
92
|
-
* @memberof
|
|
93
|
-
*/
|
|
94
|
-
'token_pool': string | null;
|
|
95
|
-
/**
|
|
96
|
-
* Total value locked, set to 0 for this version
|
|
97
|
-
* @type {string}
|
|
98
|
-
* @memberof AgentAssetsResponse
|
|
49
|
+
* @memberof Agent
|
|
99
50
|
*/
|
|
100
|
-
'
|
|
101
|
-
/**
|
|
102
|
-
* List of assets with symbol and balance
|
|
103
|
-
* @type {Array<Asset>}
|
|
104
|
-
* @memberof AgentAssetsResponse
|
|
105
|
-
*/
|
|
106
|
-
'assets': Array<Asset>;
|
|
107
|
-
}
|
|
108
|
-
/**
|
|
109
|
-
* Autonomous agent configuration.
|
|
110
|
-
* @export
|
|
111
|
-
* @interface AgentAutonomous
|
|
112
|
-
*/
|
|
113
|
-
export interface AgentAutonomous {
|
|
51
|
+
'picture'?: string | null;
|
|
114
52
|
/**
|
|
115
|
-
*
|
|
53
|
+
*
|
|
116
54
|
* @type {string}
|
|
117
|
-
* @memberof
|
|
55
|
+
* @memberof Agent
|
|
118
56
|
*/
|
|
119
|
-
'
|
|
57
|
+
'ticker'?: string | null;
|
|
120
58
|
/**
|
|
121
59
|
*
|
|
122
60
|
* @type {string}
|
|
123
|
-
* @memberof
|
|
61
|
+
* @memberof Agent
|
|
124
62
|
*/
|
|
125
|
-
'
|
|
63
|
+
'token_address'?: string | null;
|
|
126
64
|
/**
|
|
127
65
|
*
|
|
128
66
|
* @type {string}
|
|
129
|
-
* @memberof
|
|
67
|
+
* @memberof Agent
|
|
130
68
|
*/
|
|
131
|
-
'
|
|
69
|
+
'token_pool'?: string | null;
|
|
132
70
|
/**
|
|
133
71
|
*
|
|
134
|
-
* @type {
|
|
135
|
-
* @memberof
|
|
72
|
+
* @type {string}
|
|
73
|
+
* @memberof Agent
|
|
136
74
|
*/
|
|
137
|
-
'
|
|
75
|
+
'mode'?: AgentModeEnum | null;
|
|
138
76
|
/**
|
|
139
77
|
*
|
|
140
78
|
* @type {string}
|
|
141
|
-
* @memberof
|
|
79
|
+
* @memberof Agent
|
|
142
80
|
*/
|
|
143
|
-
'
|
|
81
|
+
'fee_percentage'?: string | null;
|
|
144
82
|
/**
|
|
145
|
-
*
|
|
83
|
+
*
|
|
146
84
|
* @type {string}
|
|
147
|
-
* @memberof
|
|
85
|
+
* @memberof Agent
|
|
148
86
|
*/
|
|
149
|
-
'
|
|
87
|
+
'purpose': string | null;
|
|
150
88
|
/**
|
|
151
89
|
*
|
|
152
|
-
* @type {boolean}
|
|
153
|
-
* @memberof AgentAutonomous
|
|
154
|
-
*/
|
|
155
|
-
'enabled'?: boolean | null;
|
|
156
|
-
}
|
|
157
|
-
/**
|
|
158
|
-
* Agent example configuration.
|
|
159
|
-
* @export
|
|
160
|
-
* @interface AgentExample
|
|
161
|
-
*/
|
|
162
|
-
export interface AgentExample {
|
|
163
|
-
/**
|
|
164
|
-
* Name of the example
|
|
165
90
|
* @type {string}
|
|
166
|
-
* @memberof
|
|
91
|
+
* @memberof Agent
|
|
167
92
|
*/
|
|
168
|
-
'
|
|
93
|
+
'personality': string | null;
|
|
169
94
|
/**
|
|
170
|
-
*
|
|
95
|
+
*
|
|
171
96
|
* @type {string}
|
|
172
|
-
* @memberof
|
|
97
|
+
* @memberof Agent
|
|
173
98
|
*/
|
|
174
|
-
'
|
|
99
|
+
'principles': string | null;
|
|
175
100
|
/**
|
|
176
|
-
*
|
|
101
|
+
*
|
|
177
102
|
* @type {string}
|
|
178
|
-
* @memberof
|
|
103
|
+
* @memberof Agent
|
|
179
104
|
*/
|
|
180
|
-
'
|
|
181
|
-
}
|
|
182
|
-
/**
|
|
183
|
-
* Request model for agent generation.
|
|
184
|
-
* @export
|
|
185
|
-
* @interface AgentGenerateRequest
|
|
186
|
-
*/
|
|
187
|
-
export interface AgentGenerateRequest {
|
|
105
|
+
'owner'?: string | null;
|
|
188
106
|
/**
|
|
189
|
-
*
|
|
107
|
+
*
|
|
190
108
|
* @type {string}
|
|
191
|
-
* @memberof
|
|
109
|
+
* @memberof Agent
|
|
192
110
|
*/
|
|
193
|
-
'
|
|
111
|
+
'upstream_id'?: string | null;
|
|
194
112
|
/**
|
|
195
113
|
*
|
|
196
|
-
* @type {
|
|
197
|
-
* @memberof
|
|
114
|
+
* @type {object}
|
|
115
|
+
* @memberof Agent
|
|
198
116
|
*/
|
|
199
|
-
'
|
|
117
|
+
'upstream_extra'?: object | null;
|
|
200
118
|
/**
|
|
201
|
-
*
|
|
119
|
+
* AI model identifier to be used by this agent for processing requests.
|
|
202
120
|
* @type {string}
|
|
203
|
-
* @memberof
|
|
121
|
+
* @memberof Agent
|
|
204
122
|
*/
|
|
205
|
-
'
|
|
123
|
+
'model'?: string;
|
|
206
124
|
/**
|
|
207
125
|
*
|
|
208
|
-
* @type {boolean}
|
|
209
|
-
* @memberof AgentGenerateRequest
|
|
210
|
-
*/
|
|
211
|
-
'deploy'?: boolean | null;
|
|
212
|
-
}
|
|
213
|
-
/**
|
|
214
|
-
* Response model for agent generation.
|
|
215
|
-
* @export
|
|
216
|
-
* @interface AgentGenerateResponse
|
|
217
|
-
*/
|
|
218
|
-
export interface AgentGenerateResponse {
|
|
219
|
-
/**
|
|
220
|
-
* The generated agent schema
|
|
221
|
-
* @type {object}
|
|
222
|
-
* @memberof AgentGenerateResponse
|
|
223
|
-
*/
|
|
224
|
-
'agent': object;
|
|
225
|
-
/**
|
|
226
|
-
* Project ID for this conversation session
|
|
227
126
|
* @type {string}
|
|
228
|
-
* @memberof
|
|
127
|
+
* @memberof Agent
|
|
229
128
|
*/
|
|
230
|
-
'
|
|
129
|
+
'prompt'?: string | null;
|
|
231
130
|
/**
|
|
232
|
-
*
|
|
131
|
+
*
|
|
233
132
|
* @type {string}
|
|
234
|
-
* @memberof
|
|
133
|
+
* @memberof Agent
|
|
235
134
|
*/
|
|
236
|
-
'
|
|
135
|
+
'prompt_append'?: string | null;
|
|
237
136
|
/**
|
|
238
|
-
*
|
|
239
|
-
* @type {
|
|
240
|
-
* @memberof
|
|
137
|
+
*
|
|
138
|
+
* @type {number}
|
|
139
|
+
* @memberof Agent
|
|
241
140
|
*/
|
|
242
|
-
'
|
|
243
|
-
[key: string]: number;
|
|
244
|
-
}>;
|
|
141
|
+
'temperature'?: number | null;
|
|
245
142
|
/**
|
|
246
143
|
*
|
|
247
|
-
* @type {
|
|
248
|
-
* @memberof
|
|
144
|
+
* @type {number}
|
|
145
|
+
* @memberof Agent
|
|
249
146
|
*/
|
|
250
|
-
'
|
|
147
|
+
'frequency_penalty'?: number | null;
|
|
251
148
|
/**
|
|
252
149
|
*
|
|
253
|
-
* @type {
|
|
254
|
-
* @memberof
|
|
150
|
+
* @type {number}
|
|
151
|
+
* @memberof Agent
|
|
255
152
|
*/
|
|
256
|
-
'
|
|
257
|
-
}
|
|
258
|
-
/**
|
|
259
|
-
* Agent model.
|
|
260
|
-
* @export
|
|
261
|
-
* @interface AgentInput
|
|
262
|
-
*/
|
|
263
|
-
export interface AgentInput {
|
|
153
|
+
'presence_penalty'?: number | null;
|
|
264
154
|
/**
|
|
265
155
|
*
|
|
266
156
|
* @type {string}
|
|
267
|
-
* @memberof
|
|
157
|
+
* @memberof Agent
|
|
268
158
|
*/
|
|
269
|
-
'
|
|
159
|
+
'short_term_memory_strategy'?: AgentShortTermMemoryStrategyEnum | null;
|
|
270
160
|
/**
|
|
271
161
|
*
|
|
272
|
-
* @type {
|
|
273
|
-
* @memberof
|
|
162
|
+
* @type {Array<AgentAutonomous>}
|
|
163
|
+
* @memberof Agent
|
|
274
164
|
*/
|
|
275
|
-
'
|
|
165
|
+
'autonomous'?: Array<AgentAutonomous> | null;
|
|
276
166
|
/**
|
|
277
167
|
*
|
|
278
168
|
* @type {string}
|
|
279
|
-
* @memberof
|
|
169
|
+
* @memberof Agent
|
|
280
170
|
*/
|
|
281
|
-
'
|
|
171
|
+
'example_intro'?: string | null;
|
|
282
172
|
/**
|
|
283
173
|
*
|
|
284
|
-
* @type {
|
|
285
|
-
* @memberof
|
|
174
|
+
* @type {Array<AgentExample>}
|
|
175
|
+
* @memberof Agent
|
|
286
176
|
*/
|
|
287
|
-
'
|
|
177
|
+
'examples'?: Array<AgentExample> | null;
|
|
288
178
|
/**
|
|
289
179
|
*
|
|
290
|
-
* @type {
|
|
291
|
-
* @memberof
|
|
180
|
+
* @type {object}
|
|
181
|
+
* @memberof Agent
|
|
292
182
|
*/
|
|
293
|
-
'
|
|
183
|
+
'skills'?: object | null;
|
|
294
184
|
/**
|
|
295
185
|
*
|
|
296
186
|
* @type {string}
|
|
297
|
-
* @memberof
|
|
187
|
+
* @memberof Agent
|
|
298
188
|
*/
|
|
299
|
-
'
|
|
189
|
+
'wallet_provider'?: AgentWalletProviderEnum | null;
|
|
300
190
|
/**
|
|
301
191
|
*
|
|
302
192
|
* @type {string}
|
|
303
|
-
* @memberof
|
|
193
|
+
* @memberof Agent
|
|
304
194
|
*/
|
|
305
|
-
'
|
|
195
|
+
'readonly_wallet_address'?: string | null;
|
|
306
196
|
/**
|
|
307
197
|
*
|
|
308
198
|
* @type {string}
|
|
309
|
-
* @memberof
|
|
199
|
+
* @memberof Agent
|
|
310
200
|
*/
|
|
311
|
-
'
|
|
201
|
+
'network_id'?: AgentNetworkIdEnum | null;
|
|
312
202
|
/**
|
|
313
203
|
*
|
|
314
204
|
* @type {string}
|
|
315
|
-
* @memberof
|
|
205
|
+
* @memberof Agent
|
|
316
206
|
*/
|
|
317
|
-
'
|
|
207
|
+
'cdp_network_id'?: AgentCdpNetworkIdEnum | null;
|
|
318
208
|
/**
|
|
319
209
|
*
|
|
320
|
-
* @type {
|
|
321
|
-
* @memberof
|
|
210
|
+
* @type {boolean}
|
|
211
|
+
* @memberof Agent
|
|
322
212
|
*/
|
|
323
|
-
'
|
|
213
|
+
'telegram_entrypoint_enabled'?: boolean | null;
|
|
324
214
|
/**
|
|
325
215
|
*
|
|
326
216
|
* @type {string}
|
|
327
|
-
* @memberof
|
|
217
|
+
* @memberof Agent
|
|
328
218
|
*/
|
|
329
|
-
'
|
|
219
|
+
'telegram_entrypoint_prompt'?: string | null;
|
|
330
220
|
/**
|
|
331
221
|
*
|
|
332
|
-
* @type {
|
|
333
|
-
* @memberof
|
|
222
|
+
* @type {object}
|
|
223
|
+
* @memberof Agent
|
|
334
224
|
*/
|
|
335
|
-
'
|
|
225
|
+
'telegram_config'?: object | null;
|
|
336
226
|
/**
|
|
337
227
|
*
|
|
338
228
|
* @type {string}
|
|
339
|
-
* @memberof
|
|
229
|
+
* @memberof Agent
|
|
340
230
|
*/
|
|
341
|
-
'
|
|
231
|
+
'xmtp_entrypoint_prompt'?: string | null;
|
|
342
232
|
/**
|
|
343
|
-
*
|
|
233
|
+
* Unique identifier for the agent. Must be URL-safe, containing only lowercase letters, numbers, and hyphens
|
|
344
234
|
* @type {string}
|
|
345
|
-
* @memberof
|
|
235
|
+
* @memberof Agent
|
|
346
236
|
*/
|
|
347
|
-
'
|
|
237
|
+
'id'?: string;
|
|
348
238
|
/**
|
|
349
|
-
*
|
|
239
|
+
* Timestamp when the agent was created, will ignore when importing
|
|
350
240
|
* @type {string}
|
|
351
|
-
* @memberof
|
|
241
|
+
* @memberof Agent
|
|
352
242
|
*/
|
|
353
|
-
'
|
|
354
|
-
/**
|
|
355
|
-
*
|
|
356
|
-
* @type {object}
|
|
357
|
-
* @memberof AgentInput
|
|
358
|
-
*/
|
|
359
|
-
'upstream_extra'?: object | null;
|
|
243
|
+
'created_at'?: string;
|
|
360
244
|
/**
|
|
361
|
-
*
|
|
245
|
+
* Timestamp when the agent was last updated, will ignore when importing
|
|
362
246
|
* @type {string}
|
|
363
|
-
* @memberof
|
|
247
|
+
* @memberof Agent
|
|
364
248
|
*/
|
|
365
|
-
'
|
|
249
|
+
'updated_at'?: string;
|
|
250
|
+
}
|
|
251
|
+
export declare const AgentModeEnum: {
|
|
252
|
+
readonly Public: "public";
|
|
253
|
+
readonly Private: "private";
|
|
254
|
+
};
|
|
255
|
+
export type AgentModeEnum = typeof AgentModeEnum[keyof typeof AgentModeEnum];
|
|
256
|
+
export declare const AgentShortTermMemoryStrategyEnum: {
|
|
257
|
+
readonly Trim: "trim";
|
|
258
|
+
readonly Summarize: "summarize";
|
|
259
|
+
};
|
|
260
|
+
export type AgentShortTermMemoryStrategyEnum = typeof AgentShortTermMemoryStrategyEnum[keyof typeof AgentShortTermMemoryStrategyEnum];
|
|
261
|
+
export declare const AgentWalletProviderEnum: {
|
|
262
|
+
readonly Cdp: "cdp";
|
|
263
|
+
readonly Readonly: "readonly";
|
|
264
|
+
};
|
|
265
|
+
export type AgentWalletProviderEnum = typeof AgentWalletProviderEnum[keyof typeof AgentWalletProviderEnum];
|
|
266
|
+
export declare const AgentNetworkIdEnum: {
|
|
267
|
+
readonly EthereumMainnet: "ethereum-mainnet";
|
|
268
|
+
readonly EthereumSepolia: "ethereum-sepolia";
|
|
269
|
+
readonly PolygonMainnet: "polygon-mainnet";
|
|
270
|
+
readonly PolygonMumbai: "polygon-mumbai";
|
|
271
|
+
readonly BaseMainnet: "base-mainnet";
|
|
272
|
+
readonly BaseSepolia: "base-sepolia";
|
|
273
|
+
readonly ArbitrumMainnet: "arbitrum-mainnet";
|
|
274
|
+
readonly ArbitrumSepolia: "arbitrum-sepolia";
|
|
275
|
+
readonly OptimismMainnet: "optimism-mainnet";
|
|
276
|
+
readonly OptimismSepolia: "optimism-sepolia";
|
|
277
|
+
readonly Solana: "solana";
|
|
278
|
+
};
|
|
279
|
+
export type AgentNetworkIdEnum = typeof AgentNetworkIdEnum[keyof typeof AgentNetworkIdEnum];
|
|
280
|
+
export declare const AgentCdpNetworkIdEnum: {
|
|
281
|
+
readonly EthereumMainnet: "ethereum-mainnet";
|
|
282
|
+
readonly EthereumSepolia: "ethereum-sepolia";
|
|
283
|
+
readonly PolygonMainnet: "polygon-mainnet";
|
|
284
|
+
readonly PolygonMumbai: "polygon-mumbai";
|
|
285
|
+
readonly BaseMainnet: "base-mainnet";
|
|
286
|
+
readonly BaseSepolia: "base-sepolia";
|
|
287
|
+
readonly ArbitrumMainnet: "arbitrum-mainnet";
|
|
288
|
+
readonly ArbitrumSepolia: "arbitrum-sepolia";
|
|
289
|
+
readonly OptimismMainnet: "optimism-mainnet";
|
|
290
|
+
readonly OptimismSepolia: "optimism-sepolia";
|
|
291
|
+
};
|
|
292
|
+
export type AgentCdpNetworkIdEnum = typeof AgentCdpNetworkIdEnum[keyof typeof AgentCdpNetworkIdEnum];
|
|
293
|
+
/**
|
|
294
|
+
* Response model for agent API key generation.
|
|
295
|
+
* @export
|
|
296
|
+
* @interface AgentApiKeyResponse
|
|
297
|
+
*/
|
|
298
|
+
export interface AgentApiKeyResponse {
|
|
366
299
|
/**
|
|
367
|
-
*
|
|
300
|
+
* The private API key for the agent (sk-)
|
|
368
301
|
* @type {string}
|
|
369
|
-
* @memberof
|
|
302
|
+
* @memberof AgentApiKeyResponse
|
|
370
303
|
*/
|
|
371
|
-
'
|
|
304
|
+
'api_key': string;
|
|
372
305
|
/**
|
|
373
|
-
*
|
|
306
|
+
* The public API key for the agent (pk-)
|
|
374
307
|
* @type {string}
|
|
375
|
-
* @memberof
|
|
376
|
-
*/
|
|
377
|
-
'prompt_append'?: string | null;
|
|
378
|
-
/**
|
|
379
|
-
*
|
|
380
|
-
* @type {number}
|
|
381
|
-
* @memberof AgentInput
|
|
382
|
-
*/
|
|
383
|
-
'temperature'?: number | null;
|
|
384
|
-
/**
|
|
385
|
-
*
|
|
386
|
-
* @type {number}
|
|
387
|
-
* @memberof AgentInput
|
|
388
|
-
*/
|
|
389
|
-
'frequency_penalty'?: number | null;
|
|
390
|
-
/**
|
|
391
|
-
*
|
|
392
|
-
* @type {number}
|
|
393
|
-
* @memberof AgentInput
|
|
308
|
+
* @memberof AgentApiKeyResponse
|
|
394
309
|
*/
|
|
395
|
-
'
|
|
310
|
+
'api_key_public': string;
|
|
396
311
|
/**
|
|
397
|
-
*
|
|
312
|
+
* The base URL for the API
|
|
398
313
|
* @type {string}
|
|
399
|
-
* @memberof
|
|
400
|
-
*/
|
|
401
|
-
'short_term_memory_strategy'?: AgentInputShortTermMemoryStrategyEnum | null;
|
|
402
|
-
/**
|
|
403
|
-
*
|
|
404
|
-
* @type {Array<AgentAutonomous>}
|
|
405
|
-
* @memberof AgentInput
|
|
314
|
+
* @memberof AgentApiKeyResponse
|
|
406
315
|
*/
|
|
407
|
-
'
|
|
316
|
+
'base_url': string;
|
|
408
317
|
/**
|
|
409
|
-
*
|
|
318
|
+
* API documentation URL
|
|
410
319
|
* @type {string}
|
|
411
|
-
* @memberof
|
|
320
|
+
* @memberof AgentApiKeyResponse
|
|
412
321
|
*/
|
|
413
|
-
'
|
|
322
|
+
'api_doc': string;
|
|
414
323
|
/**
|
|
415
|
-
*
|
|
416
|
-
* @type {
|
|
417
|
-
* @memberof
|
|
324
|
+
* OpenAPI JSON URL for AI integration
|
|
325
|
+
* @type {string}
|
|
326
|
+
* @memberof AgentApiKeyResponse
|
|
418
327
|
*/
|
|
419
|
-
'
|
|
328
|
+
'doc_for_ai': string;
|
|
329
|
+
}
|
|
330
|
+
/**
|
|
331
|
+
* Response model for agent assets.
|
|
332
|
+
* @export
|
|
333
|
+
* @interface AgentAssetsResponse
|
|
334
|
+
*/
|
|
335
|
+
export interface AgentAssetsResponse {
|
|
420
336
|
/**
|
|
421
|
-
*
|
|
422
|
-
* @type {
|
|
423
|
-
* @memberof
|
|
337
|
+
* ID of the agent
|
|
338
|
+
* @type {string}
|
|
339
|
+
* @memberof AgentAssetsResponse
|
|
424
340
|
*/
|
|
425
|
-
'
|
|
341
|
+
'agent_id': string;
|
|
426
342
|
/**
|
|
427
343
|
*
|
|
428
344
|
* @type {string}
|
|
429
|
-
* @memberof
|
|
345
|
+
* @memberof AgentAssetsResponse
|
|
430
346
|
*/
|
|
431
|
-
'
|
|
347
|
+
'network_id': string | null;
|
|
432
348
|
/**
|
|
433
349
|
*
|
|
434
350
|
* @type {string}
|
|
435
|
-
* @memberof
|
|
351
|
+
* @memberof AgentAssetsResponse
|
|
436
352
|
*/
|
|
437
|
-
'
|
|
353
|
+
'wallet_address': string | null;
|
|
438
354
|
/**
|
|
439
355
|
*
|
|
440
356
|
* @type {string}
|
|
441
|
-
* @memberof
|
|
357
|
+
* @memberof AgentAssetsResponse
|
|
442
358
|
*/
|
|
443
|
-
'
|
|
359
|
+
'ticker': string | null;
|
|
444
360
|
/**
|
|
445
361
|
*
|
|
446
362
|
* @type {string}
|
|
447
|
-
* @memberof
|
|
363
|
+
* @memberof AgentAssetsResponse
|
|
448
364
|
*/
|
|
449
|
-
'
|
|
365
|
+
'token_address': string | null;
|
|
450
366
|
/**
|
|
451
367
|
*
|
|
452
|
-
* @type {
|
|
453
|
-
* @memberof
|
|
368
|
+
* @type {string}
|
|
369
|
+
* @memberof AgentAssetsResponse
|
|
454
370
|
*/
|
|
455
|
-
'
|
|
371
|
+
'token_pool': string | null;
|
|
456
372
|
/**
|
|
457
|
-
*
|
|
373
|
+
* Total value locked, set to 0 for this version
|
|
458
374
|
* @type {string}
|
|
459
|
-
* @memberof
|
|
375
|
+
* @memberof AgentAssetsResponse
|
|
460
376
|
*/
|
|
461
|
-
'
|
|
377
|
+
'tvl'?: string;
|
|
462
378
|
/**
|
|
463
|
-
*
|
|
464
|
-
* @type {
|
|
465
|
-
* @memberof
|
|
379
|
+
* List of assets with symbol and balance
|
|
380
|
+
* @type {Array<Asset>}
|
|
381
|
+
* @memberof AgentAssetsResponse
|
|
466
382
|
*/
|
|
467
|
-
'
|
|
383
|
+
'assets': Array<Asset>;
|
|
468
384
|
/**
|
|
469
|
-
*
|
|
470
|
-
* @type {
|
|
471
|
-
* @memberof
|
|
385
|
+
* Credit account information
|
|
386
|
+
* @type {CreditAccount}
|
|
387
|
+
* @memberof AgentAssetsResponse
|
|
472
388
|
*/
|
|
473
|
-
'
|
|
389
|
+
'account': CreditAccount;
|
|
390
|
+
}
|
|
391
|
+
/**
|
|
392
|
+
* Autonomous agent configuration.
|
|
393
|
+
* @export
|
|
394
|
+
* @interface AgentAutonomous
|
|
395
|
+
*/
|
|
396
|
+
export interface AgentAutonomous {
|
|
474
397
|
/**
|
|
475
|
-
* Unique identifier for the
|
|
398
|
+
* Unique identifier for the autonomous configuration
|
|
476
399
|
* @type {string}
|
|
477
|
-
* @memberof
|
|
400
|
+
* @memberof AgentAutonomous
|
|
478
401
|
*/
|
|
479
402
|
'id'?: string;
|
|
480
403
|
/**
|
|
481
|
-
*
|
|
404
|
+
*
|
|
482
405
|
* @type {string}
|
|
483
|
-
* @memberof
|
|
406
|
+
* @memberof AgentAutonomous
|
|
484
407
|
*/
|
|
485
|
-
'
|
|
408
|
+
'name'?: string | null;
|
|
486
409
|
/**
|
|
487
|
-
*
|
|
410
|
+
*
|
|
488
411
|
* @type {string}
|
|
489
|
-
* @memberof
|
|
412
|
+
* @memberof AgentAutonomous
|
|
490
413
|
*/
|
|
491
|
-
'
|
|
492
|
-
}
|
|
493
|
-
export declare const AgentInputModeEnum: {
|
|
494
|
-
readonly Public: "public";
|
|
495
|
-
readonly Private: "private";
|
|
496
|
-
};
|
|
497
|
-
export type AgentInputModeEnum = typeof AgentInputModeEnum[keyof typeof AgentInputModeEnum];
|
|
498
|
-
export declare const AgentInputShortTermMemoryStrategyEnum: {
|
|
499
|
-
readonly Trim: "trim";
|
|
500
|
-
readonly Summarize: "summarize";
|
|
501
|
-
};
|
|
502
|
-
export type AgentInputShortTermMemoryStrategyEnum = typeof AgentInputShortTermMemoryStrategyEnum[keyof typeof AgentInputShortTermMemoryStrategyEnum];
|
|
503
|
-
export declare const AgentInputWalletProviderEnum: {
|
|
504
|
-
readonly Cdp: "cdp";
|
|
505
|
-
readonly Readonly: "readonly";
|
|
506
|
-
};
|
|
507
|
-
export type AgentInputWalletProviderEnum = typeof AgentInputWalletProviderEnum[keyof typeof AgentInputWalletProviderEnum];
|
|
508
|
-
export declare const AgentInputNetworkIdEnum: {
|
|
509
|
-
readonly EthereumMainnet: "ethereum-mainnet";
|
|
510
|
-
readonly EthereumSepolia: "ethereum-sepolia";
|
|
511
|
-
readonly PolygonMainnet: "polygon-mainnet";
|
|
512
|
-
readonly PolygonMumbai: "polygon-mumbai";
|
|
513
|
-
readonly BaseMainnet: "base-mainnet";
|
|
514
|
-
readonly BaseSepolia: "base-sepolia";
|
|
515
|
-
readonly ArbitrumMainnet: "arbitrum-mainnet";
|
|
516
|
-
readonly ArbitrumSepolia: "arbitrum-sepolia";
|
|
517
|
-
readonly OptimismMainnet: "optimism-mainnet";
|
|
518
|
-
readonly OptimismSepolia: "optimism-sepolia";
|
|
519
|
-
readonly Solana: "solana";
|
|
520
|
-
};
|
|
521
|
-
export type AgentInputNetworkIdEnum = typeof AgentInputNetworkIdEnum[keyof typeof AgentInputNetworkIdEnum];
|
|
522
|
-
export declare const AgentInputCdpNetworkIdEnum: {
|
|
523
|
-
readonly EthereumMainnet: "ethereum-mainnet";
|
|
524
|
-
readonly EthereumSepolia: "ethereum-sepolia";
|
|
525
|
-
readonly PolygonMainnet: "polygon-mainnet";
|
|
526
|
-
readonly PolygonMumbai: "polygon-mumbai";
|
|
527
|
-
readonly BaseMainnet: "base-mainnet";
|
|
528
|
-
readonly BaseSepolia: "base-sepolia";
|
|
529
|
-
readonly ArbitrumMainnet: "arbitrum-mainnet";
|
|
530
|
-
readonly ArbitrumSepolia: "arbitrum-sepolia";
|
|
531
|
-
readonly OptimismMainnet: "optimism-mainnet";
|
|
532
|
-
readonly OptimismSepolia: "optimism-sepolia";
|
|
533
|
-
};
|
|
534
|
-
export type AgentInputCdpNetworkIdEnum = typeof AgentInputCdpNetworkIdEnum[keyof typeof AgentInputCdpNetworkIdEnum];
|
|
535
|
-
/**
|
|
536
|
-
* Paginated response model for agents list. Contains a list of agents, a flag indicating if more items are available, and a cursor for pagination.
|
|
537
|
-
* @export
|
|
538
|
-
* @interface AgentListResponse
|
|
539
|
-
*/
|
|
540
|
-
export interface AgentListResponse {
|
|
414
|
+
'description'?: string | null;
|
|
541
415
|
/**
|
|
542
|
-
*
|
|
543
|
-
* @type {
|
|
544
|
-
* @memberof
|
|
416
|
+
*
|
|
417
|
+
* @type {number}
|
|
418
|
+
* @memberof AgentAutonomous
|
|
545
419
|
*/
|
|
546
|
-
'
|
|
420
|
+
'minutes'?: number | null;
|
|
547
421
|
/**
|
|
548
|
-
*
|
|
549
|
-
* @type {
|
|
550
|
-
* @memberof
|
|
422
|
+
*
|
|
423
|
+
* @type {string}
|
|
424
|
+
* @memberof AgentAutonomous
|
|
551
425
|
*/
|
|
552
|
-
'
|
|
426
|
+
'cron'?: string | null;
|
|
553
427
|
/**
|
|
554
|
-
*
|
|
428
|
+
* Special prompt used during autonomous operation
|
|
555
429
|
* @type {string}
|
|
556
|
-
* @memberof
|
|
430
|
+
* @memberof AgentAutonomous
|
|
557
431
|
*/
|
|
558
|
-
'
|
|
432
|
+
'prompt': string;
|
|
433
|
+
/**
|
|
434
|
+
*
|
|
435
|
+
* @type {boolean}
|
|
436
|
+
* @memberof AgentAutonomous
|
|
437
|
+
*/
|
|
438
|
+
'enabled'?: boolean | null;
|
|
559
439
|
}
|
|
560
440
|
/**
|
|
561
|
-
* Agent model.
|
|
441
|
+
* Agent create model.
|
|
562
442
|
* @export
|
|
563
|
-
* @interface
|
|
443
|
+
* @interface AgentCreate
|
|
564
444
|
*/
|
|
565
|
-
export interface
|
|
445
|
+
export interface AgentCreate {
|
|
566
446
|
/**
|
|
567
447
|
*
|
|
568
448
|
* @type {string}
|
|
569
|
-
* @memberof
|
|
449
|
+
* @memberof AgentCreate
|
|
570
450
|
*/
|
|
571
451
|
'name': string | null;
|
|
572
452
|
/**
|
|
573
453
|
*
|
|
574
454
|
* @type {string}
|
|
575
|
-
* @memberof
|
|
455
|
+
* @memberof AgentCreate
|
|
576
456
|
*/
|
|
577
457
|
'slug'?: string | null;
|
|
578
458
|
/**
|
|
579
459
|
*
|
|
580
460
|
* @type {string}
|
|
581
|
-
* @memberof
|
|
461
|
+
* @memberof AgentCreate
|
|
582
462
|
*/
|
|
583
463
|
'description'?: string | null;
|
|
584
464
|
/**
|
|
585
465
|
*
|
|
586
466
|
* @type {string}
|
|
587
|
-
* @memberof
|
|
467
|
+
* @memberof AgentCreate
|
|
588
468
|
*/
|
|
589
469
|
'external_website'?: string | null;
|
|
590
470
|
/**
|
|
591
471
|
*
|
|
592
472
|
* @type {string}
|
|
593
|
-
* @memberof
|
|
473
|
+
* @memberof AgentCreate
|
|
594
474
|
*/
|
|
595
475
|
'picture'?: string | null;
|
|
596
476
|
/**
|
|
597
477
|
*
|
|
598
478
|
* @type {string}
|
|
599
|
-
* @memberof
|
|
479
|
+
* @memberof AgentCreate
|
|
600
480
|
*/
|
|
601
481
|
'ticker'?: string | null;
|
|
602
482
|
/**
|
|
603
483
|
*
|
|
604
484
|
* @type {string}
|
|
605
|
-
* @memberof
|
|
485
|
+
* @memberof AgentCreate
|
|
606
486
|
*/
|
|
607
487
|
'token_address'?: string | null;
|
|
608
488
|
/**
|
|
609
489
|
*
|
|
610
490
|
* @type {string}
|
|
611
|
-
* @memberof
|
|
491
|
+
* @memberof AgentCreate
|
|
612
492
|
*/
|
|
613
493
|
'token_pool'?: string | null;
|
|
614
494
|
/**
|
|
615
495
|
*
|
|
616
496
|
* @type {string}
|
|
617
|
-
* @memberof
|
|
497
|
+
* @memberof AgentCreate
|
|
618
498
|
*/
|
|
619
|
-
'mode'?:
|
|
499
|
+
'mode'?: AgentCreateModeEnum | null;
|
|
620
500
|
/**
|
|
621
501
|
*
|
|
622
|
-
* @type {
|
|
623
|
-
* @memberof
|
|
502
|
+
* @type {FeePercentage}
|
|
503
|
+
* @memberof AgentCreate
|
|
624
504
|
*/
|
|
625
|
-
'fee_percentage'?:
|
|
505
|
+
'fee_percentage'?: FeePercentage | null;
|
|
626
506
|
/**
|
|
627
507
|
*
|
|
628
508
|
* @type {string}
|
|
629
|
-
* @memberof
|
|
509
|
+
* @memberof AgentCreate
|
|
630
510
|
*/
|
|
631
511
|
'purpose': string | null;
|
|
632
512
|
/**
|
|
633
513
|
*
|
|
634
514
|
* @type {string}
|
|
635
|
-
* @memberof
|
|
515
|
+
* @memberof AgentCreate
|
|
636
516
|
*/
|
|
637
517
|
'personality': string | null;
|
|
638
518
|
/**
|
|
639
519
|
*
|
|
640
520
|
* @type {string}
|
|
641
|
-
* @memberof
|
|
521
|
+
* @memberof AgentCreate
|
|
642
522
|
*/
|
|
643
523
|
'principles': string | null;
|
|
644
524
|
/**
|
|
645
525
|
*
|
|
646
526
|
* @type {string}
|
|
647
|
-
* @memberof
|
|
527
|
+
* @memberof AgentCreate
|
|
648
528
|
*/
|
|
649
529
|
'owner'?: string | null;
|
|
650
530
|
/**
|
|
651
531
|
*
|
|
652
532
|
* @type {string}
|
|
653
|
-
* @memberof
|
|
533
|
+
* @memberof AgentCreate
|
|
654
534
|
*/
|
|
655
535
|
'upstream_id'?: string | null;
|
|
656
536
|
/**
|
|
657
537
|
*
|
|
658
538
|
* @type {object}
|
|
659
|
-
* @memberof
|
|
539
|
+
* @memberof AgentCreate
|
|
660
540
|
*/
|
|
661
541
|
'upstream_extra'?: object | null;
|
|
662
542
|
/**
|
|
663
543
|
* AI model identifier to be used by this agent for processing requests.
|
|
664
544
|
* @type {string}
|
|
665
|
-
* @memberof
|
|
545
|
+
* @memberof AgentCreate
|
|
666
546
|
*/
|
|
667
547
|
'model'?: string;
|
|
668
548
|
/**
|
|
669
549
|
*
|
|
670
550
|
* @type {string}
|
|
671
|
-
* @memberof
|
|
551
|
+
* @memberof AgentCreate
|
|
672
552
|
*/
|
|
673
553
|
'prompt'?: string | null;
|
|
674
554
|
/**
|
|
675
555
|
*
|
|
676
556
|
* @type {string}
|
|
677
|
-
* @memberof
|
|
557
|
+
* @memberof AgentCreate
|
|
678
558
|
*/
|
|
679
559
|
'prompt_append'?: string | null;
|
|
680
560
|
/**
|
|
681
561
|
*
|
|
682
562
|
* @type {number}
|
|
683
|
-
* @memberof
|
|
563
|
+
* @memberof AgentCreate
|
|
684
564
|
*/
|
|
685
565
|
'temperature'?: number | null;
|
|
686
566
|
/**
|
|
687
567
|
*
|
|
688
568
|
* @type {number}
|
|
689
|
-
* @memberof
|
|
569
|
+
* @memberof AgentCreate
|
|
690
570
|
*/
|
|
691
571
|
'frequency_penalty'?: number | null;
|
|
692
572
|
/**
|
|
693
573
|
*
|
|
694
574
|
* @type {number}
|
|
695
|
-
* @memberof
|
|
575
|
+
* @memberof AgentCreate
|
|
696
576
|
*/
|
|
697
577
|
'presence_penalty'?: number | null;
|
|
698
578
|
/**
|
|
699
579
|
*
|
|
700
580
|
* @type {string}
|
|
701
|
-
* @memberof
|
|
581
|
+
* @memberof AgentCreate
|
|
702
582
|
*/
|
|
703
|
-
'short_term_memory_strategy'?:
|
|
583
|
+
'short_term_memory_strategy'?: AgentCreateShortTermMemoryStrategyEnum | null;
|
|
704
584
|
/**
|
|
705
585
|
*
|
|
706
586
|
* @type {Array<AgentAutonomous>}
|
|
707
|
-
* @memberof
|
|
587
|
+
* @memberof AgentCreate
|
|
708
588
|
*/
|
|
709
589
|
'autonomous'?: Array<AgentAutonomous> | null;
|
|
710
590
|
/**
|
|
711
591
|
*
|
|
712
592
|
* @type {string}
|
|
713
|
-
* @memberof
|
|
593
|
+
* @memberof AgentCreate
|
|
714
594
|
*/
|
|
715
595
|
'example_intro'?: string | null;
|
|
716
596
|
/**
|
|
717
597
|
*
|
|
718
598
|
* @type {Array<AgentExample>}
|
|
719
|
-
* @memberof
|
|
599
|
+
* @memberof AgentCreate
|
|
720
600
|
*/
|
|
721
601
|
'examples'?: Array<AgentExample> | null;
|
|
722
602
|
/**
|
|
723
603
|
*
|
|
724
604
|
* @type {object}
|
|
725
|
-
* @memberof
|
|
605
|
+
* @memberof AgentCreate
|
|
726
606
|
*/
|
|
727
607
|
'skills'?: object | null;
|
|
728
608
|
/**
|
|
729
609
|
*
|
|
730
610
|
* @type {string}
|
|
731
|
-
* @memberof
|
|
611
|
+
* @memberof AgentCreate
|
|
732
612
|
*/
|
|
733
|
-
'wallet_provider'?:
|
|
613
|
+
'wallet_provider'?: AgentCreateWalletProviderEnum | null;
|
|
734
614
|
/**
|
|
735
615
|
*
|
|
736
616
|
* @type {string}
|
|
737
|
-
* @memberof
|
|
617
|
+
* @memberof AgentCreate
|
|
738
618
|
*/
|
|
739
619
|
'readonly_wallet_address'?: string | null;
|
|
740
620
|
/**
|
|
741
621
|
*
|
|
742
622
|
* @type {string}
|
|
743
|
-
* @memberof
|
|
623
|
+
* @memberof AgentCreate
|
|
744
624
|
*/
|
|
745
|
-
'network_id'?:
|
|
625
|
+
'network_id'?: AgentCreateNetworkIdEnum | null;
|
|
746
626
|
/**
|
|
747
627
|
*
|
|
748
628
|
* @type {string}
|
|
749
|
-
* @memberof
|
|
629
|
+
* @memberof AgentCreate
|
|
750
630
|
*/
|
|
751
|
-
'cdp_network_id'?:
|
|
631
|
+
'cdp_network_id'?: AgentCreateCdpNetworkIdEnum | null;
|
|
752
632
|
/**
|
|
753
633
|
*
|
|
754
634
|
* @type {boolean}
|
|
755
|
-
* @memberof
|
|
635
|
+
* @memberof AgentCreate
|
|
756
636
|
*/
|
|
757
637
|
'telegram_entrypoint_enabled'?: boolean | null;
|
|
758
638
|
/**
|
|
759
639
|
*
|
|
760
640
|
* @type {string}
|
|
761
|
-
* @memberof
|
|
641
|
+
* @memberof AgentCreate
|
|
762
642
|
*/
|
|
763
643
|
'telegram_entrypoint_prompt'?: string | null;
|
|
764
644
|
/**
|
|
765
645
|
*
|
|
766
646
|
* @type {object}
|
|
767
|
-
* @memberof
|
|
647
|
+
* @memberof AgentCreate
|
|
768
648
|
*/
|
|
769
649
|
'telegram_config'?: object | null;
|
|
770
650
|
/**
|
|
771
651
|
*
|
|
772
652
|
* @type {string}
|
|
773
|
-
* @memberof
|
|
653
|
+
* @memberof AgentCreate
|
|
774
654
|
*/
|
|
775
655
|
'xmtp_entrypoint_prompt'?: string | null;
|
|
776
656
|
/**
|
|
777
657
|
* Unique identifier for the agent. Must be URL-safe, containing only lowercase letters, numbers, and hyphens
|
|
778
658
|
* @type {string}
|
|
779
|
-
* @memberof
|
|
659
|
+
* @memberof AgentCreate
|
|
780
660
|
*/
|
|
781
661
|
'id'?: string;
|
|
782
|
-
/**
|
|
783
|
-
* Timestamp when the agent was created, will ignore when importing
|
|
784
|
-
* @type {string}
|
|
785
|
-
* @memberof AgentOutput
|
|
786
|
-
*/
|
|
787
|
-
'created_at'?: string;
|
|
788
|
-
/**
|
|
789
|
-
* Timestamp when the agent was last updated, will ignore when importing
|
|
790
|
-
* @type {string}
|
|
791
|
-
* @memberof AgentOutput
|
|
792
|
-
*/
|
|
793
|
-
'updated_at'?: string;
|
|
794
662
|
}
|
|
795
|
-
export declare const
|
|
663
|
+
export declare const AgentCreateModeEnum: {
|
|
796
664
|
readonly Public: "public";
|
|
797
665
|
readonly Private: "private";
|
|
798
666
|
};
|
|
799
|
-
export type
|
|
800
|
-
export declare const
|
|
667
|
+
export type AgentCreateModeEnum = typeof AgentCreateModeEnum[keyof typeof AgentCreateModeEnum];
|
|
668
|
+
export declare const AgentCreateShortTermMemoryStrategyEnum: {
|
|
801
669
|
readonly Trim: "trim";
|
|
802
670
|
readonly Summarize: "summarize";
|
|
803
671
|
};
|
|
804
|
-
export type
|
|
805
|
-
export declare const
|
|
672
|
+
export type AgentCreateShortTermMemoryStrategyEnum = typeof AgentCreateShortTermMemoryStrategyEnum[keyof typeof AgentCreateShortTermMemoryStrategyEnum];
|
|
673
|
+
export declare const AgentCreateWalletProviderEnum: {
|
|
806
674
|
readonly Cdp: "cdp";
|
|
807
675
|
readonly Readonly: "readonly";
|
|
808
676
|
};
|
|
809
|
-
export type
|
|
810
|
-
export declare const
|
|
677
|
+
export type AgentCreateWalletProviderEnum = typeof AgentCreateWalletProviderEnum[keyof typeof AgentCreateWalletProviderEnum];
|
|
678
|
+
export declare const AgentCreateNetworkIdEnum: {
|
|
811
679
|
readonly EthereumMainnet: "ethereum-mainnet";
|
|
812
680
|
readonly EthereumSepolia: "ethereum-sepolia";
|
|
813
681
|
readonly PolygonMainnet: "polygon-mainnet";
|
|
@@ -820,8 +688,8 @@ export declare const AgentOutputNetworkIdEnum: {
|
|
|
820
688
|
readonly OptimismSepolia: "optimism-sepolia";
|
|
821
689
|
readonly Solana: "solana";
|
|
822
690
|
};
|
|
823
|
-
export type
|
|
824
|
-
export declare const
|
|
691
|
+
export type AgentCreateNetworkIdEnum = typeof AgentCreateNetworkIdEnum[keyof typeof AgentCreateNetworkIdEnum];
|
|
692
|
+
export declare const AgentCreateCdpNetworkIdEnum: {
|
|
825
693
|
readonly EthereumMainnet: "ethereum-mainnet";
|
|
826
694
|
readonly EthereumSepolia: "ethereum-sepolia";
|
|
827
695
|
readonly PolygonMainnet: "polygon-mainnet";
|
|
@@ -833,7 +701,133 @@ export declare const AgentOutputCdpNetworkIdEnum: {
|
|
|
833
701
|
readonly OptimismMainnet: "optimism-mainnet";
|
|
834
702
|
readonly OptimismSepolia: "optimism-sepolia";
|
|
835
703
|
};
|
|
836
|
-
export type
|
|
704
|
+
export type AgentCreateCdpNetworkIdEnum = typeof AgentCreateCdpNetworkIdEnum[keyof typeof AgentCreateCdpNetworkIdEnum];
|
|
705
|
+
/**
|
|
706
|
+
* Agent example configuration.
|
|
707
|
+
* @export
|
|
708
|
+
* @interface AgentExample
|
|
709
|
+
*/
|
|
710
|
+
export interface AgentExample {
|
|
711
|
+
/**
|
|
712
|
+
* Name of the example
|
|
713
|
+
* @type {string}
|
|
714
|
+
* @memberof AgentExample
|
|
715
|
+
*/
|
|
716
|
+
'name': string;
|
|
717
|
+
/**
|
|
718
|
+
* Description of the example
|
|
719
|
+
* @type {string}
|
|
720
|
+
* @memberof AgentExample
|
|
721
|
+
*/
|
|
722
|
+
'description': string;
|
|
723
|
+
/**
|
|
724
|
+
* Example prompt
|
|
725
|
+
* @type {string}
|
|
726
|
+
* @memberof AgentExample
|
|
727
|
+
*/
|
|
728
|
+
'prompt': string;
|
|
729
|
+
}
|
|
730
|
+
/**
|
|
731
|
+
* Request model for agent generation.
|
|
732
|
+
* @export
|
|
733
|
+
* @interface AgentGenerateRequest
|
|
734
|
+
*/
|
|
735
|
+
export interface AgentGenerateRequest {
|
|
736
|
+
/**
|
|
737
|
+
* Natural language description of the agent\'s desired capabilities
|
|
738
|
+
* @type {string}
|
|
739
|
+
* @memberof AgentGenerateRequest
|
|
740
|
+
*/
|
|
741
|
+
'prompt': string;
|
|
742
|
+
/**
|
|
743
|
+
*
|
|
744
|
+
* @type {AgentCreate}
|
|
745
|
+
* @memberof AgentGenerateRequest
|
|
746
|
+
*/
|
|
747
|
+
'existing_agent'?: AgentCreate | null;
|
|
748
|
+
/**
|
|
749
|
+
*
|
|
750
|
+
* @type {string}
|
|
751
|
+
* @memberof AgentGenerateRequest
|
|
752
|
+
*/
|
|
753
|
+
'project_id'?: string | null;
|
|
754
|
+
/**
|
|
755
|
+
*
|
|
756
|
+
* @type {boolean}
|
|
757
|
+
* @memberof AgentGenerateRequest
|
|
758
|
+
*/
|
|
759
|
+
'deploy'?: boolean | null;
|
|
760
|
+
}
|
|
761
|
+
/**
|
|
762
|
+
* Response model for agent generation.
|
|
763
|
+
* @export
|
|
764
|
+
* @interface AgentGenerateResponse
|
|
765
|
+
*/
|
|
766
|
+
export interface AgentGenerateResponse {
|
|
767
|
+
/**
|
|
768
|
+
* The generated agent schema
|
|
769
|
+
* @type {object}
|
|
770
|
+
* @memberof AgentGenerateResponse
|
|
771
|
+
*/
|
|
772
|
+
'agent': object;
|
|
773
|
+
/**
|
|
774
|
+
* Project ID for this conversation session
|
|
775
|
+
* @type {string}
|
|
776
|
+
* @memberof AgentGenerateResponse
|
|
777
|
+
*/
|
|
778
|
+
'project_id': string;
|
|
779
|
+
/**
|
|
780
|
+
* Human-readable summary of the generated agent
|
|
781
|
+
* @type {string}
|
|
782
|
+
* @memberof AgentGenerateResponse
|
|
783
|
+
*/
|
|
784
|
+
'summary': string;
|
|
785
|
+
/**
|
|
786
|
+
* Generated tags for the agent as ID objects: [{\'id\': 1}, {\'id\': 2}]
|
|
787
|
+
* @type {Array<{ [key: string]: number; }>}
|
|
788
|
+
* @memberof AgentGenerateResponse
|
|
789
|
+
*/
|
|
790
|
+
'tags'?: Array<{
|
|
791
|
+
[key: string]: number;
|
|
792
|
+
}>;
|
|
793
|
+
/**
|
|
794
|
+
*
|
|
795
|
+
* @type {Array<object>}
|
|
796
|
+
* @memberof AgentGenerateResponse
|
|
797
|
+
*/
|
|
798
|
+
'autonomous_tasks'?: Array<object> | null;
|
|
799
|
+
/**
|
|
800
|
+
*
|
|
801
|
+
* @type {Array<string>}
|
|
802
|
+
* @memberof AgentGenerateResponse
|
|
803
|
+
*/
|
|
804
|
+
'activated_skills'?: Array<string> | null;
|
|
805
|
+
}
|
|
806
|
+
/**
|
|
807
|
+
* Paginated response model for agents list. Contains a list of agents, a flag indicating if more items are available, and a cursor for pagination.
|
|
808
|
+
* @export
|
|
809
|
+
* @interface AgentListResponse
|
|
810
|
+
*/
|
|
811
|
+
export interface AgentListResponse {
|
|
812
|
+
/**
|
|
813
|
+
* List of agents
|
|
814
|
+
* @type {Array<AgentResponse>}
|
|
815
|
+
* @memberof AgentListResponse
|
|
816
|
+
*/
|
|
817
|
+
'data': Array<AgentResponse>;
|
|
818
|
+
/**
|
|
819
|
+
* Indicates if there are more items
|
|
820
|
+
* @type {boolean}
|
|
821
|
+
* @memberof AgentListResponse
|
|
822
|
+
*/
|
|
823
|
+
'has_more': boolean;
|
|
824
|
+
/**
|
|
825
|
+
*
|
|
826
|
+
* @type {string}
|
|
827
|
+
* @memberof AgentListResponse
|
|
828
|
+
*/
|
|
829
|
+
'next_cursor'?: string | null;
|
|
830
|
+
}
|
|
837
831
|
/**
|
|
838
832
|
* Response model for Agent API.
|
|
839
833
|
* @export
|
|
@@ -3176,7 +3170,7 @@ export declare const AgentApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
3176
3170
|
*/
|
|
3177
3171
|
createAgent: (agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3178
3172
|
/**
|
|
3179
|
-
* Export agent configuration as YAML. **Path Parameters:** * `agent_id` - ID of the agent to export **Returns:** * `str` - YAML configuration of the agent **Raises:** * `HTTPException`: - 404: Agent not found
|
|
3173
|
+
* Export agent configuration as YAML. **Path Parameters:** * `agent_id` - ID of the agent to export **Returns:** * `str` - YAML configuration of the agent **Raises:** * `HTTPException`: - 404: Agent not found - 403: Not authorized to access this agent
|
|
3180
3174
|
* @summary Export Agent
|
|
3181
3175
|
* @param {string} agentId ID of the agent to export
|
|
3182
3176
|
* @param {*} [options] Override http request option.
|
|
@@ -3302,7 +3296,7 @@ export declare const AgentApiFp: (configuration?: Configuration) => {
|
|
|
3302
3296
|
*/
|
|
3303
3297
|
createAgent(agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentResponse>>;
|
|
3304
3298
|
/**
|
|
3305
|
-
* Export agent configuration as YAML. **Path Parameters:** * `agent_id` - ID of the agent to export **Returns:** * `str` - YAML configuration of the agent **Raises:** * `HTTPException`: - 404: Agent not found
|
|
3299
|
+
* Export agent configuration as YAML. **Path Parameters:** * `agent_id` - ID of the agent to export **Returns:** * `str` - YAML configuration of the agent **Raises:** * `HTTPException`: - 404: Agent not found - 403: Not authorized to access this agent
|
|
3306
3300
|
* @summary Export Agent
|
|
3307
3301
|
* @param {string} agentId ID of the agent to export
|
|
3308
3302
|
* @param {*} [options] Override http request option.
|
|
@@ -3428,7 +3422,7 @@ export declare const AgentApiFactory: (configuration?: Configuration, basePath?:
|
|
|
3428
3422
|
*/
|
|
3429
3423
|
createAgent(agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): AxiosPromise<AgentResponse>;
|
|
3430
3424
|
/**
|
|
3431
|
-
* Export agent configuration as YAML. **Path Parameters:** * `agent_id` - ID of the agent to export **Returns:** * `str` - YAML configuration of the agent **Raises:** * `HTTPException`: - 404: Agent not found
|
|
3425
|
+
* Export agent configuration as YAML. **Path Parameters:** * `agent_id` - ID of the agent to export **Returns:** * `str` - YAML configuration of the agent **Raises:** * `HTTPException`: - 404: Agent not found - 403: Not authorized to access this agent
|
|
3432
3426
|
* @summary Export Agent
|
|
3433
3427
|
* @param {string} agentId ID of the agent to export
|
|
3434
3428
|
* @param {*} [options] Override http request option.
|
|
@@ -3557,7 +3551,7 @@ export declare class AgentApi extends BaseAPI {
|
|
|
3557
3551
|
*/
|
|
3558
3552
|
createAgent(agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentResponse, any>>;
|
|
3559
3553
|
/**
|
|
3560
|
-
* Export agent configuration as YAML. **Path Parameters:** * `agent_id` - ID of the agent to export **Returns:** * `str` - YAML configuration of the agent **Raises:** * `HTTPException`: - 404: Agent not found
|
|
3554
|
+
* Export agent configuration as YAML. **Path Parameters:** * `agent_id` - ID of the agent to export **Returns:** * `str` - YAML configuration of the agent **Raises:** * `HTTPException`: - 404: Agent not found - 403: Not authorized to access this agent
|
|
3561
3555
|
* @summary Export Agent
|
|
3562
3556
|
* @param {string} agentId ID of the agent to export
|
|
3563
3557
|
* @param {*} [options] Override http request option.
|
|
@@ -4844,7 +4838,7 @@ export declare const UserApiFp: (configuration?: Configuration) => {
|
|
|
4844
4838
|
* @param {*} [options] Override http request option.
|
|
4845
4839
|
* @throws {RequiredError}
|
|
4846
4840
|
*/
|
|
4847
|
-
getUserAgentById(agentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
4841
|
+
getUserAgentById(agentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Agent>>;
|
|
4848
4842
|
/**
|
|
4849
4843
|
* Get all agents owned by the authenticated user. **Query Parameters:** * `cursor` - Cursor for pagination * `limit` - Maximum number of agents to return (1-100) **Returns:** * `AgentListResponse` - Paginated list of user\'s agents with their quota information and additional processed data
|
|
4850
4844
|
* @summary Get User Agents
|
|
@@ -4867,7 +4861,7 @@ export declare const UserApiFactory: (configuration?: Configuration, basePath?:
|
|
|
4867
4861
|
* @param {*} [options] Override http request option.
|
|
4868
4862
|
* @throws {RequiredError}
|
|
4869
4863
|
*/
|
|
4870
|
-
getUserAgentById(agentId: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
4864
|
+
getUserAgentById(agentId: string, options?: RawAxiosRequestConfig): AxiosPromise<Agent>;
|
|
4871
4865
|
/**
|
|
4872
4866
|
* Get all agents owned by the authenticated user. **Query Parameters:** * `cursor` - Cursor for pagination * `limit` - Maximum number of agents to return (1-100) **Returns:** * `AgentListResponse` - Paginated list of user\'s agents with their quota information and additional processed data
|
|
4873
4867
|
* @summary Get User Agents
|
|
@@ -4893,7 +4887,7 @@ export declare class UserApi extends BaseAPI {
|
|
|
4893
4887
|
* @throws {RequiredError}
|
|
4894
4888
|
* @memberof UserApi
|
|
4895
4889
|
*/
|
|
4896
|
-
getUserAgentById(agentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
4890
|
+
getUserAgentById(agentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Agent, any>>;
|
|
4897
4891
|
/**
|
|
4898
4892
|
* Get all agents owned by the authenticated user. **Query Parameters:** * `cursor` - Cursor for pagination * `limit` - Maximum number of agents to return (1-100) **Returns:** * `AgentListResponse` - Paginated list of user\'s agents with their quota information and additional processed data
|
|
4899
4893
|
* @summary Get User Agents
|