@crestal/nation-sdk 0.7.41 → 0.7.43

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.7.41
1
+ ## @crestal/nation-sdk@0.7.43
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.7.41 --save
39
+ npm install @crestal/nation-sdk@0.7.43 --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.7.41
7
+ * The version of the OpenAPI document: 0.7.43
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -304,6 +304,7 @@ export interface AgentDraft {
304
304
  'agent_id'?: string;
305
305
  'owner'?: string | null;
306
306
  'version'?: string | null;
307
+ 'project_id'?: string | null;
307
308
  'last_draft_id'?: string | null;
308
309
  'deployed_at'?: string | null;
309
310
  /**
@@ -2242,7 +2243,7 @@ export const AgentApiAxiosParamCreator = function (configuration?: Configuration
2242
2243
  };
2243
2244
  },
2244
2245
  /**
2245
- * Get a single agent by ID. **Path Parameters:** * `agent_id` - ID of the agent to retrieve **Returns:** * `AgentResponse` - Agent configuration with additional processed data **Raises:** * `HTTPException`: - 404: Agent not found
2246
+ * Get a single agent by ID or slug. **Path Parameters:** * `agent_id` - ID or slug of the agent to retrieve **Returns:** * `AgentResponse` - Agent configuration with additional processed data **Raises:** * `IntentKitAPIError`: - 404: Agent not found
2246
2247
  * @summary Get Agent
2247
2248
  * @param {string} agentId ID of the agent to retrieve
2248
2249
  * @param {*} [options] Override http request option.
@@ -2855,7 +2856,7 @@ export const AgentApiFp = function(configuration?: Configuration) {
2855
2856
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2856
2857
  },
2857
2858
  /**
2858
- * Get a single agent by ID. **Path Parameters:** * `agent_id` - ID of the agent to retrieve **Returns:** * `AgentResponse` - Agent configuration with additional processed data **Raises:** * `HTTPException`: - 404: Agent not found
2859
+ * Get a single agent by ID or slug. **Path Parameters:** * `agent_id` - ID or slug of the agent to retrieve **Returns:** * `AgentResponse` - Agent configuration with additional processed data **Raises:** * `IntentKitAPIError`: - 404: Agent not found
2859
2860
  * @summary Get Agent
2860
2861
  * @param {string} agentId ID of the agent to retrieve
2861
2862
  * @param {*} [options] Override http request option.
@@ -3076,7 +3077,7 @@ export const AgentApiFactory = function (configuration?: Configuration, basePath
3076
3077
  return localVarFp.exportAgent(agentId, options).then((request) => request(axios, basePath));
3077
3078
  },
3078
3079
  /**
3079
- * Get a single agent by ID. **Path Parameters:** * `agent_id` - ID of the agent to retrieve **Returns:** * `AgentResponse` - Agent configuration with additional processed data **Raises:** * `HTTPException`: - 404: Agent not found
3080
+ * Get a single agent by ID or slug. **Path Parameters:** * `agent_id` - ID or slug of the agent to retrieve **Returns:** * `AgentResponse` - Agent configuration with additional processed data **Raises:** * `IntentKitAPIError`: - 404: Agent not found
3080
3081
  * @summary Get Agent
3081
3082
  * @param {string} agentId ID of the agent to retrieve
3082
3083
  * @param {*} [options] Override http request option.
@@ -3255,7 +3256,7 @@ export class AgentApi extends BaseAPI {
3255
3256
  }
3256
3257
 
3257
3258
  /**
3258
- * Get a single agent by ID. **Path Parameters:** * `agent_id` - ID of the agent to retrieve **Returns:** * `AgentResponse` - Agent configuration with additional processed data **Raises:** * `HTTPException`: - 404: Agent not found
3259
+ * Get a single agent by ID or slug. **Path Parameters:** * `agent_id` - ID or slug of the agent to retrieve **Returns:** * `AgentResponse` - Agent configuration with additional processed data **Raises:** * `IntentKitAPIError`: - 404: Agent not found
3259
3260
  * @summary Get Agent
3260
3261
  * @param {string} agentId ID of the agent to retrieve
3261
3262
  * @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.7.41
7
+ * The version of the OpenAPI document: 0.7.43
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.7.41
7
+ * The version of the OpenAPI document: 0.7.43
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.7.41
7
+ * The version of the OpenAPI document: 0.7.43
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.7.41
5
+ * The version of the OpenAPI document: 0.7.43
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -284,6 +284,7 @@ export interface AgentDraft {
284
284
  'agent_id'?: string;
285
285
  'owner'?: string | null;
286
286
  'version'?: string | null;
287
+ 'project_id'?: string | null;
287
288
  'last_draft_id'?: string | null;
288
289
  'deployed_at'?: string | null;
289
290
  /**
@@ -2068,7 +2069,7 @@ export declare const AgentApiAxiosParamCreator: (configuration?: Configuration)
2068
2069
  */
2069
2070
  exportAgent: (agentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2070
2071
  /**
2071
- * Get a single agent by ID. **Path Parameters:** * `agent_id` - ID of the agent to retrieve **Returns:** * `AgentResponse` - Agent configuration with additional processed data **Raises:** * `HTTPException`: - 404: Agent not found
2072
+ * Get a single agent by ID or slug. **Path Parameters:** * `agent_id` - ID or slug of the agent to retrieve **Returns:** * `AgentResponse` - Agent configuration with additional processed data **Raises:** * `IntentKitAPIError`: - 404: Agent not found
2072
2073
  * @summary Get Agent
2073
2074
  * @param {string} agentId ID of the agent to retrieve
2074
2075
  * @param {*} [options] Override http request option.
@@ -2211,7 +2212,7 @@ export declare const AgentApiFp: (configuration?: Configuration) => {
2211
2212
  */
2212
2213
  exportAgent(agentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
2213
2214
  /**
2214
- * Get a single agent by ID. **Path Parameters:** * `agent_id` - ID of the agent to retrieve **Returns:** * `AgentResponse` - Agent configuration with additional processed data **Raises:** * `HTTPException`: - 404: Agent not found
2215
+ * Get a single agent by ID or slug. **Path Parameters:** * `agent_id` - ID or slug of the agent to retrieve **Returns:** * `AgentResponse` - Agent configuration with additional processed data **Raises:** * `IntentKitAPIError`: - 404: Agent not found
2215
2216
  * @summary Get Agent
2216
2217
  * @param {string} agentId ID of the agent to retrieve
2217
2218
  * @param {*} [options] Override http request option.
@@ -2354,7 +2355,7 @@ export declare const AgentApiFactory: (configuration?: Configuration, basePath?:
2354
2355
  */
2355
2356
  exportAgent(agentId: string, options?: RawAxiosRequestConfig): AxiosPromise<any>;
2356
2357
  /**
2357
- * Get a single agent by ID. **Path Parameters:** * `agent_id` - ID of the agent to retrieve **Returns:** * `AgentResponse` - Agent configuration with additional processed data **Raises:** * `HTTPException`: - 404: Agent not found
2358
+ * Get a single agent by ID or slug. **Path Parameters:** * `agent_id` - ID or slug of the agent to retrieve **Returns:** * `AgentResponse` - Agent configuration with additional processed data **Raises:** * `IntentKitAPIError`: - 404: Agent not found
2358
2359
  * @summary Get Agent
2359
2360
  * @param {string} agentId ID of the agent to retrieve
2360
2361
  * @param {*} [options] Override http request option.
@@ -2497,7 +2498,7 @@ export declare class AgentApi extends BaseAPI {
2497
2498
  */
2498
2499
  exportAgent(agentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
2499
2500
  /**
2500
- * Get a single agent by ID. **Path Parameters:** * `agent_id` - ID of the agent to retrieve **Returns:** * `AgentResponse` - Agent configuration with additional processed data **Raises:** * `HTTPException`: - 404: Agent not found
2501
+ * Get a single agent by ID or slug. **Path Parameters:** * `agent_id` - ID or slug of the agent to retrieve **Returns:** * `AgentResponse` - Agent configuration with additional processed data **Raises:** * `IntentKitAPIError`: - 404: Agent not found
2501
2502
  * @summary Get Agent
2502
2503
  * @param {string} agentId ID of the agent to retrieve
2503
2504
  * @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.7.41
8
+ * The version of the OpenAPI document: 0.7.43
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -465,7 +465,7 @@ var AgentApiAxiosParamCreator = function (configuration) {
465
465
  });
466
466
  },
467
467
  /**
468
- * Get a single agent by ID. **Path Parameters:** * `agent_id` - ID of the agent to retrieve **Returns:** * `AgentResponse` - Agent configuration with additional processed data **Raises:** * `HTTPException`: - 404: Agent not found
468
+ * Get a single agent by ID or slug. **Path Parameters:** * `agent_id` - ID or slug of the agent to retrieve **Returns:** * `AgentResponse` - Agent configuration with additional processed data **Raises:** * `IntentKitAPIError`: - 404: Agent not found
469
469
  * @summary Get Agent
470
470
  * @param {string} agentId ID of the agent to retrieve
471
471
  * @param {*} [options] Override http request option.
@@ -1199,7 +1199,7 @@ var AgentApiFp = function (configuration) {
1199
1199
  });
1200
1200
  },
1201
1201
  /**
1202
- * Get a single agent by ID. **Path Parameters:** * `agent_id` - ID of the agent to retrieve **Returns:** * `AgentResponse` - Agent configuration with additional processed data **Raises:** * `HTTPException`: - 404: Agent not found
1202
+ * Get a single agent by ID or slug. **Path Parameters:** * `agent_id` - ID or slug of the agent to retrieve **Returns:** * `AgentResponse` - Agent configuration with additional processed data **Raises:** * `IntentKitAPIError`: - 404: Agent not found
1203
1203
  * @summary Get Agent
1204
1204
  * @param {string} agentId ID of the agent to retrieve
1205
1205
  * @param {*} [options] Override http request option.
@@ -1560,7 +1560,7 @@ var AgentApiFactory = function (configuration, basePath, axios) {
1560
1560
  return localVarFp.exportAgent(agentId, options).then(function (request) { return request(axios, basePath); });
1561
1561
  },
1562
1562
  /**
1563
- * Get a single agent by ID. **Path Parameters:** * `agent_id` - ID of the agent to retrieve **Returns:** * `AgentResponse` - Agent configuration with additional processed data **Raises:** * `HTTPException`: - 404: Agent not found
1563
+ * Get a single agent by ID or slug. **Path Parameters:** * `agent_id` - ID or slug of the agent to retrieve **Returns:** * `AgentResponse` - Agent configuration with additional processed data **Raises:** * `IntentKitAPIError`: - 404: Agent not found
1564
1564
  * @summary Get Agent
1565
1565
  * @param {string} agentId ID of the agent to retrieve
1566
1566
  * @param {*} [options] Override http request option.
@@ -1743,7 +1743,7 @@ var AgentApi = /** @class */ (function (_super) {
1743
1743
  return (0, exports.AgentApiFp)(this.configuration).exportAgent(agentId, options).then(function (request) { return request(_this.axios, _this.basePath); });
1744
1744
  };
1745
1745
  /**
1746
- * Get a single agent by ID. **Path Parameters:** * `agent_id` - ID of the agent to retrieve **Returns:** * `AgentResponse` - Agent configuration with additional processed data **Raises:** * `HTTPException`: - 404: Agent not found
1746
+ * Get a single agent by ID or slug. **Path Parameters:** * `agent_id` - ID or slug of the agent to retrieve **Returns:** * `AgentResponse` - Agent configuration with additional processed data **Raises:** * `IntentKitAPIError`: - 404: Agent not found
1747
1747
  * @summary Get Agent
1748
1748
  * @param {string} agentId ID of the agent to retrieve
1749
1749
  * @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.7.41
5
+ * The version of the OpenAPI document: 0.7.43
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.7.41
8
+ * The version of the OpenAPI document: 0.7.43
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.7.41
5
+ * The version of the OpenAPI document: 0.7.43
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.7.41
8
+ * The version of the OpenAPI document: 0.7.43
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.7.41
5
+ * The version of the OpenAPI document: 0.7.43
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.7.41
8
+ * The version of the OpenAPI document: 0.7.43
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.7.41
5
+ * The version of the OpenAPI document: 0.7.43
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.7.41
8
+ * The version of the OpenAPI document: 0.7.43
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/docs/AgentApi.md CHANGED
@@ -132,7 +132,7 @@ const { status, data } = await apiInstance.exportAgent(
132
132
  # **getAgent**
133
133
  > AgentResponse getAgent()
134
134
 
135
- Get a single agent by ID. **Path Parameters:** * `agent_id` - ID of the agent to retrieve **Returns:** * `AgentResponse` - Agent configuration with additional processed data **Raises:** * `HTTPException`: - 404: Agent not found
135
+ Get a single agent by ID or slug. **Path Parameters:** * `agent_id` - ID or slug of the agent to retrieve **Returns:** * `AgentResponse` - Agent configuration with additional processed data **Raises:** * `IntentKitAPIError`: - 404: Agent not found
136
136
 
137
137
  ### Example
138
138
 
@@ -31,6 +31,7 @@ Name | Type | Description | Notes
31
31
  **agent_id** | **string** | Agent id | [optional] [default to undefined]
32
32
  **owner** | **string** | | [optional] [default to undefined]
33
33
  **version** | **string** | | [optional] [default to undefined]
34
+ **project_id** | **string** | | [optional] [default to undefined]
34
35
  **last_draft_id** | **string** | | [optional] [default to undefined]
35
36
  **deployed_at** | **string** | | [optional] [default to undefined]
36
37
  **created_at** | **string** | Timestamp when the agent was created, will ignore when importing | [optional] [default to undefined]
@@ -67,6 +68,7 @@ const instance: AgentDraft = {
67
68
  agent_id,
68
69
  owner,
69
70
  version,
71
+ project_id,
70
72
  last_draft_id,
71
73
  deployed_at,
72
74
  created_at,
@@ -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-10-12T15:14:44.642+00:00]
31
- **updated_at** | **string** | Timestamp when this data was updated | [optional] [default to 2025-10-12T15:14:44.642+00:00]
30
+ **created_at** | **string** | Timestamp when this data was created | [optional] [default to 2025-10-13T08:06:18.832+00:00]
31
+ **updated_at** | **string** | Timestamp when this data was updated | [optional] [default to 2025-10-13T08:06:18.832+00:00]
32
32
  **provider_name** | **string** | | [default to undefined]
33
33
 
34
34
  ## Example
@@ -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-10-12T15:14:44.642+00:00]
31
- **updated_at** | **string** | Timestamp when this data was updated | [optional] [default to 2025-10-12T15:14:44.642+00:00]
30
+ **created_at** | **string** | Timestamp when this data was created | [optional] [default to 2025-10-13T08:06:18.832+00:00]
31
+ **updated_at** | **string** | Timestamp when this data was updated | [optional] [default to 2025-10-13T08:06:18.832+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.7.41
7
+ * The version of the OpenAPI document: 0.7.43
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.7.41",
3
+ "version": "0.7.43",
4
4
  "description": "OpenAPI client for @crestal/nation-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {