@binance/margin-trading 1.0.1 → 3.0.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.d.ts CHANGED
@@ -27,38 +27,6 @@ interface AdjustCrossMarginMaxLeverageResponse {
27
27
  success?: boolean;
28
28
  }
29
29
 
30
- /**
31
- * Binance Margin Trading REST API
32
- *
33
- * OpenAPI Specification for the Binance Margin Trading REST API
34
- *
35
- * The version of the OpenAPI document: 1.0.0
36
- *
37
- *
38
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
39
- * https://openapi-generator.tech
40
- * Do not edit the class manually.
41
- */
42
- /**
43
- *
44
- * @export
45
- * @interface BadRequest
46
- */
47
- interface BadRequest {
48
- /**
49
- *
50
- * @type {number}
51
- * @memberof BadRequest
52
- */
53
- code: number;
54
- /**
55
- *
56
- * @type {string}
57
- * @memberof BadRequest
58
- */
59
- message: string;
60
- }
61
-
62
30
  /**
63
31
  * Binance Margin Trading REST API
64
32
  *
@@ -2108,191 +2076,37 @@ interface MarginAccountNewOcoResponse {
2108
2076
  /**
2109
2077
  *
2110
2078
  * @export
2111
- * @interface MarginAccountNewOrderResponse1
2112
- */
2113
- interface MarginAccountNewOrderResponse1 {
2114
- /**
2115
- *
2116
- * @type {string}
2117
- * @memberof MarginAccountNewOrderResponse1
2118
- */
2119
- symbol?: string;
2120
- /**
2121
- *
2122
- * @type {number}
2123
- * @memberof MarginAccountNewOrderResponse1
2124
- */
2125
- orderId?: number;
2126
- /**
2127
- *
2128
- * @type {string}
2129
- * @memberof MarginAccountNewOrderResponse1
2130
- */
2131
- clientOrderId?: string;
2132
- /**
2133
- *
2134
- * @type {boolean}
2135
- * @memberof MarginAccountNewOrderResponse1
2136
- */
2137
- isIsolated?: boolean;
2138
- /**
2139
- *
2140
- * @type {number}
2141
- * @memberof MarginAccountNewOrderResponse1
2142
- */
2143
- transactTime?: number;
2144
- }
2145
-
2146
- /**
2147
- * Binance Margin Trading REST API
2148
- *
2149
- * OpenAPI Specification for the Binance Margin Trading REST API
2150
- *
2151
- * The version of the OpenAPI document: 1.0.0
2152
- *
2153
- *
2154
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2155
- * https://openapi-generator.tech
2156
- * Do not edit the class manually.
2157
- */
2158
- /**
2159
- *
2160
- * @export
2161
- * @interface MarginAccountNewOrderResponse2
2079
+ * @interface MarginAccountNewOrderResponseFillsInner
2162
2080
  */
