@crestal/nation-sdk 0.2.14 → 0.2.18
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/README.md +2 -2
- package/api.ts +11 -4
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +10 -3
- package/dist/api.js +3 -2
- 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/Agent.md +1 -1
- package/docs/AgentUpdate.md +1 -1
- package/docs/ChatMessageAttachment.md +3 -1
- package/docs/ChatMessageAttachmentType.md +2 -0
- package/docs/LLMModelInfoWithProviderName.md +2 -2
- package/index.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @crestal/nation-sdk@0.2.
|
|
1
|
+
## @crestal/nation-sdk@0.2.18
|
|
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.2.
|
|
39
|
+
npm install @crestal/nation-sdk@0.2.18 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
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.2.
|
|
7
|
+
* The version of the OpenAPI document: 0.2.18
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1364,11 +1364,17 @@ export interface ChatMessageAttachment {
|
|
|
1364
1364
|
*/
|
|
1365
1365
|
'type': ChatMessageAttachmentType;
|
|
1366
1366
|
/**
|
|
1367
|
-
*
|
|
1367
|
+
*
|
|
1368
1368
|
* @type {string}
|
|
1369
1369
|
* @memberof ChatMessageAttachment
|
|
1370
1370
|
*/
|
|
1371
|
-
'url': string;
|
|
1371
|
+
'url': string | null;
|
|
1372
|
+
/**
|
|
1373
|
+
*
|
|
1374
|
+
* @type {object}
|
|
1375
|
+
* @memberof ChatMessageAttachment
|
|
1376
|
+
*/
|
|
1377
|
+
'json'?: object | null;
|
|
1372
1378
|
}
|
|
1373
1379
|
|
|
1374
1380
|
|
|
@@ -1381,7 +1387,8 @@ export interface ChatMessageAttachment {
|
|
|
1381
1387
|
export const ChatMessageAttachmentType = {
|
|
1382
1388
|
Link: 'link',
|
|
1383
1389
|
Image: 'image',
|
|
1384
|
-
File: 'file'
|
|
1390
|
+
File: 'file',
|
|
1391
|
+
Xmtp: 'xmtp'
|
|
1385
1392
|
} as const;
|
|
1386
1393
|
|
|
1387
1394
|
export type ChatMessageAttachmentType = typeof ChatMessageAttachmentType[keyof typeof ChatMessageAttachmentType];
|
package/base.ts
CHANGED
package/common.ts
CHANGED
package/configuration.ts
CHANGED
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.2.
|
|
5
|
+
* The version of the OpenAPI document: 0.2.18
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1328,11 +1328,17 @@ export interface ChatMessageAttachment {
|
|
|
1328
1328
|
*/
|
|
1329
1329
|
'type': ChatMessageAttachmentType;
|
|
1330
1330
|
/**
|
|
1331
|
-
*
|
|
1331
|
+
*
|
|
1332
1332
|
* @type {string}
|
|
1333
1333
|
* @memberof ChatMessageAttachment
|
|
1334
1334
|
*/
|
|
1335
|
-
'url': string;
|
|
1335
|
+
'url': string | null;
|
|
1336
|
+
/**
|
|
1337
|
+
*
|
|
1338
|
+
* @type {object}
|
|
1339
|
+
* @memberof ChatMessageAttachment
|
|
1340
|
+
*/
|
|
1341
|
+
'json'?: object | null;
|
|
1336
1342
|
}
|
|
1337
1343
|
/**
|
|
1338
1344
|
* Type of chat message attachment.
|
|
@@ -1343,6 +1349,7 @@ export declare const ChatMessageAttachmentType: {
|
|
|
1343
1349
|
readonly Link: "link";
|
|
1344
1350
|
readonly Image: "image";
|
|
1345
1351
|
readonly File: "file";
|
|
1352
|
+
readonly Xmtp: "xmtp";
|
|
1346
1353
|
};
|
|
1347
1354
|
export type ChatMessageAttachmentType = typeof ChatMessageAttachmentType[keyof typeof ChatMessageAttachmentType];
|
|
1348
1355
|
/**
|
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Nation IntentKit API
|
|
6
6
|
* API for Nation IntentKit services
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.2.
|
|
8
|
+
* The version of the OpenAPI document: 0.2.18
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -204,7 +204,8 @@ exports.AuthorType = {
|
|
|
204
204
|
exports.ChatMessageAttachmentType = {
|
|
205
205
|
Link: 'link',
|
|
206
206
|
Image: 'image',
|
|
207
|
-
File: 'file'
|
|
207
|
+
File: 'file',
|
|
208
|
+
Xmtp: 'xmtp'
|
|
208
209
|
};
|
|
209
210
|
/**
|
|
210
211
|
* Credit or debit transaction.
|
package/dist/base.d.ts
CHANGED
package/dist/base.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Nation IntentKit API
|
|
6
6
|
* API for Nation IntentKit services
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.2.
|
|
8
|
+
* The version of the OpenAPI document: 0.2.18
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/common.d.ts
CHANGED
package/dist/common.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Nation IntentKit API
|
|
6
6
|
* API for Nation IntentKit services
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.2.
|
|
8
|
+
* The version of the OpenAPI document: 0.2.18
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.d.ts
CHANGED
package/dist/configuration.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Nation IntentKit API
|
|
6
6
|
* API for Nation IntentKit services
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.2.
|
|
8
|
+
* The version of the OpenAPI document: 0.2.18
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Nation IntentKit API
|
|
6
6
|
* API for Nation IntentKit services
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.2.
|
|
8
|
+
* The version of the OpenAPI document: 0.2.18
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/docs/Agent.md
CHANGED
|
@@ -22,7 +22,7 @@ Name | Type | Description | Notes
|
|
|
22
22
|
**owner** | **string** | | [optional] [default to undefined]
|
|
23
23
|
**upstream_id** | **string** | | [optional] [default to undefined]
|
|
24
24
|
**upstream_extra** | **object** | | [optional] [default to undefined]
|
|
25
|
-
**model** | **string** | AI model identifier to be used by this agent for processing requests. Available models: gpt-4o, gpt-4o-mini, deepseek-chat, deepseek-reasoner, grok-2, eternalai, reigent, venice-uncensored | [optional] [default to 'gpt-
|
|
25
|
+
**model** | **string** | AI model identifier to be used by this agent for processing requests. Available models: gpt-4o, gpt-4o-mini, deepseek-chat, deepseek-reasoner, grok-2, eternalai, reigent, venice-uncensored | [optional] [default to 'gpt-5-mini']
|
|
26
26
|
**prompt** | **string** | | [optional] [default to undefined]
|
|
27
27
|
**prompt_append** | **string** | | [optional] [default to undefined]
|
|
28
28
|
**temperature** | **number** | | [optional] [default to undefined]
|
package/docs/AgentUpdate.md
CHANGED
|
@@ -22,7 +22,7 @@ Name | Type | Description | Notes
|
|
|
22
22
|
**owner** | **string** | | [optional] [default to undefined]
|
|
23
23
|
**upstream_id** | **string** | | [optional] [default to undefined]
|
|
24
24
|
**upstream_extra** | **object** | | [optional] [default to undefined]
|
|
25
|
-
**model** | **string** | AI model identifier to be used by this agent for processing requests. Available models: gpt-4o, gpt-4o-mini, deepseek-chat, deepseek-reasoner, grok-2, eternalai, reigent, venice-uncensored | [optional] [default to 'gpt-
|
|
25
|
+
**model** | **string** | AI model identifier to be used by this agent for processing requests. Available models: gpt-4o, gpt-4o-mini, deepseek-chat, deepseek-reasoner, grok-2, eternalai, reigent, venice-uncensored | [optional] [default to 'gpt-5-mini']
|
|
26
26
|
**prompt** | **string** | | [optional] [default to undefined]
|
|
27
27
|
**prompt_append** | **string** | | [optional] [default to undefined]
|
|
28
28
|
**temperature** | **number** | | [optional] [default to undefined]
|
|
@@ -7,7 +7,8 @@ Chat message attachment model. An attachment can be a link, image, or file that
|
|
|
7
7
|
Name | Type | Description | Notes
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
9
|
**type** | [**ChatMessageAttachmentType**](ChatMessageAttachmentType.md) | Type of the attachment (link, image, or file) | [default to undefined]
|
|
10
|
-
**url** | **string** |
|
|
10
|
+
**url** | **string** | | [default to undefined]
|
|
11
|
+
**json** | **object** | | [optional] [default to undefined]
|
|
11
12
|
|
|
12
13
|
## Example
|
|
13
14
|
|
|
@@ -17,6 +18,7 @@ import { ChatMessageAttachment } from '@crestal/nation-sdk';
|
|
|
17
18
|
const instance: ChatMessageAttachment = {
|
|
18
19
|
type,
|
|
19
20
|
url,
|
|
21
|
+
json,
|
|
20
22
|
};
|
|
21
23
|
```
|
|
22
24
|
|
|
@@ -10,4 +10,6 @@ Type of chat message attachment.
|
|
|
10
10
|
|
|
11
11
|
* `File` (value: `'file'`)
|
|
12
12
|
|
|
13
|
+
* `Xmtp` (value: `'xmtp'`)
|
|
14
|
+
|
|
13
15
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -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-08-
|
|
31
|
-
**updated_at** | **string** | Timestamp when this data was updated | [optional] [default to 2025-08-
|
|
30
|
+
**created_at** | **string** | Timestamp when this data was created | [optional] [default to 2025-08-09T02:56:17.439+00:00]
|
|
31
|
+
**updated_at** | **string** | Timestamp when this data was updated | [optional] [default to 2025-08-09T02:56:17.439+00:00]
|
|
32
32
|
**provider_name** | **string** | | [default to undefined]
|
|
33
33
|
|
|
34
34
|
## Example
|
package/index.ts
CHANGED