@crestal/nation-sdk 0.6.31 → 0.6.32

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.6.31
1
+ ## @crestal/nation-sdk@0.6.32
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.6.31 --save
39
+ npm install @crestal/nation-sdk@0.6.32 --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.6.31
7
+ * The version of the OpenAPI document: 0.6.32
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -6026,7 +6026,7 @@ export const DraftApiAxiosParamCreator = function (configuration?: Configuration
6026
6026
  };
6027
6027
  },
6028
6028
  /**
6029
- * Get the latest draft for an agent. Retrieves the most recent draft for the specified agent. The draft is ordered by creation time, with the most recent draft returned. Possible HTTP errors: - 401: Unauthorized (invalid or missing authentication) - 404: Agent not found or no drafts exist for this agent - 500: Internal server error
6029
+ * Get the latest draft for an agent. Retrieves the most recent draft for the specified agent. The draft is ordered by creation time, with the most recent draft returned. For backward compatibility, if no draft exists for the agent, this endpoint will check if the agent exists in the agents table and automatically create a draft from the existing agent data. Possible HTTP errors: - 401: Unauthorized (invalid or missing authentication) - 404: Agent not found or no drafts exist for this agent - 500: Internal server error
6030
6030
  * @summary Get Agent Latest Draft
6031
6031
  * @param {string} agentId Agent ID
6032
6032
  * @param {*} [options] Override http request option.
@@ -6158,7 +6158,7 @@ export const DraftApiFp = function(configuration?: Configuration) {
6158
6158
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6159
6159
  },
6160
6160
  /**
6161
- * Get the latest draft for an agent. Retrieves the most recent draft for the specified agent. The draft is ordered by creation time, with the most recent draft returned. Possible HTTP errors: - 401: Unauthorized (invalid or missing authentication) - 404: Agent not found or no drafts exist for this agent - 500: Internal server error
6161
+ * Get the latest draft for an agent. Retrieves the most recent draft for the specified agent. The draft is ordered by creation time, with the most recent draft returned. For backward compatibility, if no draft exists for the agent, this endpoint will check if the agent exists in the agents table and automatically create a draft from the existing agent data. Possible HTTP errors: - 401: Unauthorized (invalid or missing authentication) - 404: Agent not found or no drafts exist for this agent - 500: Internal server error
6162
6162
  * @summary Get Agent Latest Draft
6163
6163
  * @param {string} agentId Agent ID
6164
6164
  * @param {*} [options] Override http request option.
@@ -6226,7 +6226,7 @@ export const DraftApiFactory = function (configuration?: Configuration, basePath
6226
6226
  return localVarFp.getAgentDrafts(agentId, options).then((request) => request(axios, basePath));
6227
6227
  },
6228
6228
  /**
6229
- * Get the latest draft for an agent. Retrieves the most recent draft for the specified agent. The draft is ordered by creation time, with the most recent draft returned. Possible HTTP errors: - 401: Unauthorized (invalid or missing authentication) - 404: Agent not found or no drafts exist for this agent - 500: Internal server error
6229
+ * Get the latest draft for an agent. Retrieves the most recent draft for the specified agent. The draft is ordered by creation time, with the most recent draft returned. For backward compatibility, if no draft exists for the agent, this endpoint will check if the agent exists in the agents table and automatically create a draft from the existing agent data. Possible HTTP errors: - 401: Unauthorized (invalid or missing authentication) - 404: Agent not found or no drafts exist for this agent - 500: Internal server error
6230
6230
  * @summary Get Agent Latest Draft
6231
6231
  * @param {string} agentId Agent ID
6232
6232
  * @param {*} [options] Override http request option.
@@ -6294,7 +6294,7 @@ export class DraftApi extends BaseAPI {
6294
6294
  }
6295
6295
 
6296
6296
  /**
6297
- * Get the latest draft for an agent. Retrieves the most recent draft for the specified agent. The draft is ordered by creation time, with the most recent draft returned. Possible HTTP errors: - 401: Unauthorized (invalid or missing authentication) - 404: Agent not found or no drafts exist for this agent - 500: Internal server error
6297
+ * Get the latest draft for an agent. Retrieves the most recent draft for the specified agent. The draft is ordered by creation time, with the most recent draft returned. For backward compatibility, if no draft exists for the agent, this endpoint will check if the agent exists in the agents table and automatically create a draft from the existing agent data. Possible HTTP errors: - 401: Unauthorized (invalid or missing authentication) - 404: Agent not found or no drafts exist for this agent - 500: Internal server error
6298
6298
  * @summary Get Agent Latest Draft
6299
6299
  * @param {string} agentId Agent ID
6300
6300
  * @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.6.31
7
+ * The version of the OpenAPI document: 0.6.32
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.6.31
7
+ * The version of the OpenAPI document: 0.6.32
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.6.31
7
+ * The version of the OpenAPI document: 0.6.32
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.6.31
5
+ * The version of the OpenAPI document: 0.6.32
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4578,7 +4578,7 @@ export declare const DraftApiAxiosParamCreator: (configuration?: Configuration)
4578
4578
  */
4579
4579
  getAgentDrafts: (agentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4580
4580
  /**
4581
- * Get the latest draft for an agent. Retrieves the most recent draft for the specified agent. The draft is ordered by creation time, with the most recent draft returned. Possible HTTP errors: - 401: Unauthorized (invalid or missing authentication) - 404: Agent not found or no drafts exist for this agent - 500: Internal server error
4581
+ * Get the latest draft for an agent. Retrieves the most recent draft for the specified agent. The draft is ordered by creation time, with the most recent draft returned. For backward compatibility, if no draft exists for the agent, this endpoint will check if the agent exists in the agents table and automatically create a draft from the existing agent data. Possible HTTP errors: - 401: Unauthorized (invalid or missing authentication) - 404: Agent not found or no drafts exist for this agent - 500: Internal server error
4582
4582
  * @summary Get Agent Latest Draft
4583
4583
  * @param {string} agentId Agent ID
4584
4584
  * @param {*} [options] Override http request option.
@@ -4626,7 +4626,7 @@ export declare const DraftApiFp: (configuration?: Configuration) => {
4626
4626
  */
4627
4627
  getAgentDrafts(agentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AgentDraft>>>;
4628
4628
  /**
4629
- * Get the latest draft for an agent. Retrieves the most recent draft for the specified agent. The draft is ordered by creation time, with the most recent draft returned. Possible HTTP errors: - 401: Unauthorized (invalid or missing authentication) - 404: Agent not found or no drafts exist for this agent - 500: Internal server error
4629
+ * Get the latest draft for an agent. Retrieves the most recent draft for the specified agent. The draft is ordered by creation time, with the most recent draft returned. For backward compatibility, if no draft exists for the agent, this endpoint will check if the agent exists in the agents table and automatically create a draft from the existing agent data. Possible HTTP errors: - 401: Unauthorized (invalid or missing authentication) - 404: Agent not found or no drafts exist for this agent - 500: Internal server error
4630
4630
  * @summary Get Agent Latest Draft
4631
4631
  * @param {string} agentId Agent ID
4632
4632
  * @param {*} [options] Override http request option.
@@ -4674,7 +4674,7 @@ export declare const DraftApiFactory: (configuration?: Configuration, basePath?:
4674
4674
  */
4675
4675
  getAgentDrafts(agentId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<AgentDraft>>;
4676
4676
  /**
4677
- * Get the latest draft for an agent. Retrieves the most recent draft for the specified agent. The draft is ordered by creation time, with the most recent draft returned. Possible HTTP errors: - 401: Unauthorized (invalid or missing authentication) - 404: Agent not found or no drafts exist for this agent - 500: Internal server error
4677
+ * Get the latest draft for an agent. Retrieves the most recent draft for the specified agent. The draft is ordered by creation time, with the most recent draft returned. For backward compatibility, if no draft exists for the agent, this endpoint will check if the agent exists in the agents table and automatically create a draft from the existing agent data. Possible HTTP errors: - 401: Unauthorized (invalid or missing authentication) - 404: Agent not found or no drafts exist for this agent - 500: Internal server error
4678
4678
  * @summary Get Agent Latest Draft
4679
4679
  * @param {string} agentId Agent ID
4680
4680
  * @param {*} [options] Override http request option.
@@ -4727,7 +4727,7 @@ export declare class DraftApi extends BaseAPI {
4727
4727
  */
4728
4728
  getAgentDrafts(agentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentDraft[], any, {}>>;
4729
4729
  /**
4730
- * Get the latest draft for an agent. Retrieves the most recent draft for the specified agent. The draft is ordered by creation time, with the most recent draft returned. Possible HTTP errors: - 401: Unauthorized (invalid or missing authentication) - 404: Agent not found or no drafts exist for this agent - 500: Internal server error
4730
+ * Get the latest draft for an agent. Retrieves the most recent draft for the specified agent. The draft is ordered by creation time, with the most recent draft returned. For backward compatibility, if no draft exists for the agent, this endpoint will check if the agent exists in the agents table and automatically create a draft from the existing agent data. Possible HTTP errors: - 401: Unauthorized (invalid or missing authentication) - 404: Agent not found or no drafts exist for this agent - 500: Internal server error
4731
4731
  * @summary Get Agent Latest Draft
4732
4732
  * @param {string} agentId Agent ID
4733
4733
  * @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.6.31
8
+ * The version of the OpenAPI document: 0.6.32
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3381,7 +3381,7 @@ var DraftApiAxiosParamCreator = function (configuration) {
3381
3381
  });
3382
3382
  },
3383
3383
  /**
3384
- * Get the latest draft for an agent. Retrieves the most recent draft for the specified agent. The draft is ordered by creation time, with the most recent draft returned. Possible HTTP errors: - 401: Unauthorized (invalid or missing authentication) - 404: Agent not found or no drafts exist for this agent - 500: Internal server error
3384
+ * Get the latest draft for an agent. Retrieves the most recent draft for the specified agent. The draft is ordered by creation time, with the most recent draft returned. For backward compatibility, if no draft exists for the agent, this endpoint will check if the agent exists in the agents table and automatically create a draft from the existing agent data. Possible HTTP errors: - 401: Unauthorized (invalid or missing authentication) - 404: Agent not found or no drafts exist for this agent - 500: Internal server error
3385
3385
  * @summary Get Agent Latest Draft
3386
3386
  * @param {string} agentId Agent ID
3387
3387
  * @param {*} [options] Override http request option.
@@ -3560,7 +3560,7 @@ var DraftApiFp = function (configuration) {
3560
3560
  });
3561
3561
  },
3562
3562
  /**
3563
- * Get the latest draft for an agent. Retrieves the most recent draft for the specified agent. The draft is ordered by creation time, with the most recent draft returned. Possible HTTP errors: - 401: Unauthorized (invalid or missing authentication) - 404: Agent not found or no drafts exist for this agent - 500: Internal server error
3563
+ * Get the latest draft for an agent. Retrieves the most recent draft for the specified agent. The draft is ordered by creation time, with the most recent draft returned. For backward compatibility, if no draft exists for the agent, this endpoint will check if the agent exists in the agents table and automatically create a draft from the existing agent data. Possible HTTP errors: - 401: Unauthorized (invalid or missing authentication) - 404: Agent not found or no drafts exist for this agent - 500: Internal server error
3564
3564
  * @summary Get Agent Latest Draft
3565
3565
  * @param {string} agentId Agent ID
3566
3566
  * @param {*} [options] Override http request option.
@@ -3648,7 +3648,7 @@ var DraftApiFactory = function (configuration, basePath, axios) {
3648
3648
  return localVarFp.getAgentDrafts(agentId, options).then(function (request) { return request(axios, basePath); });
3649
3649
  },
3650
3650
  /**
3651
- * Get the latest draft for an agent. Retrieves the most recent draft for the specified agent. The draft is ordered by creation time, with the most recent draft returned. Possible HTTP errors: - 401: Unauthorized (invalid or missing authentication) - 404: Agent not found or no drafts exist for this agent - 500: Internal server error
3651
+ * Get the latest draft for an agent. Retrieves the most recent draft for the specified agent. The draft is ordered by creation time, with the most recent draft returned. For backward compatibility, if no draft exists for the agent, this endpoint will check if the agent exists in the agents table and automatically create a draft from the existing agent data. Possible HTTP errors: - 401: Unauthorized (invalid or missing authentication) - 404: Agent not found or no drafts exist for this agent - 500: Internal server error
3652
3652
  * @summary Get Agent Latest Draft
3653
3653
  * @param {string} agentId Agent ID
3654
3654
  * @param {*} [options] Override http request option.
@@ -3720,7 +3720,7 @@ var DraftApi = /** @class */ (function (_super) {
3720
3720
  return (0, exports.DraftApiFp)(this.configuration).getAgentDrafts(agentId, options).then(function (request) { return request(_this.axios, _this.basePath); });
3721
3721
  };
3722
3722
  /**
3723
- * Get the latest draft for an agent. Retrieves the most recent draft for the specified agent. The draft is ordered by creation time, with the most recent draft returned. Possible HTTP errors: - 401: Unauthorized (invalid or missing authentication) - 404: Agent not found or no drafts exist for this agent - 500: Internal server error
3723
+ * Get the latest draft for an agent. Retrieves the most recent draft for the specified agent. The draft is ordered by creation time, with the most recent draft returned. For backward compatibility, if no draft exists for the agent, this endpoint will check if the agent exists in the agents table and automatically create a draft from the existing agent data. Possible HTTP errors: - 401: Unauthorized (invalid or missing authentication) - 404: Agent not found or no drafts exist for this agent - 500: Internal server error
3724
3724
  * @summary Get Agent Latest Draft
3725
3725
  * @param {string} agentId Agent ID
3726
3726
  * @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.6.31
5
+ * The version of the OpenAPI document: 0.6.32
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.6.31
8
+ * The version of the OpenAPI document: 0.6.32
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.6.31
5
+ * The version of the OpenAPI document: 0.6.32
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.6.31
8
+ * The version of the OpenAPI document: 0.6.32
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.6.31
5
+ * The version of the OpenAPI document: 0.6.32
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.6.31
8
+ * The version of the OpenAPI document: 0.6.32
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.6.31
5
+ * The version of the OpenAPI document: 0.6.32
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.6.31
8
+ * The version of the OpenAPI document: 0.6.32
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/docs/DraftApi.md CHANGED
@@ -173,7 +173,7 @@ const { status, data } = await apiInstance.getAgentDrafts(
173
173
  # **getAgentLatestDraft**
174
174
  > AgentDraft getAgentLatestDraft()
175
175
 
176
- Get the latest draft for an agent. Retrieves the most recent draft for the specified agent. The draft is ordered by creation time, with the most recent draft returned. Possible HTTP errors: - 401: Unauthorized (invalid or missing authentication) - 404: Agent not found or no drafts exist for this agent - 500: Internal server error
176
+ Get the latest draft for an agent. Retrieves the most recent draft for the specified agent. The draft is ordered by creation time, with the most recent draft returned. For backward compatibility, if no draft exists for the agent, this endpoint will check if the agent exists in the agents table and automatically create a draft from the existing agent data. Possible HTTP errors: - 401: Unauthorized (invalid or missing authentication) - 404: Agent not found or no drafts exist for this agent - 500: Internal server error
177
177
 
178
178
  ### Example
179
179
 
@@ -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-09-17T10:01:21.725+00:00]
31
- **updated_at** | **string** | Timestamp when this data was updated | [optional] [default to 2025-09-17T10:01:21.725+00:00]
30
+ **created_at** | **string** | Timestamp when this data was created | [optional] [default to 2025-09-17T14:17:56.454+00:00]
31
+ **updated_at** | **string** | Timestamp when this data was updated | [optional] [default to 2025-09-17T14:17:56.454+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.6.31
7
+ * The version of the OpenAPI document: 0.6.32
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.6.31",
3
+ "version": "0.6.32",
4
4
  "description": "OpenAPI client for @crestal/nation-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {