@crestal/nation-sdk 0.7.23 → 0.7.24

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.
@@ -22,7 +22,7 @@ docs/AgentPublicInfo.md
22
22
  docs/AgentResponse.md
23
23
  docs/AgentSortOption.md
24
24
  docs/AgentState.md
25
- docs/AgentStatisticsResponse.md
25
+ docs/AgentStatistics.md
26
26
  docs/AgentUpdate.md
27
27
  docs/AgentUserInput.md
28
28
  docs/Asset.md
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @crestal/nation-sdk@0.7.23
1
+ ## @crestal/nation-sdk@0.7.24
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.23 --save
39
+ npm install @crestal/nation-sdk@0.7.24 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -130,7 +130,7 @@ Class | Method | HTTP request | Description
130
130
  - [AgentResponse](docs/AgentResponse.md)
131
131
  - [AgentSortOption](docs/AgentSortOption.md)
132
132
  - [AgentState](docs/AgentState.md)
133
- - [AgentStatisticsResponse](docs/AgentStatisticsResponse.md)
133
+ - [AgentStatistics](docs/AgentStatistics.md)
134
134
  - [AgentUpdate](docs/AgentUpdate.md)
135
135
  - [AgentUserInput](docs/AgentUserInput.md)
136
136
  - [Asset](docs/Asset.md)
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.23
7
+ * The version of the OpenAPI document: 0.7.24
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1419,99 +1419,99 @@ export type AgentState = typeof AgentState[keyof typeof AgentState];
1419
1419
 
1420
1420
 
1421
1421
  /**
1422
- * Response model for agent statistics.
1422
+ * Aggregated statistics for an agent credit account.
1423
1423
  * @export
1424
- * @interface AgentStatisticsResponse
1424
+ * @interface AgentStatistics
1425
1425
  */
