Skip to content

Commit a6b6466

Browse files
author
gate
committed
update to v7.2.57
1 parent 3b36d8e commit a6b6466

File tree

6 files changed

+59
-92
lines changed

6 files changed

+59
-92
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## gate-api@7.2.56
1+
## gate-api@7.2.57
22

33
TypeScript NodeJS client for gate-api.
44

@@ -7,7 +7,7 @@ APIv4 provides operations related to spot, margin, and contract trading, includi
77

88
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
99

10-
- API version: v4.106.56
10+
- API version: v4.106.57
1111
- Package version:
1212
- Build package: org.openapitools.codegen.languages.TypeScriptNodeClientCodegen
1313
For more information, please visit [https://www.gate.com/page/contacts](https://www.gate.com/page/contacts)

docs/PartnerDataAggregated.md

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
1111
**tradingUserCount** | **string** | 交易人数,字符串形式(与线上 JSON 序列化一致) 仅在 business_type=0(全部)时返回具体数值,其他业务类型返回 null | [default to undefined]
1212
**timeRangeDesc** | **string** | Time range description | [default to undefined]
1313
**businessType** | **number** | Business Type | [default to undefined]
14-
**businessTypeDesc** | **string** | Business type description | [default to undefined]
14+
**businessTypeDesc** | **string** | 业务类型描述,可取值:全部, 现货, 合约, Alpha, Web3, Perps(DEX), Exchange All, Web3 All, TradFi | [default to undefined]
1515

1616
## Enum: PartnerDataAggregated.BusinessType
1717

@@ -34,24 +34,3 @@ Name | Type | Description | Notes
3434
* `NUMBER_8` (value: `8`)
3535

3636

37-
## Enum: PartnerDataAggregated.BusinessTypeDesc
38-
39-
* `` (value: `'全部'`)
40-
41-
* `` (value: `'现货'`)
42-
43-
* `` (value: `'合约'`)
44-
45-
* `Alpha` (value: `'Alpha'`)
46-
47-
* `Web3` (value: `'Web3'`)
48-
49-
* `PerpsDEX` (value: `'Perps(DEX)'`)
50-
51-
* `ExchangeAll` (value: `'Exchange All'`)
52-
53-
* `Web3All` (value: `'Web3 All'`)
54-
55-
* `TradFi` (value: `'TradFi'`)
56-
57-

model/models.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1233,7 +1233,6 @@ let enumsMap: { [index: string]: any } = {
12331233
'OrderListDataList.Finished': OrderListDataList.Finished,
12341234
'OrderListDataList.Side': OrderListDataList.Side,
12351235
'PartnerDataAggregated.BusinessType': PartnerDataAggregated.BusinessType,
1236-
'PartnerDataAggregated.BusinessTypeDesc': PartnerDataAggregated.BusinessTypeDesc,
12371236
'Position.Mode': Position.Mode,
12381237
'PositionClose.Side': PositionClose.Side,
12391238
'PositionHistoryListDataList.PositionDir': PositionHistoryListDataList.PositionDir,

model/partnerDataAggregated.ts

Lines changed: 53 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -9,84 +9,84 @@
99
* Do not edit the class manually.
1010
*/
1111

12-
1312
export class PartnerDataAggregated {
1413
/**
15-
* 返佣金额,字符串格式保证精度 最多保留 6 位小数,去除尾零
16-
*/
14+
* 返佣金额,字符串格式保证精度 最多保留 6 位小数,去除尾零
15+
*/
1716
'rebateAmount': string;
1817
/**
19-
* 交易量,字符串格式保证精度 最多保留 6 位小数,去除尾零
20-
*/
18+
* 交易量,字符串格式保证精度 最多保留 6 位小数,去除尾零
19+
*/
2120
'tradeVolume': string;
2221
/**
23-
* 净手续费,字符串格式保证精度 最多保留 6 位小数,去除尾零
24-
*/
22+
* 净手续费,字符串格式保证精度 最多保留 6 位小数,去除尾零
23+
*/
2524
'netFee': string;
2625
/**
27-
* Customer count (invited users)
28-
*/
26+
* Customer count (invited users)
27+
*/
2928
'customerCount': number;
3029
/**
31-
* 交易人数,字符串形式(与线上 JSON 序列化一致) 仅在 business_type=0(全部)时返回具体数值,其他业务类型返回 null
32-
*/
30+
* 交易人数,字符串形式(与线上 JSON 序列化一致) 仅在 business_type=0(全部)时返回具体数值,其他业务类型返回 null
31+
*/
3332
'tradingUserCount': string | null;
3433
/**
35-
* Time range description
36-
*/
34+
* Time range description
35+
*/
3736
'timeRangeDesc': string;
3837
/**
39-
* Business Type
40-
*/
38+
* Business Type
39+
*/
4140
'businessType': PartnerDataAggregated.BusinessType;
4241
/**
43-
* Business type description
44-
*/
45-
'businessTypeDesc': PartnerDataAggregated.BusinessTypeDesc;
42+
* 业务类型描述,可取值:全部, 现货, 合约, Alpha, Web3, Perps(DEX), Exchange All, Web3 All, TradFi
43+
*/
44+
'businessTypeDesc': string;
4645

4746
static discriminator: string | undefined = undefined;
4847

49-
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
48+
static attributeTypeMap: Array<{ name: string; baseName: string; type: string }> = [
5049
{
51-
"name": "rebateAmount",
52-
"baseName": "rebate_amount",
53-
"type": "string"
50+
name: 'rebateAmount',
51+
baseName: 'rebate_amount',
52+
type: 'string',
5453
},
5554
{
56-
"name": "tradeVolume",
57-
"baseName": "trade_volume",
58-
"type": "string"
55+
name: 'tradeVolume',
56+
baseName: 'trade_volume',
57+
type: 'string',
5958
},
6059
{
61-
"name": "netFee",
62-
"baseName": "net_fee",
63-
"type": "string"
60+
name: 'netFee',
61+
baseName: 'net_fee',
62+
type: 'string',
6463
},
6564
{
66-
"name": "customerCount",
67-
"baseName": "customer_count",
68-
"type": "number"
65+
name: 'customerCount',
66+
baseName: 'customer_count',
67+
type: 'number',
6968
},
7069
{
71-
"name": "tradingUserCount",
72-
"baseName": "trading_user_count",
73-
"type": "string"
70+
name: 'tradingUserCount',
71+
baseName: 'trading_user_count',
72+
type: 'string',
7473
},
7574
{
76-
"name": "timeRangeDesc",
77-
"baseName": "time_range_desc",
78-
"type": "string"
75+
name: 'timeRangeDesc',
76+
baseName: 'time_range_desc',
77+
type: 'string',
7978
},
8079
{
81-
"name": "businessType",
82-
"baseName": "business_type",
83-
"type": "PartnerDataAggregated.BusinessType"
80+
name: 'businessType',
81+
baseName: 'business_type',
82+
type: 'PartnerDataAggregated.BusinessType',
8483
},
8584
{
86-
"name": "businessTypeDesc",
87-
"baseName": "business_type_desc",
88-
"type": "PartnerDataAggregated.BusinessTypeDesc"
89-
} ];
85+
name: 'businessTypeDesc',
86+
baseName: 'business_type_desc',
87+
type: 'string',
88+
},
89+
];
9090

9191
static getAttributeTypeMap() {
9292
return PartnerDataAggregated.attributeTypeMap;
@@ -95,25 +95,14 @@ export class PartnerDataAggregated {
9595

9696
export namespace PartnerDataAggregated {
9797
export enum BusinessType {
98-
NUMBER_0 = <any> 0,
99-
NUMBER_1 = <any> 1,
100-
NUMBER_2 = <any> 2,
101-
NUMBER_3 = <any> 3,
102-
NUMBER_4 = <any> 4,
103-
NUMBER_5 = <any> 5,
104-
NUMBER_6 = <any> 6,
105-
NUMBER_7 = <any> 7,
106-
NUMBER_8 = <any> 8
107-
}
108-
export enum BusinessTypeDesc {
109-
= <any> '全部',
110-
= <any> '现货',
111-
= <any> '合约',
112-
Alpha = <any> 'Alpha',
113-
Web3 = <any> 'Web3',
114-
PerpsDEX = <any> 'Perps(DEX)',
115-
ExchangeAll = <any> 'Exchange All',
116-
Web3All = <any> 'Web3 All',
117-
TradFi = <any> 'TradFi'
98+
NUMBER_0 = <any>0,
99+
NUMBER_1 = <any>1,
100+
NUMBER_2 = <any>2,
101+
NUMBER_3 = <any>3,
102+
NUMBER_4 = <any>4,
103+
NUMBER_5 = <any>5,
104+
NUMBER_6 = <any>6,
105+
NUMBER_7 = <any>7,
106+
NUMBER_8 = <any>8,
118107
}
119108
}

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gate-api",
3-
"version": "7.2.56",
3+
"version": "7.2.57",
44
"description": "NodeJS client for gate-api",
55
"repository": "gate/gateapi-nodejs",
66
"main": "dist/api.js",

0 commit comments

Comments
 (0)