2163
- interface MarginAccountNewOrderResponse2 {
2164
- /**
2165
- *
2166
- * @type {string}
2167
- * @memberof MarginAccountNewOrderResponse2
2168
- */
2169
- symbol?: string;
2170
- /**
2171
- *
2172
- * @type {number}
2173
- * @memberof MarginAccountNewOrderResponse2
2174
- */
2175
- orderId?: number;
2176
- /**
2177
- *
2178
- * @type {string}
2179
- * @memberof MarginAccountNewOrderResponse2
2180
- */
2181
- clientOrderId?: string;
2182
- /**
2183
- *
2184
- * @type {number}
2185
- * @memberof MarginAccountNewOrderResponse2
2186
- */
2187
- transactTime?: number;
2081
+ interface MarginAccountNewOrderResponseFillsInner {
2188
2082
  /**
2189
2083
  *
2190
2084
  * @type {string}
2191
- * @memberof MarginAccountNewOrderResponse2
2085
+ * @memberof MarginAccountNewOrderResponseFillsInner
2192
2086
  */
2193
2087
  price?: string;
2194
2088
  /**
2195
2089
  *
2196
2090
  * @type {string}
2197
- * @memberof MarginAccountNewOrderResponse2
2198
- */
2199
- origQty?: string;
2200
- /**
2201
- *
2202
- * @type {string}
2203
- * @memberof MarginAccountNewOrderResponse2
2204
- */
2205
- executedQty?: string;
2206
- /**
2207
- *
2208
- * @type {string}
2209
- * @memberof MarginAccountNewOrderResponse2
2210
- */
2211
- cummulativeQuoteQty?: string;
2212
- /**
2213
- *
2214
- * @type {string}
2215
- * @memberof MarginAccountNewOrderResponse2
2216
- */
2217
- status?: string;
2218
- /**
2219
- *
2220
- * @type {string}
2221
- * @memberof MarginAccountNewOrderResponse2
2222
- */
2223
- timeInForce?: string;
2224
- /**
2225
- *
2226
- * @type {string}
2227
- * @memberof MarginAccountNewOrderResponse2
2228
- */
2229
- type?: string;
2230
- /**
2231
- *
2232
- * @type {string}
2233
- * @memberof MarginAccountNewOrderResponse2
2234
- */
2235
- side?: string;
2236
- /**
2237
- *
2238
- * @type {boolean}
2239
- * @memberof MarginAccountNewOrderResponse2
2240
- */
2241
- isIsolated?: boolean;
2242
- /**
2243
- *
2244
- * @type {string}
2245
- * @memberof MarginAccountNewOrderResponse2
2246
- */
2247
- selfTradePreventionMode?: string;
2248
- }
2249
-
2250
- /**
2251
- * Binance Margin Trading REST API
2252
- *
2253
- * OpenAPI Specification for the Binance Margin Trading REST API
2254
- *
2255
- * The version of the OpenAPI document: 1.0.0
2256
- *
2257
- *
2258
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2259
- * https://openapi-generator.tech
2260
- * Do not edit the class manually.
2261
- */
2262
- /**
2263
- *
2264
- * @export
2265
- * @interface MarginAccountNewOrderResponse3FillsInner
2266
- */
2267
- interface MarginAccountNewOrderResponse3FillsInner {
2268
- /**
2269
- *
2270
- * @type {string}
2271
- * @memberof MarginAccountNewOrderResponse3FillsInner
2272
- */
2273
- price?: string;
2274
- /**
2275
- *
2276
- * @type {string}
2277
- * @memberof MarginAccountNewOrderResponse3FillsInner
2091
+ * @memberof MarginAccountNewOrderResponseFillsInner
2278
2092
  */
2279
2093
  qty?: string;
2280
2094
  /**
2281
2095
  *
2282
2096
  * @type {string}
2283
- * @memberof MarginAccountNewOrderResponse3FillsInner
2097
+ * @memberof MarginAccountNewOrderResponseFillsInner
2284
2098
  */
2285
2099
  commission?: string;
2286
2100
  /**
2287
2101
  *
2288
2102
  * @type {string}
2289
- * @memberof MarginAccountNewOrderResponse3FillsInner
2103
+ * @memberof MarginAccountNewOrderResponseFillsInner
2290
2104
  */
2291
2105
  commissionAsset?: string;
2292
2106
  /**
2293
2107
  *
2294
2108
  * @type {number}
2295
- * @memberof MarginAccountNewOrderResponse3FillsInner
2109
+ * @memberof MarginAccountNewOrderResponseFillsInner
2296
2110
  */
2297
2111
  tradeId?: number;
2298
2112
  }
@@ -2313,132 +2127,113 @@ interface MarginAccountNewOrderResponse3FillsInner {
2313
2127
  /**
2314
2128
  *
2315
2129
  * @export
2316
- * @interface MarginAccountNewOrderResponse3
2130
+ * @interface MarginAccountNewOrderResponse
2317
2131
  */
2318
- interface MarginAccountNewOrderResponse3 {
2132
+ interface MarginAccountNewOrderResponse {
2319
2133
  /**
2320
2134
  *
2321
2135
  * @type {string}
2322
- * @memberof MarginAccountNewOrderResponse3
2136
+ * @memberof MarginAccountNewOrderResponse
2323
2137
  */
2324
2138
  symbol?: string;
2325
2139
  /**
2326
2140
  *
2327
2141
  * @type {number}
2328
- * @memberof MarginAccountNewOrderResponse3
2142
+ * @memberof MarginAccountNewOrderResponse
2329
2143
  */
2330
2144
  orderId?: number;
2331
2145
  /**
2332
2146
  *
2333
2147
  * @type {string}
2334
- * @memberof MarginAccountNewOrderResponse3
2148
+ * @memberof MarginAccountNewOrderResponse
2335
2149
  */
2336
2150
  clientOrderId?: string;
2151
+ /**
2152
+ *
2153
+ * @type {boolean}
2154
+ * @memberof MarginAccountNewOrderResponse
2155
+ */
2156
+ isIsolated?: boolean;
2337
2157
  /**
2338
2158
  *
2339
2159
  * @type {number}
2340
- * @memberof MarginAccountNewOrderResponse3
2160
+ * @memberof MarginAccountNewOrderResponse
2341
2161
  */
2342
2162
  transactTime?: number;
2343
2163
  /**
2344
2164
  *
2345
2165
  * @type {string}
2346
- * @memberof MarginAccountNewOrderResponse3
2166
+ * @memberof MarginAccountNewOrderResponse
2347
2167
  */
2348
2168
  price?: string;
2349
2169
  /**
2350
2170
  *
2351
2171
  * @type {string}
2352
- * @memberof MarginAccountNewOrderResponse3
2172
+ * @memberof MarginAccountNewOrderResponse
2353
2173
  */
2354
2174
  origQty?: string;
2355
2175
  /**
2356
2176
  *
2357
2177
  * @type {string}
2358
- * @memberof MarginAccountNewOrderResponse3
2178
+ * @memberof MarginAccountNewOrderResponse
2359
2179
  */
2360
2180
  executedQty?: string;
2361
2181
  /**
2362
2182
  *
2363
2183
  * @type {string}
2364
- * @memberof MarginAccountNewOrderResponse3
2184
+ * @memberof MarginAccountNewOrderResponse
2365
2185
  */
2366
2186
  cummulativeQuoteQty?: string;
2367
2187
  /**
2368
2188
  *
2369
2189
  * @type {string}
2370
- * @memberof MarginAccountNewOrderResponse3
2190
+ * @memberof MarginAccountNewOrderResponse
2371
2191
  */
2372
2192
  status?: string;
2373
2193
  /**
2374
2194
  *
2375
2195
  * @type {string}
2376
- * @memberof MarginAccountNewOrderResponse3
2196
+ * @memberof MarginAccountNewOrderResponse
2377
2197
  */
2378
2198
  timeInForce?: string;
2379
2199
  /**
2380
2200
  *
2381
2201
  * @type {string}
2382
- * @memberof MarginAccountNewOrderResponse3
2202
+ * @memberof MarginAccountNewOrderResponse
2383
2203
  */
2384
2204
  type?: string;
2385
2205
  /**
2386
2206
  *
2387
2207
  * @type {string}
2388
- * @memberof MarginAccountNewOrderResponse3
2208
+ * @memberof MarginAccountNewOrderResponse
2389
2209
  */
2390
2210
  side?: string;
2391
- /**
2392
- *
2393
- * @type {number}
2394
- * @memberof MarginAccountNewOrderResponse3
2395
- */
2396
- marginBuyBorrowAmount?: number;
2397
2211
  /**
2398
2212
  *
2399
2213
  * @type {string}
2400
- * @memberof MarginAccountNewOrderResponse3
2214
+ * @memberof MarginAccountNewOrderResponse
2401
2215
  */
2402
- marginBuyBorrowAsset?: string;
2216
+ selfTradePreventionMode?: string;
2403
2217
  /**
2404
2218
  *
2405
- * @type {boolean}
2406
- * @memberof MarginAccountNewOrderResponse3
2219
+ * @type {number}
2220
+ * @memberof MarginAccountNewOrderResponse
2407
2221
  */
2408
- isIsolated?: boolean;
2222
+ marginBuyBorrowAmount?: number;
2409
2223
  /**
2410
2224
  *
2411
2225
  * @type {string}
2412
- * @memberof MarginAccountNewOrderResponse3
2226
+ * @memberof MarginAccountNewOrderResponse
2413
2227
  */
2414
- selfTradePreventionMode?: string;
2228
+ marginBuyBorrowAsset?: string;
2415
2229
  /**
2416
2230
  *
2417
- * @type {Array<MarginAccountNewOrderResponse3FillsInner>}
2418
- * @memberof MarginAccountNewOrderResponse3
2231
+ * @type {Array<MarginAccountNewOrderResponseFillsInner>}
2232
+ * @memberof MarginAccountNewOrderResponse
2419
2233
  */
2420
- fills?: Array<MarginAccountNewOrderResponse3FillsInner>;
2234
+ fills?: Array<MarginAccountNewOrderResponseFillsInner>;
2421
2235
  }
2422
2236
 
2423
- /**
2424
- * Binance Margin Trading REST API
2425
- *
2426
- * OpenAPI Specification for the Binance Margin Trading REST API
2427
- *
2428
- * The version of the OpenAPI document: 1.0.0
2429
- *
2430
- *
2431
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2432
- * https://openapi-generator.tech
2433
- * Do not edit the class manually.
2434
- */
2435
-
2436
- /**
2437
- * @type MarginAccountNewOrderResponse
2438
- * @export
2439
- */
2440
- type MarginAccountNewOrderResponse = MarginAccountNewOrderResponse1 | MarginAccountNewOrderResponse2 | MarginAccountNewOrderResponse3;
2441
-
2442
2237
  /**
2443
2238
  * Binance Margin Trading REST API
2444
2239
  *
@@ -3499,67 +3294,67 @@ interface QueryEnabledIsolatedMarginAccountLimitResponse {
3499
3294
  /**
3500
3295
  *
3501
3296
  * @export
3502
- * @interface QueryIsolatedMarginAccountInfoResponse1AssetsInnerBaseAsset
3297
+ * @interface QueryIsolatedMarginAccountInfoResponseAssetsInnerBaseAsset
3503
3298
  */
3504
- interface QueryIsolatedMarginAccountInfoResponse1AssetsInnerBaseAsset {
3299
+ interface QueryIsolatedMarginAccountInfoResponseAssetsInnerBaseAsset {
3505
3300
  /**
3506
3301
  *
3507
3302
  * @type {string}
3508
- * @memberof QueryIsolatedMarginAccountInfoResponse1AssetsInnerBaseAsset
3303
+ * @memberof QueryIsolatedMarginAccountInfoResponseAssetsInnerBaseAsset
3509
3304
  */
3510
3305
  asset?: string;
3511
3306
  /**
3512
3307
  *
3513
3308
  * @type {boolean}
3514
- * @memberof QueryIsolatedMarginAccountInfoResponse1AssetsInnerBaseAsset
3309
+ * @memberof QueryIsolatedMarginAccountInfoResponseAssetsInnerBaseAsset
3515
3310
  */
3516
3311
  borrowEnabled?: boolean;
3517
3312
  /**
3518
3313
  *
3519
3314
  * @type {string}
3520
- * @memberof QueryIsolatedMarginAccountInfoResponse1AssetsInnerBaseAsset
3315
+ * @memberof QueryIsolatedMarginAccountInfoResponseAssetsInnerBaseAsset
3521
3316
  */
3522
3317
  borrowed?: string;
3523
3318
  /**
3524
3319
  *
3525
3320
  * @type {string}
3526
- * @memberof QueryIsolatedMarginAccountInfoResponse1AssetsInnerBaseAsset
3321
+ * @memberof QueryIsolatedMarginAccountInfoResponseAssetsInnerBaseAsset
3527
3322
  */
3528
3323
  free?: string;
3529
3324
  /**
3530
3325
  *
3531
3326
  * @type {string}
3532
- * @memberof QueryIsolatedMarginAccountInfoResponse1AssetsInnerBaseAsset
3327
+ * @memberof QueryIsolatedMarginAccountInfoResponseAssetsInnerBaseAsset
3533
3328
  */
3534
3329
  interest?: string;
3535
3330
  /**
3536
3331
  *
3537
3332
  * @type {string}
3538
- * @memberof QueryIsolatedMarginAccountInfoResponse1AssetsInnerBaseAsset
3333
+ * @memberof QueryIsolatedMarginAccountInfoResponseAssetsInnerBaseAsset
3539
3334
  */
3540
3335
  locked?: string;
3541
3336
  /**
3542
3337
  *
3543
3338
  * @type {string}
3544
- * @memberof QueryIsolatedMarginAccountInfoResponse1AssetsInnerBaseAsset
3339
+ * @memberof QueryIsolatedMarginAccountInfoResponseAssetsInnerBaseAsset
3545
3340
  */
3546
3341
  netAsset?: string;
3547
3342
  /**
3548
3343
  *
3549
3344
  * @type {string}
3550
- * @memberof QueryIsolatedMarginAccountInfoResponse1AssetsInnerBaseAsset
3345
+ * @memberof QueryIsolatedMarginAccountInfoResponseAssetsInnerBaseAsset
3551
3346
  */
3552
3347
  netAssetOfBtc?: string;
3553
3348
  /**
3554
3349
  *
3555
3350
  * @type {boolean}
3556
- * @memberof QueryIsolatedMarginAccountInfoResponse1AssetsInnerBaseAsset
3351
+ * @memberof QueryIsolatedMarginAccountInfoResponseAssetsInnerBaseAsset
3557
3352
  */
3558
3353
  repayEnabled?: boolean;
3559
3354
  /**
3560
3355
  *
3561
3356
  * @type {string}
3562
- * @memberof QueryIsolatedMarginAccountInfoResponse1AssetsInnerBaseAsset
3357
+ * @memberof QueryIsolatedMarginAccountInfoResponseAssetsInnerBaseAsset
3563
3358
  */
3564
3359
  totalAsset?: string;
3565
3360
  }
@@ -3579,67 +3374,67 @@ interface QueryIsolatedMarginAccountInfoResponse1AssetsInnerBaseAsset {
3579
3374
  /**
3580
3375
  *
3581
3376
  * @export
3582
- * @interface QueryIsolatedMarginAccountInfoResponse1AssetsInnerQuoteAsset
3377
+ * @interface QueryIsolatedMarginAccountInfoResponseAssetsInnerQuoteAsset
3583
3378
  */
3584
- interface QueryIsolatedMarginAccountInfoResponse1AssetsInnerQuoteAsset {
3379
+ interface QueryIsolatedMarginAccountInfoResponseAssetsInnerQuoteAsset {
3585
3380
  /**
3586
3381
  *
3587
3382
  * @type {string}
3588
- * @memberof QueryIsolatedMarginAccountInfoResponse1AssetsInnerQuoteAsset
3383
+ * @memberof QueryIsolatedMarginAccountInfoResponseAssetsInnerQuoteAsset
3589
3384
  */
3590
3385
  asset?: string;
3591
3386
  /**
3592
3387
  *
3593
3388
  * @type {boolean}
3594
- * @memberof QueryIsolatedMarginAccountInfoResponse1AssetsInnerQuoteAsset
3389
+ * @memberof QueryIsolatedMarginAccountInfoResponseAssetsInnerQuoteAsset
3595
3390
  */
3596
3391
  borrowEnabled?: boolean;
3597
3392
  /**
3598
3393
  *
3599
3394
  * @type {string}
3600
- * @memberof QueryIsolatedMarginAccountInfoResponse1AssetsInnerQuoteAsset
3395
+ * @memberof QueryIsolatedMarginAccountInfoResponseAssetsInnerQuoteAsset
3601
3396
  */
3602
3397
  borrowed?: string;
3603
3398
  /**
3604
3399
  *
3605
3400
  * @type {string}
3606
- * @memberof QueryIsolatedMarginAccountInfoResponse1AssetsInnerQuoteAsset
3401
+ * @memberof QueryIsolatedMarginAccountInfoResponseAssetsInnerQuoteAsset
3607
3402
  */
3608
3403
  free?: string;
3609
3404
  /**
3610
3405
  *
3611
3406
  * @type {string}
3612
- * @memberof QueryIsolatedMarginAccountInfoResponse1AssetsInnerQuoteAsset
3407
+ * @memberof QueryIsolatedMarginAccountInfoResponseAssetsInnerQuoteAsset
3613
3408
  */
3614
3409
  interest?: string;
3615
3410
  /**
3616
3411
  *
3617
3412
  * @type {string}
3618
- * @memberof QueryIsolatedMarginAccountInfoResponse1AssetsInnerQuoteAsset
3413
+ * @memberof QueryIsolatedMarginAccountInfoResponseAssetsInnerQuoteAsset
3619
3414
  */
3620
3415
  locked?: string;
3621
3416
  /**
3622
3417
  *
3623
3418
  * @type {string}
3624
- * @memberof QueryIsolatedMarginAccountInfoResponse1AssetsInnerQuoteAsset
3419
+ * @memberof QueryIsolatedMarginAccountInfoResponseAssetsInnerQuoteAsset
3625
3420
  */
3626
3421
  netAsset?: string;
3627
3422
  /**
3628
3423
  *
3629
3424
  * @type {string}
3630
- * @memberof QueryIsolatedMarginAccountInfoResponse1AssetsInnerQuoteAsset
3425
+ * @memberof QueryIsolatedMarginAccountInfoResponseAssetsInnerQuoteAsset
3631
3426
  */
3632
3427
  netAssetOfBtc?: string;
3633
3428
  /**
3634
3429
  *
3635
3430
  * @type {boolean}
3636
- * @memberof QueryIsolatedMarginAccountInfoResponse1AssetsInnerQuoteAsset
3431
+ * @memberof QueryIsolatedMarginAccountInfoResponseAssetsInnerQuoteAsset
3637
3432
  */
3638
3433
  repayEnabled?: boolean;
3639
3434
  /**
3640
3435
  *
3641
3436
  * @type {string}
3642
- * @memberof QueryIsolatedMarginAccountInfoResponse1AssetsInnerQuoteAsset
3437
+ * @memberof QueryIsolatedMarginAccountInfoResponseAssetsInnerQuoteAsset
3643
3438
  */
3644
3439
  totalAsset?: string;
3645
3440
  }
@@ -3660,79 +3455,79 @@ interface QueryIsolatedMarginAccountInfoResponse1AssetsInnerQuoteAsset {
3660
3455
  /**
3661
3456
  *
3662
3457
  * @export
3663
- * @interface QueryIsolatedMarginAccountInfoResponse1AssetsInner
3458
+ * @interface QueryIsolatedMarginAccountInfoResponseAssetsInner
3664
3459
  */
3665
- interface QueryIsolatedMarginAccountInfoResponse1AssetsInner {
3460
+ interface QueryIsolatedMarginAccountInfoResponseAssetsInner {
3666
3461
  /**
3667
3462
  *
3668
- * @type {QueryIsolatedMarginAccountInfoResponse1AssetsInnerBaseAsset}
3669
- * @memberof QueryIsolatedMarginAccountInfoResponse1AssetsInner
3463
+ * @type {QueryIsolatedMarginAccountInfoResponseAssetsInnerBaseAsset}
3464
+ * @memberof QueryIsolatedMarginAccountInfoResponseAssetsInner
3670
3465
  */
3671
- baseAsset?: QueryIsolatedMarginAccountInfoResponse1AssetsInnerBaseAsset;
3466
+ baseAsset?: QueryIsolatedMarginAccountInfoResponseAssetsInnerBaseAsset;
3672
3467
  /**
3673
3468
  *
3674
- * @type {QueryIsolatedMarginAccountInfoResponse1AssetsInnerQuoteAsset}
3675
- * @memberof QueryIsolatedMarginAccountInfoResponse1AssetsInner
3469
+ * @type {QueryIsolatedMarginAccountInfoResponseAssetsInnerQuoteAsset}
3470
+ * @memberof QueryIsolatedMarginAccountInfoResponseAssetsInner
3676
3471
  */
3677
- quoteAsset?: QueryIsolatedMarginAccountInfoResponse1AssetsInnerQuoteAsset;
3472
+ quoteAsset?: QueryIsolatedMarginAccountInfoResponseAssetsInnerQuoteAsset;
3678
3473
  /**
3679
3474
  *
3680
3475
  * @type {string}
3681
- * @memberof QueryIsolatedMarginAccountInfoResponse1AssetsInner
3476
+ * @memberof QueryIsolatedMarginAccountInfoResponseAssetsInner
3682
3477
  */
3683
3478
  symbol?: string;
3684
3479
  /**
3685
3480
  *
3686
3481
  * @type {boolean}
3687
- * @memberof QueryIsolatedMarginAccountInfoResponse1AssetsInner
3482
+ * @memberof QueryIsolatedMarginAccountInfoResponseAssetsInner
3688
3483
  */
3689
3484
  isolatedCreated?: boolean;
3690
3485
  /**
3691
3486
  *
3692
3487
  * @type {boolean}
3693
- * @memberof QueryIsolatedMarginAccountInfoResponse1AssetsInner
3488
+ * @memberof QueryIsolatedMarginAccountInfoResponseAssetsInner
3694
3489
  */
3695
3490
  enabled?: boolean;
3696
3491
  /**
3697
3492
  *
3698
3493
  * @type {string}
3699
- * @memberof QueryIsolatedMarginAccountInfoResponse1AssetsInner
3494
+ * @memberof QueryIsolatedMarginAccountInfoResponseAssetsInner
3700
3495
  */
3701
3496
  marginLevel?: string;
3702
3497
  /**
3703
3498
  *
3704
3499
  * @type {string}
3705
- * @memberof QueryIsolatedMarginAccountInfoResponse1AssetsInner
3500
+ * @memberof QueryIsolatedMarginAccountInfoResponseAssetsInner
3706
3501
  */
3707
3502
  marginLevelStatus?: string;
3708
3503
  /**
3709
3504
  *
3710
3505
  * @type {string}
3711
- * @memberof QueryIsolatedMarginAccountInfoResponse1AssetsInner
3506
+ * @memberof QueryIsolatedMarginAccountInfoResponseAssetsInner
3712
3507
  */
3713
3508
  marginRatio?: string;
3714
3509
  /**
3715
3510
  *
3716
3511
  * @type {string}
3717
- * @memberof QueryIsolatedMarginAccountInfoResponse1AssetsInner
3512
+ * @memberof QueryIsolatedMarginAccountInfoResponseAssetsInner
3718
3513
  */
3719
3514
  indexPrice?: string;
3720
3515
  /**
3721
3516
  *
3722
3517
  * @type {string}
3723
- * @memberof QueryIsolatedMarginAccountInfoResponse1AssetsInner
3518
+ * @memberof QueryIsolatedMarginAccountInfoResponseAssetsInner
3724
3519
  */
3725
3520
  liquidatePrice?: string;
3726
3521
  /**
3727
3522
  *
3728
3523
  * @type {string}
3729
- * @memberof QueryIsolatedMarginAccountInfoResponse1AssetsInner
3524
+ * @memberof QueryIsolatedMarginAccountInfoResponseAssetsInner
3730
3525
  */
3731
3526
  liquidateRate?: string;
3732
3527
  /**
3733
3528
  *
3734
3529
  * @type {boolean}
3735
- * @memberof QueryIsolatedMarginAccountInfoResponse1AssetsInner
3530
+ * @memberof QueryIsolatedMarginAccountInfoResponseAssetsInner
3736
3531
  */
3737
3532
  tradeEnabled?: boolean;
3738
3533
  }
@@ -3753,81 +3548,35 @@ interface QueryIsolatedMarginAccountInfoResponse1AssetsInner {
3753
3548
  /**
3754
3549
  *
3755
3550
  * @export
3756
- * @interface QueryIsolatedMarginAccountInfoResponse1
3551
+ * @interface QueryIsolatedMarginAccountInfoResponse
3757
3552
  */
3758
- interface QueryIsolatedMarginAccountInfoResponse1 {
3553
+ interface QueryIsolatedMarginAccountInfoResponse {
3759
3554
  /**
3760
3555
  *
3761
- * @type {Array<QueryIsolatedMarginAccountInfoResponse1AssetsInner>}
3762
- * @memberof QueryIsolatedMarginAccountInfoResponse1
3556
+ * @type {Array<QueryIsolatedMarginAccountInfoResponseAssetsInner>}
3557
+ * @memberof QueryIsolatedMarginAccountInfoResponse
3763
3558
  */
3764
- assets?: Array<QueryIsolatedMarginAccountInfoResponse1AssetsInner>;
3559
+ assets?: Array<QueryIsolatedMarginAccountInfoResponseAssetsInner>;
3765
3560
  /**
3766
3561
  *
3767
3562
  * @type {string}
3768
- * @memberof QueryIsolatedMarginAccountInfoResponse1
3563
+ * @memberof QueryIsolatedMarginAccountInfoResponse
3769
3564
  */
3770
3565
  totalAssetOfBtc?: string;
3771
3566
  /**
3772
3567
  *
3773
3568
  * @type {string}
3774
- * @memberof QueryIsolatedMarginAccountInfoResponse1
3569
+ * @memberof QueryIsolatedMarginAccountInfoResponse
3775
3570
  */
3776
3571
  totalLiabilityOfBtc?: string;
3777
3572
  /**
3778
3573
  *
3779
3574
  * @type {string}
3780
- * @memberof QueryIsolatedMarginAccountInfoResponse1
3575
+ * @memberof QueryIsolatedMarginAccountInfoResponse
3781
3576
  */
3782
3577
  totalNetAssetOfBtc?: string;
3783
3578
  }
3784
3579
 
3785
- /**
3786
- * Binance Margin Trading REST API
3787
- *
3788
- * OpenAPI Specification for the Binance Margin Trading REST API
3789
- *
3790
- * The version of the OpenAPI document: 1.0.0
3791
- *
3792
- *
3793
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3794
- * https://openapi-generator.tech
3795
- * Do not edit the class manually.
3796
- */
3797
-
3798
- /**
3799
- *
3800
- * @export
3801
- * @interface QueryIsolatedMarginAccountInfoResponse2
3802
- */
3803
- interface QueryIsolatedMarginAccountInfoResponse2 {
3804
- /**
3805
- *
3806
- * @type {Array<QueryIsolatedMarginAccountInfoResponse1AssetsInner>}
3807
- * @memberof QueryIsolatedMarginAccountInfoResponse2
3808
- */
3809
- assets?: Array<QueryIsolatedMarginAccountInfoResponse1AssetsInner>;
3810
- }
3811
-
3812
- /**
3813
- * Binance Margin Trading REST API
3814
- *
3815
- * OpenAPI Specification for the Binance Margin Trading REST API
3816
- *
3817
- * The version of the OpenAPI document: 1.0.0
3818
- *
3819
- *
3820
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3821
- * https://openapi-generator.tech
3822
- * Do not edit the class manually.
3823
- */
3824
-
3825
- /**
3826
- * @type QueryIsolatedMarginAccountInfoResponse
3827
- * @export
3828
- */
3829
- type QueryIsolatedMarginAccountInfoResponse = QueryIsolatedMarginAccountInfoResponse1 | QueryIsolatedMarginAccountInfoResponse2;
3830
-
3831
3580
  /**
3832
3581
  * Binance Margin Trading REST API
3833
3582
  *
@@ -10300,7 +10049,6 @@ declare const index_AccountApi: typeof AccountApi;
10300
10049
  type index_AccountApiInterface = AccountApiInterface;
10301
10050
  type index_AdjustCrossMarginMaxLeverageRequest = AdjustCrossMarginMaxLeverageRequest;
10302
10051
  type index_AdjustCrossMarginMaxLeverageResponse = AdjustCrossMarginMaxLeverageResponse;
10303
- type index_BadRequest = BadRequest;
10304
10052
  type index_BorrowRepayApi = BorrowRepayApi;
10305
10053
  declare const index_BorrowRepayApi: typeof BorrowRepayApi;
10306
10054
  type index_BorrowRepayApiInterface = BorrowRepayApiInterface;
@@ -10376,10 +10124,7 @@ type index_MarginAccountNewOcoSideEnum = MarginAccountNewOcoSideEnum;
10376
10124
  type index_MarginAccountNewOrderNewOrderRespTypeEnum = MarginAccountNewOrderNewOrderRespTypeEnum;
10377
10125
  type index_MarginAccountNewOrderRequest = MarginAccountNewOrderRequest;
10378
10126
  type index_MarginAccountNewOrderResponse = MarginAccountNewOrderResponse;
10379
- type index_MarginAccountNewOrderResponse1 = MarginAccountNewOrderResponse1;
10380
- type index_MarginAccountNewOrderResponse2 = MarginAccountNewOrderResponse2;
10381
- type index_MarginAccountNewOrderResponse3 = MarginAccountNewOrderResponse3;
10382
- type index_MarginAccountNewOrderResponse3FillsInner = MarginAccountNewOrderResponse3FillsInner;
10127
+ type index_MarginAccountNewOrderResponseFillsInner = MarginAccountNewOrderResponseFillsInner;
10383
10128
  type index_MarginAccountNewOrderSideEnum = MarginAccountNewOrderSideEnum;
10384
10129
  type index_MarginAccountNewOrderTimeInForceEnum = MarginAccountNewOrderTimeInForceEnum;
10385
10130
  type index_MarginAccountNewOtoNewOrderRespTypeEnum = MarginAccountNewOtoNewOrderRespTypeEnum;
@@ -10416,11 +10161,9 @@ type index_QueryEnabledIsolatedMarginAccountLimitRequest = QueryEnabledIsolatedM
10416
10161
  type index_QueryEnabledIsolatedMarginAccountLimitResponse = QueryEnabledIsolatedMarginAccountLimitResponse;
10417
10162
  type index_QueryIsolatedMarginAccountInfoRequest = QueryIsolatedMarginAccountInfoRequest;
10418
10163
  type index_QueryIsolatedMarginAccountInfoResponse = QueryIsolatedMarginAccountInfoResponse;
10419
- type index_QueryIsolatedMarginAccountInfoResponse1 = QueryIsolatedMarginAccountInfoResponse1;
10420
- type index_QueryIsolatedMarginAccountInfoResponse1AssetsInner = QueryIsolatedMarginAccountInfoResponse1AssetsInner;
10421
- type index_QueryIsolatedMarginAccountInfoResponse1AssetsInnerBaseAsset = QueryIsolatedMarginAccountInfoResponse1AssetsInnerBaseAsset;
10422
- type index_QueryIsolatedMarginAccountInfoResponse1AssetsInnerQuoteAsset = QueryIsolatedMarginAccountInfoResponse1AssetsInnerQuoteAsset;
10423
- type index_QueryIsolatedMarginAccountInfoResponse2 = QueryIsolatedMarginAccountInfoResponse2;
10164
+ type index_QueryIsolatedMarginAccountInfoResponseAssetsInner = QueryIsolatedMarginAccountInfoResponseAssetsInner;
10165
+ type index_QueryIsolatedMarginAccountInfoResponseAssetsInnerBaseAsset = QueryIsolatedMarginAccountInfoResponseAssetsInnerBaseAsset;
10166
+ type index_QueryIsolatedMarginAccountInfoResponseAssetsInnerQuoteAsset = QueryIsolatedMarginAccountInfoResponseAssetsInnerQuoteAsset;
10424
10167
  type index_QueryIsolatedMarginFeeDataRequest = QueryIsolatedMarginFeeDataRequest;
10425
10168
  type index_QueryIsolatedMarginFeeDataResponse = QueryIsolatedMarginFeeDataResponse;
10426
10169
  type index_QueryIsolatedMarginFeeDataResponseInner = QueryIsolatedMarginFeeDataResponseInner;
@@ -10490,7 +10233,7 @@ type index_TransferApi = TransferApi;
10490
10233
  declare const index_TransferApi: typeof TransferApi;
10491
10234
  type index_TransferApiInterface = TransferApiInterface;
10492
10235
  declare namespace index {
10493
- export { index_AccountApi as AccountApi, type index_AccountApiInterface as AccountApiInterface, type index_AdjustCrossMarginMaxLeverageRequest as AdjustCrossMarginMaxLeverageRequest, type index_AdjustCrossMarginMaxLeverageResponse as AdjustCrossMarginMaxLeverageResponse, type index_BadRequest as BadRequest, index_BorrowRepayApi as BorrowRepayApi, type index_BorrowRepayApiInterface as BorrowRepayApiInterface, type index_CloseIsolatedMarginUserDataStreamRequest as CloseIsolatedMarginUserDataStreamRequest, type index_CloseMarginUserDataStreamRequest as CloseMarginUserDataStreamRequest, type index_CreateSpecialKeyRequest as CreateSpecialKeyRequest, type index_CreateSpecialKeyResponse as CreateSpecialKeyResponse, type index_CrossMarginCollateralRatioResponse as CrossMarginCollateralRatioResponse, type index_CrossMarginCollateralRatioResponseInner as CrossMarginCollateralRatioResponseInner, type index_CrossMarginCollateralRatioResponseInnerCollateralsInner as CrossMarginCollateralRatioResponseInnerCollateralsInner, type index_DeleteSpecialKeyRequest as DeleteSpecialKeyRequest, type index_DisableIsolatedMarginAccountRequest as DisableIsolatedMarginAccountRequest, type index_DisableIsolatedMarginAccountResponse as DisableIsolatedMarginAccountResponse, type index_EditIpForSpecialKeyRequest as EditIpForSpecialKeyRequest, type index_EnableIsolatedMarginAccountRequest as EnableIsolatedMarginAccountRequest, type index_EnableIsolatedMarginAccountResponse as EnableIsolatedMarginAccountResponse, type index_GetAllCrossMarginPairsRequest as GetAllCrossMarginPairsRequest, type index_GetAllCrossMarginPairsResponse as GetAllCrossMarginPairsResponse, type index_GetAllCrossMarginPairsResponseInner as GetAllCrossMarginPairsResponseInner, type index_GetAllIsolatedMarginSymbolRequest as GetAllIsolatedMarginSymbolRequest, type index_GetAllIsolatedMarginSymbolResponse as GetAllIsolatedMarginSymbolResponse, type index_GetAllIsolatedMarginSymbolResponseInner as GetAllIsolatedMarginSymbolResponseInner, type index_GetAllMarginAssetsRequest as GetAllMarginAssetsRequest, type index_GetAllMarginAssetsResponse as GetAllMarginAssetsResponse, type index_GetAllMarginAssetsResponseInner as GetAllMarginAssetsResponseInner, type index_GetBnbBurnStatusRequest as GetBnbBurnStatusRequest, type index_GetBnbBurnStatusResponse as GetBnbBurnStatusResponse, type index_GetCrossMarginTransferHistoryRequest as GetCrossMarginTransferHistoryRequest, type index_GetCrossMarginTransferHistoryResponse as GetCrossMarginTransferHistoryResponse, type index_GetCrossMarginTransferHistoryResponseRowsInner as GetCrossMarginTransferHistoryResponseRowsInner, type index_GetDelistScheduleRequest as GetDelistScheduleRequest, type index_GetDelistScheduleResponse as GetDelistScheduleResponse, type index_GetDelistScheduleResponseInner as GetDelistScheduleResponseInner, type index_GetForceLiquidationRecordRequest as GetForceLiquidationRecordRequest, type index_GetForceLiquidationRecordResponse as GetForceLiquidationRecordResponse, type index_GetForceLiquidationRecordResponseRowsInner as GetForceLiquidationRecordResponseRowsInner, type index_GetFutureHourlyInterestRateRequest as GetFutureHourlyInterestRateRequest, type index_GetFutureHourlyInterestRateResponse as GetFutureHourlyInterestRateResponse, type index_GetFutureHourlyInterestRateResponseInner as GetFutureHourlyInterestRateResponseInner, type index_GetInterestHistoryRequest as GetInterestHistoryRequest, type index_GetInterestHistoryResponse as GetInterestHistoryResponse, type index_GetInterestHistoryResponseRowsInner as GetInterestHistoryResponseRowsInner, type index_GetSmallLiabilityExchangeCoinListRequest as GetSmallLiabilityExchangeCoinListRequest, type index_GetSmallLiabilityExchangeCoinListResponse as GetSmallLiabilityExchangeCoinListResponse, type index_GetSmallLiabilityExchangeCoinListResponseInner as GetSmallLiabilityExchangeCoinListResponseInner, type index_GetSmallLiabilityExchangeHistoryRequest as GetSmallLiabilityExchangeHistoryRequest, type index_GetSmallLiabilityExchangeHistoryResponse as GetSmallLiabilityExchangeHistoryResponse, type index_GetSmallLiabilityExchangeHistoryResponseRowsInner as GetSmallLiabilityExchangeHistoryResponseRowsInner, type index_GetSummaryOfMarginAccountRequest as GetSummaryOfMarginAccountRequest, type index_GetSummaryOfMarginAccountResponse as GetSummaryOfMarginAccountResponse, type index_KeepaliveIsolatedMarginUserDataStreamRequest as KeepaliveIsolatedMarginUserDataStreamRequest, type index_KeepaliveMarginUserDataStreamRequest as KeepaliveMarginUserDataStreamRequest, type index_KeepaliveUserDataStreamRequest as KeepaliveUserDataStreamRequest, type index_MarginAccountBorrowRepayRequest as MarginAccountBorrowRepayRequest, type index_MarginAccountBorrowRepayResponse as MarginAccountBorrowRepayResponse, type index_MarginAccountCancelAllOpenOrdersOnASymbolRequest as MarginAccountCancelAllOpenOrdersOnASymbolRequest, type index_MarginAccountCancelAllOpenOrdersOnASymbolResponse as MarginAccountCancelAllOpenOrdersOnASymbolResponse, type index_MarginAccountCancelAllOpenOrdersOnASymbolResponseInner as MarginAccountCancelAllOpenOrdersOnASymbolResponseInner, type index_MarginAccountCancelAllOpenOrdersOnASymbolResponseInnerOrderReportsInner as MarginAccountCancelAllOpenOrdersOnASymbolResponseInnerOrderReportsInner, type index_MarginAccountCancelAllOpenOrdersOnASymbolResponseInnerOrdersInner as MarginAccountCancelAllOpenOrdersOnASymbolResponseInnerOrdersInner, type index_MarginAccountCancelOcoRequest as MarginAccountCancelOcoRequest, type index_MarginAccountCancelOcoResponse as MarginAccountCancelOcoResponse, type index_MarginAccountCancelOcoResponseOrderReportsInner as MarginAccountCancelOcoResponseOrderReportsInner, type index_MarginAccountCancelOcoResponseOrdersInner as MarginAccountCancelOcoResponseOrdersInner, type index_MarginAccountCancelOrderRequest as MarginAccountCancelOrderRequest, type index_MarginAccountCancelOrderResponse as MarginAccountCancelOrderResponse, type index_MarginAccountNewOcoNewOrderRespTypeEnum as MarginAccountNewOcoNewOrderRespTypeEnum, type index_MarginAccountNewOcoRequest as MarginAccountNewOcoRequest, type index_MarginAccountNewOcoResponse as MarginAccountNewOcoResponse, type index_MarginAccountNewOcoResponseOrderReportsInner as MarginAccountNewOcoResponseOrderReportsInner, type index_MarginAccountNewOcoResponseOrdersInner as MarginAccountNewOcoResponseOrdersInner, type index_MarginAccountNewOcoSideEnum as MarginAccountNewOcoSideEnum, type index_MarginAccountNewOrderNewOrderRespTypeEnum as MarginAccountNewOrderNewOrderRespTypeEnum, type index_MarginAccountNewOrderRequest as MarginAccountNewOrderRequest, type index_MarginAccountNewOrderResponse as MarginAccountNewOrderResponse, type index_MarginAccountNewOrderResponse1 as MarginAccountNewOrderResponse1, type index_MarginAccountNewOrderResponse2 as MarginAccountNewOrderResponse2, type index_MarginAccountNewOrderResponse3 as MarginAccountNewOrderResponse3, type index_MarginAccountNewOrderResponse3FillsInner as MarginAccountNewOrderResponse3FillsInner, type index_MarginAccountNewOrderSideEnum as MarginAccountNewOrderSideEnum, type index_MarginAccountNewOrderTimeInForceEnum as MarginAccountNewOrderTimeInForceEnum, type index_MarginAccountNewOtoNewOrderRespTypeEnum as MarginAccountNewOtoNewOrderRespTypeEnum, type index_MarginAccountNewOtoRequest as MarginAccountNewOtoRequest, type index_MarginAccountNewOtoResponse as MarginAccountNewOtoResponse, type index_MarginAccountNewOtoResponseOrderReportsInner as MarginAccountNewOtoResponseOrderReportsInner, type index_MarginAccountNewOtoResponseOrdersInner as MarginAccountNewOtoResponseOrdersInner, type index_MarginAccountNewOtocoNewOrderRespTypeEnum as MarginAccountNewOtocoNewOrderRespTypeEnum, type index_MarginAccountNewOtocoRequest as MarginAccountNewOtocoRequest, type index_MarginAccountNewOtocoResponse as MarginAccountNewOtocoResponse, type index_MarginAccountNewOtocoResponseOrderReportsInner as MarginAccountNewOtocoResponseOrderReportsInner, type index_MarginAccountNewOtocoResponseOrdersInner as MarginAccountNewOtocoResponseOrdersInner, type index_MarginManualLiquidationRequest as MarginManualLiquidationRequest, type index_MarginManualLiquidationResponse as MarginManualLiquidationResponse, index_MarketDataApi as MarketDataApi, type index_MarketDataApiInterface as MarketDataApiInterface, type index_QueryBorrowRepayRecordsInMarginAccountRequest as QueryBorrowRepayRecordsInMarginAccountRequest, type index_QueryBorrowRepayRecordsInMarginAccountResponse as QueryBorrowRepayRecordsInMarginAccountResponse, type index_QueryBorrowRepayRecordsInMarginAccountResponseRowsInner as QueryBorrowRepayRecordsInMarginAccountResponseRowsInner, type index_QueryCrossIsolatedMarginCapitalFlowRequest as QueryCrossIsolatedMarginCapitalFlowRequest, type index_QueryCrossIsolatedMarginCapitalFlowResponse as QueryCrossIsolatedMarginCapitalFlowResponse, type index_QueryCrossIsolatedMarginCapitalFlowResponseInner as QueryCrossIsolatedMarginCapitalFlowResponseInner, type index_QueryCrossMarginAccountDetailsRequest as QueryCrossMarginAccountDetailsRequest, type index_QueryCrossMarginAccountDetailsResponse as QueryCrossMarginAccountDetailsResponse, type index_QueryCrossMarginAccountDetailsResponseUserAssetsInner as QueryCrossMarginAccountDetailsResponseUserAssetsInner, type index_QueryCrossMarginFeeDataRequest as QueryCrossMarginFeeDataRequest, type index_QueryCrossMarginFeeDataResponse as QueryCrossMarginFeeDataResponse, type index_QueryCrossMarginFeeDataResponseInner as QueryCrossMarginFeeDataResponseInner, type index_QueryCurrentMarginOrderCountUsageRequest as QueryCurrentMarginOrderCountUsageRequest, type index_QueryCurrentMarginOrderCountUsageResponse as QueryCurrentMarginOrderCountUsageResponse, type index_QueryCurrentMarginOrderCountUsageResponseInner as QueryCurrentMarginOrderCountUsageResponseInner, type index_QueryEnabledIsolatedMarginAccountLimitRequest as QueryEnabledIsolatedMarginAccountLimitRequest, type index_QueryEnabledIsolatedMarginAccountLimitResponse as QueryEnabledIsolatedMarginAccountLimitResponse, type index_QueryIsolatedMarginAccountInfoRequest as QueryIsolatedMarginAccountInfoRequest, type index_QueryIsolatedMarginAccountInfoResponse as QueryIsolatedMarginAccountInfoResponse, type index_QueryIsolatedMarginAccountInfoResponse1 as QueryIsolatedMarginAccountInfoResponse1, type index_QueryIsolatedMarginAccountInfoResponse1AssetsInner as QueryIsolatedMarginAccountInfoResponse1AssetsInner, type index_QueryIsolatedMarginAccountInfoResponse1AssetsInnerBaseAsset as QueryIsolatedMarginAccountInfoResponse1AssetsInnerBaseAsset, type index_QueryIsolatedMarginAccountInfoResponse1AssetsInnerQuoteAsset as QueryIsolatedMarginAccountInfoResponse1AssetsInnerQuoteAsset, type index_QueryIsolatedMarginAccountInfoResponse2 as QueryIsolatedMarginAccountInfoResponse2, type index_QueryIsolatedMarginFeeDataRequest as QueryIsolatedMarginFeeDataRequest, type index_QueryIsolatedMarginFeeDataResponse as QueryIsolatedMarginFeeDataResponse, type index_QueryIsolatedMarginFeeDataResponseInner as QueryIsolatedMarginFeeDataResponseInner, type index_QueryIsolatedMarginFeeDataResponseInnerDataInner as QueryIsolatedMarginFeeDataResponseInnerDataInner, type index_QueryIsolatedMarginTierDataRequest as QueryIsolatedMarginTierDataRequest, type index_QueryIsolatedMarginTierDataResponse as QueryIsolatedMarginTierDataResponse, type index_QueryIsolatedMarginTierDataResponseInner as QueryIsolatedMarginTierDataResponseInner, type index_QueryLiabilityCoinLeverageBracketInCrossMarginProModeResponse as QueryLiabilityCoinLeverageBracketInCrossMarginProModeResponse, type index_QueryLiabilityCoinLeverageBracketInCrossMarginProModeResponseInner as QueryLiabilityCoinLeverageBracketInCrossMarginProModeResponseInner, type index_QueryLiabilityCoinLeverageBracketInCrossMarginProModeResponseInnerBracketsInner as QueryLiabilityCoinLeverageBracketInCrossMarginProModeResponseInnerBracketsInner, type index_QueryMarginAccountsAllOcoRequest as QueryMarginAccountsAllOcoRequest, type index_QueryMarginAccountsAllOcoResponse as QueryMarginAccountsAllOcoResponse, type index_QueryMarginAccountsAllOcoResponseInner as QueryMarginAccountsAllOcoResponseInner, type index_QueryMarginAccountsAllOcoResponseInnerOrdersInner as QueryMarginAccountsAllOcoResponseInnerOrdersInner, type index_QueryMarginAccountsAllOrdersRequest as QueryMarginAccountsAllOrdersRequest, type index_QueryMarginAccountsAllOrdersResponse as QueryMarginAccountsAllOrdersResponse, type index_QueryMarginAccountsAllOrdersResponseInner as QueryMarginAccountsAllOrdersResponseInner, type index_QueryMarginAccountsOcoRequest as QueryMarginAccountsOcoRequest, type index_QueryMarginAccountsOcoResponse as QueryMarginAccountsOcoResponse, type index_QueryMarginAccountsOcoResponseOrdersInner as QueryMarginAccountsOcoResponseOrdersInner, type index_QueryMarginAccountsOpenOcoRequest as QueryMarginAccountsOpenOcoRequest, type index_QueryMarginAccountsOpenOcoResponse as QueryMarginAccountsOpenOcoResponse, type index_QueryMarginAccountsOpenOcoResponseInner as QueryMarginAccountsOpenOcoResponseInner, type index_QueryMarginAccountsOpenOcoResponseInnerOrdersInner as QueryMarginAccountsOpenOcoResponseInnerOrdersInner, type index_QueryMarginAccountsOpenOrdersRequest as QueryMarginAccountsOpenOrdersRequest, type index_QueryMarginAccountsOpenOrdersResponse as QueryMarginAccountsOpenOrdersResponse, type index_QueryMarginAccountsOpenOrdersResponseInner as QueryMarginAccountsOpenOrdersResponseInner, type index_QueryMarginAccountsOrderRequest as QueryMarginAccountsOrderRequest, type index_QueryMarginAccountsOrderResponse as QueryMarginAccountsOrderResponse, type index_QueryMarginAccountsTradeListRequest as QueryMarginAccountsTradeListRequest, type index_QueryMarginAccountsTradeListResponse as QueryMarginAccountsTradeListResponse, type index_QueryMarginAccountsTradeListResponseInner as QueryMarginAccountsTradeListResponseInner, type index_QueryMarginAvailableInventoryRequest as QueryMarginAvailableInventoryRequest, type index_QueryMarginAvailableInventoryResponse as QueryMarginAvailableInventoryResponse, type index_QueryMarginAvailableInventoryResponseAssets as QueryMarginAvailableInventoryResponseAssets, type index_QueryMarginInterestRateHistoryRequest as QueryMarginInterestRateHistoryRequest, type index_QueryMarginInterestRateHistoryResponse as QueryMarginInterestRateHistoryResponse, type index_QueryMarginInterestRateHistoryResponseInner as QueryMarginInterestRateHistoryResponseInner, type index_QueryMarginPriceindexRequest as QueryMarginPriceindexRequest, type index_QueryMarginPriceindexResponse as QueryMarginPriceindexResponse, type index_QueryMaxBorrowRequest as QueryMaxBorrowRequest, type index_QueryMaxBorrowResponse as QueryMaxBorrowResponse, type index_QueryMaxTransferOutAmountRequest as QueryMaxTransferOutAmountRequest, type index_QueryMaxTransferOutAmountResponse as QueryMaxTransferOutAmountResponse, type index_QuerySpecialKeyListRequest as QuerySpecialKeyListRequest, type index_QuerySpecialKeyListResponse as QuerySpecialKeyListResponse, type index_QuerySpecialKeyListResponseInner as QuerySpecialKeyListResponseInner, type index_QuerySpecialKeyRequest as QuerySpecialKeyRequest, type index_QuerySpecialKeyResponse as QuerySpecialKeyResponse, index_RestAPI as RestAPI, index_RiskDataStreamApi as RiskDataStreamApi, type index_RiskDataStreamApiInterface as RiskDataStreamApiInterface, type index_SmallLiabilityExchangeRequest as SmallLiabilityExchangeRequest, type index_StartIsolatedMarginUserDataStreamRequest as StartIsolatedMarginUserDataStreamRequest, type index_StartIsolatedMarginUserDataStreamResponse as StartIsolatedMarginUserDataStreamResponse, type index_StartMarginUserDataStreamResponse as StartMarginUserDataStreamResponse, type index_StartUserDataStreamResponse as StartUserDataStreamResponse, index_TradeApi as TradeApi, type index_TradeApiInterface as TradeApiInterface, index_TradeDataStreamApi as TradeDataStreamApi, type index_TradeDataStreamApiInterface as TradeDataStreamApiInterface, index_TransferApi as TransferApi, type index_TransferApiInterface as TransferApiInterface };
10236
+ export { index_AccountApi as AccountApi, type index_AccountApiInterface as AccountApiInterface, type index_AdjustCrossMarginMaxLeverageRequest as AdjustCrossMarginMaxLeverageRequest, type index_AdjustCrossMarginMaxLeverageResponse as AdjustCrossMarginMaxLeverageResponse, index_BorrowRepayApi as BorrowRepayApi, type index_BorrowRepayApiInterface as BorrowRepayApiInterface, type index_CloseIsolatedMarginUserDataStreamRequest as CloseIsolatedMarginUserDataStreamRequest, type index_CloseMarginUserDataStreamRequest as CloseMarginUserDataStreamRequest, type index_CreateSpecialKeyRequest as CreateSpecialKeyRequest, type index_CreateSpecialKeyResponse as CreateSpecialKeyResponse, type index_CrossMarginCollateralRatioResponse as CrossMarginCollateralRatioResponse, type index_CrossMarginCollateralRatioResponseInner as CrossMarginCollateralRatioResponseInner, type index_CrossMarginCollateralRatioResponseInnerCollateralsInner as CrossMarginCollateralRatioResponseInnerCollateralsInner, type index_DeleteSpecialKeyRequest as DeleteSpecialKeyRequest, type index_DisableIsolatedMarginAccountRequest as DisableIsolatedMarginAccountRequest, type index_DisableIsolatedMarginAccountResponse as DisableIsolatedMarginAccountResponse, type index_EditIpForSpecialKeyRequest as EditIpForSpecialKeyRequest, type index_EnableIsolatedMarginAccountRequest as EnableIsolatedMarginAccountRequest, type index_EnableIsolatedMarginAccountResponse as EnableIsolatedMarginAccountResponse, type index_GetAllCrossMarginPairsRequest as GetAllCrossMarginPairsRequest, type index_GetAllCrossMarginPairsResponse as GetAllCrossMarginPairsResponse, type index_GetAllCrossMarginPairsResponseInner as GetAllCrossMarginPairsResponseInner, type index_GetAllIsolatedMarginSymbolRequest as GetAllIsolatedMarginSymbolRequest, type index_GetAllIsolatedMarginSymbolResponse as GetAllIsolatedMarginSymbolResponse, type index_GetAllIsolatedMarginSymbolResponseInner as GetAllIsolatedMarginSymbolResponseInner, type index_GetAllMarginAssetsRequest as GetAllMarginAssetsRequest, type index_GetAllMarginAssetsResponse as GetAllMarginAssetsResponse, type index_GetAllMarginAssetsResponseInner as GetAllMarginAssetsResponseInner, type index_GetBnbBurnStatusRequest as GetBnbBurnStatusRequest, type index_GetBnbBurnStatusResponse as GetBnbBurnStatusResponse, type index_GetCrossMarginTransferHistoryRequest as GetCrossMarginTransferHistoryRequest, type index_GetCrossMarginTransferHistoryResponse as GetCrossMarginTransferHistoryResponse, type index_GetCrossMarginTransferHistoryResponseRowsInner as GetCrossMarginTransferHistoryResponseRowsInner, type index_GetDelistScheduleRequest as GetDelistScheduleRequest, type index_GetDelistScheduleResponse as GetDelistScheduleResponse, type index_GetDelistScheduleResponseInner as GetDelistScheduleResponseInner, type index_GetForceLiquidationRecordRequest as GetForceLiquidationRecordRequest, type index_GetForceLiquidationRecordResponse as GetForceLiquidationRecordResponse, type index_GetForceLiquidationRecordResponseRowsInner as GetForceLiquidationRecordResponseRowsInner, type index_GetFutureHourlyInterestRateRequest as GetFutureHourlyInterestRateRequest, type index_GetFutureHourlyInterestRateResponse as GetFutureHourlyInterestRateResponse, type index_GetFutureHourlyInterestRateResponseInner as GetFutureHourlyInterestRateResponseInner, type index_GetInterestHistoryRequest as GetInterestHistoryRequest, type index_GetInterestHistoryResponse as GetInterestHistoryResponse, type index_GetInterestHistoryResponseRowsInner as GetInterestHistoryResponseRowsInner, type index_GetSmallLiabilityExchangeCoinListRequest as GetSmallLiabilityExchangeCoinListRequest, type index_GetSmallLiabilityExchangeCoinListResponse as GetSmallLiabilityExchangeCoinListResponse, type index_GetSmallLiabilityExchangeCoinListResponseInner as GetSmallLiabilityExchangeCoinListResponseInner, type index_GetSmallLiabilityExchangeHistoryRequest as GetSmallLiabilityExchangeHistoryRequest, type index_GetSmallLiabilityExchangeHistoryResponse as GetSmallLiabilityExchangeHistoryResponse, type index_GetSmallLiabilityExchangeHistoryResponseRowsInner as GetSmallLiabilityExchangeHistoryResponseRowsInner, type index_GetSummaryOfMarginAccountRequest as GetSummaryOfMarginAccountRequest, type index_GetSummaryOfMarginAccountResponse as GetSummaryOfMarginAccountResponse, type index_KeepaliveIsolatedMarginUserDataStreamRequest as KeepaliveIsolatedMarginUserDataStreamRequest, type index_KeepaliveMarginUserDataStreamRequest as KeepaliveMarginUserDataStreamRequest, type index_KeepaliveUserDataStreamRequest as KeepaliveUserDataStreamRequest, type index_MarginAccountBorrowRepayRequest as MarginAccountBorrowRepayRequest, type index_MarginAccountBorrowRepayResponse as MarginAccountBorrowRepayResponse, type index_MarginAccountCancelAllOpenOrdersOnASymbolRequest as MarginAccountCancelAllOpenOrdersOnASymbolRequest, type index_MarginAccountCancelAllOpenOrdersOnASymbolResponse as MarginAccountCancelAllOpenOrdersOnASymbolResponse, type index_MarginAccountCancelAllOpenOrdersOnASymbolResponseInner as MarginAccountCancelAllOpenOrdersOnASymbolResponseInner, type index_MarginAccountCancelAllOpenOrdersOnASymbolResponseInnerOrderReportsInner as MarginAccountCancelAllOpenOrdersOnASymbolResponseInnerOrderReportsInner, type index_MarginAccountCancelAllOpenOrdersOnASymbolResponseInnerOrdersInner as MarginAccountCancelAllOpenOrdersOnASymbolResponseInnerOrdersInner, type index_MarginAccountCancelOcoRequest as MarginAccountCancelOcoRequest, type index_MarginAccountCancelOcoResponse as MarginAccountCancelOcoResponse, type index_MarginAccountCancelOcoResponseOrderReportsInner as MarginAccountCancelOcoResponseOrderReportsInner, type index_MarginAccountCancelOcoResponseOrdersInner as MarginAccountCancelOcoResponseOrdersInner, type index_MarginAccountCancelOrderRequest as MarginAccountCancelOrderRequest, type index_MarginAccountCancelOrderResponse as MarginAccountCancelOrderResponse, type index_MarginAccountNewOcoNewOrderRespTypeEnum as MarginAccountNewOcoNewOrderRespTypeEnum, type index_MarginAccountNewOcoRequest as MarginAccountNewOcoRequest, type index_MarginAccountNewOcoResponse as MarginAccountNewOcoResponse, type index_MarginAccountNewOcoResponseOrderReportsInner as MarginAccountNewOcoResponseOrderReportsInner, type index_MarginAccountNewOcoResponseOrdersInner as MarginAccountNewOcoResponseOrdersInner, type index_MarginAccountNewOcoSideEnum as MarginAccountNewOcoSideEnum, type index_MarginAccountNewOrderNewOrderRespTypeEnum as MarginAccountNewOrderNewOrderRespTypeEnum, type index_MarginAccountNewOrderRequest as MarginAccountNewOrderRequest, type index_MarginAccountNewOrderResponse as MarginAccountNewOrderResponse, type index_MarginAccountNewOrderResponseFillsInner as MarginAccountNewOrderResponseFillsInner, type index_MarginAccountNewOrderSideEnum as MarginAccountNewOrderSideEnum, type index_MarginAccountNewOrderTimeInForceEnum as MarginAccountNewOrderTimeInForceEnum, type index_MarginAccountNewOtoNewOrderRespTypeEnum as MarginAccountNewOtoNewOrderRespTypeEnum, type index_MarginAccountNewOtoRequest as MarginAccountNewOtoRequest, type index_MarginAccountNewOtoResponse as MarginAccountNewOtoResponse, type index_MarginAccountNewOtoResponseOrderReportsInner as MarginAccountNewOtoResponseOrderReportsInner, type index_MarginAccountNewOtoResponseOrdersInner as MarginAccountNewOtoResponseOrdersInner, type index_MarginAccountNewOtocoNewOrderRespTypeEnum as MarginAccountNewOtocoNewOrderRespTypeEnum, type index_MarginAccountNewOtocoRequest as MarginAccountNewOtocoRequest, type index_MarginAccountNewOtocoResponse as MarginAccountNewOtocoResponse, type index_MarginAccountNewOtocoResponseOrderReportsInner as MarginAccountNewOtocoResponseOrderReportsInner, type index_MarginAccountNewOtocoResponseOrdersInner as MarginAccountNewOtocoResponseOrdersInner, type index_MarginManualLiquidationRequest as MarginManualLiquidationRequest, type index_MarginManualLiquidationResponse as MarginManualLiquidationResponse, index_MarketDataApi as MarketDataApi, type index_MarketDataApiInterface as MarketDataApiInterface, type index_QueryBorrowRepayRecordsInMarginAccountRequest as QueryBorrowRepayRecordsInMarginAccountRequest, type index_QueryBorrowRepayRecordsInMarginAccountResponse as QueryBorrowRepayRecordsInMarginAccountResponse, type index_QueryBorrowRepayRecordsInMarginAccountResponseRowsInner as QueryBorrowRepayRecordsInMarginAccountResponseRowsInner, type index_QueryCrossIsolatedMarginCapitalFlowRequest as QueryCrossIsolatedMarginCapitalFlowRequest, type index_QueryCrossIsolatedMarginCapitalFlowResponse as QueryCrossIsolatedMarginCapitalFlowResponse, type index_QueryCrossIsolatedMarginCapitalFlowResponseInner as QueryCrossIsolatedMarginCapitalFlowResponseInner, type index_QueryCrossMarginAccountDetailsRequest as QueryCrossMarginAccountDetailsRequest, type index_QueryCrossMarginAccountDetailsResponse as QueryCrossMarginAccountDetailsResponse, type index_QueryCrossMarginAccountDetailsResponseUserAssetsInner as QueryCrossMarginAccountDetailsResponseUserAssetsInner, type index_QueryCrossMarginFeeDataRequest as QueryCrossMarginFeeDataRequest, type index_QueryCrossMarginFeeDataResponse as QueryCrossMarginFeeDataResponse, type index_QueryCrossMarginFeeDataResponseInner as QueryCrossMarginFeeDataResponseInner, type index_QueryCurrentMarginOrderCountUsageRequest as QueryCurrentMarginOrderCountUsageRequest, type index_QueryCurrentMarginOrderCountUsageResponse as QueryCurrentMarginOrderCountUsageResponse, type index_QueryCurrentMarginOrderCountUsageResponseInner as QueryCurrentMarginOrderCountUsageResponseInner, type index_QueryEnabledIsolatedMarginAccountLimitRequest as QueryEnabledIsolatedMarginAccountLimitRequest, type index_QueryEnabledIsolatedMarginAccountLimitResponse as QueryEnabledIsolatedMarginAccountLimitResponse, type index_QueryIsolatedMarginAccountInfoRequest as QueryIsolatedMarginAccountInfoRequest, type index_QueryIsolatedMarginAccountInfoResponse as QueryIsolatedMarginAccountInfoResponse, type index_QueryIsolatedMarginAccountInfoResponseAssetsInner as QueryIsolatedMarginAccountInfoResponseAssetsInner, type index_QueryIsolatedMarginAccountInfoResponseAssetsInnerBaseAsset as QueryIsolatedMarginAccountInfoResponseAssetsInnerBaseAsset, type index_QueryIsolatedMarginAccountInfoResponseAssetsInnerQuoteAsset as QueryIsolatedMarginAccountInfoResponseAssetsInnerQuoteAsset, type index_QueryIsolatedMarginFeeDataRequest as QueryIsolatedMarginFeeDataRequest, type index_QueryIsolatedMarginFeeDataResponse as QueryIsolatedMarginFeeDataResponse, type index_QueryIsolatedMarginFeeDataResponseInner as QueryIsolatedMarginFeeDataResponseInner, type index_QueryIsolatedMarginFeeDataResponseInnerDataInner as QueryIsolatedMarginFeeDataResponseInnerDataInner, type index_QueryIsolatedMarginTierDataRequest as QueryIsolatedMarginTierDataRequest, type index_QueryIsolatedMarginTierDataResponse as QueryIsolatedMarginTierDataResponse, type index_QueryIsolatedMarginTierDataResponseInner as QueryIsolatedMarginTierDataResponseInner, type index_QueryLiabilityCoinLeverageBracketInCrossMarginProModeResponse as QueryLiabilityCoinLeverageBracketInCrossMarginProModeResponse, type index_QueryLiabilityCoinLeverageBracketInCrossMarginProModeResponseInner as QueryLiabilityCoinLeverageBracketInCrossMarginProModeResponseInner, type index_QueryLiabilityCoinLeverageBracketInCrossMarginProModeResponseInnerBracketsInner as QueryLiabilityCoinLeverageBracketInCrossMarginProModeResponseInnerBracketsInner, type index_QueryMarginAccountsAllOcoRequest as QueryMarginAccountsAllOcoRequest, type index_QueryMarginAccountsAllOcoResponse as QueryMarginAccountsAllOcoResponse, type index_QueryMarginAccountsAllOcoResponseInner as QueryMarginAccountsAllOcoResponseInner, type index_QueryMarginAccountsAllOcoResponseInnerOrdersInner as QueryMarginAccountsAllOcoResponseInnerOrdersInner, type index_QueryMarginAccountsAllOrdersRequest as QueryMarginAccountsAllOrdersRequest, type index_QueryMarginAccountsAllOrdersResponse as QueryMarginAccountsAllOrdersResponse, type index_QueryMarginAccountsAllOrdersResponseInner as QueryMarginAccountsAllOrdersResponseInner, type index_QueryMarginAccountsOcoRequest as QueryMarginAccountsOcoRequest, type index_QueryMarginAccountsOcoResponse as QueryMarginAccountsOcoResponse, type index_QueryMarginAccountsOcoResponseOrdersInner as QueryMarginAccountsOcoResponseOrdersInner, type index_QueryMarginAccountsOpenOcoRequest as QueryMarginAccountsOpenOcoRequest, type index_QueryMarginAccountsOpenOcoResponse as QueryMarginAccountsOpenOcoResponse, type index_QueryMarginAccountsOpenOcoResponseInner as QueryMarginAccountsOpenOcoResponseInner, type index_QueryMarginAccountsOpenOcoResponseInnerOrdersInner as QueryMarginAccountsOpenOcoResponseInnerOrdersInner, type index_QueryMarginAccountsOpenOrdersRequest as QueryMarginAccountsOpenOrdersRequest, type index_QueryMarginAccountsOpenOrdersResponse as QueryMarginAccountsOpenOrdersResponse, type index_QueryMarginAccountsOpenOrdersResponseInner as QueryMarginAccountsOpenOrdersResponseInner, type index_QueryMarginAccountsOrderRequest as QueryMarginAccountsOrderRequest, type index_QueryMarginAccountsOrderResponse as QueryMarginAccountsOrderResponse, type index_QueryMarginAccountsTradeListRequest as QueryMarginAccountsTradeListRequest, type index_QueryMarginAccountsTradeListResponse as QueryMarginAccountsTradeListResponse, type index_QueryMarginAccountsTradeListResponseInner as QueryMarginAccountsTradeListResponseInner, type index_QueryMarginAvailableInventoryRequest as QueryMarginAvailableInventoryRequest, type index_QueryMarginAvailableInventoryResponse as QueryMarginAvailableInventoryResponse, type index_QueryMarginAvailableInventoryResponseAssets as QueryMarginAvailableInventoryResponseAssets, type index_QueryMarginInterestRateHistoryRequest as QueryMarginInterestRateHistoryRequest, type index_QueryMarginInterestRateHistoryResponse as QueryMarginInterestRateHistoryResponse, type index_QueryMarginInterestRateHistoryResponseInner as QueryMarginInterestRateHistoryResponseInner, type index_QueryMarginPriceindexRequest as QueryMarginPriceindexRequest, type index_QueryMarginPriceindexResponse as QueryMarginPriceindexResponse, type index_QueryMaxBorrowRequest as QueryMaxBorrowRequest, type index_QueryMaxBorrowResponse as QueryMaxBorrowResponse, type index_QueryMaxTransferOutAmountRequest as QueryMaxTransferOutAmountRequest, type index_QueryMaxTransferOutAmountResponse as QueryMaxTransferOutAmountResponse, type index_QuerySpecialKeyListRequest as QuerySpecialKeyListRequest, type index_QuerySpecialKeyListResponse as QuerySpecialKeyListResponse, type index_QuerySpecialKeyListResponseInner as QuerySpecialKeyListResponseInner, type index_QuerySpecialKeyRequest as QuerySpecialKeyRequest, type index_QuerySpecialKeyResponse as QuerySpecialKeyResponse, index_RestAPI as RestAPI, index_RiskDataStreamApi as RiskDataStreamApi, type index_RiskDataStreamApiInterface as RiskDataStreamApiInterface, type index_SmallLiabilityExchangeRequest as SmallLiabilityExchangeRequest, type index_StartIsolatedMarginUserDataStreamRequest as StartIsolatedMarginUserDataStreamRequest, type index_StartIsolatedMarginUserDataStreamResponse as StartIsolatedMarginUserDataStreamResponse, type index_StartMarginUserDataStreamResponse as StartMarginUserDataStreamResponse, type index_StartUserDataStreamResponse as StartUserDataStreamResponse, index_TradeApi as TradeApi, type index_TradeApiInterface as TradeApiInterface, index_TradeDataStreamApi as TradeDataStreamApi, type index_TradeDataStreamApiInterface as TradeDataStreamApiInterface, index_TransferApi as TransferApi, type index_TransferApiInterface as TransferApiInterface };
10494
10237
  }
10495
10238
 
10496
10239
  interface ConfigurationMarginTrading {