@crestal/nation-sdk 0.2.10 → 0.2.12

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 CHANGED
@@ -1,4 +1,4 @@
1
- ## @crestal/nation-sdk@0.2.10
1
+ ## @crestal/nation-sdk@0.2.12
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.10 --save
39
+ npm install @crestal/nation-sdk@0.2.12 --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.10
7
+ * The version of the OpenAPI document: 0.2.12
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: Invalid agent ID format or agent ID already exists - 422: Invalid agent configuration from JSON schema validation - 500: Database error
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: Invalid agent ID format or agent ID already exists - 422: Invalid agent configuration from JSON schema validation - 500: Database error
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: Invalid agent ID format or agent ID already exists - 422: Invalid agent configuration from JSON schema validation - 500: Database error
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: Invalid agent ID format or agent ID already exists - 422: Invalid agent configuration from JSON schema validation - 500: Database error
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
@@ -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.10
7
+ * The version of the OpenAPI document: 0.2.12
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/common.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.10
7
+ * The version of the OpenAPI document: 0.2.12
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/configuration.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.10
7
+ * The version of the OpenAPI document: 0.2.12
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
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.10
5
+ * The version of the OpenAPI document: 0.2.12
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: Invalid agent ID format or agent ID already exists - 422: Invalid agent configuration from JSON schema validation - 500: Database error
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: Invalid agent ID format or agent ID already exists - 422: Invalid agent configuration from JSON schema validation - 500: Database error
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: Invalid agent ID format or agent ID already exists - 422: Invalid agent configuration from JSON schema validation - 500: Database error
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: Invalid agent ID format or agent ID already exists - 422: Invalid agent configuration from JSON schema validation - 500: Database error
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.10
8
+ * The version of the OpenAPI document: 0.2.12
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: Invalid agent ID format or agent ID already exists - 422: Invalid agent configuration from JSON schema validation - 500: Database error
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: Invalid agent ID format or agent ID already exists - 422: Invalid agent configuration from JSON schema validation - 500: Database error
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: Invalid agent ID format or agent ID already exists - 422: Invalid agent configuration from JSON schema validation - 500: Database error
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: Invalid agent ID format or agent ID already exists - 422: Invalid agent configuration from JSON schema validation - 500: Database error
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
@@ -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.10
5
+ * The version of the OpenAPI document: 0.2.12
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
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.10
8
+ * The version of the OpenAPI document: 0.2.12
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
@@ -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.10
5
+ * The version of the OpenAPI document: 0.2.12
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
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.10
8
+ * The version of the OpenAPI document: 0.2.12
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.10
5
+ * The version of the OpenAPI document: 0.2.12
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.10
8
+ * The version of the OpenAPI document: 0.2.12
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
@@ -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.10
5
+ * The version of the OpenAPI document: 0.2.12
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
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.10
8
+ * The version of the OpenAPI document: 0.2.12
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: Invalid agent ID format or agent ID already exists - 422: Invalid agent configuration from JSON schema validation - 500: Database error
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** | Other client errors except format error | - |
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-30T17:56:37.596+00:00]
31
- **updated_at** | **string** | Timestamp when this data was updated | [optional] [default to 2025-07-30T17:56:37.596+00:00]
30
+ **created_at** | **string** | Timestamp when this data was created | [optional] [default to 2025-07-31T18:40:00.522+00:00]
31
+ **updated_at** | **string** | Timestamp when this data was updated | [optional] [default to 2025-07-31T18:40:00.522+00:00]
32
32
  **provider_name** | **string** | | [default to undefined]
33
33
 
34
34
  ## Example
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.2.10
7
+ * The version of the OpenAPI document: 0.2.12
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.2.10",
3
+ "version": "0.2.12",
4
4
  "description": "OpenAPI client for @crestal/nation-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {