@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.mjs CHANGED
@@ -15,7 +15,7 @@ import {
15
15
 
16
16
  // package.json
17
17
  var name = "@binance/margin-trading";
18
- var version = "9.0.0";
18
+ var version = "9.0.1";
19
19
 
20
20
  // src/rest-api/index.ts
21
21
  var rest_api_exports = {};
@@ -52,7 +52,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
52
52
  * Weight: 3000
53
53
  *
54
54
  * @summary Adjust cross margin max leverage (USER_DATA)
55
- * @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.
55
+ * @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.
56
56
  *
57
57
  * @throws {RequiredError}
58
58
  */
@@ -79,7 +79,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
79
79
  *
80
80
  * @summary Disable Isolated Margin Account (TRADE)
81
81
  * @param {string} symbol
82
- * @param {number} [recvWindow] No more than 60000
82
+ * @param {number | bigint} [recvWindow] No more than 60000
83
83
  *
84
84
  * @throws {RequiredError}
85
85
  */
@@ -108,7 +108,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
108
108
  *
109
109
  * @summary Enable Isolated Margin Account (TRADE)
110
110
  * @param {string} symbol
111
- * @param {number} [recvWindow] No more than 60000
111
+ * @param {number | bigint} [recvWindow] No more than 60000
112
112
  *
113
113
  * @throws {RequiredError}
114
114
  */
@@ -136,7 +136,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
136
136
  * Weight: 1(IP)
137
137
  *
138
138
  * @summary Get BNB Burn Status (USER_DATA)
139
- * @param {number} [recvWindow] No more than 60000
139
+ * @param {number | bigint} [recvWindow] No more than 60000
140
140
  *
141
141
  * @throws {RequiredError}
142
142
  */
@@ -160,7 +160,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
160
160
  * Weight: 10(IP)
161
161
  *
162
162
  * @summary Get Summary of Margin account (USER_DATA)
163
- * @param {number} [recvWindow] No more than 60000
163
+ * @param {number | bigint} [recvWindow] No more than 60000
164
164
  *
165
165
  * @throws {RequiredError}
166
166
  */
@@ -187,11 +187,11 @@ var AccountApiAxiosParamCreator = function(configuration) {
187
187
  * @param {string} [asset]
188
188
  * @param {string} [symbol] isolated margin pair
189
189
  * @param {string} [type] Transfer Type: ROLL_IN, ROLL_OUT
190
- * @param {number} [startTime] 只支持查询最近90天的数据
191
- * @param {number} [endTime]
192
- * @param {number} [fromId] 如设置fromId, 将返回id > fromId的数据。否则将返回最新数据
193
- * @param {number} [limit] Default Value: 500; Max Value: 1000
194
- * @param {number} [recvWindow] No more than 60000
190
+ * @param {number | bigint} [startTime] 只支持查询最近90天的数据
191
+ * @param {number | bigint} [endTime]
192
+ * @param {number | bigint} [fromId] 如设置fromId, 将返回id > fromId的数据。否则将返回最新数据
193
+ * @param {number | bigint} [limit] Default Value: 500; Max Value: 1000
194
+ * @param {number | bigint} [recvWindow] No more than 60000
195
195
  *
196
196
  * @throws {RequiredError}
197
197
  */
@@ -236,7 +236,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
236
236
  * Weight: 10(IP)
237
237
  *
238
238
  * @summary Query Cross Margin Account Details (USER_DATA)
239
- * @param {number} [recvWindow] No more than 60000
239
+ * @param {number | bigint} [recvWindow] No more than 60000
240
240
  *
241
241
  * @throws {RequiredError}
242
242
  */
@@ -260,9 +260,9 @@ var AccountApiAxiosParamCreator = function(configuration) {
260
260
  * Weight: 1 when coin is specified;(IP)
261
261
  *
262
262
  * @summary Query Cross Margin Fee Data (USER_DATA)
263
- * @param {number} [vipLevel] User's current specific margin data will be returned if vipLevel is omitted
263
+ * @param {number | bigint} [vipLevel] User's current specific margin data will be returned if vipLevel is omitted
264
264
  * @param {string} [coin]
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
  */
@@ -292,7 +292,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
292
292
  * Weight: 1(IP)
293
293
  *
294
294
  * @summary Query Enabled Isolated Margin Account Limit (USER_DATA)
295
- * @param {number} [recvWindow] No more than 60000
295
+ * @param {number | bigint} [recvWindow] No more than 60000
296
296
  *
297
297
  * @throws {RequiredError}
298
298
  */
@@ -320,7 +320,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
320
320
  *
321
321
  * @summary Query Isolated Margin Account Info (USER_DATA)
322
322
  * @param {string} [symbols] Max 5 symbols can be sent; separated by ",". e.g. "BTCUSDT,BNBUSDT,ADAUSDT"
323
- * @param {number} [recvWindow] No more than 60000
323
+ * @param {number | bigint} [recvWindow] No more than 60000
324
324
  *
325
325
  * @throws {RequiredError}
326
326
  */
@@ -347,9 +347,9 @@ var AccountApiAxiosParamCreator = function(configuration) {
347
347
  * Weight: 1 when a single is specified;(IP)
348
348
  *
349
349
  * @summary Query Isolated Margin Fee Data (USER_DATA)
350
- * @param {number} [vipLevel] User's current specific margin data will be returned if vipLevel is omitted
350
+ * @param {number | bigint} [vipLevel] User's current specific margin data will be returned if vipLevel is omitted
351
351
  * @param {string} [symbol] isolated margin pair
352
- * @param {number} [recvWindow] No more than 60000
352
+ * @param {number | bigint} [recvWindow] No more than 60000
353
353
  *
354
354
  * @throws {RequiredError}
355
355
  */
@@ -735,11 +735,11 @@ var BorrowRepayApiAxiosParamCreator = function(configuration) {
735
735
  * @summary Get Interest History (USER_DATA)
736
736
  * @param {string} [asset]
737
737
  * @param {string} [isolatedSymbol] isolated symbol
738
- * @param {number} [startTime] 只支持查询最近90天的数据
739
- * @param {number} [endTime]
740
- * @param {number} [current] Currently querying page. Start from 1. Default:1
741
- * @param {number} [size] Default:10 Max:100
742
- * @param {number} [recvWindow] No more than 60000
738
+ * @param {number | bigint} [startTime] 只支持查询最近90天的数据
739
+ * @param {number | bigint} [endTime]
740
+ * @param {number | bigint} [current] Currently querying page. Start from 1. Default:1
741
+ * @param {number | bigint} [size] Default:10 Max:100
742
+ * @param {number | bigint} [recvWindow] No more than 60000
743
743
  *
744
744
  * @throws {RequiredError}
745
745
  */
@@ -786,7 +786,7 @@ var BorrowRepayApiAxiosParamCreator = function(configuration) {
786
786
  * @param {string} symbol
787
787
  * @param {string} amount
788
788
  * @param {string} type `MARGIN`,`ISOLATED`
789
- * @param {number} [recvWindow] No more than 60000
789
+ * @param {number | bigint} [recvWindow] No more than 60000
790
790
  *
791
791
  * @throws {RequiredError}
792
792
  */
@@ -838,12 +838,12 @@ var BorrowRepayApiAxiosParamCreator = function(configuration) {
838
838
  * @param {string} type `MARGIN`,`ISOLATED`
839
839
  * @param {string} [asset]
840
840
  * @param {string} [isolatedSymbol] isolated symbol
841
- * @param {number} [txId] `tranId` in `POST /sapi/v1/margin/loan`
842
- * @param {number} [startTime] 只支持查询最近90天的数据
843
- * @param {number} [endTime]
844
- * @param {number} [current] Currently querying page. Start from 1. Default:1
845
- * @param {number} [size] Default:10 Max:100
846
- * @param {number} [recvWindow] No more than 60000
841
+ * @param {number | bigint} [txId] `tranId` in `POST /sapi/v1/margin/loan`
842
+ * @param {number | bigint} [startTime] 只支持查询最近90天的数据
843
+ * @param {number | bigint} [endTime]
844
+ * @param {number | bigint} [current] Currently querying page. Start from 1. Default:1
845
+ * @param {number | bigint} [size] Default:10 Max:100
846
+ * @param {number | bigint} [recvWindow] No more than 60000
847
847
  *
848
848
  * @throws {RequiredError}
849
849
  */
@@ -893,10 +893,10 @@ var BorrowRepayApiAxiosParamCreator = function(configuration) {
893
893
  *
894
894
  * @summary Query Margin Interest Rate History (USER_DATA)
895
895
  * @param {string} asset
896
- * @param {number} [vipLevel] User's current specific margin data will be returned if vipLevel is omitted
897
- * @param {number} [startTime] 只支持查询最近90天的数据
898
- * @param {number} [endTime]
899
- * @param {number} [recvWindow] No more than 60000
896
+ * @param {number | bigint} [vipLevel] User's current specific margin data will be returned if vipLevel is omitted
897
+ * @param {number | bigint} [startTime] 只支持查询最近90天的数据
898
+ * @param {number | bigint} [endTime]
899
+ * @param {number | bigint} [recvWindow] No more than 60000
900
900
  *
901
901
  * @throws {RequiredError}
902
902
  */
@@ -938,7 +938,7 @@ var BorrowRepayApiAxiosParamCreator = function(configuration) {
938
938
  * @summary Query Max Borrow (USER_DATA)
939
939
  * @param {string} asset
940
940
  * @param {string} [isolatedSymbol] isolated symbol
941
- * @param {number} [recvWindow] No more than 60000
941
+ * @param {number | bigint} [recvWindow] No more than 60000
942
942
  *
943
943
  * @throws {RequiredError}
944
944
  */
@@ -1227,7 +1227,7 @@ var MarketDataApiAxiosParamCreator = function(configuration) {
1227
1227
  *
1228
1228
  * @summary Get All Isolated Margin Symbol(MARKET_DATA)
1229
1229
  * @param {string} [symbol] isolated margin pair
1230
- * @param {number} [recvWindow] No more than 60000
1230
+ * @param {number | bigint} [recvWindow] No more than 60000
1231
1231
  *
1232
1232
  * @throws {RequiredError}
1233
1233
  */
@@ -1278,7 +1278,7 @@ var MarketDataApiAxiosParamCreator = function(configuration) {
1278
1278
  * Weight: 100
1279
1279
  *
1280
1280
  * @summary Get Delist Schedule (MARKET_DATA)
1281
- * @param {number} [recvWindow] No more than 60000
1281
+ * @param {number | bigint} [recvWindow] No more than 60000
1282
1282
  *
1283
1283
  * @throws {RequiredError}
1284
1284
  */
@@ -1327,7 +1327,7 @@ var MarketDataApiAxiosParamCreator = function(configuration) {
1327
1327
  * Weight: 100
1328
1328
  *
1329
1329
  * @summary Get list Schedule (MARKET_DATA)
1330
- * @param {number} [recvWindow] No more than 60000
1330
+ * @param {number | bigint} [recvWindow] No more than 60000
1331
1331
  *
1332
1332
  * @throws {RequiredError}
1333
1333
  */
@@ -1352,8 +1352,8 @@ var MarketDataApiAxiosParamCreator = function(configuration) {
1352
1352
  *
1353
1353
  * @summary Query Isolated Margin Tier Data (USER_DATA)
1354
1354
  * @param {string} symbol
1355
- * @param {number} [tier] All margin tier data will be returned if tier is omitted
1356
- * @param {number} [recvWindow] No more than 60000
1355
+ * @param {number | bigint} [tier] All margin tier data will be returned if tier is omitted
1356
+ * @param {number | bigint} [recvWindow] No more than 60000
1357
1357
  *
1358
1358
  * @throws {RequiredError}
1359
1359
  */
@@ -1919,7 +1919,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
1919
1919
  * @param {string} [ip] Can be added in batches, separated by commas. Max 30 for an API key
1920
1920
  * @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
1921
1921
  * @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.
1922
- * @param {number} [recvWindow] No more than 60000
1922
+ * @param {number | bigint} [recvWindow] No more than 60000
1923
1923
  *
1924
1924
  * @throws {RequiredError}
1925
1925
  */
@@ -1965,7 +1965,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
1965
1965
  * @summary Delete Special Key(Low-Latency Trading)(TRADE)
1966
1966
  * @param {string} [apiName]
1967
1967
  * @param {string} [symbol] isolated margin pair
1968
- * @param {number} [recvWindow] No more than 60000
1968
+ * @param {number | bigint} [recvWindow] No more than 60000
1969
1969
  *
1970
1970
  * @throws {RequiredError}
1971
1971
  */
@@ -1999,7 +1999,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
1999
1999
  * @summary Edit ip for Special Key(Low-Latency Trading)(TRADE)
2000
2000
  * @param {string} ip Can be added in batches, separated by commas. Max 30 for an API key
2001
2001
  * @param {string} [symbol] isolated margin pair
2002
- * @param {number} [recvWindow] No more than 60000
2002
+ * @param {number | bigint} [recvWindow] No more than 60000
2003
2003
  *
2004
2004
  * @throws {RequiredError}
2005
2005
  */
@@ -2032,12 +2032,12 @@ var TradeApiAxiosParamCreator = function(configuration) {
2032
2032
  * Weight: 1(IP)
2033
2033
  *
2034
2034
  * @summary Get Force Liquidation Record (USER_DATA)
2035
- * @param {number} [startTime] 只支持查询最近90天的数据
2036
- * @param {number} [endTime]
2035
+ * @param {number | bigint} [startTime] 只支持查询最近90天的数据
2036
+ * @param {number | bigint} [endTime]
2037
2037
  * @param {string} [isolatedSymbol] isolated symbol
2038
- * @param {number} [current] Currently querying page. Start from 1. Default:1
2039
- * @param {number} [size] Default:10 Max:100
2040
- * @param {number} [recvWindow] No more than 60000
2038
+ * @param {number | bigint} [current] Currently querying page. Start from 1. Default:1
2039
+ * @param {number | bigint} [size] Default:10 Max:100
2040
+ * @param {number | bigint} [recvWindow] No more than 60000
2041
2041
  *
2042
2042
  * @throws {RequiredError}
2043
2043
  */
@@ -2076,7 +2076,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
2076
2076
  * Weight: 100
2077
2077
  *
2078
2078
  * @summary Get Small Liability Exchange Coin List (USER_DATA)
2079
- * @param {number} [recvWindow] No more than 60000
2079
+ * @param {number | bigint} [recvWindow] No more than 60000
2080
2080
  *
2081
2081
  * @throws {RequiredError}
2082
2082
  */
@@ -2100,11 +2100,11 @@ var TradeApiAxiosParamCreator = function(configuration) {
2100
2100
  * Weight: 100(UID)
2101
2101
  *
2102
2102
  * @summary Get Small Liability Exchange History (USER_DATA)
2103
- * @param {number} current Currently querying page. Start from 1. Default:1
2104
- * @param {number} size Default:10, Max:100
2105
- * @param {number} [startTime] 只支持查询最近90天的数据
2106
- * @param {number} [endTime]
2107
- * @param {number} [recvWindow] No more than 60000
2103
+ * @param {number | bigint} current Currently querying page. Start from 1. Default:1
2104
+ * @param {number | bigint} size Default:10, Max:100
2105
+ * @param {number | bigint} [startTime] 只支持查询最近90天的数据
2106
+ * @param {number | bigint} [endTime]
2107
+ * @param {number | bigint} [recvWindow] No more than 60000
2108
2108
  *
2109
2109
  * @throws {RequiredError}
2110
2110
  */
@@ -2145,7 +2145,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
2145
2145
  * @summary Margin Account Cancel all Open Orders on a Symbol (TRADE)
2146
2146
  * @param {string} symbol
2147
2147
  * @param {string} [isIsolated] for isolated margin or not, "TRUE", "FALSE",default "FALSE"
2148
- * @param {number} [recvWindow] No more than 60000
2148
+ * @param {number | bigint} [recvWindow] No more than 60000
2149
2149
  *
2150
2150
  * @throws {RequiredError}
2151
2151
  */
@@ -2180,10 +2180,10 @@ var TradeApiAxiosParamCreator = function(configuration) {
2180
2180
  * @summary Margin Account Cancel OCO (TRADE)
2181
2181
  * @param {string} symbol
2182
2182
  * @param {string} [isIsolated] for isolated margin or not, "TRUE", "FALSE",default "FALSE"
2183
- * @param {number} [orderListId] Either `orderListId` or `listClientOrderId` must be provided
2183
+ * @param {number | bigint} [orderListId] Either `orderListId` or `listClientOrderId` must be provided
2184
2184
  * @param {string} [listClientOrderId] Either `orderListId` or `listClientOrderId` must be provided
2185
2185
  * @param {string} [newClientOrderId] Used to uniquely identify this cancel. Automatically generated by default
2186
- * @param {number} [recvWindow] No more than 60000
2186
+ * @param {number | bigint} [recvWindow] No more than 60000
2187
2187
  *
2188
2188
  * @throws {RequiredError}
2189
2189
  */
@@ -2227,10 +2227,10 @@ var TradeApiAxiosParamCreator = function(configuration) {
2227
2227
  * @summary Margin Account Cancel Order (TRADE)
2228
2228
  * @param {string} symbol
2229
2229
  * @param {string} [isIsolated] for isolated margin or not, "TRUE", "FALSE",default "FALSE"
2230
- * @param {number} [orderId]
2230
+ * @param {number | bigint} [orderId]
2231
2231
  * @param {string} [origClientOrderId]
2232
2232
  * @param {string} [newClientOrderId] Used to uniquely identify this cancel. Automatically generated by default
2233
- * @param {number} [recvWindow] No more than 60000
2233
+ * @param {number | bigint} [recvWindow] No more than 60000
2234
2234
  *
2235
2235
  * @throws {RequiredError}
2236
2236
  */
@@ -2289,7 +2289,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
2289
2289
  * @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)
2290
2290
  * @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
2291
2291
  * @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
2292
- * @param {number} [recvWindow] No more than 60000
2292
+ * @param {number | bigint} [recvWindow] No more than 60000
2293
2293
  *
2294
2294
  * @throws {RequiredError}
2295
2295
  */
@@ -2386,7 +2386,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
2386
2386
  * @param {MarginAccountNewOrderTimeInForceEnum} [timeInForce] GTC,IOC,FOK
2387
2387
  * @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
2388
2388
  * @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
2389
- * @param {number} [recvWindow] No more than 60000
2389
+ * @param {number | bigint} [recvWindow] No more than 60000
2390
2390
  *
2391
2391
  * @throws {RequiredError}
2392
2392
  */
@@ -2752,7 +2752,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
2752
2752
  * @summary Margin Manual Liquidation(MARGIN)
2753
2753
  * @param {string} type `MARGIN`,`ISOLATED`
2754
2754
  * @param {string} [symbol] isolated margin pair
2755
- * @param {number} [recvWindow] No more than 60000
2755
+ * @param {number | bigint} [recvWindow] No more than 60000
2756
2756
  *
2757
2757
  * @throws {RequiredError}
2758
2758
  */
@@ -2785,7 +2785,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
2785
2785
  * @summary Query Current Margin Order Count Usage (TRADE)
2786
2786
  * @param {string} [isIsolated] for isolated margin or not, "TRUE", "FALSE",default "FALSE"
2787
2787
  * @param {string} [symbol] isolated margin pair
2788
- * @param {number} [recvWindow] No more than 60000
2788
+ * @param {number | bigint} [recvWindow] No more than 60000
2789
2789
  *
2790
2790
  * @throws {RequiredError}
2791
2791
  */
@@ -2817,11 +2817,11 @@ var TradeApiAxiosParamCreator = function(configuration) {
2817
2817
  * @summary Query Margin Account\'s all OCO (USER_DATA)
2818
2818
  * @param {string} [isIsolated] for isolated margin or not, "TRUE", "FALSE",default "FALSE"
2819
2819
  * @param {string} [symbol] isolated margin pair
2820
- * @param {number} [fromId] 如设置fromId, 将返回id > fromId的数据。否则将返回最新数据
2821
- * @param {number} [startTime] 只支持查询最近90天的数据
2822
- * @param {number} [endTime]
2823
- * @param {number} [limit] Default Value: 500; Max Value: 1000
2824
- * @param {number} [recvWindow] No more than 60000
2820
+ * @param {number | bigint} [fromId] 如设置fromId, 将返回id > fromId的数据。否则将返回最新数据
2821
+ * @param {number | bigint} [startTime] 只支持查询最近90天的数据
2822
+ * @param {number | bigint} [endTime]
2823
+ * @param {number | bigint} [limit] Default Value: 500; Max Value: 1000
2824
+ * @param {number | bigint} [recvWindow] No more than 60000
2825
2825
  *
2826
2826
  * @throws {RequiredError}
2827
2827
  */
@@ -2869,11 +2869,11 @@ var TradeApiAxiosParamCreator = function(configuration) {
2869
2869
  * @summary Query Margin Account\'s All Orders (USER_DATA)
2870
2870
  * @param {string} symbol
2871
2871
  * @param {string} [isIsolated] for isolated margin or not, "TRUE", "FALSE",default "FALSE"
2872
- * @param {number} [orderId]
2873
- * @param {number} [startTime] 只支持查询最近90天的数据
2874
- * @param {number} [endTime]
2875
- * @param {number} [limit] Default Value: 500; Max Value: 1000
2876
- * @param {number} [recvWindow] No more than 60000
2872
+ * @param {number | bigint} [orderId]
2873
+ * @param {number | bigint} [startTime] 只支持查询最近90天的数据
2874
+ * @param {number | bigint} [endTime]
2875
+ * @param {number | bigint} [limit] Default Value: 500; Max Value: 1000
2876
+ * @param {number | bigint} [recvWindow] No more than 60000
2877
2877
  *
2878
2878
  * @throws {RequiredError}
2879
2879
  */
@@ -2918,9 +2918,9 @@ var TradeApiAxiosParamCreator = function(configuration) {
2918
2918
  * @summary Query Margin Account\'s OCO (USER_DATA)
2919
2919
  * @param {string} [isIsolated] for isolated margin or not, "TRUE", "FALSE",default "FALSE"
2920
2920
  * @param {string} [symbol] isolated margin pair
2921
- * @param {number} [orderListId] Either `orderListId` or `listClientOrderId` must be provided
2921
+ * @param {number | bigint} [orderListId] Either `orderListId` or `listClientOrderId` must be provided
2922
2922
  * @param {string} [origClientOrderId]
2923
- * @param {number} [recvWindow] No more than 60000
2923
+ * @param {number | bigint} [recvWindow] No more than 60000
2924
2924
  *
2925
2925
  * @throws {RequiredError}
2926
2926
  */
@@ -2958,7 +2958,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
2958
2958
  * @summary Query Margin Account\'s Open OCO (USER_DATA)
2959
2959
  * @param {string} [isIsolated] for isolated margin or not, "TRUE", "FALSE",default "FALSE"
2960
2960
  * @param {string} [symbol] isolated margin pair
2961
- * @param {number} [recvWindow] No more than 60000
2961
+ * @param {number | bigint} [recvWindow] No more than 60000
2962
2962
  *
2963
2963
  * @throws {RequiredError}
2964
2964
  */
@@ -2994,7 +2994,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
2994
2994
  * @summary Query Margin Account\'s Open Orders (USER_DATA)
2995
2995
  * @param {string} [symbol] isolated margin pair
2996
2996
  * @param {string} [isIsolated] for isolated margin or not, "TRUE", "FALSE",default "FALSE"
2997
- * @param {number} [recvWindow] No more than 60000
2997
+ * @param {number | bigint} [recvWindow] No more than 60000
2998
2998
  *
2999
2999
  * @throws {RequiredError}
3000
3000
  */
@@ -3029,9 +3029,9 @@ var TradeApiAxiosParamCreator = function(configuration) {
3029
3029
  * @summary Query Margin Account\'s Order (USER_DATA)
3030
3030
  * @param {string} symbol
3031
3031
  * @param {string} [isIsolated] for isolated margin or not, "TRUE", "FALSE",default "FALSE"
3032
- * @param {number} [orderId]
3032
+ * @param {number | bigint} [orderId]
3033
3033
  * @param {string} [origClientOrderId]
3034
- * @param {number} [recvWindow] No more than 60000
3034
+ * @param {number | bigint} [recvWindow] No more than 60000
3035
3035
  *
3036
3036
  * @throws {RequiredError}
3037
3037
  */
@@ -3073,12 +3073,12 @@ var TradeApiAxiosParamCreator = function(configuration) {
3073
3073
  * @summary Query Margin Account\'s Trade List (USER_DATA)
3074
3074
  * @param {string} symbol
3075
3075
  * @param {string} [isIsolated] for isolated margin or not, "TRUE", "FALSE",default "FALSE"
3076
- * @param {number} [orderId]
3077
- * @param {number} [startTime] 只支持查询最近90天的数据
3078
- * @param {number} [endTime]
3079
- * @param {number} [fromId] 如设置fromId, 将返回id > fromId的数据。否则将返回最新数据
3080
- * @param {number} [limit] Default Value: 500; Max Value: 1000
3081
- * @param {number} [recvWindow] No more than 60000
3076
+ * @param {number | bigint} [orderId]
3077
+ * @param {number | bigint} [startTime] 只支持查询最近90天的数据
3078
+ * @param {number | bigint} [endTime]
3079
+ * @param {number | bigint} [fromId] 如设置fromId, 将返回id > fromId的数据。否则将返回最新数据
3080
+ * @param {number | bigint} [limit] Default Value: 500; Max Value: 1000
3081
+ * @param {number | bigint} [recvWindow] No more than 60000
3082
3082
  *
3083
3083
  * @throws {RequiredError}
3084
3084
  */
@@ -3127,7 +3127,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
3127
3127
  *
3128
3128
  * @summary Query Special key(Low Latency Trading)(TRADE)
3129
3129
  * @param {string} [symbol] isolated margin pair
3130
- * @param {number} [recvWindow] No more than 60000
3130
+ * @param {number | bigint} [recvWindow] No more than 60000
3131
3131
  *
3132
3132
  * @throws {RequiredError}
3133
3133
  */
@@ -3155,7 +3155,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
3155
3155
  *
3156
3156
  * @summary Query Special key List(Low Latency Trading)(TRADE)
3157
3157
  * @param {string} [symbol] isolated margin pair
3158
- * @param {number} [recvWindow] No more than 60000
3158
+ * @param {number | bigint} [recvWindow] No more than 60000
3159
3159
  *
3160
3160
  * @throws {RequiredError}
3161
3161
  */
@@ -3187,7 +3187,7 @@ var TradeApiAxiosParamCreator = function(configuration) {
3187
3187
  *
3188
3188
  * @summary Small Liability Exchange (MARGIN)
3189
3189
  * @param {Array<string>} assetNames The assets list of small liability exchange, Example: assetNames = BTC,ETH
3190
- * @param {number} [recvWindow] No more than 60000
3190
+ * @param {number | bigint} [recvWindow] No more than 60000
3191
3191
  *
3192
3192
  * @throws {RequiredError}
3193
3193
  */
@@ -4459,12 +4459,12 @@ var TransferApiAxiosParamCreator = function(configuration) {
4459
4459
  * @summary Get Cross Margin Transfer History (USER_DATA)
4460
4460
  * @param {string} [asset]
4461
4461
  * @param {string} [type] Transfer Type: ROLL_IN, ROLL_OUT
4462
- * @param {number} [startTime] 只支持查询最近90天的数据
4463
- * @param {number} [endTime]
4464
- * @param {number} [current] Currently querying page. Start from 1. Default:1
4465
- * @param {number} [size] Default:10 Max:100
4462
+ * @param {number | bigint} [startTime] 只支持查询最近90天的数据
4463
+ * @param {number | bigint} [endTime]
4464
+ * @param {number | bigint} [current] Currently querying page. Start from 1. Default:1
4465
+ * @param {number | bigint} [size] Default:10 Max:100
4466
4466
  * @param {string} [isolatedSymbol] isolated symbol
4467
- * @param {number} [recvWindow] No more than 60000
4467
+ * @param {number | bigint} [recvWindow] No more than 60000
4468
4468
  *
4469
4469
  * @throws {RequiredError}
4470
4470
  */
@@ -4513,7 +4513,7 @@ var TransferApiAxiosParamCreator = function(configuration) {
4513
4513
  * @summary Query Max Transfer-Out Amount (USER_DATA)
4514
4514
  * @param {string} asset
4515
4515
  * @param {string} [isolatedSymbol] isolated symbol
4516
- * @param {number} [recvWindow] No more than 60000
4516
+ * @param {number | bigint} [recvWindow] No more than 60000
4517
4517
  *
4518
4518
  * @throws {RequiredError}
4519
4519
  */