1426
- export interface AgentStatisticsResponse {
1426
+ export interface AgentStatistics {
1427
1427
  /**
1428
1428
  * ID of the agent
1429
1429
  * @type {string}
1430
- * @memberof AgentStatisticsResponse
1430
+ * @memberof AgentStatistics
1431
1431
  */
1432
1432
  'agent_id': string;
1433
1433
  /**
1434
- * ID of the agent\'s credit account
1434
+ * ID of the associated credit account
1435
1435
  * @type {string}
1436
- * @memberof AgentStatisticsResponse
1436
+ * @memberof AgentStatistics
1437
1437
  */
1438
1438
  'account_id': string;
1439
1439
  /**
1440
- * Total balance of the agent\'s account
1440
+ * Current credit account balance
1441
1441
  * @type {string}
1442
- * @memberof AgentStatisticsResponse
1442
+ * @memberof AgentStatistics
1443
1443
  */
1444
1444
  'balance': string;
1445
1445
  /**
1446
- * Total income from all credit events
1446
+ * Total income across all events
1447
1447
  * @type {string}
1448
- * @memberof AgentStatisticsResponse
1448
+ * @memberof AgentStatistics
1449
1449
  */
1450
1450
  'total_income': string;
1451
1451
  /**
1452
- * Net income from all credit events
1452
+ * Net income from fee allocations
1453
1453
  * @type {string}
1454
- * @memberof AgentStatisticsResponse
1454
+ * @memberof AgentStatistics
1455
1455
  */
1456
1456
  'net_income': string;
1457
1457
  /**
1458
- * Permanent income from all credit events
1458
+ * Total permanent income across all events
1459
1459
  * @type {string}
1460
- * @memberof AgentStatisticsResponse
1460
+ * @memberof AgentStatistics
1461
1461
  */
1462
1462
  'permanent_income': string;
1463
1463
  /**
1464
- * Permanent profit from all credit events
1464
+ * Permanent profit allocated to the agent
1465
1465
  * @type {string}
1466
- * @memberof AgentStatisticsResponse
1466
+ * @memberof AgentStatistics
1467
1467
  */
1468
1468
  'permanent_profit': string;
1469
1469
  /**
1470
- * Income from last 24 hours
1470
+ * Income generated during the last 24 hours
1471
1471
  * @type {string}
1472
- * @memberof AgentStatisticsResponse
1472
+ * @memberof AgentStatistics
1473
1473
  */
1474
1474
  'last_24h_income': string;
1475
1475
  /**
1476
- * Permanent income from last 24 hours
1476
+ * Permanent income generated during the last 24 hours
1477
1477
  * @type {string}
1478
- * @memberof AgentStatisticsResponse
1478
+ * @memberof AgentStatistics
1479
1479
  */
1480
1480
  'last_24h_permanent_income': string;
1481
1481
  /**
1482
1482
  * Average action cost
1483
1483
  * @type {string}
1484
- * @memberof AgentStatisticsResponse
1484
+ * @memberof AgentStatistics
1485
1485
  */
1486
1486
  'avg_action_cost': string;
1487
1487
  /**
1488
1488
  * Minimum action cost
1489
1489
  * @type {string}
1490
- * @memberof AgentStatisticsResponse
1490
+ * @memberof AgentStatistics
1491
1491
  */
1492
1492
  'min_action_cost': string;
1493
1493
  /**
1494
1494
  * Maximum action cost
1495
1495
  * @type {string}
1496
- * @memberof AgentStatisticsResponse
1496
+ * @memberof AgentStatistics
1497
1497
  */
1498
1498
  'max_action_cost': string;
1499
1499
  /**
1500
- * Low action cost
1500
+ * 20th percentile action cost
1501
1501
  * @type {string}
1502
- * @memberof AgentStatisticsResponse
1502
+ * @memberof AgentStatistics
1503
1503
  */
1504
1504
  'low_action_cost': string;
1505
1505
  /**
1506
- * Medium action cost
1506
+ * 60th percentile action cost
1507
1507
  * @type {string}
1508
- * @memberof AgentStatisticsResponse
1508
+ * @memberof AgentStatistics
1509
1509
  */
1510
1510
  'medium_action_cost': string;
1511
1511
  /**
1512
- * High action cost
1512
+ * 80th percentile action cost
1513
1513
  * @type {string}
1514
- * @memberof AgentStatisticsResponse
1514
+ * @memberof AgentStatistics
1515
1515
  */
1516
1516
  'high_action_cost': string;
1517
1517
  }
@@ -4451,7 +4451,7 @@ export const AgentApiFp = function(configuration?: Configuration) {
4451
4451
  * @param {*} [options] Override http request option.
4452
4452
  * @throws {RequiredError}
4453
4453
  */
4454
- async getAgentStatistics(aid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentStatisticsResponse>> {
4454
+ async getAgentStatistics(aid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentStatistics>> {
4455
4455
  const localVarAxiosArgs = await localVarAxiosParamCreator.getAgentStatistics(aid, options);
4456
4456
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4457
4457
  const localVarOperationServerBasePath = operationServerMap['AgentApi.getAgentStatistics']?.[localVarOperationServerIndex]?.url;
@@ -4663,7 +4663,7 @@ export const AgentApiFactory = function (configuration?: Configuration, basePath
4663
4663
  * @param {*} [options] Override http request option.
4664
4664
  * @throws {RequiredError}
4665
4665
  */
4666
- getAgentStatistics(aid: string, options?: RawAxiosRequestConfig): AxiosPromise<AgentStatisticsResponse> {
4666
+ getAgentStatistics(aid: string, options?: RawAxiosRequestConfig): AxiosPromise<AgentStatistics> {
4667
4667
  return localVarFp.getAgentStatistics(aid, options).then((request) => request(axios, basePath));
4668
4668
  },
4669
4669
  /**
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.23
7
+ * The version of the OpenAPI document: 0.7.24
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.23
7
+ * The version of the OpenAPI document: 0.7.24
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.23
7
+ * The version of the OpenAPI document: 0.7.24
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.23
5
+ * The version of the OpenAPI document: 0.7.24
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1383,99 +1383,99 @@ export declare const AgentState: {
1383
1383
  };
1384
1384
  export type AgentState = typeof AgentState[keyof typeof AgentState];
1385
1385
  /**
1386
- * Response model for agent statistics.
1386
+ * Aggregated statistics for an agent credit account.
1387
1387
  * @export
1388
- * @interface AgentStatisticsResponse
1388
+ * @interface AgentStatistics
1389
1389
  */
1390
- export interface AgentStatisticsResponse {
1390
+ export interface AgentStatistics {
1391
1391
  /**
1392
1392
  * ID of the agent
1393
1393
  * @type {string}
1394
- * @memberof AgentStatisticsResponse
1394
+ * @memberof AgentStatistics
1395
1395
  */
1396
1396
  'agent_id': string;
1397
1397
  /**
1398
- * ID of the agent\'s credit account
1398
+ * ID of the associated credit account
1399
1399
  * @type {string}
1400
- * @memberof AgentStatisticsResponse
1400
+ * @memberof AgentStatistics
1401
1401
  */
1402
1402
  'account_id': string;
1403
1403
  /**
1404
- * Total balance of the agent\'s account
1404
+ * Current credit account balance
1405
1405
  * @type {string}
1406
- * @memberof AgentStatisticsResponse
1406
+ * @memberof AgentStatistics
1407
1407
  */
1408
1408
  'balance': string;
1409
1409
  /**
1410
- * Total income from all credit events
1410
+ * Total income across all events
1411
1411
  * @type {string}
1412
- * @memberof AgentStatisticsResponse
1412
+ * @memberof AgentStatistics
1413
1413
  */
1414
1414
  'total_income': string;
1415
1415
  /**
1416
- * Net income from all credit events
1416
+ * Net income from fee allocations
1417
1417
  * @type {string}
1418
- * @memberof AgentStatisticsResponse
1418
+ * @memberof AgentStatistics
1419
1419
  */
1420
1420
  'net_income': string;
1421
1421
  /**
1422
- * Permanent income from all credit events
1422
+ * Total permanent income across all events
1423
1423
  * @type {string}
1424
- * @memberof AgentStatisticsResponse
1424
+ * @memberof AgentStatistics
1425
1425
  */
1426
1426
  'permanent_income': string;
1427
1427
  /**
1428
- * Permanent profit from all credit events
1428
+ * Permanent profit allocated to the agent
1429
1429
  * @type {string}
1430
- * @memberof AgentStatisticsResponse
1430
+ * @memberof AgentStatistics
1431
1431
  */
1432
1432
  'permanent_profit': string;
1433
1433
  /**
1434
- * Income from last 24 hours
1434
+ * Income generated during the last 24 hours
1435
1435
  * @type {string}
1436
- * @memberof AgentStatisticsResponse
1436
+ * @memberof AgentStatistics
1437
1437
  */
1438
1438
  'last_24h_income': string;
1439
1439
  /**
1440
- * Permanent income from last 24 hours
1440
+ * Permanent income generated during the last 24 hours
1441
1441
  * @type {string}
1442
- * @memberof AgentStatisticsResponse
1442
+ * @memberof AgentStatistics
1443
1443
  */
1444
1444
  'last_24h_permanent_income': string;
1445
1445
  /**
1446
1446
  * Average action cost
1447
1447
  * @type {string}
1448
- * @memberof AgentStatisticsResponse
1448
+ * @memberof AgentStatistics
1449
1449
  */
1450
1450
  'avg_action_cost': string;
1451
1451
  /**
1452
1452
  * Minimum action cost
1453
1453
  * @type {string}
1454
- * @memberof AgentStatisticsResponse
1454
+ * @memberof AgentStatistics
1455
1455
  */
1456
1456
  'min_action_cost': string;
1457
1457
  /**
1458
1458
  * Maximum action cost
1459
1459
  * @type {string}
1460
- * @memberof AgentStatisticsResponse
1460
+ * @memberof AgentStatistics
1461
1461
  */
1462
1462
  'max_action_cost': string;
1463
1463
  /**
1464
- * Low action cost
1464
+ * 20th percentile action cost
1465
1465
  * @type {string}
1466
- * @memberof AgentStatisticsResponse
1466
+ * @memberof AgentStatistics
1467
1467
  */
1468
1468
  'low_action_cost': string;
1469
1469
  /**
1470
- * Medium action cost
1470
+ * 60th percentile action cost
1471
1471
  * @type {string}
1472
- * @memberof AgentStatisticsResponse
1472
+ * @memberof AgentStatistics
1473
1473
  */
1474
1474
  'medium_action_cost': string;
1475
1475
  /**
1476
- * High action cost
1476
+ * 80th percentile action cost
1477
1477
  * @type {string}
1478
- * @memberof AgentStatisticsResponse
1478
+ * @memberof AgentStatistics
1479
1479
  */
1480
1480
  'high_action_cost': string;
1481
1481
  }
@@ -3804,7 +3804,7 @@ export declare const AgentApiFp: (configuration?: Configuration) => {
3804
3804
  * @param {*} [options] Override http request option.
3805
3805
  * @throws {RequiredError}
3806
3806
  */
3807
- getAgentStatistics(aid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentStatisticsResponse>>;
3807
+ getAgentStatistics(aid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentStatistics>>;
3808
3808
  /**
3809
3809
  * Get all agents with their quota information. **Query Parameters:** * `sort` - Sort order for the agents list * `cursor` - Cursor for pagination * `limit` - Maximum number of agents to return (1-100) * `state` - Filter agents by state in upstream_extra JSON field **Returns:** * `AgentListResponse` - Paginated list of agents with their quota information and additional processed data
3810
3810
  * @summary Get Agents
@@ -3947,7 +3947,7 @@ export declare const AgentApiFactory: (configuration?: Configuration, basePath?:
3947
3947
  * @param {*} [options] Override http request option.
3948
3948
  * @throws {RequiredError}
3949
3949
  */
3950
- getAgentStatistics(aid: string, options?: RawAxiosRequestConfig): AxiosPromise<AgentStatisticsResponse>;
3950
+ getAgentStatistics(aid: string, options?: RawAxiosRequestConfig): AxiosPromise<AgentStatistics>;
3951
3951
  /**
3952
3952
  * Get all agents with their quota information. **Query Parameters:** * `sort` - Sort order for the agents list * `cursor` - Cursor for pagination * `limit` - Maximum number of agents to return (1-100) * `state` - Filter agents by state in upstream_extra JSON field **Returns:** * `AgentListResponse` - Paginated list of agents with their quota information and additional processed data
3953
3953
  * @summary Get Agents
@@ -4098,7 +4098,7 @@ export declare class AgentApi extends BaseAPI {
4098
4098
  * @throws {RequiredError}
4099
4099
  * @memberof AgentApi
4100
4100
  */
4101
- getAgentStatistics(aid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentStatisticsResponse, any, {}>>;
4101
+ getAgentStatistics(aid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentStatistics, any, {}>>;
4102
4102
  /**
4103
4103
  * Get all agents with their quota information. **Query Parameters:** * `sort` - Sort order for the agents list * `cursor` - Cursor for pagination * `limit` - Maximum number of agents to return (1-100) * `state` - Filter agents by state in upstream_extra JSON field **Returns:** * `AgentListResponse` - Paginated list of agents with their quota information and additional processed data
4104
4104
  * @summary Get Agents
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.23
8
+ * The version of the OpenAPI document: 0.7.24
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
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.23
5
+ * The version of the OpenAPI document: 0.7.24
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.23
8
+ * The version of the OpenAPI document: 0.7.24
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.23
5
+ * The version of the OpenAPI document: 0.7.24
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.23
8
+ * The version of the OpenAPI document: 0.7.24
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.23
5
+ * The version of the OpenAPI document: 0.7.24
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.23
8
+ * The version of the OpenAPI document: 0.7.24
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.23
5
+ * The version of the OpenAPI document: 0.7.24
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.23
8
+ * The version of the OpenAPI document: 0.7.24
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/docs/AgentApi.md CHANGED
@@ -289,7 +289,7 @@ const { status, data } = await apiInstance.getAgentAssets(
289
289
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
290
290
 
291
291
  # **getAgentStatistics**
292
- > AgentStatisticsResponse getAgentStatistics()
292
+ > AgentStatistics getAgentStatistics()
293
293
 
294
294
  Get statistics for an agent account. This endpoint is not in readonly router, because it may create a new account.
295
295
 
@@ -320,7 +320,7 @@ const { status, data } = await apiInstance.getAgentStatistics(
320
320
 
321
321
  ### Return type
322
322
 
323
- **AgentStatisticsResponse**
323
+ **AgentStatistics**
324
324
 
325
325
  ### Authorization
326
326
 
@@ -0,0 +1,49 @@
1
+ # AgentStatistics
2
+
3
+ Aggregated statistics for an agent credit account.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **agent_id** | **string** | ID of the agent | [default to undefined]
10
+ **account_id** | **string** | ID of the associated credit account | [default to undefined]
11
+ **balance** | **string** | Current credit account balance | [default to undefined]
12
+ **total_income** | **string** | Total income across all events | [default to undefined]
13
+ **net_income** | **string** | Net income from fee allocations | [default to undefined]
14
+ **permanent_income** | **string** | Total permanent income across all events | [default to undefined]
15
+ **permanent_profit** | **string** | Permanent profit allocated to the agent | [default to undefined]
16
+ **last_24h_income** | **string** | Income generated during the last 24 hours | [default to undefined]
17
+ **last_24h_permanent_income** | **string** | Permanent income generated during the last 24 hours | [default to undefined]
18
+ **avg_action_cost** | **string** | Average action cost | [default to undefined]
19
+ **min_action_cost** | **string** | Minimum action cost | [default to undefined]
20
+ **max_action_cost** | **string** | Maximum action cost | [default to undefined]
21
+ **low_action_cost** | **string** | 20th percentile action cost | [default to undefined]
22
+ **medium_action_cost** | **string** | 60th percentile action cost | [default to undefined]
23
+ **high_action_cost** | **string** | 80th percentile action cost | [default to undefined]
24
+
25
+ ## Example
26
+
27
+ ```typescript
28
+ import { AgentStatistics } from '@crestal/nation-sdk';
29
+
30
+ const instance: AgentStatistics = {
31
+ agent_id,
32
+ account_id,
33
+ balance,
34
+ total_income,
35
+ net_income,
36
+ permanent_income,
37
+ permanent_profit,
38
+ last_24h_income,
39
+ last_24h_permanent_income,
40
+ avg_action_cost,
41
+ min_action_cost,
42
+ max_action_cost,
43
+ low_action_cost,
44
+ medium_action_cost,
45
+ high_action_cost,
46
+ };
47
+ ```
48
+
49
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -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-30T10:36:48.530+00:00]
31
- **updated_at** | **string** | Timestamp when this data was updated | [optional] [default to 2025-09-30T10:36:48.531+00:00]
30
+ **created_at** | **string** | Timestamp when this data was created | [optional] [default to 2025-10-03T08:42:44.716+00:00]
31
+ **updated_at** | **string** | Timestamp when this data was updated | [optional] [default to 2025-10-03T08:42:44.716+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.23
7
+ * The version of the OpenAPI document: 0.7.24
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.23",
3
+ "version": "0.7.24",
4
4
  "description": "OpenAPI client for @crestal/nation-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
@@ -1,49 +0,0 @@
1
- # AgentStatisticsResponse
2
-
3
- Response model for agent statistics.
4
-
5
- ## Properties
6
-
7
- Name | Type | Description | Notes
8
- ------------ | ------------- | ------------- | -------------
9
- **agent_id** | **string** | ID of the agent | [default to undefined]
10
- **account_id** | **string** | ID of the agent\&#39;s credit account | [default to undefined]
11
- **balance** | **string** | Total balance of the agent\&#39;s account | [default to undefined]
12
- **total_income** | **string** | Total income from all credit events | [default to undefined]
13
- **net_income** | **string** | Net income from all credit events | [default to undefined]
14
- **permanent_income** | **string** | Permanent income from all credit events | [default to undefined]
15
- **permanent_profit** | **string** | Permanent profit from all credit events | [default to undefined]
16
- **last_24h_income** | **string** | Income from last 24 hours | [default to undefined]
17
- **last_24h_permanent_income** | **string** | Permanent income from last 24 hours | [default to undefined]
18
- **avg_action_cost** | **string** | Average action cost | [default to undefined]
19
- **min_action_cost** | **string** | Minimum action cost | [default to undefined]
20
- **max_action_cost** | **string** | Maximum action cost | [default to undefined]
21
- **low_action_cost** | **string** | Low action cost | [default to undefined]
22
- **medium_action_cost** | **string** | Medium action cost | [default to undefined]
23
- **high_action_cost** | **string** | High action cost | [default to undefined]
24
-
25
- ## Example
26
-
27
- ```typescript
28
- import { AgentStatisticsResponse } from '@crestal/nation-sdk';
29
-
30
- const instance: AgentStatisticsResponse = {
31
- agent_id,
32
- account_id,
33
- balance,
34
- total_income,
35
- net_income,
36
- permanent_income,
37
- permanent_profit,
38
- last_24h_income,
39
- last_24h_permanent_income,
40
- avg_action_cost,
41
- min_action_cost,
42
- max_action_cost,
43
- low_action_cost,
44
- medium_action_cost,
45
- high_action_cost,
46
- };
47
- ```
48
-
49
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)