@binance/wallet 12.0.2 → 12.1.0

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
@@ -14,7 +14,7 @@ let __binance_common = require("@binance/common");
14
14
 
15
15
  //#region package.json
16
16
  var name = "@binance/wallet";
17
- var version = "12.0.2";
17
+ var version = "12.1.0";
18
18
 
19
19
  //#endregion
20
20
  //#region src/rest-api/modules/account-api.ts
@@ -37,43 +37,50 @@ const AccountApiAxiosParamCreator = function(configuration) {
37
37
  return {
38
38
  accountApiTradingStatus: async (recvWindow) => {
39
39
  const localVarQueryParameter = {};
40
+ const localVarBodyParameter = {};
40
41
  if (recvWindow !== void 0 && recvWindow !== null) localVarQueryParameter["recvWindow"] = recvWindow;
41
42
  let _timeUnit;
42
43
  if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
43
44
  return {
44
45
  endpoint: "/sapi/v1/account/apiTradingStatus",
45
46
  method: "GET",
46
- params: localVarQueryParameter,
47
+ queryParams: localVarQueryParameter,
48
+ bodyParams: localVarBodyParameter,
47
49
  timeUnit: _timeUnit
48
50
  };
49
51
  },
50
52
  accountInfo: async (recvWindow) => {
51
53
  const localVarQueryParameter = {};
54
+ const localVarBodyParameter = {};
52
55
  if (recvWindow !== void 0 && recvWindow !== null) localVarQueryParameter["recvWindow"] = recvWindow;
53
56
  let _timeUnit;
54
57
  if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
55
58
  return {
56
59
  endpoint: "/sapi/v1/account/info",
57
60
  method: "GET",
58
- params: localVarQueryParameter,
61
+ queryParams: localVarQueryParameter,
62
+ bodyParams: localVarBodyParameter,
59
63
  timeUnit: _timeUnit
60
64
  };
61
65
  },
62
66
  accountStatus: async (recvWindow) => {
63
67
  const localVarQueryParameter = {};
68
+ const localVarBodyParameter = {};
64
69
  if (recvWindow !== void 0 && recvWindow !== null) localVarQueryParameter["recvWindow"] = recvWindow;
65
70
  let _timeUnit;
66
71
  if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
67
72
  return {
68
73
  endpoint: "/sapi/v1/account/status",
69
74
  method: "GET",
70
- params: localVarQueryParameter,
75
+ queryParams: localVarQueryParameter,
76
+ bodyParams: localVarBodyParameter,
71
77
  timeUnit: _timeUnit
72
78
  };
73
79
  },
74
80
  dailyAccountSnapshot: async (type, startTime, endTime, limit, recvWindow) => {
75
81
  (0, __binance_common.assertParamExists)("dailyAccountSnapshot", "type", type);
76
82
  const localVarQueryParameter = {};
83
+ const localVarBodyParameter = {};
77
84
  if (type !== void 0 && type !== null) localVarQueryParameter["type"] = type;
78
85
  if (startTime !== void 0 && startTime !== null) localVarQueryParameter["startTime"] = startTime;
79
86
  if (endTime !== void 0 && endTime !== null) localVarQueryParameter["endTime"] = endTime;
@@ -84,43 +91,50 @@ const AccountApiAxiosParamCreator = function(configuration) {
84
91
  return {
85
92
  endpoint: "/sapi/v1/accountSnapshot",
86
93
  method: "GET",
87
- params: localVarQueryParameter,
94
+ queryParams: localVarQueryParameter,
95
+ bodyParams: localVarBodyParameter,
88
96
  timeUnit: _timeUnit
89
97
  };
90
98
  },
91
99
  disableFastWithdrawSwitch: async (recvWindow) => {
92
100
  const localVarQueryParameter = {};
101
+ const localVarBodyParameter = {};
93
102
  if (recvWindow !== void 0 && recvWindow !== null) localVarQueryParameter["recvWindow"] = recvWindow;
94
103
  let _timeUnit;
95
104
  if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
96
105
  return {
97
106
  endpoint: "/sapi/v1/account/disableFastWithdrawSwitch",
98
107
  method: "POST",
99
- params: localVarQueryParameter,
108
+ queryParams: localVarQueryParameter,
109
+ bodyParams: localVarBodyParameter,
100
110
  timeUnit: _timeUnit
101
111
  };
102
112
  },
103
113
  enableFastWithdrawSwitch: async (recvWindow) => {
104
114
  const localVarQueryParameter = {};
115
+ const localVarBodyParameter = {};
105
116
  if (recvWindow !== void 0 && recvWindow !== null) localVarQueryParameter["recvWindow"] = recvWindow;
106
117
  let _timeUnit;
107
118
  if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
108
119
  return {
109
120
  endpoint: "/sapi/v1/account/enableFastWithdrawSwitch",
110
121
  method: "POST",
111
- params: localVarQueryParameter,
122
+ queryParams: localVarQueryParameter,
123
+ bodyParams: localVarBodyParameter,
112
124
  timeUnit: _timeUnit
113
125
  };
114
126
  },
115
127
  getApiKeyPermission: async (recvWindow) => {
116
128
  const localVarQueryParameter = {};
129
+ const localVarBodyParameter = {};
117
130
  if (recvWindow !== void 0 && recvWindow !== null) localVarQueryParameter["recvWindow"] = recvWindow;
118
131
  let _timeUnit;
119
132
  if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
120
133
  return {
121
134
  endpoint: "/sapi/v1/account/apiRestrictions",
122
135
  method: "GET",
123
- params: localVarQueryParameter,
136
+ queryParams: localVarQueryParameter,
137
+ bodyParams: localVarBodyParameter,
124
138
  timeUnit: _timeUnit
125
139
  };
126
140
  }
@@ -149,7 +163,7 @@ var AccountApi = class {
149
163
  */
150
164
  async accountApiTradingStatus(requestParameters = {}) {
151
165
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.accountApiTradingStatus(requestParameters?.recvWindow);
152
- return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.params, localVarAxiosArgs?.timeUnit, { isSigned: true });
166
+ return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.queryParams, localVarAxiosArgs.bodyParams, localVarAxiosArgs?.timeUnit, { isSigned: true });
153
167
  }
154
168
  /**
155
169
  * Fetch account info detail.
@@ -165,7 +179,7 @@ var AccountApi = class {
165
179
  */
166
180
  async accountInfo(requestParameters = {}) {
167
181
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.accountInfo(requestParameters?.recvWindow);
168
- return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.params, localVarAxiosArgs?.timeUnit, { isSigned: true });
182
+ return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.queryParams, localVarAxiosArgs.bodyParams, localVarAxiosArgs?.timeUnit, { isSigned: true });
169
183
  }
170
184
  /**
171
185
  * Fetch account status detail.
@@ -181,7 +195,7 @@ var AccountApi = class {
181
195
  */
182
196
  async accountStatus(requestParameters = {}) {
183
197
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.accountStatus(requestParameters?.recvWindow);
184
- return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.params, localVarAxiosArgs?.timeUnit, { isSigned: true });
198
+ return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.queryParams, localVarAxiosArgs.bodyParams, localVarAxiosArgs?.timeUnit, { isSigned: true });
185
199
  }
186
200
  /**
187
201
  * Daily account snapshot
@@ -201,7 +215,7 @@ var AccountApi = class {
201
215
  */
202
216
  async dailyAccountSnapshot(requestParameters) {
203
217
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.dailyAccountSnapshot(requestParameters?.type, requestParameters?.startTime, requestParameters?.endTime, requestParameters?.limit, requestParameters?.recvWindow);
204
- return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.params, localVarAxiosArgs?.timeUnit, { isSigned: true });
218
+ return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.queryParams, localVarAxiosArgs.bodyParams, localVarAxiosArgs?.timeUnit, { isSigned: true });
205
219
  }
206
220
  /**
207
221
  *
@@ -216,7 +230,7 @@ var AccountApi = class {
216
230
  */
217
231
  async disableFastWithdrawSwitch(requestParameters = {}) {
218
232
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.disableFastWithdrawSwitch(requestParameters?.recvWindow);
219
- return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.params, localVarAxiosArgs?.timeUnit, { isSigned: true });
233
+ return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.queryParams, localVarAxiosArgs.bodyParams, localVarAxiosArgs?.timeUnit, { isSigned: true });
220
234
  }
221
235
  /**
222
236
  * Enable Fast Withdraw Switch (USER_DATA)
@@ -235,7 +249,7 @@ var AccountApi = class {
235
249
  */
236
250
  async enableFastWithdrawSwitch(requestParameters = {}) {
237
251
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.enableFastWithdrawSwitch(requestParameters?.recvWindow);
238
- return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.params, localVarAxiosArgs?.timeUnit, { isSigned: true });
252
+ return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.queryParams, localVarAxiosArgs.bodyParams, localVarAxiosArgs?.timeUnit, { isSigned: true });
239
253
  }
240
254
  /**
241
255
  * Get API Key Permission
@@ -251,7 +265,7 @@ var AccountApi = class {
251
265
  */
252
266
  async getApiKeyPermission(requestParameters = {}) {
253
267
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.getApiKeyPermission(requestParameters?.recvWindow);
254
- return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.params, localVarAxiosArgs?.timeUnit, { isSigned: true });
268
+ return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.queryParams, localVarAxiosArgs.bodyParams, localVarAxiosArgs?.timeUnit, { isSigned: true });
255
269
  }
256
270
  };
257
271
 
@@ -276,18 +290,21 @@ const AssetApiAxiosParamCreator = function(configuration) {
276
290
  return {
277
291
  assetDetail: async (recvWindow) => {
278
292
  const localVarQueryParameter = {};
293
+ const localVarBodyParameter = {};
279
294
  if (recvWindow !== void 0 && recvWindow !== null) localVarQueryParameter["recvWindow"] = recvWindow;
280
295
  let _timeUnit;
281
296
  if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
282
297
  return {
283
298
  endpoint: "/sapi/v1/asset/assetDetail",
284
299
  method: "GET",
285
- params: localVarQueryParameter,
300
+ queryParams: localVarQueryParameter,
301
+ bodyParams: localVarBodyParameter,
286
302
  timeUnit: _timeUnit
287
303
  };
288
304
  },
289
305
  assetDividendRecord: async (asset, startTime, endTime, limit, recvWindow) => {
290
306
  const localVarQueryParameter = {};
307
+ const localVarBodyParameter = {};
291
308
  if (asset !== void 0 && asset !== null) localVarQueryParameter["asset"] = asset;
292
309
  if (startTime !== void 0 && startTime !== null) localVarQueryParameter["startTime"] = startTime;
293
310
  if (endTime !== void 0 && endTime !== null) localVarQueryParameter["endTime"] = endTime;
@@ -298,13 +315,15 @@ const AssetApiAxiosParamCreator = function(configuration) {
298
315
  return {
299
316
  endpoint: "/sapi/v1/asset/assetDividend",
300
317
  method: "GET",
301
- params: localVarQueryParameter,
318
+ queryParams: localVarQueryParameter,
319
+ bodyParams: localVarBodyParameter,
302
320
  timeUnit: _timeUnit
303
321
  };
304
322
  },
305
323
  dustTransfer: async (asset, accountType, recvWindow) => {
306
324
  (0, __binance_common.assertParamExists)("dustTransfer", "asset", asset);
307
325
  const localVarQueryParameter = {};
326
+ const localVarBodyParameter = {};
308
327
  if (asset !== void 0 && asset !== null) localVarQueryParameter["asset"] = asset;
309
328
  if (accountType !== void 0 && accountType !== null) localVarQueryParameter["accountType"] = accountType;
310
329
  if (recvWindow !== void 0 && recvWindow !== null) localVarQueryParameter["recvWindow"] = recvWindow;
@@ -313,12 +332,14 @@ const AssetApiAxiosParamCreator = function(configuration) {
313
332
  return {
314
333
  endpoint: "/sapi/v1/asset/dust",
315
334
  method: "POST",
316
- params: localVarQueryParameter,
335
+ queryParams: localVarQueryParameter,
336
+ bodyParams: localVarBodyParameter,
317
337
  timeUnit: _timeUnit
318
338
  };
319
339
  },
320
340
  dustlog: async (startTime, endTime, recvWindow) => {
321
341
  const localVarQueryParameter = {};
342
+ const localVarBodyParameter = {};
322
343
  if (startTime !== void 0 && startTime !== null) localVarQueryParameter["startTime"] = startTime;
323
344
  if (endTime !== void 0 && endTime !== null) localVarQueryParameter["endTime"] = endTime;
324
345
  if (recvWindow !== void 0 && recvWindow !== null) localVarQueryParameter["recvWindow"] = recvWindow;
@@ -327,12 +348,14 @@ const AssetApiAxiosParamCreator = function(configuration) {
327
348
  return {
328
349
  endpoint: "/sapi/v1/asset/dribblet",
329
350
  method: "GET",
330
- params: localVarQueryParameter,
351
+ queryParams: localVarQueryParameter,
352
+ bodyParams: localVarBodyParameter,
331
353
  timeUnit: _timeUnit
332
354
  };
333
355
  },
334
356
  fundingWallet: async (asset, needBtcValuation, recvWindow) => {
335
357
  const localVarQueryParameter = {};
358
+ const localVarBodyParameter = {};
336
359
  if (asset !== void 0 && asset !== null) localVarQueryParameter["asset"] = asset;
337
360
  if (needBtcValuation !== void 0 && needBtcValuation !== null) localVarQueryParameter["needBtcValuation"] = needBtcValuation;
338
361
  if (recvWindow !== void 0 && recvWindow !== null) localVarQueryParameter["recvWindow"] = recvWindow;
@@ -341,12 +364,14 @@ const AssetApiAxiosParamCreator = function(configuration) {
341
364
  return {
342
365
  endpoint: "/sapi/v1/asset/get-funding-asset",
343
366
  method: "POST",
344
- params: localVarQueryParameter,
367
+ queryParams: localVarQueryParameter,
368
+ bodyParams: localVarBodyParameter,
345
369
  timeUnit: _timeUnit
346
370
  };
347
371
  },
348
372
  getAssetsThatCanBeConvertedIntoBnb: async (accountType, recvWindow) => {
349
373
  const localVarQueryParameter = {};
374
+ const localVarBodyParameter = {};
350
375
  if (accountType !== void 0 && accountType !== null) localVarQueryParameter["accountType"] = accountType;
351
376
  if (recvWindow !== void 0 && recvWindow !== null) localVarQueryParameter["recvWindow"] = recvWindow;
352
377
  let _timeUnit;
@@ -354,7 +379,8 @@ const AssetApiAxiosParamCreator = function(configuration) {
354
379
  return {
355
380
  endpoint: "/sapi/v1/asset/dust-btc",
356
381
  method: "POST",
357
- params: localVarQueryParameter,
382
+ queryParams: localVarQueryParameter,
383
+ bodyParams: localVarBodyParameter,
358
384
  timeUnit: _timeUnit
359
385
  };
360
386
  },
@@ -362,6 +388,7 @@ const AssetApiAxiosParamCreator = function(configuration) {
362
388
  (0, __binance_common.assertParamExists)("getCloudMiningPaymentAndRefundHistory", "startTime", startTime);
363
389
  (0, __binance_common.assertParamExists)("getCloudMiningPaymentAndRefundHistory", "endTime", endTime);
364
390
  const localVarQueryParameter = {};
391
+ const localVarBodyParameter = {};
365
392
  if (tranId !== void 0 && tranId !== null) localVarQueryParameter["tranId"] = tranId;
366
393
  if (clientTranId !== void 0 && clientTranId !== null) localVarQueryParameter["clientTranId"] = clientTranId;
367
394
  if (asset !== void 0 && asset !== null) localVarQueryParameter["asset"] = asset;
@@ -374,18 +401,21 @@ const AssetApiAxiosParamCreator = function(configuration) {
374
401
  return {
375
402
  endpoint: "/sapi/v1/asset/ledger-transfer/cloud-mining/queryByPage",
376
403
  method: "GET",
377
- params: localVarQueryParameter,
404
+ queryParams: localVarQueryParameter,
405
+ bodyParams: localVarBodyParameter,
378
406
  timeUnit: _timeUnit
379
407
  };
380
408
  },
381
409
  getOpenSymbolList: async () => {
382
410
  const localVarQueryParameter = {};
411
+ const localVarBodyParameter = {};
383
412
  let _timeUnit;
384
413
  if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
385
414
  return {
386
415
  endpoint: "/sapi/v1/spot/open-symbol-list",
387
416
  method: "GET",
388
- params: localVarQueryParameter,
417
+ queryParams: localVarQueryParameter,
418
+ bodyParams: localVarBodyParameter,
389
419
  timeUnit: _timeUnit
390
420
  };
391
421
  },
@@ -394,6 +424,7 @@ const AssetApiAxiosParamCreator = function(configuration) {
394
424
  (0, __binance_common.assertParamExists)("queryUserDelegationHistory", "startTime", startTime);
395
425
  (0, __binance_common.assertParamExists)("queryUserDelegationHistory", "endTime", endTime);
396
426
  const localVarQueryParameter = {};
427
+ const localVarBodyParameter = {};
397
428
  if (email !== void 0 && email !== null) localVarQueryParameter["email"] = email;
398
429
  if (startTime !== void 0 && startTime !== null) localVarQueryParameter["startTime"] = startTime;
399
430
  if (endTime !== void 0 && endTime !== null) localVarQueryParameter["endTime"] = endTime;
@@ -407,13 +438,15 @@ const AssetApiAxiosParamCreator = function(configuration) {
407
438
  return {
408
439
  endpoint: "/sapi/v1/asset/custody/transfer-history",
409
440
  method: "GET",
410
- params: localVarQueryParameter,
441
+ queryParams: localVarQueryParameter,
442
+ bodyParams: localVarBodyParameter,
411
443
  timeUnit: _timeUnit
412
444
  };
413
445
  },
414
446
  queryUserUniversalTransferHistory: async (type, startTime, endTime, current, size, fromSymbol, toSymbol, recvWindow) => {
415
447
  (0, __binance_common.assertParamExists)("queryUserUniversalTransferHistory", "type", type);
416
448
  const localVarQueryParameter = {};
449
+ const localVarBodyParameter = {};
417
450
  if (type !== void 0 && type !== null) localVarQueryParameter["type"] = type;
418
451
  if (startTime !== void 0 && startTime !== null) localVarQueryParameter["startTime"] = startTime;
419
452
  if (endTime !== void 0 && endTime !== null) localVarQueryParameter["endTime"] = endTime;
@@ -427,12 +460,14 @@ const AssetApiAxiosParamCreator = function(configuration) {
427
460
  return {
428
461
  endpoint: "/sapi/v1/asset/transfer",
429
462
  method: "GET",
430
- params: localVarQueryParameter,
463
+ queryParams: localVarQueryParameter,
464
+ bodyParams: localVarBodyParameter,
431
465
  timeUnit: _timeUnit
432
466
  };
433
467
  },
434
468
  queryUserWalletBalance: async (quoteAsset, recvWindow) => {
435
469
  const localVarQueryParameter = {};
470
+ const localVarBodyParameter = {};
436
471
  if (quoteAsset !== void 0 && quoteAsset !== null) localVarQueryParameter["quoteAsset"] = quoteAsset;
437
472
  if (recvWindow !== void 0 && recvWindow !== null) localVarQueryParameter["recvWindow"] = recvWindow;
438
473
  let _timeUnit;
@@ -440,12 +475,14 @@ const AssetApiAxiosParamCreator = function(configuration) {
440
475
  return {
441
476
  endpoint: "/sapi/v1/asset/wallet/balance",
442
477
  method: "GET",
443
- params: localVarQueryParameter,
478
+ queryParams: localVarQueryParameter,
479
+ bodyParams: localVarBodyParameter,
444
480
  timeUnit: _timeUnit
445
481
  };
446
482
  },
447
483
  toggleBnbBurnOnSpotTradeAndMarginInterest: async (spotBNBBurn, interestBNBBurn, recvWindow) => {
448
484
  const localVarQueryParameter = {};
485
+ const localVarBodyParameter = {};
449
486
  if (spotBNBBurn !== void 0 && spotBNBBurn !== null) localVarQueryParameter["spotBNBBurn"] = spotBNBBurn;
450
487
  if (interestBNBBurn !== void 0 && interestBNBBurn !== null) localVarQueryParameter["interestBNBBurn"] = interestBNBBurn;
451
488
  if (recvWindow !== void 0 && recvWindow !== null) localVarQueryParameter["recvWindow"] = recvWindow;
@@ -454,12 +491,14 @@ const AssetApiAxiosParamCreator = function(configuration) {
454
491
  return {
455
492
  endpoint: "/sapi/v1/bnbBurn",
456
493
  method: "POST",
457
- params: localVarQueryParameter,
494
+ queryParams: localVarQueryParameter,
495
+ bodyParams: localVarBodyParameter,
458
496
  timeUnit: _timeUnit
459
497
  };
460
498
  },
461
499
  tradeFee: async (symbol, recvWindow) => {
462
500
  const localVarQueryParameter = {};
501
+ const localVarBodyParameter = {};
463
502
  if (symbol !== void 0 && symbol !== null) localVarQueryParameter["symbol"] = symbol;
464
503
  if (recvWindow !== void 0 && recvWindow !== null) localVarQueryParameter["recvWindow"] = recvWindow;
465
504
  let _timeUnit;
@@ -467,12 +506,14 @@ const AssetApiAxiosParamCreator = function(configuration) {
467
506
  return {
468
507
  endpoint: "/sapi/v1/asset/tradeFee",
469
508
  method: "GET",
470
- params: localVarQueryParameter,
509
+ queryParams: localVarQueryParameter,
510
+ bodyParams: localVarBodyParameter,
471
511
  timeUnit: _timeUnit
472
512
  };
473
513
  },
474
514
  userAsset: async (asset, needBtcValuation, recvWindow) => {
475
515
  const localVarQueryParameter = {};
516
+ const localVarBodyParameter = {};
476
517
  if (asset !== void 0 && asset !== null) localVarQueryParameter["asset"] = asset;
477
518
  if (needBtcValuation !== void 0 && needBtcValuation !== null) localVarQueryParameter["needBtcValuation"] = needBtcValuation;
478
519
  if (recvWindow !== void 0 && recvWindow !== null) localVarQueryParameter["recvWindow"] = recvWindow;
@@ -481,7 +522,8 @@ const AssetApiAxiosParamCreator = function(configuration) {
481
522
  return {
482
523
  endpoint: "/sapi/v3/asset/getUserAsset",
483
524
  method: "POST",
484
- params: localVarQueryParameter,
525
+ queryParams: localVarQueryParameter,
526
+ bodyParams: localVarBodyParameter,
485
527
  timeUnit: _timeUnit
486
528
  };
487
529
  },
@@ -490,6 +532,7 @@ const AssetApiAxiosParamCreator = function(configuration) {
490
532
  (0, __binance_common.assertParamExists)("userUniversalTransfer", "asset", asset);
491
533
  (0, __binance_common.assertParamExists)("userUniversalTransfer", "amount", amount);
492
534
  const localVarQueryParameter = {};
535
+ const localVarBodyParameter = {};
493
536
  if (type !== void 0 && type !== null) localVarQueryParameter["type"] = type;
494
537
  if (asset !== void 0 && asset !== null) localVarQueryParameter["asset"] = asset;
495
538
  if (amount !== void 0 && amount !== null) localVarQueryParameter["amount"] = amount;
@@ -501,7 +544,8 @@ const AssetApiAxiosParamCreator = function(configuration) {
501
544
  return {
502
545
  endpoint: "/sapi/v1/asset/transfer",
503
546
  method: "POST",
504
- params: localVarQueryParameter,
547
+ queryParams: localVarQueryParameter,
548
+ bodyParams: localVarBodyParameter,
505
549
  timeUnit: _timeUnit
506
550
  };
507
551
  }
@@ -533,7 +577,7 @@ var AssetApi = class {
533
577
  */
534
578
  async assetDetail(requestParameters = {}) {
535
579
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.assetDetail(requestParameters?.recvWindow);
536
- return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.params, localVarAxiosArgs?.timeUnit, { isSigned: true });
580
+ return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.queryParams, localVarAxiosArgs.bodyParams, localVarAxiosArgs?.timeUnit, { isSigned: true });
537
581
  }
538
582
  /**
539
583
  * Query asset dividend record.
@@ -552,7 +596,7 @@ var AssetApi = class {
552
596
  */
553
597
  async assetDividendRecord(requestParameters = {}) {
554
598
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.assetDividendRecord(requestParameters?.asset, requestParameters?.startTime, requestParameters?.endTime, requestParameters?.limit, requestParameters?.recvWindow);
555
- return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.params, localVarAxiosArgs?.timeUnit, { isSigned: true });
599
+ return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.queryParams, localVarAxiosArgs.bodyParams, localVarAxiosArgs?.timeUnit, { isSigned: true });
556
600
  }
557
601
  /**
558
602
  * Convert dust assets to BNB.
@@ -570,7 +614,7 @@ var AssetApi = class {
570
614
  */
571
615
  async dustTransfer(requestParameters) {
572
616
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.dustTransfer(requestParameters?.asset, requestParameters?.accountType, requestParameters?.recvWindow);
573
- return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.params, localVarAxiosArgs?.timeUnit, { isSigned: true });
617
+ return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.queryParams, localVarAxiosArgs.bodyParams, localVarAxiosArgs?.timeUnit, { isSigned: true });
574
618
  }
575
619
  /**
576
620
  * Dustlog
@@ -589,7 +633,7 @@ var AssetApi = class {
589
633
  */
590
634
  async dustlog(requestParameters = {}) {
591
635
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.dustlog(requestParameters?.startTime, requestParameters?.endTime, requestParameters?.recvWindow);
592
- return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.params, localVarAxiosArgs?.timeUnit, { isSigned: true });
636
+ return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.queryParams, localVarAxiosArgs.bodyParams, localVarAxiosArgs?.timeUnit, { isSigned: true });
593
637
  }
594
638
  /**
595
639
  * Query Funding Wallet
@@ -608,7 +652,7 @@ var AssetApi = class {
608
652
  */
609
653
  async fundingWallet(requestParameters = {}) {
610
654
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.fundingWallet(requestParameters?.asset, requestParameters?.needBtcValuation, requestParameters?.recvWindow);
611
- return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.params, localVarAxiosArgs?.timeUnit, { isSigned: true });
655
+ return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.queryParams, localVarAxiosArgs.bodyParams, localVarAxiosArgs?.timeUnit, { isSigned: true });
612
656
  }
613
657
  /**
614
658
  * Get Assets That Can Be Converted Into BNB
@@ -624,7 +668,7 @@ var AssetApi = class {
624
668
  */
625
669
  async getAssetsThatCanBeConvertedIntoBnb(requestParameters = {}) {
626
670
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.getAssetsThatCanBeConvertedIntoBnb(requestParameters?.accountType, requestParameters?.recvWindow);
627
- return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.params, localVarAxiosArgs?.timeUnit, { isSigned: true });
671
+ return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.queryParams, localVarAxiosArgs.bodyParams, localVarAxiosArgs?.timeUnit, { isSigned: true });
628
672
  }
629
673
  /**
630
674
  * The query of Cloud-Mining payment and refund history
@@ -643,7 +687,7 @@ var AssetApi = class {
643
687
  */
644
688
  async getCloudMiningPaymentAndRefundHistory(requestParameters) {
645
689
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.getCloudMiningPaymentAndRefundHistory(requestParameters?.startTime, requestParameters?.endTime, requestParameters?.tranId, requestParameters?.clientTranId, requestParameters?.asset, requestParameters?.current, requestParameters?.size);
646
- return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.params, localVarAxiosArgs?.timeUnit, { isSigned: true });
690
+ return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.queryParams, localVarAxiosArgs.bodyParams, localVarAxiosArgs?.timeUnit, { isSigned: true });
647
691
  }
648
692
  /**
649
693
  * Get the list of symbols that are scheduled to be opened for trading in the market.
@@ -658,7 +702,7 @@ var AssetApi = class {
658
702
  */
659
703
  async getOpenSymbolList() {
660
704
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.getOpenSymbolList();
661
- return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.params, localVarAxiosArgs?.timeUnit, { isSigned: false });
705
+ return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.queryParams, localVarAxiosArgs.bodyParams, localVarAxiosArgs?.timeUnit, { isSigned: false });
662
706
  }
663
707
  /**
664
708
  * Query User Delegation History
@@ -676,7 +720,7 @@ var AssetApi = class {
676
720
  */
677
721
  async queryUserDelegationHistory(requestParameters) {
678
722
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.queryUserDelegationHistory(requestParameters?.email, requestParameters?.startTime, requestParameters?.endTime, requestParameters?.type, requestParameters?.asset, requestParameters?.current, requestParameters?.size, requestParameters?.recvWindow);
679
- return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.params, localVarAxiosArgs?.timeUnit, { isSigned: true });
723
+ return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.queryParams, localVarAxiosArgs.bodyParams, localVarAxiosArgs?.timeUnit, { isSigned: true });
680
724
  }
681
725
  /**
682
726
  * Query User Universal Transfer History
@@ -698,7 +742,7 @@ var AssetApi = class {
698
742
  */
699
743
  async queryUserUniversalTransferHistory(requestParameters) {
700
744
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.queryUserUniversalTransferHistory(requestParameters?.type, requestParameters?.startTime, requestParameters?.endTime, requestParameters?.current, requestParameters?.size, requestParameters?.fromSymbol, requestParameters?.toSymbol, requestParameters?.recvWindow);
701
- return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.params, localVarAxiosArgs?.timeUnit, { isSigned: true });
745
+ return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.queryParams, localVarAxiosArgs.bodyParams, localVarAxiosArgs?.timeUnit, { isSigned: true });
702
746
  }
703
747
  /**
704
748
  * Query User Wallet Balance
@@ -714,7 +758,7 @@ var AssetApi = class {
714
758
  */
715
759
  async queryUserWalletBalance(requestParameters = {}) {
716
760
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.queryUserWalletBalance(requestParameters?.quoteAsset, requestParameters?.recvWindow);
717
- return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.params, localVarAxiosArgs?.timeUnit, { isSigned: true });
761
+ return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.queryParams, localVarAxiosArgs.bodyParams, localVarAxiosArgs?.timeUnit, { isSigned: true });
718
762
  }
719
763
  /**
720
764
  * Toggle BNB Burn On Spot Trade And Margin Interest
@@ -732,7 +776,7 @@ var AssetApi = class {
732
776
  */
733
777
  async toggleBnbBurnOnSpotTradeAndMarginInterest(requestParameters = {}) {
734
778
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.toggleBnbBurnOnSpotTradeAndMarginInterest(requestParameters?.spotBNBBurn, requestParameters?.interestBNBBurn, requestParameters?.recvWindow);
735
- return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.params, localVarAxiosArgs?.timeUnit, { isSigned: true });
779
+ return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.queryParams, localVarAxiosArgs.bodyParams, localVarAxiosArgs?.timeUnit, { isSigned: true });
736
780
  }
737
781
  /**
738
782
  * Fetch trade fee
@@ -748,7 +792,7 @@ var AssetApi = class {
748
792
  */
749
793
  async tradeFee(requestParameters = {}) {
750
794
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.tradeFee(requestParameters?.symbol, requestParameters?.recvWindow);
751
- return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.params, localVarAxiosArgs?.timeUnit, { isSigned: true });
795
+ return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.queryParams, localVarAxiosArgs.bodyParams, localVarAxiosArgs?.timeUnit, { isSigned: true });
752
796
  }
753
797
  /**
754
798
  * Get user assets, just for positive data.
@@ -767,7 +811,7 @@ var AssetApi = class {
767
811
  */
768
812
  async userAsset(requestParameters = {}) {
769
813
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.userAsset(requestParameters?.asset, requestParameters?.needBtcValuation, requestParameters?.recvWindow);
770
- return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.params, localVarAxiosArgs?.timeUnit, { isSigned: true });
814
+ return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.queryParams, localVarAxiosArgs.bodyParams, localVarAxiosArgs?.timeUnit, { isSigned: true });
771
815
  }
772
816
  /**
773
817
  * user universal transfer
@@ -818,7 +862,7 @@ var AssetApi = class {
818
862
  */
819
863
  async userUniversalTransfer(requestParameters) {
820
864
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.userUniversalTransfer(requestParameters?.type, requestParameters?.asset, requestParameters?.amount, requestParameters?.fromSymbol, requestParameters?.toSymbol, requestParameters?.recvWindow);
821
- return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.params, localVarAxiosArgs?.timeUnit, { isSigned: true });
865
+ return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.queryParams, localVarAxiosArgs.bodyParams, localVarAxiosArgs?.timeUnit, { isSigned: true });
822
866
  }
823
867
  };
824
868
 
@@ -843,19 +887,22 @@ const CapitalApiAxiosParamCreator = function(configuration) {
843
887
  return {
844
888
  allCoinsInformation: async (recvWindow) => {
845
889
  const localVarQueryParameter = {};
890
+ const localVarBodyParameter = {};
846
891
  if (recvWindow !== void 0 && recvWindow !== null) localVarQueryParameter["recvWindow"] = recvWindow;
847
892
  let _timeUnit;
848
893
  if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
849
894
  return {
850
895
  endpoint: "/sapi/v1/capital/config/getall",
851
896
  method: "GET",
852
- params: localVarQueryParameter,
897
+ queryParams: localVarQueryParameter,
898
+ bodyParams: localVarBodyParameter,
853
899
  timeUnit: _timeUnit
854
900
  };
855
901
  },
856
902
  depositAddress: async (coin, network, amount, recvWindow) => {
857
903
  (0, __binance_common.assertParamExists)("depositAddress", "coin", coin);
858
904
  const localVarQueryParameter = {};
905
+ const localVarBodyParameter = {};
859
906
  if (coin !== void 0 && coin !== null) localVarQueryParameter["coin"] = coin;
860
907
  if (network !== void 0 && network !== null) localVarQueryParameter["network"] = network;
861
908
  if (amount !== void 0 && amount !== null) localVarQueryParameter["amount"] = amount;
@@ -865,12 +912,14 @@ const CapitalApiAxiosParamCreator = function(configuration) {
865
912
  return {
866
913
  endpoint: "/sapi/v1/capital/deposit/address",
867
914
  method: "GET",
868
- params: localVarQueryParameter,
915
+ queryParams: localVarQueryParameter,
916
+ bodyParams: localVarBodyParameter,
869
917
  timeUnit: _timeUnit
870
918
  };
871
919
  },
872
920
  depositHistory: async (includeSource, coin, status, startTime, endTime, offset, limit, recvWindow, txId) => {
873
921
  const localVarQueryParameter = {};
922
+ const localVarBodyParameter = {};
874
923
  if (includeSource !== void 0 && includeSource !== null) localVarQueryParameter["includeSource"] = includeSource;
875
924
  if (coin !== void 0 && coin !== null) localVarQueryParameter["coin"] = coin;
876
925
  if (status !== void 0 && status !== null) localVarQueryParameter["status"] = status;
@@ -885,13 +934,15 @@ const CapitalApiAxiosParamCreator = function(configuration) {
885
934
  return {
886
935
  endpoint: "/sapi/v1/capital/deposit/hisrec",
887
936
  method: "GET",
888
- params: localVarQueryParameter,
937
+ queryParams: localVarQueryParameter,
938
+ bodyParams: localVarBodyParameter,
889
939
  timeUnit: _timeUnit
890
940
  };
891
941
  },
892
942
  fetchDepositAddressListWithNetwork: async (coin, network) => {
893
943
  (0, __binance_common.assertParamExists)("fetchDepositAddressListWithNetwork", "coin", coin);
894
944
  const localVarQueryParameter = {};
945
+ const localVarBodyParameter = {};
895
946
  if (coin !== void 0 && coin !== null) localVarQueryParameter["coin"] = coin;
896
947
  if (network !== void 0 && network !== null) localVarQueryParameter["network"] = network;
897
948
  let _timeUnit;
@@ -899,34 +950,40 @@ const CapitalApiAxiosParamCreator = function(configuration) {
899
950
  return {
900
951
  endpoint: "/sapi/v1/capital/deposit/address/list",
901
952
  method: "GET",
902
- params: localVarQueryParameter,
953
+ queryParams: localVarQueryParameter,
954
+ bodyParams: localVarBodyParameter,
903
955
  timeUnit: _timeUnit
904
956
  };
905
957
  },
906
958
  fetchWithdrawAddressList: async () => {
907
959
  const localVarQueryParameter = {};
960
+ const localVarBodyParameter = {};
908
961
  let _timeUnit;
909
962
  if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
910
963
  return {
911
964
  endpoint: "/sapi/v1/capital/withdraw/address/list",
912
965
  method: "GET",
913
- params: localVarQueryParameter,
966
+ queryParams: localVarQueryParameter,
967
+ bodyParams: localVarBodyParameter,
914
968
  timeUnit: _timeUnit
915
969
  };
916
970
  },
917
971
  fetchWithdrawQuota: async () => {
918
972
  const localVarQueryParameter = {};
973
+ const localVarBodyParameter = {};
919
974
  let _timeUnit;
920
975
  if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
921
976
  return {
922
977
  endpoint: "/sapi/v1/capital/withdraw/quota",
923
978
  method: "GET",
924
- params: localVarQueryParameter,
979
+ queryParams: localVarQueryParameter,
980
+ bodyParams: localVarBodyParameter,
925
981
  timeUnit: _timeUnit
926
982
  };
927
983
  },
928
984
  oneClickArrivalDepositApply: async (depositId, txId, subAccountId, subUserId) => {
929
985
  const localVarQueryParameter = {};
986
+ const localVarBodyParameter = {};
930
987
  if (depositId !== void 0 && depositId !== null) localVarQueryParameter["depositId"] = depositId;
931
988
  if (txId !== void 0 && txId !== null) localVarQueryParameter["txId"] = txId;
932
989
  if (subAccountId !== void 0 && subAccountId !== null) localVarQueryParameter["subAccountId"] = subAccountId;
@@ -936,7 +993,8 @@ const CapitalApiAxiosParamCreator = function(configuration) {
936
993
  return {
937
994
  endpoint: "/sapi/v1/capital/deposit/credit-apply",
938
995
  method: "POST",
939
- params: localVarQueryParameter,
996
+ queryParams: localVarQueryParameter,
997
+ bodyParams: localVarBodyParameter,
940
998
  timeUnit: _timeUnit
941
999
  };
942
1000
  },
@@ -945,6 +1003,7 @@ const CapitalApiAxiosParamCreator = function(configuration) {
945
1003
  (0, __binance_common.assertParamExists)("withdraw", "address", address);
946
1004
  (0, __binance_common.assertParamExists)("withdraw", "amount", amount);
947
1005
  const localVarQueryParameter = {};
1006
+ const localVarBodyParameter = {};
948
1007
  if (coin !== void 0 && coin !== null) localVarQueryParameter["coin"] = coin;
949
1008
  if (withdrawOrderId !== void 0 && withdrawOrderId !== null) localVarQueryParameter["withdrawOrderId"] = withdrawOrderId;
950
1009
  if (network !== void 0 && network !== null) localVarQueryParameter["network"] = network;
@@ -960,12 +1019,14 @@ const CapitalApiAxiosParamCreator = function(configuration) {
960
1019
  return {
961
1020
  endpoint: "/sapi/v1/capital/withdraw/apply",
962
1021
  method: "POST",
963
- params: localVarQueryParameter,
1022
+ queryParams: localVarQueryParameter,
1023
+ bodyParams: localVarBodyParameter,
964
1024
  timeUnit: _timeUnit
965
1025
  };
966
1026
  },
967
1027
  withdrawHistory: async (coin, withdrawOrderId, status, offset, limit, idList, startTime, endTime, recvWindow) => {
968
1028
  const localVarQueryParameter = {};
1029
+ const localVarBodyParameter = {};
969
1030
  if (coin !== void 0 && coin !== null) localVarQueryParameter["coin"] = coin;
970
1031
  if (withdrawOrderId !== void 0 && withdrawOrderId !== null) localVarQueryParameter["withdrawOrderId"] = withdrawOrderId;
971
1032
  if (status !== void 0 && status !== null) localVarQueryParameter["status"] = status;
@@ -980,7 +1041,8 @@ const CapitalApiAxiosParamCreator = function(configuration) {
980
1041
  return {
981
1042
  endpoint: "/sapi/v1/capital/withdraw/history",
982
1043
  method: "GET",
983
- params: localVarQueryParameter,
1044
+ queryParams: localVarQueryParameter,
1045
+ bodyParams: localVarBodyParameter,
984
1046
  timeUnit: _timeUnit
985
1047
  };
986
1048
  }
@@ -1009,7 +1071,7 @@ var CapitalApi = class {
1009
1071
  */
1010
1072
  async allCoinsInformation(requestParameters = {}) {
1011
1073
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.allCoinsInformation(requestParameters?.recvWindow);
1012
- return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.params, localVarAxiosArgs?.timeUnit, { isSigned: true });
1074
+ return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.queryParams, localVarAxiosArgs.bodyParams, localVarAxiosArgs?.timeUnit, { isSigned: true });
1013
1075
  }
1014
1076
  /**
1015
1077
  * Fetch deposit address with network.
@@ -1029,7 +1091,7 @@ var CapitalApi = class {
1029
1091
  */
1030
1092
  async depositAddress(requestParameters) {
1031
1093
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.depositAddress(requestParameters?.coin, requestParameters?.network, requestParameters?.amount, requestParameters?.recvWindow);
1032
- return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.params, localVarAxiosArgs?.timeUnit, { isSigned: true });
1094
+ return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.queryParams, localVarAxiosArgs.bodyParams, localVarAxiosArgs?.timeUnit, { isSigned: true });
1033
1095
  }
1034
1096
  /**
1035
1097
  * Fetch deposit history.
@@ -1049,7 +1111,7 @@ var CapitalApi = class {
1049
1111
  */
1050
1112
  async depositHistory(requestParameters = {}) {
1051
1113
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.depositHistory(requestParameters?.includeSource, requestParameters?.coin, requestParameters?.status, requestParameters?.startTime, requestParameters?.endTime, requestParameters?.offset, requestParameters?.limit, requestParameters?.recvWindow, requestParameters?.txId);
1052
- return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.params, localVarAxiosArgs?.timeUnit, { isSigned: true });
1114
+ return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.queryParams, localVarAxiosArgs.bodyParams, localVarAxiosArgs?.timeUnit, { isSigned: true });
1053
1115
  }
1054
1116
  /**
1055
1117
  * Fetch deposit address list with network.
@@ -1069,7 +1131,7 @@ var CapitalApi = class {
1069
1131
  */
1070
1132
  async fetchDepositAddressListWithNetwork(requestParameters) {
1071
1133
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.fetchDepositAddressListWithNetwork(requestParameters?.coin, requestParameters?.network);
1072
- return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.params, localVarAxiosArgs?.timeUnit, { isSigned: true });
1134
+ return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.queryParams, localVarAxiosArgs.bodyParams, localVarAxiosArgs?.timeUnit, { isSigned: true });
1073
1135
  }
1074
1136
  /**
1075
1137
  * Fetch withdraw address list
@@ -1084,7 +1146,7 @@ var CapitalApi = class {
1084
1146
  */
1085
1147
  async fetchWithdrawAddressList() {
1086
1148
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.fetchWithdrawAddressList();
1087
- return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.params, localVarAxiosArgs?.timeUnit, { isSigned: true });
1149
+ return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.queryParams, localVarAxiosArgs.bodyParams, localVarAxiosArgs?.timeUnit, { isSigned: true });
1088
1150
  }
1089
1151
  /**
1090
1152
  * Fetch withdraw quota
@@ -1099,7 +1161,7 @@ var CapitalApi = class {
1099
1161
  */
1100
1162
  async fetchWithdrawQuota() {
1101
1163
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.fetchWithdrawQuota();
1102
- return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.params, localVarAxiosArgs?.timeUnit, { isSigned: true });
1164
+ return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.queryParams, localVarAxiosArgs.bodyParams, localVarAxiosArgs?.timeUnit, { isSigned: true });
1103
1165
  }
1104
1166
  /**
1105
1167
  * Apply deposit credit for expired address (One click arrival)
@@ -1117,7 +1179,7 @@ var CapitalApi = class {
1117
1179
  */
1118
1180
  async oneClickArrivalDepositApply(requestParameters = {}) {
1119
1181
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.oneClickArrivalDepositApply(requestParameters?.depositId, requestParameters?.txId, requestParameters?.subAccountId, requestParameters?.subUserId);
1120
- return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.params, localVarAxiosArgs?.timeUnit, { isSigned: true });
1182
+ return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.queryParams, localVarAxiosArgs.bodyParams, localVarAxiosArgs?.timeUnit, { isSigned: true });
1121
1183
  }
1122
1184
  /**
1123
1185
  * Submit a withdraw request.
@@ -1138,7 +1200,7 @@ var CapitalApi = class {
1138
1200
  */
1139
1201
  async withdraw(requestParameters) {
1140
1202
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.withdraw(requestParameters?.coin, requestParameters?.address, requestParameters?.amount, requestParameters?.withdrawOrderId, requestParameters?.network, requestParameters?.addressTag, requestParameters?.transactionFeeFlag, requestParameters?.name, requestParameters?.walletType, requestParameters?.recvWindow);
1141
- return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.params, localVarAxiosArgs?.timeUnit, { isSigned: true });
1203
+ return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.queryParams, localVarAxiosArgs.bodyParams, localVarAxiosArgs?.timeUnit, { isSigned: true });
1142
1204
  }
1143
1205
  /**
1144
1206
  * Fetch withdraw history.
@@ -1162,7 +1224,7 @@ var CapitalApi = class {
1162
1224
  */
1163
1225
  async withdrawHistory(requestParameters = {}) {
1164
1226
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.withdrawHistory(requestParameters?.coin, requestParameters?.withdrawOrderId, requestParameters?.status, requestParameters?.offset, requestParameters?.limit, requestParameters?.idList, requestParameters?.startTime, requestParameters?.endTime, requestParameters?.recvWindow);
1165
- return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.params, localVarAxiosArgs?.timeUnit, { isSigned: true });
1227
+ return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.queryParams, localVarAxiosArgs.bodyParams, localVarAxiosArgs?.timeUnit, { isSigned: true });
1166
1228
  }
1167
1229
  };
1168
1230
 
@@ -1187,24 +1249,28 @@ const OthersApiAxiosParamCreator = function(configuration) {
1187
1249
  return {
1188
1250
  getSymbolsDelistScheduleForSpot: async (recvWindow) => {
1189
1251
  const localVarQueryParameter = {};
1252
+ const localVarBodyParameter = {};
1190
1253
  if (recvWindow !== void 0 && recvWindow !== null) localVarQueryParameter["recvWindow"] = recvWindow;
1191
1254
  let _timeUnit;
1192
1255
  if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
1193
1256
  return {
1194
1257
  endpoint: "/sapi/v1/spot/delist-schedule",
1195
1258
  method: "GET",
1196
- params: localVarQueryParameter,
1259
+ queryParams: localVarQueryParameter,
1260
+ bodyParams: localVarBodyParameter,
1197
1261
  timeUnit: _timeUnit
1198
1262
  };
1199
1263
  },
1200
1264
  systemStatus: async () => {
1201
1265
  const localVarQueryParameter = {};
1266
+ const localVarBodyParameter = {};
1202
1267
  let _timeUnit;
1203
1268
  if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
1204
1269
  return {
1205
1270
  endpoint: "/sapi/v1/system/status",
1206
1271
  method: "GET",
1207
- params: localVarQueryParameter,
1272
+ queryParams: localVarQueryParameter,
1273
+ bodyParams: localVarBodyParameter,
1208
1274
  timeUnit: _timeUnit
1209
1275
  };
1210
1276
  }
@@ -1233,7 +1299,7 @@ var OthersApi = class {
1233
1299
  */
1234
1300
  async getSymbolsDelistScheduleForSpot(requestParameters = {}) {
1235
1301
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.getSymbolsDelistScheduleForSpot(requestParameters?.recvWindow);
1236
- return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.params, localVarAxiosArgs?.timeUnit, { isSigned: false });
1302
+ return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.queryParams, localVarAxiosArgs.bodyParams, localVarAxiosArgs?.timeUnit, { isSigned: false });
1237
1303
  }
1238
1304
  /**
1239
1305
  * Fetch system status.
@@ -1248,7 +1314,7 @@ var OthersApi = class {
1248
1314
  */
1249
1315
  async systemStatus() {
1250
1316
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.systemStatus();
1251
- return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.params, localVarAxiosArgs?.timeUnit, { isSigned: false });
1317
+ return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.queryParams, localVarAxiosArgs.bodyParams, localVarAxiosArgs?.timeUnit, { isSigned: false });
1252
1318
  }
1253
1319
  };
1254
1320
 
