@crestal/nation-sdk 0.8.94 → 0.8.98

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.
@@ -0,0 +1,13 @@
1
+ # AgentVisibility
2
+
3
+ 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
4
+
5
+ ## Enum
6
+
7
+ * `NUMBER_0` (value: `0`)
8
+
9
+ * `NUMBER_10` (value: `10`)
10
+
11
+ * `NUMBER_20` (value: `20`)
12
+
13
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -6,10 +6,12 @@ Type of message author.
6
6
 
7
7
  * `Agent` (value: `'agent'`)
8
8
 
9
- * `Trigger` (value: `'trigger'`)
10
-
11
9
  * `Skill` (value: `'skill'`)
12
10
 
11
+ * `System` (value: `'system'`)
12
+
13
+ * `Trigger` (value: `'trigger'`)
14
+
13
15
  * `Telegram` (value: `'telegram'`)
14
16
 
15
17
  * `Twitter` (value: `'twitter'`)
@@ -18,12 +20,12 @@ Type of message author.
18
20
 
19
21
  * `Web` (value: `'web'`)
20
22
 
21
- * `System` (value: `'system'`)
22
-
23
23
  * `Api` (value: `'api'`)
24
24
 
25
25
  * `Xmtp` (value: `'xmtp'`)
26
26
 
27
27
  * `X402` (value: `'x402'`)
28
28
 
29
+ * `Internal` (value: `'internal'`)
30
+
29
31
  [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
package/docs/ChatApi.md CHANGED
@@ -288,7 +288,7 @@ const { status, data } = await apiInstance.getMessageById(
288
288
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
289
289
 
290
290
  # **getSkillHistory**
291
- > AppManagerRouterChatMessagesResponse getSkillHistory()
291
+ > ChatMessagesResponse getSkillHistory()
292
292
 
293
293
  Get skill messages for a specific agent with cursor-based pagination. **Path Parameters:** * `aid` - Agent ID **Query Parameters:** * `cursor` - Optional cursor for pagination based on message ID * `limit` - Maximum number of messages to return (1-100, default: 20) **Returns:** * `ChatMessagesResponse` - Paginated list of skill messages with metadata **Raises:** * `404` - Agent not found
294
294
 
@@ -325,7 +325,7 @@ const { status, data } = await apiInstance.getSkillHistory(
325
325
 
326
326
  ### Return type
327
327
 
328
- **AppManagerRouterChatMessagesResponse**
328
+ **ChatMessagesResponse**
329
329
 
330
330
  ### Authorization
331
331
 
@@ -398,7 +398,7 @@ const { status, data } = await apiInstance.listChatsForAgent(
398
398
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
399
399
 
400
400
  # **listMessagesInChat**
401
- > AppManagerRouterChatMessagesResponse listMessagesInChat()
401
+ > ChatMessagesResponse listMessagesInChat()
402
402
 
403
403
  Retrieve the message history for a specific chat thread with cursor-based pagination.
404
404
 
@@ -438,7 +438,7 @@ const { status, data } = await apiInstance.listMessagesInChat(
438
438
 
439
439
  ### Return type
440
440
 
441
- **AppManagerRouterChatMessagesResponse**
441
+ **ChatMessagesResponse**
442
442
 
443
443
  ### Authorization
444
444
 
@@ -459,7 +459,7 @@ const { status, data } = await apiInstance.listMessagesInChat(
459
459
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
460
460
 
461
461
  # **listMessagesInDraft**
462
- > AppManagerRouterChatMessagesResponse listMessagesInDraft()
462
+ > ChatMessagesResponse listMessagesInDraft()
463
463
 
464
464
  Retrieve the message history for the draft chat session of an agent with cursor-based pagination.
465
465
 
@@ -496,7 +496,7 @@ const { status, data } = await apiInstance.listMessagesInDraft(
496
496
 
497
497
  ### Return type
498
498
 
499
- **AppManagerRouterChatMessagesResponse**
499
+ **ChatMessagesResponse**
500
500
 
501
501
  ### Authorization
502
502
 
@@ -1,4 +1,4 @@
1
- # AppManagerRouterChatMessagesResponse
1
+ # ChatMessagesResponse
2
2
 
3
3
  Response model for chat messages with pagination.
4
4
 
@@ -13,9 +13,9 @@ Name | Type | Description | Notes
13
13
  ## Example
14
14
 
15
15
  ```typescript
16
- import { AppManagerRouterChatMessagesResponse } from '@crestal/nation-sdk';
16
+ import { ChatMessagesResponse } from '@crestal/nation-sdk';
17
17
 
18
- const instance: AppManagerRouterChatMessagesResponse = {
18
+ const instance: ChatMessagesResponse = {
19
19
  data,
20
20
  has_more,
21
21
  next_cursor,
@@ -27,8 +27,8 @@ Name | Type | Description | Notes
27
27
  **supports_presence_penalty** | **boolean** | | [optional] [default to true]
28
28
  **api_base** | **string** | | [optional] [default to undefined]
29
29
  **timeout** | **number** | | [optional] [default to 180]
30
- **created_at** | **string** | Timestamp when this data was created | [optional] [default to 2025-12-27T12:39:43.342+00:00]
31
- **updated_at** | **string** | Timestamp when this data was updated | [optional] [default to 2025-12-27T12:39:43.342+00:00]
30
+ **created_at** | **string** | Timestamp when this data was created | [optional] [default to 2026-01-29T08:51:10.997+00:00]
31
+ **updated_at** | **string** | Timestamp when this data was updated | [optional] [default to 2026-01-29T08:51:10.997+00:00]
32
32
  **provider_name** | **string** | | [default to undefined]
33
33
 
34
34
  ## Example
@@ -1,4 +1,4 @@
1
- # ValidationErrorLocInner
1
+ # LocationInner
2
2
 
3
3
 
4
4
  ## Properties
@@ -9,9 +9,9 @@ Name | Type | Description | Notes
9
9
  ## Example
10
10
 
11
11
  ```typescript
12
- import { ValidationErrorLocInner } from '@crestal/nation-sdk';
12
+ import { LocationInner } from '@crestal/nation-sdk';
13
13
 
14
- const instance: ValidationErrorLocInner = {
14
+ const instance: LocationInner = {
15
15
  };
16
16
  ```
17
17
 
@@ -8,7 +8,7 @@ All URIs are relative to *http://localhost*
8
8
  |[**sendManagerMessage**](#sendmanagermessage) | **POST** /agents/{aid}/manager/messages | Chat with Agent Manager|
9
9
 
10
10
  # **getManagerMessages**
11
- > AppManagerRouterChatMessagesResponse getManagerMessages()
11
+ > ChatMessagesResponse getManagerMessages()
12
12
 
13
13
  Get the message history for an agent\'s manager chat session.
14
14
 
@@ -45,7 +45,7 @@ const { status, data } = await apiInstance.getManagerMessages(
45
45
 
46
46
  ### Return type
47
47
 
48
- **AppManagerRouterChatMessagesResponse**
48
+ **ChatMessagesResponse**
49
49
 
50
50
  ### Authorization
51
51
 
package/docs/User.md CHANGED
@@ -14,6 +14,7 @@ Name | Type | Description | Notes
14
14
  **extra** | **{ [key: string]: any; }** | | [optional] [default to undefined]
15
15
  **evm_wallet_address** | **string** | | [optional] [default to undefined]
16
16
  **solana_wallet_address** | **string** | | [optional] [default to undefined]
17
+ **server_wallet_address** | **string** | | [optional] [default to undefined]
17
18
  **linked_accounts** | **{ [key: string]: any; }** | | [optional] [default to undefined]
18
19
  **id** | **string** | Unique identifier for the user | [default to undefined]
19
20
  **created_at** | **string** | Timestamp when this user was created | [default to undefined]
@@ -34,6 +35,7 @@ const instance: User = {
34
35
  extra,
35
36
  evm_wallet_address,
36
37
  solana_wallet_address,
38
+ server_wallet_address,
37
39
  linked_accounts,
38
40
  id,
39
41
  created_at,
@@ -5,7 +5,7 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **loc** | [**Array<ValidationErrorLocInner>**](ValidationErrorLocInner.md) | | [default to undefined]
8
+ **loc** | [**Array<LocationInner>**](LocationInner.md) | | [default to undefined]
9
9
  **msg** | **string** | | [default to undefined]
10
10
  **type** | **string** | | [default to undefined]
11
11
 
package/index.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.98
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crestal/nation-sdk",
3
- "version": "0.8.94",
3
+ "version": "0.8.98",
4
4
  "description": "OpenAPI client for @crestal/nation-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {