@binance/margin-trading 9.0.0 → 9.0.1

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/dist/index.js CHANGED
@@ -44,7 +44,7 @@ var import_common11 = require("@binance/common");
44
44
 
45
45
  // package.json
46
46
  var name = "@binance/margin-trading";
47
- var version = "9.0.0";
47
+ var version = "9.0.1";
48
48
 
49
49
  // src/rest-api/index.ts
50
50
  var rest_api_exports = {};
@@ -78,7 +78,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
78
78
  * Weight: 3000
79
79
  *
80
80
  * @summary Adjust cross margin max leverage (USER_DATA)
81
- * @param {number} maxLeverage Can only adjust 3 , 5 or 10,Example: maxLeverage = 5 or 3 for Cross Margin Classic; maxLeverage=10 for Cross Margin Pro 10x leverage or 20x if compliance allows.
81
+ * @param {number | bigint} maxLeverage Can only adjust 3 , 5 or 10,Example: maxLeverage = 5 or 3 for Cross Margin Classic; maxLeverage=10 for Cross Margin Pro 10x leverage or 20x if compliance allows.
82
82
  *
83
83
  * @throws {RequiredError}
84
84
  */
@@ -105,7 +105,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
105
105
  *
106
106
  * @summary Disable Isolated Margin Account (TRADE)
107
107
  * @param {string} symbol
108
- * @param {number} [recvWindow] No more than 60000
108
+ * @param {number | bigint} [recvWindow] No more than 60000
109
109
  *
110
110
  * @throws {RequiredError}
111
111
  */
@@ -134,7 +134,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
134
134
  *
135
135
  * @summary Enable Isolated Margin Account (TRADE)
136
136
  * @param {string} symbol
137
- * @param {number} [recvWindow] No more than 60000
137
+ * @param {number | bigint} [recvWindow] No more than 60000
138
138
  *
139
139
  * @throws {RequiredError}
140
140
  */
@@ -162,7 +162,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
162
162
  * Weight: 1(IP)
163
163
  *
164
164
  * @summary Get BNB Burn Status (USER_DATA)
165
- * @param {number} [recvWindow] No more than 60000
165
+ * @param {number | bigint} [recvWindow] No more than 60000
166
166
  *
167
167
  * @throws {RequiredError}
168
168
  */
@@ -186,7 +186,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
186
186
  * Weight: 10(IP)
187
187
  *
188
188
  * @summary Get Summary of Margin account (USER_DATA)
189
- * @param {number} [recvWindow] No more than 60000
189
+ * @param {number | bigint} [recvWindow] No more than 60000
190
190
  *
191
191
  * @throws {RequiredError}
192
192
  */
@@ -213,11 +213,11 @@ var AccountApiAxiosParamCreator = function(configuration) {
213
213
  * @param {string} [asset]
214
214
  * @param {string} [symbol] isolated margin pair
215
215
  * @param {string} [type] Transfer Type: ROLL_IN, ROLL_OUT
216
- * @param {number} [startTime] 只支持查询最近90天的数据
217
- * @param {number} [endTime]
218
- * @param {number} [fromId] 如设置fromId, 将返回id > fromId的数据。否则将返回最新数据
219
- * @param {number} [limit] Default Value: 500; Max Value: 1000
220
- * @param {number} [recvWindow] No more than 60000
216
+ * @param {number | bigint} [startTime] 只支持查询最近90天的数据
217
+ * @param {number | bigint} [endTime]
218
+ * @param {number | bigint} [fromId] 如设置fromId, 将返回id > fromId的数据。否则将返回最新数据
219
+ * @param {number | bigint} [limit] Default Value: 500; Max Value: 1000
220
+ * @param {number | bigint} [recvWindow] No more than 60000
221
221
  *
222
222
  * @throws {RequiredError}
223
223
  */
@@ -262,7 +262,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
262
262
  * Weight: 10(IP)
263
263
  *
264
264
  * @summary Query Cross Margin Account Details (USER_DATA)
265
- * @param {number} [recvWindow] No more than 60000
265
+ * @param {number | bigint} [recvWindow] No more than 60000
266
266
  *
267
267
  * @throws {RequiredError}
268
268
  */
@@ -286,9 +286,9 @@ var AccountApiAxiosParamCreator = function(configuration) {
286
286
  * Weight: 1 when coin is specified;(IP)
287
287
  *
288
288
  * @summary Query Cross Margin Fee Data (USER_DATA)
289
- * @param {number} [vipLevel] User's current specific margin data will be returned if vipLevel is omitted
289
+ * @param {number | bigint} [vipLevel] User's current specific margin data will be returned if vipLevel is omitted
290
290
  * @param {string} [coin]
291
- * @param {number} [recvWindow] No more than 60000
291
+ * @param {number | bigint} [recvWindow] No more than 60000
292
292
  *
293
293
  * @throws {RequiredError}
294
294
  */
@@ -318,7 +318,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
318
318
  * Weight: 1(IP)
319
319
  *
320
320
  * @summary Query Enabled Isolated Margin Account Limit (USER_DATA)
321
- * @param {number} [recvWindow] No more than 60000
321
+ * @param {number | bigint} [recvWindow] No more than 60000
322
322
  *
323
323
  * @throws {RequiredError}
324
324
  */
@@ -346,7 +346,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
346
346
  *
347
347
  * @summary Query Isolated Margin Account Info (USER_DATA)
348
348
  * @param {string} [symbols] Max 5 symbols can be sent; separated by ",". e.g. "BTCUSDT,BNBUSDT,ADAUSDT"
349
- * @param {number} [recvWindow] No more than 60000
349
+ * @param {number | bigint} [recvWindow] No more than 60000
350
350
  *
351
351
  * @throws {RequiredError}
352
352
  */
@@ -373,9 +373,9 @@ var AccountApiAxiosParamCreator = function(configuration) {
373
373
  * Weight: 1 when a single is specified;(IP)
374
374
  *
375
375
  * @summary Query Isolated Margin Fee Data (USER_DATA)
376
- * @param {number} [vipLevel] User's current specific margin data will be returned if vipLevel is omitted
376
+ * @param {number | bigint} [vipLevel] User's current specific margin data will be returned if vipLevel is omitted
377
377
  * @param {string} [symbol] isolated margin pair
378
- * @param {number} [recvWindow] No more than 60000
378
+ * @param {number | bigint} [recvWindow] No more than 60000
379
379
  *
380
380
  * @throws {RequiredError}
381
381
  */
@@ -758,11 +758,11 @@ var BorrowRepayApiAxiosParamCreator = function(configuration) {
758
758
  * @summary Get Interest History (USER_DATA)
759
759
  * @param {string} [asset]
760
760
  * @param {string} [isolatedSymbol] isolated symbol
761
- * @param {number} [startTime] 只支持查询最近90天的数据
762
- * @param {number} [endTime]
763
- * @param {number} [current] Currently querying page. Start from 1. Default:1
764
- * @param {number} [size] Default:10 Max:100
765
- * @param {number} [recvWindow] No more than 60000
761
+ * @param {number | bigint} [startTime] 只支持查询最近90天的数据
762
+ * @param {number | bigint} [endTime]
763
+ * @param {number | bigint} [current] Currently querying page. Start from 1. Default:1
764
+ * @param {number | bigint} [size] Default:10 Max:100
765
+ * @param {number | bigint} [recvWindow] No more than 60000
766
766
  *
767
767
  * @throws {RequiredError}
768
768
  */
@@ -809,7 +809,7 @@ var BorrowRepayApiAxiosParamCreator = function(configuration) {
809
809
  * @param {string} symbol
810
810
  * @param {string} amount
811
811
  * @param {string} type `MARGIN`,`ISOLATED`
812
- * @param {number} [recvWindow] No more than 60000
812
+ * @param {number | bigint} [recvWindow] No more than 60000
813
813
  *
814
814
  * @throws {RequiredError}
815
815
  */
@@ -861,12 +861,12 @@ var BorrowRepayApiAxiosParamCreator = function(configuration) {
861
861
  * @param {string} type `MARGIN`,`ISOLATED`
862
862
  * @param {string} [asset]
863
863
  * @param {string} [isolatedSymbol] isolated symbol
864
- * @param {number} [txId] `tranId` in `POST /sapi/v1/margin/loan`
865
- * @param {number} [startTime] 只支持查询最近90天的数据
866
- * @param {number} [endTime]
867
- * @param {number} [current] Currently querying page. Start from 1. Default:1
868
- * @param {number} [size] Default:10 Max:100
869
- * @param {number} [recvWindow] No more than 60000
864
+ * @param {number | bigint} [txId] `tranId` in `POST /sapi/v1/margin/loan`
865
+ * @param {number | bigint} [startTime] 只支持查询最近90天的数据
866
+ * @param {number | bigint} [endTime]
867
+ * @param {number | bigint} [current] Currently querying page. Start from 1. Default:1
868
+ * @param {number | bigint} [size] Default:10 Max:100
869
+ * @param {number | bigint} [recvWindow] No more than 60000
870
870
  *
871
871
  * @throws {RequiredError}
872
872
  */
@@ -916,10 +916,10 @@ var BorrowRepayApiAxiosParamCreator = function(configuration) {
916
916
  *
917
917
  * @summary Query Margin Interest Rate History (USER_DATA)
918
918
  * @param {string} asset
919
- * @param {number} [vipLevel] User's current specific margin data will be returned if vipLevel is omitted
920
- * @param {number} [startTime] 只支持查询最近90天的数据
921
- * @param {number} [endTime]
922
- * @param {number} [recvWindow] No more than 60000
919
+ * @param {number | bigint} [vipLevel] User's current specific margin data will be returned if vipLevel is omitted
920
+ * @param {number | bigint} [startTime] 只支持查询最近90天的数据
921
+ * @param {number | bigint} [endTime]
922
+ * @param {number | bigint} [recvWindow] No more than 60000
923
923
  *
924
924
  * @throws {RequiredError}
925
925
  */
@@ -961,7 +961,7 @@ var BorrowRepayApiAxiosParamCreator = function(configuration) {
961
961
  * @summary Query Max Borrow (USER_DATA)
962
962
  * @param {string} asset
963
963
  * @param {string} [isolatedSymbol] isolated symbol
964
- * @param {number} [recvWindow] No more than 60000
964
+ * @param {number | bigint} [recvWindow] No more than 60000
965
965
  *
966
966
  * @throws {RequiredError}
967
967
  */
@@ -1247,7 +1247,7 @@ var MarketDataApiAxiosParamCreator = function(configuration) {
1247
1247
  *
1248
1248
  * @summary Get All Isolated Margin Symbol(MARKET_DATA)
1249
1249
  * @param {string} [symbol] isolated margin pair
1250
- * @param {number} [recvWindow] No more than 60000
1250
+ * @param {number | bigint} [recvWindow] No more than 60000
1251
1251
  *
1252
1252
  * @throws {RequiredError}
1253
1253
  */
@@ -1298,7 +1298,7 @@ var MarketDataApiAxiosParamCreator = function(configuration) {
1298
1298
  * Weight: 100
1299
1299
  *
1300
1300
  * @summary Get Delist Schedule (MARKET_DATA)
1301
- * @param {number} [recvWindow] No more than 60000
1301
+ * @param {number | bigint} [recvWindow] No more than 60000
1302
1302
  *
1303
1303
  * @throws {RequiredError}
1304
1304
  */
@@ -1347,7 +1347,7 @@ var MarketDataApiAxiosParamCreator = function(configuration) {
1347
1347
  * Weight: 100
1348
1348
  *
1349
1349
  * @summary Get list Schedule (MARKET_DATA)
1350
- * @param {number} [recvWindow] No more than 60000
1350
+ * @param {number | bigint} [recvWindow] No more than 60000
1351
1351
  *
1352
1352
  * @throws {RequiredError}
1353
1353
  */
@@ -1372,8 +1372,8 @@ var MarketDataApiAxiosParamCreator = function(configuration) {
1372
1372
  *
1373
1373
  * @summary Query Isolated Margin Tier Data (USER_DATA)
1374
1374
  * @param {string} symbol
1375
- * @param {number} [tier] All margin tier data will be returned if tier is omitted
1376
- * @param {number} [recvWindow] No more than 60000
1375
+ * @param {number | bigint} [tier] All margin tier data will be returned if tier is omitted
1376
+ * @param {number | bigint} [recvWindow] No more than 60000
1377
1377
  *
1378
1378
  * @throws {RequiredError}
1379
1379
  */
@@ -1933,7 +1933,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
1933
1933
  * @param {string} [ip] Can be added in batches, separated by commas. Max 30 for an API key
1934
1934
  * @param {string} [publicKey] 1. If publicKey is inputted it will create an RSA or Ed25519 key. <br />2. Need to be encoded to URL-encoded format
1935
1935
  * @param {string} [permissionMode] This parameter is only for the Ed25519 API key, and does not effact for other encryption methods. The value can be TRADE (TRADE for all permissions) or READ (READ for USER_DATA, FIX_API_READ_ONLY). The default value is TRADE.
1936
- * @param {number} [recvWindow] No more than 60000
1936
+ * @param {number | bigint} [recvWindow] No more than 60000
1937
1937
  *
1938
1938
  * @throws {RequiredError}
1939
1939
  */
@@ -1979,7 +1979,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
1979
1979
  * @summary Delete Special Key(Low-Latency Trading)(TRADE)
1980
1980
  * @param {string} [apiName]
1981
1981
  * @param {string} [symbol] isolated margin pair
1982
- * @param {number} [recvWindow] No more than 60000
1982
+ * @param {number | bigint} [recvWindow] No more than 60000
1983
1983
  *
1984
1984
  * @throws {RequiredError}
1985
1985
  */
@@ -2013,7 +2013,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
2013
2013
  * @summary Edit ip for Special Key(Low-Latency Trading)(TRADE)
2014
2014
  * @param {string} ip Can be added in batches, separated by commas. Max 30 for an API key
2015
2015
  * @param {string} [symbol] isolated margin pair
2016
- * @param {number} [recvWindow] No more than 60000
2016
+ * @param {number | bigint} [recvWindow] No more than 60000
2017
2017
  *
2018
2018
  * @throws {RequiredError}
2019
2019
  */
@@ -2046,12 +2046,12 @@ var TradeApiAxiosParamCreator = function(configuration) {
2046
2046
  * Weight: 1(IP)
2047
2047
  *
2048
2048
  * @summary Get Force Liquidation Record (USER_DATA)
2049
- * @param {number} [startTime] 只支持查询最近90天的数据
2050
- * @param {number} [endTime]
2049
+ * @param {number | bigint} [startTime] 只支持查询最近90天的数据
2050
+ * @param {number | bigint} [endTime]
2051
2051
  * @param {string} [isolatedSymbol] isolated symbol
2052
- * @param {number} [current] Currently querying page. Start from 1. Default:1
2053
- * @param {number} [size] Default:10 Max:100
2054
- * @param {number} [recvWindow] No more than 60000
2052
+ * @param {number | bigint} [current] Currently querying page. Start from 1. Default:1
2053
+ * @param {number | bigint} [size] Default:10 Max:100
2054
+ * @param {number | bigint} [recvWindow] No more than 60000
2055
2055
  *
2056
2056
  * @throws {RequiredError}
2057
2057
  */
@@ -2090,7 +2090,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
2090
2090
  * Weight: 100
2091
2091
  *
2092
2092
  * @summary Get Small Liability Exchange Coin List (USER_DATA)
2093
- * @param {number} [recvWindow] No more than 60000
2093
+ * @param {number | bigint} [recvWindow] No more than 60000
2094
2094
  *
2095
2095
  * @throws {RequiredError}
2096
2096
  */
@@ -2114,11 +2114,11 @@ var TradeApiAxiosParamCreator = function(configuration) {
2114
2114
  * Weight: 100(UID)
2115
2115
  *
2116
2116
  * @summary Get Small Liability Exchange History (USER_DATA)
2117
- * @param {number} current Currently querying page. Start from 1. Default:1
2118
- * @param {number} size Default:10, Max:100
2119
- * @param {number} [startTime] 只支持查询最近90天的数据
2120
- * @param {number} [endTime]
2121
- * @param {number} [recvWindow] No more than 60000
2117
+ * @param {number | bigint} current Currently querying page. Start from 1. Default:1
2118
+ * @param {number | bigint} size Default:10, Max:100
2119
+ * @param {number | bigint} [startTime] 只支持查询最近90天的数据
2120
+ * @param {number | bigint} [endTime]
2121
+ * @param {number | bigint} [recvWindow] No more than 60000
2122
2122
  *
2123
2123
  * @throws {RequiredError}
2124
2124
  */
@@ -2159,7 +2159,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
2159
2159
  * @summary Margin Account Cancel all Open Orders on a Symbol (TRADE)
2160
2160
  * @param {string} symbol
2161
2161
  * @param {string} [isIsolated] for isolated margin or not, "TRUE", "FALSE",default "FALSE"
2162
- * @param {number} [recvWindow] No more than 60000
2162
+ * @param {number | bigint} [recvWindow] No more than 60000
2163
2163
  *
2164
2164
  * @throws {RequiredError}
2165
2165
  */
@@ -2194,10 +2194,10 @@ var TradeApiAxiosParamCreator = function(configuration) {
2194
2194
  * @summary Margin Account Cancel OCO (TRADE)
2195
2195
  * @param {string} symbol
2196
2196
  * @param {string} [isIsolated] for isolated margin or not, "TRUE", "FALSE",default "FALSE"
2197
- * @param {number} [orderListId] Either `orderListId` or `listClientOrderId` must be provided
2197
+ * @param {number | bigint} [orderListId] Either `orderListId` or `listClientOrderId` must be provided
2198
2198
  * @param {string} [listClientOrderId] Either `orderListId` or `listClientOrderId` must be provided
2199
2199
  * @param {string} [newClientOrderId] Used to uniquely identify this cancel. Automatically generated by default
2200
- * @param {number} [recvWindow] No more than 60000
2200
+ * @param {number | bigint} [recvWindow] No more than 60000
2201
2201
  *
2202
2202
  * @throws {RequiredError}
2203
2203
  */
@@ -2241,10 +2241,10 @@ var TradeApiAxiosParamCreator = function(configuration) {
2241
2241
  * @summary Margin Account Cancel Order (TRADE)
2242
2242
  * @param {string} symbol
2243
2243
  * @param {string} [isIsolated] for isolated margin or not, "TRUE", "FALSE",default "FALSE"
2244
- * @param {number} [orderId]
2244
+ * @param {number | bigint} [orderId]
2245
2245
  * @param {string} [origClientOrderId]
2246
2246
  * @param {string} [newClientOrderId] Used to uniquely identify this cancel. Automatically generated by default
2247
- * @param {number} [recvWindow] No more than 60000
2247
+ * @param {number | bigint} [recvWindow] No more than 60000
2248
2248
  *
2249
2249
  * @throws {RequiredError}
2250
2250
  */
@@ -2303,7 +2303,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
2303
2303
  * @param {string} [sideEffectType] NO_SIDE_EFFECT, MARGIN_BUY, AUTO_REPAY,AUTO_BORROW_REPAY; default NO_SIDE_EFFECT. More info in [FAQ](https://www.binance.com/en/support/faq/how-to-use-the-sideeffecttype-parameter-with-the-margin-order-endpoints-f9fc51cda1984bf08b95e0d96c4570bc)
2304
2304
  * @param {string} [selfTradePreventionMode] The allowed enums is dependent on what is configured on the symbol. The possible supported values are EXPIRE_TAKER, EXPIRE_MAKER, EXPIRE_BOTH, NONE
2305
2305
  * @param {boolean} [autoRepayAtCancel] Only when MARGIN_BUY or AUTO_BORROW_REPAY order takes effect, true means that the debt generated by the order needs to be repay after the order is cancelled. The default is true
2306
- * @param {number} [recvWindow] No more than 60000
2306
+ * @param {number | bigint} [recvWindow] No more than 60000
2307
2307
  *
2308
2308
  * @throws {RequiredError}
2309
2309
  */
@@ -2400,7 +2400,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
2400
2400
  * @param {MarginAccountNewOrderTimeInForceEnum} [timeInForce] GTC,IOC,FOK
2401
2401
  * @param {string} [selfTradePreventionMode] The allowed enums is dependent on what is configured on the symbol. The possible supported values are EXPIRE_TAKER, EXPIRE_MAKER, EXPIRE_BOTH, NONE
2402
2402
  * @param {boolean} [autoRepayAtCancel] Only when MARGIN_BUY or AUTO_BORROW_REPAY order takes effect, true means that the debt generated by the order needs to be repay after the order is cancelled. The default is true
2403
- * @param {number} [recvWindow] No more than 60000
2403
+ * @param {number | bigint} [recvWindow] No more than 60000
2404
2404
  *
2405
2405
  * @throws {RequiredError}
2406
2406
  */
@@ -2766,7 +2766,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
2766
2766
  * @summary Margin Manual Liquidation(MARGIN)
2767
2767
  * @param {string} type `MARGIN`,`ISOLATED`
2768
2768
  * @param {string} [symbol] isolated margin pair
2769
- * @param {number} [recvWindow] No more than 60000
2769
+ * @param {number | bigint} [recvWindow] No more than 60000
2770
2770
  *
2771
2771
  * @throws {RequiredError}
2772
2772
  */
@@ -2799,7 +2799,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
2799
2799
  * @summary Query Current Margin Order Count Usage (TRADE)
2800
2800
  * @param {string} [isIsolated] for isolated margin or not, "TRUE", "FALSE",default "FALSE"
2801
2801
  * @param {string} [symbol] isolated margin pair
2802
- * @param {number} [recvWindow] No more than 60000
2802
+ * @param {number | bigint} [recvWindow] No more than 60000
2803
2803
  *
2804
2804
  * @throws {RequiredError}
2805
2805
  */
@@ -2831,11 +2831,11 @@ var TradeApiAxiosParamCreator = function(configuration) {
2831
2831
  * @summary Query Margin Account\'s all OCO (USER_DATA)
2832
2832
  * @param {string} [isIsolated] for isolated margin or not, "TRUE", "FALSE",default "FALSE"
2833
2833
  * @param {string} [symbol] isolated margin pair
2834
- * @param {number} [fromId] 如设置fromId, 将返回id > fromId的数据。否则将返回最新数据
2835
- * @param {number} [startTime] 只支持查询最近90天的数据
2836
- * @param {number} [endTime]
2837
- * @param {number} [limit] Default Value: 500; Max Value: 1000
2838
- * @param {number} [recvWindow] No more than 60000
2834
+ * @param {number | bigint} [fromId] 如设置fromId, 将返回id > fromId的数据。否则将返回最新数据
2835
+ * @param {number | bigint} [startTime] 只支持查询最近90天的数据
2836
+ * @param {number | bigint} [endTime]
2837
+ * @param {number | bigint} [limit] Default Value: 500; Max Value: 1000
2838
+ * @param {number | bigint} [recvWindow] No more than 60000
2839
2839
  *
2840
2840
  * @throws {RequiredError}
2841
2841
  */
@@ -2883,11 +2883,11 @@ var TradeApiAxiosParamCreator = function(configuration) {
2883
2883
  * @summary Query Margin Account\'s All Orders (USER_DATA)
2884
2884
  * @param {string} symbol
2885
2885
  * @param {string} [isIsolated] for isolated margin or not, "TRUE", "FALSE",default "FALSE"
2886
- * @param {number} [orderId]
2887
- * @param {number} [startTime] 只支持查询最近90天的数据
2888
- * @param {number} [endTime]
2889
- * @param {number} [limit] Default Value: 500; Max Value: 1000
2890
- * @param {number} [recvWindow] No more than 60000
2886
+ * @param {number | bigint} [orderId]
2887
+ * @param {number | bigint} [startTime] 只支持查询最近90天的数据
2888
+ * @param {number | bigint} [endTime]
2889
+ * @param {number | bigint} [limit] Default Value: 500; Max Value: 1000
2890
+ * @param {number | bigint} [recvWindow] No more than 60000
2891
2891
  *
2892
2892
  * @throws {RequiredError}
2893
2893
  */
@@ -2932,9 +2932,9 @@ var TradeApiAxiosParamCreator = function(configuration) {
2932
2932
  * @summary Query Margin Account\'s OCO (USER_DATA)
2933
2933
  * @param {string} [isIsolated] for isolated margin or not, "TRUE", "FALSE",default "FALSE"
2934
2934
  * @param {string} [symbol] isolated margin pair
2935
- * @param {number} [orderListId] Either `orderListId` or `listClientOrderId` must be provided
2935
+ * @param {number | bigint} [orderListId] Either `orderListId` or `listClientOrderId` must be provided
2936
2936
  * @param {string} [origClientOrderId]
2937
- * @param {number} [recvWindow] No more than 60000
2937
+ * @param {number | bigint} [recvWindow] No more than 60000
2938
2938
  *
2939
2939
  * @throws {RequiredError}
2940
2940
  */
@@ -2972,7 +2972,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
2972
2972
  * @summary Query Margin Account\'s Open OCO (USER_DATA)
2973
2973
  * @param {string} [isIsolated] for isolated margin or not, "TRUE", "FALSE",default "FALSE"
2974
2974
  * @param {string} [symbol] isolated margin pair
2975
- * @param {number} [recvWindow] No more than 60000
2975
+ * @param {number | bigint} [recvWindow] No more than 60000
2976
2976
  *
2977
2977
  * @throws {RequiredError}
2978
2978
  */
@@ -3008,7 +3008,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
3008
3008
  * @summary Query Margin Account\'s Open Orders (USER_DATA)
3009
3009
  * @param {string} [symbol] isolated margin pair
3010
3010
  * @param {string} [isIsolated] for isolated margin or not, "TRUE", "FALSE",default "FALSE"
3011
- * @param {number} [recvWindow] No more than 60000
3011
+ * @param {number | bigint} [recvWindow] No more than 60000
3012
3012
  *
3013
3013
  * @throws {RequiredError}
3014
3014
  */
@@ -3043,9 +3043,9 @@ var TradeApiAxiosParamCreator = function(configuration) {
3043
3043
  * @summary Query Margin Account\'s Order (USER_DATA)
3044
3044
  * @param {string} symbol
3045
3045
  * @param {string} [isIsolated] for isolated margin or not, "TRUE", "FALSE",default "FALSE"
3046
- * @param {number} [orderId]
3046
+ * @param {number | bigint} [orderId]
3047
3047
  * @param {string} [origClientOrderId]
3048
- * @param {number} [recvWindow] No more than 60000
3048
+ * @param {number | bigint} [recvWindow] No more than 60000
3049
3049
  *
3050
3050
  * @throws {RequiredError}
3051
3051
  */
@@ -3087,12 +3087,12 @@ var TradeApiAxiosParamCreator = function(configuration) {
3087
3087
  * @summary Query Margin Account\'s Trade List (USER_DATA)
3088
3088
  * @param {string} symbol
3089
3089
  * @param {string} [isIsolated] for isolated margin or not, "TRUE", "FALSE",default "FALSE"
3090
- * @param {number} [orderId]
3091
- * @param {number} [startTime] 只支持查询最近90天的数据
3092
- * @param {number} [endTime]
3093
- * @param {number} [fromId] 如设置fromId, 将返回id > fromId的数据。否则将返回最新数据
3094
- * @param {number} [limit] Default Value: 500; Max Value: 1000
3095
- * @param {number} [recvWindow] No more than 60000
3090
+ * @param {number | bigint} [orderId]
3091
+ * @param {number | bigint} [startTime] 只支持查询最近90天的数据
3092
+ * @param {number | bigint} [endTime]
3093
+ * @param {number | bigint} [fromId] 如设置fromId, 将返回id > fromId的数据。否则将返回最新数据
3094
+ * @param {number | bigint} [limit] Default Value: 500; Max Value: 1000
3095
+ * @param {number | bigint} [recvWindow] No more than 60000
3096
3096
  *
3097
3097
  * @throws {RequiredError}
3098
3098
  */
@@ -3141,7 +3141,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
3141
3141
  *
3142
3142
  * @summary Query Special key(Low Latency Trading)(TRADE)
3143
3143
  * @param {string} [symbol] isolated margin pair
3144
- * @param {number} [recvWindow] No more than 60000
3144
+ * @param {number | bigint} [recvWindow] No more than 60000
3145
3145
  *
3146
3146
  * @throws {RequiredError}
3147
3147
  */
@@ -3169,7 +3169,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
3169
3169
  *
3170
3170
  * @summary Query Special key List(Low Latency Trading)(TRADE)
3171
3171
  * @param {string} [symbol] isolated margin pair
3172
- * @param {number} [recvWindow] No more than 60000
3172
+ * @param {number | bigint} [recvWindow] No more than 60000
3173
3173
  *
3174
3174
  * @throws {RequiredError}
3175
3175
  */
@@ -3201,7 +3201,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
3201
3201
  *
3202
3202
  * @summary Small Liability Exchange (MARGIN)
3203
3203
  * @param {Array<string>} assetNames The assets list of small liability exchange, Example: assetNames = BTC,ETH
3204
- * @param {number} [recvWindow] No more than 60000
3204
+ * @param {number | bigint} [recvWindow] No more than 60000
3205
3205
  *
3206
3206
  * @throws {RequiredError}
3207
3207
  */
@@ -4467,12 +4467,12 @@ var TransferApiAxiosParamCreator = function(configuration) {
4467
4467
  * @summary Get Cross Margin Transfer History (USER_DATA)
4468
4468
  * @param {string} [asset]
4469
4469
  * @param {string} [type] Transfer Type: ROLL_IN, ROLL_OUT
4470
- * @param {number} [startTime] 只支持查询最近90天的数据
4471
- * @param {number} [endTime]
4472
- * @param {number} [current] Currently querying page. Start from 1. Default:1
4473
- * @param {number} [size] Default:10 Max:100
4470
+ * @param {number | bigint} [startTime] 只支持查询最近90天的数据
4471
+ * @param {number | bigint} [endTime]
4472
+ * @param {number | bigint} [current] Currently querying page. Start from 1. Default:1
4473
+ * @param {number | bigint} [size] Default:10 Max:100
4474
4474
  * @param {string} [isolatedSymbol] isolated symbol
4475
- * @param {number} [recvWindow] No more than 60000
4475
+ * @param {number | bigint} [recvWindow] No more than 60000
4476
4476
  *
4477
4477
  * @throws {RequiredError}
4478
4478
  */
@@ -4521,7 +4521,7 @@ var TransferApiAxiosParamCreator = function(configuration) {
4521
4521
  * @summary Query Max Transfer-Out Amount (USER_DATA)
4522
4522
  * @param {string} asset
4523
4523
  * @param {string} [isolatedSymbol] isolated symbol
4524
- * @param {number} [recvWindow] No more than 60000
4524
+ * @param {number | bigint} [recvWindow] No more than 60000
4525
4525
  *
4526
4526
  * @throws {RequiredError}
4527
4527
  */