@crestal/nation-sdk 0.6.27 → 0.6.29

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.27
1
+ ## @crestal/nation-sdk@0.6.29
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.27 --save
39
+ npm install @crestal/nation-sdk@0.6.29 --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.27
7
+ * The version of the OpenAPI document: 0.6.29
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -114,6 +114,12 @@ export interface AgentAssetsResponse {
114
114
  * @memberof AgentAssetsResponse
115
115
  */
116
116
  'assets': Array<Asset>;
117
+ /**
118
+ * Credit account information
119
+ * @type {CreditAccount}
120
+ * @memberof AgentAssetsResponse
121
+ */
122
+ 'account': CreditAccount;
117
123
  }
118
124
  /**
119
125
  * Autonomous agent configuration.
@@ -3303,7 +3309,7 @@ export const AgentApiAxiosParamCreator = function (configuration?: Configuration
3303
3309
  };
3304
3310
  },
3305
3311
  /**
3306
- * Export agent configuration as YAML. **Path Parameters:** * `agent_id` - ID of the agent to export **Returns:** * `str` - YAML configuration of the agent **Raises:** * `HTTPException`: - 404: Agent not found
3312
+ * Export agent configuration as YAML. **Path Parameters:** * `agent_id` - ID of the agent to export **Returns:** * `str` - YAML configuration of the agent **Raises:** * `HTTPException`: - 404: Agent not found - 403: Not authorized to access this agent
3307
3313
  * @summary Export Agent
3308
3314
  * @param {string} agentId ID of the agent to export
3309
3315
  * @param {*} [options] Override http request option.
@@ -3848,7 +3854,7 @@ export const AgentApiFp = function(configuration?: Configuration) {
3848
3854
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3849
3855
  },
3850
3856
  /**
3851
- * Export agent configuration as YAML. **Path Parameters:** * `agent_id` - ID of the agent to export **Returns:** * `str` - YAML configuration of the agent **Raises:** * `HTTPException`: - 404: Agent not found
3857
+ * Export agent configuration as YAML. **Path Parameters:** * `agent_id` - ID of the agent to export **Returns:** * `str` - YAML configuration of the agent **Raises:** * `HTTPException`: - 404: Agent not found - 403: Not authorized to access this agent
3852
3858
  * @summary Export Agent
3853
3859
  * @param {string} agentId ID of the agent to export
3854
3860
  * @param {*} [options] Override http request option.
@@ -4045,7 +4051,7 @@ export const AgentApiFactory = function (configuration?: Configuration, basePath
4045
4051
  return localVarFp.createAgent(agentUpdate, options).then((request) => request(axios, basePath));
4046
4052
  },
4047
4053
  /**
4048
- * Export agent configuration as YAML. **Path Parameters:** * `agent_id` - ID of the agent to export **Returns:** * `str` - YAML configuration of the agent **Raises:** * `HTTPException`: - 404: Agent not found
4054
+ * Export agent configuration as YAML. **Path Parameters:** * `agent_id` - ID of the agent to export **Returns:** * `str` - YAML configuration of the agent **Raises:** * `HTTPException`: - 404: Agent not found - 403: Not authorized to access this agent
4049
4055
  * @summary Export Agent
4050
4056
  * @param {string} agentId ID of the agent to export
4051
4057
  * @param {*} [options] Override http request option.
@@ -4205,7 +4211,7 @@ export class AgentApi extends BaseAPI {
4205
4211
  }
4206
4212
 
4207
4213
  /**
4208
- * Export agent configuration as YAML. **Path Parameters:** * `agent_id` - ID of the agent to export **Returns:** * `str` - YAML configuration of the agent **Raises:** * `HTTPException`: - 404: Agent not found
4214
+ * Export agent configuration as YAML. **Path Parameters:** * `agent_id` - ID of the agent to export **Returns:** * `str` - YAML configuration of the agent **Raises:** * `HTTPException`: - 404: Agent not found - 403: Not authorized to access this agent
4209
4215
  * @summary Export Agent
4210
4216
  * @param {string} agentId ID of the agent to export
4211
4217
  * @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.27
7
+ * The version of the OpenAPI document: 0.6.29
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.27
7
+ * The version of the OpenAPI document: 0.6.29
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.27
7
+ * The version of the OpenAPI document: 0.6.29
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.27
5
+ * The version of the OpenAPI document: 0.6.29
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -104,6 +104,12 @@ export interface AgentAssetsResponse {
104
104
  * @memberof AgentAssetsResponse
105
105
  */
106
106
  'assets': Array<Asset>;
107
+ /**
108
+ * Credit account information
109
+ * @type {CreditAccount}
110
+ * @memberof AgentAssetsResponse
111
+ */
112
+ 'account': CreditAccount;
107
113
  }
108
114
  /**
109
115
  * Autonomous agent configuration.
@@ -3176,7 +3182,7 @@ export declare const AgentApiAxiosParamCreator: (configuration?: Configuration)
3176
3182
  */
3177
3183
  createAgent: (agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3178
3184
  /**
3179
- * Export agent configuration as YAML. **Path Parameters:** * `agent_id` - ID of the agent to export **Returns:** * `str` - YAML configuration of the agent **Raises:** * `HTTPException`: - 404: Agent not found
3185
+ * Export agent configuration as YAML. **Path Parameters:** * `agent_id` - ID of the agent to export **Returns:** * `str` - YAML configuration of the agent **Raises:** * `HTTPException`: - 404: Agent not found - 403: Not authorized to access this agent
3180
3186
  * @summary Export Agent
3181
3187
  * @param {string} agentId ID of the agent to export
3182
3188
  * @param {*} [options] Override http request option.
@@ -3302,7 +3308,7 @@ export declare const AgentApiFp: (configuration?: Configuration) => {
3302
3308
  */
3303
3309
  createAgent(agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentResponse>>;
3304
3310
  /**
3305
- * Export agent configuration as YAML. **Path Parameters:** * `agent_id` - ID of the agent to export **Returns:** * `str` - YAML configuration of the agent **Raises:** * `HTTPException`: - 404: Agent not found
3311
+ * Export agent configuration as YAML. **Path Parameters:** * `agent_id` - ID of the agent to export **Returns:** * `str` - YAML configuration of the agent **Raises:** * `HTTPException`: - 404: Agent not found - 403: Not authorized to access this agent
3306
3312
  * @summary Export Agent
3307
3313
  * @param {string} agentId ID of the agent to export
3308
3314
  * @param {*} [options] Override http request option.
@@ -3428,7 +3434,7 @@ export declare const AgentApiFactory: (configuration?: Configuration, basePath?:
3428
3434
  */
3429
3435
  createAgent(agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): AxiosPromise<AgentResponse>;
3430
3436
  /**
3431
- * Export agent configuration as YAML. **Path Parameters:** * `agent_id` - ID of the agent to export **Returns:** * `str` - YAML configuration of the agent **Raises:** * `HTTPException`: - 404: Agent not found
3437
+ * Export agent configuration as YAML. **Path Parameters:** * `agent_id` - ID of the agent to export **Returns:** * `str` - YAML configuration of the agent **Raises:** * `HTTPException`: - 404: Agent not found - 403: Not authorized to access this agent
3432
3438
  * @summary Export Agent
3433
3439
  * @param {string} agentId ID of the agent to export
3434
3440
  * @param {*} [options] Override http request option.
@@ -3557,7 +3563,7 @@ export declare class AgentApi extends BaseAPI {
3557
3563
  */
3558
3564
  createAgent(agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentResponse, any>>;
3559
3565
  /**
3560
- * Export agent configuration as YAML. **Path Parameters:** * `agent_id` - ID of the agent to export **Returns:** * `str` - YAML configuration of the agent **Raises:** * `HTTPException`: - 404: Agent not found
3566
+ * Export agent configuration as YAML. **Path Parameters:** * `agent_id` - ID of the agent to export **Returns:** * `str` - YAML configuration of the agent **Raises:** * `HTTPException`: - 404: Agent not found - 403: Not authorized to access this agent
3561
3567
  * @summary Export Agent
3562
3568
  * @param {string} agentId ID of the agent to export
3563
3569
  * @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.27
8
+ * The version of the OpenAPI document: 0.6.29
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -421,7 +421,7 @@ var AgentApiAxiosParamCreator = function (configuration) {
421
421
  });
422
422
  },
423
423
  /**
424
- * Export agent configuration as YAML. **Path Parameters:** * `agent_id` - ID of the agent to export **Returns:** * `str` - YAML configuration of the agent **Raises:** * `HTTPException`: - 404: Agent not found
424
+ * Export agent configuration as YAML. **Path Parameters:** * `agent_id` - ID of the agent to export **Returns:** * `str` - YAML configuration of the agent **Raises:** * `HTTPException`: - 404: Agent not found - 403: Not authorized to access this agent
425
425
  * @summary Export Agent
426
426
  * @param {string} agentId ID of the agent to export
427
427
  * @param {*} [options] Override http request option.
@@ -1058,7 +1058,7 @@ var AgentApiFp = function (configuration) {
1058
1058
  });
1059
1059
  },
1060
1060
  /**
1061
- * Export agent configuration as YAML. **Path Parameters:** * `agent_id` - ID of the agent to export **Returns:** * `str` - YAML configuration of the agent **Raises:** * `HTTPException`: - 404: Agent not found
1061
+ * Export agent configuration as YAML. **Path Parameters:** * `agent_id` - ID of the agent to export **Returns:** * `str` - YAML configuration of the agent **Raises:** * `HTTPException`: - 404: Agent not found - 403: Not authorized to access this agent
1062
1062
  * @summary Export Agent
1063
1063
  * @param {string} agentId ID of the agent to export
1064
1064
  * @param {*} [options] Override http request option.
@@ -1385,7 +1385,7 @@ var AgentApiFactory = function (configuration, basePath, axios) {
1385
1385
  return localVarFp.createAgent(agentUpdate, options).then(function (request) { return request(axios, basePath); });
1386
1386
  },
1387
1387
  /**
1388
- * Export agent configuration as YAML. **Path Parameters:** * `agent_id` - ID of the agent to export **Returns:** * `str` - YAML configuration of the agent **Raises:** * `HTTPException`: - 404: Agent not found
1388
+ * Export agent configuration as YAML. **Path Parameters:** * `agent_id` - ID of the agent to export **Returns:** * `str` - YAML configuration of the agent **Raises:** * `HTTPException`: - 404: Agent not found - 403: Not authorized to access this agent
1389
1389
  * @summary Export Agent
1390
1390
  * @param {string} agentId ID of the agent to export
1391
1391
  * @param {*} [options] Override http request option.
@@ -1549,7 +1549,7 @@ var AgentApi = /** @class */ (function (_super) {
1549
1549
  return (0, exports.AgentApiFp)(this.configuration).createAgent(agentUpdate, options).then(function (request) { return request(_this.axios, _this.basePath); });
1550
1550
  };
1551
1551
  /**
1552
- * Export agent configuration as YAML. **Path Parameters:** * `agent_id` - ID of the agent to export **Returns:** * `str` - YAML configuration of the agent **Raises:** * `HTTPException`: - 404: Agent not found
1552
+ * Export agent configuration as YAML. **Path Parameters:** * `agent_id` - ID of the agent to export **Returns:** * `str` - YAML configuration of the agent **Raises:** * `HTTPException`: - 404: Agent not found - 403: Not authorized to access this agent
1553
1553
  * @summary Export Agent
1554
1554
  * @param {string} agentId ID of the agent to export
1555
1555
  * @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.27
5
+ * The version of the OpenAPI document: 0.6.29
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.27
8
+ * The version of the OpenAPI document: 0.6.29
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.27
5
+ * The version of the OpenAPI document: 0.6.29
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.27
8
+ * The version of the OpenAPI document: 0.6.29
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.27
5
+ * The version of the OpenAPI document: 0.6.29
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.27
8
+ * The version of the OpenAPI document: 0.6.29
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.27
5
+ * The version of the OpenAPI document: 0.6.29
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.27
8
+ * The version of the OpenAPI document: 0.6.29
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/docs/AgentApi.md CHANGED
@@ -78,7 +78,7 @@ const { status, data } = await apiInstance.createAgent(
78
78
  # **exportAgent**
79
79
  > any exportAgent()
80
80
 
81
- Export agent configuration as YAML. **Path Parameters:** * `agent_id` - ID of the agent to export **Returns:** * `str` - YAML configuration of the agent **Raises:** * `HTTPException`: - 404: Agent not found
81
+ Export agent configuration as YAML. **Path Parameters:** * `agent_id` - ID of the agent to export **Returns:** * `str` - YAML configuration of the agent **Raises:** * `HTTPException`: - 404: Agent not found - 403: Not authorized to access this agent
82
82
 
83
83
  ### Example
84
84
 
@@ -14,6 +14,7 @@ Name | Type | Description | Notes
14
14
  **token_pool** | **string** | | [default to undefined]
15
15
  **tvl** | **string** | Total value locked, set to 0 for this version | [optional] [default to '0']
16
16
  **assets** | [**Array&lt;Asset&gt;**](Asset.md) | List of assets with symbol and balance | [default to undefined]
17
+ **account** | [**CreditAccount**](CreditAccount.md) | Credit account information | [default to undefined]
17
18
 
18
19
  ## Example
19
20
 
@@ -29,6 +30,7 @@ const instance: AgentAssetsResponse = {
29
30
  token_pool,
30
31
  tvl,
31
32
  assets,
33
+ account,
32
34
  };
33
35
  ```
34
36
 
@@ -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-10T12:04:16.197+00:00]
31
- **updated_at** | **string** | Timestamp when this data was updated | [optional] [default to 2025-09-10T12:04:16.197+00:00]
30
+ **created_at** | **string** | Timestamp when this data was created | [optional] [default to 2025-09-11T02:06:41.289+00:00]
31
+ **updated_at** | **string** | Timestamp when this data was updated | [optional] [default to 2025-09-11T02:06:41.289+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.27
7
+ * The version of the OpenAPI document: 0.6.29
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.27",
3
+ "version": "0.6.29",
4
4
  "description": "OpenAPI client for @crestal/nation-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {