@crestal/nation-sdk 0.8.94 → 0.8.97

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.
@@ -10,7 +10,9 @@ docs/Agent.md
10
10
  docs/AgentApi.md
11
11
  docs/AgentApiKeyResponse.md
12
12
  docs/AgentAssetsResponse.md
13
- docs/AgentAutonomous.md
13
+ docs/AgentAutonomousInput.md
14
+ docs/AgentAutonomousOutput.md
15
+ docs/AgentAutonomousStatus.md
14
16
  docs/AgentDeployRequest.md
15
17
  docs/AgentDraft.md
16
18
  docs/AgentExample.md
@@ -23,7 +25,7 @@ docs/AgentState.md
23
25
  docs/AgentStatistics.md
24
26
  docs/AgentUpdate.md
25
27
  docs/AgentUserInput.md
26
- docs/AppManagerRouterChatMessagesResponse.md
28
+ docs/AgentVisibility.md
27
29
  docs/Asset.md
28
30
  docs/AuthorType.md
29
31
  docs/Chat.md
@@ -33,6 +35,7 @@ docs/ChatMessageAttachment.md
33
35
  docs/ChatMessageAttachmentType.md
34
36
  docs/ChatMessageRequest.md
35
37
  docs/ChatMessageSkillCall.md
38
+ docs/ChatMessagesResponse.md
36
39
  docs/ChatUpdateRequest.md
37
40
  docs/CreditAccount.md
38
41
  docs/CreditApi.md
@@ -52,6 +55,7 @@ docs/HTTPValidationError.md
52
55
  docs/HealthApi.md
53
56
  docs/LLMModelInfoWithProviderName.md
54
57
  docs/LLMProvider.md
58
+ docs/LocationInner.md
55
59
  docs/ManagerApi.md
56
60
  docs/ManagerMessageRequest.md
57
61
  docs/MetadataApi.md
@@ -69,7 +73,6 @@ docs/User.md
69
73
  docs/UserAgentListResponse.md
70
74
  docs/UserApi.md
71
75
  docs/ValidationError.md
72
- docs/ValidationErrorLocInner.md
73
76
  docs/X402Api.md
74
77
  docs/X402TopupResponse.md
75
78
  git_push.sh
@@ -1 +1 @@
1
- 7.18.0
1
+ 7.19.0
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @crestal/nation-sdk@0.8.94
1
+ ## @crestal/nation-sdk@0.8.97
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @crestal/nation-sdk@0.8.94 --save
39
+ npm install @crestal/nation-sdk@0.8.97 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -122,7 +122,9 @@ Class | Method | HTTP request | Description
122
122
  - [Agent](docs/Agent.md)
123
123
  - [AgentApiKeyResponse](docs/AgentApiKeyResponse.md)
124
124
  - [AgentAssetsResponse](docs/AgentAssetsResponse.md)
125
- - [AgentAutonomous](docs/AgentAutonomous.md)
125
+ - [AgentAutonomousInput](docs/AgentAutonomousInput.md)
126
+ - [AgentAutonomousOutput](docs/AgentAutonomousOutput.md)
127
+ - [AgentAutonomousStatus](docs/AgentAutonomousStatus.md)
126
128
  - [AgentDeployRequest](docs/AgentDeployRequest.md)
127
129
  - [AgentDraft](docs/AgentDraft.md)
128
130
  - [AgentExample](docs/AgentExample.md)
@@ -135,7 +137,7 @@ Class | Method | HTTP request | Description
135
137
  - [AgentStatistics](docs/AgentStatistics.md)
136
138
  - [AgentUpdate](docs/AgentUpdate.md)
137
139
  - [AgentUserInput](docs/AgentUserInput.md)
138
- - [AppManagerRouterChatMessagesResponse](docs/AppManagerRouterChatMessagesResponse.md)
140
+ - [AgentVisibility](docs/AgentVisibility.md)
139
141
  - [Asset](docs/Asset.md)
140
142
  - [AuthorType](docs/AuthorType.md)
141
143
  - [Chat](docs/Chat.md)
@@ -144,6 +146,7 @@ Class | Method | HTTP request | Description
144
146
  - [ChatMessageAttachmentType](docs/ChatMessageAttachmentType.md)
145
147
  - [ChatMessageRequest](docs/ChatMessageRequest.md)
146
148
  - [ChatMessageSkillCall](docs/ChatMessageSkillCall.md)
149
+ - [ChatMessagesResponse](docs/ChatMessagesResponse.md)
147
150
  - [ChatUpdateRequest](docs/ChatUpdateRequest.md)
148
151
  - [CreditAccount](docs/CreditAccount.md)
149
152
  - [CreditDebit](docs/CreditDebit.md)
@@ -160,6 +163,7 @@ Class | Method | HTTP request | Description
160
163
  - [HTTPValidationError](docs/HTTPValidationError.md)
161
164
  - [LLMModelInfoWithProviderName](docs/LLMModelInfoWithProviderName.md)
162
165
  - [LLMProvider](docs/LLMProvider.md)
166
+ - [LocationInner](docs/LocationInner.md)
163
167
  - [ManagerMessageRequest](docs/ManagerMessageRequest.md)
164
168
  - [OwnerType](docs/OwnerType.md)
165
169
  - [Skill](docs/Skill.md)
@@ -173,7 +177,6 @@ Class | Method | HTTP request | Description
173
177
  - [User](docs/User.md)
174
178
  - [UserAgentListResponse](docs/UserAgentListResponse.md)
175
179
  - [ValidationError](docs/ValidationError.md)
176
- - [ValidationErrorLocInner](docs/ValidationErrorLocInner.md)
177
180
  - [X402TopupResponse](docs/X402TopupResponse.md)
178
181
 
179
182
 
package/api.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Nation IntentKit API
5
5
  * API for Nation IntentKit services
6
6
  *
7
- * The version of the OpenAPI document: 0.8.94
7
+ * The version of the OpenAPI document: 0.8.97
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -18,7 +18,7 @@ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
18
18
  import globalAxios from 'axios';
19
19
  // Some imports not used depending on template conditions
20
20
  // @ts-ignore
21
- import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
21
+ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction, replaceWithSerializableTypeIfNeeded } from './common';
22
22
  import type { RequestArgs } from './base';
23
23
  // @ts-ignore
24
24
  import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError, operationServerMap } from './base';
@@ -51,12 +51,13 @@ export interface Agent {
51
51
  'temperature'?: number | null;
52
52
  'frequency_penalty'?: number | null;
53
53
  'presence_penalty'?: number | null;
54
+ 'short_term_memory_strategy'?: AgentShortTermMemoryStrategyEnum | null;
54
55
  'wallet_provider'?: AgentWalletProviderEnum | null;
55
- 'readonly_wallet_address'?: string | null;
56
56
  'network_id'?: AgentNetworkIdEnum | null;
57
57
  'skills'?: { [key: string]: any; } | null;
58
- 'short_term_memory_strategy'?: AgentShortTermMemoryStrategyEnum | null;
59
- 'autonomous'?: Array<AgentAutonomous> | null;
58
+ 'readonly_wallet_address'?: string | null;
59
+ 'weekly_spending_limit'?: number | null;
60
+ 'autonomous'?: Array<AgentAutonomousOutput> | null;
60
61
  'telegram_entrypoint_enabled'?: boolean | null;
61
62
  'telegram_entrypoint_prompt'?: string | null;
62
63
  'telegram_config'?: { [key: string]: any; } | null;
@@ -65,12 +66,16 @@ export interface Agent {
65
66
  'xmtp_entrypoint_prompt'?: string | null;
66
67
  'upstream_id'?: string | null;
67
68
  'upstream_extra'?: { [key: string]: any; } | null;
69
+ 'extra_prompt'?: string | null;
70
+ 'visibility'?: AgentVisibility | null;
71
+ 'archived_at'?: string | null;
68
72
  /**
69
73
  * Unique identifier for the agent. Must be URL-safe, containing only lowercase letters, numbers, and hyphens
70
74
  */
71
75
  'id'?: string;
72
76
  'owner'?: string | null;
73
77
  'team_id'?: string | null;
78
+ 'template_id'?: string | null;
74
79
  'slug'?: string | null;
75
80
  'version'?: string | null;
76
81
  'statistics'?: { [key: string]: any; } | null;
@@ -89,9 +94,17 @@ export interface Agent {
89
94
  'updated_at'?: string;
90
95
  }
91
96
 
97
+ export const AgentShortTermMemoryStrategyEnum = {
98
+ Trim: 'trim',
99
+ Summarize: 'summarize'
100
+ } as const;
101
+
102
+ export type AgentShortTermMemoryStrategyEnum = typeof AgentShortTermMemoryStrategyEnum[keyof typeof AgentShortTermMemoryStrategyEnum];
92
103
  export const AgentWalletProviderEnum = {
93
104
  Cdp: 'cdp',
94
105
  Readonly: 'readonly',
106
+ Safe: 'safe',
107
+ Privy: 'privy',
95
108
  None: 'none'
96
109
  } as const;
97
110
 
@@ -102,16 +115,12 @@ export const AgentNetworkIdEnum = {
102
115
  PolygonMainnet: 'polygon-mainnet',
103
116
  ArbitrumMainnet: 'arbitrum-mainnet',
104
117
  OptimismMainnet: 'optimism-mainnet',
105
- Solana: 'solana'
118
+ BnbMainnet: 'bnb-mainnet',
119
+ Solana: 'solana',
120
+ BaseSepolia: 'base-sepolia'
106
121
  } as const;
107
122
 
108
123
  export type AgentNetworkIdEnum = typeof AgentNetworkIdEnum[keyof typeof AgentNetworkIdEnum];
109
- export const AgentShortTermMemoryStrategyEnum = {
110
- Trim: 'trim',
111
- Summarize: 'summarize'
112
- } as const;
113
-
114
- export type AgentShortTermMemoryStrategyEnum = typeof AgentShortTermMemoryStrategyEnum[keyof typeof AgentShortTermMemoryStrategyEnum];
115
124
 
116
125
  /**
117
126
  * Response model for agent API key generation.
@@ -167,7 +176,30 @@ export interface AgentAssetsResponse {
167
176
  /**
168
177
  * Autonomous agent configuration.
169
178
  */
170
- export interface AgentAutonomous {
179
+ export interface AgentAutonomousInput {
180
+ /**
181
+ * Unique identifier for the autonomous configuration
182
+ */
183
+ 'id'?: string;
184
+ 'name'?: string | null;
185
+ 'description'?: string | null;
186
+ 'minutes'?: number | null;
187
+ 'cron'?: string | null;
188
+ /**
189
+ * Special prompt used during autonomous operation
190
+ */
191
+ 'prompt': string;
192
+ 'enabled'?: boolean | null;
193
+ 'has_memory'?: boolean | null;
194
+ 'status'?: AgentAutonomousStatus | null;
195
+ 'next_run_time'?: string | null;
196
+ }
197
+
198
+
199
+ /**
200
+ * Autonomous agent configuration.
201
+ */
202
+ export interface AgentAutonomousOutput {
171
203
  /**
172
204
  * Unique identifier for the autonomous configuration
173
205
  */
@@ -181,7 +213,25 @@ export interface AgentAutonomous {
181
213
  */
182
214
  'prompt': string;
183
215
  'enabled'?: boolean | null;
216
+ 'has_memory'?: boolean | null;
217
+ 'status'?: AgentAutonomousStatus | null;
218
+ 'next_run_time'?: string | null;
184
219
  }
220
+
221
+
222
+ /**
223
+ * Autonomous task execution status.
224
+ */
225
+
226
+ export const AgentAutonomousStatus = {
227
+ Waiting: 'waiting',
228
+ Running: 'running',
229
+ Error: 'error'
230
+ } as const;
231
+
232
+ export type AgentAutonomousStatus = typeof AgentAutonomousStatus[keyof typeof AgentAutonomousStatus];
233
+
234
+
185
235
  /**
186
236
  * Request model for agent deployment.
187
237
  */
@@ -214,12 +264,13 @@ export interface AgentDraft {
214
264
  'temperature'?: number | null;
215
265
  'frequency_penalty'?: number | null;
216
266
  'presence_penalty'?: number | null;
267
+ 'short_term_memory_strategy'?: AgentDraftShortTermMemoryStrategyEnum | null;
217
268
  'wallet_provider'?: AgentDraftWalletProviderEnum | null;
218
- 'readonly_wallet_address'?: string | null;
219
269
  'network_id'?: AgentDraftNetworkIdEnum | null;
220
270
  'skills'?: { [key: string]: any; } | null;
221
- 'short_term_memory_strategy'?: AgentDraftShortTermMemoryStrategyEnum | null;
222
- 'autonomous'?: Array<AgentAutonomous> | null;
271
+ 'readonly_wallet_address'?: string | null;
272
+ 'weekly_spending_limit'?: number | null;
273
+ 'autonomous'?: Array<AgentAutonomousOutput> | null;
223
274
  'telegram_entrypoint_enabled'?: boolean | null;
224
275
  'telegram_entrypoint_prompt'?: string | null;
225
276
  'telegram_config'?: { [key: string]: any; } | null;
@@ -250,9 +301,17 @@ export interface AgentDraft {
250
301
  'updated_at'?: string;
251
302
  }
252
303
 
304
+ export const AgentDraftShortTermMemoryStrategyEnum = {
305
+ Trim: 'trim',
306
+ Summarize: 'summarize'
307
+ } as const;
308
+
309
+ export type AgentDraftShortTermMemoryStrategyEnum = typeof AgentDraftShortTermMemoryStrategyEnum[keyof typeof AgentDraftShortTermMemoryStrategyEnum];
253
310
  export const AgentDraftWalletProviderEnum = {
254
311
  Cdp: 'cdp',
255
312
  Readonly: 'readonly',
313
+ Safe: 'safe',
314
+ Privy: 'privy',
256
315
  None: 'none'
257
316
  } as const;
258
317
 
@@ -263,16 +322,12 @@ export const AgentDraftNetworkIdEnum = {
263
322
  PolygonMainnet: 'polygon-mainnet',
264
323
  ArbitrumMainnet: 'arbitrum-mainnet',
265
324
  OptimismMainnet: 'optimism-mainnet',
266
- Solana: 'solana'
325
+ BnbMainnet: 'bnb-mainnet',
326
+ Solana: 'solana',
327
+ BaseSepolia: 'base-sepolia'
267
328
  } as const;
268
329
 
269
330
  export type AgentDraftNetworkIdEnum = typeof AgentDraftNetworkIdEnum[keyof typeof AgentDraftNetworkIdEnum];
270
- export const AgentDraftShortTermMemoryStrategyEnum = {
271
- Trim: 'trim',
272
- Summarize: 'summarize'
273
- } as const;
274
-
275
- export type AgentDraftShortTermMemoryStrategyEnum = typeof AgentDraftShortTermMemoryStrategyEnum[keyof typeof AgentDraftShortTermMemoryStrategyEnum];
276
331
 
277
332
  /**
278
333
  * Agent example configuration.
@@ -368,22 +423,27 @@ export interface AgentResponse {
368
423
  */
369
424
  'model'?: string;
370
425
  'presence_penalty'?: number | null;
426
+ 'short_term_memory_strategy'?: AgentResponseShortTermMemoryStrategyEnum | null;
371
427
  'wallet_provider'?: AgentResponseWalletProviderEnum | null;
372
- 'readonly_wallet_address'?: string | null;
373
428
  'network_id'?: AgentResponseNetworkIdEnum | null;
374
429
  'skills'?: { [key: string]: any; } | null;
375
- 'short_term_memory_strategy'?: AgentResponseShortTermMemoryStrategyEnum | null;
376
- 'autonomous'?: Array<AgentAutonomous> | null;
430
+ 'readonly_wallet_address'?: string | null;
431
+ 'weekly_spending_limit'?: number | null;
432
+ 'autonomous'?: Array<AgentAutonomousOutput> | null;
377
433
  'telegram_entrypoint_enabled'?: boolean | null;
378
434
  'discord_entrypoint_enabled'?: boolean | null;
379
435
  'upstream_id'?: string | null;
380
436
  'upstream_extra'?: { [key: string]: any; } | null;
437
+ 'extra_prompt'?: string | null;
438
+ 'visibility'?: AgentVisibility | null;
439
+ 'archived_at'?: string | null;
381
440
  /**
382
441
  * Unique identifier for the agent. Must be URL-safe, containing only lowercase letters, numbers, and hyphens
383
442
  */
384
443
  'id'?: string;
385
444
  'owner'?: string | null;
386
445
  'team_id'?: string | null;
446
+ 'template_id'?: string | null;
387
447
  'slug'?: string | null;
388
448
  'version'?: string | null;
389
449
  'statistics'?: { [key: string]: any; } | null;
@@ -429,9 +489,17 @@ export interface AgentResponse {
429
489
  'accept_image_input_private'?: boolean;
430
490
  }
431
491
 
492
+ export const AgentResponseShortTermMemoryStrategyEnum = {
493
+ Trim: 'trim',
494
+ Summarize: 'summarize'
495
+ } as const;
496
+
497
+ export type AgentResponseShortTermMemoryStrategyEnum = typeof AgentResponseShortTermMemoryStrategyEnum[keyof typeof AgentResponseShortTermMemoryStrategyEnum];
432
498
  export const AgentResponseWalletProviderEnum = {
433
499
  Cdp: 'cdp',
434
500
  Readonly: 'readonly',
501
+ Safe: 'safe',
502
+ Privy: 'privy',
435
503
  None: 'none'
436
504
  } as const;
437
505
 
@@ -442,16 +510,12 @@ export const AgentResponseNetworkIdEnum = {
442
510
  PolygonMainnet: 'polygon-mainnet',
443
511
  ArbitrumMainnet: 'arbitrum-mainnet',
444
512
  OptimismMainnet: 'optimism-mainnet',
445
- Solana: 'solana'
513
+ BnbMainnet: 'bnb-mainnet',
514
+ Solana: 'solana',
515
+ BaseSepolia: 'base-sepolia'
446
516
  } as const;
447
517
 
448
518
  export type AgentResponseNetworkIdEnum = typeof AgentResponseNetworkIdEnum[keyof typeof AgentResponseNetworkIdEnum];
449
- export const AgentResponseShortTermMemoryStrategyEnum = {
450
- Trim: 'trim',
451
- Summarize: 'summarize'
452
- } as const;
453
-
454
- export type AgentResponseShortTermMemoryStrategyEnum = typeof AgentResponseShortTermMemoryStrategyEnum[keyof typeof AgentResponseShortTermMemoryStrategyEnum];
455
519
 
456
520
  /**
457
521
  * Sort options for agents list.
@@ -566,12 +630,13 @@ export interface AgentUpdate {
566
630
  'temperature'?: number | null;
567
631
  'frequency_penalty'?: number | null;
568
632
  'presence_penalty'?: number | null;
633
+ 'short_term_memory_strategy'?: AgentUpdateShortTermMemoryStrategyEnum | null;
569
634
  'wallet_provider'?: AgentUpdateWalletProviderEnum | null;
570
- 'readonly_wallet_address'?: string | null;
571
635
  'network_id'?: AgentUpdateNetworkIdEnum | null;
572
636
  'skills'?: { [key: string]: any; } | null;
573
- 'short_term_memory_strategy'?: AgentUpdateShortTermMemoryStrategyEnum | null;
574
- 'autonomous'?: Array<AgentAutonomous> | null;
637
+ 'readonly_wallet_address'?: string | null;
638
+ 'weekly_spending_limit'?: number | null;
639
+ 'autonomous'?: Array<AgentAutonomousInput> | null;
575
640
  'telegram_entrypoint_enabled'?: boolean | null;
576
641
  'telegram_entrypoint_prompt'?: string | null;
577
642
  'telegram_config'?: { [key: string]: any; } | null;
@@ -580,11 +645,22 @@ export interface AgentUpdate {
580
645
  'xmtp_entrypoint_prompt'?: string | null;
581
646
  'upstream_id'?: string | null;
582
647
  'upstream_extra'?: { [key: string]: any; } | null;
648
+ 'extra_prompt'?: string | null;
649
+ 'visibility'?: AgentVisibility | null;
650
+ 'archived_at'?: string | null;
583
651
  }
584
652
 
653
+ export const AgentUpdateShortTermMemoryStrategyEnum = {
654
+ Trim: 'trim',
655
+ Summarize: 'summarize'
656
+ } as const;
657
+
658
+ export type AgentUpdateShortTermMemoryStrategyEnum = typeof AgentUpdateShortTermMemoryStrategyEnum[keyof typeof AgentUpdateShortTermMemoryStrategyEnum];
585
659
  export const AgentUpdateWalletProviderEnum = {
586
660
  Cdp: 'cdp',
587
661
  Readonly: 'readonly',
662
+ Safe: 'safe',
663
+ Privy: 'privy',
588
664
  None: 'none'
589
665
  } as const;
590
666
 
@@ -595,16 +671,12 @@ export const AgentUpdateNetworkIdEnum = {
595
671
  PolygonMainnet: 'polygon-mainnet',
596
672
  ArbitrumMainnet: 'arbitrum-mainnet',
597
673
  OptimismMainnet: 'optimism-mainnet',
598
- Solana: 'solana'
674
+ BnbMainnet: 'bnb-mainnet',
675
+ Solana: 'solana',
676
+ BaseSepolia: 'base-sepolia'
599
677
  } as const;
600
678
 
601
679
  export type AgentUpdateNetworkIdEnum = typeof AgentUpdateNetworkIdEnum[keyof typeof AgentUpdateNetworkIdEnum];
602
- export const AgentUpdateShortTermMemoryStrategyEnum = {
603
- Trim: 'trim',
604
- Summarize: 'summarize'
605
- } as const;
606
-
607
- export type AgentUpdateShortTermMemoryStrategyEnum = typeof AgentUpdateShortTermMemoryStrategyEnum[keyof typeof AgentUpdateShortTermMemoryStrategyEnum];
608
680
 
609
681
  /**
610
682
  * Agent update model.
@@ -624,12 +696,13 @@ export interface AgentUserInput {
624
696
  'temperature'?: number | null;
625
697
  'frequency_penalty'?: number | null;
626
698
  'presence_penalty'?: number | null;
699
+ 'short_term_memory_strategy'?: AgentUserInputShortTermMemoryStrategyEnum | null;
627
700
  'wallet_provider'?: AgentUserInputWalletProviderEnum | null;
628
- 'readonly_wallet_address'?: string | null;
629
701
  'network_id'?: AgentUserInputNetworkIdEnum | null;
630
702
  'skills'?: { [key: string]: any; } | null;
631
- 'short_term_memory_strategy'?: AgentUserInputShortTermMemoryStrategyEnum | null;
632
- 'autonomous'?: Array<AgentAutonomous> | null;
703
+ 'readonly_wallet_address'?: string | null;
704
+ 'weekly_spending_limit'?: number | null;
705
+ 'autonomous'?: Array<AgentAutonomousInput> | null;
633
706
  'telegram_entrypoint_enabled'?: boolean | null;
634
707
  'telegram_entrypoint_prompt'?: string | null;
635
708
  'telegram_config'?: { [key: string]: any; } | null;
@@ -638,9 +711,17 @@ export interface AgentUserInput {
638
711
  'xmtp_entrypoint_prompt'?: string | null;
639
712
  }
640
713
 
714
+ export const AgentUserInputShortTermMemoryStrategyEnum = {
715
+ Trim: 'trim',
716
+ Summarize: 'summarize'
717
+ } as const;
718
+
719
+ export type AgentUserInputShortTermMemoryStrategyEnum = typeof AgentUserInputShortTermMemoryStrategyEnum[keyof typeof AgentUserInputShortTermMemoryStrategyEnum];
641
720
  export const AgentUserInputWalletProviderEnum = {
642
721
  Cdp: 'cdp',
643
722
  Readonly: 'readonly',
723
+ Safe: 'safe',
724
+ Privy: 'privy',
644
725
  None: 'none'
645
726
  } as const;
646
727
 
@@ -651,25 +732,26 @@ export const AgentUserInputNetworkIdEnum = {
651
732
  PolygonMainnet: 'polygon-mainnet',
652
733
  ArbitrumMainnet: 'arbitrum-mainnet',
653
734
  OptimismMainnet: 'optimism-mainnet',
654
- Solana: 'solana'
735
+ BnbMainnet: 'bnb-mainnet',
736
+ Solana: 'solana',
737
+ BaseSepolia: 'base-sepolia'
655
738
  } as const;
656
739
 
657
740
  export type AgentUserInputNetworkIdEnum = typeof AgentUserInputNetworkIdEnum[keyof typeof AgentUserInputNetworkIdEnum];
658
- export const AgentUserInputShortTermMemoryStrategyEnum = {
659
- Trim: 'trim',
660
- Summarize: 'summarize'
661
- } as const;
662
-
663
- export type AgentUserInputShortTermMemoryStrategyEnum = typeof AgentUserInputShortTermMemoryStrategyEnum[keyof typeof AgentUserInputShortTermMemoryStrategyEnum];
664
741
 
665
742
  /**
666
- * Response model for chat messages with pagination.
743
+ * Agent visibility levels with hierarchical ordering. Higher values indicate broader visibility: - PRIVATE (0): Only visible to owner - TEAM (10): Visible to team members - PUBLIC (20): Visible to everyone
667
744
  */
668
- export interface AppManagerRouterChatMessagesResponse {
669
- 'data': Array<ChatMessage>;
670
- 'has_more'?: boolean;
671
- 'next_cursor'?: string | null;
672
- }
745
+
746
+ export const AgentVisibility = {
747
+ NUMBER_0: 0,
748
+ NUMBER_10: 10,
749
+ NUMBER_20: 20
750
+ } as const;
751
+
752
+ export type AgentVisibility = typeof AgentVisibility[keyof typeof AgentVisibility];
753
+
754
+
673
755
  /**
674
756
  * Model for individual asset with symbol and balance.
675
757
  */
@@ -689,16 +771,17 @@ export interface Asset {
689
771
 
690
772
  export const AuthorType = {
691
773
  Agent: 'agent',
692
- Trigger: 'trigger',
693
774
  Skill: 'skill',
775
+ System: 'system',
776
+ Trigger: 'trigger',
694
777
  Telegram: 'telegram',
695
778
  Twitter: 'twitter',
696
779
  Discord: 'discord',
697
780
  Web: 'web',
698
- System: 'system',
699
781
  Api: 'api',
700
782
  Xmtp: 'xmtp',
701
- X402: 'x402'
783
+ X402: 'x402',
784
+ Internal: 'internal'
702
785
  } as const;
703
786
 
704
787
  export type AuthorType = typeof AuthorType[keyof typeof AuthorType];
@@ -854,6 +937,14 @@ export interface ChatMessageSkillCall {
854
937
  'credit_event_id'?: string;
855
938
  'credit_cost'?: string;
856
939
  }
940
+ /**
941
+ * Response model for chat messages with pagination.
942
+ */
943
+ export interface ChatMessagesResponse {
944
+ 'data': Array<ChatMessage>;
945
+ 'has_more'?: boolean;
946
+ 'next_cursor'?: string | null;
947
+ }
857
948
  /**
858
949
  * Request model for updating a chat thread.
859
950
  */
@@ -1326,6 +1417,8 @@ export const LLMProvider = {
1326
1417
  export type LLMProvider = typeof LLMProvider[keyof typeof LLMProvider];
1327
1418
 
1328
1419
 
1420
+ export interface LocationInner {
1421
+ }
1329
1422
  /**
1330
1423
  * Request payload for manager agent messages.
1331
1424
  */
@@ -1536,6 +1629,7 @@ export interface User {
1536
1629
  'extra'?: { [key: string]: any; } | null;
1537
1630
  'evm_wallet_address'?: string | null;
1538
1631
  'solana_wallet_address'?: string | null;
1632
+ 'server_wallet_address'?: string | null;
1539
1633
  'linked_accounts'?: { [key: string]: any; } | null;
1540
1634
  /**
1541
1635
  * Unique identifier for the user
@@ -1569,12 +1663,10 @@ export interface UserAgentListResponse {
1569
1663
  'next_cursor'?: string | null;
1570
1664
  }
1571
1665
  export interface ValidationError {
1572
- 'loc': Array<ValidationErrorLocInner>;
1666
+ 'loc': Array<LocationInner>;
1573
1667
  'msg': string;
1574
1668
  'type': string;
1575
1669
  }
1576
- export interface ValidationErrorLocInner {
1577
- }
1578
1670
  /**
1579
1671
  * Response payload for x402 top-up requests.
1580
1672
  */
@@ -2426,7 +2518,7 @@ export const AgentApiFp = function(configuration?: Configuration) {
2426
2518
  * @param {*} [options] Override http request option.
2427
2519
  * @throws {RequiredError}
2428
2520
  */
2429
- async getSkillHistory(aid: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AppManagerRouterChatMessagesResponse>> {
2521
+ async getSkillHistory(aid: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatMessagesResponse>> {
2430
2522
  const localVarAxiosArgs = await localVarAxiosParamCreator.getSkillHistory(aid, cursor, limit, options);
2431
2523
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2432
2524
  const localVarOperationServerBasePath = operationServerMap['AgentApi.getSkillHistory']?.[localVarOperationServerIndex]?.url;
@@ -2643,7 +2735,7 @@ export const AgentApiFactory = function (configuration?: Configuration, basePath
2643
2735
  * @param {*} [options] Override http request option.
2644
2736
  * @throws {RequiredError}
2645
2737
  */
2646
- getSkillHistory(aid: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<AppManagerRouterChatMessagesResponse> {
2738
+ getSkillHistory(aid: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<ChatMessagesResponse> {
2647
2739
  return localVarFp.getSkillHistory(aid, cursor, limit, options).then((request) => request(axios, basePath));
2648
2740
  },
2649
2741
  /**
@@ -3596,7 +3688,7 @@ export const ChatApiFp = function(configuration?: Configuration) {
3596
3688
  * @param {*} [options] Override http request option.
3597
3689
  * @throws {RequiredError}
3598
3690
  */
3599
- async getSkillHistory(aid: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AppManagerRouterChatMessagesResponse>> {
3691
+ async getSkillHistory(aid: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatMessagesResponse>> {
3600
3692
  const localVarAxiosArgs = await localVarAxiosParamCreator.getSkillHistory(aid, cursor, limit, options);
3601
3693
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3602
3694
  const localVarOperationServerBasePath = operationServerMap['ChatApi.getSkillHistory']?.[localVarOperationServerIndex]?.url;
@@ -3625,7 +3717,7 @@ export const ChatApiFp = function(configuration?: Configuration) {
3625
3717
  * @param {*} [options] Override http request option.
3626
3718
  * @throws {RequiredError}
3627
3719
  */
3628
- async listMessagesInChat(aid: string, chatId: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AppManagerRouterChatMessagesResponse>> {
3720
+ async listMessagesInChat(aid: string, chatId: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatMessagesResponse>> {
3629
3721
  const localVarAxiosArgs = await localVarAxiosParamCreator.listMessagesInChat(aid, chatId, cursor, limit, options);
3630
3722
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3631
3723
  const localVarOperationServerBasePath = operationServerMap['ChatApi.listMessagesInChat']?.[localVarOperationServerIndex]?.url;
@@ -3640,7 +3732,7 @@ export const ChatApiFp = function(configuration?: Configuration) {
3640
3732
  * @param {*} [options] Override http request option.
3641
3733
  * @throws {RequiredError}
3642
3734
  */
3643
- async listMessagesInDraft(aid: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AppManagerRouterChatMessagesResponse>> {
3735
+ async listMessagesInDraft(aid: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatMessagesResponse>> {
3644
3736
  const localVarAxiosArgs = await localVarAxiosParamCreator.listMessagesInDraft(aid, cursor, limit, options);
3645
3737
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3646
3738
  const localVarOperationServerBasePath = operationServerMap['ChatApi.listMessagesInDraft']?.[localVarOperationServerIndex]?.url;
@@ -3775,7 +3867,7 @@ export const ChatApiFactory = function (configuration?: Configuration, basePath?
3775
3867
  * @param {*} [options] Override http request option.
3776
3868
  * @throws {RequiredError}
3777
3869
  */
3778
- getSkillHistory(aid: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<AppManagerRouterChatMessagesResponse> {
3870
+ getSkillHistory(aid: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<ChatMessagesResponse> {
3779
3871
  return localVarFp.getSkillHistory(aid, cursor, limit, options).then((request) => request(axios, basePath));
3780
3872
  },
3781
3873
  /**
@@ -3798,7 +3890,7 @@ export const ChatApiFactory = function (configuration?: Configuration, basePath?
3798
3890
  * @param {*} [options] Override http request option.
3799
3891
  * @throws {RequiredError}
3800
3892
  */
3801
- listMessagesInChat(aid: string, chatId: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<AppManagerRouterChatMessagesResponse> {
3893
+ listMessagesInChat(aid: string, chatId: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<ChatMessagesResponse> {
3802
3894
  return localVarFp.listMessagesInChat(aid, chatId, cursor, limit, options).then((request) => request(axios, basePath));
3803
3895
  },
3804
3896
  /**
@@ -3810,7 +3902,7 @@ export const ChatApiFactory = function (configuration?: Configuration, basePath?
3810
3902
  * @param {*} [options] Override http request option.
3811
3903
  * @throws {RequiredError}
3812
3904
  */
3813
- listMessagesInDraft(aid: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<AppManagerRouterChatMessagesResponse> {
3905
+ listMessagesInDraft(aid: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<ChatMessagesResponse> {
3814
3906
  return localVarFp.listMessagesInDraft(aid, cursor, limit, options).then((request) => request(axios, basePath));
3815
3907
  },
3816
3908
  /**
@@ -5396,7 +5488,7 @@ export const ManagerApiFp = function(configuration?: Configuration) {
5396
5488
  * @param {*} [options] Override http request option.
5397
5489
  * @throws {RequiredError}
5398
5490
  */
5399
- async getManagerMessages(aid: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AppManagerRouterChatMessagesResponse>> {
5491
+ async getManagerMessages(aid: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatMessagesResponse>> {
5400
5492
  const localVarAxiosArgs = await localVarAxiosParamCreator.getManagerMessages(aid, cursor, limit, options);
5401
5493
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
5402
5494
  const localVarOperationServerBasePath = operationServerMap['ManagerApi.getManagerMessages']?.[localVarOperationServerIndex]?.url;
@@ -5434,7 +5526,7 @@ export const ManagerApiFactory = function (configuration?: Configuration, basePa
5434
5526
  * @param {*} [options] Override http request option.
5435
5527
  * @throws {RequiredError}
5436
5528
  */
5437
- getManagerMessages(aid: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<AppManagerRouterChatMessagesResponse> {
5529
+ getManagerMessages(aid: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<ChatMessagesResponse> {
5438
5530
  return localVarFp.getManagerMessages(aid, cursor, limit, options).then((request) => request(axios, basePath));
5439
5531
  },
5440
5532
  /**
package/base.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Nation IntentKit API
5
5
  * API for Nation IntentKit services
6
6
  *
7
- * The version of the OpenAPI document: 0.8.94
7
+ * The version of the OpenAPI document: 0.8.97
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).