@@ -1280,6 +1346,7 @@ const TravelRuleApiAxiosParamCreator = function(configuration) {
1280
1346
  (0, __binance_common.assertParamExists)("brokerWithdraw", "originatorPii", originatorPii);
1281
1347
  (0, __binance_common.assertParamExists)("brokerWithdraw", "signature", signature);
1282
1348
  const localVarQueryParameter = {};
1349
+ const localVarBodyParameter = {};
1283
1350
  if (address !== void 0 && address !== null) localVarQueryParameter["address"] = address;
1284
1351
  if (addressTag !== void 0 && addressTag !== null) localVarQueryParameter["addressTag"] = addressTag;
1285
1352
  if (network !== void 0 && network !== null) localVarQueryParameter["network"] = network;
@@ -1297,24 +1364,28 @@ const TravelRuleApiAxiosParamCreator = function(configuration) {
1297
1364
  return {
1298
1365
  endpoint: "/sapi/v1/localentity/broker/withdraw/apply",
1299
1366
  method: "POST",
1300
- params: localVarQueryParameter,
1367
+ queryParams: localVarQueryParameter,
1368
+ bodyParams: localVarBodyParameter,
1301
1369
  timeUnit: _timeUnit
1302
1370
  };
1303
1371
  },
1304
1372
  checkQuestionnaireRequirements: async (recvWindow) => {
1305
1373
  const localVarQueryParameter = {};
1374
+ const localVarBodyParameter = {};
1306
1375
  if (recvWindow !== void 0 && recvWindow !== null) localVarQueryParameter["recvWindow"] = recvWindow;
1307
1376
  let _timeUnit;
1308
1377
  if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
1309
1378
  return {
1310
1379
  endpoint: "/sapi/v1/localentity/questionnaire-requirements",
1311
1380
  method: "GET",
1312
- params: localVarQueryParameter,
1381
+ queryParams: localVarQueryParameter,
1382
+ bodyParams: localVarBodyParameter,
1313
1383
  timeUnit: _timeUnit
1314
1384
  };
1315
1385
  },
1316
1386
  depositHistoryTravelRule: async (trId, txId, tranId, network, coin, travelRuleStatus, pendingQuestionnaire, startTime, endTime, offset, limit) => {
1317
1387
  const localVarQueryParameter = {};
1388
+ const localVarBodyParameter = {};
1318
1389
  if (trId !== void 0 && trId !== null) localVarQueryParameter["trId"] = trId;
1319
1390
  if (txId !== void 0 && txId !== null) localVarQueryParameter["txId"] = txId;
1320
1391
  if (tranId !== void 0 && tranId !== null) localVarQueryParameter["tranId"] = tranId;
@@ -1331,12 +1402,14 @@ const TravelRuleApiAxiosParamCreator = function(configuration) {
1331
1402
  return {
1332
1403
  endpoint: "/sapi/v1/localentity/deposit/history",
1333
1404
  method: "GET",
1334
- params: localVarQueryParameter,
1405
+ queryParams: localVarQueryParameter,
1406
+ bodyParams: localVarBodyParameter,
1335
1407
  timeUnit: _timeUnit
1336
1408
  };
1337
1409
  },
1338
1410
  depositHistoryV2: async (depositId, txId, network, coin, retrieveQuestionnaire, startTime, endTime, offset, limit) => {
1339
1411
  const localVarQueryParameter = {};
1412
+ const localVarBodyParameter = {};
1340
1413
  if (depositId !== void 0 && depositId !== null) localVarQueryParameter["depositId"] = depositId;
1341
1414
  if (txId !== void 0 && txId !== null) localVarQueryParameter["txId"] = txId;
1342
1415
  if (network !== void 0 && network !== null) localVarQueryParameter["network"] = network;
@@ -1351,19 +1424,22 @@ const TravelRuleApiAxiosParamCreator = function(configuration) {
1351
1424
  return {
1352
1425
  endpoint: "/sapi/v2/localentity/deposit/history",
1353
1426
  method: "GET",
1354
- params: localVarQueryParameter,
1427
+ queryParams: localVarQueryParameter,
1428
+ bodyParams: localVarBodyParameter,
1355
1429
  timeUnit: _timeUnit
1356
1430
  };
1357
1431
  },
1358
1432
  fetchAddressVerificationList: async (recvWindow) => {
1359
1433
  const localVarQueryParameter = {};
1434
+ const localVarBodyParameter = {};
1360
1435
  if (recvWindow !== void 0 && recvWindow !== null) localVarQueryParameter["recvWindow"] = recvWindow;
1361
1436
  let _timeUnit;
1362
1437
  if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
1363
1438
  return {
1364
1439
  endpoint: "/sapi/v1/addressVerify/list",
1365
1440
  method: "GET",
1366
- params: localVarQueryParameter,
1441
+ queryParams: localVarQueryParameter,
1442
+ bodyParams: localVarBodyParameter,
1367
1443
  timeUnit: _timeUnit
1368
1444
  };
1369
1445
  },
@@ -1374,6 +1450,7 @@ const TravelRuleApiAxiosParamCreator = function(configuration) {
1374
1450
  (0, __binance_common.assertParamExists)("submitDepositQuestionnaire", "beneficiaryPii", beneficiaryPii);
1375
1451
  (0, __binance_common.assertParamExists)("submitDepositQuestionnaire", "signature", signature);
1376
1452
  const localVarQueryParameter = {};
1453
+ const localVarBodyParameter = {};
1377
1454
  if (subAccountId !== void 0 && subAccountId !== null) localVarQueryParameter["subAccountId"] = subAccountId;
1378
1455
  if (depositId !== void 0 && depositId !== null) localVarQueryParameter["depositId"] = depositId;
1379
1456
  if (questionnaire !== void 0 && questionnaire !== null) localVarQueryParameter["questionnaire"] = questionnaire;
@@ -1389,7 +1466,8 @@ const TravelRuleApiAxiosParamCreator = function(configuration) {
1389
1466
  return {
1390
1467
  endpoint: "/sapi/v1/localentity/broker/deposit/provide-info",
1391
1468
  method: "PUT",
1392
- params: localVarQueryParameter,
1469
+ queryParams: localVarQueryParameter,
1470
+ bodyParams: localVarBodyParameter,
1393
1471
  timeUnit: _timeUnit
1394
1472
  };
1395
1473
  },
@@ -1397,6 +1475,7 @@ const TravelRuleApiAxiosParamCreator = function(configuration) {
1397
1475
  (0, __binance_common.assertParamExists)("submitDepositQuestionnaireTravelRule", "tranId", tranId);
1398
1476
  (0, __binance_common.assertParamExists)("submitDepositQuestionnaireTravelRule", "questionnaire", questionnaire);
1399
1477
  const localVarQueryParameter = {};
1478
+ const localVarBodyParameter = {};
1400
1479
  if (tranId !== void 0 && tranId !== null) localVarQueryParameter["tranId"] = tranId;
1401
1480
  if (questionnaire !== void 0 && questionnaire !== null) localVarQueryParameter["questionnaire"] = questionnaire;
1402
1481
  let _timeUnit;
@@ -1404,24 +1483,28 @@ const TravelRuleApiAxiosParamCreator = function(configuration) {
1404
1483
  return {
1405
1484
  endpoint: "/sapi/v1/localentity/deposit/provide-info",
1406
1485
  method: "PUT",
1407
- params: localVarQueryParameter,
1486
+ queryParams: localVarQueryParameter,
1487
+ bodyParams: localVarBodyParameter,
1408
1488
  timeUnit: _timeUnit
1409
1489
  };
1410
1490
  },
1411
1491
  vaspList: async (recvWindow) => {
1412
1492
  const localVarQueryParameter = {};
1493
+ const localVarBodyParameter = {};
1413
1494
  if (recvWindow !== void 0 && recvWindow !== null) localVarQueryParameter["recvWindow"] = recvWindow;
1414
1495
  let _timeUnit;
1415
1496
  if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
1416
1497
  return {
1417
1498
  endpoint: "/sapi/v1/localentity/vasp",
1418
1499
  method: "GET",
1419
- params: localVarQueryParameter,
1500
+ queryParams: localVarQueryParameter,
1501
+ bodyParams: localVarBodyParameter,
1420
1502
  timeUnit: _timeUnit
1421
1503
  };
1422
1504
  },
1423
1505
  withdrawHistoryV1: async (trId, txId, withdrawOrderId, network, coin, travelRuleStatus, offset, limit, startTime, endTime, recvWindow) => {
1424
1506
  const localVarQueryParameter = {};
1507
+ const localVarBodyParameter = {};
1425
1508
  if (trId !== void 0 && trId !== null) localVarQueryParameter["trId"] = trId;
1426
1509
  if (txId !== void 0 && txId !== null) localVarQueryParameter["txId"] = txId;
1427
1510
  if (withdrawOrderId !== void 0 && withdrawOrderId !== null) localVarQueryParameter["withdrawOrderId"] = withdrawOrderId;
@@ -1438,12 +1521,14 @@ const TravelRuleApiAxiosParamCreator = function(configuration) {
1438
1521
  return {
1439
1522
  endpoint: "/sapi/v1/localentity/withdraw/history",
1440
1523
  method: "GET",
1441
- params: localVarQueryParameter,
1524
+ queryParams: localVarQueryParameter,
1525
+ bodyParams: localVarBodyParameter,
1442
1526
  timeUnit: _timeUnit
1443
1527
  };
1444
1528
  },
1445
1529
  withdrawHistoryV2: async (trId, txId, withdrawOrderId, network, coin, travelRuleStatus, offset, limit, startTime, endTime, recvWindow) => {
1446
1530
  const localVarQueryParameter = {};
1531
+ const localVarBodyParameter = {};
1447
1532
  if (trId !== void 0 && trId !== null) localVarQueryParameter["trId"] = trId;
1448
1533
  if (txId !== void 0 && txId !== null) localVarQueryParameter["txId"] = txId;
1449
1534
  if (withdrawOrderId !== void 0 && withdrawOrderId !== null) localVarQueryParameter["withdrawOrderId"] = withdrawOrderId;
@@ -1460,7 +1545,8 @@ const TravelRuleApiAxiosParamCreator = function(configuration) {
1460
1545
  return {
1461
1546
  endpoint: "/sapi/v2/localentity/withdraw/history",
1462
1547
  method: "GET",
1463
- params: localVarQueryParameter,
1548
+ queryParams: localVarQueryParameter,
1549
+ bodyParams: localVarBodyParameter,
1464
1550
  timeUnit: _timeUnit
1465
1551
  };
1466
1552
  },
@@ -1470,6 +1556,7 @@ const TravelRuleApiAxiosParamCreator = function(configuration) {
1470
1556
  (0, __binance_common.assertParamExists)("withdrawTravelRule", "amount", amount);
1471
1557
  (0, __binance_common.assertParamExists)("withdrawTravelRule", "questionnaire", questionnaire);
1472
1558
  const localVarQueryParameter = {};
1559
+ const localVarBodyParameter = {};
1473
1560
  if (coin !== void 0 && coin !== null) localVarQueryParameter["coin"] = coin;
1474
1561
  if (withdrawOrderId !== void 0 && withdrawOrderId !== null) localVarQueryParameter["withdrawOrderId"] = withdrawOrderId;
1475
1562
  if (network !== void 0 && network !== null) localVarQueryParameter["network"] = network;
@@ -1486,7 +1573,8 @@ const TravelRuleApiAxiosParamCreator = function(configuration) {
1486
1573
  return {
1487
1574
  endpoint: "/sapi/v1/localentity/withdraw/apply",
1488
1575
  method: "POST",
1489
- params: localVarQueryParameter,
1576
+ queryParams: localVarQueryParameter,
1577
+ bodyParams: localVarBodyParameter,
1490
1578
  timeUnit: _timeUnit
1491
1579
  };
1492
1580
  }
@@ -1520,7 +1608,7 @@ var TravelRuleApi = class {
1520
1608
  */
1521
1609
  async brokerWithdraw(requestParameters) {
1522
1610
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.brokerWithdraw(requestParameters?.address, requestParameters?.coin, requestParameters?.amount, requestParameters?.withdrawOrderId, requestParameters?.questionnaire, requestParameters?.originatorPii, requestParameters?.signature, requestParameters?.addressTag, requestParameters?.network, requestParameters?.addressName, requestParameters?.transactionFeeFlag, requestParameters?.walletType);
1523
- return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.params, localVarAxiosArgs?.timeUnit, { isSigned: true });
1611
+ return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.queryParams, localVarAxiosArgs.bodyParams, localVarAxiosArgs?.timeUnit, { isSigned: true });
1524
1612
  }
1525
1613
  /**
1526
1614
  * This API will return user-specific Travel Rule questionnaire requirement information in reference to the current API key.
@@ -1536,7 +1624,7 @@ var TravelRuleApi = class {
1536
1624
  */
1537
1625
  async checkQuestionnaireRequirements(requestParameters = {}) {
1538
1626
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.checkQuestionnaireRequirements(requestParameters?.recvWindow);
1539
- return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.params, localVarAxiosArgs?.timeUnit, { isSigned: true });
1627
+ return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.queryParams, localVarAxiosArgs.bodyParams, localVarAxiosArgs?.timeUnit, { isSigned: true });
1540
1628
  }
1541
1629
  /**
1542
1630
  * Fetch deposit history for local entities that required travel rule.
@@ -1555,7 +1643,7 @@ var TravelRuleApi = class {
1555
1643
  */
1556
1644
  async depositHistoryTravelRule(requestParameters = {}) {
1557
1645
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.depositHistoryTravelRule(requestParameters?.trId, requestParameters?.txId, requestParameters?.tranId, requestParameters?.network, requestParameters?.coin, requestParameters?.travelRuleStatus, requestParameters?.pendingQuestionnaire, requestParameters?.startTime, requestParameters?.endTime, requestParameters?.offset, requestParameters?.limit);
1558
- return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.params, localVarAxiosArgs?.timeUnit, { isSigned: true });
1646
+ return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.queryParams, localVarAxiosArgs.bodyParams, localVarAxiosArgs?.timeUnit, { isSigned: true });
1559
1647
  }
1560
1648
  /**
1561
1649
  * Fetch deposit history for local entities that with required travel rule information.
@@ -1574,7 +1662,7 @@ var TravelRuleApi = class {
1574
1662
  */
1575
1663
  async depositHistoryV2(requestParameters = {}) {
1576
1664
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.depositHistoryV2(requestParameters?.depositId, requestParameters?.txId, requestParameters?.network, requestParameters?.coin, requestParameters?.retrieveQuestionnaire, requestParameters?.startTime, requestParameters?.endTime, requestParameters?.offset, requestParameters?.limit);
1577
- return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.params, localVarAxiosArgs?.timeUnit, { isSigned: true });
1665
+ return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.queryParams, localVarAxiosArgs.bodyParams, localVarAxiosArgs?.timeUnit, { isSigned: true });
1578
1666
  }
1579
1667
  /**
1580
1668
  * Fetch address verification list for user to check on status and other details for the addresses stored in Address Book.
@@ -1590,7 +1678,7 @@ var TravelRuleApi = class {
1590
1678
  */
1591
1679
  async fetchAddressVerificationList(requestParameters = {}) {
1592
1680
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.fetchAddressVerificationList(requestParameters?.recvWindow);
1593
- return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.params, localVarAxiosArgs?.timeUnit, { isSigned: true });
1681
+ return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.queryParams, localVarAxiosArgs.bodyParams, localVarAxiosArgs?.timeUnit, { isSigned: true });
1594
1682
  }
1595
1683
  /**
1596
1684
  * Submit questionnaire for brokers of local entities that require travel rule.
@@ -1611,7 +1699,7 @@ var TravelRuleApi = class {
1611
1699
  */
1612
1700
  async submitDepositQuestionnaire(requestParameters) {
1613
1701
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.submitDepositQuestionnaire(requestParameters?.subAccountId, requestParameters?.depositId, requestParameters?.questionnaire, requestParameters?.beneficiaryPii, requestParameters?.signature, requestParameters?.network, requestParameters?.coin, requestParameters?.amount, requestParameters?.address, requestParameters?.addressTag);
1614
- return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.params, localVarAxiosArgs?.timeUnit, { isSigned: true });
1702
+ return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.queryParams, localVarAxiosArgs.bodyParams, localVarAxiosArgs?.timeUnit, { isSigned: true });
1615
1703
  }
1616
1704
  /**
1617
1705
  * Submit questionnaire for local entities that require travel rule.
@@ -1632,7 +1720,7 @@ var TravelRuleApi = class {
1632
1720
  */
1633
1721
  async submitDepositQuestionnaireTravelRule(requestParameters) {
1634
1722
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.submitDepositQuestionnaireTravelRule(requestParameters?.tranId, requestParameters?.questionnaire);
1635
- return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.params, localVarAxiosArgs?.timeUnit, { isSigned: true });
1723
+ return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.queryParams, localVarAxiosArgs.bodyParams, localVarAxiosArgs?.timeUnit, { isSigned: true });
1636
1724
  }
1637
1725
  /**
1638
1726
  * Fetch the VASP list for local entities.
@@ -1648,7 +1736,7 @@ var TravelRuleApi = class {
1648
1736
  */
1649
1737
  async vaspList(requestParameters = {}) {
1650
1738
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.vaspList(requestParameters?.recvWindow);
1651
- return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.params, localVarAxiosArgs?.timeUnit, { isSigned: true });
1739
+ return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.queryParams, localVarAxiosArgs.bodyParams, localVarAxiosArgs?.timeUnit, { isSigned: true });
1652
1740
  }
1653
1741
  /**
1654
1742
  * Fetch withdraw history for local entities that required travel rule.
@@ -1668,7 +1756,7 @@ var TravelRuleApi = class {
1668
1756
  */
1669
1757
  async withdrawHistoryV1(requestParameters = {}) {
1670
1758
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.withdrawHistoryV1(requestParameters?.trId, requestParameters?.txId, requestParameters?.withdrawOrderId, requestParameters?.network, requestParameters?.coin, requestParameters?.travelRuleStatus, requestParameters?.offset, requestParameters?.limit, requestParameters?.startTime, requestParameters?.endTime, requestParameters?.recvWindow);
1671
- return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.params, localVarAxiosArgs?.timeUnit, { isSigned: true });
1759
+ return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.queryParams, localVarAxiosArgs.bodyParams, localVarAxiosArgs?.timeUnit, { isSigned: true });
1672
1760
  }
1673
1761
  /**
1674
1762
  * Fetch withdraw history for local entities that required travel rule.
@@ -1694,7 +1782,7 @@ var TravelRuleApi = class {
1694
1782
  */
1695
1783
  async withdrawHistoryV2(requestParameters = {}) {
1696
1784
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.withdrawHistoryV2(requestParameters?.trId, requestParameters?.txId, requestParameters?.withdrawOrderId, requestParameters?.network, requestParameters?.coin, requestParameters?.travelRuleStatus, requestParameters?.offset, requestParameters?.limit, requestParameters?.startTime, requestParameters?.endTime, requestParameters?.recvWindow);
1697
- return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.params, localVarAxiosArgs?.timeUnit, { isSigned: true });
1785
+ return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.queryParams, localVarAxiosArgs.bodyParams, localVarAxiosArgs?.timeUnit, { isSigned: true });
1698
1786
  }
1699
1787
  /**
1700
1788
  * Submit a withdrawal request for local entities that required travel rule.
@@ -1715,7 +1803,7 @@ var TravelRuleApi = class {
1715
1803
  */
1716
1804
  async withdrawTravelRule(requestParameters) {
1717
1805
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.withdrawTravelRule(requestParameters?.coin, requestParameters?.address, requestParameters?.amount, requestParameters?.questionnaire, requestParameters?.withdrawOrderId, requestParameters?.network, requestParameters?.addressTag, requestParameters?.transactionFeeFlag, requestParameters?.name, requestParameters?.walletType, requestParameters?.recvWindow);
1718
- return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.params, localVarAxiosArgs?.timeUnit, { isSigned: true });
1806
+ return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.queryParams, localVarAxiosArgs.bodyParams, localVarAxiosArgs?.timeUnit, { isSigned: true });
1719
1807
  }
1720
1808
  };
1721
1809
 
@@ -1746,23 +1834,25 @@ var RestAPI = class {
1746
1834
  * Generic function to send a request.
1747
1835
  * @param endpoint - The API endpoint to call.
1748
1836
  * @param method - HTTP method to use (GET, POST, DELETE, etc.).
1749
- * @param params - Query parameters for the request.
1837
+ * @param queryParams - Query parameters for the request.
1838
+ * @param bodyParams - Body parameters for the request.
1750
1839
  *
1751
1840
  * @returns A promise resolving to the response data object.
1752
1841
  */
1753
- sendRequest(endpoint, method, params = {}) {
1754
- return (0, __binance_common.sendRequest)(this.configuration, endpoint, method, params, void 0);
1842
+ sendRequest(endpoint, method, queryParams = {}, bodyParams = {}) {
1843
+ return (0, __binance_common.sendRequest)(this.configuration, endpoint, method, queryParams, bodyParams, void 0);
1755
1844
  }
1756
1845
  /**
1757
1846
  * Generic function to send a signed request.
1758
1847
  * @param endpoint - The API endpoint to call.
1759
1848
  * @param method - HTTP method to use (GET, POST, DELETE, etc.).
1760
- * @param params - Query parameters for the request.
1849
+ * @param queryParams - Query parameters for the request.
1850
+ * @param bodyParams - Body parameters for the request.
1761
1851
  *
1762
1852
  * @returns A promise resolving to the response data object.
1763
1853
  */
1764
- sendSignedRequest(endpoint, method, params = {}) {
1765
- return (0, __binance_common.sendRequest)(this.configuration, endpoint, method, params, void 0, { isSigned: true });
1854
+ sendSignedRequest(endpoint, method, queryParams = {}, bodyParams = {}) {
1855
+ return (0, __binance_common.sendRequest)(this.configuration, endpoint, method, queryParams, bodyParams, void 0, { isSigned: true });
1766
1856
  }
1767
1857
  /**
1768
1858
  * Fetch account api trading status detail.
@@ -2596,12 +2686,6 @@ Object.defineProperty(exports, 'BadRequestError', {
2596
2686
  return __binance_common.BadRequestError;
2597
2687
  }
2598
2688
  });
2599
- Object.defineProperty(exports, 'ConfigurationWallet', {
2600
- enumerable: true,
2601
- get: function () {
2602
- return ConfigurationWallet;
2603
- }
2604
- });
2605
2689
  Object.defineProperty(exports, 'ConnectorClientError', {
2606
2690
  enumerable: true,
2607
2691
  get: function () {