@crestal/nation-sdk 0.8.86 → 0.8.88
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 +9 -2
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +8 -1
- package/dist/api.js +4 -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 +2 -0
- package/docs/AgentDraft.md +2 -0
- package/docs/AgentResponse.md +2 -0
- package/docs/CreditEvent.md +2 -0
- package/docs/CreditEventWithAgent.md +2 -0
- package/docs/LLMModelInfoWithProviderName.md +2 -2
- package/docs/LLMProvider.md +2 -0
- package/docs/OwnerType.md +2 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @crestal/nation-sdk@0.8.
|
|
1
|
+
## @crestal/nation-sdk@0.8.88
|
|
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.
|
|
39
|
+
npm install @crestal/nation-sdk@0.8.88 --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.8.
|
|
7
|
+
* The version of the OpenAPI document: 0.8.88
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -70,6 +70,7 @@ export interface Agent {
|
|
|
70
70
|
*/
|
|
71
71
|
'id'?: string;
|
|
72
72
|
'owner'?: string | null;
|
|
73
|
+
'team_id'?: string | null;
|
|
73
74
|
'slug'?: string | null;
|
|
74
75
|
'version'?: string | null;
|
|
75
76
|
'statistics'?: { [key: string]: any; } | null;
|
|
@@ -234,6 +235,7 @@ export interface AgentDraft {
|
|
|
234
235
|
*/
|
|
235
236
|
'agent_id'?: string;
|
|
236
237
|
'owner'?: string | null;
|
|
238
|
+
'team_id'?: string | null;
|
|
237
239
|
'version'?: string | null;
|
|
238
240
|
'project_id'?: string | null;
|
|
239
241
|
'last_draft_id'?: string | null;
|
|
@@ -381,6 +383,7 @@ export interface AgentResponse {
|
|
|
381
383
|
*/
|
|
382
384
|
'id'?: string;
|
|
383
385
|
'owner'?: string | null;
|
|
386
|
+
'team_id'?: string | null;
|
|
384
387
|
'slug'?: string | null;
|
|
385
388
|
'version'?: string | null;
|
|
386
389
|
'statistics'?: { [key: string]: any; } | null;
|
|
@@ -971,6 +974,7 @@ export interface CreditEvent {
|
|
|
971
974
|
*/
|
|
972
975
|
'event_type': EventType;
|
|
973
976
|
'user_id'?: string | null;
|
|
977
|
+
'team_id'?: string | null;
|
|
974
978
|
/**
|
|
975
979
|
* Type of upstream transaction
|
|
976
980
|
*/
|
|
@@ -1053,6 +1057,7 @@ export interface CreditEventWithAgent {
|
|
|
1053
1057
|
*/
|
|
1054
1058
|
'event_type': EventType;
|
|
1055
1059
|
'user_id'?: string | null;
|
|
1060
|
+
'team_id'?: string | null;
|
|
1056
1061
|
/**
|
|
1057
1062
|
* Type of upstream transaction
|
|
1058
1063
|
*/
|
|
@@ -1313,7 +1318,8 @@ export const LLMProvider = {
|
|
|
1313
1318
|
Gatewayz: 'gatewayz',
|
|
1314
1319
|
Eternal: 'eternal',
|
|
1315
1320
|
Reigent: 'reigent',
|
|
1316
|
-
Venice: 'venice'
|
|
1321
|
+
Venice: 'venice',
|
|
1322
|
+
Ollama: 'ollama'
|
|
1317
1323
|
} as const;
|
|
1318
1324
|
|
|
1319
1325
|
export type LLMProvider = typeof LLMProvider[keyof typeof LLMProvider];
|
|
@@ -1337,6 +1343,7 @@ export interface ManagerMessageRequest {
|
|
|
1337
1343
|
export const OwnerType = {
|
|
1338
1344
|
User: 'user',
|
|
1339
1345
|
Agent: 'agent',
|
|
1346
|
+
Team: 'team',
|
|
1340
1347
|
Platform: 'platform'
|
|
1341
1348
|
} as const;
|
|
1342
1349
|
|
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.8.
|
|
5
|
+
* The version of the OpenAPI document: 0.8.88
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -70,6 +70,7 @@ export interface Agent {
|
|
|
70
70
|
*/
|
|
71
71
|
'id'?: string;
|
|
72
72
|
'owner'?: string | null;
|
|
73
|
+
'team_id'?: string | null;
|
|
73
74
|
'slug'?: string | null;
|
|
74
75
|
'version'?: string | null;
|
|
75
76
|
'statistics'?: {
|
|
@@ -241,6 +242,7 @@ export interface AgentDraft {
|
|
|
241
242
|
*/
|
|
242
243
|
'agent_id'?: string;
|
|
243
244
|
'owner'?: string | null;
|
|
245
|
+
'team_id'?: string | null;
|
|
244
246
|
'version'?: string | null;
|
|
245
247
|
'project_id'?: string | null;
|
|
246
248
|
'last_draft_id'?: string | null;
|
|
@@ -391,6 +393,7 @@ export interface AgentResponse {
|
|
|
391
393
|
*/
|
|
392
394
|
'id'?: string;
|
|
393
395
|
'owner'?: string | null;
|
|
396
|
+
'team_id'?: string | null;
|
|
394
397
|
'slug'?: string | null;
|
|
395
398
|
'version'?: string | null;
|
|
396
399
|
'statistics'?: {
|
|
@@ -964,6 +967,7 @@ export interface CreditEvent {
|
|
|
964
967
|
*/
|
|
965
968
|
'event_type': EventType;
|
|
966
969
|
'user_id'?: string | null;
|
|
970
|
+
'team_id'?: string | null;
|
|
967
971
|
/**
|
|
968
972
|
* Type of upstream transaction
|
|
969
973
|
*/
|
|
@@ -1044,6 +1048,7 @@ export interface CreditEventWithAgent {
|
|
|
1044
1048
|
*/
|
|
1045
1049
|
'event_type': EventType;
|
|
1046
1050
|
'user_id'?: string | null;
|
|
1051
|
+
'team_id'?: string | null;
|
|
1047
1052
|
/**
|
|
1048
1053
|
* Type of upstream transaction
|
|
1049
1054
|
*/
|
|
@@ -1286,6 +1291,7 @@ export declare const LLMProvider: {
|
|
|
1286
1291
|
readonly Eternal: "eternal";
|
|
1287
1292
|
readonly Reigent: "reigent";
|
|
1288
1293
|
readonly Venice: "venice";
|
|
1294
|
+
readonly Ollama: "ollama";
|
|
1289
1295
|
};
|
|
1290
1296
|
export type LLMProvider = typeof LLMProvider[keyof typeof LLMProvider];
|
|
1291
1297
|
/**
|
|
@@ -1305,6 +1311,7 @@ export interface ManagerMessageRequest {
|
|
|
1305
1311
|
export declare const OwnerType: {
|
|
1306
1312
|
readonly User: "user";
|
|
1307
1313
|
readonly Agent: "agent";
|
|
1314
|
+
readonly Team: "team";
|
|
1308
1315
|
readonly Platform: "platform";
|
|
1309
1316
|
};
|
|
1310
1317
|
export type OwnerType = typeof OwnerType[keyof typeof OwnerType];
|
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.8.
|
|
8
|
+
* The version of the OpenAPI document: 0.8.88
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -269,7 +269,8 @@ exports.LLMProvider = {
|
|
|
269
269
|
Gatewayz: 'gatewayz',
|
|
270
270
|
Eternal: 'eternal',
|
|
271
271
|
Reigent: 'reigent',
|
|
272
|
-
Venice: 'venice'
|
|
272
|
+
Venice: 'venice',
|
|
273
|
+
Ollama: 'ollama'
|
|
273
274
|
};
|
|
274
275
|
/**
|
|
275
276
|
* Type of credit account owner.
|
|
@@ -277,6 +278,7 @@ exports.LLMProvider = {
|
|
|
277
278
|
exports.OwnerType = {
|
|
278
279
|
User: 'user',
|
|
279
280
|
Agent: 'agent',
|
|
281
|
+
Team: 'team',
|
|
280
282
|
Platform: 'platform'
|
|
281
283
|
};
|
|
282
284
|
/**
|
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.8.
|
|
8
|
+
* The version of the OpenAPI document: 0.8.88
|
|
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.8.
|
|
8
|
+
* The version of the OpenAPI document: 0.8.88
|
|
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
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.8.
|
|
8
|
+
* The version of the OpenAPI document: 0.8.88
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/docs/Agent.md
CHANGED
|
@@ -43,6 +43,7 @@ Name | Type | Description | Notes
|
|
|
43
43
|
**upstream_extra** | **{ [key: string]: any; }** | | [optional] [default to undefined]
|
|
44
44
|
**id** | **string** | Unique identifier for the agent. Must be URL-safe, containing only lowercase letters, numbers, and hyphens | [optional] [default to undefined]
|
|
45
45
|
**owner** | **string** | | [optional] [default to undefined]
|
|
46
|
+
**team_id** | **string** | | [optional] [default to undefined]
|
|
46
47
|
**slug** | **string** | | [optional] [default to undefined]
|
|
47
48
|
**version** | **string** | | [optional] [default to undefined]
|
|
48
49
|
**statistics** | **{ [key: string]: any; }** | | [optional] [default to undefined]
|
|
@@ -97,6 +98,7 @@ const instance: Agent = {
|
|
|
97
98
|
upstream_extra,
|
|
98
99
|
id,
|
|
99
100
|
owner,
|
|
101
|
+
team_id,
|
|
100
102
|
slug,
|
|
101
103
|
version,
|
|
102
104
|
statistics,
|
package/docs/AgentDraft.md
CHANGED
|
@@ -32,6 +32,7 @@ Name | Type | Description | Notes
|
|
|
32
32
|
**id** | **string** | Unique identifier for the draft | [optional] [default to undefined]
|
|
33
33
|
**agent_id** | **string** | Agent id | [optional] [default to undefined]
|
|
34
34
|
**owner** | **string** | | [optional] [default to undefined]
|
|
35
|
+
**team_id** | **string** | | [optional] [default to undefined]
|
|
35
36
|
**version** | **string** | | [optional] [default to undefined]
|
|
36
37
|
**project_id** | **string** | | [optional] [default to undefined]
|
|
37
38
|
**last_draft_id** | **string** | | [optional] [default to undefined]
|
|
@@ -71,6 +72,7 @@ const instance: AgentDraft = {
|
|
|
71
72
|
id,
|
|
72
73
|
agent_id,
|
|
73
74
|
owner,
|
|
75
|
+
team_id,
|
|
74
76
|
version,
|
|
75
77
|
project_id,
|
|
76
78
|
last_draft_id,
|
package/docs/AgentResponse.md
CHANGED
|
@@ -32,6 +32,7 @@ Name | Type | Description | Notes
|
|
|
32
32
|
**upstream_extra** | **{ [key: string]: any; }** | | [optional] [default to undefined]
|
|
33
33
|
**id** | **string** | Unique identifier for the agent. Must be URL-safe, containing only lowercase letters, numbers, and hyphens | [optional] [default to undefined]
|
|
34
34
|
**owner** | **string** | | [optional] [default to undefined]
|
|
35
|
+
**team_id** | **string** | | [optional] [default to undefined]
|
|
35
36
|
**slug** | **string** | | [optional] [default to undefined]
|
|
36
37
|
**version** | **string** | | [optional] [default to undefined]
|
|
37
38
|
**statistics** | **{ [key: string]: any; }** | | [optional] [default to undefined]
|
|
@@ -87,6 +88,7 @@ const instance: AgentResponse = {
|
|
|
87
88
|
upstream_extra,
|
|
88
89
|
id,
|
|
89
90
|
owner,
|
|
91
|
+
team_id,
|
|
90
92
|
slug,
|
|
91
93
|
version,
|
|
92
94
|
statistics,
|
package/docs/CreditEvent.md
CHANGED
|
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
|
|
|
10
10
|
**account_id** | **string** | Account ID from which credits flow | [optional] [default to undefined]
|
|
11
11
|
**event_type** | [**EventType**](EventType.md) | Type of the event | [default to undefined]
|
|
12
12
|
**user_id** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**team_id** | **string** | | [optional] [default to undefined]
|
|
13
14
|
**upstream_type** | [**UpstreamType**](UpstreamType.md) | Type of upstream transaction | [default to undefined]
|
|
14
15
|
**upstream_tx_id** | **string** | Upstream transaction ID if any | [default to undefined]
|
|
15
16
|
**agent_id** | **string** | | [optional] [default to undefined]
|
|
@@ -62,6 +63,7 @@ const instance: CreditEvent = {
|
|
|
62
63
|
account_id,
|
|
63
64
|
event_type,
|
|
64
65
|
user_id,
|
|
66
|
+
team_id,
|
|
65
67
|
upstream_type,
|
|
66
68
|
upstream_tx_id,
|
|
67
69
|
agent_id,
|
|
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
|
|
|
10
10
|
**account_id** | **string** | Account ID from which credits flow | [optional] [default to undefined]
|
|
11
11
|
**event_type** | [**EventType**](EventType.md) | Type of the event | [default to undefined]
|
|
12
12
|
**user_id** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**team_id** | **string** | | [optional] [default to undefined]
|
|
13
14
|
**upstream_type** | [**UpstreamType**](UpstreamType.md) | Type of upstream transaction | [default to undefined]
|
|
14
15
|
**upstream_tx_id** | **string** | Upstream transaction ID if any | [default to undefined]
|
|
15
16
|
**agent_id** | **string** | | [optional] [default to undefined]
|
|
@@ -63,6 +64,7 @@ const instance: CreditEventWithAgent = {
|
|
|
63
64
|
account_id,
|
|
64
65
|
event_type,
|
|
65
66
|
user_id,
|
|
67
|
+
team_id,
|
|
66
68
|
upstream_type,
|
|
67
69
|
upstream_tx_id,
|
|
68
70
|
agent_id,
|
|
@@ -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-11-
|
|
31
|
-
**updated_at** | **string** | Timestamp when this data was updated | [optional] [default to 2025-11-
|
|
30
|
+
**created_at** | **string** | Timestamp when this data was created | [optional] [default to 2025-11-25T10:52:07.445+00:00]
|
|
31
|
+
**updated_at** | **string** | Timestamp when this data was updated | [optional] [default to 2025-11-25T10:52:07.445+00:00]
|
|
32
32
|
**provider_name** | **string** | | [default to undefined]
|
|
33
33
|
|
|
34
34
|
## Example
|
package/docs/LLMProvider.md
CHANGED
package/docs/OwnerType.md
CHANGED
|
@@ -8,6 +8,8 @@ Type of credit account owner.
|
|
|
8
8
|
|
|
9
9
|
* `Agent` (value: `'agent'`)
|
|
10
10
|
|
|
11
|
+
* `Team` (value: `'team'`)
|
|
12
|
+
|
|
11
13
|
* `Platform` (value: `'platform'`)
|
|
12
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)
|
package/index.ts
CHANGED