@crestal/nation-sdk 0.2.34 → 0.6.21

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.34
1
+ ## @crestal/nation-sdk@0.6.21
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.34 --save
39
+ npm install @crestal/nation-sdk@0.6.21 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -55,7 +55,7 @@ Class | Method | HTTP request | Description
55
55
  *AgentApi* | [**exportAgent**](docs/AgentApi.md#exportagent) | **GET** /agents/{agent_id}/export | Export Agent
56
56
  *AgentApi* | [**getAgent**](docs/AgentApi.md#getagent) | **GET** /agents/{agent_id} | Get Agent
57
57
  *AgentApi* | [**getAgentApiKey**](docs/AgentApi.md#getagentapikey) | **GET** /agents/{agent_id}/api-key | Get Agent API Key
58
- *AgentApi* | [**getAgentAssets**](docs/AgentApi.md#getagentassets) | **GET** /agents/{agent_id}/assets | Get agent assets
58
+ *AgentApi* | [**getAgentAssets**](docs/AgentApi.md#getagentassets) | **GET** /agents/{agent_id}/assets | Get Agent Assets
59
59
  *AgentApi* | [**getAgentStatistics**](docs/AgentApi.md#getagentstatistics) | **GET** /agents/{aid}/statistics | Get Agent Statistics
60
60
  *AgentApi* | [**getAgents**](docs/AgentApi.md#getagents) | **GET** /agents | Get Agents
61
61
  *AgentApi* | [**getSkillHistory**](docs/AgentApi.md#getskillhistory) | **GET** /agents/{aid}/skill/history | Skill History
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.34
7
+ * The version of the OpenAPI document: 0.6.21
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3074,7 +3074,7 @@ export const AgentApiAxiosParamCreator = function (configuration?: Configuration
3074
3074
  },
3075
3075
  /**
3076
3076
  * Get the assets and balances for an agent\'s wallet
3077
- * @summary Get agent assets
3077
+ * @summary Get Agent Assets
3078
3078
  * @param {string} agentId ID of the agent
3079
3079
  * @param {*} [options] Override http request option.
3080
3080
  * @throws {RequiredError}
@@ -3095,10 +3095,6 @@ export const AgentApiAxiosParamCreator = function (configuration?: Configuration
3095
3095
  const localVarHeaderParameter = {} as any;
3096
3096
  const localVarQueryParameter = {} as any;
3097
3097
 
3098
- // authentication HTTPBearer required
3099
- // http bearer authentication required
3100
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
3101
-
3102
3098
 
3103
3099
 
3104
3100
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -3552,7 +3548,7 @@ export const AgentApiFp = function(configuration?: Configuration) {
3552
3548
  },
3553
3549
  /**
3554
3550
  * Get the assets and balances for an agent\'s wallet
3555
- * @summary Get agent assets
3551
+ * @summary Get Agent Assets
3556
3552
  * @param {string} agentId ID of the agent
3557
3553
  * @param {*} [options] Override http request option.
3558
3554
  * @throws {RequiredError}
@@ -3740,7 +3736,7 @@ export const AgentApiFactory = function (configuration?: Configuration, basePath
3740
3736
  },
3741
3737
  /**
3742
3738
  * Get the assets and balances for an agent\'s wallet
3743
- * @summary Get agent assets
3739
+ * @summary Get Agent Assets
3744
3740
  * @param {string} agentId ID of the agent
3745
3741
  * @param {*} [options] Override http request option.
3746
3742
  * @throws {RequiredError}
@@ -3906,7 +3902,7 @@ export class AgentApi extends BaseAPI {
3906
3902
 
3907
3903
  /**
3908
3904
  * Get the assets and balances for an agent\'s wallet
3909
- * @summary Get agent assets
3905
+ * @summary Get Agent Assets
3910
3906
  * @param {string} agentId ID of the agent
3911
3907
  * @param {*} [options] Override http request option.
3912
3908
  * @throws {RequiredError}
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.34
7
+ * The version of the OpenAPI document: 0.6.21
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.34
7
+ * The version of the OpenAPI document: 0.6.21
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.34
7
+ * The version of the OpenAPI document: 0.6.21
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.34
5
+ * The version of the OpenAPI document: 0.6.21
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2868,7 +2868,7 @@ export declare const AgentApiAxiosParamCreator: (configuration?: Configuration)
2868
2868
  getAgentApiKey: (agentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2869
2869
  /**
2870
2870
  * Get the assets and balances for an agent\'s wallet
2871
- * @summary Get agent assets
2871
+ * @summary Get Agent Assets
2872
2872
  * @param {string} agentId ID of the agent
2873
2873
  * @param {*} [options] Override http request option.
2874
2874
  * @throws {RequiredError}
@@ -2994,7 +2994,7 @@ export declare const AgentApiFp: (configuration?: Configuration) => {
2994
2994
  getAgentApiKey(agentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentApiKeyResponse>>;
2995
2995
  /**
2996
2996
  * Get the assets and balances for an agent\'s wallet
2997
- * @summary Get agent assets
2997
+ * @summary Get Agent Assets
2998
2998
  * @param {string} agentId ID of the agent
2999
2999
  * @param {*} [options] Override http request option.
3000
3000
  * @throws {RequiredError}
@@ -3120,7 +3120,7 @@ export declare const AgentApiFactory: (configuration?: Configuration, basePath?:
3120
3120
  getAgentApiKey(agentId: string, options?: RawAxiosRequestConfig): AxiosPromise<AgentApiKeyResponse>;
3121
3121
  /**
3122
3122
  * Get the assets and balances for an agent\'s wallet
3123
- * @summary Get agent assets
3123
+ * @summary Get Agent Assets
3124
3124
  * @param {string} agentId ID of the agent
3125
3125
  * @param {*} [options] Override http request option.
3126
3126
  * @throws {RequiredError}
@@ -3252,7 +3252,7 @@ export declare class AgentApi extends BaseAPI {
3252
3252
  getAgentApiKey(agentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentApiKeyResponse, any>>;
3253
3253
  /**
3254
3254
  * Get the assets and balances for an agent\'s wallet
3255
- * @summary Get agent assets
3255
+ * @summary Get Agent Assets
3256
3256
  * @param {string} agentId ID of the agent
3257
3257
  * @param {*} [options] Override http request option.
3258
3258
  * @throws {RequiredError}
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.34
8
+ * The version of the OpenAPI document: 0.6.21
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -514,7 +514,7 @@ var AgentApiAxiosParamCreator = function (configuration) {
514
514
  },
515
515
  /**
516
516
  * Get the assets and balances for an agent\'s wallet
517
- * @summary Get agent assets
517
+ * @summary Get Agent Assets
518
518
  * @param {string} agentId ID of the agent
519
519
  * @param {*} [options] Override http request option.
520
520
  * @throws {RequiredError}
@@ -528,34 +528,24 @@ var AgentApiAxiosParamCreator = function (configuration) {
528
528
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
529
529
  if (options === void 0) { options = {}; }
530
530
  return __generator(this, function (_a) {
531
- switch (_a.label) {
532
- case 0:
533
- // verify required parameter 'agentId' is not null or undefined
534
- (0, common_1.assertParamExists)('getAgentAssets', 'agentId', agentId);
535
- localVarPath = "/agents/{agent_id}/assets"
536
- .replace("{".concat("agent_id", "}"), encodeURIComponent(String(agentId)));
537
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
538
- if (configuration) {
539
- baseOptions = configuration.baseOptions;
540
- }
541
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
542
- localVarHeaderParameter = {};
543
- localVarQueryParameter = {};
544
- // authentication HTTPBearer required
545
- // http bearer authentication required
546
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
547
- case 1:
548
- // authentication HTTPBearer required
549
- // http bearer authentication required
550
- _a.sent();
551
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
552
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
553
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
554
- return [2 /*return*/, {
555
- url: (0, common_1.toPathString)(localVarUrlObj),
556
- options: localVarRequestOptions,
557
- }];
531
+ // verify required parameter 'agentId' is not null or undefined
532
+ (0, common_1.assertParamExists)('getAgentAssets', 'agentId', agentId);
533
+ localVarPath = "/agents/{agent_id}/assets"
534
+ .replace("{".concat("agent_id", "}"), encodeURIComponent(String(agentId)));
535
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
536
+ if (configuration) {
537
+ baseOptions = configuration.baseOptions;
558
538
  }
539
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
540
+ localVarHeaderParameter = {};
541
+ localVarQueryParameter = {};
542
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
543
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
544
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
545
+ return [2 /*return*/, {
546
+ url: (0, common_1.toPathString)(localVarUrlObj),
547
+ options: localVarRequestOptions,
548
+ }];
559
549
  });
560
550
  });
561
551
  },
@@ -1099,7 +1089,7 @@ var AgentApiFp = function (configuration) {
1099
1089
  },
1100
1090
  /**
1101
1091
  * Get the assets and balances for an agent\'s wallet
1102
- * @summary Get agent assets
1092
+ * @summary Get Agent Assets
1103
1093
  * @param {string} agentId ID of the agent
1104
1094
  * @param {*} [options] Override http request option.
1105
1095
  * @throws {RequiredError}
@@ -1387,7 +1377,7 @@ var AgentApiFactory = function (configuration, basePath, axios) {
1387
1377
  },
1388
1378
  /**
1389
1379
  * Get the assets and balances for an agent\'s wallet
1390
- * @summary Get agent assets
1380
+ * @summary Get Agent Assets
1391
1381
  * @param {string} agentId ID of the agent
1392
1382
  * @param {*} [options] Override http request option.
1393
1383
  * @throws {RequiredError}
@@ -1557,7 +1547,7 @@ var AgentApi = /** @class */ (function (_super) {
1557
1547
  };
1558
1548
  /**
1559
1549
  * Get the assets and balances for an agent\'s wallet
1560
- * @summary Get agent assets
1550
+ * @summary Get Agent Assets
1561
1551
  * @param {string} agentId ID of the agent
1562
1552
  * @param {*} [options] Override http request option.
1563
1553
  * @throws {RequiredError}
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.34
5
+ * The version of the OpenAPI document: 0.6.21
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.34
8
+ * The version of the OpenAPI document: 0.6.21
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.34
5
+ * The version of the OpenAPI document: 0.6.21
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.34
8
+ * The version of the OpenAPI document: 0.6.21
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.34
5
+ * The version of the OpenAPI document: 0.6.21
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.34
8
+ * The version of the OpenAPI document: 0.6.21
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.34
5
+ * The version of the OpenAPI document: 0.6.21
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.34
8
+ * The version of the OpenAPI document: 0.6.21
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/docs/AgentApi.md CHANGED
@@ -8,7 +8,7 @@ All URIs are relative to *http://localhost*
8
8
  |[**exportAgent**](#exportagent) | **GET** /agents/{agent_id}/export | Export Agent|
9
9
  |[**getAgent**](#getagent) | **GET** /agents/{agent_id} | Get Agent|
10
10
  |[**getAgentApiKey**](#getagentapikey) | **GET** /agents/{agent_id}/api-key | Get Agent API Key|
11
- |[**getAgentAssets**](#getagentassets) | **GET** /agents/{agent_id}/assets | Get agent assets|
11
+ |[**getAgentAssets**](#getagentassets) | **GET** /agents/{agent_id}/assets | Get Agent Assets|
12
12
  |[**getAgentStatistics**](#getagentstatistics) | **GET** /agents/{aid}/statistics | Get Agent Statistics|
13
13
  |[**getAgents**](#getagents) | **GET** /agents | Get Agents|
14
14
  |[**getSkillHistory**](#getskillhistory) | **GET** /agents/{aid}/skill/history | Skill History|
@@ -270,7 +270,7 @@ const { status, data } = await apiInstance.getAgentAssets(
270
270
 
271
271
  ### Authorization
272
272
 
273
- [HTTPBearer](../README.md#HTTPBearer)
273
+ No authorization required
274
274
 
275
275
  ### HTTP request headers
276
276
 
@@ -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-08-28T10:16:52.373+00:00]
31
- **updated_at** | **string** | Timestamp when this data was updated | [optional] [default to 2025-08-28T10:16:52.373+00:00]
30
+ **created_at** | **string** | Timestamp when this data was created | [optional] [default to 2025-08-28T13:45:39.144+00:00]
31
+ **updated_at** | **string** | Timestamp when this data was updated | [optional] [default to 2025-08-28T13:45:39.144+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.34
7
+ * The version of the OpenAPI document: 0.6.21
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.34",
3
+ "version": "0.6.21",
4
4
  "description": "OpenAPI client for @crestal/nation-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {