@crestal/nation-sdk 0.2.10 → 0.2.11
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 +5 -5
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +5 -5
- package/dist/api.js +5 -5
- 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/AgentApi.md +2 -2
- 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.11
|
|
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.11 --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.11
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2737,7 +2737,7 @@ export interface ValidationErrorLocInner {
|
|
|
2737
2737
|
export const AgentApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
2738
2738
|
return {
|
|
2739
2739
|
/**
|
|
2740
|
-
* Create a new agent. **Request Body:** * `agent` - Agent configuration **Returns:** * `AgentResponse` - Created agent configuration with additional processed data **Raises:** * `HTTPException`: - 400:
|
|
2740
|
+
* Create a new agent. **Request Body:** * `agent` - Agent configuration **Returns:** * `AgentResponse` - Created agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Agent limit reached, invalid agent ID format, or agent ID already exists - 422: Invalid agent configuration from JSON schema validation - 500: Database error
|
|
2741
2741
|
* @summary Create Agent
|
|
2742
2742
|
* @param {AgentUpdate} [agentUpdate]
|
|
2743
2743
|
* @param {*} [options] Override http request option.
|
|
@@ -3197,7 +3197,7 @@ export const AgentApiFp = function(configuration?: Configuration) {
|
|
|
3197
3197
|
const localVarAxiosParamCreator = AgentApiAxiosParamCreator(configuration)
|
|
3198
3198
|
return {
|
|
3199
3199
|
/**
|
|
3200
|
-
* Create a new agent. **Request Body:** * `agent` - Agent configuration **Returns:** * `AgentResponse` - Created agent configuration with additional processed data **Raises:** * `HTTPException`: - 400:
|
|
3200
|
+
* Create a new agent. **Request Body:** * `agent` - Agent configuration **Returns:** * `AgentResponse` - Created agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Agent limit reached, invalid agent ID format, or agent ID already exists - 422: Invalid agent configuration from JSON schema validation - 500: Database error
|
|
3201
3201
|
* @summary Create Agent
|
|
3202
3202
|
* @param {AgentUpdate} [agentUpdate]
|
|
3203
3203
|
* @param {*} [options] Override http request option.
|
|
@@ -3358,7 +3358,7 @@ export const AgentApiFactory = function (configuration?: Configuration, basePath
|
|
|
3358
3358
|
const localVarFp = AgentApiFp(configuration)
|
|
3359
3359
|
return {
|
|
3360
3360
|
/**
|
|
3361
|
-
* Create a new agent. **Request Body:** * `agent` - Agent configuration **Returns:** * `AgentResponse` - Created agent configuration with additional processed data **Raises:** * `HTTPException`: - 400:
|
|
3361
|
+
* Create a new agent. **Request Body:** * `agent` - Agent configuration **Returns:** * `AgentResponse` - Created agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Agent limit reached, invalid agent ID format, or agent ID already exists - 422: Invalid agent configuration from JSON schema validation - 500: Database error
|
|
3362
3362
|
* @summary Create Agent
|
|
3363
3363
|
* @param {AgentUpdate} [agentUpdate]
|
|
3364
3364
|
* @param {*} [options] Override http request option.
|
|
@@ -3486,7 +3486,7 @@ export const AgentApiFactory = function (configuration?: Configuration, basePath
|
|
|
3486
3486
|
*/
|
|
3487
3487
|
export class AgentApi extends BaseAPI {
|
|
3488
3488
|
/**
|
|
3489
|
-
* Create a new agent. **Request Body:** * `agent` - Agent configuration **Returns:** * `AgentResponse` - Created agent configuration with additional processed data **Raises:** * `HTTPException`: - 400:
|
|
3489
|
+
* Create a new agent. **Request Body:** * `agent` - Agent configuration **Returns:** * `AgentResponse` - Created agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Agent limit reached, invalid agent ID format, or agent ID already exists - 422: Invalid agent configuration from JSON schema validation - 500: Database error
|
|
3490
3490
|
* @summary Create Agent
|
|
3491
3491
|
* @param {AgentUpdate} [agentUpdate]
|
|
3492
3492
|
* @param {*} [options] Override http request option.
|
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.11
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2651,7 +2651,7 @@ export interface ValidationErrorLocInner {
|
|
|
2651
2651
|
*/
|
|
2652
2652
|
export declare const AgentApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
2653
2653
|
/**
|
|
2654
|
-
* Create a new agent. **Request Body:** * `agent` - Agent configuration **Returns:** * `AgentResponse` - Created agent configuration with additional processed data **Raises:** * `HTTPException`: - 400:
|
|
2654
|
+
* Create a new agent. **Request Body:** * `agent` - Agent configuration **Returns:** * `AgentResponse` - Created agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Agent limit reached, invalid agent ID format, or agent ID already exists - 422: Invalid agent configuration from JSON schema validation - 500: Database error
|
|
2655
2655
|
* @summary Create Agent
|
|
2656
2656
|
* @param {AgentUpdate} [agentUpdate]
|
|
2657
2657
|
* @param {*} [options] Override http request option.
|
|
@@ -2753,7 +2753,7 @@ export declare const AgentApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
2753
2753
|
*/
|
|
2754
2754
|
export declare const AgentApiFp: (configuration?: Configuration) => {
|
|
2755
2755
|
/**
|
|
2756
|
-
* Create a new agent. **Request Body:** * `agent` - Agent configuration **Returns:** * `AgentResponse` - Created agent configuration with additional processed data **Raises:** * `HTTPException`: - 400:
|
|
2756
|
+
* Create a new agent. **Request Body:** * `agent` - Agent configuration **Returns:** * `AgentResponse` - Created agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Agent limit reached, invalid agent ID format, or agent ID already exists - 422: Invalid agent configuration from JSON schema validation - 500: Database error
|
|
2757
2757
|
* @summary Create Agent
|
|
2758
2758
|
* @param {AgentUpdate} [agentUpdate]
|
|
2759
2759
|
* @param {*} [options] Override http request option.
|
|
@@ -2855,7 +2855,7 @@ export declare const AgentApiFp: (configuration?: Configuration) => {
|
|
|
2855
2855
|
*/
|
|
2856
2856
|
export declare const AgentApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
2857
2857
|
/**
|
|
2858
|
-
* Create a new agent. **Request Body:** * `agent` - Agent configuration **Returns:** * `AgentResponse` - Created agent configuration with additional processed data **Raises:** * `HTTPException`: - 400:
|
|
2858
|
+
* Create a new agent. **Request Body:** * `agent` - Agent configuration **Returns:** * `AgentResponse` - Created agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Agent limit reached, invalid agent ID format, or agent ID already exists - 422: Invalid agent configuration from JSON schema validation - 500: Database error
|
|
2859
2859
|
* @summary Create Agent
|
|
2860
2860
|
* @param {AgentUpdate} [agentUpdate]
|
|
2861
2861
|
* @param {*} [options] Override http request option.
|
|
@@ -2959,7 +2959,7 @@ export declare const AgentApiFactory: (configuration?: Configuration, basePath?:
|
|
|
2959
2959
|
*/
|
|
2960
2960
|
export declare class AgentApi extends BaseAPI {
|
|
2961
2961
|
/**
|
|
2962
|
-
* Create a new agent. **Request Body:** * `agent` - Agent configuration **Returns:** * `AgentResponse` - Created agent configuration with additional processed data **Raises:** * `HTTPException`: - 400:
|
|
2962
|
+
* Create a new agent. **Request Body:** * `agent` - Agent configuration **Returns:** * `AgentResponse` - Created agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Agent limit reached, invalid agent ID format, or agent ID already exists - 422: Invalid agent configuration from JSON schema validation - 500: Database error
|
|
2963
2963
|
* @summary Create Agent
|
|
2964
2964
|
* @param {AgentUpdate} [agentUpdate]
|
|
2965
2965
|
* @param {*} [options] Override http request option.
|
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.11
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -318,7 +318,7 @@ var AgentApiAxiosParamCreator = function (configuration) {
|
|
|
318
318
|
var _this = this;
|
|
319
319
|
return {
|
|
320
320
|
/**
|
|
321
|
-
* Create a new agent. **Request Body:** * `agent` - Agent configuration **Returns:** * `AgentResponse` - Created agent configuration with additional processed data **Raises:** * `HTTPException`: - 400:
|
|
321
|
+
* Create a new agent. **Request Body:** * `agent` - Agent configuration **Returns:** * `AgentResponse` - Created agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Agent limit reached, invalid agent ID format, or agent ID already exists - 422: Invalid agent configuration from JSON schema validation - 500: Database error
|
|
322
322
|
* @summary Create Agent
|
|
323
323
|
* @param {AgentUpdate} [agentUpdate]
|
|
324
324
|
* @param {*} [options] Override http request option.
|
|
@@ -847,7 +847,7 @@ var AgentApiFp = function (configuration) {
|
|
|
847
847
|
var localVarAxiosParamCreator = (0, exports.AgentApiAxiosParamCreator)(configuration);
|
|
848
848
|
return {
|
|
849
849
|
/**
|
|
850
|
-
* Create a new agent. **Request Body:** * `agent` - Agent configuration **Returns:** * `AgentResponse` - Created agent configuration with additional processed data **Raises:** * `HTTPException`: - 400:
|
|
850
|
+
* Create a new agent. **Request Body:** * `agent` - Agent configuration **Returns:** * `AgentResponse` - Created agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Agent limit reached, invalid agent ID format, or agent ID already exists - 422: Invalid agent configuration from JSON schema validation - 500: Database error
|
|
851
851
|
* @summary Create Agent
|
|
852
852
|
* @param {AgentUpdate} [agentUpdate]
|
|
853
853
|
* @param {*} [options] Override http request option.
|
|
@@ -1118,7 +1118,7 @@ var AgentApiFactory = function (configuration, basePath, axios) {
|
|
|
1118
1118
|
var localVarFp = (0, exports.AgentApiFp)(configuration);
|
|
1119
1119
|
return {
|
|
1120
1120
|
/**
|
|
1121
|
-
* Create a new agent. **Request Body:** * `agent` - Agent configuration **Returns:** * `AgentResponse` - Created agent configuration with additional processed data **Raises:** * `HTTPException`: - 400:
|
|
1121
|
+
* Create a new agent. **Request Body:** * `agent` - Agent configuration **Returns:** * `AgentResponse` - Created agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Agent limit reached, invalid agent ID format, or agent ID already exists - 422: Invalid agent configuration from JSON schema validation - 500: Database error
|
|
1122
1122
|
* @summary Create Agent
|
|
1123
1123
|
* @param {AgentUpdate} [agentUpdate]
|
|
1124
1124
|
* @param {*} [options] Override http request option.
|
|
@@ -1250,7 +1250,7 @@ var AgentApi = /** @class */ (function (_super) {
|
|
|
1250
1250
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
1251
1251
|
}
|
|
1252
1252
|
/**
|
|
1253
|
-
* Create a new agent. **Request Body:** * `agent` - Agent configuration **Returns:** * `AgentResponse` - Created agent configuration with additional processed data **Raises:** * `HTTPException`: - 400:
|
|
1253
|
+
* Create a new agent. **Request Body:** * `agent` - Agent configuration **Returns:** * `AgentResponse` - Created agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Agent limit reached, invalid agent ID format, or agent ID already exists - 422: Invalid agent configuration from JSON schema validation - 500: Database error
|
|
1254
1254
|
* @summary Create Agent
|
|
1255
1255
|
* @param {AgentUpdate} [agentUpdate]
|
|
1256
1256
|
* @param {*} [options] Override http request option.
|
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.11
|
|
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.11
|
|
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.11
|
|
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.11
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/docs/AgentApi.md
CHANGED
|
@@ -19,7 +19,7 @@ All URIs are relative to *http://localhost*
|
|
|
19
19
|
# **createAgent**
|
|
20
20
|
> AgentResponse createAgent()
|
|
21
21
|
|
|
22
|
-
Create a new agent. **Request Body:** * `agent` - Agent configuration **Returns:** * `AgentResponse` - Created agent configuration with additional processed data **Raises:** * `HTTPException`: - 400:
|
|
22
|
+
Create a new agent. **Request Body:** * `agent` - Agent configuration **Returns:** * `AgentResponse` - Created agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Agent limit reached, invalid agent ID format, or agent ID already exists - 422: Invalid agent configuration from JSON schema validation - 500: Database error
|
|
23
23
|
|
|
24
24
|
### Example
|
|
25
25
|
|
|
@@ -66,7 +66,7 @@ const { status, data } = await apiInstance.createAgent(
|
|
|
66
66
|
|-------------|-------------|------------------|
|
|
67
67
|
|**200** | Agent already exists | - |
|
|
68
68
|
|**201** | Agent created | - |
|
|
69
|
-
|**400** |
|
|
69
|
+
|**400** | Agent limit reached or other client errors | - |
|
|
70
70
|
|**422** | Invalid agent configuration | - |
|
|
71
71
|
|**500** | Server error | - |
|
|
72
72
|
|
|
@@ -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-07-
|
|
31
|
-
**updated_at** | **string** | Timestamp when this data was updated | [optional] [default to 2025-07-
|
|
30
|
+
**created_at** | **string** | Timestamp when this data was created | [optional] [default to 2025-07-31T11:20:19.740+00:00]
|
|
31
|
+
**updated_at** | **string** | Timestamp when this data was updated | [optional] [default to 2025-07-31T11:20:19.740+00:00]
|
|
32
32
|
**provider_name** | **string** | | [default to undefined]
|
|
33
33
|
|
|
34
34
|
## Example
|
package/index.ts
CHANGED